Embodiment
The embodiment of the invention provides a kind of switching handling method and communication system and relevant device, does not move back net from former network after can supporting dual-mode terminal to switch to heterogeneous network, and guarantees the correctness of the mobile IP under this switching mode.
Terminal does not withdraw from the WiMAX Access Network after the WiMAX Access Network switches to the WiFi Access Network, it is the context that former network keeps terminal, it mainly is authentication information, when switching back the WiMAX Access Network again, the WiFi Access Network can realize quick switching to later terminal, remove the steps such as pre-authentication that reenter the WiMAX Access Network from, help to improve user's experience.
In the embodiment of the invention, when determining that according to the message that receives needs termination PMIP acts on behalf of, authenticator can notify the external agent to stop the PMIP agency, paging controller can notify the external agent to stop the PMIP agency, virtual base station also can notify the external agent to stop the PMIP agency, therefore after the external agent has stopped the PMIP agency, can not cause that then home agent upgrades binding, IP can not connected yet and switch back former network, therefore can not move back net from former network after having supported dual-mode terminal to switch to heterogeneous network, having guaranteed the correctness of the mobile IP under this switching mode, is that example is described the switching handling method in the embodiment of the invention with different processes respectively below:
One, in message authentication key count update process, trigger termination PMIP agency:
In the manner, be idle pulley or enable mode all adopt consistent process stop PMIP agency at WiMAX network originally for terminal before switching to heterogeneous network, and saw also Fig. 1, embodiment of switching handling method comprises in the embodiment of the invention:
101, receive the request of message authentication key count update;
In the present embodiment, when terminal from the WiMAX Access Network to WiFi or other non-WiMAX Access Network switch, terminal is in order to keep its context in the WiMAX Access Network after switching to non-WiMAX Access Network, in order to can switch back the WiMAX Access Network rapidly in the future, its attachment point in the WiMAX network need be switched to virtual base station, in this process, authenticator in the WiMAX Access Network can receive the request of message authentication key count update, this request can directly be sent by virtual base station, also can be sent by the paging controller of virtual base station by grappling.
102, if determine to stop the PMIP agency according to the request of message authentication key count update, then notify the external agent to stop the PMIP agency.
In the present embodiment, after the authenticator in the WiMAX network receives the request of message authentication key count update, can judge whether to stop the PMIP agency according to this message authentication key count update request.
In the present embodiment, authenticator in the WiMAX network determines that this message authentication key count update request is from virtual base station, or when determining to include the indication that stops the PMIP agency in this message authentication key count update request, determine to stop the PMIP agency, need to prove, in actual applications, the authenticator in the WiMAX network can also determine whether to stop the PMIP agency by more mode, and concrete mode is not done restriction herein.
When the authenticator in the WiMAX network determines that termination PMIP acts on behalf of, then can notify the external agent to stop the PMIP agency, do not upgrade binding so after the terminal switching access networks, can not cause home agent, IP can not connected yet and switch back former network, therefore can not move back net from former network after having supported dual-mode terminal to switch to heterogeneous network, guaranteed the correctness of the mobile IP under this switching mode.
For ease of understanding, with a concrete signaling process switching handling method in the embodiment of the invention is described below, see also Fig. 2, another embodiment of switching handling method comprises in the embodiment of the invention:
201a~201c, virtual base station send the request of message authentication key count update by the paging controller of grappling to authenticator;
Originally in the WiMAX network, be in the situation of idle pulley for terminal, after terminal switches to non-WiMAX network, carrying out the position by the tunnel to the request of WiMAX virtual base station upgrades, in the process that the position is upgraded, virtual base station upgrades to the position that the paging controller of grappling sends and can comprise it in the acknowledge message and be the indication information of virtual base station.
Need to prove, in actual applications, except in position renewal acknowledge message, comprising it for the indication information of virtual base station, can also in virtual base station sends to other message of paging controller of grappling, comprise it and be the indication information of virtual base station, for example before virtual base station upgrades acknowledge message to the paging controller transmission position of grappling, virtual base station can send location update message to the paging controller of grappling, then also can comprise it and be the information of virtual base station in this location update message.
After the paging controller completing place renewal process of grappling, send the request of authentication message key count update to authenticator, comprise the indication information of virtual base station in this request message, then it is virtual base station to virtual base station with regard to informing authenticator indirectly.
201d~201e, virtual base station directly send the request of message authentication key count update to authenticator;
Originally in the WiMAX network, be in the situation of enable mode for terminal, after terminal switches to non-WiMAX network, reentried to virtual base station request network by the tunnel, and trigger or continue to finish handoff procedure from from former serving BS to virtual base station.
In finishing the process of switching the base station, virtual base station sends message authentication key counter update request to authenticator, can carry the virtual base station indication information in this request.It is virtual base station namely directly to inform authenticator by virtual base station.Though this message may arrive authenticator through other WiMAX Access Network gateway forwards, the message before and after the gateway forwards is identical, therefore is considered as virtual base station and directly sends out message to authenticator.
Need to prove, above-mentioned steps 201a~201c and 201d~201e select according to concrete condition in actual applications, if terminal was in idle pulley originally in the WiMAX network, then select execution in step 201a~201c, if terminal was in enable mode originally in the WiMAX network, then select execution in step 201d~201e.
202, authenticator judges whether to stop the PMIP agency;
Authenticator receives after the request of message authentication key count update by step 201b or 201d, judge the indication information whether the indication virtual base station is arranged in this message authentication key count update request, if have, mean that corresponding terminal has switched in the heterogeneous network, terminal has been attached to a virtual base station at present, then continue subsequent step, if do not indicate relevant information, then process ends.
Need to prove that the virtual base station indication information can be the information that is used to refer to base station type specially, is 0 to represent ordinary base station with certain parameter value for example, and value is 1 expression virtual base station.Also can directly indicate this with the sign of base station is virtual base station.
The sign of virtual base station can have specific flag bit, and is different with the identical bits value of the sign of ordinary base station, perhaps distributes a specific span to virtual base station.Also can be on authenticator the sign of configuration virtual base station, whether authenticator is the sign of virtual base station by Base Station Identification of acknowledgment of your inquiry.
Except in the request of message authentication key count update, carrying the virtual base station indication information, can also in the request of message authentication key count update, directly carry order, for example directly indication " stops the PMIP agency ".
Authenticator is after determining that according to this message authentication key count update request needs stop the PMIP agency, can also earlier judge whether this terminal is allowed to " stop PMIP act on behalf of and do not move back net ", if do not allow, process ends then, if allow, then carry out subsequent step, be understandable that, this deterministic process is optional process in actual applications.
203, authenticator sends the PMIP request that stops to the external agent;
Authenticator sends the request message that stops PMIP to external agent's (also can be described as the datapath entities of grappling), and this message just requires the external agent to remove the relevant MIP information of terminal, comprises the termination act of agency, also can reclaim CoA.Need to prove that if authenticator and external agent be on same physical equipment, then this message can be device interior message.
This step can use the existing network termination state that moves back to change request message (NetExit_MS_State_Change_Req) realization, and indication only discharges CoA or the indication termination PMIP act of agency of terminal in this message, does not discharge other any information.Concrete, can just stop the PMIP agency with net indicating device (the Network Exit Indicator) expression of moving back in this message, rather than really move back net.Specifically how to indicate, be not restricted here.Be understandable that, change the request message except using the existing network termination state that moves back that can also use self-defining message, as long as can indicate the external agent to stop the PMIP agency, concrete type of message is not done restriction herein.
204, the external agent replys and stops the PMIP response;
After the external agent receives the request message that stops PMIP, to authenticator back response message.For MIPv6, this external agent can be Mobile Access Gateway (MAG, Mobile Access Gateway), after then MAG receives the request message that stops PMIP, stop for terminal to local mobile anchor (LMA, Local Mobile Anchor), namely the home agent of MIPv6 sends binding update messages.
205~206, the external agent cancels PMIP to the PMIP client-requested;
For PMIPv4, the entity of asking to home agent transmission registration for terminal is the PMIP client, the PMIP client may be separated with the external agent, in actual applications, the PMIP client can be positioned at same physical entity with authenticator usually, rather than is positioned at same physical entity with the external agent.
The external agent of PMIPv4 is after receiving the termination PMIP request message of step 204, send the PMIP agency to the PMIP client and cancel request message, and to indicate the reason of cancelling the agency in message be that FA requires, then the PMIP client is received the operation that no longer triggers other after this message except stopping the PMIP act of agency, for example moves back the subsequent step of net.
The PMIP client receives that the agency sends response message after cancelling request message, and stops the PMIP agency, namely no longer for safeguarding that being connected between external agent and the home agent periodically replaces terminal to send mobile IP login request message.
Need to prove, if PMIP client and authenticator are positioned at same physical entity, also can be directly acted on behalf of by device interior message informing PMIP client terminate by authenticator, and need not execution in step 205~206.
In the present embodiment, step 204 at be the situation of MIPv6, step 205~206 at be the situation of PMIPv4, under different situations, carry out different steps.
207~208, authenticator request authentication mandate charging (AAA, Authentication, Authorization, Accounting) server stops chargeing.
Should the charging of terminating terminal in former network if the network operation strategy is defined in that terminal switches to heterogeneous network but still be retained under the contextual situation of former network, then can send the termination request message that charges by authenticator to aaa server at this moment, indicating terminal does not move back net in the message.
Aaa server stops corresponding terminal in the charging of WiMAX Access Network after receiving and charge stopping request message, and echoes to authenticator and to answer message.
Need to prove that in the present embodiment, step 207~208 can be carried out side by side with step 203~206, namely when having determined that terminal can while execution in step 207~208 and step 203~206, not sequencing after having switched to heterogeneous network.
The operation that stops the PMIP agency has been finished in above step 203~206, the operation that stops charging has been finished in step 207~208, be that the mode that merges is described in the present embodiment, in actual applications, if do not consider stop to charge, execution in step 207~208 not then, in like manner, if do not consider in this process to stop the PMIP agency and use other embodiments of the invention to stop PMIP, also execution in step 203~206 not then.
In the present embodiment, when authenticator determines that termination PMIP acts on behalf of, then can notify the external agent to stop the PMIP agency, do not upgrade binding so after the terminal switching access networks, can not cause home agent, IP can not connected yet and switch back former network, therefore can guarantee that terminal is switching to the correct processing of moving IP behind the new network when former network keeps its context;
Secondly, in the present embodiment, when terminal is switched from former Access Network, and can stop the charging of this terminal former Access Network (Access Network at authentication authorization and accounting device place) in when only in former Access Network, keeping the terminal context, can not produce and repeat charging.
Two, enter termination PMIP agency in the idle pulley process:
In the manner, no matter original terminal is under what pattern of WiMAX network, after switching to non-WiMAX network, all need enter the idle pulley of WiMAX, therefore can use the process that enters idle pulley among the WiMAX to stop the PMIP agency uniformly, see also Fig. 3, another embodiment of switching handling method comprises in the embodiment of the invention:
301, receive idle mode state and change request;
In the present embodiment, when carrying out the idle pulley processing, paging controller can receive idle mode state from virtual base station and change request, this idle mode state changes asks by virtual base station after upgrading for the terminal completing place, or finish after the base station switches, or receive terminal enter idle mode request after send.
302, determine to stop the PMIP agency if change request according to idle mode state, then notify the external agent to stop the PMIP agency.
In the present embodiment, change request from virtual base station if paging controller is determined idle mode state, or comprise the indication that stops the PMIP agency in definite idle mode state change request, then determine termination PMIP agency.
After determining to stop the PMIP agency, then paging controller can notify the external agent to stop the PMIP agency.
In the present embodiment, when paging controller determines that termination PMIP acts on behalf of, then can notify the external agent to stop the PMIP agency, do not upgrade binding so after the terminal switching access networks, can not cause home agent, IP can not connected yet and switch back former network, therefore can not move back net from former network after having supported dual-mode terminal to switch to heterogeneous network, guaranteed the correctness of the mobile IP under this switching mode.
For ease of understanding, with a concrete signaling process switching handling method in the embodiment of the invention is described below, see also Fig. 4, another embodiment of switching handling method comprises in the embodiment of the invention:
401, virtual base station sends idle mode state change request;
If terminal just was in the idle pulley of WiMAX Access Network originally, after switching to non-WiMAX Access Network, carry out position renewal first by the tunnel from virtual base station reentry WiMAX network, virtual base station is after the position first of finishing this terminal is upgraded, initiation enters the process of idle pulley, at first be the paging controller transmission idle mode state change request message to grappling, this request message requests makes terminal access idle mode.
Idle mode state changes can comprise idle pulley reservation information in the request message, wherein represent with the value of bit whether certain information keeps.
Defined 8 bits in the prior art, wherein whether bit 3 expressions keep the IP address.But always be set under the idle pulley in the existing standard and must keep the IP address, because communication counterpart just can't not connect with this terminal when having the IP address, entering the terminal of idle pulley like this can only be initiatively and to side communication, and can not receive others communicating to connect passively.
But in the present embodiment, when terminal was carried out the position renewal to virtual base station, terminal had switched to other network, there is no need to be retained in the IP address in the WiMAX network, and therefore bit 3 can be made as 0 does not namely keep the IP address.Because terminal do not move back net, therefore, do not keep the IP address and refer to not keep the CoA address of distributing to terminal, perhaps stop the PMIP act of agency simply for the situation of PMIP and get final product.Can certainly increase new indicating bit and represent to stop the PMIP agency.
Need to prove, in the present embodiment, also can not use the indication that stops the PMIP agency, and judge whether to stop the PMIP agency by the type information of base station.Virtual base station can indicate that it is virtual base station in the message of its transmission, be 0 to represent ordinary base station with certain parameter value for example, and value is 1 expression virtual base station.Perhaps distribute special Base Station Identification (all including base station identification information in the message) for virtual base station, for example the sign of virtual base station has specific flag bit, different with the identical bits value of the sign of ordinary base station, perhaps distribute a specific span to virtual base station.Also can be on authenticator, external agent the sign of configuration virtual base station, whether authenticator and external agent are the sign of virtual base station by Base Station Identification of acknowledgment of your inquiry.
402, paging controller sends idle mode state change request to authenticator;
403, authenticator feedback idle mode state changes response;
Authenticator changes idle condition after receiving that state changes request message, and echoes and answer message, indicates whether to operate successfully in response message.If this terminal has been in idle condition, the operation that then enters idle condition again also is success.Under the prerequisite that changes the state of operation success, authenticator judges whether to stop the charging of associated terminal.If there is request to stop PMIP agency's indication in the message that authenticator is received, or the indication information of virtual base station arranged, or its Base Station Identification is for distributing to the sign of virtual base station especially, or finds that by inquiry the Base Station Identification that comprises in this message is the sign of virtual base station, then can stop chargeing.
404, paging controller is to virtual base station transmitted response message;
If response message is indicated successfully, then paging controller records the new state of this terminal.
405, after virtual base station is received Indication message, if indicate successfully, then send acknowledge message to paging controller;
406, paging controller is transmitted acknowledge message to authenticator;
Authenticator is received this acknowledge message, if not judging whether before to stop charges, then can at this moment judge whether to stop chargeing.
407, after paging controller is received acknowledge message, send the paging controller Indication message of grappling to the external agent, this message indication associated terminal has entered idle pulley;
408, the external agent is echoed to paging controller and is answered message;
409, remove data path between virtual base station and the external agent;
In the present embodiment, virtual base station is removed data path alternately with the external agent after step 405 has sent idle mode state change acknowledge message.
The process of removing data specifically can comprise three message, and virtual base station sends to the external agent and removes the data path request message, and the external agent is echoed and answered message, and the words virtual base station of removing the path success sends to the external agent again removes the path acknowledge message.
Can remove path request message or/and remove the indication information that carries termination PMIP agency in the acknowledge message of path.Remove in the data path request message and comprise registration type (Registration_Type) and move back net indicating device (Network Exit Indicator) information, switch to heterogeneous network with the registration type indicating terminal, only stop the PMIP agency with moving back the indication of net pointer information, perhaps only use is moved back the indication of net pointer information and is only stopped the PMIP agency.The external agent can note the request that stops PMIP after receiving releasing data path request message, after receiving releasing path acknowledge message, carry out the termination PMIP operation of back again, the operation of acting on behalf of with regard to executive termination PMIP in the time of can certainly after receiving the releasing path request message, confirming to remove the path.Virtual base station also can not use above-mentioned indication information indication to stop the PMIP agency, and indicates that it is virtual base station.
410, the external agent stops the agency;
After the external agent receives and removes path request message or remove the path acknowledge message, judge whether to need to stop the PMIP agency of associated terminal.Specifically, whether in message have the indication information that stop PMIP, if the indication that stops PMIP is arranged, then need to stop PMIP if judging.Perhaps, if message is from virtual base station, also need to stop PMIP.
For Mobile Internet Protocol (MIP, Mobile Internet Protocol) v6, if the external agent is the MAG of MIPv6, when needs termination PMIP acted on behalf of, then MAG stopped the PMIP act of agency;
For MIPv4, if the external agent is the FA of MIPv4, then execution in step 411.
No matter be the MAG of MIPv6, or the FA of MIPv4, the external agent can reclaim the CoA that distributes to terminal, and remove and the terminal home agent between the tunnel.
411, send the agency and cancel request;
For MIPv4, if the external agent is the FA of MIPv4, when needs termination PMIP acted on behalf of, then FA sent the agency to the PMIP client and cancels request message, and this message is specially FA_Revoke_Req message in existing standard.Usually the PMIP act of agency among the MIPv4 be not with FA in the PMIP of same physical entity client implementation, this PMIP client usually and the employed authenticator of terminal be positioned at same physical entity.
412~413, after the PMIP client receives that the agency cancels request message, stop act of agency, and echo to FA and to answer message;
Need to prove, what step 410 was described is the situation that stops the PMIP agency among the MIPv6, be that MAG directly stops the PMIP agency, what step 411~413 were described is the situation that stops the PMIP agency among the MIPv4, be that FA and PMIP client are carried out alternately to stop the PMIP agency, in actual applications, can determine to use which kind of mode to stop the PMIP agency according to the concrete agreement that adopts, not limit herein.
414~415, request stops to charge.
After authenticator changes the idle condition change acknowledge message of request message or step 406 in the idle condition of receiving step 402, if the indication that stops the PMIP agency is arranged in the message or judges message from virtual base station, send the request message that stops charging to aaa server, indication just stops the charging of this Access Network in this message.When also can confirming to stop PMIP, just carries out aaa server this step after step 402.
Need to prove that the idle pulley process that enters in the existing standard also comprises mutual between base station and the terminal, but in the present embodiment, because terminal is at idle pulley, virtual base station need not to notify terminal access idle mode.
In the present embodiment, if terminal is in state of activation from the WiMAX Access Network before other network switches, professional carrying out just arranged namely, then need in network switching process, carry out the switching from Current Serving BTS to virtual base station.Because in the present embodiment, terminal is after switching to non-WiMAX network, and terminal must enter idle pulley, then can just realize stopping the PMIP agency simultaneously in entering the process of idle pulley, specifically see also Fig. 5, another embodiment of switching handling method comprises in the embodiment of the invention:
501~504, identical with step 401~404 among the aforementioned embodiment shown in Figure 4, repeat no more herein.
505~506, virtual base station enters idle pulley to the terminal notice;
Entering the idle pulley process shown in the present embodiment is the idle pulley process of being initiated by network that enters, and then virtual base station can enter idle pulley to the terminal notice.
507~517, identical with step 405~415 among the aforementioned embodiment shown in Figure 4, repeat no more herein.
Entering the idle pulley process shown in the present embodiment is the idle pulley process of being initiated by network that enters, in fact also can initiate the process enter idle pulley by terminal oneself, difference only is that terminal sent the request message that enters idle pulley to virtual base station before step 501, and virtual base station echoes to terminal in step 505 and answers message then.
In the present embodiment, when paging controller determines that termination PMIP acts on behalf of, then can notify the external agent to stop the PMIP agency, do not upgrade binding so after the terminal switching access networks, can not cause home agent, IP can not connected yet and switch back former network, therefore can not move back net from former network after having supported dual-mode terminal to switch to heterogeneous network, guaranteed the correctness of the mobile IP under this switching mode;
Secondly, in the present embodiment, when terminal is switched from former Access Network, and can stop the charging of this terminal in former Access Network when only in former Access Network, keeping context, therefore can not produce and repeat to charge.
Three, after finishing base station switching or position renewal, virtual base station directly stops the PMIP agency to outside proxy requests:
Do not limit terminal in the manner and switch to the idle pulley that non-WiMAX network must enter WiMAX afterwards, by virtual base station upgrade in the completing place or during switching from from serving BS to virtual base station directly the request external agent stop the PMIP agency, specifically see also Fig. 6, another embodiment of switching handling method comprises in the embodiment of the invention:
601, receive request message;
In the present embodiment, when virtual base station is being carried out in the handoff procedure, or after finishing switching, or after the renewal of completing place, can directly send a request message to the external agent, this request message is specifically as follows the data link that virtual base station sends and sets up request message in handoff procedure, or virtual base station is after finishing switching, or the releasing path request message sent after upgrading of completing place.
602, if determine to stop the PMIP agency according to request message, then stop the PMIP agency.
In the present embodiment, if the external agent determines request message from virtual base station, or comprise the indication that stops the PMIP agency in definite request message, then determine to stop the PMIP agency.
After determining to stop the PMIP agency, then the external agent can directly stop the PMIP agency.
In the present embodiment, when the external agent determines that termination PMIP acts on behalf of, can directly stop the PMIP agency, do not upgrade binding so after the terminal switching access networks, can not cause home agent, IP can not connected yet and switch back former network, therefore can not move back net from former network after having supported dual-mode terminal to switch to heterogeneous network, guaranteed the correctness of the mobile IP under this switching mode.
For ease of understanding, with a concrete signaling process switching handling method in the embodiment of the invention is described below, see also Fig. 7, another embodiment of switching handling method comprises in the embodiment of the invention:
701, virtual base station sends to external equipment and removes path request;
After virtual base station is finished base station switching or position updating process, send the request message that stops the PMIP agency to the external agent.Specifically, this request realizes with removing path request (Path_Dereg_Req) message, also can define a message in addition.If use existing releasing path request message, then can use registration type (Registration_Type) the information indicating terminal that wherein comprises to switch to heterogeneous network, only stop the PMIP agency with moving back the indication of net indicating device (Network Exit Indicator) information, perhaps only use is moved back the indication of net indicating device and is only stopped the PMIP agency.
Need to prove, because base station target BS in the handoff procedure of base station must carry out data path with the external agent and set up process, therefore the step 701 in the present embodiment also can be that data path is set up in the process virtual base station and set up request message to the data path that the external agent sends, and sets up at data path and carries the indication information that will stop the PMIP agency in the request message.
The implication of the indication information that the termination PMIP that describes in termination PMIP in present embodiment agency's indication information and the previous embodiment acts on behalf of is identical, repeats no more herein.
702~703, the external agent removes the path to authenticator;
In the present embodiment, the external agent sends the request message that stops the PMIP agency to authenticator.Particularly, the external agent can change request message (NetExit_MS_State_Change_Req) or idle mode state change request message (IM_Entry_State_Change_Req) realization with the existing network termination state that moves back to the termination PMIP agency's of authenticator transmission request message.
Move back also to comprise in the network termination state change request message and move back the net pointer information, as long as this information in the releasing path request message that the simple copy virtual base station sends.And also have bit to indicate whether to discharge the IP address information in the idle mode state change request message, can be used to indication and discharge the CoA address or represent only to stop the PMIP agency.
Be understandable that the parameter that also can define other is in actual applications represented only to stop the PMIP agency and do not moved back net, and can define a brand-new message, does not limit herein.
Authenticator checks whether this terminal can stop the PMIP agency and not move back net, if can just be shown as merit at the response message middle finger, otherwise refusal stops the PMIP agency.Specifically, this response message can be to move back the network termination state to change response message (NetExit_MS_State_Change_Rsp) or idle mode state change response message (IM_Entry_State_Change_Rsp).
Be understandable that authenticator also can not stop PMIP agency's scope check, and only will remove path response message as the notice that stops the PMIP agency.
704~705, remove the path between external agent and the virtual base station;
The external agent is transmitted to virtual base station with response message.Specifically, this response message is to remove path response message (Path_Dereg_Rsp).
Do not move back net if allow to stop the PMIP agency, then virtual base station sends to the external agent and removes the path response message.
706, the external agent stops the agency;
Need to prove that the external agent might not stop the PMIP agency again after step 702~705 are complete, and only namely stops the PMIP agency after the releasing path request in receiving step 701.
707~711, identical with step 513~517 among the embodiment shown in Figure 5, specifically repeat no more herein.
Need to prove, be to merge the mode that stops PMIP agency and termination charging to be described in the present embodiment, in actual applications, stops the PMIP agency and stop charging also can independently being described respectively, do not do restriction herein.
In the present embodiment, when the external agent determines that termination PMIP acts on behalf of, then can directly stop the PMIP agency, do not upgrade binding so after the terminal switching access networks, can not cause home agent, IP can not connected yet and switch back former network, therefore can not move back net from former network after having supported dual-mode terminal to switch to heterogeneous network, guaranteed the correctness of the mobile IP under this switching mode;
Secondly, in the present embodiment, when terminal is switched from former Access Network, and can stop the charging of this terminal in former Access Network when only in former Access Network, keeping context, the user be repeated to charge in two networks avoiding.
Four, the situation that terminal was in the WiMAX idle pulley originally realizes stopping the PMIP agency in position updating process:
No matter what state was the preceding method terminal be at the WiMAX network originally, can use consistent process to realize the purpose that stops the PMIP agency and charge.Present embodiment is primarily aimed at situation that terminal was in the WiMAX idle pulley originally and makes and stop network in another way to the PMIP agency of this terminal or stop the PMIP agency simultaneously and charge, specifically see also Fig. 8, another embodiment of switching handling method comprises in the embodiment of the invention:
801, receiving position update request;
In the present embodiment, paging controller can receive position updating request from virtual base station, and this position updating request is sent in position updating process by virtual base station.
802, if determine to stop the PMIP agency according to position updating request, then notify the external agent to stop the PMIP agency.
In the present embodiment, if paging controller is determined position updating request from virtual base station, or comprise the indication that stops the PMIP agency in definite position updating request, then determine to stop the PMIP agency.
After determining to stop the PMIP agency, then paging controller can notify the external agent to stop the PMIP agency.
In the present embodiment, when paging controller determines that termination PMIP acts on behalf of, then can notify the external agent to stop the PMIP agency, do not upgrade binding so after the terminal switching access networks, can not cause home agent, IP can not connected yet and switch back former network, therefore can not move back net from former network after having supported dual-mode terminal to switch to heterogeneous network, guaranteed the correctness of the mobile IP under this switching mode.
For ease of understanding, with a concrete signaling process switching handling method in the embodiment of the invention is described below, see also Fig. 9, another embodiment of switching handling method comprises in the embodiment of the invention:
901, terminal sends position updating request to virtual base station;
Terminal switches to after the non-WiMAX network, sets up the tunnel with the WiMAX virtual base station, sends location update request message by the tunnel to the WiMAX virtual base station.
902, virtual base station sends location update request message to paging controller;
Suppose the paging controller of grappling not in the Access Network at virtual base station place, so this message at first passes through the relaying paging controller, the relaying paging controller of process may more than one.Virtual base station has comprised information such as Base Station Identification in the message that sends, virtual base station can also carry the indication information that indicates that it is virtual base station in the message that sends, perhaps directly carry the indication information that indication will stop PMIP.
903, the relaying paging controller is forwarded to location update message the paging controller of grappling;
The suppose relay paging controller does not ask to change the paging controller of terminal grappling, and therefore the location update message of transmitting does not insert new information.
904, retrieval context;
Authenticator (being the authenticator of grappling) the searching terminal authentication context information that the paging controller of grappling uses from terminal is to verify this terminal authority and the message true and false.
905, the paging controller of grappling is to relaying paging controller back response message;
906, the relaying paging controller is to virtual base station transmitted response message;
907, virtual base station sends response message to terminal;
908, virtual base station sends position renewal acknowledge message to the relaying paging controller;
If the position is upgraded successfully, virtual base station sends the position to the relaying paging controller and upgrades acknowledge message.The position is upgraded in the acknowledge message and is also comprised base station identification information, and whether also can add is virtual base station or the indication information that stops PMIP.
909, the relaying paging controller is transmitted acknowledge message to the paging controller of grappling;
910, change the paging controller indication;
The paging controller of grappling is received the indication information of finding wherein not change the paging controller of grappling after the message of step 903, and position updating process success, judge that whether location update message is from virtual base station, or whether indicate in the location update message and will stop PMIP agency, if send the message indication to the external agent of terminal and will stop the PMIP agency.
Whether paging controller can upgrade by location update request message or position in the acknowledge message is that the indication information of virtual base station judges that whether location update message is from virtual base station, can whether be virtual base station by the feature of Base Station Identification or the base station of upgrading from the virtual base station identification information table query requests position of configuration also, the existing description no longer repeated here in the concrete grammar previous embodiment.The paging controller of grappling specifically can use the paging controller in the existing standard heavily to distribute Indication message, the indication information that carries in the point of addition updating message or the sign of virtual base station in this message to the message of the termination PMIP that the external agent sends.
911, feedback change paging controller is replied;
The external agent behind the Indication message of the paging controller of receiving grappling, if wherein there is indication to stop the information of PMIP, perhaps shown in the base station be virtual base station, then stop the PMIP agency agency to terminal, and echo to the paging controller of grappling and to answer message.
The external agent judges that whether base station shown in the message is that the mode described in method and the previous embodiment of virtual base station is identical, and the mode of describing in the process that stops the PMIP agency and the previous embodiment is identical, repeats no more herein.
912, the paging controller of grappling sends message to authenticator;
With step 910 synchronously, the paging controller of grappling sends message to authenticator, wherein comprises information identical in the message with step 910, particularly, this message also is that the paging controller of grappling changes Indication message.
913, stop to charge and echo to the paging controller of grappling should for authenticator;
After authenticator is received the message that the paging controller of grappling sends, if this message indication stop the PMIP agency or judge shown in the base station be virtual base station, authenticator stops chargeing and echoes to the paging controller of grappling should.
The process of describing among the detailed process of stop chargeing and aforementioned each embodiment is identical, repeats no more herein.Do not stop chargeing if do not need, then authenticator can be done nothing after receiving the termination charging Indication message of paging controller of grappling, perhaps paging controller does not send message to authenticator, because in fact the paging controller of grappling does not become in this process, therefore need not the notification message of sending out such to authenticator.Because not knowing whether, the paging controller of grappling do not need to stop chargeing, therefore the paging controller of grappling should send a message to authenticator and is terminated with indication PMIP agency under the situation of notifying the external agent to stop the PMIP agency, and whether will stop really chargeing is then determined by authenticator.
914, the paging controller of grappling and authenticator are finished message authentication key count update process.
Need to prove, what describe among Fig. 9 is the process of position updating process when redistributing of paging controller do not taken place, in actual applications, redistributing of paging controller may take place in position updating process, then see also Figure 10, another embodiment of switching handling method comprises in the embodiment of the invention:
1001, terminal sends location update request message to the WiMAX virtual base station;
Terminal switches to after the non-WiMAX network, sets up the tunnel with the WiMAX virtual base station, sends location update request message by the tunnel to the WiMAX virtual base station.
1002, virtual base station sends location update request message to paging controller;
1003, relay base station is forwarded to location update message the paging controller of grappling;
The suppose relay paging controller wishes to change the paging controller of terminal grappling into oneself in the present embodiment, and the location update message of therefore transmitting has inserted to change seeks indication information that grappling exhales controller and the sign of oneself.
1004, retrieval context;
Authenticator (being the authenticator of grappling) the searching terminal authentication context information that the paging controller of current grappling uses from terminal is to verify this terminal authority and the message true and false.
The paging controller of current grappling is received the indication information of the paging controller of the grappling of finding after the message of step 1003 wherein to change, then not as shown in Figure 9 process in subsequent step, send the Indication message that the paging controller of grappling changes to external agent and authenticator like that.
1005, the paging controller of current grappling is to relaying paging controller back response message;
1006, the relaying paging controller be the paging controller of new grappling to virtual base station transmitted response message, and the identification information of the paging controller of new grappling also informed virtual base station;
1007, virtual base station sends response message to terminal, and terminal has also been known the paging controller of new grappling by response message;
1008, virtual base station sends position renewal acknowledge message to the relaying paging controller;
If the position is upgraded successfully, virtual base station is that relaying paging controller before sends position renewal acknowledge message to the paging controller of new grappling.The position is upgraded in the acknowledge message and is also comprised base station identification information, and whether also can add is the indication information of virtual base station, or indication stops the PMIP agency.
1009~1012, with embodiment shown in Figure 9 in describe 910~913 similar;
Because the relaying paging controller will oneself be set to the paging controller of new grappling, therefore the paging controller of new grappling judges that location update message is whether from virtual base station or whether the indication information of termination PMIP wherein arranged, if send the message indication to the external agent of terminal and will stop PMIP.
1009~1012 is the same with step 910 to 913 shown in Figure 9, just the paging controller of former grappling changed into the paging controller of new grappling.
1013, transmit acknowledge message;
The paging controller of new grappling has changed the back to the paging controller of external agent and the grappling of authenticator notice and has transmitted acknowledge message to the paging controller of former grappling finishing.
1014, paging controller and the authenticator of new grappling are finished message authentication key count update process.
By among above-mentioned Fig. 9 and the embodiment shown in Figure 10 as can be seen, when the paging controller discovery position of grappling is upgraded from the indication that has termination PMIP to act on behalf of in virtual base station or the location update message, notify the external agent to stop PMIP, and the event notice that PMIP can be stopped is to authenticator.And the method for notifying external agent and authenticator can be simply the relevant indication information in the location update message to be copied to the message that sends to external agent and authenticator such as the paging controller of grappling upgrades in the Indication message, and the external agent uses the recognition methods identical with the paging controller of grappling to judge whether to stop the PMIP agency with authenticator and stops charging.
In the present embodiment, when paging controller determines that termination PMIP acts on behalf of, then can notify the external agent to stop the PMIP agency, do not upgrade binding so after the terminal switching access networks, can not cause home agent, IP can not connected yet and switch back former network, therefore can not move back net from former network after having supported dual-mode terminal to switch to heterogeneous network, guaranteed the correctness of the mobile IP under this switching mode;
Secondly, in the present embodiment, when terminal is switched from former Access Network, and can stop the charging of this terminal in former Access Network when only in former Access Network, keeping context, therefore can not produce and repeat to charge.
Need to prove, more than all be in single process, to realize stopping the PMIP agency simultaneously and stop chargeing among each embodiment, and in actual applications, aforementioned different embodiment can be carried out combination, for example mode one and mode three can be carried out combination, concrete:
Utilize mode one in CMAC count update process, to allow authenticator stop chargeing, utilize mode three in setting up data path or releasing data path process, to allow the external agent stop the PMIP agency, can make like this scheme of prior art is changed minimum, be convenient to realize.
Specifically, the base station to virtual base station that the position first of finishing the terminal that is in idle pulley originally at virtual base station is upgraded the back or finished the terminal that is in enable mode is originally switched the back and is carried out process shown in Figure 2, but do not carry out step 203 wherein~206, and only execution in step stops chargeing for 207~208 one-tenth;
In the process that data path is set up or removed, carry out process shown in Figure 7, but do not carry out step 702 wherein~705 and 710~711, and execution in step 706~709 only, can realize stopping PMIP agency's purpose.
Originally be in the situation of enable mode for terminal, handoff procedure from from former serving BS to virtual base station has comprised data and has set up process, then can externally act on behalf of receive from the data path request of setting up of virtual base station or finish data path set up after the step of executive mode three.Because in fact the data path between virtual base station and the external agent does not need, therefore can after the switching of finishing from former serving BS to virtual base station, remove this data path, then also can be in removing the process of data path executive mode three, as shown in Figure 7.Originally be in the situation of idle pulley for terminal, just do not have data path originally between virtual base station and the external agent, but also can carry out the operation of once removing data path, so that execution that can triggering mode three, to stop PMIP.
Above the switching handling method embodiment in the embodiment of the invention is described, below the authenticator embodiment in the embodiment of the invention is described, see also Figure 11, the authenticator in the embodiment of the invention comprises:
First receiving element 1101 is used for receiving the request of message authentication key count update;
First notification unit 1102 is used for notifying the external agent to stop the PMIP agency when determining that according to the request of message authentication key count update termination PMIP acts on behalf of.
First receiving element 1101 in the present embodiment is concrete for receiving the message authentication key count update request that sends when virtual base station switches in the base station; Or, being used for the message authentication key count update request of the paging controller transmission of reception grappling, the position updating request that sends when the request of message authentication key count update is upgraded in the position by virtual base station or position are upgraded and are confirmed generation.
First notification unit 1102 in the present embodiment also is used for the notice aaa server and stops terminal in the charging of former Access Network.
Need to prove that the function of each unit of the authenticator in the present embodiment and the contact between the unit are identical with the embodiment shown in the aforementioned manner one, repeat no more herein.
In the present embodiment, when first notification unit 1102 determines that termination PMIP acts on behalf of, then can notify the external agent to stop the PMIP agency, do not upgrade binding so after the terminal switching access networks, can not cause home agent, IP can not connected yet and switch back former network, therefore can not move back net from former network after having supported dual-mode terminal to switch to heterogeneous network, guaranteed the correctness of the mobile IP under this switching mode;
Secondly, in the present embodiment, when terminal is switched from former Access Network, and can stop the charging of this terminal in former Access Network when only in former Access Network, keeping context, therefore can not produce and repeat to charge.
Below the paging controller embodiment in the embodiment of the invention is described, sees also Figure 12, the paging controller in the embodiment of the invention comprises:
Second receiving element 1201 be used for to receive idle mode state and changes request, idle mode state change request by virtual base station after upgrading for the terminal completing place, or after finishing the base station switching, or receive terminal enter idle mode request after send;
Second notification unit 1202 is used for notifying the external agent to stop the PMIP agency when determining that according to idle mode state change request termination PMIP acts on behalf of.
Second notification unit 1202 in the present embodiment also is used for the execution of notification authentication device and stops billing operation, makes authenticator notice aaa server stop terminal in the charging of former Access Network.
Need to prove that the function of each unit of the paging controller in the present embodiment and the contact between the unit are identical with the embodiment shown in the aforementioned manner two, repeat no more herein.
In the present embodiment, when second notification unit 1202 determines that termination PMIP acts on behalf of, then can notify the external agent to stop the PMIP agency, do not upgrade binding so after the terminal switching access networks, can not cause home agent, IP can not connected yet and switch back former network, therefore can not move back net from former network after having supported dual-mode terminal to switch to heterogeneous network, guaranteed the correctness of the mobile IP under this switching mode;
Secondly, in the present embodiment, when terminal is switched from former Access Network, and can stop the charging of this terminal in former Access Network when only in former Access Network, keeping context, therefore can not produce and repeat to charge.
Below the paging controller embodiment in the embodiment of the invention is described, sees also Figure 13, another embodiment of the paging controller in the embodiment of the invention comprises:
The 4th receiving element 1301 is used for the receiving position update request, and position updating request is sent in position updating process by virtual base station;
Four-way notice of invitation unit 1302 is used for notifying the external agent to stop the PMIP agency when determining that according to position updating request termination PMIP acts on behalf of.
Four-way notice of invitation unit 1302 in the present embodiment also is used for the execution of notification authentication device and stops billing operation, makes authenticator notice aaa server stop terminal in the charging of former Access Network.
Need to prove that the function of each unit of the paging controller in the present embodiment and the contact between the unit are identical with the embodiment shown in the aforementioned manner four, repeat no more herein.
In the present embodiment, when four-way notice of invitation unit 1302 determines that termination PMIP acts on behalf of, then can notify the external agent to stop the PMIP agency, do not upgrade binding so after the terminal switching access networks, can not cause home agent, IP can not connected yet and switch back former network, therefore can not move back net from former network after having supported dual-mode terminal to switch to heterogeneous network, guaranteed the correctness of the mobile IP under this switching mode;
Secondly, in the present embodiment, when terminal is switched from former Access Network, and can stop the charging of this terminal in former Access Network when only in former Access Network, keeping context, therefore can not produce and repeat to charge.
Below the external agent embodiment in the embodiment of the invention is described, sees also Figure 14, the external agent in the embodiment of the invention comprises:
The 3rd receiving element 1401 is used for receiving request message, and request message is sent in carrying out handoff procedure by virtual base station, or sends after finishing switching, or sends after the renewal of completing place;
Stop unit 1402, be used for when determining that according to request message termination PMIP acts on behalf of, stopping the PMIP agency.
External agent in the present embodiment can further include:
The 3rd advice note unit 1403 is used for the execution of notification authentication device and stops billing operation, makes authenticator notice aaa server stop terminal in the charging of former Access Network.
Need to prove that the function of each unit of the external agent in the present embodiment and the contact between the unit are identical with the embodiment shown in the aforementioned manner three, repeat no more herein.
In the present embodiment, when termination unit 1402 determines that termination PMIP act on behalf of, then can directly stop the PMIP agency, do not upgrade binding so after the terminal switching access networks, can not cause home agent, IP can not connected yet and switch back former network, therefore can not move back net from former network after having supported dual-mode terminal to switch to heterogeneous network, guaranteed the correctness of the mobile IP under this switching mode;
Secondly, in the present embodiment, when terminal is switched from former Access Network, and can stop the charging of this terminal in former Access Network when only in former Access Network, keeping context, therefore can not produce and repeat to charge.
A kind of communication system also is provided in the embodiment of the invention, and this communication system can comprise:
Virtual base station, paging controller, aaa server, external agent, and the authenticator of describing among the embodiment as shown in figure 11;
Or,
Comprise: virtual base station, authenticator, aaa server, external agent, and the paging controller of describing among the embodiment as shown in figure 12;
Or,
Comprise: virtual base station, paging controller, authenticator, aaa server, and the external agent who describes among the embodiment as shown in figure 14;
Or,
Comprise: virtual base station, authenticator, aaa server, external agent, and the paging controller of describing among the embodiment as shown in figure 13.
The content of describing among contact between concrete each network element and the preceding method embodiment is consistent, repeats no more herein.
Need to prove, in the aforementioned described technical scheme, be to switch to example from the WiMAX Access Network to non-WiMAX Access Network with portable terminal to describe, then if the aforementioned authenticator of mentioning is no specified otherwise, then refer to the authenticator of authentication terminal in the WiMAX Access Network, claim the authenticator of grappling again.The aforementioned external agent who mentions claims the datapath entities of grappling again if no specified otherwise refers to the employed external agent of terminal in the WiMAX Access Network.
One of ordinary skill in the art will appreciate that all or part of step that realizes in above-described embodiment method is to instruct relevant hardware to finish by program, this program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
More than a kind of switching handling method provided by the present invention and communication system and relevant device are described in detail, for one of ordinary skill in the art, thought according to the embodiment of the invention, part in specific embodiments and applications all can change, therefore, this description should not be construed as limitation of the present invention.