[go: up one dir, main page]

CN119166573A - Method and system for low-latency communication between partitions under ARINC 653 standard - Google Patents

Method and system for low-latency communication between partitions under ARINC 653 standard Download PDF

Info

Publication number
CN119166573A
CN119166573A CN202411535087.2A CN202411535087A CN119166573A CN 119166573 A CN119166573 A CN 119166573A CN 202411535087 A CN202411535087 A CN 202411535087A CN 119166573 A CN119166573 A CN 119166573A
Authority
CN
China
Prior art keywords
file
partition
arinc
message
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202411535087.2A
Other languages
Chinese (zh)
Inventor
潘超
郏锐
柴俊
戴贻康
何佳丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Longxing Hangzhou Avionics Co ltd
Original Assignee
Longxing Hangzhou Avionics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Longxing Hangzhou Avionics Co ltd filed Critical Longxing Hangzhou Avionics Co ltd
Priority to CN202411535087.2A priority Critical patent/CN119166573A/en
Publication of CN119166573A publication Critical patent/CN119166573A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4027Coupling between buses using bus bridges
    • G06F13/405Coupling between buses using bus bridges where the bridge performs a synchronising function
    • G06F13/4059Coupling between buses using bus bridges where the bridge performs a synchronising function where the synchronisation uses buffers, e.g. for speed matching between buses
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4208Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being a system bus, e.g. VME bus, Futurebus, Multibus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40169Flexible bus arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/4028Bus for use in transportation systems the transportation system being an aircraft

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a system for inter-partition low-delay communication under ARINC 653 standard, which realize the sharing of files/equipment through inter-partition message communication on the premise of not damaging the independence of ARINC 653 partition and keeping the compatibility of ARINC 653 APEX service interfaces, have low sharing cost, provide higher degree of freedom for software design and realize an inter-partition communication scheme with low time delay.

Description

