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

Task scheduling method and task scheduling device for operating system and computer

An operating system and task scheduling technology, applied in computing, multi-program device, program control design, etc., can solve the problem of consuming data storage space and achieve the effect of simple implementation and improved work efficiency

Active Publication Date: 2015-05-06
SANECHIPS TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The main purpose of the present invention is to provide a task scheduling method, device and computer of an operating system to solve the problem that the task scheduling method in the operating system of the prior art needs to consume extra data storage space and support multiple tasks under the same priority The problem

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
  • Task scheduling method and task scheduling device for operating system and computer
  • Task scheduling method and task scheduling device for operating system and computer
  • Task scheduling method and task scheduling device for operating system and computer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer and clearer, the present invention 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 invention, not to limit the present invention.

[0032] The invention provides a task scheduling method of an operating system. figure 1 It is a flow chart of the task scheduling method of the operating system according to the embodiment of the present invention. Such as figure 1 As shown, the task scheduling method of the operating system includes the following steps:

[0033] In step S102, the task of scheduling the operating system is triggered through the transition of the task state.

[0034] Step S104, according to the priority of the task, obtain the link index corresponding to the task in 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

A method, an apparatus and a computer for task scheduling in an operating system are disclosed. The method includes: triggering the scheduling for tasks in the operating system by means of task status transition (S102); obtaining a linking index corresponding to the task in a task index table according to the task priority (S104); updating the position of the task in a ready task linked list according to the linking index (S106). With the solution disclosed, a simple, flexible and effective method for the task scheduling can be achieved, thus improving the working efficiency of the task scheduling in the operating system.

Description

technical field [0001] The present invention relates to an embedded real-time operating system, in particular to an operating system task scheduling method, device and computer. Background technique [0002] Embedded real-time operating system is a system that can complete system functions within a certain time and respond to internal and external events in time. [0003] Task scheduling is one of the core functions of the operating system. Its main function is to select a ready task according to a certain criterion, and jump into this task for execution. The scheduler is the module that completes the task scheduling function. Most embedded real-time operating systems schedule based on priority. Specifically, the operating system assigns a priority to each task, and the scheduler selects the task with the highest priority to execute from the ready tasks. [0004] At present, the implementation methods of the embedded real-time operating system scheduler mostly refer to or ...

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
CPCG06F9/4831
Inventor 熊赟
Owner SANECHIPS TECH CO LTD