Unlock instant, AI-driven research and patent intelligence for your innovation.

Thread management method and apparatus

A thread management and thread technology, applied in the direction of multi-program device, program control design, electrical digital data processing, etc.

Inactive Publication Date: 2017-02-08
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, with the increase of computer products, some product design requirements require the separation of business data and control data, and the above-mentioned technical solutions provided in the prior art cannot achieve this purpose.

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 management method and apparatus
  • Thread management method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0037] see figure 1 , which shows a flowchart of a thread management method provided by an embodiment of the present invention, which is characterized in that it includes:

[0038] S11: Receive the thread application information initiated by the application, and obtain the target polling thread and the target IO thread corresponding to the thread application information from the thread pool.

[0039] Among them, the application can refer to any application th...

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 a thread management method and apparatus. The method comprises the steps of receiving thread application information initiated by an application and obtaining a target polling thread and a target IO thread corresponding to the thread application information from a thread pool; executing a part, which performs startup initialization on the target IO thread, in the target polling thread; and executing a part, which performs state maintenance on an executive process of the target IO thread, in the target IO thread and the target polling thread. According to the technical scheme disclosed by the method and the apparatus, the target polling thread is mainly in charge of thread state maintenance, thread startup initialization and the like, and the IO thread is mainly in charge of read-write IO sending and the like, the target polling thread corresponds to control data, and the IO thread corresponds to business data, so that the separation of the control data and the business data is realized by executing the two threads separately, and corresponding product design demands are met.

Description

technical field [0001] The present invention relates to the technical field of computer software, and more specifically, to a thread management method and device. Background technique [0002] In computer operations, in order to implement corresponding operations, it is usually necessary to run corresponding threads. [0003] At present, when a thread is running, usually the thread includes operations corresponding to business data and control data at the same time, for example, the same thread includes an IO thread and a polling thread used for state maintenance during the execution of the IO thread. However, with the increase of computer products, some product design requirements require the separation of business data and control data, but the above-mentioned technical solutions provided in the prior art cannot achieve this goal. [0004] To sum up, how to provide a technical solution for separating service data and control data in threads is an urgent problem to be solv...

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/5061G06F2209/5011G06F2209/5018
Inventor 王洋
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD