Method for communication between RapidIO-based high-speed bus boards

By defining the data format and memory space division on the RapidIO high-speed bus, the problem of data coverage and overlap in inter-board communication is solved, efficient and reliable data transmission is achieved, and the real-time and accuracy of the airborne system is ensured.

CN118689809APending Publication Date: 2024-09-24SHAANXI QIANSHAN AVIONICS
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410721791.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In the field of avionics, the existing RapidIO high-speed bus inter-board communication method is difficult to ensure the accuracy and real-time performance of data transmission. Especially in multi-board systems, data coverage and overlap problems are prone to occur.

Method used

Adopting a communication method based on the RapidIO high-speed bus, by defining the data format (CRC checksum, time stamp, frame sequence number and data length) and memory space division, the accuracy and robustness of data transmission are ensured, and the board is implemented through the RapidIO switch Data routing and processing between cards.

Benefits of technology

It achieves real-time and accuracy of inter-board communication, provides reliable data support, provides multi-directional time-frequency domain data support for airborne system analysis, and improves the real-time and effectiveness of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118689809A
    Figure CN118689809A
Patent Text Reader

Abstract

The invention belongs to the technical field of avionics, and particularly relates to a RapidIO-based high-speed bus inter-board communication method, which realizes high-speed reliable processing of internal bus data by designing an inter-board RapidIO data scheduling algorithm, a transmission data area division algorithm, a data storage space mapping distribution algorithm, a data robustness algorithm and other algorithms. And the real-time performance and the effectiveness of data transmission of the embedded equipment are greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of avionics, and in particular relates to an inter-board communication method based on RapidIO high-speed bus. Background Art

[0002] RapidIO is used as the front-end bus of the processor to interconnect with other processors. It is highly efficient and has low system cost. It supports point-to-point or point-to-multipoint communication and supports DMA operation. Each channel supports three different transmission baud rates: 1.25Gbps, 2.5Gbps, and 3.125Gbps. RapidIO has progressed from a standard-setting stage to a product stage. So far, RapidIO has become a new force in the backplane interconnection technology between chips and boards in telecommunications, communications, and embedded systems. Summary of the invention

[0003] In view of this, based on the accuracy and real-time requirements of inter-board communication data transmission, combined with the characteristics of the high transmission speed of the RapidIO bus, the present invention proposes an inter-board communication method based on the RapidIO high-speed bus, that is, a transmission algorithm combined with inter-board communication, which ensures that each board guarantees distributed computing, unified scheduling, and central interconnection during communication, and that data coverage and overlap do not occur between data areas. It provides reliable data support for the analysis and calculation of bus data in airborne equipment.

[0004] The specific technical scheme of the present invention is:

[0005] A communication method between boards based on a RapidIO high-speed bus is used to realize data communication between boards based on a RapidIO bus. The communication method includes:

[0006] Constrain the data format of communication data between boards: The underlying inter-board data structure of communication data consists of CRC checksum, time stamp, frame sequence number and data length; CRC checksum is used to ensure the correctness of the original data of the application layer in the data area; the time stamp is a corresponding timestamp for each data packet; the frame sequence is the label of data transmission; the data length is the length of the transmitted data provided by the upper-layer program;

[0007] The memory space of the communication data packet is divided: when the main processing module sends data to the designated task processing module, it specifies the ID of the corresponding board, and the bottom-level driver function sends the data to the designated memory address of the designated board through the RapidIO switch according to the board ID; when the main processing module receives data from each task processing module, the bottom-level driver function of each task board sends the corresponding data to the fixed memory address of the main processing module through the board address.

[0008] Furthermore, each of the boards can be used as a master-end board, and each of the boards except the master-end board is a data processing module.

[0009] Furthermore, the boards communicate with each other based on the RapidIO bus.

[0010] Furthermore, the internal task data of the board is derived from its own calculation, and the external data is transmitted to the master board based on the AFDX bus; the master board transmits the processed external data to each data processing module based on the data format and memory space.

[0011] Furthermore, one of the data processing modules undertakes the task of data routing, with one end communicating with the master board and the other end communicating with the other data processing modules.

[0012] Furthermore, during data communication, a data type packet of the same size is set in each board; each of the data type packets is divided into a plurality of sub-data packets, and each of the sub-data packets adopts the data format;

[0013] When the boards communicate with each other, the board at the sending end sends the sub-data packet to the corresponding sub-data packet of the corresponding data type packet in the data area of ​​the board at the opposite end;

[0014] The receiving end card performs verification based on the CRC checksum, time stamp, frame number and data length of the data format, and receives normally if the verification is successful.

[0015] The beneficial effects of the present invention are:

[0016] The present invention utilizes the low latency feature of RapidIO to provide real-time data processing for inter-board communication;

[0017] The present invention ensures the provision of reliable results through strict division and robust processing of inter-board data, and provides multi-dimensional time-frequency domain data support for airborne system analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0019] Figure 1 The present invention discloses a data partitioning storage and storage space mapping diagram in the board card. DETAILED DESCRIPTION

[0020] The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0021] The following describes the embodiments of the present disclosure through specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all of the embodiments. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.

[0022] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.

[0023] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present disclosure. The drawings only show components related to the present disclosure rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0024] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects described may be practiced without these specific details.

[0025] In one embodiment of the present invention, a communication method between boards based on RapidIO high-speed bus is proposed. Figure 1 , used for data communication between boards based on RapidIO bus, the communication method includes:

[0026] Constrain the data format of communication data between boards: The underlying inter-board data structure of communication data consists of CRC checksum, time stamp, frame sequence number and data length; CRC checksum is used to ensure the correctness of the original data of the application layer in the data area; the time stamp is a corresponding timestamp for each data packet; the frame sequence is the label of data transmission; the data length is the length of the transmitted data provided by the upper-layer program;

[0027] Divide the memory space of communication data packets: When the main processing module sends data to the specified task processing module, it specifies the ID of the corresponding board, and the underlying driver function sends the data to the specified memory address of the specified board through the RapidIO switch based on the board ID; when the main processing module receives data from each task processing module, the underlying driver function of each task board sends the corresponding data to the fixed memory address of the main processing module through the board address.

[0028] In this embodiment, each board can be used as a master-end board, and each board except the master-end board is a data processing module.

[0029] In this embodiment, the boards communicate with each other based on the RapidIO bus.

[0030] In this embodiment, the internal task data of the board comes from its own calculation, and the external data is transmitted to the master board based on the AFDX bus; the master board transmits the processed external data to each data processing module based on the data format and memory space.

[0031] In this embodiment, one of the data processing modules is responsible for data routing, with one end communicating with the master board and the other end communicating with the other data processing modules.

[0032] In this embodiment, during data communication, a data type packet of the same size is set in each board; each data type packet is divided into a plurality of sub-data packets, and each sub-data packet adopts a data format;

[0033] When the boards communicate with each other, the board at the sending end sends the sub-data packet to the corresponding sub-data packet of the corresponding data type packet in the data area of ​​the board at the opposite end;

[0034] The receiving end card performs verification based on the CRC checksum, time stamp, frame number and data length of the data format. If the verification is successful, the data is received normally.

[0035] This embodiment provides a method for inter-board communication based on RapidIO high-speed bus, which realizes high-speed and reliable processing of internal bus data by designing inter-board RapidIO data scheduling algorithm, transmission data area division, data storage space mapping allocation, data robustness and other algorithms, thereby greatly improving the real-time and effectiveness of embedded device data transmission.

[0036] The inter-board RapidIO data scheduling algorithm based on the RapidIO high-speed bus is that each terminal transmits data through the switch. Not only data is transmitted between each terminal, but the terminal and the router can also transmit and calculate data. The original data of the external bus is transmitted from the main processing module to each device through the switch for analysis, providing real-time and reliable flight data for the airborne system.

[0037] Based on the transmission data area algorithm of RapidIO high-speed bus, based on the properties of processor memory and the implementation of driver functions, the receiving and sending memory space of each board is divided into multiple board memory areas. The number of data areas required for each board data memory division and the size of each data can be adapted according to different requirements, so that different data areas of different boards correspond to fixed memory address spaces. It is achieved that the reception and transmission of data do not overlap during the internal bus processing, ensuring the accuracy of embedded devices in data analysis.

[0038] The data storage space mapping allocation algorithm based on the RapidIO high-speed bus is designed to divide the memory addresses of all devices according to different data types on the memory address of each terminal device to ensure that the terminal module receives and sends data, thereby reducing system latency and improving the timeliness of data analysis.

