Communication method and communication system

A communication method and operating system technology, applied in the field of communication methods and communication systems, can solve the problems of poor determinism and communication efficiency, different protection time lengths, long code lines, etc., achieve good determinism, and reduce the coupling degree of shared resources Effect

Active Publication Date: 2020-03-06
XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Although the above scheme can realize the normal operation of inter-partition communication under multi-core, it also has some disadvantages at the same time, mainly: the classic inter-partition communication process involves many shared resources, including pointer linked list, message pointer in the linked list, source port message Queue, destination port message queue, and control data in the port control block, such as figure 2 As shown; shared resource protection is distributed in the entire process of message sending, message transmission, and message receiving. There are many places that need to be protected, the scope is wide, and the length of protection time varies. In some places, the lines of code that need to be locked and protected are relatively long.
The complex shared resource lock protection will lead to frequent lock acquisition and waiting for locks during the parallel operation of the inter-partition communication function, which has a negative impact on the determinism of system operation and is not conducive to the performance of multi-core processors.
[0005] It can be seen that the existing communication schemes have technical problems of system operation determinism and poor communication efficiency.

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
  • Communication method and communication system
  • Communication method and communication system
  • Communication method and communication system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] see figure 1 , is a schematic flowchart of a communication method provided by an embodiment of the present invention. Applies to multi-core partitioned operating systems. Specifically, such as figure 1 As shown, the method mainly includes the following steps:

[0055] S101. Determine the first partition and the second partition that need to communicate between partitions;

[0056] S102. Establish a ring buffer channel between the first partition and the second partition, where the ring buffer channel is configured with a source port and at least one destination port;

[0057] A ring buffer channel is established between partitions that need to communicate between partitions, and the number of ring buffer channels can be one or more, which is set according to specific requirements. The ring buffer channels are independent of each other, and the communication methods are consistent. The following will explain the communication process in detail from the use process...

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 specialty, and relates to an inter-partition communication method based on ring buffer under multiple cores, which comprises the following steps: determining a first partition and a second partition which need to be subjected to inter-partition communication; establishing an annular buffer channel between the first partitionand the second partition, the annular buffer channel being configured with a source port and at least one destination port; creating the source port in the first partition calling port creation service, and creating a destination port in the second partition calling port creation service; and calling a sending service of the first partition to circularly send a message through the source port, andcalling a receiving service of the second partition to circularly receive the message through the target port. In this way, the inter-partition communication message transmission process can be simplified, communication shared resource decoupling is achieved, the determinacy of inter-partition communication operation is effectively improved, the CPU multi-core parallel computing processing capacity is fully utilized, and the system operation efficiency is improved.

Description

technical field [0001] The invention belongs to the field of computer application technology, and in particular relates to a communication method and a communication system. Background technique [0002] The partition operating system conforming to the ARINC653 standard is the software foundation of the new generation of integrated avionics system, and the inter-partition communication is the main way to realize the information exchange between the partitions. When the hardware platform of the integrated avionics system is gradually popularized from single-core to multi-core processors, a partitioned operating system that supports multi-core processors is indispensable. Under the multi-core operating system, partitions are executed sequentially by a single processor according to a single schedule, but distributed in different processing cores and executed in parallel according to multiple schedules, which greatly changes the execution scenario of the inter-partition communic...

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): H04L12/883H04L12/879H04L12/861H04L49/9015H04L49/901
CPCH04L49/9015H04L49/901H04L49/9031Y02D30/50
Inventor 贠海顺李运喜叶宏徐晓光时磊陈晓磊
Owner XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products