An object release method, apparatus, device and storage medium
An object and class object technology, applied in the computer field, can solve problems such as memory leaks, affect the normal operation of applications, and the system cannot automatically reclaim memory, so as to ensure normal operation and avoid memory leaks.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 This is a flowchart of an object release method provided in Embodiment 1 of the present invention, and this embodiment is applicable to the case of releasing an instance object created in a component. The method may be performed by an object releasing device, which may be implemented in software and / or hardware, and integrated into a device equipped with an Android system, such as a smart phone, tablet computer, smart TV, or smart terminal such as a laptop. The method specifically includes the following steps:
[0024] S110. 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 compare the instance object and the object identifier of the instance object Store to the target location corresponding to the component identifier in the data cache objec...
Embodiment 2
[0048] figure 2 This is a flowchart of an object release method provided in Embodiment 2 of the present invention. Based on the foregoing embodiments, this embodiment describes in detail the internal operations of the data navigation function. The explanations of the terms that are the same as or corresponding to the above-mentioned embodiments are not repeated here.
[0049] see figure 2 , the object release method provided by this embodiment specifically includes the following steps:
[0050] The data navigation function can determine the instance object corresponding to the class object through the following steps S210-S260, and store the instance object and the object identifier of the instance object in the target location corresponding to the component identifier in the data cache object.
[0051] S210: Obtain an inner-layer collection object corresponding to the component identifier in the data cache object by calling the inner-layer collection object obta...
Embodiment 3
[0071] image 3 This is a schematic structural diagram of an object release apparatus provided in Embodiment 3 of the present invention. This embodiment is applicable to the case of releasing instance objects created in a component. The apparatus may specifically include: a data navigation module 310 and an object release module 320.
[0072] The data navigation module 310 is configured 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 assign the instance The object identifiers of the object and the instance object are stored at the target location corresponding to the component identifier in the data cache object; the object release module 320 is used to call the data management object by using the component identifier as a function input parameter w...
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