Data transmission system

By adopting a combined topology of ring and star networks in EPA star network, using multiple EPA switches to form a redundant network, the problem of insufficient stability of EPA star network is solved, and the high reliability and wiring simplification of the network is achieved .

CN119094275AActive Publication Date: 2024-12-06ZHEJIANG GUOLI XINAN TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411512419.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-28
Publication Date
2024-12-06
Estimated Expiration
2044-10-28

AI Technical Summary

Technical Problem

The EPA star network is insufficient in stability when it fails, which can easily lead to network paralysis and the cable wiring length is long, affecting the normal operation of the network.

Method used

Using a combined network topology structure consisting of two ring networks and two star networks, a ring network is formed through multiple EPA switches, and the terminal equipment is connected to the switch to form a star network to ensure the stability and redundancy of the network. Reduce wiring length.

Benefits of technology

It improves the stability and redundancy of the network, avoids network paralysis caused by single point of failure, reduces the cable routing length, and ensures the normal operation of the network when the switch or terminal equipment fails.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094275A_ABST
    Figure CN119094275A_ABST
Patent Text Reader

Abstract

An embodiment of the present disclosure relates to a data transmission system comprising: a first ring network comprising a plurality of first EPA switches; the second ring network comprises a plurality of second EPA switches; the plurality of first terminal devices are in communication connection with a first target switch in the plurality of first EPA switches and a second target switch in the plurality of second EPA switches; the plurality of second terminal devices are in communication connection with a third target switch in the plurality of first EPA switches and a fourth target switch in the plurality of second EPA switches; the first target switch is different from the third target switch, and the second target switch is different from the fourth target switch. The data transmission system can ensure the stability of EPA network data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure generally relate to the field of detection of control systems, and more particularly to a data transmission system for a control system. Background Art

[0002] The EPA star network relies on switches to forward data. If the switch fails, the entire network will be paralyzed. There are also certain disadvantages and insufficient stability. At the same time, all nodes of the star network need to be connected to the switch during the project implementation, which will result in a long cable wiring length. Summary of the invention

[0003] In view of the above problems, the present invention provides a data transmission system that can ensure the stability of EPA network data transmission.

[0004] According to one aspect of the present disclosure, a data transmission system is provided. The data transmission system includes: a first ring network including a plurality of first EPA switches; a second ring network including a plurality of second EPA switches; a first star network including a plurality of first terminal devices, the plurality of first terminal devices being communicatively connected to a first target switch among the plurality of first EPA switches and a second target switch among the plurality of second EPA switches; and a second star network including a plurality of second terminal devices, the plurality of second terminal devices being communicatively connected to a third target switch among the plurality of first EPA switches and a fourth target switch among the plurality of second EPA switches; the first target switch is different from the third target switch, and the second target switch is different from the fourth target switch.

[0005] In some embodiments, the first target switch includes: a ring network processing unit, configured to copy the parsed first received message into two copies, so as to transmit the two copied messages to two first EPA switches adjacent to the first target switch in the first ring network, respectively, and the first received message comes from at least one terminal device among the multiple first terminal devices.

[0006] In some embodiments, the first target switch further includes: a data feature information cache unit, which is communicatively connected to the ring network processing unit and configured to store data feature information of the first received message so as to form a forwarding list; the ring network processing unit is further configured to: query the forwarding list to determine whether the data feature information of the message from the two first EPA switches belongs to the forwarding list, and in response to determining that the data feature information belongs to the forwarding list, not send the message to the two first EPA switches.

[0007] In some embodiments, the ring network processing unit is further configured to: determine a first sending message based on two messages from two first EPA switches adjacent to the first target switch in the first ring network, so as to send the first sending message to at least one terminal device of the plurality of first terminal devices.

[0008] In some embodiments, the ring network processing unit is further configured to: in response to determining that the time interval between two messages is less than a predetermined interval threshold and the message sequence numbers corresponding to the two messages are the same, determine that any one of the two messages is the first sent message.

