The IP address release method
Technical field
The present invention relates to the mobile communication technology field, particularly UE Detach of mobile communication system (user's attachment removal) or shutdown the time discharge the method for its all IP addresses.
Background technology
In 3GPP (third generation cooperative programme, in the evolution system down together), the user of mobile communication system will have the characteristic of IP always online (Always-on), and just behind user's start and Attach (adhering to) network, network will distribute an IP address to this user.Obviously, number of users is very big.After user Detach (attachment removal) or shutdown, all IP addresses of its use all should be released, if correctly do not discharged, then the IP address in the network may be very fast depleted, cause this network can not accept new user again and insert.
In traditional 3GPP system, after the user activates a PDP Context (block data protocol context, down together), the user will obtain an IP address and (note, when the user used Secondary PDPContext, the IP address of its IP address and former PDP Context was consistent).Deactivated or when being deleted, PDP user's IP address that Context distributes to just is released thus as user activated PDP Context.In traditional 3GPP, user's IP address allocator is GGSN (gateway GPRS (GPRS) support node, down together), the context of deletion PDP just means and has discharged user's IP address, deleted or when discharging, then all IP addresses of user are considered as being released as all PDP Context of user.Therefore, in traditional 3GPP system, the dispose procedure of user's IP address is the process of a recessiveness, and the order of the explicit release user's IP address of neither one in traditional 3GPP system describes in detail below.
User's's (representing with mobile station MS) Detach process has three kinds of possible situations in traditional 3GPP system, and these three kinds of situations are respectively: 1) Detach or the shutdown of MS initiation; 2) the Detach process of the functional entity of MS subscription data (attaching position register (HLR), down together) triggering; 3) the Detach process of the Mobility Management Entity at the current place of MS and/or user plane entity (SGSN of core net (Serving GPRS Support Node), down together) initiation.
In traditional 3GPP system, in the process of any above-mentioned Detach, all PDPContext of MS are all deleted, and all IP addresses of its use promptly are released.
Be three kinds of situations of the Detach of traditional 3GPP system below:
1.MS Detach or the shutdown process initiated
In traditional 3GPP system, when MS detach or shutdown, MS will send the SGSN of a DetachRequest message to core net, and SGSN and GGSN will deactivate or delete all PDP Context of this MS, and the IP address of all uses of this MS is released like this.Fig. 1 is the process schematic diagram of being initiated Detach or shutdown in the traditional 3GPP system by MS, as shown in Figure 1:
1. .MS sends Detach Request (Detach Type, P-TMSI, P-TMSISignature, Switch Off) message to the SGSN at place.Message parameter Detach Type wherein indicates the type of Detach, as GPRS Detach only, and IMSI (IMSI International Mobile Subscriber Identity, down together) Detachonly or combined GPRS and IMSI Detach.; Whether another parameter S witch Off indicates mobile phone and shuts down.P-TMSI is user's a provisional sign; P-TMSI Signature is used for the checking of MS identity;
2. .SGSN is with all PDP Context deletion or deexcitations of MS, and this moment, all IP addresses of user all were released;
3.. if IMSI is detach, then SGSN sends MSI Detach Indication (IMSI) message and gives VLR (Visited Location Registor, down together);
4.. make GPRS detach when MS wants to keep IMSI-attached, then SGSN sends GPRSDetach Indication (IMSI) message and gives VLR;
5. .SGSN is to the answer of message 1, if the MS indication is shutdown, then SGSN does not send this message, otherwise will send this message to MS;
6. .MS is connected with signaling between the SGSN and is released.
2.HLR the Detach process that triggers
In traditional 3GPP system, HSS (home subscriber server, down together) is HLR (attaching position register).After the subscription data of user among the HLR was deleted, HLR can notify the SGSN at MS place PDP Context deletion or deactivation that it is all, and employed all the IP addresses of user all will discharge like this.Fig. 2 is the process schematic diagram of being initiated Detach in the traditional 3GPP system by HLR, the message of whole process as shown in Figure 2:
1. .HLR will send MAP message Cancel Location (IMSI, Cancellation Type) message to the SGSN at MS place, and request SGSN is with this user's MM (mobile management) and all PDP Context deletions.The parameter I MSI of Cancel Location message is a user ID.Cancellation Type is Subscription Withdrawn;
2. .SGSN sends Detach Request (Detach Type) to MS.DetachType instruct MS in this message does not need to do new PS attach and PDP context activation;
3. .SGSN will delete all PDP Context of this user.All IP that this moment, the user distributed are released;
4.. if any Gs (interface between SGSN and the VLR, down together) interface, then SGSN will indicate this user Detach to MSC (mobile switching centre, down together)/VLR;
5.. the user is to the answer of message 2;
6. .SGSN has deleted to the MM of HLR response MS and PDP Context and has finished.It is that the parameter I MSI of this message indicates for which user;
7. .MS is connected with signaling between the SGSN and is released.
3.MS the Detach process initiated of SGSN
In traditional 3GPP system, the SGSN at MS place also can ask to discharge MS and make Detach.Process with top in this process is similar.Fig. 3 is the Detach process schematic diagram of being initiated by the SGSN at MS place in the traditional 3GPP system, as shown in Figure 3:
1. .SGSN sends Detach Request (Detach Type) to MS.DetachType instruct MS in this message does not need to do new PS attach and PDP context activation;
2. .SGSN will delete all PDP Context of this user.All IP that this moment, the user distributed are released;
3.. if any Gs interface, then SGSN will indicate this user Detach to MSC/VLR;
4.. the user is to the answer of message 1;
5. .UE is connected with signaling between the SGSN and is released.
For traditional 3GPP system, because of all PDP Context connections of MS all must be arrived on the GGSN, the IP address of the pairing MS of this PDP Context also is to be distributed or assisted by GGSN to distribute.And all transfer of data of MS all must be through GGSN.No matter how MS moves or Handover, its PDP Context is always on its original GGSN, therefore among three kinds of Detach above MS has any the time, GGSN can guarantee that the IP address of MS is all discharged, and will discharge employed GTP resource of this PDP and RAB resource simultaneously.Therefore, in traditional 3GPP system, the dispose procedure of the IP address of UE is the process of a recessiveness: in deletion PDP Context, delete the employed Internet resources of this PDPContext and relevant wireless interface resource etc., also will discharge the employed IP of the pairing user of this PDP Context address.The order of the explicit release user's IP address of neither one in traditional 3GPP system.
In some mobile communication (as the 3G system of evolution), after IP address assignment person distributes an IP address to give the user, when the user uses this IP address professional, be to indicate its professional qos parameter to use this IP address according to the sign of IP head.When the activation that is similar to PDP Context when employing activates the service bearer of certain QoS, system will distribute corresponding Radio Resource and Internet resources (as tunnel (Tunnel, down with)) to the user, and user's IP address can not change.Same deleted or when deactivating, employed Radio Resource of user and Internet resources (as Tunnel) are released as this similar PDP Context, and its employed IP address is not released.In addition, support the route-optimization technique or local output (Local Breakout) technology of UE when this mobile communication system after, the Mobility Management Entity at the present place of user and/or user plane entity (as the MME/UPE in the evolution system) and user's IP address allocator (as Tracking Area of LA (lane place) or RA (route district) or evolution system) not in same position field.When the Mobility Management Entity at user place and/or user plane entity activating service and deactivation are professional with the user's IP address allocator between do not need to carry out message alternately.Therefore in this mobile communication system (in the 3G system as evolution), the process that is similar to PDP Context by deactivation or deletion can not discharge user's IP address.Therefore during the user Detach under superincumbent three kinds of situations, Mobility Management Entity and/or user plane entity can not only realize discharging user's IP address by deletion user's PDP Context, must realize discharging user's IP address by other mode.
Summary of the invention
Therefore, the purpose of this invention is to provide the UE Detach of new mobile communication system (as the 3GPP system of evolution) or the method that shutdown the time discharges its all IP addresses, only adopt the problem that process that deactivation or deletion be similar to PDP Context can not discharge user's IP address of passing through that is similar to traditional 3GPP system to solve.
For achieving the above object, mobile communication system IP address release method provided by the invention comprises the steps:
The a network is initiated attachment removal (Detach) request or the user initiates detach request:
B sends the request that discharges the IP address to each IP address assignment person;
Each IP address assignment person of c will distribute to user's IP address and discharge;
D discharges all-network resource and all professional Radio Resources;
E sends and accepts the attachment removal acknowledge message;
The f release signaling connects.
Mobility Management Entity and/or user plane entity by the user place are initiated the request of its IP address of release.
The situation that produces attachment removal comprises:
Ask attachment removal by the user;
Trigger the Mobility Management Entity and/or the user plane entity request attachment removal at user place by the functional entity of depositing user contracting data;
Mobility Management Entity and/or user plane entity by the user place are directly asked attachment removal.
When asking attachment removal by the user, described method comprises the following steps:
The user sends detach request message;
The Mobility Management Entity at user place and/or user plane entity send the release request of IP address to each IP address assignment person of user, and each IP address assignment person will distribute to user's IP address and discharge;
The Mobility Management Entity at user place and/or user plane entity discharge all Internet resources and all possible professional Radio Resources;
The Mobility Management Entity at user place and/or user plane entity send to the user and accept the attachment removal acknowledge message, if the user indicates shutdown in step 1, then do not send and accept the attachment removal acknowledge message;
The user is connected with the signaling of Mobility Management Entity and/or user plane entity and is released.
When Mobility Management Entity that is triggered the user place by the functional entity of depositing user contracting data and/or user plane entity request attachment removal, described method comprises the following steps:
Mobility Management Entity and/or the user plane entity of functional entity to the user place of depositing user contracting data sends position deletion message;
The Mobility Management Entity and/or the user plane entity at user place send detach request to the user;
The Mobility Management Entity at user place and/or user plane entity send the release request of IP address to each IP address assignment person of user, and each IP address assignment person will distribute to user's IP address and discharge;
The Mobility Management Entity at user place and/or user plane entity discharge all Internet resources and all possible professional Radio Resources;
The user accepts the attachment removal acknowledge message to the Mobility Management Entity and/or the user plane entity transmission at user place;
The Mobility Management Entity at user place and/or user plane entity send position deletion acknowledge message to the functional entity of depositing user contracting data;
The Mobility Management Entity at user and user place and/or the signaling between the user plane entity are connected and are released.
When directly asking attachment removal by the Mobility Management Entity at user place and/or user plane entity, described method comprises the following steps:
The Mobility Management Entity and/or the user plane entity at user place send detach request to the user;
The Mobility Management Entity at user place and/or user plane entity send the release request of IP address to each IP address assignment person of user, and each IP address assignment person will distribute to user's IP address and discharge;
The Mobility Management Entity at user place and/or user plane entity discharge all Internet resources and all possible professional Radio Resources;
The user accepts attachment removal message to the Mobility Management Entity and/or the user plane entity transmission at user place;
The Mobility Management Entity at user and user place and/or the signaling between the user plane entity are connected and are released.
Discharge user's IP address by the functional entity request IP address assignment person who deposits user contracting data.
The situation that produces attachment removal comprises:
Ask attachment removal by the user;
Trigger the Mobility Management Entity and/or the user plane entity request attachment removal at user place by the functional entity of depositing user contracting data;
Mobility Management Entity and/or user plane entity by the user place are directly asked attachment removal.
When asking attachment removal by the user, described method comprises the following steps:
The user sends detach request message to the Mobility Management Entity and/or the user plane entity at user place;
The Mobility Management Entity at user place and/or user plane entity send to the functional entity of depositing user contracting data and remove registration message;
The functional entity of user contracting data sends the release request of IP address to each IP address assignment person of user, and each IP address assignment person will distribute to user's IP address and discharge;
The Mobility Management Entity at user place and/or user plane entity discharge all Internet resources and all possible professional Radio Resources;
The functional entity of user contracting data sends the message of accepting described releasing registration to Mobility Management Entity and/or user plane entity;
The Mobility Management Entity at user place and/or user plane entity send to the user and accept attachment removal message, if the user indicates shutdown in step 1, then do not send out and accept attachment removal message;
The Mobility Management Entity at user and user place and/or the signaling between the user plane entity are connected and are released.
When Mobility Management Entity that is triggered the user place by the functional entity of depositing user contracting data and/or user plane entity request attachment removal, described method comprises the following steps:
Mobility Management Entity and/or the user plane entity of functional entity to the user place of depositing user contracting data sends position deletion message;
The Mobility Management Entity and/or the user plane entity at user place send detach request to the user;
The functional entity of user contracting data sends the release request of IP address to each IP address assignment person of user, and each IP address assignment person will distribute to user's IP address and discharge;
The Mobility Management Entity at user place and/or user plane entity discharge all Internet resources and all possible professional Radio Resources;
The user accepts attachment removal message to the Mobility Management Entity and/or the user plane entity transmission at user place;
The Mobility Management Entity at user place and/or user plane entity send position deletion acknowledge message to the functional entity of depositing user contracting data;
The Mobility Management Entity at user and user place and/or the signaling between the user plane entity are connected and are released.
When directly asking attachment removal by the Mobility Management Entity at user place and/or user plane entity, described method comprises the following steps:
The Mobility Management Entity and/or the user plane entity at user place send detach request to the user;
The Mobility Management Entity at user place and/or user plane entity send to the functional entity of depositing user contracting data and remove registration message;
The functional entity of user contracting data sends the release request of IP address to each IP address assignment person of user, and each IP address assignment person will distribute to user's IP address and discharge;
The Mobility Management Entity at user place and/or user plane entity discharge all Internet resources and all possible professional Radio Resources;
The user accepts attachment removal message to the Mobility Management Entity and/or the user plane entity transmission at user place;
The functional entity of user contracting data sends the message of accepting described releasing registration to Mobility Management Entity and/or user plane entity;
The Mobility Management Entity at user and user place and/or the signaling between the user plane entity are connected and are released.
When the user has a plurality of IP address, by
Deposit the functional entity of user contracting data, perhaps
Mobility Management Entity and/or user plane entity are parallel or send the request that discharges the IP address to IP address assignment person serially.
When described request is not responded, then retransmit this request of giving in the regular hour.
The type of described IP address comprises IP address, the user's of IP address, the IPv6 of IPv4 the IP address of IP address, IP always online (IP Always-On) service of default IP access service (Default IP Access Service), with machine Care-of Address (Co-located Care-of-Address), home address (HomeAddress), packet data protocol (PDP) IP address.
Compare with traditional 3GPP system, the present invention has the following advantages:
This discovery has proposed to discharge two class methods and the process of user's IP address under three kinds of Detach situations.Wherein this two class method of discharging user's IP address is respectively: the 1) request of the release user's IP address of being initiated by the Mobility Management Entity and/or the user plane entity at the current place of user; 2) request of the release user's IP address of initiating by the functional entity (HSS) of the subscription data of depositing the user.Three kinds of Detach situations wherein are respectively: 1) when Client-initiated Detach or shutdown; 2) the Detach process of HSS triggering; 3) the Detach process of the Mobility Management Entity at the current place of user and/or user plane entity initiation.The method of all IP addresses of release user that the present invention proposes is all IP addresses that discharge the user in explicit mode, and have the air interface signaling flow identical with traditional 3GPP system, be a kind of towards new mobile communication system, the method for all IP addresses of release user of 3GPP evolution system particularly.
Description of drawings
Fig. 1 is the process schematic diagram of being initiated Detach or shutdown in the traditional 3GPP system by MS;
Fig. 2 is the process schematic diagram of being initiated Detach in the traditional 3GPP system by HLR;
Fig. 3 is the Detach process schematic diagram of being initiated by the SGSN at MS place in the traditional 3GPP system;
The request that Fig. 4 a to Fig. 4 c is initiated by the Mobility Management Entity at the current place of UE and/or user plane entity MME/UPE for explanation the present invention discharges the flow chart of the IP address of UE, wherein:
Fig. 4 a is for illustrating that the request that Mobility Management Entity and/or user plane entity are initiated discharges the flow chart of UE IP address when UE asks Detach or shutdown;
Fig. 4 b is that the request that Mobility Management Entity and/or user plane entity are initiated discharged the flow chart of UE IP address when the Detach that triggers as HSS was described;
Fig. 4 c for explanation when the Mobility Management Entity at UE place and/or the user plane entity request Detach, the flow chart of the request release UE IP address that Mobility Management Entity and/or user plane entity are initiated;
The request that Fig. 5 a to Fig. 5 c is initiated by the functional entity HSS that deposits the UE subscription data for explanation the present invention discharges the flow chart of UE IP address; Wherein:
Fig. 5 a is for illustrating that the request that HSS initiates discharges the flow chart of UE IP address when UE asks Detach or shutdown;
Fig. 5 b is that the request that HSS initiates discharged the flow chart of UE IP address when the Detach that triggers as HSS was described;
Fig. 5 c for explanation when the Mobility Management Entity at UE place and/or the user plane entity request Detach, the flow chart of the request release UE IP address that HSS initiates;
Fig. 6 is the flow chart of method of the IP address of release of the present invention UE.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is elaborated.
This discovery has proposed to discharge two class methods and the process of user's's (representing with UE) IP address here under three kinds of attachment removals (Detach) situation.Wherein this two class method of discharging the IP address of UE is respectively: 1) the IP address of the release UE that is initiated by the Mobility Management Entity and/or the user plane entity (MME/UPE) at the current place of UE; 2) the IP address of the release UE that initiates by the functional entity HSS of the subscription data of depositing UE.Three kinds of Detach situations wherein are respectively: 1) Detach or the shutdown of being initiated by UE; 2) the Detach process of HSS triggering; 3) the Detach process of the Mobility Management Entity at the current place of UE and/or user plane entity initiation.
MME/UPE in the accompanying drawing of the present invention is meant the Mobility Management Entity and/or the user plane entity at the current place of UE, and it not only represents MME/UPE in the evolution 3G system.Anchor point (Anchor) in the same accompanying drawing of the present invention is also only represented a network entity in the mobile communication system, have more than the Anchor that only refers in particular in the evolution 3G system, the implication of Detach is meant attachment removal between user and the network, and shutdown is a kind of special circumstances wherein.
The IP address of UE may be IPv4, also may be IPv6, also may IPv6 also be arranged existing IPv4, unless the IP address in this discovery clearly indicates, both comprised that IPv4 also comprised IPv6, and the IP address of user's default IP access service (Default IP Access Service), always online (Always On) service the IP address, with machine Care-of Address (Co-located Care-of-Address), home address (HomeAddress), packet data protocol IP address.
Here need to prove, message name that the present invention uses in the accompanying drawings and term only are to describe method of the present invention and flow process for simplicity, be not illustrated in also use in the actual use mobile communication system of the present invention with accompanying drawing of the present invention in identical message name and term.
Fig. 6 is the flow chart of the method for release IP of the present invention address.As shown in Figure 6, IP address release method of the present invention comprises the following steps: that network initiates attachment removal (Detach) request or user and initiate detach request, send the request that discharges the IP address to each IP address assignment person, each IP address assignment person will distribute to user's IP address and discharge, discharge all-network resource and all professional Radio Resources, the attachment removal acknowledge message is accepted in transmission, and release signaling connects.Wherein distributing to user's IP address can only be discharged by the IP address assignment person who distributes described IP address.
In the 3G of evolution system, the request that discharges the IP address can be initiated by the Mobility Management Entity and/or the user plane entity MME/UPE at UE place, also can be initiated by the functional entity of depositing the UE subscription data (HSS) request IP address assignment person.Fig. 4 a to Fig. 4 c is initiated to discharge the flow chart of the IP address of UE by the Mobility Management Entity at the current place of UE and/or user plane entity MME/UPE for explanation the present invention, in this way, the request that the IP address of UE discharges all is that Mobility Management Entity and/or the user plane entity MME/UPE by the current place of UE initiated.The Detach of UE has three kinds of situations, and the present invention also provides the process of the IP address of the release UE that is initiated by the Mobility Management Entity and/or the user plane entity at the current place of UE respectively according to these three kinds of situations.
Fig. 4 a is for illustrating that the request that Mobility Management Entity and/or user plane entity are initiated discharges the flow chart of UE IP address when UE asks Detach or shutdown.In a mobile communication system, when a UE Detach or shutdown, the Mobility Management Entity at the current place of UE and/or user plane entity notify the allocator of IP address to discharge this IP address clearly, IP address assignment person discharges this IP address and can distribute to other user and use like this, and process is shown in Fig. 4 a:
1, UE sends Detach Request message, if the user is shutdown, the shutdown indication is arranged then;
2, the Mobility Management Entity at UE place and/or user plane entity (MME/UPE) send the request that discharges IP address (IP Address Detach) to each IP address assignment person of UE.Mobility Management Entity and/or user plane entity (MME/UPE) obtain its corresponding IP address assignment person according to the employed IP of UE address by methods such as DNS.When a plurality of IP address existed, Mobility Management Entity and/or user plane entity (MME/UPE) can walk abreast or send IP address (the IP Address Detach) request that discharges to IP address assignment person serially.For the impact of avoiding a plurality of IP address may cause network when the network requests simultaneously, might use random delay a period of time.When request was not responded in the regular hour, Mobility Management Entity and/or user plane entity (MME/UPE) can repeat to send request.After receiving affirmation, Mobility Management Entity and/or user plane entity (MME/UPE) think that this IP address is released.In addition, the IP address assignment person that Mobility Management Entity and/or user plane entity (MME/UPE) will always online to IP (IP Always-on) or default IP access services (Default IP Access Service) sends the request that discharges IP address (IP Address Detach); Allocator to the same machine Care-of Address (Co-located Care-of-Address) of UE sends the request that discharges IP address (IPAddress Detach); Allocator to the home address (Home Address) of UE sends the request that discharges IP address (IP Address Detach).When the allocator of an IP address was exactly the Mobility Management Entity at UE place and/or user plane entity oneself, then this message externally may be invisible;
3, the Mobility Management Entity at UE place and/or user plane entity (MME/UPE) discharge all Internet resources, as possible Tunnel or be similar to the Internet resources of PDP Context, discharge all possible professional Radio Resources simultaneously;
4, if UE is not shutdown, then the Mobility Management Entity at UE place and/or user plane entity send Detach Accept message to UE, if this message is not then sent out in UE indication shutdown;
5, UE is connected with the signaling of Mobility Management Entity and/or user plane entity and is released.
Fig. 4 b is for illustrating that when HSS triggered Detach, the request that Mobility Management Entity and/or user plane entity (MME/UPE) are initiated discharged the flow chart of UE IP address.When the user contracting data of UE is deleted from HSS, HSS will notify the Mobility Management Entity at the current place of UE and/or MM Context and the PDP Context of user plane entity (MME/UPE) deletion UE, thereby trigger the release of UE IP address, process is shown in Fig. 4 b:
1, HSS will send Cancel Location (position deletion) message to Mobility Management Entity and/or user plane entity (MME/UPE), and Cancellation Type message request is with the Context deletion of this UE, and all IP addresses of release UE.User ID that the parameter of CancelLocation message comprises and Cancellation Type are Subscription Withdrawn.
2, the Mobility Management Entity at UE place and/or user plane entity (MME/UPE) send Detach Request message to UE.The parameter Detach Type indication UE that comprises in this message does not need to make new attach and the activation that is similar to PDP context.
3, the Mobility Management Entity at UE place and/or user plane entity (MME/UPE) send IP address (the IP Address Detach) request that discharges to each IP address assignment person of UE.Mobility Management Entity and/or user plane entity obtain its corresponding IP address assignment person according to the employed IP of UE address by methods such as DNS.When a plurality of IP address existed, Mobility Management Entity and/or user plane entity can walk abreast or serial sends IP address (the IP Address Detach) request that discharges to IP address assignment person.For the impact of avoiding a plurality of IP address may cause network when the network requests simultaneously, might use random delay a period of time.When request was not responded in the regular hour, Mobility Management Entity and/or user plane entity can repeat to send request.After receiving affirmation, Mobility Management Entity and/or user plane entity think that this IP address is released.In addition, Mobility Management Entity and/or user plane entity will always online to IP (IP Always-on) or the IP address assignment person of default IP access service (Default IPAccess Service) send the request that discharges IP address (IP Addressdetach); Allocator to the same machine Care-of Address (Co-locatedCare-of-Address) of UE sends the request that discharges IP address (IP Address detach); Allocator to the home address (Home Address) of UE sends the request that discharges IP address (IP Address detach).When the allocator of an IP address was exactly the Mobility Management Entity at UE place and/or user plane entity oneself, then this message externally may be invisible;
4, the Mobility Management Entity at UE place and/or user plane entity discharge all Internet resources, as possible Tunnel or be similar to the Internet resources of PDP Context, discharge all possible professional Radio Resources simultaneously;
5, UE sends the message of accepting Detach to Mobility Management Entity and/or user plane entity;
6, the Mobility Management Entity at UE place and/or user plane entity have been deleted to the MM of HSS response UE and PDP Context and have been finished, and all IP addresses of UE all discharge.It is that the parameter of this message indicates for which user;
7, the Mobility Management Entity at UE and UE place and/or the signaling between the user plane entity are connected and are released.
Fig. 4 c for explanation when the Mobility Management Entity at MS place and/or the user plane entity request Detach, the flow chart of Mobility Management Entity and/or user plane entity request release UE IP address.The process of the Detach of the Mobility Management Entity at the current place of UE and/or user plane entity initiation UE is shown in Fig. 4 c:
1, the Mobility Management Entity at UE place and/or user plane entity send DetachRequest message to UE.The parameter Detach Type indication UE that comprises in this message does not need to make new attach and the activation that is similar to PDP context;
2, Mobility Management Entity and/or user plane entity send IP address (the IP Address Detach) request that discharges to each IP address assignment person of UE.Mobility Management Entity and/or user plane entity obtain its corresponding IP address assignment person according to the employed IP of UE address by methods such as DNS.When a plurality of IP address existed, Mobility Management Entity and/or user plane entity can walk abreast or serial sends IP address (the IP Address Detach) request that discharges to IP address assignment person.The impact that may cause network when network requests simultaneously for fear of a plurality of IP address might be used random delay a period of time.When request was not responded in the regular hour, Mobility Management Entity and/or user plane entity can repeat to send request.After receiving affirmation, Mobility Management Entity and/or user plane entity think that this IP address is released.In addition, the IP address assignment person that Mobility Management Entity and/or user plane entity will always online to IP (IP Always-on) or default IP access services (Default IP Access Service) sends the request that discharges IP address (IP Address detach); Allocator to the same machine Care-of Address (Co-located Care-of-Address) of UE sends the request that discharges IP address (IP Address detach); Allocator to the home address (Home Address) of UE sends the request that discharges IP address (IP Address detach).When the allocator of an IP address was exactly the Mobility Management Entity at UE place and/or user plane entity oneself, then this message externally may be invisible;
3, the Mobility Management Entity at UE place and/or user plane entity discharge all Internet resources, as possible Tunnel or be similar to the Internet resources of PDP Context, discharge all possible professional Radio Resources simultaneously;
4, UE sends the message of accepting Detach to Mobility Management Entity and/or user plane entity;
5, the Mobility Management Entity at UE and UE place and/or the signaling between the user plane entity are connected and are released.
Fig. 5 a to Fig. 5 c initiates the flow chart that request discharges the IP address of UE for explanation the present invention by the functional entity HSS that deposits the UE subscription data.In this way, the request that the IP address of UE discharges all is that the functional entity HSS by the subscription data of depositing UE is initiated.The Detach of UE has three kinds of situations, and the present invention also provides respectively by the functional entity HSS that deposits the UE subscription data according to these three kinds of situations and initiates the process that request discharges the IP address of UE.
Fig. 5 a is for illustrating that when UE asked Detach or shutdown, the HSS request discharged the flow chart of UE IP address.In a mobile communication system, when a UE Detach or shutdown, the Mobility Management Entity at the current place of UE and/or this UE of user plane entity notice HSS are with Detach or shutdown, HSS notifies the allocator of IP address to discharge this IP clearly then, IP address assignment person can discharge this IP address and can distribute to other user and use like this, and process is shown in Fig. 5 a:
1, UE sends Detach Request message, if the user is shutdown, the shutdown indication is arranged then;
2, the Mobility Management Entity at UE place and/or user plane entity send at the functional entity HSS of the subscription data of mobile communication system to UE and remove registration request (DeregistrationRequest) message, comprise this user's identify label in this message, and possible releasing registration reason.HSS correspondingly is provided with relevant sign and shows UE Detach or shutdown;
3, HSS sends IP address (IP AddressDetach) request that discharges to each IP address assignment person of UE.UE obtains its corresponding IP address assignment person according to the employed IP of UE address by methods such as DNS at the functional entity HSS of the subscription data of mobile communication system.HSS can walk abreast or serial sends IP address (the IP Address Detach) request that discharges to IP address assignment person when a plurality of IP address.For a plurality of IP address may impact to network when the network requests simultaneously, might use random delay a period of time.When request was not responded in the regular hour, HSS can repeat to send request.After receiving affirmation, HSS thinks that this IP address is released.HSS also does the setting of other relevant state and does not then stipulate in the present invention.In addition, several explanations below also having: indicate especially, the IP address assignment person that HSS will always online to IP (IP Always-on) or default IP access service (Default IP Access Service) sends the request that discharges IP address (IPAddress detach); Allocator to the same machine Care-of Address (Co-locatedCare-of-Address) of UE sends the request that discharges IP address (IP Address detach); Allocator to the home address (Home Address) of UE sends the request that discharges IP address (IP Address detach).When the allocator of an IP address was exactly HSS oneself, then this message externally may be invisible;
4, the Mobility Management Entity at UE place and/or user plane entity discharge all Internet resources then, as possible Tunnel or be similar to the Internet resources of PDP Context, discharge all possible professional Radio Resources simultaneously;
5, HSS shows that to the response of top step 2 message the IP address of this UE all is released;
6, if UE is not shutdown, then the Mobility Management Entity at UE place and/or user plane entity send Detach Accept message to UE, if this message is not then sent out in UE indication shutdown;
7, UE is connected with the signaling of Mobility Management Entity and/or user plane entity and is released.
Fig. 5 b is for illustrating when HSS triggers Detach, and the HSS request discharges the flow chart of UE IP address.When the user contracting data of UE is deleted from HSS, HSS will notify the Mobility Management Entity at the current place of UE and/or MM Context and the PDP Context of user plane entity deletion UE, HSS notifies the allocator of IP address to discharge this IP clearly simultaneously, IP address assignment person can discharge this IP address and can distribute to other user and use like this, and process is shown in Fig. 5 b:
1, HSS sends CancelLocation message to the Mobility Management Entity and/or the user plane entity at UE place, and Cancellation Type message request is with the Context deletion of this UE.User ID that the parameter of Cancel Location message comprises and Cancellation Type are Subscription Withdrawn;
2, the Mobility Management Entity at UE place and/or user plane entity send DetachRequest message to UE;
3, HSS sends IP address (IP AddressDetach) request that discharges to each IP address assignment person of UE.UE obtains its corresponding IP address assignment person according to the employed IP of UE address by methods such as DNS at the functional entity HSS of the subscription data of mobile communication system.HSS can walk abreast or serial sends IP address (the IP Address Detach) request that discharges to IP address assignment person when a plurality of IP address.For a plurality of IP address may impact to network when the network requests simultaneously, might use random delay a period of time.When request was not responded in the regular hour, HSS can repeat to send request.After receiving affirmation, HSS thinks that this IP address is released.HSS also does the setting of other relevant state and does not then stipulate in the present invention.In addition, several explanations below also having: indicate especially, the IP address assignment person that HSS will always online to IP (IP Always-on) or default IP access service (Default IP Access Service) sends the request that discharges IP address (IP Address detach); Allocator to the same machine Care-of Address (Co-located Care-of-Address) of UE sends the request that discharges IP address (IP Address detach); Allocator to the home address (Home Address) of UE sends the request that discharges IP address (IP Address detach).When the allocator of an IP address was exactly HSS oneself, then this message externally may be invisible;
4, the Mobility Management Entity at UE place and/or user plane entity discharge all Internet resources, as possible Tunnel or be similar to the Internet resources of PDP Context, discharge all possible professional Radio Resources simultaneously;
5, the user sends the answer of Detach Request message to UE to the Mobility Management Entity at UE place and/or user plane entity;
6, the Mobility Management Entity at UE place and/or user plane entity have been deleted to the MM of HSS response UE and PDP Context and have been finished.It is that the parameter of this message indicates for which user;
7, the Mobility Management Entity at UE and UE place and/or the signaling between the user plane entity are connected and are released.
Fig. 5 c for explanation when the Mobility Management Entity at MS place and/or the user plane entity request Detach, the flow chart of HSS request release UE IP address.The Mobility Management Entity at the current place of UE and/or user plane entity also can be initiated the Detach of UE.Process is shown in Fig. 5 c:
1, the Mobility Management Entity at UE place and/or user plane entity send DetachRequest message to UE;
2, the Mobility Management Entity at UE place and/or user plane entity send at the functional entity HSS of the subscription data of mobile communication system to UE and remove registration request (DeregistrationRequest) message, comprise this user's identify label in this message, and the reason of possible releasing registration.HSS shows UE Detach or shutdown with regard to relevant sign is set;
3, HSS sends IP address (IP AddressDetach) request that discharges to each IP address assignment person of UE.UE obtains its corresponding IP address assignment person according to the employed IP of UE address by methods such as DNS at the functional entity HSS of the subscription data of mobile communication system.HSS can walk abreast or serial sends IP address (the IP Address Detach) request that discharges to IP address assignment person when a plurality of IP address.For a plurality of IP address may impact to network when the network requests simultaneously, might use random delay a period of time.When request was not responded in the regular hour, HSS can repeat to send request.After receiving affirmation, HSS thinks that this IP address is released.HSS also does the setting of other relevant state and does not then stipulate in the present invention.In addition, the IP address assignment person that the several explanations below also having: HSS will always online to IP (IP Always-on) or default IP access service (Default IP Access Service) sends the request that discharges IP address (IPAddress detach); Allocator to the same machine Care-of Address (Co-locatedCare-of-Address) of UE sends the request that discharges IP address (IP Address detach); Allocator to the home address (Home Address) of UE sends the request that discharges IP address (IP Address detach).When the allocator of an IP address was exactly HSS oneself, then this message externally may be invisible;
4, the Mobility Management Entity at UE place and/or user plane entity discharge all Internet resources then, as possible Tunnel or be similar to the Internet resources of PDP Context, discharge all possible professional Radio Resources simultaneously;
5, the user sends the answer of Detach Request message to UE to the Mobility Management Entity at UE place and/or user plane entity;
6, HSS shows that to the response of top step 2 message the IP address of this UE all is released;
7, the Mobility Management Entity at UE and UE place and/or the signaling between the user plane entity are connected and are released.
IP address release method of the present invention provides under three kinds of Detach (attachment removal) situation, discharges the IP address of UE by the Mobility Management Entity at UE place and/or user plane entity respectively or is discharged the method for the IP address of UE by the functional entity HSS that deposits the UE subscription data.The IP address column comprises the IP address of IPv4, IPv6 type; Comprise IP always online (IP Always-on) or default IP access service (Default IP Access Service) pairing IP address; Comprise Home IP Address with machine Care-of Address (Co-located Care-of-Address).Under three kinds of Detach situations, the Mobility Management Entity at the current place of UE and/or user plane entity are that explicitly notice IP address assignment person discharges user's IP address.Under three kinds of Detach situations, the functional entity HSS that deposits the subscription data of UE is that explicitly notice IP address assignment person discharges user's IP address.The request that request IP address discharges is initiated by network side, rather than is initiated by UE, can reduce the quantity of idle message, improves the efficient of Detach or shutdown and has reduced time delay.When UE had a plurality of IP address, the Mobility Management Entity at UE place and/or user plane entity, the functional entity HSS that deposits the UE subscription data can walk abreast or serial sends IP address (the IP Address Detach) request that discharges to IP address assignment person.For a plurality of IP address may impact to network when the network requests simultaneously, might use random delay to send again after a period of time.When request is not responded, then retransmit this request of giving in the regular hour.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, wish that appended claim comprises these distortion and variation and do not break away from spirit of the present invention.