CN108322364A - A kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system - Google Patents

A kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system Download PDF

Info

Publication number
CN108322364A
CN108322364A CN201810181775.1A CN201810181775A CN108322364A CN 108322364 A CN108322364 A CN 108322364A CN 201810181775 A CN201810181775 A CN 201810181775A CN 108322364 A CN108322364 A CN 108322364A
Authority
CN
China
Prior art keywords
node
network interface
interface card
network
address
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.)
Pending
Application number
CN201810181775.1A
Other languages
Chinese (zh)
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.)
Nari Technology Co Ltd
Original Assignee
Nari 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 Nari Technology Co Ltd filed Critical Nari Technology Co Ltd
Priority to CN201810181775.1A priority Critical patent/CN108322364A/en
Publication of CN108322364A publication Critical patent/CN108322364A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • 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/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0836Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users

Abstract

The invention discloses a kind of mutual Preparation Methods of double netcard redundancy suitable for wide area dispatch automated system, by sending icmp packet to local switch, and receive ICMP response messages, all nodes are capable of the network card status of accurate judgement this node, and the mailing address of node is switched over according to the network card status, realize that the redundancy of network is mutually standby;Simultaneously by sending icmp packet to center switch, and receive ICMP response messages, non-central node can judge the connection status that this node is adjusted with ground, and according to the connection status, the mailing address of this node is switched over, normal communication is remained able to when only an antenna efficiency is normal between guarantee system interior nodes between system node, realizes that double netcard redundancy of the dispatch automated system in wide area network architecture is mutually standby.

Description

A kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system
Technical field
The invention belongs to power dispatching automation field more particularly to a kind of pairs suitable for wide area dispatch automated system The mutual Preparation Method of network interface card redundancy.
Background technology
It is general on server node to provide the reliability of network communication in the dispatch automated system under wide area network 2 pieces of network interface cards are installed, 2 interchangers are connected, simultaneously because the limitation in region, need to carry out by intermediate communication link between node Communication abnormality occurs when network interface card or communication line connection break down for communication, rather than traditional direct by switch communication When, need communication link being switched on backup network interface card and communicate, current network card status monitoring program be merely able to monitoring this The connection status of node and local switch is unable to monitor when this node connect with distal center side the when of being abnormal.
In wide area dispatch automated system, the major network interchanger of all accesses is all to be furnished with management address, is used for system In each node monitor the machine network card status, for non-central node, other than the interchanger with this side is connected to, also wanting can be in The interchanger of heart side is connected to;Current network interface card monitoring and address handoff technique is the transmission ICMP reports to the interchanger of one's respective area Text, and response message is received to judge that connection status carries out network card status judgement and address switching, however in wide area scheduling The abnormal conditions at center and non-central communication link fails are likely to occur, existing method cannot monitor well.
Invention content
In view of the problems of the existing technology, the present invention provides a kind of double netcard suitable for wide area dispatch automated system The mutual Preparation Method of redundancy can effectively reduce artificial check signal workload.
The technical problem to be solved by the present invention is to what is be achieved through the following technical solutions:
A kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system, including:
1)The first network interface card is set in each node and two IP address, one of IP is respectively set in the second network interface card, every piece of network interface card Address is for communicating, another IP address is for monitoring network card status;IP address of first network interface card for communication between all nodes Intercommunication, IP address intercommunication of second network interface card for communication between all nodes;
2)The ground for corresponding to this area monitoring address network segment is configured on center and all non-central backbone switch Location is for being monitored;The mutual standby backbone switch of two redundancies at center is cascaded, and non-central interchanger does not cascade;
3)Each node by designated switch send icmp packet, and the mode for receiving ICMP response messages judge the node with The network card status of designated switch connection;
4)Center side gusset only monitors the connection status of the interchanger of this node and central side, and the network interface card shape of this node is judged with this State, and NIC address switching is carried out according to network card status;
5)Non-central side gusset in addition to monitoring the connection status of interchanger of this node and one's respective area and judging network card status with this, It also to monitor the connection status of this node and central side interchanger, and carry out the switching of NIC address according to this state;
6)Route refresh is carried out when NIC address switches.
When NIC address is drifted about, since ARP information does not update, this node externally leads to by original address When letter, also original network interface card can may be selected to be communicated, this results in communication abnormality, thus in network interface card redundancy monitoring program The function that arp cache is removed is added, arp cache is removed while NIC address switches, is communicated to reach after address switches The effect of fast quick-recovery.
Further, it is equipped with the network card status that shared drive stores this node in each node, what which referred to It is the local state of network interface card, application program is by way of loading the shared drive, to obtain the network card status information of this node.
Further, the network card status is two kinds, and a kind of state is between the network interface card and the interchanger of region Connection status, the i.e. local state of network interface card, a kind of state are the network interface card and distant-end switch state, the i.e. farend state of network interface card; The practical connection status of network interface card local state, that is, network interface card, the distal end connection status expression of network interface card is network interface card and distant-end switch Connection status only monitors that local state, distant-end node need to monitor local state and farend state for center side gusset.
Further, there is network interface card redundancy monitoring program in equal portion on each node, to by the monitoring of network card status with And address switches to realize that double netcard redundancy is mutually standby.
Further, each node includes being sent to local switch by sending icmp packet to designated switch Icmp packet and to distant-end switch send icmp packet.
Further, it is required for monitoring its network interface card local state for all nodes, but the farend state of network interface card, only It needs to monitor on non-central side gusset, network interface card monitoring thus increases configurability with address drift program, in central side Configuration monitoring local network card status is wanted, configuration monitoring local state and farend state, increase in this way on non-central side gusset The flexibility of this function.
Further, when NIC address changes, since routing iinformation can't automatically update, this node with its Routing still points to original network interface card when his node communication, causes network obstructed, is added in network interface card redundancy monitoring program thus Route handoff function switches routing when NIC address changes, to continue to complete wide-area communication after reaching address change Purpose.
The advantageous effect that the present invention is reached:Method using the present invention solves former wide area dispatch automated system In, non-central node can not judge the link state between center, cause to break down even if link, application program is still selected The link for selecting failure is communicated, and the problem of application communication exception is caused.
Description of the drawings
Fig. 1 is the network architecture schematic diagram of the present invention;
Fig. 2 is communication scheme under the net card failure state of the present invention;
Fig. 3 is the data flow diagram of the present invention.
Specific implementation mode
In order to further describe the technical characterstic and effect of the present invention, below in conjunction with the drawings and specific embodiments to this hair It is bright to be described further.
As shown in Figure 1-Figure 3, it is a kind of double netcard redundancy suitable for wide area dispatch automated system using the present invention The specific wide area dispatch automated system network card status monitoring that mutual Preparation Method is realized is drifted about with address(Switching)Process. Other features, the objects and advantages of the present invention can also be found out from the explanation of embodiment.Wide area dispatch automated system net For network framework as shown in Figure 1, system includes a series of application server and maintenance work station, these nodes all configure two pieces of nets Card is connected with the interchanger of A, B net respectively, and A, B net use the independent work network segment, and between the interchanger of two, center mutually It cascades, is not cascaded mutually between non-central two interchangers(In the present invention centered on ground level, at county level is non-central).
The present invention needs to start a network interface card redundancy monitoring program, the workflow of the program on each node of system As shown in Figure 3.Network interface card redundancy monitoring program reads the network card configuration information and monitoring of this node from configuration file first Local switch address and distant-end switch address, and by the configuration determination of interchanger this node whether need to monitor its with it is remote The connection status of end switch.
If node belongs to central side, the network interface card redundancy monitoring program of the node only needs to monitor this node, the journey Sequence can send icmp packet, and the ICMP response messages that desampler returns every 1 second to interchanger, if continuous 3 times do not have It receives, network interface card redundancy monitoring program just will be considered that the network interface card is in suspension state, can be by the network interface card in shared drive State is set as interrupting, and checks that the state of other one piece of network interface card just passes through if the state of another piece of network interface card is normal at this time The IP address of current network interface card is switched on another network interface card by call operation system command, due to central side interchanger be it is cascade, The node can be netted to exchange by B and be communicated with the A net address of other nodes.If network interface card current state is suspension, while network interface card Redundancy monitoring program can be again by ICMP response messages, if continuously receiving 30 response messages, the monitoring of network interface card redundancy Program is considered as the network interface card and restores normal, and the state of the network interface card in shared drive can be set as normal by program, while by the network interface card The address switching being switched to before upper on another network interface card can current network interface card.
If node belongs to non-central side, the network interface card redundancy monitoring program on the node is in addition to doing mistake identical with central side Journey monitors outside the local state of network interface card that the interchanger for the central side that can be also configured into configuration file sends icmp packet, simultaneously Receive ICMP response messages, if it is possible to receive response message, be considered as it is normal when the farend state of the network interface card, if continuously Do not receive response message 3 times, what when distal end connection status for being considered as the network interface card interrupted, network interface card redundancy monitoring program can basis The mailing address of the network interface card is switched on another network interface card by the farend state calling system order of another network interface card, at this time if only The network of this node is problematic, then after the switching of address, which can pass through 01-02-03-04 links shown in Fig. 2 and center Side gusset is communicated, while being communicated with other nodes of this central side by 01-02-03-05-06 links;If in being non- The exchange fault of heart side one, then the node can still pass through 01-02-03-04 links shown in Fig. 2 and center side gusset It is communicated, and is communicated with this other non-central node by 01-07 links.If network interface card redundancy monitoring program is by that cannot receive To ICMP response messages, become to receive, and can continuously receive 30 times or more, which just will be considered that the remote of the network interface card End state becomes normal from failure, and network interface card redundancy monitoring program can be according to the switching state of the NIC address, by the network interface card at this time This network interface card is understood in the mailing address switching being switched to before on other network interface cards.
Above-described embodiment does not limit the present invention in any form, and all forms for taking equivalent substitution or equivalent transformation are obtained Technical solution, be within the scope of the present invention.

