A data transmission system and method based on SRB

By supporting Parallel Redundancy Protocol (PRP) in standard Ethernet equipment and connecting the equipment to mutually redundant SRB switches, the problem of low reliability and efficiency of data transmission of standard Ethernet equipment in the SRB network is solved, achieving Efficient, reliable data communication and reduced communication overhead.

CN118337557BActive Publication Date: 2024-08-23BEIJING ZHONGTIAN STAR CONTROL TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410744665.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-08-23
Estimated Expiration
2044-06-11

AI Technical Summary

Technical Problem

In the system main network, when standard Ethernet equipment is connected to the SRB network, efficient and reliable data communication transmission cannot be achieved. The existing method requires a dedicated SRB or Ethernet gateway, resulting in low communication efficiency and high cost.

Method used

By supporting Parallel Redundancy Protocol (PRP) in standard Ethernet equipment, the equipment is connected to the mutually redundant first and second SRB switches to achieve redundant data transmission and ensure that data reaches the target reliably in the event of a single point failure in the network. equipment to reduce communication overhead.

Benefits of technology

It improves the reliability of data transmission and communication efficiency, avoids the use of dedicated gateways, reduces communication overhead, and enhances the redundancy capability of standard Ethernet equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118337557B
    Figure CN118337557B
Patent Text Reader

Abstract

This application discloses an SRB-based data transmission system and method. The system includes standard Ethernet devices, an SRB network, and SRB nodes. The SRB network includes a first SRB switch and a second SRB switch, with the first SRB switch on a first link and the second SRB switch on a second link. The SRB nodes are connected to the first and second SRB switches respectively. The standard Ethernet devices connect to the redundant first and second SRB switches via ports supporting PRP, enabling standard Ethernet devices to access the redundant SRB network. Furthermore, because PRP transmits the same data through a parallel network, at least one copy of the data can successfully reach the target device in the event of a single point of failure in the network. This solves the redundancy problem inherent in standard Ethernet devices, improves the reliability of data transmission, and eliminates the need for a dedicated gateway during data transmission, reducing communication overhead and improving communication efficiency to some extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data transmission, and in particular to a data transmission system and method based on SRB. Background Art

[0002] The Security Realtime Bus (SRB) is a communication bus designed for industrial automation systems. It can solve the problem that standard Ethernet does not have real-time and deterministic communication, and is suitable for building the main network of the system. However, SRB and standard Ethernet only have the same physical layer, and the rest of the upper layer protocols are different, so they cannot be directly interconnected.

[0003] When the system main network is constructed using the SRB network, if a large number of standard Ethernet devices are to be compatible, in one implementation method, the standard Ethernet device can be connected to the SRB switch and accessed using the SRB or Ethernet gateway built into the SRB switch. However, at this time, the standard Ethernet device does not have redundancy, resulting in low reliability of data transmission; in another implementation method, the standard Ethernet device can be connected to a dedicated SRB or Ethernet gateway, that is, the standard Ethernet message is packaged into an SRB message through protocol conversion for transmission. Although the standard Ethernet device has redundancy, the dedicated SRB or Ethernet gateway will bring greater communication overhead and higher cost, resulting in low communication efficiency. In summary, there is an urgent need for a data transmission method based on SRB to connect standard Ethernet devices to the SRB network to achieve efficient and reliable data communication transmission. Summary of the invention

[0004] The present application provides a data transmission system and method based on SRB, which can connect standard Ethernet devices to SRB, improve the reliability of data transmission, and enhance communication efficiency.

[0005] In a first aspect, the present application provides an SRB-based data transmission system, the system comprising: a standard Ethernet device, a secure real-time bus SRB network and an SRB node; the SRB network comprises a first SRB switch and a second SRB switch; the first SRB switch is in a first link, and the second SRB switch is in a second link; the SRB node is respectively connected to the first SRB switch and the second SRB switch, and the first SRB switch and the second SRB switch are redundant with each other; the standard Ethernet device is respectively connected to the first SRB switch and the second SRB switch through a port supporting a parallel redundancy protocol PRP;

[0006] The standard Ethernet device is used to send a first Ethernet message to the first SRB switch and send a second Ethernet message to the second SRB switch based on the port supporting PRP;

[0007] The first SRB switch is configured to receive the first Ethernet message, and transmit the first Ethernet message to the port supporting PRP through the first link;

[0008] The second SRB switch is used to receive the second Ethernet message, and transmit the second Ethernet message to the port supporting PRP through the second link;

[0009] The standard Ethernet device is further used to receive a target Ethernet message, where the target Ethernet message is obtained by performing redundancy arbitration on the first Ethernet message and the second Ethernet message based on a port supporting PRP.

[0010] Optionally, the standard Ethernet device includes an initial standard Ethernet device, and the initial standard Ethernet device is connected to the first SRB switch and the second SRB switch through a port supporting PRP;

[0011] The initial standard Ethernet device is specifically used for:

[0012] Convert the initial Ethernet message into a target Ethernet message conforming to the PRP format;

[0013] Copying the target Ethernet message to obtain the first Ethernet message and the second Ethernet message;

[0014] Sending the first Ethernet message to the first SRB switch through a port supporting PRP;

[0015] The second Ethernet message is sent to the second SRB switch through a port supporting PRP.

[0016] Optionally, the standard Ethernet device further includes a target standard Ethernet device, the SRB network further includes a third SRB switch and a fourth SRB switch, the third SRB switch is in the first link, the fourth SRB switch is in the second link, the SRB node is connected to the third SRB switch and the fourth SRB switch respectively, and the third SRB switch and the fourth SRB switch are redundant with each other;

[0017] The target standard Ethernet device is respectively connected to the third SRB switch and the fourth SRB switch through a port supporting PRP;

[0018] The third SRB switch is configured to receive the first Ethernet message transmitted through the first link, and send the first Ethernet message to the target standard Ethernet device;

[0019] The fourth SRB switch is configured to receive the second Ethernet message transmitted through the second link, and send the second Ethernet message to the target standard Ethernet device;

[0020] The target standard Ethernet device is used to receive the target Ethernet message sent from a port supporting PRP.

[0021] Optionally, the standard Ethernet device further includes a target standard Ethernet device;

[0022] The target standard Ethernet device is respectively connected to the first SRB switch and the second SRB switch through a port supporting PRP;

[0023] The target standard Ethernet device is used to receive the target Ethernet message sent from a port supporting PRP.

