CN106657330A - User data migration method and user data backup method, device and system - Google Patents

User data migration method and user data backup method, device and system Download PDF

Info

Publication number
CN106657330A
CN106657330A CN201611197576.7A CN201611197576A CN106657330A CN 106657330 A CN106657330 A CN 106657330A CN 201611197576 A CN201611197576 A CN 201611197576A CN 106657330 A CN106657330 A CN 106657330A
Authority
CN
China
Prior art keywords
bras
target
backup
vlan information
switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611197576.7A
Other languages
Chinese (zh)
Other versions
CN106657330B (en
Inventor
张银叶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Huawei Digital Technologies Co Ltd
Original Assignee
Beijing Huawei Digital 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 Beijing Huawei Digital Technologies Co Ltd filed Critical Beijing Huawei Digital Technologies Co Ltd
Priority to CN201611197576.7A priority Critical patent/CN106657330B/en
Publication of CN106657330A publication Critical patent/CN106657330A/en
Application granted granted Critical
Publication of CN106657330B publication Critical patent/CN106657330B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • 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/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • 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

Landscapes

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

Abstract

The embodiments of the invention disclose a user data migration method and a user data backup method, device and system, and belongs to the technical field of broadband access. The user data migration method is applied to a target BRAS (Broadband Remote Access Server) included in a broadband remote access system, and comprises the steps of: when an MPU (Microprocessor Unit) receives a migration message sent when a first target VM (Virtual Machine) satisfies a configured preset migration condition, selecting a VM satisfying a first preset condition from all online VMs of multiple BRASs, and determining the selected VM as a second target VM; the MPU generating a migration rule based on VLAN (Virtual Local Area Network) information of the first target VM and VLAN information of the second target VM, and sending the migration rule to a switch, so that when the switch receives a message sent to the first target VM, the switch forwards the message to the second target VM based on the migration rule, i.e., user data migration of the first target VM is realized, and then a physical server corresponding to the first target VM can be powered off. Therefore, the power consumption of the system is reduced, and idle system resources are simultaneously avoided.

Description

Migration of subscriber data method and user data backup method, apparatus and system
Technical field
The present embodiments relate to broadband access technology field, more particularly to a kind of migration of subscriber data method and number of users According to backup method, apparatus and system.
Background technology
With the fast development of broadband access technology, the application of broad band remote access system is more and more extensive.Broad band remote Access system can provide the user the basic service of access band as the new access gateway towards broad band network application, Also there is the user account to access band to be authenticated simultaneously, charging, the function such as account management.
In actual applications, as shown in figure 1, broad band remote access system can include multiple Broadband Remote Access Server (Broadband Remote Access Server, BRAS), can dispose multiple virtual machine (Virtual in each BRAS Machine, VM) and multiple network interface cards, the plurality of VM corresponds with the plurality of network interface card, that is to say, the plurality of VM can be more with this Individual network interface card connects one by one.In addition, each network interface card on the plurality of BRAS can be connected one by one with exchange interface, in order to VM on BRAS can send message by corresponding network interface card and exchange interface to user, and switch of being more convenient for is receiving use During the message that family sends, the message can be uniquely sent to corresponding VM by corresponding exchange interface and network interface card.
Because there is one-to-one relation in exchange interface, network interface card and VM, therefore, current access by broad band remote is System remotely accesses the user in broadband and may be distributed on the VM in each BRAS, now, in each BRAS and each BRAS VM may will always be in working condition, i.e., online.However, when the user being distributed on the VM in certain BRAS is less, should BRAS still needs to work on, it is impossible to lower electricity, thus, the idle of resource can be caused, therefore needs a kind of migration of subscriber data method badly.
The content of the invention
In order to solve when the user being distributed on the VM in certain BRAS is less, the BRAS still needs to work on, it is impossible under Electricity, so as to cause the idle problem of resource, embodiments provides a kind of migration of subscriber data method and user data Backup method, apparatus and system.The technical scheme is as follows:
A kind of first aspect, there is provided migration of subscriber data method, is applied to the target that broad band remote access system includes In BRAS, target BRAS is the arbitrary BRAS in multiple BRAS that the broad band remote access system includes, the target BRAS includes that control unit MPU and multiple VM, the MPU are used to manage a plurality of VM, and methods described includes:
When the MPU receives the migration message that first object VM is sent when the default transition condition of configuration is met When, select to meet the first pre-conditioned VM from all online VM of the plurality of BRAS, and the VM of selection is defined as into the Two targets VM, the first object VM is the arbitrary VM in a plurality of VM;
The MPU based on the first object VM VLAN (Virtual Local Area Network, VLAN) the vlan information of information and second target VM, generate migration rules, and by the migration rules be sent to it is described The switch of broad band remote access system connection, so that the switch is receiving the message that is sent to the first object VM When, the message is forwarded into second target VM based on the migration rules.
In embodiments of the present invention, keeper can be each the VM configuration emigration condition in broad band remote access system, Wherein, when first object VM meets the default transition condition of configuration, the MPU of target BRAS can be reported, afterwards the MPU can be with The second target VM is selected from all online VM of multiple BRAS, and generates migration rules, be then sent to and broad band remote The switch of access system connection, so as to switch can forward the message for being sent to first object VM according to the migration rules To the second target VM, to realize the migration of the user data of first object VM.Corresponding physical servers of first object VM afterwards Can be electric below, so as to reduce the power consumption of broad band remote access system, while avoiding divide on the VM of broad band remote access system The system resource caused when the user of cloth is less is left unused.
Wherein, select to meet the first pre-conditioned VM in all online VM from the plurality of BRAS, including:
From the load information of storage, obtain number of users that all online VM of the plurality of BRAS currently accessed and Bandwidth traffic;
From all online VM of the plurality of BRAS, the VM for selecting number of users and/or bandwidth traffic minimum;
The VM of selection is defined as to meet the described first pre-conditioned VM.
In embodiments of the present invention, the MPU can select user according to the load information of all online VM of multiple BRAS The minimum VM of quantity and/or bandwidth traffic, that is to say the VM for selecting a load minimum as the user for receiving first object VM The VM of data, so as to migrate first object VM user data while, can be with the institute in balanced broad band remote access system There is the load of VM.
Wherein, in all online VM from the plurality of BRAS, select number of users and/or bandwidth traffic minimum VM, including:
In the preferential online VM included from a plurality of VM, select number of users less than the first predetermined number and/or VM of the bandwidth traffic less than the first preset flow;
The first predetermined number and bandwidth stream are less than when there is no number of users in the online VM that a plurality of VM includes When amount is less than the VM of the first preset flow, the online VM of other BRAS from the plurality of BRAS in addition to target BRAS In, the VM for selecting number of users and/or bandwidth traffic minimum.
Due in target BRAS internal migration user data, compared to the speed of the migrated userses data between different BRAS Comparatively fast, therefore, the MPU of target BRAS preferentially from inside target BRAS can select the less VM of load to migrate the first mesh The user data of mark VM, such that it is able to improve the efficiency of migrated userses data.There is no load inside target BRAS less During VM, then from other BRAS in addition to target BRAS, one is selected to load the user that less VM migrates first object VM Data, to ensure to realize the migration of subscriber data of first object VM.
Wherein, it is described that the migration rules are sent to the switch being connected with the broad band remote access system, including:
The migration rules are encapsulated in flow table, and the flow table is sent into the switch, so that the exchange Machine is decapsulated to the flow table, and by forwarding vlan information and media access control (the Media Access of storage Control, MAC) vlan information of the first object VM in corresponding relation between address replaces with second target The vlan information of VM.
It is right between the forwarding vlan information that can be stored and MAC Address when switch receives the migration rules The vlan information of the first object VM in should being related to replaces with the vlan information of the second target VM, so as to receive use when switch When family terminal is sent to the message of first object VM, can be according to the forwarding vlan information after replacement vlan information and MAC Address Between corresponding relation, the message is sent to the second target VM, to realize the migration of subscriber data of first object VM.
Further, it is described the migration rules are sent to the switch that is connected with the broad band remote access system it Afterwards, also include:
Included by other BRAS in being the plurality of BRAS when second target VM in addition to target BRAS During VM, judge that whether BRAS that second target VM is located is the backup BRAS of target BRAS;
When the BRAS that second target VM is located not is the backup BRAS of target BRAS, by first mesh Mark VM and the switch send on-line message again to each user terminal that the first object VM is currently accessed, to refer to Show that described each user terminal accesses the broad band remote access system again;
When second target VM receive that described each user terminal sends reach the standard grade request when, described each use of storage The user data of family terminal, by corresponding user terminal of the user data by each user terminal broadband access is provided Service, the request of reaching the standard grade of each user terminal transmission is forwarded to described second for the switch based on the migration rules Target VM is obtained.
In embodiments of the present invention, the backup BRAS of target BRAS can be connected by the backup between target BRAS, The user data of real-time synchronization target BRAS, the backup BRAS that is to say target BRAS is stored with target BRAS migrated userses data Front all customer data, and the user data before then the BRAS is not migrated in others BRAS, therefore, when the second target When the BRAS that VM is located is the non-backup BRAS of target BRAS, the side that broad band remote access system can make user reach the standard grade again Formula is reached the standard grade to crossing the second target VM, rather than original first object VM, such that it is able to for first object VM corresponding user's ends Continue to provide broadband inserting service in end.
A kind of second aspect, there is provided migration of subscriber data method, in being applied to broad band remote access system, the broadband Remote access system includes that multiple BRAS, each BRAS include that MPU and multiple VM, the MPU are used to manage described many An individual VM, it is characterised in that methods described includes:
When the MPU that target BRAS includes receives what first object VM was sent when the default transition condition of configuration is met During migration message, select to meet the first pre-conditioned VM, and the VM that will be selected from all online VM of the plurality of BRAS It is defined as the second target VM, target BRAS is the arbitrary BRAS in the plurality of BRAS, and the first object VM is described Arbitrary VM in multiple VM that target BRAS includes;
Vlan informations and second target VM of the MPU that target BRAS includes based on the first object VM Vlan information, generates migration rules, and the migration rules are sent to and exchanging that the broad band remote access system connects Machine;
The switch stores the migration rules when the migration rules are received, and is receiving user terminal When being sent to the message of the first object VM, the message is forwarded into second target VM based on the migration rules.
Wherein, the switch stores the migration rules when the migration rules are received, including:
When the migration rules are encapsulated in flow table, the switch is receiving what target BRAS included During the flow table that MPU sends, the flow table is decapsulated, obtain the vlan information and described the of the first object VM The vlan information of two targets VM;
By the VLAN letters of the first object VM in the corresponding relation between the forwarding vlan information and MAC Address of storage Breath replaces with the vlan information of the second target VM.
Wherein, it is described that the message is forwarded into second target VM based on the migration rules, including:
Based on the MAC Address that the message is carried, the corresponding relation between the forwarding vlan information and MAC Address In, obtain the vlan information of second target VM;
Based on the vlan information of second target VM, the message is forwarded into second target VM.
Further, the switch after storing the migration rules, is also wrapped when the migration rules are received Include:
The switch is receiving MPU the going up again by first object VM transmissions that target BRAS includes During line message, the on-line message again is sent into each user terminal that the first object VM is currently accessed, to refer to Show that described each user terminal accesses the broad band remote access system again;
When the switch reaching the standard grade of receiving that each user terminal that the first object VM currently accessed sends please When asking, based on the MAC Address carried in the request of reaching the standard grade, from the corresponding pass between the forwarding vlan information and MAC Address In system, the vlan information of second target VM is obtained;
Based on the vlan information of second target VM, the request of reaching the standard grade is forwarded into second target VM;
When second target VM receive that described each user terminal sends reach the standard grade request when, described each use of storage The user data of family terminal, by corresponding user terminal of the user data by each user terminal broadband access is provided Service.
A kind of third aspect, there is provided user data backup method, is applied to the target that broad band remote access system includes In BRAS, target BRAS is the arbitrary BRAS in multiple BRAS that the broad band remote access system includes, the target BRAS includes multiple VM, and methods described includes:
When target BRAS detects backup instruction, a BRAS is selected from the plurality of BRAS, and will be selected BRAS be defined as the backup BRAS of target BRAS;
The vlan information of vlan information and the backup BRAS of target BRAS based on target BRAS, generates standby Part rule, and the backup rules are sent to the switch being connected with the broad band remote access system, so that the exchange Machine is sent to message backup portion based on the backup rules when the message for being sent to target BRAS is received The backup BRAS.
In embodiments of the present invention, keeper can trigger the backup instruction of target BRAS, and afterwards target BRAS is from multiple A BRAS is selected in BRAS as the backup BRAS of target BRAS, and generates backup rules, then send the backup rules The switch of broad band remote access system connection is given, so as to switch can will be sent to target according to the backup rules The message backup portion of BRAS is sent to the backup BRAS of target BRAS, to realize the user data backup of target BRAS.
Wherein, it is described that the backup rules are sent to the switch being connected with the broad band remote access system, including:
The backup rules are encapsulated in flow table, and the flow table is sent into the switch, so that the exchange Machine is decapsulated to the flow table, and the vlan information of the backup BRAS is corresponding with the vlan information of target BRAS MAC Address be stored in backup vlan information and MAC Address between corresponding relation in.
In the present embodiment, switch, can be by target in the backup rules that the MPU for receiving target BRAS sends The corresponding MAC Address of the vlan information of vlan information and target BRAS of the backup BRAS of BRAS be stored in backup vlan information with In corresponding relation between MAC Address, during so as to the message of carrying MAC Address that user terminal transmission is received when switch, Switch can be according to the corresponding relation between the backup vlan information of storage and MAC Address, by a transmission of message backup To the backup BRAS of target BRAS, so as to realize the user data backup of target BRAS.
A kind of fourth aspect, there is provided user data backup method, in being applied to broad band remote access system, the broadband Remote access system includes that multiple BRAS, each BRAS include that MPU and multiple VM, the MPU are used to manage described many An individual VM, it is characterised in that methods described includes:
When target BRAS detects backup instruction, from the plurality of BRAS select a BRAS, and by select BRAS is defined as the backup BRAS of target BRAS, and target BRAS is the arbitrary BRAS in the plurality of BRAS;
The vlan information of vlan information and the backup BRAS of target BRAS based on target BRAS, generates standby Part rule, and the backup rules are sent to the switch being connected with the broad band remote access system;
The switch stores the backup rules when the backup rules are received, and is receiving user terminal When being sent to the message of target BRAS, message backup portion is sent into the backup based on the backup rules BRAS。
Wherein, the switch stores the backup rules when the backup rules are received, including:
When the backup rules are encapsulated in flow table, the switch is receiving the institute that target BRAS sends When stating flow table, the flow table is decapsulated, obtain the vlan information of target BRAS and the VLAN of the backup BRAS Information;
The corresponding MAC Address of the vlan information of vlan information and target BRAS of the backup BRAS is stored in standby In corresponding relation between part vlan information and MAC Address.
Wherein, it is described that message backup portion is sent into the backup BRAS based on the backup rules, including:
Based on the MAC Address that the message is carried, the corresponding relation between the backup vlan information and MAC Address In, obtain the vlan information of the backup BRAS;
Based on the vlan information of the backup BRAS, message backup portion is sent into the backup BRAS.
A kind of 5th aspect, there is provided target BRAS, target BRAS has realizes number of users in above-mentioned first aspect According to the function of moving method behavior.Target BRAS includes at least one module, and at least one module is used to realize above-mentioned the On the one hand the migration of subscriber data method for being provided.
6th aspect, there is provided a kind of broad band remote access system, the broad band remote access system includes multiple BRAS, Each BRAS includes that MPU and multiple VM, the MPU are used to manage a plurality of VM, it is characterised in that the width Band remote access system includes target BRAS, and target BRAS is the arbitrary BRAS in the plurality of BRAS, the target The MPU that BRAS includes is used to realize the migration of subscriber data method that above-mentioned first aspect is provided.
7th aspect, embodiments provides a kind of computer-readable storage medium, for storing above-mentioned target BRAS institute Computer software instructions, or store the journey for performing involved by target BRAS of above-mentioned first aspect and second aspect Sequence.
A kind of eighth aspect, there is provided user data backup device, the user data backup device is above-mentioned with realizing The function of user data backup method behavior in first aspect.The user data backup device includes at least one module, and this is extremely A few module is used to realize the user data backup method that the above-mentioned third aspect is provided.
9th aspect, there is provided a kind of user data backup device, the structure of the user data backup device includes Processor and memory, the memory is used for storage and supports that user data backup device performs what the above-mentioned third aspect was provided The program of user data backup method, and store for realizing the user data backup method institute that the above-mentioned third aspect is provided The data being related to.The processor is configurable for performing the program stored in the memory.The behaviour of the storage device Making device can also include communication bus, and the communication bus is used to set up connection between the processor and memory.
Tenth aspect, there is provided a kind of broad band remote access system, the broad band remote access system includes multiple BRAS, Each BRAS includes that MPU and multiple VM, the MPU are used to manage a plurality of VM, it is characterised in that the width Band remote access system includes target BRAS, and target BRAS is the arbitrary BRAS in the plurality of BRAS, the target BRAS is used to realize the user data backup method that the above-mentioned third aspect is provided.
On the one hand tenth, embodiments provide a kind of computer-readable storage medium, for storing above-mentioned user data Computer software instructions used by back-up device, or store standby for performing the user data of above-mentioned eighth aspect and the 9th aspect Program involved by part device.
Technique effect and first aspect that embodiments of the present invention second aspect, the 5th aspect and the 6th aspect are obtained In the technique effect that obtains of corresponding technological means it is approximate, embodiments of the present invention fourth aspect, eighth aspect, the 9th aspect It is approximate with the technique effect that corresponding technological means in the third aspect is obtained with the technique effect that the tenth aspect is obtained, here Repeat no more.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:In embodiments of the present invention, when MPU is received During the migration message sent when the default transition condition of configuration is met to first object VM, from all online of multiple BRAS Determine in VM and meet first the second pre-conditioned target VM, afterwards, MPU will be based on the vlan information and second of first object VM The migration rules that the vlan information of target VM is generated are sent to the switch being connected with broad band remote access system, so that switch When the message for being sent to first object VM is received, forwarded the packet to the second target VM, so as to reality based on the migration rules Showed the migration of subscriber data of first object VM, afterwards the corresponding physical servers of first object VM can following electricity, so as to reduce The power consumption of broad band remote access system, at the same avoid the user being distributed on the VM of broad band remote access system it is less when cause System resource leave unused.
Description of the drawings
Fig. 1 is a kind of Organization Chart of broad band remote access system provided in an embodiment of the present invention;
Fig. 2A is a kind of schematic diagram of implementation environment provided in an embodiment of the present invention;
Fig. 2 B are the schematic diagrames of another kind of implementation environment provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of physical server provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of switch provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of migration of subscriber data method provided in an embodiment of the present invention;
Fig. 6 is a kind of flow chart of user data backup method provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of target BRAS provided in an embodiment of the present invention;
Fig. 8 is a kind of structural representation of broad band remote access system provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation of user data backup device provided in an embodiment of the present invention;
Figure 10 is the structural representation of another kind of broad band remote access system provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Before detailed explanation is carried out to the embodiment of the present invention, first to the enforcement ring involved by the embodiment of the present invention Border is introduced, and refer to Fig. 2A, and Fig. 2A is a kind of implementation environment schematic diagram according to an exemplary embodiment, the enforcement Broad band remote access system 10, switch 20 and user terminal 30 are mainly included but is not limited in environment.Wherein, broad band remote connects Enter system 10 including multiple BRAS11, each BRAS11 can be connected with switch 20, switch 20 can with user's end End 30 connects, so as to by the transmission data of switch 20 or ask between broad band remote access system 10 and user terminal 30 Ask.
A MPU111, multiple VM112 and many can be disposed in each BRAS11 in broad band remote access system 10 Individual network interface card 113, wherein, the MPU111 can be connected by cable network or wireless network with the plurality of VM, so as to manage this Multiple VM, in addition, the plurality of VM112 is connected with the plurality of network interface card 113 with hard direct-passing mode, that is to say the plurality of VM112 and are somebody's turn to do Multiple network interface cards 113 connect one to one, rather than with the connection of arbitrary corresponding relation.
Switch 20 include multiple outgoing interfaces 201, multiple incoming interfaces 202 and virtual forwarding module (Virtual Switch, VSW)203.Wherein, each outgoing interface 201 of switch 20 is connected one by one with each network interface card 113 on multiple BRAS11, so as to Realize the connection between broad band remote access system 10 and switch 20.Each incoming interface 202 of switch 20 and user terminal 30 connections, so as to realize the connection between switch 20 and user terminal 30.Switch 20 can be received by incoming interface 202 and used The data that family terminal 30 sends, and the various rules issued according to MPU111 by VSW203, from the data that outgoing interface 201 will be received It is forwarded to VM112.Meanwhile, switch 20 can be sent to the data of user terminal 30 to receive BRAS11 from outgoing interface 201, and The various rules issued according to MPU111 by VSW203, from incoming interface 202 by the data forwarding for receiving to user terminal 30.
It should be noted that during actually realizing, each BRAS11 can be a physical server, it is also possible to For the server farm of multiple physical servers composition.In addition, the broad band remote access system 10 in the implementation environment can be wrapped Include and can dispose in multiple BRAS11, and each BRAS11 multiple VM112, broad band remote is exemplarily only shown in Fig. 2A Two BRAS11 in access system, and two VM112 disposed respectively in each BRAS11.Furthermore, the switch Each incoming interface 202 in 20 can configure at least one vlan information, when incoming interface 202 configures a vlan information, The incoming interface 202 can connect a user terminal 30, and when incoming interface 202 configures multiple vlan informations, the incoming interface 202 can To connect multiple user terminals 30, that is to say that each incoming interface 202 can connect at least one user terminal 30, and this at least one Individual vlan information is corresponded with least one user terminal 30.Each incoming interface 202 is exemplarily only shown in Fig. 2A One vlan information of configuration, and connects a user terminal 30, the user terminal 30 can for such as mobile phone, computer, The equipment of panel computer or the like.
Fig. 2 B are another kind of implementation environment schematic diagrames according to an exemplary embodiment, with the enforcement ring shown in Fig. 2A Unlike border, in the implementation environment for illustrating in fig. 2b, the BRAS11 can include multiple MPU111.Wherein, it is the plurality of One of MPU111 in MPU111 can manage the plurality of VM112 as the main MPU of the BRAS11, in the plurality of MPU111 Other MPU111 in addition to main MPU can be used as the standby MPU of main MPU, when main MPU is in malfunction, the BRAS11 Can continue to manage the plurality of VM112 by arbitrary standby MPU, broadband access is provided for user terminal so as to improve the BRAS11 The stability of service.Wherein, exemplarily only show that the BRAS11 includes two MPU111 in Fig. 2 B.
Fig. 3 is a kind of structural representation of the physical server according to an exemplary embodiment.Referring to Fig. 3, the thing Reason server includes at least one processor 301, communication bus 302, the communication interface 304 of memory 303 and at least one.
Processor 301 can be general central processor (Central Processing Unit, CPU), microprocessor, ASIC (Application-Specific Integrated Circuit, ASIC), or one or more For controlling the integrated circuit of the present invention program program performing.
Communication bus 302 may include a path, and information is transmitted between said modules.
Memory 303 can be read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), can store static information and instruction other types of static storage device, can storage information and The other types of dynamic memory, or EEPROM (Electrically of instruction Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read- Only Memory, CD-ROM), or the storage of other optical disc storages, laser disc is (logical including compression laser disc, laser disc, laser disc, numeral With laser disc, Blu-ray Disc etc.), magnetic disk storage medium, or other magnetic storage apparatus, or can be used in carrying or storing having The desired program code of instruction or data structure form and any other medium that can be accessed by the physical server, but not It is limited to this.Memory 303 can be individually present, or be connected with processor 301 by communication bus 302, or and place Reason device 301 is integrated.
Communication interface 304 using the class of any transceiver one device, for miscellaneous equipment or communication, such as with Too net, wireless access network (Radio Access Network, RAN), WLAN (Wireless Local Area Networks, WLAN) etc..
In implementing, such as used as a kind of embodiment, processor 301 can include one or more CPU, in Fig. 3 Shown CPU0 and CPU1.
In implementing, such as used as a kind of embodiment, the physical server can include multiple processors, in Fig. 3 Shown processor 301 and processor 305.Each in these processors can be a single core processor (single- ), or a polycaryon processor (multi-CPU) CPU.Here processor can refer to one or more equipment, circuit, And/or for the process cores of processing data.
Wherein, memory 303 is used for the program code 310 that storage performs the present invention program, and processor 301 is deposited for execution The program code 310 stored in reservoir 303.The physical server can pass through processor 301 and the program in memory 303 Code 310 is realizing migration of subscriber data method that FIG. 5 below embodiment is provided.
Fig. 4 is a kind of structural representation of the switch according to an exemplary embodiment, and the switch mainly includes There are receiver 401, transponder 402, memory 403, processor 404 and communication bus 405.Those skilled in the art can manage Solution, the structure of the switch illustrated in Fig. 4 does not constitute the restriction to switch, can include than illustrating more or less of portion Part, or some parts are combined, or different parts is arranged, the embodiment of the present invention is not limited this.
Wherein, the receiver 401 can be used for request, message of the transmission of receive user terminal etc., and reception BRAS sends out Flow table, message for sending etc..The transponder 402 can be used for by user terminal be sent to request, message of BRAS etc. send to BRAS, and BRAS is sent into message, message of user terminal etc. sends to user terminal.The memory 403 can be used for Flow table, message that storage BRAS sends, and migration rules etc., also, the memory 403 can be used for storage for performing One or more operation programs of the migration of subscriber data method and/or module.
Wherein, the processor 404 is the control centre of the switch, and the processor 404 can be with a universal cpu, micro- place Reason device, ASIC, or one or more integrated circuits for controlling the present invention program program performing.The processor 404 can lead to Cross operation or perform the software program and/or module that are stored in memory 403, and call and be stored in memory 403 Data to realize migration of subscriber data method that FIG. 5 below embodiment is provided in part performed by switch.
Wherein, the communication bus 405 may include a path, the transmission letter between above-mentioned processor 404 and memory 403 Breath.
Fig. 5 is a kind of flow chart of the migration of subscriber data method according to an exemplary embodiment, and the present invention is implemented Example realizes the migration of subscriber data method in the way of interacting by target BRAS that broad band remote access system includes and with switch As a example by illustrate, target BRAS is the arbitrary BRAS in multiple BRAS for including of broad band remote access system, the target BRAS includes that MPU and multiple VM, the MPU are used to manage a plurality of VM, and the migration of subscriber data method can include Following several steps:
Step 501:When first object VM meets the default transition condition of configuration, migration message is sent to MPU, this first Target VM is the arbitrary VM in multiple VM of target BRAS.
Wherein, the default transition condition can be in advance broad band remote access by transition condition configuration feature for keeper The transition condition of all VM configurations in system.Wherein, keeper can configure identical transition condition for all VM, certainly, In actual applications, keeper can also be the different transition condition of each self-configurings of all VM.Wherein, the transition condition can be Online user's quantity of certain VM is less than predetermined number threshold value in preset time period, wherein, the preset time period and predetermined number threshold Value can be by administrator configurations.Such as, online user's quantity of No. 1 VM is less than 100 between 1 point to 6 points of every morning, then when 1 Number VM is when in the morning online user's quantity is less than 100 between 1 point to 6 points, determines that No. 1 VM meets the default transition condition of configuration, and 1 Number VM can send migration message to MPU, during so that MPU receiving the migration message, from all online VM of multiple BRAS, Determine the second target VM, second target VM is using as the migration VM of first object VM user data.
Wherein, when the transition condition is less than predetermined number threshold value for online user's quantity of certain VM in preset time period, Each VM determines that the process of realizing for meeting the transition condition can be:When initial time of the current time for preset time period, From the beginning of current time, number of users and/or bandwidth traffic are detected every preset duration, when the continuous n times number of users for detecting When amount is respectively less than the second predetermined number and/or bandwidth traffic and is respectively less than the second preset flow, it is determined that meet transition condition, wherein N It is the positive integer more than 1.
Such as, the transition condition can be less than 100 for online user's quantity of No. 1 VM between 1 point to 6 points of every morning, Then No. 1 VM determines that the process of realizing for meeting the transition condition can be:When current time is morning 1, open for 1 point from morning Begin, every 1 minute number of users was detected, when 6 numbers of users detected in 6 minutes are respectively less than 100, it is determined that meeting migration Condition.
Step 502:When MPU receives the migration message of first object VM transmissions, from all online VM of multiple BRAS In, select to meet the first pre-conditioned VM, and the VM of selection is defined as into the second target VM.
Specifically, when MPU receives the migration message of first object VM transmissions, from the load information of storage, obtain Number of users and bandwidth traffic that all online VM of multiple BRAS is currently accessed;From all online VM of the plurality of BRAS In, the VM for selecting number of users and/or bandwidth traffic minimum;The VM of selection is defined as to meet the first pre-conditioned VM, and The first pre-conditioned VM will be met and be defined as the second target VM.
Wherein, above-mentioned MPU selects number of users and/or bandwidth traffic minimum from all online VM of multiple BRAS The implementation of VM can specifically include the following two kinds implementation:
First kind of way:In the preferential online VM included from multiple VM of target BRAS, select number of users and/or The minimum VM of bandwidth traffic.
Due in target BRAS internal migration user data, compared to the speed of the migrated userses data between different BRAS Comparatively fast, therefore, the MPU of target BRAS preferentially from inside target BRAS can select the less VM of load to migrate the first mesh The user data of mark VM, such that it is able to improve the efficiency of migrated userses data.
The second way:In the online VM included from all BRAS of broadband remote access system, select number of users and/ Or the VM that bandwidth traffic is minimum.
Wherein, for first kind of way, there are following three kinds of possible situations:
In the case of the first is possible, in the online VM for preferentially including from multiple VM of target BRAS, select to use Amount amount is less than the VM of the first preset flow less than the first predetermined number and/or bandwidth traffic;When multiple the first of target BRAS Exist in the online VM that VM includes number of users less than the first predetermined number and bandwidth traffic less than the first preset flow VM when, In VM from number of users less than the first predetermined number and bandwidth traffic less than the first preset flow, select number of users and/or The minimum VM of bandwidth traffic.
Wherein, for arbitrary online VM, when its number of users is less than first less than the first predetermined number and/or bandwidth traffic During preset flow, it is believed that the online VM current load is less, when its number of users is more than or equal to the first predetermined number And/or bandwidth traffic be more than or equal to the first preset flow when, it is believed that the online VM current load is larger.Work as target Exist in the online VM of BRAS number of users less than the first predetermined number and bandwidth traffic less than the first preset flow VM when, When there is the less VM of load in the online VM for being target BRAS, then preferentially can include from multiple VM of target BRAS Online VM in, select a number of users and/or the minimum VM of bandwidth traffic, namely select the minimum VM of a load, with Using the minimum VM of the load as first object VM user data migration VM.
In the case of second possibility, in the online VM for preferentially including from multiple VM of target BRAS, select to use Amount amount is less than the VM of the first preset flow less than the first predetermined number and/or bandwidth traffic;When multiple the first of target BRAS There is no number of users in the online VM that VM includes less than the first predetermined number and bandwidth traffic is less than the VM of the first preset flow When, in the online VM of other BRAS from multiple BRAS in addition to target BRAS, select number of users and/or bandwidth traffic most Few VM.
Wherein, when there is no number of users in the online VM that multiple VM of target BRAS include less than the first present count Amount and bandwidth traffic less than the first preset flow VM when, the online VM that is to say multiple VM of target BRAS includes bears When carrying larger, then in the online VM of other BRAS that can be from multiple BRAS in addition to target BRAS, select number of users and/ Or the VM that bandwidth traffic is minimum, in that is to say the online VM of other BRAS from multiple BRAS in addition to target BRAS, select Minimum VM is loaded as the migration VM of first object VM user data, such that it is able to during migrated userses data, keep away Exempt from the load for increasing the online VM in target BRAS in addition to first object VM.
In the case of the third is possible, in the online VM for preferentially including from multiple VM of target BRAS, select to use Amount amount is less than the VM of the first preset flow less than the first predetermined number and/or bandwidth traffic;When multiple the first of target BRAS There is no number of users in the online VM that VM includes less than the first predetermined number and bandwidth traffic is less than the VM of the first preset flow When, in the online VM of other BRAS from multiple BRAS in addition to target BRAS, select number of users to be less than the first present count Amount and bandwidth traffic less than the first preset flow VM;As the online VM of other BRAS in multiple BRAS in addition to target BRAS In do not exist number of users less than the first predetermined number and bandwidth traffic less than the first preset flow VM when, from target BRAS The online VM that include of multiple VM in, the VM for selecting number of users and/or bandwidth traffic minimum.
Wherein, when target BRAS, and in all online VM of other BRAS in multiple BRAS in addition to target BRAS Do not exist number of users less than the first predetermined number and bandwidth traffic less than the first preset flow VM when, that is to say multiple When all online VM that BRAS includes loads larger, then in the online VM that can include from multiple VM of target BRAS, The VM for selecting number of users and/or bandwidth traffic minimum, in that is to say the online VM included from multiple VM of target BRAS, The minimum VM of load is selected as the migration VM of first object VM user data.
Due to the efficiency in target BRAS internal migration user data, compared to the migrated userses data between different BRAS Efficiency it is higher, therefore, when in target BRAS, and the online VM in other BRAS in multiple BRAS in addition to target BRAS When loading larger, select the minimum VM of load to migrate the user data of first object VM from target BRAS inside, can improve The efficiency of migrated userses data, while the online of other BRAS in multiple BRAS in addition to target BRAS can also be avoided increasing The load of VM.
Alternatively, when there is no number of users in all online VM that multiple BRAS include less than the first predetermined number and When bandwidth traffic is less than the VM of the first preset flow, MPU can that is to say the user for not migrating first object VM with end operation Data, to avoid increasing the load of the online VM in multiple BRAS in addition to first object VM.
In above two implementation, MPU needs the user currently accessed according to all online VM of multiple BRAS Quantity and bandwidth traffic, so as to select an online VM as the migration VM of first object VM user data.And due to multiple The number of users and bandwidth traffic that all online VM of BRAS is currently accessed is acquired from the load information of MPU storages , therefore, in load informations of the MPU from storage, obtain the number of users that all online VM of multiple BRAS is currently accessed Before bandwidth traffic, the load information of each online VM in multiple VM of target BRAS can also be obtained and store, with And in other BRAS in multiple BRAS in addition to target BRAS online VM load information, wherein, the load information include work as Front accessed number of users and bandwidth traffic.
It should be noted that can be communicated by Openflow (open flows) agreement between multiple BRAS, periodically Ground exchanges respective number of users and bandwidth traffic, can be according to the number of users of other BRAS of storage in order to each BRAS And bandwidth traffic, namely loading condition, select the VM in suitable BRAS to carry out the migration of user data.
Step 503:The vlan information of vlan informations and second target VM of the MPU based on first object VM, generates migration rule Then, and by the migration rules it is sent to the switch being connected with the broad band remote access system.
Wherein, when the migration rules are used to indicate that switch receives user terminal and is sent to the message of first object VM, The message is forwarded into the second target VM.And vlan information at least can be used for unique mark VM, that is to say that different VM's is affiliated VLAN differ, and because multiple VM are corresponded with multiple network interface cards, a pair of multiple network interface cards and multiple switch interface 1 Should, therefore, MPU sends the vlan information of the vlan information of first object VM and the second target VM to switch, switch Exchange interface corresponding to second target VM can be uniquely determined according to the vlan information of the second target VM, then can be by User terminal is sent to the exchange interface corresponding to the message from the second target VM of first object VM and sends, and the message is sent To the second target VM.
Specifically, MPU generates migration rules, namely is to determine the migration operation that switch should be performed, and the migration operation is When the message of vlan information of header information including first object VM is received, the message is sent to the second target VM The vlan information of the VM to be migrated in the migration rules that is to say the first mesh by the exchange interface corresponding to vlan information, MPU The vlan information of mark VM is encapsulated in the packet header domain of flow table, and the migration operation of switch is encapsulated in the operation of flow table, and The flow table is sent into switch.Wherein, the flow table can be Openflow flow tables.
Step 504:Switch stores the migration rules when the migration rules of MPU transmissions are received.
Specifically, when migration rules are encapsulated in flow table, switch is receiving the MPU transmissions that target BRAS includes Flow table when, the flow table is decapsulated, obtain the vlan information of first object VM and the vlan information of the second target VM;Will The vlan information of the first object VM in corresponding relation between the forwarding vlan information of storage and MAC Address replaces with the second mesh The vlan information of mark VM.
Further, each BRAS in multiple BRAS can be equipped with backup BRAS, and backup BRAS can be to be somebody's turn to do Can be carried out by Openflow agreements between arbitrary BRAS in broad band remote access system, BRAS and corresponding backup BRAS Communication, the user data of the real-time synchronization BRAS.When the BRAS breaks down, the corresponding backup BRAS of the BRAS can basis Synchronous user data replaces the BRAS to continue to run with.For each BRAS, due to storing in the corresponding backup BRAS of the BRAS User data before having the BRAS to migrate, and the user data before then the BRAS is not migrated in others BRAS, therefore, When the BRAS that the second target VM is located is respectively the backup BRAS and non-backup BRAS of target BRAS, broad band remote access system After migration rules are issued, the side of broadband inserting service is provided for the corresponding user terminals of first object VM by the second target VM Formula can be different.Therefore, the migration rules are sent into switch in MPU, and switch receives and stores the migration rules Afterwards, MPU can also carry out following step (1) to (3), so as to pass through the second target VM for first object VM corresponding user's ends End provides broadband inserting service, including:
Step (1):As the VM included by the second target VM is other BRAS in multiple BRAS in addition to target BRAS, Judge that whether BRAS that the second target VM is located is the backup BRAS of target BRAS.
Specifically, as the VM included by the second target VM is other BRAS in multiple BRAS in addition to target BRAS, MPU obtains the backup BRAS of target BRAS from the corresponding relation between the BRAS and backup BRAS of storage, and contrasts the second mesh Whether the BRAS that mark VM is located is consistent with the backup BRAS of target BRAS.When both are consistent, determine what the second target VM was located BRAS is the backup BRAS of target BRAS, when both are inconsistent, determines that the BRAS that the second target VM is located is not target BRAS Backup BRAS.
Step (2):When the BRAS that the second target VM is located not is the backup BRAS of target BRAS, MPU passes through the first mesh Mark VM and switch send on-line message again to each user terminal that first object VM is currently accessed, to indicate each use Family terminal access band remote access system again.When the second target VM receives the request of reaching the standard grade that each user terminal sends When, the user data of each user terminal is stored, to carry as corresponding user terminal by the user data of each user terminal For broadband inserting service.
Wherein, this again on-line message be used for indicate each user terminal access band remote access system again, such as, This again on-line message can be procotol (Internet Protocol, IP) of the indicating user terminal to the second target VM What address was re-rented re-rents message.
Specifically, when the BRAS that the second target VM is located not is the backup BRAS of target BRAS, MPU passes through first object Network interface card corresponding to VM on-line message will be sent to switch again.Switch is heavy by this when the on-line message again is received New on-line message is sent to each user terminal that first object VM is currently accessed.Work as when switch receives first object VM During request that what front accessed each user terminal sent reach the standard grade, based on the MAC Address carried in the request of reaching the standard grade, from forwarding In corresponding relation between vlan information and MAC Address, the vlan information of the second target VM is obtained.Afterwards switch is based on second The vlan information of target VM, can be forwarded to the second target VM, so that each user terminal accesses width again by the request of reaching the standard grade Band remote access system.
Wherein, for each user terminal that first object VM is currently accessed, when the user terminal receives this again During on-line message, request of reaching the standard grade can be sent to switch.When switch receive this reach the standard grade again request when, can basis The migration rules that MPU is issued, request that this is reached the standard grade again is sent to the second target VM.
Wherein, when this again on-line message be indicating user terminal to re-renting that the IP address of the second target VM is re-rented During message, correspondingly, this reach the standard grade request can be the IP address of the second target VM is re-rented re-rent request, so as to user Terminal can in the way of re-renting access band remote access system again.
Step (3):As backup BRASs of the BRAS that the second target VM is located for target BRAS, by the first mesh for storing The user data of each user terminal that mark VM is accessed provides broadband inserting service for corresponding user terminal.
Wherein, for the backup BRAS of target BRAS, due to the user data of target BRAS that is stored with the backup network elements, Therefore, the second target VM can be directly by the user data of first object VM in target BRAS of storage corresponding user Terminal provides broadband inserting service.
After switch storage migration rules, when receiving user terminal and being sent to the message of first object VM, can So that the second target VM will be sent to based on the migration rules of storage, such that it is able to realize the migration of subscriber data of first object VM.
Step 505:When switch receives user terminal and is sent to the message of first object VM, based on the migration rules The message is forwarded into the second target VM.
Specifically, when switch receives user terminal and is sent to the message of first object VM, carried based on the message MAC Address, from forwarding vlan information and MAC Address between corresponding relation in, obtain the second target VM vlan information.Base In the vlan information of the second target VM, the exchange interface corresponding to vlan information that the message is passed through into the second target VM is sent out Go out, to be forwarded to the second target VM.
In embodiments of the present invention, send out when the default transition condition of configuration is met when MPU receives first object VM During the migration message sent, determine from all online VM of multiple BRAS and meet first the second pre-conditioned target VM, afterwards, MPU is sent to the migration rules that the vlan information of the vlan information based on first object VM and the second target VM is generated and broadband The switch of remote access system connection, so that switch is moved when the message for being sent to first object VM is received based on this Move rule to forward the packet to the second target VM, it is achieved thereby that the migration of subscriber data of first object VM, first object afterwards The corresponding physical servers of VM can following electricity, so as to reduce the power consumption of broad band remote access system, while it is remote to avoid broadband The system resource caused when the user of distribution is less on the VM of journey access system is left unused.
Fig. 6 is a kind of flow chart of the user data backup method according to an exemplary embodiment, and the present invention is implemented Example realizes the user data backup method in the way of interacting by target BRAS that broad band remote access system includes and with switch As a example by illustrate, target BRAS is the arbitrary BRAS in multiple BRAS for including of broad band remote access system, the target BRAS includes that MPU and multiple VM, the MPU are used to manage a plurality of VM, and the user data backup method can include Following several steps:
Step 601:When target BRAS detects backup instruction, a BRAS is selected from multiple BRAS, and will be selected BRAS be defined as the backup BRAS of target BRAS.
Wherein, the backup instruction is used to indicate that target BRAS carries out user data backup, and the backup instruction can be by width Keeper with remote access system is triggered by assigned operation, and the assigned operation can be in target BRAS current display interface In to clicking operation, the slide of desired guiding trajectory, voice operating of Backup options etc..
When target BRAS selects a BRAS from multiple BRAS, one can be randomly choosed from multiple BRAS BRAS.Or, a BRAS is selected from multiple BRAS with preset rules, the preset rules can be to select from multiple BRAS In addition to target BRAS, the minimum BRAS of active user's quantity and/or bandwidth traffic, or the preset rules can also be from many Label BRAS adjacent with the label of target BRAS etc. is selected in individual BRAS.
For the backup BRAS of target BRAS, backup BRAS needs to be previously stored the number of users that target BRAS is accessed According in order to target BRAS when target BRAS breaks down, can be replaced to provide broadband by the user that target BRAS is accessed Access service, therefore, after target BRAS determines backup BRAS, can also be by following manner target synchronous with backup BRAS The user data of BRAS, including:The backup connection set up between target BRAS and backup BRAS, and connected by the backup, will The ID and user data that all VM that target BRAS includes currently are accessed is sent to backup BRAS.
Wherein, target BRAS can by Openflow agreements with backup BRAS be communicated, that is to say target BRAS with Backup connection between backup BRAS can connect for Openflow, so as to target BRAS periodically can work as target BRAS Front accessed user data is sent to backup BRAS, can be according to the number of users of target BRAS of storage in order to back up BRAS According to when switch detects the connection indicator lamp between target BRAS and switch and is not at normal bright state, that is to say target When BRAS connects exception or breaks down, broad band remote access system can continue as target BRAS and be connect by backup BRAS The user for entering provides broadband inserting service.
Step 602:The vlan information of vlan information and backup BRAS of target BRAS based on target BRAS, generates backup rule Then, and by the backup rules it is sent to the switch being connected with broad band remote access system.
Wherein, when the backup rules are used to indicate that switch receives user terminal and is sent to the message of target BRAS, When being the message of vlan information of the header information including target BRAS for receiving user terminal transmission, by message backup one Part is sent to backup BRAS.
Specifically, target BRAS generation backup rules, namely the backup operation of switch is to determine, the backup operation is to work as During the message of the vlan information for receiving header information including target BRAS, the message is sent to the vlan information of backup BRAS Corresponding exchange interface.The vlan information of target BRAS in the backup rules is encapsulated in target BRAS the packet header of flow table In domain, and the backup operation of switch is encapsulated in the operation of flow table, and the flow table is sent into switch.Wherein, the stream Table can be Openflow flow tables.
Step 603:Switch stores the backup rules when the backup rules are received.
Specifically, when backup rules are encapsulated in flow table, switch receive target BRAS transmission flow table when, Flow table is decapsulated, the vlan information of target BRAS and the vlan information of backup BRAS is obtained;By the VLAN of backup BRAS The corresponding MAC Address of vlan information of information and target BRAS is stored in the corresponding pass between backup vlan information and MAC Address In system.
After switch storage backup rules, when receiving user terminal and being sent to the message of target BRAS, can be with Backup rules based on storage are a by the message backup, and are sent to backup BRAS, such that it is able to realize the use of target BRAS User data is backed up.
Step 604:Switch, will based on the backup rules when receiving user terminal and being sent to the message of target BRAS Message backup portion is sent to backup BRAS.
Specifically, switch is when receiving user terminal and being sent to the message of target BRAS, and switch is from backup VLAN In corresponding relation between information and MAC Address, the VLAN letters of the backup BRAS corresponding to the MAC Address that message is carried are obtained Breath, afterwards that message backup is a, the exchange interface corresponding to vlan information from backup BRAS sends the message for backing up Backup BRAS is given, so as to realize the user data backup of target BRAS.
In embodiments of the present invention, when target BRAS detects backup instruction, a backup is determined from multiple BRAS BRAS, afterwards, target BRAS by the vlan information being based on and backup BRAS vlan information generate backup rules be sent to The switch of broad band remote access system connection, so that switch is when the message for being sent to target BRAS is received, based on this Message backup portion is sent to backup BRAS by backup rules, it is achieved thereby that the user data backup of target BRAS, and then work as When target BRAS breaks down, broad band remote access system can continue as the user that target BRAS is accessed by backing up BRAS Broadband inserting service is provided, the efficiency of broadband access is improve.
Fig. 7 is a kind of target BRAS700 according to an exemplary embodiment, and target BRAS700 connects for broad band remote Enter the arbitrary BRAS in multiple BRAS that system includes, target BRAS700 includes MPU701 and multiple a VM702, MPU701 For managing multiple VM702, exemplarily only show that target BRAS700 includes two VM702 in Fig. 7, Characterized in that, target BRAS700 includes:
MPU701, the migration for being sent when first object VM is received in the default transition condition of satisfaction configuration disappears During breath, select to meet the first pre-conditioned VM from all online VM of multiple BRAS, and the VM of selection is defined as into second Target VM, first object VM is the arbitrary VM in multiple VM702;
MPU701, is additionally operable to be based on the vlan information of first object VM and the vlan information of the second target VM, generates migration Rule, and migration rules are sent to the switch being connected with broad band remote access system, so that switch is receiving transmission To first object VM message when, forwarded the packet to the second target VM based on migration rules.
Alternatively, MPU701, is additionally operable to obtain the current institutes of all online VM of multiple BRAS from the load information of storage The number of users and bandwidth traffic of access;
MPU701, is additionally operable to from all online VM of multiple BRAS, selects number of users and/or bandwidth traffic minimum VM;
MPU701, is additionally operable to be defined as the VM of selection to meet the first pre-conditioned VM.
Alternatively, MPU701, in being additionally operable to the online VM for preferentially including from multiple VM702, selects number of users little The VM of the first preset flow is less than in the first predetermined number and/or bandwidth traffic;
MPU701, is additionally operable to default less than first when there is no number of users in the online VM that multiple VM702 include Quantity and bandwidth traffic less than the first preset flow VM when, other BRAS from multiple BRAS in addition to target BRAS In line VM, the VM for selecting number of users and/or bandwidth traffic minimum.
Alternatively, MPU701, is additionally operable to that migration rules are encapsulated in flow table, and flow table is sent into switch, so that Switch is decapsulated to flow table, and by storage forwarding vlan information and MAC Address between corresponding relation in first The vlan information of target VM replaces with the vlan information of the second target VM.
Alternatively, MPU701, it is other in multiple BRAS in addition to target BRAS700 to be additionally operable to work as the second target VM During VM included by BRAS, judge that whether BRAS that the second target VM is located is the backup BRAS of target BRAS;
MPU701, be additionally operable to when the BRAS that the second target VM is located for the backup BRAS of target BRAS700 when, by the One target VM and switch send on-line message again to each user terminal that first object VM is currently accessed, every to indicate Individual user terminal access band remote access system again;
Second target VM, for when receive that each user terminal sends reach the standard grade request when, store each user terminal User data, to provide broadband inserting service as corresponding user terminal by the user data of each user terminal, each The request of reaching the standard grade of user terminal transmission is forwarded to the second target VM and obtains for switch based on migration rules.
Fig. 8 is a kind of broad band remote access system 800 according to an exemplary embodiment, broad band remote access system 800 include that multiple BRAS801, each BRAS801 include that MPU8011 and multiple VM8012, MPU8011 are used to manage many An individual VM8012, exemplarily only shows that broad band remote access system 800 includes two BRAS801, and each in Fig. 8 BRAS801 includes MPU8011 and two VM8012, it is characterised in that broad band remote access system 800 includes:
The MPU that target BRAS includes, for when receive first object VM meet configuration default transition condition when institute During the migration message of transmission, select to meet the first pre-conditioned VM from all online VM of multiple BRAS801, and will select VM be defined as the second target VM, target BRAS is the arbitrary BRAS in multiple BRAS801, and first object VM is target BRAS bag Arbitrary VM in the multiple VM for including;
The MPU that target BRAS includes, the VLAN for being additionally operable to the vlan information based on first object VM and the second target VM believes Breath, generates migration rules, and migration rules are sent to the switch being connected with broad band remote access system;
Switch, for when migration rules are received, stores migration rules, and is sent to the user terminal is received During the message of one target VM, forwarded the packet to the second target VM based on migration rules.
Alternatively, switch, is additionally operable to, when migration rules are encapsulated in flow table, receiving what target BRAS included During the flow table that MPU sends, flow table is decapsulated, obtain the vlan information of first object VM and the VLAN letters of the second target VM Breath;
Switch, the first object being additionally operable in the corresponding relation between the forwarding vlan information and MAC Address by storage The vlan information of VM replaces with the vlan information of the second target VM.
Alternatively, switch, is additionally operable to the MAC Address carried based on message, between forwarding vlan information and MAC Address Corresponding relation in, obtain the second target VM vlan information;
Switch, is additionally operable to, based on the vlan information of the second target VM, forward the packet to the second target VM.
Alternatively, switch, is additionally operable to be sent again by first object VM in the MPU for receiving target BRAS and including During on-line message, on-line message again is sent into each user terminal that first object VM is currently accessed, to indicate each User terminal access band remote access system again;
Switch, is additionally operable to when the request of reaching the standard grade for receiving each user terminal transmission that first object VM is currently accessed When, based on the MAC Address carried in request of reaching the standard grade, from the corresponding relation between forwarding vlan information and MAC Address, obtain the The vlan information of two targets VM;
Switch, is additionally operable to based on the vlan information of the second target VM, and request of reaching the standard grade is forwarded to the second target VM;
Second target VM, for when receive that each user terminal sends reach the standard grade request when, store each user terminal User data, to provide broadband inserting service as corresponding user terminal by the user data of each user terminal.
Fig. 9 is a kind of structural representation of the user data backup device 900 according to an exemplary embodiment, application In target BRAS that broad band remote access system includes, target BRAS is in multiple BRAS that broad band remote access system includes Arbitrary BRAS, target BRAS include multiple VM, referring to Fig. 9, the device 900 includes:
Selecting module 901, for when target BRAS detects backup instruction, a BRAS being selected from multiple BRAS, And the BRAS of selection is defined as into the backup BRAS of target BRAS;
Backup module 902, the vlan information of vlan information and backup BRAS for target BRAS based on target BRAS is raw Into backup rules, and backup rules are sent to the switch being connected with broad band remote access system, so that switch is being received During to the message for being sent to target BRAS, message backup portion is sent into backup BRAS based on backup rules.
Alternatively, the backup module 902 is used for:
Backup rules are encapsulated in flow table, and flow table is sent into switch, so that switch is unsealed to flow table Dress, and the corresponding MAC Address of the vlan information of vlan information and target BRAS of backup BRAS is stored in into backup vlan information In corresponding relation between MAC Address.
In sum, in embodiments of the present invention, when target BRAS detects backup instruction, determine from multiple BRAS One backup BRAS, afterwards, the backup rules that target BRAS generates the vlan information of the vlan information being based on and backup BRAS The switch being connected with broad band remote access system is sent to, so that switch is receiving the message that is sent to target BRAS When, message backup portion is sent into backup BRAS based on the backup rules, it is achieved thereby that the user data of target BRAS is standby Part, and then when target BRAS breaks down, broad band remote access system can continue as target BRAS institute by backing up BRAS The user of access provides broadband inserting service, improves the efficiency of broadband access.
Figure 10 is a kind of broad band remote access system 1000 according to an exemplary embodiment, and broad band remote accesses system System 1000 includes that multiple BRAS1001, each BRAS1001 include that MPU10011 and multiple VM10012, MPU10011 are used In multiple VM10012 are managed, exemplarily only show that broad band remote access system 1000 includes two in Figure 10 BRAS1001, and each BRAS1001 includes MPU10011 and two VM10012, it is characterised in that broadband is remote Journey access system 1000 includes:
Target BRAS, for when backup instruction is detected, selecting a BRAS from multiple BRAS1001, and will select BRAS be defined as the backup BRAS of target BRAS, target BRAS is the arbitrary BRAS in multiple BRAS101;
Target BRAS, is additionally operable to the vlan information based on target BRAS and backs up the vlan information of BRAS, generates backup rule Then, and by backup rules it is sent to the switch being connected with broad band remote access system;
Switch, for when backup rules are received, storing backup rules, and is sent to mesh user terminal is received During the message of mark BRAS, message backup portion is sent into backup BRAS based on backup rules.
Alternatively, switch, is additionally operable to, when backup rules are encapsulated in flow table, receiving the transmission of target BRAS During flow table, flow table is decapsulated, obtain the vlan information of target BRAS and the vlan information of backup BRAS;
Switch, is additionally operable to deposit the corresponding MAC Address of the vlan information of vlan information and target BRAS of backup BRAS In storing up the corresponding relation between backup vlan information and MAC Address.
Alternatively, switch, is additionally operable to the MAC Address carried based on message, between backup vlan information and MAC Address Corresponding relation in, obtain backup BRAS vlan information;
Switch, is additionally operable to the vlan information based on backup BRAS, and message backup portion is sent into backup BRAS.
It should be noted that:Above-described embodiment provide user data backup device back up user data when, only with The division of above-mentioned each functional module is illustrated, and in practical application, as desired can distribute above-mentioned functions by not With functional module complete, will the internal structure of equipment be divided into different functional modules, to complete whole described above Or partial function.In addition, the device of user data backup that above-described embodiment is provided is implemented with the method for user data backup Example belongs to same design, and it implements process and refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that realizing all or part of step of above-described embodiment can pass through hardware To complete, it is also possible to which the hardware that correlation is instructed by program is completed, and described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (28)