[0039] Based on the data robustness algorithm of RapidIO high-speed bus and the high computing power of the processor, the data transmitted in the internal bus is packaged into data packet headers. The data structure between the bottom driver boards consists of CRC checksum, time stamp, frame sequence number, and data length. The CRC checksum mainly ensures the correctness of the original data in the application layer of the data area; the time stamp is the corresponding time for each packet of data; the frame sequence is the label of the data transmission; the data length upper layer program provides the length of the transmitted data. This makes the data more robust during transmission.

[0040] This embodiment combines RapidIO high-speed bus technology, and implements the design concept of distributed computing, unified scheduling, and central interconnection between devices by designing inter-board RapidIO data scheduling algorithms, transmission data area division, data storage space mapping allocation, data robustness and other algorithms, which greatly improves the accuracy and low latency of data during transmission.

[0041] The inter-board RapidIO data scheduling algorithm of this embodiment specifies the corresponding board ID by the data exchange processing module and generates the corresponding topology configuration. This process sets the logic of data interaction between each terminal to ensure that each board guarantees distributed computing, unified scheduling, and central interconnection during communication.

[0042] The transmission data area division and data storage space mapping allocation algorithm of this embodiment is based on the FMQL45T900 processor and the above data interconnection architecture. When the main processing module sends data to the specified task processing module, it needs to specify the ID of the corresponding board. The underlying driver function sends the data to the specified memory address of the specified board through the RapidIO switch according to the board ID; when the main processing module receives data from each task processing module, the underlying driver function of each task board will send the corresponding data to the fixed memory address of the main processing module through the board address. It is achieved that the reception and transmission of data do not overlap during the internal bus processing process, ensuring the accuracy of the embedded device during data analysis.

[0043] In the data robustness algorithm of this embodiment, the upper layer program transmits data between boards, the driver function processes the required transmission data according to the protocol, and unpacks the data according to the protocol at the receiving terminal, so that the data is always more fault-tolerant and robust during the transmission process.

[0044] The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present disclosure should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A communication method between boards based on RapidIO high-speed bus, characterized in that: Used to realize data communication between boards based on RapidIO bus, the communication method includes: Constrain the data format of communication data between boards: The underlying inter-board data structure of communication data consists of CRC checksum, time stamp, frame sequence number and data length; CRC checksum is used to ensure the correctness of the original data of the application layer in the data area; the time stamp is a corresponding timestamp for each data packet; the frame sequence is the label of data transmission; the data length is the length of the transmitted data provided by the upper-layer program; The memory space of the communication data packet is divided: when the main processing module sends data to the designated task processing module, it specifies the ID of the corresponding board, and the bottom-level driver function sends the data to the designated memory address of the designated board through the RapidIO switch according to the board ID; when the main processing module receives data from each task processing module, the bottom-level driver function of each task board sends the corresponding data to the fixed memory address of the main processing module through the board address.

2. The method for inter-board communication based on RapidIO high-speed bus according to claim 1, characterized in that: Each of the boards can be used as a master board, and each of the boards except the master board is a data processing module.

3. The method for inter-board communication based on RapidIO high-speed bus according to claim 2, characterized in that: The boards communicate with each other based on RapidIO bus.

4. The method for inter-board communication based on RapidIO high-speed bus according to claim 3, characterized in that: The internal task data of the board comes from its own calculation, and the external data is transmitted to the master board based on the AFDX bus; the master board transmits the processed external data to each data processing module based on the data format and memory space.

5. The method for inter-board communication based on RapidIO high-speed bus according to claim 4, characterized in that: One of the data processing modules is responsible for data routing, one end of which communicates with the master board and the other end of which communicates with the remaining data processing modules.

6. The method for inter-board communication based on RapidIO high-speed bus according to claim 5, characterized in that: During data communication, a data type packet of the same size is set in each board; each of the data type packets is divided into a plurality of sub-data packets, and each of the sub-data packets adopts the data format; When the boards communicate with each other, the board at the sending end sends the sub-data packet to the corresponding sub-data packet of the corresponding data type packet in the data area of ​​the board at the opposite end; The receiving end card performs verification based on the CRC checksum, time stamp, frame number and data length of the data format, and receives normally if the verification is successful.

Citation Information

Cited By

  • DC calibration method and system, computer readable storage medium and electronic equipment

    CN120849173A

  • A DC calibration method, system, computer-readable storage medium and electronic device

    CN120849173B