[0024] Optionally, the SRB network is a network that has undergone global clock synchronization, and the time period of the SRB network includes a periodic time period and a non-periodic time period.

[0025] The first SRB switch is specifically used for:

[0026] If the first Ethernet message is transmitted from the first link, then:

[0027] receiving the first Ethernet message, and transmitting the first Ethernet message to a port supporting PRP;

[0028] If the first Ethernet message is sent from a port that supports PRP, then:

[0029] receiving the first Ethernet message in the periodic time period, and buffering the first Ethernet message in a buffer area of ​​the first SRB switch;

[0030] The first Ethernet packet is received in the non-periodic time period, and the received first Ethernet packet is transmitted through the first link. Alternatively, the first Ethernet packet is received in the non-periodic time period, and the received first Ethernet packet and the first Ethernet packet cached in the cache area of ​​the first SRB switch are transmitted through the first link.

[0031] Optionally, the second SRB switch is specifically configured to:

[0032] If the second Ethernet message is transmitted from the second link, then:

[0033] receiving the second Ethernet message, and transmitting the second Ethernet message to the port supporting PRP;

[0034] If the second Ethernet message is sent from a port that supports PRP, then:

[0035] receiving the second Ethernet message in the periodic time period, and buffering the second Ethernet message in a buffer area of ​​the second SRB switch;

[0036] The second Ethernet packet is received in the non-periodic time period, and the received second Ethernet packet is transmitted through the second link. Alternatively, the second Ethernet packet is received in the non-periodic time period, and the received second Ethernet packet and the second Ethernet packet cached in the cache area of ​​the second SRB switch are transmitted through the second link.

[0037] Optionally, the SRB network further includes: a master clock device;

[0038] The master clock device is used to perform global clock synchronization on the SRB network according to the SRB protocol to obtain the periodic time period and the non-periodic time period.

[0039] Optionally, the PRP-supporting port is a dual-channel hardware-software interface supporting PRP, and the standard Ethernet device is connected to the first SRB switch and the second SRB switch through the dual-channel hardware-software interface supporting PRP.

[0040] In a second aspect, the present application also provides an SRB-based data transmission method, which is applied to a data transmission system, wherein the data transmission system includes a standard Ethernet device, a secure real-time bus SRB network and an SRB node, wherein the SRB network includes a first SRB switch and a second SRB switch, wherein the first SRB switch is in a first link and the second SRB switch is in a second link; the SRB nodes are respectively connected to the first SRB switch and the second SRB switch, and the first SRB switch and the second SRB switch are redundant with each other; the standard Ethernet device is respectively connected to the first SRB switch and the second SRB switch through a port supporting a parallel redundancy protocol PRP, and the method includes:

[0041] The standard Ethernet device sends a first Ethernet packet to the first SRB switch based on the port supporting PRP and sends a second Ethernet packet to the second SRB switch;

[0042] The first SRB switch transmits the first Ethernet message to the port supporting PRP through the first link;

[0043] The second SRB switch transmits the second Ethernet message to the port supporting PRP through the second link;

[0044] The standard Ethernet device receives a destination Ethernet message, where the destination Ethernet message is obtained by performing redundancy arbitration on the first Ethernet message and the second Ethernet message based on a port supporting PRP.

[0045] Optionally, the standard Ethernet device includes an initial standard Ethernet device, the initial standard Ethernet device is connected to the first SRB switch and the second SRB switch through a port supporting PRP, and the standard Ethernet device sends a first Ethernet message to the first SRB switch based on the port supporting PRP, including:

[0046] The initial standard Ethernet device converts the initial Ethernet message into a target Ethernet message conforming to the PRP format;

[0047] The initial standard Ethernet device copies the target Ethernet message to obtain the first Ethernet message;

[0048] The initial standard Ethernet device sends the first Ethernet message to the first SRB switch through a port supporting PRP.

[0049] Optionally, the standard Ethernet device further includes a target standard Ethernet device, the SRB network further includes a third SRB switch and a fourth SRB switch, the third SRB switch is in the first link, the fourth SRB switch is in the second link, the SRB nodes are connected to the third SRB switch and the fourth SRB switch respectively, and the third SRB switch and the fourth SRB switch are redundant with each other;

[0050] The target standard Ethernet device is respectively connected to the third SRB switch and the fourth SRB switch through a port supporting PRP;

[0051] The third SRB switch receives the first Ethernet message transmitted through the first link, and sends the first Ethernet message to the target standard Ethernet device;

[0052] The fourth SRB switch receives the second Ethernet message transmitted through the second link, and sends the second Ethernet message to the target standard Ethernet device;

[0053] The receiving target Ethernet message receives the target Ethernet message sent from a port supporting PRP.

[0054] Optionally, the standard Ethernet device further includes a target standard Ethernet device;

[0055] The target standard Ethernet device is respectively connected to the first SRB switch and the second SRB switch through a port supporting PRP;

[0056] The target standard Ethernet device receives the target Ethernet message sent from a port supporting PRP.

[0057] Optionally, the SRB network is a network that has undergone global clock synchronization, and the time period of the SRB network includes a periodic time period and a non-periodic time period.

[0058] Optionally, the first SRB switch transmits the first Ethernet message to the port supporting PRP through the first link, including:

[0059] If the first Ethernet message is transmitted from the first link, then:

[0060] The first SRB switch receives the first Ethernet message, and transmits the first Ethernet message to a port supporting PRP;

[0061] If the first Ethernet message is sent from a port that supports PRP, then:

[0062] The first SRB switch receives the first Ethernet message in the periodic time period, and caches the first Ethernet message in a cache area of ​​the first SRB switch;

[0063] The first SRB switch receives the first Ethernet packet in the non-periodic time period and transmits the received first Ethernet packet through the first link, or receives the first Ethernet packet in the non-periodic time period and transmits the received first Ethernet packet and the first Ethernet packet cached in the buffer area of ​​the first SRB switch through the first link.

[0064] Optionally, the second SRB switch transmits the second Ethernet message to the port supporting PRP through the second link, including:

[0065] If the second Ethernet message is transmitted from the second link, then:

[0066] The second SRB switch receives the second Ethernet message, and transmits the second Ethernet message to the port supporting PRP;

[0067] If the second Ethernet message is sent from a port that supports PRP, then:

[0068] The second SRB switch receives the second Ethernet message in the periodic time period, and caches the second Ethernet message in a cache area;

[0069] The second SRB switch receives the second Ethernet packet in the non-periodic time period and transmits the received second Ethernet packet through the second link, or receives the second Ethernet packet in the non-periodic time period and transmits the received second Ethernet packet and the second Ethernet packet cached in the buffer area of ​​the second SRB switch through the second link.

[0070] Optionally, the method further comprises:

[0071] The master clock device performs global clock synchronization on the SRB network according to the SRB protocol to obtain the periodic time period and the non-periodic time period.

[0072] Optionally, the PRP-supporting port is a dual-channel hardware-software interface supporting PRP, and the standard Ethernet device is connected to the first SRB switch and the second SRB switch through the dual-channel hardware-software interface supporting PRP.

[0073] It can be seen that this application has the following beneficial effects:

[0074] The present application provides a data transmission system and method based on SRB, which includes a standard Ethernet device, an SRB network and an SRB node; the SRB network includes a first SRB switch and a second SRB switch, the first SRB switch is in the first link, and the second SRB switch is in the second link; the SRB node is connected to the first SRB switch and the second SRB switch respectively, and the first SRB switch and the second SRB switch are redundant with each other; the standard Ethernet device is connected to the first SRB switch and the second SRB switch respectively through a port supporting PRP. In this way, the standard Ethernet device is connected to the first SRB switch and the second SRB switch respectively through a port supporting PRP, which are redundant with each other, so that the standard Ethernet device can access the redundant SRB network, and because PRP transmits the same data through a parallel network, at least one copy of the data can successfully reach the target device in the case of a single point failure in the network, which solves the redundancy problem of the standard Ethernet device itself, improves the reliability of data transmission, and the data transmission process does not require a dedicated SRB or Ethernet gateway, reduces the communication overhead, and improves the communication efficiency to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0076] Figure 1 A schematic diagram of a communication model provided for an embodiment of the present application;

[0077] Figure 2a A schematic diagram of the structure of a data transmission system based on SRB provided in an embodiment of the present application;

[0078] Figure 2b A schematic diagram of the structure of another SRB-based data transmission system provided in an embodiment of the present application;

[0079] Figure 3 A schematic diagram of the structure of another SRB-based data transmission system provided in an embodiment of the present application;

[0080] Figure 4 A schematic diagram of a data transmission principle based on PRP provided in an embodiment of the present application;

[0081] Figure 5a A schematic diagram of the structure of another SRB-based data transmission system provided in an embodiment of the present application;

[0082] Figure 5b A schematic diagram of the structure of another SRB-based data transmission system provided in an embodiment of the present application;

[0083] Figure 6 A schematic diagram of a periodic SRB transmission process provided in an embodiment of the present application;

[0084] Figure 7 A schematic diagram of the structure of another SRB-based data transmission system provided in an embodiment of the present application;

[0085] Figure 8 A schematic diagram of the structure of another SRB-based data transmission system provided in an embodiment of the present application;

[0086] Fig. 9 A flowchart of a data transmission method based on SRB is provided in an embodiment of the present application. DETAILED DESCRIPTION

[0087] The multiple involved in the embodiments of the present application means greater than or equal to two. It should be noted that in the description of the embodiments of the present application, the words "first", "second", etc. are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying an order.

[0088] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It is understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. In addition, it should be noted that, for ease of description, only the parts related to the present application are shown in the accompanying drawings, not all structures.

[0089] To facilitate understanding of the specific implementation of the data transmission system provided in the embodiment of the present application, an explanation will be given below with reference to the accompanying drawings.

[0090] See also Figure 1 , Figure 1 A communication model diagram provided in an embodiment of the present application, comprising Figure 1 It can be seen that SRB and standard Ethernet only have the same physical layer, and the rest of the upper layer protocols are completely reconstructed. Therefore, except for the same hardware interface, SRB and standard Ethernet are essentially two different networks and cannot be directly interconnected.

[0091] Through research, the inventors found that when the system main network is built using an SRB network, in order to be compatible with a large number of standard Ethernet devices, in one implementation method, the standard Ethernet device can be connected to the SRB switch and accessed using the SRB or Ethernet gateway built into the SRB switch. However, this fusion method can only support applications with switch redundancy and non-redundant node links. When the SRB switch forms a multi-way structure, the SRB device itself supports redundancy and can be directly connected. At this time, the standard Ethernet device does not have redundancy capabilities, resulting in low reliability of data transmission.

[0092] See also Figure 2a , Figure 2a A schematic diagram of a data transmission system based on SRB is provided in an embodiment of the present application. In the data transmission system, when the SRB switches form a dual-group switch redundancy, such as Figure 2a As shown in Group A and Group B, a single switch group can use a ring or tree structure, and the SRB node can be simultaneously connected to two corresponding switches in different groups to form redundancy. Although the SRB switch supports the access of standard Ethernet devices, the standard Ethernet devices can only be connected at a single point, that is, the standard Ethernet devices accessing the SRB network can only be connected to Group A switches or Group B switches.

[0093] See also Figure 2b , Figure 2bA structural diagram of another SRB-based data transmission system provided for an embodiment of the present application, in which a part of Ethernet devices are connected to Group A switches, such as standard Ethernet devices 1-6, and another part of Ethernet devices are connected to Group B switches, such as standard Ethernet devices 7-8. Because Group A and Group B networks are independent of each other and have no data channels, standard Ethernet devices 1-6 and standard Ethernet devices 7-8 cannot communicate with each other.

[0094] In another implementation, a standard Ethernet device can be connected to a dedicated SRB or Ethernet gateway, that is, the standard Ethernet message is packaged into an SRB message through protocol conversion for transmission. Although this enables the standard Ethernet device to have redundancy, the dedicated SRB or Ethernet gateway will bring about a large communication overhead and high cost, resulting in low communication efficiency. In summary, there is an urgent need for a data transmission method based on SRB to connect standard Ethernet devices to the SRB network to achieve efficient and reliable data communication transmission.

[0095] Based on this, an embodiment of the present application provides an SRB-based data transmission system and method, the system includes a standard Ethernet device, an SRB network and an SRB node; the SRB network includes a first SRB switch and a second SRB switch, the first SRB switch is in a first link, and the second SRB switch is in a second link; the SRB nodes are respectively connected to the first SRB switch and the second SRB switch, and the first SRB switch and the second SRB switch are redundant with each other; the standard Ethernet device is respectively connected to the first SRB switch and the second SRB switch through a port supporting a parallel redundancy protocol (PRP); the standard Ethernet device is used to send a first Ethernet message to the first SRB switch and a second Ethernet message to the second SRB switch based on a port supporting PRP; the first SRB switch is used to receive the first Ethernet message and transmit the first Ethernet message to the port supporting PRP through the first link; the second SRB switch is used to receive the second Ethernet message and transmit the second Ethernet message to the port supporting PRP through the second link; the standard Ethernet device is also used to receive a target Ethernet message, and the target Ethernet message is obtained by performing redundant arbitration on the first Ethernet message and the second Ethernet message based on the port supporting PRP.

[0096] In this way, the standard Ethernet device is connected to the first SRB switch and the second SRB switch which are redundant with each other through the ports supporting PRP, thereby realizing the access of the standard Ethernet device to the redundant SRB network. Moreover, because PRP transmits the same data through a parallel network, at least one copy of the data can successfully reach the target device in the event of a single point failure in the network, thus solving the redundancy problem of the standard Ethernet device itself and improving the reliability of data transmission. In addition, the data transmission process does not require a dedicated SRB or Ethernet gateway, thus reducing communication overhead and improving communication efficiency to a certain extent.

[0097] See also Figure 3 , Figure 3 An SRB-based data transmission system provided in an embodiment of the present application may include: a standard Ethernet device 1, an SRB network 2, and an SRB node 4; the SRB network 2 includes a first SRB switch 21 and a second SRB switch 22, the first SRB switch 21 is in a first link, and the second SRB switch 22 is in a second link; the SRB node 4 is connected to the first SRB switch 21 and the second SRB switch 22, respectively, and the first SRB switch 21 and the second SRB switch 22 are redundant with each other; the standard Ethernet device 1 is connected to the first SRB switch 21 and the second SRB switch 22, respectively, through a port 3 supporting PRP;

[0098] A standard Ethernet device 1, configured to send a first Ethernet message to a first SRB switch 21 and a second Ethernet message to a second SRB switch 22 based on a port supporting PRP;

[0099] The first SRB switch 21 is used to receive the first Ethernet message and transmit the first Ethernet message to the port supporting PRP through the first link;

[0100] The second SRB switch 22 is used to receive the second Ethernet message and transmit the second Ethernet message to the port 3 supporting PRP through the second link;

[0101] The standard Ethernet device 1 is further used to receive a target Ethernet message, where the target Ethernet message is obtained by performing redundancy arbitration on the first Ethernet message and the second Ethernet message based on the port 3 supporting the PRP.

[0102] It should be noted that the SRB switches in the first link can be regarded as the first group of SRB switches, and the SRB switches in the second link can be regarded as the second group of SRB switches. The first group of SRB switches can include multiple SRB switches, and the multiple SRB switches include the first SRB switch 21; the second group of SRB switches can include multiple SRB switches, and the multiple SRB switches include the second SRB switch 22. The SRB node 4 is connected to the first SRB switch 21 and the second SRB switch 22 respectively, but it should be noted that the first SRB switch 21 and the second SRB switch 22 do not communicate with each other via the SRB node 4.

[0103] In a possible implementation, the port 3 supporting PRP is a dual-channel hardware and software interface supporting PRP, and the standard Ethernet device is connected to the first SRB switch and the second SRB switch via the dual-channel hardware and software interface supporting PRP. Thus, the standard Ethernet device 1 is connected to the corresponding two redundant SRB switches via the dual-channel hardware and software interface supporting PRP, which not only enables the standard Ethernet device to access the SRB network, but also enables the standard Ethernet communication link to have redundancy, thereby improving the reliability of data transmission.

[0104] It should be noted that a PRP chip or a PRP module can be used inside the standard Ethernet device 1 so that the standard Ethernet device node natively supports PRP; RedBox can also be used to expand an ordinary single-port standard Ethernet device so that the port of the standard Ethernet device supports PRP; the PRP soft protocol stack can also be used on the operating system (Operating System, OS) inside the standard Ethernet device. Of course, other methods can also be used to make the port support PRP, which will not affect the implementation of the embodiments of the present application.

[0105] Combine the following Figure 4The provided schematic diagram of data transmission principle based on PRP is used for explanation. PRP can be applied to standard Ethernet, mainly relying on two logically or physically separated subnets LAN A and LAN B, LAN A is network A, LAN B is network B. Taking the information transmission in the above 4 figures as an example, the PRP sender (Source DANP) copies the original information frame (C Frame) and adds a specific field (RCT) to the two frames to form PRP information frames (A Frame and B Frame), which are sent from its own two ports to network A and network B respectively, and arrive at the same PRP receiver (Destination DANP) through two independent subnets respectively; after the PRP receiver receives the two PRP information frames from the two ports respectively, they are processed through a series of frame processing algorithms. In short, according to the principle of "first come, first served", the PRP information frame that arrives later is eliminated, and only one PRP information frame that arrives first is retained. After the specific field is eliminated, it is restored to the original information, and then passed to the upper layer, thereby realizing data transmission.

[0106] In a possible implementation, the standard Ethernet device 1 includes an initial standard Ethernet device 11. Please refer to the structural diagram of a data transmission system based on SRB shown in FIG5. Another data transmission system provided by an embodiment of the present application is described below in conjunction with FIG5: The initial standard Ethernet device 11 is connected to the first SRB switch 21 and the second SRB switch 22 via the port 3 supporting PRP;

[0107] The initial standard Ethernet device 11 is specifically used for:

[0108] Convert the initial Ethernet message into a target Ethernet message conforming to the PRP format;

[0109] Copying the target Ethernet message to obtain a first Ethernet message and a second Ethernet message;

[0110] Sending the first Ethernet message to the first SRB switch 21 through the port 3 supporting PRP;

[0111] The second Ethernet message is sent to the second SRB switch 22 through the port 3 supporting PRP.

[0112] In a possible implementation, the standard Ethernet device 1 further includes a target standard Ethernet device 12, see Figure 5aA structural diagram of a data transmission system based on SRB is shown, the SRB network 2 also includes a third SRB switch 23 and a fourth SRB switch 24, the third SRB switch 23 is in the first link, the fourth SRB switch 24 is in the second link, the SRB node 4 is connected to the third SRB switch 23 and the fourth SRB switch 24 respectively, and the third SRB switch 23 and the fourth SRB switch 24 are redundant with each other;

