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

Multi-task queue scheduling system with scalable thread number and its implementation method

A task queue and queue scheduling technology, applied in the field of multi-task queue scheduling system, can solve the problems of multiple programmers such as difficulty in maintenance, conflicts, difficult maintenance, etc., achieve good process or thread number scalability, save system resources, Reasonable effect of logical design

Active Publication Date: 2017-01-18
深圳大数信科技术有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Once there are complex connections between these application function modules, the requirements of these application function modules for system resources and devices (such as Camera, memory) will inevitably conflict, and it is difficult to maintain when implemented;
[0017] 2. If multiple applications to be implemented are used as a single application function module, it will bring huge maintenance difficulties to the collaborative development of multiple programmers, and will cause multiple programmers to develop the same module or a program staff to complete a large-scale module

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
  • Multi-task queue scheduling system with scalable thread number and its implementation method
  • Multi-task queue scheduling system with scalable thread number and its implementation method
  • Multi-task queue scheduling system with scalable thread number and its implementation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0051] Such as figure 1 As shown, a multi-task queue scheduling system with a scalable number of threads is mainly composed of a task dispatcher, a worker thread pool and a task queue; wherein, the task dispatcher is an independent process or thread; the work The thread pool creates more than one worker thread, and the worker thread is not directly associated with the task queue; the task queue is a task queuing sequence created according to the task type; the task dispatcher decides whether to allocate a new task according to the task queue situation. of worker threads.

[0052] Such as figure 2 , 3 As shown, the implementation method of the above-mentioned multi-task queue scheduling system with scalable number of threads includes system initialization design, logical design of task dispatcher and logical design of worker threads; wherein,

[0053] The system initialization design includes:

[0054] (1) Create a corresponding task queue for each task type, and record 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 multi-task queue scheduling system with a scalable number of threads and an implementation method thereof. The system mainly consists of a task dispatcher, a working thread pool and a task queue, wherein the task dispatcher is an independent progress or thread, more than one working thread is created in the working thread pool, and is not directly related to the task queue, the task queue is a task sequencing queue which is created according to the task type, and the task dispatcher determines if the new working thread is dispatched or not according to the conditions of the task queue. The system has the advantages that the structure composition and logic design are reasonable and feasible, and the implementation is easy; one independent working thread or progress does not need to be created for each task type, so the system resources are greatly and effectively saved.

Description

technical field [0001] The invention belongs to the technical field of computer engineering, and relates to a multi-task queue scheduling system designed based on a working thread pool and an implementation method thereof. Background technique [0002] RTOS (Realtime operation system, real-time operating system) is the foundation and development platform of embedded application software, and is a real-time kernel with high reliability and reliability. RTOS packs resources such as CPU time, interrupts, I / O, timers, etc., and leaves a standard API (Application Program Interface) for users. Allocate CPU time. [0003] RTOS is usually installed in embedded systems to complete various functions in real time. These embedded systems usually have the characteristics of good real-time performance, small system size, limited resources and no graphical interface. Typical RTOS are: Vxworks, pSOS, Nucleus, eCos, uC / OS-II, etc. [0004] The GUI (Graphic User Interface, Graphical User I...

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 Patents(China)
IPC IPC(8): G06F9/46
Inventor 顾玉峰
Owner 深圳大数信科技术有限公司
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