In this work, we have inspected the theoretical resistive switching properties of two ReRAM models based on heterojunction structures of Cu/SiOx nanoparticles (NPs)/Si and Si/SiOx NPs/Si, in which dielectric layers of the silica nanoparticles present dislocations at bicrystal interfaces. To validate the theoretical model, a charge storage device with the structure Cu/SiOx/Si was fabricated and its ReRAM properties were studied. Our examinations on the electrical, thermal and structural aspects of resistive switching uncovered the switching behavior relies upon the material properties and electrical characteristics of the switching layers, as well as the metal electrodes and the interfacial structure of grains within the dielectric materials. We also determined that the application of an external electric field at Grain Boundaries (GB) is crucial to resistive switching behavior. Moreover, we have demonstrated that the switching behavior is influenced by variations in the atomic structure and electronic properties, at the atomic length scale and picosecond timescale. Our findings furnish a useful reference for the future development and optimization of materials used in this technology.