Memory management method and device, storage medium and terminal equipment
A technology of memory management and memory caching, which is applied in the direction of multi-programming devices, machine execution devices, program control design, etc., and can solve problems such as damaging user experience and inability to fully restore visited links
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0071] figure 1 It is a flow chart of the memory management method provided in Embodiment 1 of the present application. This embodiment is applicable to the situation where the client has problems due to memory explosion. The method can be executed by the memory management device provided in the embodiment of the present application. The device It can be implemented by means of software and / or hardware, and can be integrated into a terminal device.
[0072] Such as figure 1 As shown, the memory management method includes:
[0073] S110. Obtain a view to be pushed to the stack according to the operation request of the user accessing the page.
[0074] Wherein, when the terminal device acquires the user's access page operation request, it acquires the view to be pushed into the stack. The terminal device may be a smart device terminal such as a smart phone, a tablet computer, and a personal digital assistant. The terminal device can determine the view (view controller, Vie...
Embodiment 2
[0089] figure 2 It is a flow chart of the memory management method provided in Embodiment 2 of the present application. In this embodiment, on the basis of the foregoing embodiments, the memory management method is further optimized.
[0090] Such as figure 2 As shown, the memory management method includes:
[0091] S210. Obtain a view to be pushed to the stack according to the operation request of the user accessing the page.
[0092] S220. Identify whether it is a reusable view according to the page attribute in the view to be pushed into the stack; if yes, perform S230; if not, perform S240.
[0093] Whether the view to be pushed into the stack is a reusable view can be identified according to the page attributes in the view to be pushed into the stack. Wherein, the reusable view may mean that the page data of the view may be reused page data. The page attribute can be determined according to the link when the user visits the page. If the product details page is defi...
Embodiment 3
[0100] image 3 It is a flow chart of the memory management method provided in Embodiment 3 of the present application. In this embodiment, on the basis of the foregoing embodiments, the memory management method is further optimized.
[0101] Such as image 3 As shown, the memory management method includes:
[0102] S310. Obtain a view to be pushed to the stack according to the operation request of the user accessing the page.
[0103] S320. In the navigation management stack, identify whether there is a Figure 1 consistent view, when the navigation management stack exists with the view to be stacked Figure 1 When the view is the same, it will be the same as the view to be pushed Figure 1 The page data of the consistent view is copied from the memory management object to the memory cache management object, and will be combined with the view to be pushed into the stack Figure 1 The page data of the corresponding view is cleared from the memory management object.
[0104]...
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