Industrial switch and SDH multi-ring network hybrid networking system and routing channel switching method

By using OSPF dynamic routing protocol and link aggregation technology in industrial switches and SDH multi-ring hybrid networking systems, the routing problem of industrial switches is solved when the optical fiber is disconnected, and fast routing switching and high-reliability communication are achieved.

CN115589274BActive Publication Date: 2025-07-25PETROCHINA CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110768162.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-05
Publication Date
2025-07-25
Estimated Expiration
2041-07-05

AI Technical Summary

Technical Problem

In the prior art, industrial switches cannot automatically select detour routing when overhead and underground fibers are disconnected, resulting in the problem of channel but not routing. The existing ring network protocol is slow to heal and cannot cross multiple ring networks.

Method used

The industrial switch and SDH multi-ring hybrid networking system are adopted, and the OSPF dynamic routing protocol is used to route on the SDH transmission ring network and the industrial Ethernet ring network. Combined with Hiper-Ring and MRP media redundancy protocols, the connection bandwidth is increased through link aggregation, and the automatic switching of routing channels is realized at the IP layer.

Benefits of technology

It realizes rapid switching of routing channels on industrial switch equipment, and builds a highly reliable and stable communication system to ensure that production data flow is not affected by delays when the network is interrupted.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115589274B_ABST
    Figure CN115589274B_ABST
Patent Text Reader

Abstract

The present invention discloses an industrial switch, an SDH multi-ring network hybrid networking system and a routing channel switching method, belonging to the technical field of industrial Ethernet and SDH transmission networking. The networking system includes: a plurality of industrial Ethernet rings formed by buried optical cables and a plurality of SDH transmission rings formed by overhead ADSS optical cables. The industrial switches at each ring node in each industrial Ethernet ring perform routing selection on the SDH transmission ring and the industrial Ethernet ring through the OSPF dynamic routing protocol, so as to achieve the purpose of using multiple ring network protocols to hybridly form multiple second-layer rings for the industrial switches and realizing automatic switching of routing channels on different industrial Ethernet rings and multiple SDH rings by using the dynamic routing protocol.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of industrial Ethernet and SDH transmission networking, and in particular relates to an industrial switch and SDH multi-ring network hybrid networking system and a routing channel switching method. Background Art

[0002] Single-well stations have the need for dual routing options of industrial Ethernet ring network and SDH ring network. If dual static routing is configured, the routing configuration data on the core switch will be extremely large, and the routing selection will be very fixed. When the overhead and underground optical fibers are disconnected at separated stations, the detour route will not be automatically selected, and there will be a channel but a blocked route.

[0003] The ring network protocol used by general commercial switches is STP or RSTP. There are root switches and backup root switches. When the root switch fails, the backup root switch will replace it and perform the ring network function. However, this algorithm is based on the election mechanism, so the self-healing speed is not high. The highest MSTP with the least equipment is about 2s.

[0004] The factory ring network technologies of each industrial switch in the industrial Ethernet ring network are Hiper-Ring, Turbo-Ring, HSR, etc. An industrial switch device can only exist in one industrial ring network and cannot span multiple ring networks. Summary of the invention

[0005] In view of this, in order to solve the above-mentioned problems existing in the prior art, the purpose of the present invention is to provide an industrial switch and SDH multi-ring network hybrid networking system and a routing channel switching method to achieve the purpose of using multiple ring network protocols to mix multiple layer 2 ring networks for industrial switches and use dynamic routing protocols to realize automatic switching of routing channels on different industrial Ethernet ring networks and multiple SDH ring networks.

[0006] The technical solution adopted by the present invention is: an industrial switch and SDH multi-ring network hybrid networking system, the networking system includes: multiple industrial Ethernet ring networks composed of underground buried optical cables and multiple SDH transmission ring networks composed of overhead ADSS optical cables, and the industrial switch of each ring network node in each industrial Ethernet ring network performs routing selection on the SDH transmission ring network and the industrial Ethernet ring network through the OSPF dynamic routing protocol.

