Object release method and device, equipment, and storage medium
An object and object-like technology, applied in the computer field, can solve problems such as memory leaks, affecting the normal operation of applications, and the inability of the system to automatically reclaim memory.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 It is a flow chart of an object release method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of releasing instance objects created in components. The method can be executed by the object release device, which can be realized by software and / or hardware, and integrated in devices equipped with Android system, such as intelligent terminals such as smart phones, tablet computers, smart TVs or notebook computers. The method specifically includes the following steps:
[0024] S110. Use the component identification of the component and the class object of the class class type in the component as function input parameters, call the data navigation function in the data management object, determine the instance object corresponding to the class object, and identify the instance object and the instance object Store to the target location corresponding to the component ID in the data cache object.
[0025] Wherein, a compon...
Embodiment 2
[0048] figure 2 It is a flow chart of an object release method provided by Embodiment 2 of the present invention. This embodiment describes in detail the internal operation of the data navigation function on the basis of the above embodiments. The explanations of terms that are the same as or corresponding to those in the foregoing embodiments are not repeated here.
[0049] see figure 2 , the object release method provided in this embodiment specifically includes the following steps:
[0050] Wherein, the data navigation function can realize the function of determining the instance object corresponding to the class object through the following steps S210-S260, and storing the instance object and the object identifier of the instance object to the target position corresponding to the component identifier in the data cache object.
[0051] S210. Obtain the inner collection object corresponding to the component identifier in the data cache object by calling the inn...
Embodiment 3
[0071] image 3 A schematic structural diagram of an object release device provided by Embodiment 3 of the present invention. This embodiment is applicable to the case of releasing an instance object created in a component. The device may specifically include: a data navigation module 310 and an object release module 320.
[0072] Among them, the data navigation module 310 is used to use the component identifier of the component and the class object of the class class type in the component as function input parameters, call the data navigation function in the data management object, determine the instance object corresponding to the class object, and convert the instance The object identification of the object and the instance object is stored in the target location corresponding to the component identification in the data cache object; the object release module 320 is used to use the component identification as a function input parameter to call the data management objec...
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