Embedded multi-core operating system scheduling method and scheduling device, electronic equipment and storage medium

A scheduling method and operating system technology, applied in the direction of multi-program device, program control design, electrical digital data processing, etc., can solve the problem of inability to respond in real time, partition safety coexistence, etc.

Active Publication Date: 2020-10-20
XIAN MICROELECTRONICS TECH INST
View PDF9 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problem in the prior art that real-time response cannot coexist with partition security, the present invention provides an embedded multi-core operating system scheduling method, scheduling device, electronic equipment and storage medium, which is a method that not only supports real-time critical tasks, but also supports The operating system scheduling mechanism of time-sharing partition is a strategy method for task scheduling by the underlying kernel 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
  • Embedded multi-core operating system scheduling method and scheduling device, electronic equipment and storage medium
  • Embedded multi-core operating system scheduling method and scheduling device, electronic equipment and storage medium
  • Embedded multi-core operating system scheduling method and scheduling device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0084] Such as Figure 4 As shown, the present invention is applied to the kernel design of the Lishan Jiutian partition operating system, and the operating system runs on the domestic dual-core PPC chip.

[0085] Using the Lishan Jiutian partition operating system, establish three partition systems on the slave core, named partitions1, partitions2, and partitions3 respectively. Two tasks task1 and task2 are created in partition1, and the two tasks use semaphore round-robin scheduling; two tasks task1 and task2 are created in partition3, and the two tasks also use semaphore round-robin scheduling; an empty task is created in partition2, and when it is scheduled Print information. After the system is running, you can see that partitions1, partitions2, and partitions3 are scheduled in chronological order, and the tasks in the partitions are executed periodically.

Embodiment 2

[0087] Such as Figure 5 As shown, using the Lishan Jiutian partition operating system, three partition systems are established on the slave core, named partitions1, partitions2, and partitions3 respectively. The three partitions run task1, task2, and task3 respectively, and the three partitions run sequentially and periodically. The main core uses an external clock interrupt to simulate triggering a real-time task, and prints "in trigger int" in the real-time task.

[0088] Lishan Jiutian partition operating system organically combines real-time operating system and partition operating system, which can be applied to embedded complex application control platforms in aerospace, aviation, electronics, weapons, ships and other fields. The system can meet the real-time performance of multi-core embedded electronic systems , reliability, security and operational stability requirements.

[0089] In several embodiments provided in this application, the coupling or direct coupling ...

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 an embedded multi-core operating system scheduling method and a scheduling device, electronic equipment and a storage medium, and the scheduling method comprises the steps: triggering periodic task scheduling through timer clock interruption, enabling a basic scheduling strategy of time-sharing parallel and multi-priority management of multiple tasks to trigger real-time preemption of a key task through external interruption; providing a mechanism for time-sharing scheduling of a plurality of partition microcores, and supporting a priority-based round-robin task scheduling mechanism in the microcores. According to the method, system task scheduling with high timeliness requirements is completed, multi-task security isolation parallel data processing is also completed, multi-task space isolation is ensured, and the security and reliability of the system are improved.

Description

technical field [0001] The technology is oriented to the technical field of embedded operating systems, and particularly relates to a scheduling method, a scheduling device, electronic equipment and a storage medium for an embedded multi-core operating system. Background technique [0002] As the performance, complexity, and reliability of embedded systems continue to improve, and the weight, volume, cost, and power consumption continue to decrease, the functions of embedded operating systems are also iteratively evolving step by step, and the direction of embedded real-time operating systems has been differentiated. And time-sharing partition operating system in two directions. A real-time operating system (RTOS) refers to a type of operating system that can respond to external events and perform functions within a certain period of time. The partitioned operating system provides a more powerful isolation mechanism and a secure execution environment, allowing one platform ...

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
CPCG06F9/485G06F9/4881G06F9/5038Y02D10/00
Inventor 张利钧闫亮段芳芳任瑾力刘文琦
Owner XIAN MICROELECTRONICS TECH INST
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