CN106603261A - Hot backup method, first master device, backup device and communication system - Google Patents

Hot backup method, first master device, backup device and communication system Download PDF

Info

Publication number
CN106603261A
CN106603261A CN201510675648.3A CN201510675648A CN106603261A CN 106603261 A CN106603261 A CN 106603261A CN 201510675648 A CN201510675648 A CN 201510675648A CN 106603261 A CN106603261 A CN 106603261A
Authority
CN
China
Prior art keywords
link
host apparatus
equipment
quality rank
stand
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
CN201510675648.3A
Other languages
Chinese (zh)
Other versions
CN106603261B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201510675648.3A priority Critical patent/CN106603261B/en
Publication of CN106603261A publication Critical patent/CN106603261A/en
Application granted granted Critical
Publication of CN106603261B publication Critical patent/CN106603261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

An embodiment of the invention provides a hot backup method, a first master device, a backup device and a communication system, which help to save system resources. The method comprises the following steps: the first master device obtains a first link quality level of a link between the first master device and the backup device, Xith link quality levels of links between the first master device and the other N-1 master devices, and Yth link quality levels of links between the (N-1)th master devices and the backup device; and when the sum of number of abnormal levels in the first link quality level and the Xith link quality levels is smaller than the number of abnormal levels in the Yth link quality levels, and the number of normal levels in the Xith link quality levels is larger than or equal to the number of normal levels in the Yth link quality levels, and the link quality level of the first master device is the abnormal level, the first master device carries out hot backup to the backup device, or otherwise, the first master device keeps in a master device state.

Description

