Bus conversion system for a secure real-time bus SRB

Through the bus conversion system of the safe real-time bus SRB, data interaction between the SRB bus and various bus systems is realized, solving the problems of high equipment cost and complex maintenance, and improving the safety and maintenance convenience of the system.

CN119544820BActive Publication Date: 2025-10-10BEIJING ZHONGTIAN STAR CONTROL TECH DEV CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411800202.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-10-10
Estimated Expiration
2044-12-09

AI Technical Summary

Technical Problem

When the existing SRB bus is interconnected with multiple types of field buses, a large number of hardware devices need to be deployed, resulting in high equipment costs and complex maintenance.

Method used

A bus conversion system for a secure real-time bus (SRB) is provided, comprising a control module, a protocol processing module, a data transceiver module, an RS485 bus interface, a CAN bus interface, and an SRB interface. The control module and the protocol processing module collaborate to complete data interaction between the SRB system and other bus systems, thereby realizing protocol conversion and anomaly detection.

Benefits of technology

It reduces the equipment cost of bus interconnection, simplifies system maintenance, improves the security and reliability of data interaction, and can identify malicious attacks in a timely manner.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119544820B_ABST
    Figure CN119544820B_ABST
Patent Text Reader

Abstract

The application provides a bus conversion system of a safe real-time bus (SRB), and belongs to the technical field of field buses.The system comprises a control module, a protocol processing module, a PHY module, various bus interfaces and various data transceiving modules; when receiving bus data sent by the data transceiving module, the control module performs protocol conversion on the bus data, and sends the converted bus data to the protocol processing module; when receiving bus data sent by the protocol processing module, the control module determines a target bus system, performs protocol conversion on the bus data according to the target bus system, and sends the converted bus data to the corresponding data transceiving module; the protocol processing module performs abnormality detection on the bus data by using the SRB bus protocol, and performs data transmission on the detected bus data. By using the system provided by the application, data interaction between the SRB system and different bus systems can be realized, the equipment cost of bus interconnection can be reduced, and the convenience of system maintenance can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of field bus technology, in particular to a bus conversion system of a safe real-time bus (SRB). Background Art

[0002] The Secure Real-time Bus (SRB) is a real-time, secure bus based on Ethernet for Plant Automation (EPA). Industrial production often involves data exchange between different types of fieldbuses. In SRB applications, there is also a need for data exchange between the SRB and other fieldbuses.

[0003] At present, the data interaction method between different field buses mainly uses various hardware devices such as protocol conversion gateways or bridges to connect the field buses that need to interact. Data interaction between different field buses is achieved through data processing and transmission of each hardware device.

[0004] In the actual application scenarios of the SRB bus, the SRB bus may need to interact with different fieldbuses simultaneously. Based on the existing data interaction method, when faced with the scenario of interconnection between the SRB bus and multiple types of fieldbuses, a large number of hardware devices usually need to be deployed to achieve interconnection between the fieldbuses, which makes the equipment cost high and the equipment maintenance process more complicated. Summary of the Invention

[0005] In view of this, an embodiment of the present invention provides a bus conversion system for a secure real-time bus (SRB) to solve the problem that the existing bus interaction mode requires the deployment of a large number of hardware devices, resulting in high equipment costs and complex maintenance.

[0006] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:

[0007] A bus conversion system for a secure real-time bus (SRB), comprising:

[0008] A control module, a protocol processing module, a first port physical layer module, a transceiver module set, an RS485 bus interface, a CAN bus interface, and an SRB interface; the transceiver module set includes a plurality of data transceiver modules, each of which includes an RS485 transceiver and a CAN transceiver;

[0009] The control module is in communication connection with each of the data transceiver module, the protocol processing module; the protocol processing module is in communication connection with the first port physical layer module; the RS485 transceiver is in communication connection with the RS485 bus interface, the CAN transceiver is in communication connection with the CAN bus interface, the first port physical layer module is in communication connection with the SRB interface;

[0010] The control module is used for performing protocol conversion on the first bus data transmitted by the data transceiver module in the transceiver module set when receiving the first bus data, obtaining second bus data in the SRB message format, and transmitting the second bus data to the protocol processing module; when receiving the third bus data transmitted by the protocol processing module, determining the target bus system corresponding to the third bus data, performing protocol conversion on the third bus data according to the target bus system, and transmitting the converted bus data to the data transceiver module corresponding to the target bus system;

[0011] The protocol processing module is used for performing abnormality detection on the received bus data by using the SRB bus protocol, and performing data transmission on the bus data passing the abnormality detection;

[0012] The RS485 transceiver is used for performing bus data transmission between the control module and the RS485 bus interface connected RS485 bus system;

[0013] The CAN transceiver is used for performing bus data transmission between the control module and the CAN bus interface connected CAN bus system;

[0014] The first port physical layer module is used for performing bus data transmission between the protocol processing module and the SRB interface connected SRB system.

[0015] The above system, optionally, if the target bus system is the RS485 bus system, the protocol conversion on the third bus data according to the target bus system and the transmission of the converted bus data to the data transceiver module corresponding to the target bus system, comprising:

[0016] RS485 protocol conversion is performed on the third bus data, fourth bus data in the RS485 message format is obtained, and the fourth bus data is transmitted to the RS485 transceiver.

[0017] The above system, optionally, if the target bus system is the CAN bus system, the protocol conversion on the third bus data according to the target bus system and the transmission of the converted bus data to the data transceiver module corresponding to the target bus system, comprising:

[0018] Perform CAN protocol conversion on the third bus data to obtain fifth bus data in a CAN message format, and send the fifth bus data to the CAN transceiver.

[0019] In the above system, optionally, the control module and the protocol processing module are communicatively connected via an FSMC bus.

[0020] In the above system, optionally, the protocol processing module and the first port physical layer module are communicatively connected via a Reduced Gigabit Media Independent Interface (RGMII).

[0021] In the above system, optionally, the control module is communicatively connected with the RS485 transceiver via a universal asynchronous receiver / transmitter (UART);

[0022] The control module is communicatively connected with the CAN transceiver via a CAN controller.

[0023] The above system may optionally further include:

[0024] Target processor; the target processor is a central processing unit or a digital signal processor;

[0025] The target processor is communicatively connected to the protocol processing module.

[0026] In the above system, optionally, the target processor and the protocol processing module are communicatively connected via a serial peripheral interface SPI or an external memory interface EMIF.

[0027] The above system may optionally further include:

[0028] Second port physical layer module and Ethernet interface;

[0029] The second port physical layer module is communicatively connected to the control module;

[0030] The second port physical layer module is communicatively connected to the Ethernet interface;

[0031] The second port physical layer module is used for data transmission between the control module and the Ethernet system connected to the Ethernet interface.

[0032] In the above system, optionally, the control module and the second port physical layer module are communicatively connected via a Reduced Media Independent Interface (RMII).

[0033] A bus conversion system for a secure real-time bus (SRB) provided based on the above-mentioned embodiment of the present invention includes: a control module, a protocol processing module, a first port physical layer module, a transceiver module set, an RS485 bus interface, a CAN bus interface and an SRB interface; the transceiver module set includes multiple data transceiver modules, and each data transceiver module includes an RS485 transceiver and a CAN transceiver; the control module is communicatively connected to each data transceiver module and the protocol processing module respectively; the protocol processing module is communicatively connected to the first port physical layer module; the RS485 transceiver is communicatively connected to the RS485 bus interface, the CAN transceiver is communicatively connected to the CAN bus interface, and the first port physical layer module is communicatively connected to the SRB interface; the control module is used to perform protocol conversion on the first bus data when receiving the first bus data sent by the data transceiver module in the transceiver module set, so as to obtain an SRB message format, and sends the second bus data to the protocol processing module; when receiving the third bus data sent by the protocol processing module, determining the target bus system corresponding to the third bus data, performing protocol conversion on the third bus data according to the target bus system, and sending the converted bus data to the data transceiver module corresponding to the target bus system; the protocol processing module is used to use the SRB bus protocol to perform anomaly detection on the received bus data, and to transmit data for the bus data that passes the anomaly detection; the RS485 transceiver is used to perform bus data transmission between the control module and the RS485 bus system connected to the RS485 bus interface; the CAN transceiver is used to perform bus data transmission between the control module and the CAN bus system connected to the CAN bus interface; the first port physical layer module is used to perform bus data transmission between the protocol processing module and the SRB system. The system provided by the embodiment of the present invention can be used to connect the SRB system through the SRB interface, and to connect other bus systems through the corresponding bus interface. The control module and the protocol processing module can work together to complete the data interaction between the SRB system and the other bus systems. During the data interaction process, the control module can perform protocol conversion on the bus data to ensure the adaptation of the data protocol. The protocol processing module can perform anomaly detection on the bus data and complete the data transmission when there is no anomaly. Based on the bus conversion system provided by the embodiment of the present invention, the SRB system can simultaneously realize data interaction with other bus systems such as the RS485 bus system and the CAN bus system without deploying a large number of hardware devices such as protocol conversion gateways, which is conducive to reducing the equipment cost of bus interconnection and improving the convenience of system maintenance. Secondly, during the data interaction process, the transmitted data can be detected for anomalies, and malicious attacks can be identified in a timely manner, which is conducive to improving the security of data interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0035] Figure 1 A schematic structural diagram of a bus conversion system for a secure real-time bus (SRB) provided in an embodiment of the present invention;

[0036] Figure 2 Another structural diagram of a bus conversion system for a secure real-time bus (SRB) provided by an embodiment of the present invention;

[0037] Figure 3 Another structural diagram of a bus conversion system for a secure real-time bus (SRB) provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0038] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0039] In this application, the terms "comprises," "comprising," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.

[0040] As can be seen from the background, the current method for implementing data exchange between different fieldbuses is typically to interconnect two fieldbus systems that need to exchange data using devices such as protocol conversion gateways and bridges. Data exchange between the two fieldbus systems is then achieved through device processing. Each set of devices is typically only capable of one-to-one bus system interaction. If a bus system needs to simultaneously exchange data with multiple other bus systems, multiple sets of hardware devices are required to complete the bus interconnection. This requires the deployment of a large number of devices, resulting in high equipment costs and a heavy maintenance burden.

[0041] Therefore, the embodiment of the present application provides a bus conversion system of a secure real-time bus (SRB), through which data interaction between the SRB bus and various buses can be realized without deploying a large number of hardware devices, system maintenance is relatively simple, and the device cost of bus interconnection is reduced.

[0042] The embodiment of the present application provides a bus conversion system of a secure real-time bus (SRB), and a structure diagram of the system can be as shown in the figure. Figure 1 As shown in the figure, the bus conversion system provided by the embodiment of the present application comprises:

[0043] a control module 101, a protocol processing module 102, and a transceiver module set, the transceiver module set comprising a plurality of data transceiver modules, each data transceiver module comprising an RS485 transceiver 103 and a CAN transceiver 104, and the bus conversion system further comprising a first port physical layer module 105, an RS485 bus interface 106, a CAN bus interface 107, and an SRB interface 108;

[0044] The control module 101 is in communication connection with each data transceiver module and the protocol processing module 102; the protocol processing module 102 is in communication connection with the first port physical layer module 105; the RS485 transceiver 103 is in communication connection with the RS485 bus interface 106, the CAN transceiver 104 is in communication connection with the CAN bus interface 107, and the first port physical layer module 105 is in communication connection with the SRB interface 108;

[0045] The control module 101 is configured to, when receiving first bus data sent by a data transceiver module in the transceiver module set, perform protocol conversion on the first bus data to obtain second bus data in the SRB message format, and send the second bus data to the protocol processing module 102; when receiving third bus data sent by the protocol processing module 102, determine a target bus system corresponding to the third bus data, perform protocol conversion on the third bus data according to the target bus system, and send the converted bus data to a data transceiver module corresponding to the target bus system.

[0046] The protocol processing module 102 is configured to perform abnormality detection on received bus data by using the SRB bus protocol, and perform data transmission on the bus data passing the abnormality detection.

[0047] The RS485 transceiver 103 is configured to perform bus data transmission between the control module 101 and an RS485 bus system connected with the RS485 bus interface 106.

[0048] The CAN transceiver 104 is used to perform bus data transmission between the control module 101 and the CAN bus system connected to the CAN bus interface 107;

[0049] The first port physical layer module 105 is configured to perform bus data transmission between the protocol processing module 102 and the SRB system connected to the SRB interface 108 .

[0050] The bus conversion system provided in the embodiment of the present invention is deployed with a control module, and the control module can be specifically deployed using a micro control unit (MCU). The control module can be configured with a conversion mechanism between the SRB bus protocol and other bus protocols, such as the conversion mechanism between the SRB bus protocol and the RS485 bus protocol, the conversion mechanism between the SRB bus protocol and the CAN bus protocol, etc. The bus conversion system provided in the embodiment of the present invention can realize data interaction between the SRB bus and the RS485 bus and the CAN bus, so the control module is at least deployed with a conversion mechanism between the SRB bus protocol and these two types of bus protocols. In specific application scenarios, other bus protocol conversion mechanisms can also be deployed according to actual needs. CAN bus refers to the Controller Area Network bus (CAN), which is a serial communication protocol bus used for real-time applications. RS485 bus is a serial communication standard that uses differential signal transmission.

[0051] The bus conversion system provided by the embodiments of the present invention is equipped with a protocol processing module, specifically a data link layer module based on the SRB bus protocol. This module detects anomalies in bus data at the data link layer through techniques such as protocol detection, scheduling detection, and communication behavior detection. Only when the bus data passes the anomaly detection test will it be transmitted. When abnormal bus data is detected, the data link layer's anti-attack isolation and alarm mechanism can be used to block data transmission and generate an alarm.

[0052] The bus conversion system provided in an embodiment of the present invention is equipped with multiple data transceiver modules. The type of data transceiver module can be selected based on the type of bus system with which the SRB system needs to interact. Each data transceiver module in an embodiment of the present invention includes at least an RS485 transceiver and a CAN transceiver. The RS485 transceiver is a component for transmitting and receiving RS485 bus data, and the CAN transceiver is a component for transmitting and receiving CAN bus data. The bus conversion system provided in an embodiment of the present invention is equipped with bus interfaces such as an RS485 bus interface and a CAN bus interface. It is understood that each bus interface corresponds to each data transceiver module one-to-one, such as an RS485 transceiver corresponding to an RS485 bus interface, and the two are communicatively connected. A CAN transceiver corresponds to a CAN bus interface, and the two are communicatively connected. If the system also includes data transceiver modules for transmitting and receiving other types of bus data, corresponding bus interfaces are also provided, and the data transceiver modules are communicatively connected to the bus interfaces. It is understood that each bus interface in an embodiment of the present invention is respectively used to connect to a corresponding bus system. That is, the RS485 bus interface is used to connect to the RS485 bus system, that is, the system based on the RS485 bus protocol. The CAN bus interface is used to connect to the CAN bus system, that is, the system based on the CAN bus protocol.

[0053] The bus conversion system provided in an embodiment of the present invention comprises a first-port physical layer module and an SRB interface. The first-port physical layer module can specifically be a physical layer (PHY) chip. The primary function of the PHY chip is to convert digital signals into analog signals suitable for transmission over physical media (such as cables, optical fibers, or radio waves). The first-port physical layer module and the SRB interface enable data transmission between the bus conversion system and the SRB system. Specifically, the first-port physical layer module is communicatively connected to the protocol processing module and the SRB interface, respectively. The first-port physical layer module can send bus data from the SRB system to the protocol processing module, or send bus data from the protocol processing module to the SRB system via the SRB interface. The SRB system is based on the SRB bus protocol. It is understood that the bus conversion system provided in an embodiment of the present invention is used to enable data exchange between the SRB system and other bus systems, such as the RS485 bus and the CAN bus.

[0054] During the application of the bus conversion system provided by the embodiment of the present invention, when a bus system needs to send data to the SRB system, the bus data sent by the bus system will be transmitted to the corresponding data transceiver module via its corresponding bus interface. The data transceiver module will forward the received bus data to the control module. The control module will convert the received bus data into bus data in the SRB message format according to the corresponding protocol conversion mechanism, and send the converted bus data to the protocol processing module. The SRB message format is the bus data format based on the SRB bus protocol. The protocol processing module will perform anomaly detection on the received bus data. If the bus data passes the anomaly detection, that is, there is no anomaly, the bus data will be transmitted to the first port physical layer module. The first port physical layer module will send the received bus data to the SRB system via the SRB interface. For example, if the RS485 bus system needs to send data to the SRB system, the bus data sent by the RS485 bus system is transmitted to the RS485 transceiver via the RS485 bus interface. The RS485 transceiver sends the bus data to the control module. The control module converts the bus data in RS485 message format into bus data in SRB message format based on the conversion mechanism between the RS485 bus protocol and the SRB bus protocol, and then sends it to the protocol processing module. If the CAN bus system needs to send data to the SRB system, the bus data sent by the CAN bus system is transmitted to the CAN transceiver via the CAN bus interface. The CAN transceiver sends the bus data to the control module. The control module converts the bus data in CAN message format into bus data in SRB message format based on the conversion mechanism between the CAN bus protocol and the SRB bus protocol, and then sends it to the protocol processing module.

[0055] When the SRB system needs to send data to a certain bus system, the bus data sent by the SRB system will be transmitted to the first port physical layer module via the SRB interface. The first port physical layer module will transmit the bus data to the protocol processing module. The protocol processing module will perform an anomaly detection on the received bus data. If the data passes the anomaly detection, the bus data will be sent to the control module. The control module can parse the bus data, identify which bus system the bus data transmission is destined for, and use the destination of the data transmission as the target bus system. The control module can convert the current bus data from the SRB message format to a message format compatible with the target bus system, and then send the converted message data to the data transceiver module corresponding to the target bus system to send the bus data to the target bus system.

[0056] In the bus conversion system provided by an embodiment of the present invention, when the protocol processing module performs anomaly detection on the received bus data, if the bus data fails the anomaly detection, it is considered that there is an anomaly in the bus data, which may be a network attack, and the data transmission is blocked.

[0057] Based on the system provided by the embodiment of the present invention, data interaction between the SRB system and different bus systems such as the RS485 bus system and the CAN bus system can be realized. The SRB system can be connected through the SRB interface, and other bus systems can be connected through the corresponding bus interface. The control module and the protocol processing module cooperate to complete the data interaction between the SRB system and other bus systems. During the data interaction process, the control module can perform protocol conversion on the bus data to ensure the adaptation of the data protocol. The protocol processing module can perform abnormality detection on the bus data and complete the data transmission in the absence of abnormalities. Based on the bus conversion system provided by the embodiment of the present invention, the SRB system can simultaneously realize data interaction with other bus systems such as the RS485 bus system and the CAN bus system without deploying a large number of hardware devices such as protocol conversion gateways, which is conducive to reducing the equipment cost of bus interconnection and improving the convenience of system maintenance. Secondly, during the data interaction process, the transmitted data can be detected for abnormalities, and malicious attacks can be identified in time, which is conducive to improving the security of data interaction.

[0058] exist Figure 1 On the basis of the bus conversion system shown in FIG. 1 , in the bus conversion system provided by an embodiment of the present invention, if the target bus system is the RS485 bus system, performing protocol conversion on the third bus data according to the target bus system and sending the converted bus data to a data transceiver module corresponding to the target bus system includes:

[0059] Perform RS485 protocol conversion on the third bus data to obtain fourth bus data in RS485 message format, and send the fourth bus data to the RS485 transceiver.

[0060] In an embodiment of the present invention, when the target bus system is an RS485 bus system, that is, when the SRB system needs to send data to the RS485 bus system, the control module can perform protocol conversion on the currently received bus data (the so-called third bus data) based on the conversion mechanism between the SRB bus protocol and the RS485 bus protocol, convert the bus data in the SRB message format into bus data in the RS485 message format, use the bus data in the RS485 message format as the fourth bus data, and send the fourth bus data to the RS485 transceiver, which sends the fourth bus data to the RS485 bus interface to send the fourth bus data to the RS485 bus system through the RS485 bus interface.

[0061] exist Figure 1Based on the bus conversion system shown in FIG. 1 , in the bus conversion system provided by an embodiment of the present invention, if the target bus system is the CAN bus system, performing protocol conversion on the third bus data according to the target bus system and sending the converted bus data to a data transceiver module corresponding to the target bus system includes:

[0062] Perform CAN protocol conversion on the third bus data to obtain fifth bus data in a CAN message format, and send the fifth bus data to the CAN transceiver.

[0063] In an embodiment of the present invention, when the target bus system is a CAN bus system, that is, when the SRB system needs to send data to the CAN bus system, the control module can perform protocol conversion on the currently received third bus data based on the conversion mechanism between the SRB bus protocol and the CAN bus protocol, convert the bus data in the SRB message format into bus data in the CAN message format, use the bus data in the CAN message format as the fourth bus data, and send the fourth bus data to the CAN transceiver, which sends the fourth bus data to the CAN bus interface to send the fourth bus data to the CAN bus system through the CAN bus interface.

[0064] exist Figure 1 On the basis of the bus conversion system shown in the figure, in the bus conversion system provided by the embodiment of the present invention, the control module and the protocol processing module are communicatively connected via the FSMC bus.

[0065] In the bus conversion system provided by the embodiment of the present invention, the control module is connected to the protocol processing module via the FSMC bus. FSMC (Flexible Static Memory Controller) refers to a flexible static memory controller.

[0066] exist Figure 1 On the basis of the bus conversion system shown, in the bus conversion system provided by the embodiment of the present invention, the protocol processing module and the first port physical layer module are communicatively connected via a Reduced Gigabit Media Independent Interface RGMII.

[0067] In the bus conversion system provided by the embodiment of the present invention, the protocol processing module is communicatively connected to the first port physical layer module via a Reduced Gigabit Media Independent Interface (RGMII).

[0068] exist Figure 1On the basis of the bus conversion system shown in FIG, in the bus conversion system provided by the embodiment of the present invention, the control module and the RS485 transceiver are communicatively connected via a universal asynchronous receiver / transmitter (UART);

[0069] The control module is communicatively connected with the CAN transceiver via a CAN controller.

[0070] In the bus conversion system provided by the embodiment of the present invention, the control module is connected to the RS485 transceiver via a universal asynchronous receiver / transmitter (UART), and the control module is connected to the CAN transceiver via a CAN controller.

[0071] exist Figure 1 As shown in the bus conversion system based on Figure 2 As shown in the structural diagram, the bus conversion system provided by the embodiment of the present invention further includes:

[0072] Target processor 109; the target processor 109 is a central processing unit or a digital signal processor;

[0073] The target processor 109 is in communication with the protocol processing module 102 .

[0074] The bus conversion system provided in an embodiment of the present invention includes a processor, the so-called target processor, which can be a central processing unit (CPU) or a digital signal processor (DSP). The target processor is communicatively connected to the protocol processing module and can be used to drive the control module and protocol processing module, access data within the modules, configure registers within the modules, and perform real-time Ethernet communication with various bus systems connected to the bus conversion system.

[0075] exist Figure 2 On the basis of the bus conversion system shown in the figure, in the bus conversion system provided by the embodiment of the present invention, the target processor and the protocol processing module are communicatively connected via a serial peripheral interface SPI or an external memory interface EMIF.

[0076] In the bus conversion system provided by an embodiment of the present invention, the target processor can communicate with the protocol processing module via a serial peripheral interface (SPI). Alternatively, the target processor can communicate with the protocol processor via an external memory interface (EMIF).

[0077] exist Figure 1Based on the bus conversion system shown in FIG. 1 , the bus conversion system provided by the embodiment of the present invention further includes:

[0078] Second port physical layer module and Ethernet interface;

[0079] The second port physical layer module is communicatively connected to the control module;

[0080] The second port physical layer module is communicatively connected to the Ethernet interface;

[0081] The second port physical layer module is used for data transmission between the control module and the Ethernet system connected to the Ethernet interface.

[0082] The bus conversion system provided by the embodiment of the present invention is further deployed with an Ethernet interface and another port physical layer module, namely a second port physical layer module. The Ethernet interface can be used to connect to an ordinary Ethernet system, and the second port physical layer module is communicatively connected to the Ethernet interface. When the Ethernet system needs to transmit data to the SRB system, the second port physical layer module can receive data from the Ethernet system through the Ethernet interface and send the data to the control module. The control module performs protocol conversion processing and then sends the data to the protocol processing module to send the data to the SRB system. When the SRB system needs to transmit data to the Ethernet system, it can send the data to the control module via the SRB interface, the first port physical layer module and the protocol processing module. The control module performs protocol conversion on the data and then sends the converted data to the second port physical layer module. The second port physical layer module sends the data to the Ethernet system through the Ethernet interface. In actual application scenarios, the Ethernet system can be used to configure and manage the bus conversion system provided by the embodiment of the present invention.

[0083] On the basis of the bus conversion system provided by the above embodiment, in the bus conversion system provided by the embodiment of the present invention, the control module and the second port physical layer module are communicatively connected via a Reduced Media Independent Interface (RMII).

[0084] In the bus conversion system provided by the embodiment of the present invention, the control module is communicatively connected to the second port physical layer module via a Reduced Media Independent Interface (RMII).

[0085] In order to better illustrate the bus conversion system provided by the embodiment of the present invention, based on the systems provided in the above embodiments, in combination with actual application scenarios, the embodiment of the present invention provides another bus conversion system for a secure real-time bus SRB. The architectural diagram of the bus conversion system provided by the embodiment of the present invention can be shown as follows: Figure 3As shown. The system provided by the embodiment of the present invention is provided with: an MCU (equivalent to the control module in the above embodiment), an SRB protocol processing module (equivalent to the protocol processing module in the above embodiment), a PHY chip connected to the SRB protocol processing module (equivalent to the first port physical layer module in the above embodiment), a PHY chip connected to the MCU (equivalent to the second port physical layer module in the above embodiment), a CPU / DSP (equivalent to the target processor in the above embodiment), an RS485 transceiver, a CAN transceiver, a 100M Ethernet interface, an RS485 bus interface, a CAN bus interface, and an SRB interface. The Ethernet interface in the embodiment of the present invention is connected to the Ethernet system, the RS485 bus interface is connected to the RS485 bus system, the CAN bus interface is connected to the CAN bus system, and the SRB interface is connected to the SRB system.

[0086] The MCU and SRB protocol processing module in the embodiment of the present invention can be designed as a dedicated SRB chip, that is, a chip that integrates the MCU and SRB protocol processing module. The SRB protocol processing module detects and discovers malicious attacks from inside and outside the network through technologies such as protocol detection, scheduling detection, and communication behavior detection at the data link layer. By utilizing the anti-attack isolation blocking and alarm mechanism of the data link layer, malicious attacks from inside and outside the network are blocked and alarms are issued to achieve network security at the data link layer. EPA achieves its network security and information security at the application layer through technologies such as access authentication, user data encryption, and data object access control. The SRB protocol processing module is an SRB hard core that supports dual-link redundancy. It can implement all SRB protocol functional characteristics from the CPU interface to the physical layer interface in hardware, and has functional characteristics such as high-precision clock synchronization, deterministic communication scheduling, and redundant processing. The SRB chip features a built-in 32-bit RISC core MCU operating at up to 168MHz, making it suitable for use as the main processor in standalone nodes or SRB gateway devices. The MCU connects to the SRB hard core (i.e., the SRB protocol processing module) via an internal FSMC bus, capable of up to 200Mbps, enabling SRB-to-other-interface communication. The MCU natively supports I2C, SPI, USART, CAN, and ETH interfaces, enabling diverse application expansion. The SRB chip can function as a communication interface chip, connecting to the CPU / DSP via the EMIF / SPI interface. When operating as a slave node, it receives input from an external CPU and can access the chip's internal cyclic and acyclic data buffers and register tables, enabling cyclic and acyclic data communication, register configuration, and other functions, enabling real-time Ethernet communication between the CPU and external devices. The SRB chip connects to the PHY chip via the RGMII interface, extending the communication interface to the SRB system.

[0087] In this embodiment of the present invention, the built-in MCU is connected to the RS485 driver chip (RS485 transceiver) via UART and provides an RS485 interface. The MCU is connected to the CAN transceiver via a CAN controller and provides a CAN interface. The MCU is connected to the PHY chip via an RMII interface and provides an Ethernet interface. Through these interfaces, the bus conversion system can interconnect with the RS485 bus system and the CAN bus. Furthermore, the SRB interface allows connection to the SRB system, and the Ethernet interface allows connection to the Ethernet network.

[0088] The bus conversion system provided in the embodiment of the present invention is respectively connected to the SRB system, the RS485 bus system and the CAN bus system. In the SRB configuration system software, the nodes on the RS485 bus and the CAN bus can be viewed and the configuration is completed. When the device on the RS485 bus has data to send, the data is received by the built-in MCU and the protocol conversion is performed. The data is converted into an SRB message by the internal bus between the MCU and the SRB protocol processing module, uploaded to the SRB system through the SRB protocol processing module, and the conversion and transmission from the RS485 message to the SRB message is completed. When the SRB system needs to send data to the RS485 bus, the data is received by the SRB protocol processing module, and after the protocol conversion is performed by the MCU, it is sent to the RS485 bus through the RS485 transceiver-RS485 bus interface. The bus data interaction mode between the CAN bus system and the SRB system is the same as the data interaction mode principle between the RS485 bus system and the SRB system.

[0089] Based on the bus conversion system provided in the embodiment of the present invention, the interconnection between the SRB system and the other two field buses can be realized. Since a dedicated SRB chip is used, the MCU and the protocol processing module are integrated internally, which greatly reduces the hardware cost of interface expansion and intercommunication. Protocol conversion and data forwarding can be performed through the internal MCU. For application scenarios with high performance requirements, the SRB chip also provides a dedicated external high-speed interface to achieve high-speed interconnection of buses. The SRB protocol processing module detects and discovers malicious attacks from inside and outside the network through technologies such as protocol detection, scheduling detection, and communication behavior detection at the data link layer. The anti-attack isolation blocking and alarm mechanism of the data link layer is used to block malicious attacks from inside and outside the network and give an alarm, thereby achieving network security at the data link layer, which is conducive to improving the security of bus data interaction.