1. a kind of migration of subscriber data method, is applied to the target Broadband Remote Access Server that broad band remote access system includes In BRAS, target BRAS is the arbitrary BRAS in multiple BRAS that the broad band remote access system includes, the target BRAS includes that control unit MPU and multiple first virtual machine VM, the MPU are used to manage a plurality of VM, and its feature exists In methods described includes:
When the MPU receives the migration message that first object VM is sent when the default transition condition of configuration is met, from Select to meet the first pre-conditioned VM in all online VM of the plurality of BRAS, and the VM of selection is defined as into the second target VM, the first object VM are the arbitrary VM in a plurality of VM;
The vlan information of virtual LAN VLAN information and second target VM of the MPU based on the first object VM, Migration rules are generated, and the migration rules are sent to the switch being connected with the broad band remote access system, so that institute Switch is stated when the message for being sent to the first object VM is received, is forwarded to the message based on the migration rules Second target VM.
2. the method for claim 1, it is characterised in that select in all online VM from the plurality of BRAS full The first pre-conditioned VM of foot, including:
From the load information of storage, number of users and bandwidth that all online VM of the plurality of BRAS is currently accessed are obtained Flow;
From all online VM of the plurality of BRAS, the VM for selecting number of users and/or bandwidth traffic minimum;
The VM of selection is defined as to meet the described first pre-conditioned VM.
3. method as claimed in claim 2, it is characterised in that in all online VM from the plurality of BRAS, selects The minimum VM of number of users and/or bandwidth traffic, including:
In the preferential online VM included from a plurality of VM, number of users is selected less than the first predetermined number and/or bandwidth VM of the flow less than the first preset flow;
When not existing in the online VM that a plurality of VM includes, number of users is less than the first predetermined number and bandwidth traffic is little When the VM of the first preset flow, in the online VM of other BRAS from the plurality of BRAS in addition to target BRAS, The VM for selecting number of users and/or bandwidth traffic minimum.
4. the method for claim 1, it is characterised in that described to be sent to the migration rules and the broad band remote The switch of access system connection, including:
The migration rules are encapsulated in flow table, and the flow table is sent into the switch, so that the switch pair The flow table is decapsulated, and by storage forwarding vlan information and MAC address between corresponding relation In the vlan information of the first object VM replace with the vlan information of second target VM.
5. the method for claim 1, it is characterised in that described to be sent to the migration rules and the broad band remote After the switch of access system connection, also include:
As the VM included by other BRAS during second target VM is the plurality of BRAS in addition to target BRAS, Judge that whether BRAS that second target VM is located is the backup BRAS of target BRAS;
When the BRAS that second target VM is located not is the backup BRAS of target BRAS, by the first object VM On-line message again is sent to each user terminal that the first object VM is currently accessed with the switch, to indicate State each user terminal and access the broad band remote access system again;
When second target VM receive that described each user terminal sends reach the standard grade request when, storage described each user's end The user data at end, by corresponding user terminal of the user data by each user terminal broadband access clothes are provided Business, the request of reaching the standard grade of each user terminal transmission is forwarded to second mesh for the switch based on the migration rules Mark VM is obtained.
6. a kind of migration of subscriber data method, in being applied to broad band remote access system, the broad band remote access system includes Multiple Broadband Remote Access Server BRAS, each BRAS include control unit MPU and multiple first virtual machine VM, described MPU is used to manage a plurality of VM, it is characterised in that methods described includes:
When the MPU that target BRAS includes receives the migration that first object VM is sent when the default transition condition of configuration is met During message, select to meet the first pre-conditioned VM from all online VM of the plurality of BRAS, and the VM for selecting is determined For the second target VM, target BRAS is the arbitrary BRAS in the plurality of BRAS, and the first object VM is the target Arbitrary VM in multiple VM that BRAS includes;
Virtual LAN VLAN information and second target of the MPU that target BRAS includes based on the first object VM The vlan information of VM, generates migration rules, and the migration rules are sent into what is be connected with the broad band remote access system Switch;
The switch stores the migration rules when the migration rules are received, and sends user terminal is received To the first object VM message when, the message is forwarded into second target VM based on the migration rules.
7. method as claimed in claim 6, it is characterised in that the switch when the migration rules are received, storage The migration rules, including:
When the migration rules are encapsulated in flow table, the switch is receiving MPU that target BRAS includes During the flow table sent, the flow table is decapsulated, obtain the vlan information and second mesh of the first object VM The vlan information of mark VM;
By the first object VM in the corresponding relation between the forwarding vlan information and MAC address of storage Vlan information replace with the vlan information of the second target VM.
8. method as claimed in claim 7, it is characterised in that described that the message is forwarded into institute based on the migration rules The second target VM is stated, including:
Based on the MAC Address that the message is carried, from the corresponding relation between the forwarding vlan information and MAC Address, obtain Take the vlan information of second target VM;
Based on the vlan information of second target VM, the message is forwarded into second target VM.
9. method as claimed in claim 7, it is characterised in that the switch when the migration rules are received, storage After the migration rules, also include:
The switch is disappeared receiving MPU that target BRAS includes by reaching the standard grade again of sending of the first object VM During breath, the on-line message again is sent into each user terminal that the first object VM is currently accessed, to indicate State each user terminal and access the broad band remote access system again;
When the switch receive that each user terminal that the first object VM currently accessed sends reach the standard grade request when, Based on the MAC Address carried in the request of reaching the standard grade, from the corresponding relation between the forwarding vlan information and MAC Address, Obtain the vlan information of second target VM;
Based on the vlan information of second target VM, the request of reaching the standard grade is forwarded into second target VM;
When second target VM receive that described each user terminal sends reach the standard grade request when, storage described each user's end The user data at end, by corresponding user terminal of the user data by each user terminal broadband access clothes are provided Business.
10. a kind of user data backup method, is applied to the target Broadband Remote Access Service that broad band remote access system includes In device BRAS, target BRAS is the arbitrary BRAS in multiple BRAS that the broad band remote access system includes, the mesh Mark BRAS includes multiple first virtual machine VM, it is characterised in that methods described includes:
When target BRAS detects backup instruction, from the plurality of BRAS select a BRAS, and by select BRAS is defined as the backup BRAS of target BRAS;
The vlan information of virtual LAN VLAN information and the backup BRAS of target BRAS based on target BRAS, Backup rules are generated, and the backup rules are sent to the switch being connected with the broad band remote access system, so that institute Switch is stated when the message for being sent to target BRAS is received, is backed up the message based on the backup rules a It is sent to the backup BRAS.
11. methods as claimed in claim 10, it is characterised in that it is described the backup rules are sent to it is remote with the broadband The switch of journey access system connection, including:
The backup rules are encapsulated in flow table, and the flow table is sent into the switch, so that the switch pair The flow table is decapsulated, and by the corresponding matchmaker of the vlan information of vlan information and target BRAS of the backup BRAS Body access control MAC addresses are stored in the corresponding relation between backup vlan information and MAC Address.
A kind of 12. user data backup methods, in being applied to broad band remote access system, the broad band remote access system includes Multiple Broadband Remote Access Server BRAS, each BRAS include control unit MPU and multiple first virtual machine VM, described MPU is used to manage a plurality of VM, it is characterised in that methods described includes:
When target BRAS detects backup instruction, a BRAS is selected from the plurality of BRAS, and the BRAS for selecting is true It is set to the backup BRAS of target BRAS, target BRAS is the arbitrary BRAS in the plurality of BRAS;
The vlan information of virtual LAN VLAN information and the backup BRAS of target BRAS based on target BRAS, Backup rules are generated, and the backup rules are sent to the switch being connected with the broad band remote access system;
The switch stores the backup rules when the backup rules are received, and sends user terminal is received To target BRAS message when, based on the backup rules by the message backup portion be sent to the backup BRAS.
13. methods as claimed in claim 12, it is characterised in that the switch is deposited when the backup rules are received The backup rules are stored up, including:
When the backup rules are encapsulated in flow table, the switch is receiving the stream that target BRAS sends During table, the flow table is decapsulated, obtain the vlan information of target BRAS and the vlan information of the backup BRAS;
By the corresponding MAC address of the vlan information of vlan information and target BRAS of the backup BRAS It is stored in the corresponding relation between backup vlan information and MAC Address.
14. methods as claimed in claim 13, it is characterised in that described that the message is backed up into one based on the backup rules Part is sent to the backup BRAS, including:
Based on the MAC Address that the message is carried, from the corresponding relation between the backup vlan information and MAC Address, obtain Take the vlan information of the backup BRAS;
Based on the vlan information of the backup BRAS, message backup portion is sent into the backup BRAS.
A kind of 15. target Broadband Remote Access Server BRAS, target BRAS be broad band remote access system include it is many Arbitrary BRAS in individual BRAS, target BRAS includes that control unit MPU and multiple first virtual machine VM, the MPU are used for Manage a plurality of VM, it is characterised in that target BRAS includes:
The MPU, for the migration message sent when first object VM is received in the default transition condition of satisfaction configuration When, select to meet the first pre-conditioned VM from all online VM of the plurality of BRAS, and the VM of selection is defined as into the Two targets VM, the first object VM is the arbitrary VM in a plurality of VM;
The MPU, is additionally operable to the virtual LAN VLAN information and second target VM based on the first object VM Vlan information, generates migration rules, and the migration rules are sent to and exchanging that the broad band remote access system connects Machine, so that the switch is when the message for being sent to the first object VM is received, will be described based on the migration rules Message is forwarded to second target VM.
16. targets BRAS as claimed in claim 15, it is characterised in that:
The MPU, is additionally operable to be obtained from the load information of storage what all online VM of the plurality of BRAS was currently accessed Number of users and bandwidth traffic;
The MPU, is additionally operable to from all online VM of the plurality of BRAS, selects number of users and/or bandwidth traffic minimum VM;
The MPU, is additionally operable to be defined as the VM of selection to meet the described first pre-conditioned VM.
17. targets BRAS as claimed in claim 16, it is characterised in that:
The MPU, in being additionally operable to the online VM for preferentially including from a plurality of VM, selects number of users default less than first Quantity and/or bandwidth traffic are less than the VM of the first preset flow;
The MPU, is additionally operable to there is no number of users in the online VM included as a plurality of VM less than the first present count Amount and bandwidth traffic less than the first preset flow VM when, other from the plurality of BRAS in addition to target BRAS In the online VM of BRAS, the VM for selecting number of users and/or bandwidth traffic minimum.
18. targets BRAS as claimed in claim 15, it is characterised in that:
The MPU, is additionally operable to that the migration rules are encapsulated in flow table, and the flow table is sent into the switch, with Make the switch decapsulate the flow table, and by storage forwarding vlan information and MAC address Between corresponding relation in the vlan information of the first object VM replace with the vlan information of second target VM.
19. targets BRAS as claimed in claim 15, it is characterised in that:
The MPU, it is other in the plurality of BRAS in addition to target BRAS to be additionally operable to work as second target VM During VM included by BRAS, judge that whether BRAS that second target VM is located is the backup BRAS of target BRAS;
The MPU, is additionally operable to, when the BRAS that second target VM is located not is the backup BRAS of target BRAS, pass through The first object VM and the switch send to each user terminal that the first object VM is currently accessed to be gone up again Line message, to indicate that described each user terminal accesses the broad band remote access system again;
Second target VM, for when receive that described each user terminal sends reach the standard grade request when, storage it is described each The user data of user terminal, provides broadband and connects with the user data by each user terminal as corresponding user terminal Enter service, what described each user terminal sent reach the standard grade request is forwarded to described for the switch based on the migration rules Two targets VM are obtained.
A kind of 20. broad band remote access systems, the broad band remote access system includes multiple Broadband Remote Access Server BRAS, each BRAS include that control unit MPU and multiple first virtual machine VM, the MPU are used to manage the plurality of first VM, it is characterised in that the broad band remote access system includes:
The MPU that target BRAS includes, for being sent when first object VM is received in the default transition condition of satisfaction configuration Migration message when, from all online VM of the plurality of BRAS select meet the first pre-conditioned VM, and by select VM is defined as the second target VM, and target BRAS is the arbitrary BRAS in the plurality of BRAS, and the first object VM is institute State the arbitrary VM in multiple VM that target BRAS includes;
The MPU that target BRAS includes, is additionally operable to based on the virtual LAN VLAN information of the first object VM and described The vlan information of the second target VM, generates migration rules, and the migration rules are sent to and broad band remote access system The switch of system connection;
The switch, for when the migration rules are received, storing the migration rules, and is receiving user terminal When being sent to the message of the first object VM, the message is forwarded into second target VM based on the migration rules.
21. broad band remote access systems as claimed in claim 20, it is characterised in that:
The switch, is additionally operable to, when the migration rules are encapsulated in flow table, include target BRAS is received MPU send the flow table when, the flow table is decapsulated, obtain the vlan information of the first object VM and described The vlan information of the second target VM;
The switch, the corresponding relation being additionally operable between the forwarding vlan information and MAC address by storage In the vlan information of the first object VM replace with the vlan information of the second target VM.
22. broad band remote access systems as claimed in claim 21, it is characterised in that:
The switch, is additionally operable to the MAC Address carried based on the message, from forwarding vlan information and the MAC Address it Between corresponding relation in, obtain the vlan information of second target VM;
The switch, is additionally operable to, based on the vlan information of second target VM, the message is forwarded into second mesh Mark VM.
23. broad band remote access systems as claimed in claim 21, it is characterised in that:
The switch, is additionally operable to receiving the weight that the MPU that target BRAS includes is sent by the first object VM During new on-line message, the on-line message again is sent into each user terminal that the first object VM is currently accessed, To indicate that described each user terminal accesses the broad band remote access system again;
The switch, is additionally operable to that reaching the standard grade for each user terminal transmission that the first object VM is currently accessed ought be received During request, based on it is described reach the standard grade request in carry MAC Address, from it is described forwarding vlan information and MAC Address between it is corresponding In relation, the vlan information of second target VM is obtained;
The switch, is additionally operable to the vlan information based on second target VM, and the request of reaching the standard grade is forwarded into described the Two targets VM;
Second target VM, for when receive that described each user terminal sends reach the standard grade request when, storage it is described each The user data of user terminal, provides broadband and connects with the user data by each user terminal as corresponding user terminal Enter service.
A kind of 24. user data backup devices, are applied to the target Broadband Remote Access Service that broad band remote access system includes In device BRAS, target BRAS is the arbitrary BRAS in multiple BRAS that the broad band remote access system includes, the mesh Mark BRAS includes multiple first virtual machine VM, it is characterised in that described device includes:
Selecting module, for when target BRAS detects backup instruction, a BRAS being selected from the plurality of BRAS, And the BRAS of selection is defined as into the backup BRAS of target BRAS;
Backup module, the virtual LAN VLAN information based on target BRAS and the backup for target BRAS The vlan information of BRAS, generates backup rules, and the backup rules are sent to are connected with the broad band remote access system Switch so that the switch is when the message for being sent to target BRAS is received, will based on the backup rules The message backup portion is sent to the backup BRAS.
25. methods as claimed in claim 24, it is characterised in that the backup module is used for:
The backup rules are encapsulated in flow table, and the flow table is sent into the switch, so that the switch pair The flow table is decapsulated, and by the corresponding matchmaker of the vlan information of vlan information and target BRAS of the backup BRAS Body access control MAC addresses are stored in the corresponding relation between backup vlan information and MAC Address.
A kind of 26. broad band remote access systems, the broad band remote access system includes multiple Broadband Remote Access Server BRAS, each BRAS include that control unit MPU and multiple first virtual machine VM, the MPU are used to manage the plurality of first VM, it is characterised in that the broad band remote access system includes:
Target BRAS, for when backup instruction is detected, select a BRAS from the plurality of BRAS, and will select BRAS is defined as the backup BRAS of target BRAS, and target BRAS is the arbitrary BRAS in the plurality of BRAS;
Target BRAS, is additionally operable to the virtual LAN VLAN information and the backup BRAS based on target BRAS Vlan information, generates backup rules, and the backup rules are sent to and exchanging that the broad band remote access system connects Machine;
The switch, for when the backup rules are received, storing the backup rules, and is receiving user terminal When being sent to the message of target BRAS, message backup portion is sent into the backup based on the backup rules BRAS。
27. broad band remote access systems as claimed in claim 26, it is characterised in that:
The switch, is additionally operable to, when the backup rules are encapsulated in flow table, send target BRAS is received The flow table when, the flow table is decapsulated, obtain the vlan information and the backup BRAS of target BRAS Vlan information;
The switch, is additionally operable to the corresponding matchmaker of the vlan information of vlan information and target BRAS of the backup BRAS Body access control MAC addresses are stored in the corresponding relation between backup vlan information and MAC Address.
28. broad band remote access systems as claimed in claim 27, it is characterised in that:
The switch, is additionally operable to the MAC Address carried based on the message, from backup vlan information and the MAC Address it Between corresponding relation in, obtain the vlan information of the backup BRAS;
The switch, is additionally operable to based on the vlan information of the backup BRAS, message backup portion is sent to described Backup BRAS.
CN201611197576.7A 2016-12-22 2016-12-22 Migration of subscriber data method and user data backup method, apparatus and system Active CN106657330B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611197576.7A CN106657330B (en) 2016-12-22 2016-12-22 Migration of subscriber data method and user data backup method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611197576.7A CN106657330B (en) 2016-12-22 2016-12-22 Migration of subscriber data method and user data backup method, apparatus and system