Method and system for inter-partition low-delay communication under ARINC 653 standard
Technical Field
The invention relates to the field of inter-partition communication, in particular to a method and a system for inter-partition low-delay communication under ARINC653 standard.
Background
The ARINC 653 standard is used as a core specification of a real-time operating system (RTOS) of an avionics system, defines a set of partitioning architecture, and aims to ensure independent operation of a plurality of mission-critical applications through a partitioning mechanism of time and space isolation and ensure isolation and communication certainty between each partition.
ARINC 653 standardizes APEX (Application Executive) interface and provides a standardized set of APIs for partition scheduling management, task management, time management, and communication management. To support the development and operation of applications in avionics systems.
For existing communication flows, the message memory is copied twice, and for operating systems with user mode/kernel mode splitting, there may be additional user mode-kernel mode copying, which, for a message service built on a real-time operating system, can undoubtedly increase the delay of message delivery and increase the loss of message delivery between partitions.
In view of the foregoing, there is a need for a method and system for inter-partition low-latency communications under the ARINC 653 standard that addresses the deficiencies of the prior art.
Disclosure of Invention
The present invention provides a method and system for inter-partition low-delay communication under the ARINC 653 standard, which aims to solve the above problems.
In order to achieve the above purpose, the invention provides a method for inter-partition low-delay communication under ARINC 653 standard, comprising the following steps:
step S1, a sender partition calls a creation port service to establish a sending port, and a receiver partition calls the creation port service to establish a receiving port;
Step S2, the sender partition copies the message to be sent into a pre-allocated cache by calling a message sending service;
Step S3, mapping the cache to a memory address space of a receiving partition through a memory management unit;
S4, the receiving party partition directly reads the message from the mapped cache by calling the message receiving service;
and S5, searching and binding the file descriptor, wherein the sender sends the file descriptor, searches the struct file object corresponding to the file descriptor, binds with the struct file pointer and shares the file descriptor.
Optionally, when the port is created in step S1, the required cache SIZE is calculated according to the parameters max_message_size and max_nb_message, and the cache is allocated.
Optionally, the calculation formula of the buffer size is:
,
in the formula, the Ceiling function represents rounding up, and Page_SIZE is an integer number of operating system PAGE SIZEs.
Optionally, the receiving the message service in step S4 is:
The receiver partition invokes the receive_ QUEUING _message service to directly read the MESSAGE content from the mapped cache.
Optionally, in the step S5, the sending side sends the file descriptor as follows:
When the sender partition calls the send_ QUEUING _message service to SEND the file descriptor, searching a struct file object corresponding to the file descriptor, and caching a pointer of the struct file.
Optionally, the shared file descriptor in S5 is:
when the receiving party partition calls the RECEIVE_ QUEUING _MESSAGE service, an unused file descriptor is searched, and the file descriptor is bound with a struct file pointer in a cache, so that the file descriptor is shared.
A system for inter-partition low-delay communication under the ARINC 653 standard, employing a method for inter-partition low-delay communication under the ARINC 653 standard, comprising:
the soft bus daemon is used for providing a message service interface, managing the mapping and the routing of the cache and the partition-port, and coordinating the specific operation of the cross-partition communication;
And the soft bus driving module is used for managing core functions of cross-partition communication, including sharing of file descriptors, mapping of memory buffers and message transmission.
Optionally, the soft bus driver module implements a core function of the soft bus through operation of the virtual device, including, but not limited to, creating a communication port for operation in a queued mode and requesting return of a queue port identifier corresponding to a queue port name.
Optionally, the soft bus driver module further supports operations on created ports, including but not limited to sending messages in, receiving messages from, sending file descriptors in, and receiving file descriptors from specified queue ports.
Optionally, when the file descriptor is sent, a pointer of a file object struct file corresponding to the file descriptor is stored in a cache, and when the file descriptor is received, the pointer of the struct file is bound with a new file descriptor of a receiver to complete sharing of the file or the equipment.
The invention has the beneficial effects that:
1. In the invention, on the premise of not damaging the independence of the ARINC 653 partition and keeping the compatibility of the ARINC 653 APEX service interface, the sharing of the file/equipment through the inter-partition message communication is realized, the sharing cost is very low, a higher degree of freedom is provided for software design, and a low-delay inter-partition communication scheme is realized.
2. In the invention, low-delay inter-partition communication is realized through a copying-mapping flow of the memory and a searching-binding flow of the file/device and a message interface specified by ARINC 653, thereby providing better support for development and design of upper-layer airborne system application.
3. In the invention, the searching-binding process is carried out through the support of an operating system, and the sharing of files/devices is realized semantically in the message sending-receiving process.
Drawings
FIG. 1 is a flow chart of a method of the present invention.
Fig. 2 is an inter-partition communication interaction diagram of the present invention.
Fig. 3 is a system architecture diagram of the present invention.
Fig. 4 is a communication port setup diagram of the present invention.
Fig. 5 is a memory map of the present invention.
Fig. 6 is a communication port acquisition diagram of the present invention.
Fig. 7 is a diagram of a transmission and reception message according to the present invention.
FIG. 8 is a file device sharing diagram of the present invention.
Detailed Description
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the invention, and that other drawings can be obtained from these drawings without inventive effort for a person skilled in the art.
As shown in fig. 1,2 and 4 to 8, a method for inter-partition low-delay communication under ARINC 653 standard, the content includes:
the main source of delay in message transfer between partitions is the copying of memory, so reducing the number of memory copies during message transfer is the main design idea of the soft bus. A naive approach to this problem, as described above, is a two-memory copy scheme, P1 to cached copies and P2 to cached copies, respectively.
Modern operating systems implement independence on process/partition memory by performing virtual memory to physical memory mapping, which is typically implemented by MMU (memory management unit) hardware to implement paged memory management techniques to protect different processes from interference with each other. Under this mechanism, virtual memory is partitioned into fixed-size pages, each of which is pointed to a location in physical memory by a page table entry, and the MMU uses the page table to locate the physical address. When a process/partition accesses memory, what is seen is a virtual memory address, the MMU uses the page number to find the page table entry by splitting the virtual address into two parts, page number and intra-page offset, if the page table entry is valid, the page frame number corresponding to the physical memory is found from the page table entry and combined with the intra-page offset to form the complete physical address, if the page table entry is invalid, indicating that the page is not in physical memory, the MMU will generate a page fault interrupt, the operating system will respond to this interrupt, load the required page from disk into physical memory, and update the page table to reflect the new mapping.
By utilizing the characteristic, the technical scheme can realize the reduction of the copying times, and the specific thinking is as follows:
when sender invokes send_ QUEUING _message, the MESSAGE memory is copied to a specific cache.
This cache is mapped into the memory address space of the recipient by the MMU so that after the sender copies the MESSAGE into the cache, the cache is already available to the recipient when the recipient calls receive_ QUEUING _message.
This idea is called Single-Copy Transaction (Single-Copy Transaction), assuming a time delay T of the original scheme
,
Wherein the method comprises the steps ofDelay introduced for one memory copy, while the delay of the technical methodIs that
,
We assume thatIn order to implement the time delay introduced by one memory mapping, in the implementation of the present technical solution, this part is already executed in the process of establishing the port. In modern operating systems, memory mapping is a faster operation than memory copying and does not increase with the length of the message memory, so this solution has a lower, more stable latency, which is a desirable feature in on-board systems.
Because the communication requirement among the partitions runs throughout the system, the life time of the cache is the same as that of the partitions, and the cache is allocated after the partitions are established, so that the recovery of the cache is not required to be considered. For an operating system that satisfies ARINC 653, at partition start-up, either the two APEX interfaces CREATE an inter-partition communication PORT by calling either the create_sample_PORT_ID or create_ QUEUING _PORT_ID, the technical scheme CREATEs a buffer memory and maps the buffer memory to the receiver partition when the receiver partition CREATEs a receiving PORT. The parameter max_message_size in the two APEX interfaces represents the maximum MESSAGE length, max_nb_message represents the maximum MESSAGE number, and the cache applied in this step should be not smaller than the product of the maximum MESSAGE length and the maximum MESSAGE number. In addition, the cache SIZE should be an integer number of operating system PAGE SIZEs page_size, and thus the applied cache SIZE should be:
where the celing function represents a round-up.
Another advantage of the present solution is that sharing of files/devices between partitions can be achieved at low cost in a message manner, for example, an operating system satisfying a Portable Operating System Interface (POSIX) is taken as a design idea of "all files" in this operating system, and under this idea, the files/devices are represented by File descriptors (File descriptors) for an application layer. The data type of the file descriptor is generally an integer, the literal value of the integer is not meaningful for different partitions through message transmission, and the file descriptor is not representative of sharing of files/devices, because the meaning of the file descriptor with the same value in different partitions is not the same, and the file descriptor can not be guaranteed to correspond to the same file or device. The specific flow is as follows:
When the sender calls send_ QUEUING _message to SEND the file descriptor, the file descriptor is not copied into the cache, but a struct file object corresponding to the file descriptor is found, and a pointer of the struct file is cached.
When the receiving party calls the RECEIVE_ QUEUING _MESSAGE, an unused file descriptor is found in the running context of the receiving partition, and the new file descriptor is mapped to the corresponding struct file, so that the sharing of the file descriptors is realized.
The file descriptors and struct files in the above flow description are exemplified as operating systems that meet the Portable Operating System Interface (POSIX). In this type of system, the file descriptor is a non-negative integer, typically represented in the user program as an integer variable. When a program opens a file (or other resource, such as a web socket, device node, etc.), the kernel returns a file descriptor. This file descriptor may be used to perform subsequent read and write operations, while the struct file object is a reference count managed data structure that represents the state of an opened file/device that is created when the first caller opens the file/device and released when all callers close the file/device. In this design, the file descriptor is an index to the struct file, and the process has its own private file descriptor table, recording all open files and their associated struct files. When a file/device is opened, the operating system allocates a file descriptor to the process of opening the file, if the file/device is not opened by other callers, the operating system creates a struct file to track the state of the file/device and creates a mapping relationship of the file descriptor to the newly created struct file by updating the file descriptor table, and if the file/device has been opened, the operating system finds the corresponding struct file object and also creates the mapping relationship by updating the file descriptor table. On other operating systems, the concept and flow are similar to those of the file/device which can be used by the user program in a resource handle mode, and the sharing among partitions is realized through the searching-binding flow of the technical scheme.
The technical scheme is based on a message sending/receiving interface, establishes the mapping relation of the file descriptor-struct file object through a file descriptor table, searches a pointer of the file object struct file corresponding to the file descriptor first when the file descriptor is sent, stores the pointer in a cache, applies for an unused file descriptor in a file descriptor table of a receiver when the file descriptor is received, and binds the new file descriptor of the pointer of the struct file in the cache by updating the file descriptor table of the receiver so as to finish sharing the file/equipment.
In summary, the technical scheme realizes low-delay inter-partition communication through the message interface specified by ARINC 653 by the copy-mapping flow of the memory and the searching-binding flow of the file/device, and provides better support for development and design of upper-layer airborne system application.
A system for inter-partition low-delay communication under ARINC 653 standard is provided, the architecture is shown in figure 3, and the soft bus is used as a service module of an operating system and is divided into a soft bus daemon (softbus-daemon) and a soft bus driver (softbus-driver).
The soft bus daemon, which serves as a service provider for the ARINC 653 message function, begins running at system start-up, is responsible for providing interfaces to the various partitions, managing the cache, determining the partition-port mapping and routing, and coordinating the specific operations of cross-partition communication.
The soft bus driver is a customized kernel module responsible for managing the core functions of cross-partition communication. The method processes the sharing of file descriptors, the mapping of memory buffers and the transfer of messages, and ensures that the communication between partitions can be completed efficiently and with low delay. The driver interacts directly with system calls and resources in the partition, providing underlying support based on the operating system.
When the operating system is started, the device "/dev/softbus" is registered when the soft bus driver is loaded, which is a virtual device, and the core function of the soft bus is realized through the operation of the device, and from the viewpoint of the soft bus driver, the available commands to the device comprise the following table 1
The commands return to the communication ports between the partitions, and the operations that can be performed on the ports are shown in Table 2 below
In the partition initialization phase, the soft bus performs port (port) initialization operations for each partition. Partition calling CREATE_ QUEUING _PORT to establish communication PORT, obtaining PORT_ID, and function calling process as shown in FIG. 4
The CREATE QUEUING PORT realizes the function of establishing PORT through the interaction with the soft bus driver, and returns port_id, in this process, establishes the corresponding relationship between port_id and cache, note that if the partition establishes the receiving PORT, the mapping between the cache and partition memory space should be established, as shown in fig. 5
In the partition running stage, the PORT ID can be obtained through get_ QUEUING _port_id, the flow of which is shown in fig. 6, and the partition obtains the PORT ID corresponding to the PORT name from the soft bus daemon through interaction with the soft bus driver.
After obtaining the port_id, the partition may operate on the cache, and for the sender, the relevant APIs may be called for message sending and receiving, for the softbus drivers, the relevant operations SOFTBUS _cmd_send_msg and SOFTBUS _cmd_receive_msg, where the main operation of SOFTBUS _cmd_send_msg is to copy the message into the corresponding cache of port_id, and for the receiver of the message, no additional copying is needed to RECEIVE the message, since the cache is already mapped into its address space.
For file/device sharing, and messaging and receiving, the related operations SOFTBUS _cmd_send_fd and SOFTBUS _cmd_receive_fd are substantially similar to those for softbus drivers, and the present solution uses the commands of the pair of soft bus drivers to implement the sharing function, as shown in the flowchart of fig. 8.
And similarly, when the file descriptor is received, binding the pointer of the struct file with a new file descriptor (named target_fd in the figure) of the partition 2, thereby completing the sharing of the file/equipment.
The invention realizes the sharing of the file/equipment through the inter-partition message communication on the premise of not damaging the independence of the ARINC 653 partition and keeping the compatibility of the ARINC 653 APEX service interface, has low sharing cost, provides higher degree of freedom for software design, and realizes a low-delay inter-partition communication scheme.
The low-delay inter-partition communication is realized through a copying-mapping flow of the memory and a searching-binding flow of the file/device and through a message interface specified by ARINC 653, better support is provided for the development and design of the upper-layer airborne system application, the searching-binding process is carried out through the support of an operating system, and the sharing of the file/device is realized semantically in the process of sending and receiving the message.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, or alternatives falling within the spirit and principles of the invention.

