Thread scheduling method and system based on large number of concurrent messages on control plane

A scheduling method and control plane technology, applied in the direction of program control design, program synchronization, inter-program communication, etc., to achieve the effect of avoiding deadlock

Pending Publication Date: 2021-09-07
FENGHUO COMM SCI & TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of the defects in the prior art, the purpose of the present invention is to provide a thread scheduling method and system based on a large number of concurrent messages on the control plane, which solves the problem of multi-thread scheduling in the case of multi-task conflicts

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 scheduling method and system based on large number of concurrent messages on control plane
  • Thread scheduling method and system based on large number of concurrent messages on control plane
  • Thread scheduling method and system based on large number of concurrent messages on control plane

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] Embodiments of the present invention will be described in further detail below in conjunction with the accompanying drawings.

[0051] Such as figure 1 As shown, the embodiment of the present invention provides a thread scheduling method based on a large number of concurrent messages on the control plane, and the specific steps are as follows:

[0052] S1. Initialize the task queue, and store the message reported by the control plane into the task queue;

[0053] S2. Establishing a task scheduling management module and performing initialization;

[0054]S3, the task scheduling management module, obtains the task to be processed from the task queue (such as the queue head);

[0055] S4. Judgment of task type, divided into three different types according to the attributes of the task: common task, task with timing requirements, and priority task; the differences between the three different task types are as follows:

[0056] (1) Ordinary tasks, ordinary tasks can be pr...

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 scheduling method and system based on a large number of concurrent messages of a control plane, and relates to the technical field of multi-thread scheduling. The method comprises the following steps: adding a message reported by the control plane into a task queue; acquiring a task to be processed from the task queue, and determining a task type; adopting different scheduling methods for scheduling according to different task types, and adding the tasks into corresponding task processing units; and processing the tasks through the task processing units. According to different task types, different scheduling methods are adopted, the tasks are distributed to different task processing units through the different scheduling methods, deadlock caused by mutual waiting between the different task processing units is avoided, the priority task is processed preferentially, the purpose of multi-thread parallel processing is achieved, and the requirements of customers are responded in time, so that a good expectation is achieved.

Description

technical field [0001] The invention relates to the technical field of multi-thread scheduling, in particular to a thread scheduling method and system based on a large number of concurrent messages on a control plane. Background technique [0002] In terms of multi-thread applications, the traditional multi-thread scheduling does not distinguish between the types of tasks and the relationship between tasks, and directly performs multi-thread scheduling according to the method of load balancing. That is, when the amount of concurrent tasks in a short period of time is too large and single-threaded processing cannot meet the performance requirements of the system, it is necessary to increase the number of threads and improve the processing efficiency of the system through multi-threaded parallel processing. At this time, if there are timing requirements between tasks, or if there are priority tasks that need to be processed urgently, traditional multi-thread scheduling will in...

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/48G06F9/50G06F9/54G06F9/52
CPCG06F9/4881G06F9/5038G06F9/505G06F9/5083G06F9/546G06F9/524G06F2209/484G06F2209/548
Inventor 葛玉伟
Owner FENGHUO COMM SCI & TECH CO 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