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

Resource allocation method and device, storage medium and electronic equipment

A resource allocation and resource technology, applied in the direction of resource allocation, multi-program device, program control design, etc., can solve the problem of low recycling efficiency

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

AI Technical Summary

Problems solved by technology

In related technologies, memory tension can be alleviated through memory recycling, but conventional memory management methods have the problem of low recycling efficiency

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0026] 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 resource allocation method and device, a storage medium and electronic equipment, and the method comprises the steps: determining a target thread from background threads when the idle memory capacity of a system is detected to be smaller than a preset threshold value; marking the target thread as a first type of thread; sending a preset instruction to the target thread, wherein the preset instruction is used for indicating the target thread to perform closing processing; when system resources need to be allocated to the to-be-allocated threads, determining the types of the to-be-allocated threads; and allocating system resources to the to-be-allocated threads according to the category and a preset allocation mechanism, wherein the speed or the number of the system resources allocated to the first type of threads according to the preset allocation mechanism is greater than the speed or the number of the system resources allocated to the secondtype of threads, so that the threads needing to be closed can quickly obtain the resources to respond to the closing instruction, the occupied memory is released as soon as possible, and the memory recycling efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of electronic equipment, and in particular to a resource allocation method, device, storage medium and electronic equipment. Background technique [0002] Memory management is one of the core technologies of the system, which plays a key role in improving the user experience of the system and the stability of the system operation. When the memory is tight, the system will experience a series of problems such as freezing, running errors, and crashes. In related technologies, memory tension can be alleviated through memory recycling, but conventional memory management methods have the problem of low recycling efficiency. Contents of the invention [0003] Embodiments of the present application provide a resource allocation method, device, storage medium, and electronic equipment, which can improve memory recovery efficiency. [0004] In the first aspect, the embodiment of the present application ...

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/5016G06F9/5022G06F9/5038G06F2209/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