Data transmission device and method thereof
Data format conversion processing is performed through the FPGA chip, which solves the problem of integrating ARINC 429 bus network and new bus network, realizes multi-network node networking, big data transmission and long-distance transmission, and reduces costs.
Patent Information
- Application Number
- CN202211370941.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-03
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2042-11-03
AI Technical Summary
The existing ARINC 429 bus network cannot meet the needs of multi-network node networking, big data transmission, long-distance transmission, low weight and low cost, and is difficult to integrate with the new bus network.
A data transmission device is designed to use FPGA chip to convert data formats to realize data transmission between the ARINC 429 bus network and the new bus network. The processing module receives target data, obtains sender information, and determines the receiver based on configuration information. and format conversion process to realize data transmission.
The data transmission between the ARINC 429 bus network and the new bus network is realized, which improves the flexibility and reliability of data transmission, meets the needs of multi-network node networking, big data transmission and long-distance transmission, and reduces costs.
Smart Images

Figure CN115941381B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of data communication technology, and more particularly to a data transmission device and method thereof. Background Art
[0002] With the development of technology, the ARINC 429 bus network is increasingly unable to meet the current needs of multi-network node networking, large data transmission, long-distance transmission, and low-weight, low-cost data transmission. However, since many devices or components still use the ARINC 429 bus network, in order to use the old ARINC 429 devices in a new system that uses the first bus network (the first bus network refers to a new bus network based on optical fiber communication), such as optical fiber Ethernet network, optical fiber RS422 network, etc., it is necessary to realize the integration of the first bus network and the ARINC 429 bus network. Summary of the invention
[0003] The embodiments of the present disclosure provide a data transmission device and method thereof, which can realize data transmission between an ARINC 429 bus network and a first bus network.
[0004] On the one hand, an embodiment of the present disclosure provides a data transmission device, including: a processing module, a Field Programmable Gate Array (FPGA) chip;
[0005] The processing module is used to receive target data from a sender and obtain sender information, perform format conversion processing on the target data processed by the FPGA chip and determine the receiver information of the target data according to the sender information and configuration information of the target data; send the target data processed by the FPGA chip to the corresponding receiver according to the receiver information; wherein one of the sender and the receiver is a node in a first bus network, and the other is a device in an ARINC429 bus network, and the configuration information includes: a data transmission correspondence relationship between a node in the first bus network and a device in the ARINC 429 bus network and a data format conversion processing rule;
[0006] The FPGA chip is used to perform transmission conversion processing on the target data from the sender and the target data processed by the processing module.
[0007] On the other hand, the present disclosure also provides a data transmission method, including:
[0008] Receive target data from the sender and obtain sender information;
[0009] Performing format conversion processing on the target data according to the configuration information and the obtained sender information, and determining the receiver information of the target data; wherein one of the sender and the receiver is a node in the first bus network, and the other is a device in the ARINC 429 bus network, and the configuration information includes: a data transmission correspondence relationship between the node in the first bus network and the device in the ARINC 429 bus network and a data format conversion processing rule;
[0010] The target data after format conversion is sent to the recipient according to the recipient information.
[0011] Compared with the related art, the data transmission device provided by the embodiment of the present disclosure realizes the transmission of data between the ARINC429 bus network and the first bus network through a processing module which receives target data, performs format conversion processing on the received target data and determines the target data recipient information, and sends the processed target data according to the determined recipient information, and an FPGA chip which realizes transmission conversion processing on the received target data and the target data to be sent.
[0012] Other features and advantages of the present disclosure will be described in the following description, and partly become apparent from the description, or be understood by implementing the present disclosure. Other advantages of the present disclosure can be realized and obtained by the schemes described in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The accompanying drawings are used to provide an understanding of the technical solution of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the technical solution of the present disclosure and do not constitute a limitation on the technical solution of the present disclosure.
[0014] Figure 1 This is a schematic diagram of the structure of a data transmission device according to an embodiment of the present disclosure;
[0015] Figure 2 It is a structural schematic diagram of another data transmission device according to an embodiment of the present disclosure;
[0016] Figure 3 A schematic diagram of a data transmission method according to an embodiment of the present disclosure;
[0017] Figure 4 This is a schematic diagram of the structure of a data transmission device according to an embodiment of the present disclosure;
[0018] Figure 5 A schematic diagram of the content of configuration information according to an embodiment of the present disclosure;
[0019] Figure 6 The present invention is a flowchart of a data transmission method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0020] The present disclosure describes multiple embodiments, but the description is exemplary rather than restrictive, and it is apparent to those skilled in the art that there may be more embodiments and implementations within the scope of the embodiments described in the present disclosure. Although many possible feature combinations are shown in the drawings and discussed in the specific embodiments, many other combinations of the disclosed features are possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with any other feature or element in any other embodiment, or may replace any other feature or element in any other embodiment.
[0021] The present disclosure includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features, and elements disclosed in the present disclosure may also be combined with any conventional features or elements to form a unique solution defined by the claims. Any features or elements of any embodiment may also be combined with features or elements from other solutions to form another unique solution defined by the claims. Therefore, it should be understood that any feature shown and / or discussed in the present disclosure may be implemented individually or in any appropriate combination. Therefore, except for the limitations made according to the attached claims and their equivalents, the embodiments are not subject to other limitations. In addition, various modifications and changes may be made within the scope of protection of the attached claims.
[0022] In addition, when describing representative embodiments, the specification may have presented the method and / or process as a specific sequence of steps. However, to the extent that the method or process does not rely on the specific order of the steps described herein, the method or process should not be limited to the steps in the specific order described. As will be appreciated by those of ordinary skill in the art, other orders of steps are also possible. Therefore, the specific order of the steps set forth in the specification should not be interpreted as a limitation to the claims. In addition, the claims for the method and / or process should not be limited to the steps performed in the order written, and those skilled in the art can easily understand that these orders can be changed and still remain within the spirit and scope of the disclosed embodiments.
[0023] The present disclosure provides a data transmission device, such as Figure 1 As shown, it includes: a processing module 11, an FPGA chip 12;
[0024] The processing module 11 is used to receive target data from a sender and obtain sender information, perform format conversion processing on the target data processed by the FPGA chip and determine the receiver information of the target data according to the sender information and configuration information of the target data; send the target data processed by the FPGA chip to the corresponding receiver according to the receiver information; wherein one of the sender and the receiver is a node in a first bus network, and the other is a device in an ARINC429 bus network, and the configuration information includes: a data transmission correspondence relationship between a node in the first bus network and a device in the ARINC 429 bus network and a data format conversion processing rule;
[0025] The FPGA chip 12 is used to perform transmission conversion processing on the target data from the sender and the target data processed by the processing module.
[0026] Among them, the ARINC 429 bus is a unidirectional data transmission bus standard. It generally adopts one-to-one or one-to-many broadcast transmission and adopts asynchronous communication working mode. Due to its non-centralized control, reliable transmission and good error isolation, its performance is stable and its anti-interference ability is strong. The devices in the ARINC 429 bus network are divided into transmitters and receivers. The transmitter is used to initiate bus broadcast messages; the receiver is generally a specific related device with a sensor, which can receive the specified message sent by the transmitter. The transmission medium of the ARINC429 bus protocol is differential shielded twisted pair, generally using a low-speed 12.5Kbps baud rate and a high-speed 100Kbps baud rate. Its rate is low, and the number of receiving nodes supported on the same bus is also relatively limited, up to 20. Each message in the ARINC 429 bus network can transmit a word of up to 32 bits, which is not friendly to continuous large-scale data transmission. In addition, the ARINC 429 bus network cannot support data transmission over long distances. The theoretical physical length of the bus is 91 meters, and the length of the short stub is 6.1 meters. In most usage scenarios, differential shielded twisted pair cables are required to ensure the stability of data transmission. Compared with the current mainstream new bus equipment transmission, it is at a disadvantage in terms of transmission distance, weight of transmission medium, cost, etc.
[0027] The first bus network is a new generation of avionics bus with completely independent intellectual property rights in China. It has the advantages of high reliability, high bandwidth, large networking scale and long communication distance. It has the following functional performance characteristics: supports high-reliability control command transmission based on time trigger and high-bandwidth task data transmission based on event trigger; supports dual redundancy and redundancy, and real-time reconstruction; can use twisted pair and new bus to form a heterogeneous redundant network; supports Fibre Channel (FC) and the first bus physical layer, and cables and connectors are all shelf products with low cost; supports message confirmation and retransmission, sub-microsecond response delay, and allows no confirmation and no retransmission; supports periodic messages, non-periodic messages and multi-level priority control; realizes in-band time synchronization, and the time synchronization error does not exceed 0.1us; communication bandwidth: 100Mbps-10Gbps; transmission distance: ≥100m, supporting long-distance communication; system security: the whole network communication error rate is less than 10-10 / hour; can be interconnected with other traditional bus networks; supports Simple Network Management Protocol (SNMP) network management.
[0028] In an exemplary embodiment, the transmission conversion process is described in detail as follows:
[0029] When receiving target data, the fixed timing (0101 identifier) in the first bus network and the ARINC 429 bus network is converted into a readable register. When sending target data, the register is converted into a fixed timing and sent to the first bus network or the ARINC 429 bus network.
[0030] In an exemplary embodiment, the processing module may be a central processing unit (CPU), a system on chip (SOC), a digital signal processing (DSP), etc.
[0031] The data transmission device provided by the embodiment of the present disclosure realizes the transmission of data between the ARINC 429 bus network and the first bus network through a processing module which receives target data, performs format conversion processing on the received target data and determines the target data recipient information, and sends the processed target data according to the determined recipient information, and an FPGA chip which realizes transmission conversion processing on the received target data and the target data to be sent.
[0032] Exemplarily, the data transmission correspondence is a data transmission correspondence between address information of a node in the first bus network and identification information of a device in the ARINC 429 bus network, which is pre-established according to data types.
[0033] In an exemplary instance, assuming that the data is an integer type, and assuming that the address information of the node that sends and receives this type of data in the first bus network is address 1, and the identification information of the device that sends and receives this type of data in the ARINC 429 bus network is identification 008; assuming that the data type is a floating point type, and assuming that the address information of the node that sends and receives this type of data in the first bus network is address 3, and the identification information of the device that sends and receives this type of data in the ARINC 429 bus network is identification 006, then a data transmission correspondence is formed between address 1 and identification 008, and between address 3 and identification 006.
[0034] In an exemplary embodiment, the data transmission device is equivalent to a node in the first bus network, and other nodes know the address information of the data transmission device. The data transmission device is equivalent to a device in the ARINC 429 bus network, and other devices know the identification information of the data transmission device.
[0035] In an exemplary embodiment, the address information of the node may specifically be an IP address+port number, and the identification information of the device may specifically be an ID number.
[0036] Exemplarily, the processing module is specifically used for:
[0037] A first hash table is established based on the data transmission correspondence in the configuration information using the address information of the nodes in the first bus network as the key value, and a second hash table is established using the identification information of the devices in the ARINC 429 bus network as the key value.
[0038] In an exemplary embodiment, the address information of the nodes in the first bus network is used as the key value, the address information of the nodes in the first bus network is hashed to obtain the value, and a first hash table is established; the identification information of the devices in the ARINC 429 bus network is used as the key value, the identification information of the devices in the ARINC 429 bus network is hashed to obtain the value, and a second hash table is established.
[0039] Exemplarily, the processing module is further used for:
[0040] When the sender of the target data is a node in the first bus network, the receiver information of the target data is determined according to the address information of the sending node of the target data, the first hash table, and the data transmission correspondence; and according to the data format conversion processing rule, the format of the target data processed by the FPGA chip is converted into a format that meets the requirements of the ARINC 429 bus network;
[0041] When the sender of the target data is a device in the ARINC 429 bus network, the receiver information of the target data is determined according to the identification information of the sending device of the target data, the second hash table, and the data transmission correspondence; and according to the data format conversion processing rules, the format of the target data processed by the FPGA chip is converted into a format that meets the requirements of the first bus network.
[0042] In an exemplary embodiment, a hash table can realize fast retrieval. Under normal circumstances, the address information of a node may be a long string of non-integer data. Therefore, when directly searching for the data transmission correspondence, it is necessary to compare a long string of non-integer data, which is relatively difficult. Therefore, the address information is used as the key value, and then the address information is hashed to obtain a value of a short number of bits, and the obtained value is an int type that is easy to compare, and the key-value forms a hash table; in specific operations, as long as the address information of the sending node is hashed to obtain a hash value, and this hash value is found in the first hash table, the address information of the node in the first bus network in the data transmission correspondence pointed to by the hash value can be obtained, thereby obtaining the identification information of the corresponding receiving device in the ARINC 429 bus network. Similarly, the identification information of the device may be a long string of non-integer data. So when directly searching for the data transmission correspondence, it is necessary to compare a long string of non-integer data, which is difficult. Therefore, the identification information is used as the key value, and then the identification information is hashed to obtain a value of a short number of bits. The obtained value is an int type that is biased towards comparison, and the key-value forms a hash table. In specific operations, as long as the identification information of the sending device is hashed to obtain a hash value, and this hash value is found in the second hash table, the identification information of the device in the ARINC 429 bus network in the data transmission correspondence pointed to by the hash value can be obtained, thereby obtaining the address information of the corresponding receiving node in the first bus network. This greatly improves the speed of obtaining the identification information of the receiving device or the address information of the receiving node.
[0043] Exemplarily, the processing module is further used to store a startup program of the FPGA chip;
[0044] The FPGA chip is also used to start up according to the startup program stored in the hardware processing.
[0045] Exemplarily, the FPGA chip integrates the first bus IP core and the 429 IP core.
[0046] Among them, the first bus IP core is used to perform transmission conversion processing on the target data from the first bus network and the target data to be sent to the first bus network after being processed by the CPU chip, and the 429IP core is used to perform transmission conversion processing on the target data from the ARINC 429 bus network and the target data to be sent to the ARINC 429 bus network after being processed by the CPU chip.
[0047] Exemplarily, the processing module is further used to call the interface provided by the FPGA chip according to the configuration information to implement the initialization of the first bus IP core and the 429 IP core.
[0048] Exemplarily, the processing module is further used to detect whether the FPGA chip has been started normally according to a preset frequency before initializing the first bus IP core and the 429 IP core, until it is detected that the FPGA has been started normally.
[0049] For example, Figure 2 As shown, the data transmission device provided in the embodiment of the present disclosure further includes: Flash 13, double data rate synchronous dynamic random access memory (Double Data Rate, DDR) 14, optical module 15, 429 connector 16;
[0050] Wherein, the Flash 13 is used to store the startup program and configuration information of the FPGA chip 12;
[0051] The optical module 15 is used to receive target data from a node in the first bus network and obtain address information of a node sending the target data, and store the address information in the DDR 14; and send the target data processed by the processing module 11 and the FPGA chip 12 to a corresponding node in the first bus network according to the address information of the receiving node stored in the DDR 14;
[0052] The 429 connector 16 is used to receive target data from a device in the ARINC 429 bus network and obtain identification information of the target data sending device, which is stored in the DDR 14; and send the target data processed by the processing module 11 and the FPGA chip 12 to the corresponding device in the ARINC 429 bus network according to the identification information of the receiving device stored in the DDR 14;
[0053] The DDR 14 is used to store the target data received by the optical module and the address information of the target data sending node obtained, as well as the target data received by the 429 connector 16 and the identification information of the target data sending device obtained, and is also used to store the target data processed by the processing module 11 and the FPGA chip 12, as well as the address information of the receiving node determined by the processing module 11 and the identification information of the receiving device.
[0054] The present disclosure also provides a data transmission method. Figure 3 As shown, the method includes:
[0055] S201, receiving target data from a sender and obtaining sender information;
[0056] S202, performing format conversion processing on the target data according to the configuration information and the obtained sender information, and determining the receiver information of the target data; wherein one of the sender and the receiver is a node in the first bus network, and the other is a device in the ARINC 429 bus network, and the configuration information includes: a data transmission correspondence relationship between the node in the first bus network and the device in the ARINC 429 bus network and a data format conversion processing rule;
[0057] S203: Send the target data after format conversion to the recipient according to the recipient information.
[0058] The data transmission method provided by the embodiment of the present disclosure realizes the transmission of data between the ARINC 429 bus network and the first bus network by receiving target data, performing format conversion processing on the received target data and determining the target data recipient information, and sending the processed target data according to the determined recipient information.
[0059] Exemplarily, the data transmission correspondence is a data transmission correspondence between address information of a node in the first bus network and identification information of a device in the ARINC 429 bus network, which is pre-established according to data types.
[0060] Exemplarily, the configuration information also includes: a first hash table established with address information of nodes in the first bus network as key value according to the data transmission correspondence, and a second hash table established with identification information of devices in the ARINC 429 bus network as key value.
[0061] Exemplarily, the performing format conversion processing on the target data according to the configuration information and the obtained sender information, and determining the receiver information of the target data, includes:
[0062] When the sender of the target data is a node in the first bus network, the receiver information of the target data is determined according to the address information of the sending node of the target data, the first hash table, and the data transmission correspondence; and the format of the target data is converted into a format that meets the requirements of the ARINC 429 bus network according to the data format conversion processing rule;
[0063] When the sender of the target data is a device in the ARINC 429 bus network, the receiver information of the target data is determined according to the identification information of the sending device of the target data, the second hash table, and the data transmission correspondence; and according to the data format conversion processing rules, the format of the target data processed by the FPGA chip is converted into a format that meets the requirements of the first bus network.
[0064] The data transmission method provided in the embodiments of the present disclosure may be applied to the data transmission device in the above embodiments.
[0065] The present disclosure also provides a data transmission device, such as Figure 4 As shown, it includes: a hardware module 31, an FPGA chip 32 and a software module 33, wherein the hardware module 31 includes: Flash 311, CPU 312, DDR 313, optical module 314, 429 connector 315; the FPGA chip integrates the first bus IP core and the 429 IP core.
[0066] Flash 311 is responsible for storing FPGA programs, data reception and forwarding control programs and configuration information; the optical module 314 and the 429 connector 315 are controlled by the IP core in the FPGA chip 32 to realize physical layer communication; the IP core in the FPGA chip 32 realizes the link layer transmission control, protocol stack, etc. of the first bus communication and the ARINC 429 bus communication (i.e., the transmission conversion processing in the above embodiment), and provides interfaces (first bus communication interface and 429 communication interface) for upper-layer software access control; after the data reception and forwarding control program running in the CPU is started, it reads the configuration information from Flash 311, and then calls the interface provided by the FPGA according to the configuration information to realize the initialization of the first bus device and the 429 remote terminal device. After completing the initialization, it enters the data reception and forwarding control loop to forward the received data.
[0067] The present invention determines the data forwarding mapping relationship and storage strategy through the configuration information stored in the Flash, and the configuration information includes the node address of the first bus network, the receiving terminal number of the 429 network (due to the characteristics of 429, it can be broadcast to all receiving devices), the mapping relationship between the port number of the first bus and the 429 device ID, the target first bus node address and port for forwarding the data received by the 429 device ID, and the data storage, reception, and processing information of the 429 device ID. Through this information, it can be determined how to perform the initialization operation at startup and how to perform the data forwarding operation after startup.
[0068] After the FPGA and CPU are powered on, they will automatically read their own program data from the corresponding Flash and run automatically. After startup, they can automatically complete initialization and start working automatically, without any additional operation. During operation, when data from a port of the first bus is received, the corresponding 429 device ID is determined according to the configuration information, and the received data is stored according to the data storage strategy of the 429 device ID. Similarly, after receiving data at a sub-address under a terminal address of 429, the data can be forwarded to a specified port under a specified node in the first bus network according to the mapping relationship in the configuration information.
[0069] After the device is started, the FPGA chip reads the FPGA program from the corresponding Flash and runs it. The FPGA program uses a mature IP core to implement the first bus communication control and 429 remote terminal communication control. FPGA provides a specific interactive interface to interact with the software. For 429, data interaction can be carried out by register reading and writing. For the first bus communication, due to the large amount of data, DMA is generally used to achieve data transmission.
[0070] When the FPGA chip starts, the CPU also starts working. After the CPU starts, it first reads the data receiving and forwarding control program from the Flash that stores the software and configuration information and controls the program to start running. After the data receiving and forwarding control program starts, it first reads the configuration information through the Flash and creates records and indexes in the memory. The data content and data relationship of the configuration information are as follows: Figure 5 shown.
[0071] After the FPGA program and data receiving and forwarding control program are started, follow the reference Figure 6 The key processes in the work are:
[0072] S401, FPGA program and data receiving and forwarding control program software (hereinafter referred to as software) have been read and loaded from Flash;
[0073] S402, the software reads configuration information from the Flash, and the configuration information records Figure 2After reading the configuration information, the first bus port is used as the key code to establish the first bus hash table, so that the corresponding 429 information can be quickly determined according to the received first bus data; similarly, the remote terminal address and sub-address of 429 are used as the key code to establish the 429 hash table, so that the data forwarding target can be quickly determined according to the received 429 data;
[0074] S403, before the software calls the FPGA interface, it is necessary to confirm whether the FPGA has been started normally. No operation is allowed before the FPGA is started normally, otherwise it will cause invalid operations or even chaos in the operation of the entire device. Here, a common inspection method can be used to determine whether the FPGA program has been started, such as reading and judging the level of the GPIO pin or reading and writing specific registers to compare and judge the register readback value;
[0075] S404, if the FPGA program starts slowly, the software needs to check again after a period of time until it is determined that the FPGA program is working properly;
[0076] S405, the software traverses the first bus hash table and the 429 hash table, and calls the interface of the FPGA program according to the records in the table to implement the initialization of the first bus IP core and the 429 terminal device IP core;
[0077] S406, after completing the initialization work of the bottom layer of the FPGA program, the first bus data and the data of each sub-address in 429 can be normally sent and received, and the program enters the loop checking and forwarding work stage; the program first checks whether the first bus has received data, if so, it queries the first bus hash table to obtain information and completes the data forwarding work according to the information, if not, it directly jumps to S410 to check whether 429 has received data;
[0078] S407, if data is received in the first bus, searching the first bus hash table according to the first bus port at which the data is received as a key code;
[0079] S408, if there is a corresponding record in the first bus hash table, then the received first bus data can be filled into the data sending buffer of the specified sub-address of the specified remote terminal in 429 according to the information in the record; if there is no corresponding record in the first bus hash table, the currently received first bus data is considered to be invalid data and is directly discarded;
[0080] S409, determining that the received first bus data is valid data and obtaining the record information corresponding to the data, then writing the received first bus data into the data cache at sub-address 429 according to the data storage strategy of the record information;
[0081] S410, after completing the reception check and forwarding of the first bus data, start checking 429 whether new data is received, if new data is received, query 429 the hash table for the next step, if no new data is received, the program continues to execute, and determines whether to exit or continue to loop and check the first bus data again according to the running mark;
[0082] S411, if 429 data is received, the 429 hash table is searched using the device ID of the received data as the Key code;
[0083] S412, if no record is found in the 429 hash table, the currently received 429 data is considered invalid data and is directly discarded; if a record is found, further actions are performed according to the record information;
[0084] S413, if a record is found in the 429 hash table, the received 429 data is sent to the target first bus node and port in the record;
[0085] S414, after completing the reception check and forwarding of the first bus data and 429 data in this round, it is determined whether the software running flag is true. If it is true, the loop continues, and returns to S406 to start checking again. If it is false, the program is exited;
[0086] S415: If there is no need to continue the data forwarding work, the program exits and the corresponding resources are released.
[0087] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0088] The memory may include a read-only memory and a random access memory, and provides instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.
[0089] In the implementation process, the processing performed by the terminal device can be completed by the hardware integrated logic circuit in the processor or the instructions in the form of software. That is, the steps of the method disclosed in the embodiment of the present disclosure can be embodied as being executed by a hardware processor, or being executed by a combination of hardware and software modules in the processor. The software module can be located in a storage medium such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it is not described in detail here.
[0090] The present application describes multiple embodiments, but the description is exemplary rather than restrictive, and it is obvious to those skilled in the art that there may be more embodiments and implementations within the scope of the embodiments described in the present application. Although many possible feature combinations are shown in the drawings and discussed in the specific embodiments, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with any other feature or element in any other embodiment, or may replace any other feature or element in any other embodiment.
[0091] The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed in the present application may also be combined with any conventional features or elements to form a unique invention scheme defined by the claims. Any features or elements of any embodiment may also be combined with features or elements from other invention schemes to form another unique invention scheme defined by the claims. Therefore, it should be understood that any feature shown and / or discussed in the present application may be implemented individually or in any appropriate combination. Therefore, except for the limitations made according to the attached claims and their equivalents, the embodiments are not subject to other restrictions. In addition, various modifications and changes may be made within the scope of protection of the attached claims.
[0092] In addition, when describing representative embodiments, the specification may have presented the method and / or process as a specific sequence of steps. However, to the extent that the method or process does not rely on the specific order of the steps described herein, the method or process should not be limited to the steps of the specific order described. As will be understood by those of ordinary skill in the art, other sequences of steps are also possible. Therefore, the specific sequence of the steps set forth in the specification should not be interpreted as a limitation to the claims. In addition, the claims for the method and / or process should not be limited to the steps of performing them in the order written, and those skilled in the art can easily understand that these sequences can be changed and still remain within the spirit and scope of the embodiments of the present application.
Claims
1. A data transmission device, characterized in that: include: Processing module, field programmable gate array FPGA chip; The processing module is used to receive target data from a sender and obtain sender information, perform format conversion processing on the target data processed by the FPGA chip and determine the receiver information of the target data according to the sender information and configuration information of the target data; send the target data processed by the FPGA chip to the corresponding receiver according to the receiver information; wherein one of the sender and the receiver is a node in a first bus network, and the other is a device in an ARINC 429 bus network, and the configuration information includes: a data transmission correspondence relationship between a node in the first bus network and a device in the ARINC 429 bus network and a data format conversion processing rule; The FPGA chip is used to perform transmission conversion processing on the target data from the sender and the target data processed by the processing module; The FPGA chip is integrated with a first bus IP core and a 429 IP core, Among them, the first bus IP core is used to perform transmission conversion processing on the target data from the first bus network and the target data to be sent to the first bus network after being processed by the CPU chip, and the 429 IP core is used to perform transmission conversion processing on the target data from the ARINC 429 bus network and the target data to be sent to the ARINC 429 bus network after being processed by the CPU chip.
2. The device according to claim 1, characterized in that The data transmission correspondence relationship is a data transmission correspondence relationship between address information of a node in the first bus network and identification information of a device in the ARINC 429 bus network, which is pre-established according to data types.
3. The device according to claim 2, characterized in that The processing module is specifically used for: A first hash table is established based on the data transmission correspondence in the configuration information using the address information of the nodes in the first bus network as the key value, and a second hash table is established using the identification information of the devices in the ARINC 429 bus network as the key value.
4. The device according to claim 3, characterized in that The processing module is also specifically used for: When the sender of the target data is a node in the first bus network, the receiver information of the target data is determined according to the address information of the sending node of the target data, the first hash table, and the data transmission correspondence; and according to the data format conversion processing rule, the format of the target data processed by the FPGA chip is converted into a format that meets the requirements of the ARINC 429 bus network; When the sender of the target data is a device in the ARINC 429 bus network, the receiver information of the target data is determined according to the identification information of the sending device of the target data, the second hash table, and the data transmission correspondence; and according to the data format conversion processing rules, the format of the target data processed by the FPGA chip is converted into a format that meets the requirements of the first bus network.
5. The device according to claim 2, characterized in that The processing module is also used to store the startup program of the FPGA chip; The FPGA chip is also used to start up according to the startup program stored in the hardware processing.
6. The device according to claim 1, characterized in that The processing module is further used to call the interface provided by the FPGA chip according to the configuration information to implement the initialization of the first bus IP core and the 429 IP core.
7. The device according to claim 6, characterized in that The processing module is further used to detect whether the FPGA chip has been normally started according to a preset frequency before initializing the first bus IP core and the 429 IP core, until it is detected that the FPGA has been normally started.
8. The device according to claim 5, characterized in that Also includes: Cache Flash, double rate synchronous dynamic random access memory DDR, optical module, 429 connector; Wherein, the Flash is used to store the startup program and configuration information of the FPGA chip; The optical module is used to receive target data from a node in the first bus network and obtain address information of a node sending the target data, and store the address information in the DDR; and send the target data processed by the processing module and the FPGA chip to a corresponding node in the first bus network according to the address information of the receiving node stored in the DDR; The 429 connector is used to receive target data from a device in an ARINC 429 bus network and obtain identification information of a device sending the target data, which is stored in the DDR; and send the target data processed by the processing module and the FPGA chip to a corresponding device in the ARINC 429 bus network according to the identification information of the receiving device stored in the DDR; The DDR is used to store the target data received by the optical module and the address information of the target data sending node obtained, as well as the target data received by the 429 connector and the identification information of the target data sending device obtained. It is also used to store the target data processed by the processing module and the FPGA chip, as well as the address information of the receiving node determined by the processing module and the identification information of the receiving device.
9. A data transmission method, characterized in that: The method comprises: Receive target data from the sender and obtain sender information; Performing format conversion processing on the target data according to the configuration information and the obtained sender information, and determining the receiver information of the target data; wherein one of the sender and the receiver is a node in a first bus network, and the other is a device in an ARINC 429 bus network, and the configuration information includes: a data transmission correspondence relationship between the node in the first bus network and the device in the ARINC 429 bus network and a data format conversion processing rule; The target data after format conversion is sent to the recipient according to the recipient information.
10. The method according to claim 9, characterized in that The data transmission correspondence relationship is a data transmission correspondence relationship between address information of a node in the first bus network and identification information of a device in the ARINC 429 bus network, which is pre-established according to data types.
11. The method according to claim 10, characterized in that The configuration information also includes: a first hash table established with the address information of the nodes in the first bus network as the key value according to the data transmission correspondence, and a second hash table established with the identification information of the devices in the ARINC 429 bus network as the key value.
12. The method according to claim 11, characterized in that The performing format conversion processing on the target data according to the configuration information and the obtained sender information, and determining the receiver information of the target data, includes: When the sender of the target data is a node in the first bus network, the receiver information of the target data is determined according to the address information of the sending node of the target data, the first hash table, and the data transmission correspondence; and the format of the target data is converted into a format that meets the requirements of the ARINC 429 bus network according to the data format conversion processing rule; When the sender of the target data is a device in the ARINC 429 bus network, the receiver information of the target data is determined according to the identification information of the sending device of the target data, the second hash table, and the data transmission correspondence; and according to the data format conversion processing rules, the format of the target data processed by the FPGA chip is converted into a format that meets the requirements of the first bus network.
