CN106712997A - Item recovery method and system, and equipment - Google Patents
Item recovery method and system, and equipment Download PDFInfo
- Publication number
- CN106712997A CN106712997A CN201510790717.5A CN201510790717A CN106712997A CN 106712997 A CN106712997 A CN 106712997A CN 201510790717 A CN201510790717 A CN 201510790717A CN 106712997 A CN106712997 A CN 106712997A
- Authority
- CN
- China
- Prior art keywords
- equipment
- list item
- list
- item
- business
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides an item recovery method and system, and equipment. The method comprises steps that a first item sent by the second equipment is received after the first equipment restarts, and the first item is an item of a first item set of the second equipment; item recovery is carried out by the first equipment according to the first item; when an ending identifier sent by the second equipment is received by the first equipment, business is switched from the second equipment to the first equipment, and the ending identifier stands for sending ending of all the items of the first item set. The method, the system and the equipment are advantaged in that after the first equipment restarts, item recovery is carried out through receiving the first item sent by the second equipment, when the ending identifier standing for ending of all the items of the first item set is received, business is switched from the second equipment to the first equipment, business switching to the first equipment with unaccomplished item recovery can be avoided, and thereby uninterrupted business can be realized.
Description
Technical field
The present invention relates to the communications field, and more particularly, to method, the equipment that a kind of list item recovers
And system.
Background technology
China Mobile static internet protocol wireless access network (Internet Protocol Radio Access
Network, IPRAN) commercial on a large scale, the static configuration such as each network node label, route,
Rather than dynamic learning.In order that business is switched in master-failure interrupted with switchback process,
Can be double in L2/L3 node deployments address resolution protocol (Address Resolution Protocol, ARP)
Machine is hot standby, as shown in Figure 1:The ARP that main equipment will learn passes through remote back-up server
(Remote Backup Server, RBS)/remote backup template (Remote Backup Profile, RBP)
Mechanism is backed up to standby equipment.But with business dilatation, the portfolio of L2/L3 nodes increases, configuration file
Be up to tens thousand of rows, when the whole machine of main equipment restarts recovery, due to substantial amounts of pseudo-wire (Pseudo wire,
PW), traffic engineering (Traffic Engineering, TE), Operations,Administration And Maintenance (Operation
Administration and Maintenance, OAM) re-establish, caused by producing various sequential
ARP does not have the problem recovered in service switchback, and then causes corresponding service disconnection.
The content of the invention
The embodiment of the present invention provides method, equipment and the system that a kind of list item recovers, and enables to business not
Interrupt.
First aspect, there is provided a kind of method that list item recovers, including:
First equipment receives the first list item that the second equipment sends after restarting, and first list item is
The list item in the first list item set in second equipment;
First equipment carries out list item recovery according to first list item;
First equipment second sets business from this when the end of identification of second equipment transmission is received
It is standby to switch to first equipment, wherein, the end of identification represents the whole list items in the first list item set
Transmission terminates.
With reference in a first aspect, in the first possible implementation of first aspect, the method also includes:
First equipment obtains the second list item from locally stored file, and second list item is that text is locally stored at this
List item in the second list item set backed up in part;
Wherein, first equipment carries out list item recovery according to first list item, including:
First equipment carries out list item recovery according to first list item and second list item.
With reference to the first possible implementation of first aspect, in second possible reality of first aspect
In existing mode, first equipment carries out list item recovery according to first list item and second list item, including:
First list item received from second equipment is write first equipment internal memory of first equipment;
Second list item obtained from the locally stored file is write first equipment by first equipment
Internal memory;
When the list item title of first list item and the identical list item title of second list item, first list item
Cover second list item.
With reference to the first possible implementation or second possible reality of first aspect of first aspect
Existing mode, in the third possible implementation of first aspect, the method also includes:
First equipment is receiving the end of identification of second equipment transmission, by business from second equipment
After switching to first equipment, in deleting list item title and the first list item set in the list item for recovering
Any list item the different list item of list item title.
With reference to first aspect the first possible implementation to first aspect the third possible reality
Any one possible implementation in existing mode, in the 4th kind of possible implementation of first aspect,
The method also includes:
First equipment is it is determined that during second device fails, business is switched to from second equipment
First equipment.
With reference to first aspect the first possible implementation to first aspect the 4th kind of possible reality
Any one possible implementation in existing mode, in the 5th kind of possible implementation of first aspect,
The method also includes:
The the second list item set of first equipment in the entry updating locally stored file recovered.
With reference to first aspect and first aspect the first possible implementation to the 5th of first aspect
Any one the possible implementation in possible implementation is planted, the 6th kind in first aspect is possible
In implementation, first list item is ARP list item, Broadband Remote Access Server
BRAS user's list item, DHCP intercept DHCP Snooping list items or the Internet group pipe
Reason agreement intercepts IGMP Snooping list items.
Second aspect, there is provided a kind of method that list item recovers, including:
Second equipment determines that the first equipment restarts;
Second equipment to first equipment send the first list item, in order to first equipment according to this first
List item carries out list item recovery, wherein, during first list item is the first list item set in second equipment
List item;
At the end of whole list items of second equipment in the first list item set send, to first equipment
Send end of identification, in order to first equipment when the end of identification is received, by business from this second
Equipment switches to first equipment.
With reference to second aspect, in the first possible implementation of second aspect, first list item is
ARP list item, Broadband Remote Access Server BRAS user list item, DynamicHost
Configuration protocol intercepts DHCP Snooping list items or Internet Group Management Protocol intercepts IGMP Snooping
List item.
A kind of third aspect, there is provided the first equipment that list item recovers, including:
Receiver module, for after first equipment restarting, receiving the first table that the second equipment sends
, first list item is the list item in the first list item set in second equipment;
Recovery module, first list item for being received according to the receiver module carries out list item recovery;
First handover module, for receive second equipment transmission end of identification when, by business from
Second equipment switches to first equipment, wherein, the end of identification is used to represent the first list item set
In whole list items send terminate.
With reference to the third aspect, in the first possible implementation of the third aspect, first equipment is also
Including:
Acquisition module, for obtaining the second list item from locally stored file, second list item is at this
List item in the second list item set backed up in ground storage file;
Wherein, the recovery module is additionally operable to:
List item recovery is carried out according to first list item and second list item.
With reference to the first possible implementation of the third aspect, in second possible reality of the third aspect
In existing mode, the recovery module specifically for:
First list item received from second equipment is write the internal memory of first equipment;
Second list item obtained from the locally stored file is write the internal memory of first equipment;
When the list item title of first list item and the identical list item title of second list item, first list item
Cover second list item.
With reference to the first possible implementation or second possible reality of the third aspect of the third aspect
Existing mode, in the third possible implementation of the third aspect, the recovery module is additionally operable to, at this
First handover module is receiving the end of identification of second equipment transmission, and business is cut from second equipment
After shifting to the equipment, delete any in list item title and the first list item set in the list item for recovering
The different list item of the list item title of list item.
With reference to the third aspect the first possible implementation to the third aspect the third possible reality
Any one possible implementation in existing mode, in the 4th kind of possible implementation of the third aspect,
First equipment also includes:
Second handover module, for it is determined that during second device fails, business second is set from this
It is standby to switch to the equipment.
With reference to the third aspect the first possible implementation to the third aspect the 4th kind of possible reality
Existing mode, in the 5th kind of possible implementation of the third aspect, first equipment also includes:
Update module, for the second list item collection in the entry updating locally stored file recovered
Close.
With reference to the third aspect and the third aspect the first possible implementation to the 5th of the third aspect
Any one the possible implementation in possible implementation is planted, the 6th kind in the third aspect is possible
In implementation, first list item is ARP list item, Broadband Remote Access Server
BRAS user's list item, DHCP intercept DHCP Snooping list items or the Internet group pipe
Reason agreement intercepts IGMP Snooping list items.
A kind of fourth aspect, there is provided the second equipment that list item recovers, including:
Determining module, for determining the restarting of the first equipment;
First sending module, for after the determining module determines first equipment restarting, to this
One equipment sends the first list item, and list item recovery is carried out according to first list item in order to first equipment, its
In, first list item is the list item in the first list item set in second equipment;
Second sending module, at the end of being sent for the whole list items in the first list item set, to this
First equipment sends end of identification, in order to first equipment when the end of identification is received, by business
First equipment is switched to from second equipment.
With reference to fourth aspect, in the first possible implementation of fourth aspect, first list item is
ARP list item, Broadband Remote Access Server BRAS user list item, DynamicHost
Configuration protocol intercepts DHCP Snooping list items or Internet Group Management Protocol intercepts IGMP Snooping
List item.
A kind of 5th aspect, there is provided the system that list item recovers, including:The list item of the above-mentioned third aspect is extensive
The second equipment that the first multiple equipment and the list item of fourth aspect recover.
A kind of 6th aspect, there is provided the first equipment that list item recovers, including:Processor and memory;
The memory storage program, the computing device described program, for performing above-mentioned first
The method that list item described in aspect or first aspect any one possible implementation recovers.
A kind of 7th aspect, there is provided the second equipment that list item recovers, including:Processor and memory.
The memory storage program, the computing device described program, for performing above-mentioned second
The method that list item described in aspect or second aspect any one possible implementation recovers.
Based on above-mentioned technical proposal, method, equipment and system that the list item of the embodiment of the present invention recovers, the
The first list item that one equipment sends after restart, by receiving the second equipment carries out list item recovery, is receiving
When representing that all the first list item sends the end of identification for terminating, business is switched to this from second equipment
First equipment, it is to avoid list item recovers without completing just by service switching to first equipment such that it is able to
So that business is not interrupted.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be in the embodiment of the present invention
The required accompanying drawing for using is briefly described, it should be apparent that, drawings described below is only this
Some embodiments of invention, for those of ordinary skill in the art, are not paying creative work
Under the premise of, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram of embodiment of the present invention application scenarios.
Fig. 2 is the schematic diagram of the method that list item according to embodiments of the present invention recovers.
Fig. 3 is the interaction flow schematic diagram that list item according to embodiments of the present invention recovers.
Fig. 4 is the schematic diagram of the method recovered according to the list item of further embodiment of this invention.
Fig. 5 is the schematic block diagram of the equipment that list item according to embodiments of the present invention recovers.
Fig. 6 is the schematic block diagram of the equipment recovered according to the list item of further embodiment of this invention.
Fig. 7 is the schematic block diagram of system according to embodiments of the present invention.
Fig. 8 is the structural representation of the equipment that list item according to embodiments of the present invention recovers.
Fig. 9 is the structural representation of the equipment recovered according to the list item of further embodiment of this invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment is a part of embodiment of the invention, rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making wound
The every other embodiment obtained under the premise of the property made work, belongs to the scope of protection of the invention.
Fig. 1 is the schematic diagram of embodiment of the present invention application scenarios.If Fig. 1 is mobile IPRAN network allusion quotations
Type networking schematic diagram.In the scene shown in Fig. 1, access ring message transfers net equipment (Packet
Transport Network, PTN) -1/2 time extension base station, deployment virtual leased link (Virtual Leased
Line, VLL) to PTN-3/4, PTN-3/4 can be accessed dual homed in L2/L3 nodes using VLL
The mode of Layer3 Virtual Private Network (Layer 3Virtual Private Network, L3VPN), realizes two
Layer to three layers of business is changed, and industry can also be forwarded using L3VPN between PTN-3/4 to PTN-5/6
Business.First equipment and the second equipment of the ARP two-node cluster hot backup of the embodiment of the present invention can distinguish portion
Administration is on PTN-3 and PTN-4 positions.
When the first equipment is main state, when the second equipment is standby state, the first equipment will can learn to arrive
New list item backed up to the second equipment by RBS/RBP mechanism.Therefore, first equipment in failure or
When person overhauls and other need pause forwarding current business, the first equipment switches to standby state by major state,
Second equipment is main state by standby state switching, so that business is switched to second equipment from first equipment,
Making the forwarding of business will not interrupt.Business is switched to second equipment and first is set by this from first equipment
Virtual Router Redundacy Protocol (the Virtual Router of the hot standby dependence of standby and second device configuration
Redundancy Protocol, VRRP)/striding equipment link aggregation (Enhanced Trunk, E-TRUNK)
Realize.When have two can be with the equipment of forwarding service it needs to be determined that during activestandby state, first equipment and should
Second equipment can mutually send heartbeat message, can determine oneself in backup group according to the heartbeat message
Role, if the priority of first equipment determines the priority higher than second equipment, this first sets
Standby to be main state, second equipment is standby state, is hereafter only that the equipment in major state can be to
Standby equipment sends heartbeat message.First set when second equipment no longer receives this in regular hour threshold value
During the heartbeat message that preparation is sent, second equipment just can consider first equipment fault, now, only
Second equipment can be with forwarding service, the i.e. highest priority of the second equipment, then based on second equipment liter
State, so that business is switched to second equipment from first equipment, the forwarding of business will not be interrupted.
When the failture evacuation of first equipment or maintenance terminate or restart forwarding service, whole machine is carried out
Restarting.After the whole machine restarting of first equipment, first equipment receives second equipment hair
The message for sending, it may be determined that the priority of first equipment is higher than the priority of second equipment, now,
The first equipment liter is main state, and second equipment is reduced to standby state, so that business is cut from second equipment
Change to first equipment.But, because substantial amounts of PW, TE, OAM etc. need to re-establish, deposit
When service switchback is to first equipment still without the problem for having backed up the list item in second equipment, cause
Service disconnection.
For example, after the whole machine of the first equipment is restarted, the heartbeat message of the second equipment transmission is not all received all the time,
After over-time threshold value, the first equipment directly rises and is main state so that the first equipment does not backup to second
ARP in equipment, causes service disconnection.Or first the whole machine of equipment restart after, receive second
The heartbeat message that equipment sends, but when service switchback is to the first equipment, ARP hot standby passage is all the time
Do not set up, i.e. the first equipment cannot receive the ARP of the second equipment transmission, therefore, the
One equipment does not backup to ARP, causes service disconnection.Or first the whole machine of equipment restart after,
The heartbeat message of the second equipment transmission is received, ARP hot standby passage is also set up, but sets up too late,
Wait-to-Restore (Wait to Restore, WTR) countdown, ARP close to service switchback to the first equipment
List item causes service disconnection still without having backed up.Or first the whole machine of equipment restart after, receive the second equipment
The heartbeat message of transmission, ARP hot standby passage is also set up, but because master control borad CPU is very high,
ARP is caused to back up slow, service switchback has not been backed up to ARP during the first equipment, is caused
Service disconnection.Or first the two-way converting of equipment and the second equipment detect (when can play Fast Convergent
Between effect) first recover, VRRP/E-TRUNK heartbeats again lead to (i.e. the first equipment can receive heartbeat
Message) so that the first equipment quickly determines that the priority of the equipment of priority ratio second of oneself is high, and then
Main equipment is upgraded to, such first equipment does not have enough time also to back up the ARP in the second equipment, causes
Service disconnection.
Prior art when whole machine is restarted, by VRRP/E-TRUNK switchback WTR time lengthenings, i.e.,
The larger time empirical value of setting, or VRRP/E-TRUNK heartbeat timeout setting time threshold values etc.,
Raced against time with ARP is hot standby for RBS sets up.But, because different network pressures is different, ARP
The list item backup deadline is different, and operator network also constantly extending, therefore be difficult to provide one
Individual empirical value is adapted to all-network, cannot more be adapted to the continuous extension of network.
Technical scheme, can apply to the scene of various dual-host backups.For example:In access network
L2L3 nodes ARP two-node cluster hot backup, Broadband Remote Access Server (Broadband Remote
Access Server, BRAS) user's list item, DHCP intercept (Dynamic Host
Configuration Protocol Snooping, DHCP Snooping) list item or Internet Group Management Protocol
Intercept (Internet Group Management Protocol Snooping, IGMP Snooping) list item
The scene such as two-node cluster hot backup.Correspondingly, the list item in the embodiment of the present invention includes ARP, BRAS
User's list item, DHCP Snooping list items or IGMP Snooping list items etc..
In embodiments of the present invention, business is the business based on list item.If for example, list item is ARP
List item, then business is the forwarding service based on ARP.For convenience, following embodiments with
Illustrated as a example by ARP, but the present invention is not limited this.
Fig. 2 shows the schematic diagram of the method 100 that a kind of list item according to embodiments of the present invention recovers.Such as
Shown in Fig. 2, the method 100 can be performed by the first equipment, including:
S110, the first equipment receives the first list item that the second equipment sends after restarting, and this first
List item is the list item in the first list item set in second equipment;
S120, first equipment carries out list item recovery according to first list item;
S130, first equipment receive second equipment transmission end of identification when, by business from this
Second equipment switches to first equipment, wherein, the end of identification represents complete in the first list item set
Portion's list item sends and terminates.
In embodiments of the present invention, the first equipment can be the main equipment in dual-host backup scene, and second sets
It is standby this not to be limited for the standby equipment in dual-host backup scene, but the present invention, for example, active and standby
In the similar scene of functions of the equipments, the first equipment and the second equipment can also be exchanged.
Specifically, it is necessary to from the second device backup in the case of restarting after the first equipment fault
List item (being expressed as the first list item) in second equipment, to carry out list item recovery.Because this first sets
Standby and second device configuration VRRP/E-TRUNK, when first equipment restarts, according to connecing
Receiving the message of second equipment can determine that the priority of first equipment is excellent higher than second equipment
First level, therefore, first equipment will rise and be main state.But, it is provided with first equipment
VRRP/E-TRUNK and list item backup linkage, only when end of identification is received, i.e. the first equipment
When completing all the first list items from second device backup, first equipment can just rise and be main state.Institute
With, first equipment when the end of identification of second equipment transmission is received, then by business from this second
Equipment is switched to first equipment such that it is able to so that business will not be interrupted.
Therefore, the embodiment of the present invention list item recover method, the first equipment after restart, by receive
The first list item that second equipment sends carries out list item recovery, represents that all the first list item sends knot receiving
During the end of identification of beam, business is switched into first equipment from second equipment, it is to avoid list item recovery
Without completion just by service switching to first equipment such that it is able to so that business is not interrupted.
In S110, the first equipment receives the first list item that the second equipment sends after restarting,
First list item is the list item in the first list item set in second equipment.
Specifically, in embodiments of the present invention, the first equipment after restarting, lead to by first equipment
Whole list items of the mode for receiving message from the first list item set is received in the second equipment are crossed to carry out table
Item recovers, for example, first equipment backups on the internal memory of first equipment first list item, so that
Will not be interrupted when making service switchback to first equipment.
It should be understood that first list item can be the list item backuped in the second equipment before the first equipment fault,
Can also be that second equipment is according to new business after business is switched to second equipment from first equipment
The new list item practised.
In S120, first equipment carries out list item recovery according to first list item.
Specifically, the first equipment receives the first list item that the second equipment sends, root after restarting
Carry out list item recovery according to first list item, will first list item return on the internal memory of the first equipment.It is extensive
Multiple process can simultaneously be carried out with first list item is received, the whole tables in the first list item set is received
Xiang Shi, list item recovers also to complete.
In S130, first equipment receive second equipment transmission end of identification when, by industry
Business switches to first equipment from second equipment, wherein, the end of identification represents the first list item set
In whole list items send terminate.
Specifically, at the end of whole list items of second equipment in the first list item set send, to first
Equipment sends end of identification.Second equipment can be carried in the message for sending first list item and terminate mark
Know, when first equipment receives the end of identification, it is determined that complete in having been received by the first list item set
Portion's list item.First equipment and second device configuration VRRP/E-TRUNK, first equipment are set
The VRRP/E-TRUNK and the first list item backup linkage, when the end of identification is received, this
One equipment can just be upgraded to main equipment.At this point it is possible to business is switched into this from second equipment first set
It is standby so that the business will not be interrupted.
Therefore, the embodiment of the present invention list item recover method, the first equipment after restart, by receive
The first list item that second equipment sends carries out list item recovery, represents that all the first list item sends knot receiving
During the end of identification of beam, business is switched into first equipment from second equipment, it is to avoid list item recovery
Without completion just by service switching to first equipment such that it is able to so that business is not interrupted.
In an embodiment of the invention, alternatively, the method can also include:
First equipment obtains the second list item from locally stored file, and second list item is locally to be deposited from this
List item in the second list item set backed up in storage file;
In this case, the first equipment carries out list item recovery according to first list item, including:This first
Equipment carries out list item recovery according to first list item and second list item.
Specifically, the first equipment can be by list item persistence, and list item that will be in internal memory is converted into storage
File in medium, even if the data in whole machine power down in this document will not also lose.For example, at this
Ground one locally stored file of record, timing is stored in locally the second list item by way of writing daily record
On storage card (Compact Flash card, cfcard) or other storage mediums.Treat that this first sets
It is standby after restarting, data can be read from the locally stored file and is write on internal memory and recover the
Two list items, meanwhile, first equipment still can receive first list item of second equipment transmission.Should
First equipment is according to first received from the second list item in the locally stored file and from second equipment
List item carries out list item recovery, when the end of identification of second equipment transmission is received, by business from this
Two equipment are switched to first equipment.
The second list item returned into internal memory from the locally stored file of first equipment similar with configuration recovery,
It is almost instantaneous to complete, therefore, can typically be faster than first equipment from second device backup this first
The speed of list item.
It should be understood that the list item in internal memory can also be stored being locally stored in second equipment by the second equipment
In file, during in case follow-up business switchback is in second equipment, list item recovery is carried out.
Alternatively, in the case of the first list item and the second list item are simultaneous, first equipment is according to this
First list item and second list item carry out list item recovery.Specifically, first equipment will be from second equipment
First list item for receiving writes the internal memory of first equipment;First equipment will be from the locally stored file
Second list item of middle acquisition writes the internal memory of first equipment;When first list item list item title and should
When the list item title of the second list item is identical, first list item covers second list item.
Specifically, the first list item is the list item received from the second equipment, in the first equipment fault, should
During forwarding service, second equipment can open learning functionality to second equipment, re-establish new
List item, or update the content of list item.For example, due to the second equipment be main equipment when can be with Active Learning
List item, for second list item title the first list item of identical, contents in table may be different, and should
The content of the first list item may preferably service current business.Therefore, for the table of title identical first
Item and the second list item, first list item are after updating, to cover second list item.
For example, for ARP, list item title can for Internet protocol (Internet Protocol,
IP) address.In the first equipment fault, the second equipment during forwarding service, second equipment
Learning functionality can be opened, new list item, or the corresponding medium access control of more new IP address is re-established
System (Media Access Control, MAC) address.Therefore, the IP address of the first list item and second
When the IP address of list item is identical, first list item covers second list item.
In embodiments of the present invention, alternatively, the method also includes:First equipment receive this
The end of identification that two equipment send, after business is switched into first equipment from second equipment, extensive
List item title is deleted in multiple list item different from the list item title of any list item in the first list item set
List item.
Specifically, when the first equipment has been received by the whole list items in the first list item set, this
Recovery completes all tables in the second list item set from locally stored file before one equipment is possible
.In this case it is necessary in deleting list item title and the first list item set in the list item for recovering
Any list item the different list item of list item title.The list item deleted be in the second list item set with this
The list item that the list item title of any list item in one list item set is different from.
That is, after the first equipment receives end of identification, if the list item title of first list item and
The list item title of second list item is identical, and first list item covers second list item;If the second list item collection
(the 3rd list item represents any list item in list item title and the first list item set to there is the 3rd list item in conjunction
The different list item of list item title), the 3rd list item to be deleted, this deletes flow and can be described as aging flow.
Alternatively, in embodiments of the present invention, the method also includes:First equipment it is determined that this second
During device fails, business is switched into first equipment from second equipment.
Specifically, the first equipment is after restarting, by reading data from locally stored file
Mode recovers the second list item, meanwhile, first equipment receives first list item of second equipment transmission.
If as it was previously stated, second equipment has sent the list item of whole first, being sent to first equipment and terminating mark
Know, first equipment carries out service switching accordingly.
When second equipment is main state, heartbeat message can be sent to first equipment, when first equipment
When no longer receiving the heartbeat message in regular hour threshold value, then first equipment can consider this second
Device fails.If second equipment has not sent the list item of whole first and just broken down, this
One equipment is it is determined that carry out service switching during second equipment fault.That is, first equipment does not have also
Receive end of identification, second equipment with regard to failure, the now highest priority of first equipment,
Then first equipment is upgraded to main equipment, and first equipment by business from second equipment be switched to this first
Equipment.Almost instantaneously completed due to recovering list item from locally stored file, therefore, first equipment will
Business from second equipment be switched to first equipment when, first equipment is from locally stored file
Recover the whole list items in the second list item set, and the list item of part first obtained from second equipment,
If existing during with the first list item title identical list item in second list item, first list item can also be covered
Second list item, thus according to the list item processing business that these recover, so that will not interrupting service.
It should be understood that the time threshold can be set according to practical application, the present invention is not limited this
It is fixed.
Alternatively, in embodiments of the present invention, the method also includes:First equipment is according to the table for recovering
Item updates the second list item set in the locally stored file.
Specifically, the list item of recovery is current newest list item.For example, being received in first equipment
During end of identification, the list item of recovery includes all the first list item and the second list item collection in the first list item set
All the second list items in conjunction, there is the 3rd list item, (the 3rd list item represents list item title and the first list item
The different list item of the list item title of any list item in set) in the case of, then to delete the 3rd list item;
End of identification is also not received by first equipment, when second equipment just breaks down, this first sets
Standby liter is main state, and business is switched into second equipment from first equipment, now the first equipment
The list item recovered on internal memory is included in the list item of part first and the second list item set in the first list item set
All the second list items.Additionally, after business recovers forwarding in first equipment, first equipment can be moved
State learns new list item, and the priority of the new list item, the priority of the first list item, the second list item is preferential
Level is reduced successively, and in internal memory, the list item of high priority can cover the list item of low priority.First sets
For based on the newest entry updating of the recovery locally stored file.After first equipment stable operation, when going out
When existing list item changes, it is also possible in real-time update to the locally stored file.
In the first list item write-in locally stored file that first equipment will be recovered, first list item is to pass through
The corresponding business triggering of first list item, and the second equipment to the first equipment when the first list item is sent,
Special mark can be marked with first list item so that first equipment is capable of identify that first list item is
List item in second equipment.Correspondingly, when in the new list item write-in locally stored file that will learn,
The new list item practised is also to be triggered by the corresponding business of the new list item.
Therefore, the embodiment of the present invention list item recover method, the first equipment after restart, by receive
The first list item that second equipment sends carries out list item recovery, represents that all the first list item sends knot receiving
During the end of identification of beam, business is switched into first equipment from second equipment, it is to avoid list item recovery
Without completion just by service switching to first equipment such that it is able to so that business is not interrupted;In addition, knot
Conjunction recovers list item from locally stored file, and not sent the list item of whole first in the second equipment just occurs
During failure, it is also possible to so that business is not interrupted.
In one embodiment of the invention, the second equipment is it is determined that after the restarting of the first equipment, to the
One equipment sends the first list item, the first equipment backed up by way of receiving message in the second equipment this
One list item.Meanwhile, the first equipment can also from the locally stored file by way of reading data come
Recover the second list item.For the list item of title identical first and the second list item, the first list item covers the second table
.When in the message that the first equipment is received carry end of identification when, the first equipment may before from
Recover to complete all list items in the second list item set in locally stored file, therefore, it can in recovery
The list item being different from the list item title of any list item in the first list item set is deleted in list item.When
When carrying end of identification in the message that the first equipment is received, the first equipment can be by business from the second equipment
The first equipment is switched to, because the whole list items in now the second equipment have returned to the first equipment, industry
Business will not be interrupted.
As shown in figure 3, showing the interaction flow schematic diagram of one embodiment of the invention.The present embodiment
Flow is since the first equipment restarts.The implication of the various terms in the present embodiment and foregoing each implementation
Example is identical.
201, the restarting of the first equipment, the second list item is obtained from locally stored file, and to carry out list item extensive
It is multiple.
202, the second equipment determines that the first equipment restarts.
203, the second equipment sends the first list item to the first equipment.
204, the first equipment carries out list item recovery according to the first list item and the second list item, when the first list item
When list item title is identical with the list item title of the second list item, the first list item covers the second list item.
205, in one case, if the second equipment has not sent whole first, list item just breaks down,
Then the first equipment is it is determined that carry out service switching during the second equipment fault.
Almost instantaneously completed due to recovering list item from locally stored file, therefore, the first equipment can be with profit
The table recovered with the whole list items in the second list item set and the list item of part first having been received by
Item processing business, so that will not interrupting service.
206, in another case, the second equipment does not break down during sending list item, and second
At the end of whole list items of the equipment in the first list item set send, end of identification is sent to the first equipment.
207, business is switched to first by the first equipment when the end of identification is received from the second equipment
Equipment.
If there is the table of any list item in list item title and the first list item set in the list item for recovering
The different list item of title, then the first equipment delete this kind of list item.In addition, the first equipment is by newest table
Item is updated to locally stored file.In the first equipment stable operation, when list item changes, also will change
Entry updating afterwards is in locally stored file.
As shown in figure 4, showing the schematic of the method 300 that list item according to embodiments of the present invention recovers
Flow chart, the method 300 can be performed by the second equipment.As shown in figure 4, the method 300 includes:
S310, the second equipment determines that the first equipment restarts;
S320, second equipment to first equipment send the first list item, in order to first equipment according to
First list item carries out list item recovery, wherein, first list item is the first list item collection in second equipment
List item in conjunction;
S330, at the end of whole list items of second equipment in the first list item set send, to this
One equipment send end of identification, in order to first equipment when the end of identification is received, by business from
Second equipment switches to first equipment.
Specifically, VRRP/E-TRUNK is configured in the first equipment and the second equipment, when this first sets
After standby restarting, at this moment first equipment needs and second equipment redefines activestandby state, and
To second equipment send heartbeat message, second equipment receive the heartbeat message can determine this first
Equipment restarts.Now, as second equipment of main equipment to standby equipment (i.e. first equipment)
Send the message for carrying the first list item so that first equipment receives first list item, and according to this
One list item carries out list item recovery, and first list item is the table in the first list item set in second equipment
.Additionally, second equipment can know the excellent of oneself according to the heartbeat message that first equipment sends
Priority of the first level less than first equipment.But, due to what is configured in first equipment
VRRP/E-TRUNK and the first list item backup linkage, when the end of identification is received, this first
Equipment can just be upgraded to main equipment.Therefore, second equipment is by the whole tables in the first list item set
After item is sent, end of identification is carried in messages, so first equipment terminates receiving this
During mark, business is switched into first equipment from second equipment so that the forwarding of business will not in
It is disconnected.
Therefore, the method that the list item of the embodiment of the present invention recovers, is sent by the second equipment in whole list items
At the end of send end of identification to first equipment, it is to avoid list item recover without complete just by service switching extremely
First equipment such that it is able to so that business is not interrupted.
In S310, the second equipment determines that the first equipment restarts.
Specifically, VRRP/E-TRUNK is configured in the first equipment and the second equipment, when this first sets
After standby restarting, at this moment first equipment needs and second equipment redefines activestandby state, and to
Second equipment sends heartbeat message, and second equipment receives the heartbeat message just can determine that this first sets
Standby restarting.Afterwards, second equipment also can send heartbeat message to first equipment so that this
One equipment determines the height of priority according to the heartbeat message.In S320, second equipment to this
One equipment sends the first list item, and list item recovery is carried out according to first list item in order to first equipment, its
In, first list item is the list item in the first list item set in second equipment.
Specifically, the second equipment determines that the priority of oneself is low according to the heartbeat message that the first equipment sends
In the priority of first equipment, but, VRRP/E-TRUNK and table are provided with first equipment
Item backup linkage, only when end of identification is received, can just rise and be main state.So now, should
Second equipment is still main state, and form by message is sent in second equipment to first equipment
The first list item so that first equipment can carry out list item recovery according to first list item, so that industry
Business will not be interrupted.
In S330, at the end of whole list items of second equipment in the first list item set send,
End of identification is sent to first equipment, in order to first equipment when the end of identification is received, will
Business switches to first equipment from second equipment.
Specifically, after the restarting of the first equipment, the first list item is sent to this and first set by the second equipment
It is standby, VRRP/E-TRUNK and list item backup linkage are provided with first equipment, only when receiving
During end of identification, i.e. the first equipment from second device backup complete all the first list items when, this first sets
Standby can just liter is main state.Therefore, second equipment sends out the whole list items in the first list item set
At the end of sending, an end of identification is carried in the message for sending the first list item, so first equipment exists
When receiving the end of identification, business is switched into first equipment from second equipment, thus this first
Equipment can back up all list items in first equipment that completes so that business will not be interrupted.
Alternatively, first list item is ARP, BRAS user's list item, DHCP Snooping
List item or IGMP Snooping list items.
It should be understood that in embodiments of the present invention, first equipment and the second equipment of the description of the first equipment side it
Between interaction and correlation properties, function etc. it is corresponding to the description of the second equipment side, for sake of simplicity, herein not
Repeat again.
It should be understood that in various embodiments of the present invention, the size of the sequence number of above-mentioned each process is not intended to
The priority of execution sequence, the execution sequence of each process should be determined with its function and internal logic, without answering
Implementation process to the embodiment of the present invention constitutes any restriction.
Above in association with Fig. 2, Fig. 3 and Fig. 4, describe list item according to embodiments of the present invention in detail and recover
Method, below in conjunction with Fig. 5 and Fig. 6, describe what list item according to embodiments of the present invention recovered in detail
Equipment.
Fig. 5 shows the schematic block diagram of the first equipment 500 recovered according to the list item of example of the present invention.Such as
Shown in Fig. 5, first equipment 500 includes:
Receiver module 510, for after first equipment restarting, receiving the second equipment sends the
One list item, first list item is the list item in the first list item set in second equipment;
Recovery module 520, first list item for being received according to the receiver module carries out list item recovery;
First handover module 530, for when the end of identification of second equipment transmission is received, by industry
Business switches to first equipment from second equipment, wherein, the end of identification is used to represent first list item
Whole list items in set send and terminate.
Therefore, the embodiment of the present invention list item recover equipment, the first equipment after restart, by receive
The first list item that second equipment sends carries out list item recovery, represents that all the first list item sends knot receiving
During the end of identification of beam, business is switched into first equipment from second equipment, it is to avoid list item recovery
Without completion just by service switching to first equipment such that it is able to so that business is not interrupted.
In embodiments of the present invention, alternatively, first equipment also includes:
Acquisition module, for obtaining the second list item from locally stored file, second list item is at this
List item in the second list item set backed up in ground storage file;
Wherein, the recovery module is additionally operable to:
List item recovery is carried out according to first list item and second list item.
In embodiments of the present invention, alternatively, the recovery module specifically for:
First list item that will be received from second equipment writes the internal memory of first equipment;
Second list item that will be obtained from the locally stored file is write in first equipment
Deposit;
When the list item title of first list item is identical with the list item title of second list item, described
One list item covers second list item.
Alternatively, in embodiments of the present invention, the recovery module is additionally operable to, and exists in first handover module
The end of identification of second equipment transmission is received, business is switched into first equipment from second equipment
Afterwards, the list item of any list item in deleting list item title and the first list item set in the list item for recovering
The different list item of title.
In embodiments of the present invention, alternatively, first equipment also includes:
Second handover module, for it is determined that during second device fails, business second is set from this
It is standby to switch to first equipment.
Alternatively, in embodiments of the present invention, first equipment also includes:
Update module, for the second list item collection in the entry updating locally stored file recovered
Close.
In embodiments of the present invention, alternatively, first list item be ARP list item,
Broadband Remote Access Server BRAS user list item, DHCP intercept DHCP
Snooping list items or Internet Group Management Protocol intercept IGMP Snooping list items.
It should be understood that the first equipment 500 that list item according to embodiments of the present invention recovers may correspond to the present invention
The executive agent of the method that the list item of embodiment recovers, and modules in the first equipment 500 is upper
State with other operation and/or functions respectively in order to realize the corresponding steps of foregoing each method, for sake of simplicity,
Will not be repeated here.
Therefore, the embodiment of the present invention list item recover equipment, the first equipment after restart, by receive
The first list item that second equipment sends carries out list item recovery, represents that all the first list item sends knot receiving
During the end of identification of beam, business is switched into first equipment from second equipment, it is to avoid list item recovery
Without completion just by service switching to first equipment such that it is able to so that business is not interrupted;In addition, knot
Conjunction recovers list item from locally stored file, and not sent the list item of whole first in the second equipment just occurs
During failure, it is also possible to so that business is not interrupted.
Fig. 6 shows the schematic block diagram of the second equipment 700 recovered according to the list item of example of the present invention.Such as
Shown in Fig. 6, second equipment 700 includes:
Determining module 710, for determining the restarting of the first equipment;
First sending module 720, for the determining module determine first equipment restarting after, to
First equipment sends the first list item, and list item recovery is carried out according to first list item in order to first equipment,
Wherein, first list item is the list item in the first list item set in second equipment;
Second sending module 730, at the end of being sent for the whole list items in the first list item set,
End of identification is sent to first equipment, in order to first equipment when the end of identification is received, will
Business switches to first equipment from second equipment.
Therefore, the equipment that the list item of the embodiment of the present invention recovers, is sent by the second equipment in whole list items
At the end of send end of identification to first equipment, it is to avoid list item recover without complete just by service switching extremely
First equipment such that it is able to so that business is not interrupted.
Alternatively, in embodiments of the present invention, first list item be ARP list item,
Broadband Remote Access Server BRAS user list item, DHCP intercept DHCP
Snooping list items or Internet Group Management Protocol intercept IGMP Snooping list items.
It should be understood that the second equipment 700 that list item according to embodiments of the present invention recovers may correspond to the present invention
The executive agent of the method that the list item of embodiment recovers, and modules in the second equipment 700 is upper
State with other operation and/or functions respectively in order to realize the corresponding steps of foregoing each method, for sake of simplicity,
Will not be repeated here.
The embodiment of the present invention additionally provides the system that a kind of list item recovers.As shown in fig. 7, system 900 is wrapped
Include:
First equipment 500 of the foregoing embodiment of the present invention and the second equipment 700 of the embodiment of the present invention.
Fig. 8 shows the structure of the first equipment that another embodiment of the present invention is provided, including at least one
Processor 1102 (such as CPU), at least one network interface 1105 or other communication interfaces, deposit
Reservoir 1106, and at least one communication bus 1103, for realizing the connection communication between these devices.
Processor 1102 is used to perform the executable module stored in memory 1106, such as computer program.
Memory 1106 may include high-speed random access memory (RAM:Random Access Memory),
It is likely to also include non-labile memory (non-volatile memory), for example, at least one disk
Memory.Realized and at least one by least one network interface 1105 (can be wired or wireless)
Communication connection between individual other network elements.
In some embodiments, memory 1106 stores program 11061, and processor 1102 is performed
Program 11061, for performing certain operations:
After the restarting of the first equipment, the first list item that the second equipment sends is received, first list item is
The list item in the first list item set in second equipment;
List item recovery is carried out according to first list item;
When the end of identification of second equipment transmission is received, business is switched to this from second equipment
First equipment, wherein, the end of identification represents that the whole list items in the first list item set send and terminates.
Alternatively, processor 1102 is used to obtain the second list item from locally stored file, second table
Item is the list item in the second list item set backed up in the locally stored file;
Processor 1102 according to first list item and second list item specifically for carrying out list item recovery.
Alternatively, processor 1102 is used for first list item write-in that will be received from second equipment
The internal memory of first equipment;
Second list item that will be obtained from the locally stored file is write in first equipment
Deposit;
When the list item title of first list item is identical with the list item title of second list item, described
One list item covers second list item.
Alternatively, processor 1102 is used to receive the end of identification of second equipment transmission, by industry
After business switches to first equipment from second equipment, list item title is deleted in the list item for recovering and is somebody's turn to do
The different list item of the list item title of any list item in the first list item set.
Alternatively, processor 1102 is used for it is determined that during second device fails, by business from this
Second equipment switches to first equipment.
Alternatively, processor 1102 be used in the entry updating locally stored file recovered should
Second list item set.
Alternatively, first list item is ARP list item, Broadband Remote Access Server
BRAS user's list item, DHCP intercept DHCP Snooping list items or the Internet group pipe
Reason agreement intercepts IGMP Snooping list items.
The equipment of the embodiment of the present invention first is can be seen that from above technical scheme provided in an embodiment of the present invention
After restart, the first list item for being sent by receiving the second equipment carries out list item recovery, is receiving expression
When all the first list items send the end of identification for terminating, business is switched to this from second equipment and first is set
It is standby, it is to avoid list item recovers without completing just by service switching to first equipment such that it is able to so that industry
Business is not interrupted;In addition, with reference to list item is recovered from locally stored file, not sent in the second equipment
When all the first list item just breaks down, it is also possible to so that business is not interrupted.
Fig. 9 shows the structure of the second equipment that another embodiment of the present invention is provided, including at least one
Processor 1302 (such as CPU), at least one network interface 1305 or other communication interfaces, deposit
Reservoir 1306, and at least one communication bus 1303, for realizing the connection communication between these devices.
Processor 1302 is used to perform the executable module stored in memory 1306, such as computer program.
Memory 1306 may include high-speed random access memory (RAM:Random Access Memory),
It is likely to also include non-labile memory (non-volatile memory), for example, at least one disk
Memory.Realized and at least one by least one network interface 1305 (can be wired or wireless)
Communication connection between individual other network elements.
In some embodiments, memory 1306 stores program 13061, and processor 1302 is performed
Program 13061, operates for performing:
Determine that the first equipment restarts;
The first list item is sent to first equipment, table is carried out according to first list item in order to first equipment
Item recovers, wherein, first list item is the list item in the first list item set in second equipment;
At the end of whole list items in the first list item set send, sent to first equipment and terminate mark
Know, in order to first equipment when the end of identification is received, business is switched to from second equipment
First equipment.
Alternatively, first list item is ARP list item, Broadband Remote Access Server
BRAS user's list item, DHCP intercept DHCP Snooping list items or the Internet group pipe
Reason agreement intercepts IGMP Snooping list items.
The embodiment of the present invention is can be seen that by complete from above technical scheme provided in an embodiment of the present invention
Portion list item sends end of identification at the end of sending to the first equipment, it is to avoid list item recovers without completing just to
Service switching is to first equipment such that it is able to so that business is not interrupted.
It should be understood that the specific example in the present invention is intended merely to help those skilled in the art more preferably geographical
The solution embodiment of the present invention, the scope of the embodiment that is not intended to limit the present invention.
It should also be understood that in embodiments of the present invention, " B corresponding with A " represents that B is associated with A,
B can be determined according to A.It is also to be understood that it is true only according to A to determine that B is not meant to according to A
Determine B, B can also be determined according to A and/or other information.
Those of ordinary skill in the art are it is to be appreciated that with reference to each of the embodiments described herein description
The unit and algorithm steps of example, can be with electronic hardware or the knot of computer software and electronic hardware
Close to realize.These functions are performed with hardware or software mode actually, depending on the spy of technical scheme
Fixed application and design constraint.Professional and technical personnel can use not Tongfang to each specific application
Method realizes described function, but this realization it is not considered that beyond the scope of this invention.
It is apparent to those skilled in the art that, it is for convenience and simplicity of description, above-mentioned to retouch
The specific work process of system, device and the unit stated, may be referred to the correspondence in preceding method embodiment
Process, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, device and
Method, can realize by another way.For example, device embodiment described above is only to show
Meaning property, for example, the division of the unit, only a kind of division of logic function can when actually realizing
To there is other dividing mode, such as multiple units or component can be combined or be desirably integrated into another
System, or some features can be ignored, or not perform.It is another, it is shown or discussed each other
Coupling or direct-coupling or communication connection can be the INDIRECT COUPLING of device or unit by some interfaces
Or communication connection, can be electrical, mechanical or other forms.
It is described as separating component illustrate unit can be or may not be it is physically separate, make
For the part that unit shows can be or may not be physical location, you can with positioned at a place,
Or can also be distributed on multiple NEs.Can select according to the actual needs part therein or
Person whole units realize the purpose of this embodiment scheme.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit,
Can also be that unit is individually physically present, it is also possible to which two or more units are integrated in a list
In unit.
If the function is to realize in the form of SFU software functional unit and as independent production marketing or make
Used time, can store in a computer read/write memory medium.Based on such understanding, the present invention
The part that is substantially contributed to prior art in other words of technical scheme or the technical scheme portion
Dividing can be embodied in the form of software product, and the computer software product is stored in a storage medium
In, including some instructions are used to so that computer equipment (can be personal computer, server,
Or the network equipment etc.) perform all or part of step of each embodiment methods described of the invention.And it is preceding
The storage medium stated includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can
With the medium of store program codes.
The above, specific embodiment only of the invention, but protection scope of the present invention do not limit to
In this, any one skilled in the art the invention discloses technical scope in, can be easily
Expect change or replacement, should all be included within the scope of the present invention.Therefore, protection of the invention
Scope should be based on the protection scope of the described claims.
Claims (19)
1. a kind of method that list item recovers, it is characterised in that including:
First equipment receives the first list item that the second equipment sends, first list item after restarting
It is the list item in the first list item set in second equipment;
First equipment carries out list item recovery according to first list item;
First equipment when the end of identification that second equipment sends is received, by business from described
Second equipment switches to first equipment, wherein, the end of identification represents the first list item set
In whole list items send terminate.
2. method according to claim 1, it is characterised in that methods described also includes:
First equipment obtains the second list item from locally stored file, and second list item is described
List item in the second list item set backed up in locally stored file;
Wherein, first equipment carries out list item recovery according to first list item, including:
First equipment carries out list item recovery according to first list item and second list item.
3. method according to claim 2, it is characterised in that first equipment is according to
First list item and second list item carry out list item recovery, including:
First list item write-in described first that first equipment will be received from second equipment sets
Standby internal memory;
Second list item write-in that first equipment will be obtained from the locally stored file is described
The internal memory of the first equipment;
When the list item title of first list item is identical with the list item title of second list item, described
One list item covers second list item.
4. according to the method in claim 2 or 3, it is characterised in that methods described also includes:
First equipment receiving the end of identification that second equipment sends, by business from described the
Two equipment are switched to after first equipment, and list item title and described first is deleted in the list item for recovering
The different list item of the list item title of any list item in list item set.
5. the method according to any one of claim 2 to 4, it is characterised in that methods described
Also include:
First equipment it is determined that during second device fails, by business from second equipment
Switch to first equipment.
6. the method according to any one of claim 2 to 5, it is characterised in that methods described
Also include:
Second table in first equipment locally stored file according to the entry updating for recovering
Item set.
7. method according to any one of claim 1 to 6, it is characterised in that described first
List item is ARP list item, Broadband Remote Access Server BRAS user list item, moves
State host configuration intercepts DHCP Snooping list items or Internet Group Management Protocol intercepts IGMP
Snooping list items.
8. a kind of method that list item recovers, it is characterised in that including:
Second equipment determines that the first equipment restarts;
Second equipment to first equipment send the first list item, in order to first equipment according to
First list item carries out list item recovery, wherein, first list item is first in second equipment
List item in list item set;
At the end of whole list items of second equipment in the first list item set send, to described the
One equipment sends end of identification, in order to first equipment when the end of identification is received, by industry
Business switches to first equipment from second equipment.
9. method according to claim 8, it is characterised in that first list item is address solution
Analysis agreement ARP, Broadband Remote Access Server BRAS user list item, dynamic host configuration association
View intercepts DHCP Snooping list items or Internet Group Management Protocol intercepts IGMP Snooping list items.
10. a kind of first equipment, it is characterised in that including:
Receiver module, for after first equipment restarting, receiving the second equipment sends first
List item, first list item is the list item in the first list item set in second equipment;
Recovery module, first list item for being received according to the receiver module carries out list item recovery;
First handover module, for when the end of identification that second equipment sends is received, by business
First equipment is switched to from second equipment, wherein, the end of identification is used to represent described the
Whole list items in one list item set send and terminate.
11. first equipment according to claim 10, it is characterised in that first equipment is also
Including:
Acquisition module, for obtaining the second list item from locally stored file, second list item is in institute
State the list item in the second list item set backed up in locally stored file;
Wherein, the recovery module is additionally operable to:
List item recovery is carried out according to first list item and second list item.
12. first equipment according to claim 11, it is characterised in that the recovery module tool
Body is used for:
First list item that will be received from second equipment writes the internal memory of first equipment;
Second list item that will be obtained from the locally stored file is write in first equipment
Deposit;
When the list item title of first list item is identical with the list item title of second list item, described
One list item covers second list item.
13. the first equipment according to claim 11 or 12, it is characterised in that the recovery mould
Block is additionally operable to, and the end of identification that second equipment sends is being received in first handover module, will
After business switches to first equipment from second equipment, list item name is deleted in the list item for recovering
Claim the list items different from the list item title of any list item in the first list item set.
14. the first equipment according to any one of claim 11 to 13, it is characterised in that institute
Stating the first equipment also includes:
Second handover module, for it is determined that during second device fails, by business from described
Two equipment switch to first equipment.
15. the first equipment according to any one of claim 11 to 14, it is characterised in that institute
Stating the first equipment also includes:
Update module, for second table in the locally stored file according to the entry updating for recovering
Item set.
16. equipment according to any one of claim 10 to 15, it is characterised in that described
One list item be ARP list item, Broadband Remote Access Server BRAS user list item,
DHCP intercepts DHCP Snooping list items or Internet Group Management Protocol intercepts IGMP
Snooping list items.
A kind of 17. second equipment, it is characterised in that including:
Determining module, for determining the restarting of the first equipment;
First sending module, for after the determining module determines first equipment restarting, to
First equipment sends the first list item, and table is carried out according to first list item in order to first equipment
Item recovers, wherein, first list item is the list item in the first list item set in second equipment;
Second sending module, at the end of being sent for the whole list items in the first list item set, to
First equipment sends end of identification, in order to first equipment when the end of identification is received,
Business is switched into first equipment from second equipment.
18. second equipment according to claim 17, it is characterised in that first list item is
ARP list item, Broadband Remote Access Server BRAS user list item, DynamicHost
Configuration protocol intercepts DHCP Snooping list items or Internet Group Management Protocol intercepts IGMP Snooping
List item.
The system that a kind of 19. list items recover, it is characterised in that including:
The first equipment according to any one of claim 10 to 16 and according to claim 17 or
The second equipment described in 18.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510790717.5A CN106712997B (en) | 2015-11-16 | 2015-11-16 | Method, equipment and system for recovering table entry |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510790717.5A CN106712997B (en) | 2015-11-16 | 2015-11-16 | Method, equipment and system for recovering table entry |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106712997A true CN106712997A (en) | 2017-05-24 |
CN106712997B CN106712997B (en) | 2020-04-14 |
Family
ID=58933397
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510790717.5A Active CN106712997B (en) | 2015-11-16 | 2015-11-16 | Method, equipment and system for recovering table entry |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106712997B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107331079A (en) * | 2017-06-06 | 2017-11-07 | 浪潮金融信息技术有限公司 | Method for processing business and device |
CN109117311A (en) * | 2018-08-22 | 2019-01-01 | 郑州云海信息技术有限公司 | A kind of fault recovery method and device |
CN112152920A (en) * | 2019-06-28 | 2020-12-29 | 华为技术有限公司 | Method and device for realizing table entry backup |
CN113810260A (en) * | 2020-06-17 | 2021-12-17 | 中国联合网络通信集团有限公司 | Network networking method and system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101471940A (en) * | 2007-12-28 | 2009-07-01 | 华为技术有限公司 | Method, system and device for synchronizing BGP route |
CN101557317A (en) * | 2009-05-26 | 2009-10-14 | 杭州华三通信技术有限公司 | Active dialogue backup system, equipment and method in dual-server hot-backup network |
CN101577719A (en) * | 2009-06-09 | 2009-11-11 | 华为技术有限公司 | Double hot standby method, device and system |
CN102148677A (en) * | 2010-02-10 | 2011-08-10 | 杭州华三通信技术有限公司 | Method for updating address resolution protocol table entries and core switch |
US20140321269A1 (en) * | 2013-04-30 | 2014-10-30 | Fujitsu Limited | Packet transport network system |
CN104518960A (en) * | 2014-12-05 | 2015-04-15 | 华为技术有限公司 | Delayed back-switching method, devices and system |
CN104572198A (en) * | 2014-12-31 | 2015-04-29 | 华为技术有限公司 | Service restoration method and device |
CN104683486A (en) * | 2015-03-27 | 2015-06-03 | 杭州华三通信技术有限公司 | Method and device for processing synchronous messages in distributed system and distributed system |
-
2015
- 2015-11-16 CN CN201510790717.5A patent/CN106712997B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101471940A (en) * | 2007-12-28 | 2009-07-01 | 华为技术有限公司 | Method, system and device for synchronizing BGP route |
CN101557317A (en) * | 2009-05-26 | 2009-10-14 | 杭州华三通信技术有限公司 | Active dialogue backup system, equipment and method in dual-server hot-backup network |
CN101577719A (en) * | 2009-06-09 | 2009-11-11 | 华为技术有限公司 | Double hot standby method, device and system |
CN102148677A (en) * | 2010-02-10 | 2011-08-10 | 杭州华三通信技术有限公司 | Method for updating address resolution protocol table entries and core switch |
US20140321269A1 (en) * | 2013-04-30 | 2014-10-30 | Fujitsu Limited | Packet transport network system |
CN104518960A (en) * | 2014-12-05 | 2015-04-15 | 华为技术有限公司 | Delayed back-switching method, devices and system |
CN104572198A (en) * | 2014-12-31 | 2015-04-29 | 华为技术有限公司 | Service restoration method and device |
CN104683486A (en) * | 2015-03-27 | 2015-06-03 | 杭州华三通信技术有限公司 | Method and device for processing synchronous messages in distributed system and distributed system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107331079A (en) * | 2017-06-06 | 2017-11-07 | 浪潮金融信息技术有限公司 | Method for processing business and device |
CN107331079B (en) * | 2017-06-06 | 2019-11-26 | 浪潮金融信息技术有限公司 | Method for processing business and device |
CN109117311A (en) * | 2018-08-22 | 2019-01-01 | 郑州云海信息技术有限公司 | A kind of fault recovery method and device |
CN112152920A (en) * | 2019-06-28 | 2020-12-29 | 华为技术有限公司 | Method and device for realizing table entry backup |
WO2020258969A1 (en) * | 2019-06-28 | 2020-12-30 | 华为技术有限公司 | Creation of method and apparatus for implementing table entry backup |
CN112152920B (en) * | 2019-06-28 | 2021-12-28 | 华为技术有限公司 | Method and device for realizing table entry backup |
CN113810260A (en) * | 2020-06-17 | 2021-12-17 | 中国联合网络通信集团有限公司 | Network networking method and system |
Also Published As
Publication number | Publication date |
---|---|
CN106712997B (en) | 2020-04-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102549983B (en) | Distributed data center access switch | |
CN104852867B (en) | Data packet forwarding method, apparatus and system | |
CN106712997A (en) | Item recovery method and system, and equipment | |
CN104468163B (en) | The method, apparatus and disaster tolerance network of disaster tolerance network organizing | |
CN105162704B (en) | The method and device of multicast replication in Overlay network | |
CN103795570B (en) | The unicast message restoration methods and device of the stacked switchboard system of ring topology | |
CN104346373B (en) | Subregion journal queue synchronization management method and equipment | |
CN107016087A (en) | Hierarchical database high-availability system based on sentry's model | |
CN101924699B (en) | Message forwarding method, system and provider edge equipment | |
CN106034077A (en) | Dynamic route configuration method, device and system thereof | |
CN108199967A (en) | Route processing method and device | |
CN107277187B (en) | The system and method for ARP warm back-up Fast synchronization | |
CN106878072A (en) | A kind of message transmitting method and device | |
CN106330786A (en) | MAC address synchronization method, apparatus and system | |
CN108243102A (en) | A kind of implementation method of quick heavy-route and PE equipment | |
CN107948042A (en) | A kind of message forwarding method and device | |
CN106789619A (en) | A kind of method for determining mapping server, routing node and autonomous system | |
CN107204924A (en) | Link discovery method and device | |
CN102571598B (en) | VRRP group flow synchronous switching method and route equipment | |
CN108111409A (en) | The method and apparatus for establishing disjoint paths | |
CN109412980B (en) | BRAS backup method and device | |
CN102136957B (en) | Label switched path monitoring realization method, device and system | |
CN102281158A (en) | Line fault processing method and device | |
CN104702693B (en) | The processing method and node of two node system subregions | |
CN102984062B (en) | The processing method of a kind of subnet route and message forwarding equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |