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 8 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 invention discloses a memory recovery method and device, a storage medium and electronic equipment, and the method comprises the steps: determining a current idle memory amount when a memory distribution request transmitted by a thread is received; if the idle memory amount is smaller than a preset threshold value, determining the types of the threads, and dividing the threads into multiple types of threads with different priorities; acquiring a memory recovery proportion corresponding to the type of a thread, and recovering memory pages in allocated memory space according to the memory recovery proportion, wherein the recovery efficiencies of different types of memory recovery objects are different, and the higher the priority of the thread is, the larger the proportion of the memory recovery object with the higher recovery efficiency in the corresponding memory recovery proportion is. The memory allocation efficiency of the first type of threads is improved, thephenomenon that the first type of threads are stuck in an interaction scene due to the fact that the first type of threads cannot obtain the memory in time is avoided, and user experience is improved.

Description

technical field [0001] The present application relates to the technical field of electronic equipment, 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] When receiving a memory allocation request sent by a threa...

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/50
CPCG06F9/5016G06F9/5022G06F2209/5021
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