Data sharing method, device, apparatus and storage medium of active window
A technology of active window and data sharing, applied in the computer field, it can solve problems such as the influence of Activity page
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] The data sharing method of the active window provided by this embodiment is applicable to the situation that the data in the page scope of each active window is stored globally, independently and in batches, especially for independently storing each active window in an Android application program. In the scenario of an active window page data. The method can be performed by the data sharing device of the active window, which can be realized by software and / or hardware, and the device can be integrated in a device installed with an Android application program, such as a typical user terminal device, such as a mobile phone , tablet or smart TV etc. see figure 1 , the method of this embodiment includes:
[0028] S110. Determine a target sharing object according to the object to be shared.
[0029] Wherein, the shared object refers to an object storing shared data, and the object to be shared refers to an object storing data to be shared, and the data to be shared refers...
Embodiment 2
[0053] In this embodiment, on the basis of the first embodiment above, an operation of reading shared data of the target active window object is added. The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here. see figure 2 , the data sharing method of the active window provided by this embodiment includes:
[0054] S210. Determine a target sharing object according to the object to be shared.
[0055] S220. Using the target context object corresponding to the target active window object as a function input parameter, call the object acquisition function through the data cache class, and acquire the target data cache object corresponding to the target active window object from the target mapping relationship object.
[0056] S230. Call the data storage function in the target data cache object, and correspondingly store the target key and the target value of the target shared object in the target data object i...
Embodiment 3
[0077] In this embodiment, on the basis of the first embodiment above, a step of constructing a data type set is added. On this basis, the step of reading the shared data of the target active window object is added. The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here. see image 3 , the data sharing method of the active window provided by this embodiment includes:
[0078] S310. If the data type set is an associative container map type, use the key of the object to be shared as the map key in the data type set.
[0079] Specifically, in the actual operation process, there is a case of data update, and the data type set of the pre-built enumeration type inevitably has data missing, so that the original data type of the missing shared object cannot be obtained. In this embodiment, in order to realize the dynamic expansion of the data type set, the data type set is set as an associative container map type...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com