[0113] The target standard Ethernet device 12 is connected to the third SRB switch 23 and the fourth SRB switch 24 respectively through the port 3 supporting PRP;

[0114] The third SRB switch 23 is used to receive the first Ethernet message transmitted by the first link, and send the first Ethernet message to the target standard Ethernet device 12;

[0115] The fourth SRB switch 24 is used to receive the second Ethernet message transmitted by the second link, and send the second Ethernet message to the target standard Ethernet device 12;

[0116] The target standard Ethernet device 12 is used to receive the target Ethernet message sent from the port 3 supporting PRP.

[0117] It should be noted that after receiving the first Ethernet message, the first SRB switch 21 will convert based on the SRB protocol to obtain the first SRB message corresponding to the first Ethernet message, so as to transmit it on the first link. Similarly, after receiving the second Ethernet message, the second SRB switch 22 will convert based on the SRB protocol to obtain the second SRB message corresponding to the second Ethernet message, so as to transmit it on the second link. After receiving the first SRB message, the third SRB switch 23 will convert based on the SRB protocol to obtain the first Ethernet message corresponding to the first SRB message. After receiving the second SRB message, the fourth SRB switch 24 will convert based on the SRB protocol to obtain the second Ethernet message corresponding to the second SRB message.

[0118] In a possible implementation, the standard Ethernet device 1 also includes a target standard Ethernet device 12, which is still on the first SRB switch 21 and the second SRB switch 22, that is, the first SRB switch 21 and the second SRB switch 22 can be connected to a combination of multiple standard Ethernet devices + ports supporting PRP. Figure 5b As shown in the structural diagram of another SRB-based data transmission system, the target standard Ethernet device 12 is connected to the first SRB switch 21 and the second SRB switch 22 respectively through the port 3 supporting PRP; the target standard Ethernet device 12 is used to receive the target Ethernet message sent from the port 3 supporting PRP.

[0119] In a possible implementation manner, the SRB network 2 is a network that has undergone global clock synchronization, and the SRB network 2 includes a periodic time period and a non-periodic time period.

[0120] In one possible implementation, the periodic time period and the non-periodic time period may be obtained by dividing the operation process by a master clock device, that is, the SRB network provided in the embodiment of the present application also includes a master clock device; the master clock device is used to perform global clock synchronization on the SRB network according to the SRB protocol to obtain periodic time periods and non-periodic time periods.

[0121] It should be noted that the master clock device is the SRB device in the SRB network, and the master clock device can be obtained through manual configuration, automatic election, and dynamic adjustment. Among them, manual configuration means that the administrator selects a device with stable performance and accurate clock as the master clock device according to the network architecture and the importance of the device, and performs corresponding configuration; automatic election means that the SRB devices in the SRB network can compare and evaluate by exchanging clock information according to the automatic election mechanism, that is, the corresponding rules and algorithms, and finally elect a device with the highest priority or the most accurate clock as the master clock device; dynamic adjustment means that the master clock device may be dynamically adjusted according to the network status and the performance of the SRB device. For example, if the current master clock device fails or its performance degrades, other devices can take over the role of the master clock device through competition or negotiation to ensure the reliability and real-time performance of the SRB network.

[0122] Combine the following Figure 6 The schematic diagram of the SRB transmission process shown in FIG. 1 illustrates the scheduling mechanism of the SRB network. In the SRB network, the time axis corresponding to the operation process is divided into several equal time slices, called communication macro cycles. The communication macro cycle is further divided into periodic time periods and non-periodic time periods, which are used for transmission. Figure 6 Periodic and non-periodic data are shown.

[0123] Figure 6 In the figure, device1, device2, ..., device5 represent five SRB devices. During the periodic time period, each SRB device obtains an exclusive time slice in turn according to a pre-set schedule. During this time period, it completely and independently occupies the entire communication channel to ensure the deterministic and reliable transmission of real-time communication data, which is suitable for high-performance measurement and control communications. During the non-periodic time period, each SRB device is allowed to communicate with lower real-time requirements through priority competition, queue caching, etc., to maximize bandwidth utilization.

[0124] During the specific implementation process, during the periodic time period, the SRB devices in the SRB network only transmit and process SRB protocol messages. At this time, if there are Ethernet messages from standard Ethernet devices, all of them are cached; during the non-periodic time period, the SRB switch can be regarded as a standard Ethernet switch. When the cache area stores Ethernet messages, the Ethernet messages from the standard Ethernet device and the cached Ethernet messages are exchanged and forwarded. When the cache area does not store Ethernet messages, only the Ethernet messages from the standard Ethernet device are exchanged and forwarded; when the non-periodic time period ends, the Ethernet messages obtained by the interaction are stopped, new Ethernet messages are cached, the SRB protocol interaction time is entered, and the next non-periodic time period is waited for to transmit Ethernet messages again. This cycle is repeated to realize data transmission from standard Ethernet devices to the SRB network.

[0125] In some possible implementations, the first SRB switch 21 is specifically configured to:

[0126] If the first Ethernet message is transmitted from the first link, then:

[0127] receiving a first Ethernet message, and transmitting the first Ethernet message to port 3 supporting PRP;

[0128] It should be noted that the first SRB switch 21 receives the first Ethernet message here for ease of understanding. The actual execution process is that the first SRB switch 21 receives the first SRB message transmitted by the first link, converts the first SRB message into a corresponding first Ethernet message, and then transmits the first Ethernet message to port 3 supporting PRP.

[0129] If the first Ethernet message is sent from port 3 that supports PRP, then:

[0130] A first Ethernet message is received in a periodic time period, and the first Ethernet message is cached in a cache area of ​​a first SRB switch; a first Ethernet message is received in a non-periodic time period, and the received first Ethernet message is transmitted through a first link, or a first Ethernet message is received in a non-periodic time period, and the received first Ethernet message and the first Ethernet message cached in the cache area of ​​the first SRB switch are transmitted through the first link.

[0131] That is, the first Ethernet message forwarded to the first link is cached in the periodic time period and sent in the non-periodic time period, for example: if the first Ethernet message is received in the periodic time period, it is cached in the cache area of ​​the first SRB switch; if the first Ethernet message is received in the non-periodic time period and the cache area of ​​the first SRB switch does not cache the first Ethernet message, the received first Ethernet message is transmitted through the first link; if the first Ethernet message is received in the non-periodic time period and the cache area of ​​the first SRB switch caches the first Ethernet message, the received first Ethernet message and the first Ethernet message cached in the cache area of ​​the first SRB switch are transmitted through the first link; if the first Ethernet message is not received in the non-periodic time period but the cache area of ​​the first SRB switch caches the first Ethernet message, the first Ethernet message cached in the cache area of ​​the first SRB switch is transmitted through the first link; for the first Ethernet message transmitted to the port supporting PRP, it is not affected by the periodic time period and the non-periodic time period and is forwarded as soon as it is received.

[0132] In some possible implementations, the second SRB switch 22 is specifically configured to:

[0133] If the second Ethernet message is transmitted from the second link, then:

[0134] receiving a second Ethernet message, and transmitting the second Ethernet message to port 3 supporting PRP;

[0135] If the second Ethernet message is sent from port 3 that supports PRP, then:

[0136] A second Ethernet message is received in a periodic time period, and the second Ethernet message is cached in a cache area of ​​a second SRB switch; a second Ethernet message is received in a non-periodic time period, and the received second Ethernet message is transmitted through a second link, or a second Ethernet message is received in a non-periodic time period, and the received second Ethernet message is transmitted through the second link and the second Ethernet message cached in the cache area of ​​the second SRB switch.

[0137] It should be noted that the execution logic of the second SRB switch 22 is similar to that of the first SRB switch 21, which will not be described in detail here.

[0138] In this way, in the data transmission system provided in the embodiment of the present application, SRB communication and standard Ethernet communication use exactly the same physical layer medium and link layer interface. By using the SRB scheduling mechanism to place the standard Ethernet message in a non-periodic time for transmission, SRB communication and standard Ethernet communication can be transmitted simultaneously in one data channel.

[0139] It should be noted that Figure 5aThe data transmission system shown can not only realize the access of standard Ethernet devices to the SRB network, but also has strong link redundancy capability. Figure 7 and Figure 8 The transmission scenarios corresponding to the data transmission system provided are described, such as Figure 7 As shown, if the first SRB switch 21 connected to the initial Ethernet device 11 is disconnected, the message transmission and reception is completed by the SRB switch on the second link through the second SRB switch 22, and the upper layer communication is not affected; Figure 8 As shown, if the fourth SRB switch 42 connected to the target Ethernet device 12 fails, its message transmission and reception can still be performed through the third SRB switch 43, which is completed by the switch on the first link, and the upper layer communication is not affected, thereby ensuring the reliability of data transmission.

[0140] See also Fig. 9 The embodiment of the present application also provides a data transmission method based on SRB, which is applied to a data transmission system, wherein the data transmission system includes a standard Ethernet device, a secure real-time bus SRB network and an SRB node, wherein the SRB network includes a first SRB switch and a second SRB switch, wherein the first SRB switch is in the first link and the second SRB switch is in the second link; wherein the SRB nodes are respectively connected to the first SRB switch and the second SRB switch, wherein the first SRB switch and the second SRB switch are mutually redundant; wherein the standard Ethernet device is respectively connected to the first SRB switch and the second SRB switch via a port supporting a parallel redundancy protocol PRP, wherein the method includes the following steps:

[0141] S901: The standard Ethernet device sends a first Ethernet packet to the first SRB switch and sends a second Ethernet packet to the second SRB switch based on a port supporting PRP;

[0142] S902: The first SRB switch transmits the first Ethernet message to the port supporting PRP through the first link;

[0143] S903: The second SRB switch transmits the second Ethernet message to the port supporting PRP through the second link;

[0144] It is not limited that there is no distinction in the order of execution between the above S902 and S903. For example, S902 may be executed first and then S903, or S903 may be executed first and then S902, or S902 and S903 may be executed simultaneously. Fig. 9 The above is only an example of an implementable method and is not intended to limit the embodiments of the present application.

[0145] S904: The standard Ethernet device receives a destination Ethernet message, where the destination Ethernet message is obtained by performing redundancy arbitration on the first Ethernet message and the second Ethernet message based on a port supporting PRP.

[0146] Optionally, the standard Ethernet device includes an initial standard Ethernet device, the initial standard Ethernet device is connected to the first SRB switch and the second SRB switch through a port supporting PRP, and the standard Ethernet device sends a first Ethernet message to the first SRB switch based on the port supporting PRP, including:

[0147] The initial standard Ethernet device converts the initial Ethernet message into a target Ethernet message conforming to the PRP format;

[0148] The initial standard Ethernet device copies the target Ethernet message to obtain the first Ethernet message;

[0149] The initial standard Ethernet device sends the first Ethernet message to the first SRB switch through a port supporting PRP.

[0150] Optionally, the standard Ethernet device further includes a target standard Ethernet device, the SRB network further includes a third SRB switch and a fourth SRB switch, the third SRB switch is in the first link, the fourth SRB switch is in the second link, the SRB nodes are connected to the third SRB switch and the fourth SRB switch respectively, and the third SRB switch and the fourth SRB switch are redundant with each other;

[0151] The target standard Ethernet device is respectively connected to the third SRB switch and the fourth SRB switch through a port supporting PRP;

[0152] The third SRB switch receives the first Ethernet message transmitted through the first link, and sends the first Ethernet message to the target standard Ethernet device;

[0153] The fourth SRB switch receives the second Ethernet message transmitted through the second link, and sends the second Ethernet message to the target standard Ethernet device;

[0154] The receiving target Ethernet message receives the target Ethernet message sent from a port supporting PRP.

[0155] Optionally, the standard Ethernet device further includes a target standard Ethernet device;

[0156] The target standard Ethernet device is respectively connected to the first SRB switch and the second SRB switch through a port supporting PRP;

[0157] The target standard Ethernet device receives the target Ethernet message sent from a port supporting PRP.

[0158] Optionally, the SRB network is a network that has undergone global clock synchronization, and the time period of the SRB network includes a periodic time period and a non-periodic time period.

[0159] Optionally, the first SRB switch transmits the first Ethernet message to the port supporting PRP through the first link, including:

[0160] If the first Ethernet message is transmitted from the first link, then:

[0161] The first SRB switch receives the first Ethernet message, and transmits the first Ethernet message to the port supporting PRP;

[0162] If the first Ethernet message is sent from a port that supports PRP, then:

