Background technology
Evolved packet system (Evolved Packet System, EPS) third generation collaborative project (3rdGeneration Partnership Project, 3GPP) connecting system comprises universal terrestrial access network (Universal Terrestrial Radio Access Network, UTRAN), GSM EDGE Radio Access Network network (GSM/EDGE Radio Access Network, GERAN), evolved universal terrestrial radio access network (Evolved Universal Terrestrial Radio Access Network, E-UTRAN), or the like.
Initially adhere in (Initial Attach) process at the defined E-UTRAN of TS23.401, spell out, new Mobility Management Entity (Mobility Management Entity, MME) to home subscriber servers (Home Subscriber Server, HSS) send the position and upgrade (Update Location) message, satisfy one of following three conditions:
1) new MME is different from subscriber equipment (User Equipment, old MME during UE) attachment removal (Detach);
2) there is not the effectively signatory context (Context) of UE among the new MME;
3) change has taken place in the terminal iidentification of UE.
Wherein, carry in the Update Location message MME sign, IMSI International Mobile Subscriber Identity (International Mobile SubscriberIdentifier, IMSI) and terminal iidentification.The signatory context of UE is meant the subscription data (Subscriber Data) of the UE that MME stores, for example UE allows APN (the Access Point Name of visit, APN), corresponding to signatory packet data network gateway (the Packet DataNetwork Gateway of this APN, PDN-GW) address information, or the like.
The Attach of UE is divided into two types: one type is Initial Attach, is also referred to as start usually and adheres to (Power OnAttach), is meant the Attach that UE start back is done; Another kind of type is to switch to adhere to (Handover Attach), is meant that UE switches to the Attach that 3GPP connecting system (for example E-UTRAN connecting system) is done from non-3GPP connecting system.The processing difference that this Attach of two types requires network to do: wherein Handover Attach requires network to guarantee after the Attach process, the IP of UE connects still will keep continuity, require APN that UE inserted still identical with the APN that inserted in the non-3GPP connecting system, and the IP address of UE can not be released, and uses the PDN GW identical with non-3GPP connecting system etc.; And Initial Attach sets up a default bearer (Default Bearer) to default (Default) APN for UE, distribute an Internet Protocol (Internet Protocol for UE simultaneously, IP) address, IP address can be IPv4 (IP version 4) address or IPv6 (IP version 6) address or IPv4+IPv6 address.
TS23.401 stipulates, in the Attach process, if the presently used PDN GW of UE address is different from the signatory PDN GW address of UE, and signatory support of UE switch to non-3GPP connecting system from the 3GPP connecting system, and then MME need pass to HSS with presently used PDN GW address information.Presently used PDN GW address is stored in the session management context of MME, and the signatory PDN GW address of UE is stored in the subscription data of UE.
TS23.401 stipulates, after UE switches to non-3GPP connecting system from E-UTRAN connecting system (3GPP connecting system), discharge all EPS carryings of UE, UE and the MME mobility management states of UE are set to attachment removal state (EMM-DEREGISTERED).After the mobility management states of MME UE is set to EMM-DEREGISTERED, MME will only keep MM Context and the subscription data of this UE, and the session management context of UE is all with deleted.The MM Context of UE is meant the data message relevant with the mobile management of this UE, and MM Context comprises safe context, data messages such as the employed key of storage UE, cryptographic algorithm in the safe context.After after a while, MME will delete MM Context and the subscription data of UE, and send removing (Purge) message to HSS, and this moment, MME did not store any information relevant with this UE.
Regulation according to existing TS23.401, suppose that UE at first is linked into the EPS system by Initial Attach process from E-UTRAN connecting system (3GPP connecting system), and used the PDN GW address that is different from subscription data, and signatory support of UE switches to non-3GPP connecting system from the 3GPP connecting system; Then, after UE switched to non-3GPP connecting system from E-UTRAN connecting system (3GPP connecting system), MME discharged all EPS carryings of UE, and UE and the MME mobility management states of UE are set to EMM-DEREGISTERED.After the mobility management states of MME UE is set to EMM-DEREGISTERED, MME only will keep MM Context and the subscription data of this UE, and the session management context of UE is all with deleted.After this, when UE when non-3GPP connecting system switches back the E-UTRAN connecting system again, UE will carry out Handover Attach process, and the MME of UE Attach this moment is identical with employed MME before the switching, and this MME does not also send Purge message to HSS, does not delete MM Context and the subscription data of UE yet.But this moment, this MME does not have the session management context, does not switch preceding employed PDNGW address information so store UE.
As seen through the above analysis, when UE when non-3GPP connecting system switches back the E-UTRAN connecting system again, UE carries out in the Handover Attach process, if according to the requirement of the E-UTRAN Initial Attach process of TS23.401 definition, three conditions that send Update Location message this moment all do not satisfy:
1) UE does not change MME, and promptly new MME and old MME are same MME;
2) the signatory context of UE is still effective among the MME;
3) terminal iidentification of UE does not change.
This stylish MME does not need to carry out interacting message with HSS, and it is that UE sets up corresponding EPS carrying that new MME uses the signatory PDN GW address in the subscription data of storing, and the current PDN GW address that is different from subscription data of still using of UE.Therefore, this has just caused the IP of UE to connect and can not obtain keeping, and professional continuity has been suffered destruction.
Embodiment
At first define several basic conceptions, the network equipment of being responsible for the user is carried out mobile management in the EPS system is referred to as mobile control and management equipment, for example, MME, service universal grouping wireless business supporting node (Serving GPRS Support Node, SGSN) or the like.
When the mobility management states that UE is set when mobile control and management equipment is the attachment removal state, the session management context of the UE of storage will be deleted, then UE is when non-3GPP connecting system switches to 3GPP connecting system (for example E-UTRAN connecting system), if employed PDN GW address was different from the signatory PDN GW address in the UE subscription data before UE switched, professional continuity can not be guaranteed.When if the mobility management states that UE is set when mobile control and management equipment is the attachment removal state, do not delete the session management context of the UE that is stored, UE still might be released in the PDN that has set up in the 3GPP connecting system and connect in non-3GPP connecting system, promptly no longer include any carrying and be connected, or UE sets up PDN with a new PDN GW and is connected (being assumed to be PDN GW-Y) in non-3GPP connecting system with some PDN GW (being assumed to be PDN GW-X).Like this, employed PDN GW-X address before though mobile control and management equipment still can obtain to switch according to the session management context that is kept, but the data in the session management context that mobile control and management equipment is kept can not be used again, can't guarantee the continuity of business when UE switches equally.
Based on above analysis, the embodiment of the invention provides data capture method, equipment and the system in a kind of attaching process, in order at UE when non-3GPP connecting system switches to the 3GPP connecting system, guarantee professional continuity.This method is the Attach process of Handover Attach for the Attach type, make mobile control and management equipment obtain UE and switch preceding employed PDN GW address information from HSS, thereby employed PDN GW address information before can switching according to UE, setting up PDN in the 3GPP connecting system connects and carrying, thereby realize that UE when non-3GPP connecting system switches to the 3GPP connecting system, keeps professional continuity.As shown in Figure 1, this method comprises the steps:
S101, mobile control and management equipment receive that UE sends carry the Attach type adhere to request (Attach Request) message;
S102, mobile control and management equipment are when the Attach type is Handover Attach, and the HSS under this UE sends Update Location message;
After S103, HSS receive Update Location message, return insertion user data (Insert Subscriber data) message to mobile control and management equipment, comprise in the Insert Subscriber data message that UE switches preceding employed PDN GW address information;
S104, mobile control and management equipment obtain UE and switch preceding employed PDN GW address information from the Insert Subscriber data message that receives.
Adopt above method, can guarantee UE when non-3GPP connecting system switches to the 3GPP connecting system, mobile control and management equipment can learn UE switch before employed PDN GW address information, thereby reach the purpose that guarantees business continuance.
Mobile control and management equipment is when the Attach type is Initial Attach, and as shown in Figure 2, this method is further comprising the steps of:
S201, mobile control and management equipment confirm that the Attach type is Initial Attach;
S202, mobile control and management equipment have judged whether to store the safe context of this UE, and safe context comprises data messages such as the employed key of UE, cryptographic algorithm, if, then carry out S203, if not, then carry out S209;
S203, mobile control and management equipment have judged whether to store the subscription data of this UE, if, then carry out S204, if not, then carry out S209;
S204, mobile control and management equipment have judged whether to revise the subscription data of the last UE that obtains from the Insert Subscriber data message that HSS returns, if, then carry out S205, if not, then carry out S209;
S205, mobile control and management equipment obtain UE employed terminal iidentification before this Initial Attach according to the context of this UE of storage, are called first terminal iidentification for the ease of differentiation;
S206, mobile control and management device request UE provide presently used terminal iidentification, are called second terminal iidentification for the ease of differentiation;
S207, mobile control and management equipment judge according to second terminal iidentification that UE returns whether second terminal iidentification is consistent with first terminal iidentification, if, then carry out S208, if not, then carry out S209;
S208, mobile control and management the equipment not HSS under this UE send Update Location message, and flow process finishes;
S209, the mobile control and management equipment HSS under this UE sends Update Location message;
S210, mobile control and management equipment obtain the subscription data of UE from the Insert Subscriber data message that HSS returns, wherein comprise the subscription data of UE in the Insert Subscriber data message, and flow process finishes.
As seen, when the Attach type is Initial Attach, different when being Handover Attach with the Attach type, need satisfy certain condition and just can send Update Location message, the condition that sends Update Location message in the Initial Attach process can be called location update message and send condition.Location update message sends condition, comprises one of following content:
Do not store the safe context of UE;
Do not store the subscription data of UE;
The subscription data of having stored UE still is modified;
Presently used terminal iidentification of UE and UE employed terminal iidentification before initially adhering to is inconsistent.
Adopt method as shown in Figure 2, can guarantee UE in Initial Attach process, obtain the up-to-date subscription data of UE, thereby guarantee follow-uply in the 3GPP connecting system, to set up default bearer.If the mobile control and management equipment decision not HSS under UE sends Update Location message, necessarily store the up-to-date subscription data of this UE in the then mobile control and management equipment.
Introduce the message interaction process figure of mobile control and management equipment and HSS in the Attach process below in detail, as shown in Figure 3, comprising:
S301, UE send Attach Request message to the current mobile control and management equipment of registering (MME or SGSN), carry the Attach type in the Attach Request message, also carry global unique user's temporary mark (Globally Unique Temporary Identity simultaneously, GUTI), temporary transient mobile user identification (Packet Temporary Mobile Station Identity perhaps divides into groups, P-TMSI) and old Routing Area Identifier (Old Routing Area Identity, Old RAI);
The GUTI that carries in the Attach Request message that S302, the current mobile control and management equipment of registering can send according to UE, perhaps P-TMSI and Old RAI, be positioned at the old mobile control and management equipment of serving this UE before the current Attach process, this old mobile control and management equipment may be MME or SGSN;
S303, the current mobile control and management equipment of registering send identification request (Identification Request) message to old mobile control and management equipment, to ask old mobile control and management equipment to provide the IMSI of this UE for it, wherein carry the GUTI that UE reports in the Identification Request message, perhaps P-TMSI knows Old RAI;
S304, old mobile control and management equipment are according to entrained GUTI in the Identification Request message, perhaps P-TMSI and Old RAI, determine to be stored to context that should UE, and in the context of determining, extract the IMSI of this UE correspondence, and the IMSI that extracts is encapsulated in identification response (Identification Response) message, feed back to the current mobile control and management equipment of registering;
Simultaneously, UE is in current Attach process, if the Attach type is Initial Attach, the then current mobile control and management equipment of registering is also by sending identify label request (Identity Request) message, request UE provide presently used terminal iidentification, i.e. second terminal iidentification;
S305, the current mobile control and management equipment of registering are when the Attach type is Handover Attach, perhaps working as the Attach type is Initial Attach, and when confirming to satisfy location update message transmission condition, HSS under UE sends Update Location message, and the HSS under the UE determines according to the IMSI number of UE;
S306, the current mobile control and management equipment of registering are after HSS sends Update Location message, HSS moves control and management equipment if find the corresponding Geju City of UE, and then HSS can send canceling position (Cancel Location) message to old mobile control and management equipment;
Behind S307, the MM Context and subscription data of old mobile control and management equipment, reply canceling position response (Cancel Location Ack) message to HSS according to Cancel Location message deletion UE;
S308, HSS are according to the Update Location message of receiving, send Insert Subscriber Data message to the current mobile control and management equipment of registering, comprise in the Insert Subscriber Data message UE subscription data, switch before employed PDN GW address information etc.
S309, the current mobile control and management equipment of registering obtain corresponding data according to the Attach type from Insert Subscriber Data message, if Handover is Attach, then obtain and switch preceding employed PDN GW address information, if Initial is Attach, then obtain the subscription data of UE;
S310, the current mobile control and management equipment of registering are replied to HSS and are inserted user data response (Insert Subscriber Data Ack) message, to confirm to receive the Insert Subscriber Data message of HSS;
After S311, HSS receive Insert Subscriber Data Ack message, upgrade response (Update LocationAck) message to current mobile control and management device replied position of registering;
S312, the connection of setting up UE and carrying;
Wherein, be in the Attach process of Initial Attach in the Attach type, in S312, set up the default bearer of UE; In the Attach type is in the Attach process of Handover Attach, and the PDN that sets up UE in S312 connects and carrying;
S313, the current mobile control and management equipment of registering send to UE and adhere to acceptance (Attach Accept) message;
S314, UE reply to adhere to according to the Attach Accept message that receives and finish (Attach Complete) message.
Wherein, S304 may carry out following flow process, comprises the steps:
A, if old mobile control and management equipment according to the GUTI that carries in the Identification Request message, perhaps P-TMSI and Old RAI, do not inquire context that should UE stored, then in feeding back to the Identification Response message of old mobile control and management equipment, carry the information that indication IMSI does not have to find (IMSI not known);
Carry IMSI not Known information in the Identification Response message that b, the current mobile control and management device discovery of registering receive, then can send identify label request (Identity Request) message, the IMSI of himself is provided with request UE to UE;
After this Identity Request message that c, UE receive, reply identify label response (Identity Response) message and give the current mobile control and management equipment of registering, carry the IMSI of this UE in this Identity Response message.
The embodiment of the invention provides the data-acquisition system in a kind of attaching process simultaneously, comprises the HSS that current mobile control and management equipment of registering of UE and UE are affiliated, wherein:
Mobile control and management equipment: be used to receive the Attach Request message of carrying the Attach type that UE sends, when the Attach type is Handover Attach, send Update Location message to HSS, and from the Insert Subscriber Data message that HSS returns, obtain UE and switch preceding employed PDNGW address information;
HSS: be used to receive the Update Location message that mobile control and management equipment sends, return Insert Subscriber Data message according to Update Location message, wherein, comprise in the Insert Subscriber Data message that UE switches preceding employed PDN GW address information.
Mobile control and management equipment also is used for when the Attach type is Initial Attach, sends Update Location message to HSS, and from the Insert Subscriber Data message that HSS returns, obtains the subscription data of UE; Certainly, the subscription data that comprises UE in the Insert SubscriberData message that HSS returns according to Update Location message.
3GPP connecting system in the embodiment of the invention comprises the UTRAN access network, GERAN access network, E-UTRAN access network, or the like; Mobile control and management equipment comprises MME, SGSN, or the like.
Wherein, a kind of possibility structure of mobile control and management equipment as shown in Figure 4, comprising:
Interface unit 401: be used for messaging;
Control unit 402: be used for when Attach type that the Attach Request message that UE sends is carried is Handover Attach, sending Update Location message by the HSS of interface unit 401 under UE;
Acquiring unit 403: be used for the Insert Subscriber Data message returned from HSS, employed PDN GW address information before obtaining UE and switching.
Wherein, control unit 402 also be used for when the Attach type be Initial Attach, and when confirming to satisfy location update message and sending condition, send Update Location message by the HSS of interface unit 401 under UE; And,
Acquiring unit 403 also is used for the Insert Subscriber Data message returned from HSS, obtains the subscription data of UE.
In the embodiment of the invention, for the Attach type is the Attach process of Handover Attach, mobile control and management equipment obtains UE employed PDN GW address information before switching from HSS, connect and carrying thereby can in the 3GPP connecting system, set up relevant PDN, thereby realize that UE keeps professional continuity when non-3GPP connecting system switches to the 3GPP connecting system; For the Attach type is the Attach process of Initial Attach, and mobile control and management equipment obtains the up-to-date subscription data of UE from HSS, thereby can set up default bearer in the 3GPP connecting system.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.