Claims (6)

1. a kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system, which is characterized in that including:
1)The first network interface card is set in each node and two IP address, one of IP is respectively set in the second network interface card, every piece of network interface card Address is for communicating, another IP address is for monitoring network card status;IP address of first network interface card for communication between all nodes Intercommunication, IP address intercommunication of second network interface card for communication between all nodes;
2)The ground for corresponding to this area monitoring address network segment is configured on center and all non-central backbone switch Location is for being monitored;The mutual standby backbone switch of two redundancies at center is cascaded, and non-central interchanger does not cascade;
3)Each node by designated switch send icmp packet, and the mode for receiving ICMP response messages judge the node with The network card status of designated switch connection;
4)Center side gusset only monitors the connection status of the interchanger of this node and central side, and the network interface card shape of this node is judged with this State, and NIC address switching is carried out according to network card status;
5)Non-central side gusset in addition to monitoring the connection status of interchanger of this node and one's respective area and judging network card status with this, It also to monitor the connection status of this node and central side interchanger, and carry out the switching of NIC address according to this state;
6)Route refresh is carried out when NIC address switches.
2. a kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system according to claim 1, It is characterized in that, arp cache removing is carried out when NIC address switches.
3. a kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system according to claim 1, It is characterized in that, the network card status that shared drive stores this node is equipped in each node.
4. a kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system according to claim 3, It being characterized in that, the network card status is two kinds, and a kind of state is the connection status between the network interface card and the interchanger of region, That is the local state of network interface card, a kind of state are the network interface card and distant-end switch state, the i.e. farend state of network interface card;Network interface card local shape The practical connection status of state, that is, network interface card, what the distal end connection status of network interface card indicated is the connection status of network interface card and distant-end switch, For center side gusset, only monitor that local state, distant-end node need to monitor local state and farend state.
5. a kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system according to claim 1, It is characterized in that, there is network interface card redundancy monitoring program in equal portion on each node, to be cut by the monitoring and address of network card status It brings and realizes that double netcard redundancy is mutually standby.
6. a kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system according to claim 1, Be characterized in that, each node by designated switch send icmp packet include to local switch send icmp packet with And send icmp packet to distant-end switch.
CN201810181775.1A 2018-03-06 2018-03-06 A kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system Pending CN108322364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810181775.1A CN108322364A (en) 2018-03-06 2018-03-06 A kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810181775.1A CN108322364A (en) 2018-03-06 2018-03-06 A kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system

Publications (1)

Publication Number Publication Date
CN108322364A true CN108322364A (en) 2018-07-24

Family

ID=62900996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810181775.1A Pending CN108322364A (en) 2018-03-06 2018-03-06 A kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system

Country Status (1)

