CN106953760A - A kind of backup method and device - Google Patents

A kind of backup method and device Download PDF

Info

Publication number
CN106953760A
CN106953760A CN201710184740.9A CN201710184740A CN106953760A CN 106953760 A CN106953760 A CN 106953760A CN 201710184740 A CN201710184740 A CN 201710184740A CN 106953760 A CN106953760 A CN 106953760A
Authority
CN
China
Prior art keywords
equipment
backup
domain
working equipment
working
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710184740.9A
Other languages
Chinese (zh)
Inventor
孟丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201710184740.9A priority Critical patent/CN106953760A/en
Publication of CN106953760A publication Critical patent/CN106953760A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Abstract

The present invention provides a kind of backup method and device, applied to the controller in network, and the network also includes a redundance unit and at least two working equipments, and this method includes:Generate the information for the end to end logic box being made up of at least two working equipments;Divide any two neighboring working equipment on logic box and belong to same backup domain;Hot standby configuration information is sent to working equipment, it is host apparatus that the hot standby configuration information, which is used for configuration work equipment in its affiliated first backup domain, it is stand-by equipment in its affiliated second backup domain, simultaneously, in two working equipments for belonging to same backup domain, one working equipment is host apparatus, and another working equipment is stand-by equipment;When detecting the working equipment broken down, redundance unit is added to the working equipment participation backup for replacing and breaking down in logic box.The present invention realizes the balanced backup of each equipment in network, meanwhile, improve the scalability of network.

Description

A kind of backup method and device
Technical field
The present invention relates to network communication technology field, more particularly to a kind of backup method and device.
Background technology
In N:In 1 backup network, frequently with an independent redundance unit (being used as stand-by equipment), to N platforms carrying user's stream The working equipment (being used as host apparatus) of amount is backed up, and redundance unit needs to preserve the real-time session of N platform working equipments simultaneously Information, so as to which when perceiving working equipment failure, active-standby switch is carried out in time, shortens the break period of customer flow.
The N:The backup pressure of 1 backup network is all concentrated on redundance unit, the hardware configuration requirement to redundance unit It is higher, for example, there are enough memory sizes to preserve the session information of N platform working equipments, to have at enough CPU disposal abilities Manage the session synchronization message of N platform working equipments.
The content of the invention
It is an object of the invention to provide a kind of backup method and device, to balanced backup pressure, reduction is set to redundancy Standby hardware configuration requirement.
For achieving the above object, the invention provides following technical scheme:
The present invention provides a kind of backup method, and applied to the controller in network, the network is also set including a redundancy Standby and at least two working equipments, methods described includes:
Generate the information for the end to end logic box being made up of at least two working equipment;
Divide any two neighboring working equipment on the logic box and belong to same backup domain;
Hot standby configuration information is sent to the working equipment, the hot standby configuration information exists for configuring the working equipment It is host apparatus in its affiliated first backup domain, is stand-by equipment in its affiliated second backup domain, meanwhile, belong to same backup In two working equipments in domain, a working equipment is host apparatus, and another working equipment is stand-by equipment;
When detecting the working equipment broken down, the redundance unit is added in logic box and replaces the hair The working equipment of raw failure participates in backup.
The present invention also provides a kind of back-up device, applied to the controller in network, and the network also includes a redundancy Equipment and at least two working equipments, described device include:
Generation unit, the information for generating the end to end logic box being made up of at least two working equipment;
Division unit, belongs to same backup domain for dividing any two neighboring working equipment on the logic box;
Transmitting element, for sending hot standby configuration information to the working equipment, the hot standby configuration information is used to configure The working equipment is host apparatus in its affiliated first backup domain, is stand-by equipment in its affiliated second backup domain, together When, in two working equipments for belonging to same backup domain, a working equipment is host apparatus, and another working equipment sets to be standby It is standby;
Trouble unit, for when detecting the working equipment broken down, the redundance unit to be added into logic box In replace the working equipment broken down and participate in backup.
In the present invention it can be seen from above description, controller is end to end by each working equipment composition one in network Logic box, then by arbitrary neighborhood working equipment in logic box be divided into one backup domain, that is to say, that a working equipment can Two adjacent working equipments constitute two backup domains with before and after it, and controller configures the work by issuing hot standby configuration information Make host apparatus of the equipment as affiliated one backup domain, while the stand-by equipment that another backs up domain belonging to, the work Stand-by equipment backed up in synchronization information of the equipment as the host apparatus in a backup domain into the backup domain, meanwhile, the work is set The standby stand-by equipment as another backup domain receives the synchronous backup information of host apparatus in the backup domain.It can be seen that, the present invention In each working equipment be as host apparatus again as another host apparatus adjacent with oneself stand-by equipment so that Reach the purpose of balanced backup.In above-mentioned backup procedure, redundance unit is not engaged in backup, only when a certain work in logic box When making equipment fault, the working equipment broken down is just replaced with redundance unit, adds and backup is participated in logic box, therefore, The present invention is less demanding to the hardware configuration of redundance unit, as long as the hardware configuration of the redundance unit is met, backup one is primary to be set Standby backup information.Simultaneously as the present invention possesses balanced backup capabilities, backup pressure no longer converges so that The scalability lifting of whole network.
Brief description of the drawings
Fig. 1 is a kind of backup method flow chart shown in the embodiment of the present invention;
Fig. 2 is a kind of N shown in the embodiment of the present invention:1 network diagram;
Fig. 3 is N shown in Fig. 2:A kind of backup domain of 1 network divides schematic diagram;
Fig. 4 is N shown in Fig. 2:A kind of active and standby configuration result schematic diagram of 1 network;
Fig. 5 is N shown in Fig. 2:Another active and standby configuration result schematic diagram of 1 network;
Fig. 6 is N shown in Fig. 2:Another active and standby configuration result schematic diagram of 1 network;
Fig. 7 is N shown in Fig. 2:N after a kind of fault recovery of 1 network:1 network diagram;
Fig. 8 is another N shown in the embodiment of the present invention:1 network diagram;
Fig. 9 is N shown in Fig. 8:A kind of backup domain of 1 network divides schematic diagram;
Figure 10 is N shown in Fig. 8:A kind of active and standby configuration result schematic diagram of 1 network;
Figure 11 is N shown in Fig. 8:Another active and standby configuration result schematic diagram of 1 network;
Figure 12 is N shown in Fig. 8:Another active and standby configuration result schematic diagram of 1 network;
Figure 13 is N shown in Fig. 8:N after a kind of fault recovery of 1 network:1 network diagram;
Figure 14 is the structural representation of the controller shown in the embodiment of the present invention;
Figure 15 is a kind of structural representation of back-up device shown in the embodiment of the present invention.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the present invention.
It is the purpose only merely for description specific embodiment in terminology used in the present invention, and is not intended to be limiting the present invention. " one kind ", " described " and "the" of singulative used in the present invention and appended claims are also intended to including majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrapped It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the present invention A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from In the case of the scope of the invention, the first information can also be referred to as the second information, similarly, and the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
Embodiment one
Invention introduces SDN (Software Defined Networks, software defined network) controller, control is utilized The centralized management ability of device processed, to N:Each equipment (including working equipment and redundance unit) is monitored and managed in 1 network. On the basis of the network architecture, the present invention proposes a kind of backup method, and this method is by controller by each working equipment group in network A backup domain is divided into an end to end logic box, and by arbitrary neighborhood working equipment in logic box, by issuing Hot standby configuration information, configuration work equipment is its affiliated one host apparatus for backing up domain, while another backup belonging to it The stand-by equipment in domain.When a certain working equipment failure, the working equipment for replacing failure using redundance unit participates in backing up.
It is one embodiment flow chart of backup method of the present invention, the embodiment is from controller side to backing up referring to Fig. 1 Journey is described.
Step 101, the information for the end to end logic box that generation is made up of at least two working equipment.
It is N referring to Fig. 2:1 network diagram, and controller (not shown) has been directed to the N:What 1 network was generated patrols Ring is collected to show.Between device A~equipment F two layers it is reachable, and set up management passage with controller respectively.Wherein, device A~ Equipment E is working equipment, for carrying customer flow;Equipment F is redundance unit, is not involved in the forwarding of any customer flow.Make For a kind of embodiment, working equipment can be linked to be logic box, for example, in N by controller according to the reaching the standard grade order of working equipment:1 During network initial launch, controller presets on-line time threshold value, and N is recorded in the on-line time threshold value:Working equipment in 1 network Reach the standard grade order, if in default on-line time threshold value, device A as shown in Figure 2~equipment E reaches the standard grade successively, then controller will Device A~equipment E is linked to be logic box end to end shown in Fig. 2, generates the relevant information of logic box, and designated equipment F is superfluous Remaining equipment.Wherein, the information of logic box includes the device identification of working equipment, on-line time of working equipment etc..Can root Two equipment adjacent in logic box are determined according to the on-line time of working equipment.
Step 102, divide any two neighboring working equipment on the logic box and belong to same backup domain.
Referring to Fig. 3, example is divided for backup domain.Two working equipments of arbitrary neighborhood are divided into a backup by controller Domain, for example, device A is adjacent with equipment B, divides device A and belongs to backup domain 1 with equipment B;Equipment B is adjacent with equipment C, and division is set Standby B and equipment C belongs to backup domain 2;By that analogy.According to the division principle, each working equipment belongs to two backups simultaneously Domain, for example, equipment B both belongs to backup domain 1, belongs to backup domain 2 again;Equipment C both belongs to backup domain 2, and backup domain 3 is belonged to again.
Step 103, hot standby configuration information is sent to the working equipment.
In this step, controller is set using the interaction protocol (for example, Netconf agreements) between working equipment to work Preparation send hot standby configuration information, and the hot standby configuration information is used for configuration work equipment in its affiliated first backup domain as primary Equipment, as stand-by equipment in its affiliated second backup domain, wherein, the first backup domain and the second backup domain are used to distinguish work Two different backup domains belonging to equipment.In addition, it is ensured that in two working equipments for belonging to same backup domain, a work Make equipment for host apparatus, another working equipment is that the host apparatus in stand-by equipment, same backup domain is same to stand-by equipment Walk backup information.Wherein, host apparatus can be with predetermined period to stand-by equipment backed up in synchronization information.
For example, so that controller sends hot standby configuration information to device A as an example, controller configuration facility A is affiliated standby The host apparatus in part domain 1, is the stand-by equipment in affiliated backup domain 5;Similarly, configuration equipment B sets for affiliated backup the standby of domain 1 It is standby, it is the host apparatus in affiliated backup domain 2, backup information of the device A into equipment B backed up in synchronization domain 1.Set to all working Standby progress, which is matched somebody with somebody, to be postponed, the active and standby configuration result of each working equipment, as shown in Figure 4.Wherein, " ★ " represents working equipment in its institute It is host apparatus in category backup domain, it is stand-by equipment that " ■ ", which represents working equipment in backup domain belonging to it,.
Complete above-mentioned with postponing, controller starts backing up in realtime for each backup domain, for example, in backup domain 1, device A The backup information in domain 1 is backed up to equipment B real-time synchronizations as host apparatus;In backup domain 2, equipment B is used as host apparatus The backup information in domain 2 is backed up to equipment C real-time synchronizations;By that analogy, the purpose of balanced backup is reached.
It should be added that, on logic box in each working equipment normal course of operation, if there is new working equipment Reach the standard grade, the working equipment that this is newly reached the standard grade can be added in logic box.
As one embodiment, the working equipment newly reached the standard grade can be added to the work that last in current logic ring is reached the standard grade Make equipment.Still by taking Fig. 4 as an example, the working equipment that last in current logic ring is reached the standard grade is equipment E, by the work newly reached the standard grade Equipment W (not shown in Fig. 4) is designated as equipment, hot standby configuration information is sent to equipment W, configuration equipment W is standby for backup domain 5 Equipment, while being the host apparatus of newly-built backup domain 6 (not shown in Fig. 4), notifies that device A is updated to backup the standby of domain 6 and set It is standby.In backup domain 5, backup informations of the equipment E as host apparatus into equipment W backed up in synchronization domain 5, in backup domain 6, if Standby backup informations of the W as host apparatus into device A backed up in synchronization domain 6.During equipment W is added, equipment E is not influenceed It is used as the normal work of the host apparatus in backup domain 5.
Step 104, when detecting the working equipment broken down, the generation event is replaced using the redundance unit The working equipment of barrier, which is added in logic box, participates in backup.
It can be drawn from the description of 101~step 103 of above-mentioned steps, the present invention is in all working equipment normal operation In the case of, redundance unit needs not participate in backup procedure.
When the working equipment on logic box breaks down, the working equipment of the failure can cause the network that controller is collected Topology changes, the working equipment that controller determines to break down according to the change of network topology, and then utilizes redundance unit Go to replace the working equipment broken down in logic box.
Specific replacement process is, it is determined that backup domain belonging to the working equipment broken down, notifies the working equipment of the failure The stand-by equipment of affiliated first backup domain (as it was previously stated, fail operation equipment is the host apparatus in the first backup domain) is updated to this The host apparatus in the first backup domain, meanwhile, hot standby configuration information is sent to redundance unit, the hot standby configuration information is used to configure superfluous Remaining equipment is the stand-by equipment in the first backup domain belonging to fail operation equipment, and configuring redundancy equipment is the belonging to fail operation equipment The stand-by equipment in two backup domains.Finally, the host apparatus in the current affiliated backup domain of the redundance unit is notified, it is same to the redundance unit Walk all backup informations.
Referring to Fig. 4, so that equipment D breaks down as an example, controller detects equipment D and broken down, and determines standby belonging to equipment D Backup domain 3 is in part domain and backs up domain 4, wherein, equipment D is the host apparatus in backup domain 4, in order to ensure that backup domain 4 can be normal Work, controller carries out masterslave switchover, and more new equipment E is the host apparatus in backup domain 4;Further, since backup the primary of domain 3 is set Standby is equipment C, therefore, and equipment D failure wouldn't influence to back up the work in domain 3.Then, controller sends hot standby match somebody with somebody to equipment F Confidence ceases, and configuration equipment F is the stand-by equipment in backup domain 4, and configuration equipment F is the stand-by equipment in backup domain 3, and configuration result is as schemed Shown in 5.Controller notifies backup informations of the equipment C (host apparatus in backup domain 3) into equipment F backed up in synchronization domain 3, notifies Backup informations of the equipment E (host apparatus in backup domain 4) into equipment F backed up in synchronization domain 4.So far, equipment F replacements are completed to set Standby D, which is added in logic box, participates in backup.
As it was previously stated, redundance unit is that two be added to the identity of stand-by equipment belonging to the working equipment of cause barrier are standby In part domain, now, redundance unit carries the back-up jobs in two backup domains, relative to other working equipments on logic box Backup pressure is larger.Therefore, controller of the present invention notifies the first backup domain (working equipment institute that i.e. cause hinders belonging to redundance unit First backup domain of category) host apparatus be updated to stand-by equipment, meanwhile, notify that redundance unit is updated to the first backup domain Host apparatus, with the backup pressure on logic of Equilibrium ring again.Referring to Fig. 5, equipment E (the current backup domains in backup domain 4 are notified 4 host apparatus) stand-by equipment is updated to, notify that equipment F (redundance unit) is updated to back up domain from the stand-by equipment in backup domain 4 4 host apparatus, the active and standby configuration result after renewal is as shown in fig. 6, the logic box reaches that backup is balanced again.
For the working equipment of failure, it can be used after recovering normal as new redundance unit, as shown in fig. 7, equipment D (working equipment of cause barrier) is used as the redundance unit of the network.
It can be drawn from foregoing description, in the present invention, each working equipment was not only set as host apparatus but also as standby It is standby, itself work requirements is met as host apparatus, the work with the host apparatus of its Logic adjacent is backed up as stand-by equipment Information;And N:Redundance unit in 1 network only need to be when there is failure in network, and the working equipment for replacing failure participates in logic In the backup of ring, the redundance unit need to only possess the hardware configuration of common working equipment, simultaneously as redundance unit is no longer Undertake the backup pressure of the whole network, therefore, N:The scalability of 1 network is no longer limited.
On the basis of above-described embodiment, controller can be by the information of logic box and hot standby information Store to database In, database can also be separately positioned in single equipment within one device, this is not limited with controller It is fixed.When host apparatus breaks down, hot standby information can be sent into redundance unit, so as to improve the automatic recovery of network Ability.
Embodiment two:
Now still with N shown in Fig. 2:Exemplified by 1 network, backup procedure is discussed in detail.
Now with the N:1 network application is exemplified by data center, and device A~equipment F is Bras (Broadband Remote Access Server, Broadband Remote Access Server) equipment, during normal work, Bras equipment be responsible for user access authentication, Flow is forwarded.As shown in Fig. 2 controller designated equipment A~equipment E is working equipment, carrying user authentication and flow forwarding work Make;Equipment F is redundance unit, is not involved in user authentication and flow forwarding.Device A~equipment E reaches the standard grade successively, and controller is according to upper Line is sequentially generated logic box end to end shown in Fig. 2.
Referring to Fig. 3, controller divides device A and equipment B belongs to backup domain 1;Equipment B and equipment C belong to backup domain 2;If Standby C and equipment D belongs to backup domain 3;Equipment D and equipment E belong to backup domain 4;Equipment E and device A belong to backup domain 5.
Referring to Fig. 4, hot standby configuration information is issued to each working equipment.Host apparatus of the device A for backup domain 1 is configured, To back up the stand-by equipment in domain 5;Stand-by equipments of the equipment B for backup domain 1 is configured, to back up the host apparatus in domain 2;Configure equipment C is backs up the stand-by equipment in domain 2, to back up the host apparatus in domain 3;Stand-by equipments of the equipment D for backup domain 3 is configured, for backup The host apparatus in domain 4;Stand-by equipments of the equipment E for backup domain 4 is configured, to back up the host apparatus in domain 5.
Data center generally all disposes entrance shunting device (not shown), and controller passes through under inlet distribution equipment Carry out the coffin upon burial stream configuration, customer flow is drained into some backup domain, for example, the use that configuration is received from inlet distribution equipment interface 1 Family flow is drained into backup domain 1, and the customer flow received from interface 2 is drained into backup domain 2, by that analogy.To back up domain 1 Exemplified by, the host apparatus device A in backup domain 1 is responsible for that the customer flow for draining into backup domain 1 is authenticated and forwarded, and will be raw Into the information back-up such as session entry to stand-by equipment equipment B.The processing mode in other backup domains is identical, will not be repeated here. By above-mentioned backup procedure, the balanced backup between each working equipment is reached.
Controller constantly detects the working condition of each working equipment, when some working equipment failure, is located as follows Reason:
So that equipment D breaks down as an example, controller determines backup domain belonging to equipment D to back up domain 3 and backup domain 4 first, And equipment D is the host apparatus in backup domain 4, in order to ensure to back up the normal work of domain 4, the stand-by equipment equipment E in domain 4 will be backed up more It is newly host apparatus, the customer flow in backup domain 4 is drained into for handling.Controller carries out hot standby configuration to equipment F, with installing Standby F is the stand-by equipment in backup domain 4, while being the stand-by equipment in backup domain 3, configuration result is as shown in Figure 5.Controller notifies to set Session entry of the standby C (host apparatus in backup domain 3) into equipment F backed up in synchronization domain 3, meanwhile, notify equipment E (backup domains 4 In host apparatus) session entry into equipment F backed up in synchronization domain 4.
As shown in Figure 5, now equipment E is used as the host apparatus in two backup domains (backup domain 4 and backup domain 5), its work Pressure is larger, in order that each equipment reaches a kind of equilibrium state again on logic box, controller notifies the equipment E in backup domain 4 (host apparatus in current backup domain 4) is updated to stand-by equipment, notifies equipment F (redundance unit) from the stand-by equipment in backup domain 4 It is updated to back up the host apparatus in domain 4, the active and standby configuration result after renewal by equipment F processing as shown in fig. 6, now, drained into Back up each equipment on the customer flow in domain 4, logic box and be in a kind of balanced operation state.
In addition, for the equipment D of failure, can be used after recovering normal as new redundance unit, as shown in Figure 7.
Embodiment three:
Now with N shown in Fig. 8:Exemplified by 1 network, backup procedure is discussed in detail.
The N:1 network includes 3 Bras equipment, respectively device A, equipment B, equipment C, wherein, device A and equipment B are Working equipment, carrying user authentication and flow forwarding work;Equipment C is redundance unit, is not involved in user authentication and flow forwarding. End to end logic box shown in controller (not shown in Fig. 8) generation Fig. 8.
Referring to Fig. 9, controller divides device A and equipment B belongs to backup domain 1;Divide device A simultaneously and equipment B belongs to standby Part domain 2.
Referring to Figure 10, hot standby configuration information is issued to each working equipment.Host apparatus of the device A for backup domain 1 is configured, To back up the stand-by equipment in domain 2;Stand-by equipments of the equipment B for backup domain 1 is configured, to back up the host apparatus in domain 2.
Controller is configured by issuing drainage to inlet distribution equipment (not shown), and customer flow is drained into each Back up in domain, the host apparatus device A in backup domain 1 is responsible for that the customer flow for draining into backup domain 1 is authenticated and forwarded, and The information back-ups such as the session entry by generation are to stand-by equipment equipment B;Similarly, the host apparatus equipment B in backup domain 2 is responsible for drawing The customer flow for flowing to backup domain 2 is authenticated and forwarded, and the information back-up such as the session entry by generation is set to stand-by equipment Standby A.
If equipment B breaks down, device A is updated to back up the host apparatus in domain 2 by controller, and now, device A is made simultaneously For the host apparatus in backup domain 1 and backup domain 2.Controller carries out hot standby configuration to equipment C, and configuration equipment C is standby for backup domain 1 With equipment, while the stand-by equipment to back up domain 2, configuration result is as shown in figure 11.Controller notifies that device A is synchronous to equipment C Back up the session entry in domain 1 and backup domain 2.
Then, controller notifies that the device A (host apparatus in current backup domain 2) in backup domain 2 is updated to stand-by equipment, Notify that equipment C (redundance unit) is updated to back up the host apparatus in domain 2 from the stand-by equipment in backup domain 2, active and standby after renewal is matched somebody with somebody Put result as shown in figure 12, now, the customer flow in backup domain 2 is drained into by equipment C processing.
After the equipment B of failure recovers normal, used as new redundance unit, as shown in figure 13.
Example IV
Embodiment with foregoing backup method is corresponding, and present invention also offers the embodiment of back-up device.
The embodiment of back-up device of the present invention can be using on the controller.Device embodiment can be realized by software, It can also be realized by way of hardware or software and hardware combining.Exemplified by implemented in software, the dress on a logical meaning is used as Put, be that corresponding computer program instructions are formed in the processor run memory by equipment where it.From hardware view For, it is a kind of hardware structure diagram of equipment where back-up device of the present invention, except the processor shown in Figure 14 as shown in figure 14 And outside nonvolatile memory, equipment in embodiment where device, can be with generally according to the actual functional capability of the equipment Including other hardware, this is repeated no more.
Figure 15 is refer to, is the structural representation of the back-up device in one embodiment of the invention.The back-up device includes Generation unit 1501, division unit 1502, transmitting element 1503 and trouble unit 1504, wherein:
Generation unit 1501, the letter for generating the end to end logic box being made up of at least two working equipment Breath;
Division unit 1502, belongs to same backup domain for dividing any two neighboring working equipment on the logic box;
Transmitting element 1503, for sending hot standby configuration information to the working equipment, the hot standby configuration information is used for It is host apparatus that the working equipment, which is configured, in its affiliated first backup domain, is standby set in its affiliated second backup domain It is standby, meanwhile, in two working equipments for belonging to same backup domain, a working equipment is host apparatus, and another working equipment is Stand-by equipment;
Trouble unit 1504, for when detecting the working equipment broken down, the redundance unit being added to and patrolled Collect and the working equipment participation backup broken down is replaced in ring.
Further,
The trouble unit 1504, specifically for backing up domain belonging to the working equipment that breaks down described in determining;Notify institute The stand-by equipment in the first backup domain belonging to the working equipment of failure is stated, the host apparatus in the first backup domain is updated to;To described Redundance unit sends hot standby configuration information, and it is the work broken down that the hot standby configuration information, which is used to configure the redundance unit, Make belonging to equipment the stand-by equipment in the first backup domain, configure the redundance unit the belonging to the working equipment broken down The stand-by equipment in two backup domains;The host apparatus in backup domain belonging to the redundance unit is notified, it is synchronously standby to the redundance unit Part information.
Further,
The trouble unit 1504 to after the redundance unit backed up in synchronization information, be additionally operable to notify it is described occur therefore The host apparatus in the first backup domain is updated to stand-by equipment belonging to the working equipment of barrier, meanwhile, notify that the redundance unit updates For the host apparatus in the first backup domain.
Further,
The generation unit 1501, specifically for the order of reaching the standard grade according at least two working equipment, is generated by institute State the information of the end to end logic box of at least two working equipments composition.
Further, described device also includes:
Recovery unit (not shown), for when the working equipment broken down recovers normal, will recover just Normal working equipment is used as new redundance unit.
The function of unit and the implementation process of effect specifically refer to correspondence step in the above method in said apparatus Implementation process, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component The unit of explanation can be or may not be physically separate, and the part shown as unit can be or can also It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality Selection some or all of module therein is needed to realize the purpose of the present invention program.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, all essences in the present invention God is with principle, and any modifications, equivalent substitutions and improvements done etc. should be included within the scope of protection of the invention.

