Task scheduling method and device for embedded operating system and storage medium

An operating system and task scheduling technology, applied in the computer field, can solve the problems of lack of precision, resource competition or waste of multi-core processor system performance, inability to realize intelligent scheduling of schedulers, etc., to improve intelligence and more refined improvement. Effect

Pending Publication Date: 2020-02-21
湖南智领通信科技有限公司
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When the multi-core processor system in the prior art runs the application program, most of them run with the thread as the scheduling unit. However, the inventor found in the research that in the current thread scheduling process, the thread to be switched is determined according to the priority of the thread. However, the resource competition or waste caused by the shared resources of the multi-core processor system is ignored, which leads to the performance degradation of the multi-core processor system.
The existing schedulin...

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 for embedded operating system and storage medium
  • Task scheduling method and device for embedded operating system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0017] Such as figure 1 As shown in the CPU scheduling model, this implementation provides a corresponding task scheduling method of the embedded operating system, such as figure 2 As shown, it includes: scheduling initialization, defining the scheduling mode with the minimum idle time priority, in which the difference between the task prediction completion time and its deadline is called idle time, adding this scheduling method to the macro definition and placing it in the scheduling At the same time, the head of the linked list re-orders the priority of the original scheduling mode of the embedded operating system, so that the priority of the newly added scheduling mode is higher than the original scheduling algorithm; the data structure and scheduling parameters are initialized, and the embedded Set up an additional algorithm-scheduled run queue in the operating system, and add the run queue to the ready queue of the global scheduler; the set of tasks scheduled by the sche...

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 of an embedded operating system. The method comprises steps of carrying out scheduling initialization, defining a scheduling mode with minimum idle time priority; wherein the difference between the task prediction completion time and the deadline is defined as idle time; adding the scheduling method into macro definition and placing at the head of ascheduling linked list, and performing priority ranking on the original scheduling mode of the embedded operating system again, so that the priority of the newly added scheduling mode is higher thanthat of the original scheduling algorithm; initializing a data structure and scheduling parameters, setting an additional algorithm scheduling running queue in the embedded operating system, and adding the running queue into a ready queue of a global scheduler; wherein all the task sets scheduled by defining the scheduling mode with the minimum idle time priority are arranged in an additional queue; and storing all tasks of the task set through a data structure of a red-black tree.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a task scheduling method, device and storage medium of an embedded operating system. Background technique [0002] The computing power of embedded devices is getting stronger and stronger. Many embedded devices have multimedia cameras (video shooting, photo continuous shooting or audio recording functions), and the real-time data obtained through the cameras are stored in the file system as ordinary files. Embedded devices usually support common file system formats (such as FAT12, FAT16, FAT32, NTFS, ExFAT, Ext2, Ext3, HFS, HFS+, etc.). The support of the general file system means that the files stored in the medium can be shared with other systems that support these file system formats without any format conversion. Therefore, when storing files and writing data, the storage devices must be accessed according to the format of the relevant file system and data organization rul...

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/48
CPCG06F9/4881
Inventor 祖校锋李占国陈海赞王玖玖
Owner 湖南智领通信科技有限公司
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