[0007] Further, each of the industrial Ethernet rings is divided into a main industrial Ethernet ring and multiple non-main industrial Ethernet rings. Each industrial switch in the main industrial Ethernet ring is networked using the Hiper-Ring dedicated protocol, and each industrial switch in each non-main industrial Ethernet ring is networked using the MRP media redundancy protocol. The core industrial switch simultaneously uses two ring network protocols to complete the formation of multiple rings, and uses link aggregation to increase the connection bandwidth between the two core switches; the core industrial switch uses two ring network protocols, belongs to multiple Ethernet rings at the same time, and successfully networks by improving the network bandwidth through link aggregation, which is the first actual case of this series of industrial switches to complete a similar networking environment.

[0008] Further, the industrial Ethernet ring includes a core industrial switch group and multiple industrial switches. Each industrial switch is respectively located at each ring network node, and each industrial switch is sequentially connected by an optical cable and connected to the core industrial switch group to form a ring network; the core industrial switch group includes at least two redundant core industrial switches.

[0009] Further, the networking system further includes at least two commercial routers. Each of the commercial routers is respectively communicatively connected to each of the core industrial switches to form an OSPF backbone domain, and the commercial router is communicatively connected to the core aggregation SDH device to serve as a backup channel for the RTU. Each three-layer industrial switch on each industrial Ethernet ring forms an OSPF sub-domain. A reasonable Metric value is configured for the corresponding port on the three-layer industrial switch. The routing priority provided by the industrial Ethernet ring should be higher than that of the SDH ring network. Routing selection and switching are achieved through the OSPF protocol to control the data flow to always be transmitted in the 1000M industrial Ethernet ring. Only when transmission interruptions occur on both sides of the three-layer industrial switch at the same time will the data flow be redirected to the SDH transmission ring network.

[0010] Further, the SDH transmission ring network includes a core aggregation SDH device and multiple SDH devices. Each SDH device is respectively located at each ring network node, and each SDH device is sequentially connected by an optical cable and connected to the core aggregation SDH device to form a ring network.

[0011] Further, the optical fiber channel of the core industrial switch communicates with the SDH channel of the core aggregation SDH device through an optical cable, and each SDH device in the SDH transmission ring network respectively corresponds to each industrial switch in the industrial Ethernet ring. To realize the connection between each industrial switch and the corresponding SDH device, form a primary and backup routing link and connect to the core industrial switch, and become a multi-link protection network.

[0012] Further, the networking system further includes: RTU control devices at each single well station, spare ports of each of the RTU control devices are respectively connected to each of the SDH devices, and main ports of each of the RTU control devices are respectively connected to each of the industrial switches. Due to the limited VLAN interface support capacity of the industrial switches, the second network port of the RTU control device at the single well station is directly connected to the independent layer-2 port of the well station SDH device, and is directly transmitted to the core aggregation SDH device at the purification plant via the SDH transmission ring network, and is connected to a commercial router.

[0013] In the present invention, a routing channel switching method for a hybrid networking of industrial switches and SDH multi-ring networks is also disclosed. The routing channel switching method includes:

[0014] Configure the routing addresses of the layer-3 switches of each industrial switch in the same industrial ethernet ring network to the same network segment, and use the ring network communication of each industrial ethernet ring network as the first IP routing channel for data;

[0015] Connect the layer-3 switches of each industrial switch in the same industrial ethernet ring network to the corresponding SDH devices, and transmit them to the core industrial switch group via the SDH transmission ring network where the SDH devices are located, so as to serve as the second IP routing channel for data;

[0016] Connect the spare ports of each field RTU control device to the SDH device at the field, and transmit them to the commercial router via the SDH transmission ring network where the SDH device is located, so as to serve as the third IP routing channel for data;

[0017] Among them, the priority of the first IP routing channel is greater than that of the second IP routing channel, and the priority of the second IP routing channel is greater than that of the third IP routing channel, and routing selection and switching are realized through the IP layer protocol;

[0018] Among them, IP layer protocols such as VRRP and OSPF protocols, and relevant delay parameters are set to the minimum value supported by the device to accelerate the routing switching speed.

[0019] Further, a Qos policy is enabled on the layer-3 electrical port where the layer-3 switch of the industrial switch is connected to the SDH device, so as to ensure that when the industrial ethernet ring network transmission fails, important services such as production data flow and industrial control flow can preferentially occupy the limited SDH bandwidth without being affected by delay or discarded due to congestion.

