Bus conversion system of secure real-time bus (SRB)
By designing a bus conversion system including control module, protocol processing module and multiple bus interfaces, the problems of high hardware equipment cost and complex maintenance when interacting with multiple fieldbuses in the prior art are solved, and efficient and secure bus data interaction is achieved.
Patent Information
- Application Number
- CN202411800202.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-12-09
AI Technical Summary
The existing bus interaction method requires the deployment of a large number of hardware devices, resulting in high equipment costs and complex maintenance, especially in scenarios where the SRB bus needs to interact with multiple fieldbuses at the same time.
A bus conversion system for secure real-time bus SRB is designed, which includes a control module, a protocol processing module, a data transceiver module collection, an RS485 bus interface, a CAN bus interface and an SRB interface. Through the collaborative work of these modules, data interaction between the SRB bus and multiple buses is realized, and protocol conversion and exception detection is performed.
There is no need to deploy a large number of hardware devices such as protocol conversion gateways, which reduces the equipment costs of bus interconnection, simplifies system maintenance, and improves the security of data interactions.
Smart Images

Figure CN119544820A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of field bus, in particular to a bus conversion system of a safety real-time bus SRB. Background Art
[0002] The Secure Real-time Bus (SRB) is a real-time safety bus based on Ethernet for Plant Automation (EPA). In industrial production scenarios, data interaction between different types of fieldbuses is usually involved. In the application scenarios of the SRB bus, there is also a need for data interaction between the SRB bus and other fieldbuses.
[0003] At present, the data interaction method of different field buses is mainly to use various hardware devices such as protocol conversion gateways or bridges to connect the field buses that need to interact, and realize data interaction between different field buses 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 field buses at the same time. Based on the existing data interaction methods, when faced with the scenario where the SRB bus is interconnected with multiple types of field buses, it is usually necessary to deploy a large number of hardware devices to achieve interconnection between the field buses, which makes the equipment cost high and the equipment maintenance process 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, has high equipment costs, and is complex to maintain.
[0006] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0007] A bus conversion system for a safety 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 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;
[0010] The control module is used 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 SRB message format, and send the second bus data to the protocol processing module; when receiving third bus data sent by the protocol processing module, determine the 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 the data transceiver module corresponding to the target bus system;
[0011] 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;
[0012] The RS485 transceiver is used for performing bus data transmission between the control module and the RS485 bus system connected to the RS485 bus interface;
[0013] The CAN transceiver is used to perform bus data transmission between the control module and a CAN bus system connected to the CAN bus interface;
[0014] 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.
[0015] The above system, optionally, 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, comprises:
[0016] The third bus data is converted into RS485 protocol to obtain fourth bus data in RS485 message format, and the fourth bus data is sent to the RS485 transceiver.
[0017] The above system, optionally, 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:
[0018] The third bus data is converted into a CAN protocol to obtain fifth bus data in a CAN message format, and the fifth bus data is sent to the CAN transceiver.
[0019] In the above system, optionally, the control module and the protocol processing module are communicatively connected via a FSMC bus.
[0020] In the above system, optionally, the protocol processing module is communicatively connected with the first port physical layer module 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 with 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 with 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 is communicatively connected with the second port physical layer module 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, each of which 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 to obtain an SRB message The module receives the second bus data in the format of the RS485 bus interface, and sends the second bus data to the protocol processing module; when receiving the third bus data sent by the protocol processing module, determines the target bus system corresponding to the third bus data, performs protocol conversion on the third bus data according to the target bus system, and sends the converted bus data to the data transceiver module corresponding to the target bus system; the protocol processing module is used to perform abnormality detection on the received bus data using the SRB bus protocol, and perform data transmission on the bus data that passes the abnormality 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. By using the system provided by the embodiment of the present invention, 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 can 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 the need to deploy 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 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 drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0035] Figure 1 A schematic diagram of the structure of a bus conversion system for a secure real-time bus SRB provided by an embodiment of the present invention;
[0036] Figure 2 Another structural schematic diagram of a bus conversion system of a secure real-time bus SRB provided by an embodiment of the present invention;
[0037] Figure 3 Another structural schematic diagram of a bus conversion system of a secure real-time bus SRB provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 creative work 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 cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.
[0040] As can be seen from the background technology, the current method of realizing data interaction between different field buses is usually to interconnect two field bus systems that need to interact with data using devices such as protocol conversion gateways and bridges, and realize data interaction between the two field bus systems through device processing. Each group of devices can usually only realize one-to-one bus system interaction. When a bus system needs to interact with multiple other types of bus systems at the same time, it is necessary to configure multiple groups of hardware devices to complete the bus interconnection, so a large number of devices need to be deployed, which makes the equipment cost high and the equipment maintenance burden heavy.
[0041] Therefore, an embodiment of the present invention provides a bus conversion system for a secure real-time bus SRB, through which data interaction between the SRB bus and multiple buses can be realized without deploying a large number of hardware devices. The system maintenance is relatively simple and it is beneficial to reduce the equipment cost of bus interconnection.
[0042] The embodiment of the present invention provides a bus conversion system for a secure real-time bus SRB. The structural diagram of the system can be shown as follows: Figure 1 As shown, the bus conversion system provided by the embodiment of the present invention includes:
[0043] A control module 101, a protocol processing module 102 and a transceiver module set, wherein the transceiver module set includes a plurality of data transceiver modules, each of which includes an RS485 transceiver 103 and a CAN transceiver 104, and the bus conversion system further includes 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 respectively connected to each of the data transceiver modules and the protocol processing module 102; the protocol processing module 102 is connected to the first port physical layer module 105; the RS485 transceiver 103 is connected to the RS485 bus interface 106, the CAN transceiver 104 is connected to the CAN bus interface 107, and the first port physical layer module 105 is connected to the SRB interface 108;
[0045] The control module 101 is used for, when receiving first bus data sent by a data transceiver module in the transceiver module set, performing protocol conversion on the first bus data, obtaining second bus data in SRB message format, and sending the second bus data to the protocol processing module 102; when receiving third bus data sent by the protocol processing module 102, 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 the data transceiver module corresponding to the target bus system;
[0046] The protocol processing module 102 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;
[0047] The RS485 transceiver 103 is used for performing bus data transmission between the RS485 bus system connected to the control module 101 and 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 used for 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 (Micro Control Unit, MCU). The conversion mechanism between the SRB bus protocol and other bus protocols can be configured in the control module, 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 at least the control module is 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 (Controller Area Network, CAN), which is a serial communication protocol bus for real-time applications. RS485 bus is a serial communication standard that uses differential signal transmission.
[0051] The bus conversion system provided by the embodiment of the present invention is deployed with a protocol processing module, which is specifically a data link layer module based on the SRB bus protocol. The module can perform abnormal detection on the bus data at the data link layer through technologies such as protocol detection, scheduling detection, and communication behavior detection. When the bus data passes the abnormal detection, the bus data is transmitted. When abnormal bus data is detected, the anti-attack isolation blocking and alarm mechanism of the data link layer can be used to block data transmission and give an alarm.
[0052] In the bus conversion system provided by the embodiment of the present invention, multiple data transceiver modules are deployed, and the type of data transceiver module can be selected according to the type of bus system that the SRB system needs to interact with. Each data transceiver module of the 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. In the bus conversion system provided by the embodiment of the present invention, bus interfaces such as RS485 bus interface and CAN bus interface are deployed. It can be understood that each bus interface corresponds to each data transceiver module one by one, such as RS485 transceiver corresponds to RS485 bus interface, and the two are connected in communication. The CAN transceiver corresponds to the CAN bus interface, and the two are connected in communication. If a data transceiver module for transmitting and receiving other types of bus data is also provided in the system, a corresponding bus interface is also provided accordingly, and the data transceiver module is connected in communication with the bus interface. It can be understood that each bus interface in the embodiment of the present invention is used to connect the corresponding bus system respectively. That is, the RS485 bus interface is used to connect the RS485 bus system, that is, the system based on the RS485 bus protocol. The CAN bus interface is used to connect the CAN bus system, that is, the system based on the CAN bus protocol.
[0053] In the bus conversion system provided by the embodiment of the present invention, a first port physical layer module and an SRB interface are deployed. The first port physical layer module can specifically be a port physical layer (PHY) chip. The main function of the PHY chip is to convert digital signals into analog signals suitable for transmission on physical media (such as cables, optical fibers or radio waves). The first port physical layer module and the SRB interface realize data transmission between the bus conversion system and the SRB system. Specifically, the first port physical layer module is respectively connected to the protocol processing module and the SRB interface for communication. 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 through the SRB interface. The SRB system is a system based on the SRB bus protocol. It can be understood that the bus conversion system provided by the embodiment of the present invention is used to realize data interaction between the SRB system and other bus systems such as RS485 bus and 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, and 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, and the first port physical layer module will send the received bus data to the SRB system through 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 through the RS485 bus interface, and the RS485 transceiver sends the bus data to the control module. The control module converts the bus data in the RS485 message format into the bus data in the 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 through the CAN bus interface, and the CAN transceiver sends the bus data to the control module. The control module converts the bus data in the CAN message format into the bus data in the 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 abnormality detection on the received bus data. If the data passes the abnormality detection, the bus data will be sent to the control module. The control module can parse the bus data, identify which bus system is the destination of the bus data transmission, 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 the 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 anomaly in the bus data, which may be a network attack, and the data transmission is blocked at this time.
[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 without 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 the need to deploy 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 the figure, in the bus conversion system provided by the 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 the data transceiver module corresponding to the target bus system, includes:
[0059] The third bus data is converted into RS485 protocol to obtain fourth bus data in RS485 message format, and the fourth bus data is sent 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 fourth bus data, and send the fourth bus data to the RS485 transceiver, which sends the fourth bus data to the RS485 bus interface, so as to send the fourth bus data to the RS485 bus system through the RS485 bus interface.
[0061] exist Figure 1On the basis of the bus conversion system shown in the figure, in the bus conversion system provided by the 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 the data transceiver module corresponding to the target bus system includes:
[0062] The third bus data is converted into a CAN protocol to obtain fifth bus data in a CAN message format, and the fifth bus data is sent 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 third bus data currently received 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 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 through 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 medium independent interface RGMII.
[0067] In the bus conversion system provided by the embodiment of the present invention, the protocol processing module is communicatively connected with 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 the figure, in the bus conversion system provided by the embodiment of the present invention, the control module is communicatively connected with the RS485 transceiver 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 through a universal asynchronous receiver / transmitter (UART), and the control module is connected to the CAN transceiver through a CAN controller.
[0071] exist Figure 1 The bus conversion system shown is based on Figure 2 As shown in the structural schematic 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 connection with the protocol processing module 102 .
[0074] The bus conversion system provided in the embodiment of the present invention is equipped with a processor, namely the so-called target processor, which can be a central processing unit (CPU) or a digital signal processor (DSP). The target processor is connected to the protocol processing module for communication. The target processor can be used to drive the control module and the protocol processing module, access the data inside the module, configure the register inside the module, etc. The target processor can also perform real-time Ethernet communication with each bus system connected to the bus conversion system.
[0075] exist Figure 2 On the basis of the bus conversion system shown, 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 the embodiment of the present invention, the target processor can be connected to the protocol processing module through a serial peripheral interface (SPI). Alternatively, the target processor can be connected to the protocol processor through an external memory interface (EMIF).
[0077] exist Figure 1Based on the bus conversion system shown in the figure, 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 with 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] In the bus conversion system provided by the embodiment of the present invention, an Ethernet interface and another port physical layer module, namely, a second port physical layer module, are also deployed. The Ethernet interface can be used to connect 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, which performs protocol conversion processing and 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, the data can be sent to the control module via the SRB interface, the first port physical layer module and the protocol processing module, and the control module performs protocol conversion on the data, and then sends the converted data to the second port physical layer module, and 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 is communicatively connected with the second port physical layer module 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 with 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 by 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 architecture 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 in the embodiment of the present invention is provided with: MCU (equivalent to the control module in the previous embodiment), SRB protocol processing module (equivalent to the protocol processing module in the previous embodiment), PHY chip connected to the SRB protocol processing module (equivalent to the first port physical layer module in the previous embodiment), PHY chip connected to the MCU (equivalent to the second port physical layer module in the previous embodiment), CPU / DSP (equivalent to the target processor in the previous embodiment), RS485 transceiver, CAN transceiver, 100M Ethernet interface, RS485 bus interface, CAN bus interface, 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 the 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. 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 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 has a built-in 32-bit RISC core MCU with an operating frequency of up to 168MHz. It can be directly used as the main processor of a stand-alone node or SRB gateway device. The MCU is connected to the SRB hard core (i.e., the SRB protocol processing module) through an internal FSMC bus with a bus rate of up to 200Mbps, which is used to realize SRB to other interface communications. The MCU natively has interfaces such as I2C, SPI, USART, CAN, and ETH, which can realize a variety of application expansions. The SRB chip can be used as a communication interface chip, connected to the CPU / DSP through the EMIF / SPI interface. When used as a slave node, it accepts the drive of the external CPU and can access the internal periodic / non-periodic data cache space and register table of the chip to realize periodic / non-periodic data communication, register configuration and other functions, and complete the real-time Ethernet communication between the CPU and external devices. The SRB chip is connected to the PHY chip through the RGMII interface, and the communication interface is connected to the SRB system.
[0087] In the 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 to the outside. The MCU is connected to the CAN transceiver via the CAN controller and provides a CAN interface. The MCU is connected to the PHY chip via the RMII interface and provides an Ethernet interface to the outside. Through the interface provided to the outside, the bus conversion system can be interconnected with the RS485 bus system and the CAN bus. The SRB system can be connected via the SRB interface, and the Ethernet can be connected via the Ethernet interface.
[0088] The bus conversion system provided by 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, and the internal bus between the MCU and the SRB protocol processing module is converted into an SRB message, which is uploaded to the SRB system through the SRB protocol processing module to complete the conversion and transmission from the RS485 message to the SRB message. When the SRB system needs to send data to the RS485 bus, the SRB protocol processing module receives the data, 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 principle of the data interaction mode 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 high-speed interface to the outside to achieve high-speed interconnection of the bus. 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 referenced to each other, and each embodiment focuses on the differences from other embodiments. The system 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 may understand and implement it without creative work.
[0091] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be 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 will not be limited to the embodiments shown herein, but rather 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 a plurality of data transceiver modules, each of which includes an RS485 transceiver and a CAN transceiver; 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 used for, when receiving first bus data sent by a data transceiver module in the transceiver module set, performing protocol conversion on the first bus data to obtain second bus data in an SRB message format, and sending 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 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 a 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, comprises: The third bus data is converted into RS485 protocol to obtain fourth bus data in RS485 message format, and the fourth bus data is sent 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: The third bus data is converted into a CAN protocol to obtain fifth bus data in a CAN message format, and the fifth bus data is sent to the CAN transceiver.
4. The bus conversion system of the secure real-time bus SRB according to claim 1, characterized in that: The control module is communicatively connected with the protocol processing module via the FSMC bus.
5. 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 with the first port physical layer module via a reduced gigabit medium independent interface RGMII.
6. 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.
7. 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 with the protocol processing module.
8. The bus conversion system of the secure real-time bus SRB according to claim 7, 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.
9. 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 with 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.
10. The bus conversion system of the secure real-time bus SRB according to claim 9, 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
Modbus protocol conversion system based on 3G (The 3rd Generation Telecommunication) Internet access
CN102546619A
Server monitoring management system and method based on secure real-time bus (SRB)
CN118764361A
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