Vehicle ATP real-time task scheduling method and its task scheduling system

A technology of real-time tasks and scheduling methods, applied in the direction of program startup/switching, multi-programming devices, etc., can solve the problems of no data real-time protection mechanism, deadlock of other tasks of a single task, data security cannot be guaranteed, etc., to achieve strong real-time The effect of controlling task needs, reducing communication latency, and simplifying task scheduling mechanisms

Active Publication Date: 2017-04-12
广州铁科智控有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] (1) A large number of data exchanges between tasks will cause very cumbersome scheduling instructions and complex program structures;
[0011] (2) An exception in a single task will cause other tasks to deadlock;
[0012] (3) There is no special real-time protection mechanism for data. Once the semaphore or mailbox works abnormally, data security cannot be guaranteed

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
  • Vehicle ATP real-time task scheduling method and its task scheduling system
  • Vehicle ATP real-time task scheduling method and its task scheduling system
  • Vehicle ATP real-time task scheduling method and its task scheduling system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The present invention will be described in detail below in conjunction with specific implementation methods. The schematic implementation and description of the present invention are used to explain the present invention, but not as a limitation to the present invention.

[0038] figure 1 It is a schematic flowchart of the basic principle of the task scheduling method of the present invention. Such as figure 1 As shown, the scheduling method 100 includes:

[0039] S110, generating at least one global variable that can be shared by multiple tasks, and each global variable designates a task to modify and update its data;

[0040] S120, calling the first task with the highest priority in the task list to enter the kernel to run, when the running first task is modifying and updating the data of the global variable designated by it for data modification and updating, the kernel locks the task switch until the data is modified The update is completed; while the first task ...

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 belongs to the technical field of urban rail traffic CBTC and particularly discloses a real-time task scheduling method and system for a vehicular ATP. The method includes: generating a global variable, calling a highest-priority first task in a task list to run in a kernel, comparing the priority of the first task running in the kernel to that of a second task newly entering, and continuing to sequentially call all tasks in the task list according to the priority levels to run in the kernel, or interrupting the first task to run the second task. The system comprises a global variable generation module, a kernel running module, a priority level comparison module, and a kernel task running state judgment module. The method and the system mainly have the advantages that inter-task communication awaiting time is shorter, switching efficiency is higher, real-time protection and safety are higher, and the requirement of the vehicular ATP subsystems in the CBTC system for multi-variable, multi-task and high-timeliness task control is met.

Description

technical field [0001] The invention belongs to the technical field of urban rail transit CBTC, and in particular relates to a task scheduling method and a task scheduling system of a vehicle-mounted ATP based on an optimized and improved μC / OS-II embedded real-time operating system task scheduling mechanism. Background technique [0002] CBTC, it is an automatic train control system based on wireless communication technology. In the urban rail transit signal control system, its on-board ATP (Automatic Train Protection Device) is responsible for obtaining and maintaining the position of the train, receiving movement authorization and calculating the safe speed curve, supervising the train status and other functions. The realization of these functions requires the vehicle-mounted ATP system to have extremely high real-time performance, so that it can respond in real time and dispatch quickly to each task. Therefore, the vehicle-mounted ATP system generally adopts an embedded...

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 & AuthorityPatents(China)
IPC IPC(8): G06F9/48
Inventor丁建隆何霖蔡昌俊李晋肖宝弟贾学祥郜洪民段晨宁尹逊政李博王芃陈宁宁李亮徐杰吕利民张楚潘黎晓东
Owner广州铁科智控有限公司