[0009] In some embodiments, the first target switch also includes: a star network processing unit, which is communicatively connected to the ring network processing unit and is configured to receive a first received message and parse the first received message to obtain the parsed first received message and transmit it to the ring network processing unit, and to send a first sent message from the ring network processing unit to at least one terminal device of the plurality of first terminal devices.

[0010] In some embodiments, the first target switch also includes: an EPA switching module, which is communicatively connected to the star network processing unit and the first terminal device of the EPA terminal type, and is configured to transmit a first received message from the first terminal device of the EPA terminal type to the star network processing unit, and to transmit a first sent message from the star network processing unit to the first terminal device of the EPA terminal type.

[0011] In some embodiments, the first target switch also includes: an Ethernet data processing module, which is communicatively connected to the EPA protocol stack and the first terminal device of the ordinary Ethernet terminal type, and is configured to store ordinary Ethernet data from the first terminal device of the ordinary Ethernet terminal type, and deliver the ordinary Ethernet data to the EPA protocol stack in a non-periodic manner, and receive ordinary Ethernet data from the EPA protocol stack and send it to the first terminal device of the ordinary Ethernet terminal type; and an EPA protocol stack, which is communicatively connected to the EPA switching module, and is configured to convert ordinary Ethernet data into EPA non-periodic data so as to transmit the converted EPA non-periodic data to the EPA switching module, and convert the EPA non-periodic data from the EPA switching module into ordinary Ethernet data so as to transmit the converted ordinary Ethernet data to the Ethernet data processing module.

[0012] In some embodiments, the star network processing unit is further configured to perform verification on the first received message, and extract a media access control address and an Internet Protocol address from the first received message.

[0013] In some embodiments, at least one of the first ring network and the second ring network is a dual ring network.

[0014] In the data transmission system, two ring networks (a first ring network and a second ring network) are formed based on the EPA switch, and a first star network is constructed based on a first target switch in the first ring network and a second target switch in the second ring network with a plurality of first terminal devices, and a second star network is constructed based on a third target switch in the first ring network and a fourth target switch in the second ring network with a plurality of second terminal devices, thereby forming a network topology structure combining a ring network and a star network, and effectively improving the stability of the network.

[0015] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements.

[0017] Figure 1 The figure shows a topological structure of an EPA network in the prior art.

[0018] Figure 2 A schematic diagram of the topological structure of a data transmission system according to an embodiment of the present disclosure is shown.

[0019] Figure 3 A schematic diagram of the topological structure of a data transmission system according to an embodiment of the present disclosure is shown.

[0020] Figure 4 A block diagram of a star ring conversion module according to an embodiment of the present disclosure is shown.

[0021] Figure 5 A schematic diagram of the topological structure of a data transmission system according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0022] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0023] The term "including" and its variations used in this document represent open inclusion, that is, "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "based at least in part on". The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one other embodiment". The terms "first", "second", etc. may refer to different or the same objects. The terms "connection" and "communication connection" may be a direct connection or an indirect connection via other devices or modules. Other explicit and implicit definitions may also be included below.

[0024] As described above, the current EPA network has the problem of insufficient stability. For example, the current EPA network adopts a topology structure based on a ring network composed of multiple EPA terminals. Figure 1 The topology of an EPA network 100 in the prior art is shown, in which a plurality of EPA terminals (for example, including terminal 1, terminal 2, terminal 3, terminal 4, terminal 5, terminal 6, terminal 7, terminal 8) are connected in sequence to form a ring structure. In the EPA network 100, if two EPA terminals (for example, terminal 1 and terminal 5) fail, the other EPA terminals (for example, terminal 2 and terminal 6) in the EPA network will not be able to communicate with each other, thus making the entire network unavailable. The current EPA network also has other topologies, but there are also problems such as failure of terminals or switches, which easily lead to the paralysis of the entire network and the inability of all terminals to communicate with each other, resulting in insufficient network stability.

[0025] In order to at least partially solve the above-mentioned problems and one or more of other potential problems, an example embodiment of the present disclosure proposes a data transmission system, in which two ring networks (a first ring network and a second ring network) are formed based on EPA switches, and a first star network is constructed based on a first target switch in the first ring network and a second target switch in the second ring network for multiple first terminal devices, and a second star network is constructed based on a third target switch in the first ring network and a fourth target switch in the second ring network for multiple second terminal devices, thereby forming a network topology structure combining a ring network and a star network, effectively improving the stability of the network.

[0026] Figure 2A schematic diagram of the topological structure of a data transmission system 200 of an embodiment of the present disclosure is shown. The data transmission system includes: a first ring network, a second ring network, a plurality of first terminal devices, and a plurality of second terminal devices. The first ring network includes a plurality of first EPA switches; the second ring network includes a plurality of second EPA switches. The plurality of first terminal devices are communicatively connected with a first target switch among the plurality of first EPA switches and a second target switch among the plurality of second EPA switches; the plurality of second terminal devices are communicatively connected with a third target switch among the plurality of first EPA switches and a fourth target switch among the plurality of second EPA switches; the first target switch is different from the third target switch, and the second target switch is different from the fourth target switch. In this embodiment, the first ring network 201 and the second ring network 202 are both single ring networks.

[0027] For example, the data transmission system 200 includes a first ring network 201, a second ring network 202, a first group of terminal devices 203, and a second group of terminal devices 204. The first ring network 201 is formed by connecting a plurality of first EPA switches in sequence. It should be understood that the connection here can be a wired connection or a wireless connection. The plurality of first EPA switches, for example, include switch SWA1, switch SWA2, ... switch SWAn, where n is a positive integer greater than or equal to 2.

[0028] The second ring network 201 is formed by connecting a plurality of second EPA switches in sequence. The plurality of second EPA switches include, for example, switch SWB1, switch SWB2, ... switch SWBn. The number of second EPA switches included in the second ring network 202 may be the same as or different from the number of first EPA switches included in the first ring network 201.

[0029] The first group of terminal devices 203 includes a plurality of first terminal devices (e.g., terminal device D1, terminal device D2, terminal device D3, and terminal device D4). The plurality of first terminal devices in the first group of terminal devices 203 are all connected to the same first target switch among the plurality of first EPA switches in the first ring network 201, forming a star network with the first target switch as the central device. For example, the plurality of first terminal devices in the first group of terminal devices 203 (e.g., terminal device D1, terminal device D2, terminal device D3, and terminal device D4) are all connected to the same first target switch (e.g., switch SWA1) among the plurality of first EPA switches in the first ring network 201. In addition, the plurality of first terminal devices in the first group of terminal devices 203 are also connected to the same second target switch among the plurality of second EPA switches in the second ring network 202, forming a star network with the second target switch as the central device. For example, multiple first terminal devices (e.g., terminal device D1, terminal device D2, terminal device D3, and terminal device D4) in the first group of terminal devices 203 are all connected to the same second target switch (e.g., switch SWB1) among multiple second EPA switches in the second ring network 202. Therefore, multiple first terminal devices in the first group of terminal devices 203 form a double star network based on the first target switch and the second target switch. Terminal device D1, terminal device D2, terminal device D3, and terminal device D4 all include a first port A and a second port B, wherein the first port A is connected to the switch SWA1 as the first target switch, and the second port B is connected to the switch SWB1 as the second target switch.

[0030] The second group of terminal devices 204 includes a plurality of second terminal devices (e.g., terminal device D5, terminal device D6, terminal device D7, ... terminal device Dn), and the plurality of second terminal devices in the second group of terminal devices 204 are all connected to the same third target switch among the plurality of first EPA switches in the first ring network 201, forming a star network with the third target switch as the central device. For example, the plurality of second terminal devices in the second group of terminal devices 204 (e.g., terminal device D5, terminal device D6, terminal device D7, ... terminal device Dn) are all connected to the same third target switch (e.g., switch SWA2) among the plurality of first EPA switches in the first ring network 201 through the first port A. In addition, the plurality of second terminal devices in the second group of terminal devices 203 are also connected to the same fourth target switch among the plurality of second EPA switches in the second ring network 202, forming a star network with the fourth target switch as the central device. For example, multiple second terminal devices (such as terminal device D5, terminal device D6, terminal device D7, ... terminal device Dn) in the second group of terminal devices 204 are all connected to the same fourth target switch (such as switch SWB2) among multiple second EPA switches in the second ring network 202 through the second port B. Therefore, the multiple second terminal devices in the second group of terminal devices 204 form a double star network based on the third target switch and the fourth target switch.

[0031] It should be understood that the first target switch is different from the third target switch, and the second target switch is different from the fourth target switch.

[0032] In some embodiments, the data transmission system 200 further includes other groups of terminal devices (eg, a third group of terminal devices, etc.), and the third group of terminal devices may form a dual star network based on the EPA switch SWAn and the EPA switch SWBn.

[0033] In the data transmission system 200, two groups of switches form two independent ring networks, and each of the two or more groups of terminal devices uses the same switch in one of the two independent ring networks as a hub device to form a star network. In addition, each of the two or more groups of terminal devices also uses the same switch in the other of the two independent ring networks as a hub device to form a star network, thereby forming a double star network.

[0034] Therefore, in the data transmission system 200, the failure of any single terminal will not affect the normal operation of other terminal nodes; the failure of a single switch in the data transmission system 200 can also ensure the normal operation of the network; the failure of a single switch ring network in the data transmission system 200 will not affect the normal operation of the network. In addition, even if both switches connected to the same terminal device in the data transmission system 200 fail, it will only affect the data communication between the terminal devices connected to the switch, and will not cause the entire network (i.e., the data transmission system 200) to fail as a whole.

[0035] In addition, it is explained that in the data transmission system 200, the terminal equipment is connected to two groups of EPA switches through a dual star network topology, and the two groups of switches are connected to form two independent ring networks. Therefore, all terminal nodes only need to be connected to two adjacent switches, and then the switches are cascaded to form a ring network, which reduces the length of the wiring.

[0036] Figure 3 A schematic diagram of the topology structure of the data transmission system of an embodiment of the present disclosure is shown. In some embodiments, the first EPA switch (e.g., switch SWA1, switch SWA2) and the second EPA switch (e.g., switch SWB1, switch SWB2) as the target switch include a star ring conversion module 211 and an EPA switching module 212. In some embodiments, the first EPA switch and the second EPA switch also include an EPA protocol stack 213 and an Ethernet data processing module 214. The star ring conversion module 211 is communicatively connected to the EPA switching module 212. The EPA switching module 212 is communicatively connected to the EPA protocol stack 213, and the EPA switching module 212 is also communicatively connected to multiple EPA nodes 215. The EPA node 215 is, for example, a first terminal device of the EPA terminal type, which can send and receive EPA messages. The EPA protocol stack 213 is communicatively connected to the Ethernet data processing module 214. The Ethernet data processing module 214 is communicatively connected to the Ethernet node 216. The Ethernet node 216 is, for example, a first terminal device of the Ethernet terminal type, which can transmit messages that comply with the Ethernet protocol. It should be understood that the message format of the message that complies with the Ethernet protocol is different from that of the EPA message. To achieve data transmission between Ethernet devices (including terminals and switches) and EPA devices (including terminals and switches), it is necessary to convert the message format between the messages that comply with the Ethernet protocol and the message format of the EPA message.

[0037] It should be understood that the main functions of the Ethernet data processing module 214 involve processing the data flow from the switch to the protocol stack, storing the ordinary Ethernet data from the switch, and delivering the data to the EPA protocol stack in the non-periodic period. The EPA protocol stack packages the data and encapsulates it into EPA non-periodic data and sends it to the EPA system network, as well as processing the data flow from the protocol stack to the switch. It receives the non-periodic data from the EPA protocol stack and sends it to the switch.

[0038] The EPA switching module 212 is connected to the star network processing unit 211 and the EPA node 215 (e.g., the first terminal device of the EPA terminal type). The EPA switching module 212 is configured to transmit a received message about the terminal device from the first terminal device of the EPA terminal type to the star network processing unit, and transmit a sent message about the terminal device from the star network processing unit to the first terminal device of the EPA terminal type.

[0039] It should be understood that the EPA switching module 212 is used to connect to multiple EPA node devices externally, forward data one-to-many, and realize data interaction between EPA nodes and EPA protocol stack units.

[0040] Specifically, the first terminal device of the EPA terminal type as the EPA node 215 sends an EPA message to the EPA switching module 212, and the EPA message is regarded as a reception message about the terminal device. The EPA switching module 212 transmits the reception message about the terminal device to the star network processing unit 2111 of the star ring conversion module 211. The EPA switching module 212 also receives a transmission message about the terminal device from the star network processing unit 2113 of the star ring conversion module 211, and sends the transmission message to the corresponding target EPA node (e.g., the first terminal device of the EPA terminal type).

[0041] The star-ring conversion module 211 is used to realize the conversion between the star network side and the ring network side so as to realize data transmission. Figure 4 The block diagram of the star ring conversion module of the embodiment of the present disclosure is shown. The star ring conversion module 211 includes, for example, a star network processing unit 2111 , a data feature information buffer unit 2112 , and a ring network processing unit 2113 .

[0042] The star network processing unit 2111 is in communication with the EPA switching module 212 and the ring network processing unit 2113. The star network processing unit 2111 is configured to receive and parse a received message about a terminal device so as to obtain a parsed received message about the terminal device. The star network processing unit 2111 also sends a sent message about the terminal device from the ring network processing unit 2113, for example, to the EPA switching module 212.

[0043] For example, the first target switch includes a ring network processing unit 2113, and the ring network processing unit 2113 is configured to copy the parsed first received message into two copies, so as to transmit the two copied messages to two first EPA switches adjacent to the first target switch in the first ring network, respectively, and the first received message comes from at least one terminal device among the plurality of first terminal devices. It should be understood that the first received message is a message from a terminal device that is communicatively connected to the first target switch.

[0044] For example, the ring network processing unit 2113 is further configured to: use at least one of the two messages from the two first EPA switches as a first transmission message, so as to send it to at least one terminal device among the plurality of first terminal devices. It should be understood that the first transmission message is a message sent by the first EPA switch to a terminal device that is communicatively connected to the first EPA switch.

[0045] For example, the ring network processing unit 2113 is also configured to: in response to determining that the time interval between two messages is less than a predetermined interval threshold, and the message sequence numbers corresponding to the two messages are the same, use one of the two messages as the first transmission message. It should be understood that the predetermined interval threshold can be reasonably set according to the specific application scenario. The ring network processing unit 2113 receives two messages from two first EPA switches adjacent to the first target switch in the first ring network 201, determines the time interval between the two messages, and if the time interval is less than the predetermined interval threshold, and the message sequence numbers corresponding to the two messages are the same, the ring network processing unit 2113 can determine that the two messages are actually the same, and the ring network processing unit 2113 performs redundancy processing and selects any one of the messages as the first transmission message, so as to send it to at least one terminal device of the multiple first terminal devices via the star network processing unit 2111.

[0046] Specifically, the star network processing unit 2111 is provided with a sending channel and a receiving channel. The star network processing unit 2111 receives a receiving message (i.e., a receiving message about a terminal device) from the EPA switching module 212 based on the receiving channel, and then the star network processing unit 2111 verifies the receiving message about the terminal device. If the verification fails, the star network processing unit 2111 discards the receiving message. If the verification succeeds, the star network processing unit 2111 parses the receiving message about the terminal device so as to extract information such as a media access control address (MAC address) and an Internet Protocol address (IP address) from the receiving message about the terminal device. The star network processing unit 2111 transmits the parsed receiving message about the terminal device to the ring network processing unit 2113. Based on the sending channel, the star network processing unit 2111 sends the sending message about the terminal device from the ring network processing unit 2113 to the EPA switching module 212.

[0047] Regarding the ring network processing unit 2113, it is configured to copy the parsed received message about the terminal device into two copies, so as to transmit the two parsed received messages about the terminal device to two first EPA switches adjacent to the first target switch in the first ring network respectively.

[0048] For example, the first target switch further includes a data feature information cache unit 2112, which is communicatively connected to the ring network processing unit 2113 and configured to store data feature information of the first received message sent by the ring network processing unit 2113 so as to form a forwarding list. The ring network processing unit is further configured to query the forwarding list to determine whether the data feature information of the message from the two first EPA switches belongs to the forwarding list, and in response to determining that the data feature information belongs to the forwarding list, not send the message to the two first EPA switches.

[0049] For example, the ring network processing unit 2113 receives a first received message from the star network processing unit 2111 so as to forward it to the first EPA switch in the first ring network 201. The first received message is a message received by the star network processing unit 2111 from at least one terminal device among the multiple first terminal devices. The data feature information cache unit 2112 is used to store data feature information of the first received message received by the ring network processing unit 2113 from the star network processing unit 2111, that is, the data feature information cache unit 2112 is used to store data feature information of the first received message forwarded by the ring network processing unit 2113 to the first ring network 201. The data feature information includes, for example, the MAC address, IP address and other information of the first terminal device. The data feature information is obtained by parsing the first received message.

[0050] It should be understood that the EPA switch in the ring network forwards message data to the EPA switch adjacent to it. When the first target switch receives the message data forwarded by the EPA switch adjacent to it, the ring network processing unit 2113 queries the forwarding list to determine whether the data feature information of the message from the two first EPA switches adjacent to the first target switch belongs to the forwarding list. If the data feature information of the message belongs to the forwarding list, the ring network processing unit 2113 determines that the message is forwarded to the first ring network 201 via the first target switch, and after being forwarded by the first switch in the first ring network 201, it returns to the first target switch. Therefore, the ring network processing unit 2113 performs forwarding suppression and no longer forwards the message.

[0051] In some embodiments, the first target switch also includes a star network processing unit 2111, which is communicatively connected to the ring network processing unit 2113 and is configured to receive a first received message and parse the first received message to obtain a parsed first received message, and to send a first sent message from the ring network processing unit 2113.

[0052] In some embodiments, the first target switch also includes an EPA switching module, which is communicatively connected to the star network processing unit and the first terminal device of the EPA terminal type, and is configured to transmit a first received message from the first terminal device of the EPA terminal type to the star network processing unit, and to transmit a first sent message from the star network processing unit to the first terminal device of the EPA terminal type.

[0053] In some embodiments, the first target switch further includes an Ethernet data processing module and an EPA protocol stack. The Ethernet data processing module is communicatively connected to the EPA protocol stack and the first terminal device of the ordinary Ethernet terminal type, and is configured to store ordinary Ethernet data from the first terminal device of the ordinary Ethernet terminal type, and deliver the ordinary Ethernet data to the EPA protocol stack in a non-periodic manner, and receive ordinary Ethernet data from the EPA protocol stack and send it to the first terminal device of the ordinary Ethernet terminal type. The EPA protocol stack is communicatively connected to the EPA switching module, and is configured to convert ordinary Ethernet data into EPA non-periodic data so as to transmit the converted EPA non-periodic data to the EPA switching module, and convert the EPA non-periodic data from the EPA switching module into ordinary Ethernet data so as to transmit the converted ordinary Ethernet data to the Ethernet data processing module.

[0054] In some embodiments, the star network processing unit is further configured to perform verification on the first received message, and extract a media access control address and an Internet Protocol address from the first received message.

[0055] Figure 5 A schematic diagram of the topology of a data transmission system of an embodiment of the present disclosure is shown. In some embodiments, at least one of the first ring network 201 and the second ring network 202 is a dual ring network. For example, in some embodiments, one of the first ring network 201 and the second ring network 202 is a dual ring network, and the other is a single ring network. In some embodiments, both the first ring network 201 and the second ring network 202 are dual ring networks.

[0056] Specifically, regarding the ring network, the ring network processing unit 2113 has two interfaces so as to communicate and connect with the ring network processing units 2113 of other EPA switches constituting the ring network (i.e., the two first EPA switches adjacent to the current first target switch in the first ring network). For example, the ring network processing unit 2113 in the EPA switch SWA1 is communicated and connected with one of the interfaces of the ring network processing unit 2113 in the EPA switch SWA2 through one of the two interfaces, and the ring network processing unit 2113 in the EPA switch SWA1 is communicated and connected with one of the interfaces of the ring network processing unit 2113 in the EPA switch SWAn (assuming that the EPA switch SWAn is adjacent to the EPA switch SWA1) through the other of the two interfaces.