[0020] Further, the logic of the routing selection and switching is:

[0021] When the industrial switch is working normally and the data on both sides of the industrial switch is transmitted normally, select the first IP routing channel as the data flow transmission channel through the IP layer protocol;

[0022] When the industrial switch is working properly but the data transmission on both sides of the industrial switch is interrupted, the second IP routing channel is selected as the data stream transmission channel through the IP layer protocol;

[0023] When the industrial switch is not working properly, the RTU control device uses the third IP routing channel as the data stream transmission channel.

[0024] The beneficial effects of the present invention are as follows:

[0025] 1. By adopting the industrial switch and SDH multi-ring network hybrid networking system provided by the present invention, the physical relationship of the ring network is innovatively disassembled. Taking the industrial Ethernet ring network as the standard, in the same well site, the same label is used on the industrial Ethernet ring network and the SDH transmission ring network, and the internal service label of the SDH device is transmitted to the data communication device, completing the logical synchronization and intercommunication between the industrial Ethernet ring network and the SDH transmission ring network.

[0026] 2. By adopting the routing channel switching method of the industrial switch and SDH multi-ring network hybrid networking provided by the present invention, the rapid switching of the layer 2 link is realized on the industrial switch device by using the ring network technology. Secondly, the IP layer dynamic routing protocol is enabled to complete the routing selection on the industrial Ethernet ring network and the SDH transmission ring network, and then a highly reliable and stable communication system with dual-network redundancy is built. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 is the overall architecture schematic diagram of the industrial switch and SDH multi-ring network hybrid networking system provided by the present invention;

[0028] Figure 2 is the topology diagram of the industrial Ethernet ring network in the industrial switch and SDH multi-ring network hybrid networking system provided by the present invention;

[0029] Figure 3 is the topology diagram of the SDH transmission ring network in the industrial switch and SDH multi-ring network hybrid networking system provided by the present invention;

[0030] Figure 4 is the industrial switch networking structure diagram of a single well site in the industrial switch and SDH multi-ring network hybrid networking system provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0031] The embodiments of the present application will be described in detail below. The examples of the embodiments are shown in the drawings, where the same or similar reference numerals represent the same or similar modules or modules with the same or similar functions from beginning to end. The embodiments described below with reference to the drawings are exemplary and are only used to explain the present application and should not be construed as a limitation of the present application. On the contrary, the embodiments of the present application include all changes, modifications and equivalents falling within the spirit and scope of the appended claims.

[0032] Example 1

[0033] Explanation of prior art:

[0034] (1) Definition of industrial switches

[0035] Industrial switches, also known as industrial Ethernet switches, use a transparent and unified TCP / IP protocol, have telecom-grade performance characteristics, can withstand harsh working environments, are manufactured using components with high reliability and stability, and are mainly used in Ethernet switch equipment in the field of industrial control. In this embodiment, the industrial switch equipment used in this single well station is Hirschman MS4128-L3P.

[0036] Characteristics of industrial switches: ① Adapt to the harsh environment of industrial control sites, including mechanical environment adaptability, climate environment adaptability, electromagnetic environment adaptability or electromagnetic compatibility; ② Wide voltage, redundant dual power supply design; ③ Mean time between failures MTBF standard, no fan heat dissipation; ④ Ring link fault recovery time <300ms.

[0037] Ring network protocol of industrial switches: There are several types of industrial switch ring networks: ring networks based on spanning tree STP, ring networks based on private (dedicated) ring network protocols, and ring networks based on G.8032 general ring network protocols.

[0038] The private ring network protocol is provided by the manufacturer. It originates from the self-healing time of the ring network protection. Since the Carrier Ethernet requires the ring network self-healing time to be ≤50ms, each manufacturer checks the status of the ring network by enabling a specific identification field in the switch. Once the ring network is broken, it is nothing more than switching from clockwise to counterclockwise. Therefore, its networking form is relatively simple, and most of them only support single ring or dual ring. In this embodiment, the private protocol for the Hirschmann switch is HIPER-Ring, and the ring network self-healing time is ≤50ms, but only supports a single ring.

[0039] The ring network based on the G.8032 protocol was born out of the interconnection needs of ring networks of different manufacturers. In this protocol, the master switch and neighbor switches need to be specified. Because it can quickly enable the blocked link when a network failure occurs through the specified logical blocking link, achieving a high self-healing time. However, in the actual networking process, when the devices of different manufacturers use the G.8032 protocol to form a network, there are still different compatibility issues.

[0040] (2) Definition of SDH equipment

[0041] SDH (Synchronous Digital Hierarchy), defined according to the recommendations of ITU-T, is an integrated information transmission network that combines multiplexing, line transmission, and switching functions and is operated by a unified network management system. In this embodiment, the SDH devices used in each single-well station are Huawei Optix OSN1500.

[0042] SDH technology has the following obvious advantages:

[0043] ① Extremely strong network management capabilities: Rich network management bytes are defined in the SDH frame structure, providing capabilities to meet various requirements;

[0044] ② Self-healing protection ring: SDH devices can form a ring network with self-healing protection capabilities, effectively preventing the situation where the transmission medium is cut off and all communication services are terminated;

[0045] SNCP is a service-based protection method among them. The protection channels in each transmission direction of SNCP follow different routes from the working channels. Through a switching switch, one path of service information is selected from two directions according to the switching criteria. SNCP adopts a working mode of dual transmission and selective reception. The system can automatically perform protection switching within 50 ms, and users can hardly feel the existence of faults during the switching;

[0046] ③ Byte multiplexing technology adopted in SDH technology: Circuits can be added and dropped through simple settings;

[0047] ④ Strict service isolation function.

[0048] (3) Dynamic routing protocol (OSPF)

[0049] OSPF (Open Shortest Path First) is an interior gateway protocol (IGP) based on link state developed by the IETF organization and is a protocol based on link state.

[0050] Advantages of the OSPF protocol:

[0051] ① Fast convergence speed of routing changes: The routes of OSPF are calculated by routers and stored in the local database. When network updates occur, there is no need to passively query neighboring routers, so OSPF has a relatively fast convergence speed.

[0052] ②No routing loops: The OSPF routing protocol uses the Shortest Path First (SPF) algorithm, and routers are represented by Router IDs, which can ensure that there are no loops within a single area. The so-called loop-free means that there are no loops when the network only uses the OSPF routing protocol. If other routing protocols or static routes are involved, it cannot be guaranteed that there are no loops.

[0053] ③Hierarchical area division: In OSPF, a network can be divided into many areas, including two types: the backbone area (area 0) and regular areas. All regular areas must be connected to the backbone area. An area is connected through an OSPF border router. Route summarization can be used between areas to reduce routing information, decrease the routing table, and improve the operation speed of the router.

[0054] The OSPF dynamic routing protocol automatically calculates new routes based on link conditions. Therefore, the dynamic routing protocol OSPF is selected as the three-layer routing protocol for the industrial switch in this embodiment.

[0055] The communication system of oil and gas field production sites is an integrated platform involving information technologies such as mobile application systems, cloud computing, the Internet of Things, and big data. More and more new processes, new solutions, and even management and professional technical work rely on this platform.

[0056] In this embodiment, an industrial switch and an SDH multi-ring network hybrid networking system applied to oil and gas field production sites are provided. As Figure 1 shown, the networking system includes the following:

[0057] The directly buried optical cables laid along with the gas transmission pipeline form 4 industrial Ethernet rings, and the ADDS optical cables erected along the 10KV power poles inside the gas field form 4 SDH transmission rings. The industrial switches at each ring node in the 4 industrial Ethernet rings perform route selection on the SDH transmission rings and industrial Ethernet rings through the OSPF dynamic routing protocol. Among them, the industrial switches on the 4 industrial Ethernet rings are divided into VLANs according to services (production data, non-production data, etc.) and use IP addresses in different network segments.

[0058] In actual application, the communication networking process of the industrial Ethernet ring network is as follows: During the construction of oil and gas fields, it is required that after the installation of the production and transportation equipment at the single-well field station is completed, the communication should be in place, and the production data and industrial videos need to be transmitted back to the central control room of the purification plant in real time. However, the project construction is developed in a rolling manner by building and putting into production one well at a time. Priority is given to ensuring the laying of optical cables at the single-well field stations that have been put into production, rather than constructing in the order of the pre-designed ring network. This has resulted in the need to use star and tree structures to form a temporary network in the early stage to meet production requirements. The optical paths between single wells are not connected in the order of the ring network, but through a lot of optical cable cross-connections, and the network structure is very complex. Finally, after all the optical cable construction is completed, the ring network is re-organized according to the designed networking method. Data is configured on the core switch according to the networking plan, and then starting from the single-well field stations at both ends of the ring network, the outside line fiber optic jumpers and network technicians cooperate. The outside line personnel remove the fiber optic jumper of the industrial switch of this well from the original temporary network and add it to the Ethernet ring network formed by using the other four cores in the optical cable. At the same time, the network technicians modify the data of the industrial switch on the single well and adjust it ring by ring in turn to minimize the interruption time of the single well service. Among them, the IP address planning and routing planning need to be done in advance, carefully checked and verified to avoid faults caused by planning errors.

[0059] Among them, the industrial Ethernet ring network includes a core industrial switch group and multiple industrial switches (the number of industrial switches on different industrial Ethernet rings is different). Each of the industrial switches is located at each ring network node. The industrial switches at each ring network node all use Hirschmann MSP4128-L3P industrial-grade switches, and each industrial switch is sequentially connected by an optical cable and connected to the core industrial switch group to form a ring network; the core industrial switch group includes two mutually redundant core industrial switches, and the core industrial switches use Hirschmann MACH4002-48G-L3P industrial-grade switches. Among them, the industrial switch includes a multi-layer switch. For example: a layer 2 switch: it works on the second layer (data link layer) of the OSI network standard model, so it is called a layer 2 switch; a layer 3 switch: a switch with some router functions, which works on the third layer of the OSI network standard model, so it is called a layer 3 switch.

