Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Real-time task scheduling method based on multicore processor

A technology of multi-core processors and real-time tasks, which is applied in the direction of multi-programming devices, program startup/switching, etc., can solve the problems of high CPU load, high resource occupation, and high development threshold, and achieve load reduction, low resource occupation, and low The effect of developing thresholds

Inactive Publication Date: 2011-10-19
范示德汽车技术(上海)有限公司
View PDF0 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a real-time task scheduling method based on a multi-core processor to solve the problems of high CPU load, high resource occupation, low cost performance and high development threshold of the existing task scheduling method based on a real-time 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
  • Real-time task scheduling method based on multicore processor
  • Real-time task scheduling method based on multicore processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] The method of the present invention is particularly suitable for embedded systems. It realizes the scheduling of periodic real-time tasks through interrupt service, and takes advantage of the performance advantages of multi-core processors to deliver heavy clock beat interruptions to the auxiliary processor to respond, which greatly reduces The load of the main processor also ensures the real-time operation of tasks.

[0014] The method of the present invention is suitable for task scheduling of dual-core processors or multi-core processors. The present invention will be described in detail below with reference to the drawings. See figure 1 , Which is a flowchart of an embodiment of a real-time task scheduling method based on a multi-core processor of the present invention, which includes the following steps:

[0015] S101: Allocate the corresponding interrupt source of the real-time periodic task to the main processor.

[0016] Define multiple idle interrupt sources accordi...

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 provides a real-time task scheduling method based on a multicore processor, comprising the following steps of: distributing the corresponding interrupt source of a real-time periodic task to a main processor; distributing the interrupt source of a timing clock to an auxiliary processor; defining the interrupt priority level corresponding to each real-time periodic task; triggering the corresponding interrupt source of each real-time periodic task in the main processor in sequence according to established period by the timing clock of the auxiliary processor; and switching the corresponding task according to the priority level of the interrupt source corresponding to each real-time periodic task by the main processor. The method can reduce the load of the main processor, and has the advantages of small resource occupation, high cost performance and low development threshold.

Description

Technical field [0001] The invention relates to a computer real-time task scheduling method, in particular to a real-time task scheduling method based on a multi-core processor. Background technique [0002] The use of multi-core technology in embedded systems is a highlight of the development of microcontroller technology in recent years. In the embedded application field, especially in the control field, multi-core technology has obvious advantages and can significantly improve the reliability of the system. At the same time, with the development of integrated circuit technology and system on chip (System On Chip), single-chip microcomputers with dual-core technology are gradually moving towards low cost and high reliability, which has made them gain in industrial control, instrumentation, and household appliances. Wide range of applications. [0003] A system that can run correctly and satisfy specific logic and time relationships at the same time is called a real-time system....

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
Inventor 李甫高峰刘庆
Owner 范示德汽车技术(上海)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products