Claims (10)

1. a kind of backup method, applied to the controller in network, it is characterised in that the network also includes a redundance unit With at least two working equipments, methods described includes:
Generate the information for the end to end logic box being made up of at least two working equipment;
Divide any two neighboring working equipment on the logic box and belong to same backup domain;
Hot standby configuration information is sent to the working equipment, the hot standby configuration information is used to configure the working equipment in its institute It is host apparatus that category first, which is backed up in domain, is stand-by equipment in its affiliated second backup domain, meanwhile, belong to same backup domain In two working equipments, a working equipment is host apparatus, and another working equipment is stand-by equipment;
When detecting the working equipment broken down, the redundance unit is added in logic box and replaces the generation event The working equipment of barrier participates in backup.
2. the method as described in claim 1, it is characterised in that the described redundance unit is added in logic box replaces The working equipment broken down participates in backup, including:
It is determined that backup domain belonging to the working equipment broken down;
The stand-by equipment in the first backup domain belonging to the working equipment of the failure is notified, the first backup the primary of domain is updated to and sets It is standby;
Hot standby configuration information is sent to the redundance unit, the hot standby configuration information is used to configure the redundance unit for the hair The stand-by equipment in the first backup domain belonging to the working equipment of raw failure, it is the work broken down to configure the redundance unit The stand-by equipment in the second backup domain belonging to equipment;
The host apparatus in backup domain belonging to the redundance unit is notified, to the redundance unit backed up in synchronization information.
3. method as claimed in claim 2, it is characterised in that described to after the redundance unit backed up in synchronization information, also Including:
The host apparatus in the first backup domain is updated to stand-by equipment belonging to the working equipment broken down described in notifying, meanwhile, lead to Know that the redundance unit is updated to the host apparatus in the first backup domain.
4. the method as described in claim any one of 1-3, it is characterised in that the generation is by least two working equipment The information of the end to end logic box of composition, including:
According to the order of reaching the standard grade of at least two working equipment, the head and the tail phase being made up of at least two working equipment is generated The information of the logic box connect.
5. the method as described in claim 1, it is characterised in that methods described also includes:
When the working equipment broken down recovers normal, normal working equipment will be recovered and be used as new redundance unit.
6. a kind of back-up device, applied to the controller in network, it is characterised in that the network also includes a redundance unit With at least two working equipments, described device includes:
Generation unit, the information for generating the end to end logic box being made up of at least two working equipment;
Division unit, belongs to same backup domain for dividing any two neighboring working equipment on the logic box;
Transmitting element, for sending hot standby configuration information to the working equipment, the hot standby configuration information is used to configure described Working equipment is host apparatus in its affiliated first backup domain, is stand-by equipment in its affiliated second backup domain, meanwhile, category In two working equipments in same backup domain, a working equipment is host apparatus, and another working equipment is stand-by equipment;
Trouble unit, for when detecting the working equipment broken down, the redundance unit being added in logic box and replaced Change the working equipment broken down and participate in backup.
7. device as claimed in claim 6, it is characterised in that:
The trouble unit, specifically for backing up domain belonging to the working equipment that breaks down described in determining;Notify the failure The stand-by equipment in the first backup domain belonging to working equipment, is updated to the host apparatus in the first backup domain;To the redundance unit Hot standby configuration information is sent, the hot standby configuration information is used to configure the working equipment institute that the redundance unit breaks down for described in Category first backs up the stand-by equipment in domain, configures the redundance unit second backup domain belonging to the working equipment broken down Stand-by equipment;The host apparatus in backup domain belonging to the redundance unit is notified, to the redundance unit backed up in synchronization information.
8. device as claimed in claim 7, it is characterised in that
The trouble unit is to the work broken down described in after the redundance unit backed up in synchronization information, being additionally operable to notify Belonging to equipment first backup domain host apparatus be updated to stand-by equipment, meanwhile, notify the redundance unit be updated to this first Back up the host apparatus in domain.
9. the device as described in claim any one of 6-8, it is characterised in that:
The generation unit, specifically for the order of reaching the standard grade according at least two working equipment, is generated by described at least two The information of the end to end logic box of individual working equipment composition.
10. device as claimed in claim 6, it is characterised in that described device also includes:
Recovery unit, for when the working equipment that breaks down recovers normal, will recover normal working equipment as New redundance unit.
CN201710184740.9A 2017-03-24 2017-03-24 A kind of backup method and device Pending CN106953760A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710184740.9A CN106953760A (en) 2017-03-24 2017-03-24 A kind of backup method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710184740.9A CN106953760A (en) 2017-03-24 2017-03-24 A kind of backup method and device

