CN110417761B - Communication method and device based on dual-computer redundancy - Google Patents

Communication method and device based on dual-computer redundancy Download PDF

Info

Publication number
CN110417761B
CN110417761B CN201910646481.6A CN201910646481A CN110417761B CN 110417761 B CN110417761 B CN 110417761B CN 201910646481 A CN201910646481 A CN 201910646481A CN 110417761 B CN110417761 B CN 110417761B
Authority
CN
China
Prior art keywords
protocol module
communication
standby
send
standby protocol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910646481.6A
Other languages
Chinese (zh)
Other versions
CN110417761A (en
Inventor
李盈麒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Kyland Yuanjing Industrial Technology Co ltd
Original Assignee
Shanghai Kyland Yuanjing Industrial Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Kyland Yuanjing Industrial Technology Co ltd filed Critical Shanghai Kyland Yuanjing Industrial Technology Co ltd
Priority to CN201910646481.6A priority Critical patent/CN110417761B/en
Publication of CN110417761A publication Critical patent/CN110417761A/en
Application granted granted Critical
Publication of CN110417761B publication Critical patent/CN110417761B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Abstract

The application discloses a communication method and device based on dual-machine redundancy. In the method, a main protocol module in a first terminal sends a first request message including a device identifier to communication equipment; and in a receiving time period set by the communication protocol, if the communication equipment which does not send the first response message is detected to exist in the communication equipment, sending a second request message comprising the equipment identifier of the communication equipment which does not send the first response message to a standby protocol module in the second terminal according to preset dual-machine redundancy configuration information so that the standby protocol module sends the second request message to the communication equipment which does not send the first response message and receives the second response message sent by the communication equipment which does not send the first response message according to the second request message. The method improves the risk resistance and the communication efficiency.

Description

Communication method and device based on dual-computer redundancy
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communication method and apparatus based on dual redundancy.
Background
The dual-machine redundancy means that two devices to be installed as backups of each other are installed, and only one device collects data at the same time. The equipment for executing the tasks under the normal condition is called a host, when the communication link of the host in operation fails, the communication link of the host is switched to the communication link of the standby machine to continuously execute corresponding tasks, such as data acquisition, access and other tasks, and the standby machine feeds back the corresponding execution result to the host to recover the normal operation of the whole system.
However, the inventor finds that the dual-computer redundancy is switching of the communication link after the host determines that the communication link of the host fails when the host does not receive the response message or the heartbeat message within the preset time period. When the host has communication links of multiple communication protocols, if the host detects that a communication link of one communication protocol fails, the host can simultaneously switch the communication links of the multiple communication protocols based on a dual-computer redundancy mechanism, that is, the failed communication link is switched, and the normal communication link is also switched.
Disclosure of Invention
The embodiment of the application provides a communication method and device based on dual-machine redundancy, which solve the problems in the prior art and improve the communication efficiency between a host and communication equipment.
In a first aspect, a communication method based on dual-machine redundancy is provided, where the method may include:
a main protocol module in a first terminal sends a first request message to communication equipment, wherein the first request message comprises an equipment identifier of the communication equipment, and the communication equipment works on a communication link of a communication protocol provided by the main protocol module;
in a receiving time period set by the communication protocol, if it is detected that communication equipment which does not send a first response message exists in the communication equipment, sending a second request message to a standby protocol module in a second terminal according to preset dual redundancy configuration information, wherein the second request message comprises an equipment identifier of the communication equipment which does not send the first response message, so that the standby protocol module sends the second request message to the communication equipment which does not send the first response message, and receives a second response message sent by the communication equipment which does not send the first response message according to the second request message; the communication equipment which does not send the first reply message works on a communication link of a communication protocol provided by the standby protocol module, and the standby protocol module and the main protocol module have the same communication protocol;
receiving the unresolved second response message sent by the standby protocol module, where the second response message includes communication data of the communication device that did not send the first response message.
In an optional implementation, before sending the second request packet to the standby protocol module in the second terminal, the method further includes:
sending the communication data of the communication equipment which sends the first response message to the standby protocol module;
after receiving the unresolved second response packet sent by the standby protocol module, the method further includes:
analyzing the second response message to obtain the communication data of the communication equipment which does not send the first response message;
and sending the communication data of the communication equipment which does not send the first reply message to the standby protocol module.
In an optional implementation, after sending the second request packet to the standby protocol module in the second terminal, the method further includes:
if the standby protocol module receives a control message sent by a target communication device in the communication devices which do not send the first response message, the standby protocol module receives the control message sent by the standby protocol module, wherein the target communication device is any one of the communication devices which do not send the first response message;
executing the operation instruction to obtain an execution result;
and sending the execution result to the standby protocol module so that the standby protocol module sends the execution result to the target communication equipment.
In an optional implementation, after receiving the second unresolved reply packet sent by the standby protocol module, the method further includes:
detecting whether the number of the communication equipment which sends the first response message is smaller than the number of the communication equipment which does not send the first response message;
if the number of the standby protocol modules is less than the number of the standby protocol modules, determining the standby protocol module as a new main protocol module, determining the main protocol module as a new standby protocol module, and sending a first notification message to the standby protocol module, wherein the first notification message comprises information that the main protocol module determines the standby protocol module as a new main protocol module and the main protocol module is determined as a new standby protocol module.
In an optional implementation, after receiving the second unresolved reply packet sent by the standby protocol module, the method further includes:
receiving a second notification message sent by the standby protocol module, wherein the second notification message comprises information that the standby protocol module determines the standby protocol module as a new main protocol module and determines the main protocol module as a new standby protocol module; the information is generated by the standby protocol module when detecting that the number of the communication devices receiving the first reply message by the main protocol module is less than the number of the communication devices not receiving the first reply message by the main protocol module.
In an optional implementation, the main protocol module and the standby protocol module are determined according to a preset protocol module priority rule or a sequence of self-starting time;
the main protocol module and the standby protocol module are in data communication in a serial communication mode or a network communication mode;
and the main protocol module and the standby protocol module carry out time synchronization according to a preset time synchronization mode.
In a second aspect, a dual redundancy-based communication apparatus is provided, where the apparatus is applied in a master protocol module, and the apparatus may include: a transmitting unit and a receiving unit;
the sending unit is configured to send a first request packet to a communication device, where the first request packet includes a device identifier of the communication device, and the communication device operates on a communication link of a communication protocol provided by the main protocol module;
the receiving unit is configured to receive a first response packet sent by the communication device, where the first response packet includes communication data of the corresponding communication device;
the sending unit is further configured to send, within a receiving time period set by the communication protocol, a second request message to a standby protocol module in a second terminal according to preset dual redundancy configuration information if it is detected that there is a communication device that does not send a first reply message in the communication device, where the second request message includes a device identifier of the communication device that does not send the first reply message, so that the standby protocol module sends the second request message to the communication device that does not send the first reply message, and receives a second reply message sent by the communication device that does not send the first reply message according to the second request message; the communication equipment which does not send the first reply message works on a communication link of a communication protocol provided by the standby protocol module, and the standby protocol module and the main protocol module have the same communication protocol;
the receiving unit is further configured to receive the unresolved second response packet sent by the standby protocol module, where the second response packet includes communication data of the communication device that did not send the first response packet.
In an optional implementation, the apparatus further comprises a parsing module;
the sending unit is further configured to send, to a standby protocol module in a second terminal, communication data of the communication device that sends the first response packet before sending the second request packet to the standby protocol module;
the analysis unit is configured to, after receiving the unresolved second response packet sent by the standby protocol module, analyze the second response packet to obtain communication data of the communication device that does not send the first response packet;
the sending unit is further configured to send, to the standby protocol module, communication data of the communication device that does not send the first reply packet.
In an alternative implementation, the apparatus further comprises an execution unit;
the receiving unit is further configured to receive the control packet sent by the standby protocol module if the standby protocol module receives the control packet sent by a target communication device in the communication devices that do not send the first reply packet, where the target communication device is any one of the communication devices that do not send the first reply packet;
the execution unit is also used for executing the control message to obtain an execution result;
the sending unit is further configured to send the execution result to the standby protocol module, so that the standby protocol module sends the execution result to the target communication device.
In an alternative implementation, the apparatus further comprises a detection unit and a determination unit;
the detecting unit is configured to detect whether the number of the communication devices that send the first reply messages is smaller than the number of the communication devices that do not send the first reply messages;
the determining unit is used for determining the standby protocol module as a new main protocol module and determining the main protocol module as a new standby protocol module if the standby protocol module is smaller than the main protocol module;
the sending unit is further configured to send a first notification message to the standby protocol module, where the first notification message includes information that the main protocol module determines the standby protocol module as a new main protocol module and determines the main protocol module as a new standby protocol module.
In an optional implementation, the receiving unit is further configured to receive a second notification message sent by the standby protocol module, where the second notification message includes information that the standby protocol module determines the standby protocol module as a new main protocol module and determines the main protocol module as a new standby protocol module; the information is generated by the protocol standby module when detecting that the number of the communication devices which send the first reply messages is less than the number of the communication devices which do not send the first reply messages.
In an optional implementation, the main protocol module and the standby protocol module are determined according to a preset protocol module priority rule or a sequence of self-starting time;
the main protocol module and the standby protocol module are in data communication in a serial communication mode or a network communication mode;
and the main protocol module and the standby protocol module carry out time synchronization according to a preset time synchronization mode.
In a third aspect, an electronic device is provided, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor adapted to perform the method steps of any of the above first aspects when executing a program stored in the memory.
In a fourth aspect, a computer-readable storage medium is provided, having stored therein a computer program which, when executed by a processor, performs the method steps of any of the above first aspects.
In the dual redundancy-based communication method provided in the above embodiment of the present invention, the main protocol module in the first terminal sends the first request packet to the communication device, where the first request packet includes a device identifier of the communication device, and the communication device operates on the communication link of the communication protocol provided by the main protocol module; in a receiving time period set by a communication protocol, if the communication equipment which does not send the first response message is detected to exist in the communication equipment, sending a second request message to a standby protocol module in a second terminal according to preset dual redundancy configuration information, wherein the second request message comprises an equipment identifier of the communication equipment which does not send the first response message, so that the standby protocol module sends the second request message to the communication equipment which does not send the first response message, and receives the second response message sent by the communication equipment which does not send the first response message according to the second request message; the communication equipment which does not send the first response message works on a communication link of a communication protocol provided by the standby protocol module, and the standby protocol module and the main protocol module have the same communication protocol; and receiving an unresolved second response message sent by the standby protocol module, wherein the second response message comprises communication data of the communication equipment which does not send the first response message. Compared with the prior art, the main protocol module in the method can determine the communication link with the fault in the communication links of a plurality of communication protocols according to the protocol rules of the communication protocols and the position of the fault point, and only the communication link with the fault is switched to the standby protocol module through the dual redundancy mechanism so as to access the communication equipment which cannot be accessed by the main protocol module, namely, part of the communication equipment is accessed, and the communication links of other communication protocols without the fault are not switched, so that the risk resistance and the communication efficiency are improved.
Drawings
Fig. 1 is a schematic diagram of a communication management system applied in a communication method based on dual redundancy according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a communication network based on dual redundancy according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a communication method based on dual redundancy according to an embodiment of the present invention;
fig. 4 is a schematic diagram of another dual-machine redundancy based communication network according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a communication device based on dual redundancy according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without any creative effort belong to the protection scope of the present application.
The communication method based on dual-machine redundancy provided by the embodiment of the invention can be applied to the communication management system shown in fig. 1, and the system can comprise a first terminal and a second terminal. The communication management system may be a gateway system, so the first terminal and the second terminal are a first gateway and a second gateway, respectively.
In order to ensure the accuracy of error correction, the terminal may be a Mobile phone with strong computing capability, a smart phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a User Equipment (UE) such as a tablet computer (PAD), a handheld device with a wireless communication function, a vehicle-mounted device, a wearable device, a computing device or other processing device connected to a wireless modem, a Mobile Station (MS), or the like.
The first terminal and the second terminal can perform Time synchronization in a preset Time synchronization mode, where the preset Time synchronization mode may be a Time code IRIG-B or a Network Time Protocol (NTP), where the Time code IRIG-B is a common serial transmission mode in a Time system.
The first terminal may include at least one first protocol module, each first protocol module represents a communication protocol, and the communication protocol may be, for example, a serial communication protocol Modbus, DNP3.0, IEC60870-5-103 protocol, IEC60870-5-104, IEC60870-5-101, IEC61850, or the like.
The second terminal may include at least one second protocol module having the same communication protocol as the at least one first protocol module, in other words, the number of the second protocol modules in the second terminal is the same as the number of the first protocol modules in the first terminal, and the communication protocols are in one-to-one correspondence.
In the dual redundancy-based communication network shown in fig. 2, the second protocol module of the same communication protocol is time-synchronized with the first protocol module by using IRIG-B or NTP protocol, and provides a communication link of the same communication protocol, such as a communication bus, where the communication link may include at least one communication device, and the communication device may be a client device or a server device. For example, a first protocol module LA-1 in a first terminal and a second protocol module LB-1 in a second terminal provide a communication link I of a Modbus communication protocol, wherein the communication link I comprises 8 communication devices of IED-1 to IED-8 which meet the Modbus communication protocol; the first protocol module LA-2 and the second protocol module LB-2 in the second terminal provide a communication link II of the DNP3.0 communication protocol, and the communication link II comprises 8 communication devices of IED-1 to IED-8 which meet the DNP3.0 communication protocol; the first protocol module LA-3 and the second protocol module LB-3 in the second terminal provide a communication link iii of the IEC61850 communication protocol comprising 8 communication devices IED-1 to IED-8 fulfilling the IEC61850 communication protocol.
Further, the second Protocol module and the first Protocol module of the same communication Protocol may communicate in a serial communication manner, such as an asynchronous transfer standard interface RS232, or in a network communication manner, such as a Transmission Control Protocol (TCP) and a User Datagram Protocol (UDP). The respective information, such as the number of communication devices accessible on the respective communication link and the respective currently stored data, is exchanged via a serial communication means or a network communication means.
And a dual redundancy mode is adopted between a second protocol module and a first protocol module of the same communication protocol, namely the second protocol module and the first protocol module have preset dual redundancy configuration information, and the configuration information is configuration information of an application layer protocol. For example, when the communication state of the first protocol module as the main protocol module fails, the main protocol module switches to the corresponding second protocol module as the standby protocol module to continue working according to the dual redundancy configuration information.
The second protocol module and the first protocol module of the same communication protocol can determine that the second protocol module and the first protocol module belong to the main protocol module or the standby protocol module respectively according to the priority rule of the preset protocol module or the sequence of the self-starting time. The preset protocol module priority rule specifies that a protocol module in a target terminal is a main protocol module, and another corresponding protocol module with the same communication protocol is a standby protocol module. The standby protocol module can forward the received message but cannot analyze the received message, namely, the standby protocol module has a message forwarding function but does not have a message analyzing function.
In the communication management system, if a first protocol module A in a first terminal is taken as a main protocol module; the second protocol module B corresponding to the first protocol module A is a standby protocol module, when the communication state of the main protocol module A breaks down and other first protocol modules are normal, only the main protocol module A is switched to the standby protocol module B to work, and other protocol modules in the first terminal and the second terminal are not switched, namely, no switching time exists, so that the communication efficiency and the risk resistance are improved.
The preferred embodiments of the present application will be described below with reference to the accompanying drawings of the specification, it being understood that the preferred embodiments described herein are merely for illustrating and explaining the present invention and are not intended to limit the present invention, and that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Fig. 3 is a flowchart illustrating a communication method based on dual redundancy according to an embodiment of the present invention. As shown in fig. 3, the method may include:
step 310, a main protocol module in the first terminal sends a first request message to the communication device.
Before the step is executed, the second protocol module and the first protocol module of the same communication protocol may determine their respective module states, i.e. belong to the main protocol module or the standby protocol module, according to the preset protocol module priority rule or the sequence of the self-starting time, for example, the first protocol module in the first terminal is determined as the main protocol module and the second protocol module in the second terminal is determined as the standby protocol module according to the preset protocol module priority rule or the sequence of the self-starting time.
For example, taking the second protocol module LB-1 and the first protocol module LA-1 having the same Modbus communication protocol as an example, the second protocol module LB-1 and the first protocol module LA-1 may determine respective active/standby states according to a preset protocol module priority rule, where the preset protocol module priority rule specifies that a protocol module in the first terminal is a main protocol module, a protocol module in the second terminal having the same communication protocol is a standby protocol module, that is, the second protocol module LB-1 is determined as the standby protocol module, and the first protocol module LA-1 is determined as the main protocol module.
Or after the first terminal and the second terminal are powered on simultaneously, the second protocol module LB-1 and the first protocol module LA-1 record respective self-starting time, the self-starting time of the opposite side is obtained through RS232 or TCP communication connection between the second protocol module LB-1 and the first protocol module LA-1, the self-starting time is determined to be a main protocol module and the self-starting time is determined to be a standby protocol module according to the sequence of the self-starting time, and if the second protocol module LB-1 is determined to be the standby protocol module, the first protocol module LA-1 is determined to be the main protocol module.
Returning to step 310, the main protocol module sends a first request message to the communication device on the communication link corresponding to the main protocol module, where the first request message includes the device identifier of the communication device.
Specifically, the main protocol module sends first request packets to all communication devices on a communication link corresponding to the main protocol module, so as to implement communication with all communication devices, where each first request packet may include a device identifier of the corresponding communication device, and may also include information such as a data type and a control indication.
Step 320, the main protocol module receives the first reply message sent by the communication device in the receiving time period set by the communication protocol.
Because different communication protocols have corresponding protocol rules, the protocol rules can set a receiving time period for receiving the response message, if the response message is normally received in the receiving time period, the main protocol module can normally communicate with corresponding communication equipment; if the response message is not received in the receiving time period or the response message is received only after the receiving time period, it is indicated that the main protocol module cannot communicate with the corresponding communication device, that is, a fault point exists on the communication link, and a fault point position where a fault occurs in the communication link can be determined, then the communication link of the communication device after the fault point is switched to the communication link of the standby protocol module, the standby protocol module communicates with the communication device after the fault point through the communication link, and after the response message sent by the corresponding communication device is received, the response message is forwarded to the main protocol module, so that the main protocol module and the communication device after the fault point realize normal communication.
Specifically, in a receiving time period set by the communication protocol, if the main protocol module detects that no communication device which does not send the first reply message exists in the communication devices, it indicates that the communication link of the current communication protocol is not in fault, and the main protocol module can receive the first reply messages of all the communication devices on the communication link, wherein the first reply messages include communication data of the corresponding communication devices;
in the receiving time period set by the communication protocol, if it is detected that there is a communication device that does not send the first reply packet in the communication devices, it indicates that the communication link of the current communication protocol has a failure, and then step 330 is executed.
Meanwhile, in order to implement data synchronization, the main protocol module may send, to the standby protocol module, communication data of the communication device that sends the first reply packet that is received by the main protocol module.
It will be appreciated that the standby protocol module may now identify the number of communication devices accessible to the main protocol module, as well as the number of communication devices not accessible to the main protocol module.
Step 330, the master protocol module sends a second request message to the standby protocol module in the second terminal according to the preset dual redundancy configuration information.
The main protocol module may send a second request message to the standby protocol module in the second terminal according to the preset dual redundancy configuration information, where the second request message may include a device identifier of the communication device that did not send the first reply message.
Step 340, the standby protocol module sends a second request message to the communication device which does not send the first response message.
And the standby protocol module forwards the second request message sent by the main protocol module to the communication equipment which does not send the first response message.
Step 350, the standby protocol module receives a second response message sent by the communication device which does not send the first response message according to the second request message.
The standby protocol module receives a second response message sent by the communication device which does not send the first response message, and the second response message may include communication data of the corresponding communication device. The standby protocol module has no message analysis function, so that the communication data in the second response message cannot be analyzed.
And then, the standby protocol module sends the unresolved second response message to the main protocol module through the communication connection of RS232 or TCP, the main protocol module resolves the second response message to obtain the communication data of the communication equipment which does not send the first response message in the second response message, so as to realize the access task of the main protocol module to all communication equipment on the communication link of the current communication protocol, and all communication equipment comprises the communication equipment which sends the first response message and the communication equipment which does not send the first response message.
In order to implement data synchronization, the main protocol module may send communication data in the second reply message to the standby protocol module, that is, the main protocol module may send communication data of a communication device that does not send the first reply message to the standby protocol module.
Optionally, since the communication device may be a server device, the standby protocol module may further receive a control packet sent by a target communication device in the communication devices that do not send the first reply packet, where the target communication device is any one of the communication devices that do not send the first reply packet;
the standby protocol module can send the control message to the main protocol module through the communication connection of RS232 or TCP;
and after receiving the control message, the main protocol module executes corresponding control operation to obtain an execution result, and sends the execution result to the standby protocol module so that the standby protocol module sends the execution result to the target communication equipment.
Optionally, in order to further improve the communication efficiency between the communication device and the main protocol module and reduce the data transmission delay, the main protocol module or the standby protocol module may obtain the number of communication devices actually accessible to the other party through the communication connection of RS232 or TCP, and re-determine the respective module states according to the number of communication devices actually accessible to the two parties, that is, re-determine the new main protocol module and the new standby protocol module. The communication device actually accessible by the main protocol module is a communication device which sends the first reply message, and the communication device actually accessible by the standby protocol module is a communication device which does not send the first reply message.
Specifically, for the main protocol module, the main protocol module detects whether the number of the communication devices which send the first reply messages is smaller than the number of the communication devices which do not send the first reply messages;
if the current main protocol module is smaller than the standby protocol module, the main protocol module determines the standby protocol module as a new main protocol module, determines the standby protocol module as a new standby protocol module, and sends a first notification message to the new main protocol module (namely the standby protocol module), wherein the first notification message comprises information that the main protocol module determines the standby protocol module as the new main protocol module and determines the main protocol module as the new standby protocol module.
Or, aiming at the standby protocol module, the standby protocol module detects whether the number of the communication devices receiving the first reply message by the main protocol module is less than the number of the communication devices not receiving the first reply message by the main protocol module;
if the current time is less than the preset time, the standby protocol module determines the standby protocol module as a new main protocol module, determines the main protocol module as a new standby protocol module, and sends a second notification message to the new standby protocol module (namely the main protocol module), wherein the second notification message comprises information that the standby protocol module determines the main protocol module as the new standby protocol module and determines the standby protocol module as the new main protocol module.
It is understood that if the number of communication devices actually accessible to the master protocol module or the slave protocol module is the same, the master/slave status is not changed.
With reference to fig. 2, in an example, as shown in fig. 4, three sets of protocol modules, which are composed of LA-1 and LB-1, LA-2 and LB-2, and LA-3 and LB-3, respectively determine corresponding module states through each set of preset protocol module priority rules, specifically as follows:
in a communication link I of a Modbus communication protocol, LA-1 is a main protocol module and LB-1 is a standby protocol module;
in a communication link II of a DNP3.0 communication protocol, LA-2 is a standby protocol module and LB-2 is a main protocol module;
in a communication link III of an IEC61850 communication protocol, LA-3 is a standby protocol module and LB-3 is a main protocol module;
(1) in communication link I, LA-1 sends first request messages to 8 communication devices from IED-1 to IED-8, wherein each first request message comprises a device identifier of the corresponding communication device, and only receives 3 first response messages sent by IED-1 and IED-3 in a receiving time period set by a Modbus communication protocol, so that LA-1 determines that a fault point of the communication link occurs on the communication link between IED-3 and IED-4;
LA-1 sends second request messages to LB-1 according to preset dual-machine redundancy configuration information, wherein each second request message comprises equipment identifications from IED-4 to IED-8, and meanwhile communication data from IED-4 to IED-8 are sent to LB-1, so that data synchronization is achieved.
LB-1 sends second request messages to IEDs-4 to IED-8 respectively, and forwards received second response messages sent by IEDs-4 to IED-8 to LA-1, wherein each second response message comprises communication data of corresponding communication equipment. LA-1 then sends IED-4 to IED-8 communication data to LB-1 to achieve data synchronization.
In addition, LB-1 detects that the number of communication devices which can be actually accessed by itself is 5, the number of communication devices which can be actually accessed by LA-1 is 3, and as 3 is less than 5, LB-1 determines itself as a new main protocol module and LA-1 as a new standby protocol module;
and then LB-1 sends a second notification message to LA-1, wherein the second notification message comprises information that LB-1 determines LA-1 as a new standby protocol module and LB-1 as a new main protocol module.
(2) In the communication link II, LB-2 sends first request messages to 8 communication devices from IED-1 to IED-8, each first request message comprises a device identifier of the corresponding communication device, and receives first response messages sent by the 8 communication devices within a receiving time period set by the DNP3.0 communication protocol, so that LB-2 determines that no fault point exists in the communication link.
To achieve data synchronization, LB-2 sends IED-1 to IED-8 communication data to LA-2.
(3) In a communication link III, LB-3 sends first request messages to 8 communication devices from IED-1 to IED-8, each first request message comprises a device identifier of the corresponding communication device, and only receives first response messages sent by 4 communication devices in a receiving time period set by an IEC61850 communication protocol, so that LB-3 determines that a fault point of the communication link appears on the communication link between IED-4 and IED-5;
and the LB-3 sends second request messages to the LA-3 according to preset dual-machine redundancy configuration information, wherein each second request message comprises equipment identifications from IED-5 to IED-8, and simultaneously sends communication data from IED-1 to IED-4 to the LA-3 so as to realize data synchronization.
LA-3 sends a second request message to IED-5 to IED-8 respectively, and forwards a received second response message sent by IED-5 to IED-8 to LB-3, wherein each second response message comprises communication data of a corresponding communication device. Then, LB-3 sends IED-5 to IED-8 communication data to LA-3 to achieve data synchronization.
In addition, LA-3 detects that the number of communication devices actually accessible to LA-3 is 4, and the number of communication devices actually accessible to LB-3 is 3, so LA-3 does not update the module status.
In the dual redundancy-based communication method provided in the above embodiment of the present invention, the main protocol module in the first terminal sends the first request packet to the communication device, where the first request packet includes a device identifier of the communication device, and the communication device operates on the communication link of the communication protocol provided by the main protocol module; in a receiving time period set by a communication protocol, if the communication equipment which does not send the first response message is detected to exist in the communication equipment, sending a second request message to a standby protocol module in a second terminal according to preset dual redundancy configuration information, wherein the second request message comprises an equipment identifier of the communication equipment which does not send the first response message, so that the standby protocol module sends the second request message to the communication equipment which does not send the first response message, and receives the second response message sent by the communication equipment which does not send the first response message according to the second request message; the communication equipment which does not send the first response message works on a communication link of a communication protocol provided by the standby protocol module, and the standby protocol module and the main protocol module have the same communication protocol; and receiving an unresolved second response message sent by the standby protocol module, wherein the second response message comprises communication data of the communication equipment which does not send the first response message. Compared with the prior art, the main protocol module in the method can determine the communication link with the fault in the communication links of a plurality of communication protocols according to the protocol rules of the communication protocols and the position of the fault point, and only the communication link with the fault is switched to the standby protocol module through the dual redundancy mechanism so as to access the communication equipment which cannot be accessed by the main protocol module, namely, part of the communication equipment is accessed, and the communication links of other communication protocols without the fault are not switched, so that the risk resistance and the communication efficiency are improved.
Corresponding to the foregoing method, an embodiment of the present invention further provides a communication device based on dual-machine redundancy, and as shown in fig. 5, the communication device based on dual-machine redundancy includes: a transmitting unit 510 and a receiving unit 520;
a sending unit 510, configured to send a first request packet to a communication device, where the first request packet includes a device identifier of the communication device, and the communication device operates on a communication link of a communication protocol provided by the main protocol module;
a receiving unit 520, configured to receive a first response packet sent by the communication device, where the first response packet includes communication data of the corresponding communication device;
a sending unit 510, further configured to, within a receiving time period set by the communication protocol, if it is detected that there is a communication device that does not send a first reply message in the communication device, send a second request message to a standby protocol module in a second terminal according to preset dual redundancy configuration information, where the second request message includes a device identifier of the communication device that does not send the first reply message, so that the standby protocol module sends the second request message to the communication device that does not send the first reply message, and receives a second reply message sent by the communication device that does not send the first reply message according to the second request message; the communication equipment which does not send the first reply message works on a communication link of a communication protocol provided by the standby protocol module, and the standby protocol module and the main protocol module have the same communication protocol;
the receiving unit 520 is further configured to receive the unresolved second response packet sent by the standby protocol module, where the second response packet includes communication data of the communication device that did not send the first response packet.
In an optional implementation, the apparatus further comprises a parsing unit 530;
a sending unit 510, configured to send, before sending the second request packet to the standby protocol module in the second terminal, communication data of the communication device that sends the first response packet to the standby protocol module;
an analyzing unit 530, configured to, after receiving the unanalyzed second response message sent by the standby protocol module, analyze the second response message to obtain communication data of the communication device that does not send the first response message;
the sending unit 510 is further configured to send, to the standby protocol module, communication data of the communication device that does not send the first reply packet.
In an alternative implementation, the apparatus further comprises an execution unit 540;
the receiving unit 520 is further configured to receive the control packet sent by the standby protocol module if the standby protocol module receives the control packet sent by a target communication device in the communication devices that do not send the first reply packet, where the target communication device is any one of the communication devices that do not send the first reply packet;
the execution unit 540 is further configured to execute the control packet to obtain an execution result;
the sending unit 510 is further configured to send the execution result to the standby protocol module, so that the standby protocol module sends the execution result to the target communication device.
In an alternative implementation, the apparatus further comprises a detection unit 550 and a determination unit 560;
a detecting unit 550, configured to detect whether the number of the communication devices that send the first reply packet is smaller than the number of the communication devices that do not send the first reply packet;
a determining unit 560, configured to determine the standby protocol module as a new main protocol module and determine the main protocol module as a new standby protocol module if the determination result is smaller than the predetermined threshold;
the sending unit 510 is further configured to send a first notification message to the standby protocol module, where the first notification message includes information that the main protocol module determines the standby protocol module as a new main protocol module and determines the main protocol module as a new standby protocol module.
In an optional implementation, the receiving unit 520 is further configured to receive a second notification message sent by the standby protocol module, where the second notification message includes information that the standby protocol module determines the standby protocol module as a new main protocol module and determines the main protocol module as a new standby protocol module; the information is generated by the protocol standby module when detecting that the number of the communication devices which send the first reply messages is less than the number of the communication devices which do not send the first reply messages.
In an optional implementation, the main protocol module and the standby protocol module are determined according to a preset protocol module priority rule or a sequence of self-starting time;
the main protocol module and the standby protocol module are in data communication in a serial communication mode or a network communication mode;
and the main protocol module and the standby protocol module carry out time synchronization according to a preset time synchronization mode.
The functions of the functional units of the communication device based on dual-computer redundancy according to the above embodiments of the present invention can be implemented by the above method steps, and therefore, detailed working processes and beneficial effects of the units of the communication device based on dual-computer redundancy according to the embodiments of the present invention are not repeated herein.
An embodiment of the present invention further provides an electronic device, as shown in fig. 6, including a processor 610, a communication interface 620, a memory 630, and a communication bus 640, where the processor 610, the communication interface 620, and the memory 630 complete mutual communication through the communication bus 640.
A memory 630 for storing computer programs;
the processor 610, when executing the program stored in the memory 630, implements the following steps:
sending a first request message to a communication device, where the first request message includes a device identifier of the communication device, and the communication device operates on a communication link of a communication protocol provided by the main protocol module;
in a receiving time period set by the communication protocol, if it is detected that communication equipment which does not send a first response message exists in the communication equipment, sending a second request message to a standby protocol module in a second terminal according to preset dual redundancy configuration information, wherein the second request message comprises an equipment identifier of the communication equipment which does not send the first response message, so that the standby protocol module sends the second request message to the communication equipment which does not send the first response message, and receives a second response message sent by the communication equipment which does not send the first response message according to the second request message; the communication equipment which does not send the first reply message works on a communication link of a communication protocol provided by the standby protocol module, and the standby protocol module and the main protocol module have the same communication protocol;
receiving the unresolved second response message sent by the standby protocol module, where the second response message includes communication data of the communication device that did not send the first response message.
In an optional implementation, before sending the second request packet to the standby protocol module in the second terminal, the method further includes:
sending the communication data of the communication equipment which sends the first response message to the standby protocol module;
after receiving the unresolved second response packet sent by the standby protocol module, the method further includes:
analyzing the second response message to obtain the communication data of the communication equipment which does not send the first response message;
and sending the communication data of the communication equipment which does not send the first reply message to the standby protocol module.
In an optional implementation, after sending the second request packet to the standby protocol module in the second terminal, the method further includes:
if the standby protocol module receives a control message sent by a target communication device in the communication devices which do not send the first response message, the standby protocol module receives the control message sent by the standby protocol module, wherein the target communication device is any one of the communication devices which do not send the first response message;
executing the control message to obtain an execution result;
and sending the execution result to the standby protocol module so that the standby protocol module sends the execution result to the target communication equipment.
In an optional implementation, after receiving the second unresolved reply packet sent by the standby protocol module, the method further includes:
detecting whether the number of the communication equipment which sends the first response message is smaller than the number of the communication equipment which does not send the first response message;
if the number of the standby protocol modules is less than the number of the standby protocol modules, determining the standby protocol module as a new main protocol module, determining the main protocol module as a new standby protocol module, and sending a first notification message to the standby protocol module, wherein the first notification message comprises information that the main protocol module determines the standby protocol module as a new main protocol module and the main protocol module is determined as a new standby protocol module.
In an optional implementation, after receiving the second unresolved reply packet sent by the standby protocol module, the method further includes:
receiving a second notification message sent by the standby protocol module, wherein the second notification message comprises information that the standby protocol module determines the standby protocol module as a new main protocol module and determines the main protocol module as a new standby protocol module; the information is generated by the standby protocol module when detecting that the number of the communication devices receiving the first reply message by the main protocol module is less than the number of the communication devices not receiving the first reply message by the main protocol module.
In an optional implementation, the main protocol module and the standby protocol module are determined according to a preset protocol module priority rule or a sequence of self-starting time;
the main protocol module and the standby protocol module are in data communication in a serial communication mode or a network communication mode;
and the main protocol module and the standby protocol module carry out time synchronization according to a preset time synchronization mode.
The aforementioned communication bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
Since the implementation and the beneficial effects of the problem solving of each device of the electronic device in the above embodiment can be realized by referring to each step in the embodiment shown in fig. 3, detailed working processes and beneficial effects of the electronic device provided by the embodiment of the present invention are not described herein again.
In another embodiment of the present invention, a computer-readable storage medium is further provided, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is caused to execute any one of the communication methods based on dual-machine redundancy described in the above embodiments.
In another embodiment of the present invention, a computer program product containing instructions is provided, which when run on a computer, causes the computer to execute any of the above-mentioned communication methods based on dual-machine redundancy.
As will be appreciated by one of skill in the art, the embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the true scope of the embodiments of the present application.
It is apparent that those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the embodiments of the present application and their equivalents, the embodiments of the present application are also intended to include such modifications and variations.

Claims (10)

1. A communication method based on dual-machine redundancy is applied to a communication management system, and is characterized in that the communication management system comprises a first terminal and a second terminal, the first terminal comprises at least one main protocol module, the second terminal comprises at least one standby protocol module, one main protocol module and one standby protocol module correspond to one communication link, when any communication link fails, an original standby protocol module on the communication link is switched to a new main protocol module, and the original main protocol module on the communication link is switched to the new standby protocol module, and the method comprises the following steps:
each main protocol module in the first terminal respectively sends a first request message to a plurality of communication devices on corresponding communication links, wherein each first request message comprises a device identifier of the corresponding communication device;
if detecting that communication equipment which does not send a first response message exists in the plurality of communication equipment within a set receiving time period, sending a second request message to a corresponding standby protocol module in a second terminal according to preset dual redundancy configuration information, wherein the second request message comprises an equipment identifier of the communication equipment which does not send the first response message, so that the standby protocol module sends the second request message to the communication equipment which does not send the first response message, and receives a second response message sent by the communication equipment which does not send the first response message according to the second request message;
receiving the unresolved second response message sent by the standby protocol module, where the second response message includes communication data of the communication device that did not send the first response message.
2. The method of claim 1, wherein before sending the second request packet to the corresponding standby protocol module in the second terminal, the method further comprises:
sending the communication data of the communication equipment which does not send the first response message to the standby protocol module;
after receiving the unresolved second response packet sent by the standby protocol module, the method further includes:
analyzing the second response message to obtain the communication data of the communication equipment which does not send the first response message;
and sending the communication data of the communication equipment which does not send the first reply message to the standby protocol module.
3. The method of claim 1, wherein after sending the second request packet to the corresponding standby protocol module in the second terminal, the method further comprises:
if the standby protocol module receives a control message sent by a target communication device in the communication devices which do not send the first response message, the standby protocol module receives the control message sent by the standby protocol module, wherein the target communication device is any one of the communication devices which do not send the first response message;
executing the control message to obtain an execution result;
and sending the execution result to the standby protocol module so that the standby protocol module sends the execution result to the target communication equipment.
4. The method of claim 1, wherein after receiving the unresolved second reply message sent by the standby protocol module, the method further comprises:
detecting whether the number of communication devices which send the first response messages is smaller than the number of communication devices which do not send the first response messages;
if the number of the standby protocol modules is less than the number of the standby protocol modules, determining the standby protocol module as a new main protocol module, determining the main protocol module as a new standby protocol module, and sending a first notification message to the standby protocol module, wherein the first notification message comprises information that the main protocol module determines the standby protocol module as a new main protocol module and the main protocol module is determined as a new standby protocol module.
5. The method of claim 1, wherein after receiving the unresolved second reply message sent by the standby protocol module, the method further comprises:
receiving a second notification message sent by the standby protocol module, wherein the second notification message comprises information that the standby protocol module determines the standby protocol module as a new main protocol module and determines the main protocol module as a new standby protocol module; the information is generated by the standby protocol module when detecting that the number of the communication devices receiving the first reply message by the main protocol module is less than the number of the communication devices not receiving the first reply message by the main protocol module.
6. The method of claim 1, wherein the main protocol module and the standby protocol module are determined according to a preset protocol module priority rule or a sequence of self-starting time;
the main protocol module and the standby protocol module are in data communication in a serial communication mode or a network communication mode;
and the main protocol module and the standby protocol module carry out time synchronization according to a preset time synchronization mode.
7. A communication device based on dual-machine redundancy is applied to a communication management system, and is characterized in that the communication management system comprises a first terminal and a second terminal, the first terminal comprises at least one main protocol module, the second terminal comprises at least one standby protocol module, one main protocol module and one standby protocol module correspond to one communication link, when any communication link fails, an original standby protocol module on the communication link is switched to a new main protocol module, the original main protocol module on the communication link is switched to the new standby protocol module, and the device is applied to each main protocol module and comprises: a transmitting unit and a receiving unit;
the sending unit is configured to send first request messages to a plurality of communication devices on corresponding communication links, where each first request message includes a device identifier of the corresponding communication device;
the receiving unit is configured to receive a first response packet sent by the communication device, where the first response packet includes communication data of the corresponding communication device;
the sending unit is further configured to, within a set receiving time period, if it is detected that there is a communication device that does not send a first reply message among the plurality of communication devices, send a second request message to a corresponding standby protocol module in a second terminal according to preset dual redundancy configuration information, where the second request message includes a device identifier of the communication device that does not send the first reply message, so that the standby protocol module sends the second request message to the communication device that does not send the first reply message, and receives a second reply message sent by the communication device that does not send the first reply message according to the second request message;
the receiving unit is further configured to receive the unresolved second response packet sent by the standby protocol module, where the second response packet includes communication data of the communication device that did not send the first response packet.
8. The apparatus of claim 7, wherein the apparatus further comprises a parsing unit;
the sending unit is further configured to send, to a standby protocol module in the second terminal, communication data of the communication device that does not send the first response packet before sending the second request packet to the standby protocol module;
the analysis unit is configured to, after receiving the unresolved second response packet sent by the standby protocol module, analyze the second response packet to obtain communication data of the communication device that does not send the first response packet;
the sending unit is further configured to send, to the standby protocol module, communication data of the communication device that does not send the first reply packet.
9. An electronic device, characterized in that the electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-6 when executing a program stored on a memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 6.
CN201910646481.6A 2019-07-17 2019-07-17 Communication method and device based on dual-computer redundancy Active CN110417761B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910646481.6A CN110417761B (en) 2019-07-17 2019-07-17 Communication method and device based on dual-computer redundancy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910646481.6A CN110417761B (en) 2019-07-17 2019-07-17 Communication method and device based on dual-computer redundancy

Publications (2)

Publication Number Publication Date
CN110417761A CN110417761A (en) 2019-11-05
CN110417761B true CN110417761B (en) 2021-12-17

Family

ID=68361766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910646481.6A Active CN110417761B (en) 2019-07-17 2019-07-17 Communication method and device based on dual-computer redundancy

Country Status (1)

Country Link
CN (1) CN110417761B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110974204A (en) * 2019-12-25 2020-04-10 杭州涂鸦信息技术有限公司 Method, system and device for realizing bidirectional heartbeat mechanism
CN115220675B (en) * 2022-05-20 2024-04-09 广东逸动科技有限公司 Control method of display device, display device and computer storage medium
CN116233072B (en) * 2023-01-09 2024-03-22 浪潮思科网络科技有限公司 Management method, device, equipment and medium of dynamic host configuration protocol server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1681254A (en) * 2004-04-08 2005-10-12 华为技术有限公司 Maintaining method of Ethernet link state
US7231543B2 (en) * 2004-01-14 2007-06-12 Hewlett-Packard Development Company, L.P. Systems and methods for fault-tolerant processing with processor regrouping based on connectivity conditions
CN101651630A (en) * 2009-09-29 2010-02-17 杭州华三通信技术有限公司 Switching method and switching device based on link fault
CN109218107A (en) * 2018-10-15 2019-01-15 迈普通信技术股份有限公司 Link switch-over method, device, the network equipment and network system
CN109462533A (en) * 2018-12-29 2019-03-12 北京东土军悦科技有限公司 Link switch-over method, link redundancy backup network and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107026790B (en) * 2016-01-30 2019-06-28 华为技术有限公司 A kind of transmission control method and equipment
CN106685818B (en) * 2016-12-30 2020-07-28 北京华为数字技术有限公司 Message feedback method and device
CN108075971B (en) * 2017-12-25 2021-01-26 新华三技术有限公司 Main/standby switching method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7231543B2 (en) * 2004-01-14 2007-06-12 Hewlett-Packard Development Company, L.P. Systems and methods for fault-tolerant processing with processor regrouping based on connectivity conditions
CN1681254A (en) * 2004-04-08 2005-10-12 华为技术有限公司 Maintaining method of Ethernet link state
CN101651630A (en) * 2009-09-29 2010-02-17 杭州华三通信技术有限公司 Switching method and switching device based on link fault
CN109218107A (en) * 2018-10-15 2019-01-15 迈普通信技术股份有限公司 Link switch-over method, device, the network equipment and network system
CN109462533A (en) * 2018-12-29 2019-03-12 北京东土军悦科技有限公司 Link switch-over method, link redundancy backup network and computer readable storage medium

Also Published As

Publication number Publication date
CN110417761A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
CN110417761B (en) Communication method and device based on dual-computer redundancy
CN110661702B (en) Link backup method and device and computer readable storage medium
CN106330475B (en) Method and device for managing main and standby nodes in communication system and high-availability cluster
CN107070731B (en) Master-slave arbitration method and system
KR20150088559A (en) Method and apparatus for restoring failure of network
CN110808873B (en) Method and device for detecting link failure
CN109379246B (en) Memory detection method and device
CN101808021A (en) Fault detection method, device and system, message statistical method and node equipment
WO2016095344A1 (en) Link switching method and device, and line card
US20090006650A1 (en) Communication device, communication method, communication interface, and program product
CN111614580A (en) Data forwarding method, device and equipment
US11258666B2 (en) Method, device, and system for implementing MUX machine
CN113315665A (en) Message sending method, device, equipment and medium of dual-network-card terminal equipment
CN105530115A (en) Method and device for realizing operation management and maintenance function
CN106330699B (en) Multicast link switching method and device and routing equipment
CN112671575B (en) Working link switching method and device, storage medium and electronic device
CN111756588B (en) Communication link detection method and related device
CN110213176B (en) Message processing method, device, equipment and medium of switch
CN109450810A (en) Identify the method and device of redundancy message
CN111106977B (en) Data stream detection method, device and storage medium
CN110808909B (en) Message processing method and device across virtual systems
CN111314272B (en) Task processing method and device
CN106992878B (en) Multicast detection method and device
CN110601972A (en) Message transmission method and device and intelligent elastic architecture system
CN112866045B (en) Link state detection method, multicast equipment and link state detection system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant