Supercharge Your Innovation With Domain-Expert AI Agents!

A queue port communication method based on port list

A port list and port communication technology, which is applied in inter-program communication, instruments, multi-program devices, etc., can solve the problems of untimely message processing and waste of CPU resources, and achieve the effect of improving efficiency and saving computing resources

Pending Publication Date: 2019-03-29
XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Purpose of the present invention: the present invention provides a queue port communication method based on the port list, and the purpose is to solve the waste of CPU resources and message processing caused by polling when the process in the partition needs to monitor and process multiple destination port messages at the same time To improve the efficiency of queue port communication in this scenario

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
  • A queue port communication method based on port list

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] A queue port communication method based on a port list, comprising the following steps:

[0013] Step 1: Create a queue port port list, which is initially empty

[0014] When creating a queue port list, specify the maximum number of destination ports that are allowed to join this port list, create a storage space, and create a counting semaphore for this port list. The initial value of the semaphore is 0;

[0015] Step 2: Add the destination ports that need to be monitored simultaneously to the port list

[0016] Add the destination port that needs to be monitored simultaneously to the port list, so that the destination port becomes the object of the port list service, and one destination port can be added to one port service list at most. When joining, check whether the destination port has been added to other port service lists, and whether it exceeds the upper limit of the port list allowed to join;

[0017] Step 3: According to monitoring needs, set the activity s...

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 belongs to the technical field of computer system software, and relates to a queue port communication method based on port list, which is used for solving the problems of CPU resource waste and message processing delay caused by adopting polling mode when a partition process needs to listen and process multiple destination port messages at the same time in an embedded real-time partitioned operating system. The invention provides a queue port communication method based on a port list, which comprises two key aspects: one is to realize simultaneous monitoring and processing of a group of destination ports by an intra-zone process through the port list; the other is to provide a queue port communication method based on the port list. 2. According to whether that destination port has message for receiving and state transition, the access control to the port list is realized by managing the semaphore of the port list. After the queue port communication method designed by theinvention is implemented, the CPU calculation resources can be saved and the message processing efficiency can be improved under the scenario that the partition process needs to simultaneously monitorand process a plurality of destination ports.

Description

technical field [0001] The invention belongs to the technical field of computer system software, and relates to a queue port communication method based on a port list. Background technique [0002] The integrated and modular avionics system (IMA) integrates multiple application systems into a computer with high-speed processing capabilities, and improves system energy efficiency through resource sharing. The partition operating system is the embedded real-time operating system mainly used by IMA. To ensure determinism and robustness, partitions in a partitioned operating system are isolated from each other in space and time. The queue port is the main way to provide interconnection and information exchange between partitions. [0003] Queue ports are divided into source ports and destination ports. Processes in a partition can send messages through source ports and receive messages through destination ports. The queue port provides a message queuing service. When the des...

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): G06F9/54G06F11/30
CPCG06F9/546G06F11/3093G06F11/3096G06F2209/548
Inventor 贠海顺李运喜时磊徐晓光陈晓磊杨静远
Owner XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
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