Heat backup method, the first host apparatus, stand-by equipment and communication system
Technical field
It is the present embodiments relate to communication technical field more particularly to a kind of heat backup method, first primary Equipment, stand-by equipment and communication system.
Background technology
With the development of communication technology, integrated function is more and more on the communication equipment in network, leads to The failure of letter equipment cannot proper communication by the terminal unit for causing its service, in some instances it may even be possible to affect whole net The normal operation of network.Therefore, usually, it is configured with alternate channel in each communication equipment to set ensureing communication It is standby that normal work still is able to when principal communication passage breaks down, stand-by equipment is also configured with network, make Whole network people being capable of normal work when certain equipment breaks down.
Hot Spare technology is a kind of reliable resist technology in network, when the separate unit communication equipment in network goes out During existing failure, the business in the communication equipment of the failure is rapidly switched on standby communication facility, and makes end The failover of end equipment not aware communications equipment.Hot Spare typically has two-node cluster hot backup and multiple-node backup Etc. form.Wherein, two-node cluster hot backup is that a standby communication facility protects a primary communication equipment;It is many Machine Hot Spare is that 1 standby communication facility protects the primary communication equipment of N platforms.Obviously, two-node cluster hot backup is One kind in multiple-node backup.
The application scenarios of Hot Spare are extensive, such as Broadband Remote Access Server (Broadband Remote Access Server, BRAS), just use Virtual Router Redundancy Protocol (Virtual Router Redundancy Protocol, VRRP) realize Hot Spare.Carrying out two-node cluster hot backup with two BRAS is , after primary BRAS equipment breaks down, there is active-standby switch, no matter up on primary BRAS in example Or descending data traffic all will be switched in standby BRAS, during whole switching, user Equipment will not be perceived, therefore reconnect network without the need for user equipment.And work as the failure of primary BRAS After recovery, primary BRAS will be switched to and worked on.
Common multiple-node backup technology is only capable of making the failure of link down correct judgement, and for The situation of the serious packet loss of link, then easily do the judgement for making mistake, consequently, it is possible to causing the waste of resource.
The content of the invention
The embodiment of the present invention provides a kind of heat backup method, the first host apparatus, stand-by equipment and communication system System, by judging that the link-quality between each host apparatus and stand-by equipment determines whether backup so that In system after backup each communication equipment can proper communication, so as to save system resource.
A kind of first aspect, there is provided heat backup method, including:
First host apparatus obtain the first link-quality rank, and the first link-quality rank is used to represent Link-quality between first host apparatus and stand-by equipment;
When the first link-quality rank represents link exception, first host apparatus obtain described N-1 X between first host apparatus and other N-1 platform host apparatusiLink-quality rank, it is described XiLink-quality rank is used to represent the link matter between first host apparatus and the i-th host apparatus Amount, N is more than or equal to 2, i more than 1 and less than or equal to N;
First host apparatus to each host apparatus in described other N-1 platform host apparatus are distinguished Request message is sent, the request message is used to ask each in described other N-1 platform host apparatus Host apparatus send respectively the link-quality between other N-1 platforms host apparatus and the stand-by equipment Rank;
First host apparatus receive respectively M platforms host apparatus in described other N-1 platform host apparatus and send out M Y between the jth host apparatus for sending and the stand-by equipmentjLink-quality rank, described YjLink-quality rank is used to represent the link-quality between jth host apparatus and the stand-by equipment that j to be big In 1 and less than or equal to N, M is more than or equal to zero and less than or equal to N-1;
As the first link-quality rank and the M YjRepresent that link is different in link-quality rank Normal quantity sum is less than the N-1 XiThe abnormal quantity of link is represented in link-quality rank, and And the M YjRepresent that the normal quantity of link is more than or equal to N-1 institute in link-quality rank State XiThe normal quantity of link, and the business of first host apparatus are represented in link-quality rank When impaired, business is switched to the stand-by equipment by first host apparatus.
With reference to first aspect, there is provided the possible implementation of the first of first aspect, also include:
As the first link-quality rank and the M YjRepresent that link is different in link-quality rank Normal quantity sum is more than or equal to the N-1 XiThe abnormal number of link is represented in link-quality rank During amount, or as the M YjRepresent that the normal quantity of link is less than N-1 in link-quality rank The individual XiWhen representing the normal quantity of link in link-quality rank, or first host apparatus When own service is intact, first host apparatus are in default silence period window not to described standby Device backup data.
With reference to the first possible implementation of above-mentioned first aspect, the second of first aspect is additionally provided Possible implementation is planted, is also included:
After silence period window time-out, first host apparatus obtain again the first link matter Magnitude is other;
When the first link-quality rank represents that link is normal, first host apparatus notify described Business is switched back into first host apparatus by stand-by equipment.
With reference to the first possible implementation of above-mentioned first aspect, first aspect, or first aspect Second possible implementation, additionally provides the third possible implementation of first aspect, also wraps Include:
First host apparatus are to each host apparatus in described other N-1 platform host apparatus point Do not send in the waiting time window that the request message starts, suspend to the stand-by equipment and send backup number According to.
A kind of second aspect, there is provided heat backup method, including:
Stand-by equipment obtains the first link-quality rank, and the first link-quality rank is used to represent first Link-quality between host apparatus and the stand-by equipment;
When the first link-quality rank represents link exception rank, the stand-by equipment obtains described Each host apparatus in stand-by equipment and other the N-1 platform host apparatus in addition to first host apparatus Between N-1 YjLink-quality rank, the YjLink-quality rank is used to represent described standby Link-quality between equipment and the jth host apparatus, N is more than or equal to 2, j is more than 1 and is less than Equal to N;
The stand-by equipment to each host apparatus in described other N-1 platform host apparatus send respectively Request message, the request message be used to asking each in described other N-1 platform host apparatus it is primary Equipment sends respectively the link-quality between other N-1 platforms host apparatus and first host apparatus Rank;
The stand-by equipment receive respectively the i-th host apparatus that described other N-1 platforms host apparatus send and M X between first host apparatusiLink-quality rank, the XiLink-quality rank For representing the link-quality between the i-th host apparatus and first host apparatus, i is more than 1 and is less than Or equal to N, M is more than or equal to zero and less than or equal to N-1;
As the first link-quality rank and the N-1 YjRepresent that link is different in link-quality rank Normal quantity sum is less than the M XiThe abnormal quantity of link is represented in link-quality rank, and The N-1 YjThe normal quantity of link described more than or equal to M the is represented in link-quality rank XiThe normal quantity of link is represented in link-quality rank, the stand-by equipment lifts access priority, institute Stating the access priority after being lifted is used to indicate that the user of first host apparatus to be switched to described standby set It is standby.
With reference to above-mentioned second aspect, the first possible implementation of second aspect is additionally provided, also wrapped Include:
As the first link-quality rank and the N-1 YjRepresent that link is different in link-quality rank Normal quantity sum is more than or equal to the M XiThe abnormal quantity of link is represented in link-quality rank, Or the N-1 YjThe normal quantity of link described less than M the is represented in link-quality rank XiThe normal quantity of link is represented in link-quality rank, the stand-by equipment is in default silence period window Interior time-out receives the Backup Data that first host apparatus send.
A kind of third aspect, there is provided first host apparatus, including:
First acquisition module, for obtaining the first link-quality rank, the first link-quality rank is used Link-quality between expression first host apparatus and stand-by equipment;
Judge module, for judging that the first link-quality rank indicates whether link exception;
Second acquisition module, for judging that the first link-quality rank represents chain when the judge module When road is abnormal, N-1 X between first host apparatus and other N-1 platform host apparatus is obtainedi Link-quality rank, the XiLink-quality rank is used to represent first host apparatus and the i-th master With the link-quality between equipment, N is more than or equal to 2, i more than 1 and less than or equal to N;
Sending module, for sending out respectively to each host apparatus in described other N-1 platform host apparatus Request message, the request message is sent to be used to ask each master in described other N-1 platform host apparatus The link-quality level between other N-1 platforms host apparatus and the stand-by equipment is sent respectively with equipment Not;
Receiver module, for receiving described other N-1 platform host apparatus respectively in M platforms host apparatus send Jth host apparatus and the stand-by equipment between M YjLink-quality rank, the Yj Link-quality rank is used to represent the link-quality between jth host apparatus and the stand-by equipment that j to be more than 1 and less than or equal to N, M is more than or equal to zero and less than or equal to N-1;
Processing module, for as the first link-quality rank and the M YjLink-quality rank The middle quantity sum for representing that link is abnormal is less than the N-1 XiRepresent that link is different in link-quality rank Normal quantity, and the M YjRepresent that the normal quantity of link is more than or waits in link-quality rank In the N-1 XiRepresent the normal quantity of link in link-quality rank, and it is described first primary When the business of equipment is impaired, business is switched to into the stand-by equipment.
With reference to the above-mentioned third aspect, there is provided the possible implementation of the first of the third aspect, the place Reason module, is additionally operable to as the first link-quality rank and the M YjTable in link-quality rank Show the abnormal quantity sum of link more than or equal to the N-1 XiLink is represented in link-quality rank During the quantity of exception, or as the M YjRepresent that the normal quantity of link is little in link-quality rank In the N-1 XiWhen representing the normal quantity of link in link-quality rank, or first master With equipment own service it is intact when, in default silence period window not to the stand-by equipment back up number According to.
With reference to the first possible implementation of the above-mentioned third aspect, the second of the third aspect is additionally provided Possible implementation is planted, first acquisition module is additionally operable to after silence period window time-out, The first link-quality rank is obtained again;
The sending module, is additionally operable to when the judge module judges that the first link-quality rank is represented When link is normal, notify that business is switched back into first host apparatus by the stand-by equipment.
With reference to the above-mentioned third aspect, the third aspect the first possible implementation or the third aspect Two kinds of possible implementations, additionally provide the third possible implementation of the third aspect, described Module is sent, is additionally operable to from sending respectively to each host apparatus in described other N-1 platform host apparatus In the waiting time window that the request message starts, suspend to the stand-by equipment and send Backup Data.
A kind of fourth aspect, there is provided stand-by equipment, including:
First acquisition module, for obtaining the first link-quality rank, the first link-quality rank is used Link-quality between the first host apparatus of expression and the stand-by equipment;
Judge module, for judging that the first link-quality rank indicates whether link exception;
Second acquisition module, for judging that the first link-quality rank represents chain when the judge module During the exception rank of road, the stand-by equipment and other the N-1 platform masters in addition to first host apparatus are obtained With N-1 Y in equipment between each host apparatusjLink-quality rank, the YjLink matter Magnitude Yong Yu not represent the link-quality between the stand-by equipment and the jth host apparatus, and N is more than Or equal to 2, j more than 1 and less than or equal to N;
Sending module, for sending out respectively to each host apparatus in described other N-1 platform host apparatus Request message, the request message is sent to be used to ask each master in described other N-1 platform host apparatus The link matter between other N-1 platforms host apparatus and first host apparatus is sent respectively with equipment Magnitude is other;
Receiver module, for receiving the i-th host apparatus that described other N-1 platforms host apparatus send respectively And the M between first host apparatus XiLink-quality rank, the XiLink-quality level The link-quality between the i-th host apparatus and first host apparatus Yong Yu not be represented, i is more than 1 and little In or equal to N, M is more than or equal to zero and less than or equal to N-1;
Processing module, for as the first link-quality rank and the N-1 YjLink-quality level The not middle quantity sum for representing that link is abnormal is less than the M XiLink is represented in link-quality rank Abnormal quantity, and the N-1 YjRepresent that the normal quantity of link is more than in link-quality rank Equal to the M XiThe normal quantity of link is represented in link-quality rank, access priority is lifted, Access priority after the lifting be used for indicate first host apparatus user be switched to it is described standby Equipment.
With reference to above-mentioned fourth aspect, there is provided the possible implementation of the first of fourth aspect, the place Reason module, is additionally operable to as the first link-quality rank and the N-1 YjIn link-quality rank Represent the abnormal quantity sum of link more than or equal to the M XiLink is represented in link-quality rank Abnormal quantity, or the N-1 YjRepresent that the normal quantity of link is less than in link-quality rank The M XiThe normal quantity of link is represented in link-quality rank, in default silence period window Suspend and receive the Backup Data that first host apparatus send.
A kind of 5th aspect, there is provided communication system, including:N platforms host apparatus and above-mentioned fourth aspect Or the stand-by equipment that the first possible implementation of above-mentioned fourth aspect is provided, the N platforms are primary to be set Any one host apparatus in standby be the above-mentioned third aspect or the above-mentioned third aspect any one is possible The first host apparatus that implementation is provided.
Heat backup method provided in an embodiment of the present invention, the first host apparatus, stand-by equipment and communication system, The Link State between the first host apparatus and other each host apparatus is counted, and has counted each primary Link State between equipment and stand-by equipment such that it is able to be accurately judged to cause the first host apparatus and Between stand-by equipment the reason for link problem such that it is able to make more rational Hot Spare and process, will not The Hot Spare that mistake is caused due to packet loss of link between the first host apparatus and stand-by equipment is processed, and is saved System resource.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Apply the accompanying drawing to be used needed for example or description of the prior art to be briefly described, it should be apparent that, under Accompanying drawing in the description of face is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative labor, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Figure 1A is a kind of BRAS two-node cluster hot backups schematic diagram;
Figure 1B is another kind BRAS two-node cluster hot backup schematic diagrams;
Fig. 2 is the multi-host hot swap networking schematic diagram comprising N platforms host apparatus and a stand-by equipment;
Fig. 3 is the flow chart of heat backup method provided in an embodiment of the present invention;
Fig. 4 is the flow chart of heat backup method provided in an embodiment of the present invention;
Fig. 5 is the flow chart of heat backup method provided in an embodiment of the present invention;
Fig. 6 is the flow chart of heat backup method provided in an embodiment of the present invention;
Fig. 7 is the flow chart of heat backup method provided in an embodiment of the present invention;
Fig. 8 is the flow chart of heat backup method provided in an embodiment of the present invention;
Fig. 9 is the structural representation of the first host apparatus provided in an embodiment of the present invention;
Figure 10 is the structural representation of stand-by equipment provided in an embodiment of the present invention;
Figure 11 is the structural representation of the first host apparatus provided in an embodiment of the present invention;
Figure 12 is the structural representation of stand-by equipment provided in an embodiment of the present invention;
Figure 13 is the structural representation of communication system provided in an embodiment of the present invention.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described to the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the invention, rather than the embodiment of whole.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained under the premise of creative work is not made The all other embodiment for obtaining, belongs to the scope of protection of the invention.
Hot Spare is the technology commonly used in communication network, hot standby using VRRP protocol realizations with BRAS As a example by part, the basic procedure of BRAS two-node cluster hot backups is as shown in FIG. 1A and 1B.Wherein Figure 1A For a kind of BRAS two-node cluster hot backups schematic diagram;Figure 1B is another kind BRAS two-node cluster hot backup schematic diagrams.
In Figure 1A and Figure 1B, terminal 11 is communicated by access device 12 with switch 13, is exchanged Machine 13 can communicate with BRAS 14 and BRAS 15, and BRAS 14 passes through core router (Core Router, CR) 16 Access Core Networks 17, BRAS 15 is by the Access Core Networks 17 of CR 16.
Wherein, BRAS 14 is primary BRAS, and BRAS 15 is standby BRAS.BRAS 14 is responsible for Terminal 11 accesses and carries customer service, and BRAS 15 is from data such as the sessions of the synchronous users of BRAS 14 Storehouse information, such as user media access control (Media Access Control, MAC), procotol (Internet Protocol, IP), DHCP (Dynamic Host Configuration Protocol, DHCP) rental period, DHCP option 82 (option82) etc..By routing policy, can So that the priority that the user that BRAS 14 is issued route is higher than BRAS 15, so, network side is to terminal 11 downlink traffic is preferably forwarded in BRAS 14, path 18 in such as Figure 1A.
After BRAS 14 breaks down, the failure can be link failure or machine failure, VRRP There is active-standby switch, BRAS 15 with redundant subscribers information (Redundant User Information, RUI) Used as new primary BRAS, BRAS 14 is used as new standby BRAS.BRAS 15 can issue Gao You Internet protocol (Internet Protocol, the IP) route of first level user, BRAS 14 can cancel user IP route or reduce route priority, make the flow that network side goes downwards to terminal 11 switch to BRAS 15.Side is accessed in user, the equipment of BRAS 15 can send address resolution protocol (Address Resolution Protocol, ARP) message go change switch 13 in MAC table, the up flow of terminal 11 Can switch on BRAS 15, path 19 in such as Figure 1B.Above-mentioned switch protecting process will not be by terminal 11 Perceive, i.e., terminal 11 is without the need for dial up lines again.After the fault recovery of BRAS 14, BRAS is accessed 15 user can switchback to BRAS 14.
BRAS has several important modules using VRRP protocol realization multi-host hot swaps:
Module 1:VRRP modules.Per VRRP agreements are disposed between two BRAS, the master for determining is elected Standby role.After deployment VRRP, primary BRAS can send VRRP heartbeat messages, the report to standby BRAS Text is Layer 2 Multicast message, it is therefore desirable to one two layers are set up between primary BRAS and standby BRAS and is led to Road.If primary BRAS and standby BRAS hang over down a double layer network, such as on switch, then lead With one double layer channel of presence between BRAS and standby BRAS.If between primary BRAS and standby BRAS It is distant, or there is no the passage through double layer network between primary BRAS and standby BRAS, then lead With needing to dispose the two-layer virtual private network for passing through Metropolitan Area Network (MAN) (Layer 2 between BRAS and standby BRAS Virtual Private Network, L2VPN) tunnel.VRRP modules can track the state of access port, Such as (up) or unavailable (down) is can use, carry out the priority parameters of dynamic adjustment VRRP agreements.Together When, VRRP modules can link two-way converting detecting (Bidirectional Forwarding Detection, The detection technique such as BFD), triggering re-elects primary BRAS and standby BRAS, and linkage business is carried out Switch process.
Module 2:Remote backup services (Remote Backup Service, RBS) module.RBS modules For the backup data transmitting between two BRAS.RBS modules adopt transmission control protocol (Transmission Control Protocol, TCP) realize, provide batch backup and the mechanism backed up in realtime to business.In batches Backup is that occur after TCP connection establishment successes.Generation of backing up in realtime is successfully accessed in user, user Attribute change success or user's statistical data backup cycle after line is reached.
Module 3:RUI processing modules.RUI processing modules are responsible for user profile backup, track the shape of VRRP State, determines the host apparatus of accessing user and the state of stand-by equipment, and according to state control forwarding route Switch, charging control etc..
VRRP agreements can effectively determine the main and standby relation of two BRAS, in combination with detection techniques such as BFD, Can ensure after primary BRAS failures, standby BRAS is perceived rapidly and done rapidly and switches.Concrete manifestation , as shown in FIG. 1A and 1B, VRRP heartbeat messages are forwarded by the switch connected under two BRAS, Simultaneously BFD tracks the link of primary BRAS networks sidelinks, primary BRAS machine failures and switch The link failure of failure and network side CR equipment, standby BRAS can quick sensing.Relatively multiple It is also the rapid sense for realizing failure with reference to the technology that BFD is detected by VRRP in miscellaneous multi-host hot swap networking Know and hand-off process.
VRRP in current multi-host hot swap technology is only capable of processing link failure with reference to BFD detection techniques, than Such as link down, machine failure fault type, for failures such as packet loss of link, then may make mistake Judgement.Fig. 2 is the multi-host hot swap networking schematic diagram comprising N platforms host apparatus and a stand-by equipment. In the network shown in Fig. 2, with including the multi-host hot swap of 3 primary BRAS and standby BRAS As a example by networking, 3 primary BRAS are respectively BRAS 21, BRAS 22 and BRAS 23, standby BRAS For BRAS 24.BRAS 21, BRAS 22 and BRAS 23 set up VRRP with BRAS 24 respectively And RBS, 3 equipment pair are formed, 3 each equipment of equipment centering are between two BRAS including There is main and standby relation.Any one BRAS of each equipment centering can judge right according to VRRP and BFD Whether whether the state at end, join according to route up to building for RBS of determination.Detection technique is only capable of in link event Come into force when barrier or machine failure, any one BRAS of each equipment centering cannot be serious in go-between Judge the state of opposite end during packet loss exactly.
Specifically, repeatedly chain rupture or BFD shake RBS, and primary BRAS still thinks it oneself is VRRP main equipments, And keep the role of VRRP main equipments constant;Send because BFD shakes and can receive once in a while primary BRAS VRRP heart beatings, the VRRP states of standby BRAS constantly shake.But, it is primary based on this information BRAS or standby BRAS have no idea to judge whether network is problematic residing for opposite end or opposite end.It is standby BRAS also cannot exactly judge whether oneself is problematic, unless there is non-RUI user in standby BRAS, And non-RUI user has situation about going offline in a large number, standby BRAS would know that the network failure of itself.
In following three kinds of scenes, VRRP cannot make and properly process.(1) primary BRAS places network Packet loss, causes RBS to shake.Primary BRAS should switch to standby BRAS, do RUI switchings, but actual On, it is not that link is unavailable due to being only packet loss, VRRP switchings will not be triggered.(2) standby BRAS Place network failure packet loss, causes RBS to shake.RUI activestandby states keep constant, ought to not be to standby BRAS Backup Datas again, as long as but in fact, RBS recovers just to start backup, cause the wasting of resources. (3) network failure between primary BRAS and standby BRAS, causes RBS to shake.Now both sides can not protect The link for hindering all users is reachable, and the link between certain customers and primary BRAS is reachable, certain customers with Link between standby BRAS is reachable, and now RUI should meet the business of all users, but in fact, VRRP earthquakes always, it is impossible to stablize primary BRAS and standby BRAS, primary BRAS and standby BRAS Between always in Backup Data.
It follows that because VRRP is only capable of making correctly standby in machine failure or link down failure Part selects, but in whole machine or link not whole failures, VRRP may do the judgement for making mistake, from And the wasting of resources may be caused.
Under multiple-node backup scene, the Link State between multiple host apparatus and a stand-by equipment can The different degrees of existing problems of energy, but only possibly cannot be judged specifically by two equipment itself detections The caused link problem due to due to which equipment.Therefore, for the energy under multiple-node backup scene Enough make correct backup to select, it is necessary first to correctly determine the equipment for causing link fails. N:In 1 multi-host hot swap scene, when primary BRAS has found itself and other primary BRAS packet loss very It is little, but itself packet loss is very big and standby BRAS between, illustrate standby BRAS to cause link to go out to ask The equipment of topic.When all of primary BRAS and standby BRAS have found that its own is primary with some The packet loss of BRAS is very big, and it is setting of causing link to go wrong that explanation is described some primary BRAS It is standby.Therefore, it can between all BRAS configure performance detection protocol, when occur VRRP concussion or When RBS shakes, primary BRAS has found itself and other primary BRAS packet loss very littles, but itself Packet loss is very big and standby BRAS between, illustrates that standby BRAS is the equipment for causing link to go wrong. When all of primary BRAS and standby BRAS have found its packet loss with some primary BRAS very Greatly, illustrate that described some primary BRAS is the equipment for causing link to go wrong.
The embodiment of the present invention is namely based on above-mentioned design, there is provided a kind of heat backup method, can be exactly It is determined that the equipment for causing link failure, and then reasonably carried out Hot Spare process.
Fig. 3 is the flow chart of heat backup method provided in an embodiment of the present invention, and it is hot standby that the present embodiment is provided It is N that part method is applied to host apparatus and the quantity ratio of stand-by equipment:1 multiple-node backup system, its Middle N >=2.With reference to Fig. 3, heat backup method provided in an embodiment of the present invention is described in detail.
S301, the first host apparatus obtain the first link-quality rank, and the first link-quality rank is used for table Show the link-quality between the first host apparatus and stand-by equipment.
Specifically, the heat backup method that the present embodiment is provided be applied to include N platforms host apparatus and one it is standby With the multiple-node backup system of equipment, wherein N >=2.
The executive agent of the heat backup method that the present embodiment is provided is arbitrary host apparatus, is referred to as first Host apparatus.First, the first host apparatus need to obtain the first host apparatus to the first chain of stand-by equipment Road quality scale.First link-quality rank is used to represent the chain between the first host apparatus and stand-by equipment Road quality.First link-quality rank can be represented using many kinds of parameters, such as the first host apparatus and Packet loss, data throughput between stand-by equipment etc..First host apparatus pass through the first link-quality level Can not know whether the link between the first host apparatus and stand-by equipment is normal.First link-quality level Several grades can be divided into, such as normally, abnormal, unavailable etc., wherein unavailable is first primary Equipment cannot obtain a kind of state during the first link-quality rank.Or first link-quality rank can be with It is a numerical value or a ratio value, for the state such as normal, abnormal, unavailable, can be provided with corresponding Span, here no longer illustrates one by one.
S302, when the first link-quality rank represents link exception, the first host apparatus obtain first and lead With N-1 X between equipment and other N-1 platform host apparatusiLink-quality rank, XiLink Quality scale is used to representing the link-quality between the first host apparatus and the i-th host apparatus, N be more than or Equal to 2, i more than 1 and less than or equal to N.
Specifically, after the first host apparatus get the first link-quality rank, if the first link-quality Rank represents that link is normal, then mean that the Link State between the first host apparatus and stand-by equipment is normal, Can be processed according to normal Hot Spare flow process.
When the first link-quality rank represents link exception, it is meant that the first host apparatus and stand-by equipment Between link existing problems, then the first host apparatus are it needs to be determined that be link caused by stand-by equipment failure Link problem caused by problem or the first host apparatus failure.
Illustrate, the first host apparatus obtain first the first host apparatus and other N-1 platform host apparatus Between N-1 XiLink-quality rank, XiLink-quality rank is used to represent the first host apparatus And i-th link-quality between host apparatus, N is more than or equal to 2, i more than 1 and less than or equal to N. Due in addition to the first host apparatus, N-1 host apparatus also being included in system, then first is primary Equipment will get N-1 XiLink-quality rank.If N-1 XiW in link-quality rank Individual XiLink-quality rank is abnormal, S XiLink-quality rank is normal, then W and S With for N-1.
S303, the first host apparatus to each host apparatus in other N-1 platform host apparatus are sent out respectively Request message is sent, the request message is used to ask each host apparatus in other N-1 platform host apparatus The link-quality rank between other N-1 platforms host apparatus and stand-by equipment is sent respectively.
Specifically, the first host apparatus also need to know between other N-1 platforms host apparatus and stand-by equipment Link-quality rank, that is, know the link shape between other N-1 platforms host apparatus and stand-by equipment State.First host apparatus to each host apparatus in other N-1 platform equipment send respectively request message.
It should be noted that causing the reason for Link State is abnormal between the first host apparatus and stand-by equipment Possibly caused by the failure of the first host apparatus, the first host apparatus and other N-1 platforms host apparatus it Between link cause exception because of the failure of the first host apparatus, therefore, the first host apparatus send out The request message for sending not necessarily can be received by other N-1 platform equipment.
S304, the first host apparatus receive respectively M platforms host apparatus in other N-1 platform host apparatus and send Jth host apparatus and stand-by equipment between M YjLink-quality rank, YjLink-quality Rank is used to representing link-quality between jth host apparatus and stand-by equipment, j more than 1 and less than or wait In N, M is more than or equal to zero and less than or equal to N-1.
Specifically, the first host apparatus, will after it have sent request message to other N-1 platform host apparatus Receive the Y of jth host apparatus transmissionjLink-quality rank, wherein, YjLink-quality rank is used Link-quality between expression jth host apparatus and stand-by equipment.Because the first host apparatus may be with Link between other N-1 platform host apparatus has problems, therefore the first host apparatus may not received The Y that jth host apparatus send in other N-1 platform host apparatusjLink-quality, that is, may receive Less than N-1 link-quality rank, the Y in the N-1 link-quality rankjLink-quality rank is used Link-quality between expression jth host apparatus and stand-by equipment.If the first host apparatus have received altogether M link-quality rank, M is less than or equal to N-1.If P link-quality rank is abnormal, Q Link-quality rank is normal, then P is less than or equal to N-1 with Q sums.
S305, as the first link-quality rank and M YjLink exception is represented in link-quality rank Quantity sum less than N-1 XiThe abnormal quantity of link, and M are represented in link-quality rank YjRepresent the normal quantity of link more than or equal to N-1 X in link-quality rankiLink-quality level The not middle expression normal quantity of link, and the first host apparatus business it is impaired when, the first host apparatus Business is switched to into stand-by equipment.
Illustrate, M YjWhat link-quality rank was represented is that each is primary in M host apparatus Link-quality rank between equipment and stand-by equipment.If M is more than 3, M YjLink-quality level Fen Biewei not Y2Link-quality rank, Y3Link-quality rank ... YM+1Link-quality rank. Wherein, Y2Link-quality rank represents the second host apparatus to the Link State of stand-by equipment;Y3 Link-quality rank represents the 3rd host apparatus to the Link State of stand-by equipment;YM+1Link-quality level Do not represent M+1 host apparatus to the Link State of stand-by equipment.When M is other numerical value, M the YjThe particular content here of link-quality rank is no longer illustrated.
Illustrate, N-1 XiThat link-quality rank is represented is each master in N-1 host apparatus With the link-quality rank between equipment and the first host apparatus.If N is more than 3, N-1 XiLink Quality scale is respectively X2Link-quality rank, X3Link-quality rank ... XNLink-quality level Not.Wherein, X2Link-quality rank represents the link shape between the first host apparatus and the second host apparatus State.X3Link-quality rank represents the Link State between the first host apparatus and the 3rd host apparatus.The XNLink-quality rank represents the Link State between N host apparatus and the first host apparatus.N is other During numerical value, N-1 XiThe particular content here of link-quality rank is no longer illustrated.
Specifically, the first link-quality rank, N-1 X is obtained in the first host apparatusiLink matter Magnitude is other, M YjAfter link-quality rank, you can judge between the first host apparatus and stand-by equipment Link problem caused due to whom.If the first link-quality rank and M YjLink-quality rank The middle quantity sum for representing that link is abnormal is less than N-1 XiLink exception level is represented in link-quality rank Other quantity, i.e. P and 1 sum are less than W.P and 1 sum be because the first host apparatus are also considered as and Link-quality rank between stand-by equipment represents link exception, that is, think the link-quality level of stand-by equipment Not Biao Shi the abnormal quantity of link represent link exception less than the link-quality rank for thinking the first host apparatus Quantity;And M YjRepresent that the quantity of link normal level is more than or equal in link-quality rank N-1 XiThe quantity of link normal level is represented in link-quality rank, i.e. Q >=S thinks standby The link-quality rank of equipment represents the normal quantity of link more than or equal to the chain for thinking the first host apparatus Road quality scale represents the normal quantity of link.So that is, the link-quality rank of stand-by equipment Represent the abnormal probability of link less than the link-quality rank of the first host apparatus represent link it is abnormal can Energy property, and the link-quality rank of stand-by equipment represents the normal probability of link more than or equal to the first master The normal probability of link is represented with the link-quality rank of equipment.It is also desirable to the first host apparatus It was found that when the business of itself is impaired, then the first host apparatus will determine the first host apparatus and stand-by equipment it Between link problem caused due to faults itself, therefore the first host apparatus business is switched to it is standby Equipment.
First host apparatus are in addition to judging each link-quality rank, in addition it is also necessary to judge itself industry The impaired just determination of business carries out business switching, is due in N:In 1 multiple-node backup system, stand-by equipment All the time it is, in resting state, only when the first host apparatus go wrong really, to be just switched to standby Equipment, and stand-by equipment is to be unsuitable for the long-term role as host apparatus to exist in a network.And the If a host apparatus own service is intact, then can still provide the user network service, simply by In and link between other host apparatus and stand-by equipment there may be problem and to the Hot Spare of data Produce impact.In order to the user in guarantee system is not by frequent switching, it is ensured that the stability of system, therefore Only when the business of the first host apparatus is impaired, while the chain between the first host apparatus and stand-by equipment Road problem is, because the failure of the first host apparatus is caused, to be just switched to the business of the first host apparatus Stand-by equipment.Whether the first host apparatus can go offline, deposit by detecting that the user for having accessed whether there is Whether normally come without data transfer or with the data transfer between the other users for accessing in long-time Determine whether own service is damaged, in other words, first host apparatus are detecting the use that accessed Family goes offline, there is long-time without data transfer or different with the data transfer between the other users for accessing Often, determine that own service is damaged.
First host apparatus can adopt common business switch method, complete for business to be switched to stand-by equipment, Will not be described here.
In the heat backup method that the present embodiment is provided, the first host apparatus and other each host apparatus have been counted Between Link State, and counted the Link State between each host apparatus and stand-by equipment, so as to The reason for causing link problem between the first host apparatus and stand-by equipment can be accurately judged to, so as to Enough make more rational Hot Spare to process, without due to chain between the first host apparatus and stand-by equipment Road packet loss and cause mistake Hot Spare process, saved system resource.
Further, in the embodiment shown in fig. 3, when business is switched to standby setting by the first host apparatus After standby, then the first host apparatus are converted into stand-by equipment state, and stand-by equipment is converted into master Use equipment state.Now, the first host apparatus can also start a default silence period window, at this In silence period window, the first host apparatus will no longer switch back into host apparatus state.Master can so be avoided With the frequent switching between equipment and stand-by equipment.
Further, after silence period window time-out, the first host apparatus will again be obtained and set with standby The first link-quality rank between standby, if the first link-quality rank is normal, the first host apparatus To notify that business is switched back into host apparatus by stand-by equipment.The time of silence period window can be based on experience value Arrange, silence period window can typically be set to the average time for repair of breakdowns of system.
Further, in the embodiment shown in fig. 3, business is switched to stand-by equipment by the first host apparatus Triggering mode can include:First host apparatus reduce access priority or initialization, and triggering accesses the The user equipment of one host apparatus switches to stand-by equipment.Namely die certainly when the first host apparatus determine Barrier causes between stand-by equipment after link problem, and the first host apparatus can actively reduce the access of itself Priority so that the user equipment for accessing the first host apparatus switches to stand-by equipment, so as to finishing service Switching.Or first host apparatus can also carry out initialization process, equally can cause access first lead Stand-by equipment is switched to the user equipment of equipment, so as to finishing service switching.First host apparatus are reduced The principle of access priority be need by access priority be reduced to than stand-by equipment access priority more It is low, so can just make the former user for accessing the first host apparatus switch to stand-by equipment.
Further, after the first host apparatus reduce access priority or initialization, the present embodiment is carried For heat backup method also include:First host apparatus send the first host apparatus and reduce connecing to stand-by equipment Enter priority or initialized message.So stand-by equipment can also know that the first host apparatus are reduced preferentially Level or initialized information, such that it is able to prepare the access of the former user equipment for accessing the first host apparatus. It should be noted that, although the first host apparatus have sent the first host apparatus to stand-by equipment to reduce accessing Priority or initialized message, but ask because the link between the first host apparatus and stand-by equipment is present Topic, stand-by equipment may not receive the message, but because the first host apparatus reduce access preferentially Level, even if therefore stand-by equipment do not receive host apparatus transmission information, still can complete user and set Standby switching.
Fig. 4 is the flow chart of heat backup method provided in an embodiment of the present invention.It is hot standby that the present embodiment is provided Part method, on the basis of the method that embodiment illustrated in fig. 3 is provided, can also include:
S401, as the first link-quality rank and M YjLink exception is represented in link-quality rank Quantity sum more than or equal to N-1 XiWhen the quantity of link exception is represented in link-quality rank, Or as M YjRepresent the normal quantity of link less than N-1 X in link-quality rankiLink When representing the normal quantity of link in quality scale, or the first host apparatus own service it is intact when, First host apparatus are in default silence period window not to stand-by equipment Backup Data.
Illustrate, in the first host apparatus the first link-quality rank, N-1 X is obtainediLink Quality scale, M YjAfter link-quality rank, following judgement can also be carried out.If the first link matter Magnitude is not and the individual X of N-1iThe quantity sum that link exception rank is represented in link-quality rank is more than or equal to M YjThe quantity of link exception rank is represented in link-quality rank, i.e. P is more than or waits with 1 sum In W.P+1 is represented because the first host apparatus are also considered as the link-quality rank and stand-by equipment between Link exception), that is, think that the link-quality rank of stand-by equipment represents that the abnormal quantity of link is more than or equal to and recognizes Link-quality rank for the first host apparatus represents the abnormal quantity of link, then the first host apparatus are It is believed that the Link State between stand-by equipment and other N-1 platform host apparatus be inferior to the first host apparatus and Link State between other N-1 platform host apparatus, then the first host apparatus can determine that first is primary Link problem between equipment and stand-by equipment is caused due to stand-by equipment failure.
Illustrate, if N-1 XiRepresent that the quantity of link normal level is less than in link-quality rank M YjThe quantity of link normal level is represented in link-quality, i.e. Q < S think stand-by equipment Link-quality rank represent the normal quantity of link less than thinking the link-quality rank of the first host apparatus Represent the normal quantity of link, then the first host apparatus are believed that stand-by equipment to other N-1 platform masters It is inferior to the first host apparatus to the Link State of other N-1 platform host apparatus with the Link State of equipment, that First host apparatus can also determine the first host apparatus to the link problem of stand-by equipment be due to standby What equipment fault was caused.So that is, the ballot suggestion of each equipment is the link-quality of stand-by equipment Rank represents that the abnormal probability of link represents link more than or equal to the link-quality rank of the first host apparatus Abnormal probability, or the link-quality rank of stand-by equipment represents the normal probability of link less than the The link-quality rank of one host apparatus represents the normal probability of link.
So, when the first host apparatus determine the first host apparatus to the link problem of stand-by equipment be due to Stand-by equipment failure is caused, then if the first host apparatus continue to send Backup Data to stand-by equipment, Then cause backup failure because of reasons such as packet loss of link or back up repeatedly, so as to cause the wasting of resources. So now the first host apparatus will keep host apparatus state, and not carry out Hot Spare, i.e., not to standby Device backup data.
Further, the first host apparatus can also start a silence period window, in silence period window First host apparatus no longer carry out Hot Spare process, that is, no longer to stand-by equipment Backup Data.Quiet After silent time window time-out, the first host apparatus can again carry out the Hot Spare of embodiment illustrated in fig. 3 and process. The time of silence period window can be arranged based on experience value, and silence period window can typically be set to the flat of system Equal fault correction time.
Further, in the embodiment shown in fig. 4, the first host apparatus determine stand-by equipment to other N-1 The Link State of platform host apparatus is inferior to the first host apparatus to the Link State of other N-1 platform host apparatus Afterwards, also include:First host apparatus to stand-by equipment sends silence period window, and silence period window is used for Make stand-by equipment that the Backup Data for receiving is not processed in silence period window.
Specifically, when the first host apparatus determine the first host apparatus to the link problem of stand-by equipment be by Cause in stand-by equipment failure, the first host apparatus determine the host apparatus state that keeps, and the first master Started after silence period window with equipment, the first host apparatus can be sending the silence period to stand-by equipment Window.After stand-by equipment receives the silence period window, will determine the first host apparatus in the time window Hot Spare will not be carried out.Even if now stand-by equipment receives Backup Data, also will not be processed.
Further, the side that the method or the corresponding embodiments of Fig. 4 that the corresponding embodiments of Fig. 3 are provided is provided Method also includes:First host apparatus are to each host apparatus difference in other N-1 platform host apparatus Send in the waiting time window that request message starts, suspend to stand-by equipment and send Backup Data.
Specifically, after the first host apparatus send request message to other N-1 platforms host apparatus, this When the first host apparatus also not know link problem between the first host apparatus and stand-by equipment be due to which Caused by individual equipment fault, the first host apparatus can be suspending to standby in default waiting time window Equipment sends Backup Data.This avoid due to stand-by equipment failure, the first host apparatus also continue to Stand-by equipment Backup Data and the wasting of resources that causes.
Fig. 5 is the flow chart of heat backup method provided in an embodiment of the present invention.It is hot standby that the present embodiment is provided Part method is applied to host apparatus and stand-by equipment quantity ratio is N:1 multiple-node backup system, wherein N More than or equal to 2.With reference to Fig. 5, method provided in an embodiment of the present invention is illustrated.
S501, stand-by equipment obtains the first link-quality rank, and the first link-quality rank is used to represent the Link-quality between one host apparatus and stand-by equipment.
The executive agent of the heat backup method that the present embodiment is provided is stand-by equipment.First link-quality rank Implication can be found in corresponding contents in the corresponding embodiments of Fig. 3, will not be described here.
S502, when the first link-quality rank represents link exception rank, stand-by equipment obtains standby setting N-1 in standby and other N-1 platform host apparatus in addition to the first host apparatus between each host apparatus Individual YjLink-quality rank, YjLink-quality rank is used to represent stand-by equipment and jth host apparatus Between link-quality, N is more than or equal to 2, j more than 1 and less than or equal to N.
Specifically, after stand-by equipment gets the first link-quality rank, if the first link-quality rank To represent that link is normal, then mean that the Link State between the first host apparatus and stand-by equipment is normal, Can be processed according to normal Hot Spare flow process.
When the first link-quality rank represents link exception, it is meant that the first host apparatus and stand-by equipment Between link existing problems, then it is link problem caused by stand-by equipment failure that stand-by equipment needs judgement Or link problem caused by the first host apparatus failure.Stand-by equipment obtains stand-by equipment and other N-1 N-1 link-quality rank between platform host apparatus, the Y in N-1 link-quality rankjLink Quality scale is used to represent the link-quality between stand-by equipment and jth host apparatus that N to be more than or equal to 2, J is more than 1 and less than or equal to N.N-1 YjThe implication of link-quality rank embodiment corresponding with Fig. 3 In corresponding contents it is identical, will not be described here.Stand-by equipment will get N-1 YjLink-quality Rank, wherein, if N-1 YjP Y in link-quality rankjLink-quality rank is exception, Q YjLink-quality rank is normal, p+q=N-1.
S503, stand-by equipment sends respectively to each host apparatus in other N-1 platform host apparatus please Message, request message is asked to be used to ask each host apparatus in other N-1 platform host apparatus to be sent out respectively Give the link-quality rank between other N-1 platforms host apparatus and the first host apparatus.
Specifically, by way of stand-by equipment is sending request message, other N-1 platform host apparatus are known And the first link-quality rank between host apparatus.
It should be noted that causing the reason for Link State is abnormal between the first host apparatus and stand-by equipment Possibly caused by the failure of stand-by equipment, therefore the request message that stand-by equipment sends not necessarily can be by it Its N-1 platform equipment is all received.
S504, stand-by equipment receives respectively the i-th host apparatus that other N-1 platforms host apparatus send and the M X between one equipmentiLink-quality rank, XiLink-quality rank is used to represent that i-th leads With the link-quality between equipment and the first host apparatus, i more than 1 and less than or equal to N, M more than etc. In zero and less than or equal to N-1.
Specifically, M XiIn the implication of link-quality rank is corresponding to the corresponding embodiments of Fig. 3 Appearance is identical, will not be described here.Stand-by equipment will receive other primary after it have sent request message Link-quality rank between each host apparatus and the first host apparatus of equipment transmission.Due to stand-by equipment May have problems with the link between other N-1 platform host apparatus, therefore stand-by equipment may be received not To the N-1 link-quality rank that other N-1 platforms host apparatus send.If stand-by equipment have received altogether M Individual XiLink-quality rank, M is less than or equal to N-1.If w XiLink-quality level is exception, S XiLink-quality rank is normal, w+s≤N-1.
S505, as the first link-quality rank and N-1 YjLink exception is represented in link-quality rank Quantity sum less than M XiThe abnormal quantity of link, and N-1 are represented in link-quality rank Individual YjRepresent the normal quantity of link more than or equal to M X in link-quality rankiLink-quality level Not middle to represent the normal quantity of link, stand-by equipment lifts access priority, the access priority after lifting For indicating that the user of the first host apparatus is switched to stand-by equipment.
Specifically, the first link-quality rank, N-1 Y is obtained in stand-by equipmentjLink-quality level Not, M XiAfter link-quality rank, you can judge the chain between the first host apparatus and stand-by equipment Whom road problem caused due to.If the first link-quality rank and N-1 YjIn link-quality rank Represent the abnormal quantity sum of link less than M XiThe abnormal number of link is represented in link-quality rank Amount, i.e. p+1 < w.P+1 is because stand-by equipment is also considered as between stand-by equipment and the first host apparatus Link-quality rank represents link exception, that is, the link-quality rank for thinking stand-by equipment represents link exception Quantity represent the abnormal quantity of link less than the link-quality rank for thinking the first host apparatus;And N-1 Individual YjRepresent the normal quantity of link more than or equal to M X in link-quality rankiLink-quality The normal quantity of link is represented in rank, i.e. q >=s, that is, the link-quality rank for thinking stand-by equipment is represented The normal quantity of link represents that link is normal more than or equal to the link-quality rank for thinking the first host apparatus Quantity.So that is, the ballot suggestion of each equipment is represented for the link-quality rank of stand-by equipment The abnormal probability of link represents the abnormal possibility of link less than the link-quality rank of the first host apparatus Property, and the link-quality rank of stand-by equipment represents that the normal probability of link is primary more than or equal to first The link-quality rank of equipment represents the normal probability of link.Then stand-by equipment will determine that first primary sets The standby link problem and stand-by equipment between is caused due to the first host apparatus failure, therefore standby is set It is standby to need for the business of the first host apparatus to switch to stand-by equipment by determination.
Illustrate, if stand-by equipment is want for the business of the first host apparatus to switch to stand-by equipment, can To be realized by lifting the method for access priority.It is when stand-by equipment lifts access priority, then former to access The user equipment of the first host apparatus can be switched to stand-by equipment.Stand-by equipment improves access priority Principle be need to bring up to access priority it is higher than the access priority of the first host apparatus, so The former user for accessing the first host apparatus can be just set to switch to stand-by equipment.
In the heat backup method that the present embodiment is provided, count between stand-by equipment and other each host apparatus Link State, and counted the Link State between each host apparatus and the first host apparatus, so as to The reason for causing link problem between the first host apparatus and stand-by equipment can be accurately judged to, so as to Enough make more rational Hot Spare to process, without due to chain between the first host apparatus and stand-by equipment Road packet loss and cause mistake Hot Spare process, saved system resource.
Fig. 6 is the flow chart of heat backup method provided in an embodiment of the present invention, and it is hot standby that the present embodiment is provided Part method, on the basis of the method that the corresponding embodiments of Fig. 5 are provided, also includes:
S601, as the first link-quality rank and N-1 YjLink exception is represented in link-quality rank Quantity sum more than or equal to M XiThe abnormal quantity of link is represented in link-quality rank, or N-1 YjRepresent the normal quantity of link less than M X in link-quality rankiLink-quality level Not middle to represent the normal quantity of link, stand-by equipment suspends reception first in default silence period window to be led The Backup Data sent with equipment.
Specifically, the first link-quality rank, N-1 Y are obtained in stand-by equipmentjLink-quality rank, M XiAfter link-quality rank, following judgement can also be carried out.If the first link-quality rank and N-1 YjRepresent the abnormal quantity sum of link more than or equal to M X in link-quality rankiLink Represent the abnormal quantity of link in quality scale, i.e. p+1 >=w (p+1 be due to stand-by equipment be also considered as it is standby Link exception is represented with the link-quality rank between equipment and the first host apparatus), that is, think stand-by equipment Link-quality rank represent the abnormal quantity of link more than or equal to the link-quality for thinking the first host apparatus Rank is abnormal quantity, then stand-by equipment is believed that stand-by equipment and other N-1 platform host apparatus Between the Link State Link State that is inferior between the first host apparatus and other N-1 platform host apparatus, So stand-by equipment can determine that the link problem between the first host apparatus and stand-by equipment is due to standby What equipment fault was caused.If N-1 YjRepresent the normal quantity of link less than M in link-quality rank XiThe normal quantity of link is represented in link-quality rank, i.e. q < s think the link of stand-by equipment Quality scale represents that the normal quantity of link represents chain less than the link-quality rank for thinking the first host apparatus The normal quantity in road, then stand-by equipment is believed that between stand-by equipment and other N-1 platform host apparatus The Link State Link State that is inferior between the first host apparatus and other N-1 platform host apparatus, then Stand-by equipment can also determine that the link problem between the first host apparatus and stand-by equipment is set due to standby What standby failure was caused.So that is, the link-quality rank of stand-by equipment represent link it is abnormal can Energy property represents the abnormal probability of link, Huo Zhebei more than or equal to the link-quality rank of the first host apparatus Link-quality of the normal probability of link less than the first host apparatus is represented with the link-quality rank of equipment Rank represents the normal probability of link.
So, when stand-by equipment determine the first host apparatus to the link problem of stand-by equipment be due to standby What equipment fault was caused, then if stand-by equipment continues to the Backup Data of the first host apparatus transmission, Then cause backup failure because of reasons such as packet loss of link or back up repeatedly, so as to cause the wasting of resources. So now stand-by equipment suspends the Backup Data for receiving the transmission of the first host apparatus.Further, it is standby Equipment can also start a silence period window, and stand-by equipment suspends reception first and leads in silence period window The Backup Data sent with equipment.After silence period window time-out, stand-by equipment can again carry out Fig. 5 The Hot Spare of illustrated embodiment is processed.The time of silence period window can be arranged based on experience value, when mourning in silence Between window can typically be set to the average time for repair of breakdowns of system.
Further, in Fig. 5 or embodiment illustrated in fig. 6, stand-by equipment be according to oneself and it is each primary Link State between equipment is judging whether to make to carry out business switching between the first host apparatus and stand-by equipment 's.But there are a kind of possibly the first host apparatus to judge whether the switching of startup business, and in the first master After being judged with equipment, if the first host apparatus determine the link of the first host apparatus and stand-by equipment Problem is caused due to stand-by equipment, and determining does not carry out business switching, then the first host apparatus can be with Silence period window is sent to stand-by equipment;When stand-by equipment receives when mourning in silence of the first host apparatus transmission Between after window, then can know that the first host apparatus have determined that and do not carry out business switching, and determine One host apparatus to the link problem of stand-by equipment is caused due to stand-by equipment failure, then standby to set It is standby that the Backup Data for receiving is not processed in silence period window.That is, when the first host apparatus are true After having determined not business switching, you can send silence period window to stand-by equipment, then stand-by equipment need not Judged again, and be can be that the Backup Data for receiving is not processed in the time window.Work as the silence period After window time-out, stand-by equipment can be processed further according to the method for Fig. 5 or embodiment illustrated in fig. 6.
In addition, when the first host apparatus judge whether that startup business switches, and carry out in the first host apparatus After judging, if the first host apparatus determine the link problem of first host apparatus and stand-by equipment be due to What the first host apparatus were caused, and determining carries out business switching, then the first host apparatus can set to standby Preparation send the first host apparatus to reduce access priority or initialized message.When stand-by equipment receives The first host apparatus that one host apparatus send are reduced after access priority or initialized message, then can be with Knowing that the first host apparatus have determined needs to carry out business switching, then stand-by equipment can then receive The business switching of one host apparatus.That is, after the first host apparatus determine triggering business and switch, The first host apparatus can be sent to stand-by equipment reduces access priority or initialized message, then standby Need not again be judged with equipment, and be can be the business switching for directly receiving the first host apparatus.
Further, in the heat backup method that Fig. 3 is provided to embodiment illustrated in fig. 6, host apparatus and standby It is BRAS with equipment, the first host apparatus are by VRRP Hot Spares to stand-by equipment.Below with BRAS As a example by by VRRP Hot Spares, heat backup method provided in an embodiment of the present invention is further described.
For the heat provided using the present embodiment under existing system architecture as shown in FIG. 1A and 1B Backup method, needs to dispose extra functional module in the system based on BRAS, including:In BRAS Between increase deployment performance detection module and (dispose two-by-two between all BRAS, including the primary BRAS of each two Between, between each primary BRAS and corresponding standby BRAS dispose).Increase by one in internal system Individual module " link-quality detection between BRAS " module, one detection cycle D of setting, such as D=10 seconds, The packet loss inspection of IP mobile performances detection (Flow Performance Monitor, FPM) is collected according to the D cycles (mainly throughput index) result is surveyed, testing result is converted to into packet loss ratio between 0-100 (DropPacketRate), numerical value is bigger, and packet loss is about serious.
Increase module " detection of a BRAS terminal disconnections rate " module in internal system, a statistics is set Cycle P, such as P=60 seconds;One detection cycle E, such as E=10 seconds are set.The module according to E week Phase calculates, average per second because of lower line rate (DownRate) value of detection time-out in the P cycles.System sets Line rate (MaxDownRate), such as MaxDownRate=200 sessions (Sesson) under a fixed maximum / the second.Offline health index (CientDownHealthTarget), CientDownHealthTarget=are set DownRate*100/MaxDownRete;Its span is 0-100, and numerical value shows more greatly the situation of going offline It is about serious.
Increase module " detection of a RBS flash " module in internal system, a measurement period Q be set, Such as Q=1800 seconds (30 minutes);One detection cycle F, such as F=10 seconds are set.The module is according to F's Computation of Period, the average RBS concussion frequencies per the set time (such as per 300 seconds) in the Q cycles (RbsShakeRate), RBS is changed into reach the standard grade (Up) from offline (Down), or from reach the standard grade (Up) It is changed into offline (Down) and can be regarded as once to shake.RbsShakeRate spans are, for example, 0-25 (300/12). The maximum concussion frequency (MaxRbsShakeRate) of setting one, for example MaxRbsShakeRate=300 (is pressed Calculate according to 1 time per second concussion).One RBS health degree indexes (RBSHealthTarget) of conversion RBSHealthTarget=RbsShakeRate*100/MaxRbsShakeRate, value is between 0-100 Value, the health indicator of the bigger RBS of value is lower.
Also, define a kind of new equipment health degree advertizing protocol (Device Health Advertising Protocol, DHAP), protocol contents are as shown in table 1.
The DHAP agreements of table 1
In table 1, version number (Version), role (Role), type of message (Message Type), Notice cycle (Interval) field respectively takes 1 byte, health degree index (HealthTarget), guarantor Section of writeeing down characters (Reserved) respectively takes 2 bytes, and system banner (System ID) field takes 4 Byte.
Version fields are the version number of agreement, and for example currently for the first edition, then value is 1.Role fields are The role of equipment, such as value 1 are host apparatus, and value 2 is stand-by equipment;Role is worked as according to equipment It is front to be in host apparatus or stand-by equipment in systems to set.MessageType fields are message Type:Such as value 1 is that health degree notices (Health Advertisement), certainly can also be other Type.Interval be the notice cycle, the unit second, default value 1, maximum magnitude 1 second to 255 seconds.Reserved For reserved field.SystemID fields are system identifier, and with an IP address of this equipment, uniquely sign originally sets Standby, the IP address can for example select the source IP address that RBS communicates.HealthTarget fields are equipment Health degree index, value DropPacketRate+CientDownHealthTarget+RBSHealthTarget; Value is more little more healthy, span 0-300.
The transport layer of DHAP agreements for example can be user datagram protocol (User Datagram Protocol, UDP) or transmission control protocol (Transmission Control Protocol, TCP), For example realize according to UDP in the present invention implements embodiment.
The detection parameter for detecting opposite equip. for DHAP Protocol Designs is also needed, including the notice cycle (Advertisement Interval), adjustment time (Skew_Time), opposite end off-line test cycle (PeerDownInterval) etc..The cycle that the cycle is that DHAP protocol massages are outwards noticed wherein is noticed, Unit is the second, for example, be defaulted as 1 second, and configuration scope can be from 1 second to 255 seconds.Adjustment time is right The adjustment time in end off-line test cycle, unit is the second, and its value for example can be ((256-HealthTarget)/256).The opposite end off-line test cycle is the off-line test cycle of opposite equip., single Position is the second, and its value for example can be (3 × Advertisement_Interval)+Skew_time).
Can be two states of DHAP protocol definitions, respectively initialize (Initialize) state and operation (Running) state, wherein, in init state, then each device configuration neighbor information switches To running status.In running status, each equipment receives the notice (Advertisement) of neighbor device Message, one notice (Advertisement) message of real-time response, i.e., the notice of other side (Advertisement) message regards request, and the health degree index that neighbor device is noticed as (HealthTarget) the neighbor device state in data base cycle monitoring data base is recorded, if exceeded the time limit The notice of neighbor device can not be received, then the neighbours are regarded as unavailable, opposite end health degree index (PeerHealthTarget) parameter is set to maximum 65535.
Neighbor device health and fitness information data base (HealthTargetDB) the information definition such as table that each equipment is collected Shown in 2.
The HealthTargetDB information of table 2
The health degree information of this equipment itself also recorded in the data base.
Defined variable its own system identify (MySystemId), minute book equipment system banner (Identity, ID).Defined variable all devices number (TotalDeviceNumber), records all of equipment number, Including this equipment.The healthy threshold value of definition:Normally (Normal)<=50,50<Abnormal (Abnormal)<=100, Unavailable (Unaviailable)>100.Define terminal unit to go offline threshold value:Normally (Noraml)<=100; Abnormal (Abnormal)>100.Define RBS flash threshold values, normal (Noraml)=0, abnormal (Abnormal) >2 (per minute more than 2 times).
After being provided with above-mentioned module and agreement in systems, you can according to the method shown in Fig. 7 or Fig. 8 Hot Spare process is carried out, wherein, Fig. 7 is the handling process of primary BRAS, and Fig. 8 is standby BRAS Handling process.
Fig. 7 is the flow chart of heat backup method provided in an embodiment of the present invention, and the present embodiment is applied to pass through VRRP Hot Spares include the multiple-node backup scene of the primary BRAS and standby BRAS of N platforms, this The executive agent of embodiment is arbitrary primary BRAS, is referred to as the first primary BRAS.Such as Fig. 7 institutes Show, the heat backup method of the present embodiment includes:
S701, the first primary BRAS detects the HealthTarget of standby BRAS, as the first primary BRAS It was found that when the HealthTarget of standby BRAS becomes abnormal (Abnormal) rank, then continuing executing with S702. Otherwise first primary BRAS will be processed according to existing Hot Spare flow process.First primary BRAS detections The HealthTarget of standby BRAS be the first link-quality rank.
S702, the first primary BRAS compares the HealthTarget of the primary BRAS of other N-1 platforms, obtains W platforms equipment is deteriorated with the IP FPM indexs of oneself, and S platforms equipment is normal with the IP FPM indexs of oneself; W+S=N-1.The HealthTarget of the primary BRAS of other N-1 platforms of the first primary BRAS detection is the XiLink-quality rank.
S703, the first primary BRAS to the primary BRAS of other N-1 platforms sends the first request message, request Whether other side's response to standby BRAS deteriorates;And circulate a notice of oneself to the message of the health degree of standby BRAS, And a time window Tw receiveed the response is waited, suspend in this time window Tw to standby BRAS and back up number According to.
S704, in a waiting time window Tw, the first primary BRAS receives L part response messages.Wherein P part responses say that opposite end deteriorates to the health degree of standby BRAS, and Q part responses say opposite end to the strong of standby BRAS Kang Du is not completely deteriorated, P+Q=L, L<=N-1;Vote by a show of hands.The response that first primary BRAS is received disappears Breath is YjLink-quality rank.
S705, if (P+1>=W or Q<S).Standby BRAS is primary compared with first to other primary BRAS BRAS is more unstable, decides by vote standby BRAS failures:VRRP mourns in silence not do and switches, while start mourning in silence Time window Ts, suspends to standby BRAS Backup Datas in time window Ts;Constantly send to standby BRAS Message informs the message that VRRP mourns in silence (message slave may can not receive).
S706, if (P+1<W and Q>=S) and while find abnormal (the Abnormal) (industry of own health degree Business is impaired, and such as BRAS RUI users detection goes offline, and ARP RUI detections are unreachable etc.).Standby BRAS is arrived Other primary BRAS, BRAS primary compared with first is more stable, decides by vote faults itself:Reduce itself immediately The priority or initialization VRRP of VRRP, triggering VRRP/RUI switchings;VRRP is sent to standby BRAS Heartbeat message, wherein carrying current priority or the initialized message of VRRP (the standby BRAS of the message May can not receive), while starting silence period window Ts.
S707, the situation in addition to S705 and S706, the first primary BRAS keeps VRRP host apparatus shapes State, starts silence period window Ts, not to opposite end Backup Data.
Wherein, in S705 to S707, the first primary BRAS is carried out as follows in silence period window Ts Judge, if the first primary BRAS recovers normal with standby BRAS throughputs:Then silent status is released, VRRP keeps host apparatus state constant or time delay switchback host apparatus with current state and Peer Negotiation State.Otherwise, if silence period window Ts is overtime, S701 is repeated.
S708, recovers RUI user IDs.
Fig. 8 is the flow chart of heat backup method provided in an embodiment of the present invention, and the present embodiment is applied to pass through VRRP Hot Spares include the multiple-node backup scene of the primary BRAS and standby BRAS of N platforms, this The executive agent of embodiment is standby BRAS.As shown in figure 8, the heat backup method of the present embodiment includes:
The RBS health degree indexes of S801, standby BRAS detections and the first primary BRAS (RBSHealthTarget) whether threshold value is exceeded, when the RBS of standby BRAS and the first primary BRAS is good for When Kang Du indexes (RBSHealthTarget) exceed threshold value, then S802 is continued executing with.Otherwise will be according to existing Some Hot Spare flow processs are processed.The HealthTarget of the first primary BRAS of standby BRAS detections As the first link-quality rank.
S802, if standby BRAS receives the message that the VRRP of the first primary BRAS transmissions mourns in silence, turns Enter S810.
S803, if standby BRAS receive the VRRP initial messages that the first primary BRAS sends or The VRRP of low priority, proceeds to S811.
S804, standby BRAS compare the IP FPM packet loss ratios of the primary BRAS of other N-1 platforms (DropHealthTarget), obtain p platforms equipment to deteriorate with oneself IPFPM indexs, q platforms equipment with from Oneself IP FPM indexs are normal;P+q=N-1.The primary BRAS's of other N-1 platforms of standby BRAS detections DropHealthTarge is YjLink-quality rank.
S805, standby BRAS to the primary BRAS of other N-1 platforms sends the second request message, asks other side Whether response to the link of the first primary BRAS deteriorates;And circulate a notice of oneself to the health of the first primary BRAS The message (by the HealthTarget attributes of message) of degree index (throughput deterioration), and wait one The time window Tw receiveed the response, suspends in this time window Tw and receives what the first primary BRAS was sended over Backup Data.
S806, in a waiting time window Tw, standby BRAS receives l part response messages.Wherein w parts Response says that opposite end deteriorates to the throughput of the first primary BRAS, and s part responses say opposite end to the first primary BRAS Health degree index it is not completely deteriorated, w+s=l, l<=N-1;Vote by a show of hands.The response that standby BRAS is received Message is XiLink-quality rank.
S807, if (p+1>=w or q<S), standby BRAS is primary compared with first to other primary BRAS BRAS is more unstable, decides by vote standby BRAS failures:Proceed to S810.
S808, if (p+1<W and q>=s), standby BRAS to other primary BRAS, BRAS primary compared with first It is more stable, decide by vote the first primary BRAS failures:The VRRP priority of standby BRAS is raised immediately, is turned Enter S811.
S809, the situation in addition to S807 and S808, each equipment keeps VRRP states, or for primary Equipment state or under stand-by equipment state, but host apparatus state not to opposite end Backup Data.
S810, the VRRP of standby BRAS proceeds to init state, even if not receiving RBS backup messages also not Process.
The VRRP of S811, standby BRAS is upgraded to host apparatus state from stand-by equipment state.
Fig. 7 and Fig. 8 embodiments are only a kind of embodiments with BRAS by VRRP Hot Spares, but The heat backup method that inventive embodiments are provided is not limited, wherein, the link-quality between each BRAS Rank can include:In packet loss ratio, overtime offline rate ratio, remote backup concussion ratio at least It is a kind of;Abnormal rank is included in packet loss ratio, overtime offline rate ratio, remote backup concussion ratio At least one or arbitrarily sum is more than default unnatural proportions threshold value.
Fig. 9 is the structural representation of the first host apparatus provided in an embodiment of the present invention, and the present embodiment is provided The first host apparatus to be applied to host apparatus and stand-by equipment be N:1 multiple-node backup system, its Middle N >=2, as shown in figure 9, the first host apparatus that the present embodiment is provided include:
First acquisition module 91, for obtaining the first link-quality rank, the first link-quality rank For representing the link-quality between first host apparatus and stand-by equipment.
Judge module 92, for judging that the first link-quality rank indicates whether link exception.
Second acquisition module 93, for judging that the first link-quality rank is represented when judge module 92 When link is abnormal, N-1 between first host apparatus and other N-1 platform host apparatus the is obtained XiLink-quality rank, the XiLink-quality rank is used to represent first host apparatus and i-th Link-quality between host apparatus, N is more than or equal to 2, i more than 1 and less than or equal to N.
Sending module 94, for distinguishing to each host apparatus in described other N-1 platform host apparatus Request message is sent, the request message is used to ask each in described other N-1 platform host apparatus Host apparatus send respectively the link-quality between other N-1 platforms host apparatus and the stand-by equipment Rank.
Receiver module 95, for receiving described other N-1 platform host apparatus respectively in M platforms host apparatus send out M Y between the jth host apparatus for sending and the stand-by equipmentjLink-quality rank, described YjLink-quality rank is used to represent the link-quality between jth host apparatus and the stand-by equipment that j to be big In 1 and less than or equal to N, M is more than or equal to zero and less than or equal to N-1.
Processing module 96, for as the first link-quality rank and the M YjLink-quality Represent the abnormal quantity sum of link less than the N-1 X in rankiChain is represented in link-quality rank The abnormal quantity in road, and the M YjRepresent that the normal quantity of link is more than in link-quality rank Or equal to the N-1 XiThe normal quantity of link, and described first are represented in link-quality rank When the business of host apparatus is impaired, business is switched to into the stand-by equipment.
The first host apparatus that the present embodiment is provided are used to realize the technical side of embodiment of the method shown in Fig. 3 Case, it realizes that principle is similar with technique effect, and here is omitted.
Further, in the embodiment shown in fig. 9, processing module 96 is additionally operable to for business to be switched to institute After stating stand-by equipment, start default silence period window, no longer switch back in the silence period window Host apparatus state.
Further, in the embodiment shown in fig. 9, processing module 96 is specifically for reducing access priority Or initialize, triggering accesses the user of first host apparatus and business is switched to into the stand-by equipment.
Further, in the embodiment shown in fig. 9, sending module 94 is additionally operable to be dropped in processing module 96 After low access priority or initialization, sending first host apparatus to the stand-by equipment reduces connecing Enter priority or initialized message.
Further, in the embodiment shown in fig. 9, the first acquisition module 91 is additionally operable to when described mourning in silence Between window time-out after, the first link-quality rank is obtained again.Sending module 94 is additionally operable to work as and judges mould When block 92 judges that the first link-quality rank represents that link is normal, notify the stand-by equipment by business Switch back into first host apparatus.
Further, in the embodiment shown in fig. 9, processing module 96 is additionally operable to when the first link matter Magnitude is not and the individual Y of MjRepresent that the abnormal quantity sum of link is more than or waits in link-quality rank In the N-1 XiWhen the quantity of link exception is represented in link-quality rank, or when M institute State YjRepresent the normal quantity of link less than the N-1 X in link-quality rankiLink-quality level Not middle expression link normal quantity when, or the first host apparatus own service it is intact when, Not to the stand-by equipment Backup Data in default silence period window.
Further, in the embodiment shown in fig. 9, sending module 94 is additionally operable to true in processing module 96 The fixed stand-by equipment is inferior to described first and primary sets to the Link State of other N-1 platform host apparatus After the standby Link State for arriving other N-1 platform host apparatus, send described quiet to the stand-by equipment Silent time window, the silence period window is used to make the stand-by equipment not process in the silence period window The Backup Data for receiving.
Further, in the embodiment shown in fig. 9, sending module 94 is additionally operable to described other N-1 Each host apparatus in platform host apparatus send respectively the waiting time window that the request message starts It is interior, suspend to the stand-by equipment and send Backup Data.
Further, in the embodiment shown in fig. 9, host apparatus and the stand-by equipment are BRAS;
Processing module 96 is specifically for passing through VRRP Hot Spares to the stand-by equipment.
Further, link-quality rank in the embodiment shown in fig. 9 includes:Packet loss ratio, time-out At least one in offline rate ratio, remote backup concussion ratio.The link-quality rank can be The first link-quality rank, the XiLink-quality rank or the YjLink-quality rank. The abnormal rank includes the packet loss ratio, the overtime offline rate ratio, remote backup shake Swing at least one in ratio and exceed default unnatural proportions threshold value or above-mentioned any two sum more than default Unnatural proportions threshold value.
Figure 10 is the structural representation of stand-by equipment provided in an embodiment of the present invention, and it is standby that the present embodiment is provided With equipment application in host apparatus and stand-by equipment be N:1 multiple-node backup system, wherein N >=2, As shown in Figure 10, the stand-by equipment that the present embodiment is provided includes:
First acquisition module 101, for obtaining the first link-quality rank, the first link-quality level The link-quality between the first host apparatus and the stand-by equipment Yong Yu not represented.
Judge module 102, for judging that the first link-quality rank indicates whether link exception.
Second acquisition module 103, is additionally operable to when judge module 102 judges the first link-quality rank When representing link exception rank, the stand-by equipment and other N-1 in addition to first host apparatus are obtained N-1 Y in platform host apparatus between each host apparatusjLink-quality rank, the Yj Link-quality rank is used to represent the link-quality between the stand-by equipment and the jth host apparatus, N More than or equal to 2, j more than 1 and less than or equal to N.
Sending module 104, for each host apparatus in described other N-1 platform host apparatus point Request message is not sent, the request message is used to ask each in described other N-1 platform host apparatus Platform host apparatus send respectively the chain between other N-1 platforms host apparatus and first host apparatus Road quality scale.
Receiver module 105, i-th for receiving other N-1 platforms host apparatus transmissions respectively is primary to be set M X between standby and described first equipmentiLink-quality rank, the XiLink-quality rank For representing the link-quality between the i-th host apparatus and first host apparatus, i is more than 1 and is less than Or equal to N, M is more than or equal to zero and less than or equal to N-1.
Processing module 106, for as the first link-quality rank and the N-1 YjLink matter The not middle quantity sum for representing that link is abnormal of magnitude is less than the M XiRepresent in link-quality rank The abnormal quantity of link, and the N-1 YjThe normal quantity of link is represented in link-quality rank More than or equal to the M XiThe normal quantity of link is represented in link-quality rank, is lifted and is accessed preferentially Level, it is described that the access priority after the lifting is used to indicating that the user of first host apparatus to be switched to Stand-by equipment.
The stand-by equipment that the present embodiment is provided is used to realize the technical scheme of embodiment of the method shown in Fig. 5, its Realize that principle is similar with technique effect, here is omitted.
Further, in the embodiment shown in fig. 10, processing module 106 is additionally operable to when first link Quality scale and the N-1 YjRepresent that the abnormal quantity sum of link is more than in link-quality rank In the M XiRepresent the abnormal quantity of link in link-quality rank, or N-1 described the YjRepresent the normal quantity of link less than the M X in link-quality rankiIn link-quality rank The normal quantity of link is represented, is suspended in default silence period window and is received first host apparatus The Backup Data for sending.
Further, in the embodiment shown in fig. 10, receiver module 105 is additionally operable to receive first master The silence period window sent with equipment;Processing module 106 is additionally operable to not processed in the silence period window The Backup Data for receiving.
Further, in the embodiment shown in fig. 10, receiver module 105 is additionally operable to receive first master First host apparatus sent with equipment reduce access priority or initialized message;Processing module 106 are additionally operable to after the first host apparatus reduction access priority or initialized message is received, The user for receiving the first host apparatus is switched to stand-by equipment.
Further, in the embodiment shown in fig. 10, host apparatus and the stand-by equipment are BRAS; First host apparatus are by VRRP Hot Spares to the stand-by equipment.
Further, link-quality rank in the embodiment shown in fig. 10 includes:Packet loss ratio, time-out At least one in offline rate ratio, remote backup concussion ratio.The link-quality rank can be The first link-quality rank, the XiLink-quality rank or the YjLink-quality rank. The abnormal rank includes the packet loss ratio, the overtime offline rate ratio, remote backup shake Swing at least one in ratio and exceed default unnatural proportions threshold value or above-mentioned any two sum more than default Unnatural proportions threshold value.
Figure 11 is the structural representation of the first host apparatus provided in an embodiment of the present invention, as shown in figure 11, First host apparatus of the present embodiment include:Processor 111, transmitter 112, receptor 113.It is optional , first host apparatus can also include memorizer 114.Wherein, processor 111, transmitter 112, Receptor 113 can be connected with memorizer 114 by system bus or other modes, with system in Figure 11 As a example by bus is connected;System bus can be industrial standard architectures (Industrial Standard Architecture, ISA) bus, Peripheral Component Interconnect (Peripheral Component Interconnect, PCI) bus or EISA (Extended Industrial Standard Architecture, EISA) bus etc..The system bus can be divided into address bus, data/address bus, controlling bus etc.. For ease of representing, only represented with a line in Figure 11, it is not intended that only one bus or a type Bus.Memorizer 114 is used to store computer program.Processor 111 can be read from memorizer 114 The corresponding code of computer program of storage is taken, following operation is performed:
The first link-quality rank is obtained, the first link-quality rank is used to represent that described first is primary Link-quality between equipment and stand-by equipment;
Judge that the first link-quality rank indicates whether link exception;
When judging that the first link-quality rank represents that link is abnormal, first host apparatus are obtained And the N-1 between other N-1 platform host apparatus XiLink-quality rank, the XiLink matter Magnitude Yong Yu not represent the link-quality between first host apparatus and the i-th host apparatus, and N is more than Or equal to 2, i more than 1 and less than or equal to N;
By transmitter 112, distinguish to each host apparatus in described other N-1 platform host apparatus Request message is sent, the request message is used to ask each in described other N-1 platform host apparatus Host apparatus send respectively the link-quality between other N-1 platforms host apparatus and the stand-by equipment Rank;
By receptor 113, M platforms host apparatus in described other N-1 platform host apparatus are received respectively and is sent out M Y between the jth host apparatus for sending and the stand-by equipmentjLink-quality rank, described YjLink-quality rank is used to represent the link-quality between jth host apparatus and the stand-by equipment that j to be big In 1 and less than or equal to N, M is more than or equal to zero and less than or equal to N-1.
As the first link-quality rank and the M YjRepresent that link is different in link-quality rank Normal quantity sum is less than the N-1 XiThe abnormal quantity of link is represented in link-quality rank, and And the M YjRepresent that the normal quantity of link is more than or equal to N-1 institute in link-quality rank State XiThe normal quantity of link, and the business of first host apparatus are represented in link-quality rank When impaired, business is switched to into the stand-by equipment.
First host apparatus of the present embodiment are used to realize the heat backup method shown in Fig. 3 that it to realize principle Similar with technique effect, here is omitted.
In the first host apparatus that the present embodiment is provided, processor 111 is used to realize the first master shown in Fig. 9 With judge module in equipment 92, processing module 96, the first acquisition module 91 and the second acquisition module 93 Process;Transmitter 112 is used to realize the process of sending module 94 in the first host apparatus shown in Fig. 9;Connect Receiving device 113 is used to realize the process of receiver module 95 in the first host apparatus shown in Fig. 9.
Figure 12 is the structural representation of stand-by equipment provided in an embodiment of the present invention, as shown in figure 12, this The stand-by equipment of embodiment includes:Processor 121, transmitter 122, receptor 123.Optionally, should Stand-by equipment can also include memorizer 124.Wherein, processor 121, transmitter 122, receptor 123 Can be connected by system bus or other modes with memorizer 124, be connected to system bus in Figure 12 Example;System bus can be isa bus, pci bus or eisa bus etc..The system bus can be with It is divided into address bus, data/address bus, controlling bus etc..For ease of representing, only with a line table in Figure 12 Show, it is not intended that only one bus or a type of bus.Memorizer 124 is used to store calculating Machine program.Processor 121 can read the corresponding code of computer program of storage from memorizer 124, Perform following operation:
The first link-quality rank is obtained, the first link-quality rank is used to represent the first host apparatus And the link-quality between the stand-by equipment;
Judge that the first link-quality rank indicates whether link exception;
During for judging that the first link-quality rank represents link exception rank, described standby set is obtained In standby and other N-1 platform host apparatus in addition to first host apparatus between each host apparatus N-1 YjLink-quality rank, the YjLink-quality rank be used for represent the stand-by equipment and Link-quality between the jth host apparatus, N is more than or equal to 2, j more than 1 and less than or equal to N;
By transmitter 122, distinguish to each host apparatus in described other N-1 platform host apparatus Request message is sent, the request message is used to ask each in described other N-1 platform host apparatus Host apparatus send respectively the link between other N-1 platforms host apparatus and first host apparatus Quality scale;
By receptor 123, the i-th host apparatus that described other N-1 platforms host apparatus send are received respectively And the M between first host apparatus XiLink-quality rank, the XiLink-quality level The link-quality between the i-th host apparatus and first host apparatus Yong Yu not be represented, i is more than 1 and little In or equal to N, M is more than or equal to zero and less than or equal to N-1;
As the first link-quality rank and the N-1 YjRepresent that link is different in link-quality rank Normal quantity sum is less than the M XiThe abnormal quantity of link is represented in link-quality rank, and The N-1 YjThe normal quantity of link described more than or equal to M the is represented in link-quality rank XiThe normal quantity of link is represented in link-quality rank, access priority, connecing after the lifting is lifted Enter priority for indicating that the user of first host apparatus is switched to the stand-by equipment.
In the stand-by equipment that the present embodiment is provided, processor 121 is used to realize in stand-by equipment shown in Figure 10 The process of the first acquisition module 101, the second acquisition module 103, judge module 102 and processing module 106; Transmitter 122 is used to realize the process of sending module 104 in stand-by equipment shown in Figure 10;Receptor 123 The process of receiver module 105 in for realizing stand-by equipment shown in Figure 10.
Figure 13 is the structural representation of communications system embodiment provided in an embodiment of the present invention, the communication system It is N to unite as host apparatus and stand-by equipment:1 multiple-node backup system, as shown in figure 13, this enforcement The communication system of example, including N number of host apparatus 131 and 1 stand-by equipment 132.
Host apparatus 131 include the first host apparatus as in figures 9 or 11;Stand-by equipment 132 is wrapped Include stand-by equipment as shown in figure 10 or 12.
One of ordinary skill in the art will appreciate that:Realize all or part of step of above-mentioned each method embodiment Suddenly can be completed by the related hardware of programmed instruction.Aforesaid program can be stored in a computer can In reading storage medium.The program upon execution, performs the step of including above-mentioned each method embodiment;And Aforesaid storage medium includes:ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
Finally it should be noted that:Various embodiments above is only illustrating technical scheme rather than right Its restriction;Although being described in detail to the present invention with reference to foregoing embodiments, this area it is common Technical staff should be understood:It still can modify to the technical scheme described in foregoing embodiments, Either equivalent is carried out to which part or all technical characteristic;And these modifications or replacement, and The scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution is not made.

Claims (13)

1. a kind of heat backup method, it is characterised in that methods described includes:
First host apparatus obtain the first link-quality rank, and the first link-quality rank is used to represent Link-quality between first host apparatus and stand-by equipment;
When the first link-quality rank represents link exception, first host apparatus obtain described N-1 X between first host apparatus and other N-1 platform host apparatusiLink-quality rank, it is described XiLink-quality rank is used to represent the link matter between first host apparatus and the i-th host apparatus Amount, N is more than or equal to 2, i more than 1 and less than or equal to N;
First host apparatus to each host apparatus in described other N-1 platform host apparatus are distinguished Request message is sent, the request message is used to ask each in described other N-1 platform host apparatus Host apparatus send respectively the link-quality between other N-1 platforms host apparatus and the stand-by equipment Rank;
First host apparatus receive respectively M platforms host apparatus in described other N-1 platform host apparatus and send out M Y between the jth host apparatus for sending and the stand-by equipmentjLink-quality rank, described YjLink-quality rank is used to represent the link-quality between jth host apparatus and the stand-by equipment that j to be big In 1 and less than or equal to N, M is more than or equal to zero and less than or equal to N-1;
As the first link-quality rank and the M YjRepresent that link is different in link-quality rank Normal quantity sum is less than the N-1 XiThe abnormal quantity of link is represented in link-quality rank, and And the M YjRepresent that the normal quantity of link is more than or equal to N-1 institute in link-quality rank State XiThe normal quantity of link, and the business of first host apparatus are represented in link-quality rank When impaired, business is switched to the stand-by equipment by first host apparatus.
2. method according to claim 1, it is characterised in that methods described also includes:
As the first link-quality rank and the M YjRepresent that link is different in link-quality rank Normal quantity sum is more than or equal to the N-1 XiThe abnormal number of link is represented in link-quality rank During amount, or as the M YjRepresent that the normal quantity of link is less than N-1 in link-quality rank The individual XiWhen representing the normal quantity of link in link-quality rank, or first host apparatus When own service is intact, first host apparatus are in default silence period window not to described standby Device backup data.
3. method according to claim 2, it is characterised in that also include:
After silence period window time-out, first host apparatus obtain again the first link matter Magnitude is other;
When the first link-quality rank represents that link is normal, first host apparatus notify described Business is switched back into first host apparatus by stand-by equipment.
4. the method according to any one of claims 1 to 3, it is characterised in that also include:
First host apparatus are to each host apparatus in described other N-1 platform host apparatus point Do not send in the waiting time window that the request message starts, suspend to the stand-by equipment and send backup number According to.
5. a kind of heat backup method, it is characterised in that methods described includes:
Stand-by equipment obtains the first link-quality rank, and the first link-quality rank is used to represent first Link-quality between host apparatus and the stand-by equipment;
When the first link-quality rank represents link exception rank, the stand-by equipment obtains described Each host apparatus in stand-by equipment and other the N-1 platform host apparatus in addition to first host apparatus Between N-1 YjLink-quality rank, the YjLink-quality rank is used to represent described standby Link-quality between equipment and the jth host apparatus, N is more than or equal to 2, j is more than 1 and is less than Equal to N;
The stand-by equipment to each host apparatus in described other N-1 platform host apparatus send respectively Request message, the request message be used to asking each in described other N-1 platform host apparatus it is primary Equipment sends respectively the link-quality between other N-1 platforms host apparatus and first host apparatus Rank;
The stand-by equipment receive respectively the i-th host apparatus that described other N-1 platforms host apparatus send and M X between first host apparatusiLink-quality rank, the XiLink-quality rank For representing the link-quality between the i-th host apparatus and first host apparatus, i is more than 1 and is less than Or equal to N, M is more than or equal to zero and less than or equal to N-1;
As the first link-quality rank and the N-1 YjRepresent that link is different in link-quality rank Normal quantity sum is less than the M XiThe abnormal quantity of link is represented in link-quality rank, and The N-1 YjThe normal quantity of link described more than or equal to M the is represented in link-quality rank XiThe normal quantity of link is represented in link-quality rank, the stand-by equipment lifts access priority, institute Stating the access priority after being lifted is used to indicate that the user of first host apparatus to be switched to described standby set It is standby.
6. method according to claim 5, it is characterised in that methods described also includes:
As the first link-quality rank and the N-1 YjRepresent that link is different in link-quality rank Normal quantity sum is more than or equal to the M XiThe abnormal quantity of link is represented in link-quality rank, Or the N-1 YjThe normal quantity of link described less than M the is represented in link-quality rank XiThe normal quantity of link is represented in link-quality rank, the stand-by equipment is in default silence period window Interior time-out receives the Backup Data that first host apparatus send.
7. a kind of first host apparatus, it is characterised in that first host apparatus include:
First acquisition module, for obtaining the first link-quality rank, the first link-quality rank is used Link-quality between expression first host apparatus and stand-by equipment;
Judge module, for judging that the first link-quality rank indicates whether link exception;
Second acquisition module, for judging that the first link-quality rank represents chain when the judge module When road is abnormal, N-1 X between first host apparatus and other N-1 platform host apparatus is obtainedi Link-quality rank, the XiLink-quality rank is used to represent first host apparatus and the i-th master With the link-quality between equipment, N is more than or equal to 2, i more than 1 and less than or equal to N;
Sending module, for sending out respectively to each host apparatus in described other N-1 platform host apparatus Request message, the request message is sent to be used to ask each master in described other N-1 platform host apparatus The link-quality level between other N-1 platforms host apparatus and the stand-by equipment is sent respectively with equipment Not;
Receiver module, for receiving described other N-1 platform host apparatus respectively in M platforms host apparatus send Jth host apparatus and the stand-by equipment between M YjLink-quality rank, the Yj Link-quality rank is used to represent the link-quality between jth host apparatus and the stand-by equipment that j to be more than 1 and less than or equal to N, M is more than or equal to zero and less than or equal to N-1;
Processing module, for as the first link-quality rank and the M YjLink-quality rank The middle quantity sum for representing that link is abnormal is less than the N-1 XiRepresent that link is different in link-quality rank Normal quantity, and the M YjRepresent that the normal quantity of link is more than or waits in link-quality rank In the N-1 XiRepresent the normal quantity of link in link-quality rank, and it is described first primary When the business of equipment is impaired, business is switched to into the stand-by equipment.
8. the first host apparatus according to claim 7, it is characterised in that the processing module, It is additionally operable to as the first link-quality rank and the M YjLink is represented in link-quality rank Abnormal quantity sum is more than or equal to the N-1 XiLink exception is represented in link-quality rank During quantity, or as the M YjRepresent that the normal quantity of link is less than N-1 in link-quality rank The individual XiWhen representing the normal quantity of link in link-quality rank, or first host apparatus When own service is intact, not to the stand-by equipment Backup Data in default silence period window.
9. the first host apparatus according to claim 8, it is characterised in that described first obtains mould Block, is additionally operable to after silence period window time-out, the first link-quality rank be obtained again;
The sending module, is additionally operable to when the judge module judges that the first link-quality rank is represented When link is normal, notify that business is switched back into first host apparatus by the stand-by equipment.
10. the first host apparatus according to any one of claim 7~9, it is characterised in that described Sending module, is additionally operable to from sending out respectively to each host apparatus in described other N-1 platform host apparatus Send in the waiting time window that the request message starts, suspend to the stand-by equipment and send Backup Data.
11. a kind of stand-by equipments, it is characterised in that the stand-by equipment includes:
First acquisition module, for obtaining the first link-quality rank, the first link-quality rank is used Link-quality between the first host apparatus of expression and the stand-by equipment;
Judge module, for judging that the first link-quality rank indicates whether link exception;
Second acquisition module, for judging that the first link-quality rank represents chain when the judge module During the exception rank of road, the stand-by equipment and other the N-1 platform masters in addition to first host apparatus are obtained With N-1 Y in equipment between each host apparatusjLink-quality rank, the YjLink matter Magnitude Yong Yu not represent the link-quality between the stand-by equipment and the jth host apparatus, and N is more than Or equal to 2, j more than 1 and less than or equal to N;
Sending module, for sending out respectively to each host apparatus in described other N-1 platform host apparatus Request message, the request message is sent to be used to ask each master in described other N-1 platform host apparatus The link matter between other N-1 platforms host apparatus and first host apparatus is sent respectively with equipment Magnitude is other;
Receiver module, for receiving the i-th host apparatus that described other N-1 platforms host apparatus send respectively And the M between first host apparatus XiLink-quality rank, the XiLink-quality level The link-quality between the i-th host apparatus and first host apparatus Yong Yu not be represented, i is more than 1 and little In or equal to N, M is more than or equal to zero and less than or equal to N-1;
Processing module, for as the first link-quality rank and the N-1 YjLink-quality level The not middle quantity sum for representing that link is abnormal is less than the M XiLink is represented in link-quality rank Abnormal quantity, and the N-1 YjRepresent that the normal quantity of link is more than in link-quality rank Equal to the M XiThe normal quantity of link is represented in link-quality rank, access priority is lifted, Access priority after the lifting be used for indicate first host apparatus user be switched to it is described standby Equipment.
12. stand-by equipments according to claim 11, it is characterised in that the processing module, also For as the first link-quality rank and the N-1 YjRepresent that link is different in link-quality rank Normal quantity sum is more than or equal to the M XiThe abnormal quantity of link is represented in link-quality rank, Or the N-1 YjThe normal quantity of link described less than M the is represented in link-quality rank XiThe normal quantity of link is represented in link-quality rank, is suspended in default silence period window and is received institute State the Backup Data of the first host apparatus transmission.
13. a kind of communication systems, it is characterised in that the communication system includes N platforms host apparatus and power Profit requires the stand-by equipment described in 11 or 12, any one host apparatus in the N platforms host apparatus The first host apparatus described in any one of claim 7~10.
CN201510675648.3A 2015-10-15 2015-10-15 Hot backup method, first main device, standby device and communication system Active CN106603261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510675648.3A CN106603261B (en) 2015-10-15 2015-10-15 Hot backup method, first main device, standby device and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510675648.3A CN106603261B (en) 2015-10-15 2015-10-15 Hot backup method, first main device, standby device and communication system