Country Link
CN (1) CN108322364A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115529223A (en) * 2022-09-14 2022-12-27 天津津航计算技术研究所 Dual-redundancy network card switching method based on cascade switch
CN115529222A (en) * 2022-09-14 2022-12-27 天津津航计算技术研究所 Dual-redundancy network card switching device based on cascade switch

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1746855A (en) * 2005-10-26 2006-03-15 北京启明星辰信息技术有限公司 Method and system for backuping applied layer transparent fault-tolerant based on pseudo block
CN101404568A (en) * 2008-11-17 2009-04-08 国电南瑞科技股份有限公司 Double-network card hot backup redundancy method
CN101980476A (en) * 2010-11-16 2011-02-23 北京星网锐捷网络技术有限公司 Warm backup method and network equipment
CN103259678A (en) * 2013-04-28 2013-08-21 华为技术有限公司 Main-auxiliary switching method, device, equipment and system
CN104320294A (en) * 2014-09-29 2015-01-28 国电南瑞科技股份有限公司 Network interface card state monitoring and address switching method of region-county integrated network architecture
CN105790902A (en) * 2014-12-22 2016-07-20 研祥智能科技股份有限公司 Redundant network card switching realization method and system
CN105915400A (en) * 2016-06-28 2016-08-31 北京神州绿盟信息安全科技股份有限公司 Data stream switching method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1746855A (en) * 2005-10-26 2006-03-15 北京启明星辰信息技术有限公司 Method and system for backuping applied layer transparent fault-tolerant based on pseudo block
CN101404568A (en) * 2008-11-17 2009-04-08 国电南瑞科技股份有限公司 Double-network card hot backup redundancy method
CN101980476A (en) * 2010-11-16 2011-02-23 北京星网锐捷网络技术有限公司 Warm backup method and network equipment
CN103259678A (en) * 2013-04-28 2013-08-21 华为技术有限公司 Main-auxiliary switching method, device, equipment and system
CN104320294A (en) * 2014-09-29 2015-01-28 国电南瑞科技股份有限公司 Network interface card state monitoring and address switching method of region-county integrated network architecture
CN105790902A (en) * 2014-12-22 2016-07-20 研祥智能科技股份有限公司 Redundant network card switching realization method and system
CN105915400A (en) * 2016-06-28 2016-08-31 北京神州绿盟信息安全科技股份有限公司 Data stream switching method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115529223A (en) * 2022-09-14 2022-12-27 天津津航计算技术研究所 Dual-redundancy network card switching method based on cascade switch
CN115529222A (en) * 2022-09-14 2022-12-27 天津津航计算技术研究所 Dual-redundancy network card switching device based on cascade switch

Similar Documents

Publication Publication Date Title
CN100512292C (en) Apparatus and method of real-time recovering service
CN108306777B (en) SDN controller-based virtual gateway active/standby switching method and device
US7719956B2 (en) Trunk network system for multipoint-to-multipoint relay
CN101652963B (en) Method for reconfiguring a communications network
US5950135A (en) Communication system with traffic distribution over multiple paths
CN105915400A (en) Data stream switching method and system
CN101895437B (en) Method and equipment of distributed bidirectional forwarding detection (BFD)
GB2333931A (en) Logical switch set
CN105306559A (en) Multi-partition message control system without central partition for regional power grid regulation and control system
CN108183810B (en) Multiple services parallel recovery method, apparatus and system under SDN framework
CN107426756A (en) Hot Spare communication system and its communications interface control module
CN108322364A (en) A kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system
CN103166800A (en) Message transmission method for dual-network redundant message bus in cross failure
CN108989204B (en) Link state determination method and device
CN1322716C (en) Key route information monitoring method based on virtual router redundant protocol
CN101641915B (en) Method for reconfiguring a communication network
CN106941424A (en) A kind of redundancy switching method and equipment based on TTDP agreements
CN110011912A (en) Case type switching equipment uplink switching method and device
CN106533771B (en) Network equipment and control information transmission method
CN102143011A (en) Device and method for realizing network protection
CN101174936B (en) Wireless grouping redundant network system and redundant network equipment
CN104901880B (en) A kind of method and device of service operation
CN104320294B (en) The network card status monitoring of a kind of ground county integrated network framework and address switching method
CN114268581A (en) Method for realizing high availability and load sharing of network equipment
CN101645840B (en) Method, system and routing equipment for retransmitting message

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180724