Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Memory recovery method and device, storage medium and electronic equipment

A memory recovery and memory page technology, applied in the direction of multi-program device, program control design, electronic digital data processing, etc., can solve problems such as user interaction scene lag

Pending Publication Date: 2020-10-27
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF0 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This makes electronic devices often need to run many applications in the foreground and background, which is prone to stuttering in user interaction scenarios

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 recovery method and device, storage medium and electronic equipment
  • Memory recovery method and device, storage medium and electronic equipment
  • Memory recovery method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Apparently, the described embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of this application.

[0022] Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those s...

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 recovery method and device, a storage medium and electronic equipment, and the method comprises the steps: determining a target thread for executing a related task in a user interaction event, and marking the target thread as a first type of thread; when a memory allocation request sent by the first type of threads is received, allocating memorypages to the first type of threads from the free memory space, wherein the memory pages allocated to the first type of threads serve as first type of memory pages, and the allocated memory pages, except the first type of memory pages, in the allocated memory space serve as second type of memory pages; and when it is detected that the system enters the memory recovery process, performing recoveryprocessing on the second type of memory pages in the allocated memory space. According to the scheme, the memory pages occupied by the threads executing the related tasks in the user interaction eventcan be prevented from being frequently recycled, the running efficiency of the threads is improved, the jamming phenomenon in an interaction scene is reduced, and the user experience is improved.

Description

technical field [0001] The present application relates to the technical field of electronic preparation, and in particular to a memory recovery method, device, storage medium and electronic equipment. Background technique [0002] With the development of technology, more and more various applications are installed in electronic devices, such as video applications, game applications, and instant messaging applications. This makes electronic devices often need to run many application programs in the foreground and background, which is prone to stuttering in user interaction scenarios. Contents of the invention [0003] Embodiments of the present application provide a memory reclamation method, device, storage medium, and electronic device, which can reduce stuttering in interactive scenarios. [0004] In the first aspect, the embodiment of the present application provides a memory recovery method, including: [0005] Determining a target thread for executing related tasks ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/50
CPCG06F9/5016
Inventor 周华材张诗明郭健
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products