Data acquisition and control switch redundancy system and method
By adopting link aggregation and load sharing strategies in the redundant switch system, the problems of repeated data transmission and excessive load are solved, efficient and reliable network redundancy is achieved, and user experience and network stability are improved.
Patent Information
- Application Number
- CN202410959273.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-10-01
AI Technical Summary
In the existing technology, redundant switch systems have problems such as repeated data transmission and excessive load, which affects the robustness and reliability of the network.
The link aggregation method between multiple similar switches is used to achieve data sharing and load balancing. By bundling multiple physical ports into one logical port, the port for sending packets is determined according to the port load sharing policy to ensure that the traffic is distributed between multiple ports. load balancing among the switches and automatically switches to the redundant switch when the main switch fails.
It effectively reduces the pressure of excessive load during switch redundancy, improves the robustness and reliability of the network, improves user experience, and ensures that the network can still operate stably in the event of a failure.
Smart Images

Figure CN118740631A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of communication technology, and more specifically relates to a switch redundancy system and method for data acquisition and control. Background Art
[0002] With the continuous development and application of network technology, the network has gradually changed from a simple information-carrying platform to a service-providing platform that provides users with powerful information support. Users of the network have higher and higher requirements for the real-time effectiveness of the network, so that they hope that the network can always run stably without failure. Therefore, robustness, efficiency and reliability have become important goals of network development, and to ensure the reliability and stability of the network, it is necessary to use network equipment redundancy technology, that is, to set up duplicate configuration devices on the same node, work together or switch, and ensure that the system equipment does not stop running. Highly redundant networks make it almost impossible for users to feel the interruption or change of network equipment or links, and they can still use the network as usual.
[0003] To solve the above problems, Chinese invention patent CN 116248606A discloses a redundant processing method, a redundant switch and a redundant switch system. The redundant processing method is applied to the redundant switch system, including a first redundant switch and a second redundant switch. The redundant processing method includes: the first redundant switch obtains external data; the first redundant switch adds a count flag to multiple data packets and sets a count flag. The first redundant switch transmits the data packet to the second redundant switch. The second redundant switch parses the data packet and reads the count flag; compares the count flag of the currently read data packet with the count flag read historically, and if the current count flag is the same as the count flag read historically, the data packet is discarded; if the current count flag does not appear in the historical read, the count flag bit and the count flag in the data packet are deleted. Another example is Chinese invention patent CN107995106, which discloses a switch redundancy system for a data storage platform, including: a gateway for connecting an intranet and an extranet; multiple switches, each of which is connected to the gateway, for transmitting data between the intranet and the extranet for mutual backup; a memory for storing data; multiple servers, each of which is connected to the memory for mutual backup of data access to the memory; wherein at least two independent physical connections are established between each switch and each server. However, the above technical solution has the disadvantages of repeated data transmission between the main switch and the redundant switch, and excessive load. Summary of the invention
[0004] In order to address the deficiencies in the prior art, the present application provides a switch redundancy system and method for data acquisition and control, which can set up redundant switches according to the different numbers of data acquisition and control devices, build a high-redundancy network that improves user experience, and ensure the robustness, efficiency and reliability of the network.
[0005] To solve the above problems, the present invention adopts the following technical solutions.
[0006] A data acquisition and control switch redundant system includes a device layer and a station control layer.
[0007] The station control layer includes servers, backup servers, information network switches, information network switch redundancy, control network switches, and control network switch redundancy;
[0008] The device layer includes an information switch, an information switch redundancy, a control switch, a control switch redundancy, a plurality of devices and their switches;
[0009] The information switch is connected to the information network switch of the equipment layer, and the information switch redundancy is connected to the information network switch redundancy;
[0010] The control switch is connected to the control network switch of the device layer, and the control switch redundancy is connected to the control network switch redundancy;
[0011] The switch of each device in the plurality of devices is respectively connected to the information switch, the information switch redundancy, the control switch and the control switch redundancy.
[0012] The information switch and the information switch redundancy are used to collect data collected by the switch in each device, and the information switch and the information switch redundancy back up each other.
[0013] The control switch and the control switch redundancy are used to send data to the switch in the device, and the control switch and the control switch redundancy back up each other.
[0014] When the number of devices increases, the number of information switches and information switch redundancies, control switches and control switch redundancies increases accordingly.
[0015] The switches in the multiple devices are used to collect data from each device point and send the data to the devices.
[0016] A heartbeat connection is established between the information switch and the redundant information switch, and between the control switch and the redundant control switch, respectively, to monitor the connection status of the other party in real time.
[0017] Among multiple switches of the same type, data sharing and load balancing are achieved by aggregating the links between the main switch and the redundant switches.
[0018] Data sharing is achieved by link aggregation between the main switch and the redundant switch. Load sharing specifically includes:
[0019] Bundle multiple physical ports of the main switch and redundant switches into one logical port to achieve load sharing of inbound and outbound traffic on each port.
[0020] The switch determines from which member port the message is sent to the switch at the opposite end according to the port load sharing strategy. The so-called port load sharing strategy refers to bundling multiple physical ports together to form a logical port to achieve load sharing of inbound and outbound traffic among each member port. When the switch detects that the link of one of the member ports is faulty, it stops sending messages on this port and recalculates the port for sending messages in the remaining links according to the load sharing strategy. After the faulty port is restored, the message sending port is recalculated again. This strategy aims to achieve load balancing of traffic among multiple ports to reduce the pressure on a single port and improve network reliability and resource utilization. The main switch and the redundant switch each have independent physical links. The methods for achieving physical connection are optical fiber connection, twisted pair connection, etc. The switch ports are configured, the transmission rate is set, the duplex mode is configured, the IP address, subnet mask, gateway and other network parameters are configured, and the load balancing between the main switch and the redundant switch is achieved based on strategies such as polling of IP addresses and weight distribution of traffic. When any of the switches is down or fails due to other reasons, the current problematic switch is turned off and another similar switch is active. The present application also discloses a switch redundancy method for data collection and control based on the aforementioned system, characterized in that the method comprises the following steps:
[0021] Step 1. Each device establishes two data transmission ports, namely the primary port and the redundant port, establishes a heartbeat connection between the ports, and configures the switching port timeout.
[0022] Step 2. Each device and data source is connected to the corresponding main information switch through its own device switch, and the main information switch aggregates the device data.
[0023] Step 3. The main information switch and the redundant information switch maintain data consistency through link aggregation.
[0024] Step 4. The main information switch reports data to the main information network switch, and the redundant information switch reports data to the redundant information network switch.
[0025] Step 5. The main information network switch collects data and reports it to the main server, and the main server sends control instructions to the main control network switch.
[0026] Step 6. When the main information / control / equipment switch fails, the system will automatically switch to the corresponding redundant switch.
[0027] Step 7. When the input side of the main information switch fails, data can enter from the input end of the redundant information switch and be shared with the main information switch through the synchronization network.
[0028] Step 8. The data is reported to the main information network switch from the normal output end of the main information switch.
[0029] Step 9. The control instructions are sent to each device in turn through the main server, the main control network switch, the main control switch, and the main device switch.
[0030] Step 10. After the main switch is repaired, it takes over its data sending and receiving tasks again.
[0031] Step 11. Similarly, when the main switch in any active redundant pair fails, it will automatically switch to the corresponding redundant switch.
[0032] The beneficial effect of the present invention is that, compared with the prior art, the present application provides a switch redundancy system for data acquisition and control, which can set redundant switches according to the different numbers of data acquisition and control devices, effectively reduce the pressure of excessive load during the switch redundancy process, build a high-redundancy network that improves user experience, and ensure the robustness, efficiency and reliability of the network. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A schematic diagram of the structure of the switch redundancy strategy for data collection and control provided by the present invention. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in this application are only part of the embodiments of the present invention, not all of them. Based on the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.
[0035] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0036] It should be noted that all expressions using "same type" in the implementation of the present invention are to explain that the XX switch and the redundant XX switch back up each other, but have the same functions in the present invention. It can be seen that "this type" is just for the convenience of expression, and the subsequent embodiments will not explain this one by one.
[0037] A switch redundancy system for data collection and control, wherein the redundancy mode is to realize data sharing and load sharing among multiple switches of the same type by link aggregation between a main switch and redundant switches, that is, to bundle multiple physical ports together to become a logical port, so as to realize load sharing of inbound and outbound traffic among each member port, and the switch determines from which member port a message is sent to the switch at the opposite end according to the port load sharing strategy configured by the user, and the main switch and the redundant switch each have independent physical links as channels for transmitting data, which are used as backup data transmission channels when any of the main switch and the redundant switch has problems, and a heartbeat line is established between the main switch and the redundant switch, and the method includes a device layer and a station control layer;
[0038] The station control layer includes servers, backup servers, information network switches, information network switch redundancy, control network switches, and control network switch redundancy;
[0039] The servers are respectively connected to the information network switch, the redundant information network switch, the control network switch, and the redundant control network switch, and the standby servers are also respectively connected to the information network switch, the redundant information network switch, the control network switch, and the redundant control network switch;
[0040] The device layer includes an information switch, an information switch redundancy, a control switch, a control switch redundancy, a plurality of devices and their switches, wherein a heartbeat connection is established between two device ports connected to the device and the switch, wherein when the port connected to the main switch (i.e., the main port) is normal, the port connected to the redundant switch (i.e., the redundant port) does not transmit data, and when the data transmission of the main port fails or the packet loss exceeds the set time, the backup port is enabled to transmit data;
[0041] The information switch is connected to the device layer information network switch, the information switch redundancy is connected to the information network switch redundancy, the control switch is connected to the control network switch, the control switch redundancy is connected to the control network switch redundancy, and each device switch is connected to the information switch, the information switch redundancy, the control switch, and the control switch redundancy. The present invention further includes the following preferred solutions.
[0042] Each of the multiple devices has different data to be transmitted and different devices to be controlled;
[0043] The switch in the plurality of devices is used to collect device point data of each device and send the data to the device;
[0044] The information switch and the information switch redundancy are used to collect data collected by the switch in each device, and the information switch and the information switch redundancy are backed up for each other;
[0045] The control switch and the control switch redundancy are used to send data to the switch in the device, and the control switch and the control switch redundancy back up each other;
[0046] The information network switch and the information network switch redundancy are used to collect the data of the information switch and the information switch redundancy of the equipment layer. The information network switch and the information network switch redundancy back up each other.
[0047] The control network switch and the control network switch redundancy are used to send data to the control switch and the control switch redundancy. The control network switch and the redundant control network switch back up each other.
[0048] The server and the backup server are used to receive data from the information network switch and the redundant information network switch, and send data to the control network switch and the redundant control network switch. Multiple servers back up each other.
[0049] Furthermore, each device has a switch for receiving and sending data.
[0050] Furthermore, one information switch and a redundant information switch need to be configured for every two devices. If the number of devices increases, the number of information switches and redundant information switches increases.
[0051] Furthermore, one control switch and a redundant control switch are required for every two devices. If the number of devices increases, the number of control switches and redundant control switches increases.
[0052] Furthermore, the number of information network switches at the station control layer is at least 2, namely, an information network switch and a redundant information network switch.
[0053] Furthermore, the number of control network switches at the station control layer is at least 2, namely, a control network switch and a redundant control network switch.
[0054] Furthermore, the number of servers at the station control layer is at least 2, and the servers back up each other.
[0055] Furthermore, data sharing and load sharing are achieved among multiple switches of the same type by aggregating links between the main switch and the redundant switch. The switch determines from which member port the message is sent to the switch at the other end according to the port load sharing strategy. The so-called port load sharing strategy refers to bundling multiple physical ports together into a logical port to achieve load sharing of inbound and outbound traffic among each member port. When the switch detects that the link of one of the member ports fails, it stops sending messages on this port and recalculates the port for sending messages in the remaining links according to the load sharing strategy. After the failed port is restored, the message sending port is recalculated again. This strategy aims to achieve load balancing of traffic among multiple ports to reduce the pressure on a single port and improve network reliability and resource utilization. The main switch and the redundant switch each have independent physical links. The methods for achieving physical connection are optical fiber connection, twisted pair connection, etc. Configure the switch port, set the transmission rate, configure the duplex mode, etc. Configure the IP address, subnet mask, gateway and other network parameters, and implement load balancing between the main switch and the redundant switches based on strategies such as IP address polling and traffic weight distribution. When any of the switches goes down or fails due to other reasons, shut down the current problematic switch and make another similar switch active.
[0056] The system adopts a dual-network redundant communication architecture. Redundant connection is a method of connecting switches through multiple paths to improve network reliability and redundancy. It ensures that the network can still operate normally even if one of the paths or switches fails. Each device and data source on site (the indicator data that each device needs to transmit to the server) realizes data redundant communication with the main switch and the two redundant switches, and the main switch and the redundant switch realize data sharing; when the communication with the main switch fails, the heartbeat detection method between the main switch and the redundant switch can quickly switch to the redundant switch for communication; when the input side of the main switch fails and the output side of the redundant switch fails, the data can enter the redundant switch through the input side of the redundant switch, and the redundant switch data can be shared with the main switch, and then the data output is realized from the output side of the main switch, realizing the redundancy function of the system to the greatest extent.
[0057] The present application also discloses a switch redundancy method based on the data collection and control of the aforementioned system, which specifically includes the following steps:
[0058] Step 1. Each device establishes two data transmission ports (primary port and redundant port), establishes a heartbeat connection between the ports, and configures the switching port timeout.
[0059] Step 2. Each device and data source is connected to the corresponding main information switch through its own device switch, and the main information switch aggregates the device data.
[0060] Step 3. The main information switch and the redundant information switch maintain data consistency through link aggregation.
[0061] Step 4. The main information switch reports data to the main information network switch, and the redundant information switch reports data to the redundant information network switch.
[0062] Step 5. The main information network switch collects data and reports it to the main server, and the main server sends control instructions to the main control network switch.
[0063] Step 6. When the main information / control / equipment switch fails, the system will automatically switch to the corresponding redundant switch.
[0064] Step 7. When the input side of the main information switch fails, data can enter from the input end of the redundant information switch and be shared with the main information switch through the synchronization network.
[0065] Step 8. The data is reported to the main information network switch from the normal output end of the main information switch.
[0066] Step 9. The control instructions are sent to each device in turn through the main server, the main control network switch, the main control switch, and the main device switch.
[0067] Step 10. After the main switch is repaired, it takes over its data sending and receiving tasks again.
[0068] Step 11. Similarly, when the main switch in any active redundant pair fails, it will automatically switch to the corresponding redundant switch.
[0069] Based on the above purpose, an embodiment of the present invention proposes an embodiment of a redundant switch strategy that can be used for data collection and control. Figure 1 Shown is a schematic diagram of the structure of the switch redundancy strategy for data collection and control provided by the present invention.
[0070] The switch redundancy strategy for data acquisition and control includes:
[0071] This example is a 2.6MWh energy storage unit network switch redundancy. The energy storage units (device 1 and device 2) include a DC compartment and an AC compartment, totaling 5.2MWh;
[0072] Switch 1 and Switch 2 in the 2.6MWh energy storage unit are 8-port switches used to connect the integrated measurement and control device of the DC compartment and the communication management machine of the AC compartment. The protocol between the switch and the integrated measurement and control device is 104, and the protocol with the communication management machine is modbus. They are externally connected to the information switch, redundant information switch, control switch, and redundant control switch.
[0073] The equipment layer information switch and redundant information switch are 24-port switches. The information switch and redundant information switch back up each other, connecting the switch in the energy storage unit and the station control layer information network switch, transmitting data from the switch in the energy storage unit to the station control layer information network switch. Every two energy storage units are equipped with one information switch and one redundant information switch.
[0074] The equipment layer control switch and redundant control switch are 48-port switches. The control switch and redundant control switch back up each other and connect the PCS communication board in the energy storage unit and the station control layer control network switch. The PCS communication board is connected to the switch in the energy storage unit and is responsible for receiving data from the station control layer control network switch and sending it to the PCS communication board in the energy storage unit. The protocol is GOOSE. The PCS communication board is responsible for transmitting the data sent to the DC compartment to the switch in the energy storage unit. The protocol is MMS. The switch in the energy storage unit then sends the data to the DC compartment. The protocol is modbus. Every two energy storage units are equipped with 1 control switch and 1 redundant control switch.
[0075] The station control layer information network switch and redundant information network switch are 24-port switches. The information network switch and redundant information network switch back up each other and connect the server, backup server and the information switch and redundant information switch of the equipment layer. They are responsible for collecting data from the equipment layer switch and transmitting it to the server.
[0076] The control network switch and redundant control network switch at the station control layer are 24-port switches. The control network switch and redundant control network switch back up each other and connect the server, backup server and control switch and redundant control switch at the equipment layer. They are responsible for receiving server data and sending it to the control switch and redundant control switch at the equipment layer.
[0077] The server and the backup server back up each other, and both use Linux X86 servers;
[0078] Among multiple switches of the same type, only one switch is active at the same time. When any switch goes down or fails due to other reasons, the current problematic switch is shut down and another switch of the same type becomes active.
[0079] The embodiments of the present invention have the following beneficial technical effects: The purpose of the embodiments of the present invention is to propose a switch redundancy strategy for data acquisition and control, which can set redundant switches according to the different numbers of data acquisition and control devices, build a high-redundancy network that improves user experience, and ensure the robustness, efficiency and reliability of the network.
[0080] The present invention adopts a dual-network redundant communication architecture. Each device and data source on site realizes data redundant communication with two switches, the main switch and the redundant switch, and the main switch and the redundant switch realize data sharing. When a communication failure occurs with the main switch, it can quickly switch to the redundant switch to realize communication. When the input side of the main switch fails and the output side of the redundant switch fails, data can enter the redundant switch through the input side of the redundant switch, and the redundant switch data can be shared with the main switch, and then the data output is realized from the output side of the main switch, thereby realizing the redundancy function of the system to the greatest extent.
[0081] The above are exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications may be made without departing from the scope disclosed in the embodiments of the present invention as defined in the claims. The functions, steps and / or actions of the method claims according to the disclosed embodiments described herein do not need to be performed in any particular order. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in individual form, they may also be understood as multiple unless explicitly limited to the singular.
[0082] It should be understood that, as used herein, the singular forms "a", "an", "the" are intended to include the plural forms as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations of one or more of the associated listed items.
[0083] A person skilled in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples; under the concept of the embodiments of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the embodiments of the present invention as described above, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.
[0084] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.
[0085] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0086] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0087] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0088] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A switch redundant system for data acquisition and control, comprising a device layer and a station control layer, characterized in that: The station control layer includes servers, backup servers, information network switches, information network switch redundancy, control network switches, and control network switch redundancy; The device layer includes an information switch, an information switch redundancy, a control switch, a control switch redundancy, a plurality of devices and their switches; The information switch is connected to the information network switch of the equipment layer, and the information switch redundancy is connected to the information network switch redundancy; The control switch is connected to the control network switch of the device layer, and the control switch redundancy is connected to the control network switch redundancy; The switch of each device in the plurality of devices is respectively connected to the information switch, the information switch redundancy, the control switch and the control switch redundancy.
2. A switch redundant system for data acquisition and control according to claim 1, characterized in that: The information switch and the information switch redundancy are used to collect data collected by the switch in each device, and the information switch and the information switch redundancy back up each other.
3. A switch redundant system for data acquisition and control according to claim 1, characterized in that: The control switch and the control switch redundancy are used to send data to the switch in the device, and the control switch and the control switch redundancy back up each other.
4. A switch redundant system for data acquisition and control according to claim 1, characterized in that: When the number of devices increases, the number of information switches and information switch redundancies, control switches and control switch redundancies increases accordingly.
5. A switch redundant system for data acquisition and control according to claim 1, characterized in that: The switches in the multiple devices are used to collect data from each device point and send the data to the devices.
6. A switch redundant system for data acquisition and control according to claim 1, characterized in that: A heartbeat connection is established between the information switch and the redundant information switch, and between the control switch and the redundant control switch, respectively, to monitor the connection status of the other party in real time.
7. A switch redundant system for data acquisition and control according to claim 1, characterized in that: Among multiple switches of the same type, data sharing and load balancing are achieved by aggregating the links between the main switch and the redundant switches.
8. A switch redundant system for data acquisition and control according to claim 7, characterized in that: Data sharing is achieved by link aggregation between the main switch and the redundant switch. Load sharing specifically includes: Bundle multiple physical ports of the main switch and redundant switches into one logical port to achieve load sharing of inbound and outbound traffic on each port.
9. A switch redundant system for data acquisition and control according to claim 8, characterized in that: The switch determines which member port the message is sent from to the switch at the other end based on the port load sharing strategy. The main switch and the redundant switch each have independent physical links. When any of the switches goes down or fails for other reasons, the current problematic switch is shut down and another similar switch becomes active.
10. A switch redundant system for data collection and control according to claim 9, characterized in that: The port load sharing strategy specifically includes: traffic is evenly distributed among the ports of each member to reduce the pressure of a single port; when a link failure occurs on a member port, the switch stops sending messages at the port; after the failure is restored, the switch recalculates the message sending port.
11. A switch redundant system for data acquisition and control according to claim 9, characterized in that: The physical connection methods include optical fiber connection and twisted pair connection; Configuration includes switch ports, setting transmission rate, configuring duplex mode, configuring IP address, subnet mask, and gateway; Based on IP address polling and traffic weight distribution, load balancing between the main switch and redundant switches is achieved.
12. A switch redundancy method for data collection and control using the system described in any one of claims 1 to 11, characterized in that: The method comprises the following steps: Step 1. Each device establishes two data transmission ports, namely the primary port and the redundant port, establishes a heartbeat connection between the ports, and configures the switching port timeout; Step 2. Each device and data source is connected to the corresponding main information switch through its own device switch, and the main information switch aggregates the device data; Step 3. The main information switch and the redundant information switch maintain data consistency through link aggregation; Step 4. The main information switch reports data to the main information network switch, and the redundant information switch reports data to the redundant information network switch; Step 5. The main information network switch collects data and reports it to the main server, and the main server sends control instructions to the main control network switch; Step 6. When the main information / control / equipment switch fails, the system will automatically switch to the corresponding redundant switch; Step 7. When the input side of the main information switch fails, data can enter from the input end of the redundant information switch and be shared with the main information switch through the synchronization network; Step 8. The data is reported to the main information network switch from the normal output end of the main information switch; Step 9. The control instructions are sent to each device in turn through the main server, the main control network switch, the main control switch, and the main device switch; Step 10. After the main switch is repaired, it takes over its data sending and receiving tasks again; Step 11. Similarly, when the main switch in any active redundant pair fails, it will automatically switch to the corresponding redundant switch.
Citation Information
Cited By
High-reliability networking method for marine field data acquisition system
CN120498951A
Control system for ultralow temperature device
CN120848625A
