Dual-bus redundant chip of AUTBUS and data transmission method

By using chips in the AUTBUS bus to achieve dual-bus redundant transmission and selecting a path with good transmission quality based on CRC verification information, the problem of CRC verification dependence software in traditional buses is solved, and the reliability and real-timeness of data transmission are improved.

CN119814491APending Publication Date: 2025-04-11BEIJING NEURON NETWORK TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411872316.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-18
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

When traditional industrial buses such as CAN and 485 realize dual bus redundant backup, CRC verification can only be performed at the software level, which increases the overhead of the MCU and reduces real-time performance. In addition, the AUTBUS bus has not yet implemented dual bus redundant backup.

Method used

A chip realizes redundant data transmission between the host computer and the AUTBUS dual bus, and uses the CRC verification information of AUTBUS itself to select a path with better transmission quality in the dual bus to obtain the received information of the AUTBUS bus application layer.

Benefits of technology

It improves the reliability and real-timeness of data transmission, and improves the real-timeness of data transmission through hardware circuits, reducing the overhead of MCU.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119814491A_ABST
    Figure CN119814491A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a dual-bus redundant chip of an AUTBUS and a data transmission method, the chip comprises an interface module, two AUTBUS modules and a selection module, and each AUTBUS module is connected with a path of AUTBUS; in the data receiving direction of the upper computer, each AUTBUS module is used for receiving second receiving data based on an AUTBUS protocol from the AUTBUS connected with the AUTBUS module and analyzing third receiving data comprising CRC verification information; the selection module is used for obtaining receiving information by utilizing two paths of third receiving data according to the CRC information; and the interface module is used for sending first receiving data of the receiving information based on an interface protocol with an upper computer to the upper computer. According to the technical scheme, data redundancy transmission between the upper computer and the double buses of the AUTBUS is achieved through one chip, one channel with the good transmission quality in the double buses of the AUTBUS is selected for data transmission according to the CRC verification information of the AUTBUS, and the reliability and real-time performance of data transmission are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of industrial control and communication technology, and in particular to an AUTBUS dual-bus redundant chip and a data transmission method. Background Art

[0002] In industrial field applications, due to the complex field environment, bus communications in high-reliability fields generally use dual buses for redundant backup. When one bus is disturbed and cannot communicate normally, the other bus can still communicate normally.

[0003] AUTBUS is a new industrial bus, and there is no example of implementing dual-bus redundant backup.

[0004] In traditional industrial buses, CAN buses or 485 buses generally use two bus protocol modules encapsulated in one chip to achieve bus redundancy. For example, two 485 protocol PHY modules are encapsulated together. The TX (transmitter) of the two PHYs are connected to the MCU's transmit port at the same time, and the same data is transmitted at the same time. The RX (receiver) of the two PHY modules are connected to different receive ports of the MCU. The host computer performs CRC check on the received information, and thus selects the bus without CRC check error.

[0005] Since traditional industrial buses, such as CAN and 485, are relatively simple, CRC verification can only be performed at the software level, which increases the MCU overhead and reduces real-time performance. Summary of the invention

[0006] In view of this, the embodiment of the present application provides an AUTBUS dual-bus redundant chip and a data transmission method. The technical solution of the embodiment of the present application realizes redundant data transmission between a host computer and the AUTBUS dual bus through a chip, and uses the CRC check information of the AUTBUS itself to select the dual bus of the AUTBUS with better transmission quality to obtain the receiving information of the AUTBUS bus application layer, which not only improves the reliability of data transmission, but also improves the real-time performance of data transmission through the chip hardware circuit implementation.

[0007] In a first aspect, an embodiment of the present application provides an AUTBUS dual-bus redundant chip for realizing data interaction between a host computer and the AUTBUS dual bus, comprising: 1 interface module, 2 AUTBUS modules and 1 selection module, each AUTBUS module being connected to one AUTBUS bus; in the direction in which the host computer receives data, each AUTBUS module is used to receive second received data based on the AUTBUS bus protocol from the AUTBUS bus to which it is connected, and parse out third received data including CRC check information; the selection module is used to select a third received data without CRC check error according to the CRC check information, and obtain the received information of the AUTBUS bus application layer therefrom; the interface module is used to convert the received information into first received data based on the interface protocol between the host computer and send it to the host computer.

[0008] From the above, the CRC check information of AUTBUS itself is used to select the one with better transmission quality in the dual bus of AUTBUS to obtain the receiving information of the application layer of AUTBUS bus, and a chip is used to realize redundant data transmission between a host computer and the dual bus of AUTBUS, which not only improves the reliability of data transmission, but also improves the real-time performance of data transmission through the chip hardware circuit.

[0009] In a possible implementation of the first aspect, in the direction in which the host computer sends data, the interface module is used to receive first sending data based on the interface protocol from the host computer and extract sending information therefrom; each AUTBUS module is used to generate second sending data based on the sending information and send it through the AUTBUS bus to which the AUTBUS module is connected.

[0010] As described above, each AUTBUS module sends the transmission information obtained by the interface module outward through the dual redundant AUTBUS bus, thereby realizing reliable data transmission.