[0060] Among them, the SDH transmission ring network includes a core aggregation SDH device and multiple SDH devices (the number of SDH devices in different SDH transmission ring networks is different). Each of the SDH devices is located at each ring network node, and each SDH device is sequentially connected by an optical cable and connected to the core aggregation SDH device to form a ring network. The core aggregation device of the SDH transmission device uses Huawei Optix OSN3500, and the SDH devices at each ring network node in the SDH transmission ring network all use Huawei Optix OSN1500B. In actual application, the SDH device of the single-well station uses Optix OSN1500B, and the purification plant uses Optix OSN3500 to form 4 SDH transmission ring networks (respectively Figure 3 the northwest area ring network, the north area ring network, the west area ring network, and the east area ring network shown in

[0061] . In order to meet the needs of fast network switching and real-time transmission of large-volume data, the 4 industrial Ethernet ring networks are respectively: 1 main industrial Ethernet ring network (such as Figure 2 the No. 1 industrial Ethernet ring network on the left in Figure 2 ) and 3 non-main industrial Ethernet ring networks (such as the No. 2 / 3 / 4 industrial Ethernet ring networks on the right in

[0062] ). The switching time of the main industrial Ethernet ring network is within 50 ms, and the switching time of other ring networks is within 200 ms. Each industrial switch of the main industrial Ethernet ring network is networked using the Hiper-Ring proprietary protocol, and link aggregation is enabled. On this main industrial Ethernet ring network, the bandwidth between two core switches can be increased. In this embodiment, the core switches are interconnected with 2G, and multiple ports can also be stacked according to the situation, and the ring network switching time is increased to the fastest between 80 - 300 ms; each industrial switch of each non-main industrial Ethernet ring network is networked using the MRP media redundancy protocol. Finally, a mixed networking mode of the HIPER-Ring protocol and the MRP protocol is adopted. By loading the HIPER-Ring protocol on the link aggregation, the problem that two core industrial switches can only use 1G connection when only using the MRP protocol is solved. The core industrial switches are interconnected with 2G (multiple ports can also be stacked according to the situation), and the ring network switching time is increased to the fastest between 80 - 300 ms. In this embodiment, the industrial switches use their factory's ring network private protocol HIPER-Ring and the MRP ring network media redundancy protocol to build four ring networks, avoiding using a single ring network for networking, so as to prevent a large-area network paralysis caused by excessive single-ring data traffic or problems with optical fibers and equipment.To solve the problem of the interconnection of core switches, the networking system further includes two commercial routers, which are Huawei 7706 routers. Considering the differences in the internal transportation and purification work interfaces, each of the commercial routers is respectively communicatively connected to each of the core industrial switches to form different OSPF backbone domains respectively, and two core industrial switches are respectively connected to two commercial routers to form different domains respectively. After the entire network is successfully built, the gathering and transportation part and the purification plant equipment need to be divided according to the management interface. Due to proper planning, the interface division is completed with almost no modification of the network structure and data configuration.

[0063] For the industrial switches and SDH devices at the same single well, due to the different directions of the overhead ADDS optical cables and the buried optical cables, the access ring networks are also different, that is, the SDH ring network and the industrial ring network are not in a one-to-one correspondence relationship, and direct connection cannot achieve intercommunication and synchronization. To solve the problem of the corresponding relationship between the industrial switches and the SDH devices, the physical relationship of the ring network is disassembled. Taking the industrial ring as the standard, for the well stations in the same ring network, with the same ID label, and each of the SDH devices in the SDH transmission ring network respectively corresponds to each of the industrial switches in the industrial Ethernet ring network, to complete the logical synchronization and intercommunication between the industrial Ethernet ring network and the SDH transmission ring network.

[0064] Under the most extreme conditions, when the industrial switch at the single well station breaks down, it is required that the production data of the single well station can also be transmitted back to the core converging SDH device of the purification plant. Therefore, the spare port of the RTU control device at the station is connected to a separate service port of the SDH device at the station, bypassing the industrial switch at the single well station and directly connecting to the core converging SDH device of the purification plant. However, during data planning, the address of each single well is a separate network segment. If many ports corresponding to the SDH devices at the single well stations are set on the core converging SDH device of the purification plant and interconnected with the core industrial switch through these ports, it will result in an extremely large number of ports on the core converging SDH device and the core industrial switch, and the VLAN interface support capacity of the core industrial switch is limited.

[0065] To solve the problem of access devices, the networking system further includes: the RTU control devices at each single well station, connecting the spare ports of each of the RTU control devices to each of the SDH devices respectively, and connecting the main ports of each of the RTU control devices to each of the industrial switches respectively. The internal VC service label of the SDH device at the station is transparently transmitted through the core converging SDH device to a port of the core industrial switch. The core industrial switch identifies different single well data through the service label, realizing the intercommunication of the RTU main and standby channels respectively through the industrial Ethernet ring network and the SDH transmission ring network on the network, and saving a large number of device boards.

[0066] When the industrial switch is working properly, the core data collected by the RTU control device and the detailed data collected by the industrial switch are both transmitted to the core industrial switch through the industrial Ethernet ring network; when the ring network single-sided transmission line of the industrial switch is broken, the industrial switch enables the ring network layer 2 protocol for fast millisecond-level switching, and the core data collected by the RTU control device and the detailed data collected by the industrial switch are still transmitted to the core industrial switch through the industrial Ethernet ring network; when both sides of the ring network transmission line of the industrial switch are broken, but the industrial switch is normal, the core data collected by the RTU control device is still transmitted to the industrial switch through its main channel, and the industrial switch transmits the core data and the detailed data to the core industrial switch through the SDH transmission ring network; when the industrial switch breaks down, the core data collected by the RTU control device is transmitted to the SDH device through its standby channel and returns to the core aggregation SDH device. The commercial router identifies different single-well data (only the core data at this time) through service tags, realizing the interconnection of the main and standby channels of the RTU through the industrial Ethernet ring network and the SDH transmission ring network on the network.

[0067] In the industrial switch and SDH multi-ring network hybrid networking system provided in this embodiment, the data granularity uses VC12 (2M) during networking. In order to control the switching time and traffic, the maximum number of nodes in an industrial Ethernet ring network is controlled to 30, and the corresponding number of nodes in each SDH ring network is also 30. Considering the number of nodes in the ring network and the later expansion of application services, the bandwidth of each SDH device is determined to be 20M. Each well site is also connected to the core aggregation SDH device of the purification plant in the form of a ring network, and all the data devices at the stations are aggregated to the GE port using a GE board.

[0068] Embodiment 2

[0069] In the present invention, a routing channel switching method for an industrial switch and SDH multi-ring network hybrid networking is also disclosed. The routing channel switching method includes:

[0070] S1: Configure the routing addresses of the three-layer switches of each industrial switch in the same industrial Ethernet ring network to the same network segment, and the IPs can be mutually accessible to each other. Use the ring network communication of each industrial Ethernet ring network as the first IP routing channel for data;

[0071] S2: Connect the layer-3 switches of each industrial switch in the same industrial Ethernet ring network to the corresponding SDH devices. Connect the SDH transmission ring network where the SDH devices are located to the core aggregation SDH device, and then transmit the data to the core industrial switch group through the core aggregation SDH device. Configure them into the same network segment so that the routing addresses IP can be accessed mutually. Use the SDH transmission ring network as the second IP routing channel for data. Among them, enable the Qos policy on the layer-3 electrical ports where the layer-3 switches of the industrial switches are connected to the SDH devices to ensure that when the industrial Ethernet ring network transmission fails, important services such as production data streams and industrial control flows can preferentially occupy the limited SDH bandwidth without being affected by delays or discarded due to congestion.

[0072] S3: Connect the spare ports of each field RTU control device to the SDH device of the field. Connect the SDH transmission ring network where the SDH device is located to the core aggregation SDH device, and then transmit the data to the commercial router. Transmit the data to the core industrial switch group through the spare layer-2 channel of the core aggregation SDH device. Terminate the gateway on the commercial router to serve as the third IP routing channel for data.

[0073] Among them, the priority of the first IP routing channel is higher than that of the second IP routing channel, and the priority of the second IP routing channel is higher than that of the third IP routing channel. Implement routing selection and switching through the IP layer protocol. The logic of routing selection and switching is as follows:

[0074] When the industrial switch is working normally and the data on both sides of the industrial switch is transmitted normally, select the first IP routing channel as the data stream transmission channel through the IP layer protocol; as Figure 4 shown, the RTU collects core data and transmits it to the layer-3 switch. At the same time, the layer-3 switch collects each detailed data (see Figure 4 ), and transmits the data to the core industrial switch through the industrial Ethernet ring network.

[0075] When the industrial switch is working normally, but the data transmission on both sides of the industrial switch is interrupted, select the second IP routing channel as the data stream transmission channel through the IP layer protocol; as Figure 4 shown, the RTU collects core data and transmits it to the layer-3 switch. At the same time, the layer-3 switch collects each detailed data (see Figure 4 ). Since the transmission links on both sides of the industrial switch are interrupted, the layer-3 switch transmits the data to the core aggregation SDH device through the corresponding SDH device and the SDH transmission ring network, and finally transmits it to the core industrial switch.

[0076] When the industrial switch malfunctions, the RTU control device uses the third IP routing channel as the data stream transmission channel. Since the industrial switch is not working properly, at this time, the RTU control device transmits some core aggregation SDH devices, and the core aggregation SDH device transmits data to the commercial router. As Figure 4 shown, at this time, the three-layer switch cannot collect each detailed data. The core data collected by the RTU is transmitted to the SDH device, and the data is transmitted to the core aggregation SDH device through the SDH transmission ring network. The core aggregation SDH device transmits data to the commercial router through the backup channel.

[0077] It should be noted that in the description of this application, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, the meaning of "a plurality of" refers to at least two.

[0078] Any process or method description shown in the flowchart or described in other ways herein can be understood as representing a module, segment, or part of code including one or more executable instructions for implementing a specific logical function or process. The scope of the preferred embodiments of this application includes additional implementations, where the functions can be executed in a substantially simultaneous manner or in the reverse order according to the involved functions, rather than in the order shown or discussed, which should be understood by those skilled in the technical field of the embodiments of this application.

[0079] It should be understood that each part of this application can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following well-known technologies in the art can be used: discrete logic circuits with logic gate circuits for implementing logical functions on data signals, application-specific integrated circuits with suitable combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

[0080] Those of ordinary skill in the art of this technology can understand that all or part of the steps carried by the method of the above embodiments can be completed by instructing relevant hardware through a program. The program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.

[0081] In addition, each functional unit in various embodiments of the present application may be integrated into a processing module, may exist physically alone for each unit, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. When the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0082] The above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disc, or the like.

[0083] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples.

[0084] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present application. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present application.

Claims

1. An industrial switch and SDH multi-ring network hybrid networking system, characterized in that The networking system includes: multiple industrial Ethernet rings formed by burying optical cables and multiple SDH transmission rings formed by erecting ADSS optical cables. The industrial switches at each ring node in each industrial Ethernet ring perform routing selection on the SDH transmission ring and the industrial Ethernet ring through the OSPF dynamic routing protocol; The routing channel switching method of the networking system includes: Configuring the routing addresses of the three-layer switches of the industrial switches in the same industrial Ethernet ring to the same network segment, and using the ring communication of each industrial Ethernet ring as the first IP routing channel for data; Connecting the three-layer switches of the industrial switches in the same industrial Ethernet ring to the corresponding SDH devices, and transmitting through the SDH transmission ring where the SDH devices are located to the core industrial switch group as the second IP routing channel for data; Connecting the spare ports of each field RTU control device to the SDH device at the field, and transmitting through the SDH transmission ring where the SDH device is located to the commercial router as the third IP routing channel for data; Among them, the priority of the first IP routing channel is higher than that of the second IP routing channel, and the priority of the second IP routing channel is higher than that of the third IP routing channel, and routing selection and switching are implemented through the IP layer protocol; Qos policies are enabled on the three-layer electrical ports where the three-layer switches of the industrial switches are connected to the SDH devices; The logic of the routing selection and switching is: When the industrial switch is working normally and the data on both sides of the industrial switch is transmitted normally, select the first IP routing channel as the data stream transmission channel through the IP layer protocol; When the industrial switch is working normally, but the data transmission on both sides of the industrial switch is interrupted, select the second IP routing channel as the data stream transmission channel through the IP layer protocol; When the industrial switch is not working properly, the RTU control device uses the third IP routing channel as the data stream transmission channel.