[0163] The first SRB switch receives the first Ethernet message in the periodic time period, and caches the first Ethernet message in a cache area of ​​the first SRB switch;

[0164] The first SRB switch receives the first Ethernet packet in the non-periodic time period and transmits the received first Ethernet packet through the first link, or receives the first Ethernet packet in the non-periodic time period and transmits the received first Ethernet packet and the first Ethernet packet cached in the buffer area of ​​the first SRB switch through the first link.

[0165] Optionally, the second SRB switch transmits the second Ethernet message to the port supporting PRP through the second link, including:

[0166] If the second Ethernet message is transmitted from the second link, then:

[0167] The second SRB switch receives the second Ethernet message, and transmits the second Ethernet message to the port supporting PRP;

[0168] If the second Ethernet message is sent from a port that supports PRP, then:

[0169] The second SRB switch receives the second Ethernet message in the periodic time period, and caches the second Ethernet message in a cache area of ​​the second SRB switch;

[0170] The second SRB switch receives the second Ethernet packet in the non-periodic time period and transmits the received second Ethernet packet through the second link, or receives the second Ethernet packet in the non-periodic time period and transmits the received second Ethernet packet and the second Ethernet packet cached in the buffer area of ​​the second SRB switch through the second link.

[0171] Optionally, the method further comprises:

[0172] The master clock device performs global clock synchronization on the SRB network according to the SRB protocol to obtain the periodic time period and the non-periodic time period.

[0173] Optionally, the PRP-supporting port is a dual-channel hardware-software interface supporting PRP, and the standard Ethernet device is connected to the first SRB switch and the second SRB switch through the dual-channel hardware-software interface supporting PRP.

[0174] It should be noted that the data transmission method and technical effects achieved by the embodiments of the present application can be found in Figure 3 Figure 5 Figure 7 and Figure 8 The relevant description of the data transmission system shown.

[0175] Through the description of the above implementation methods, it can be known that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, and the computer software product can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the methods described in each embodiment of the present application or some parts of the embodiments.

[0176] 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. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is only schematic, in which the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the goals of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.

[0177] The above is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. It should be noted that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the present application, and these improvements and modifications should also be regarded as the protection scope of the present application.

Claims

1. A data transmission system based on a secure real-time bus (SRB), characterized in that: The system comprises: a standard Ethernet device, a secure real-time bus SRB network and an SRB node; the SRB network comprises a first SRB switch and a second SRB switch, the first SRB switch is in a first link, and the second SRB switch is in a second link; the SRB node is connected to the first SRB switch and the second SRB switch respectively, and the first SRB switch and the second SRB switch are redundant with each other; the standard Ethernet device is connected to the first SRB switch and the second SRB switch respectively through a port supporting a parallel redundancy protocol PRP; The SRB network further includes a third SRB switch and a fourth SRB switch, the third SRB switch is in the first link, the fourth SRB switch is in the second link, the SRB nodes are connected to the third SRB switch and the fourth SRB switch respectively, and the third SRB switch and the fourth SRB switch are redundant with each other; The standard Ethernet device is used to send a first Ethernet message to the first SRB switch and send a second Ethernet message to the second SRB switch based on the port supporting PRP; The standard Ethernet device includes an initial standard Ethernet device, and the initial standard Ethernet device is connected to the first SRB switch and the second SRB switch through a port supporting PRP; The initial standard Ethernet device is specifically used to: convert the initial Ethernet message into a target Ethernet message that conforms to the PRP format; copy the target Ethernet message to obtain the first Ethernet message and the second Ethernet message; send the first Ethernet message to the first SRB switch through a port that supports PRP; send the second Ethernet message to the second SRB switch through a port that supports PRP; The first SRB switch is configured to receive the first Ethernet message, and transmit the first Ethernet message to the port supporting PRP through the first link; The second SRB switch is used to receive the second Ethernet message, and transmit the second Ethernet message to the port supporting PRP through the second link; The standard Ethernet device is further used to receive a target Ethernet message, where the target Ethernet message is obtained by performing redundancy arbitration on the first Ethernet message and the second Ethernet message based on a port supporting PRP; The standard Ethernet device further includes a target standard Ethernet device, and the target standard Ethernet device is respectively connected to the third SRB switch and the fourth SRB switch through a port supporting PRP; The third SRB switch is configured to receive the first Ethernet message transmitted through the first link, and send the first Ethernet message to the target standard Ethernet device; The fourth SRB switch is configured to receive the second Ethernet message transmitted through the second link, and send the second Ethernet message to the target standard Ethernet device; The target standard Ethernet device is used to receive the target Ethernet message sent from a port supporting PRP.

2. A data transmission system based on a secure real-time bus (SRB), characterized in that: The system comprises: a standard Ethernet device, a secure real-time bus SRB network and an SRB node; the SRB network comprises a first SRB switch and a second SRB switch; the first SRB switch is in a first link, and the second SRB switch is in a second link; the SRB nodes are respectively connected to the first SRB switch and the second SRB switch, and the first SRB switch and the second SRB switch are mutually redundant; the standard Ethernet device is respectively connected to the first SRB switch and the second SRB switch through a port supporting a parallel redundancy protocol PRP; The standard Ethernet device is used to send a first Ethernet message to the first SRB switch and send a second Ethernet message to the second SRB switch based on the port supporting PRP; The standard Ethernet device includes an initial standard Ethernet device, and the initial standard Ethernet device is connected to the first SRB switch and the second SRB switch through a port supporting PRP; The initial standard Ethernet device is specifically used to: convert the initial Ethernet message into a target Ethernet message that conforms to the PRP format; copy the target Ethernet message to obtain the first Ethernet message and the second Ethernet message; send the first Ethernet message to the first SRB switch through a port that supports PRP; send the second Ethernet message to the second SRB switch through a port that supports PRP; The first SRB switch is configured to receive the first Ethernet message, and transmit the first Ethernet message to the port supporting PRP through the first link; The second SRB switch is used to receive the second Ethernet message, and transmit the second Ethernet message to the port supporting PRP through the second link; The standard Ethernet device is further used to receive a target Ethernet message, where the target Ethernet message is obtained by performing redundancy arbitration on the first Ethernet message and the second Ethernet message based on a port supporting PRP; The standard Ethernet device further includes a target standard Ethernet device; the target standard Ethernet device is connected to the first SRB switch and the second SRB switch respectively through a port supporting PRP; The target standard Ethernet device is used to receive the target Ethernet message sent from a port supporting PRP.

