Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

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

Active Publication Date: 2018-02-09
SHENZHEN LEXIN SOFTWARE TECH CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, when the user performs the return operation, since the page data of the visited views are selectively destroyed from the memory management object, the visited links cannot be completely restored, which will damage the user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory management method and device, storage medium and terminal equipment
  • Memory management method and device, storage medium and terminal equipment
  • Memory management method and device, storage medium and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

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]...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the application discloses a memory management method and device, a storage medium and terminal equipment. The method includes: acquiring a view, which is to be pushed into a stack, according to an operation request of accessing a page by a user; identifying whether a view which is consistent with the view to be pushed into the stack exists in the navigation management stack, andwhen the view which is consistent with the view to be pushed into the stack exists in the navigation management stack, copying page data of the view, which is consistent with the view to be pushed into the stack, from a memory management object into a memory cache management object, and clearing the page data of the view, which is consistent with the view to be pushed into the stack, in the memorymanagement object; and storing the page data of the view, which is to be pushed into the stack, to a stack top of the memory management object, and pushing the view, which is to be pushed into the stack, into a stack top of the navigation management stack. Through adopting the technical solution provided by the embodiment of the application, an effect of optimizing memory management can be realized.

Description

technical field [0001] The embodiments of the present application relate to the technical field of computer data storage, and in particular, to a memory management method, device, storage medium, and terminal equipment. Background technique [0002] In the prior art, the client of the application software (Application, APP) will provide the user with an interface access function, usually by clicking the page link in the interface, and continuously access the multi-level pages, and when the return button is clicked, it will return step by step Interfaces at all levels. [0003] When a new page is opened, the page view and its identification are usually generated, and the identification of the view is stored in the navigation management stack to record the order of page opening, so as to return to the previous page according to the return operation of the page. The script data of the page view will be stored in the space of the memory management object for rendering and gener...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/30G06F9/50
CPCG06F9/30163G06F9/5016G06F9/5022
Inventor 黄琳李文彬郭亚京
Owner SHENZHEN LEXIN SOFTWARE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products