[0057] The ring network processing unit 2113 is responsible for the forwarding of the ring network message and the sending and receiving of the local message. The ring network processing unit 2113 receives the parsed reception message about the terminal device from the star network processing unit 2111, and copies the parsed reception message about the terminal device into two copies and distributes them to the two interfaces required by the ring network.

[0058] It should be understood that in the data transmission system 200, the EPA terminal is connected to two groups of EPA switches through a dual star network topology, and the two groups of switches are connected to form two independent ring networks. All terminal nodes only need to be connected to two adjacent switches, and then the switches are cascaded, which reduces the length of the wiring.

[0059] In the data transmission system 200, the terminal device can be an EPA type terminal (which can send and receive EPA messages) or an ordinary Ethernet terminal (which can send and receive messages of the ordinary Ethernet protocol). It can realize mutual communication between EPA and EPA devices, and between EPA and ordinary Ethernet devices, as well as mutual communication between ordinary Ethernet devices across switches.

[0060] In some embodiments, important equipment can also be backed up to achieve equipment redundancy, and when a device fails, it can switch to another backup device with the same function.

[0061] In some embodiments, the EPA protocol stack includes a clock competition module, a clock synchronization module, a real-time data processing module, a non-real-time data processing module, a data redundancy module, etc.

[0062] It should be understood that the star network processing unit 2111 is mainly responsible for processing the star network data, which can be divided into a sending channel and a receiving channel. When the receiving channel processes the received message, it first performs a check, and if the check is correct, it extracts the message MAC and IP information. The sending channel sends the data output by the ring network processing unit 2113 to the EPA switching module 212.

[0063] The data feature information cache unit 2112 is mainly responsible for collecting and storing the star network output data feature information, and for providing the ring network engine with query whether the feature information of the forwarded message is in the storage table during ring network forwarding. If so, it means that the message is sent by the locally connected device and forwarding should be suppressed. If not, the message is received and forwarded.

[0064] The ring network processing unit 2113 is responsible for forwarding the ring network message and sending and receiving local messages. The star network data is copied twice and distributed to the two interfaces required by the ring network. The two-way data of the ring network is received at the same time, and redundancy is performed at the same time, and one way is selected to be output to the star network processing unit 2111.

[0065] It should be understood that the second target switch, the third target switch and the fourth target switch are similar to the first target switch and are not described in detail here.

[0066] It is worth noting that, for the nodes forming the star network based on the first target switch, the mutual forwarding communication of data is realized through the star network processing unit 2111 inside the first target switch. At the same time, the data sent by the star network node will be sent to the ring network port of other first EPA switches through the ring network port of the first target switch. After receiving the data, the first EPA switch will send it to other star network EPA nodes connected to the first EPA switch after redundancy processing, thereby realizing mutual communication between EPA nodes.

[0067] For ordinary Ethernet nodes, the first target switch places the message of the Ethernet device connected to the switch in the non-real-time data segment of the EPA message for transmission. The data passes through the two ring network ports of the first target switch, and the same data is sent out from the two ports. After receiving the message, other first EPA switches perform redundant processing and then send the data to the Ethernet device, thereby realizing mutual communication between Ethernet devices.

[0068] The ring networks are connected by single ring or double ring. The data transmitted in the ring networks are redundant. If a line failure occurs, it will not affect the normal operation of the entire network.

[0069] At the same time, the two groups of switches are independent of each other. EPA nodes and ordinary Ethernet nodes are connected to the two groups of EPA switches through two channels. Through the internal redundancy processing mechanism, link redundancy is achieved to ensure that link failure does not affect the normal operation of the equipment.

[0070] It is worth noting that in the data transmission system 200 disclosed in the present invention, redundancy is increased, and the risk of failure that may occur in a single ring network and a single star network is reduced. In addition, the communication between the EPA device and the common Ethernet device is realized through the EPA switch at the same time. Further, the wiring difficulty in the project implementation process is reduced.

[0071] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