3. The system according to claim 1 or 2, characterized in that: The SRB network is a network that has undergone global clock synchronization, and the time period of the SRB network includes a periodic time period and a non-periodic time period.

4. The system according to claim 3, characterized in that The first SRB switch is specifically used for: If the first Ethernet message is transmitted from the first link, then: receiving the first Ethernet message, and transmitting the first Ethernet message to a port supporting PRP; If the first Ethernet message is sent from a port that supports PRP, then: receiving the first Ethernet message in the periodic time period, and buffering the first Ethernet message in a buffer area of ​​the first SRB switch; The first Ethernet packet is received in the non-periodic time period, and the received first Ethernet packet is transmitted through the first link. Alternatively, the first Ethernet packet is received in the non-periodic time period, and the received first Ethernet packet and the first Ethernet packet cached in the cache area of ​​the first SRB switch are transmitted through the first link.

5. The system according to claim 3, characterized in that The second SRB switch is specifically used for: If the second Ethernet message is transmitted from the second link, then: receiving the second Ethernet message, and transmitting the second Ethernet message to the port supporting PRP; If the second Ethernet message is sent from a port that supports PRP, then: receiving the second Ethernet message in the periodic time period, and buffering the second Ethernet message in a buffer area of ​​the second SRB switch; The second Ethernet packet is received in the non-periodic time period, and the received second Ethernet packet is transmitted through the second link. Alternatively, the second Ethernet packet is received in the non-periodic time period, and the received second Ethernet packet and the second Ethernet packet cached in the cache area of ​​the second SRB switch are transmitted through the second link.

6. The system according to claim 3, characterized in that The SRB network also includes: a master clock device; The master clock device is used to perform global clock synchronization on the SRB network according to the SRB protocol to obtain the periodic time period and the non-periodic time period.

7. The system according to claim 1 or 2, characterized in that: The PRP-supporting port is a dual-channel hardware-software interface supporting PRP, and the standard Ethernet device is connected to the first SRB switch and the second SRB switch through the dual-channel hardware-software interface supporting PRP.

8. A data transmission method based on a secure real-time bus (SRB), characterized in that: Applied to a data transmission system, the data transmission system includes a standard Ethernet device, a secure real-time bus SRB network and an SRB node, the SRB network includes a first SRB switch and a second SRB switch, the first SRB switch is in a first link, and the second SRB switch is in a second link; the SRB nodes are respectively connected to the first SRB switch and the second SRB switch, and the first SRB switch and the second SRB switch are mutually redundant; the standard Ethernet device is respectively connected to the first SRB switch and the second SRB switch through a port supporting a parallel redundancy protocol PRP, the SRB network also includes a third SRB switch and a fourth SRB switch, the third SRB switch is in the first link, the fourth SRB switch is in the second link, the SRB nodes are respectively connected to the third SRB switch and the fourth SRB switch, and the third SRB switch and the fourth SRB switch are mutually redundant, and the method includes: The standard Ethernet device sends a first Ethernet packet to the first SRB switch based on the port supporting PRP and sends a second Ethernet packet to the second SRB switch; The standard Ethernet device includes an initial standard Ethernet device, and the initial standard Ethernet device is connected to the first SRB switch and the second SRB switch through a port supporting PRP; The initial standard Ethernet device converts the initial Ethernet message into a target Ethernet message that conforms to the PRP format; copies the target Ethernet message to obtain the first Ethernet message and the second Ethernet message; sends the first Ethernet message to the first SRB switch through a port that supports PRP; sends the second Ethernet message to the second SRB switch through a port that supports PRP; The first SRB switch transmits the first Ethernet message to the port supporting PRP through the first link; The second SRB switch transmits the second Ethernet message to the port supporting PRP through the second link; The standard Ethernet device receives a target Ethernet message, where the target Ethernet message is obtained by performing redundancy arbitration on the first Ethernet message and the second Ethernet message based on a port supporting PRP; The standard Ethernet device further includes a target standard Ethernet device, and the target standard Ethernet device is respectively connected to the third SRB switch and the fourth SRB switch through a port supporting PRP; The third SRB switch receives the first Ethernet message transmitted through the first link, and sends the first Ethernet message to the target standard Ethernet device; The fourth SRB switch receives the second Ethernet message transmitted through the second link, and sends the second Ethernet message to the target standard Ethernet device; The target standard Ethernet device receives the target Ethernet message sent from a port supporting PRP.

9. A data transmission method based on a secure real-time bus (SRB), characterized in that: Applied to a data transmission system, the data transmission system includes a standard Ethernet device, a secure real-time bus SRB network and an SRB node, the SRB network includes a first SRB switch and a second SRB switch, the first SRB switch is in a first link, and the second SRB switch is in a second link; the SRB node is connected to the first SRB switch and the second SRB switch respectively, and the first SRB switch and the second SRB switch are redundant with each other; The standard Ethernet device is connected to the first SRB switch and the second SRB switch respectively through a port supporting a parallel redundancy protocol PRP, and the method includes: The standard Ethernet device sends a first Ethernet packet to the first SRB switch based on the port supporting PRP and sends a second Ethernet packet to the second SRB switch; The standard Ethernet device includes an initial standard Ethernet device, and the initial standard Ethernet device is connected to the first SRB switch and the second SRB switch through a port supporting PRP; The initial standard Ethernet device converts the initial Ethernet message into a target Ethernet message that conforms to the PRP format; copies the target Ethernet message to obtain the first Ethernet message and the second Ethernet message; sends the first Ethernet message to the first SRB switch through a port that supports PRP; sends the second Ethernet message to the second SRB switch through a port that supports PRP; The first SRB switch receives the first Ethernet message, and transmits the first Ethernet message to the port supporting PRP through the first link; The second SRB switch receives the second Ethernet message, and transmits the second Ethernet message to the port supporting PRP through the second link; The standard Ethernet device receives a target Ethernet message, where the target Ethernet message is obtained by performing redundancy arbitration on the first Ethernet message and the second Ethernet message based on a port supporting PRP; The standard Ethernet device further includes a target standard Ethernet device; the target standard Ethernet device is connected to the first SRB switch and the second SRB switch respectively through a port supporting PRP; The target standard Ethernet device receives the target Ethernet message sent from a port supporting PRP.