CN107547675A - A kind of user equipment migration method and apparatus - Google Patents

A kind of user equipment migration method and apparatus Download PDF

Info

Publication number
CN107547675A
CN107547675A CN201710395255.6A CN201710395255A CN107547675A CN 107547675 A CN107547675 A CN 107547675A CN 201710395255 A CN201710395255 A CN 201710395255A CN 107547675 A CN107547675 A CN 107547675A
Authority
CN
China
Prior art keywords
network segment
bras
equipment
network
route
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
CN201710395255.6A
Other languages
Chinese (zh)
Other versions
CN107547675B (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201710395255.6A priority Critical patent/CN107547675B/en
Publication of CN107547675A publication Critical patent/CN107547675A/en
Application granted granted Critical
Publication of CN107547675B publication Critical patent/CN107547675B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application provides a kind of user equipment migration method and apparatus, and this method includes:Announcing removal message is received, the announcing removal message carries network identity, the mark of the first BRAS DP equipment, the mark of the 2nd BRAS DP equipment;Obtain the network segment corresponding to the network identity;Notify that the network segment corresponding to the network segment is route described in the first BRAS DP device revocations;The 2nd BRAS DP equipment is notified to issue network segment route corresponding to the network segment.By the technical scheme of the application, message can be avoided, to the first BRAS DP equipment, to ensure that message is correctly transmitted to the 2nd BRAS DP equipment by erroneous transmissions.

Description

A kind of user equipment migration method and apparatus
Technical field
The application is related to communication technical field, more particularly to a kind of user equipment migration method and apparatus.
Background technology
Accesses of the BRAS (Broadband Remote Access Server, Broadband Remote Access Server) as user The edge of gateway and IP network, because control plane and Forwarding plane are tightly coupled together, cause performance to handle and interact, The performance boundary of control plane and Forwarding plane can not be given full play to, resource utilization is relatively low.To solve the above problems, carry at present The vBRAS frameworks of control plane and Forwarding plane separation are gone out, control plane realizes virtualization using generic server, forwards flat Realize that high-performance forwards using special equipment in face.
Wherein, control plane can be realized by BRAS-CP (Control Plane, control plane) equipment, be positioned as using Family control management part, it is mainly used in realizing user's control management, user access control, user authentication mandate charging, address pipe The functions such as reason, configuration management.Forwarding plane can be realized by BRAS-DP (Data Plane, datum plane) equipment, be positioned as Three-layer network edge and subscriber policy execution unit, it is mainly used in realizing flow forwarding, QoS (Quality of Service, clothes Be engaged in quality), the function such as traffic statistics.
Under the networking scene of vBRAS frameworks, DHCP (Dynamic Host can be affixed one's name in BRAS-CP its upper sides Configuration Protocol, DHCP) address pool, and address is completed by BRAS-CP equipment and distributed Journey.For example, on a user device line when, BRAS-CP equipment can choose a free IP addresses from the dhcp address pool, and The free IP addresses are distributed into the user equipment.
Under aforesaid way, BRAS-CP equipment is that free IP addresses are randomly selected from dhcp address pool, not right The IP address of user equipment under BRAS-DP equipment is planned, causes IP address chaotic.
The content of the invention
The application provides a kind of user equipment migration method, and applied to BRAS-CP equipment, this method includes:
Receive announcing removal message, the announcing removal message carry network identity, the first BRAS-DP equipment mark, The mark of 2nd BRAS-DP equipment;The network identity be user equipment belonging network to be migrated mark, described first BRAS-DP equipment is to belong to the BRAS-DP equipment that all user equipmenies of the network access before migrating, the 2nd BRAS- DP equipment is the BRAS-DP equipment for all user equipmenies access for belonging to the network after migrating;
Obtain the network segment corresponding to the network identity;
Notify that the network segment corresponding to the network segment is route described in the first BRAS-DP device revocations;
The 2nd BRAS-DP equipment is notified to issue network segment route corresponding to the network segment.
The application provides a kind of user equipment migration device, and applied to BRAS-CP equipment, the device includes:
Receiving module, for receiving announcing removal message, the announcing removal message carrying network identity, the first broadband are remote Mark, the mark of the 2nd BRAS-DP equipment of journey access server datum plane BRAS-DP equipment;The network identity is to treat The mark of the user equipment belonging network of migration, the first BRAS-DP equipment is belongs to the useful of the network before migration The BRAS-DP equipment of family equipment access, the 2nd BRAS-DP equipment are to belong to all user equipmenies of the network after migrating The BRAS-DP equipment of access;
Acquisition module, for obtaining the network segment corresponding to the network identity;
Notification module, for notifying that the network segment corresponding to the network segment is route described in the first BRAS-DP device revocations;And The 2nd BRAS-DP equipment is notified to issue network segment route corresponding to the network segment.
Based on above-mentioned technical proposal, in the embodiment of the present application, when user equipment is from the first BRAS-DP equipment transportations to second During BRAS-DP equipment, the network segment corresponding to network identity (mark of user equipment belonging network i.e. to be migrated) is first obtained, and lead to Know network segment route corresponding to the first BRAS-DP device revocations network segment, notify the 2nd BRAS-DP equipment to issue corresponding to the network segment The network segment is route, and so, the message that will can be matched with the network segment is successful from the first BRAS-DP equipment transportations to the 2nd BRAS-DP Equipment, message is avoided, to the first BRAS-DP equipment, to ensure that message is correctly transmitted to the 2nd BRAS-DP equipment by erroneous transmissions. The reasonable distribution of IP address is realized, the IP address of user equipment is planned, avoids IP address chaotic.
Brief description of the drawings
, below will be to the application in order to clearly illustrate the embodiment of the present application or technical scheme of the prior art The required accompanying drawing used is briefly described in embodiment or description of the prior art, it should be apparent that, in describing below Accompanying drawing is only some embodiments described in the application, for those of ordinary skill in the art, can also be according to this Shen Please these accompanying drawings of embodiment obtain other accompanying drawings.
Fig. 1 is the application scenarios schematic diagram in a kind of embodiment of the application;
Fig. 2A is the flow chart of the user equipment migration method in a kind of embodiment of the application;
Fig. 2 B are the flow charts of the address distribution method in a kind of embodiment of the application;
Fig. 3 is the structure chart of the user equipment migration device in a kind of embodiment of the application;
Fig. 4 is the hardware structure diagram of the BRAS-CP equipment in a kind of embodiment of the application.
Embodiment
In term used in this application, merely for the sake of the purpose of description specific embodiment, and unrestricted the application.This Shen Please " one kind " with the singulative used in claims, " described " and "the" are also intended to including most forms, unless Context clearly shows that other implications.It is also understood that term "and/or" used herein refers to comprising one or more Associated list items purpose is any or is possible to combine.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, do not departing from In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, in addition, used word " if " can be construed to " ... when ", or, " when ... ", or, " in response to determining ".
It is proposed a kind of user equipment migration method in the embodiment of the present application, this method be applied to include BRAS-CP equipment with The system of BRAS-DP equipment.For example, in vBRAS systems, BRAS-CP equipment is the equipment for realizing control plane, for realizing The functions such as user's control management, user access control, user authentication mandate charging, address administration, configuration management;And BRAS-DP Equipment is the equipment for realizing Forwarding plane, for realizing the functions such as flow forwarding, QoS, traffic statistics.Wherein, vBRAS systems can With including a BRAS-CP equipment, at least two BRAS-DP equipment.Moreover, each BRAS-DP equipment can connect at least one Individual user equipment (such as virtual machine, PC (Personal Computer, personal computer), mobile phone, main frame etc.).
It is shown in Figure 1, it is the application scenarios schematic diagram of the embodiment of the present application, is with 3 BRAS-DP equipment in Fig. 1 Exemplified by illustrate, certainly, the quantity of BRAS-DP equipment can be more, and this quantity is not limited;In Fig. 1, it is with each BRAS-DP equipment illustrates exemplified by connecting two user equipmenies, and certainly, the number of user equipment of BRAS-DP equipment connection can With more, this quantity is not limited.
Can be that user equipment divides network identity, the network identity can be user equipment institute in network planning phase Belong to the mark of network, and belong to all user equipmenies of consolidated network, it is necessary to be linked into same BRAS-DP equipment, and can not It is linked into different BRAS-DP equipment.Wherein, the network identity can include but is not limited to VXLAN (Virtual Extensible Local Area Network, virtual expansible LAN) mark or VLAN (Virtual Local Area Network, VLAN) mark.
In Fig. 1, illustrated so that network identity is VXLAN marks as an example.For example, set for user equipment 131 and user Standby 132 division VXLAN marks 100, it is connected to DP with VXLAN 100 corresponding user equipmenies 131 and user equipment 132 of mark and sets Standby 121.VXLAN marks 200 are divided for user equipment 133 and user equipment 134,200 corresponding user equipmenies are identified with VXLAN 133 and user equipment 134 be connected to DP equipment 122.VXLAN marks 300 are divided for user equipment 135 and user equipment 136, with User equipment 135 and user equipment 136 are connected to DP equipment 123 corresponding to VXLAN marks 300.
Based on above-mentioned application scenarios, referring to shown in Fig. 2A, for the flow chart of the user equipment migration method, this method can be with Applied to BRAS-CP equipment, and this method may comprise steps of:
Step 211, announcing removal message is received, the announcing removal message can carry network identity, the first BRAS-DP is set Standby mark (such as IP address), the mark (such as IP address) of the 2nd BRAS-DP equipment.
Wherein, the network identity is the mark of user equipment belonging network to be migrated, and the first BRAS-DP equipment is to move Belong to the BRAS-DP equipment of all user equipmenies access of the network before shifting, the 2nd BRAS-DP equipment is to belong to after migrating The BRAS-DP equipment of all user equipmenies access of the network.
In one example, user can complete the migration operation of user equipment by controller, therefore, work as network identity When corresponding all user equipmenies are from the first BRAS-DP equipment transportations to the 2nd BRAS-DP equipment, controller can be somebody's turn to do Network identity, migration before the first BRAS-DP equipment mark, migration after the 2nd BRAS-DP equipment mark, and to BRAS-CP equipment sends the announcing removal message for carrying these information.BRAS-CP equipment after announcing removal message is received, It can determine that all user equipmenies are set from the first BRAS-DP equipment transportations to the 2nd BRAS-DP corresponding to the network identity It is standby.
Step 212, the network segment corresponding to the network identity is obtained.
In one example, BRAS-CP equipment can also obtain and record network identity and the corresponding relation of the network segment.Example Such as, BRAS-CP equipment can record the corresponding relation of network identity and the network segment by mapping table, and certainly, BRAS-CP equipment also may be used It is without limitation to record the corresponding relation of network identity and the network segment otherwise, if record have network identity and The corresponding relation of the network segment, subsequently exemplified by being recorded by mapping table.On this basis, BRAS-CP equipment is moved receiving After moving notification message, the mapping table can be inquired about by the network identity that the announcing removal message carries, so as to obtain the network The network segment corresponding to mark.
The process for obtaining the corresponding relation of network identity and the network segment to BRAS-CP equipment below illustrates.
BRAS-CP equipment can receive the address request that user equipment is sent by the first BRAS-DP equipment, the ground Location request message carries network identity;It is if corresponding in the absence of the network segment corresponding to the network identity or the existing network identity The network segment in free IP addresses are not present, then be the idle network segment of network identity distribution according to default network segment length;Then remember Record the corresponding relation of the network identity and the network segment of distribution.
Below in conjunction with address allocation procedure, to above-mentioned " BRAS-CP equipment obtains the corresponding relation of network identity and the network segment " Process be described in detail.Referring to shown in Fig. 2 B, for the flow chart of address distribution method, this method can apply to BRAS- CP equipment, and this method may comprise steps of:
Step 2121, the address request that user equipment is sent by the first BRAS-DP equipment is received.
Wherein, in order to distinguish conveniently, the BRAS-DP equipment accessed when can user equipment be reached the standard grade is referred to as the first BRAS- DP equipment;Moreover, the address request can carry a network identity.
In one example, on a user device line when, the user equipment to the first BRAS-DP equipment send Address requests Message (such as DHCP request message), user equipment send the address request in do not carry network identity.First BRAS-DP Equipment first determines the network identity of the user equipment after the address request is received, and is added to ground by the network identity In the request message of location, and address request, the Address requests that the first BRAS-DP equipment is sent are sent to BRAS-CP equipment Network identity is carried in message.
Wherein, for the process of " the first BRAS-DP equipment determines the network identity of the user equipment ", can include but not It is limited to following manner:First BRAS-DP equipment can configure the corresponding relation of each interface and network identity of this equipment, and first BRAS-DP equipment first determines the incoming interface of the address request after address request is received, and then enters to connect by this Mouth inquires about the corresponding relation, it is possible to obtains network identity corresponding with the incoming interface, this network identity namely user The network identity of equipment.
Wherein, for " network identity is added in address request by the first BRAS-DP equipment, and to BRAS-CP The process of equipment transmission address request ", can include but is not limited to following manner:
The network identity can be added to the message header or load word of address request by the first BRAS-DP equipment Section, and send the address request to BRAS-CP equipment;Or the first BRAS-DP equipment can be the address request Encapsulation tunnel head (such as VXLAN tunnels head), and the network identity is added to the tunnel head, and send and seal to BRAS-CP equipment Address request equipped with tunnel head.
Step 2122, judge to whether there is net corresponding with the network identity that the address request carries in mapping table Section.If it is not, then step 2123 is performed, if it is, performing step 2126.
Step 2123, it is that the network identity distributes an idle network segment according to default network segment length.
Specifically, BRAS-CP equipment from address pool, chooses the network segment of the mask-length for the default network segment length.For example, When address pool is 10.1.0.0/16, and default network segment length is 24, then the network segment can be 10.1.1.0/24,10.1.2.0/ 24,10.1.3.0/24 etc., and the network segment of free time can be selected from these network segments.
Step 2124, the corresponding relation of the network identity and the network segment is recorded in the mapping table.
Step 2125, a free IP addresses are chosen from the network segment, and by the first BRAS-DP equipment to user equipment Send the address response message (such as dhcp response message) for carrying the free IP addresses.
Based on said process, it is possible to an IP address is distributed into the user equipment, and it is not empty to mark the IP address Not busy IP address, when distributing IP address for other user equipmenies, the IP address can not be distributed.
Step 2126, the network segment corresponding with the network identity for judging to record in mapping table whether there is free IP addresses. If it is, perform step 2127;If it is not, then perform step 2123.
Step 2127, a free IP addresses are chosen from the network segment corresponding with the network identity, and pass through the first BRAS- DP equipment sends the address response message for carrying the free IP addresses to user equipment.
Based on address above mentioned assigning process, then heterogeneous networks, which identify, can correspond to the different network segments, and a network identity can To correspond to one or more network segment, but a network segment can only correspond to a network identity, and the network segment only corresponds to one BRAS-DP equipment.In addition, when a network identity corresponds to multiple network segments, this multiple network segment can be the continuous network segment, also may be used To be the discontinuous network segment.For example, VXLAN identifies 100 corresponding network segment 10.1.1.0/24, VXLAN identifies the 200 corresponding network segments 10.1.2.0/24, still, VXLAN, which identifies 100 and VXLAN marks 200, can not correspond to the same network segment.In another example VXLAN is marked Network segment 10.1.1.0/24 and network segment 10.1.2.0/24 (the i.e. continuous network segment) can be corresponded to by knowing 100, can also correspond to the network segment 10.1.1.0/24 with network segment 10.1.3.0/24 (the i.e. discontinuous network segment).
Below in conjunction with concrete application scene, address above mentioned assigning process is described in detail.
Under this application scene, it is assumed that BRAS-DP equipment 121 establishes VXLAN tunnels 1, and BRAS- with BRAS-CP equipment DP equipment 122 establishes VXLAN tunnels 2 with BRAS-CP equipment, and BRAS-DP equipment 123 establishes VXLAN tunnels with BRAS-CP equipment Road 3.
In one example, when user equipment 131 is reached the standard grade, user equipment 131 sends DHCP request message.BRAS-DP Equipment 121 is after the DHCP request message is received, for DHCP request message packaging V XLAN tunnels head, the VXLAN tunnels head Including VXLAN marks 100, and DHCP request message is sent to by BRAS-CP equipment by VXLAN tunnels 1.BRAS-CP equipment VXLAN marks 100 are parsed from DHCP request message, due to there is currently no the network segment corresponding to VXLAN marks 100, therefore, An idle network segment, such as 10.1.1.0/24 can be distributed according to address pool 10.1.0.0/16, and recorded in the mapping table VXLAN marks 100 and network segment 10.1.1.0/24 corresponding relation, and choose free IP addresses from network segment 10.1.1.0/24 10.1.1.1.Then, BRAS-CP equipment sends the DHCP sound for carrying free IP addresses 10.1.1.1 to BRAS-DP equipment 121 Message is answered, and BRAS-DP equipment 121 can send the dhcp response for carrying free IP addresses 10.1.1.1 to user equipment 131 Message, so, successfully distribute IP address 10.1.1.1 for user equipment 131.
In addition, when user equipment 132 is reached the standard grade, the processing of user equipment 132 and BRAS-DP equipment 121 and said process Similar, it is no longer repeated herein.BRAS-CP equipment solves after DHCP request message is received from the DHCP request message VXLAN marks 100 are separated out, due to VXLAN marks 100 and network segment 10.1.1.0/24 corresponding relation in mapping table be present, Therefore, free IP addresses 10.1.1.2 can be chosen directly from network segment 10.1.1.0/24.Then, BRAS-CP equipment to BRAS-DP equipment 121 sends the dhcp response message for carrying free IP addresses 10.1.1.2, and BRAS-DP equipment 121 can be to User equipment 132 sends the dhcp response message for carrying free IP addresses 10.1.1.2, so, successfully divides for user equipment 132 With IP address 10.1.1.2.
For the address allocation procedure of user equipment 133, user equipment 135, the address allocation procedure with user equipment 131 Similar, it is no longer repeated herein.In addition, for the address allocation procedure of user equipment 134, user equipment 136, set with user Standby 132 address allocation procedure is similar, and it is no longer repeated herein.
Based on address above mentioned assigning process, BRAS-CP equipment can be that network identity distributes the network segment, and by the network segment IP address distributes to user equipment corresponding with the network identity.It is equal to be additionally, since all user equipmenies corresponding to network identity Same BRAS-DP equipment is linked into, therefore, is linked into the IP address that all user equipmenies of the BRAS-DP equipment are assigned to, Belong to the same network segment.Obviously, aforesaid way can realize the reasonable distribution of IP address, and IP address is planned, keep away Exempt from IP address confusion.
After IP address is distributed for user equipment, BRAS-DP equipment can also issue the road for these user equipmenies By.In conventional manner, the issue of BRAS-DP equipment is Host routes, and such as issue carries IP address 10.1.1.1 route, taken Route with IP address 10.1.1.2, the route for carrying IP address 10.1.1.3, by that analogy.Unlike aforesaid way, In the embodiment of the present application, because all user equipmenies of the corresponding same network segment only access same BRAS-DP equipment, therefore BRAS- DP equipment can issue network segment route, rather than issue Host routes, and such as issue carries network segment 10.1.1.0/24 route, this Sample, a large amount of Host routes can be replaced by a network segment route, reduce the quantity of issue route, save Internet resources.
The process of issue network segment route is illustrated below.BRAS-CP equipment is in the net for the network identity distribution free time After section, it is possible to notify the first BRAS-DP equipment to issue the network segment corresponding to the network segment and route.For example, BRAS-CP equipment can be with The route advertisement message for carrying the network segment is sent to the first BRAS-DP equipment, so that the first BRAS-DP equipment is sent for issuing The route messages that the network segment corresponding to the network segment is route.
Wherein, BRAS-CP equipment, can be from this after the address request of the first BRAS-DP equipment transmission is received The address of the first BRAS-DP equipment is parsed in address request, so as to the address according to the first BRAS-DP equipment, The first BRAS-DP equipment is notified to issue the network segment corresponding to the network segment and route.
For example, BRAS-CP equipment can be set after for the distribution network segment 10.1.1.0/24 of VXLAN marks 100 to BRAS-DP Standby 121 send the route advertisement message for carrying network segment 10.1.1.0/24.BRAS-DP equipment 121 is receiving the carrying network segment 10.1.1.0/24 after route advertisement message, the route messages for carrying network segment 10.1.1.0/24, the route messages can be sent It is route for issuing the network segment corresponding to network segment 10.1.1.0/24.
It is shown in Figure 1, after forwarding unit receives the route messages by interface A, net can be recorded in the routing table Section 10.1.1.0/24 and interface A corresponding relation.So, forwarding unit is receiving destination address and network segment 10.1.1.0/ , can be by table of query and routing, so that will by interface A after the message (message that such as destination address is 10.1.1.1) of 24 matchings The message is sent to BRAS-DP equipment 121.
In one example, the route being route for issuing the network segment corresponding to the network segment is sent in the first BRAS-DP equipment After message, when all user equipmenies corresponding to network identity corresponding to the network segment are from the first BRAS-DP equipment transportations to During two BRAS-DP equipment, then it can migrate the network segment corresponding to the network segment and route, that is, perform above-mentioned steps 211 and step 212, so Follow-up step 213 and step 214 are performed afterwards.
Step 213, network segment route corresponding to the first BRAS-DP device revocations network segment is notified.
Step 214, the 2nd BRAS-DP equipment is notified to issue the network segment corresponding to the network segment and route.
In one example, for the process of " notifying that the network segment is route corresponding to the first BRAS-DP device revocations network segment ", It can include:BRAS-CP equipment sends the route deletion message for carrying the network segment to the first BRAS-DP equipment, so that first BRAS-DP equipment sends the route messages being route for cancelling the network segment corresponding to the network segment.For " notifying the 2nd BRAS-DP to set The process of network segment route corresponding to the preparation cloth network segment ", can include:BRAS-CP equipment sends to the 2nd BRAS-DP equipment and taken Route advertisement message with the network segment, so that the 2nd BRAS-DP equipment sends what is route for issuing the network segment corresponding to the network segment Route messages.
For example, using the first BRAS-DP equipment as BRAS-DP equipment 121, the 2nd BRAS-DP equipment is BRAS-DP equipment Exemplified by 123, then BRAS-CP equipment can be deleted to the transmission carrying network segment of BRAS-DP equipment 121 10.1.1.0/24 route and disappeared Breath, BRAS-DP equipment 121 send after receiving the route for carrying network segment 10.1.1.0/24 and deleting message and carry the network segment 10.1.1.0/24 revocation route messages, the revocation route messages are used to cancel network segment road corresponding to network segment 10.1.1.0/24 By.BRAS-CP equipment can send the route advertisement message for carrying network segment 10.1.1.0/24, BRAS- to BRAS-DP equipment 123 DP equipment 123 can send the carrying network segment after the route advertisement message for carrying network segment 10.1.1.0/24 is received 10.1.1.0/24 route messages, the route messages are used to issue network segment route corresponding to network segment 10.1.1.0/24.
After forwarding unit receives the revocation route messages for carrying network segment 10.1.1.0/24 by interface A, from routing table Delete network segment 10.1.1.0/24 and interface A corresponding relation.Forwarding unit is received by interface C and carries network segment 10.1.1.0/ After 24 route messages, network segment 10.1.1.0/24 and interface C corresponding relation is recorded in the routing table.So, forwarding unit exists After receiving the message (message that such as destination address is 10.1.1.1) that destination address matches with network segment 10.1.1.0/24, pass through Table of query and routing, message can be sent to by BRAS-DP equipment 123 by interface C, rather than BRAS- is sent to by interface A DP equipment 121.
Based on above-mentioned technical proposal, in the embodiment of the present application, when user equipment is from the first BRAS-DP equipment transportations to second During BRAS-DP equipment, the network segment corresponding to network identity (mark of user equipment belonging network i.e. to be migrated) is first obtained, and lead to Know network segment route corresponding to the first BRAS-DP device revocations network segment, notify the 2nd BRAS-DP equipment to issue corresponding to the network segment The network segment is route, and so, the message that will can be matched with the network segment is successful from the first BRAS-DP equipment transportations to the 2nd BRAS-DP Equipment, message is avoided, to the first BRAS-DP equipment, to ensure that message is correctly transmitted to the 2nd BRAS-DP equipment by erroneous transmissions. The reasonable distribution of IP address is realized, the IP address of user equipment is planned, avoids IP address chaotic.
The address request that BRAS-CP equipment receives also carries the mark (such as IP address) of the first BRAS-DP equipment, Based on this, when BRAS-CP equipment records the corresponding relation of network identity and the network segment in the mapping table, network mark can also be recorded Knowledge, the network segment, the first BRAS-DP equipment mark corresponding relation.Moreover, BRAS-CP equipment notifies the first BRAS-DP equipment to remove Sell the network segment corresponding to the network segment to route, after notifying the 2nd BRAS-DP equipment to issue network segment route corresponding to the network segment, can also incite somebody to action The mark of the first BRAS-DP equipment recorded in mapping table is revised as the mark of the 2nd BRAS-DP equipment.
In one example, when the user equipment for accessing the first BRAS-DP equipment is offline, BRAS-CP equipment can be with The IP address of the user equipment is distributed in recovery, and determines the network segment belonging to the IP address.It is unrecovered when being not present in the network segment IP address (i.e. all IP address of the network segment are the free time) when, then illustrate that all user equipmenies are corresponding to the network segment It is offline, BRAS-CP equipment queries network identity, the network segment, the first BRAS-DP equipment mark corresponding relation (such as mapping table), The mark of the first BRAS-DP equipment corresponding to the network segment is obtained, and notifies net corresponding to the first BRAS-DP device revocations network segment Section route, the specific mode that cancels is referring to the processing of step 213, and it is no longer repeated herein.
In one example, BRAS-CP equipment notifies network segment route corresponding to the first BRAS-DP device revocations network segment Afterwards, the network segment can also be reclaimed, and deletes the corresponding relation for including the network segment, pair for including the network segment is deleted such as from mapping table It should be related to;Because the network segment in mapping table has uniqueness, therefore, when deleting the corresponding relation comprising the network segment, it is possible to Delete the corresponding relation of the network segment, network identity and the first BRAS-DP equipment.Or BRAS-CP equipment is that the network segment is set always Change timer;In ageing timer time-out, the network segment is just reclaimed, and delete the corresponding relation for including the network segment;Determine in aging When device time-out before, if the user equipment in the network segment map network is reached the standard grade again, BRAS-CP equipment can also be from the network segment Free IP addresses are chosen, and the IP address of selection is distributed to the user equipment reached the standard grade again.
To be conceived based on the application same with the above method, the embodiment of the present application also proposes a kind of user equipment migration device, Shown in Figure 3 applied to BRAS-CP equipment, the user equipment migration device can include:
Receiving module 301, for receiving announcing removal message, the announcing removal message carries network identity, first wide The mark of mark, the 2nd BRAS-DP equipment with RAS datum plane BRAS-DP equipment;The network identity For the mark of user equipment belonging network to be migrated, the first BRAS-DP equipment is belongs to the institute of the network before migration There is the BRAS-DP equipment that user equipment accesses, the 2nd BRAS-DP equipment is to belong to all users of the network after migrating The BRAS-DP equipment of equipment access;
Acquisition module 302, for obtaining the network segment corresponding to the network identity;
Notification module 303, for notifying that the network segment corresponding to the network segment is route described in the first BRAS-DP device revocations;With And the 2nd BRAS-DP equipment is notified to issue network segment route corresponding to the network segment.
The acquisition module 302, it is additionally operable to obtain the corresponding relation of network identity and the network segment;
During the corresponding relation of network identity and the network segment is obtained, the acquisition module 302, it is additionally operable to receive user The address request that equipment is sent by the first BRAS-DP equipment, the address request carry network identity;If do not deposit Free IP addresses are not present in the network segment corresponding to the network segment corresponding to the network identity or the existing network identity, then root It is the idle network segment of network identity distribution according to default network segment length;Record the corresponding pass of the network identity and the network segment of distribution System.
It is described after the acquisition module 302 is the idle network segment of network identity distribution according to default network segment length Notification module 303, the network segment corresponding to the network segment for being additionally operable to notify the first BRAS-DP equipment to issue the distribution are route.
The address request carries the mark of the first BRAS-DP equipment, the acquisition module 302, is additionally operable to record The network identity, distribution the network segment, the first BRAS-DP equipment mark corresponding relation.
The acquisition module 302, it is additionally operable to when the user equipment for accessing the first BRAS-DP equipment is offline, recovery The IP address of the user equipment is distributed to, and determines the network segment belonging to the IP address, it is unrecovered when being not present in the network segment IP address when, inquire about the corresponding relation, obtain the mark of the first BRAS-DP equipment corresponding to the network segment;The notice mould Block 303, it is additionally operable to notify the network segment corresponding to the first BRAS-DP device revocations network segment to route.
After the notification module 303 notifies network segment route corresponding to the first BRAS-DP device revocations network segment, The acquisition module 302, it is additionally operable to reclaim the network segment, and deletes the corresponding relation for including the network segment;Or set for the network segment Ageing timer;In the ageing timer time-out, the network segment is reclaimed, and delete the corresponding relation for including the network segment;Institute Before stating ageing timer time-out, if the user equipment in the network segment map network is reached the standard grade again, chosen from the network segment empty Not busy IP address, and the IP address of selection is distributed to the user equipment reached the standard grade again.
When notifying that the network segment corresponding to the network segment is route described in the first BRAS-DP device revocations, the notification module 303, it is additionally operable to send the route deletion message for carrying the network segment to the first BRAS-DP equipment, so that described first BRAS-DP equipment sends the route messages being route for cancelling the network segment corresponding to the network segment;Notifying the 2nd BRAS-DP When equipment issues network segment route corresponding to the network segment, the notification module 303, it is additionally operable to the 2nd BRAS-DP equipment The route advertisement message for carrying the network segment is sent, so that the 2nd BRAS-DP equipment is sent for issuing corresponding to the network segment The route messages of network segment route.
The BRAS-CP equipment that the embodiment of the present application provides, for hardware view, the hardware structure of the BRAS-CP equipment Schematic diagram may refer to Fig. 4.Including:Machinable medium and processor, wherein:
Machinable medium:Store instruction code.
Processor:Communicate, stored in reading and execution machinable medium described with machinable medium Instruction code, realize that user equipment migration disclosed in the application above-mentioned example operates.
Here, machinable medium can be any electronics, magnetic, optics or other physical storage devices, can be with Comprising or storage information, such as executable instruction, data, etc..For example, machinable medium can be:RAM(Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, memory driver is (as hard Disk drive), solid state hard disc, any kind of storage dish (such as CD, dvd), either similar storage medium or they Combination.
System, device, module or the unit that above-described embodiment illustrates, it can specifically be realized by computer chip or entity, Or realized by the product with certain function.One kind typically realizes that equipment is computer, and the concrete form of computer can To be personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet PC, wearable device or these equipment The combination of any several equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented The function of each unit can be realized in same or multiple softwares and/or hardware during application.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, the application can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the embodiment of the present application can use wherein includes computer usable program code in one or more The computer that computer-usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of program product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product Figure and/or block diagram describe.It is generally understood that by each in computer program instructions implementation process figure and/or block diagram Flow and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer journeys can be provided Sequence instruction to all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices processor with Produce a machine so that produce and be used for by the instruction of computer or the computing device of other programmable data processing devices Realize the dress for the function of being specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames Put.
Moreover, these computer program instructions can also be stored in computer or other programmable datas can be guided to handle and set In the standby computer-readable memory to work in a specific way so that the instruction being stored in the computer-readable memory produces Manufacture including command device, the command device are realized in one flow of flow chart or multiple flows and/or block diagram one The function of being specified in individual square frame or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer Or the instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram The step of function of being specified in one square frame or multiple square frames.
Embodiments herein is the foregoing is only, is not limited to the application.For those skilled in the art For, the application can have various modifications and variations.All any modifications made within spirit herein and principle, it is equal Replace, improve etc., it should be included within the scope of claims hereof.

Claims (14)

  1. A kind of 1. user equipment migration method, it is characterised in that applied to Broadband Remote Access Server control plane BRAS-CP Equipment, methods described include:
    Announcing removal message is received, the announcing removal message carries network identity, the first Broadband Remote Access Server data Mark, the mark of the 2nd BRAS-DP equipment of plane BRAS-DP equipment;The network identity is user equipment institute to be migrated Belong to the mark of network, the first BRAS-DP equipment is the BRAS- for all user equipmenies access for belonging to the network before migrating DP equipment, the 2nd BRAS-DP equipment set to belong to the BRAS-DP of all user equipmenies access of the network after migration It is standby;
    Obtain the network segment corresponding to the network identity;
    Notify that the network segment corresponding to the network segment is route described in the first BRAS-DP device revocations;
    The 2nd BRAS-DP equipment is notified to issue network segment route corresponding to the network segment.
  2. 2. according to the method for claim 1, it is characterised in that this method also includes:Obtain pair of network identity and the network segment It should be related to;The corresponding relation for obtaining network identity and the network segment, including:
    The address request that user equipment is sent by the first BRAS-DP equipment is received, the address request carries net Network identifies;
    If it is not present in the network segment corresponding to the network segment corresponding to the network identity or the existing network identity and idle IP is not present Address, then it is the idle network segment of network identity distribution according to default network segment length;
    Record the corresponding relation of the network identity and the network segment of distribution.
  3. 3. according to the method for claim 2, it is characterised in that the basis is preset network segment length and distributed for the network identity After the idle network segment, methods described also includes:
    The first BRAS-DP equipment is notified to issue network segment route corresponding to the network segment of the distribution.
  4. 4. according to the method for claim 2, it is characterised in that the address request carries the first BRAS-DP The mark of equipment, this method also include:
    Record the network identity, distribution the network segment, the first BRAS-DP equipment mark corresponding relation.
  5. 5. according to the method for claim 4, it is characterised in that methods described also includes:
    When the user equipment for accessing the first BRAS-DP equipment is offline, the IP address of the user equipment is distributed in recovery, And the network segment belonging to the IP address is determined, when unrecovered IP address is not present in the network segment, the corresponding relation is inquired about, The mark of the first BRAS-DP equipment corresponding to the network segment is obtained, and notifies that the first BRAS-DP device revocations network segment is corresponding The network segment route.
  6. 6. according to the method for claim 5, it is characterised in that notify the first BRAS-DP device revocations network segment pair After the network segment route answered, methods described also includes:
    The network segment is reclaimed, and deletes the corresponding relation for including the network segment;Or
    For the network segment, ageing timer is set;In the ageing timer time-out, the network segment is reclaimed, and delete and include the network segment Corresponding relation;Before the ageing timer time-out, if the user equipment in the network segment map network is reached the standard grade again, from Free IP addresses are chosen in the network segment, and the IP address of selection is distributed to the user equipment reached the standard grade again.
  7. 7. method according to claim 1 or 5, it is characterised in that described to notify the first BRAS-DP device revocations institute The network segment corresponding to the network segment is stated to route, including:
    The route deletion message for carrying the network segment is sent to the first BRAS-DP equipment, so that the first BRAS-DP is set Preparation send the route messages being route for cancelling the network segment corresponding to the network segment;
    It is described to notify the 2nd BRAS-DP equipment to issue network segment route corresponding to the network segment, including:
    The route advertisement message for carrying the network segment is sent to the 2nd BRAS-DP equipment, so that the 2nd BRAS-DP is set Preparation send the route messages being route for issuing the network segment corresponding to the network segment.
  8. 8. a kind of user equipment migration device, it is characterised in that applied to Broadband Remote Access Server control plane BRAS-CP Equipment, described device include:
    Receiving module, for receiving announcing removal message, the announcing removal message carries network identity, the first broad band remote connects Enter mark, the mark of the 2nd BRAS-DP equipment of server data plane BRAS-DP equipment;The network identity is to be migrated User equipment belonging network mark, the first BRAS-DP equipment sets to belong to all users of the network before migration The BRAS-DP equipment of standby access, the 2nd BRAS-DP equipment access to belong to all user equipmenies of the network after migration BRAS-DP equipment;
    Acquisition module, for obtaining the network segment corresponding to the network identity;
    Notification module, for notifying that the network segment corresponding to the network segment is route described in the first BRAS-DP device revocations;And notice The 2nd BRAS-DP equipment issues network segment route corresponding to the network segment.
  9. 9. device according to claim 8, it is characterised in that
    The acquisition module, it is additionally operable to obtain the corresponding relation of network identity and the network segment;
    During the corresponding relation of network identity and the network segment is obtained, the acquisition module, it is additionally operable to reception user equipment and leads to The address request of the first BRAS-DP equipment transmission is crossed, the address request carries network identity;If the net is not present Free IP addresses are not present in the network segment corresponding to the network segment corresponding to network mark or the existing network identity, then according to default Network segment length is the idle network segment of network identity distribution;Record the corresponding relation of the network identity and the network segment of distribution.
  10. 10. device according to claim 9, it is characterised in that being according to default network segment length in the acquisition module should After the idle network segment of network identity distribution, the notification module, it is additionally operable to notify described in the first BRAS-DP equipment issue The network segment corresponding to the network segment of distribution is route.
  11. 11. device according to claim 9, it is characterised in that the address request carries the first BRAS-DP The mark of equipment, the acquisition module, it is additionally operable to record the network identity, the network segment of distribution, the first BRAS-DP equipment The corresponding relation of mark.
  12. 12. device according to claim 11, it is characterised in that the acquisition module, be additionally operable to when access described first When the user equipment of BRAS-DP equipment is offline, the IP address of the user equipment is distributed in recovery, and determines the IP address institute The network segment of category, when unrecovered IP address is not present in the network segment, the corresponding relation is inquired about, obtained corresponding to the network segment The mark of one BRAS-DP equipment;
    The notification module, it is additionally operable to notify the network segment corresponding to the first BRAS-DP device revocations network segment to route.
  13. 13. device according to claim 12, it is characterised in that notify the first BRAS-DP in the notification module After network segment route corresponding to the device revocation network segment, the acquisition module, it is additionally operable to reclaim the network segment, and delete and include the net The corresponding relation of section;Or ageing timer is set for the network segment;In the ageing timer time-out, the network segment is reclaimed, and Delete the corresponding relation for including the network segment;Before the ageing timer time-out, if the user in the network segment map network sets It is standby to reach the standard grade again, then free IP addresses are chosen from the network segment, and the IP address of selection is distributed to the user to reach the standard grade again and set It is standby.
  14. 14. the device according to claim 8 or 12, it is characterised in that
    When notifying that the network segment corresponding to the network segment is route described in the first BRAS-DP device revocations, the notification module, it is additionally operable to The route deletion message for carrying the network segment is sent to the first BRAS-DP equipment, so that the first BRAS-DP equipment is sent out Send the route messages being route for cancelling the network segment corresponding to the network segment;
    When notifying the 2nd BRAS-DP equipment to issue network segment route corresponding to the network segment, the notification module, it is additionally operable to The route advertisement message for carrying the network segment is sent to the 2nd BRAS-DP equipment, so that the 2nd BRAS-DP equipment is sent out Send the route messages being route for issuing the network segment corresponding to the network segment.
CN201710395255.6A 2017-05-26 2017-05-26 User equipment migration method and device Active CN107547675B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710395255.6A CN107547675B (en) 2017-05-26 2017-05-26 User equipment migration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710395255.6A CN107547675B (en) 2017-05-26 2017-05-26 User equipment migration method and device

Publications (2)

Publication Number Publication Date
CN107547675A true CN107547675A (en) 2018-01-05
CN107547675B CN107547675B (en) 2020-11-06

Family

ID=60965669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710395255.6A Active CN107547675B (en) 2017-05-26 2017-05-26 User equipment migration method and device

Country Status (1)

Country Link
CN (1) CN107547675B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110061855A (en) * 2018-06-28 2019-07-26 新华三技术有限公司 A kind of method for processing business, system and device
CN110891022A (en) * 2019-11-20 2020-03-17 Ut斯达康通讯有限公司 SRv 6-based virtual subnet identifier publishing method and device
WO2021012266A1 (en) * 2019-07-25 2021-01-28 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for subscriber migration
CN116938626A (en) * 2023-09-12 2023-10-24 新华三技术有限公司 Client roaming method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030012179A1 (en) * 2001-07-13 2003-01-16 Masashi Yano Mobile communication system
US20140056302A1 (en) * 2012-06-20 2014-02-27 International Business Machines Corporation Hypervisor independent network virtualization
CN106534376A (en) * 2016-12-29 2017-03-22 北京华为数字技术有限公司 User online load balancing method, apparatus and device
CN106657330A (en) * 2016-12-22 2017-05-10 北京华为数字技术有限公司 User data migration method and user data backup method, device and system
CN106685818A (en) * 2016-12-30 2017-05-17 北京华为数字技术有限公司 Message feedback method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030012179A1 (en) * 2001-07-13 2003-01-16 Masashi Yano Mobile communication system
US20140056302A1 (en) * 2012-06-20 2014-02-27 International Business Machines Corporation Hypervisor independent network virtualization
CN106657330A (en) * 2016-12-22 2017-05-10 北京华为数字技术有限公司 User data migration method and user data backup method, device and system
CN106534376A (en) * 2016-12-29 2017-03-22 北京华为数字技术有限公司 User online load balancing method, apparatus and device
CN106685818A (en) * 2016-12-30 2017-05-17 北京华为数字技术有限公司 Message feedback method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110061855A (en) * 2018-06-28 2019-07-26 新华三技术有限公司 A kind of method for processing business, system and device
WO2020001514A1 (en) * 2018-06-28 2020-01-02 新华三技术有限公司 Service processing
WO2021012266A1 (en) * 2019-07-25 2021-01-28 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for subscriber migration
CN110891022A (en) * 2019-11-20 2020-03-17 Ut斯达康通讯有限公司 SRv 6-based virtual subnet identifier publishing method and device
CN110891022B (en) * 2019-11-20 2021-11-16 Ut斯达康通讯有限公司 SRv 6-based virtual subnet identifier publishing method and device
CN116938626A (en) * 2023-09-12 2023-10-24 新华三技术有限公司 Client roaming method and device and electronic equipment
CN116938626B (en) * 2023-09-12 2023-12-19 新华三技术有限公司 Client roaming method and device and electronic equipment

Also Published As

Publication number Publication date
CN107547675B (en) 2020-11-06

Similar Documents

Publication Publication Date Title
CN108667695B (en) Backup method and device for BRAS transfer control separation
CN106031116B (en) A kind of correlating method, the apparatus and system of NS and VNF
CN108616431A (en) A kind of message processing method, device, equipment and machine readable storage medium
CN107547675A (en) A kind of user equipment migration method and apparatus
CN106209402B (en) A kind of telescopic method and equipment of virtual network function
JP2019527988A (en) Packet transmission
CN108737224B (en) Message processing method and device based on micro-service architecture
CN105744579B (en) Method, switching control and the access device that terminal switches between AP
CN108667575B (en) Backup method and device for BRAS transfer control separation
CN104601680B (en) A kind of method for managing resource and device
CN103607430A (en) Network processing method and system, and network control center
EP3125504B1 (en) Resource allocation method, packet communication method and device
CN104780088A (en) Service message transmission method and equipment
CN105282003B (en) Establish the method and system and tunnel control device and virtual switch in tunnel
CN108462592A (en) Resource allocation methods based on SLA and NFVO
CN104301251A (en) QoS processing method, system and device
CN111092801A (en) Data transmission method and device
CN105589744A (en) Virtual machine migration method and apparatus
CN107547391A (en) A kind of message transmitting method and device
CN110061855A (en) A kind of method for processing business, system and device
CN112688814A (en) Equipment access method, device, equipment and machine readable storage medium
CN111585887A (en) Communication method and device based on multiple networks, electronic equipment and storage medium
CN108259218A (en) A kind of IP address distribution method and device
CN106713378A (en) Method and system for realizing service provision by multiple application servers
CN104468759A (en) Method and device for achieving application migration in PaaS platform

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