Publications (1)

Publication Number Publication Date
CN106953760A true CN106953760A (en) 2017-07-14

Family

ID=59473003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710184740.9A Pending CN106953760A (en) 2017-03-24 2017-03-24 A kind of backup method and device

Country Status (1)

Country Link
CN (1) CN106953760A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405216A (en) * 2019-10-25 2020-07-10 杭州海康威视系统技术有限公司 Configuration method, device and equipment and storage medium
CN112953803A (en) * 2021-02-10 2021-06-11 西南电子技术研究所(中国电子科技集团公司第十研究所) Airborne redundant network data transmission method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047487A (en) * 2007-04-24 2007-10-03 中控科技集团有限公司 Method and system for solving equipment redundant in industrial control network
CN101587453A (en) * 2009-06-18 2009-11-25 成都市华为赛门铁克科技有限公司 Data backup processing method, data memory node apparatus and data memory apparatus
CN102710457A (en) * 2012-05-07 2012-10-03 浙江宇视科技有限公司 N+1 backup method and device of cross-network segment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047487A (en) * 2007-04-24 2007-10-03 中控科技集团有限公司 Method and system for solving equipment redundant in industrial control network
CN101587453A (en) * 2009-06-18 2009-11-25 成都市华为赛门铁克科技有限公司 Data backup processing method, data memory node apparatus and data memory apparatus
CN102710457A (en) * 2012-05-07 2012-10-03 浙江宇视科技有限公司 N+1 backup method and device of cross-network segment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405216A (en) * 2019-10-25 2020-07-10 杭州海康威视系统技术有限公司 Configuration method, device and equipment and storage medium
CN111405216B (en) * 2019-10-25 2022-06-28 杭州海康威视系统技术有限公司 Configuration method, device and equipment and storage medium
CN112953803A (en) * 2021-02-10 2021-06-11 西南电子技术研究所(中国电子科技集团公司第十研究所) Airborne redundant network data transmission method
CN112953803B (en) * 2021-02-10 2022-07-08 西南电子技术研究所(中国电子科技集团公司第十研究所) Airborne redundant network data transmission method