[0072] The above are only optional embodiments of the present disclosure and are not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A data transmission system, characterized in that: include: A first ring network including a plurality of first EPA switches; a second ring network including a plurality of second EPA switches; A first star network includes a plurality of first terminal devices, wherein the plurality of first terminal devices are communicatively connected with a first target switch among the plurality of first EPA switches and a second target switch among the plurality of second EPA switches; as well as The second star network includes multiple second terminal devices, which are communicatively connected to a third target switch among the multiple first EPA switches and a fourth target switch among the multiple second EPA switches; the first target switch is different from the third target switch, and the second target switch is different from the fourth target switch.

2. The data transmission system according to claim 1, characterized in that: The first target switch comprises: The ring network processing unit is configured to copy the parsed first received message into two copies so as to transmit the two copied messages to two first EPA switches adjacent to the first target switch in the first ring network respectively, and the first received message comes from at least one terminal device among the multiple first terminal devices.

3. The data transmission system according to claim 2, characterized in that: The first target switch also includes: a data characteristic information cache unit, which is communicatively connected to the ring network processing unit and is configured to store the data characteristic information of the first received message so as to form a forwarding list; The ring network processing unit is further configured to query a forwarding list to determine whether data feature information of the message from the two first EPA switches belongs to the forwarding list, and in response to determining that the data feature information belongs to the forwarding list, not send the message to the two first EPA switches.

4. The data transmission system according to claim 2, characterized in that: The ring network processing unit is further configured to determine a first transmission message according to two messages from two first EPA switches adjacent to the first target switch in the first ring network, so as to send the first transmission message to at least one terminal device of the plurality of first terminal devices.

5. The data transmission system according to claim 4, characterized in that: The ring network processing unit is further configured to: in response to determining that the time interval between the two messages is less than a predetermined interval threshold and the message sequence numbers corresponding to the two messages are the same, determine that any one of the two messages is the first sent message.

6. The data transmission system according to claim 2, characterized in that: The first target switch also includes: The star network processing unit is communicatively connected to the ring network processing unit and is configured to receive a first received message and parse the first received message to obtain the parsed first received message and transmit it to the ring network processing unit, and to send a first sent message from the ring network processing unit to at least one terminal device of a plurality of first terminal devices.

7. The data transmission system according to claim 6, characterized in that: The first target switch also includes: The EPA switching module is communicatively connected to the star network processing unit and the first terminal device of the EPA terminal type, and is configured to transmit a first received message from the first terminal device of the EPA terminal type to the star network processing unit, and to transmit a first sent message from the star network processing unit to the first terminal device of the EPA terminal type.

8. The data transmission system according to claim 7, characterized in that: The first target switch also includes: an Ethernet data processing module, which is communicatively connected to the EPA protocol stack and the first terminal device of the common Ethernet terminal type, and is configured to store the common Ethernet data from the first terminal device of the common Ethernet terminal type, deliver the common Ethernet data to the EPA protocol stack in a non-periodic manner, and receive the common Ethernet data from the EPA protocol stack and send it to the first terminal device of the common Ethernet terminal type; and The EPA protocol stack is communicatively connected to the EPA switching module and is configured to convert ordinary Ethernet data into EPA non-periodic data so as to transmit the converted EPA non-periodic data to the EPA switching module, and to convert the EPA non-periodic data from the EPA switching module into ordinary Ethernet data so as to transmit the converted ordinary Ethernet data to the Ethernet data processing module.

9. The data transmission system according to claim 6, characterized in that: The star network processing unit is further configured to verify the first received message and extract a media access control address and an Internet protocol address from the first received message.

10. The data transmission system according to claim 1, characterized in that: At least one of the first ring network and the second ring network is a dual ring network.

Citation Information

Patent Citations

  • Ring or linear network system based on EPA protocol and non-real-time data transmission method

    CN111682994A

  • Method for EPA link diagnosis, EPA equipment and computer storage medium

    CN113328917A

  • Method for transmitting data, electronic equipment and storage medium

    CN117376424A

  • Ring / star type ethernet system, ring / star type switch, and frame transfer control method

    JP2014011604A

  • Fault-tolerant Ethernet network

    US20080062864A1