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

External data receiving method based on message queue

A data receiving method and message queuing technology are applied in the field of external data receiving based on message queuing, which can solve problems such as poor flexibility, and achieve the effect of improving operating efficiency and reducing risks.

Active Publication Date: 2010-09-29
NANJING NRIET IND CORP
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a method for receiving external data based on message queues in view of the poor flexibility and potential safety hazards caused by the need to bind data reception and timers in the existing equipment control 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
  • External data receiving method based on message queue
  • External data receiving method based on message queue
  • External data receiving method based on message queue

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0017] Such as Figure 1-3 shown.

[0018] A method for receiving external data based on a message queue. First, a message queue msgQEvent is defined for each application task that interacts with the outside world, as the only way for the task to receive events related to incoming data from the outside world. If there is an event that needs to notify the task, put a message into msgQEvent, so that the application task can wake up and perform corresponding processing after receiving the message. In order to meet the needs of the normal function of the application task, there are usually two types of messages: a message of completion of data reception and a message of timeout of data reception.

[0019] 1. Data received complete message

[0020] Assume that the function receiving external data in the application task is the recv function. After using ...

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 an external data receiving method based on the message queue. The method is characterized in that the a message queue msgQEvent is defined for each application task interacting with the outside and is the only one way the task receives the related event of external data incoming; and if some event is needed to notify the task, one message is put in msgQEvent so that after the application task receives the message, the application task can be wakened to execute the corresponding treatment. The method realizes the separation of the operation that the application task receives external data, and the timer mechanism so that the application task can customize the timer for each operation according to demands. The method of the invention has low risk, is convenient and flexible, and can realize data communications of multiple parties and increase the operating efficiency of the system.

Description

technical field [0001] The present invention relates to a method for receiving important data of automatic control equipment, especially a method for receiving data used in occasions with particularly high safety requirements such as automatic control of rail transit, specifically a method for receiving external data based on message queues method. Background technique [0002] As we all know, in the field of automatic control systems that involve significant personal and equipment safety, such as urban underground rail transit systems, the system requires extremely high real-time performance. requirements. However, during the execution of the task, some operations have to wait for the incoming data from the outside world, so their execution time is uncertain during the running process. In a high-security system, these factors of execution time uncertainty are part of the risk, and comprehensive protection measures are required for it. Once the execution of the operation ...

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/46G06F9/50G05B19/418
CPCY02P90/02
Inventor 蔡李峰束元朱骞
Owner NANJING NRIET IND CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More