Embodiment
In order to make the more clear and easy to understand of the object of the invention, feature, advantage, below with reference to accompanying drawing the specific embodiment of the present invention is done detailed explanation and elaboration.
Fig. 2 is that the system of MAG reliability solution among the mobile PMIPv6 of the agency of the embodiment of the invention disposes schematic diagram.The embodiment of the invention provides Mobile Access Gateway management entity among a kind of PMIP.The embodiment of the invention realizes fault-tolerant management and the load balancing (Load balance) of MAG by introducing MAG pond (MAG Pool, Mobile Access Gateway Pool) concept.
The MAG pond is the mutually set of the MAG of alternative service, is concept in logic.Namely when certain MAG can't continue as some MN mobility service is provided, then one or more other MAG in the MAG pond can replace this MAG to provide mobility service to corresponding mobile node.
For the MAG in the MAG pond is carried out failure detection and centralized management, the embodiment of the invention provides Mobile Access Gateway management entity among a kind of PMIP: MAG pond management entity (MPM, MAG PoolManagement entity).MPM detects accessibility, fault or the load information of each MAG in the same MAG pond by heartbeat message.The major function of MPM comprises: state and the load information of safeguarding MAG in the MAG pond; Be responsible for the MAG in the MAG pond is carried out failure detection; When certain MAG in the pond lost efficacy or satisfied switching condition, MPM selected T-MAG (Takeover Mobile AccessGateway switches target MAG) and starts the MAG handover mechanism; Carrying out target entity when mobile node access MAG selects.
Fig. 3 is the Signalling exchange flow chart that the system of the embodiment of the invention carries out the MAG changing method.As shown in Figure 3, MAG changing method by the embodiment of the invention, T-MAG all replaces or Partial Replacement P-MAG (Previous Mobile Access Gateway, the front MAG of to be switched or switching) carries out the mobile management service, thereby realizes the fault-tolerant and load balancing between the MAG.MAG changing method shown in Figure 3 has been described the MPM of the embodiment of the invention, to be switched MAG, has been switched between target MAG and the LMA and carry out Signalling exchange, with the course of work that realizes that MAG switches.The flow process of the changing method of the embodiment of the invention comprises the steps:
Step S301, MPM obtain P-MAG information;
Described P-MAG information comprises the P-MAG sign, the state of P-MAG, and this information can also comprise the LMA sign of to be switched MN sign, to be switched MN etc.; FQDN (Fully Qualified Domain Name, the universe name) sign that described P-MAG sign can be IP address, P-MAG or other can uniquely represent the sign of P-MAG; The state of described P-MAG refers to that P-MAG fault, P-MAG load are excessive, the state such as unreachable between P-MAG and the LMA; The network access Identifier (NAI, Network Access Identifier) that described to be switched MN sign can be the user etc.; The LMA of described to be switched MN sign is used for being expressed as the LMA that to be switched MN provides the mobile management service, and it can be the sign that the FQDN sign of IP address, LMA of LMA or other can unique LMA of representative; Described MPM can obtain P-MAG information by the modes such as indication message that the heartbeat mechanism between MPM and the P-MAG or P-MAG send.
Step S302, MPM send the MAG handover request to T-MAG; Carry P-MAG information in the request, and indicate the contextual information that whether needs from the synchronous MN of P-MAG;
The contextual information of described MN refers to the relevant information of the mobile management of MN, and it can comprise the information such as network prefix (MN-HNP, MN home network prefix), MN sign (MN-ID) and interface ID of MN; The synchronous indication of described contextual information can need indicate whether by switch reasons the contextual information of synchronous MN to T-MAG, when for example switch reasons is the P-MAG fault, T-MAG needn't with the contextual information of the synchronous to be switched MN of P-MAG, when switch reasons is P-MAG when overload, T-MAG can with the contextual information of the synchronous to be switched MN of P-MAG; The synchronous indication of contextual information also can dominantly represent in addition, namely directly increases a sign.
If the handover request message that step S303 T-MAG sends according to MPM, judge the contextual information that needs with the synchronous to be switched MN of P-MAG, the contextual information of the synchronous to be switched MN of T-MAG then, when when not required, then T-MAG not with the contextual information of the synchronous to be switched MN of P-MAG;
Step S304, T-MAG initiate to switch registration request to LMA;
If contain the LMA sign in the P-MAG information that T-MAG receives, then send to LMA corresponding to this LMA sign and switch registration request; If T-MAG can't directly communicate by letter with this LMA (for example this LMA and T-MAG be not in same PMIP territory), then T-MAG (for example is the border LMA in a PMIP territory to default LMA, the sign of default LMA is configurable on T-MAG) send and switch registration request, switch registration request to transmit to LMA corresponding to above-mentioned LMA sign by this default LMA; If T-MAG does not receive LMA sign, then all LMA send and switch registration requests in the PMIPv6 territory; The sign of carrying P-MAG in the described switching registration request; Described switching registration request also will carry and whether carried out contextual information and indicate synchronously, namely indicates the whether synchronous contextual information of to be switched MN between P-MAG and the T-MAG; Described switching registration request can also carry the to be switched information such as MN sign;
Step S305, LMA upgrade the mobile binding session information of to be switched MN;
The mobile binding session information that described LMA upgrades to be switched MN refers to that LMA upgrades the routed path of to be switched MN, the PCoA (Proxy Care-of-Address acts on behalf of Care-of Address) that is about to be switched MN is updated to the address of T-MAG from the address of P-MAG; Described to be switched MN can obtain according to the identification information that switches the to be switched MN in the registration request, and when the switching registration request did not contain the identification information of to be switched MN, to be switched MN referred to be provided by P-MAG all MN of mobility service.
Step S306, LMA send to T-MAG and switch registration reply, and registering result is switched in indication;
Indicating synchronously between expression P-MAG and the T-MAG not contextual information to MN when the contextual information in the switching registration request that LMA receives carries out switching the contextual information that need carry to be switched MN in the registration reply when synchronous.
Step S307, T-MAG provide mobility service to be switched MN;
Described T-MAG provides mobility service to refer to that T-MAG is that to be switched MN creates route to be switched MN, send route announcement message, declare the home network prefix of to be switched MN, it is the zero home network prefix router advertisement that contains to be switched MN that the optional P-MAG of substituting sends life cycle, and declaration P-MAG stops to provide route for to be switched MN.
Step S308, T-MAG send the MAG handover request to MPM and reply; The indication switching result, i.e. success or failure cause.
The changing method of Mobile Access Gateway among the PMIP of the embodiment of the invention, MAG catastrophic failure, maintenance upgrade, load occur too much or and LMA between the situation such as unreachable, and can't provide mobile management when service for subordinate MN, this MAG subordinate's all or part of MN can be switched to the MAG that other could normally move or provide substituting service, thereby improved the fault-tolerant ability of network, the MAG changing method of the embodiment of the invention has also been realized the load balancing between the MAG simultaneously.
Embodiment 1:
Present embodiment 1 provides a kind of system of the embodiment of the invention to carry out the method that MAG switches, and the method needs the contextual information of synchronous to be switched MN.The switch reasons of present embodiment comprises P-MAG and LMA is unreachable or the P-MAG overload.In the present embodiment, P-MAG and T-MAG all can be connected directly to LMA, or P-MAG and T-MAG all are in the management domain of this LMA.
Fig. 4 is that the system of the embodiment of the invention 1 carries out the Signalling exchange flow chart that MAG switches.As shown in Figure 4, the embodiment of the invention 1 system carries out the method that MAG switches and comprises:
Step S401, MPM obtain the information of P-MAG;
For example, MPM is known P-MAG by heartbeat message and LMA is unreachable or the P-MAG overload;
Step S402, MPM send the MAG handover request to T-MAG; The switch reasons that carries in the request is P-MAG and LMA is unreachable or P-MAG overload; Carry the sign of P-MAG and the sign of LMA in the request;
The contextual information of finishing between step S403, P-MAG and the T-MAG to be switched MN carries out synchronous process;
Step S404, T-MAG initiate to switch registration request to LMA, indicate the synchronous contextual information of to be switched MN between P-MAG and the T-MAG in the request;
Step S405, LMA upgrade the mobile binding session information of to be switched MN, with the address that Care-of Address is updated to T-MAG of acting on behalf of of to be switched MN;
Step S406, LMA send to T-MAG and switch registration reply, indicate the switching registering result;
Step S407, T-MAG provide mobility service to be switched MN;
Step S408, T-MAG send the MAG handover request to MPM and reply; The indication switching result, i.e. success or failure cause.
Embodiment 2:
Present embodiment 2 provides a kind of system of the embodiment of the invention to carry out the method that MAG switches, and this changing method does not need the contextual information of synchronous to be switched MN, and the method is applied in the scene of P-MAG inefficacy.In the present embodiment, P-MAG and T-MAG all can be connected directly to LMA, or P-MAG and T-MAG all are in the management domain of this LMA.
Fig. 5 is that the embodiment of the invention 2 systems carry out the Signalling exchange flow chart that MAG switches.As shown in Figure 5, this changing method comprises:
Step S501, MPM obtain the information of P-MAG;
For example, MPM is known the information of inefficacy P-MAG by heartbeat message.
Step S502, MPM send the MAG handover request to T-MAG; Carry the sign of P-MAG in this handover request, and to indicate switch reasons be that P-MAG lost efficacy, alternatively, carry the sign of LMA;
Step S503, T-MAG initiate to switch registration request to LMA corresponding to above-mentioned LMA sign; Carry the sign of P-MAG in the request, and do not have the contextual information of synchronous to be switched MN between indication P-MAG and the T-MAG; If T-MAG does not obtain the sign of LMA, this step T-MAG all LMA in the territory send and switch registration requests;
Step S504, LMA upgrade the mobile binding session information of all mobile nodes that are attached to P-MAG, and the update agent Care-of Address is the address of T-MAG;
Step S505, LMA send to T-MAG and switch registration reply, indicate the switching registering result; Carry the contextual information of to be switched MN in replying;
Step S506, T-MAG provide mobility service to be switched MN;
Step S507, T-MAG send the MAG handover request to MPM and reply, the indication switching result.
Embodiment 3:
The embodiment of the invention 3 provides a kind of system of the embodiment of the invention to carry out the method that MAG switches.The application scenarios of the method is that MPM is positioned at T-MAG, and needs the contextual information of synchronous to be switched MN.In present embodiment 3, T-MAG/MPM all can directly link to each other with LMA with P-MAG, or T-MAG/MPM and P-MAG all are in the management domain of this LMA.Fig. 6 is that the system of the embodiment of the invention 3 carries out the Signalling exchange flow chart that MAG switches.As shown in Figure 6, the changing method of the embodiment of the invention 3 comprises:
Step S601, T-MAG/MPM are known the P-MAG overload by heartbeat message;
The contextual information of synchronous to be switched MN between step S602, T-MAG/MPM and the P-MAG;
Step S603, T-MAG/MPM indicate the contextual information of synchronous to be switched MN to specifying LMA to initiate to switch registration request in the request message, and the sign of carrying to be switched MN;
Step S604, LMA upgrade the mobile binding session information of to be switched MN;
Step S605, LMA send to T-MAG and switch registration reply, indicate the switching registering result;
Step S606, T-MAG provide mobility service for to be switched MN.
Embodiment 4:
The system that the embodiment of the invention 4 has been described a kind of embodiment of the invention carries out the method that MAG switches.The application scenarios of the method is: the contextual information that needs synchronous to be switched MN; And P-MAG is in the management domain of P-LMA (Previous LMA, to be switched LMA), is managing MN under the P-MAG by P-LMA; T-MAG is in the management domain of T-LMA (Takeover LMA, switch target LMA), is managing MN under the T-MAG by T-LMA; P-LMA is connected with T-LMA, namely P-LMA can with the T-LMA direct communication; But T-MAG can't be connected directly to P-LMA, and namely T-MAG can't directly communicate by letter with P-LMA.
Fig. 7 is that the system of the embodiment of the invention 4 carries out the Signalling exchange flow chart that MAG switches.As shown in Figure 7, the changing method of the embodiment of the invention 7 comprises:
Step S701, MPM obtain the information of P-MAG by heartbeat message;
For example, MPM knows that by heartbeat message P-MAG lost efficacy.
Step S702, MPM send the MAG handover request to T-MAG; Carry the sign of P-MAG and P-LMA in the request, and to indicate switch reasons be that P-MAG lost efficacy;
Step S703, T-MAG judgement can't initiate to switch registration request to P-LMA, and then T-MAG sends to T-LMA and switches registration request, the sign of carrying P-MAG and P-LMA in the request, and indicate the contextual information that does not have synchronous to be switched MN between P-MAG and the T-MAG;
Step S704, T-LMA initiate the data retransmission request to P-LMA, indicate the P-MAG sign, and indication do not have synchronous context;
Step S705, P-LMA upgrade the mobile binding session information of the relevant to be switched MN of P-MAG, with the address that Care-of Address is updated to T-MAG of acting on behalf of of mobile node;
Step S706, P-LMA send data retransmission to T-LMA and reply, and indicate the result of request, and carry the contextual information of to be switched mobile node;
Step S707, T-LMA send to T-MAG and switch registration reply, indicate the result of request, and carry the contextual information of to be switched mobile node;
Step S708, T-MAG provide mobility service to be switched mobile node;
Step S709, T-MAG send the MAG handover request to MPM and reply; The indication switching result.
In sum, embodiment of the invention 1-4 provides the changing method of MAG among the multiple PMIP.Because overload, maintenance upgrade, failure and other reasons, the method can realize the part or all of mobile node MN that is attached on the MAG is switched, thereby has improved the MAG fault-tolerance, has realized the MAG load balancing as MAG.
Embodiment 5:
The embodiment of the invention 5 provides Mobile Access Gateway management entity among a kind of PMIP, and it is corresponding to the MPM among the aforementioned system embodiment 1-4 (MAG pond management entity, MAG Pool Managemententity).MPM detects accessibility, fault or the load information of each MAG in the same MAG pond by heartbeat message.The major function of MPM comprises: state and the load information of safeguarding MAG in the MAG pond; Be responsible for the MAG in the MAG pond is carried out failure detection; When certain MAG in the pond lost efficacy or satisfied switching condition, MPM selected T-MAG and starts the MAG handover mechanism; Carrying out target entity when mobile node access MAG selects.
Fig. 8 is the functional block diagram of a kind of MAG management entity of the embodiment of the invention 5.As shown in Figure 8, a kind of MAG management entity (MPM) 800 of the embodiment of the invention comprises:
Handover information acquiring unit 801 is for the information of obtaining to be switched MAG; The information of described to be switched MAG comprises the sign of to be switched MAG and the state of described to be switched MAG; The sign of described to be switched MAG comprises the sign that IP address, the FQDN sign of to be switched MAG or other can the to be switched MAG of unique representative; The state of described to be switched MAG comprises: the state such as unreachable or to be switched MAG fault between to be switched MAG overload, to be switched MAG and the LMA;
Handover management element 802, be used for sending handover request according to the information of described to be switched MAG to switching target MAG, make described switching target MAG switch registration upgrading the mobile binding session information of to be switched MN to LMA, and then take over described to be switched MAG and provide mobile management for described to be switched MN.
Alternatively, in concrete the application, the MAG management entity can also comprise:
Handover request is replied receiving element 803, and the handover request that is used for receiving the indication switching result that switches target MAG transmission is replied.
Alternatively, in concrete the application, above-mentioned handover information acquiring unit 801 can also be for the information of obtaining described to be switched MAG by the heartbeat message that receives to be switched MAG; Or obtain the information of described to be switched MAG by receiving switching indication that to be switched MAG sends.
Mobile Access Gateway management entity among a kind of PMIP of the embodiment of the invention 5, by obtaining the information of the to be switched MAG that satisfies switching condition, information according to this to be switched MAG sends handover request to switching target MAG, provides mobile management so that this switching target MAG takes over this to be switched MAG for to be switched MN.Because the embodiment of the invention has adopted this Mobile Access Gateway management entity, thereby can carry out failure detection, load monitoring and handover management to the MAG in the MAG pond, is conducive to realize the fault-tolerant management of MAG and the load balancing between each MAG.
Embodiment 6:
The embodiment of the invention 6 provides switching (Handover/Handoff) method of Mobile Access Gateway among a kind of PMIP, the method is the method for work of a kind of Mobile Access Gateway management entity of the embodiment of the invention 5, and this Mobile Access Gateway management entity is corresponding to the MPM among the aforementioned system embodiment 1-4.The method can switch to other MAG with the mobile management service of certain MAG subordinate's all or part of mobile node, and this switches transparent to mobile node MN and the mobile node session keeps continuously.
Fig. 9 is the changing method schematic flow sheet of Mobile Access Gateway among a kind of PMIP of the embodiment of the invention 6.Specifically comprise:
Step S901, obtain the information of to be switched MAG;
Alternatively, step S901 specifically can comprise: MPM obtains the information of described to be switched MAG by the heartbeat message that receives to be switched MAG; Or MPM obtains the information of described to be switched MAG by the switching indication that receives to be switched MAG transmission.
Step S902, send handover request according to the information of described to be switched MAG to switching target MAG, make described switching target MAG switch registration upgrading the mobile binding session information of to be switched MN to LMA, and then take over described to be switched MAG and provide mobile management for described to be switched MN.
Alternatively, step S902 specifically can comprise: MPM sends handover request according to the information of described to be switched MAG to switching target MAG, described handover request comprise the information of described to be switched MAG and whether with the synchronously indication of described to be switched MN contextual information of described to be switched MAG, as needs and described to be switched MAG synchronously during described to be switched MN contextual information, described switching target MAG is from the synchronous contextual information of described to be switched MN of described to be switched MAG; When not needing with the synchronous described to be switched MN contextual information of described to be switched MAG, described switching target MAG obtains the contextual information of described to be switched MN from LMA in described switching registration process; Described switching target MAG switches registration upgrading the mobile binding session information of to be switched MN to LMA, and provides mobile management according to the contextual information of described to be switched MN for described to be switched MN.
Alternatively, in concrete the application, said method can also comprise:
The handover request of the indication switching result that step S903 (not shown), reception switching target MAG send is replied.
The changing method of MAG among a kind of PMIP that the employing embodiment of the invention 6 provides, MPM detects by the state to each MAG in the MAG pond, and when detecting the MAG that satisfies switching condition or receive the switching indication of to be switched MAG transmission, start handover mechanism, select to switch target MAG, and all or part of mobile node that will be attached to this MAG that satisfies switching condition switches to switching target MAG, to realize providing the purpose of mobile management service as above-mentioned corresponding mobile node by switching target MAG, avoided the MAG Single Point of Faliure and made mobile node lose accessibility, experienced thereby affect the user.The embodiment of the invention has realized the fault-tolerant and load balancing between the MAG by introducing MPM.
Embodiment 7:
The embodiment of the invention 7 provides the T-MAG among the previous embodiment 1-4 to carry out the method for work of handoff procedure.
Figure 10 is the schematic flow sheet of the changing method of Mobile Access Gateway among a kind of PMIP of the embodiment of the invention 7.As shown in figure 10, this changing method comprises the steps:
Step S1001, receive the MAG handover request, comprise the information of to be switched MAG (P-MAG) in the described handover request;
Step S1002, judge whether the contextual information of needs and the synchronous to be switched MN of this to be switched MAG according to the information of described to be switched MAG, when needed with the contextual information of synchronous this to be switched MN of described to be switched MAG;
Alternatively, for different application, step S1001-step S1002 can be step S1001 '-step S1002 ';
Step S1001 ', receive the MAG handover request, comprise the information of to be switched MAG in the described handover request, and the information of described to be switched MAG comprises the sign of switch reasons and to be switched MAG; Described switch reasons comprises: to be switched MAG breaks down/lost efficacy, unreachable etc. between to be switched MAG overload or to be switched MAG and the LMA;
Step S1002 ', judge whether the contextual information of needs and the synchronous to be switched MN of to be switched MAG according to described switch reasons, when needed with the contextual information of the synchronous to be switched MN of described to be switched MAG;
Alternatively, for different application, step S1001-step S1002 can be step S1001 "-step S1002 ";
Step S1001 ", receive the MAG handover request, described handover request comprises the information of to be switched MAG, whether the information of described to be switched MAG comprises and the synchronously indication of the contextual information of described to be switched MN of described to be switched MAG and the sign of to be switched MAG; Described indication is specifically as follows: when the state of to be switched MAG or switch reasons be to be switched MAG break down/when losing efficacy, indication needn't with the synchronous contextual information of its to be switched MN of to be switched MAG; Between the state of to be switched MAG is for overload or to be switched MAG and LMA during inaccessible state, indication need to the synchronous contextual information of its to be switched MN of to be switched MAG;
Step S1002 ", judge whether the contextual information of needs and the synchronous to be switched MN of to be switched MAG according to described indication, when needed with the contextual information of the synchronous to be switched MN of described to be switched MAG;
Alternatively, at above-mentioned steps S1001~S1002, step S1001 '~S1002 ' and step S1001 "~S1002 " in, when comprising the sign of to be switched MN in the information of described to be switched MAG, described to be switched MN is the MN according to the sign appointment of described to be switched MN, and namely described to be switched MN is that described to be switched MN identifies corresponding MN.When also comprising to be switched MAG sign in the described to be switched MAG information, described to be switched MN is all MN under the described to be switched MAG.
Step S1003, send to switch registration request to LMA, make described LMA upgrade the mobile binding session information of described to be switched MN, comprise in the described switching registration request that the information of to be switched MAG and the contextual information of described to be switched MN indicate synchronously; The sign that can also comprise alternatively, to be switched MN in the described handover request; Alternatively, the described mobile binding session information that makes described LMA upgrade described to be switched MN is specially: make described LMA with Care-of Address is updated to switching target MAG from the address of to be switched MAG the address of acting on behalf of of to be switched MN.
Alternatively, in the practical application, step S1003 can be step S1003 ';
Step S1003 ', when comprising the sign of LMA in the described to be switched MAG information, then T-MAG sends to the LMA of the sign correspondence of described LMA and switches registration request; Or
When not comprising the sign of LMA in the described to be switched MAG information, then T-MAG all LMA in the PMIP territory send and switch registration requests;
Comprise in the described switching registration request information of to be switched MAG and whether with to be switched MAG synchronous the indication of contextual information of described to be switched MN;
Alternatively, in the practical application, step S1003 ' can also further be refined as step S1003 ";
S1003 ", in described to be switched MAG information, comprise the sign of LMA, and T-MAG be can communicate by letter with described LMA the time, T-MAG sends to described LMA and switches registration request; Or
The sign that in described to be switched MAG information, comprises LMA, and T-MAG be can not communicate by letter with described LMA the time, and T-MAG sends to default LMA and switches registration request, and by described default LMA described switching registration request is forwarded to described LMA; Described default LMA is a default LMA, the border LMA in a PMIP territory for example, and the sign of default LMA can be preconfigured in to be switched on the target MAG; Described switching target MAG and described LMA can't direct communication situation can for: this switches target MAG and this LMA not in same PMIP territory; Or
If T-MAG is not known the sign of the LMA under the to be switched MN, then all LMA send and switch registration requests in the PMIP territory;
Comprise in the described switching registration request information of to be switched MAG and whether with to be switched MAG synchronous the indication of contextual information of described to be switched MN;
Step S1004, receive from described LMA and to switch registration reply, when described contextual information is indicated expression synchronously not with the contextual information of the synchronous to be switched MN of to be switched MAG, comprise the contextual information of to be switched MN in the described switching registration reply;
Step S1005, provide mobile management according to the contextual information of described to be switched MN for described to be switched MN; It is that to be switched MN creates route that described switching target MAG provides the mobile management service to refer to switch target MAG to be switched mobile node MN, send route announcement message, declare the home network prefix of to be switched MN, optionally, substituting to be switched MAG transmission life cycle is the zero home network prefix route announcement that contains to be switched MN, declares that to be switched MAG stops to provide route for to be switched MN;
Alternatively, in concrete the application, this changing method can also comprise step 1006 (not shown);
Step S1006, send handover request to the MAG management entity and reply, switch whether success with indication.
The changing method of MAG among a kind of PMIP of the embodiment of the invention 7, the handover request that T-MAG sends by receiving MPM, and according to the information of the to be switched MAG that carries in this handover request to judge whether the synchronously contextual information of the to be switched MN of its subordinate of needs and to be switched MAG, and when above-mentioned judged result when being, with the contextual information of the synchronous to be switched MN of to be switched MAG, otherwise asynchronous.Whether T-MAG the synchronous indication of contextual information also will occur sends to LMA in switching registration request, if it is no that LMA knows that this is designated as, be T-MAG during not with the contextual information of the synchronous to be switched MN of to be switched MAG, LMA carries the contextual information of to be switched MN in switching registration reply.Like this, T-MAG can obtain the contextual information of to be switched MN to be switched MAG or LMA, thereby the agency can be provided for to be switched MN mobile PMIP service.The MAG changing method of the embodiment of the invention, as MAG because when overload, maintenance upgrade or fault, the part or all of mobile node MN that is attached on the MAG can be switched to another MAG, thereby improved the fault-tolerance of MAG, avoided the MAG Single Point of Faliure and made mobile node lose accessibility, experience thereby affect the user, also realized the load balancing between the MAG simultaneously.
Embodiment 8:
The embodiment of the invention 8 provides the changing method of Mobile Access Gateway among another PMIP.This changing method carries out the method for work of handoff procedure for switching target MAG, especially, this switching target MAG inside comprises the MPM among the aforementioned system embodiment 1-4, and corresponding to the T-MAG/MPM among Fig. 6.
Figure 11 is the schematic flow sheet of the changing method of Mobile Access Gateway among a kind of PMIP of the embodiment of the invention 8.As shown in figure 11, this changing method comprises the steps:
Step S1101, obtain the information of to be switched MAG;
Step S1102, judge whether the contextual information of needs and the synchronous to be switched MN of to be switched MAG according to the information of described to be switched MAG, when needed with the contextual information of the synchronous to be switched MN of to be switched MAG;
Step S1103, send to switch registration request to LMA, make described local mobile anchor upgrade the mobile binding session information of described to be switched MN, comprise in the described switching registration request that the information of described to be switched MAG and the contextual information of described to be switched MN indicate synchronously; Alternatively, can be included as the sign that to be switched MAG provides the LMA of mobile management in the information of described to be switched MAG; Alternatively, can according to the sign of described LMA, send registration request to the LMA that mobile management is provided for to be switched MAG.
Step S1104, receive from described LMA and to switch registration reply, indicate synchronously expression when described contextual information and synchronously during the contextual information of this to be switched MN, do not comprise the contextual information of this to be switched MN with to be switched MAG in the described switching registration reply;
Step S1105, provide mobile management according to the contextual information of described to be switched MN for described to be switched MN.
Alternatively, the T-MAG in the embodiment of the invention 8 after receiving the information of to be switched MAG, also can send handover request to other MAG, provides mobile management so that another MAG replaces this to be switched MAG for to be switched MN.
Alternatively, in the embodiment of the invention 8, also can in a MAG pond, the MAG that a plurality of inside comprise MPM be set, so that when one of them MPM breaks down, carry out substituting handover management by among other a plurality of MPM any one, the collapse that is conducive to like this avoid the inefficacy of single MPM and causes the handover mechanism in whole MAG pond is experienced thereby affect the user.
In the embodiment of the invention 8, it is inner owing to comprise MPM to switch target MAG, so, switch the information that target MAG can obtain by this MPM to be switched MAG, and according to this information startup handover mechanism, come so that will be attached to all or part of MN switching of to be switched MAG, comprise that by this inside the switching target MAG of MPM takes over this to be switched MAG and provides mobile management for to be switched MN.The MAG changing method of the embodiment of the invention 8, as MAG because when overload, maintenance upgrade or fault, the part or all of mobile node MN that is attached on the MAG can be switched to another MAG, thereby improved the fault-tolerance of MAG, avoided the MAG Single Point of Faliure and made mobile node lose accessibility, experience thereby affect the user, also realized the load balancing between the MAG simultaneously.
Embodiment 9:
The embodiment of the invention 9 also provides the changing method of Mobile Access Gateway among a kind of PMIP, and this changing method is the method for work of LMA in handoff procedure among the aforementioned system embodiment 1-4.
Figure 12 is the schematic flow sheet of Mobile Access Gateway changing method among a kind of PMIP of the embodiment of the invention 9, and as shown in figure 12, described method comprises:
Step S1201, receive to switch registration request, comprise the information of to be switched MAG in the described switching registration request and switch target MAG whether with to be switched MAG synchronous the indication of contextual information of to be switched MN;
The mobile binding session information of step S1202, the to be switched MN of renewal is with Care-of Address is updated to switching target MAG from the address of to be switched MAG the address of acting on behalf of of described to be switched MN;
Alternatively, if receive the sign of to be switched MN, then upgrade the mobile binding session information of to be switched MN corresponding to described sign; If do not receive the sign of to be switched MN, then upgrade the mobile binding session information of all MN of described to be switched MAG subordinate.
Step S1203, send to switch registration reply, and as described switching target MAG during not with the contextual information of the synchronous to be switched MN of to be switched MAG, comprise the contextual information of to be switched MN in the described switching registration reply.
Changing method based on Mobile Access Gateway among a kind of PMIP of the embodiment of the invention 9, LMA comes the update agent binding information by receiving the switching registration request that switches target MAG transmission, and when comprising that in switching registration request switching target MAG does not carry out the synchronous indication of the contextual information of to be switched MN with to be switched MAG, in switching registration reply to the contextual information that switches target MAG and return to be switched MN.Simultaneously, adopt the method, whether LMA can comprise in the registration request that the sign of to be switched MN judges that to be switched MN is to be switched MAG subordinate's part or all MN according to switching.To sum up, use the method for the embodiment of the invention, can improve the MAG fault-tolerance and realize the MAG load balancing.
Embodiment 10:
The embodiment of the invention 10 provides a kind of Mobile Access Gateway.Figure 13 is the functional block diagram of a kind of Mobile Access Gateway of the embodiment of the invention 10.As shown in figure 13, a kind of Mobile Access Gateway 1300 of the embodiment of the invention 10 comprises:
Handover request receiving element 1301 is used for receiving the MAG handover request, comprises the information of to be switched MAG in the described handover request;
Alternatively, for different application, the information of described to be switched MAG comprises switch reasons;
Whether alternatively, for different application, the information of described to be switched MAG does not comprise switch reasons, but comprises: with the synchronously indication of described to be switched MN contextual information of described to be switched MAG;
Handover request processing unit 1302 is used for judging whether according to the information of described to be switched MAG the contextual information of needs and the synchronous to be switched MN of to be switched MAG, when needed with the contextual information of the synchronous to be switched MN of described to be switched MAG;
Alternatively, for different application, handover request processing unit 1302 can be used for judging whether according to described switch reasons the contextual information of needs and the synchronous to be switched MN of to be switched MAG, when needed with the contextual information of the synchronous to be switched MN of described to be switched MAG;
Alternatively, for different application, handover request processing unit 1302 can also be used for judging whether according to the described indication of obtaining the contextual information of needs and the synchronous to be switched MN of to be switched MAG, when needed with the contextual information of the synchronous to be switched MN of described to be switched MAG;
Alternatively, for different application, described handover request processing unit 1302 comprises that also to be switched MN determines the subelement (not shown), is used for when described to be switched MAG information comprises to be switched MAG sign all MN under the described to be switched MAG being defined as described to be switched MN.
Alternatively, for different application, described handover request processing unit 1302 comprises that also to be switched MN determines subelement, is used for described to be switched MN being identified corresponding MN being defined as to be switched MN when described to be switched MAG information also comprises the sign of to be switched MN.
Registration request transmitting element 1303, be used for sending the switching registration request to LMA, make described LMA upgrade the mobile binding session information of described to be switched MN, comprise in the described switching registration request information of to be switched MAG and whether with to be switched MAG synchronous the indication of contextual information of described to be switched MN;
Alternatively, in concrete the application, described registration request transmitting element 1303 can specifically be used for identifying corresponding LMA to described LMA and sending registration request when described to be switched MAG information comprises the LMA sign; When not comprising the LMA sign in the described to be switched MAG information, described registration request transmitting element sends for all LMA in the PMIP territory and switches registration requests.
Alternatively, in concrete the application, described switching registration request transmitting element 1303, if can also specifically be used for having known the sign of the LMA of to be switched MN, and can communicate by letter with described LMA the time, to described LMA transmission switching registration request; If or known the sign of the LMA of to be switched MN, and can not communicate by letter with described LMA the time, send to default LMA and to switch registration request, and by described default LMA described switching registration request is forwarded to described LMA.
Registration reply receiving element 1304, be used for receiving the switching registration reply from described LMA, described switching registration reply is used for the mobile binding session renewal whether expression is successfully completed to be switched MN, namely whether successfully the address of switching target MAG is bound in the Care-of Address renewal of acting on behalf of of to be switched MN; When not with the contextual information of the synchronous to be switched MN of to be switched MAG, comprise the contextual information of to be switched MN in the described switching registration reply;
Mobility management unit 1305 is used for providing mobile management according to the contextual information of described to be switched MN for described to be switched MN.
Alternatively, a kind of Mobile Access Gateway 1300 of the embodiment of the invention can also comprise:
Whether handover request is replied transmitting element 1306, is used for sending handover request to MPM and replys, switch successful with indication.
The Mobile Access Gateway of the embodiment of the invention 10, can receive the handover request that MPM sends, and judge whether and to carry out the contextual information of to be switched mobile node synchronous with to be switched Mobile Access Gateway, when judged result during for needs, carry out contextual information synchronously to obtain the contextual information of to be switched MN with to be switched MAG, and whether synchronous indication sends to LMA in switching registration request, with box lunch synchronously the time, can receive the contextual information of the to be switched MN of LMA transmission, act on behalf of Information Mobile Service thereby can provide for to be switched MN.The above-mentioned changing method of the Mobile Access Gateway by the embodiment of the invention can realize to be switched MAG subordinate's all or part mobile node is switched to the MAG of the embodiment of the invention, thereby has realized the fault-tolerant and MAG load balancing of MAG.
Embodiment 11:
The embodiment of the invention 11 also provides a kind of Mobile Access Gateway, this Mobile Access Gateway comprises MAG management entity (MPM), since this Mobile Access Gateway built-in or integrated a kind of MAG management entity of the embodiment of the invention, thereby this Mobile Access Gateway has state, the load information that detects other MAG and the function that starts handover mechanism, below will be described in detail its structure or functional character.Figure 14 is the functional block diagram of a kind of Mobile Access Gateway of the embodiment of the invention 11.As shown in figure 14, this Mobile Access Gateway 1400 comprises:
Handover information acquiring unit 1401 is for the information of obtaining to be switched MAG;
Handover request processing unit 1402 is used for judging whether according to the information of described to be switched MAG the contextual information of needs and the synchronous to be switched MN of to be switched MAG, when needed with the contextual information of the synchronous to be switched MN of to be switched MAG;
Registration request transmitting element 1403, be used for sending the switching registration request to LMA, make described LMA upgrade the mobile binding session information of described to be switched MN, comprise in the described switching registration request that the information of described to be switched MAG and the contextual information of described to be switched MN indicate synchronously;
Registration reply receiving element 1404 is used for receiving from described LMA and switches registration reply, when not with the contextual information of the synchronous to be switched MN of to be switched MAG, comprises the contextual information of to be switched MN in the described switching registration reply;
Mobility management unit 1405 is used for providing mobile management according to described to be switched MN contextual information for described to be switched MN.
Alternatively, described handover information acquiring unit 1401, the information for obtaining to be switched MAG is included as the sign that to be switched MAG provides the LMA of mobile management in the information of described to be switched MAG;
Alternatively, described registration request transmitting element 1403 is used for sending to described LMA and switches registration request, whether comprise in the described switching registration request with to be switched MAG synchronous the indication of contextual information of to be switched MN.
A kind of Mobile Access Gateway of the embodiment of the invention 11, because a kind of MAG management entity that its built-in embodiment of the invention provides, thereby this Mobile Access Gateway can obtain by detection or other means the state of each MAG in the MAG pond, and when receiving the switching indication or detecting the MAG that satisfies handover triggering condition, start trigger mechanism, mobile node is switched to target MAG to be switched MAG, provide mobile management or service so that switching target MAG can substitute to be switched MAG for mobile node.The Mobile Access Gateway of the embodiment of the invention can be realized the fault-tolerant and load balancing of MAG.
Embodiment 12:
The embodiment of the invention 12 provides a kind of local mobile anchor.Figure 15 is the functional block diagram of a kind of local mobile anchor of the embodiment of the invention 12, and as shown in figure 15, this local mobile anchor 1500 comprises:
Switch registration request receiving element 1501, be used for receiving and switch registration request, comprise the information of to be switched MAG in the described switching registration request and switch target MAG whether with to be switched MAG synchronous the indication of contextual information of to be switched MN;
Mobile binding session updating block 1502 is for the mobile binding session information of upgrading to be switched MN, with Care-of Address is updated to switching target MAG from the address of to be switched MAG the address of acting on behalf of of described to be switched MN;
Alternatively, described mobile binding session updating block 1502 if receive the sign of to be switched MN, then upgrades the mobile binding session information of to be switched MN corresponding to described sign;
If do not receive the sign of to be switched MN, then upgrade the mobile binding session information of all MN of described to be switched MAG subordinate;
Switch registration reply transmitting element 1503, be used for sending and switch registration reply, and as described switching target MAG during not with the contextual information of the synchronous to be switched MN of to be switched MAG, comprise the contextual information of to be switched MN in the described switching registration reply.
The local mobile anchor that the embodiment of the invention 12 provides can according to the indication that whether comprises synchronous to be switched MN contextual information in the received switching registration request, judge whether to send the contextual information of to be switched MN in switching registration reply.By the update agent binding information with the contextual information of to be switched MN is provided for switching target MAG in the case of necessary, switch target MAG thereby to be switched MN is switched to be switched MAG, MAG provides the proxy mobility management service for to be switched MN by this switching target.Therefore, the local mobile anchor that provides of the embodiment of the invention 12 is conducive to realize the fault-tolerant and load balancing between the MAG.
Though the present invention discloses as above with preferred embodiment; so it is not to limit scope of the present invention; any those skilled in the art; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention defines and is as the criterion when looking front attached claims.