CN104320294A - Network interface card state monitoring and address switching method of region-county integrated network architecture - Google Patents

Network interface card state monitoring and address switching method of region-county integrated network architecture Download PDF

Info

Publication number
CN104320294A
CN104320294A CN201410522521.3A CN201410522521A CN104320294A CN 104320294 A CN104320294 A CN 104320294A CN 201410522521 A CN201410522521 A CN 201410522521A CN 104320294 A CN104320294 A CN 104320294A
Authority
CN
China
Prior art keywords
county
network
address
switch
adjustment
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.)
Granted
Application number
CN201410522521.3A
Other languages
Chinese (zh)
Other versions
CN104320294B (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.)
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 CN201410522521.3A priority Critical patent/CN104320294B/en
Publication of CN104320294A publication Critical patent/CN104320294A/en
Application granted granted Critical
Publication of CN104320294B publication Critical patent/CN104320294B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a network interface card state monitoring and address switching method of a region-county integrated network architecture. County scheduling node send ICMP messages to local switches and receive ICMP response messages, and all nodes can accurately determine the network interface card states of local nodes and switching the communication addresses of the nodes according to the network interface card states so as to realize redundancy mutual backup of networks; and at the same time, through sending the ICMP messages to region scheduling (specific) switches and receiving the ICMP response messages, the county scheduling nodes can determine the connection states of the local nodes with region scheduling nodes and switching the communication addresses of the local nodes according to the connection states so as to ensure that system nodes can still communicate with each other normally even if only one link works normally between the region scheduling nodes and the county scheduling nodes, and realize the network redundancy mutual backup on the region-county integrated system network architecture. Therefore, the method provided by the invention has good application prospect.

Description

