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

Application thread scheduling method and device, storage medium and electronic equipment

A scheduling method and application process technology, applied in the computer field, can solve problems such as running out of time slices, preempting threads, and freezing applications

Pending Publication Date: 2022-02-11
SHENZHEN TCL NEW-TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the Android system, the application drawing thread is usually classified as a thread of the fair scheduling class (CFS, complete fair schedule). In the Android system, there are hundreds of threads of the fair scheduling class. When the system is busy, even if the application drawing thread is in the The thread of the fair scheduling class has the highest priority, and the allocated time slice may also be used up and preempted by other threads, causing the application to run stuck.

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
  • Application thread scheduling method and device, storage medium and electronic equipment
  • Application thread scheduling method and device, storage medium and electronic equipment
  • Application thread scheduling method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the 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 scope of protection of this application.

[0023] In the following description, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise stated. Accordingly, these steps and operations will several times be referred to as being computer-implemented, which herein refers to operations by a computer processing unit of electronic signals representing data in a structured form. This operation transforms the data or maintains it in a location in t...

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 invention discloses an application thread scheduling method and device, a storage medium and electronic equipment, and relates to the technical field of computers. The method comprises the steps of creating an application process of a started target application, where the application process comprises an auxiliary thread and a main thread; setting the type of the auxiliary thread as a fair scheduling class, and setting the type of the main thread as a deadline scheduling class; creating an application drawing thread, and setting the type of the application drawing thread as a deadline scheduling type; and according to the thread scheduling priorities corresponding to the deadline scheduling class and the fair scheduling class, scheduling the auxiliary thread, the main thread and the application drawing thread to run the target application. According to the application, the phenomenon of jamming during application running is effectively avoided, and the use fluency of the application is improved.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to an application thread scheduling method, device, storage medium and electronic equipment. Background technique [0002] In the Android system, the application drawing thread is usually classified as a thread of the fair scheduling class (CFS, complete fair schedule). In the Android system, there are hundreds of threads of the fair scheduling class. When the system is busy, even if the application drawing thread is in the The thread of the fair scheduling class has the highest priority, and the allocated time slice may also be used up and preempted by other threads, causing the application to freeze. Contents of the invention [0003] The embodiment of the present application provides a solution, which can effectively avoid the freeze phenomenon when the application is running, and improve the fluency of the application. [0004] In order to solve the above tech...

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/48
CPCG06F9/4881
Inventor 钟斌
Owner SHENZHEN TCL NEW-TECH CO 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