Supercharge Your Innovation With Domain-Expert AI Agents!

Thread identification processing method and apparatus, computer device and storage medium

A technology of identification processing and computer program, applied in the computer field, can solve the problems of low efficiency of management and scheduled task execution, and achieve the effect of improving operation efficiency

Active Publication Date: 2018-09-07
ONEPLUS TECH SHENZHEN
View PDF17 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for this type of thread, there may be threads that perform other tasks that cooperate with this type of thread on tasks, and these threads that perform other tasks also affect the execution of scheduled tasks, but these threads cannot be identified by using the above-mentioned technical solution. As a result, it is impossible to manage them in a targeted manner, and the execution efficiency of scheduled tasks is low

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
  • Thread identification processing method and apparatus, computer device and storage medium
  • Thread identification processing method and apparatus, computer device and storage medium
  • Thread identification processing method and apparatus, computer device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0046] In one embodiment, such as figure 1 As shown, a thread identification processing method is provided, and the method is applied to a terminal as an example for illustration, including the following steps:

[0047] Step 102, acquiring a first thread for executing a predetermined task.

[0048] Scheduled tasks include tasks such as drawing pictures, playing sounds, and responding to feedback. The scheduled task is identified and determined in advance by judging whether there is a scheduled flag in the computing resource of the thread running on the processor of the 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 relates to a thread identification processing method and apparatus, a computer device and a storage medium. The method comprises the steps of obtaining a first thread for executing a predetermined task; when the first thread executes the predetermined task, arousing a second thread in a waiting queue by the first thread; recording a thread identifier of the aroused second thread in afile corresponding to the predetermined task; and allocating a processor to the second thread corresponding to the thread identifier recorded in the file, and running the second thread obtaining theprocessor. By adopting the method, other task threads influencing execution of the predetermined task can be accurately identified.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a thread identification processing method, device, computer equipment and storage medium. Background technique [0002] A thread is a relatively independent and schedulable execution unit in a process, and is the basic unit for the system to independently schedule and assign processors. In a computer system, a task is executed by at least one process, and a process has at least one thread, that is, the smallest execution unit of a task is a thread, and the execution efficiency of a thread will directly affect the execution efficiency of a task. It is very necessary to identify the task. [0003] In the traditional thread processing method, by judging whether there is a predetermined mark in the computing resource of the running thread on the processor, it is determined whether the thread is a thread performing a predetermined task, and the thread performing a predete...

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/485G06F9/4881
Inventor 陈奂彣
Owner ONEPLUS TECH SHENZHEN
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More