Supercharge Your Innovation With Domain-Expert AI Agents!

Task scheduling method and device, equipment and storage medium

A task scheduling and task technology, applied in the direction of multi-program device, program startup/switching, etc., can solve the problem of reducing the usability and scope of application of the operating system, and achieve the effect of improving usability and scope of application

Active Publication Date: 2022-08-05
INTEWELL (GUANGZHOU) SOFEWARE TECH CO LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, due to the singleness of the task scheduling technology in the current embedded operating system, only one task scheduler can be used in the system at the same time, so only one task scheduler can be used for task scheduling when performing task scheduling. Thereby reducing the usability and scope of application of the operating system

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 device, equipment and storage medium
  • Task scheduling method and device, equipment and storage medium
  • Task scheduling method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] figure 1 This is a flowchart of the task scheduling method provided in Embodiment 1 of the present invention. This embodiment can be applied to the case of selecting the current running task of the system. The method can be executed by the task selection device in the embodiment of the present invention, and the device can adopt Implemented in the form of hardware and / or software, the apparatus can be configured in an electronic device. like figure 1 As shown, the method includes:

[0028] Step S101, define different types of task schedulers.

[0029] Optionally, define different types of task schedulers, including: defining each task scheduler according to a specified type; defining the scheduling operation conditions of the task scheduler, and the types of task scheduling operations that match the scheduling operation conditions; wherein, the task scheduling operation The type includes at least one of the following types: enter the ready queue, remove from the read...

Embodiment 2

[0046] image 3 This is a flowchart of a task scheduling method provided in Embodiment 2 of the present invention. Based on the foregoing embodiments, this embodiment specifically describes the determination of the current running task of the system by each task scheduler. like image 3 As shown, the method includes:

[0047] Step S201 , when the system lock is released and the task is scheduled, each task scheduler performs a task selection operation to obtain the scheduler running task.

[0048] Optionally, each task scheduler performs a task selection operation to obtain the scheduler running tasks, including: screening tasks according to preset conditions from the ready queue of the task scheduler at the current level according to the priority of each task scheduler, Among them, the priority of the real-time task scheduler, deadline task scheduler, fair algorithm task scheduler and IDLE task scheduler decreases in turn; it is judged whether the task scheduler of the curr...

Embodiment 3

[0057] Figure 5 A schematic structural diagram of a task selection device provided in Embodiment 3 of the present invention, such as Figure 5 As shown, the apparatus includes: a task scheduler definition module 310 , a task creation module 320 and a task scheduling module 330 .

[0058] Among them, the task scheduler definition module 310 is used to define different types of task schedulers, and the task schedulers include at least two of the following types: real-time task schedulers, deadline task schedulers, fair algorithm task schedulers and IDLE tasks scheduler;

[0059] The task creation module 320 is used to specify the task scheduler type corresponding to the task when creating the task;

[0060] The task scheduling module 330 is used for each task scheduler to perform a task scheduling operation matching the scheduling operation condition when the pre-defined scheduling operation condition is satisfied.

[0061] Optionally, a task scheduler definition module, use...

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 task scheduling method and device, equipment and a storage medium. The method comprises the steps of defining different types of task schedulers, wherein the task schedulers comprise at least two of the following types: a real-time task scheduler, a deadline task scheduler, a fair algorithm task scheduler and an IDLE task scheduler; when a task is created, assigning a task scheduler type corresponding to the task; and when each task scheduler meets a predefined scheduling operation condition, executing a task scheduling operation matched with the scheduling operation condition. Different types of task schedulers are defined, the task scheduler types corresponding to the tasks are specified when the tasks are created, and the multiple task schedulers can coexist in an operating system at the same moment, so that fusion of the multiple task schedulers can be realized when the tasks are scheduled; therefore, the availability and the application range of the operating system are improved.

Description

technical field [0001] The present invention relates to the technical field of intelligent control, and in particular, to a task scheduling method, device, device and storage medium. Background technique [0002] When the embedded operating system performs task scheduling, it first creates tasks in the scheduler, and then schedules tasks from the tasks created by the scheduler. [0003] However, due to the singleness of task scheduling technology in the current embedded operating system, only one task scheduler can be used in the system at the same time, so only one task scheduler can be used for task scheduling during task scheduling. This reduces the usability and scope of application of the operating system. SUMMARY OF THE INVENTION [0004] The present invention provides a task scheduling method, device, equipment and storage medium, so as to realize the scheduling of tasks in an embedded operating system. [0005] According to an aspect of the present invention, a t...

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/48
CPCG06F9/4881Y02D10/00
Inventor 李燕
Owner INTEWELL (GUANGZHOU) SOFEWARE TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More