The network card status of a kind of ground county integrated network framework monitors and address switching method
Technical field
The present invention relates to a kind of network card status being applicable to the ground county integral system network architecture to monitor and address switching method, belong to technical field of power dispatching automation.
Background technology
In ground county integral system, for providing the reliability of network service, general installation two pieces of network interface cards on server node, for connecting two switches, simultaneously due to the restriction in region, county adjust need by the communication link of centre with transfer in Serial Communication, instead of traditional directly pass through switch communication, break down when network interface card or communication line connect, when there is communication abnormality, need communication link to be switched to the enterprising Serial Communication of backup network interface card, but, current network card status monitoring facilities is merely able to the connection status of monitoring this node and local switch, when this node with distally adjust be connected there is exception time (communication link switches) cannot monitor.
Further, in ground county integral system, the major network switch of all accesses is all be furnished with management address, for mobile network the machine network card status each in system, for county's point of adjustment, except being communicated with the switch of this tune side, county, can also be communicated with the switch of tune side, ground; Current network interface card monitors and address switchover technology, be to send icmp packet to the switch of one's respective area, and receives response message to judge that connection status is carried out network card status and judged and address switchover.But, in ground county integral system, may occur Di Tiaoyu county adjust between communication link fails or the situation of exception, now can in county's point of adjustment, top-cross be adjusted to change planes transmission icmp packet to ground, and receive response message, thus judge the network state that this node is adjusted with ground, and carry out address switchover according to this state, although it is abnormal to solve intermediate line link like this, county's point of adjustment cannot discover the problem causing communication abnormality.
Summary of the invention
The object of the invention is to overcome in ground county integral system, may occur Di Tiaoyu county adjust between communication link fails or the situation of exception, although it is abnormal that county's point of adjustment can solve intermediate line link, the problem causing communication abnormality cannot be discovered, the problem of Real-Time Monitoring cannot be carried out.The network card status of the ground of the present invention county integral system network architecture monitors and address switching method, county's point of adjustment can judge the connection status that this node is adjusted with ground, and according to this connection status, the mailing address of this node is switched, still can proper communication between system node when ensureing to only have an antenna efficiency normal between Di Tiaoyu county point of adjustment, the network redundancy realized in the ground county integral system network architecture is standby mutually, has a good application prospect.
In order to achieve the above object, the technical solution adopted in the present invention is:
The network card status of ground county integrated network framework monitors and an address switching method, it is characterized in that: comprise the following steps,
Step (1), two pieces of network interface cards in each county point of adjustment are configured two independently IP addresses respectively, and two IP addresses of every block network interface card are arranged on the different network segments, and an IP address is used for actual current, with Network Communication IP address intercommunication, the 2nd IP address is for monitoring network card status;
Step (2), the IP address backbone switch that ground is adjusted and each county adjusts configuring the supervision address network segment of corresponding this area is used for monitoring, and two backbone switch that ground is adjusted are carried out cascade;
Step (3), each county point of adjustment sends icmp packet by an IP address to designated switch, and the mode receiving ICMP response message judges the network card status that is connected with designated switch;
This node adjusts the connection status of the switch of side with ground to adjust to step (4) side gusset to monitor, judges the network card status of this node, and carries out NIC address switching according to network card status;
Step (5) each county point of adjustment is by the 2nd IP address, monitor that this node judges network card status with the connection status of one's respective area designated switch, monitor the connection status that this node adjusts top-cross to change planes with ground, and carry out the switching of NIC address according to this connection status;
Side gusset is adjusted in step (6) locality, each county point of adjustment is all provided with one piece of shared drive for storing the local network card status of this node, by loading this shared drive, read the network card status of this node in real time, when the NIC address of local tune side gusset, each county point of adjustment switches, add arp cache and remove.
The network card status of aforesaid a kind of ground county integrated network framework monitors and address switching method, it is characterized in that: step (1), 2nd IP address is for monitoring network card status, comprise local state and farend state, local state is the connection status between county's point of adjustment network interface card and the switch of region, and farend state is the connection status between county's point of adjustment network interface card and distant-end switch.
The network card status of aforesaid a kind of ground county integrated network framework monitors and address switching method, it is characterized in that: step (3), each county point of adjustment sends icmp packet by an IP address to designated switch, and the mode receiving ICMP response message judges the process of the network card status be connected with designated switch is
(1) each county point of adjustment sends icmp packet to local switch, and receives the local state of ICMP response message determination network interface card;
(2) each county point of adjustment distally switch transmission icmp packet, and receive the farend state of ICMP response message determination network interface card.
The invention has the beneficial effects as follows: the network card status of ground of the present invention county integrated network framework monitors and address switching method, county's point of adjustment can judge the connection status that this node is adjusted with ground, and according to this connection status, the mailing address of this node is switched, still can proper communication between system node when ensureing to only have an antenna efficiency normal between Di Tiaoyu county point of adjustment, the network redundancy realized in the ground county integral system network architecture is standby mutually, has a good application prospect.
Accompanying drawing explanation
Fig. 1 is that the network card status of ground of the present invention county integrated network framework monitors the flow chart with address switching method.
Fig. 2 is the ground county integral system network architecture of one embodiment of the invention.
Fig. 3 is the data flow diagram of one embodiment of the invention.
Fig. 4 is communication scheme under the net card failure state of one embodiment of the invention.
Embodiment
Below in conjunction with Figure of description, the invention will be further described.Following examples only for technical scheme of the present invention is clearly described, and can not limit the scope of the invention with this.
The network card status of ground of the present invention county integrated network framework monitors and address switching method, county's point of adjustment can judge the connection status that this node is adjusted with ground, and according to this connection status, the mailing address of this node is switched, still can proper communication between system node when ensureing to only have an antenna efficiency normal between Di Tiaoyu county point of adjustment, the network redundancy realized in the ground county integral system network architecture is standby mutually, as shown in Figure 1, specifically comprise the following steps
Step (1), two pieces of network interface cards in each county point of adjustment are configured two independently IP addresses respectively, two IP addresses of every block network interface card are arranged on the different network segments, one IP address is used for actual current, with Network Communication IP address intercommunication, 2nd IP address is for monitoring network card status, monitor network card status, comprise local state and farend state, local state is the connection status between county's point of adjustment network interface card and the switch of region, and farend state is the connection status between county's point of adjustment network interface card and distant-end switch;
Step (2), the IP address backbone switch that ground is adjusted and each county adjusts configuring the supervision address network segment of corresponding this area is used for monitoring, and two backbone switch that ground is adjusted are carried out cascade;
Step (3), each county point of adjustment sends icmp packet by an IP address to designated switch, and the mode receiving ICMP response message judges the network card status that is connected with designated switch, and process is,
(1) each county point of adjustment sends icmp packet to local switch, and receives the local state of ICMP response message determination network interface card;
(2) each county point of adjustment distally switch transmission icmp packet, and receive the farend state of ICMP response message determination network interface card;
This node adjusts the connection status of the switch of side with ground to adjust to step (4) side gusset to monitor, judges the network card status of this node, and carries out NIC address switching according to network card status;
Step (5) each county point of adjustment is by the 2nd IP address, monitor that this node judges network card status with the connection status of one's respective area designated switch, monitor the connection status that this node adjusts top-cross to change planes with ground, and carry out the switching of NIC address according to this connection status;
Side gusset is adjusted in step (6) locality, each county point of adjustment is all provided with one piece of shared drive for storing the local network card status of this node, by loading this shared drive, read the network card status of this node in real time, local tune side gusset, when the NIC address of each county point of adjustment switches, add arp cache to remove, when NIC address switches, because ARP information does not upgrade, this node is when by original address correspondence with foreign country, original network interface card also can be selected to communicate, this just causes communication abnormality, for this reason when switching in NIC address, add the function that arp cache is removed, arp cache is removed while NIC address switches, thus the effect of the fast quick-recovery that communicates after reaching address.
Below according to method of the present invention, introduce a specific embodiment, the ground county integral system network architecture in somewhere, as shown in Figure 2, comprise a series of application server and maintenance work station, these nodes all configure two pieces of network interface cards, respectively with A, the switch of B net is connected, A, B net adopts the network segment that independently works, and cascade mutually between two switches is adjusted on ground, county adjusts mutual not cascade between two switches, when needing to start a network interface card supervision with address switchover on each node of system, as shown in Figure 3, first read from configuration file this node network card configuration information and monitor local switch address and distant-end switch address, and by this node of configuration determination of switch the need of the connection status monitoring itself and distant-end switch,
If node adjusts the ground point of adjustment of side with belonging to, so this node only need monitor this node, this program can send icmp packet every 1 second to switch, and accept the ICMP response message that switch returns, if do not receive response message and do not receive for continuous 3 times, will think that this network interface card is in suspension state, the state of this network interface card in shared drive can be set to interrupt, now check the state of other one piece of network interface card, if the state of another block network interface card is normal, just by call operation system command, by the IP address switchover of current network interface card on another network interface card, adjusting top-cross to change planes due to ground is cascade, this node can be exchanged by B net and communicate with the A net address of other nodes, if network interface card current state is suspension, can again be subject to ICMP response message simultaneously, if receive the response message of 30 times continuously, then think that this network interface card recovers normal, the state of this network interface card in shared drive can be set to normally by program, and by this network interface card, the address switchover be switched on another network interface card can current network interface card before simultaneously.
If node belongs to county's point of adjustment of tune side, county, on this node except doing the local state of the process monitoring network interface card identical with ground commissioning, the switch of the tune side, ground that also can configure in configuration file sends icmp packet, accept ICMP response message simultaneously, if can response message be received, just think the farend state of this network interface card time normal, if continuous 3 times do not receive response message, just think the far-end connection status of this network interface card time interrupt, network interface card monitors and can be switched on another network interface card by the mailing address of this network interface card according to the farend state calling system order of another network interface card with the address program of drift, if now just the network of this node has problem, so after address switchover, this node can by as shown in Figure 4 1.-2.-3.-4. link communicate with ground point of adjustment, simultaneously by other node communications of 1.-2.-3.-5.-6. link and this tune side, county, if tune side, a county exchange fault, so this node still can by as shown in Figure 4 1.-2.-3.-4. link communicate with ground point of adjustment, and by 1.-7. other node communications of adjusting of link and this county, if ICMP response message can not be received, become and can receive, and more than 30 times can be received continuously, this node will think that the farend state of this network interface card becomes normally from fault, now according to the switching state of this NIC address, this network interface card is understood in the mailing address switching be switched to before this network interface card on other network interface cards.
More than show and describe general principle of the present invention, principal character and advantage.The technical staff of the industry should understand; the present invention is not restricted to the described embodiments; what describe in above-described embodiment and specification just illustrates principle of the present invention; without departing from the spirit and scope of the present invention; the present invention also has various changes and modifications, and these changes and improvements all fall in the claimed scope of the invention.Application claims protection range is defined by appending claims and equivalent thereof.