Claims (10)

1.一种用于ARINC 653标准下的分区间低延迟通信的方法,其特征在于,包括以下步骤:1. A method for low-latency communication between partitions under the ARINC 653 standard, characterized in that it comprises the following steps: 步骤S1:发送方分区调用创建端口服务建立发送端口,接收方分区调用创建端口服务建立接收端口;Step S1: The sender partition calls the create port service to establish a send port, and the receiver partition calls the create port service to establish a receive port; 步骤S2:发送方分区通过调用发送消息服务,将待发送的消息复制到一个预先分配的缓存中;Step S2: The sender partition copies the message to be sent to a pre-allocated buffer by calling the send message service; 步骤S3:通过内存管理单元将该缓存映射至接收方分区的内存地址空间;Step S3: Mapping the cache to the memory address space of the receiving partition through the memory management unit; 步骤S4:接收方分区通过调用接收消息服务,直接从映射后的缓存中读取消息;Step S4: The receiving partition directly reads the message from the mapped cache by calling the receive message service; 步骤S5:文件描述符的查找与绑定,发送方发送文件描述符,查找文件描述符对应的struct file 对象,并与struct file指针绑定,共享文件描述符。Step S5: Searching and binding of file descriptors. The sender sends the file descriptor, searches for the struct file object corresponding to the file descriptor, binds it to the struct file pointer, and shares the file descriptor. 2.根据权利要求1所述用于ARINC 653标准下的分区间低延迟通信的方法,其特征在于,所述步骤S1中创建端口时,根据参数 MAX_MESSAGE_SIZE 和 MAX_NB_MESSAGE 计算所需的缓存大小,并分配缓存。2. According to the method for low-latency communication between partitions under the ARINC 653 standard in claim 1, it is characterized in that when creating a port in step S1, the required cache size is calculated according to the parameters MAX_MESSAGE_SIZE and MAX_NB_MESSAGE, and the cache is allocated. 3.根据权利要求2所述用于ARINC 653标准下的分区间低延迟通信的方法,其特征在于,所述缓存大小计算公式为:3. According to the method for low-latency communication between partitions under the ARINC 653 standard according to claim 2, it is characterized in that the cache size calculation formula is: , 式中,Ceiling函数表示向上取整,PAGE_SIZE为整数个操作系统页面大小。Wherein, Ceiling function means rounding up, and PAGE_SIZE is an integer of the operating system page size. 4.根据权利要求1所述用于ARINC 653标准下的分区间低延迟通信的方法,其特征在于,所述步骤S4中接收消息服务为:4. The method for low-latency communication between partitions under the ARINC 653 standard according to claim 1, characterized in that the message receiving service in step S4 is: 接收方分区调用 RECEIVE_QUEUING_MESSAGE 服务,直接从映射后的缓存中读取消息内容。The receiving partition calls the RECEIVE_QUEUING_MESSAGE service and reads the message content directly from the mapped cache. 5.根据权利要求1所述用于ARINC 653标准下的分区间低延迟通信的方法,其特征在于,所述步骤S5中发送方发送文件描述符为:5. The method for low-latency communication between partitions under the ARINC 653 standard according to claim 1, characterized in that the file descriptor sent by the sender in step S5 is: 发送方分区调用 SEND_QUEUING_MESSAGE 服务发送文件描述符时,查找文件描述符对应的struct file对象,并缓存该struct file的指针。When the sending partition calls the SEND_QUEUING_MESSAGE service to send a file descriptor, it looks up the struct file object corresponding to the file descriptor and caches the pointer to the struct file. 6.根据权利要求1所述用于ARINC 653标准下的分区间低延迟通信的方法,其特征在于,所述S5中共享文件描述符为:6. The method for low-latency communication between partitions under the ARINC 653 standard according to claim 1, characterized in that the shared file descriptor in S5 is: 接收方分区调用RECEIVE_QUEUING_MESSAGE服务时,查找一个未使用的文件描述符,并将此文件描述符与缓存中的struct file指针绑定,共享文件描述符。When the receiving partition calls the RECEIVE_QUEUING_MESSAGE service, it looks for an unused file descriptor and binds this file descriptor to the struct file pointer in the cache to share the file descriptor. 7.一种用于ARINC 653标准下的分区间低延迟通信的系统,采用如权利要求1所述用于ARINC 653标准下的分区间低延迟通信的方法,其特征在于,包括:7. A system for low-latency communication between partitions under the ARINC 653 standard, using the method for low-latency communication between partitions under the ARINC 653 standard as claimed in claim 1, characterized in that it includes: 软总线守护进程:用于负责提供消息服务接口,管理缓存以及分区-端口的映射和路由,并协调跨分区通信的具体操作;Soft bus daemon: responsible for providing message service interface, managing cache, partition-port mapping and routing, and coordinating specific operations of cross-partition communication; 软总线驱动模块:用于负责管理跨分区通信的核心功能,包括文件描述符的共享、内存缓冲区的映射和消息的传递。Soft bus driver module: responsible for managing the core functions of cross-partition communication, including sharing of file descriptors, mapping of memory buffers, and message delivery. 8.根据权利要求7所述用于ARINC 653标准下的分区间低延迟通信的系统,其特征在于,所述软总线驱动模块通过虚拟设备的操作实现软总线的核心功能,所述虚拟设备的操作包括但不限于创建列队模式运行的通信端口和请求返回与队列端口名称相对应的队列端口标识符。8. According to claim 7, the system for low-latency communication between partitions under the ARINC 653 standard is characterized in that the soft bus driver module implements the core functions of the soft bus through the operation of the virtual device, and the operation of the virtual device includes but is not limited to creating a communication port running in a queue mode and requesting the return of a queue port identifier corresponding to the queue port name. 9.根据权利要求7所述用于ARINC 653标准下的分区间低延迟通信的系统,其特征在于,所述软总线驱动模块还支持对已创建端口的操作,包括但不限于在指定的队列端口中发送消息、从指定的队列端口接收消息、在指定的队列端口中发送文件描述符和从指定的队列端口接收文件描述符。9. According to claim 7, the system for low-latency communication between partitions under the ARINC 653 standard is characterized in that the soft bus driver module also supports operations on the created ports, including but not limited to sending messages in the specified queue port, receiving messages from the specified queue port, sending file descriptors in the specified queue port, and receiving file descriptors from the specified queue port. 10.根据权利要求9所述用于ARINC 653标准下的分区间低延迟通信的系统,其特征在于,所述发送文件描述符时,在缓存中存储文件描述符对应的文件对象struct file的指针;接收文件描述符时,将struct file的指针与接收方的新文件描述符进行绑定,完成文件或设备的共享。10. According to claim 9, the system for low-latency communication between partitions under the ARINC 653 standard is characterized in that when sending a file descriptor, a pointer to the file object struct file corresponding to the file descriptor is stored in a cache; when receiving a file descriptor, the pointer of the struct file is bound to the new file descriptor of the recipient to complete the sharing of files or devices.
CN202411535087.2A 2024-10-31 2024-10-31 Method and system for low-latency communication between partitions under ARINC 653 standard Pending CN119166573A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411535087.2A CN119166573A (en) 2024-10-31 2024-10-31 Method and system for low-latency communication between partitions under ARINC 653 standard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411535087.2A CN119166573A (en) 2024-10-31 2024-10-31 Method and system for low-latency communication between partitions under ARINC 653 standard

Publications (1)

Publication Number Publication Date
CN119166573A true CN119166573A (en) 2024-12-20

Family

ID=93887643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411535087.2A Pending CN119166573A (en) 2024-10-31 2024-10-31 Method and system for low-latency communication between partitions under ARINC 653 standard

Country Status (1)

Country Link
CN (1) CN119166573A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050193160A1 (en) * 2004-03-01 2005-09-01 Sybase, Inc. Database System Providing Methodology for Extended Memory Support
CN108959149A (en) * 2018-06-28 2018-12-07 南京南瑞继保电气有限公司 A kind of multi-core processor interaction bus design method based on shared drive
CN109815029A (en) * 2019-01-10 2019-05-28 西北工业大学 A kind of implementation method communicated between embedded partitions operating system partition
CN111367755A (en) * 2020-02-17 2020-07-03 上海基分文化传播有限公司 User log writing method and system of mobile terminal
CN117112040A (en) * 2023-08-30 2023-11-24 新石器慧通(北京)科技有限公司 Sensing sensor data reading method and device, electronic equipment and unmanned vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050193160A1 (en) * 2004-03-01 2005-09-01 Sybase, Inc. Database System Providing Methodology for Extended Memory Support
CN108959149A (en) * 2018-06-28 2018-12-07 南京南瑞继保电气有限公司 A kind of multi-core processor interaction bus design method based on shared drive
CN109815029A (en) * 2019-01-10 2019-05-28 西北工业大学 A kind of implementation method communicated between embedded partitions operating system partition
CN111367755A (en) * 2020-02-17 2020-07-03 上海基分文化传播有限公司 User log writing method and system of mobile terminal
CN117112040A (en) * 2023-08-30 2023-11-24 新石器慧通(北京)科技有限公司 Sensing sensor data reading method and device, electronic equipment and unmanned vehicle

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
LVYILONG316: "《Linux文件共享(六)——描述符传递》", Retrieved from the Internet <URL:https://blog.csdn.net/lvyilong316/article/details/23090629> *
不会写算法的小沈: "《[Linux]进程间传递文件描述符(一看就懂)》", Retrieved from the Internet <URL:https://blog.csdn.net/m0_75062065/article/details/142645895> *
张彦飞: "《聊聊跨进程共享内存的内部工作原理》", Retrieved from the Internet <URL:https://www.51cto.com/article/775859.html> *