[0011] In a possible implementation of the first aspect, each path of third received data is data of the link layer of the AUTBUS bus, and the CRC check information is the CRC check bit of the data frame of the link layer; the selection module is specifically used to select a path of third received data without CRC errors from the two paths of third received data according to the CRC check bit of the data frame, and parse the received information therefrom.

[0012] From the above, each third received data is the data of the link layer of the AUTBUS bus and the CRC check information is the CRC check bit of the data frame of the link layer, so as to select the third received data without CRC error from the third received data received by the two AUTBUS modules according to the CRC check bit in the data frame of the link layer of the AUTBUS bus, that is, from the two AUTBUS buses, with each received information of the application layer as the granularity, select the data on the AUTBUS bus with higher transmission quality, so as to improve the accuracy of data transmission, and it is suitable for a variety of scenarios, regardless of whether the working mode and communication resources of the AUTBUS module are the same, and regardless of whether the link layer works in the confirmation mode.

[0013] In a possible implementation manner of the first aspect, the two AUTBUS modules have the same control mode and working mode, and the allocated communication resources are the same; and the data frames mapping the same sending information have the same sequence in the two third received data.

[0014] From the above, the control mode, working mode and allocated communication resources of the two AUTBUS modules are the same, and the two AUTBUS modules work completely synchronously, which is convenient for comparing the communication quality of the two AUTBUS buses, and convenient for selecting the module to conveniently realize the alignment of the two third receiving data at the link layer of AUTBUS, and select the data without CRC error from the two third receiving data aligned on the data frame of the link layer.

[0015] In a possible implementation of the first aspect, when the two paths of third received data both have CRC check errors at the link layer, and the sequence numbers of the data frames of the two paths of third received data that have CRC check errors are different (that is, the data frames of each sequence number pass the CRC check on at least one bus), the selection module is also specifically used to select the data frames with the same sequence number and no CRC errors from the two paths of third received data for each data frame with each sequence number, to form the reorganized third received data, and to parse the received information therefrom.

[0016] From the above, when CRC errors occur in both channels of third received data and the positions of the data frames with CRC check errors in the link layer are different, the selection module selects the link layer data frames without CRC errors from the two channels of third received data with the link layer data frames as the granularity to form the third received data without CRC errors. In this way, when the transmission quality of both channels is poor, the bus with better transmission quality is selected with the link layer data frames as the granularity, thereby further improving the reliability of data transmission.

[0017] In a possible implementation of the first aspect, when the selection module parses the received information and the link layer operates in a confirmation mode, for data frames corresponding to the received information and currently having CRC check errors on one of the AUTBUS buses (that is, those data frames that pass the CRC check on one bus but fail to pass the CRC check on another bus), the selection module is also used to send a link layer confirmation message to the corresponding AUTBUS bus through the AUTBUS module corresponding to the data frame at the link layer.

[0018] From the above, because a CRC check error occurs in the data frame at the link layer, the AUTBUS standard protocol does not return confirmation information, and the node at the other end will resend the data frame, but the data frame has been successfully received on another bus. Therefore, when parsing the received information, the link layer sends a link layer confirmation message to the AUTBUS bus to which it is connected. When the transmission quality is poor, it greatly reduces the node at the other end from repeatedly sending link layer data, and is also fully compatible with the node at the other end on the AUTBUS protocol.

[0019] In a possible implementation of the first aspect, each path of third received data includes the received information, the CRC check information is the CRC check result of the received information at the link layer, and the selection module is specifically used to select a path of third received data without CRC error according to the CRC check result, and obtain the received information therefrom.

[0020] From the above, each third received data directly includes the received information of the AUTBUS bus application layer, and each received information of the AUTBUS bus application layer is used as the granularity to compare the CRC check result (the result is passed or failed). Each AUTBUS module has the highest compatibility with the existing AUTBUS bus protocol and the implementation cost of the AUTBUS module is the lowest.

[0021] In a possible implementation manner of the first aspect, the interface protocol includes one of the following: RGMII, SPI, QSPI; and the interface module is further used to automatically identify the interface protocol.

[0022] As described above, the interface module automatically identifies multiple first protocols including RGMII, SPI, QSPI, etc., to achieve data conversion between different interface protocols and AUTBUS bus protocols.

[0023] In a second aspect, an embodiment of the present application provides a data transmission method for realizing data interaction between a host computer and an AUTBUS dual bus. When the host computer receives data, the method includes: receiving two second received data based on the AUTBUS bus protocol from the dual bus, and parsing two third received data, each third received data including CRC check information; selecting one third received data without CRC check error according to the CRC check information, and obtaining the received information of the AUTBUS bus application layer therefrom; converting the received information into first received data based on the interface protocol between the host computer and sending it to the host computer.

[0024] From the above, by utilizing the CRC check mechanism of AUTBUS itself, redundant data transmission of the dual buses of AUTBUS is realized for a host computer, which not only improves the reliability of data transmission, but also improves the real-time performance of data transmission.

[0025] In a possible implementation of the second aspect, when the host computer sends data, the method includes: receiving first sending data based on the interface protocol from the host computer, and extracting sending information therefrom; generating two second sending data according to the sending information, and sending them respectively through one bus of the dual bus.

[0026] As described above, the first data transmission information received from the host computer is sent outward through the dual-channel redundant AUTBUS bus by the chip, thereby realizing reliable data transmission.

[0027] In a possible implementation manner of the second aspect, in a possible implementation manner of the first aspect, each channel of third received data is data of a link layer of an AUTBUS bus, and the CRC check information is a CRC check bit of a data frame of the link layer; selecting a channel of third received data without a CRC check error according to the CRC check information, and obtaining the received information of the AUTBUS bus application layer therefrom, specifically includes: selecting a channel of third received data without a CRC error from the two channels of third received data according to the CRC check bit of the data frame, and parsing the received information therefrom.

[0028] From the above, each channel of third received data is the data of the link layer of the AUTBUS bus and the CRC check information is the CRC check bit of the data frame of the link layer, so as to select the third received data without CRC error from the two channels of third received data according to the CRC check bit in the data frame of the link layer of the AUTBUS bus, that is, the data on the AUTBUS bus with higher transmission quality is selected from the two channels of AUTBUS buses with each received information of the application layer as the granularity, so as to improve the accuracy of data transmission, and it is suitable for a variety of scenarios, regardless of whether the working mode and communication resources of the chip in the two channels of AUTBUS are the same, and regardless of whether the link layer works in the confirmation mode.

[0029] In a possible implementation manner of the second aspect, the two AUTBUS buses have the same control mode and working mode, and the allocated communication resources are the same; and the data frames mapping the same sending information have the same sequence in the two third received data.

[0030] From the above, the control mode, working mode and allocated communication resources of the two buses of AUTBUS are the same, and the two buses of AUTBUS work completely synchronously, which is convenient for comparing the communication quality of the two AUTBUS buses, and convenient for aligning the two third receiving data at the link layer of AUTBUS, and selecting data without CRC error from the two third receiving data aligned on the data frame of the link layer.

[0031] In a possible implementation manner of the second aspect, when the two paths of third received data both have CRC check errors at the link layer, and the serial numbers of the data frames of the two paths of third received data having CRC check errors are different (that is, the data frames of each serial number pass the CRC check on at least one bus), selecting a path of third received data without CRC check errors according to the CRC check information, and obtaining the reception information of the AUTBUS bus application layer therefrom, specifically includes: for each data frame of the serial number, selecting the data frames without CRC errors from the two paths of third received data to form reorganized third received data, and parsing the reception information therefrom.

[0032] From the above, when CRC errors occur in both channels of third received data and the positions of the data frames where CRC check errors occur at the link layer are different, by taking the data frames of the link layer as the granularity, the data frames of the link layer without CRC errors are selected from the two channels of third received data to form the third received data without CRC errors. Therefore, when the transmission quality of both channels is poor, the bus with better transmission quality is selected with the data frames of the link layer as the granularity, thereby further improving the reliability of data transmission.

[0033] In a possible implementation of the second aspect, when the received information is parsed and the link layer operates in a confirmation mode, it also includes: for data frames corresponding to the received information and currently having a CRC check error on one of the AUTBUS buses (that is, data frames that pass the CRC check on one bus but fail to pass the CRC check on another bus), the link layer sends a link layer confirmation message to the AUTBUS bus corresponding to the data frame.

[0034] From the above, because a CRC check error occurs in the data frame at the link layer, the AUTBUS standard protocol does not return confirmation information, and the node at the other end will resend the data frame, but the data frame has been successfully received on another bus. Therefore, when parsing the received information, the link layer sends a link layer confirmation message to the AUTBUS bus to which it is connected. When the transmission quality is poor, it greatly reduces the node at the other end from repeatedly sending link layer data, and is also fully compatible with the node at the other end on the AUTBUS protocol.

[0035] In a possible implementation manner of the second aspect, each channel of third received data includes the received information, the CRC check information is the CRC check result of the received information at the link layer, and selecting a channel of third received data without a CRC check error according to the CRC check information, and obtaining the received information of the AUTBUS bus application layer therefrom, specifically includes: selecting a channel of third received data without a CRC error according to the CRC check result, and obtaining the received information therefrom.

[0036] As described above, each third received data path directly includes the received information of the application layer, and the CRC check result (the result is passed or failed) is compared with each received information of the application layer as the granularity, which has the highest compatibility with the existing AUTBUS bus protocol and the lowest implementation cost.

[0037] In a possible implementation manner of the second aspect, the interface protocol includes one of the following: RGMII, SPI, QSPI; the method further includes: the chip automatically identifying the interface protocol.

[0038] From the above, the chip automatically identifies multiple first protocols including RGMII, SPI, QSPI, etc., to achieve data conversion between different interface protocols and AUTBUS bus protocol. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 This is a schematic diagram of the structure of a first embodiment of an AUTBUS dual-bus redundant chip of the present application;

[0040] Figure 2 This is a schematic diagram of the signal flow of each module in the first embodiment of an AUTBUS dual-bus redundant chip of the present application;

[0041] Figure 3 This is a structural diagram of the second embodiment of an AUTBUS dual-bus redundant chip of the present application;

[0042] Figure 4 This is a schematic diagram of the signal flow of each module in a second embodiment of an AUTBUS dual-bus redundant chip of the present application;

[0043] Figure 5 A flowchart of a data transmission method embodiment of the present application. DETAILED DESCRIPTION

[0044] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0045] In the following description, the terms "first\second\third, etc." or module A, module B, module C, etc. are only used to distinguish similar objects, or to distinguish different embodiments, and do not represent a specific ordering of the objects. It can be understood that the specific order or sequence can be interchanged where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0046] In the following description, the numbers representing the steps, such as S110, S120, etc., do not necessarily mean that the steps must be executed in this manner. If permitted, the order of the previous and next steps can be interchanged, or they can be executed simultaneously.

[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0048] The embodiment of the present application provides a dual-bus redundant chip of AUTBUS for realizing data interaction between a host computer and a dual-bus of AUTBUS, including: 1 interface module, 2 AUTBUS modules and 1 selection module, each AUTBUS module is connected to one AUTBUS bus, and each module is implemented by chip hardware without software; in the direction of receiving data by the host computer, each AUTBUS module is used to receive the second received data based on the AUTBUS bus protocol from the AUTBUS bus to which it is connected, and parse out the third received data including CRC check information; the selection module is used to obtain the received information of the application layer using the two third received data according to the CRC check information; the interface module is used to convert the received information into the first received data based on the interface protocol between the host computer and the host computer, and send it to the host computer. The embodiment of the present application also provides a data transmission method, which realizes data interaction between the host computer and the dual-bus of AUTBUS through the dual-bus redundant chip of AUTBUS.

[0049] The technical solution of the embodiment of the present application realizes redundant data transmission between a host computer and the AUTBUS dual bus through a chip, and uses the CRC check information of the AUTBUS itself to select a path with better transmission quality in the AUTBUS dual bus to obtain the receiving information of the application layer, which not only improves the reliability of data transmission, but also improves the real-time performance of data transmission through the chip hardware circuit implementation.

[0050] The following describes various embodiments of the present application in conjunction with the accompanying drawings. First, the AUTBUS bus and other protocol buses involved in various embodiments of the present application are introduced.

[0051] AUTBUS bus is a new type of high-speed industrial field bus with multiple nodes, high bandwidth, high real-time and long-distance transmission. The data bandwidth of AUTBUS bus reaches 100Mbps, the maximum transmission distance is 500 meters, the minimum cycle period is 8 microseconds, and the maximum number of nodes is 256.

[0052] The data of the AUTBUS bus is packaged from the application layer to the link layer, and then from the link layer to the physical layer, and transmitted through OFDM symbols at the physical layer. The data frame of the link layer includes CRC check bits. The data frame of the physical layer of the AUTBUS bus includes 64 OFDM symbols, each OFDM symbol corresponds to a time slot, and the corresponding amount of data is transmitted through several OFDM subcarriers with corresponding modulation methods.

[0053] The nodes on the AUTBUS bus include a management node CN and several terminal nodes TN. The management node CN allocates communication resources to each terminal node TN and determines the working mode of the AUTBUS bus. The communication resources allocated to each terminal node TN include a corresponding number of OFDM symbols. The working mode of the AUTBUS bus is used to determine the number of OFDM subcarriers included in each OFDM symbol and the amount of data corresponding to each subcarrier in each OFDM symbol.

[0054] RGMII (Reduced Gigabit Media Independent Interface) is ReducedGMII (Gigabit Media Independent Interface). RGMII uses a 4-bit data interface, a working clock of 125MHz, and transmits data at both the rising and falling edges.

[0055] SPI (Serial Peripheral Interface) bus is a synchronous serial interface technology, a high-speed, full-duplex, synchronous communication bus, used for MCU and various peripheral devices to communicate and exchange data in serial mode. Peripheral devices include FLASHRAM, A / D converter, network controller, MCU, etc.

[0056] QSPI is the abbreviation of Quad SPI, which means 6-wire SPI. It is an extension of the SPI bus and is more widely used than SPI.

[0057] Combine the following Figure 1 to Figure 2 A first embodiment of an AUTBUS dual-bus redundant chip is introduced.

[0058] Figure 1 The structure of a first embodiment of an AUTBUS dual-bus redundant chip is shown, including: an interface module 110, an AUTBUS module 120, an AUTBUS module 125 and a selection module 130. Each module is directly implemented by a hardware circuit without the participation of software.

[0059] The interface module 110 is externally connected to the host computer of the device where the chip of this embodiment is located based on the interface protocol with the host computer. The interface protocol includes but is not limited to one of the following protocols: RGMII, SPI, QSPI; the interface module 110 is also used to automatically identify the interface protocol, or the interface module 110 is configured with a fixed first protocol.

[0060] AUTBUS module 120 and AUTBUS module 125 are two identical AUTBUS modules that work in clock synchronization, and are respectively connected to an AUTBUS bus. The two AUTBUS buses back up each other, and other devices connected to the two AUTBUS buses are all devices where the chip of this embodiment is located.

[0061] The selection module 130 is used to obtain the reception information of the AUTBUS bus application layer (hereinafter referred to as the application layer) from the output data of the AUTBUS module 120 and the AUTBUS module 125 according to the CRC check information of the AUTBUS, and send it to the interface module 110. The selection module 130 is implemented by a hardware circuit, and the selection speed is faster than that by software.

[0062] The following is a detailed introduction to the specific uses of each module in the direction of data receiving by the host computer.

[0063] The AUTBUS module 120 and the AUTBUS module 125 respectively receive the second received data based on the AUTBUS bus protocol from the AUTBUS bus to which they are connected, and parse out two third received data, which are backed up for each other. Each third received data includes CRC check information, which is obtained according to the CRC check bit of the AUTBUS bus at the link layer. The analysis includes all analysis functions at the physical layer based on the AUTBUS bus protocol, including: RF demodulation, OFDM demodulation, deinterleaving, deconvolution and descrambling, etc.

[0064] Among them, each channel of third received data includes link layer data and the CRC check bit of the link layer, and can also directly include application layer data and the result of whether the CRC check is passed based on the CRC check bit of the link layer.

[0065] It should be emphasized that: AUTBUS module 120 and AUTBUS module 125 are not just modules that implement the AUTBUS standard protocol stack. After receiving the second received data based on the AUTBUS bus protocol, the output data is not the payload data without CRC check information extracted from the second received data according to the AUTBUS bus protocol, but includes third received data with CRC check information. The third received data includes AUTBUS link layer data in some embodiments, and includes AUTBUS application layer data in some embodiments. The CRC check information of each third received data reflects the transmission quality of the corresponding AUTBUS bus.

[0066] The selection module 130 is used to obtain the received information of the application layer from the two third received data received by the AUTBUS module 120 and the AUTBUS module 125 according to the CRC check information. The received information is obtained by parsing the third received data without CRC errors, that is, the information transmitted on the AUTBUS bus with good transmission quality is selected. The selection is based on the granularity of the received information of the application layer, and can also be based on the granularity of the data frame of the link layer.

[0067] The interface module 110 is used to convert the received information obtained from the selection module 130 into the first received data based on the interface protocol, and send it to the host computer, so that the host computer can receive redundant data through the chip of this embodiment. The received information is the information sent to the host computer by other nodes on the redundant two-way AUTBUS bus.

[0068] In one implementation of this embodiment, in the sending direction of the host computer, the purpose of each module is as follows: the interface module 110 receives the first sending data based on the interface protocol from the host computer, and extracts the sending information therefrom; the AUTBUS module 120 and the AUTBUS module 125 respectively and synchronously obtain the extracted sending information from the interface module 110, generate their own second sending data based on the AUTBUS bus protocol according to the sending information, and send it through the AUTBUS bus to which each AUTBUS module is connected, wherein the second sending data includes a CRC check bit in the data frame of the link layer, so as to facilitate the CRC check and selection of the opposite node. From the above, the sending information sent by the two AUTBUS modules is exactly the same, and they back up each other, so as to realize the redundant sending of data and improve the reliability of data sending.

[0069] In one implementation of the present embodiment, each channel of third received data is link layer data of the AUTBUS bus, and the CRC check information included therein is the CRC check bit of the data frame of the link layer; the selection module 130 is specifically used to select a channel of third received data without CRC error from the two channels of third received data according to the CRC check bit of the link layer data frame, with the received information of the application layer as the granularity, and parse the received information of the application layer therefrom, that is, from the two channels of AUTBUS buses with each received information of the application layer as the granularity, select the data on the AUTBUS bus with higher transmission quality, so as to improve the accuracy of data transmission.

[0070] In this implementation, each AUTBUS module works at the physical layer of AUTBUS, and the selection module 130 works at the link layer and protocol layer of AUTBUS. This implementation is suitable for a variety of scenarios, regardless of whether the working mode and communication resources of the AUTBUS modules are the same, and regardless of whether the link layer works in confirmation mode.

[0071] In one implementation of this embodiment, the control mode and working mode of the two AUTBUS modules are the same, the allocated communication resources are the same; the data frames mapping the same transmission information have the same sequence in the two third received data. The above method enables the two AUTBUS modules to work completely synchronously, which is convenient for comparing the communication quality of the two AUTBUS buses, and facilitates the selection module 130 to conveniently realize the alignment of the two third received data at the link layer of AUTBUS, and select the data without CRC error from the two third received data aligned on the data frame of the link layer.

[0072] In one implementation of the present embodiment, when CRC check errors occur in both paths of third received data at the link layer, and the sequence numbers of the data frames of the link layer where the CRC check errors occur in the two paths of third received data are different, that is, the data frames of each sequence number pass the CRC check on at least one bus, the selection module 130 uses the data frames of the link layer as the granularity, and for each data frame with a sequence number, selects data frames of the same sequence number of the link layer without CRC errors from the two paths of third received data to form the reorganized third received data, and parses the receiving information of the application layer therefrom.

[0073] Among them, because the transmission quality changes of the two buses are not necessarily synchronized, in this implementation mode, when the transmission quality of both buses is poor, the bus with better transmission quality is selected based on the link layer data frame granularity to obtain the third received data without CRC check errors, fully utilizing the diversity complementary gain of the two buses to further improve the reliability of data transmission.

