Unlock instant, AI-driven research and patent intelligence for your innovation.

Telecommunication between tasks based on news objects in embedded real-time operation system

A technology of real-time operating system and communication method, applied in the field of embedded real-time operating system, can solve the problems of consuming memory space, wasting system resources, reducing task efficiency, etc., and achieving the effect of improving applicability and improving efficiency

Inactive Publication Date: 2007-11-28
ZHEJIANG UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Message mailboxes and message queues have their common disadvantages: First, in some embedded real-time operating systems, such as in the open source μC / OS, a message mailbox or message queue can only send messages for one task, and multiple Tasks cannot use the same mailbox or queue to send messages
When there are many tasks that need to send messages, it is necessary to create a new mailbox or queue for each task, which will consume a lot of memory space
Secondly, when the task of receiving a message is waiting for a message, it needs to continuously query the status of the mailbox or queue to know the appearance of the message. Repeated queries waste system resources and reduce system efficiency.
Finally, the message mailbox and message queue are only responsible for message transmission and do not care about the content of the message. The task of receiving the message needs to judge whether the message is useful by itself. That is to say, the task may spend a lot of time filtering useless messages, which greatly reduces the Efficiency of task execution

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
  • Telecommunication between tasks based on news objects in embedded real-time operation system
  • Telecommunication between tasks based on news objects in embedded real-time operation system
  • Telecommunication between tasks based on news objects in embedded real-time operation system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention is further introduced below in conjunction with accompanying drawing and example, Fig. 1 is the model of the interprocess communication method based on message object in this embedded real-time operating system, and this method is mainly made up of sending message object, receiving message object, filtering mechanism and notification The mechanism consists of four modules, and the entire message delivery consists of the following two main processes:

[0028] 1. Message sending part

[0029] The process of sending a message is shown in Figure 2, and the details are as follows:

[0030] 1. The task specifies the object to send the message and the message data to be transmitted.

[0031] 2. Traverse the receiving message object that communicates with the sending message object. The messages are filtered according to the filtering algorithm set by the user, the messages that fail to pass are discarded, and the messages that pass the filter go to the ...

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

A communication method between tasks in embedded real time operation system based on message object includes using task to indicate message - send object and message data required to be transmitted, going over all message - receive objects to carry on communication with message - send object and filtering message according to filtering algorithm then storing message data at tail portion of message queue in message - receive object if it is queue message - receive object and storing message data in data storing region of message - receive object if it is not queue message - receive object.

Description

technical field [0001] The invention relates to an embedded real-time operating system in the computer field, in particular to an inter-task communication method based on message objects in the embedded real-time operating system. Background technique [0002] In the multi-task embedded real-time operating system, there are many different tasks running. One task is a running program. Data exchange between tasks is inevitable. This process of data exchange between tasks is called inter-task Communication, inter-task communication is an indispensable function in embedded real-time operating system. Currently, there are two ways of communicating between tasks commonly used in multi-task embedded real-time operating systems: message mailbox and message queue. [0003] Message mailboxes are a way for most multitasking operating system tasks to communicate, and a mailbox is a recognized block memory area. A task puts a message into the mailbox through the kernel service, and one...

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 Patents(China)
IPC IPC(8): G06F9/54
Inventor 赵民德厉蒋郁利吉孟晓楠孙洁吴朝晖
Owner ZHEJIANG UNIV