2. The industrial switch and SDH multi-ring network hybrid networking system according to claim 1, characterized in that Each of the industrial Ethernet rings is divided into: a main ring of the industrial Ethernet ring and multiple non-main rings of the industrial Ethernet ring. The industrial switches in the main ring of the industrial Ethernet ring are networked using the Hiper-Ring dedicated protocol, and the industrial switches in each non-main ring of the industrial Ethernet ring are networked using the MRP media redundancy protocol.

3. The industrial switch and SDH multi-ring network hybrid networking system according to claim 1 or 2, characterized in that, The industrial Ethernet ring includes a core industrial switch group and multiple industrial switches. Each of the industrial switches is located at each ring node, and each industrial switch is sequentially connected by an optical cable and connected to the core industrial switch group to form a ring; the core industrial switch group includes at least two redundant core industrial switches.

4. The industrial switch and SDH multi-ring network hybrid networking system according to claim 3, characterized in that, The SDH transmission ring includes a core aggregation SDH device and multiple SDH devices. Each of the SDH devices is located at each ring node, and each SDH device is sequentially connected by an optical cable and connected to the core aggregation SDH device to form a ring.

5. The industrial switch and SDH multi-ring network hybrid networking system according to claim 4, characterized in that, The networking system further includes at least two commercial routers. Each of the commercial routers is respectively communicatively connected to each of the core industrial switches to form an OSPF backbone domain, and the commercial router is communicatively connected to the core aggregation SDH device.

6. The industrial switch and SDH multi-ring network hybrid networking system according to claim 4, characterized in that The fiber channel of the core industrial switch communicates with the SDH channel of the core aggregation SDH device through an optical cable, and each of the SDH devices in the SDH transmission ring network corresponds to each industrial switch in the industrial Ethernet ring network respectively.

7. The industrial switch and SDH multi-ring network hybrid networking system according to claim 4, wherein The networking system further includes: RTU control devices at each single well station, the spare ports of each RTU control device are respectively connected to each of the SDH devices, and the main ports of each RTU control device are respectively connected to each of the industrial switches.

Citation Information

Patent Citations

  • Computer wide area network system for long distance water diversion project automated information transmission

    CN103401740A

  • SDH-based coal mine IOT (Internet of Things) integrated automation information system

    CN202815534U