Network system, network system control method, and storage medium
By introducing the networking architecture of MRP main ring network, sub ring network and inter-ring coupling network in industrial Ethernet, the ring network manager is used to monitor and switch blocking ports, the reliability problem of the network system under multi-point failure is solved, rapid redundant links and hardware switching is achieved, and the reliability of the system is improved.
Patent Information
- Application Number
- CN202510689390.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-27
- Publication Date
- 2025-08-01
AI Technical Summary
The existing industrial Ethernet system cannot provide effective redundancy when a node or link fails multi-point failure, resulting in insufficient reliability and cannot meet the requirements of industrial scenarios.
The networking architecture adopts the MRP main ring network and the MRP sub ring network, and through the inter-ring coupled network connection, each ring network contains multiple switch devices. The ring network manager is used to monitor the network status and enable blocking ports in the event of a failure, achieving rapid switching of redundant links and redundant hardware.
In the case of multi-point failure, the normal operation of the network system can still be ensured, fast redundant links and redundant hardware switching can be provided, and the reliability of the network system can be improved, and the requirements for link and hardware redundancy in industrial scenarios can be met.
Smart Images

Figure CN120415951A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of Ethernet technology, and in particular to a network system, a network system control method, and a storage medium. Background Art
[0002] Industrial Ethernet networks often use a ring networking architecture. The Media Redundancy Protocol (MRP) provides node and link redundancy within this ring architecture. When a node or link fails, MRP reconfigures the network and maintains normal system operation. However, based on the current Industrial Ethernet system networking architecture, MRP can only provide node or link redundancy in the event of a single point of failure, and its reliability cannot meet the requirements of industrial scenarios. Summary of the Invention
[0003] In view of this, one of the technical problems solved by the embodiments of the present application is to provide a network system, a network system control method and a storage medium to improve the reliability of the industrial Ethernet system.
[0004] In a first aspect, an embodiment of the present application provides a network system, including:
[0005] A Media Redundancy Protocol (MRP) main ring network and at least one MRP sub-ring network, wherein the MRP main ring network includes a ring network composed of a control device and at least two switch devices, and the MRP sub-ring network includes a ring network composed of an execution device and at least two switch devices;
[0006] The at least one MRP sub-ring network is connected to the MRP main ring network based on an inter-ring coupling network. Each of the inter-ring coupling networks includes at least two first switch devices and at least two second switch devices. The first switch devices are switch devices in the MRP main ring network, and the second switch devices are switch devices in the MRP sub-ring network.
[0007] In a second aspect, an embodiment of the present application provides a network system control method, which is applied to the network system described in the first aspect or any one of the embodiments of the first aspect; the method includes:
[0008] Detecting the network status of the MRP main ring network through a ring network manager in the MRP main ring network, and opening a blocked port of the ring network manager of the MRP main ring network after determining that a network fault exists; and
[0009] Detect the network status of the MRP sub-ring network through the ring network manager in the MRP sub-ring network, and after determining that a network fault is detected, open the blocked port of the ring network manager of the MRP sub-ring network; and,
[0010] Detect the network status of the inter-ring coupling network through the ring network manager in the inter-ring coupling network, and after determining that a network fault is detected, open the blocked port of the ring network manager of the inter-ring coupling network.
[0011] In a third aspect, an embodiment of the present application provides a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the network system control method described in the second aspect or any one of the embodiments of the second aspect.
[0012] An embodiment of the present application provides a network system, a network system control method, and a storage medium. Embodiments of the present application,... Description of the Drawings
[0013] Some specific embodiments of the embodiments of the present application will be described in detail below with reference to the drawings in an exemplary and non-limiting manner. The same reference numerals in the drawings denote the same or similar components or parts. Those skilled in the art should understand that these drawings are not necessarily drawn to scale. In the drawings:
[0014] Figure 1 It is a schematic diagram of an industrial Ethernet networking architecture in the related art;
[0015] Figure 2 It is a schematic diagram of a fault scenario of an industrial Ethernet in the related art;
[0016] Figure 3 It is a schematic diagram of a networking architecture of the network system provided by the embodiment of the present application;
[0017] Figure 4 It is a schematic diagram of an operating scenario of the network system provided by the embodiment of the present application;
[0018] Figure 5 It is a schematic diagram of a fault scenario of the network system provided by the embodiment of the present application;
[0019] Figure 6 It is another schematic diagram of a fault scenario of the network system provided by the embodiment of the present application;
[0020] Figure 7 It is a schematic diagram of the flow of the network system control method provided by the embodiment of the present application.
[0021] List of Reference Numerals:
[0022] 10: Switching device;
[0023] 20: Control device;
[0024] 30: Execution device;
[0025] 40: Ring network manager;
[0026] 401: Blocking port;
[0027] 100: MRP main ring network;
[0028] 101, 102, 103, 104: MRP sub-ring networks;
[0029] 701: Detect the network status of the MRP main ring network through the ring network manager in the MRP main ring network, and after determining that a network fault is detected, open the blocking port of the ring network manager of the MRP main ring network;
[0030] 702: Detect the network status of the MRP sub-ring network through the ring network manager in the MRP sub-ring network, and after determining that a network fault is detected, open the blocking port of the ring network manager of the MRP sub-ring network;
[0031] 703: Detect the network status of the inter-ring coupling network through the ring network manager in the inter-ring coupling network, and after determining that a network fault is detected, open the blocking port of the ring network manager of the inter-ring coupling network. Detailed implementation manners
[0032] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art shall fall within the protection scope of the embodiments of the present application.
[0033] Industrial Ethernet mostly adopts a ring network architecture. In a ring network architecture that applies the Media Redundancy Protocol (MRP), each device supports MRP, and each device is respectively connected to other devices through two ports, thus forming a loop. When a node or link in the loop fails, data transmission can be switched to a redundant link based on the MRP protocol, so as to continue to maintain the availability of the network system.
[0034] However, based on the current system networking architecture of industrial Ethernet, MRP can only provide redundancy for a single node or a single link in the case of a failure, and its reliability cannot meet the requirements of industrial scenarios.
[0035] For ease of understanding, the following will describe the defects existing in the system networking architecture of industrial Ethernet in the related art with reference to the accompanying drawings.
[0036] As Figure 1 shown, in the networking architecture of industrial Ethernet in the related art, each switch device 10 is connected in a ring to form a loop. Further, the control device 20 and the execution device 30 are star-connected to the loop. Among them, the control device 20 can be, for example, a Programmable Logic Controller (PLC), etc., and the execution device 30 can be, for example, an input / output device, etc.
[0037] In the loop as Figure 1 shown, each switch device includes a ring network manager, and the other switch devices are clients. The ring network manager includes a working port and a blocking port. The ring network manager only transmits data with the clients in the loop through the working port, thereby preventing loop storms. Further, the ring network manager can be used to monitor the status of each device and link in the loop. When it is found that any device or link has a fault, the blocking port can be started to realize the reconstruction of the transmission link in the loop and maintain the normal operation of the network system.
[0038] Exemplarily, referring to Figure 2 , in the case where the network system is fault-free, the port 401 of the ring network manager 40 is blocked. At this time, data is transmitted based on the ring transmission link shown by the solid line in the loop. When any link or device in the network system fails, exemplarily, referring to Figure 2 , when any switch fails, the original transmission link will not be able to transmit data normally. At this time, the ring network manager 40 starts the blocking port 401. Then, each device in the loop can continue to execute data transmission based on the transmission link shown by the dotted line.
[0039] However, based on the networking architecture as Figure 1 shown, on the one hand, when two or more device or link failures occur, the system will not be able to continue running. On the other hand, since the switches in the loop are all star-connected to the control device or the execution device, when any switch device fails, all the devices star-connected to this switch device will not be able to be used.
[0040] It can be seen that the networking architecture of the above Ethernet has insufficient reliability and cannot meet the requirements of industrial scenarios for link redundancy and hardware redundancy.
[0041] Based on the above problems, this application is proposed.
[0042] Figure 3Schematic diagram of the network system provided by the embodiments of the present application.
[0043] As Figure 3 shown, in the embodiments of the present application, the network system may include: an MRP main ring network and at least one MRP sub-ring network. Figure 3 An example is given where the network system includes an MRP main ring network 100 and four MRP sub-ring networks 101, 102, 103, and 104. It should be understood that in actual application scenarios, the network system may include more or fewer MRP sub-ring networks, and the embodiments of the present application do not limit this.
[0044] In the embodiments of the present application, the MRP main ring network 100 may include a control device 20 and at least two switch devices 10. Among them, the control device 20 may be, for example, a PCL, a Distributed Control System (DCS), etc. Figure 3 An example is given where the MRP main ring network 100 includes two control devices 20 and two switch devices 10. It should be understood that in actual scenarios, the MRP main ring network 100 may also include more or fewer control devices, and may also include more switch devices. In the embodiments of the present application, each device in the MRP main ring network 100 includes two ports, and each port can be used to connect to another device to form a loop.
[0045] The MRP sub-ring network may include an execution device 30 and at least two switch devices 10. Figure 3 An example is given where the MRP sub-ring network includes two execution devices 30 and two switch devices 10. Among them, the execution device may be, for example, an input / output device, a Remote Terminal Unit (RTU), etc. It should be understood that in actual scenarios, the MRP sub-ring network may also include more or fewer execution devices, and may also include more switch devices. In the embodiments of the present application, each device in the MRP sub-ring network includes two ports, and each port can be used to connect to another device to form a loop.
[0046] Each MRP sub-ring network in the network system can be connected to the MRP main ring network 100 respectively based on an inter-ring coupling network. Each inter-ring coupling network may include at least two first switch devices and at least two second switch devices, where the first switch device is a switch device in the MRP main ring network, and the second switch device is a switch device in the MRP sub-ring network. Taking Figure 3Taking the network system with the shown structure as an example, when both the MRP main ring network and the MRP sub-ring networks include two switch devices, the inter-ring coupling network between each MRP sub-ring network and the MRP main ring network can be composed of four switch devices. Among them, two switch devices belong to the MRP main ring network, and two switch devices belong to the MRP sub-ring network. It can be understood that for any inter-ring coupling network, any switch device included therein belongs to the MRP sub-ring network or the MRP main ring network while belonging to the inter-ring coupling network.
[0047] It should be noted that in the embodiments of the present application, in the above-mentioned MRP main ring network, each MRP sub-ring network, and each inter-ring coupling network, the number of device nodes included may not exceed 50.
[0048] In the embodiments of the present application, based on the above network system architecture, the control device in the MRP main ring network can perform data transmission with the execution device in any MRP sub-ring network through the inter-ring coupling network. Since each ring network includes two or more switch devices, redundant hardware can be provided for the communication between the control device and the execution device. When a switch device in any loop fails, the availability of the network system will not be affected. And the above network system distributes the switch devices to different ring networks. Thus, when link failures occur in multiple ring networks, redundant links can be provided based on each ring network respectively, and the availability of the network system will not be affected either.
[0049] Furthermore, in the embodiments of the present application, each device in the MRP main ring network may include a ring network manager. The ring network manager may be, for example, any control device or switch device in the MRP main ring network. Except for the ring network manager, other devices in the MRP main ring network are all ring network clients. In the MRP main ring network, the ring network manager may include a working port and a blocking port. When the MRP main ring network is fault-free, the ring network manager only enables the working port as the data transmission port to perform data transmission with the ring network clients in the ring network, while the blocking port does not perform data transmission, thereby preventing loop storms. On this basis, the ring network manager can monitor the network state of the MRP main ring network. When a network fault is detected, the blocking port can be enabled, so as to perform data transmission based on both ports simultaneously and realize the switching of the transmission link in the ring network. Among them, the network fault may be, for example, a device fault in the ring network or a link fault between devices.
[0050] Among them, the implementation method for the ring network manager to monitor the network status of the MRP main ring network can be, for example, to send a ring network test multicast message to the loop through the working port and forward the message through the ring network client. If the other port of the ring network manager receives the message within the preset time period, it can be determined that the network status is normal. If the message is not received within the preset time period, it can be determined that there is a network fault. On this basis, the ring network manager can also receive the port status information reported by each ring network client and implement fault location according to the port status information.
[0051] Correspondingly, similar to the MRP main ring network, each device in the MRP sub-ring network may also include a ring network manager. The ring network manager in the MRP sub-ring network can be, for example, any switch device in the MRP sub-ring network. The function of the ring network manager in the MRP sub-ring network is similar to that of the ring network manager in the MRP main ring network and will not be elaborated here. In addition, each switch device in each inter-ring coupling network may also include a ring network manager. The function of the ring network manager in the inter-ring coupling network is similar to that of the ring network manager in the MRP main ring network and will not be elaborated here. It should be noted that for the MRP main ring network or the MRP sub-ring network, each switch device participating in the inter-ring coupling in the ring network will assume two roles simultaneously. For example, it can be both a ring network client within the MRP main ring network and a ring network manager in the inter-ring coupling network.
[0052] In the network system provided by the embodiments of the present application, the network loop includes an MRP main ring network and multiple MRP sub-ring networks, and each MRP sub-ring network is connected to the MRP main ring network in a loop coupling manner. Through the above network system, on the one hand, each switch device in the system is dispersed into multiple different MRP ring networks, and each ring network includes at least two switch devices. In this way, when multiple device nodes or links in different ring networks fail, redundant links and redundant devices can still be provided, thus ensuring the normal operation of the system. On the other hand, the control devices or execution devices in the system are all connected to the switches in a ring shape. Compared with the star connection method, when one of the switches connected to the device fails, data transmission can still be achieved through other switch devices in the ring network, thereby maintaining the availability of the device. It can be seen that the network system provided by the embodiments of the present application has higher reliability and can better meet the requirements for hardware redundancy and link redundancy in industrial scenarios.
[0053] For ease of understanding, the following further elaborates on the function implementation of the network system provided by the embodiments of the present application with reference to the accompanying drawings.
[0054] Reference Figure 4, for the MRP main ring network 100, when there is no fault in the MRP main ring network 100, the blocked port of the ring network manager 40 of the MRP main ring network 100 does not perform data transmission, and the data transmission link in the MRP main ring network 100 is the link shown by the solid line.
[0055] For the MRP sub-ring network, when there is no fault in the MRP sub-ring network 101, the blocked port of the ring network manager 40 of the MRP sub-ring network 101 does not perform data transmission, and the data transmission link in the MRP sub-ring network 101 is the link shown by the solid line. When there is no fault in the MRP sub-ring network 102, the blocked port of the ring network manager 40 of the MRP sub-ring network 102 does not perform data transmission, and the data transmission link in the MRP sub-ring network 102 is the link shown by the solid line. When there is no fault in the MRP sub-ring network 103, the blocked port of the ring network manager 40 of the MRP sub-ring network 103 does not perform data transmission, and the data transmission link in the MRP sub-ring network 103 is the link shown by the solid line. When there is no fault in the MRP sub-ring network 104, the blocked port of the ring network manager 40 of the MRP sub-ring network 104 does not perform data transmission, and the data transmission link in the MRP sub-ring network 104 is the link shown by the solid line.
[0056] For the inter-ring coupling network between the MRP sub-ring network 101 and the MRP main ring network 100, when there is no fault in the inter-ring coupling network, the blocked port of the ring network manager 40 in the inter-ring coupling network does not perform data transmission, and the data transmission link of this inter-ring coupling network is the link shown by the solid line. For the inter-ring coupling network between the MRP sub-ring network 102 and the MRP main ring network 100, when there is no fault in the inter-ring coupling network, the blocked port of the ring network manager 40 in the inter-ring coupling network does not perform data transmission, and the data transmission link of this inter-ring coupling network is the link shown by the solid line. For the inter-ring coupling network between the MRP sub-ring network 103 and the MRP main ring network 100, when there is no fault in the inter-ring coupling network, the blocked port of the ring network manager 40 in the inter-ring coupling network does not perform data transmission, and the data transmission link of this inter-ring coupling network is the link shown by the solid line. For the inter-ring coupling network between the MRP sub-ring network 104 and the MRP main ring network 100, when there is no fault in the inter-ring coupling network, the blocked port of the ring network manager 40 in the inter-ring coupling network does not perform data transmission, and the data transmission link of this inter-ring coupling network is the link shown by the solid line.
[0057] Figure 5 It is a schematic diagram of the scenario when multiple links in the network system provided by the embodiment of this application fail.
[0058] In the case where there are multiple link faults in the network system, refer to Figure 5, Exemplarily, assume that there is a link failure in each loop of the network system. Then, for the MRP main ring network 100, the ring network manager 40 can open the blocked ports, so as to realize the switching of the transmission links in the MRP main ring network 100, from the original link to the link shown by the dotted line.
[0059] Correspondingly, for the MRP sub-ring network 101, the ring network manager 40 can open the blocked ports, so as to realize the switching of the transmission links in the MRP sub-ring network 101, from the original link to the link shown by the dotted line. For the MRP sub-ring network 102, the ring network manager 40 can open the blocked ports, so as to realize the switching of the transmission links in the MRP sub-ring network 102, from the original link to the link shown by the dotted line. For the MRP sub-ring network 103, the ring network manager 40 can open the blocked ports, so as to realize the switching of the transmission links in the MRP sub-ring network 103, from the original link to the link shown by the dotted line. For the MRP sub-ring network 104, the ring network manager 40 can open the blocked ports, so as to realize the switching of the transmission links in the MRP sub-ring network 104, from the original link to the dotted line link.
[0060] Correspondingly, for the inter-ring coupling network between the MRP sub-ring network 101 and the MRP main ring network 100, the ring network manager 40 can open the blocked ports, so as to realize the switching of the transmission links in the inter-ring coupling network, from the original link to the link shown by the dotted line. For the inter-ring coupling network between the MRP sub-ring network 102 and the MRP main ring network 100, the ring network manager 40 can open the blocked ports, so as to realize the switching of the transmission links in the inter-ring coupling network, from the original link to the link shown by the dotted line. For the inter-ring coupling network between the MRP sub-ring network 103 and the MRP main ring network 100, the ring network manager 40 can open the blocked ports, so as to realize the switching of the transmission links in the inter-ring coupling network, from the original link to the link shown by the dotted line. For the inter-ring coupling network between the MRP sub-ring network 104 and the MRP main ring network 100, the ring network manager 40 can open the blocked ports, so as to realize the switching of the transmission links in the inter-ring coupling network, from the original link to the link shown by the dotted line.
[0061] As can be understood from the above description, based on the network system provided by the embodiments of the present application, between the main ring network where the control device is located and any one of the sub-ring networks where the execution device is located, even when three link failures occur simultaneously, redundant links can still be provided to achieve the reconstruction of the network transmission link. Moreover, based on the MRP technology, the switching speed of the network transmission link is relatively fast, which can be controlled within 300 ms and does not affect the normal operation of the network system. Based on the network system provided by the embodiments of the present application, even when there are multiple link anomalies in the network system, redundant links can still be provided and the rapid switching of redundant links can be achieved to ensure the normal operation of the network system, greatly improving the reliability of the network system and better meeting the requirements for link redundancy in industrial scenarios.
[0062] Figure 6 This is a schematic diagram of the scenario of the network system provided by the embodiments of the present application when multiple devices fail.
[0063] In the case where there are multiple device failures in the network system, referring to Figure 6 , by way of example, assuming that there are device failures in each loop of the network system, then for the MRP main ring network 100, when the ring network manager detects the existence of device failures, the ring network manager 40 can open the blocking port, thereby realizing the switching of the transmission link in the MRP main ring network 100, switching from the original link to the link shown by the dotted line, and using the redundant hardware devices in the ring network to continue to execute the data transmission task.
[0064] Correspondingly, for the MRP sub-ring network 101, when the ring network manager detects a device failure in the MRP sub-ring network 101, the ring network manager 40 can open the blocked port, thereby realizing the switching of the transmission link in the MRP sub-ring network 101, switching from the original link to the link shown by the dotted line, and using the redundant hardware devices in the ring network to continue to execute the data transmission task. For the MRP sub-ring network 102, when the ring network manager detects a device failure in the MRP sub-ring network 102, the ring network manager 40 can open the blocked port, thereby realizing the switching of the transmission link in the MRP sub-ring network 102, switching from the original link to the link shown by the dotted line, and using the redundant hardware devices in the ring network to continue to execute the data transmission task. For the MRP sub-ring network 103, when the ring network manager 40 detects a device failure in the MRP sub-ring network 103, the ring network manager 40 can open the blocked port, thereby realizing the switching of the transmission link in the MRP sub-ring network 103, switching from the original link to the link shown by the dotted line, and using the redundant hardware devices in the ring network to continue to execute the data transmission task. For the MRP sub-ring network 104, when the ring network manager 40 detects a device failure in the MRP sub-ring network 104, the ring network manager 40 can open the blocked port, thereby realizing the switching of the transmission link in the MRP sub-ring network 104, switching from the original link to the link shown by the dotted line, and using the redundant hardware devices in the ring network to continue to execute the data transmission task.
[0065] Correspondingly, for the inter-ring coupling network between the MRP sub-ring network 101 and the MRP main ring network 100, when the ring network manager 40 of the inter-ring coupling network detects a device failure in the inter-ring coupling network, the ring network manager 40 can open the blocking port, thereby realizing the switching of the transmission link in the inter-ring coupling network. The original link is switched to the link shown by the dotted line, and the redundant hardware devices in the ring network are used to continue to execute the data transmission task. For the inter-ring coupling network between the MRP sub-ring network 102 and the MRP main ring network 100, when the ring network manager 40 of the inter-ring coupling network detects a device failure in the inter-ring coupling network, the ring network manager 40 can open the blocking port, thereby realizing the switching of the transmission link in the inter-ring coupling network. The original link is switched to the link shown by the dotted line, and the redundant hardware devices in the ring network are used to continue to execute the data transmission task. For the inter-ring coupling network between the MRP sub-ring network 103 and the MRP main ring network 100, when the ring network manager 40 of the inter-ring coupling network detects a device failure in the inter-ring coupling network, the ring network manager 40 can open the blocking port, thereby realizing the switching of the transmission link in the inter-ring coupling network. The original link is switched to the link shown by the dotted line, and the redundant hardware devices in the ring network are used to continue to execute the data transmission task. For the inter-ring coupling network between the MRP sub-ring network 104 and the MRP main ring network 100, when the ring network manager 40 of the inter-ring coupling network detects a device failure in the inter-ring coupling network, the ring network manager 40 can open the blocking port, thereby realizing the switching of the transmission link in the inter-ring coupling network. The original link is switched to the link shown by the dotted line, and the redundant hardware devices in the ring network are used to continue to execute the data transmission task.
[0066] It can be understood that since there is hardware redundancy of switch devices in each ring network of the network system, therefore, in the case of a device failure, based on the switching of the transmission links in the above-mentioned each ring network, the control device in the MRP main ring network can still perform data transmission with the execution device in the MRP sub-ring network through the inter-ring coupling network.
[0067] In particular, for the case where the failed device is the ring network manager itself, in the embodiment of the present application, for any ring network manager, one of the ring network clients adjacent to the ring network manager can be used as a monitoring device for the ring network manager to monitor the running state of the ring network manager. In the case of determining a ring network manager failure, the ring network client can automatically block one of its own ports, and this port can be, for example, a port interconnected with the ring network manager. In this way, in the case of a ring network manager failure itself, the loop storm of the loop can be prevented. Among them, the specific manner in which the ring network client monitors the running state of the ring network manager can be that the ring network client sends a monitoring message to the ring network manager. If the response information of the ring network manager is not received within a preset time period, then it can be determined that the ring network manager has failed.
[0068] As can be understood from the above description, based on the network system provided by the embodiments of the present application, between the main ring network where the control device is located and any one of the sub-ring networks where the execution device is located, when three device failures occur simultaneously, at least two switch devices corresponding to the control device and at least two switch devices corresponding to the execution device can still provide redundant hardware to realize the reconstruction of the network transmission link. And based on the MRP technology, the switching speed of the network transmission link is relatively fast, which can be controlled within 300 ms and does not affect the normal operation of the network system. Through the network system provided by the embodiments of the present application, when multiple devices in the network system fail, redundant hardware can still be provided, and the rapid switching of the redundant hardware can be realized to ensure the normal operation of the network system, greatly improving the reliability of the network system and better meeting the requirements of industrial scenarios for hardware redundancy.
[0069] Moreover, based on the network system provided by the embodiments of the present application, when any device in the network system fails, since the connection mode between this device and other devices is a ring connection, therefore, the other devices connected thereto can still maintain normal operation based on the redundant hardware on the loop. It can be seen that compared with the star connection mode, the failure of one device in this network system will not affect the normal operation of other devices, and the reliability of the network system is stronger.
[0070] In another implementation manner, the network failures that may occur in the above network system may simultaneously include, for example, Figure 5 the link failures as shown in Figure 6 and the device failures as shown in
[0071] When link failures and device failures occur simultaneously, the link reconstruction method of the network system provided by the embodiments of the present application can refer to the foregoing embodiments and will not be elaborated herein.
[0072] Based on the network system described in the above embodiments, in another embodiment of the present application, a network system control method applied to the above network system is described. It should be noted that since the specific structure of the network system has been described in detail in the above network system embodiment part in combination with the structure schematic diagram, the specific content can be referred to the description in the foregoing network system embodiment and will not be elaborated herein. The following mainly explains the network system control method applied to the foregoing network system.
[0073] Figure 7 It is a flowchart of a network system control method provided by an embodiment of the present application. As Figure 7 shown, the network system control method provided by the embodiments of the present application may include:
[0074] Step 701: Detect the network status of the MRP main ring network through the ring network manager in the MRP main ring network. After determining that a network fault is detected, open the blocked port of the ring network manager of the MRP main ring network.
[0075] Step 702: Detect the network status of the MRP sub-ring network through the ring network manager in the MRP sub-ring network. After determining that a network fault is detected, open the blocked port of the ring network manager of the MRP sub-ring network.
[0076] Step 703: Detect the network status of the inter-ring coupling network through the ring network manager in the inter-ring coupling network. After determining that a network fault is detected, open the blocked port of the ring network manager of the inter-ring coupling network.
[0077] It should be noted that the embodiments of the present application do not limit the implementation order of the above steps 701 to 703. In practical applications, the above steps can be executed in any order or simultaneously.
[0078] Since the details of the network system control method have been described in detail in the above network system embodiment part in combination with the structural schematic diagram, the specific process can be referred to the description in the foregoing network system embodiment and will not be elaborated here.
[0079] Based on the network system control method described in any of the above embodiments, the embodiments of the present application provide a computer storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the method described in any of the above embodiments.
[0080] It should be pointed out that according to the needs of implementation, each component / step described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or part of the operations of the components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present application.
[0081] The method according to the embodiments of the present application can be implemented in hardware, firmware, or as software or computer code that can be stored in a recording medium (such as a CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or as computer code originally stored in a remote recording medium or a non-transitory machine-readable medium and downloaded through a network and to be stored in a local recording medium, so that the method described herein can be stored as such software processing on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware (such as an ASIC or FPGA). It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component (such as RAM, ROM, flash memory, etc.) that can store or receive software or computer code, and when the software or computer code is accessed and executed by the computer, the processor, or the hardware, the control method of the adjustment machine described herein is implemented. In addition, when a general-purpose computer accesses the code for implementing the control method of the adjustment machine shown herein, the execution of the code converts the general-purpose computer into a dedicated computer for executing the control method of the adjustment machine shown herein.
[0082] It should also be noted that the term "comprising", "including" or any other variation thereof is intended to cover a non-exclusive inclusion, such that a process, method, commodity or device comprising a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, commodity or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, commodity or device comprising the element.
[0083] Those of ordinary skill in the art can realize that the units and method steps of the examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the embodiments of the present application.
[0084] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
[0085] The above embodiments are only used to illustrate the embodiments of the present application, rather than to limit the embodiments of the present application. Those of ordinary skill in the relevant technical field can also make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application. The patent protection scope of the embodiments of the present application shall be defined by the claims.
Claims
1. A network system, comprising: A Media Redundancy Protocol (MRP) main ring network and at least one MRP sub-ring network, wherein the MRP main ring network comprises a ring network composed of a control device and at least two switch devices, and the MRP sub-ring network comprises a ring network composed of an execution device and at least two switch devices; The at least one MRP sub-ring network is respectively connected to the MRP main ring network based on an inter-ring coupling network, and each inter-ring coupling network comprises at least two first switch devices and at least two second switch devices. The first switch devices are switch devices in the MRP main ring network, and the second switch devices are switch devices in the MRP sub-ring network.
2. The system according to claim 1, wherein, The MRP main ring network, the MRP sub-ring network and the inter-ring coupling network respectively comprise a ring network manager, and the ring network manager comprises a working port and a blocking port. The ring network manager is used for opening the blocking port after detecting a network fault in the ring network where it is located.
3. The system according to claim 2, wherein, The ring network manager in the MRP main ring network is any one of the control device and at least two switch devices comprised in the MRP main ring network.
4. The system according to claim 2, wherein The ring network manager in the MRP sub-ring network is any one of at least two switch devices comprised in the MRP sub-ring network.
5. The system according to claim 2, wherein, The ring network manager in the inter-ring coupling network is any one of the respective switch devices comprised in the inter-ring coupling network.
6. The system according to claim 2, wherein The network fault includes a device fault or a link fault.
7. The system according to claim 1, wherein The control device comprises a Distributed Control System (DCS) and / or a Programmable Logic Controller (PCL).
8. The system according to claim 1, wherein The execution device comprises an input / output device and / or a Remote Terminal Unit (RTU).
9. A network system control method, applied to the network system according to any one of claims 1 to 8; the method comprises: Detecting the network state of the MRP main ring network through the ring network manager in the MRP main ring network, and opening the blocking port of the ring network manager of the MRP main ring network after determining that a network fault is detected; And, Detecting the network state of the MRP sub-ring network through the ring network manager in the MRP sub-ring network, and opening the blocking port of the ring network manager of the MRP sub-ring network after determining that a network fault is detected; And, Detecting the network state of the inter-ring coupling network through the ring network manager in the inter-ring coupling network, and opening the blocking port of the ring network manager of the inter-ring coupling network after determining that a network fault is detected.
10. A computer storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method according to claim 9.