Publications (2)

Publication Number Publication Date
CN106657330A true CN106657330A (en) 2017-05-10
CN106657330B CN106657330B (en) 2019-08-27

Family

ID=58834058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611197576.7A Active CN106657330B (en) 2016-12-22 2016-12-22 Migration of subscriber data method and user data backup method, apparatus and system

Country Status (1)

Country Link
CN (1) CN106657330B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547675A (en) * 2017-05-26 2018-01-05 新华三技术有限公司 A kind of user equipment migration method and apparatus
CN107769973A (en) * 2017-10-26 2018-03-06 新华三技术有限公司 A kind of message forwarding method and device
CN108712411A (en) * 2018-05-11 2018-10-26 南京铁道职业技术学院 A kind of IPoE roamings conversation controlling method
WO2020001514A1 (en) * 2018-06-28 2020-01-02 新华三技术有限公司 Service processing
CN110958297A (en) * 2019-10-29 2020-04-03 北京邮电大学 Data migration method and system
CN111953571A (en) * 2020-07-29 2020-11-17 新华三技术有限公司 vBRAS, server and storage medium
CN112737806A (en) * 2019-10-28 2021-04-30 华为技术有限公司 Network traffic migration method and device
CN113378184A (en) * 2020-02-25 2021-09-10 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for data protection
CN113709273A (en) * 2021-08-31 2021-11-26 迈普通信技术股份有限公司 Address migration method, communication equipment and dual-active system
CN113746709A (en) * 2021-08-25 2021-12-03 烽火通信科技股份有限公司 Method, device and equipment for transfer control separation dynamic capacity management and storage medium
WO2023116458A1 (en) * 2021-12-24 2023-06-29 华为技术有限公司 Communication method and apparatus, and communication system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801715A (en) * 2012-07-30 2012-11-28 华为技术有限公司 Method for virtual machine migration in network, gateway and system
CN103152200A (en) * 2013-03-07 2013-06-12 华为技术有限公司 Migration method of virtual machine, switch, network management equipment and network system
CN103916320A (en) * 2012-12-28 2014-07-09 ***通信集团公司 Method and device for message processing after cross-network relocation of VM device
CN105262685A (en) * 2014-07-14 2016-01-20 杭州华三通信技术有限公司 Message processing method and message processing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801715A (en) * 2012-07-30 2012-11-28 华为技术有限公司 Method for virtual machine migration in network, gateway and system
CN103916320A (en) * 2012-12-28 2014-07-09 ***通信集团公司 Method and device for message processing after cross-network relocation of VM device
CN103152200A (en) * 2013-03-07 2013-06-12 华为技术有限公司 Migration method of virtual machine, switch, network management equipment and network system
CN105262685A (en) * 2014-07-14 2016-01-20 杭州华三通信技术有限公司 Message processing method and message processing device

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547675B (en) * 2017-05-26 2020-11-06 新华三技术有限公司 User equipment migration method and device
CN107547675A (en) * 2017-05-26 2018-01-05 新华三技术有限公司 A kind of user equipment migration method and apparatus
CN107769973A (en) * 2017-10-26 2018-03-06 新华三技术有限公司 A kind of message forwarding method and device
CN107769973B (en) * 2017-10-26 2021-01-26 新华三技术有限公司 Message forwarding method and device
CN108712411A (en) * 2018-05-11 2018-10-26 南京铁道职业技术学院 A kind of IPoE roamings conversation controlling method
CN108712411B (en) * 2018-05-11 2021-02-02 南京铁道职业技术学院 IPoE roaming session control method
WO2020001514A1 (en) * 2018-06-28 2020-01-02 新华三技术有限公司 Service processing
CN112737806B (en) * 2019-10-28 2022-05-13 华为技术有限公司 Network traffic migration method and device
US11811635B2 (en) 2019-10-28 2023-11-07 Huawei Technologies Co., Ltd. Network traffic migration method and apparatus
CN112737806A (en) * 2019-10-28 2021-04-30 华为技术有限公司 Network traffic migration method and device
CN110958297A (en) * 2019-10-29 2020-04-03 北京邮电大学 Data migration method and system
CN110958297B (en) * 2019-10-29 2021-10-01 北京邮电大学 Data migration method and system
CN113378184A (en) * 2020-02-25 2021-09-10 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for data protection
CN113378184B (en) * 2020-02-25 2024-05-28 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for data protection
CN111953571B (en) * 2020-07-29 2022-10-21 新华三技术有限公司 vBRAS, server and storage medium
CN111953571A (en) * 2020-07-29 2020-11-17 新华三技术有限公司 vBRAS, server and storage medium
CN113746709A (en) * 2021-08-25 2021-12-03 烽火通信科技股份有限公司 Method, device and equipment for transfer control separation dynamic capacity management and storage medium
CN113746709B (en) * 2021-08-25 2023-01-31 烽火通信科技股份有限公司 Transfer control separation dynamic capacity management method, device, equipment and storage medium
CN113709273A (en) * 2021-08-31 2021-11-26 迈普通信技术股份有限公司 Address migration method, communication equipment and dual-active system
CN113709273B (en) * 2021-08-31 2023-10-24 迈普通信技术股份有限公司 Address migration method, communication equipment and dual-activity system
WO2023116458A1 (en) * 2021-12-24 2023-06-29 华为技术有限公司 Communication method and apparatus, and communication system

Also Published As

Publication number Publication date
CN106657330B (en) 2019-08-27

Similar Documents

Publication Publication Date Title
CN106657330A (en) User data migration method and user data backup method, device and system
CN110113441B (en) Computer equipment, system and method for realizing load balance
CN109600768B (en) Method, device and system for managing network slices
CN108293001B (en) Software defined data center and deployment method of service cluster in software defined data center
CN105610632B (en) Virtual network equipment and related method
CN105657081B (en) The method, apparatus and system of DHCP service are provided
EP3226132A1 (en) Virtual machine instance deployment method and apparatus and device
CN111224821B (en) Security service deployment system, method and device
CN108616452B (en) Message forwarding method and device
EP3920562A1 (en) Method and system for performing charging processing on network slice client, and related device
CN109803281B (en) Network service management method, equipment and system
CN112688814B (en) Equipment access method, device, equipment and machine readable storage medium
CN108616431A (en) A kind of message processing method, device, equipment and machine readable storage medium
CN103152200B (en) Virtual machine migration method, switch, network management device and network system
CN106453124A (en) Traffic scheduling method and device
CN104780232B (en) A kind of resource allocation methods, controller and system
CN102447638A (en) Load balancing method and forwarding apparatus
CN109040243A (en) A kind of message processing method and device
CN107800814B (en) Virtual machine deployment method and device
CN106357542A (en) Method for providing multicast service and software defined network controller
CN105450540A (en) Load balancing method and device as well as DHCP (dynamic host configuration protocol) server
CN110798412A (en) Multicast service processing method, device, cloud platform, equipment and readable storage medium
CN109936490A (en) Virtual home network share method and system based on VXLAN and OpenFlow
CN109542627A (en) Node switching method, device, supervisor, node device and distributed system
US11929851B2 (en) Gateway selection method, device, and system

Legal Events

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