Industrial network, data transmission method, node and storage medium
By configuring the dual ports and addresses of nodes in an industrial network, data transmission with zero recovery time in complex topology is realized, data loss in the prior art is solved, and network reliability is improved.
Patent Information
- Application Number
- CN202411549547.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-02-28
AI Technical Summary
Existing ring network redundancy technology is difficult to take into account complex topology and zero recovery time, resulting in the risk of data loss after a failure occurs.
By configuring the first and second ports of each node in the industrial network and assigning a first and second addresses to each node, the two-way transmission of data between two nodes is realized, ensuring that when there is a failure in one link, the transmission of data packets in the other link will not be affected.
It realizes data transmission with zero recovery time in complex topology, avoids data loss caused by failures, and improves the reliability of industrial networks.
Smart Images

Figure CN119544513A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of industrial communication technology, and in particular to an industrial network, a data transmission method, a node and a storage medium. Background Art
[0002] In industrial network applications, data transmission reliability is crucial, and data errors or losses are prone to occur in harsh environments.
[0003] The related technology uses ring network redundancy technology, which forms a ring topology network through multiple devices and is equipped with a device and link monitoring system. During operation, the node and link status can be monitored, and when a fault is detected, the path selection algorithm is used to switch the path to ensure data transmission. However, after a fault occurs, the fault detection and path selection algorithm execution require a certain amount of time to restore the path, and there is still a risk of data loss during the recovery period because the fault has not been completely eliminated. Most of the zero-recovery redundant ring network technologies in the related technology can only support a single ring topology network and cannot be implemented in a redundant hybrid networking architecture composed of multiple ring networks.
[0004] It can be seen that the current ring network redundancy technology is difficult to take into account both complex topology and zero recovery time. Summary of the invention
[0005] Based on this, it is necessary to provide an industrial network, data transmission method, node and storage medium that can take into account both complex topology and zero recovery time in order to address the above technical problems.
[0006] In a first aspect, the present application provides an industrial network, wherein the industrial network includes at least one ring network, including:
[0007] A first port and a second port are configured on at least one node of any ring network;
[0008] Each node in the architecture includes a first address and a second address for addressing, and the first port and the second port are used to transmit data packets carrying the first address or the second address.
[0009] In a second aspect, the present application further provides a data transmission method, which is applied to a source node in an industrial network including at least one ring network, wherein a first port and a second port are configured on at least one node of any ring network in the industrial network; each node in the industrial network includes a first address and a second address for addressing, and the method includes:
[0010] Sending data and a destination node address according to a sending port type on the source node;
[0011] The destination node address includes the first address or the second address of the destination node.
[0012] In a third aspect, the present application further provides a data transmission method, which is applied to a receiving node in an industrial network including at least one ring network, wherein a first port and a second port are configured on at least one node of any ring network in the industrial network; each node in the industrial network includes a first address and a second address for addressing, including:
[0013] receiving data and a destination node address corresponding to the data;
[0014] If the destination node address is a local address, determining the receiving node as the destination node;
[0015] If the destination node address is not a local address, forwarding the data and the destination node address to a target port according to the type of the receiving port on the receiving node;
[0016] The destination node address includes the first address or the second address of the destination node.
[0017] In a fourth aspect, the present application further provides a source node, the source node being applied to an industrial network including at least one ring network, wherein a first port and a second port are configured on at least one node of any ring network in the industrial network; each node in the industrial network includes a first address and a second address for addressing, and the source node includes:
[0018] A sending module, used for sending data and a destination node address according to a sending port type on the source node;
[0019] The destination node address includes the first address or the second address of the destination node.
[0020] In a fifth aspect, the present application further provides a receiving node, the receiving node being applied to an industrial network including at least one ring network, wherein at least one node in any one ring network in the industrial network is configured with a first port and a second port; each node in the industrial network includes a first address and a second address for addressing, and the receiving node includes:
[0021] A receiving module, used for receiving data and a destination node address corresponding to the data;
[0022] a forwarding processing module, configured to determine that the receiving node is the destination node if the destination node address is a local address; and forward the data and the destination node address to a target port according to a type of a receiving port on the receiving node if the destination node address is not a local address;
[0023] The destination node address includes the first address or the second address of the destination node.
[0024] In a sixth aspect, the present application further provides a node, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method described in the third aspect or the fourth aspect above is implemented.
[0025] In a seventh aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method described in the third aspect or the fourth aspect above is implemented.
[0026] In an eighth aspect, the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the method described in the third aspect or the fourth aspect above.
[0027] The above industrial network includes at least one ring network, and a first port and a second port are configured on at least one node of any ring network in the industrial network; wherein each node in the industrial network includes a first address and a second address for addressing, and the first port and the second port are used to transmit data packets carrying the first address or the second address. Through the above industrial network, two transmission links can exist between any two nodes, and data packets carrying the first address or the second address can be transmitted through the first port and the second port on the node. When data is transmitted between two nodes, data packets carrying data and the first address, as well as data packets carrying data and the second address can be transmitted simultaneously, so that when a fault occurs in one link, the transmission of data packets in another link is not affected, thus taking into account both complex topology and zero recovery time. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0029] FIG1 is a schematic diagram of an industrial network of a single ring network;
[0030] FIG2 is a schematic diagram of a wired and wireless converged network;
[0031] FIG3 is a second schematic diagram of a wired and wireless converged network;
[0032] FIG4 is a schematic diagram of an industrial network composed of multiple ring networks;
[0033] FIG5 is a schematic diagram of an industrial network composed of multiple ring networks and one linear network;
[0034] FIG6 is a schematic diagram of a topological address structure;
[0035] FIG7 is a schematic diagram of a topological address allocation case for each node;
[0036] FIG8 is a schematic diagram showing the composition of PTNA and BTNA of node 9;
[0037] FIG9 is a schematic diagram of a unique address allocation logic;
[0038] FIG10 is a schematic flow chart of a data transmission method of a source node;
[0039] FIG11 is a schematic diagram of a coincidence judgment case;
[0040] FIG12 is a schematic flow chart of a data transmission method of a receiving node;
[0041] FIG13 is a schematic diagram of a data message forwarding process;
[0042] FIG14 is a second schematic diagram of a data message forwarding process;
[0043] FIG15 is a block diagram of a source node in one embodiment;
[0044] FIG16 is a block diagram of a receiving node in one embodiment;
[0045] FIG. 17 is a diagram showing the internal structure of a node in one embodiment. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0047] In industrial network applications, the recovery time after a fault is very demanding. In order to avoid errors or losses in data transmission caused by harsh environments, related technologies use ring network redundancy technology to build a ring topology network (ring network) with multiple devices. When the redundant network architecture is running, it is equipped with equipment and link monitoring systems, which can monitor the status of ring network nodes and links in real time, respond in time when faults are detected, and use path selection algorithms to select normal paths from multiple communication paths to transmit data, realize path switching recovery, prevent communication failures due to failures in some paths and ensure reliable data transmission.
[0048] However, the above method needs to perform fault detection and path selection algorithm after the fault occurs, which makes the path recovery take a certain amount of time. During the recovery period, since the fault still exists, there will still be data loss, affecting the normal operation of the industrial network. In addition, most of the existing zero-recovery redundant ring network technologies cannot build a redundant hybrid networking architecture based on multiple ring networks, and do not have the fault tolerance capability of single-node failures.
[0049] In the existing industrial network protocols, ring network redundancy technology has technical problems and defects. These problems are reflected in different types of ring network redundancy technologies and have different degrees of impact on industrial networks.
[0050] Among them, the non-zero recovery time ring network redundancy technology can support more complex ring network topology. However, once a fault occurs, this technology needs to perform fault detection and path switching recovery process. This process will take a certain amount of recovery time, and during this time, data loss may occur. Data loss will inevitably have an adverse impact on the operation of the entire system, which is an obvious problem faced by this type of ring network redundancy technology. Unlike the non-zero recovery time ring network redundancy technology, the zero recovery time ring network redundancy technology does not need to perform fault detection and path switching recovery process after a fault occurs. This feature makes it not cause data loss and will not affect the operation of the system. However, this technology usually can only support a single ring topology networking structure, which means that when faced with more complex ring network topology requirements, it seems to be unable to cope with it.
[0051] Combining the above two ring network redundancy technologies, we can find that the current ring network redundancy technology has a certain compromise in supporting complex topology structures and achieving zero recovery time. In other words, it is often impossible to achieve zero recovery time if you want to support complex topology structures, and it is difficult to achieve zero recovery time if you can achieve zero recovery time. This compromise reflects that the development of ring network redundancy technology in industrial network protocols is still facing a dilemma that needs further breakthroughs.
[0052] In the embodiments of the present application, an industrial network with a redundant network architecture can be provided, and a redundancy mechanism with zero recovery time can be provided, which can solve the problem of data loss, ensure reliable data transmission, and take into account complex topology structures and zero recovery time.
[0053] The industrial network in the embodiments of the present application may have a variety of networking forms.
[0054] In an embodiment of the present application, the industrial network includes at least one ring network, and a first port and a second port are configured on at least one node of any ring network in the industrial network; wherein each node in the industrial network includes a first address and a second address for addressing, and the first port and the second port are used to transmit data packets carrying the first address or the second address.
[0055] In some embodiments, Figure 1 is a schematic diagram of an industrial network of a single ring network. As shown in Figure 1, at least one ring network in the industrial network can be a single ring network, in which each node is configured with a first port and a second port, and in Figure 1, the first port is marked as PE and the second port is marked as BE.
[0056] In some embodiments, the above-mentioned industrial network can be a single-ring network, and the single-ring network is a wired-wireless fusion network, and a first virtual port and / or a second virtual port are configured on the fusion node in the wired-wireless fusion network; wherein the first virtual port and the second virtual port are used to establish a wireless connection, and mapping and forwarding are performed between the first port and the second virtual port in the fusion node, and mapping and forwarding are performed between the second port in the fusion node and the first virtual port.
[0057] Among them, mapping forwarding between the first port and the second virtual port may mean that information forwarded through the first port can be forwarded to the second virtual port, and information forwarded through the second virtual port can be forwarded to the first port; mapping forwarding between the second port and the first virtual port may mean that information forwarded through the second port can be forwarded to the first virtual port, and information forwarded through the first virtual port can be forwarded to the second port.
[0058] The above-mentioned fusion node includes: a management station (MS) or a terminal station (TS).
[0059] In some embodiments, the fusion node includes a management station and a terminal station, and the management station and the terminal station are configured with a first virtual port and a second virtual port.
[0060] In the embodiment of the present application, the first port may be represented as a primary entry (PE) port, and the second port may be represented as a backup entry (BE) port.
[0061] For example, FIG2 is an industrial network schematic diagram of a wired-wireless converged network. As shown in FIG2, the converged node in the wired-wireless converged network includes an MS and a TS, and the first port in each node in the wired-wireless converged network is marked as PE, and the second port is marked as BE. The MS and the TS are configured with a first virtual port vPE and a second virtual port vBE.
[0062] Among them, the mapping forwarding is performed between BE and vPE in MS, and between PE and vBE. The mapping forwarding is performed between BE and vPE in TS, and between PE and vBE.
[0063] In some embodiments, the wired-wireless converged network includes a management station and two terminal stations, wherein a first virtual port and a second virtual port are configured in one management station, a first virtual port is configured in the first terminal station of the two terminal stations, and a second virtual port is configured in the second terminal station.
[0064] Exemplarily, FIG3 is a second industrial network schematic diagram of a wired-wireless converged network. As shown in FIG3, the converged nodes in the wired-wireless converged network include MS, TS1, and TS2. The first port in each node in the wired-wireless converged network is marked as PE, and the second port is marked as BE. Among them, the MS is configured with a first virtual port vPE and a second virtual port vBE, TS1 is configured with a second virtual port vBE, and TS2 is configured with a first virtual port vPE.
[0065] Among them, the mapping forwarding is performed between BE and vPE in MS, and between PE and vBE. The mapping forwarding is performed between PE and vBE in TS1, and between BE and vPE in TS2.
[0066] The industrial networks shown in Figures 2 and 3 above include two paths (i.e., a main path and a secondary path), through which data streams can be transmitted, and in Figures 2 and 3, dashed arrows are used to show the main path data stream, and the secondary path data stream is shown by an arrow. It should be noted that in actual applications, these two paths will be enabled at the same time, without distinguishing between the main and the secondary, so that when a problem occurs on one path, the transmission of the other path will not be affected. The first port is the sending port of the node on the main path, and the second port is the sending port of the node on the secondary path.
[0067] The above fusion nodes all have the function of port address identification and forwarding, that is, determining the data frame forwarding port by identifying address information.
[0068] In some embodiments, the industrial network includes multiple networks, and the industrial network also includes: a configured third port and a fourth port, the third port is directly or indirectly connected to the first port; the fourth port is directly or indirectly connected to the second port; wherein the third port and the fourth port are used to transmit data packets carrying the first address or the second address.
[0069] In some embodiments, the above-mentioned industrial network may include multiple networks, the multiple networks include multiple ring networks, or the multiple networks include at least one ring network and at least one linear network; wherein, a first port and a second port are configured on any node of a first network in the multiple networks; in each second network of the multiple networks, the first port and the second port are configured on the same node or on different nodes, the first network is any network in the multiple networks, the second network is a network in the multiple networks other than the first network, and the first port and the second port configured in the second network are used to establish a coupling connection between the networks.
[0070] Among them, any node of the above-mentioned first network can become the initial node.
[0071] Exemplarily, FIG4 is a schematic diagram of an industrial network composed of multiple ring networks. As shown in FIG4, the industrial network includes four ring networks, which are respectively represented as ring network A, ring network B, ring network C and ring network D. The settings of the first port (PE), the second port (BE), the third port and the fourth port in each node in the network can be as shown in FIG4. Among them, the third port can be represented as a primary ring network (PR) port, and the fourth port can be represented as a backup ring network (BR) port.
[0072] In some embodiments, the multiple networks include at least one ring network and at least one linear network; the first port and the second port used to establish a coupling connection between the ring network and the linear network are at the same node, and the first port and the second port used to establish a coupling connection between the ring networks are at different nodes.
[0073] For example, Fig. 5 is a schematic diagram of an industrial network composed of multiple ring networks and a linear network. As shown in Fig. 5, the industrial network includes four ring networks, which are respectively represented as ring network A, ring network B, ring network C and ring network D, and also includes a non-ring network E (i.e., a linear network).
[0074] Through the above industrial network, two transmission links can exist between any two nodes, and data packets carrying the first address or the second address can be transmitted through the first port and the second port on the node. When data is transmitted between the two nodes, data packets carrying data and the first address, as well as data packets carrying data and the second address can be transmitted at the same time. Therefore, when there is a fault in one link, the transmission of data packets in the other link will not be affected, thus taking into account both complex topology and zero recovery time.
[0075] In some embodiments, each node in the industrial network indicated by any of the above industrial network schematic diagrams may include two first addresses and two second addresses for addressing. The first addresses and the second addresses are unique.
[0076] In the embodiment of the present application, there are two implementation methods for the first address and the second address. One implementation method is to implement them through a topological address, and the other implementation method is to implement them through a unique address.
[0077] (1) Topological address method:
[0078] In some embodiments, the first address and the second address include: topological location information and port information of the selected branch in the node. The first address and the second address including the topological location information and the port information of the selected branch in the node can be called topological addresses.
[0079] For example, the topological location information can be identified in order by numerical values, and the port information of the selection branch in the node can be distinguished by a special identifier. For example, different ports can be distinguished by representations a, b, c...
[0080] Exemplarily, FIG6 is a schematic diagram of a topology address structure, in which I represents topology location information, p represents port information, the initial node is located at the 0th layer, and the topology address will have the identification of the next layer after passing through the first port or the second port. The topology location information of the next layer starts from 1, and so on. The topology address allocated through the first port is the primary topology node address (Primary Topology Node Address, PTNA), that is, the first address mentioned above. The topology address allocated through the second port is the backup topology node address (Backup Topology Node Address, BTNA), that is, the second address mentioned above. Among them, the BTNA address does not change the topology location information of the current level PTNA address, but only replaces the lower-level topology address of the PTNA.
[0081] For example, FIG7 is a schematic diagram of a topological address allocation case of each node determined according to the topological address structure shown in FIG6. As shown in FIG7, it can be seen that the network includes 11 nodes, and two addresses can be set in each node, namely the primary topology node address (Primary Topology Node Address, PTNA), which can also be expressed as PA, that is, the first address mentioned above, and the backup topology node address (Backup Topology Node Address, BTNA), which can also be expressed as BA, that is, the second address mentioned above. The solid line frame in the node in FIG7 represents PTNA, and the dotted line frame represents BTNA.
[0082] Exemplarily, the content shown in FIG. 8 can be obtained in combination with FIG. 7 . FIG. 8 is a schematic diagram of the composition of the PTNA and BTNA of the node 9 .
[0083] The PTNA address of node 9 is 3(a).1:
[0084] The 0th layer is 3(a), I0=3, p0=a; the 1st layer is 1, I1=1.
[0085] The BTNA address of node 9 is 5(a).1:
[0086] The 0th layer is 5 (a), I0 = 5, p0 = a; the 1st layer is 1, I1 = 1. The BTNA address does not change the location information I1 of the current layer PTNA address, but only replaces the lower layer topology address l0 (p0) of PTNA.
[0087] It should be noted that FIG. 8 only shows the PTNA and BTNA related contents of the node 9 in the table, and the blank part in the table is not shown because the address information irrelevant to the node 9 is not shown.
[0088] Since the topological address itself includes the topological location information and the port information of the selected branch in the node, it is easier to subsequently determine the topological location of each node, or determine the positional relationship between each node, and provides a data basis for the transmission rules in the subsequent data transmission process.
[0089] (2) Unique address method:
[0090] Each node can be assigned two node addresses (including a first address and a second address) similar to an ID card for unique identification of the network node. The first address can be represented as the primary address (PA) and the second address can be represented as the backup address (BA).
[0091] For example, Figure 9 is a schematic diagram of a unique address allocation logic. In Figure 9, the network includes 11 nodes, each of which includes two first addresses and second addresses similar to ID cards. Among them, the solid line frame in the node represents the first address, and the dotted line frame represents the second address.
[0092] In the process of data transmission in the above industrial network, data needs to be sent from the source node to the destination node. The transmission process involves sending by the source node, receiving by the receiving node, forwarding by the receiving node, and receiving and deduplication by the destination node. In order to more clearly illustrate the solution of the embodiment of the present application, the following is explained from the perspective of different nodes.
[0093] Source Node
[0094] In an embodiment of the present application, a data transmission method is provided, which can be applied to a source node, wherein the source node can be any node in any of the above-mentioned industrial networks.
[0095] The data transmission method provided in the embodiment of the present application can send data and the destination node address according to the sending port type on the source node.
[0096] The types of the above-mentioned receiving port may include but are not limited to: a first port, a second port, a third port and a fourth port.
[0097] In an embodiment of the present application, the first port can be represented as a primary entry (PE) port, and the second port can be represented as a backup entry (BE) port; the above-mentioned first bridge port can be represented as a PE port of a source node in a bridge ring network, that is, the first bridge port is an SPE (Source PE in bridge ring), and the above-mentioned second bridge port can be represented as a BE port of a source node in a bridge ring network, that is, the second bridge port is an SBE (Source BE in bridge ring) port; the PE port of a destination node in a bridge ring network can be represented as a DPE (Destination PE in bridge ring) port; the BE port of a destination node in a bridge ring network can be represented as a DBE port (Destination BE in bridge ring); the third port can be represented as a primary ring network (Primary Ring, PR) port, and the fourth port can be represented as a backup ring network (Backup Ring, BR) port.
[0098] In an exemplary embodiment, as shown in FIG10 , a data transmission method of a source node is provided, and the method may include but is not limited to:
[0099] 101. Determine whether the network where the source node is located overlaps with the network where the destination node is located.
[0100] Determining whether the network where the source node is located overlaps with the network where the destination node is located may be determining whether there is a common node between the network where the source node is located and the network where the destination node is located.
[0101] In some embodiments, determining whether the network where the source node is located overlaps with the network where the destination node is located may include but is not limited to the following steps 1021 and 1022:
[0102] 1021. Obtain a topological location of a node where a first bridge port and / or a second bridge port is located.
[0103] 1022. Determine whether a network where a source node is located overlaps with a network where a destination node is located according to a topological position of a node where the first bridge port and / or the second bridge port is located.
[0104] The first bridge port is the first port of the source node in the bridge ring network, the second bridge port is the second port of the source node in the bridge ring network, and the bridge ring network is a ring network in which the source node and the destination node are connected together.
[0105] In some embodiments, the topological location of the node where the first bridge port and / or the second bridge port is located may be acquired through network topology information of the industrial network.
[0106] In some embodiments, the topological location of the node where the first bridge port and / or the second bridge port is located may be obtained through a topological address in the node.
[0107] In some embodiments, according to the topological position of the node where the first bridge port and / or the second bridge port are located, determining whether the network where the source node is located overlaps with the network where the destination node is located may include but is not limited to the following two implementations:
[0108] Implementation method (1):
[0109] Obtain the topological position of the destination node; determine whether the network where the source node is located overlaps with the network where the destination node is located according to the topological position of the destination node, combined with the topological position of the node where the first bridge port is located and / or the topological position of the node where the second bridge port is located. Rule 1 in the following Table 1 is applicable. Table 1 is a schematic diagram of the sending logic of the source node.
[0110] Implementation method (2):
[0111] Obtain the topological position of the source node; determine whether the network where the source node is located overlaps with the network where the destination node is located based on the topological position of the source node and the topological positions of the nodes where the first bridge port and the second bridge port are located. Apply rule 2 in Table 1 below.
[0112] Table 1
[0113]
[0114] In Table 1, when the first topological condition in the location judgment corresponding to Rule 1 is met, it indicates that the network where the source node is located overlaps with the network where the destination node is located; when the first topological condition is not met, it indicates that they do not overlap. The first topological condition includes at least one of the following:
[0115] The topological position of the node where the first bridge port is located is within the node where the third bridge port and the fourth bridge port are located;
[0116] The topological position of the node where the second bridge port is located is within the node where the third bridge port and the fourth bridge port are located;
[0117] The topological location of the destination node is within the node where the first bridge port and the second bridge port are located;
[0118] The third bridge port is the third port of the destination node in the bridge ring network, and the fourth bridge port is the fourth port of the destination node in the bridge ring network.
[0119] In Table 1, when the second topology condition in the location judgment corresponding to Rule 2 is met, it means that the network where the source node is located overlaps with the network where the destination node is located; when the above second topology condition is not met, it means that there is no overlap.
[0120] The second topological condition mentioned above includes:
[0121] The topological position of the node where the first bridge port is located is not within the node where the third bridge port and the fourth bridge port are located;
[0122] The topological position of the node where the second bridge port is located is not within the node where the third bridge port and the fourth bridge port are located;
[0123] The topological location of the source node is within the node where the third bridge port and the fourth bridge port are located;
[0124] The third bridge port is the third port of the destination node in the bridge ring network, and the fourth bridge port is the fourth port of the destination node in the bridge ring network.
[0125] 102. According to the type of the sending port on the source node and whether the network where the source node is located overlaps with the network where the destination node is located, send data and the destination node address.
[0126] The destination node address includes the first address or the second address of the destination node, which also indicates that the network where the source node is located overlaps with the network where the destination node is located.
[0127] Referring to Rule 1 in Table 1 above, for the third port or the first port of the source node, when the network where the source node is located overlaps with the network where the destination node is located, the data and the second address of the destination node are sent.
[0128] Referring to Rule 1 in Table 1 above, for the fourth port or the second port of the source node, when the network where the source node is located does not overlap with the network where the destination node is located, the data and the first address of the destination node are sent.
[0129] Referring to Rule 2 in Table 1 above, for the third port or the first port of the source node, when the network where the source node is located does not overlap with the network where the destination node is located, the data and the first address of the destination node are sent;
[0130] Referring to Rule 2 in Table 1 above, for the fourth port or the second port of the source node, when the network where the source node is located does not overlap with the network where the destination node is located, the data and the second address of the destination node are sent.
[0131] In some embodiments, the topological location of the node where the first bridge port and / or the second bridge port is located can be obtained through the topological address in the node, and it can be determined whether the network where the source node is located overlaps with the network where the destination node is located.
[0132] Exemplarily, if SPTNA.l0 to SPTNA.l[n-1]t[n-1] = DPTNA.l0 to DPTNA.l[n-1]t[n-1], and SBTNA.l0 to SBTNA.l[n-1]t[n-1] = DBTNA.l0 to DBTNA.l[n-1]t[n-1], it can be known that the level of the bridged ring network is determined to be n.
[0133] The above SPTNA.l0 represents the location address of the source node at layer 0, SPTNA.l[n-1]t[n-1] represents the location address (l[n-1]) and port address (t[n-1]) of the source node at layer n-1, and the above DPTNA.l0 represents the location address of the destination node at layer 0, and DPTNA.l[n-1]t[n-1] represents the location address (l[n-1]) and port address (t[n-1]) of the destination node at layer n-1.
[0134] When the topological address of layer 0 does not conform to the above formula, layer 0 is used as a bridged ring network, as shown in case 1 (i.e., Case 1) and case 3 (i.e., Case 3) in the overlap judgment case diagram shown in Figure 11. In Figure 11, Bridge Ring Leveln indicates the level of the bridged ring network, n Level Topology indicates the n-layer topology, Same Connected Level n indicates the same connection at the nth layer, Topology indicates the topology, No Crossover / co-root ring data interaction indicates the situation of no overlap, Cross-ring data interaction indicates the situation of overlap, Send tables indicates the rules in Table 1 corresponding to the sending logic, and Rule1 and Rule2 correspond to Rule 1 and Rule 2 in Table 1, respectively.
[0135] Condition 1: SPTNA.l[n] > DBTNA.l[n];
[0136] Condition 2: SBTNA.l[n] > DPTNA.l[n];
[0137] Condition 3: SPTNA.l[n] = DPTNA.l[n] and SBTNA.l[n] = DBTNA.l[n].
[0138] Among them, SPTNA.l[n] represents the location address of the source node at the nth layer, and DBTNA.l[n] represents the location address of the destination node at the nth layer.
[0139] If any of the above conditions 1 to 3 is met, then Rule 1 in Table 1 is met. Other situations meet Rule 2 in Table 1.
[0140] In some embodiments, the topological location of the node where the first bridge port and / or the second bridge port is located can be obtained through the network topology information of the industrial network, and it can be determined whether the network where the source node is located overlaps with the network where the destination node is located.
[0141] In combination with Figure 7 and Figure 9, assume that node 7 is the source node, node 9 is the destination node, the node where the SBE of node 7 is located is node 4, the node where the SPE of node 9 is located is node 3, the node where the SBE of node 9 is located is node 5, and node 4 is located between node 3 and node 9. The sending logic of the source node conforms to the sending logic shown in Table 2 below.
[0142] Table 2
[0143]
[0144] In the above-mentioned data transmission method of the source node, firstly, it is possible to accurately determine whether the network where the source node is located overlaps with the network where the destination node is located, obtain the topological position of the node where the bridge port is located in a variety of ways, and make a judgment based on the topological position of the destination node or the source node, which provides an accurate basis for data transmission. Secondly, data and the destination node address are sent according to the type of the sending port on the source node and the network overlap, making data transmission more flexible and efficient. When the network where the source node is located overlaps with the network where the destination node is located, the data and the corresponding address of the destination node can be accurately sent to ensure that the data can reach the destination node correctly.
[0145] Furthermore, the use of topological addresses in the data transmission method of the source node makes it easier to determine the topological position of each node and the positional relationship between nodes, providing a reliable data basis for the transmission rules in the subsequent data transmission process and improving the accuracy and stability of data transmission.
[0146] To sum up, it can be seen that the data transmission method of the source node can achieve efficient and accurate data transmission in the industrial network, providing a strong guarantee for the reliable operation of the industrial network.
[0147] In some embodiments, the above industrial network is a single ring network, the single ring network is a wired network, and the single ring network is a wired-wireless fusion network, and the source node is a node other than the fusion node in the wired-wireless fusion network.
[0148] In the above-mentioned data transmission method of the source node, according to the type of the sending port on the source node, the sending data and the destination node address may include but are not limited to:
[0149] For the first port of the source node, data and the second address of the destination node are sent; or, for the second port of the source node, data and the first address of the destination node are sent.
[0150] In some embodiments, for the case where the above-mentioned industrial network is a single-ring network, the single-ring network is a wired-wireless converged network, and the source node is a converged node in the wired-wireless converged network, in the data transmission method of the above-mentioned source node, data and the destination node address are sent according to the type of sending port on the source node, which may include but is not limited to: sending data and the destination node address according to the type of sending port on the source node and whether the destination node is a node in the network connected to the virtual port.
[0151] The virtual port includes the first virtual port and / or the second virtual port.
[0152] Whether the destination node is a node in the network connected to the virtual port means: determining whether the destination node is a node in the network connected to the first virtual port and / or the second virtual port.
[0153] Wherein, according to the type of the sending port on the source node and whether the destination node is a node in the network connected to the virtual port, the sending data and the destination node address may include but are not limited to the following situations:
[0154] (1) If the destination node is a node in the network connected to the virtual port, then for the first virtual port of the source node, data and the second address of the destination node are sent, and for the second virtual port of the source node, data and the first address of the destination node are sent.
[0155] In the embodiment of the present application, when the source node is a fusion node in a wired-wireless fusion network, it is necessary to identify the data frame address information to determine whether the destination node is a node in the network connected to the virtual port. The fusion node can store network topology information.
[0156] (2) If the destination node is not a node in the network connected to the virtual port, then for the first port of the source node, send data and the second address of the destination node, and for the second port of the source node, send data and the first address of the destination node.
[0157] Exemplarily, taking the industrial network shown in Figure 2 as an example, assuming that MS is the source node, then the virtual port of MS refers to the vPE port and vBE port in the MS, and the destination node is the node in the network connected to the virtual port. The corresponding situation is shown in Figure 2: TS or Device2; the non-virtual port of MS refers to the BE port and PE port in the MS, and the destination node is not a node in the network connected to the virtual port. The corresponding situation is shown in Figure 2: Device1 or Controller.
[0158] The data sending method of the source node in the above-mentioned wired and wireless converged network ensures redundant forwarding of data frames by specifying port roles, and establishes a connection relationship based on the virtual port in the above-mentioned converged node, thereby realizing point-to-point sending, so that two transmission links can exist between any two nodes, and thus zero recovery time can also be achieved in the wired and wireless converged network.
[0159] Receiving Node
[0160] In an embodiment of the present application, a data transmission method is provided, which can be applied to a receiving node, wherein the receiving node can be any node in any of the above-mentioned industrial networks.
[0161] In an exemplary embodiment, as shown in FIG12 , a data transmission method of a receiving node is provided, which may include but is not limited to:
[0162] 121. Receive data and the destination node address corresponding to the data.
[0163] The destination node address includes the first address or the second address of the destination node.
[0164] The above data and the destination node address corresponding to the data can be carried in one data message for transmission. The receiving node can receive a first data message including data and a first address of a destination node, and can also receive a second data message including data and a second address of a destination node.
[0165] 122. Determine whether the destination node address is a local address.
[0166] If the destination node address is a local address, the receiving node is determined to be the destination node, and step 123 is executed; if the destination node address is not a local address, the data and the destination node address are forwarded to the target port according to the type of the receiving port on the receiving node, and step 124 is executed.
[0167] When the destination node address is a local address, it means that the current receiving node is the destination node. If the destination node address is not a local address, it means that the current receiving node is not the destination node, and the data and the destination node address need to be forwarded so that they can be transmitted to the destination node.
[0168] 123. Determine the receiving node as the destination node.
[0169] 124. According to the type of the receiving port on the receiving node, the data and the destination node address are forwarded to the target port.
[0170] The types of the above-mentioned receiving port may include but are not limited to: a first port, a second port, a third port and a fourth port.
[0171] The above step 124 can be implemented by the following steps:
[0172] 1241. Determine whether the destination node is a node in the third network.
[0173] Determining whether the destination node is a node in the third network includes: determining whether the destination node address belongs to the second address of the node connected to the second port of the receiving node; and / or determining whether the destination node address belongs to the first address of the node connected to the first port of the receiving node.
[0174] In some embodiments, when the destination node address belongs to the second address of the node connected to the second port of the receiving node, the destination node is determined to be a node in the third network.
[0175] In some embodiments, when the destination node address belongs to the first address of the node connected to the first port of the receiving node, the destination node is determined to be a node in the third network.
[0176] The third network is a network formed by the second port and the first port of the receiving node.
[0177] Exemplarily, taking the industrial network shown in Figure 5 as an example, assuming that the receiving node is node 7 in Figure 5, then we can first determine that the node where the second port of node 7 is located is node 4, and the node where the first port of node 7 is located is node 2, then the third network is the network formed by the PE port on node 2 and the BE port on node 4.
[0178] 1242. Forward the data and the destination node address to the target port according to the type of the receiving port on the receiving node and whether the destination node is a node in the third network.
[0179] For different types of receiving ports, the implementation process of step 1242 may be different. The following is respectively described for the case where the type of the receiving port is the fourth port or the third port, and for the case where the type of the receiving port is the first port or the second port.
[0180] In the case where the type of the receiving port is the fourth port or the third port, the implementation process of the above step 1242 may include but is not limited to the following cases:
[0181] Case A: If the type of the receiving port is the fourth port or the third port, when the destination node address belongs to the first port of the receiving node connected to the first address of the node, the data and the destination node address are forwarded to the first port; when the destination node address belongs to the second port of the receiving node connected to the second address of the node, the data and the destination node address are forwarded to the second port.
[0182] Case B: If the type of the receiving port is the fourth port, when the destination node address does not belong to the second address of the second port connection node and does not belong to the first address of the first port connection node, the data and the destination node address are forwarded to the third port of the receiving node.
[0183] Case C: If the type of the receiving port is the third port, when the destination node address does not belong to the second address of the second port connection node and does not belong to the first address of the first port connection node, the data and the destination node address are forwarded to the fourth port of the receiving node.
[0184] The forwarding logic for the above situations may be as shown in Table 3 below.
[0185] Table 3
[0186]
[0187] In some embodiments, the topological address may be used to determine the forwarding rules shown in Table 3, which may be determined specifically according to the following rules:
[0188] A. If the topological address of the destination node is at the same level as the local topological address of the receiving node, but the topological address of the destination node has a topological address of a higher level, then forward it to the corresponding port (that is, when the receiving port is a PR port, forward it to the BR port; when the receiving port is a BR port, forward it to the PR port).
[0189] The above rules can be converted into judgment formulas as follows:
[0190] If DTNA.l0 to DTNA. l[n-1] = local TNA, and DTNA. l[n-1]t[n-1] exists, forward it to port t[n-1].
[0191] Among them, DTNA.l0 to DTNA. l[n-1] represents the topological address of the destination node, local TNA represents the local topological address of the receiving node, DTNA. l[n-1]t[n-1] represents the topological address of a higher level of the topological address of the destination node, l [n-1] represents the location address of the n-1th layer, and t[n-1] represents the port address of the n-1th layer.
[0192] B. If the topological address of the destination node is equal to the local topological address of the receiving node, then the data is received.
[0193] The above rules can be converted into judgment formulas as follows:
[0194] If DTNA.l0 to DTNA.t[n-1] = local TNA, local reception.
[0195] C. If neither A nor B above is true, forward it to another ring network port (i.e., PR port / BR port, corresponding to the rules shown in the last 4 rows of Table 3 above).
[0196] Table 4 below is a schematic diagram of a case in which forwarding logic is determined based on topological address judgment.
[0197] Table 4
[0198]
[0199] In some embodiments, a unique address can be used to determine the forwarding rules shown in Table 3. When the forwarding rules shown in Table 3 are determined based on the unique address, the PE port can store the PA addresses of all the ring network nodes under it, and the BE port can store the BA addresses of all the ring network nodes under it. Taking the topology shown in Figure 9 as an example, a forwarding table as shown in Table 5 is established.
[0200] Table 5
[0201]
[0202] In the case where the type of the receiving port is the first port or the second port, the implementation process of the above step 1242 may include but is not limited to the following cases:
[0203] If the type of the receiving port is a first port, when the destination node address belongs to the address of the node connected to the second port of the receiving node, the data and the destination node address are forwarded to the second port of the receiving node.
[0204] If the type of the receiving port is the first port, when the destination node address belongs to the address of the node connected to the first port of the receiving node, the data and the destination node address are forwarded to the first port in another ring network, wherein the first port in another ring network and the first port are first ports in different ring networks on the receiving node.
[0205] If the type of the receiving port is a second port, when the destination node address belongs to the address of the node connected to the second port of the receiving node, the data and the destination node address are forwarded to the second port in another ring network, wherein the second port in another ring network and the second port of the receiving node belong to different ring networks on the receiving node.
[0206] If the type of the receiving port is a second port, when the destination node address belongs to the address of the node connected to the first port of the receiving node, the data and the destination node address are forwarded to the second port of the receiving node.
[0207] The above-mentioned cases are all forwarding logics when the destination node belongs to a node in the third network.
[0208] In some embodiments, the implementation process of the above step 1242 may also include but is not limited to: when the destination node does not belong to a node in the third network, forwarding the data and the destination node address to the target port according to the type of the receiving port on the receiving node and whether the destination node is a node in the fourth network.
[0209] The fourth network is a network formed by the fourth port of the node where the second port of the receiving node in the bridged ring network is located and the third port of the node where the first port of the receiving node in the bridged ring network is located.
[0210] Exemplarily, taking the industrial network shown in Figure 5 as an example, assuming that the receiving node is node 7 in Figure 5, then we can first determine that the node where the second port of node 7 is located is node 4, and the node where the first port of node 7 is located is node 2, and then determine the fourth port of node 4 (ie, the BR port) and the fourth port of node 2 (ie, the PR port). The fourth network is the network formed by the PR port on node 2 and the BR port on node 4.
[0211] The following situations are forwarding logic when the destination node does not belong to a node in the third network:
[0212] If the type of the receiving port is the first port, when the destination node belongs to a node in the fourth network, the data and the destination node address are forwarded to the fourth port of the receiving node.
[0213] If the type of the receiving port is the first port, when the destination node does not belong to a node in the fourth network, the data and the destination node address are forwarded to the third port of the receiving node.
[0214] If the type of the receiving port is the second port, when the destination node belongs to a node in the fourth network, the data and the destination node address are forwarded to the third port of the receiving node.
[0215] If the type of the receiving port is the second port, when the destination node does not belong to a node in the fourth network, the data and the destination node address are forwarded to the fourth port of the receiving node.
[0216] The above determination of whether the destination node is a node in the fourth network may be to determine the internal direction of the destination node. If the destination node is a node in the fourth network, it is considered to be in the internal direction; if the destination node is not a node in the fourth network, it is considered not to be in the internal direction.
[0217] The determination of the internal direction may include: determining whether the destination node is any of the following nodes:
[0218] The internal node to which the BR port of the node where the PE port of the destination node is located is connected;
[0219] The internal node to which the PR port of the node where the BE port is located is connected;
[0220] The nodes connected by the PE ports and BE ports of the above internal nodes.
[0221] For the case where the type of the receiving port is the first port or the second port, the above forwarding logic can be summarized as shown in Table 6 below.
[0222] Table 6
[0223]
[0224] In some embodiments, the topological address may be used to determine whether the destination node is in the internal direction, which may be determined specifically according to the following formula:
[0225] If PE.TNA.ln< DTNA.ln< BE.TNA.ln, it is determined that the destination node is in the internal direction.
[0226] PE.TNA indicates the topological address (TNA) of the node where the PE port is located, BE.TNA indicates the TNA of the node where the BE port is located, DTNA indicates the topological address of the destination node, and ln indicates the nth layer.
[0227] Table 7 below is a schematic diagram of a case of determining whether the direction is internal and the forwarding logic based on the topological address.
[0228] Table 7
[0229]
[0230] In some embodiments, a unique address may be used to determine whether the destination node is in the internal direction, which may be determined specifically according to the following formula:
[0231] The BR port of the node where the PE port is located stores: 1) the internal PA address of the node where the PE port and BE port are located (and the forwarding table stored in the internal PE port); 2) the BA of the node to which the BE is connected.
[0232] The PR port of the node where the BE port is located stores: 1) the internal BA address of the PE and BE ports (and the forwarding table stored in the internal BE port); 2) the PA of the node connected to the PE.
[0233] As shown in Table 8 below, it is a case diagram of determining whether the destination node is in the internal direction based on the unique address, taking nodes 2 and 4 as examples.
[0234] Table 8
[0235]
[0236] In some embodiments, after receiving the destination node address, the receiving node can determine whether the destination node address is a local address. If the destination node address is a local address, the receiving node is determined to be the destination node. After determining that the receiving node is the destination node, if the receiving node receives a first data message including first data and a destination node address corresponding to the first data, and receives a second data message including second data and a destination node address corresponding to the second data. If the destination node address corresponding to the first data is the first address of the destination node, and the destination node address corresponding to the second data is the second address of the destination node, the first data and the second data are determined to be duplicate data, and the first data and the second data are deduplicated to obtain the final received data.
[0237] The first data and the second data are data sent by the receiving source node.
[0238] In some embodiments, the data message may also carry a sequence number (SequenceNumber) of the data to determine duplicate data. When the sequence numbers carried in the first data message and the second data message are the same, the first data and the second data are considered to be duplicate data.
[0239] In some embodiments, when it is determined that the first data and the second data are duplicate data, the correctness of the data can be verified by CRC, and when one of the data is determined to be correct, the other data is deleted. For example, after the CRC verification finds that the first data is correct, the second data is deleted.
[0240] Figure 13 is a schematic diagram of a data message forwarding process. The source node 7 sends two data messages with different destination addresses and the same data to the destination node 9, which are represented as Data1 and Data2 respectively. The forwarding process includes the following steps:
[0241] Step 1: According to the data transmission rule of the source node shown in Table 1, the PR port of the source node 7 transmits Data 1 with the destination node address being 9P, and the BR port transmits Data 2 with the destination node address being 9B.
[0242] Step 2: Data 1 is transmitted to node 2, which forwards Data 1 to the BR port according to the forwarding logic shown in Table 6.
[0243] Step 3: Data 1 is transmitted to node 3. According to the forwarding logic shown in Table 3, Data 1 is forwarded to the PE port of node 3.
[0244] Step 4: Data 1 is transmitted to node 9, which receives Data 1 according to the forwarding logic shown in Table 3.
[0245] The transmission direction of the above-mentioned Data1 is shown by the solid arrow in FIG13 .
[0246] Step 5: Data 2 is transmitted to node 8, which forwards Data 2 to the BR port according to the forwarding logic shown in Table 3.
[0247] Step 6: Data 2 is transmitted to node 4, which forwards Data 2 to the BR port according to the forwarding logic shown in Table 6.
[0248] Step 7: Data 2 is transmitted to node 5. According to the forwarding logic shown in Table 3, Data 2 is forwarded to the BE port of node 3.
[0249] Step 8: Data 2 is transmitted to node 9, which receives Data 2 according to the forwarding logic shown in Table 3.
[0250] The transmission direction of the above-mentioned Data2 is shown by the dotted arrow in FIG13 .
[0251] Step nine: Destination node 9 performs duplicate frame elimination on Data1 and Data2.
[0252] Figure 14 is a second schematic diagram of a data message forwarding process. The source node 7 sends two data messages with different destination addresses and the same data to the destination node 9, which are respectively represented as Data3 and Data4. The forwarding process includes the following steps:
[0253] Step A: According to the data sending rule of the source node shown in Table 1, the PR port of the source node 7 sends Data 3 with the destination node address 3(a).1, and the BR port sends Data 4 with the destination node address 5(a).1.
[0254] Step B: Data 3 is transmitted to node 2, and Data 3 is forwarded to the BR port according to the forwarding logic shown in Table 6.
[0255] Step C: Data 3 is transmitted to node 3. According to the forwarding logic shown in Table 3, Data 3 is forwarded to the PE port of node 3.
[0256] Step D: Data 3 is transmitted to node 9, which receives Data 3 according to the forwarding logic shown in Table 3.
[0257] The transmission direction of the above-mentioned Data3 is shown by the solid arrow in FIG14 .
[0258] Step E: Data 4 is transmitted to node 8, and according to the forwarding logic shown in Table 3, Data 4 is forwarded to the BR port.
[0259] Step F: Data 4 is transmitted to node 4, and Data 4 is forwarded to the BR port according to the forwarding logic shown in Table 6.
[0260] Step G: Data 4 is transmitted to node 5. According to the forwarding logic shown in Table 3, Data 4 is forwarded to the BE port on node 5.
[0261] Step H: Data 4 is transmitted to node 9, which receives Data 4 according to the forwarding logic shown in Table 3.
[0262] The transmission direction of the above-mentioned Data4 is shown by the dotted arrow in FIG14 .
[0263] Step I: The destination node 9 performs duplicate frame elimination on Data3 and Data4.
[0264] In the above-mentioned data transmission method of the destination node, firstly, it is possible to accurately receive data and the corresponding destination node address, and determine whether it is the destination node by judging whether the destination node address is a local address, thereby ensuring that the data can accurately reach the target location. Secondly, when the receiving node is not the destination node, the data and the destination node address can be accurately forwarded to the target port according to the type of the receiving port and whether the destination node is a node in a specific network, thereby improving the efficiency and accuracy of data transmission. For situations where the receiving port is of different types, detailed forwarding rules are formulated respectively, and whether the topological address or the unique address is used for judgment, the correct flow of data can be ensured.
[0265] In addition, when the destination node receives a data message including different destination addresses but the same data, it can perform deduplication processing to avoid duplicate data occupying resources, thereby improving the efficiency of data processing.
[0266] In summary, the above-mentioned data transmission method of the destination node provides a reliable and efficient solution for data transmission in industrial networks.
[0267] In some embodiments, for the case where the industrial network is a single-ring network and the single-ring network is a wired network, or for the case where the industrial network is a single-ring network and the single-ring network is a wired-wireless fusion network, and the receiving node is a node other than the fusion node in the wired-wireless fusion network, the data and the destination node address can be forwarded to the target port according to the type of the receiving port on the receiving node.
[0268] One implementation manner is: the type of the receiving port is the first port, and the target port is the second port;
[0269] Another implementation manner is: the type of the receiving port is the second port, and the target port is the first port.
[0270] In some embodiments, for the case where the industrial network is a single-ring network, the single-ring network is a wired-wireless converged network, and the receiving node is a node other than a converged node in the wired-wireless converged network, the specific implementation method of forwarding the data and the destination node address to the target port according to the type of the receiving port on the receiving node may include but is not limited to: sending data and the destination node address according to the type of the receiving port on the receiving node and whether the destination node is a node in the network connected to the virtual port.
[0271] Exemplarily, the sending of data and the destination node address according to the type of the receiving port on the receiving node and whether the destination node is a node in the network connected to the virtual port may include but is not limited to the following implementations:
[0272] (1) If the destination node is a node in the network connected to the virtual port, then when the type of the receiving port is the first port, the destination port is the second virtual port; when the type of the receiving port is the second port, the destination port is the first virtual port; when the type of the receiving port is the first virtual port, the destination port is the second virtual port, and when the type of the receiving port is the second virtual port, the destination port is the first virtual port;
[0273] (2) If the destination node is not a node in the network connected to the virtual port, then when the type of the receiving port is the first port, the target port is the second port; when the type of the receiving port is the second port, the target port is the first port; when the type of the receiving port is the first virtual port, the target port is the second port; when the type of the receiving port is the second virtual port, the target port is the first port.
[0274] The data forwarding method of the receiving node in the above-mentioned wired and wireless converged network ensures redundant forwarding of data frames by specifying port roles, and establishes a connection relationship based on the virtual port in the above-mentioned converged node, thereby realizing point-to-point forwarding logic, so that two transmission links can exist between any two nodes, and thus zero recovery time can also be achieved in the wired and wireless converged network.
[0275] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0276] Based on the same inventive concept, the embodiment of the present application also provides a source node and a receiving node for implementing the data transmission method involved above. The implementation scheme for solving the problem provided by the source node and the receiving node is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more source node and receiving node embodiments provided below can refer to the limitations on the data transmission method above, and will not be repeated here.
[0277] In an exemplary embodiment, as shown in FIG. 15 , a source node is provided, the source node being a node in an industrial network including at least one ring network, wherein at least one node in any ring network in the industrial network is configured with a first port and a second port; each node in the industrial network includes a first address and a second address for addressing, and the source node includes:
[0278] The sending module 1501 is used to send data and a destination node address according to a sending port type on a source node;
[0279] The destination node address includes the first address or the second address of the destination node.
[0280] In some embodiments, the sending module 1501 includes:
[0281] The determination submodule 1501a is specifically used to determine whether the network where the source node is located overlaps with the network where the destination node is located;
[0282] The sending submodule 1501b is specifically used to send data and a destination node address according to the type of the sending port on the source node and whether the network where the source node is located overlaps with the network where the destination node is located. The destination node address includes the first address or the second address of the destination node.
[0283] In some embodiments, the determination submodule 1501a is specifically used to obtain the topological position of the node where the first bridge port and / or the second bridge port are located; send data and the destination node address according to the topological position of the node where the first bridge port and / or the second bridge port are located, and whether the network where the source node is located overlaps with the network where the destination node is located;
[0284] The first bridge port is the first port of the source node in the bridge ring network, the second bridge port is the second port of the source node in the bridge ring network, and the bridge ring network is a ring network in which the source node and the destination node are connected together.
[0285] In some embodiments, the determination submodule 1501a is specifically used to determine whether there is overlap between the network where the source node is located and the network where the destination node is located according to the topological position of the node where the first bridge port and / or the second bridge port are located, including: obtaining the topological position of the destination node; according to the topological position of the destination node, combined with the topological position of the node where the first bridge port is located and / or the topological position of the node where the second bridge port is located, determining whether there is overlap between the network where the source node is located and the network where the destination node is located.
[0286] In some embodiments, the determination submodule 1501a is specifically configured to:
[0287] Get the topological location of the source node;
[0288] According to the topological position of the source node and in combination with the topological positions of the nodes where the first bridge port and the second bridge port are located, it is determined whether a network where the source node is located overlaps with a network where the destination node is located.
[0289] In some embodiments, the industrial network includes multiple networks, and the industrial network also includes: a configured third port and a fourth port, the third port is directly or indirectly connected to the first port; the fourth port is directly or indirectly connected to the second port; a sending submodule 1501b is specifically used for:
[0290] For the third port or the first port of the source node, when the network where the source node is located overlaps with the network where the destination node is located, sending data and the second address of the destination node;
[0291] For the fourth port or the second port of the source node, when the network where the source node is located overlaps with the network where the destination node is located, sending data and the first address of the destination node;
[0292] When the first topology condition is met, the network where the source node is located overlaps with the network where the destination node is located, and the first topology condition includes at least one of the following:
[0293] The topological position of the node where the first bridge port is located is within the node where the third bridge port and the fourth bridge port are located;
[0294] The topological position of the node where the second bridge port is located is within the node where the third bridge port and the fourth bridge port are located;
[0295] The topological location of the destination node is within the node where the first bridge port and the second bridge port are located;
[0296] The third bridge port is the first port of the destination node in the bridge ring network, and the fourth bridge port is the second port of the destination node in the bridge ring network.
[0297] In some embodiments, the industrial network includes multiple networks, and the industrial network also includes: a configured third port and a fourth port, the third port is directly or indirectly connected to the first port; the fourth port is directly or indirectly connected to the second port; the determination submodule 1501a is specifically used to:
[0298] For the third port or the first port of the source node, when the network where the source node is located does not overlap with the network where the destination node is located, sending data and the first address of the destination node;
[0299] For the fourth port or the second port of the source node, when the network where the source node is located does not overlap with the network where the destination node is located, sending data and the second address of the destination node;
[0300] When the second topology condition is met, the network where the source node is located does not overlap with the network where the destination node is located. The second topology condition includes:
[0301] The topological position of the node where the first bridge port is located is not within the node where the third bridge port and the fourth bridge port are located;
[0302] The topological position of the node where the second bridge port is located is not within the node where the third bridge port and the fourth bridge port are located;
[0303] The topological location of the source node is within the node where the third bridge port and the fourth bridge port are located;
[0304] The third bridge port is the first port of the destination node in the bridge ring network, and the fourth bridge port is the fourth port of the destination node in the bridge ring network.
[0305] In some embodiments, the industrial network is a single ring network, the single ring network is a wired network, or the single ring network is a wired and wireless fusion network, and the source node is a node other than the fusion node in the wired and wireless fusion network; the determination submodule 1501a is specifically used to:
[0306] For a first port of a source node, sending data and a second address of a destination node;
[0307] or,
[0308] For the second port of the source node, data and the first address of the destination node are sent.
[0309] In some embodiments, the industrial network is a single ring network, the single ring network is a wired and wireless converged network, and the source node is a converged node in the wired and wireless converged network;
[0310] The determination submodule 1501a is specifically used to send data and a destination node address according to the type of the sending port on the source node and whether the destination node is a node in the network connected to the virtual port.
[0311] In an exemplary embodiment, as shown in FIG. 16 , a receiving node is provided, which is applied to a receiving node in an industrial network including at least one ring network, wherein at least one node in any ring network in the industrial network is configured with a first port and a second port; each node in the industrial network includes a first address and a second address for addressing, including:
[0312] Receiving module 1601, used for receiving data and a destination node address corresponding to the data;
[0313] A determination module 1602, configured to determine that the receiving node is a destination node if the destination node address is a local address;
[0314] The forwarding module 1603 is used for forwarding the data and the destination node address to a target port according to the type of the receiving port on the receiving node if the destination node address is not a local address;
[0315] The destination node address includes the first address or the second address of the destination node.
[0316] In some embodiments, the forwarding module 1603 is specifically configured to:
[0317] Determining whether the destination node is a node in a third network;
[0318] forwarding the data and the destination node address to a target port according to the type of the receiving port on the receiving node and whether the destination node is a node in the third network;
[0319] The third network is a network formed by the second port and the first port of the receiving node.
[0320] In some embodiments, the determination module 1602 is specifically configured to:
[0321] Determine whether the destination node address belongs to the second address of the second port connection node of the receiving node;
[0322] and / or,
[0323] Determine whether the destination node address belongs to the first address of the first port connection node of the receiving node.
[0324] In some embodiments, the industrial network includes multiple networks, and the industrial network also includes: a configured third port and a fourth port, the third port is directly or indirectly connected to the first port; the fourth port is directly or indirectly connected to the second port; the forwarding module 1603 is specifically used to:
[0325] If the type of the receiving port is a fourth port or a third port, when the destination node address belongs to the first address of the node connected to the first port of the receiving node, the data and the destination node address are forwarded to the first port; when the destination node address belongs to the second address of the node connected to the second port of the receiving node, the data and the destination node address are forwarded to the second port;
[0326] If the type of the receiving port is a fourth port, when the destination node address does not belong to the second address of the second port connection node and does not belong to the first address of the first port connection node, forwarding the data and the destination node address to the third port of the receiving node;
[0327] If the type of the receiving port is a third port, when the destination node address does not belong to the second address of the second port connection node and does not belong to the first address of the first port connection node, the data and the destination node address are forwarded to the fourth port of the receiving node.
[0328] In some embodiments, the forwarding module 1603 is specifically configured to:
[0329] If the type of the receiving port is the first port, then:
[0330] When the destination node address belongs to the address of the second port connection node of the receiving node, forwarding the data and the destination node address to the second port of the receiving node;
[0331] When the destination node address belongs to the address of the node connected to the first port of the receiving node, forwarding the data and the destination node address to the first port in another ring network, the first port of the receiving node and the first port in another ring network belong to different ring networks of the receiving node;
[0332] If the type of the receiving port is the second port, then:
[0333] When the destination node address belongs to the address of the node connected to the second port of the receiving node, forwarding the data and the destination node address to the second port in another ring network, the second port of the receiving node and the second port in another ring network belong to different ring networks of the receiving node;
[0334] When the destination node address belongs to the address of the node connected to the first port of the receiving node, the data and the destination node address are forwarded to the first port of the receiving node.
[0335] In some embodiments, the forwarding module 1603 is specifically configured to:
[0336] When the destination node does not belong to a node in the third network, the data and the destination node address are forwarded to a target port according to the type of the receiving port on the receiving node and whether the destination node is a node in the fourth network.
[0337] In some embodiments, the forwarding module 1603 is specifically configured to:
[0338] If the type of the receiving port is the first port, then:
[0339] When the destination node belongs to a node in a fourth network, forwarding the data and the destination node address to a fourth port of the receiving node, wherein the fourth network is a network formed by the fourth port of the node where the second port of the receiving node is located in the bridged ring network and the third port of the node where the first port of the receiving node is located in the bridged ring network;
[0340] When the destination node does not belong to a node in the fourth network, forwarding the data and the destination node address to the third port of the receiving node;
[0341] If the type of the receiving port is the second port, then:
[0342] When the destination node belongs to a node in the fourth network, forwarding the data and the destination node address to the third port of the receiving node;
[0343] When the destination node does not belong to a node in the fourth network, the data and the destination node address are forwarded to the fourth port of the receiving node.
[0344] In some embodiments, the receiving node further includes: a removal module 1604, configured to:
[0345] If the destination node address corresponding to the first data and the destination node address corresponding to the second data are the first address and the second address of the destination node, then determining that the first data and the second data are duplicate data, wherein the first data and the second data are data sent by a receiving source node;
[0346] Deduplication processing is performed on the first data and the second data to obtain final received data.
[0347] In some embodiments, the industrial network is a single-ring network, the single-ring network is a wired network, or the single-ring network is a wired-wireless converged network, and the receiving node is a node other than a converged node in the wired-wireless converged network;
[0348] The forwarding module 1603 is specifically used for:
[0349] The type of the receiving port is the first port, and the target port is the second port;
[0350] or,
[0351] The type of the receiving port is the second port, and the target port is the first port.
[0352] In some embodiments, the industrial network is a single-ring network, the single-ring network is a wired-wireless converged network, and the receiving node is a node other than the converged node in the wired-wireless converged network; the forwarding module 1603 is specifically used to: send data and the destination node address according to the type of the receiving port on the receiving node and whether the destination node is a node in the network connected to the virtual port.
[0353] Each module in the above source node and receiving node can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.
[0354] In an exemplary embodiment, a node is provided, which can be any device in an industrial network, and its internal structure diagram can be shown in Figure 17. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data transmission method is implemented.
[0355] Those skilled in the art will understand that the structure shown in FIG. 17 is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0356] In an exemplary embodiment, a node is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the data transmission method in the above method embodiment is implemented.
[0357] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the data transmission method in the above method embodiment is implemented.
[0358] In one embodiment, a computer program product is provided, including a computer program, which implements the data transmission method in the above method embodiment when executed by a processor.
[0359] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0360] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0361] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. An industrial network, characterized in that: The industrial network includes at least one ring network, and in the industrial network, at least one node of any ring network is configured with a first port and a second port; Each node in the industrial network includes a first address and a second address for addressing, and the first port and the second port are used to transmit data packets carrying the first address or the second address.
2. The industrial network according to claim 1, characterized in that: The at least one ring network is a single ring network, and the first port and the second port are configured on each node in the single ring network.
3. The industrial network according to claim 2, characterized in that: The single ring network is a wired-wireless converged network, and a first virtual port and / or a second virtual port are configured on a converged node in the wired-wireless converged network; The first virtual port and the second virtual port are used to establish a wireless connection, the first port in the fusion node is mapped and forwarded to the second virtual port, and the second port in the fusion node is mapped and forwarded to the first virtual port.
4. The industrial network according to claim 3, characterized in that: The fusion node includes a management station and a terminal station, wherein the management station and the terminal station are configured with the first virtual port and the second virtual port; or, The wired-wireless converged network includes a management station and two terminal stations. The management station is configured with the first virtual port and the second virtual port. The first terminal station of the two terminal stations is configured with the first virtual port, and the second terminal station is configured with the second virtual port.
5. The industrial network according to claim 1, characterized in that: The industrial network includes multiple networks, and the industrial network also includes: A third port and a fourth port are configured, wherein the third port is directly or indirectly connected to the first port; and the fourth port is directly or indirectly connected to the second port; The third port and the fourth port are used to transmit data packets carrying the first address or the second address.
6. The industrial network according to claim 1, characterized in that: The industrial network includes a plurality of networks, the plurality of networks include a plurality of ring networks, or the plurality of networks include at least one ring network and at least one linear network; The first port and the second port are configured on any node of the first network among the multiple networks; in each second network among the multiple networks, the first port and the second port are configured on the same node or on different nodes; the first network is any network among the multiple networks, the second network is a network among the multiple networks except the first network, and the first port and the second port configured in the second network are used to establish a coupling connection between the networks.
7. The industrial network according to claim 6, characterized in that: The plurality of networks include at least one ring network and at least one linear network; The first port and the second port for establishing a coupling connection between the ring network and the linear network are located at the same node, and the first port and the second port for establishing a coupling connection between the ring networks are located at different nodes.
8. The industrial network according to claim 1, characterized in that: The first address and the second address include: topological location information and port information of the selected branch in the node.
9. A data transmission method, characterized in that: The method is applied to a source node in an industrial network including at least one ring network, wherein at least one node in any ring network in the industrial network is configured with a first port and a second port; each node in the industrial network includes a first address and a second address for addressing, and the method includes: Sending data and a destination node address according to a sending port type on the source node; The destination node address includes the first address or the second address of the destination node.
10. The method according to claim 9, characterized in that The sending of data and a destination node address according to the sending port type on the source node comprises: Determine whether the network where the source node is located overlaps with the network where the destination node is located; According to the type of the sending port on the source node and whether the network where the source node is located overlaps with the network where the destination node is located, data and the destination node address are sent, and the destination node address includes the first address or the second address of the destination node.
11. The method according to claim 10, characterized in that The determining whether a network where the source node is located overlaps with a network where the destination node is located includes: Obtaining a topological location of a node where the first bridge port and / or the second bridge port is located; Determine whether a network where the source node is located overlaps with a network where the destination node is located according to a topological position of a node where the first bridge port and / or the second bridge port is located; The first bridge port is the first port of the source node in the bridge ring network, the second bridge port is the second port of the source node in the bridge ring network, and the bridge ring network is a ring network in which the source node and the destination node are connected together.
12. The method according to claim 11, characterized in that The determining, according to the topological position of the node where the first bridge port and / or the second bridge port are located, whether the network where the source node is located overlaps with the network where the destination node is located includes: Obtaining the topological location of the destination node; According to the topological position of the destination node, combined with the topological position of the node where the first bridge port is located and / or the topological position of the node where the second bridge port is located, it is determined whether the network where the source node is located overlaps with the network where the destination node is located.
13. The method according to claim 11, characterized in that The determining, according to the topological position of the node where the first bridge port and / or the second bridge port are located, whether the network where the source node is located overlaps with the network where the destination node is located includes: Obtaining the topological location of the source node; According to the topological position of the source node and in combination with the topological positions of the nodes where the first bridge port and the second bridge port are located, it is determined whether a network where the source node is located overlaps with a network where the destination node is located.
14. The method according to claim 12 or 13, characterized in that The industrial network includes a plurality of networks, and the industrial network also includes: a configured third port and a fourth port, the third port is directly or indirectly connected to the first port; the fourth port is directly or indirectly connected to the second port; according to the type of the sending port on the source node, and whether the network where the source node is located overlaps with the network where the destination node is located, sending data and the destination node address includes: For the third port or the first port of the source node, when a network where the source node is located overlaps with a network where the destination node is located, sending the data and the second address of the destination node; For the fourth port or the second port of the source node, when a network where the source node is located overlaps with a network where the destination node is located, sending the data and the first address of the destination node; When the first topology condition is met, the network where the source node is located overlaps with the network where the destination node is located, and the first topology condition includes at least one of the following: The topological position of the node where the first bridge port is located is within the node where the third bridge port and the fourth bridge port are located; The topological position of the node where the second bridge port is located is within the node where the third bridge port and the fourth bridge port are located; The topological location of the destination node is within the node where the first bridge port and the second bridge port are located; The third bridge port is the first port of the destination node in the bridge ring network, and the fourth bridge port is the second port of the destination node in the bridge ring network.
15. The method according to claim 12 or 13, characterized in that The industrial network includes a plurality of networks, and the industrial network also includes: a configured third port and a fourth port, the third port is directly or indirectly connected to the first port; the fourth port is directly or indirectly connected to the second port; according to the type of the sending port on the source node, and whether the network where the source node is located overlaps with the network where the destination node is located, sending data and the destination node address includes: For the third port or the first port of the source node, when the network where the source node is located does not overlap with the network where the destination node is located, sending the data and the first address of the destination node; For the fourth port or the second port of the source node, when the network where the source node is located does not overlap with the network where the destination node is located, sending the data and the second address of the destination node; When the second topology condition is met, the network where the source node is located does not overlap with the network where the destination node is located, and the second topology condition includes: The topological position of the node where the first bridge port is located is not within the node where the third bridge port and the fourth bridge port are located; The topological position of the node where the second bridge port is located is not within the node where the third bridge port and the fourth bridge port are located; The topological location of the source node is within the node where the third bridge port and the fourth bridge port are located; The third bridge port is the first port of the destination node in the bridge ring network, and the fourth bridge port is the second port of the destination node in the bridge ring network.
16. The method according to claim 9, characterized in that The industrial network is a single-ring network, the single-ring network is a wired network, or the single-ring network is a wired-wireless fusion network, and the source node is a node other than a fusion node in the wired-wireless fusion network; The sending of data and a destination node address according to the sending port type on the source node comprises: For the first port of the source node, sending the data and the second address of the destination node; or, For the second port of the source node, the data and the first address of the destination node are sent.
17. The method according to claim 9, characterized in that The industrial network is a single-ring network, the single-ring network is a wired-wireless converged network, the source node is a converged node in the wired-wireless converged network, and the first virtual port and / or the second virtual port are configured on the converged node; The sending of data and a destination node address according to the sending port type on the source node comprises: Sending data and a destination node address according to the type of the sending port on the source node and whether the destination node is a node in the network connected to the virtual port; The virtual port includes: the first virtual port and / or the second virtual port.
18. A data transmission method, characterized in that: The invention is applied to a receiving node in an industrial network including at least one ring network, wherein at least one node in any ring network in the industrial network is configured with a first port and a second port; Each node in the industrial network includes a first address and a second address for addressing, including: receiving data and a destination node address corresponding to the data; If the destination node address is a local address, determining the receiving node as the destination node; If the destination node address is not a local address, forwarding the data and the destination node address to a target port according to the type of the receiving port on the receiving node; The destination node address includes the first address or the second address of the destination node.
19. The method according to claim 18, characterized in that The forwarding the data and the destination node address to the target port according to the type of the receiving port on the receiving node includes: Determining whether the destination node is a node in a third network; forwarding the data and the destination node address to a target port according to the type of the receiving port on the receiving node and whether the destination node is a node in the third network; The third network is a network formed by the second port and the first port of the receiving node.
20. The method according to claim 19, characterized in that The determining whether the destination node is a node in the third network includes: Determine whether the destination node address belongs to the second address of the second port connection node of the receiving node; and / or, Determine whether the destination node address belongs to the first address of the first port connection node of the receiving node.
21. The method according to claim 20, characterized in that The industrial network includes a plurality of networks, and the industrial network also includes: a configured third port and a fourth port, the third port is directly or indirectly connected to the first port; the fourth port is directly or indirectly connected to the second port; the data and the destination node address are forwarded to the target port according to the type of the receiving port on the receiving node and whether the destination node is a node in the third network, including: If the type of the receiving port is a fourth port or a third port, when the destination node address belongs to the first address of the node connected to the first port of the receiving node, the data and the destination node address are forwarded to the first port; when the destination node address belongs to the second address of the node connected to the second port of the receiving node, the data and the destination node address are forwarded to the second port; If the type of the receiving port is a fourth port, when the destination node address does not belong to the second address of the second port connection node and does not belong to the first address of the first port connection node, forwarding the data and the destination node address to the third port of the receiving node; If the type of the receiving port is a third port, when the destination node address does not belong to the second address of the second port connection node and does not belong to the first address of the first port connection node, the data and the destination node address are forwarded to the fourth port of the receiving node.
22. The method according to claim 20, characterized in that The forwarding the data and the destination node address to the target port according to the type of the receiving port on the receiving node and whether the destination node is a node in the third network includes: If the type of the receiving port is the first port, then: When the destination node address belongs to the address of the second port connection node of the receiving node, forwarding the data and the destination node address to the second port of the receiving node; When the destination node address belongs to the address of the node connected to the first port of the receiving node, forwarding the data and the destination node address to the first port in another ring network, the first port in the other ring network and the first port of the receiving node belong to different ring networks on the receiving node; If the type of the receiving port is the second port, then: When the destination node address belongs to the address of the node connected to the second port of the receiving node, forwarding the data and the destination node address to the second port in another ring network, the second port in the other ring network and the second port of the receiving node belong to different ring networks on the receiving node; When the destination node address belongs to the address of the first port connection node of the receiving node, the data and the destination node address are forwarded to the first port.
23. The method according to claim 20, characterized in that The forwarding the data and the destination node address to the target port according to the type of the receiving port on the receiving node and whether the destination node is a node in the third network includes: When the destination node does not belong to a node in the third network, forwarding the data and the destination node address to a target port according to a type of a receiving port on the receiving node and whether the destination node is a node in a fourth network; The fourth network is a network formed by a fourth port of a node where the second port of the receiving node in the bridged ring network is located and a third port of a node where the first port of the receiving node in the bridged ring network is located.
24. The method according to claim 23, characterized in that The forwarding the data and the destination node address to the target port according to the type of the receiving port on the receiving node and whether the destination node is a node in the fourth network includes: If the type of the receiving port is the first port, then: When the destination node belongs to a node in a fourth network, forwarding the data and the destination node address to a fourth port of the receiving node; When the destination node does not belong to a node in the fourth network, forwarding the data and the destination node address to a third port of the receiving node; If the type of the receiving port is the second port, then: When the destination node belongs to a node in the fourth network, forwarding the data and the destination node address to the third port of the receiving node; When the destination node does not belong to a node in the fourth network, the data and the destination node address are forwarded to the fourth port of the receiving node.
25. The method according to claim 18, characterized in that If the destination node address is a local address, after determining that the receiving node is the destination node, the method further includes: If the destination node address corresponding to the first data and the destination node address corresponding to the second data are the first address and the second address of the destination node, then determining that the first data and the second data are duplicate data, wherein the first data and the second data are data sent by a receiving source node; Deduplication processing is performed on the first data and the second data to obtain final received data.
26. The method according to claim 18, characterized in that The industrial network is a single-ring network, the single-ring network is a wired network, or the single-ring network is a wired-wireless fusion network, and the receiving node is a node other than a fusion node in the wired-wireless fusion network; The forwarding the data and the destination node address to the target port according to the type of the receiving port on the receiving node includes: The type of the receiving port is the first port, and the target port is the second port; or, The type of the receiving port is the second port, and the target port is the first port.
27. The method according to claim 18, characterized in that The industrial network is a single-ring network, the single-ring network is a wired-wireless converged network, the receiving node is a converged node in the wired-wireless converged network, and the first virtual port and / or the second virtual port are configured on the converged node; The forwarding the data and the destination node address to the target port according to the type of the receiving port on the receiving node includes: Sending the data and the destination node address according to the type of the receiving port on the receiving node and whether the destination node is a node in the network connected to the virtual port; The virtual port includes the first virtual port and / or the second virtual port.
28. A source node, characterized in that: The source node is a node in an industrial network including at least one ring network, wherein at least one node in any ring network in the industrial network is configured with a first port and a second port; each node in the industrial network includes a first address and a second address for addressing, and the source node includes: A sending module, used for sending data and a destination node address according to a sending port type on the source node; The destination node address includes the first address or the second address of the destination node.
29. A receiving node, characterized in that: The receiving node is applied to an industrial network including at least one ring network, wherein at least one node of any ring network in the industrial network is configured with a first port and a second port; Each node in the industrial network includes a first address and a second address for addressing, and the receiving node includes: A receiving module, used for receiving data and a destination node address corresponding to the data; a forwarding processing module, configured to determine that the receiving node is the destination node if the destination node address is a local address; and forward the data and the destination node address to a target port according to a type of a receiving port on the receiving node if the destination node address is not a local address; The destination node address includes the first address or the second address of the destination node.
30. A node, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 9 to 27 are implemented.
31. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 9 to 27 are implemented.
32. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 9 to 27 are implemented.