Claims (3)

1. the network card status of a Zhong Di county integrated network framework monitors and address switching method, it is characterized in that: comprise the following steps,
Step (1), two pieces of network interface cards in each county point of adjustment are configured two independently IP addresses respectively, and two IP addresses of every block network interface card are arranged on the different network segments, and an IP address is used for actual current, with Network Communication IP address intercommunication, the 2nd IP address is for monitoring network card status;
Step (2), the IP address backbone switch that ground is adjusted and each county adjusts configuring the supervision address network segment of corresponding this area is used for monitoring, and two backbone switch that ground is adjusted are carried out cascade;
Step (3), each county point of adjustment sends icmp packet by an IP address to designated switch, and the mode receiving ICMP response message judges the network card status that is connected with designated switch;
This node adjusts the connection status of the switch of side with ground to adjust to step (4) side gusset to monitor, judges the network card status of this node, and carries out NIC address switching according to network card status;
Step (5) each county point of adjustment, by the 2nd IP address, monitors that this node judges network card status with the connection status of one's respective area designated switch, monitors the connection status that this node adjusts top-cross to change planes with ground, and carries out the switching of NIC address according to this connection status;
Side gusset is adjusted in step (6) locality, each county point of adjustment is all provided with one piece of shared drive for storing the local network card status of this node, by loading this shared drive, read the network card status of this node in real time, when the NIC address of local tune side gusset, each county point of adjustment switches, add arp cache and remove.
2. the network card status of a kind of ground according to claim 1 county integrated network framework monitors and address switching method, it is characterized in that: step (1), 2nd IP address is for monitoring network card status, comprise local state and farend state, local state is the connection status between county's point of adjustment network interface card and the switch of region, and farend state is the connection status between county's point of adjustment network interface card and distant-end switch.
3. the network card status of a kind of ground according to claim 1 county integrated network framework monitors and address switching method, it is characterized in that: step (3), each county point of adjustment sends icmp packet by an IP address to designated switch, and the mode receiving ICMP response message judges the process of the network card status be connected with designated switch is
(1) each county point of adjustment sends icmp packet to local switch, and receives the local state of ICMP response message determination network interface card;
(2) each county point of adjustment distally switch transmission icmp packet, and receive the farend state of ICMP response message determination network interface card.
CN201410522521.3A 2014-09-29 2014-09-29 The network card status monitoring of a kind of ground county integrated network framework and address switching method Active CN104320294B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410522521.3A CN104320294B (en) 2014-09-29 2014-09-29 The network card status monitoring of a kind of ground county integrated network framework and address switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410522521.3A CN104320294B (en) 2014-09-29 2014-09-29 The network card status monitoring of a kind of ground county integrated network framework and address switching method