Similar Documents

Publication Publication Date Title
US7996569B2 (en) Method and system for zero copy in a virtualized network environment
US5522045A (en) Method for updating value in distributed shared virtual memory among interconnected computer nodes having page table with minimal processor involvement
CN101150488B (en) A receiving method for zero copy network packet
US6981027B1 (en) Method and system for memory management in a network processing system
US5991797A (en) Method for directing I/O transactions between an I/O device and a memory
US6421769B1 (en) Efficient memory management for channel drivers in next generation I/O system
EP0889623B1 (en) System and method for efficient remote disk I/O
US5768618A (en) Method for performing sequence of actions in device connected to computer in response to specified values being written into snooped sub portions of address space
US6163812A (en) Adaptive fast path architecture for commercial operating systems and information server applications
US20130318333A1 (en) Operating processors over a network
US20240264768A1 (en) Request Processing Method, Apparatus, and System
CN112905304B (en) Communication method and device between virtual machines, physical host and medium
WO2018035856A1 (en) Method, device and system for implementing hardware acceleration processing
JP2000020490A (en) Computer having remote procedure call mechanism or object request broker mechanism, data transfer method, and transfer method storage medium
US9584628B2 (en) Zero-copy data transmission system
CN115933975A (en) Data processing method, computing device and computer system
WO2021224739A1 (en) Utilizing coherently attached interfaces in a network stack framework
US9069592B2 (en) Generic transport layer mechanism for firmware communication
CN101196816A (en) An operating system and operating system management method
WO2024217333A1 (en) Io access method and apparatus based on block storage, and electronic device and medium
CN112433826A (en) Hybrid heterogeneous virtualization communication method and chip
CN120723497A (en) Data processing method, computer system, storage medium and program product
CN115933973B (en) Method, RDMA system and storage medium for remotely updating data
US7913059B2 (en) Information processing device, data transfer method, and information storage medium
CN119883687B (en) Remote Direct Memory Access Systems, Devices, and Clusters

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20241220

RJ01 Rejection of invention patent application after publication