Publications (2)

Publication Number Publication Date
CN106603261A true CN106603261A (en) 2017-04-26
CN106603261B CN106603261B (en) 2019-12-06

Family

ID=58554246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510675648.3A Active CN106603261B (en) 2015-10-15 2015-10-15 Hot backup method, first main device, standby device and communication system

Country Status (1)

Country Link
CN (1) CN106603261B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108334425A (en) * 2018-01-26 2018-07-27 郑州云海信息技术有限公司 A kind of the redundancy replacement method, apparatus and equipment of server QPI link
CN108880917A (en) * 2018-08-23 2018-11-23 华为技术有限公司 Switching method, device and turn control separation system of control plane equipment
CN109327398A (en) * 2018-11-21 2019-02-12 新华三技术有限公司 A kind of method and device preventing packet loss
CN109963170A (en) * 2017-12-26 2019-07-02 圆刚科技股份有限公司 Series flow system and its backup method with redundant mechanism
CN110119111A (en) * 2019-02-26 2019-08-13 北京龙鼎源科技股份有限公司 Communication means and device, storage medium, electronic device
CN110874929A (en) * 2018-08-31 2020-03-10 株式会社电装天 Data collection device, data collection system, data collection method, and vehicle-mounted device
CN111953436A (en) * 2020-08-12 2020-11-17 深圳市泛海三江电子股份有限公司 Communication method and system based on redundancy technology
CN112088520A (en) * 2019-02-11 2020-12-15 株式会社Lg化学 Slave BMS (Battery management System) checking system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933442A (en) * 2005-09-15 2007-03-21 华为技术有限公司 Method and system for realizing virtual router redundant protocol master and standby equipment switching
CN101257405A (en) * 2008-04-03 2008-09-03 中兴通讯股份有限公司 Method for implementing double chain circuits among master-salve equipments
CN101447858A (en) * 2008-01-17 2009-06-03 中兴通讯股份有限公司 Method for realizing synchronous switching of virtual router redundancy protocol in dual-machine hot backup system
CN102664750A (en) * 2012-04-09 2012-09-12 北京星网锐捷网络技术有限公司 Method, system and device for hot backup of multi-machine
CN103368712A (en) * 2013-07-18 2013-10-23 华为技术有限公司 Switchover method and device for main equipment and standby equipment
US20140334292A1 (en) * 2012-01-20 2014-11-13 Hangzhou H3C Technologies Co., Ltd. Implementing Dual-Homed Node Protection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933442A (en) * 2005-09-15 2007-03-21 华为技术有限公司 Method and system for realizing virtual router redundant protocol master and standby equipment switching
CN101447858A (en) * 2008-01-17 2009-06-03 中兴通讯股份有限公司 Method for realizing synchronous switching of virtual router redundancy protocol in dual-machine hot backup system
CN101257405A (en) * 2008-04-03 2008-09-03 中兴通讯股份有限公司 Method for implementing double chain circuits among master-salve equipments
US20140334292A1 (en) * 2012-01-20 2014-11-13 Hangzhou H3C Technologies Co., Ltd. Implementing Dual-Homed Node Protection
CN102664750A (en) * 2012-04-09 2012-09-12 北京星网锐捷网络技术有限公司 Method, system and device for hot backup of multi-machine
CN103368712A (en) * 2013-07-18 2013-10-23 华为技术有限公司 Switchover method and device for main equipment and standby equipment

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109963170A (en) * 2017-12-26 2019-07-02 圆刚科技股份有限公司 Series flow system and its backup method with redundant mechanism
CN109963170B (en) * 2017-12-26 2021-09-10 圆刚科技股份有限公司 Streaming system with backup mechanism and backup method thereof
CN108334425A (en) * 2018-01-26 2018-07-27 郑州云海信息技术有限公司 A kind of the redundancy replacement method, apparatus and equipment of server QPI link
CN108880917A (en) * 2018-08-23 2018-11-23 华为技术有限公司 Switching method, device and turn control separation system of control plane equipment
US11765018B2 (en) 2018-08-23 2023-09-19 Huawei Technologies Co., Ltd. Control plane device switching method and apparatus, and forwarding-control separation system
CN110874929A (en) * 2018-08-31 2020-03-10 株式会社电装天 Data collection device, data collection system, data collection method, and vehicle-mounted device
CN109327398B (en) * 2018-11-21 2021-05-28 新华三技术有限公司 Method and device for preventing packet loss
CN109327398A (en) * 2018-11-21 2019-02-12 新华三技术有限公司 A kind of method and device preventing packet loss
CN112088520A (en) * 2019-02-11 2020-12-15 株式会社Lg化学 Slave BMS (Battery management System) checking system and method
US11688887B2 (en) 2019-02-11 2023-06-27 Lg Energy Solution, Ltd. Slave BMS inspection system and method
CN112088520B (en) * 2019-02-11 2023-11-14 株式会社Lg新能源 Master BMS, slave BMS inspection system and method
CN110119111B (en) * 2019-02-26 2021-04-16 北京龙鼎源科技股份有限公司 Communication method and device, storage medium, and electronic device
CN110119111A (en) * 2019-02-26 2019-08-13 北京龙鼎源科技股份有限公司 Communication means and device, storage medium, electronic device
CN111953436A (en) * 2020-08-12 2020-11-17 深圳市泛海三江电子股份有限公司 Communication method and system based on redundancy technology