Publications (2)

Publication Number Publication Date
CN104320294A true CN104320294A (en) 2015-01-28
CN104320294B CN104320294B (en) 2018-02-13

Family

ID=52375469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410522521.3A Active CN104320294B (en) 2014-09-29 2014-09-29 The network card status monitoring of a kind of ground county integrated network framework and address switching method

Country Status (1)

Country Link
CN (1) CN104320294B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322364A (en) * 2018-03-06 2018-07-24 国电南瑞科技股份有限公司 A kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404568A (en) * 2008-11-17 2009-04-08 国电南瑞科技股份有限公司 Double-network card hot backup redundancy method
CN103139018A (en) * 2013-04-03 2013-06-05 国电南瑞科技股份有限公司 Network card condition monitoring and transmission control protocol (TCP) communication method in dispatching and transformer substation integrated system
CN103166800A (en) * 2013-04-03 2013-06-19 国电南瑞科技股份有限公司 Message transmission method for dual-network redundant message bus in cross failure
CN103442035A (en) * 2013-08-08 2013-12-11 中国民航大学 Method for achieving dual-network hot standby redundancy of blank pipe automatic system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404568A (en) * 2008-11-17 2009-04-08 国电南瑞科技股份有限公司 Double-network card hot backup redundancy method
CN103139018A (en) * 2013-04-03 2013-06-05 国电南瑞科技股份有限公司 Network card condition monitoring and transmission control protocol (TCP) communication method in dispatching and transformer substation integrated system
CN103166800A (en) * 2013-04-03 2013-06-19 国电南瑞科技股份有限公司 Message transmission method for dual-network redundant message bus in cross failure
CN103442035A (en) * 2013-08-08 2013-12-11 中国民航大学 Method for achieving dual-network hot standby redundancy of blank pipe automatic system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
翟明玉等: "调度自动化系统双网卡热备冗余机制的设计与实现", 《电力系统自动化》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322364A (en) * 2018-03-06 2018-07-24 国电南瑞科技股份有限公司 A kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system

Also Published As

Publication number Publication date
CN104320294B (en) 2018-02-13

Similar Documents

Publication Publication Date Title
CN101371474B (en) System and method for detecting and recovering from virtual switch link failures
CN105915400A (en) Data stream switching method and system
US7719956B2 (en) Trunk network system for multipoint-to-multipoint relay
CN103001799B (en) Method and node for achieving redundancy on basis of chain network
CN104753828A (en) SDN controller, data central system and route connection method
CN102255757B (en) Link switching method and device
CN102014019B (en) Aggregated link switching method and device
CN101860492A (en) Quick switching method, device and system
CN103166800B (en) Message transmission method for dual-network redundant message bus in cross failure
CN104284359A (en) Trans-regional disaster tolerant system under EPC network and control method
CN102984057A (en) Multi-service integration dual-redundancy network system
CN105306559A (en) Multi-partition message control system without central partition for regional power grid regulation and control system
CN102104893A (en) Method, device and wireless access point equipment for realizing hot backup of wireless controller
CN102891769A (en) Link fault informing method and apparatus
CN101232402B (en) Wireless network system and communication method thereof
CN112218321B (en) Master-slave link switching method, device, communication equipment and storage medium
CN108234623B (en) Automatic balance management method for data acquisition link of distribution network master station
CN101174936B (en) Wireless grouping redundant network system and redundant network equipment
CN102487332A (en) Fault processing method, apparatus thereof and system thereof
CN102407868A (en) Hot-standby dual-connection method suitable for communication protocol of modern monitoring system of rail transit
CN108322364A (en) A kind of mutual Preparation Method of double netcard redundancy suitable for wide area dispatch automated system
CN104320294A (en) Network interface card state monitoring and address switching method of region-county integrated network architecture
CN109361587B (en) Intelligent station control layer networking system and method based on HSR (high speed railway) ring network and PRP (redundancy protocol) redundant network
CN102378233A (en) Method and system for improving reliability of wireless communication network system
CN106533771A (en) Network device and control information transmission method

Legal Events

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