[0090] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. The systems and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. A person of ordinary skill in the art can understand and implement it without expending creative effort.

[0091] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A bus conversion system for a secure real-time bus (SRB), characterized in that: include: A control module, a protocol processing module, a first port physical layer module, a transceiver module set, an RS485 bus interface, a CAN bus interface, and an SRB interface; the transceiver module set includes multiple data transceiver modules, each of which includes an RS485 transceiver and a CAN transceiver; the control module and the protocol processing module are designed as a dedicated SRB chip; the protocol processing module detects and discovers malicious attacks from within and outside the network through protocol detection, scheduling detection, and communication behavior detection technologies at the data link layer; the protocol processing module is an SRB hard core that supports dual-link redundancy; the control module and the protocol processing module are connected via an internal FSMC bus; The control module is respectively connected to each of the data transceiver modules and the protocol processing module; the protocol processing module is connected to the first port physical layer module; the RS485 transceiver is connected to the RS485 bus interface, the CAN transceiver is connected to the CAN bus interface, and the first port physical layer module is connected to the SRB interface; The control module is configured to, upon receiving first bus data sent by a data transceiver module in the transceiver module set, perform protocol conversion on the first bus data to obtain second bus data in an SRB message format, and send the second bus data to the protocol processing module; Upon receiving the third bus data sent by the protocol processing module, determining a target bus system corresponding to the third bus data, performing protocol conversion on the third bus data according to the target bus system, and sending the converted bus data to a data transceiver module corresponding to the target bus system; The protocol processing module is used to perform anomaly detection on received bus data using the SRB bus protocol and to perform data transmission on the bus data that passes the anomaly detection; The RS485 transceiver is used for performing bus data transmission between the RS485 bus system connected to the control module and the RS485 bus interface; The CAN transceiver is used to perform bus data transmission between the control module and the CAN bus system connected to the CAN bus interface; The first port physical layer module is used to perform bus data transmission between the protocol processing module and the SRB system connected to the SRB interface.

2. The bus conversion system of the secure real-time bus (SRB) according to claim 1, characterized in that: If the target bus system is the RS485 bus system, performing protocol conversion on the third bus data according to the target bus system and sending the converted bus data to a data transceiver module corresponding to the target bus system includes: Perform RS485 protocol conversion on the third bus data to obtain fourth bus data in RS485 message format, and send the fourth bus data to the RS485 transceiver.

3. The bus conversion system of the secure real-time bus (SRB) according to claim 1, characterized in that: If the target bus system is the CAN bus system, performing protocol conversion on the third bus data according to the target bus system and sending the converted bus data to a data transceiver module corresponding to the target bus system includes: Perform CAN protocol conversion on the third bus data to obtain fifth bus data in a CAN message format, and send the fifth bus data to the CAN transceiver.

4. The bus conversion system of the secure real-time bus (SRB) according to claim 1, characterized in that: The protocol processing module is communicatively connected to the first port physical layer module via a Reduced Gigabit Media Independent Interface RGMII.

5. The bus conversion system of the secure real-time bus (SRB) according to claim 1, characterized in that: The control module is connected to the RS485 transceiver via a universal asynchronous receiver / transmitter (UART). The control module is communicatively connected with the CAN transceiver via a CAN controller.

6. The bus conversion system of the secure real-time bus (SRB) according to claim 1, characterized in that: Also includes: target processor; The target processor is a central processing unit or a digital signal processor; The target processor is communicatively connected to the protocol processing module.

7. The bus conversion system of the secure real-time bus (SRB) according to claim 6, characterized in that: The target processor is communicatively connected with the protocol processing module via a serial peripheral interface SPI or an external memory interface EMIF.

8. The bus conversion system of the secure real-time bus (SRB) according to claim 1, characterized in that: Also includes: Second port physical layer module and Ethernet interface; The second port physical layer module is communicatively connected to the control module; The second port physical layer module is communicatively connected to the Ethernet interface; The second port physical layer module is used for data transmission between the control module and the Ethernet system connected to the Ethernet interface.

9. The bus conversion system of the secure real-time bus (SRB) according to claim 8, characterized in that: The control module is communicatively connected with the second port physical layer module via a Reduced Media Independent Interface (RMII).

Citation Information

Patent Citations

  • CAN (Controller Area Network) bus and MOST (Media Oriented System Transport) bus protocol conversion system

    CN202444507U

  • Industrial field data acquisition and marginal analytical equipment

    CN207216369U