Similar Documents

Publication Publication Date Title
EP2426827B1 (en) Method and network system for implementing user port orientation in multi-machine backup scenario of broadband remote access server
CN106331098A (en) Server cluster system
CN100426751C (en) Method for ensuring accordant configuration information in cluster system
CN103763310B (en) Firewall service system and method based on virtual network
US8880703B2 (en) Address distribution method, device and system thereof
CN104917630B (en) The method and system that virtual network is restored
CN105337780B (en) A kind of server node configuration method and physical node
US20150195102A1 (en) Data transfer device system, network system, and method of changing configuration of network system
CN107015885A (en) Service providing method, system and configuration center when primary standby data storehouse switches
CN104243205A (en) Message processing method and device used during virtual switch fault
CN108011754A (en) Turn control piece-rate system, backup method and device
CN106953760A (en) A kind of backup method and device
CN109120386A (en) Wireless communication device, system and method
CN102932118B (en) The method and system of the active and standby ruling of a kind of two-shipper
CN104125079A (en) Method and device for determining double-device hot-backup configuration information
KR100889753B1 (en) Method of protection switching for link aggregation group and Apparatus thereof
CN111614702B (en) Edge calculation method and edge calculation system
JP3563338B2 (en) Time synchronization method and communication device
US10516625B2 (en) Network entities on ring networks
CN107819591A (en) Method of data synchronization, device, system and the network equipment
CN105391565A (en) Method for achieving synchronization of backup business configuration
CN106559234B (en) Control message sending method and device
US7924740B2 (en) Method of configuring at least one user-specific connection between access points to a transmission network which are connectable to user-located network devices, and apparatus therefor
CN113965459A (en) Consul-based method for monitoring host network to realize high availability of computing nodes
CN105871524A (en) Method and system for achieving hot standby on basis of TIPC protocol

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170714