[0074] In one implementation of this embodiment, when the selection module 130 parses the received information of the application layer and the link layer of the AUTBUS bus works in the confirmation mode, for the data frames with CRC check errors currently appearing in the data frames of the link layer on each AUTBUS bus mapped with the received information of the application layer, that is, those data frames that pass the CRC check on one bus but fail to pass the CRC check on another bus, the selection module 130 is also used to send a link layer confirmation message to the corresponding AUTBUS bus through the AUTBUS module corresponding to the data frame at the link layer. Because a CRC check error occurs in the data frame of the link layer, the AUTBUS standard protocol does not return the confirmation information, and the node at the opposite end will resend the data frame, but the data frame has been successfully received on another bus, so when the received information is parsed, the link layer sends a link layer confirmation message to the AUTBUS bus to which it is connected, and the node at the opposite end will stop resending the data frame, which greatly reduces the node at the opposite end from repeatedly sending link layer data when the transmission quality is poor, and is also fully compatible with the node at the opposite end in the AUTBUS protocol.

[0075] In one implementation of the present embodiment, each channel of third received data directly includes the received information of the application layer, and the CRC check information of each channel of third received data is the CRC check result of the corresponding received information at the link layer, and the check result is pass or fail. The selection module 120 is specifically used to select a channel of third received data without CRC error according to the CRC check result, and obtain the received information therefrom.

[0076] Among them, this implementation method compares the CRC check result with each received information of the application layer as the granularity, each AUTBUS module has the highest compatibility with the existing AUTBUS bus protocol, and the implementation cost of the AUTBUS module is the lowest.

[0077] In an implementation manner of this embodiment, a time synchronization module is further included to provide a synchronization clock for the AUTBUS module 120 and the AUTBUS module 125 to synchronize their clocks.

[0078] Figure 2 A schematic diagram of signal flow of each module of this embodiment is shown.

[0079] Among them, the interface protocol signal is the signal exchanged between the interface module 110 and the external host computer, including the first received data and the first sent data. The AUTBUS module 120 and the AUTBUS module 125 exchange AUTBUS signals with two redundant AUTBUS buses, including the second received data and the second sent data. The TX signal received by each AUTBUS module is the sending information generated by the interface module 110 at the application layer; the RX1 signal with CRC check information is the third received data sent by the AUTBUS module 120 to the selection module 130, and the RX2 signal with CRC check information is the third received data sent by the AUTBUS module 125 to the selection module 130. The RX signal is the receiving information obtained by the selection module 130 at the application layer.

[0080] In summary, an AUTBUS dual-bus redundant chip embodiment 1 utilizes the verification mechanism of AUTBUS itself to obtain the receiving information of the application layer from two redundant AUTBUS buses, and realizes the dual-bus redundant data transmission of the AUTBUS bus for a host computer, which not only improves the reliability of data transmission, but also improves the real-time performance of data transmission through hardware circuit implementation.

[0081] Combine the following Figure 3 to Figure 4 A second embodiment of an AUTBUS dual-bus redundant chip is introduced.

[0082] A second embodiment of an AUTBUS dual-bus redundant chip is a specific implementation of the first embodiment of an AUTBUS dual-bus redundant chip, inherits all the structures of the first embodiment of an AUTBUS dual-bus redundant chip, and has all the advantages of the first embodiment of an AUTBUS dual-bus redundant chip.

[0083] Figure 3 The structure of a second embodiment of an AUTBUS dual bus redundant chip is shown. Figure 1 Each AUTBUS module includes an AUTBUS data front end (AUTBUSDFE) and an AUTBUS analog front end (AUTBUS AFE). The AUTBUS data front end realizes the processing of data signals, including the baseband function and RF function of the physical layer of the AUTBUS data front end, including scrambling / de-scrambling, convolution / deconvolution, interleaving / de-interleaving, OFDM modulation / demodulation and other functions. The AUTBUS analog front end realizes the analog functions of the physical layer, including RF modulation / demodulation, RF amplification and other functions of the AUTBUS data front end.

[0084] AUTBUS module 120 includes AUTBUS data front end 121 and AUTBUS analog front end 122, and AUTBUS module 125 includes AUTBUS data front end 121 and AUTBUS analog front end 122. Each AUTBUS module has the same control mode and working mode, the same allocated communication resources, and each allocated communication resource includes a number of OFDM symbols.

[0085] The AUTBUS module 120 and the AUTBUS module 125 work at the physical layer of AUTBUS, the selection module 130 works at the link layer and the application layer of AUTBUS, and works in the confirmation mode at the link layer.

[0086] In the direction of the host computer receiving data, the specific uses of each module are as follows.

[0087] The AUTBUS module 120 and the AUTBUS module 125 respectively receive second received data based on the AUTBUS bus protocol from the AUTBUS buses to which they are connected, and parse out two paths of third received data.

[0088] The analysis includes RF demodulation of the AUTBUS analog front end and OFDM demodulation of the AUTBUS data front end, etc. Each third received data is the data of the AUTBUS link layer, each data frame has a CRC check bit of the link layer, and the received information of each application layer is organized together in the data frame of the link layer according to the frame sequence number.

[0089] The selection module 130 is used to first align the two third received data received from the AUTBUS module 120 and the AUTBUS module 125 according to the frame sequence number of the link layer data frame, retain the data frame without CRC error, obtain the application layer reception information therefrom, select the data frame without CRC error with the link layer data frame as the granularity, and obtain the application layer reception information therefrom.

[0090] The specific working process of the selection module 130 is as follows, including steps (1) to (7).

[0091] (1) Align the two received third received data according to the frame sequence number of the link layer data frame.

[0092] (2) Perform CRC check on each data frame of the two third received data, retain the data frames that pass the CRC check, and feedback the link layer confirmation message of the data frame to the corresponding AUTBUS bus through the corresponding AUTBUS module (confirming correct reception).

[0093] (3) For a received message of the application layer, determine whether all data frames mapped to the link layer of the received message pass the CRC check on one of the AUTBUS buses. If so, execute step (4); otherwise, execute step (5).

[0094] (4) The receiving information is parsed from the third receiving data corresponding to the AUTBUS bus, and for each data frame with a CRC check error in the unselected third receiving data, a confirmation message is sent to the feedback link layer of the corresponding AUTBUS bus through the corresponding AUTBUS module.

[0095] Among them, this step selects a third received data without CRC check error based on the received information of the application layer, and parses the received information therefrom.

[0096] (5) For each data frame mapped on the link layer of the received information, determine whether the frame sequence numbers of the data frames with CRC check errors between the link layers of the two AUTBUS buses are the same. If they are not the same, execute step (6); if they have the same sequence numbers, execute step (7).

[0097] (6) According to the frame sequence number, the corresponding data frames in the data frames without CRC check errors in the link layer of the two AUTBUS buses are selected to form the reconstructed third received data without errors, from which the received information is parsed, and for the data frames with CRC check errors, the link layer confirmation message is fed back to the corresponding AUTBUS bus through the corresponding AUTBUS module.

[0098] Among them, this step selects data in the third received data without CRC check error based on the data frame of the link layer, obtains the reorganized third received data, and parses the received information therefrom.

[0099] (7) Wait for the peer nodes of the two AUTBUS buses to repeatedly send data frames that have not been confirmed by the link layer, and then repeat (2) to (6) until the reception information is obtained or the maximum waiting time is reached, and feedback the reception failure to the application layer.

[0100] The interface module 110 is used to convert the received information obtained from the selection module 130 into first received data based on the interface protocol and send the first received data to the upper computer.

[0101] The interface module 110 receives and identifies the interface protocol with the host computer from the host computer, receives the first transmission data based on the interface protocol, and extracts the transmission information therefrom. The interface module 110 identifies the interface protocol with the host computer, including one of the following interface protocols: RGMII, SPI, QSPI.

[0102] In the sending direction of the host computer, the purpose of each module is as follows.

[0103] The interface module 110 receives and identifies the interface protocol with the host computer from the host computer, receives the first transmission data based on the interface protocol, and extracts the transmission information of the application layer from the first transmission data. The interface module 110 receives and identifies the interface protocol with the host computer.

[0104] The AUTBUS module 120 and the AUTBUS module 125 synchronously obtain the transmission information extracted from the interface module 110, generate respective second transmission data based on the transmission information and the AUTBUS bus protocol, and transmit the data through the AUTBUS bus to which each AUTBUS module is connected. When each AUTBUS module generates its own second transmission data, it includes scrambling, convolution and interleaving and OFDM modulation and other processing at the AUTBUS data front end, as well as RF modulation and RF amplification at the AUTBUS analog front end.

[0105] The second transmitted data includes a CRC check bit at the link layer, so that the receiving node of the second transmitted data can select an AUTBUS bus with better quality to receive the data according to the CRC check bit.

[0106] Figure 4 A schematic diagram of signal flow of each module of this embodiment is shown.

[0107] After obtaining the received information of the application layer, the selection module 130 also feeds back a link layer confirmation message to the AUTBUS module 120 and the AUTBUS module 125 .

[0108] Among them, the RX1 signal is the third received data sent by the AUTBUS module 120 to the selection module 130, including the data frame data of the link layer of the AUTBUS bus, with the link layer CRC check bit, and the RX2 signal is the third received data sent by the AUTBUS module 125 to the selection module 130, also including the data frame data of the link layer of the AUTBUS bus, with the link layer CRC check bit.

[0109] The information transmitted between the AUTBUS data front end and the AUTBUS analog front end is data of OFDM symbols on subcarriers. Figure 4 For other signals, please refer to Figure 2 explanation.

[0110] Combine the following Figure 5 An embodiment of a data transmission method of the present application is introduced.

[0111] The present application also provides an embodiment of a data transmission method, wherein the host computer uses the chip described in the first embodiment or the second embodiment of an AUTBUS dual bus redundant chip to realize redundant data transmission through the dual buses of the AUTBUS. Therefore, the embodiment of a data transmission method of a dual AUTBUS bus has all the advantages of the first embodiment of an AUTBUS dual bus redundant chip.

[0112] Figure 5 The flowchart of an embodiment of a data transmission method is shown, including steps S510 and S520, and steps S610 to S630.

[0113] When the host computer sends data to the dual-redundant AUTBUS bus, steps S510 and S520 of the embodiment of the method are executed to send redundant data.

[0114] S510: Receive first transmission data based on the interface protocol sent by the host computer, and obtain transmission information therefrom.

[0115] In one implementation of the method embodiment, the chip automatically identifies and is compatible with the interface protocol.

[0116] S520: Generate two paths of second transmission data based on the transmission information, and send them outward through the AUTBUS dual bus.

[0117] The chip has the same control mode in the dual buses of AUTBUS, and can be the control node CN of the AUTBUS bus or the terminal node TN of the AUTBUS bus. The two AUTBUS modules of the chip have the same working mode in the two AUTBUS buses and the same allocated communication resources.

[0118] When the host computer receives data from the dual-channel redundant AUTBUS bus, steps S610 to S630 of the embodiment of the method are executed to perform redundant reception of the data.

[0119] S610: Receive two channels of second received data from the AUTBUS dual bus, and obtain two channels of third received data including CRC check information.

[0120] Each channel of third received data is subjected to radio frequency demodulation, OFDM demodulation, deinterleaving, deconvolution, descrambling, etc. of the AUTBUS module of the chip.

[0121] Wherein, when the third received data is data of a data frame of the link layer, the CRC check information is the CRC check bit of the data of the link layer in the AUTBUS bus. When the third received data directly includes the received information of the application layer, the CRC check information is the CRC check result (whether passed) of the link layer in the AUTBUS bus.

[0122] S620: Obtain application layer reception information using two paths of third reception data according to the CRC check information.

[0123] Among them, when the third received data is the data of the data frame of the link layer, according to the CRC check bit of the link layer data, with the data frame of the link layer as the granularity or the received information of the application layer as the granularity, the data on the bus without CRC check errors in the two AUTBUS buses are selected to obtain the received information.

[0124] For the specific method of this step, please refer to the detailed description of the selection module 130 in the chip described in Embodiment 1 or Embodiment 2 of an AUTBUS dual-bus redundant chip.

[0125] S630: Convert the obtained application layer reception information into first reception data based on the interface protocol, and send the first reception data to the host computer.

[0126] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may also include more other equivalent embodiments without departing from the concept of the present application, all of which belong to the scope of protection of the present application.

Claims

1. An AUTBUS dual bus redundant chip, characterized in that: Used to realize data interaction between the host computer and the AUTBUS dual bus, including: 1 interface module, 2 AUTBUS modules and 1 selection module, each AUTBUS module is connected to one AUTBUS bus; In the direction in which the host computer receives data, each AUTBUS module is used to receive second received data based on the AUTBUS bus protocol from the AUTBUS bus to which it is connected, and parse out third received data including CRC check information; the selection module is used to select a third received data without CRC check error according to the CRC check information, and obtain received information therefrom; the interface module is used to convert the received information into first received data based on the interface protocol between the host computer and the host computer, and send it to the host computer.

2. The chip according to claim 1, characterized in that: In the direction of data transmission by the host computer, the interface module is used to receive first transmission data based on the interface protocol from the host computer and extract transmission information therefrom; each AUTBUS module is used to generate second transmission data according to the transmission information and send it through the AUTBUS bus connected to the AUTBUS module.

3. The chip according to claim 1, characterized in that: Each channel of third received data is data of the link layer of the AUTBUS bus, and the CRC check information is the CRC check bit of the data frame of the link layer; The selection module is specifically used to select one path of third received data without CRC error from two paths of third received data according to the CRC check bit of the data frame, and parse the received information therefrom.

4. The chip according to claim 3, characterized in that: The two AUTBUS modules have the same control mode and working mode, and the same allocated communication resources; The data frames mapping the same transmission information have the same sequence in the two paths of third received data.

5. The chip according to claim 4, characterized in that: When CRC check errors occur in both paths of the third received data at the link layer, and the sequence numbers of the data frames having CRC check errors in the two paths of the third received data are different, the selection module is further specifically used to select the data frames without CRC errors from the two paths of the third received data for the data frames with each sequence number, and compose reorganized third received data, from which the received information is parsed.

6. The chip according to claim 3 or 5, characterized in that: When the selection module parses the received information and the link layer operates in confirmation mode, for the data frame corresponding to the received information and currently having a CRC check error on one of the AUTBUS buses, the selection module is also used to send a link layer confirmation message to the corresponding AUTBUS bus through the AUTBUS module corresponding to the data frame at the link layer.

7. The chip according to claim 1, characterized in that: Each channel of third received data includes the received information, and the CRC check information is the CRC check result of the received information at the link layer; The selection module is specifically used to select a third received data without CRC error according to the CRC check result, and obtain the received information therefrom.

8. The chip according to claim 1, characterized in that: The interface protocol includes one of the following: RGMII, SPI, QSPI; The interface module is also used to automatically identify the interface protocol.

9. A data transmission method, characterized in that: Used to realize data interaction between the host computer and the AUTBUS dual bus, when the host computer receives data, the method includes: Receiving two channels of second received data based on the AUTBUS bus protocol from the dual bus, and parsing out two channels of third received data, each channel of the third received data including CRC check information; Selecting a third receiving data channel without CRC check error according to the CRC check information, and obtaining receiving information therefrom; The received information is converted into first received data based on the interface protocol between the host computer and the host computer, and sent to the host computer.

10. The method according to claim 9, characterized in that: When the host computer sends data, the method includes: receiving first transmission data based on the interface protocol from the host computer, and extracting transmission information of the application layer therefrom; Two paths of second transmission data are generated according to the transmission information and are respectively transmitted through one of the dual buses.

Citation Information

Cited By

  • High-speed serial bus hot standby redundancy system, method and equipment

    CN120821617A