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

Message sending method in embedded and distributed system

A distributed system and message sending technology, which is applied in the field of network communication, can solve the problems of low message exchange efficiency and achieve the effects of improving message sending efficiency, avoiding waste, and improving efficiency

Active Publication Date: 2014-12-10
MAIPU COMM TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to overcome the shortcoming of low message interaction efficiency in the current embedded distributed system, and provide a message sending method in the embedded distributed 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
  • Message sending method in embedded and distributed system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0025] For the message sending flow chart of the embodiment of the present invention, see figure 1 . The message sending method in the embedded distributed system of the present embodiment comprises the following steps:

[0026] Step 101, create a sending scheduling task with a lower priority than all upper-layer application module tasks.

[0027] Step 102, when the task of the upper application module is ready to send the message, it releases the global synchronization semaphore, and wakes up the sending scheduling task. In this step, the global synchronization semaphore is a binary semaphore. When the task of the upper application module needs to send a message, the message is first added to the message sending queue, and then the global synchronization semaphore is released for wake-up sending Scheduling task. At this time, since the sending scheduling task is of low priority, the sending scheduling task is in a ready state.

[0028] Step 103, after the system schedules ...

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 relates to a network communication technology and provides a message sending method in an embedded and distributed system, in order to solve the problem of low message interaction efficiency in the existing embedded and distributed system. A technical scheme can generally comprise the following steps: firstly, a scheduling sending task which is lower than all upper-layer application module tasks in priority level is established; when the upper-layer application module tasks prepare messages to be sent, global synchronous signal quantity is released and the scheduling sending task is waked up; the system sends a scheduling task to wake up a message sending task after scheduling the scheduling sending task according to the priority level; and at last, the message sending task is carried out to send messages to be sent. The message sending method has the beneficial effects of improving the message sending efficiency and being applicable to the embedded and distributed system.

Description

technical field [0001] The invention relates to network communication technology, in particular to the technology of message sending method in embedded distributed system of network communication equipment. Background technique [0002] In the process of developing embedded distributed software, in order to make the distributed components coordinate and run efficiently. Interaction of internal messages is essential. In a real-time embedded system, execution efficiency and flexibility are one of the factors we pay attention to. If the message interaction efficiency between internal distributed components is low, it will inevitably affect the performance of the upper-layer application module, and the upper-layer application Modules to tolerate such efficiency will inevitably bring about the complexity of application modules; in an embedded distributed system, the interaction of internal messages is quite frequent, and the efficiency of message interaction directly affects the...

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): H04L12/70H04L47/6275
Inventor 梁晖万维威
Owner MAIPU COMM TECH CO LTD