Method and system for realizing real-time scheduling of task

A technology of real-time scheduling and implementation methods, applied in the computer field, can solve problems such as task scheduling mode can not meet the demand, processing capacity is limited, high price is not easy to be universal, etc., to achieve the effect of improving multi-task responsiveness

Active Publication Date: 2015-09-16
HUIZHOU TCL MOBILE COMM CO LTD
View PDF11 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional simple task scheduling mode cannot meet the demand, and RTOS and even general-purpose OS have become the standard configuration of electronic equipment
[0006] RTOS is suitable for most electronic devices, can process multiple tasks concurrently, and respond to system scheduling and user input in a timely manner. The disadvantage is that the processing capacity is limited, generally there are only limited tasks, and it is highly dependent on hardware. Many high-real-time systems have specialized hardware processing, and The price is high and not easy to use

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
  • Method and system for realizing real-time scheduling of task
  • Method and system for realizing real-time scheduling of task

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The present invention provides a method and system for realizing real-time scheduling of tasks. In order to make the purpose, technical solution and effect of the present invention clearer and clearer, the present invention will be further described in detail below. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0035] See figure 1 , figure 1 It is a method flowchart of a method for implementing real-time scheduling of tasks in a specific embodiment of the present invention. Such as figure 1 As shown, the real-time scheduling implementation method of the task comprises the following steps:

[0036] S1. When it is detected that a system thread creates a new task, execute the new task.

[0037] S10, judging whether the priority of the task with the highest execution priority in the queue waiting to be dispatched is greater than the priority of the new task;

[...

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 method and a system for realizing real-time scheduling of a task. The method comprises the following steps of A, executing a new task when the establishment of the new task by a system thread is detected, and judging whether the priority of a task with highest execution priority in a waiting-for-scheduling queue is greater than the priority of the new task or not; B, switching the new task into the waiting-for-scheduling queue when the priority of the task with the highest execution priority is greater than the priority of the new task, and scheduling the task with the highest execution priority in the waiting-for-scheduling queue into a CPU (Central Processing Unit) to run. Through the method disclosed by the invention, the method can be used as a real-time strategy for task scheduling in an RTOS (Real Time Operating System), and the multi-task responsiveness can be increased under the condition that the method is independent of special hardware; the method can also be used as a real-time patch in a general OS (Operating System), and timely response on a set of task groups with a high real-time requirement can be realized.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and system for realizing real-time scheduling of tasks. Background technique [0002] With the explosion of information and the popularization of electronic devices, people's demand for automation and intelligent products can be seen everywhere, such as smart phones, telemedicine, electronic payment, production control, driverless driving, etc. [0003] In general, from aerospace robots with complex structures to SIM cards built into mobile phones, all intelligent electronic devices still follow the von Neumann architecture, peripheral devices for input and output, information storage space and core processor. The core that connects all these is RTOS / OS (real-time operating system / general-purpose operating system). [0004] Nostalgic refrigerators, washing machines, color TVs and other traditional household appliances have weak operating system functions. After the e...

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/48G06F9/50
Inventor 吴中和王永珍
Owner HUIZHOU TCL MOBILE COMM 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