A time processing method of message and embedded multiple task operating system

A technology of operating system and processing method, applied in the field of embedded multi-tasking operating system, can solve the problems of wasting system resources, unable to guarantee the execution time of messages or tasks, etc.

A technology of operating system and processing method, applied in the field of embedded multi-tasking operating system, can solve the problems of wasting system resources, unable to guarantee the execution time of messages or tasks, etc.

CN1952899AInactive Publication Date: 2007-04-25VIMICRO CORP

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A time processing method of message and embedded multiple task operating system
  • A time processing method of message and embedded multiple task operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention provides a timely message processing method, which is applied to an embedded multitasking operating system, including:

[0032] When the task receives the message, it judges whether the currently received message needs to be processed in time. If it needs to be processed in time, the timer is started. When the timer interrupt occurs, the timer interrupt processing program is executed. The specific job that the message corresponds to.

[0033] The method of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0034] Referring to Fig. 1, it is a flowchart of a method embodiment of the present invention, including the following specific steps:

[0035] Step S101, after the system is started, create a task in the system, and the system stores corresponding functions that pre-encapsulate the work content related to different types of messages of the task;

[0036] Step S102, the created task starts; ...

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

This invention discloses a message timely process method applied in imbedded multi-task operation system, which comprises the following steps: when task receives information, judging current message needs timely process; if it needs timely process, then starting timer; when timer interval generates, starting timer interval process program; executing relative detail work in timer interval process program. This invention discloses a imbed multi-task operation system structure of this method.

Description

technical field [0001] The invention relates to an embedded multitasking operating system, in particular to a method for timely processing messages received by tasks in the embedded multitasking operating system. Background technique [0002] In many embedded operating systems, the system is a multi-task (or multi-process) system, and the scheduling method adopted is preemptive. The switching and execution operations between each task are based on the message mechanism. That is to say, when a task A receives a message, it parses the content of the message and starts to execute the specific operation corresponding to the message; when the execution of this message is completed, task A waits to receive the next message, and follows the received next The instruction content of the message executes the corresponding operation until task A receives and processes all the messages and ends the task. However, during the specific operation of task A executing the message, it may be...

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
25 Apr 2007
Publication
CN1952899A
IPC
G06F9/46; G06F9/48
Inventors
唐勉