CN105703933B - Aggregated links restoration methods and device - Google Patents
Aggregated links restoration methods and device Download PDFInfo
- Publication number
- CN105703933B CN105703933B CN201410706845.2A CN201410706845A CN105703933B CN 105703933 B CN105703933 B CN 105703933B CN 201410706845 A CN201410706845 A CN 201410706845A CN 105703933 B CN105703933 B CN 105703933B
- Authority
- CN
- China
- Prior art keywords
- time
- equipment
- aggregated links
- main equipment
- system time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides aggregated links restoration methods and device, the method is applied on the main equipment in aggregation group, it include: to obtain aggregated links to restore message, restore message according to the aggregated links and carries out polymerization selection, polymerization active members are obtained after the polymerization selection, start the corresponding first timer of preset first time value, and will carry polymerization active members and the backup messages of the first system time be sent to from equipment, when first timer reaches value of preset first time, polymerization active members are sent to the data plane of main equipment.Therefore the present invention can guarantee main equipment and the system time synchronization from equipment, and error very little, can not only accelerate the convergence rate of aggregated links recovery, significantly shorten the convergence time that aggregated links is restored, and the convergence time is highly stable.
Description
Technical field
The present invention relates to network communication technology field more particularly to aggregated links restoration methods and devices.
Background technique
Port trunking condenses together multiple physics ethernet ports to form an aggregation group in logic, Ke Yishi
Existing flow is shared between member port each in aggregation group, to increase bandwidth.Under equipment stacking environment, port is used
Polymerization, can be after certain failure in virtual equipment, and guarantee business can continue to forward, and be grown so as to avoid business
Time interrupts, and realizes that the networking of high reliability guarantees.
In the prior art, stack equipment is polymerize with upstream device, and network flow will be shared on stack equipment, heap
Main equipment in stacking device completes the operation of control plane, and the slave equipment load traffic in stack equipment simultaneously carries out data surface turn
Hair.If in aggregated links wherein a link break down or stack equipment in one of device fails, flow
It will be sent in another equipment in stack equipment, ensure business not by sustained interruption.After above-mentioned Failure elimination, then need
Restore aggregated links corresponding to the failure so that network flow will share again main equipment in stack equipment and
From equipment.And the treatment process that above-mentioned aggregated links is restored is specific as follows:
(1) assume to recover from failure from equipment, then will notify main equipment from equipment, place aggregated links is
Restore.
(2) after main equipment receives aggregated links recovery message, it will operation polymerization selection logic carries out gravity treatment, and new is gathered
Close the data plane that active members are handed down to main equipment.
(3) main equipment sends backup messages simultaneously, and new polymerization active members are notified to from equipment;
(4) after receiving backup messages from equipment, new polymerization active members are also handed down to the data plane from equipment;
After the process that (1) to (4) describes is completed, link state can be only achieved again stable.
Wherein, the time value that service disconnection is caused in above-mentioned treatment process is that the main equipment change described from (2) step gathers
It closes active members port and changes polymerization active members port to the slave equipment that (4) step describes.
But above-mentioned aggregated links recovery is realized by the method that message backs up, and may result in biggish delay, then
In addition the congestion that message channel may occur, can cause message BACKUP TIME unstable, it also will increase the receipts of aggregated links recovery
Hold back the time.
Summary of the invention
The present invention provides configuration aggregated links restoration methods and device, to solve the side backed up in the prior art by message
Method is realized, be may result in biggish delay, along with the congestion that message channel may occur, can be caused message BACKUP TIME
It is unstable, also will increase aggregated links recovery convergence time the problem of.
In a first aspect, the method is applied to polymerization the embodiment of the invention provides a kind of aggregated links restoration methods
On main equipment in group, comprising:
It obtains aggregated links and restores message;
Restore message according to the aggregated links and carry out polymerization selection, obtains polymerization active members after the polymerization selection;
Start the corresponding first timer of preset first time value, and the polymerization active members and will be carried
The backup messages of one system time are sent to from equipment, so that described calculate the first system time and local the from equipment
The time difference of two system time obtains the second time value, and starting and institute according to the time difference and preset first time value
State the corresponding second timer of the second time value, wherein the first system time is the system time of main equipment, described
The two system time is the system time from equipment;
When first timer reaches value of the preset first time, the polymerization active members are sent to main equipment
Data plane.
Wherein, the aggregated links that the aggregated links restores that message is main equipment restores message or the aggregated links from equipment
Restore message.
Preferably, preset first time value is that main equipment is arranged jointly with from equipment.
In second aspect, the embodiment of the invention provides a kind of aggregated links restoration methods, the method is applied to polymerization
In slave equipment in group, comprising:
The backup messages of main equipment transmission are received, when the backup messages carry polymerization active members and the first system
Between, wherein the first system time is the system time of main equipment;
The time difference for calculating the first system time and local second system time according to the time difference and presets
First time value obtain the second time value, and start corresponding with second time value second timer, wherein second
System time is the system time from equipment.
When second timer reaches the second time value, the polymerization active members are sent to from the data of equipment and are put down
Face.
The above-mentioned time difference is the second system time to subtract the time value obtained after the first system time;Second time value is pre-
If first time value subtract the time value that the time difference obtains, wherein preset first time value be main equipment with it is total from equipment
With agreement.
In addition, the method also includes: before the backup messages for receiving main equipment transmission, when the polymeric chain where the equipment
When road is restored after breaking down, aggregated links is sent to main equipment and restores message.
In the third aspect, the embodiment of the invention provides a kind of aggregated links recovery device, described device is applied to polymerization
On main equipment in group, comprising:
Acquiring unit restores message for obtaining aggregated links;
It polymerize selecting unit, polymerization selection is carried out for restoring message according to the aggregated links, after the polymerization selection
Obtain polymerization active members;
Start unit for starting the corresponding first timer of preset first time value, and will carry described poly-
It closes active members and the backup messages of the first system time is sent to from equipment, so that described calculate the first system from equipment
The time difference of time and local second system time obtained for the second time according to the time difference and preset first time value
Value, and start corresponding with second time value second timer, wherein the first system time is that main equipment is
It unites the time, the second system time is the system time from equipment;
Transmission unit, for when first timer reach the preset first time value when, by the polymerization activity at
Member is sent to the data plane of main equipment.
Wherein, the aggregated links that the aggregated links restores that message is main equipment restores message or the aggregated links from equipment
Restore message, preset first time value is that main equipment is arranged jointly with from equipment.
In fourth aspect, the embodiment of the invention provides a kind of aggregated links recovery device, described device is applied to polymerization
In slave equipment in group, comprising:
Receiving unit, for receive main equipment transmission backup messages, the backup messages carry polymerization activity at
Member and the first system time, wherein the first system time is the system time of main equipment;
Computing unit, for calculating the time difference of the first system time and local second system time, according to institute
It states the time difference and preset first time value obtains the second time value, and it is fixed to start corresponding with second time value second
When device, wherein the second system time is the system time from equipment;
The polymerization active members are sent to from equipment by transmission unit when second timer reaches the second time value
Data plane.
Wherein, before above-mentioned transmission unit is also used to receive the backup messages of main equipment transmission, when poly- where equipment
When conjunction link restores after breaking down, aggregated links is sent to main equipment and restores message.
Aggregated links is obtained using main equipment of the embodiment of the present invention and restores message, and message is restored according to the aggregated links and is carried out
Polymerization selection obtains polymerization active members after the polymerization selection, and starts preset first time value corresponding first and determine
When device, and will carry polymerization active members and the backup messages of the first system time be sent to from equipment, received from equipment
After the backup messages that main equipment is sent, the time difference of the first system time and local second system time are calculated, when according to this
Between difference and preset first time value obtain the second time value, and start corresponding with second time value second timer,
When first timer reaches value of preset first time, active members will be polymerize and be sent to the data plane of main equipment, when the
When two timers reach the second time value, it is sent to the data plane from equipment from equipment by active members are polymerize, due to second
Time value is calculated according to value at the first time, so that first timer reaches second timer while value at the first time
Also the second time value is reached, so as to guarantee main equipment and from the system time synchronization of equipment, and error very little, not only may be used
To accelerate the convergence rate of aggregated links recovery, significantly shorten the convergence time that aggregated links is restored, and when the convergence
Between it is highly stable.
Detailed description of the invention
Fig. 1 is the application scenarios schematic diagram restored using aggregated links of the embodiment of the present invention;
Fig. 2 is one embodiment flow chart of aggregated links restoration methods of the present invention;
Fig. 3 is another embodiment flow chart of aggregated links restoration methods of the present invention;
Fig. 4 is the further embodiment flow chart of aggregated links restoration methods of the present invention;
Fig. 5 is a kind of hardware structure diagram of equipment where aggregated links restoration methods of the present invention;
Fig. 6 is one embodiment block diagram of aggregated links recovery device of the present invention;
Fig. 7 is another embodiment block diagram of aggregated links recovery device of the present invention.
Specific embodiment
Technical solution in embodiment in order to enable those skilled in the art to better understand the present invention, and make of the invention real
The above objects, features, and advantages for applying example can be more obvious and easy to understand, with reference to the accompanying drawing to technical side in the embodiment of the present invention
Case is described in further detail.
Referring to Fig. 1, the application scenarios schematic diagram restored for application aggregated links of the embodiment of the present invention:
The group-network construction of a kind of port trunking and equipment stacking is shown in Fig. 1.Wherein, stack equipment 11 includes main equipment
111 and from equipment 112, which is polymerize with upstream device 12, and network flow will share stack equipment
Two sub- equipment, that is, main equipments 111 and from equipment 112.Wherein, the operation for controlling plane is completed by main equipment 111, and from
112 load traffic of equipment carries out data surface forwarding.If wherein a link breaks down or stack equipment in aggregated links
In one of equipment break down when, then network flow will be sent in another equipment in stack equipment, to protect
Barrier business is not by sustained interruption.After above-mentioned Failure elimination, then need to restore aggregated links corresponding to the failure, so that net
Network flow will be shared again in two sub- equipment of stack equipment.
If break down in aggregated links from 112 place link of equipment or break down from equipment 112, network
Flow will be sent on the main equipment 111 in stack equipment, to ensure business not by sustained interruption.When above-mentioned Failure elimination
Afterwards, then need to restore the link where main equipment 111, so that two sons that network flow will share stack equipment again are set
Standby upper i.e. main equipment 111 and from equipment 112.
Equally, if in aggregated links 111 place link of main equipment break down or main equipment 111 break down when,
Then network flow will be sent in the slave equipment 112 in stack equipment, to ensure business not by sustained interruption.When above-mentioned event
After barrier is eliminated, then need to restore from the link where equipment 112, so that network flow will share the two of stack equipment again
It is main equipment 111 and from equipment 112 in a sub- equipment.
Therefore, after above-mentioned Failure elimination, need to restore aggregated links corresponding to the failure, this will cause the short time
Service disconnection, and the shorter the time of the service disconnection the better.But under stacked environment, when which restores
Convergence time depends primarily on main equipment and issues new polymerization active members and issue between new activity polymerization member from equipment
Time difference.The present invention is used main equipment and issues new polymerization active members from equipment and completed using designated time mode,
To guarantee main equipment and the system time synchronization from equipment, and error very little, it can not only accelerate aggregated links recovery
Convergence rate significantly shortens the convergence time that aggregated links is restored, and the convergence time is highly stable.
The embodiment of aggregated links restoration methods of the present invention is described in detail with reference to the accompanying drawing.
It referring to fig. 2, is one embodiment flow chart of aggregated links restoration methods of the present invention, the embodiment is from aggregation group
Main equipment side be described, comprising the following steps:
Step 210: main equipment obtains aggregated links and restores message.Wherein, aggregated links, which restores message, can be main equipment
Aggregated links restore message, be also possible to from the aggregated links of equipment restore message.
Specifically, if the aggregated links that aggregated links recovery message is main equipment restores message, show main equipment once
It once broke down through the link where failure or main equipment, main equipment restores normally, to need from above-mentioned failure at this time
Restore the link where main equipment, and network flow is shared to main equipment again and from equipment.
If it is when restoring message from the aggregated links of equipment, to show once to occur from equipment event that aggregated links, which restores message,
Barrier once broke down from the link where equipment, restored normal from above-mentioned failure from equipment at this time, need recovery from
Link where equipment then can restore message to main equipment transmission link from equipment.
Step 220: main equipment restores message according to the aggregated links of acquisition and carries out polymerization selection, after the polymerization selection
To polymerization active members.
Specifically, if the aggregated links that aggregated links recovery message is main equipment restores message, operation polymerization selection
Logic carries out polymerization selection, and obtains polymerization active members, which includes new polymerization active members, this is new
Polymerization active members are main equipment.
Specifically, if it is operation polymerization selection when restoring message from the aggregated links of equipment that aggregated links, which restores message,
Logic carries out polymerization selection, and obtains polymerization active members, which includes new polymerization active members, this is new
Polymerizeing active members is from equipment.
Step 230: main equipment starts the corresponding first timer of preset first time value, and will carry polymerization choosing
The polymerization active members and the backup messages of the first system time obtained after selecting are sent to from equipment, so as to calculate first from equipment
The time difference of system time and local second system time, when obtaining second according to the time difference and preset first time value
Between be worth, and start corresponding with the second time value second timer, wherein the first system time is the system time of main equipment
T1, that is, the present system time of main equipment, the second system time is the system time T2 from equipment, that is, is connect from equipment
System time after receiving backup messages.Wherein, preset first time value can be main equipment and arrange jointly from equipment.
Specifically, it is preset according to the actual situation to can be main equipment by preset first time value t1, and is set by master
It is standby and arrange its specific time value jointly from equipment.For example, preset first time value is 1 second, then first timer timing is 1
Second.Main equipment starts first timer, and the polymerization active members obtained after polymerization selection and the first system time are packaged into
One backup messages, and the backup messages are sent to from equipment.When the backup messages for receiving main equipment transmission from equipment
Afterwards, the time difference for calculating the first system time and local second system time, according to the time difference and preset first time
Value t1 obtains the second time value t2, and starts second timer corresponding with second time value, due to the second time value t2
It is to be calculated according to value t1 at the first time, second is fixed while so as to guarantee that first timer reaches value at the first time
When device also reach the second time value, and error very little.
In addition, the preset first time value t1 can also directly be preset by main equipment according to the actual situation, then will
The preset first time value is encapsulated in backup messages, and is sent to from equipment, so that obtaining from backup messages from equipment
It is worth at the first time.
Step 240: when first timer reaches value of preset first time, main equipment will obtain poly- after polymerization selection
Close the data plane that active members are sent to main equipment.
Specifically, if preset first time value t1 is 1 second, when first timer reaches 1 second, main equipment will gather
Close the data plane that the polymerization active members obtained after selection are sent to main equipment.
It is another embodiment flow chart of aggregated links restoration methods of the present invention referring to Fig. 3, the embodiment is from aggregation group
In slave equipment side be described, comprising the following steps:
Step 310: from equipment receive main equipment send backup messages, the backup messages carry polymerization activity at
Member and the first system time, wherein the first system time is the system time T1 of main equipment.
Step 320: the time difference Δ t of the first system time T1 and local second system time T2, root are calculated from equipment
The second time value t2 is obtained according to time difference Δ t and preset first time value t1, and is started and the second time value t2 phase
Corresponding second timer, wherein second system time T2 is the system time from equipment, that is, the system current from equipment
Time.
Specifically, the calculating process of the time difference Δ t of the first system time T1 and local second system time T2 are calculated
As shown in formula (1), the formula (1) is as follows:
Δ t=T2-T1 formula (1)
In addition, obtaining the calculating process of the second time value t2 such as according to time difference Δ t and preset first time value t1
Shown in formula (2), the formula (2) is as follows:
T2=t1- Δ t formula (2)
Wherein, it is preset according to the actual situation to can be main equipment by preset first time value t1, and by main equipment
With arrange its specific time value jointly from equipment.For example, t1 is 1 second.
In addition, the preset first time value t1 can also directly be preset by main equipment according to the actual situation, then will
The preset first time value is encapsulated in backup messages, and is sent to from equipment, so that obtaining from backup messages from equipment
The preset first time value t1.
Step 330: when second timer reaches the second time value, the polymerization activity that will be received from equipment from main equipment
Member is sent to the data plane from equipment.
Preferably, when restoring after breaking down from aggregated links where equipment, aggregated links restoration methods of the present invention are also
It include: to send aggregated links to main equipment from equipment before step 310 to restore message.The aggregated links restore message show from
Equipment once breaks down or once broke down from the link where equipment, restores just from above-mentioned failure from equipment at this time
Often, it needs to restore the link from where equipment.
It referring to fig. 4, is the further embodiment flow chart of aggregated links restoration methods of the present invention, the embodiment is with from equipment
It is described for recovering in failure, and from the main equipment in aggregation group and from equipment two sides, comprising the following steps:
Step 410: sending aggregated links to main equipment from equipment and restore message.
Step 420: after main equipment is according to aggregated links recovery message is received, operation polymerization selection logic carries out gravity treatment,
Polymerization active members are obtained, which is new polymerization active members.
Step 430: main equipment starts 1 second timer, and by the present system time of main equipment and new polymerization
Active members are packaged into a backup messages.Wherein, it is main equipment within 1 second and arranges jointly from equipment.
Step 440: backup messages are sent to from equipment by main equipment.
Step 450: after 1 second timer expiry, new polymerization active members are handed down to the number of main equipment by main equipment
According to plane.
Step 460: receiving backup messages from equipment, subtracted in backup messages using from the present system time of equipment
It is t seconds that the system time of main equipment, which obtains time interval, then starts the timer of (1-t) second from equipment.
Step 470:, also will be under new polymerization active members from equipment after from the timer expiry of (1-t) second of equipment
Issue the data plane from equipment.
After the completion of above-mentioned steps 410 to step 470 process, aggregated links can reach new steady s tate.
Therefore, aggregated links restoration methods provided in an embodiment of the present invention ensure that main equipment under based on stacked environment
It is synchronous, and error very little with the system time from equipment, the convergence time of polymerization not only can be increased substantially,
And convergence time is highly stable.Wherein, convergence time depends primarily on main equipment and the mistake from the time synchronization between equipment
Difference.
Corresponding with aforementioned polymeric link restoring method embodiment, the present invention also provides the realities of aggregated links recovery device
Apply example.
The embodiment of aggregated links recovery device provided by the invention can be applied in stack device.Installation practice can
Can also be realized by way of hardware or software and hardware combining by software realization.Taking software implementation as an example, as one
Device on logical meaning is to be referred to computer program corresponding in nonvolatile memory by the processor of equipment where it
It enables and is read into memory what operation was formed.For hardware view, as shown in figure 5, for aggregated links recovery device institute of the present invention
In a kind of hardware structure diagram of equipment, in addition to processor shown in fig. 5, network interface, memory and nonvolatile memory it
Outside, the equipment in embodiment where device can also include usually other hardware, such as be responsible for the forwarding chip of processing message;
The equipment is also possible to be distributed equipment from hardware configuration, may include multiple interface cards, so as in hardware view
Carry out the extension of Message processing.
It is one embodiment block diagram of aggregated links recovery device of the present invention referring to Fig. 6.As shown, the aggregated links
Recovery device is used to execute aggregated links restoration methods provided by Fig. 2 and Fig. 4, and on the main equipment being applied in aggregation group.
Described device includes: acquiring unit 61, polymerization selecting unit 62, start unit 63 and transmission unit 64.
Acquiring unit 61 restores message for obtaining aggregated links.
Polymerization selecting unit 62 is used to restore according to the aggregated links message and carries out polymerization selection, after the polymerization selection
Polymerization active members are obtained, which includes new polymerization active members.
Start unit 63 will carry described poly- for starting the corresponding first timer of preset first time value
It closes active members and the backup messages of the first system time is sent to from equipment, so that described calculate the first system from equipment
The time difference of time and local second system time obtained for the second time according to the time difference and preset first time value
Value, and start corresponding with second time value second timer, wherein the first system time is that main equipment is
It unites the time, the second system time is the system time from equipment.
Transmission unit 64 be used for when first timer reach the preset first time value when, by the polymerization activity at
Member is sent to the data plane of main equipment.
Wherein, above-mentioned aggregated links restores message and can be the aggregated links of main equipment to restore message, is also possible to from setting
Standby aggregated links restores message.
In addition, preset first time value can be 1 second, it is also possible to other time values.The time value can be by
Main equipment and arrange jointly from equipment.
It is another embodiment block diagram of aggregated links recovery device of the present invention referring to Fig. 7.As shown, the polymeric chain
Road recovery device is for executing aggregated links restoration methods provided by Fig. 3 and Fig. 4, and the slave equipment being applied in aggregation group
On.Described device includes: receiving unit 71, computing unit 72 and transmission unit 73.
Receiving unit 71 be used for receive main equipment transmission backup messages, the backup messages carry polymerization activity at
Member and the first system time, wherein the first system time is the system time of main equipment.The polymerization active members include new
Polymerization active members.
Computing unit 72 is used to calculate the time difference of the first system time and local second system time, according to institute
It states the time difference and preset first time value obtains the second time value, and it is fixed to start corresponding with second time value second
When device, wherein the second system time is the system time from equipment.
Wherein, the above-mentioned time difference can subtract the time value obtained after the first system time for the second system time;Second
Time value can subtract the time value obtained the time difference for preset first time value.
In addition, preset first time value is 1 second, it is also possible to other time values.The time value can be to be set by master
It is standby and arrange jointly from equipment.
The polymerization active members are sent to from equipment by transmission unit 73 when second timer reaches the second time value
Data plane.
Preferably, when transmission unit 73 is also used to restore after breaking down from aggregated links where equipment, to main equipment
It sends aggregated links and restores message.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize the present invention program.Those of ordinary skill in the art are not paying
Out in the case where creative work, it can understand and implement.
As seen from the above-described embodiment, aggregated links recovery device provided by the invention, can be using main equipment and from equipment
It issues new polymerization active members to complete using designated time mode, to guarantee that main equipment and system time from equipment are same
Step, and error very little can not only accelerate the convergence rate of aggregated links recovery, significantly shorten what aggregated links was restored
Convergence time, and the convergence time is highly stable.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
Claims (10)
1. a kind of aggregated links restoration methods, which is characterized in that the method is applied on the main equipment in aggregation group, comprising:
It obtains aggregated links and restores message;
Restore message according to the aggregated links and carry out polymerization selection, obtains polymerization active members after the polymerization selection;
Start the corresponding first timer of preset first time value, and the polymerization active members and the first system will be carried
The backup messages of system time are sent to from equipment, so that described calculate the first system time and the second local system from equipment
It unites time difference of time, preset first time value is subtracted into time difference and obtains the second time value, and start and described the
The corresponding second timer of two time values, wherein the first system time is the system time of main equipment, second system
The system time is the system time from equipment;
When first timer reaches value of the preset first time, the polymerization active members are sent to the number of main equipment
According to plane.
2. the method according to claim 1, wherein the aggregated links restores the polymeric chain that message is main equipment
Restore message or restore message from the aggregated links of equipment in road.
3. method according to claim 1 or 2, which is characterized in that the preset first time value be main equipment with from
What equipment was arranged jointly.
4. a kind of aggregated links restoration methods, which is characterized in that the method is applied in the slave equipment in aggregation group, comprising:
The backup messages of main equipment transmission are received, the backup messages carry polymerization active members and the first system time,
Wherein, the first system time is the system time of main equipment;
The time difference for calculating the first system time and local second system time, preset first time value is subtracted into institute
The second time value of time difference acquisition is stated, and starts second timer corresponding with second time value, wherein second system
Time is the system time from equipment;
When second timer reaches the second time value, the polymerization active members are sent to the data plane from equipment.
5. according to the method described in claim 4, it is characterized in that, it is described receive main equipment transmission backup messages before,
Further include:
When restoring after breaking down from aggregated links where equipment, aggregated links is sent to main equipment and restores message.
6. method according to claim 4 or 5, which is characterized in that the time difference is the second system time to subtract first
The time value obtained after system time;Second time value be preset first time value subtract that the time difference obtains when
Between be worth, wherein the preset first time value is that main equipment is arranged jointly with from equipment.
7. a kind of aggregated links recovery device, which is characterized in that described device is applied on the main equipment in aggregation group, comprising:
Acquiring unit restores message for obtaining aggregated links;
It polymerize selecting unit, carries out polymerization selection for restoring message according to the aggregated links, obtained after the polymerization selection
It polymerize active members;
Start unit for starting the corresponding first timer of preset first time value, and will carry the polymerization and live
Dynamic member and the backup messages of the first system time are sent to from equipment, so that described calculate the first system time from equipment
With the time difference of local second system time, preset first time value is subtracted into the second time value of the time difference acquisition,
And start second timer corresponding with second time value, wherein the first system time is the system of main equipment
Time, the second system time are the system times from equipment;
Transmission unit, for when first timer reaches value of the preset first time, the polymerization active members to be sent out
Give the data plane of main equipment.
8. device according to claim 7, which is characterized in that the aggregated links restores the polymeric chain that message is main equipment
Road restores message or restores message from the aggregated links of equipment, the preset first time value be main equipment with it is common from equipment
Agreement.
9. a kind of aggregated links recovery device, which is characterized in that described device is applied in the slave equipment in aggregation group, comprising:
Receiving unit, for receive main equipment transmission backup messages, the backup messages carry polymerization active members and
The first system time, wherein the first system time is the system time of main equipment;
Computing unit, for calculating the time difference of the first system time and local second system time, by preset the
One time value subtracts the second time value of the time difference acquisition, and starts the second timing corresponding with second time value
Device, wherein the second system time is the system time from equipment;
The polymerization active members are sent to the number from equipment when second timer reaches the second time value by transmission unit
According to plane.
10. device according to claim 9, which is characterized in that the transmission unit is also used to receive main equipment transmission
Backup messages before, when restoring after the aggregated links where the equipment breaks down, send aggregated links to main equipment and restore
Message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410706845.2A CN105703933B (en) | 2014-11-27 | 2014-11-27 | Aggregated links restoration methods and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410706845.2A CN105703933B (en) | 2014-11-27 | 2014-11-27 | Aggregated links restoration methods and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105703933A CN105703933A (en) | 2016-06-22 |
CN105703933B true CN105703933B (en) | 2019-03-15 |
Family
ID=56230816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410706845.2A Active CN105703933B (en) | 2014-11-27 | 2014-11-27 | Aggregated links restoration methods and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105703933B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109120392A (en) * | 2017-06-22 | 2019-01-01 | 中兴通讯股份有限公司 | Time translation method and device, equipment, storage medium, processor |
CN107678764B (en) * | 2017-09-30 | 2020-09-08 | 杭州迪普科技股份有限公司 | Method and device for upgrading VSM system based on ISSU |
CN110278094B (en) * | 2018-03-13 | 2022-09-27 | 中兴通讯股份有限公司 | Link recovery method, device, system, storage medium and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101094157A (en) * | 2007-08-20 | 2007-12-26 | 中兴通讯股份有限公司 | Method for implementing network interconnection by using link aggregation |
CN101945042A (en) * | 2010-09-03 | 2011-01-12 | 中兴通讯股份有限公司 | Method and equipment for link aggregation |
CN103188172A (en) * | 2011-12-28 | 2013-07-03 | 中兴通讯股份有限公司 | Link aggregation abnormity recovery method and exchange equipment |
CN103581057A (en) * | 2012-07-24 | 2014-02-12 | 中兴通讯股份有限公司 | Message control method, system and nodes in aggregation link switching |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7835291B2 (en) * | 2006-10-17 | 2010-11-16 | Verizon Patent And Licensing Inc. | Disabled state and state signaling for link aggregation |
US20140192635A1 (en) * | 2013-01-04 | 2014-07-10 | International Business Machines Corporation | Start-up delay for event-driven virtual link aggregation |
-
2014
- 2014-11-27 CN CN201410706845.2A patent/CN105703933B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101094157A (en) * | 2007-08-20 | 2007-12-26 | 中兴通讯股份有限公司 | Method for implementing network interconnection by using link aggregation |
CN101945042A (en) * | 2010-09-03 | 2011-01-12 | 中兴通讯股份有限公司 | Method and equipment for link aggregation |
CN103188172A (en) * | 2011-12-28 | 2013-07-03 | 中兴通讯股份有限公司 | Link aggregation abnormity recovery method and exchange equipment |
CN103581057A (en) * | 2012-07-24 | 2014-02-12 | 中兴通讯股份有限公司 | Message control method, system and nodes in aggregation link switching |
Also Published As
Publication number | Publication date |
---|---|
CN105703933A (en) | 2016-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9160618B2 (en) | Active IP forwarding in an event driven virtual link aggregation (vLAG) system | |
US10530636B2 (en) | Link management method, device and system in virtual machine environment | |
CN108512751B (en) | Port state processing method and network equipment | |
WO2020224237A1 (en) | Blockchain consensus method, apparatus, device and storage medium | |
CN105703933B (en) | Aggregated links restoration methods and device | |
CN103973560A (en) | Device and method for fault treatment of stack links in IRF (intelligent resilient framework) system | |
CN109245926A (en) | Intelligent network adapter, intelligent network adapter system and control method | |
WO2016101825A1 (en) | Method and apparatus for hot standby of controllers in distributed protection | |
WO2016095344A1 (en) | Link switching method and device, and line card | |
CN109218232A (en) | A kind of method that realizing Mux machine, equipment and system | |
EP2938024A1 (en) | Control method and execution method for network transaction, network controller and forwarding device | |
EP3048761B1 (en) | Control method and device for self-loopback of network data | |
WO2017000096A1 (en) | Link recovery method and network device | |
US7724654B2 (en) | Method for synchronized trunk failover and failback in a FC-AL switching environment | |
CN103780472A (en) | Selected port management method and device of aggregate port group | |
CN103414591B (en) | Method for rapidly converging when a kind of port failure recovers and system | |
CN104821889A (en) | Backup packet processing method and device | |
CN103873294A (en) | Keep-alive method and device for PPP (Point-to-Point Protocol) link during ISSU (In Service Software Upgrade) process | |
CN106874150A (en) | A kind of virtual machine High Availabitity disaster recovery method and its system | |
US20140211663A1 (en) | Spanning tree protocol (stp) implementation on an event driven virtual link aggregation (vlag) system | |
CN105721234B (en) | Port convergence method and device | |
Bruno et al. | RIC-O: An Orchestrator for the Dynamic Placement of a Disaggregated RAN Intelligent Controller | |
WO2016061992A1 (en) | Service transmission method and device | |
CN106411539B (en) | The method, apparatus and system of service protection in a kind of multitiered network | |
CN106972951B (en) | A kind of automatic maintenance implementation method based on multiple related function module abnormality detections |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building Applicant after: Hangzhou Dipu Polytron Technologies Inc Address before: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building Applicant before: Hangzhou Dipu Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |