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

Micro-embedded real time task scheduling device and scheduling method

A real-time task and task scheduling technology, which is applied to program control, program startup/switching, and multi-channel program devices in sequence/logic controllers, and can solve the problem of large minimum core, complex core scheduler, and inflexible scheduling methods, etc. problem, to achieve the effect of creating tasks conveniently, reducing the kernel size, and ensuring real-time and reliability

Inactive Publication Date: 2008-10-22
CHONGQING UNIV OF POSTS & TELECOMM
View PDF0 Cites 54 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is: Aiming at defects such as complex core scheduler, relatively large minimum kernel, and inflexible scheduling mode in existing embedded operating systems, a kind of real-time performance, simple scheduling, small kernel, etc. is designed and developed. Low-cost embedded task scheduler, and real-time task scheduling method

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
  • Micro-embedded real time task scheduling device and scheduling method
  • Micro-embedded real time task scheduling device and scheduling method
  • Micro-embedded real time task scheduling device and scheduling method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention designs the core data structure of the scheduler, the task scheduling algorithm, the event mechanism, and the clock-driven scheduling of the scheduling algorithm, aiming at the multi-task, real-time performance, and small kernel requirements of the micro-embedded real-time task scheduler.

[0020] 1. Multitasking: For multitasking requirements, the present invention adopts four common task states: ready state, running state, waiting state and suspended state. The ready state describes the state of the task waiting to run; the running state describes the state in which the task is running; the waiting state describes the state in which the task is waiting for a delay; the suspended state describes the state in which the task's current operation is completed or is waiting for an event to occur. During the scheduling process, the task status is marked by setting the task status word in the task control block, and the scheduler determines the task sched...

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 requests to protect a micro-embedded type real-time task scheduler and a scheduling method, relating to the industrial control and intelligent instrument related field. When the scheduling method of the invention is used in scheduling process, the status of a task is marked through the set of a task status word in a task control block; the scheduler determines the scheduling of the task and drives the scheduling through a clock and an event; real-time request is realized by adopting a mode of combining a simplified kernel code, a deprivable kernel and interrupt; a multipurpose mode of adopting a status word to realize ready, suspension and time delay counting reduces task execution codes, simplifies scheduling algorithm and reduces kernel codes; a scheduling lock mark is added to the task control block, and users can lock or unlock in the task according to specific needs. The scheduler solves the problems existing in the prior programming mode of middle-low grade intelligent instruments and meters, meets the requirements on real-time performance, low power consumption and small kernel, and improves programming efficiency as well as code portability.

Description

technical field [0001] The invention relates to related fields such as industrial control network and intelligent instrument control. Background technique [0002] In the field of industrial control and instrumentation industry, some controllers and instruments are developing in the direction of digitization, networking, and intelligence. In the software development process of low-end instruments and instruments, there is a traditional hypercycle programming method, which has low efficiency and Therefore, it is urgently required to use a scheduler or an operating system with task scheduling function to change the way of calling hyperloop in order to meet the resource management and real-time requirements of the system. [0003] At the same time, the commonly used embedded operating system cannot well meet the requirements of small core, high real-time, high reliability, and low power consumption of smart instruments due to large kernel, overly complex task scheduling process...

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/48G05B19/04
CPCY02B60/144Y02D10/00
Inventor 蒋建春冯辉宗岑明丘宝梅章亮飞郭东进苏敏
Owner CHONGQING UNIV OF POSTS & TELECOMM
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