Resource allocation method and device, storage medium and electronic equipment

A technology for resource allocation and allocation modules, which is applied in resource allocation, multi-programming device, program control design, etc., can solve the problems of user interaction scene jam and other problems, and achieve the effect of improving fluency and avoiding system jam.

Pending Publication Date: 2020-10-27
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF0 Cites 5 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
  • 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

[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 resource allocation method and device, a storage medium and electronic equipment, and the method comprises the steps: judging whether a thread is a firsttype of thread or not when a resource allocation request transmitted by the thread is received; when the thread is a first type of thread, adding the thread to a task queue of a first processing unitso as to execute a task corresponding to the thread based on the first processing unit; and when the thread is not the first type of thread, adding the thread to the task queue of the second processing unit. According to the scheme, the independent processing unit is arranged for the thread for executing the related task in the user interaction event; other threads do not occupy resources of the threads during running, and meanwhile, when the threads of the type request processor resources, the resources can be quickly and timely allocated, so that the threads of the type can be timely run, the execution fluency of related threads in an interaction scene is improved, and system blockage is avoided.

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] 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 resource allocation method, device, storage medium, and electronic equipment, which can reduce system freezes. [0004] In the first aspect, the embodiment of the present application provides a resource allocation method, including: [0005] When a resource allocation request sent by a thread is received, it...

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/5027G06F9/5038
Inventor 谢继恒
Owner GUANGDONG OPPO MOBILE TELECOMM CORP 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
Try Eureka
PatSnap group products