Summary of the invention
The invention provides a kind of method and system of realizing Reverse Activity, the method and system of ILR maintenance terminal state, solve in the prior art the application of principle that separates based on the identity position in traditional GPRS network, when being in, terminal adheres to but during the PDP unactivated state, Correspondent Node can not initiatively send to terminal the problem of message.
In order to address the above problem, the invention provides a kind of method that realizes Reverse Activity, comprising:
After identity position mapping register ILR receives the request of RID of the inquiry terminal that access service router CN-ASR that Correspondent Node CN connects sends, when satisfying specified requirements, the IP address of the proxy gateway universal grouping wireless business supporting node of this terminal-access service router GGSN-ASR is returned to described CN-ASR as the Route Distinguisher RID of described terminal, described specified requirements comprises: the RID that does not find described terminal in this locality, and/or the state of described terminal is to have adhered to un-activation;
Described CN-ASR sends to the described GGSN-ASR of agency with the data that described CN mails to described terminal;
The data that the described GGSN-ASR of agency notifies the service serving general radio packet service support node SGSN of described terminal to have and sends to described terminal arrive; Perhaps, the described GGSN-ASR of agency selects preferred GGSN-ASR, described CN is sent to the data retransmission of described terminal to described preferred GGSN-ASR, and the data that described preferred GGSN-ASR notifies the service SGSN of described terminal to have and sends to described terminal arrive;
The pdp context activation that described service SGSN initiates described terminal.
Further, said method also can have following characteristics, and described method also comprises: the described GGSN-ASR of agency is known the service SGSN of described terminal in the following way:
The described GGSN-ASR that acts on behalf of sends message to home subscriber server HLR, inquire about the current routing iinformation of described terminal, carry international mobile subscriber identity IMSI or the identify label AID of described terminal in the described message, from the response message that described HLR returns, obtain the sign of the service SGSN of described terminal;
Perhaps, described ILR obtains the service SGSN sign of described terminal, and described service SGSN sign is sent to the described GGSN-ASR of agency.
Further, said method also can have following characteristics, and the described GGSN-ASR of agency obtains the IMSI of described terminal in the following way:
The described GGSN-ASR of agency obtains the IMSI of described terminal in this locality according to the AID of described terminal; Perhaps, obtain the IMSI of described terminal to described ILR inquiry according to the AID of described terminal; The AID of the described terminal that perhaps, initiatively sends according to described ILR and the IMSI that the IMSI corresponding relation obtains described terminal.
Further, said method also can have following characteristics, and the pdp context activation that described service SGSN initiates described terminal comprises:
Described service SGSN sends the PDP context activation request to described terminal;
Described service SGSN, act on behalf of GGSN-ASR and described terminal interaction, carry out the PDP context activation flow process, between the described GGSN-ASR of agency and described terminal, set up data transmission channel.
Further, said method also can have following characteristics, and described method also comprises:
The described GGSN-ASR of agency is that described terminal is selected preferred GGSN-ASR, and is non-described when acting on behalf of GGSN-ASR as described preferred GGSN-ASR, and the service GGSN-ASR of described terminal is migrated to described preferred GGSN-ASR from the described GGSN-ASR of agency.
Further, said method also can have following characteristics, and described method also comprises:
Described service SGSN judges when the described GGSN-ASR of agency is not the optimal service GGSN-ASR of described terminal, for described terminal is selected preferred GGSN-ASR, the service GGSN-ASR of described terminal migrated to described preferred GGSN-ASR from the described GGSN-ASR of agency.
Further, said method also can have following characteristics, and described method also comprises, before the data that the described GGSN-ASR of agency notifies the service SGSN of described terminal to have to send to described terminal arrive, also selects preferred GGSN-ASR for described terminal;
The described GGSN-ASR of agency notifies the sign of the described preferred GGSN-ASR of service SGSN of described terminal;
The pdp context activation that described service SGSN initiates described terminal comprises:
Described service SGSN sends the PDP context activation request to described terminal;
Described service SGSN, preferred GGSN-ASR and described MN are mutual, carry out the PDP context activation flow process, set up data transmission channel between described preferred GGSN-ASR and described terminal.
Further, said method also can have following characteristics, and described method also comprises:
After the PDP context activation of described terminal was finished, described service SGSN notified the described terminal of the described GGSN-ASR of agency to finish activation;
The described GGSN-ASR of agency sends to described preferred GGSN-ASR with the data that described CN sends to described terminal.
Further, said method also can have following characteristics, the service SGSN of described terminal receives that the described notice of the described GGSN-ASR of agency transmission has the message of the data that send to described terminal, after perhaps receiving the described message of notifying described preferred GGSN-ASR sign, be described terminal distribution GTP TEID, described GTP TEID be carried at send to the described GGSN-ASR of agency in the response message;
After the described GGSN-ASR of agency received described response message, the data based described GTP TEID that described CN is sent to described terminal was sent to described service SGSN.
Further, said method also can have following characteristics, and described method also comprises,
The described GGSN-ASR of agency sends a request message to described preferred GGSN-ASR, notifies described preferred GGSN-ASR to prepare to receive the data that mail to described terminal;
After described preferred GGSN-ASR receives described request message, be described terminal distribution RID, return response message to the described GGSN-ASR of agency, carry described RID in the described response message;
After the described GGSN-ASR of agency receives described response message, described CN is sent to the data retransmission of described terminal to described preferred GGSN-ASR.
Further, said method also can have following characteristics, described method comprises that also described preferred GGSN-ASR triggers the pdp context activation that described service SGSN initiates described terminal, sets up data transmission channel between described preferred GGSN-ASR and described terminal.
Further, said method also can have following characteristics, and described method comprises that also described ILR judges the state of terminal according to following mode:
Described ILR asks the state of described terminal to described HLR;
Perhaps, described ILR judges the state of described terminal according to the terminal's status information of local maintenance.
Further, said method also can have following characteristics, and it is following one or a combination set of that described ILR maintenance terminal state information comprises:
When receive described terminal adhere to event notice after, with the state recording of described terminal for adhering to un-activation;
Behind the attachment removal event notice of receiving described terminal, with the state recording of described terminal for not adhering to;
Behind the activation event notice of receiving described terminal, the state recording of described terminal is activated for adhering to;
Behind the deexcitation event notice of receiving described terminal, with the state recording of described terminal for adhering to un-activation.
The present invention also provides a kind of system that realizes Reverse Activity, comprising: ILR and act on behalf of GGSN-ASR, wherein:
Described ILR is used for, after receiving the request of RID of the inquiry terminal that CN-ASR that CN connects sends, when satisfying specified requirements, the IP address of acting on behalf of GGSN-ASR of this terminal is returned to described CN-ASR as the RID of described terminal, described specified requirements comprises: the RID that does not find described terminal in this locality, and/or the state of described terminal is to have adhered to un-activation;
The described GGSN-ASR of agency is used for, and notifies the service SGSN of described terminal to have the data that send to described terminal to arrive, the pdp context activation of initiating described terminal to trigger described service SGSN; Perhaps, the described GGSN-ASR of agency selects preferred GGSN-ASR, and the data of being notified the service SGSN of described terminal to have to send to described terminal by described preferred GGSN-ASR arrive, the pdp context activation of initiating described terminal to trigger described service SGSN.
Further, said system also can have following characteristics, and the described GGSN-ASR of agency is for the service SGSN of knowing in the following way described terminal:
The described GGSN-ASR that acts on behalf of sends message to HLR, inquires about the current routing iinformation of described terminal, carries IMSI or the AID of described terminal in the described message, obtains the sign of the service SGSN of described terminal from the response message that described HLR returns;
Perhaps, the described GGSN-ASR of agency obtains the sign of described service SGSN from ILR.
Further, said system also can have following characteristics, and the described GGSN-ASR of agency is for the IMSI that obtains in the following way described terminal:
The described GGSN-ASR of agency obtains the IMSI of described terminal in this locality according to the AID of described terminal; Perhaps, obtain the IMSI of described terminal to described ILR inquiry according to the AID of described terminal; The AID of the described terminal that perhaps, initiatively sends according to described ILR and the IMSI that the IMSI corresponding relation obtains described terminal.
Further, said system also can have following characteristics, the described GGSN-ASR of agency also is used for, for described terminal is selected preferred GGSN-ASR, non-described when acting on behalf of GGSN-ASR as described preferred GGSN-ASR, initiate the service GGSN-ASR of described terminal is migrated to described preferred GGSN-ASR from the described GGSN-ASR of agency.
Further, said system also can have following characteristics, and the described GGSN-ASR of agency also is used for, before the data of notifying the service SGSN of described terminal to have to send to described terminal arrive, for described terminal is selected preferred GGSN-ASR; Notify the sign of the described preferred GGSN-ASR of service SGSN of described terminal, the pdp context activation of initiating described terminal to trigger described service SGSN is set up data transmission channel between described preferred GGSN-ASR and described terminal.
Further, said system also can have following characteristics, and the described GGSN-ASR of agency also is used for, receive that described terminal that described service SGSN sends has been finished the notice of activation after, the data that described CN sent to described terminal send to described preferred GGSN-ASR.
Further, said system also can have following characteristics, the described GGSN-ASR of agency also is used for, receive the response message of carrying GTP TEID of described service SGSN after, the data based described GTP TEID that described CN is sent to described terminal is sent to described service SGSN.
Further, said system also can have following characteristics, and described system also comprises described preferred GGSN-ASR, wherein:
The described GGSN-ASR of agency also is used for, and sends a request message to described preferred GGSN-ASR, notifies described preferred GGSN-ASR to prepare to receive the data that mail to described terminal; After receiving the response message of described preferred GGSN-ASR, described CN is sent to the data retransmission of described terminal to described preferred GGSN-ASR;
Described preferred GGSN-ASR is used for, receive described request message after, be described terminal distribution RID, return response message to the described GGSN-ASR of agency, carry described RID in the described response message.
Further, said system also can have following characteristics, and described preferred GGSN-ASR also is used for, and triggers the pdp context activation that described service SGSN initiates described terminal, sets up data transmission channel between described preferred GGSN-ASR and described terminal.
Further, said system also can have following characteristics, and described ILR also is used for judging according to following mode the state of terminal:
Ask the state of described terminal to described HLR;
Perhaps, judge the state of described terminal according to the terminal's status information of local maintenance.
Further, said system also can have following characteristics, and described ILR also is used for according to following one or a combination set of maintenance terminal state information:
When receive described terminal adhere to event notice after, with the state recording of described terminal for adhering to un-activation;
Behind the attachment removal event notice of receiving described terminal, with the state recording of described terminal for not adhering to;
Behind the activation event notice of receiving described terminal, the state recording of described terminal is activated for adhering to;
Behind the deexcitation event notice of receiving described terminal, with the state recording of described terminal for adhering to un-activation.
The present invention also provides a kind of method that realizes Reverse Activity, comprising:
After ILR receives the request of RID of the inquiry terminal that access service router CN-ASR that Correspondent Node CN connects sends, when satisfying specified requirements, described ILR sends the request that activates described terminal to HLR, described specified requirements comprises: the RID that does not find described terminal in this locality, and/or the state of described terminal is to have adhered to un-activation;
After described HLR receives the request of the described terminal of described activation, when recording the sign of the current service SGSN of described terminal among the described HLR, described HLR sends the request that activates described terminal to described service SGSN, and described service SGSN initiates the pdp context activation of described terminal;
Perhaps, after described HLR receives the request of the described terminal of described activation, select GGSN-ASR for described terminal, notifying described GGSN-ASR is described Terminal Service; The trigger the activation PDP Context of described terminal of described GGSN-ASR.
Further, said method also can have following characteristics, and described to notify described GGSN-ASR be that described Terminal Service comprises: described HLR sends to described GGSN-ASR with the AID of the sign of the service SGSN of described terminal, described terminal and the sign that is used for authentication of described terminal;
The trigger the activation PDP Context of described terminal of described GGSN-ASR comprises:
Described GGSN-ASR sends data to described service SGSN and reaches notice, and described service SGSN sends the PDP context activation request to described terminal;
Described service SGSN, described GGSN-ASR and described terminal interaction are carried out the PDP context activation flow process, set up data transmission channel between described GGSN-ASR and described terminal.
Further, said method also can have following characteristics, and described HLR is that described terminal selects GGSN-ASR to refer to select the GGSN-ASR that acts on behalf of of described terminal, perhaps, is described terminal selection one preferred GGSN-ASR.
Further, said method also can have following characteristics, described HLR be GGSN-ASR that described terminal is selected be described terminal act on behalf of GGSN-ASR the time, described method also comprises:
The described GGSN-ASR of agency is that described terminal is selected preferred GGSN-ASR, and is non-described when acting on behalf of GGSN-ASR as described preferred GGSN-ASR, and the service GGSN-ASR of described terminal is migrated to described preferred GGSN-ASR from the described GGSN-ASR of agency.
Further, said method also can have following characteristics, described HLR be GGSN-ASR that described terminal is selected be described terminal act on behalf of GGSN-ASR the time, described method also comprises:
Described service SGSN judges when the described GGSN-ASR of agency is not the optimal service GGSN-ASR of described terminal, for described terminal is selected preferred GGSN-ASR, the service GGSN-ASR of described terminal migrated to described preferred GGSN-ASR from the described GGSN-ASR of agency.
Further, said method also can have following characteristics, and described method comprises that also described ILR judges the state of terminal according to following mode:
Described ILR asks the state of described terminal to described HLR;
Perhaps, described ILR judges the state of described terminal according to the terminal's status information of local maintenance.
Further, said method also can have following characteristics, and described ILR is according to following one or a combination set of maintenance terminal state information:
When receive described terminal adhere to event notice after, with the state recording of described terminal for adhering to un-activation;
Behind the attachment removal event notice of receiving described terminal, with the state recording of described terminal for not adhering to;
Behind the activation event notice of receiving described terminal, the state recording of described terminal is activated for adhering to;
Behind the deexcitation event notice of receiving described terminal, with the state recording of described terminal for adhering to un-activation.
The present invention also provides a kind of system that realizes Reverse Activity, comprising: ILR, HLR and GGSN-ASR, wherein,
Described ILR is used for, after receiving the request of RID of the inquiry terminal that access service router CN-ASR that Correspondent Node CN connects sends, when satisfying specified requirements, described ILR sends the request that activates described terminal to described HLR, described specified requirements comprises: the RID that does not find described terminal in this locality, and/or the state of described terminal is to have adhered to un-activation;
Described HLR is used for, after receiving the request of the described terminal of described activation, when recording the sign of the current service SGSN of described terminal among the described HLR, send the request that activates described terminal to described service SGSN, the pdp context activation of initiating described terminal to trigger described service SGSN; Perhaps, after described HLR receives the request of the described terminal of described activation, select GGSN-ASR for described terminal, notifying described GGSN-ASR is described Terminal Service;
Described GGSN-ASR is used for, receive the notice of described HLR after, the PDP Context of the described terminal that triggers the activation.
Further, said system also can have following characteristics, and described to notify described GGSN-ASR be that described Terminal Service comprises: described HLR sends to described GGSN-ASR with the AID of the sign of the service SGSN of described terminal, described terminal and the sign that is used for authentication of described terminal;
The trigger the activation PDP Context of described terminal of described GGSN-ASR comprises: described GGSN-ASR sends data to described service SGSN and reaches notice, trigger the PDP context activation flow process that described service SGSN initiates described terminal, between described GGSN-ASR and described terminal, set up data transmission channel.
Further, said system also can have following characteristics, and described HLR is that the GGSN-ASR that described terminal is selected is the GGSN-ASR that acts on behalf of of described terminal, perhaps, is a preferred GGSN-ASR.
Further, said system also can have following characteristics, and described HLR is that the GGSN-ASR that described terminal is selected is the GGSN-ASR that acts on behalf of of described terminal;
The described GGSN-ASR of agency also is used for, and is non-described when acting on behalf of GGSN-ASR as described preferred GGSN-ASR for described terminal is selected preferred GGSN-ASR, initiates the service GGSN-ASR of described terminal is migrated to described preferred GGSN-ASR from the described GGSN-ASR of agency.
Further, said system also can have following characteristics, and described ILR also is used for judging according to following mode the state of terminal:
Ask the state of described terminal to described HLR;
Perhaps, judge the state of described terminal according to the terminal's status information of local maintenance.
Further, said system also can have following characteristics, and described ILR also is used for according to following one or a combination set of maintenance terminal state information:
When receive described terminal adhere to event notice after, with the state recording of described terminal for adhering to un-activation;
Behind the attachment removal event notice of receiving described terminal, with the state recording of described terminal for not adhering to;
Behind the activation event notice of receiving described terminal, the state recording of described terminal is activated for adhering to;
Behind the deexcitation event notice of receiving described terminal, with the state recording of described terminal for adhering to un-activation.
The present invention also provides a kind of method that realizes Reverse Activity, comprising:
ILR when satisfying specified requirements, obtains the sign of the service SGSN of described terminal after receiving the request of RID of the inquiry terminal that CN-ASR that CN connects sends, and is that described terminal is selected GGSN-ASR according to the service SGSN of described terminal; Described specified requirements comprises: do not find the RID of described terminal in this locality, and/or the state of described terminal is to have adhered to un-activation;
The data that described ILR notifies described GGSN-ASR to have and mails to described terminal arrive;
The data that described GGSN-ASR notifies the service SGSN of described terminal to have and sends to described terminal arrive; The pdp context activation that described service SGSN initiates described terminal.
Further, said method also can have following characteristics, and described method also comprises:
Described ILR receives that described GGSN-ASR is after the RID of described terminal distribution, returns to described CN-ASR with described RID; Perhaps, described ILR returns to described CN-ASR with the IP address of described GGSN-ASR as the RID of described terminal.
Further, said method also can have following characteristics, and described ILR obtains the sign of the service SGSN of described terminal in the following way:
Described ILR inquires about the service SGSN of described terminal to HLR, receives the sign of the service SGSN of the described terminal that described HLR returns;
Perhaps, described ILR obtains the sign of the service SGSN of described terminal from this locality.
Further, said method also can have following characteristics, when the data that described ILR notifies described GGSN-ASR to have to mail to described terminal arrive, carries the sign that is used for authentication of described terminal, the identify label AID of described terminal.
Further, said method also can have following characteristics, and described method comprises that also described ILR judges the state of terminal according to following mode:
Described ILR asks the state of described terminal to HLR;
Perhaps, described ILR judges the state of described terminal according to the terminal's status information of local maintenance.
Further, said method also can have following characteristics, and described ILR is according to following one or a combination set of maintenance terminal state information:
When receive described terminal adhere to event notice after, with the state recording of described terminal for adhering to un-activation;
Behind the attachment removal event notice of receiving described terminal, with the state recording of described terminal for not adhering to;
Behind the activation event notice of receiving described terminal, the state recording of described terminal is activated for adhering to;
Behind the deexcitation event notice of receiving described terminal, with the state recording of described terminal for adhering to un-activation.
The present invention also provides a kind of system that realizes Reverse Activity, comprise: ILR and GGSN-ASR, wherein: described ILR is used for, after receiving the request of RID of the inquiry terminal that access service router CN-ASR that Correspondent Node CN connects sends, when satisfying specified requirements, obtaining the sign of the service SGSN of described terminal, is that described terminal is selected GGSN-ASR according to the service SGSN of described terminal, and the data of notifying described GGSN-ASR to have to mail to described terminal arrive; Described specified requirements comprises: do not find the RID of described terminal in this locality, and/or the state of described terminal is to have adhered to un-activation;
Described GGSN-ASR is used for, receive described notice after, the data of notifying the service SGSN of described terminal to have to send to described terminal arrive the pdp context activation of initiating described terminal to trigger described service SGSN.
Further, said system also can have following characteristics, and described ILR also is used for, and receives that described GGSN-ASR is after the RID of described terminal distribution, returns to described CN-ASR with described RID; Perhaps, with the IP address of the described GGSN-ASR RID as described terminal, and return to described CN-ASR.
Further, said system also can have following characteristics, and described ILR is the sign for the service SGSN that obtains in the following way described terminal:
Inquire about the service SGSN of described terminal to HLR, receive the sign of the service SGSN of the described terminal that described HLR returns;
Perhaps, obtain the sign of the service SGSN of described terminal from this locality.
Further, said system also can have following characteristics, when the data that described ILR notifies described GGSN-ASR to have to mail to described terminal arrive, carries the sign that is used for authentication of described terminal, the identify label AID of described terminal.
Further, said system also can have following characteristics, and described ILR also is used for judging according to following mode the state of terminal:
Ask the state of described terminal to HLR;
Perhaps, judge the state of described terminal according to the terminal's status information of local maintenance.
Further, said system also can have following characteristics, and described ILR also is used for according to following one or a combination set of maintenance terminal state information:
When receive described terminal adhere to event notice after, with the state recording of described terminal for adhering to un-activation;
Behind the attachment removal event notice of receiving described terminal, with the state recording of described terminal for not adhering to;
Behind the activation event notice of receiving described terminal, the state recording of described terminal is activated for adhering to;
Behind the deexcitation event notice of receiving described terminal, with the state recording of described terminal for adhering to un-activation.
The present invention also provides a kind of method of ILR maintenance terminal state, comprising:
HLR is after terminal is adhered to, and the described terminal of notice ILR has been attached to network;
Described ILR with the state recording of described terminal for adhering to un-activation.
Further, said method also can have following characteristics, when described HLR notifies described ILR, also carries the sign of the service SGSN of described terminal;
Described ILR preserves the sign of the service SGSN of described terminal.
Further, said method also can have following characteristics, and described method also comprises:
During the PDP context activation of described terminal, the service GGSN-ASR of described terminal is described terminal distribution RID, and described RID is updated to described ILR;
After described ILR receives described RID, the state recording of described terminal is activated for adhering to.
Further, said method also can have following characteristics, when described service GGSN-ASR sends to described ILR with described RID, carries the sign of the service SGSN of described terminal;
Described ILR preserves the sign of the service SGSN of described terminal.
Further, said method also can have following characteristics, and described method also comprises: the service GGSN-ASR of described terminal sends deletion RID request to described ILR behind described terminal PDP context deactivation;
After described ILR receives described deletion RID request, described SOT state of termination is recorded as adheres to un-activation.
Further, said method also can have following characteristics, the sign of carrying the service SGSN of described terminal in the described deletion RID request; After described ILR receives described deletion RID request, the sign of preserving the service SGSN of described terminal.
Further, said method also can have following characteristics, and described method also comprises, described HLR sends message, the sign of carrying the current service SGSN of described terminal to described ILR at the service SGSN of described terminal after changing; Described ILR upgrades the sign of the service SGSN of local described terminal of preserving.
Further, said method also can have following characteristics, described method also comprises: after the service SGSN of terminal receives the detach request of described terminal, service GGSN-ASR to described terminal sends the request of deletion PDP Context, and the reason of carrying current deletion PDP Context in the request of described deletion PDP Context is the indication of terminal attachment removal;
Described service GGSN-ASR sends deletion RID request to described ILR, carries the indication of attachment removal of described terminal in the described deletion RID request;
After described ILR receives described deletion RID request, described SOT state of termination is recorded as do not adhere to.
Further, said method also can have following characteristics, and described method also comprises,
Described HLR determines to trigger the attachment removal of described terminal, perhaps, know described terminal attachment removal after, notify the described terminal of described ILR current attachment removal;
After described ILR receives the notice of the current attachment removal of described terminal that described HLR sends, described SOT state of termination is recorded as do not adhere to.
Further, said method also can have following characteristics, and described HLR is known the current attachment removal of described terminal in the following way:
Described HLR receives the request of the described end message of removing that the service SGSN of described terminal sends; Perhaps, receive the cancel location acknowledgement message that described terminal is returned.
The present invention also provides a kind of system of maintenance terminal state, comprises HLR and ILR, wherein:
Described HLR is used for, and after terminal is adhered to, notifies the described terminal of described ILR to be attached to network;
Described ILR is used for, with the state recording of described terminal for adhering to un-activation.
Further, said system also can have following characteristics, and described HLR also is used for, and when notifying described ILR, carries the sign of the service SGSN of described terminal;
Described ILR also is used for, and preserves the sign of the service SGSN of described terminal.
Further, said system also can have following characteristics, and described system also comprises: the service GGSN-ASR of described terminal, wherein:
Described service GGSN-ASR is used for, and when the PDP context activation of described terminal, is described terminal distribution RID, and described RID is updated to described ILR;
Described ILR also is used for, receive described RID after, the state recording of described terminal is activated for adhering to.
Further, said system also can have following characteristics, and described service GGSN-ASR also is used for, and when described RID is sent to described ILR, carries the sign of the service SGSN of described terminal;
Described ILR also is used for, and preserves the sign of the service SGSN of described terminal.
Further, said system also can have following characteristics, and described system also comprises the service GGSN-ASR of described terminal, wherein:
Described service GGSN-ASR also is used for, and behind described terminal PDP context deactivation, sends deletion RID request to described ILR;
Described ILR also is used for, receive described deletion RID request after, described SOT state of termination is recorded as adheres to un-activation.
Further, said system also can have following characteristics, and described service GGSN-ASR also is used for, the sign of carrying the service SGSN of described terminal in described deletion RID request;
Described ILR also is used for, receive described deletion RID request after, the sign of preserving the service SGSN of described terminal.
Further, said system also can have following characteristics, and described HLR also is used for, and at the service SGSN of described terminal after changing, sends updating message, the sign of carrying the current service SGSN of described terminal to described ILR;
Described ILR also is used for, receive described updating message after, upgrade the sign of the service SGSN of local described terminal of preserving.
Further, said system also can have following characteristics, and described system also comprises service SGSN and the service GGSN-ASR of described terminal, wherein:
Described service SGSN is used for, after receiving the detach request of described terminal, service GGSN-ASR to described terminal sends the request of deletion PDP Context, and the reason of carrying current deletion PDP Context in the request of described deletion PDP Context is the indication of terminal attachment removal;
Described service GGSN-ASR is used for, and sends deletion RID request to described ILR, carries the indication of attachment removal of described terminal in the described deletion RID request;
Described ILR is used for, receive described deletion RID request after, described SOT state of termination is recorded as do not adhered to.
Further, said system also can have following characteristics, and described HLR also is used for, and determine to trigger the attachment removal of described terminal, perhaps, know described terminal attachment removal after, notify the described terminal of described ILR current attachment removal;
Described ILR also is used for, receive the notice of the current attachment removal of described terminal that described HLR sends after, described SOT state of termination is recorded as do not adhered to.
Further, said system also can have following characteristics, and described HLR is known the current attachment removal of described terminal in the following way:
Described HLR receives the request of the described end message of removing that the service SGSN of described terminal sends; Perhaps, receive the cancel location acknowledgement message that described terminal is returned.
The method and system of realization Reverse Activity provided by the invention, the method and system of ILR maintenance terminal state, an application of principle that separates based on the identity position after traditional GPRS network, adhere to but during the PDP unactivated state, Correspondent Node can initiatively send message to terminal when terminal is in.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, hereinafter in connection with accompanying drawing embodiments of the invention are elaborated.Need to prove that in the situation of not conflicting, the embodiment among the application and the feature among the embodiment be combination in any mutually.
In this article, identify label can be called again access sign (Access Identifier, referred to as AID), station location marker can be called as again Route Distinguisher (Routing Identifier, referred to as RID), below all use AID to refer to identify label/access sign, refer to station location marker/Route Distinguisher with RID.Simultaneously, above-mentioned portable terminal might be called as mobile node (Mobile Node, MN), subscriber equipment (User Equipment, UE) or travelling carriage (Mobile Station, MS), below all refers to terminal or MN.
The embodiment of the invention provides a kind of method that realizes Reverse Activity, comprising:
After identity position mapping register ILR receives the request of RID of the inquiry terminal that access service router CN-ASR that Correspondent Node CN connects sends, when satisfying specified requirements, the IP address of the proxy gateway universal grouping wireless business supporting node of this terminal-access service router GGSN-ASR is returned to described CN-ASR as the Route Distinguisher RID of described terminal, described specified requirements comprises: the RID that does not find described terminal in this locality, and/or the state of described terminal is to have adhered to un-activation;
Described CN-ASR sends to the described GGSN-ASR of agency with the data that described CN mails to described terminal;
The data that the described GGSN-ASR of agency notifies the service serving general radio packet service support node SGSN of described terminal to have and sends to described terminal arrive; Perhaps, the described GGSN-ASR of agency selects preferred GGSN-ASR, described CN is sent to the data retransmission of described terminal to described preferred GGSN-ASR, and the data that described preferred GGSN-ASR notifies the service SGSN of described terminal to have and sends to described terminal arrive;
The pdp context activation that described service SGSN initiates described terminal.
Wherein, described method also comprises: the described GGSN-ASR of agency is known the service SGSN of described terminal in the following way:
The described GGSN-ASR that acts on behalf of sends message to home subscriber server HLR, inquire about the current routing iinformation of described terminal, carry international mobile subscriber identity IMSI or the identify label AID of described terminal in the described message, from the response message that described HLR returns, obtain the sign of the service SGSN of described terminal;
Perhaps, described ILR obtains the service SGSN sign of described terminal, and described service SGSN sign is sent to the described GGSN-ASR of agency.
Wherein, the described GGSN-ASR of agency obtains the IMSI of described terminal in the following way:
The described GGSN-ASR of agency obtains the IMSI of described terminal in this locality according to the AID of described terminal; Perhaps, obtain the IMSI of described terminal to described ILR inquiry according to the AID of described terminal; The AID of the described terminal that perhaps, initiatively sends according to described ILR and the IMSI that the IMSI corresponding relation obtains described terminal.
Wherein, the described service SGSN pdp context activation of initiating described terminal comprises:
Described service SGSN sends the PDP context activation request to described terminal;
Described service SGSN, act on behalf of GGSN-ASR and described terminal interaction, carry out the PDP context activation flow process, between the described GGSN-ASR of agency and described terminal, set up data transmission channel.
Wherein, described method also comprises:
The described GGSN-ASR of agency is that described terminal is selected preferred GGSN-ASR, and is non-described when acting on behalf of GGSN-ASR as described preferred GGSN-ASR, and the service GGSN-ASR of described terminal is migrated to described preferred GGSN-ASR from the described GGSN-ASR of agency.
Wherein, described method also comprises:
Described service SGSN judges when the described GGSN-ASR of agency is not the optimal service GGSN-ASR of described terminal, for described terminal is selected preferred GGSN-ASR, the service GGSN-ASR of described terminal migrated to described preferred GGSN-ASR from the described GGSN-ASR of agency.
Wherein, described method also comprises:
The data that the described GGSN-ASR of agency notifies the service SGSN of described terminal to have to send to described terminal are also selected preferred GGSN-ASR for described terminal before arriving;
The described GGSN-ASR of agency notifies the sign of the described preferred GGSN-ASR of service SGSN of described terminal;
The pdp context activation that described service SGSN initiates described terminal comprises:
Described service SGSN sends the PDP context activation request to described terminal;
Described service SGSN, preferred GGSN-ASR and described MN are mutual, carry out the PDP context activation flow process, set up data transmission channel between described preferred GGSN-ASR and described terminal.
Wherein, described method also comprises:
After the PDP context activation of described terminal was finished, described service SGSN notified the described terminal of the described GGSN-ASR of agency to finish activation;
The described GGSN-ASR of agency sends to described preferred GGSN-ASR with the data that described CN sends to described terminal.
Wherein, described method also comprises:
The service SGSN of described terminal receives that the described notice of the described GGSN-ASR of agency transmission has the message of the data that send to described terminal, after perhaps receiving the described message of notifying described preferred GGSN-ASR sign, be described terminal distribution GTP TEID, described GTP TEID be carried at send to the described GGSN-ASR of agency in the response message;
After the described GGSN-ASR of agency received described response message, the data based described GTP TEID that described CN is sent to described terminal was sent to described service SGSN.
Wherein, described method also comprises:
The described GGSN-ASR of agency sends a request message to described preferred GGSN-ASR, notifies described preferred GGSN-ASR to prepare to receive the data that mail to described terminal;
After described preferred GGSN-ASR receives described request message, be described terminal distribution RID, return response message to the described GGSN-ASR of agency, carry described RID in the described response message;
After the described GGSN-ASR of agency receives described response message, described CN is sent to the data retransmission of described terminal to described preferred GGSN-ASR.
Wherein, described method also comprises:
Described preferred GGSN-ASR triggers the pdp context activation that described service SGSN initiates described terminal, sets up data transmission channel between described preferred GGSN-ASR and described terminal.
Wherein, described method also comprises: described ILR judges the state of terminal according to following mode:
Described ILR asks the state of described terminal to described HLR;
Perhaps, described ILR judges the state of described terminal according to the terminal's status information of local maintenance.
Wherein, described ILR maintenance terminal state information comprises following one or a combination set of:
When receive described terminal adhere to event notice after, with the state recording of described terminal for adhering to un-activation;
Behind the attachment removal event notice of receiving described terminal, with the state recording of described terminal for not adhering to;
Behind the activation event notice of receiving described terminal, the state recording of described terminal is activated for adhering to;
Behind the deexcitation event notice of receiving described terminal, with the state recording of described terminal for adhering to un-activation.
The present invention also provides a kind of system that realizes Reverse Activity, comprising: ILR, act on behalf of GGSN-ASR, wherein:
Described ILR is used for, after receiving the request of RID of the inquiry terminal that CN-ASR that CN connects sends, when satisfying specified requirements, the IP address of acting on behalf of GGSN-ASR of this terminal is returned to described CN-ASR as the RID of described terminal, described specified requirements comprises: the RID that does not find described terminal in this locality, and/or the state of described terminal is to have adhered to un-activation;
The described GGSN-ASR of agency is used for, and notifies the service SGSN of described terminal to have the data that send to described terminal to arrive, the pdp context activation of initiating described terminal to trigger described service SGSN; Perhaps, the described GGSN-ASR of agency selects preferred GGSN-ASR, and the data of being notified the service SGSN of described terminal to have to send to described terminal by described preferred GGSN-ASR arrive, the pdp context activation of initiating described terminal to trigger described service SGSN.
Wherein, the described GGSN-ASR of agency is for the service SGSN of knowing in the following way described terminal:
The described GGSN-ASR that acts on behalf of sends message to HLR, inquires about the current routing iinformation of described terminal, carries IMSI or the AID of described terminal in the described message, obtains the sign of the service SGSN of described terminal from the response message that described HLR returns;
Perhaps, the described GGSN-ASR of agency obtains the sign of described service SGSN from ILR.
Wherein, the described GGSN-ASR of agency is for the IMSI that obtains in the following way described terminal:
The described GGSN-ASR of agency obtains the IMSI of described terminal in this locality according to the AID of described terminal; Perhaps, obtain the IMSI of described terminal to described ILR inquiry according to the AID of described terminal; The AID of the described terminal that perhaps, initiatively sends according to described ILR and the IMSI that the IMSI corresponding relation obtains described terminal.
Wherein, the described GGSN-ASR of agency also is used for, for described terminal is selected preferred GGSN-ASR, non-described when acting on behalf of GGSN-ASR as described preferred GGSN-ASR, initiate the service GGSN-ASR of described terminal is migrated to described preferred GGSN-ASR from the described GGSN-ASR of agency.
Wherein, the described GGSN-ASR of agency also is used for, before the data of notifying the service SGSN of described terminal to have to send to described terminal arrive, for described terminal is selected preferred GGSN-ASR; Notify the sign of the described preferred GGSN-ASR of service SGSN of described terminal, the pdp context activation of initiating described terminal to trigger described service SGSN is set up data transmission channel between described preferred GGSN-ASR and described terminal.
Wherein, the described GGSN-ASR of agency also is used for, receive that described terminal that described service SGSN sends has been finished the notice of activation after, the data that described CN sent to described terminal send to described preferred GGSN-ASR.
Wherein, the described GGSN-ASR of agency also is used for, receive the response message of carrying GTPTEID of described service SGSN after, the data based described GTP TEID that described CN is sent to described terminal is sent to described service SGSN.
Wherein, described system also comprises described preferred GGSN-ASR, wherein:
The described GGSN-ASR of agency also is used for, and sends a request message to described preferred GGSN-ASR, notifies described preferred GGSN-ASR to prepare to receive the data that mail to described terminal; After receiving the response message of described preferred GGSN-ASR, described CN is sent to the data retransmission of described terminal to described preferred GGSN-ASR;
Described preferred GGSN-ASR is used for, receive described request message after, be described terminal distribution RID, return response message to the described GGSN-ASR of agency, carry described RID in the described response message.
Wherein, described preferred GGSN-ASR also is used for, and triggers the pdp context activation that described service SGSN initiates described terminal, sets up data transmission channel between described preferred GGSN-ASR and described terminal.
The embodiment of the invention also provides a kind of method that realizes Reverse Activity, comprising:
After ILR receives the request of RID of the inquiry terminal that access service router CN-ASR that Correspondent Node CN connects sends, when satisfying specified requirements, described ILR sends the request that activates described terminal to HLR, described specified requirements comprises: the RID that does not find described terminal in this locality, and/or the state of described terminal is to have adhered to un-activation;
After described HLR receives the request of the described terminal of described activation, when recording the sign of the current service SGSN of described terminal among the described HLR, described HLR sends the request that activates described terminal to described service SGSN, and described service SGSN initiates the pdp context activation of described terminal;
Perhaps, after described HLR receives the request of the described terminal of described activation, select GGSN-ASR for described terminal, notifying described GGSN-ASR is described Terminal Service; The trigger the activation PDP Context of described terminal of described GGSN-ASR.
Wherein, described to notify described GGSN-ASR be that described Terminal Service comprises: described HLR sends to described GGSN-ASR with the AID of the sign of the service SGSN of described terminal, described terminal and the sign that is used for authentication of described terminal;
The trigger the activation PDP Context of described terminal of described GGSN-ASR comprises:
Described GGSN-ASR sends data to described service SGSN and reaches notice, and described service SGSN sends the PDP context activation request to described terminal;
Described service SGSN, described GGSN-ASR and described terminal interaction are carried out the PDP context activation flow process, set up data transmission channel between described GGSN-ASR and described terminal.
Wherein, described HLR is that described terminal selects GGSN-ASR to refer to select the GGSN-ASR that acts on behalf of of described terminal, perhaps, is described terminal selection one preferred GGSN-ASR.
Wherein, described HLR be GGSN-ASR that described terminal is selected be described terminal act on behalf of GGSN-ASR the time, described method also comprises:
The described GGSN-ASR of agency is that described terminal is selected preferred GGSN-ASR, and is non-described when acting on behalf of GGSN-ASR as described preferred GGSN-ASR, and the service GGSN-ASR of described terminal is migrated to described preferred GGSN-ASR from the described GGSN-ASR of agency.
Wherein, described HLR be GGSN-ASR that described terminal is selected be described terminal act on behalf of GGSN-ASR the time, described method also comprises:
Described service SGSN judges when the described GGSN-ASR of agency is not the optimal service GGSN-ASR of described terminal, for described terminal is selected preferred GGSN-ASR, the service GGSN-ASR of described terminal migrated to described preferred GGSN-ASR from the described GGSN-ASR of agency.
The present invention also provides a kind of system that realizes Reverse Activity, comprising:
ILR, HLR and GGSN-ASR, wherein,
Described ILR is used for, after receiving the request of RID of the inquiry terminal that access service router CN-ASR that Correspondent Node CN connects sends, when satisfying specified requirements, described ILR sends the request that activates described terminal to described HLR, described specified requirements comprises: the RID that does not find described terminal in this locality, and/or the state of described terminal is to have adhered to un-activation;
Described HLR is used for, after receiving the request of the described terminal of described activation, when recording the sign of the current service SGSN of described terminal among the described HLR, send the request that activates described terminal to described service SGSN, the pdp context activation of initiating described terminal to trigger described service SGSN; Perhaps, after described HLR receives the request of the described terminal of described activation, select GGSN-ASR for described terminal, notifying described GGSN-ASR is described Terminal Service;
Described GGSN-ASR is used for, receive the notice of described HLR after, the PDP Context of the described terminal that triggers the activation.
Wherein, described to notify described GGSN-ASR be that described Terminal Service comprises: described HLR sends to described GGSN-ASR with the AID of the sign of the service SGSN of described terminal, described terminal and the sign that is used for authentication of described terminal;
The trigger the activation PDP Context of described terminal of described GGSN-ASR comprises: described GGSN-ASR sends data to described service SGSN and reaches notice, trigger the PDP context activation flow process that described service SGSN initiates described terminal, between described GGSN-ASR and described terminal, set up data transmission channel.
Wherein, described HLR is that the GGSN-ASR that described terminal is selected is the GGSN-ASR that acts on behalf of of described terminal, perhaps, is a preferred GGSN-ASR.
Wherein, described HLR is that the GGSN-ASR that described terminal is selected is the GGSN-ASR that acts on behalf of of described terminal;
The described GGSN-ASR of agency also is used for, and is non-described when acting on behalf of GGSN-ASR as described preferred GGSN-ASR for described terminal is selected preferred GGSN-ASR, initiates the service GGSN-ASR of described terminal is migrated to described preferred GGSN-ASR from the described GGSN-ASR of agency.
The embodiment of the invention also provides a kind of method that realizes Reverse Activity, comprise: after ILR receives the request of RID of the inquiry terminal that CN-ASR that CN connects sends, when satisfying specified requirements, obtaining the sign of the service SGSN of described terminal, is that described terminal is selected GGSN-ASR according to the service SGSN of described terminal; Described specified requirements comprises: do not find the RID of described terminal in this locality, and/or the state of described terminal is to have adhered to un-activation;
The data that described ILR notifies described GGSN-ASR to have and mails to described terminal arrive;
The data that described GGSN-ASR notifies the service SGSN of described terminal to have and sends to described terminal arrive; The pdp context activation that described service SGSN initiates described terminal.
Wherein, described method also comprises:
Described ILR receives that described GGSN-ASR is after the RID of described terminal distribution, returns to described CN-ASR with described RID; Perhaps, described ILR returns to described CN-ASR with the IP address of described GGSN-ASR as the RID of described terminal.
Wherein, described ILR obtains the sign of the service SGSN of described terminal in the following way:
Described ILR inquires about the service SGSN of described terminal to HLR, receives the sign of the service SGSN of the described terminal that described HLR returns;
Perhaps, described ILR obtains the sign of the service SGSN of described terminal from this locality.
Wherein, when the data that described ILR notifies described GGSN-ASR to have to mail to described terminal arrive, carry the sign that is used for authentication of described terminal, the identify label AID of described terminal.
The embodiment of the invention also provides a kind of system that realizes Reverse Activity, comprising: ILR and GGSN-ASR, wherein:
Described ILR is used for, after receiving the request of RID of the inquiry terminal that access service router CN-ASR that Correspondent Node CN connects sends, when satisfying specified requirements, obtain the sign of the service SGSN of described terminal, be that described terminal is selected GGSN-ASR according to the service SGSN of described terminal, the data of notifying described GGSN-ASR to have to mail to described terminal arrive; Described specified requirements comprises: do not find the RID of described terminal in this locality, and/or the state of described terminal is to have adhered to un-activation;
Described GGSN-ASR is used for, receive described notice after, the data of notifying the service SGSN of described terminal to have to send to described terminal arrive the pdp context activation of initiating described terminal to trigger described service SGSN.
Wherein, described ILR also is used for, and receives that described GGSN-ASR is after the RID of described terminal distribution, returns to described CN-ASR with described RID; Perhaps, with the IP address of the described GGSN-ASR RID as described terminal, and return to described CN-ASR.
Wherein, described ILR is the sign for the service SGSN that obtains in the following way described terminal:
Inquire about the service SGSN of described terminal to HLR, receive the sign of the service SGSN of the described terminal that described HLR returns;
Perhaps, obtain the sign of the service SGSN of described terminal from this locality.
Wherein, when the data that described ILR notifies described GGSN-ASR to have to mail to described terminal arrive, carry the sign that is used for authentication of described terminal, the identify label AID of described terminal.
The embodiment of the invention also provides a kind of method of ILR maintenance terminal state, comprising:
HLR is after terminal is adhered to, and the described terminal of notice ILR has been attached to network;
Described ILR with the state recording of described terminal for adhering to un-activation.
Wherein, when described HLR notifies described ILR, also carry the sign of the service SGSN of described terminal;
Described ILR preserves the sign of the service SGSN of described terminal.
Wherein, described method also comprises:
During the PDP context activation of described terminal, the service GGSN-ASR of described terminal is described terminal distribution RID, and described RID is updated to described ILR;
After described ILR receives described RID, the state recording of described terminal is activated for adhering to.
Wherein, when described service GGSN-ASR sends to described ILR with described RID, the sign of carrying the service SGSN of described terminal;
Described ILR preserves the sign of the service SGSN of described terminal.
Wherein, described method also comprises:
The service GGSN-ASR of described terminal sends deletion RID request to described ILR behind described terminal PDP context deactivation;
After described ILR receives described deletion RID request, described SOT state of termination is recorded as adheres to un-activation.
The sign of wherein, carrying the service SGSN of described terminal in the described deletion RID request; After described ILR receives described deletion RID request, the sign of preserving the service SGSN of described terminal.
Wherein, described method also comprises, described HLR sends message, the sign of carrying the current service SGSN of described terminal to described ILR at the service SGSN of described terminal after changing; Described ILR upgrades the sign of the service SGSN of local described terminal of preserving.
Wherein, described method also comprises:
After the service SGSN of terminal received the detach request of described terminal, to the service GGSN-ASR transmission deletion PDP Context request of described terminal, the reason of carrying current deletion PDP Context in the request of described deletion PDP Context was the indication of terminal attachment removal;
Described service GGSN-ASR sends deletion RID request to described ILR, carries the indication of attachment removal of described terminal in the described deletion RID request;
After described ILR receives described deletion RID request, described SOT state of termination is recorded as do not adhere to.
Wherein, described method also comprises,
Described HLR determines to trigger the attachment removal of described terminal, perhaps, know described terminal attachment removal after, notify the described terminal of described ILR current attachment removal;
After described ILR receives the notice of the current attachment removal of described terminal that described HLR sends, described SOT state of termination is recorded as do not adhere to.
Wherein, described HLR is known the current attachment removal of described terminal in the following way:
Described HLR receives the request of the described end message of removing that the service SGSN of described terminal sends; Perhaps, receive the cancel location acknowledgement message that described terminal is returned.
The present invention also provides a kind of system of maintenance terminal state, comprises HLR and ILR, wherein:
Described HLR is used for, and after terminal is adhered to, notifies the described terminal of described ILR to be attached to network;
Described ILR is used for, with the state recording of described terminal for adhering to un-activation.
Wherein, described HLR also is used for, and when notifying described ILR, carries the sign of the service SGSN of described terminal;
Described ILR also is used for, and preserves the sign of the service SGSN of described terminal.
Wherein, described system also comprises: the service GGSN-ASR of described terminal, wherein:
Described service GGSN-ASR is used for, and when the PDP context activation of described terminal, is described terminal distribution RID, and described RID is updated to described ILR;
Described ILR also is used for, receive described RID after, the state recording of described terminal is activated for adhering to.
Wherein, described service GGSN-ASR also is used for, and when described RID is sent to described ILR, carries the sign of the service SGSN of described terminal;
Described ILR also is used for, and preserves the sign of the service SGSN of described terminal.
Wherein, described system also comprises the service GGSN-ASR of described terminal:
Described service GGSN-ASR also is used for, and behind described terminal PDP context deactivation, sends deletion RID request to described ILR;
Described ILR also is used for, receive described deletion RID request after, described SOT state of termination is recorded as adheres to un-activation.
Wherein, described service GGSN-ASR also is used for, the sign of carrying the service SGSN of described terminal in described deletion RID request;
Described ILR also is used for, receive described deletion RID request after, the sign of preserving the service SGSN of described terminal.
Wherein, described HLR also is used for, and at the service SGSN of described terminal after changing, sends updating message, the sign of carrying the current service SGSN of described terminal to described ILR;
Described ILR also is used for, receive described updating message after, upgrade the sign of the service SGSN of local described terminal of preserving.
Wherein, described system also comprises service SGSN and the service GGSN-ASR of described terminal, wherein:
Described service SGSN is used for, after receiving the detach request of described terminal, service GGSN-ASR to described terminal sends the request of deletion PDP Context, and the reason of carrying current deletion PDP Context in the request of described deletion PDP Context is the indication of terminal attachment removal;
Described service GGSN-ASR is used for, and sends deletion RID request to described ILR, carries the indication of attachment removal of described terminal in the described deletion RID request;
Described ILR is used for, receive described deletion RID request after, described SOT state of termination is recorded as do not adhered to.
Wherein, described HLR also is used for, and determine to trigger the attachment removal of described terminal, perhaps, know described terminal attachment removal after, notify the described terminal of described ILR current attachment removal;
Described ILR also is used for, receive the notice of the current attachment removal of described terminal that described HLR sends after, described SOT state of termination is recorded as do not adhered to.
Wherein, described HLR is known the current attachment removal of described terminal in the following way:
Described HLR receives the request of the described end message of removing that the service SGSN of described terminal sends; Perhaps, receive the cancel location acknowledgement message that described terminal is returned.
The embodiment of the invention also provides a kind of ILR, wherein,
ILR is used for, receive that terminal that HLR sends has been attached to the notice of network after, with the state recording of described terminal for adhering to un-activation.
Wherein, described ILR also is used for, and preserves the sign of the service SGSN of the described terminal of carrying in the described notice of described HLR transmission.
Wherein, described ILR also is used for, and after the service GGSN-ASR that receives described terminal is the RID of described terminal distribution, the state recording of described terminal is activated for adhering to.
Wherein, described ILR also is used for, and preserves the sign of the service SGSN of the described terminal that described service GGSN-ASR carries when sending described RID.
Wherein, described ILR also is used for, receive the deletion RID request of service GGSN-ASR of described terminal after, described SOT state of termination is recorded as adheres to un-activation; When in described deletion RID request, carrying the sign of service SGSN of described terminal, the sign of preserving the service SGSN of described terminal.
Wherein, described ILR also is used for, receive the message of service SGSN of the described terminal of renewal that described HLR sends after, upgrade the sign that is designated the service SGSN that carries in the described message of the service SGSN of local described terminal of preserving.
Wherein, described ILR also is used for, and receives the deletion RID request of the service GGSN-ASR of described terminal, and after described deletion RID carries the indication of attachment removal of described terminal in asking, and described SOT state of termination is recorded as does not adhere to.
Wherein, described ILR also is used for, receive the notice of the current attachment removal of described terminal that described HLR sends after, described SOT state of termination is recorded as do not adhered to.
Embodiment one
The scheme that the identity position is separated is applied in traditional GPRS network, and when user and operator were signatory, then operator can be associated with in the files on each of customers for AID of user assignment, such as being associated for the sign (IMSI) of authentication with the terminal use.At this moment, GGSN-ASR can also act on behalf of for one of user assignment in operator, and this sign of acting on behalf of GGSN-ASR is also write files on each of customers.Here said GGSN-ASR sign can be the information such as the domain name of this GGSN-ASR or IP address.By this GGSN-ASR sign, the IP address of knowing this GGSN-ASR that can be direct or indirect.For example, when the sign of GGSN-ASR is its domain-name information, can be by dns server according to its IP address of domain Name acquisition.
In the prior art, generally also can be saved in terminal use's AID among the ILR, also need here the above-mentioned GGSN-ASR sign of acting on behalf of also is saved among the ILR, and related with AID.Operator can select to act on behalf of GGSN-ASR for terminal according to multiple strategy, for example selects at random, perhaps selects an optimum according to the quantity of the current agency's of all GGSN-ASR terminal, perhaps selects etc. according to the operation management territory.What deserves to be explained is that the GGSN-ASR that acts on behalf of of this terminal use's distribution can be revised as in follow-up random time in operator, as long as new acted on behalf of the GGSN-ASR identification renewal in above-mentioned files on each of customers, and gets final product among the ILR.
Fig. 4 is first embodiment of the invention, suppose the current GPRS network that has been attached to of MN, but its PDP Context of un-activation, and this GPRS network is GPRS network (the following not special explanation of having used identity locator separation network framework, all refer to such network), specifically may further comprise the steps:
The Correspondent Node CN of step 401: terminal MN sends the IP datagram literary composition to MN.The purpose IP address field of this IP message extends this as the AID of MN.
Step 402: when above-mentioned message arrived the ASR (being CN-ASR) of CN connection, CN-ASR at first searched the RID of MN in this locality.Search less than this RID in this locality this moment, and then CN-ASR sends message to ILR, carries the AID of MN, with the RID of inquiry MN.
Step 403-404: because MN is at this moment and has adhered to unactivated state, so as indicated above, ILR inquires about less than the current RID of MN.So ILR uses the above-mentioned IP address of acting on behalf of GGSN-ASR for this MN distribution as the RID of MN and returns to CN-ASR.As described above, ILR can be according to the AID of MN in this locality, perhaps inquire the sign of acting on behalf of GGSN-ASR from HLR, if this sign is not the IP address format, then translate into again the form of IP address, for example, this sign is the domain name (Domain Name) of GGSN-ASR, or FQND (Fully Qualified Domain Name), then can pass through the IP address that nslookup system (Domain Name System, DNS) obtains this GGSN-ASR.
Step 405: according to the RID (being actually the address of acting on behalf of GGSN-ASR) of the MN that gets access to, CN-ASR at first sends to the IP message and acts on behalf of GGSN-ASR.
Step 406: when receiving from the IP datagram of CN-ASR literary composition, act on behalf of GGSN-ASR can get access to the purpose terminal from this IP message AID information.Act on behalf of GGSN-ASR and send message to HLR, with the current routing iinformation of inquiry MN, for example send " sending GPRS routing iinformation (Send Routing Information for GPRS) " message to HLR, the international mobile subscriber identity of carried terminal (International Mobile Subscriber Identification Number wherein, IMSI), the HLR query-related information, and with the sign of current SGSN (being referred to as to serve SGSN) for MN service (as, SGSN numbers (SGSN Number), the IP address of SGSN or the domain name of SGSN) send to and act on behalf of GGSN-ASR.
Act on behalf of GGSN-ASR can get access to according to AID MN in this locality IMSI, for example above-mentioned when acting on behalf of GGSN-ASR for user assignment, operator can be configured in this with the corresponding relation of user's IMSI and AID by network management system and act on behalf of on the GGSN-ASR; Act on behalf of GGSN-ASR and can also remove to inquire about the IMSI of MN to ILR according to AID, perhaps ILR is after execution of step 403, to the AID-IMSI corresponding relation of acting on behalf of GGSN-ASR and send this terminal.
Perhaps, act on behalf of GGSN-ASR and can in sending to the above-mentioned message of HLR, not carry the IMSI of MN, but directly carry the AID of MN.Because HLR preserves user's AID in user's CAMEL-Subscription-Information, therefore rely on the CAMEL-Subscription-Information that AID can find the user, wherein include IMSI.
Step 407: according to the sign of above-mentioned SGSN, find after the current SGSN for the MN service, acting on behalf of GGSN-ASR has the data that send to this MN to arrive to SGSN transmission message with notice;
Step 408: service SGSN sends the PDP context activation request to MN.
Step 409:MN initiates at MN, serves SGSN, acts on behalf of and carry out PDP context activation (PDP Context Activation) flow process between the GGSN-ASR, enters and adheres to state of activation of PDP.In this flow process, act on behalf of GGSN-ASR and the AID of this MN is sent to MN use as its IP address.
Step 410: by above-mentioned PDP context activation flow process, set up MN and acted on behalf of data transmission channel between the GGSN-ASR, acting on behalf of GGSN-ASR just can be with the downstream IP message received by sending to MN in this data transmission channel.What deserves to be explained is, in fact data transmission channel described here is comprised of three sections passages: the passage between the wireless air interface passage between MN and base station (perhaps radio network controller), base station (perhaps radio network controller) and the service SGSN, generally being GTP (GPRS Tunneling Protocol) tunnel, service SGSN and acting on behalf of passage between the GGSN-ASR, also is GTP tunnel usually; When system applies during direct tunnel (Direct Tunnel) technology, data transmission channel described here is comprised of two sections passages: above-mentioned wireless air interface passage, base station (perhaps radio network controller) and act on behalf of passage (generally also being GTP tunnel) between the GGSN-ASR, certainly, even only have two sections passages, the above-mentioned MN of foundation and act on behalf of between the GGSN-ASR data transmission channel also or need the participation of above-mentioned service SGSN.
Method by present embodiment, in traditional GPRS network of application identity position isolation technics, when terminal is in when adhering to not the PDP state of activation, can support the IP message that opposite end CN is sent to terminal MN to be sent to MN, solved the problem described in the background technology.
What deserves to be explained is that the above-mentioned GGSN-ASR of agency may not be the currently most preferred GGSN-ASR of MN.When CN sent data to MN, MN can be positioned at any position of network.But because MN is in and adheres to not PDP state of activation, thus among the ILR not about the definite positional information (that is, not having the RID of MN) of MN, then give tacit consent to MN and be currently located at it and act on behalf of under the GGSN-ASR.But in fact to act on behalf of GGSN-ASR very remote for the MN potential range.Shown in Fig. 4 a, the service SGSN that MN is current and act on behalf of GGSN-ASR and preferred GGSN-ASR between interface is arranged (such as, gn interface, be represented by dotted lines among the figure), can find out intuitively that it is unexcellent to CN transmitting-receiving IP message that MN acts on behalf of GGSN-ASR by it, exists route circuitous.Figure 5 shows that the subsequent treatment of present embodiment method, the GGSN-ASR of current (use) of adhering to of migration MN is from acting on behalf of GGSN-ASR to preferred GGSN-ASR.What deserves to be explained is that the current GGSN-ASR that adheres to of MN can be known as again the service GGSN-ASR (Serving GGSN-ASR) of MN.With reference to figure 5, specifically comprise following steps:
Step 501: at MN and act on behalf of and establish data transmission channel between the GGSN-ASR, and downlink data sent to any time after the MN, act on behalf of GGSN-ASR and can select the GGSN-ASR that is more preferably for MN, be referred to as preferred GGSN-ASR.Act on behalf of GGSN-ASR and can judge according to the SGSN of configuration information and the current connection of MN the GGSN-ASR conduct preferred GGSN-ASR nearest apart from this SGSN; Perhaps select one as the less preferred GGSN-ASR of conduct of preload; Perhaps consider various factors and judge.In a word, acting on behalf of in this step GGSN-ASR is that MN has selected a preferred GGSN-ASR, and this preferred GGSN-ASR acts on behalf of GGSN-ASR self.
Act on behalf of GGSN-ASR and send message to above-mentioned preferred GGSN-ASR, to push the contextual information of MN, comprise the PDP Context information of MN, the traffic flow template (TFT) of terminal, the configuration information relevant with MN etc.The PDP Context information of MN comprises: (step 409) SGSN is the chain of command of terminal distribution and IP address and or the GTP tunnel Endpoint ID (TEID) of user's face in above-mentioned PDP context activation flow process; The configuration information relevant with MN comprises MN and acts on behalf of GGSN-ASR by PCO (Protocol Configuration Options, the protocol configuration option) mutual configuration parameter, for example the configuration parameter of LCP agreement (as, MRU), the terminal use need to offer user name password of aaa server etc.
Step 502: receiving after the above-mentioned message that preferred GGSN-ASR is that MN creates context in this locality, be included as terminal and create PDP Context, is that chain of command, user's face IP address and the TEID that MN distributes is kept in the PDP Context of establishment with above-mentioned SGSN; Above-mentioned configuration information of receiving for terminal configuration etc.
Preferred GGSN-ASR also will distribute for MN IP address and the TEID of another group chain of command, user's face; For MN distributes a new RID who points to self.
Step 503: preferred GGSN-ASR returns response message to acting on behalf of GGSN-ASR, is the chain of command that distributes of MN, IP address and the TEID of user's face with above-mentioned preferred GGSN-ASR, and above-mentioned RID sends to and acts on behalf of GGSN-ASR.
Step 504: acting on behalf of GGSN-ASR to the service SGSN transmission message of the current connection of MN, is the PDP Context information that this MN preserves in order to upgrade SGSN.This message is carried the chain of command that above-mentioned preferred GGSN-ASR is the MN distribution, IP address and the TEID of user's face.
Step 505: above-mentioned SGSN upgrades the contextual information of local this MN that preserves, and the chain of command of the current GGSN-ASR that uses of MN of record wherein and user's face IP address are updated to chain of command and the user's face IP address that the above-mentioned preferred GGSN-ASR that receives distributes as MN in this message; The chain of command of the current GGSN-ASR that uses of MN of record wherein and user's face TEID are updated to chain of command and the user's face TEID that the above-mentioned preferred GGSN-ASR that receives distributes as MN in this message.Preferably, this SGSN returns response message to acting on behalf of GGSN-ASR.
Step 506: be any time (step 502) MN has distributed new RID after at preferred GGSN-ASR, preferred GGSN-ASR can send message to ILR and shine upon corresponding relation with the AID that upgrades this terminal of preserving among the ILR to RID.The definite positional information of MN has just been arranged among the ILR this moment.Certainly, because this RID is informed to and acts on behalf of on the GGSN-ASR, therefore also can be updated to ILR by acting on behalf of the new RID of GGSN-ASR with terminal in above-mentioned steps.
Step 507: receive after the response message of SGSN, when act on behalf of GGSN-ASR receive from CN (CN-ASR) mail to the downstream IP data message of MN the time, act on behalf of GGSN-ASR according to the RID that receives in the step 503, with the extremely preferred GGSN-ASR of this IP message repeating.Because preferred GGSN-ASR has grasped IP address and the GTPTEID (step 501) of service SGSN for user's face of this MN distribution, so preferred GGSN-ASR can further issue this SGSN with above-mentioned downstream IP message, sends to MN by SGSN again.
Step 508: act on behalf of GGSN-ASR transmitting the above-mentioned IP message in the preferred GGSN-ASR, send a notification message to CN-ASR, with the new RID of MN (that is, above-mentioned preferred GGSN-ASR distribute RID) notice to CN-ASR.
Step 509: after receiving above-mentioned notification message, CN-ASR upgrades the AID of the local MN that preserves to the mapping relations of RID, and follow-up downstream IP message all will directly be mail to preferred GGSN-ASR.
What deserves to be explained is, upgraded as SGSN (step 505) after the PDP Context information of MN of local preservation, the preferred GGSN-ASR of foundation is user's face IP address and the GTP TEID that MN distributes, the up IP datagram literary composition that SGSN can send to MN MN directly is sent to preferred GGSN-ASR, is sent by this preferred GGSN-ASR again.
As seen, find when oneself not being optimum service GGSN-ASR when acting on behalf of GGSN-ASR, can be MN migration service GGSN-ASR by said method, make preferred GGSN-ASR become the service GGSN-ASR of MN, so that preserve the RID of MN among the ILR, be the Route Distinguisher that points to preferred GGSN-ASR simultaneously.When having other CN to send the IP message to this MN, the ASR that this CN connects just can get access to the RID that points to preferred GGSN-ASR from ILR, thereby downlink data message directly is sent to preferred GGSN-ASR.
A kind of distortion as migration service GGSN-ASR method shown in Figure 5, after preferred GGSN-ASR receives the described message of step 501, can initiatively send the message of the PDP Context information of this MN that is used for renewal SGSN preservation to SGSN, wherein carrying described this preferred GGSN-ASR of step 502 is chain of command, user's face IP address and the TEID that MN distributes; The PDP Context that SGSN upgrades this MN that preserves returns response message to preferred GGSN-ASR afterwards; Preferred GGSN-ASR returns and replys to acting on behalf of GGSN-ASR again, the RID of its distribution is sent to act on behalf of GGSN-ASR simultaneously.
Above-mentioned is to act on behalf of GGSN-ASR when judgement oneself is not the service GGSN-ASR of optimum, the method for the service GGSN-ASR of the migration MN of triggering.Another kind method is, any time after the PDP Context that has activated MN, SGSN can judge that the GGSN-ASR that acts on behalf of that current MN adheres to is not optimum service GGSN-ASR, its basis for estimation such as the above-mentioned basis for estimation of acting on behalf of GGSN-ASR, then SGSN can initiatively initiate to change the flow process of the service GGSN-ASR of MN, comprising:
The service SGSN of step 501a:MN selects a preferred GGSN-ASR, and sends a request message to it.Carry in this message chain of command that above-mentioned SGSN is terminal distribution, user's face the IP address and or GTP tunnel Endpoint ID (TEID), and carried terminal be used for access authentication sign (as, IMSI) and act on behalf of GGSN-ASR sign (as, the IP address), can also carry preferably that to act on behalf of GGSN-ASR be the chain of command GTP TEID that MN distributes.
Step 502a: preferred GGSN-ASR sends message to acting on behalf of GGSN-ASR, and with the contextual information of request MN, carried terminal is used for the sign of access authentication.This moment, preferred GGSN-ASR can also distribute new RID for MN, and RID also is carried to send in this message acted on behalf of GGSN-ASR.
Step 503a: act on behalf of GGSN-ASR and return response message to preferred GGSN-ASR, carry the traffic flow template (TFT) such as the described terminal of step 501, the information such as configuration information relevant with MN.
Step 504a: described with step 502, preferred GGSN-ASR is that MN creates contextual information, will be that the chain of command of MN distribution, IP address and the GTP TEID of user's face are kept in the PDP Context of MN at the SGSN that step 501a receives; The above-mentioned configuration information of receiving for terminal configuration; For MN distributes another IP address of organizing chain of command, user's face and TEID etc.Preferred GGSN-ASR returns response message to above-mentioned service SGSN, carries its chain of command that distributes for MN, IP address and the TEID of user's face.
Step 505a: after receiving response message, as described in step 505, service SGSN upgrades the PDP Context of MN, and preferably returns an acknowledge message to preferred GGSN-ASR again.
Simultaneously, be any time MN has distributed new RID after at preferred GGSN-ASR, can send message to ILR, new RID is sent to ILR, the mapping relations of the AID to RID of the MN that preserves among the renewal ILR.
Use the described method of step 501a-505a here, can be implemented as equally MN change service GGSN-ASR, change to preferred GGSN-ASR from acting on behalf of GGSN-ASR.
Embodiment two
Figure 6 shows that second embodiment of the invention, same is the GGSN-ASR that acts on behalf of of user assignment based on above-mentioned operator, and concrete steps are as follows:
Step 601: with step 401.
Step 602: to 404, the ILR inquiry RID less than MN, then return the address of acting on behalf of GGSN-ASR and return to CN-ASR as the RID of MN with step 402.
Step 603: with step 405.
Step 604: with step 406.
Step 605: the sign of the SGSN that returns according to HLR (domain name of SGSN numbering, SGSN or SGSN IP address etc.), such as the described method of step 501, acting on behalf of GGSN-ASR can be that MN selects preferred GGSN-ASR according to configuration information and the current service SGSN of MN.
Step 606: act on behalf of GGSN-ASR and send data to above-mentioned service SGSN and reach notice request (PDU Notification Request) message, the data that mail to MN to notify this SGSN to have arrive.Carry MN in the above-mentioned message and be used for the sign of authentication, the information such as AID of MN, this message is also carried the sign of above-mentioned preferred GGSN-ASR for the MN selection, such as the IP address of the numbering (GGSN Number) of this GGSN-ASR, this GGSN-ASR or domain name etc.
Step 607: service SGSN is kept at this locality with the sign of preferred GGSN-ASR, and replys (PDU Notification Response) message to acting on behalf of GGSN-ASR return data arrival notice.
Step 608-609: with step 408-409.Difference is to carry out in the process that PDP activates at MN here, because SGSN has got access to the sign of preferred GGSN-ASR in above-mentioned steps, therefore in the process that PDP activates, SGSN is chosen as preferred GGSN-ASR the service GGSN-ASR of MN.Preferred GGSN-ASR also needs and will be MN distribution RID, and this RID is updated to ILR.
Step 610: the PDP of above-mentioned MN activate finish after, SGSN returns acknowledge message to acting on behalf of GGSN-ASR, its MN is current to have finished activation to notify.In general, the time delay that causes for MN execution Reverse Activity is can not be uncared-for with respect to CN to the speed that MN sends the IP message, so when initially receiving downlink data message (step 603), act on behalf of the message that GGSN-ASR needs buffer memory to receive.When receiving the affirmation message of SGSN, act on behalf of GGSN-ASR the downlink data of buffer memory is transmitted to preferred GGSN-ASR (certainly, also comprising the follow-up downlink data of receiving is transmitted to GGSN-ASR), send to MN by the latter.Simultaneously, act on behalf of GGSN-ASR and also preferably send message to CN-ASR, to notify its message repeating that CN is sent to MN to preferred GGSN-ASR.What deserves to be explained is, also execution in step 607 not, then in this step, above-mentioned acknowledge message is the data arrival notice described in the step 607 and replys (PDU Notification Response) message.
The present embodiment method, can solve equally terminal and be in the problem that prior art exists when adhering to PDP state of activation not, and can guarantee that the service GGSN-ASR of MN when PDP activates is exactly most preferred GGSN-ASR, (embodiment one, Fig. 5) and need not migration service service GGSN-ASR.
A kind of distortion as present embodiment, in step 607, SGSN can be before arriving response message to the return data of acting on behalf of GGSN-ASR, for MN distributes a GTP TEID, be used for the downlink data that buffer memory mails to MN, and this GTP TEID is carried at above-mentioned data arrives in the response message, send to and act on behalf of GGSN-ASR.When acting on behalf of GGSN-ASR and in step 607, receive this message, the message (and downlink data of receiving) that the CN of buffer memory is sent to MN is sent to SGSN according to above-mentioned GTP TEID, and by the SGSN buffer memory, act on behalf of the required spatial cache of GGSN-ASR (certainly with saving, the method also can be applicable among the embodiment shown in Figure 4, such as service SGSN in step 407 the GTP TEID that distributes is sent to and acts on behalf of GGSN-ASR).Adopt such method, follow-uply act on behalf of that GGSN-ASR just need not be with buffer memory, and the downlink data of receiving is transmitted to preferred GGSN-ASR again.
Embodiment three
Figure 7 shows that third embodiment of the invention, same is the GGSN-ASR that acts on behalf of of user assignment based on above-mentioned operator, and concrete steps are as follows:
Step 701-705: with step 601-605.
Step 706: after having determined preferred GGSN-ASR, act on behalf of GGSN-ASR and send a request message to preferred GGSN-ASR, carry the sign (such as IMSI) that is used for authentication etc. of AID, the MN of MN.Preferably, this message is also carried the sign of the above-mentioned SGSN that inquires.The main purpose of this message is to notify preferred GGSN-ASR to prepare to receive the downlink data that mails to MN.
Step 707-708: receive after the above-mentioned message that preferred GGSN-ASR is that MN distributes RID, and return response message corresponding and above-mentioned request to acting on behalf of GGSN-ASR, and preferably carry the RID that distributes into MN.Receive after the response message, act on behalf of that GGSN-ASR will receive, the downlink data that the CN of buffer memory sends to MN before comprising is forwarded to preferred GGSN-ASR, and by preferred GGSN-ASR buffer memory.Act on behalf of GGSN-ASR and also send message to CN-ASR, the RID (pointing to preferred GGSN-ASR) of above-mentioned MN is sent to above-mentioned CN-ASR, follow-up CN-ASR is sent to preferred GGSN-ASR with downlink data according to this RID.
Step 709: preferred GGSN-ASR is updated to ILR to the RID that ILR upgrades MN with its RID for the MN distribution.What deserves to be explained is, this step can with the concurrent execution of step 708.
Step 710: the sign of the SGSN that preferred GGSN-ASR foundation is received in step 706 sends data to this SGSN and reaches notification message with the flow process of the PDP Context of the MN that triggers the activation, concrete steps such as step 407-409 change the GGSN-ASR that acts on behalf of among the step 407-409 into preferred GGSN-ASR only here.What deserves to be explained is, in step 706, the sign of SGSN is not sent to preferred GGSN-ASR if act on behalf of GGSN-ASR, then in this step, preferred GGSN-ASR need to arrive the current service SGSN of HLR inquiry MN.What deserves to be explained is that also this step can just can be carried out, and perhaps just begins to carry out when receiving the downlink data that mails to this MN after preferred GGSN-ASR receives the described request message of step 706.
The present embodiment method can solve too terminal and be in the problem that prior art exists when adhering to PDP state of activation not, and can guarantee that the service GGSN-ASR of MN when PDP activates is exactly most preferred GGSN-ASR.
Embodiment four
The method of aforementioned several embodiment is actually when allowing ILR search RID corresponding to AID less than MN in this locality, supposes that all the time current being in of MN adhere to the PDP unactivated state.Thereby return the address of acting on behalf of GGSN-ASR to CN-ASR as the RID of MN.When the IP message that sends to MN as CN arrived and to act on behalf of GGSN-ASR, it need to arrive the positional information of inquiry MN among the HLR, namely inquires about the current service SGSN of MN.If the current not attachment state (not being linked into network) that is in of MN, then HLR can return error message, the IP message can't be sent to MN and act on behalf of GGSN-ASR.Act on behalf of GGSN-ASR and preferably return the unreachable information of route to CN this moment.When MN is in not attachment state, if there is first backward this MN of a plurality of CN to send the IP message, then for the each time inquiry of CN-ASR, ILR can return the address of once acting on behalf of GGSN-ASR, all the time need to carry out repeatedly inquiry HLR so that act on behalf of GGSN-ASR, and the inaccessible operation of notice this MN route of CN, can cause like this waste to network equipment resource.
Fig. 8 is the fourth embodiment of the present invention, can address the above problem, and specifically may further comprise the steps:
Step 801: as described in step 401, when CN sends data to MN, first the IP message is sent on its CN-ASR that connects.
Step 802: as described in step 402, CN-ASR is to the RID of ILR request MN.
Step 803:ILR at first judges the residing state of MN according to the AID of the MN that carries in the request of receiving, is in when adhering to unactivated state when judging that MN is current, and the above-mentioned IP address of acting on behalf of GGSN-ASR is returned to above-mentioned CN-ASR as the RID of MN; Perhaps, ILR also can judge the state of MN again when the RID that obtains less than MN, when judging that its state is when having adhered to un-activation, the IP address of acting on behalf of GGSN-ASR is returned to CN-ASR.
ILR judges that current whether being in of MN adhered to unactivated state, a kind of method is: ILR sends the state of message request MN to HLR, carry the IMSI of MN, HLR returns the state information of MN to ILR, and ILR knows that according to the above-mentioned information of returning current whether being in of terminal activated not attachment state.Preferably, whether current this MN is attached in the network as long as HLR informs ILR, judges further by ILR whether MN is in again and has adhered to unactivated state.In the prior art, when terminal was attached to GPRS network (Attach), HLR can record the information (such as the IP address of, SGSN numbering, SGSN etc.) of the service SGSN of this MN; After terminal withdrawed from GPRS network (Detach), HLR can not adhere to represent that this terminal is current for this terminal arranges a flag (MS PS Purged for GPRS).So whether HLR can inform that this MN of ILR is current and be attached in the network.ILR in conjunction with the RID information of local whether this MN, can judge current whether being in of this terminal and adhere to unactivated state again.Such as, HLR returns terminal and has been attached to network, and ILR do not find the RID of terminal in this locality, namely judge MN current be to have adhered to unactivated state.
Another kind method is, makes that ILR is that MN safeguards current state in this locality, comprises and do not adhere to, adhered to un-activation and activated three kinds of states that MN necessarily is in one of these three kinds of states at any time, and can only be in wherein a kind of state.At this moment, whether ILR can obtain in this locality MN and be in and adhered to unactivated state.Concrete ILR safeguards that the method for MN state describes in detail in follow-up embodiment.
Step 804: be when having adhered to un-activation at the state of judging MN, to the CN-ASR return messages, carry the IP address of acting on behalf of GGSN-ASR as the RID of MN.CN-ASR is according to this address, downlink data sent to act on behalf of GGSN-ASR.
Step 805: receive after the downlink data that any one that act on behalf of that GGSN-ASR uses above-mentioned several embodiment schemes activates the PDP Context of MN, and to make the service GGSN-ASR of MN be above-mentioned preferred GGSN-ASR.For example, act on behalf of GGSN-ASR execution in step 406-410 and 501-509, perhaps carry out 604-610, perhaps 704-710.
By the method for present embodiment, terminal that and if only if is in when adhering to unactivated state, and ILR just can return to CN-ASR with the address of acting on behalf of GGSN-ASR, to have avoided the problem of above-mentioned proposition.
Embodiment five
More than several embodiment all depend on the above-mentioned GGSN-ASR that acts on behalf of.Fig. 9 is the fifth embodiment of the present invention, does not rely on the above-mentioned GGSN-ASR of agency, and operator need not to act on behalf of GGSN-ASR for one of user assignment when namely the user was signatory, was another kind of implementation method, specifically may further comprise the steps:
Step 901-902: with step 401-402.
Step 903:ILR obtains the sign of the service SGSN (being the SGSN of current connection) of MN, and described sign comprises SGSN numbering, the IP address of SGSN, the domain name of SGSN etc.As described in step 803, ILR can inquire about HLR, and when terminal was attached to network, HLR had the information of the SGSN of this MN.So in this step, ILR can send request to HLR, returns the service SGSN sign of MN with request HLR.Preferably, during less than the RID of MN, send above-mentioned message to HLR at local search as ILR.
Step 904: after getting access to the service SGSN sign of MN, ILR is that MN selects a GGSN-ASR.Owing to be the GGSN-ASR that selects, then must be more excellent GGSN-ASR, so still be referred to as preferred GGSN-ASR.To select the method for preferred GGSN-ASR be consistent in principle with acting on behalf of GGSN-ASR described in the step 501 in concrete system of selection, do not repeat them here.
What deserves to be explained is that ILR obtains the RID less than MN, but can from HLR, get access to its service SGSN sign, illustrated that in fact current being in of MN adhere to without state of activation.If obtain the sign less than service SGSN, then ILR returns error message to CN-ASR, and is preferably further unreachable by the current route of CN-ASR notice CN again.
Step 905:ILR sends message to above-mentioned preferred GGSN-ASR, has the downlink data that mails to MN to arrive with notice.This message is carried the AID of MN, the sign (IMSI) that is used for authentication of MN and the sign of preferably also carrying above-mentioned SGSN.Preferred GGSN is kept at this locality with relevant information, and is ready to downlink data receiving.
Preferred GGSN-ASR also needs for MN distributes the RID that points to self, and this RID is carried in the response message to above-mentioned message sends to ILR, and ILR is recorded in it in corresponding relation of AID to RID of this MN.
Step 906-907:ILR returns the RID of MN to CN-ASR, and CN-ASR is sent to above-mentioned preferred GGSN-ASR according to this RID with downlink data.What deserves to be explained is that ILR also can return to CN-ASR (in this case, preferred GGSN-ASR can not distribute above-mentioned RID for MN yet) as the RID of MN with the IP address of above-mentioned preferred GGSN-ASR.
Step 908: receive above-mentioned downlink data, after perhaps receiving the message described in the step 905, the above-mentioned SGSN sign that preferred GGSN-ASR foundation is received in step 905 (as, the IP address of SGSN etc.), the downlink data of notifying this SGSN (that is, the service SGSN of MN) to have to mail to MN arrives.Certainly, if ILR does not send to this preferred GGSN-ASR with the sign of above-mentioned SGSN in step 905, then it can arrive HLR according to the sign of AID or the IMSI inquiry SGSN of terminal.
Step 909-911: above-mentioned SGSN sends the PDP context activation request to MN and carries out the PDP context activation flow process to trigger MN.By this flow process, above-mentioned preferred GGSN-ASR becomes the service GGSN-ASR of MN.This moment, preferred GGSN-ASR gave MN with the downlink data of receiving.
In this implementing procedure, by selecting the method for preferred GGSN-ASR by ILR according to the service SGSN of MN, having avoided operator need to be the signatory Configuration Agent GGSN-ASR of each MN.But what deserves to be explained is that the described method of present embodiment also goes for based on the method for acting on behalf of GGSN-ASR, particularly when ILR does not realize selecting GGSN-ASR.So as described in the step 903, ILR gets access to after the sign of service SGSN of MN, ILR can at first send a notification message to acting on behalf of GGSN-ASR, the sign of this SGSN sent to act on behalf of GGSN-ASR, and then the IP address of GGSN-ASR returned to CN-ASR, and then execution in step 805 described operations.The benefit of doing like this is the access times that can reduce HLR.Also what deserves to be explained is, as described in step 803, in the present embodiment, before execution in step 903, also can judge first the state of terminal, when state is that execution in step 903 again when having adhered to un-activation.
What deserves to be explained is that also as described in step 903, ILR obtains the service SGSN sign of terminal from HLR.ILR can obtain in this locality the sign of the service SGSN of this terminal, can adopt such as embodiment six described methods hereinafter (for example, in step 1008, HLR is sent to ILR with the sign of this SGSN, is preserved by ILR)
Embodiment six
As indicated above, ILR can be that MN safeguards current state in this locality, comprises and does not adhere to, adhered to un-activation and activated three kinds of states, six methods that provide ILR to safeguard the MN state of embodiment.Suppose when initial (as, user and operator are signatory when opening an account), the AID that records MN among the ILR and MN are used for the corresponding relation between the sign (IMSI) of access authentication, and to record SOT state of termination be not adhere to.
Figure 10 shows that ILR safeguards one of the scene of the method for MN state, be used for the scene that MN initially is attached to network, specifically may further comprise the steps:
Step 1001:MN start also is attached to GPRS network, sends Attach Request message to SGSN.
Step 1002-1003:SGSN obtains the sign of MN, and carries out the authentication to MN.
Step 1004:SGSN sends message to HLR, be used for to upgrade the positional information of MN, wherein carry SGSN sign (as, SGSN numbering, the IP address of SGSN, the domain name of SGSN etc.).The identification information of HLR record SGSN, this SGSN namely is the service SGSN of MN.
Step 1005:HLR inserts the user data of MN to SGSN.
Step 1006:HLR returns response message to message in the step 1004 to SGSN.
Step 1007:SGSN returns to MN and adheres to acceptance.
Step 1008:HLR sends message to ILR, carries the sign (IMSI) that this MN is used for authentication, has been attached in the GPRS network with this MN of notice ILR.Preferably, ILR carries an indication and illustrates that MN adheres in above-mentioned message; Preferably, ILR is in the sign of also carrying above-mentioned SGSN in above-mentioned message; Preferably, ILR only carries the sign of SGSN in above-mentioned message.In fact receive above-mentioned message as ILR, and find wherein to carry the SGSN sign, illustrate that then terminal adheres to.At this moment, ILR with the status modifier of the MN of local record for adhering to un-activation.Preferably, when ILR receives above-mentioned message, also to check the RID of local this MN that preserves, if can not find then status modifier with MN for adhering to un-activation.What deserves to be explained is that this step can occur in step 1004 and carry out at once after being finished.
By above-mentioned method, the original state of ILR change MN to adhered to unactivated state (as, never adhere to change to and adhere to un-activation).When the PDP context activation of MN, the service GGSN-ASR of MN can distribute RID for MN, simultaneously RID is updated to ILR.At this moment, ILR changes the state of MN again, changes to and activates from adhering to un-activation.Preferably, when above-mentioned service GGSN-ASR sends to ILR with its RID that distributes for MN, the sign of the service SGSN of MN also together can also be sent to ILR, and be preserved by ILR.
What deserves to be explained is, even if the state of ILR current record terminal is un-activation, but when its receive GGSN-ASR be MN distribute RID the time, also need state recording with MN for activating.
Figure 11 shows that ILR safeguard the MN state method scene two, be used for the PDP context deactivation scene that MN initiates, specifically may further comprise the steps:
Step 1101: when MN needed the PDP Context of deexcitation oneself, MN sent PDP deexcitation request to its service SGSN.
Step 1102-1103: service SGSN sends deletion PDP request to the service GGSN-ASR of MN, and the latter should service SGSN with deletion PDP message response.
Step 1104: service SGSN sends deexcitation to MN and accepts message, and this moment, the PDP Context of MN was deleted, and namely terminal has discharged the IP address (AID) of oneself.
Step 1105: service GGSN-ASR sends deletion RID request to ILR, carries the AID of MN, and preferably carries the RID that it distributes for MN.Preferably, this message is also carried indication, its PDP Context that is used for having informed the current deexcitation of this MN of ILR.Preferably, this message is carried the sign (as the aforementioned SGSN numbering, IP address, domain name etc.) of the current service SGSN of MN.Preferably, this message is only carried the sign of above-mentioned service SGSN, and does not carry above-mentioned indication.
After the RID of step 1106:ILR deletion MN, with the state recording of MN for adhering to un-activation, the sign of the service SGSN of preferred preservation MN simultaneously.What deserves to be explained is that when ILR received above-mentioned message in order to the RID that deletes MN, if wherein only carry the sign of service SGSN, then ILR can judge current its PDP Context that has been deexcitation only of terminal, but also is attached in the network.What deserves to be explained is that also above-mentioned indication can not carried yet, at this moment, ILR the deletion MN RID in, directly with status modifier for adhering to un-activation.
Step 1107:ILR returns response message to above-mentioned GGSN-ASR.
By above-mentioned method, the state that ILR changes original MN for adhere to un-activation (as, adhere to un-activation from activating to change to).What deserves to be explained is, step 1105-1107 can with the concurrent execution of step 1103.
As indicated above, ILR is in the maintenance terminal state, and the sign of the current service SGSN of preferred record MN also particularly is in when adhering to unactivated state as MN.In fact, no matter current being in of MN adhered to unactivated state and still is in state of activation, MN can be because of the mobile service SGSN that changes oneself, when moving to another Route Area, can migrate to newly (service) SGSN from the Route Area (Routing Area) of network from old (service) SGSN such as MN.At this moment, need to upgrade the service SGSN sign of this MN that preserves among the ILR, as shown in figure 12, specifically may further comprise the steps:
Step 1201:MN sends the Routing Area Update request to new service SGSN.
Step 1202-1203: new SGSN and old SGSN are mutual, obtain the contextual information of MN.
Step 1204:MN carries out authentication in the presence of new SGSN, HLR.
Step 1205: new SGSN sends location update message to HLR, wherein carries the sign of new SGSN.
Step 1206:HLR and old SGSN are mutual, the management of cancellation MN and this SGSN.
Step 1207:HLR is mutual with new SGSN, and user data is inserted into new SGSN.
Step 1208:HLR sends the position to new SGSN and upgrades affirmation.
Step 1209:HLR sends message to ILR, carries the sign of the current service SGSN of MN (being new SGSN).After ILR receives message, upgrade the sign of service SGSN of the MN of its preservation, preferably return to HLR simultaneously and reply.
Step 1210: other follow-up flow processs relevant with the Routing Area Update of MN.
What deserves to be explained is that step 1209 can just be carried out after step 1205 is finished.What deserves to be explained is that also the method is preferably carried out when its PDP Context of MN un-activation the time.
Figure 13 shows that ILR safeguard the MN state method scene three, when being used in MN and initiating attachment removal (Detach), upgrade the method for the state information of the MN that preserves among the ILR, specifically may further comprise the steps:
Step 1301: when MN wished attachment removal from network (Detach), SGSN sent detach request to service.
Step 1302: the GGSN-ASR that above-mentioned SGSN adheres to MN (namely serving GGSN-ASR) sends the request of deletion PDP Context.SGSN need to carry an indication in this message, be the terminal attachment removal in order to the reason that current deletion PDP Context is described.
Step 1303: service GGSN-ASR sends deletion PDP Context response message to SGSN.
Step 1304: above-mentioned SGSN sends attachment removal to MN and accepts message.
Step 1305: service GGSN-ASR sends deletion RID request to ILR, carries the AID of MN, and carries an indication, in order to indicate the attachment removal of this terminal of ILR.Need to prove, this step can with the concurrent execution of step 1303.
When step 1306:ILR receives above-mentioned message, except the RID of deletion terminal, also need according to above-mentioned indication the Status Change of terminal to be attachment state (no matter what original state is) not, and the service SGSN of the MN of deletion record sign.
Step 1307:ILR returns deletion RID response message to above-mentioned service GGSN-ASR.
What deserves to be explained is, in said method, need SGSN indicating terminal in notice GGSN-ASR deletion PDP Context current just in attachment removal, and then by the relevant information of GGSN-ASR notice ILR.In the scene of above-mentioned terminal attachment removal, there is another kind of method to notify ILR to revise the state of MN, namely SGSN does not inform that the current terminal of GGSN is just in attachment removal.According to existing GPRS network technology, after terminal is initiatively initiated attachment removal, SGSN can send the request (Purge MS) of removing end message to HLR at once or after waiting for a period of time, and the sign (IMSI) that is used for authentication of carrying MN, this moment, HLR was known the current attachment removal of MN, then can send message to ILR, carried terminal is used for the sign (IMSI) of authentication and/or the AID of terminal, with the current attachment removal of notice this MN of ILR.ILR receives that after this message, the state of terminal is set to not adhere to, and the sign of the service SGSN of this terminal of preferably deletion record.
Figure 14 shows that ILR safeguard the MN state method scene four, be network when initiating MN attachment removal (Detach), upgrade the method for the state information of the MN that preserves among the ILR, specifically may further comprise the steps:
Step 1401: in the triggering MN attachment removal scene that HLR initiates, HLR sends cancel location message to the service SGSN of MN.
Step 1402: service SGSN sends detach request to MN.
Step 1403: if the PDP Context of current MN activates, then serve SGSN and send request to the current GGSN-ASR that adheres to of MN, with the PDP Context of this MN of request deletion.
Step 1404: service GGSN-ASR sends message to ILR, the RID of this terminal of preserving among the deletion ILR.Preferably, deleted the RID of MN as ILR after, revise the state of MN for adhering to un-activation.
Step 1405:MN returns to adhere to service SGSN and accepts message as replying.
Step 1406: service SGSN returns cancel location acknowledgement message to HLR.
Step 1407: interaction message between service SGSN and the MN, to discharge eating dishes without rice or wine of MN.
Step 1408:HLR sends message to ILR, and with the attachment removal of notice ILR terminal, wherein the AID of carried terminal and/or terminal are used for the sign (IMSI) of authentication.ILR receives after the message, revises the current state of MN for not adhering to, and the sign of the service SGSN of the MN of preferably deletion preservation.Preferably, ILR also returns response message to HLR.What deserves to be explained is that this step just can trigger when HLR receives cancel location acknowledgement message (step 1406), perhaps when HLR determines to trigger the MN attachment removal, just can carry out, for example with the concurrent execution of step 1401.
As a kind of deformation method of this scene method, step 1408 can not carried out yet.So, when the service SGSN of MN receives the cancel location message (step 1401) that HLR sends, when sending the PDP Context of message deletion MN to GGSN-ASR, with the method (step 1 302) that Figure 13 describes, in the message that sends to GGSN-ASR, carry above-mentioned attachment removal indication.Then, when GGSN-ASR sent the RID of message deletion MN to ILR, the method (step 1305) of also describing with Fig. 13 was carried above-mentioned attachment removal indication in the message that sends to ILR in step 1404.Status modifier with MN after ILR receives this indication is un-activation.
Present embodiment provides the method for the state information of synchronous MN to ILR under various scenes so that ILR can know that the state of terminal is following thrin: do not adhere to (or be referred to as " attachment removal "), adhere to un-activation, activate.The above-mentioned method that has is for terminal adhered to event notice to ILR (such as Figure 10), the method that has be for the activation event notice of terminal to ILR, the method that has then be for the deexcitation event notice of terminal to ILR (such as Figure 11), the method that has then be for the attachment removal event notice of terminal to ILR (such as Figure 13).The whole bag of tricks organically makes up, and can make ILR can grasp the state of MN, and its rational combined method should not be restricted.Suppose that terminal initial is attachment state not, the SOT state of termination of original records is below described a kind of preferred combined method also for not adhering among the ILR:
The method that adopts Figure 10 to describe when terminal is attached in the network, is adhered to by HLR notice ILR terminal, and this moment, the state of ILR record terminal was to have adhered to un-activation; When terminal activated its PDP Context, GGSN-ASR distributed RID and is updated to ILR for it, then recorded the state of terminal for activating (adhered to and activated) when ILR gets access to the RID of terminal; Adopt the method for Figure 11, when the PDP Context of terminal deexcitation oneself, GGSN-ASR need to arrive the RID (not considering that the SGSN that carries in the step 1105 identifies) of ILR deletion terminal, and then the state of ILR record terminal in deletion RID is to have adhered to un-activation; Adopt method shown in Figure 14, to ILR notification terminal attachment removal, the state of ILR record terminal is not for adhering to when perhaps adopting above-mentioned HLR to receive the request (Purge MS) of removing end message.
Similarly, the above-mentioned method that also provides the multiple ILR of order to know the service SGSN sign that MN is current, the combination that also can carry out is also described a kind of preferred combined method here: adopt the method for Figure 12, make HLR that the information of the service SGSN of terminal is notified to ILR.Certainly, another kind of preferred version is the combination of adopting Figure 12 and Figure 11 method: only when terminal is adhered to deactivation status, HLR reports the service SGSN of MN according to the method for Figure 12 to ILR, and need not to report (when activating, ILR need not to know the service SGSN of MN) when terminal activates; Become when adhering to unactivated state from activating in terminal, adopt method shown in Figure 11 by the service SGSN of the current MN of GGSN-ASR notice ILR.
Embodiment seven
Figure 15 is seventh embodiment of the invention, and the present embodiment method does not rely on the above-mentioned GGSN-ASR that acts on behalf of yet, and specifically comprises following steps:
Step 1501-1502: with step 401-402.
Step 1503: after receiving the RID message of CN-ASR request MN, ILR searches the RID of MN according to AID.Suppose that current MN has been attached to network, but its PDP Context of un-activation, and then ILR inquiry this moment is less than the RID of MN.
Step 1504:ILR sends message to HLR, activates MN with request, and this message carried terminal is used for the sign (IMSI) of authentication.As described above, AID and the IMSI of ILR terminal in preserve this locality, then ILR can obtain according to AID the IMSI of terminal, preferably finds corresponding HLR according to IMSI again, and to the above-mentioned request message of transmission.
Record the sign of the current service SGSN of terminal among the step 1505:HLR, and send the request that activates MN to this SGSN, carry the sign (IMSI) that MN is used for authentication.
Step 1 506: with step 408.
Step 1507: be that the PDP Context of MN is activated under the participation of the GGSN-ASR that selects of MN at MN, above-mentioned SGSN and this SGSN, this GGSN-ASR becomes the service GGSN-ASR of MN.
Step 1508-1509: service GGSN-ASR is terminal distribution RID, and this RID is updated to ILR.
Step 1510:ILR returns the RID of MN to CN-ASR.
Step 1511: at this moment, the IP message (downlink data) that CN-ASR begins CN is sent to MN sends to MN by above-mentioned GGSN-ASR.
In the method for present embodiment, from the downlink data that CN-ASR receives step 1501, until receive the RID of the MN that step 1510 is returned, CN-ASR needs the above-mentioned downlink data of buffer memory.Because the execution of step 1501-1510 need to expend the regular hour, so the buffer memory capacity on the CN-ASR is had higher requirement.At this moment, CN-ASR can select not data cached, and sends data to ILR, and carries out buffer memory by ILR.
What deserves to be explained is that previous embodiment of the present invention provides the method for maintenance terminal state on ILR, then in the step 1504 of present embodiment, ILR can judge first whether the state of terminal has adhered to un-activation.If then execution in step 1504, if not then return wrong indication to CN-ASR, unreachable etc. such as route.
Also what deserves to be explained is, a kind of distortion as the present embodiment method, after receiving the described activation of step 1504 MN request message, HLR can be that MN selects a GGSN-ASR according to the service SGSN of the MN that preserves, then send message to this GGSN-ASR, carry MN and be used for the information (being similar to the message of step 905) such as sign (IMSI), AID, service SGSN sign of authentication, to notify this GGSN-ASR as this Terminal Service.When receiving this message, this GGSN-ASR is terminal distribution RID and is updated to ILR, and by ILR RID is back to CN-ASR, and then CN-ASR begins downlink data is mail to this GGSN-ASR.Preferably above-mentioned GGSN-ASR initiates to activate the PDP Context of MN when distributing RID.Use deformation method described here, can accelerate the RID that CN-ASR gets access to MN, thereby reduced the time of CN-ASR buffer memory downlink data, can greatly reduce the demand of the upper buffer memory capacity of CN-ASR like this.
What deserves to be explained is that also this deformation method also can use above-mentioned to be had in the scene of acting on behalf of GGSN-ASR.Be that above-mentioned HLR is that the GGSN-ASR that MN selects acts on behalf of GGSN-ASR exactly, and the sign that this acts on behalf of GGSN-ASR preferably with regard to the sign that is configured among the HLR with MN is used for authentication be associated (as, this act on behalf of GGSN-ASR be operator in advance for this terminal configuration and be kept among the HLR).Act on behalf of the not necessarily most preferred GGSN-ASR of MN of GGSN-ASR this moment, then can adopt as the method for embodiment one (Fig. 5) with and deformation method, embodiment two (Fig. 6) method with and deformation method, embodiment three (Fig. 7) method with and deformation method etc., being embodied as MN change service GGSN-ASR is preferred GGSN-ASR.
One of ordinary skill in the art will appreciate that all or part of step in the said method can come the instruction related hardware to finish by program, described program can be stored in the computer-readable recording medium, such as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can realize with one or more integrated circuits.Correspondingly, each the module/unit in above-described embodiment can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.