Also Published As

Publication number Publication date
CN106603261B (en) 2019-12-06

Similar Documents

Publication Publication Date Title
CN106603261A (en) Hot backup method, first master device, backup device and communication system
CN111095869B (en) Method and system for high availability enhancement for computer networks
CN110912780B (en) High-availability cluster detection method, system and controlled terminal
EP3398068B1 (en) Network redundancy and failure detection
US7778191B2 (en) System and method for fast detection of communication path failures
US8441988B2 (en) Method for providing home agent geographic redundancy via a service redundancy protocol
US8438307B2 (en) Method and device of load-sharing in IRF stack
US8055765B2 (en) Service take-over method based on apparatus disaster recovery, service transfer apparatus and backup machine
CN102257848B (en) Main and secondary apparatuses conversion method betwenn communication equipment, communication equipment and system, and request equipment of system and service
US20140043960A1 (en) Method, tor switch, and system for implementing protection switchover based on trill network
KR101909400B1 (en) Method and system for managing network traffic
WO2011157145A2 (en) Main/backup switching method between communication device, communication device, system and service request device
CN101989953A (en) Method and equipment for sending bidirectional forwarding detection message
CN106533973A (en) Method and system for distributing service message, and equipment
CN104283780A (en) Method and device for establishing data transmission route
CN1859423B (en) Synchronous switching method for host and repeat device
WO2011157146A2 (en) Main/backup switching method between communication devices, communication device, system and service request device
CN106656659A (en) Network path selection method and network video recorder (NVR)
CN106817267B (en) Fault detection method and equipment
CN106487696B (en) Link failure detection method and device
CN107872822B (en) Service bearing method and device
CN103051484B (en) Session service processing method, system and Session Border Controll
CN114338607B (en) Method, device and system for confirming IP address of 5G user terminal
WO2023226458A1 (en) Access network and fault processing method therefor, and system, storage medium and electronic device
KR20220145084A (en) Ethernet bridge ring recovery method based on fault position

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