The embodiment of the invention discloses a
data sharing method, a device, an apparatus and a storage medium of a
moving window. The method comprises the following steps of: determining a target
shared object according to the object to be shared, wherein the target
shared object is a key value pair structure, and the
data type of the target value of the target
shared object is an ancestor class
Object type; taking the target
context object corresponding to the target active window object as the function input parameter, calling the object to obtain the function through the
data cache class, and obtaining the target
data cache object corresponding to the target active window object one by one from the target mapping relation object; calling the data storage function in the target data cacheobject to store the target key and target value of the target shared object correspondingly to the target data object in the target
data cache object. By adopting the technical proposal, the
data sharing in the scope of the active window page in the Android
system is more accurately and quickly realized, and the
mutual influence of the shared data among the active window pages can be effectivelyavoided.