WO2008022593A1 - Method for obtaining contexts of access system - Google Patents

Method for obtaining contexts of access system Download PDF

Info

Publication number
WO2008022593A1
WO2008022593A1 PCT/CN2007/070495 CN2007070495W WO2008022593A1 WO 2008022593 A1 WO2008022593 A1 WO 2008022593A1 CN 2007070495 W CN2007070495 W CN 2007070495W WO 2008022593 A1 WO2008022593 A1 WO 2008022593A1
Authority
WO
WIPO (PCT)
Prior art keywords
access
context
access system
sgsn
entity
Prior art date
Application number
PCT/CN2007/070495
Other languages
French (fr)
Chinese (zh)
Inventor
Xiaolong Guo
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008022593A1 publication Critical patent/WO2008022593A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels

Definitions

  • the present invention belongs to the field of communication technologies, and in particular, to a method for obtaining a context of an access system.
  • each vendor actively researches System Architecture Evolution (SAE) technology and Long Term Evolution (LTE) technology.
  • SAE System Architecture Evolution
  • LTE Long Term Evolution
  • the purpose of LTE technology is to provide a method for reducing delay and improving users. Several idle speeds, improved system capacity and coverage of low-cost networks.
  • PS Packet Switched
  • the bearer network is an IP bearer.
  • the LXE RAN is a radio access network of an evolved network.
  • CPS Control plane server
  • JLTE-RAN Entity Long Term Evolution Radio Access Network Entity
  • MME/UPE Mobility Management Entity
  • the function of the MME is to save the mobility management (MM) context of the user equipment (User Equipraeot, UE), such as the user's identity, mobility status, Tracking Area (TA) information, etc., and authenticate the user.
  • the UPE functions to: terminate the downlink data for the UE in the idle state, trigger the paging at the same time, and save the context of the UE, such as the IP address and routing information of the UE, etc.
  • User Plane Anchor is the anchor point of the user plane. Whether the MME/UFE is unchanged during the user's session time is not restricted to the following methods
  • RATs Radio Access Technologies
  • the UE may cause the network registration i due to the change of the network it is currently camping on.
  • the frequent network registration process generates a large number of registrations.
  • Signaling overhead which greatly wastes air interface resources. Therefore, it is necessary to study how to control the signaling interaction in the process to avoid waste of air interface resources.
  • RAJ and RA2 are the existing 2G/3G routing areas (Routmg Area).
  • the existing 2G/3G UEs must initiate the RCM (Regular Area Update, RAU) process every time the RA is replaced. Even if the UE does not replace the RA, there is a periodic location update process, which is to make the network know whether the UE is still in the network, so as to prevent the UE from leaving the network but the network is not aware and continuously paging the UE. In the present invention, the case where the UE is periodically updated is not considered.
  • TAK TA2, TA3 TA4 is the tracking area of the evolved network, and the read tracking area is similar to the 2G/3G RA.
  • the mechanism will result in frequent network registration procedures. For example, when the UE enters RA1 and is stationed in the 2G./3G access system, it will register with the 2G/3G SGSN. When the UE enters TA1 and camps on the LTE access system, In addition, the UE registers with the MME/UPE of the evolved network. When the UE moves out of the TA1 and enters the RA1, it needs to register with the SGSN of the 2G/3G. Through the above registration, the network can page the UE in the RAT. However, The registration signaling overhead of the above registration process is huge.
  • the i4 scheme that is, the Master-slave + C.RN (Coiitext Reference Number)
  • the access entity saves the CRN update itself, and synchronizes the CRN to the UE and the MME, and simultaneously synchronizes the changed context.
  • the UE accesses the SGSN, it needs to carry the CRN saved by the UE.
  • the SGSN does not need to extract the context (ie, pu context;), otherwise the SGSN needs to obtain the context from the MME. So proud of this is to prevent the SGSN from having the latest context, but still need to obtain the context from the MME. For example, if the UE accessed the SGSN last time, then it is not necessary to obtain the context from the MME when accessing the SGSN again.
  • CR's method is to ensure that the context is only obtained when necessary (the following method is the same as ⁇ .
  • the disadvantage of this method is that when there is a context change in the SGSN, the context is also pushed to the MME/UPE to ensure that the latest is always stored in the MMEAJPE.
  • the MME/SGSN needs to take the context of the other party, because the entity does not know whether the context in the other entity changes.
  • the S-TMSI (SAE Teraportar Mobile Subscriber Identit - SAE Temporary Mobile Subscriber Identity) indicates the temporary mobile subscriber identity of the SAE
  • UT SI UM' rS TMSL (TMSI or F-TMSI) represents the temporary mobile subscriber identity of the UMTS (Universal Mobile relcommuiiications System)
  • S-RA SAE Routing Area, SAE
  • U-RA means RA of UMTS
  • context synchronization includes the following steps:
  • Step 1 The UE attaches to the S.AE, and sends a request message to the MME;
  • Step 33 The ME obtains from the HSS After the context, the authentication process is initiated to the UE;
  • Step 35 If the UE passes the authentication and the UE is successfully registered, the MME allocates the S-TMSi/S-RA. and the default IP (default IP) information to the UJE.
  • Step 36 After the UE replaces the RAT to the 2G/3G, the RAU process is sent, and the S-TMS1/S-RA allocated by the MME is carried to the UE.
  • Step 37 The SGSN sends an SGSN Context Request message to the MME corresponding to the S-TMSI/S-RA to request the cofltexi of the UE; after receiving the ⁇ request message, the MME sends the relevant context to the SGSN;
  • Step 38 Possible recognition process
  • Step 39 The SGSN notifies the MME of its assigned U ⁇ TMSI, U-RA and necessary c xt (such as security parameters);
  • Step 310 Establish a user plane of the S TSN to the UPE or the iASA (inter Access System Anchor);
  • Step 311 Allocating U-TMSI./U-RA and S-TMS1/S-RA to the UE, and the UE does not need to initiate an update registration message when moving between the U-RA and the S-RA;
  • Step 312 RA update confirmation
  • the association between the SGSN and the MME is established through the above process, that is, the SGSN stores the address information of the S-TMSI/S-RA or the MME allocated by the MME to the UE; the MME also saves the U-TMSi/U- allocated by the SGSN to the UE. Address information of the RA or SGSN,
  • the SGSN obtains all the required contexts from the MME. Therefore, the UE needs to obtain the context required by the SGSN when registering to the MME. For example, if the UE does not access the SGSN at all times, the MM0E stores too much context and occupies the MM0E.
  • the process of registering the UE to the 2G/3G and then moving to the SAE is as shown in FIG. 4.
  • the RAU Raster Area Update
  • U-TMSI/U-RA and S-TMSI7S-RA because the context synchronization method is master-slave, therefore, even if the last RAT of the UE is 2G/3G, the latest ccmtext is stored in the SGSN, and the SGSN is still to MME / UPE context request, thereby generating an unnecessary synchronization context 3 ⁇ 4
  • Figure 5 shows the data transmission process in the master-skve mode.
  • the context needs to be requested from the MME, because the latest context is reserved in the MME.
  • the UE accesses the MME it is not necessary to request the context from the SGSN.
  • the uplink data transmission process of the Coordination scheme shown in FIG. 6 is compared.
  • the UE also requests the SGSN to coiitexi when accessing the .ME. That is, the Coordination mode requires the UE to access the SGSN or the MME, and the accessed entity must ⁇ context to the other party, even if it is accessed last time.
  • the entity is the same as this one, but in fact no need to ⁇ context: in this case,
  • Figure 7 shows the RAU process of the intei: SGSN (between SGSNs) in the Master-skve mode.
  • the S-TMSI/S-RA parameters are carried in the Context Request message, and the MME is required.
  • Context
  • the master-slave scheme needs to push the relevant context to the MME, and the UE needs to obtain the context from the MME when accessing the SGSN, and adopts the Coordinatkm scheme, each time accessing the SGSN or the MME.
  • the UE—staying in an access system such as the SGSN these methods will bring unnecessary process of acquiring the context.
  • the present invention provides a method for obtaining an access system context, so as to avoid unnecessary context acquisition process when different RAT technologies are used,
  • the present invention provides a method for obtaining an access system context, the method comprising:
  • the UE accesses the last access system information to the current access system, and the current access system obtains the context from the entity that the UE last accessed the system according to the information.
  • the context can be obtained according to the context in the system that the UE accesses last time, and therefore, the unnecessary context acquisition process can be effectively avoided, thereby making the context acquisition simple and efficient.
  • 3 ⁇ 4 is conducive to the rapid promotion of SAE network technology using the description of the drawings
  • Figure ⁇ is a schematic diagram of an evolution architecture in the prior art
  • FIG. 2 is a schematic diagram of a multi-RAT network structure in the prior art
  • 3 is a flow chart of an implementation of implementing a context in the prior art
  • 4 is a flow chart of an embodiment of implementing an acquisition context in the prior art
  • FIG. 5 is a flowchart of an embodiment of implementing an acquisition context in the prior art
  • FIG. 6 is a flow chart of an embodiment of implementing an acquisition context in the prior art
  • FIG. 8 is a flowchart of Embodiment 1 of the present invention.
  • Embodiment 9 is a flowchart of Embodiment 2 of the present invention.
  • Figure 13 is a flow chart of a sixth embodiment of the present invention.
  • FIG. 14 is a flowchart of Embodiment 7 of the present invention.
  • Figure 15 is a flow chart of an eighth embodiment of the present invention.
  • the UE since the system accessed by the UE last time must have the latest context (because the UE is accessed, if the context of the entity is not up-to-date, the context operation is to be performed), then the UE can access the last time.
  • the information is brought to the network, and the network obtains the context from the last accessed entity according to the information, so that the captured context is the latest.
  • according to different types of information accessed last time. using different methods to get ccmtexL
  • the context is subdivided and decomposed into a static part and a dynamic part.
  • the static part is a context obtained by the SGSN or the MME from the HSS during the attach process, for example, Forwarding information: ListC sends 'information' Column-table), SGSN CAMEL Subscription Info, etc.
  • the dynamic part is the context generated by the static part SGSN or MME according to the UE action, such as MM context!
  • the protocol part is divided into static ⁇ SGSN, MME Common) (the unit is ST ⁇ S, M, C ⁇ ), and the dynamic part is also divided into dy amic ⁇ SGSN, MME, Common ⁇ ⁇ S,M, C ⁇ ), respectively representing the static part Z or the SGSN-specific context in the dynamic part, the MME-specific coniexi, and the public part.
  • the static part is obtained through the HSS. Reconstruction or transfer between entities (occurring in SGSlNi/MME changes), the dynamic part is obtained through the context synchronization method (the previously described master-slave and other methods).
  • ST can be obtained from the HSS reconstruction process, that is, the change of the new entity (SG SN or MME:) must be registered to: HSS, and then take ST information from the HSS, such as ST ⁇ C:, S ⁇ or ST ⁇ C, M ⁇ .
  • ST ⁇ C the change of the new entity
  • S ⁇ or ST ⁇ C the new entity
  • MME the new entity
  • the so-called context synchronization between the MME and the SGSN is only synchronous D Y (C).
  • the original park is that only this part can be converted between the MME and the SGSN and the SGSN is changed.
  • the new SGSN C new SGSN also takes the DY S ⁇ from the original SGSN (old S xSN ).
  • the new MME ( New MME ) To get DY ⁇ M) to the original MME (old MME).
  • the UE is first attached to the MME.:
  • the dynamic context required by the MME is obtained from the HSS in the HSS reconstruction process, that is, the HSS generates ST ⁇ C and is sent to the MME; the MME generates DY ⁇ M:, C ⁇ ; then, the MME retains ST C, M: ⁇ and: DY (M, C
  • the UE attaches to the MME first, then moves to the SGSN.
  • the SGSN obtains DY ⁇ C ⁇ from the MME, ST ⁇ S, C ⁇ t from the HSS, and DY ⁇ S ⁇ from the SGSN.
  • the reserved context is: ST ⁇ S, C ⁇ , DY ⁇ S, C ⁇ , the latest: DY C ⁇ in SGSM:
  • the specific process of this situation is:
  • Step 800 The UE was originally attached to the SAE and currently enters the 2G/3G network;
  • Step 801 The UE sends a routing update (R.A Update) request to the SGSN in the 2G/3G network, where the request carries the S-TMSI and the S-RA identifier allocated by the last accessed SAE system for the UE;
  • R.A Update routing update
  • the S-TMSI indicates the temporary mobile subscriber identity of the SAE
  • the U-TMSI indicates the temporary mobile subscriber identity of the UMTS
  • the S-RA indicates the RA of the SAE, that is, the TA
  • the U-RA indicates the RA of the UMTS
  • Step 802 to Step 803 The SGSN determines the old MME that the UE last accessed according to the S-TMSi and the S-RA, and sends an SGSN context request to the old MME. After receiving the message, the MME returns the DY ⁇ C ⁇ through the SGSN context response message to implement synchronization between the SGSN and the MME.
  • Step 804 The authentication process is completed by using an authentication (Auth.) message between the SGSN and the UE.
  • Auth. authentication
  • Step 805 The SGSN returns an SGSN context acknowledgment (ACK) message to the o!d MME to confirm that the DY (C ⁇ has been correctly synchronized. Then, the SGSN establishes an association with the MME.
  • ACK SGSN context acknowledgment
  • the execution sequence of step 805 and step 804 is not Affecting the implementation of the present invention.
  • Step 806 The SGSN sends a location update (Uixhate Locatkm) message to the HSS to notify the HSS that the current UE has changed its location;
  • a location update (Uixhate Locatkm) message
  • Step 807 to step 80S The HSS sends a Cancel location message to the old SGSN, and the HSS sends the STfCSj of the i UE to the SGSN through the Insert Subscriber data message;
  • Step 809 The SGSN confirms to the HSS that the current location update is successful.
  • Step 806 809 is only changed in the SGSN, that is, when the UE moves to an SGSN that has not been registered, if the UE is currently moving to the SGSN that has been registered last time, step 806 809 may not be performed;
  • Step 810 The SGSN allocates a new U-TMSI, U-RA to the UE, and sends the U-TMSK U-RA to the UE.
  • the original S-TMSI/RA may also be sent to the UE in one step.
  • the step 80] may further carry the RAT type identifier, and indicate the last accessed network by the identifier, in this embodiment, that is, It is indicated that the last accessed network is the SAE, and the SGSN can send the context request message to the MMIE in the SAE according to the far RAT type identifier, and the invention can also be implemented;
  • the CRN C Context Reference Number (Context Reference Number) may be further carried in the RA Update message of step 801, so as to further complete the acquisition of the context by using the CRN, the CRN is used as follows:
  • Step 2 The UE accesses the MME or the SGSN, and after updating the context, does not push the context, such as the ccmtext of the access entity (MME or SGSN) changes, updates the CRN (such as CRN CRN+) saved by the entity itself; CRN is a loop Value, reset to the lowest value when the highest value is reached) and send the updated CRN to the UE (in real time or when the connection is released); Step 2: The UE accesses an entity, and sends the CRN to the entity.
  • the context such as the ccmtext of the access entity (MME or SGSN) changes, updates the CRN (such as CRN CRN+) saved by the entity itself; CRN is a loop Value, reset to the lowest value when the highest value is reached) and send the updated CRN to the UE (in real time or when the connection is released);
  • Step 2 The UE accesses an entity, and sends the CRN to the entity.
  • the above process can further simplify the process of obtaining the context: Determine whether the context needs to be obtained according to the value of the CRN, so as to avoid unnecessary process of obtaining the context.
  • the UE moves from the previous access network to the MME.
  • the MME to which the UE moves is the MME that the UE has already registered:
  • the identifier carried in the RA Update sent by the UE is the access entity itself, and the entity does not take the context from the SGSN and the HSS.
  • the read scheme is relative to the existing Coordination mode. , saving the process of taking the context;
  • the UE sends the read information to the network (for example, sending the identifier of the 2G/3G assigned U-TMSi/U-RA, or sending all the identifiers to the network, but indicating the last connection
  • the incoming network is 2G/3G)
  • squadMME takes DY (C ⁇ to SGSN, MME's context is DY (C ; M), ST ⁇ C,M ⁇ ; The latest: DY ⁇ C ⁇ is in MME,
  • the method of combining the master-Slave or the combination mode with the CRN for example, if the CRN sent by the UE matches the CRN saved by the MME, the context is not required, thereby saving the context step; for example, the UE accessing the MME obtains the latest context, the UE If the SGSN is accessed again, but the context is not changed, the MME is accessed again.
  • the method of using the CRN does not need to ⁇ context from the SGSN.
  • the specific process of obtaining the context includes:
  • Step 900 The UE accesses the 2G/3G network last time, and accesses the SAE network this time, and then moves to the MME;
  • Step 01 The UE sends an R A Update message to the MME, where:
  • the MME Only the identifier of the current access assignment, ie S-TMSI/S-RA, is carried in the message, so that in the subsequent step, the MME is from the saved context (if the MME is a new access entity, the new .ME is from the old).
  • the MME obtains the SGSN corresponding to the associated SGSN address information in the eotitext, so as to retrieve the coiitext from the SGSN, or
  • the message may also carry the type of the last accessed entity (ie, type), etc., which can indicate the type of the last access entity, so as to assist the MME in finding the SGSN in a subsequent step (if the access entity cannot distinguish
  • the following description uses the RAT type as the information for distinguishing the access type;
  • Step 902 to step 903 The MME determines the corresponding SGSN according to the content of the RA Update in step 901, and sends an SGSN context request message to the SGSN; the SGSN returns the DY ⁇ C) to the MME through the SGSN context response message. , thereby implementing synchronization of DY ⁇ C ⁇ ;
  • Step 905 The MME sends an SGSN context ACK message to the SGSN, confirming that the context synchronization is successful.
  • Step 906 The MME allocates a new S-TMSI, S-RA to the UE, and sends the S-TMSI and the S-RA to the UE.
  • the ME may further send the original U-TMSI/RA to the UE. , does not affect the implementation of this.
  • the CRN may be further carried in the RA Update message of step 901, so that the CRN' is used to complete the acquisition of the context, and the CRN is used to complete the manner of the embodiment of the present invention and the CRN that has been described above. The same way of use.
  • the UE carries the U-TMS:/U-RA allocated by the last accessed entity SGSN to the MME, and the MME takes the coirtex from the SGSN according to the identifier, and may also carry the class of the last accessed entity to assist.
  • the MME finds the SGSN (if the access entity cannot distinguish between the identifier assigned by the UMTS to the UE and the identifier assigned by the SAJE), or the UIE carries the identifier S-TMS1/S-RA assigned by the access RAT, and the MME corresponds to the associated SGSN from the saved context.
  • the corresponding SGSN is found in the address information, and the context is obtained from the SGSN.
  • the UE carries the identifiers, and the UE may also carry the CRN. If the CRN carried by the UE matches the CRN saved by the MME, it is not necessary to take ccmtexl from the SGSN. - ⁇ ! - This step ⁇ 902, 903, 905 is a dotted line)
  • the UE moves to the SGSISi, where, in this case, the SGSN to which the UE moves is the SGSN that the UE has registered:
  • the UE moves to the new SGSN, where the new SGSN refers to: the UE moves to an SGSN that has not been registered last time;
  • the last access to this access is still: G 3G but changed to an SGSN, then new SGS takes the context DY ⁇ C, S ⁇ to the old SGSN, and then the new SGSN registers the request with the HSS ST ⁇
  • the context of C, S ⁇ is finally associated with the MME (the MME address information is learned from the context retrieved by the SGSN, or the iib information of the MME is obtained by the S-TMSI/S-RA carried by the UE) ;
  • Step 1000 The UE accesses the 2G/3G network last time, and moves to the new SGSN.
  • Step 1001 The UE sends an RA Update message to the new SGSN, where:
  • the current access RAT is only the assigned identifier, U-TMSIZU-R A, so that in a subsequent step, the new SGSN can obtain the context from the oid SGSN according to the identifier, so as to further understand the MME address information; Or,
  • the type RA1 of the last accessed entity is also carried, so as to be followed by Step to assist w SGSN to find the last accessed entity
  • Step 1002 The new SGSN sends an SGSN coiitext request message to the oki SGSN according to the relevant identifier carried in the A Update, requesting to obtain the context;
  • Step 1003 The old SGSN returns the dynamic context DY ⁇ C, S ⁇ to the new SGSN through the SGSN context response message;
  • Step 1004 The new SGSN performs an authentication message interaction with the IJE to complete the authentication process.
  • Step 1006 Because the UE moves to the SGSN, the location update process is triggered, and an Update Location message is sent to the HSS.
  • Step 1007 The HSS sends a cancel location message to the old SGSN.
  • Step 1008 The HSS performs message interaction with the new SGSN, and the static context ST ⁇ C, S ⁇ of the UE passes the Insert subscriber data message. Sending to the new SGSN;
  • Step 1009 The new SGSN performs a message exchange with the HSS to inform the HSS that the location update is successful;
  • Step 1010 The new SGSN performs an Associaiicra setup association with the MME to establish a message interaction, and establishes an association between the MME and the new SGSN;
  • Step 10 The new SGSN allocates a new U-TMSI, U-RA to the UE, and sends the U-TMSL U-RA to the UE.
  • the new SGSN may further convert the original S-TMSI/RA. Sending to the UE does not affect the implementation of the present invention:
  • the CRN may be further carried in the RA Update message of the step 1001, so that the CRN is used to complete the eomexi acquisition, and the manner in which the embodiment of the present invention is implemented by using the CRN is the same as the CRN used in the foregoing.
  • the identifier carried in the RA Update message may also include the identifier allocated by the RAJ for the current access to the UE, and the identifier of the last accessed RAT for the UE, indicating that the last access is The identifier of the type of the RAT, or all three of them, where:
  • the UE If the U-only carries the identifier assigned by the access RAT to the UE, as shown in FIG. 10, the UE carries the U-TMS/J-RA identifier to the network, and obtains the coMexL from the o SGSN according to the identifier. If the UE only carries the identifier assigned by the last accessed RAT to the UE, the UE also carries the U-TMSI/U-RA to the network (because the last access is 2G/3G ⁇ ) Sub-case 2:
  • the last entity accessed is MME: new SGSN gets DY (C ⁇ from MME, new SGS gets DY ⁇ S ⁇ from d SGSN; since SGSN is the last unregistered SGSN, new SGSN needs to The HSS obtains ST "C, S ⁇ .
  • the flow is shown in Figure 1!, wherein the function of the specific message in each step is the same as or similar to the function of the corresponding step in Figure 8 and Figure 9, including:
  • Step 1] 00 The UE accesses the S.AE network last time, and this time moves to the new new SGSN;
  • Step 1] (H: The UE sends an R A Update message to the new SGSN, where:
  • the RA Update message carries only the identifier of the current access RAT, and the subsequent steps are implemented as follows:
  • the UE accesses the new SGSN, and the new SGSN finds that it has no context of the UE, according to the RA Update message.
  • the carried U-TMS [obtain the oM SGSN address, send a context request to the oM SGSN, request to obtain DY(S ⁇ , then register with the HSS, obtain ST ⁇ C, S ⁇ .
  • the address information or the S ⁇ TMSi/S ⁇ RA sent by the UE is used to learn the address information of the MME, and obtain the latest DY ⁇ C ⁇ ; the specific implementation of the process will be described in detail later;
  • Step 102 After receiving the RA Update message, the new SGSN finds that it does not have the context of the UE, and then extracts the old SGSN address according to the U-TMSi carried in the RA Update message, and sends an SG SN context request message to the oW SGSN to request acquisition.
  • DY (S) After receiving the RA Update message, the new SGSN finds that it does not have the context of the UE, and then extracts the old SGSN address according to the U-TMSi carried in the RA Update message, and sends an SG SN context request message to the oW SGSN to request acquisition.
  • Step i 103 The old SGSN returns the DY ⁇ S to the new SGSN through the SGSN context respons message;
  • Step 1104 The new SGSN performs an authentication message exchange with the UE to complete the authentication process.
  • Step 1.05 The new SGSN returns an SGSN context ACK message to the dd SGSN to confirm that the context update is successful.
  • Step 106 Since the UE moves to the new SGSN, the location update process is triggered, and an Update Location message is sent to the HSS.
  • Steps 107 to 1109 are the same as steps 007 to 1009 described above, and are not described in detail herein;
  • Step illl new SGSN allocates a new U-TMS1, U-RA to the UE, and sends the U-TMSI, U-RA to the UE; the new SGSN establishes an association with the MME; in the read step, the new SGSN can further The original S-TMS1/RA is sent to the UE without affecting the implementation of the present invention.
  • the RA Update of the step 101 may carry other identifiers, and the identifiers carried by the roots are different, and the subsequent steps are correspondingly changed, and the identifiers carried in combination with the different identifiers are different.
  • the flow shown in Figure H corresponds to: S-TMSi/ sent by the new SGSN through the UE.
  • the S-RA first obtains the context of the MME, such as DY ⁇ C ⁇ , and obtains the address information of the old SGSN from the obtained context, obtains the DY ⁇ S) from the old SGSN, and obtains the SI ⁇ C through the process of registering to the HSS. , S ⁇ vide
  • the new SGSN sends a context request to the dd SGSN according to the identifier, and then the old SGSN obtains the context request from the MME again. After context DY ⁇ C ⁇ , send the latest context DY ⁇ C,S ⁇ to new SGSN.
  • the new SGS sends a context request to the MME, and then the MME takes the DY from the od SGSN.
  • S ⁇ send the latest context DY ⁇ C,S ⁇ to the new SGSN,
  • the accessed entity does not have a context, directly compares the CRN from dd SGS ⁇ eoDtext, if the subscription (such as the CRN sent by the UIE is the same as the CRN saved by the access entity), it is not necessary to take the context to the MME, only the association is established; or the CRN is Send it to the old SGSN. If the CRN matches the CRN in the old SGSN, send DY ⁇ S, C ⁇ to the new SGSN. Otherwise, only DY ⁇ S ⁇ is sent. After the new SGSN is received, it is decided whether to send the CMccmtexi again to the MME.
  • the ne MME takes DY (C ⁇ from the SGSN; then takes the DY ⁇ M from the old MME; and takes ST ⁇ M,C ⁇ from the HSS.
  • the new MME takes the following from the old MME: DY ⁇ C 5 M; , obtains ST(M , C ⁇ > from the HSS and establishes an association with the old SGSN.
  • the UE first attaches to the SGSN:
  • the UE first attaches to the SGSN, the SGSN registers with the HSS, the SGSN obtains ST ⁇ C, S ⁇ from the HSS, and the SGSN itself generates DY ⁇ C, S ⁇ .
  • the UE first attaches to SGSM and then moves to the MME:
  • the UE sends the last access identifier, that is, U ⁇ TMSI/U-RA to the MME, and the MM:E obtains the latest context from the SGSN according to the ⁇ identifier: DY ⁇ C ⁇ , and the MME re-registers with the HSS, and obtains the ST from the HSS.
  • the last access identifier that is, U ⁇ TMSI/U-RA
  • the MM:E obtains the latest context from the SGSN according to the ⁇ identifier: DY ⁇ C ⁇
  • the MME re-registers with the HSS, and obtains the ST from the HSS.
  • the UE itself is to send the identifier of the current access, but it is not yet registered to the SAE, so the assigned identifier is still sent, that is, U-T3VJSI U-RA,
  • the UE may carry the identity of the current access, that is, the S-TMSI/S-RA. If the MME is different from the MME when the UE detaches (de-attach), the MME obtains the 1MS1 of the UE from the old MME, and then registers with the HSS. Obtain the address information that the UE has registered to the SGSN from the context obtained by the HSS, and ⁇ SGSN obtains the context, :
  • the description SGSN only retains ST ⁇ C, S ⁇ , DY ⁇ C, S ⁇ > MME only retains the scenes of ST "C, M ⁇ , DY ⁇ C ? M ⁇ , and considers that the save mode is
  • the UE since it is possible that the UE does not enter another access technology after registering to one access technology, it is not necessary to retain the unnecessary context.
  • the UE may access multiple entities when accessing an entity
  • the entity takes the context if the UE accesses an entity and obtains all DYs, then there will be no case where the cemtext is taken from both the SGSN and the MME. If the UE accesses the MME, the last time the SGSN was accessed, then SGSN it will DYiC, S ⁇ are sent to MME UE then this new SGSN will not have access to the Old SGSN context taken ⁇
  • Step 1200 The UE accesses the MME of the SAE network last time, and moves to the new SGSN.
  • RA Update Ring Area Update
  • the manner of identification may be in a manner similar to the embodiment described above;
  • Step 1202 After receiving the RA Update message, the new SGSN sends an SGSN context request message to the MME according to the identifier carried in the RA Update message. Since all dynamic contexts are saved on the MME, the implementation is compared with FIG. In the example, the new SG SN does not need to request DY ⁇ S ⁇ from the od SG SN;
  • Step 1203 The MME returns DY ⁇ C, S, M ⁇ to the new SGSN by using an SGSN context response message.
  • Step 1204 The new SGSN performs an authentication message interaction with the UE to complete the authentication process.
  • Step 1205 The new SGS returns an SGSN context ACK message to the MME, confirming that the context update is successful; the new SGSN is associated with the MME;
  • Step 206 to step 1209 is the same as step genre to step 1109;
  • Step: 1210 is the same as step 111.
  • the UE first accesses the MME and then accesses the new SGSN, and then takes context DY ⁇ all ⁇ to the MME, and also takes DY ⁇ M ⁇ for re-accessing the new MME in the UE. At that time, it is only necessary to obtain the context from the SGSN, thereby avoiding obtaining the co.rtiexL from both the o dj MME and the SGSN.
  • the embodiment is only for the description of the specific implementation of the present invention in the case that the UE first accesses the MME and then accesses the new SGS. Similarly, for the eight cases that have been described above, the embodiment may be separately adopted. Implemented in a similar way.
  • the SGSN and the MME may retain all the eratexts, that is, ST ⁇ all ⁇ , DY ⁇ aM), or may only save their own related contexi, such as the SGSN to save the ST ⁇ C> S ⁇ , DY ⁇ C, S ⁇ ; MME saves ST ⁇ C, M], DY ⁇ C, M ⁇ .
  • the SGSN retains its own context, that is, ST ⁇ C, S ⁇ , DY ⁇ C, S ⁇ ; and the MME retains all the coMexts.
  • the scenario is that the application is not registered with the HSS after the replacement of the SGSN, and only the last accessed entity ⁇ Context, and replacing the MME requires registration with HSS3 ⁇ 4
  • the new SGSN takes ST ⁇ al) from the old SGSN, and DYia l ⁇ , 3 ⁇ 4 no need to obtain the ST from the HSS. (C, S); new SGSN is then associated with the MME.
  • the reason for taking contextfall ⁇ is to let the UE move to the nmv MME again, and can directly send and send the MME-related context from the SGSN to the new MME.
  • the new SGSN takes context ⁇ a ⁇ from the MME to establish an association with the MME, and the old SGSN context is deleted by the HSS or the MME (the present invention does not limit the deletion of the context).
  • the process is shown in Figure 13:
  • Step 1300 The UE accesses the MME of the SAE network last time, and moves to the new SGSN.
  • Step 1302 After receiving the RA Update message, the new SGSN sends an SGSN context request message to the MM.E according to the identifier carried in the RA Update message. Since all dynamic and static contexts are saved on the MME, therefore, compared with FIG. 11 And FIG. 12, in this embodiment, the new SGSN does not need to obtain the DY(S) from the old SGSN, and does not need to acquire the ST(C, S) from the HSS;
  • Step 1303 The MME returns its saved DY ⁇ C, S, M ⁇ and ST (C, S, M) to the new SGSN through the SGSN context response message;
  • Step 1304 The new SGSN performs an authentication message exchange with the UE to complete the authentication process.
  • Step 1305 The new SGSN returns an SGSN context AC message to the MME, confirming that the context update is successful; the new SGSN is associated with the MME;
  • Step 306 The MME sends a Caned Location message to the old SGSN;
  • Step 1307 The new SGS allocates a new U-TMS and U-RA to the UE, and sends the U-TMSI and the U-RA to the UE.
  • the new SGSN may further convert the original S-'IMSI.
  • the /RA is sent to the UE without affecting the implementation of the present invention.
  • the new SGSN no longer needs to obtain static contexi from the HSS and obtain it directly from the MME.
  • the new SGSN obtains DY ⁇ all) and ST ⁇ aJ1 ⁇ from the MME in step 3303, it is possible to enable the UE to obtain the corresponding context only from the SGSN when re-accessing from the SAE to the new SAE. There is no need to retrieve context from the old MME.
  • the newly accessed entity obtains all dynamic conte t from the last accessed entity, and obtains static eoiitext from the HSS (if the new access entity changes, otherwise no static context ⁇ is required to be taken to the HSS)
  • Step 1400 The UE accesses the MME of the SAE network last time, and moves to the new SGSN.
  • Step 1401 The UE sends an RA Update message to the new SGSN, and the manner in which the identifier is carried in the ⁇ message may be adopted as above. The manner in which the embodiments are described;
  • Step 1402 After receiving the R A Update message, the new SGSN learns that the MME is the entity that the UE accessed last time, and sends an SGSN context request message to the MME according to the identifier carried in the RA Update message.
  • Step 1403 The MME returns DY ⁇ C ⁇ and ST ⁇ C ⁇ to the new SGSN by using an SGSN context response message.
  • Step 404 The new SGSN performs an authentication message interaction with the UE to complete the authentication process.
  • Step 405 The new SGSN returns an SGSN context ACK message to the MME, confirming that the context update is successful; new SGS establishes association with the MME;
  • Step 406 The new SGSN determines the address of the dd SGSN according to the identifier carried in the RA Update message in step 1401, and sends an SGSN context request message to the SGSN to request the context (ST S and DY ⁇ S) related to the SGSN. ; Because the SGSN has its own context, it is no longer necessary to obtain it from the HSS.
  • Step 1407 old SGS returns DY ⁇ S ⁇ and ST ⁇ S ⁇ to the new SGSN through the SGSN context response message;
  • Step 1408 The new SGSN returns an SGSN context ACK message to the old SGSN to confirm that the context update is successful.
  • the process of deleting the ecmtexi by the old SGS may be further triggered, which does not affect the implementation of the present invention;
  • Step 1409 The ew SGSN allocates a new U-TMS1, U-RA to the UE, and sends the U-TMSI and the U-RA to the UE.
  • the new SGSN may further convert the original S-TMS!/RA. send to
  • the parameters of the UE access in the above process may be S-TMSI/S-RA and/or U-TMSI/U-RA.
  • the UE may carry all the identifiers; or, the IIE only carries the last accessed entity. If the last access of the UE is SAE, the current access carries the S-TM:Si/S-RA, and the context is taken by the entity that accesses the network. Alternatively, the UE can carry only the current access.
  • the identifier of the entity allocation such that the behavior of the dual-mode UE is the same as that of the single-mode. Only when the UE has not registered to an access system, other identifiers can be carried.
  • the ST Context Static, Static Context
  • each entity retains the minimum omtexi, including the following steps:
  • Step 1500 ⁇ Step 1503 The UE is powered on and registered to the 2G/3G network;
  • Step 504 The UE sends a Routing Area Update (RAU) message to the MMIE. Since the current UE has only accessed the 2G 3G network and has not accessed the SAE, the message carries the identifier U- that has been allocated to the UE. TMSi/U-RA;
  • RAU Routing Area Update
  • Step 505 The MME determines the address of the old SGS according to the U-TMSI/U-RA carried in the routing update message, and sends an SGSN context request message to the old SGSN to request the relevant context.
  • Step 1506 The old SGSN returns the DY ⁇ C ⁇ to the MME through the SGSN context response message;
  • the UE then moves to the 2G/3G network and accesses the SGSN;
  • Step 1508 The UE sends an RA Update message to the new SGSN, where the message carries the identifier U-TMSI, IJ-RA that the system has assigned to the UE.
  • Step 1509 The new SGS sends an SGSN fine text reqoesi message to the old SGSN, requesting to obtain a corresponding context;
  • Step 1510 The old SGSN returns the address information of the DY ⁇ Sj and the MME to the new SGSN through the SGSN context response message.
  • Step 15H The oew SGSN sends an SGSN context request message to the MME, requesting the corresponding context;
  • Step 15] 2 The MME returns the DY ⁇ C ⁇ to the new SGSN through the SGSN context response message (because the last accessed entity is the MME, DY (the Q is the latest at the MME); the new SGSN is associated with the MME;
  • Step 15 The new SGSN performs authentication message interaction with the UE to complete the authentication process.
  • Step 1514 The HSS generates ST ⁇ C, S ⁇ , and sends the STiC, S ⁇ to the new by interacting with the Register SGSN message of the new SGSN.
  • SGSN In the embodiment of the present invention, the oki SGSN may be further triggered to delete the context;
  • Step 1515 The new SGS allocates a new U-TMSL U-A to the UE, and sends the U»TMSI > U-RA to the UE.
  • the new SGSN can further send the original S-TMSI/RA I For the UE, does not affect the implementation of the present invention
  • the UE accesses the RAU from the attach.
  • the UE does not assign the corresponding identifier
  • the UE access carries the assigned identifier. Otherwise, the UE accesses the identifier assigned by the system that carries the access.
  • the new SGS first obtains the address information of the MME by using the identifier carried in the RA Update message, and obtains the context from the MME according to the address information. And get the address information of the old SGSN, and then get DY ⁇ S ⁇ to the SGSN.
  • the UE may also carry the identifier allocated by the access system in the access, as in the above step 504, the UE may carry the SAE assigned identifier (old S-TMS1/S-RA) to access the SAE.
  • the system registers the MME with the HSS, obtains the SGSN address that the UE has registered from the HSS, and obtains the DY C ⁇ from the SGSN. As shown in Figure 16, the following steps are specifically included:
  • Step 1600 ⁇ step according to 1603 is the same as step 1500 ⁇ step ⁇ 503 above;
  • Step 1604 the UE always carries the identifier allocated by the local system in the access, and therefore, in the step, the IJE carries the identifier allocated by the SAE, and the SMESI-S-RA accesses the SAE system. Specifically, the UE sends a Routing Area Update (RAU) message to the MME, where the message carries the identifier oM S-TMSi/S-RA allocated by the S. AE network that the UE originally accesses to the UE.
  • RAU Routing Area Update
  • the premise that the bearer carries the read old S-TMSI/S-RA is that the UE has the SAE parameter saved in the detach state, and the subsequent steps described in this embodiment are all performed for the MME to change;
  • Step 1605a The oew MME sends a Mentiilcatio Request message to the old MME identified by the old S-TMSI/S-RA, and requests the UE's International Mobile Identity (IMSI) from the old MME.
  • IMSI International Mobile Identity
  • Step 1605b The old MME finds the message corresponding to the UE according to the old S-TMSI, and sends the IMSI to the new MME.
  • Step 1606a The read MME finds the HSS where the UE is located according to the leg ⁇ of the UE, and sends a registration message.
  • Step 1606b The HSS sends the ST ⁇ C, M ⁇ of the UE and the address information registered by the UE to the new MME.
  • Step 1607a The new MME sends a context request message to the oM SGSN according to the address information of the SGSN registered by the UE.
  • Step 1607b old SGS returns to the new MME 3 ⁇ 4 context C DY ⁇ C) );
  • the UE then moves to the 2G/3G network and accesses the SGSN;
  • the dance 608 and the step 1615 are the same as the above steps 1508 to 1515, and the description will not be repeated here.
  • the method can also be applied to another scenario.
  • the ME registers with the HSS>SGSN to treat the MME as an HSS, and can obtain a static context from the MME (ie, the HSS only registers the MME, the SGSN).
  • the UE can register to the MME and the SGSN ⁇ . If the UE accesses the SAE last time, then accesses the 2G/3G, if the accessed node is already registered.
  • SGSISU SGS gets DYfC from MME ? Does not get context from other nodes.
  • the ww MME obtains DY(C, M ⁇ , STIC, S ⁇ from the dd MME > obtains ST ⁇ M ⁇ from the HSS, or obtains all contexts from the old MME.
  • the new MME then associates with the SGSN.
  • the MME obtains DY ⁇ C ⁇ from the SGSN, and does not obtain the context from other nodes.
  • the new MME obtains DY (C) from the SGSN, and obtains DY ⁇ M ⁇ , ST S ⁇ from the od MME or ST C, S ⁇ , from HSS ⁇ - take ST (M ⁇ or ST (C, M ⁇ or all static context.
  • the new MME is then associated with the SGSN.
  • the new SGSN obtains the DY C, S ⁇ from the old SGSN, and acquires the ST ⁇ C, S ⁇ from the MME, and the new SGSN establishes an association with the MME.
  • the HSS may need to actively modify the context of the ME and/or the SGSN.
  • the HSS records the location information of the two entities of the SGSN and the MME, for example, the HSS actively modifies the data of the UE (it may be considered that the data belongs to Static context), then the two entities are directly sent to modify, and the CRN does not need to be changed, and the UE is not required to be notified.
  • the two entities maintain their respective static contexts.
  • the present invention can also be applied to single registration, that is, after the signaling is activated, the UE is restricted to register in two.
  • the RAT entity In the RAT entity, but only one RAJ entity (the entity that the UE newly accesses) is registered in the HSS, and another RAT entity is registered in the entity.
  • the ME registers with the HSS
  • the SGSN uses the MMIE as its virtual HSS
  • the SGSN registers only with the MME; in this case, the method is:
  • the method is: The SGSN obtains ⁇ ⁇ C ⁇ from the MME, and does not obtain the context from other nodes;
  • the method is:
  • the ew SGSN acquires DY "C ⁇ , ST ⁇ C ; S ⁇ from the MME as the virtual HSS, acquires DY ⁇ S ⁇ from the old SGSN, and does not associate with the HSS, and then the MME associates with the new SGSN; or, ⁇ w SGSN acquires all contexts from the MME as a virtual HSS;
  • the method is: oew MME obtains DY(C, M), ST ⁇ C, S ⁇ from the old MME, and obtains ST ⁇ M from the HSS. ), or obtain all the context from the o d MME, after which the new MME is associated with the SGSN;
  • the method is:
  • the MME obtains DY ⁇ C ⁇ from the SGSN, and does not extract context from other nodes;
  • the 3 ⁇ 4 method is:
  • New MME obtains OY ⁇ C ⁇ from SGSN, DY ⁇ M: ⁇ , ST ⁇ S ⁇ or ST ⁇ C, S ⁇ from old MME, ST ⁇ M ⁇ or ST ⁇ C, M: or all static from HSS Context: 'After the new MME is associated with the SGSN;
  • the new SGSN acquires DY ⁇ C, S ⁇ from the old SGS, and acquires ST ⁇ CS ⁇ from the MME, and the new SGSN establishes association with the MME. :
  • the SGSN is registered to the HSS, and the SGSN is used as the virtual HSS of the MME.
  • the MME is only registered to the SGSN, and the same is true.
  • the access procedures of the present invention include, but are not limited to, location area update, service request, paging response, Detach, etc., and the location area update is taken as an example for description.

Abstract

A method for obtaining contexts of access system includes the following features: The user equipment UE accesses to the current access system; The information of preceding access system is provided for the current access system, which obtains contexts from the entity of preceding access system according to the information. The present invention can obtain contexts according to the contexts of preceding access system, therefore can effectively avoid unnecessary context obtaining processes, make the context obtaining process simpler and more efficient, and can further promote the spread of SEA network technology.

Description

获取接入系统上下文的方法  Method for obtaining access system context
本申请要求于 2006 年 8 月 16 日提交中国专利局、 申请号为 200610115654.4、 发明名称为"获取接入系统上下文的方法 "的中国专利申请的 优先权, 其全部内容通过引用结合在本申请中。  The present application claims priority to Chinese Patent Application No. 200610115654.4, the entire disclosure of which is hereby incorporated by reference in its entirety in its entirety in .
技术领域 Technical field
本发明属于通讯技术领域, 尤其涉及一种获馭接入系统上下文的方法 背景技术  The present invention belongs to the field of communication technologies, and in particular, to a method for obtaining a context of an access system.
在当前的第三代合作伙伴项目 ( Third Generation Partnership .Project , In the current third generation partnership project ( Third Generation Partnership .Project ,
3GPP ) 通讯系统中, 各厂商积极研究系统架构演进 (System Architecture Evolution > SAE)技术以及长期演进( Long Term Evolution, LTE )技术, 其中, LTE技术的目的是提供一种能够降低时延、提高用户数椐速.率、 改进的系统容 量和覆盖的低成本的网络。 在该 ΟΈ技术中, 只使用 PS ( Packet Switched, 包交换)域业务, 承载网络都为 IP承载 In the 3GPP) communication system, each vendor actively researches System Architecture Evolution (SAE) technology and Long Term Evolution (LTE) technology. The purpose of LTE technology is to provide a method for reducing delay and improving users. Several idle speeds, improved system capacity and coverage of low-cost networks. In this technology, only the PS (Packet Switched) domain service is used, and the bearer network is an IP bearer.
在此基础上, 已经衍生出很多新的网络架构, 一种比较流行的架构如图 1 所示。 参见图 1 , 在该架构中, LXE RAN为演进网络的无线接入网, 其中的节 点我们不做「艮定,具有 eNodeB,可能也有控制面服务器( Ccwitro! Plane Server, CPS ). 在逻辑上将其作为长期演进无线接入网实体(JLTE- RAN Entity ) 在该 架构中, 除了具有 UTE-RAN Entit 外, 还具有移动管理实体 /用户面实体 (Mobility Management Entity, User Plane Entity, MME/UPE) , 其中, MME的功 能是保存用户设备 ( User Equipraeot, UE )的移动管理 (MM )上下文, 如用 户的标识、 移动性状态、 跟踪区( Trackmg Area , TA )信息等, 并对用户进行 认证; UPE的功能在于: 对于处在空闲 (idle )状态的 UE终结下行数据, 同 时触发寻呼,并保存 UE的上下文,如 UE的 IP地址和路由信息等 User Plane Anchor是用户面的锚点,在用户的会话时间内是不变的 MME/UFE是否分离 对下面的方法不受限制  On this basis, many new network architectures have been derived, and a more popular architecture is shown in Figure 1. Referring to Figure 1, in this architecture, the LXE RAN is a radio access network of an evolved network. The nodes in which we do not do "determinate, have eNodeB, and may also have a control plane server (Ccwitro! Plane Server, CPS). Logically It is used as a Long Term Evolution Radio Access Network Entity (JLTE-RAN Entity). In this architecture, in addition to UTE-RAN Entit, it also has Mobility Management Entity (User Plane Entity, MME/UPE). The function of the MME is to save the mobility management (MM) context of the user equipment (User Equipraeot, UE), such as the user's identity, mobility status, Tracking Area (TA) information, etc., and authenticate the user. The UPE functions to: terminate the downlink data for the UE in the idle state, trigger the paging at the same time, and save the context of the UE, such as the IP address and routing information of the UE, etc. User Plane Anchor is the anchor point of the user plane. Whether the MME/UFE is unchanged during the user's session time is not restricted to the following methods
随着对于上述网络架构的不断深入研究, 在不同无线接入技术 (Radio Access Technology, RAT)间限制信令成为一个十分重要的课题。 例如, UE在 不同 RAT间移动(如 2G/3G的网絡和演进网络), UE会由于其当前所驻扎网 络的变化而乒乓引起网絡注册 i , ·该频繁的网络注册过程会产生大量的注册 信令开销, 从而极大地浪费空口资源, 因此需要研究如何对泫过程中的信令交 互加以「艮制, 从而避免空口资源的浪费。 With the in-depth study of the above network architecture, limiting signaling between different Radio Access Technologies (RATs) has become a very important issue. For example, if the UE moves between different RATs (such as a 2G/3G network and an evolved network), the UE may cause the network registration i due to the change of the network it is currently camping on. · The frequent network registration process generates a large number of registrations. Signaling overhead, which greatly wastes air interface resources. Therefore, it is necessary to study how to control the signaling interaction in the process to avoid waste of air interface resources.
下面以图 2为例, 对上述频繁的网絡注册过程加以说明。  The following is a description of the above-mentioned frequent network registration process by taking FIG. 2 as an example.
参见图 2, RAJ和 RA2为现有的 2G/3G的路由区 (Routmg Area ), 现有 的 2G/3G的 UE在每更换一次 RA都要发起路由区更新( Rcmfeg Area Update, RAU )过程 当然, 即使 UE在不更换 RA的情况下, 也有周期性的位置更新 过程, 其作用是使网络了解 UE目前是否还在网絡, 以防止 UE离开网络但网 络不了解而不断寻呼 UE的情况发生。 在本发明中 > 都不考虑 UE周期性位置 更新的情况。 再参见图 2, TAK TA2, TA3 TA4是演进网絡的跟踪区, 读跟 踪区类似于 2G/3G的 RA 这样, 当一个支持不同接入网絡的多模 UE在这些 区域移动时, 如果没有一定的机制, 将会导致频繁的网络注册过程 例如, 当 UE进入 RA1 , 驻扎在 2G./3G接入系统时, 会向 2G/3G的 SGSN注册, 当 UE 进入 TA1 , 驻扎到 LTE接入系统时则又会向演进网络的 MME/UPE注册, 当 UE又移动出 TA1进入 RA1时, 则又需要向 2G/3G的 SGSN注册,, 通过上述 注册以使得网絡能在 RAT中寻呼到 UE, 但是, 上述注册过程所带東的注册信 令开销是巨大的  Referring to Figure 2, RAJ and RA2 are the existing 2G/3G routing areas (Routmg Area). The existing 2G/3G UEs must initiate the RCM (Regular Area Update, RAU) process every time the RA is replaced. Even if the UE does not replace the RA, there is a periodic location update process, which is to make the network know whether the UE is still in the network, so as to prevent the UE from leaving the network but the network is not aware and continuously paging the UE. In the present invention, the case where the UE is periodically updated is not considered. Referring again to Figure 2, TAK TA2, TA3 TA4 is the tracking area of the evolved network, and the read tracking area is similar to the 2G/3G RA. When a multimode UE supporting different access networks moves in these areas, if there is no certain The mechanism will result in frequent network registration procedures. For example, when the UE enters RA1 and is stationed in the 2G./3G access system, it will register with the 2G/3G SGSN. When the UE enters TA1 and camps on the LTE access system, In addition, the UE registers with the MME/UPE of the evolved network. When the UE moves out of the TA1 and enters the RA1, it needs to register with the SGSN of the 2G/3G. Through the above registration, the network can page the UE in the RAT. However, The registration signaling overhead of the above registration process is huge.
为了解决注册信令开销巨大的问题, 当前提出了各种 RAT间限制信令的 方案來避.免出现这种问题。 通用的思路是 UE 附着(attach )后注册到一种接 入网络(2G 3G 网絡或演进网络), 之后 UE移动到另一个接入网络后再注册 到另一个接入网络, 这样, UE 就同时注册到两种接入系统了, 之后 UE在这 两个网络的对应注册区域(RA或 TA )移动而不用发起任何注册过程 当 UE 更换 RA或 ΊΑ时, 要发起普通的 RAU过程。 其中, 需要注意的是: 注册 到的两种接入系统(2G/3G的 SGSN或演进网络的 MME )都有 UE的上下文 ( context )。  In order to solve the problem of huge registration signaling overhead, various inter-RAT restriction signaling schemes have been proposed to avoid such problems. The general idea is that after the UE attaches, it registers with an access network (2G 3G network or evolved network), and then the UE moves to another access network and then registers with another access network, so that the UE simultaneously Registering to both access systems, the UE then moves in the corresponding registration area (RA or TA) of the two networks without initiating any registration procedure. When the UE changes RA or ΊΑ, a normal RAU procedure is initiated. Among them, it should be noted that the two access systems (the SGSN of 2G/3G or the MME of the evolved network) registered have the context of the UE.
由于两个接入系统都有 UE的 context, 其中涉及 context的同步问题, 目 前上下文的同步方案一共有如下几种:  Since both access systems have the context of the UE, which involves the synchronization of the context, the synchronization schemes of the current context are as follows:
方案一、 主从 ( Master™ slave )方案:  Solution 1, Master and slave (Skills):
在该方案中, 总是在 M.ME上保持最新的 context, 这样, UE接入 MME 时不必进行 cootext交互, 当 SGSN ( Serving GPRS Support Node > 服务 GPRS 支持节点)有 eontexl变化时, 需要推送(push ) context到 MME JPE 该方 案的缺点是: 在 SGSN内改变 cootext时, 都需要推送到 ΜΜΕ/ϋ'ΡΕ。 In this scheme, the latest context is always maintained on the M.ME, so that the UE does not have to perform cootext interaction when accessing the MME, when the SGSN (Serving GPRS Support Node > Serving GPRS) Support node) When there is eontexl change, need to push context to MME JPE. The disadvantage of this scheme is: When changing cootext in SGSN, it needs to be pushed to ΜΜΕ/ϋ'ΡΕ.
还有—种改 i4方案, 即 Master-slave +C.RN ( Coiitext Reference Number, 上下文参考号)的方法, 该方法是, 当 UE在接入过程中, 当接入实体内的相 关 context (—般是 MME和 SGSN公共的动态 ccmtexi, 如 MM/SM ( Session Management, 会话管理) context ) 改变, 则接入实体自己保存的 CRN更新, 并同步该 CRN到 UE和 MME, 同时将改变的 context同步到 MME 当 UE接 入 SGSN时, 需要携带 UE保存的 CRN, 如果 UE发送上来的 CRN与 SGSN 保存的 CRN匹配时, SGSN不必向 MME提取 context (即 pu context;), 否则 SGSN要从 MME 获取 context, 这样傲的 的是防止 SGSN 已经有最新的 context了但仍然要从 MME获取 context, 如 UE上次接入的就是 SGSN, 那么 再次接入 SGSN时就不必从 MME获取 context了。 CR 的方法就是保证只有 在必要的时候才去获取 context(以下的方法一样 λ但该方法的缺点是当 SGSN 内有 context变化的时候也要 push上下文到 MME/UPE以便保证 MMEAJPE中 始终存储最新的上下文  There is also a method of changing the i4 scheme, that is, the Master-slave + C.RN (Coiitext Reference Number), when the UE is in the access process, when the related context in the access entity ( Generally, the dynamic ccmtexi common to the MME and the SGSN, such as the MM/SM (Session Management) context, changes, the access entity saves the CRN update itself, and synchronizes the CRN to the UE and the MME, and simultaneously synchronizes the changed context. When the UE accesses the SGSN, it needs to carry the CRN saved by the UE. If the CRN sent by the UE matches the CRN saved by the SGSN, the SGSN does not need to extract the context (ie, pu context;), otherwise the SGSN needs to obtain the context from the MME. So proud of this is to prevent the SGSN from having the latest context, but still need to obtain the context from the MME. For example, if the UE accessed the SGSN last time, then it is not necessary to obtain the context from the MME when accessing the SGSN again. CR's method is to ensure that the context is only obtained when necessary (the following method is the same as λ. However, the disadvantage of this method is that when there is a context change in the SGSN, the context is also pushed to the MME/UPE to ensure that the latest is always stored in the MMEAJPE. Context
方案二、 协调 ( Coordination ) 方案:  Option 2, Coordination plan:
在该 Coordm ion方案中, UE每次接入时,需要 MME/SGSN互相取对方 的 context, 其原因在于该实体不清楚另一实体中的 context是否有变化。  In the Coordm ion scheme, each time the UE accesses, the MME/SGSN needs to take the context of the other party, because the entity does not know whether the context in the other entity changes.
下面結合附图, 对目前主要采用的 master siave context同步方式加以详细 说明、 其中, S-TMSI ( SAE Teraportar Mobile Subscriber Identit - SAE临时 移动用户标识)表示 SAE的临时移动用户标识, U-T SI ( UM'rS TMSL 即 TMSI或 F-TMSI )表示 UMTS ( Universal Mobile relcommuiiications System , 通用移动通信系统)的临时移动用户标识, S-RA ( SAE Routing Area, SAE路 由区, 即 TA )表示 SAE的 RA, 即 TA, U-RA表示 UMTS的 RA  The master siave context synchronization method mainly used in the present invention will be described in detail below with reference to the accompanying drawings. The S-TMSI (SAE Teraportar Mobile Subscriber Identit - SAE Temporary Mobile Subscriber Identity) indicates the temporary mobile subscriber identity of the SAE, UT SI (UM' rS TMSL (TMSI or F-TMSI) represents the temporary mobile subscriber identity of the UMTS (Universal Mobile relcommuiiications System), and the S-RA (SAE Routing Area, SAE) represents the RA of the SAE, ie TA. , U-RA means RA of UMTS
参见图 3,在 UE先 ai½d]到 SAE,然后再移动到 2G/3G的情况下, context 同步包括以下步骤:  Referring to Figure 3, in the case where the UE first ai1⁄2d] to SAE and then to 2G/3G, context synchronization includes the following steps:
步骤 1 : UE 附着到 S.AE, 发送酎着请求消息 attach request到 MME; 步璨 32: MME注册到 H.SS ( Home Sixbscnber Server, 家乡用户服务器, ); 步琛 33: ME从 HSS中获取 context后, 向 UE发起认证过程; 步骤 34: UE返回认证响应给 MME; Step 1: The UE attaches to the S.AE, and sends a request message to the MME; Step 32: The MME registers with the H.SS (Home Sixbscnber Server, Home User Server, ); Step 33: The ME obtains from the HSS After the context, the authentication process is initiated to the UE; Step 34: The UE returns an authentication response to the MME.
步骤 35 : 如果认证通过, UE 注册到 MME 成功, MME 给 UJE 分配 S-TMSi/S-RA.和缺省 IP ( default IP )信息;  Step 35: If the UE passes the authentication and the UE is successfully registered, the MME allocates the S-TMSi/S-RA. and the default IP (default IP) information to the UJE.
步骤 36: UE更换 RAT到 2G/3G后, 发送 RAU过程, 携带 MME分配的 S-TMS1/S-RA给 UE;  Step 36: After the UE replaces the RAT to the 2G/3G, the RAU process is sent, and the S-TMS1/S-RA allocated by the MME is carried to the UE.
步骤 37: SGSN向 S- TMSI/S- RA对应的 MME发起 SGSN Context Request 消息来请求 UE的 cofltexi; MME收到 ΐΐ请求消息后, 将相关 context发送給 SGSN;  Step 37: The SGSN sends an SGSN Context Request message to the MME corresponding to the S-TMSI/S-RA to request the cofltexi of the UE; after receiving the ΐΐ request message, the MME sends the relevant context to the SGSN;
步骤 38: 可能进行的认 过程;  Step 38: Possible recognition process;
步骤 39: SGSN通知 MME其分配的 U~TMSI, U- RA和必要的 c xt (如 安全参数 );  Step 39: The SGSN notifies the MME of its assigned U~TMSI, U-RA and necessary c xt (such as security parameters);
步骤 310:建立起 S TSN到 UPE或 iASA ( inter Access System Anchor ) 的 用户面;  Step 310: Establish a user plane of the S TSN to the UPE or the iASA (inter Access System Anchor);
步骤 311 : 将 U-TMSI./U-RA和 S- TMS1/S-RA都分配給 UE, UE在 U-RA 和 S-RA之间移动不必发起更新注册消息;  Step 311: Allocating U-TMSI./U-RA and S-TMS1/S-RA to the UE, and the UE does not need to initiate an update registration message when moving between the U-RA and the S-RA;
步骤 312: RA更新确认  Step 312: RA update confirmation
通过上面的过程 就建立了 SGSN到 MME的关联,即 SGSN保存了 MME 分配给 UE的 S-TMSI/S- RA或 MME的地址信息; MME也保存了 SGSN分配 给 UE的 U-TMSi/U-RA或 SGSN的地址信息,,  The association between the SGSN and the MME is established through the above process, that is, the SGSN stores the address information of the S-TMSI/S-RA or the MME allocated by the MME to the UE; the MME also saves the U-TMSi/U- allocated by the SGSN to the UE. Address information of the RA or SGSN,
上面的方法中, SGSN从 MME获取所有需要的 context , 因此 需要 UE 在注册到 MME时要获取 SGSN需要的 context, 如杲 UE始终不接入 SGSN, 会导致 MM0E存储太多的 context , 占用了 MM0E的资源 β In the above method, the SGSN obtains all the required contexts from the MME. Therefore, the UE needs to obtain the context required by the SGSN when registering to the MME. For example, if the UE does not access the SGSN at all times, the MM0E stores too much context and occupies the MM0E. Resource beta
UE先注册到 2G/3G再移动到 SAE的流程如图 4所示, 在 2G/3G中做周 期性位置更新或普通的位置更新时, 发送 RAU ( Routing Area Update , 路由区 更新) 消息, 携带 U- TMSI/U- RA和 S-TMSI7S-R.A , 因为采用的 context同步 方式为 master- slave的方式, 因此, 即使 UE最后接入的 RAT就是 2G/3G, 最 新的 ccmtext保存在 SGSN, SGSN仍然要向 MME/UPE请求 context, 从而产 生不必要的 context同步过程¾ The process of registering the UE to the 2G/3G and then moving to the SAE is as shown in FIG. 4. When the periodic location update or the normal location update is performed in the 2G/3G, the RAU (Routing Area Update) message is sent and carried. U-TMSI/U-RA and S-TMSI7S-RA, because the context synchronization method is master-slave, therefore, even if the last RAT of the UE is 2G/3G, the latest ccmtext is stored in the SGSN, and the SGSN is still to MME / UPE context request, thereby generating an unnecessary synchronization context ¾
如图 5所示为 master-skve方式下的数据传输过程,在 UE接入 SGSN时, 需要向 MME请求 context,因为最新的 context在 MME保留,当 UE接入 MME 时, 则不必向 SGSN请求 context了。 与此对比的是图 6所示的 Coordination 方案的上行数据传输过程 Figure 5 shows the data transmission process in the master-skve mode. When the UE accesses the SGSN, The context needs to be requested from the MME, because the latest context is reserved in the MME. When the UE accesses the MME, it is not necessary to request the context from the SGSN. In contrast, the uplink data transmission process of the Coordination scheme shown in FIG. 6 is compared.
从图 6 能够看出, UE在接入 .ME 时也要向 SGSN请求 coiitexi, 即 Coordination的方式需要 UE接入 SGSN或 MME, 接入的实体都要向对方馭 context, 即使上次接入的实体与本次相同, 而实际上在这种情况下并不需要馭 context:,  As can be seen from Figure 6, the UE also requests the SGSN to coiitexi when accessing the .ME. That is, the Coordination mode requires the UE to access the SGSN or the MME, and the accessed entity must 驭context to the other party, even if it is accessed last time. The entity is the same as this one, but in fact no need to 驭context: in this case,
图 7所示为 Master-skve方式的 intei: SGSN( SGSN之间的)的 RAU过程, 在该过程中, 上下文请求消息中要携带 S-TMSI/S-RA 参数, 而且要向 MME 要求荻馭 context,  Figure 7 shows the RAU process of the intei: SGSN (between SGSNs) in the Master-skve mode. In this process, the S-TMSI/S-RA parameters are carried in the Context Request message, and the MME is required. Context,
综合上述现有技术方案可以看出,  As can be seen from the above prior art solutions,
Master-slave方案在 SGSN的 context有变化时, 需要向 MME push相关 context,并且 UE在接入 SGSN时,要从 MME获取 context;而采用 Coordinatkm 的方案, 在每次接入 SGSN或 MME时, 都要从对方去获取 context 因此, 在 UE—直待在某接入系统如 SGSN中,这些方法将带来不必要的获取 context. 的过程。  When the context of the SGSN changes, the master-slave scheme needs to push the relevant context to the MME, and the UE needs to obtain the context from the MME when accessing the SGSN, and adopts the Coordinatkm scheme, each time accessing the SGSN or the MME. To get the context from the other party, therefore, in the UE—staying in an access system such as the SGSN, these methods will bring unnecessary process of acquiring the context.
发明内容 Summary of the invention
本发明提供一种获取接入系统上下文的方法, 以实现在采用不同 RAT技 术时, 避免不必要的上下文获取过程,,  The present invention provides a method for obtaining an access system context, so as to avoid unnecessary context acquisition process when different RAT technologies are used,
本发明提供了一种获取接入系统上下文的方法, 该方法包括:  The present invention provides a method for obtaining an access system context, the method comprising:
用户设备 UE接入当前接入系统时,将其上次接入系统的信息提供给当前 接入系统,当前接入系统根据该信息从 UE上次接入系统的实体中获馭上下文。  When the user equipment accesses the current access system, the UE accesses the last access system information to the current access system, and the current access system obtains the context from the entity that the UE last accessed the system according to the information.
由于采用本发明所提供的方法, 能够根据 UE上一次所接入的系统中的上 下文进行上下文的获取, 因此, 能够有效避免不必要的上下文获馭过程, 从而 使得上下文的获取简便、 高效, 进¾有利于 SAE网络技术的迅速推广使用 附图说明  By adopting the method provided by the present invention, the context can be obtained according to the context in the system that the UE accesses last time, and therefore, the unnecessary context acquisition process can be effectively avoided, thereby making the context acquisition simple and efficient. 3⁄4 is conducive to the rapid promotion of SAE network technology using the description of the drawings
图 ί为现有技术中的演进架构的示意图;  Figure ί is a schematic diagram of an evolution architecture in the prior art;
图 2为现有技术中多 RAT网络结构的示意图;  2 is a schematic diagram of a multi-RAT network structure in the prior art;
图 3为现有技术中实现获取上下文的一实施 的流程图; 图 4为现有技术中实现获取上下文的一实施例的流程图; 3 is a flow chart of an implementation of implementing a context in the prior art; 4 is a flow chart of an embodiment of implementing an acquisition context in the prior art;
图 5为现有技术中实现获取上下文的一实施例的流程图;  FIG. 5 is a flowchart of an embodiment of implementing an acquisition context in the prior art; FIG.
图 6为现有技术中实现获取上下文的一实施例的流程图;  6 is a flow chart of an embodiment of implementing an acquisition context in the prior art;
图 7为现有技术中实现获馭上下文的一实施例的流程图;  7 is a flow chart of an embodiment of implementing a context in the prior art;
图 8为本发明实施例一的流程图;  Figure 8 is a flowchart of Embodiment 1 of the present invention;
图 9为本发明实施例二的流程图;  9 is a flowchart of Embodiment 2 of the present invention;
图 10为本发明实施例三的流程图;  10 is a flowchart of Embodiment 3 of the present invention;
图 11为本发明实施例四的流程图;  11 is a flowchart of Embodiment 4 of the present invention;
图 12为本发明实施例五的流程图;  12 is a flowchart of Embodiment 5 of the present invention;
图 13为本发明实旄例六的流程图;  Figure 13 is a flow chart of a sixth embodiment of the present invention;
图 14为本发明实施例七的流程图;  Figure 14 is a flowchart of Embodiment 7 of the present invention;
图 15为本发明实旄例八的流程图;  Figure 15 is a flow chart of an eighth embodiment of the present invention;
图 16为本发明实施例九的流程图  16 is a flowchart of Embodiment 9 of the present invention.
具体实施方式 detailed description
在本发明中, 由于 UE上次接入的系统一定具有最新的 context (因为 UE 接入后, 如果该-实体的 context不是最新, 要进行取 context的操作), 那么 UE 可以将上次接入的信息带给网络, 网络根据该信息从上次接入的实体中获取 context, 这样荻取的 context—定是最新的 另外, 在本发明中, 还可以根据 上次接入的信息的不同类型, 采用不同的方式获取 ccmtexL  In the present invention, since the system accessed by the UE last time must have the latest context (because the UE is accessed, if the context of the entity is not up-to-date, the context operation is to be performed), then the UE can access the last time. The information is brought to the network, and the network obtains the context from the last accessed entity according to the information, so that the captured context is the latest. In addition, in the present invention, according to different types of information accessed last time. , using different methods to get ccmtexL
下面结合具体.实施例对本发明进行详细描迷  The present invention will be described in detail below in conjunction with specific embodiments.
在本发明的实施例中, 对 context进行细分, 将其分解为静态部分和动态 部分, 静态部分是 SGSN或 MME在 attach过程中从 HSS中获取的 context, 如, Forwarding information: ListC 发'信息列-表 ), SGSN CAMEL Subscription Info ( SGSN CAMEL用户信息)等, 动态部分是除静态部分 SGSN或 MME根据 UE动作生成的 context,如 MM context!如 RAl ), SM context (如 PDF Address, 即分组教据协议地址)等 再把静态部分分为 Static { SGSN, MME Common) (筒称 ST{S, M, C} ), 动态部分也分为 dy amic { SGSN, MME, Common} (筒称 DY{S,M, C} ),分別表示静态部分 Z或动态部分中 SGSN特有的 context, MME特有的 coniexi, 和公共部分 一般来说, 静态部分的获得是通过 HSS 重建或实体之间的转移 (发生在 SGSlNi/MME 改变), 动态部分的获得是通过 context的同步方法 (即之前描述的 master-slave等方法 )。 In the embodiment of the present invention, the context is subdivided and decomposed into a static part and a dynamic part. The static part is a context obtained by the SGSN or the MME from the HSS during the attach process, for example, Forwarding information: ListC sends 'information' Column-table), SGSN CAMEL Subscription Info, etc., the dynamic part is the context generated by the static part SGSN or MME according to the UE action, such as MM context! such as RAl), SM context (such as PDF Address, ie grouping) The protocol part is divided into static { SGSN, MME Common) (the unit is ST{S, M, C}), and the dynamic part is also divided into dy amic { SGSN, MME, Common} {S,M, C} ), respectively representing the static part Z or the SGSN-specific context in the dynamic part, the MME-specific coniexi, and the public part. Generally, the static part is obtained through the HSS. Reconstruction or transfer between entities (occurring in SGSlNi/MME changes), the dynamic part is obtained through the context synchronization method (the previously described master-slave and other methods).
在本发明中,  In the present invention,
ST可以都从 HSS的重建过程来获取, 即改变新的实体( SG SN或 MME:) 都要注册到: HSS, 然后从 HSS中取 ST的信息, 如 ST{C:, S}或 ST{C, M}。 而为了最少地保留 context, 在 SGSN中只保留 ST(C, S) 和 DY{C, S) , 在 MME只保留 ST {C , M}和 DY {C , M)。  ST can be obtained from the HSS reconstruction process, that is, the change of the new entity (SG SN or MME:) must be registered to: HSS, and then take ST information from the HSS, such as ST{C:, S} or ST{ C, M}. In order to keep the context at least, only ST(C, S) and DY{C, S) are reserved in the SGSN, and only ST {C , M} and DY {C , M) are reserved in the MME.
在本发明中,所谓的 MME与 SGSN之间的 context同步,只是同步 D Y (C)。 其原园在于, 只有这部分能够在 MME和 SGSN之间转化 而 SGSN改变, 新 的 SGSN C new SGSN )还要从原先的 SGSN ( old S xSN )取 DY S} , 同理, 新的 MME ( new MME )要向原先的 MME ( old MME )取 DY{M)。  In the present invention, the so-called context synchronization between the MME and the SGSN is only synchronous D Y (C). The original park is that only this part can be converted between the MME and the SGSN and the SGSN is changed. The new SGSN C new SGSN ) also takes the DY S} from the original SGSN (old S xSN ). Similarly, the new MME ( New MME ) To get DY{M) to the original MME (old MME).
下面结合不同的具体情况, 对本发明方法中获取 context的流程进行详细 介绍 (以 Coordination同步方式为例 ):  The process of obtaining a context in the method of the present invention is described in detail below in combination with different specific situations (taking the Coordination synchronization method as an example):
一、 UE先 attach到 MME.:  First, the UE is first attached to the MME.:
MME所需的动态 context在 HSS的重建过程中从 HSS获得 即 HSS生成 ST{C, 并发送给 MME; MME生成 DY{M:, C} ; 然后, MME保留 ST C, M:}以及 :DY(M, C  The dynamic context required by the MME is obtained from the HSS in the HSS reconstruction process, that is, the HSS generates ST{C and is sent to the MME; the MME generates DY{M:, C}; then, the MME retains ST C, M:} and: DY (M, C
二、 UE先 Attach到 MME, 然后再移动到 SGSN  2. The UE attaches to the MME first, then moves to the SGSN.
如图 8所示, SGSN从 MME获取 DY{C } , 从 HSS获取 ST{S,C} t, SGSN 生成 DY {S},保留的 context是: ST{S,C}, DY{S,C},最新的 :DY C}在 SGSM: 该种情况的具体流程为: As shown in Figure 8, the SGSN obtains DY{C } from the MME, ST{S, C} t from the HSS, and DY {S} from the SGSN. The reserved context is: ST{S, C}, DY{S, C }, the latest: DY C} in SGSM: The specific process of this situation is:
步據 800: UE原先 attach到 SAE, 当前进入 2G/3G网络;  Step 800: The UE was originally attached to the SAE and currently enters the 2G/3G network;
步骤 801; UE向 2G/3G网络中的 SGSN发起路由更新( R.A Update )请求, 在该请求中携带上次所接入的 SAE系统为该 UE所分配的 S- TMSI以及 S- RA 标识;  Step 801: The UE sends a routing update (R.A Update) request to the SGSN in the 2G/3G network, where the request carries the S-TMSI and the S-RA identifier allocated by the last accessed SAE system for the UE;
其中, S-TMSI表示 SAE的临时移动用户标识, U-TMSI表示 UMTS的临 时移动用户标识, S- RA表示 SAE的 RA, 即 TA, U-RA表示 UMTS的 RA; 步璨 802〜步骡 803: SGSN根据 S- TMSi以及 S-RA,确定 UE上次接入的 old MME, 并向该 old MME发送 SGSN上下文请求 (context request) )¾息, oM MME收到该消息后, 将 DY{C}通过 SGSN上下文响应 (context response)消息 返回给 从而实现 DY (C)在 SGSN和 MME之间的同步; The S-TMSI indicates the temporary mobile subscriber identity of the SAE, the U-TMSI indicates the temporary mobile subscriber identity of the UMTS, the S-RA indicates the RA of the SAE, that is, the TA, and the U-RA indicates the RA of the UMTS; Step 802 to Step 803 : The SGSN determines the old MME that the UE last accessed according to the S-TMSi and the S-RA, and sends an SGSN context request to the old MME. After receiving the message, the MME returns the DY{C} through the SGSN context response message to implement synchronization between the SGSN and the MME.
步骤 804: SGSN和 UE之间通过认证 ( Authentication. ) 消息完成认证过 程;  Step 804: The authentication process is completed by using an authentication (Auth.) message between the SGSN and the UE.
步骤 805: SGSN向 o!d MME返回 SGSN context确认( ACK ) 消息, 以 确认当前已经正确同步 DY(C}, 然后, SGSN与 MME建立关联; 其中, 步骤 805和步骤 804的执行顿序并不影响本发明的实现;  Step 805: The SGSN returns an SGSN context acknowledgment (ACK) message to the o!d MME to confirm that the DY (C} has been correctly synchronized. Then, the SGSN establishes an association with the MME. The execution sequence of step 805 and step 804 is not Affecting the implementation of the present invention;
步骤 806: SGSN向 HSS发送位置更新 (Uixhate Locatkm ) 消息, 以通知 HSS当前 UE发生了位置改变;  Step 806: The SGSN sends a location update (Uixhate Locatkm) message to the HSS to notify the HSS that the current UE has changed its location;
步骤 807〜步骤 80S: HSS向 old SGSN发送 Cancel location (删除位置 ) 消息, 并且, HSS将 i UE的 STfCSj通过 Insert Subscriber data (插入用户数 据) 消息发送给 SGSN;  Step 807 to step 80S: The HSS sends a Cancel location message to the old SGSN, and the HSS sends the STfCSj of the i UE to the SGSN through the Insert Subscriber data message;
步骤 809: SGSN向 HSS确认当前位置更新成功;  Step 809: The SGSN confirms to the HSS that the current location update is successful.
其中, 步骤 806^809只在 SGSN改变, 也就是 UE移动到了一个没有注册 过的 SGSN时才执 ^f, 如果 UE当前移动到的是上次已经注册过的 SGSN, 则 可不执行步骤 806 809;  Step 806 809 is only changed in the SGSN, that is, when the UE moves to an SGSN that has not been registered, if the UE is currently moving to the SGSN that has been registered last time, step 806 809 may not be performed;
步骤 810: SGSN为 UE分配新的 U- TMSI、 U-RA,并将兹 U-TMSK U-RA 发送给 UE; 在该步骤中, 还可以进.一步将原 S-TMSI/RA发送给 UE; 在本发明的实施例中, 如果网络无法区分 S-TMSI和 U-TMSI, 步骤 80】 还可以携带 RAT 类型标识、通过该标识标明上次所接入的网络,本实施例中, 也就是标明上次接入的网络为 SAE, SGSN可以才艮据遠 RAT类型标识向 SAE 中的 MMIE发送 context request消息, 同样可以实现本发明;  Step 810: The SGSN allocates a new U-TMSI, U-RA to the UE, and sends the U-TMSK U-RA to the UE. In this step, the original S-TMSI/RA may also be sent to the UE in one step. In the embodiment of the present invention, if the network cannot distinguish between the S-TMSI and the U-TMSI, the step 80] may further carry the RAT type identifier, and indicate the last accessed network by the identifier, in this embodiment, that is, It is indicated that the last accessed network is the SAE, and the SGSN can send the context request message to the MMIE in the SAE according to the far RAT type identifier, and the invention can also be implemented;
另外,在本发明的实施例中, 还可以进一步在步骤 801的 R.A Update消息 中携带 CRN C Context Reference Number, 上下文参考号), 从而进一步利用兹 CRN完成 context的获取, 该 CRN的使用过程如下:  In addition, in the embodiment of the present invention, the CRN C Context Reference Number (Context Reference Number) may be further carried in the RA Update message of step 801, so as to further complete the acquisition of the context by using the CRN, the CRN is used as follows:
步據】: UE接入 MME或 SGSN, 更新 context后, 不 push context, 如杲 接入实体(MME或 SGSN ) 的 ccmtext改变, 更新该实体自身所保存的 CRN (如 CRN CRN+】; CRN为循环值, 达到最高值时重新置最低) 并将更新后 的 CRN发送给 UE (实时或在连接释放时 ); 步骤 2: UE接入某一实体, 将该 CRN发送到泫实体, 若 UE— CI¾ 读 实体的 CRN ( Entity^CRN ), 则说明该实体保留该 UE的最新 cootexi (—般 指 DY{C) ), 不需要从其他实体获取 context (—般指 DY{C} ), 否则, 可能需 要从其他实体获取 context,接入实体并更新自己的 CRN=UE ..CR>L之后返回 执行步骤 1。 Step: The UE accesses the MME or the SGSN, and after updating the context, does not push the context, such as the ccmtext of the access entity (MME or SGSN) changes, updates the CRN (such as CRN CRN+) saved by the entity itself; CRN is a loop Value, reset to the lowest value when the highest value is reached) and send the updated CRN to the UE (in real time or when the connection is released); Step 2: The UE accesses an entity, and sends the CRN to the entity. If the UE-CI3⁄4 reads the entity's CRN (Entity^CRN), it indicates that the entity retains the latest cootexi of the UE (--refers to DY{C) ), you do not need to get the context from other entities (--refers to DY{C}). Otherwise, you may need to obtain the context from other entities, access the entity and update your own CRN=UE ..CR>L and return to step 1.
其中, 需要注意的是: 当安全相关的 context改变时, 必须 push context 到对方。  Among them, you need to pay attention to: When the security-related context changes, you must push the context to the other party.
通过上迷方式,可以进一步简化 context的获取过程: 根据 CRN的值决定 是否需要进行 context的获取, 从而避免不必要的获取 context的过程。  The above process can further simplify the process of obtaining the context: Determine whether the context needs to be obtained according to the value of the CRN, so as to avoid unnecessary process of obtaining the context.
三、 UE从上一接入网络移动到 MME, 在本情况下, UE移动到的 MME 为该 UE已经注册过的 MME:  3. The UE moves from the previous access network to the MME. In this case, the MME to which the UE moves is the MME that the UE has already registered:
如果 UE上次接入的就是该 MME, 在 UE所发送的 RA Update中, 所携 带的标识就是接入实体本身, 该实体不会向 SGSN和 HSS再取 context, 读方 案相对于现有 Coordination方式, 节省了取 context的过程;  If the MME is the last access to the MME, the identifier carried in the RA Update sent by the UE is the access entity itself, and the entity does not take the context from the SGSN and the HSS. The read scheme is relative to the existing Coordination mode. , saving the process of taking the context;
如果 UE上次接入的是 2G/3G, UE将读信息发送到网络 (如将 2G/3G分 配的标识 U-TMSi/U- RA发送上去, 或将所有标识发送到网络, 但指示最后接 入的网络是 2G/3G )„MME向 SGSN取 DY (C} , MME这时的 context为 DY (C; M) , ST{C,M} ; 最新的 :DY〖C}在 MME, If the last access of the UE is 2G/3G, the UE sends the read information to the network (for example, sending the identifier of the 2G/3G assigned U-TMSi/U-RA, or sending all the identifiers to the network, but indicating the last connection The incoming network is 2G/3G) „MME takes DY (C} to SGSN, MME's context is DY (C ; M), ST{C,M}; The latest: DY〖C} is in MME,
将 Master-Slave或 Corordination方式与 CRN结合的方法, 如杲 UE上发 的 CRN与 MME保存的 CRN匹配 则不必取 context, 从而节省取 context步 骤; 比如, UE接入 MME获馭最新的 context, UE再次接入 SGSN, 但没有改 变 context,则 再次接入 MME,使用 CRN的方法就不用再从 SGSN馭 context 了。  The method of combining the master-Slave or the combination mode with the CRN, for example, if the CRN sent by the UE matches the CRN saved by the MME, the context is not required, thereby saving the context step; for example, the UE accessing the MME obtains the latest context, the UE If the SGSN is accessed again, but the context is not changed, the MME is accessed again. The method of using the CRN does not need to 驭context from the SGSN.
其中, 如果 UE上次接入的是 2G/3G, 则参见图 9所示, 获取 context的 具体流程包括:  If the UE accesses the 2G/3G last time, as shown in Figure 9, the specific process of obtaining the context includes:
步據 900: UE上次接入 2G/3G网絡, 本次接入 SAE网络, 然后移动到 MME;  Step 900: The UE accesses the 2G/3G network last time, and accesses the SAE network this time, and then moves to the MME;
步璨 01: UE向 MME发送 R A Update消息, 其中:  Step 01: The UE sends an R A Update message to the MME, where:
在该消息中只携带上次接入的实体 SGSN 为该 UE 所分配的标识即 U-T SI/U-RA , 或者, Only the identifier assigned by the last accessed entity SGSN to the UE is carried in the message. UT SI/U-RA , or,
在该消息中只携带当前接入 分配的标识, 即 S- TMSI/S-RA, 以使得 在后续步骤中, MME从保存的 context中 (如果 MME是新的接入实体, 新 .ME从 old MME获取 eotitext中 )对应关联的 SGSN地址信息中找到对应的 SGSN, 以便从 SGSN中荻取 coiitext, 或者,  Only the identifier of the current access assignment, ie S-TMSI/S-RA, is carried in the message, so that in the subsequent step, the MME is from the saved context (if the MME is a new access entity, the new .ME is from the old The MME obtains the SGSN corresponding to the associated SGSN address information in the eotitext, so as to retrieve the coiitext from the SGSN, or
在该消息中携带所有上述这些标识。  Carry all of these identifiers in the message.
也可以在该消息中还携带上次接入的实体的类型 (即 类型 )等能表 示上次接入实体类型的信息, 以便在后续步骤中来辅助 MME找到 SGSN (如 杲接入实体无法区分 UMTS给 UE分配的标识和 SAE分配的标识),下面的说 明以 RAT类型作为区分接入类型的信息;  The message may also carry the type of the last accessed entity (ie, type), etc., which can indicate the type of the last access entity, so as to assist the MME in finding the SGSN in a subsequent step (if the access entity cannot distinguish The identifier assigned by the UMTS to the UE and the identifier assigned by the SAE. The following description uses the RAT type as the information for distinguishing the access type;
步骤 902〜步骤 903: MME根据步骠 901中 RA Update所¾带的内容, 确 定相应的 SGSN, 并向该 SGSN发送 SGSN context request消息; 该 SGSN将 DY {C)通过 SGSN context response消息返回给 MME,从而实现 DY {C}的同步; 步骤 904: MME和 UE之间通过认证消息交互完成认证过程;  Step 902 to step 903: The MME determines the corresponding SGSN according to the content of the RA Update in step 901, and sends an SGSN context request message to the SGSN; the SGSN returns the DY {C) to the MME through the SGSN context response message. , thereby implementing synchronization of DY {C}; Step 904: The authentication process is completed by the MME and the UE through an authentication message interaction;
步骤 905: MME向 SGSN发送 SGSN context ACK消息, 确认上下文同步 成功;  Step 905: The MME sends an SGSN context ACK message to the SGSN, confirming that the context synchronization is successful.
步骤 906: MME为 UE分配新的 S- TMSI、 S-RA, 并将该 S- TMSI、 S-RA 发送给 UE; 在该步骤中, M E还可以进一步将原 U-TMSI/RA发送给 UE, 并不影响本.定明的实现;  Step 906: The MME allocates a new S-TMSI, S-RA to the UE, and sends the S-TMSI and the S-RA to the UE. In this step, the ME may further send the original U-TMSI/RA to the UE. , does not affect the implementation of this.
同理, 在该种情况下, 也可以进一步在步骤 901的 RA Update消息中携带 CRN , 从而利用该 CRN'完成 context的获取, 其利用 CRN完成本发明实施例 的方式与前面已经描述过的 CRN使用方式相同 .  Similarly, in this case, the CRN may be further carried in the RA Update message of step 901, so that the CRN' is used to complete the acquisition of the context, and the CRN is used to complete the manner of the embodiment of the present invention and the CRN that has been described above. The same way of use.
如图 9所示, UE携带上次接入的实体 SGSN分配的 U-TMS :/U-RA到 MME, MME根据该标识从 SGSN取 coirtex 可能还携带上次接入的实体的 类¾来辅助 MME找到 SGSN (如果接入实体无法区分 UMTS给 UE分配的标 识和 SAJE分配的标识 λ 或者, UIE携带接入 RAT分配的标识 S-TMS1/S- RA, MME从保存的 context中对应关联的 SGSN地址信息中找到对应的 SGSN,从 SGSN中获馭 context:。 或者, UE都携带这些标识 UE可能还携带 CRN, 如 果 UE携带的 CRN与 MME保存的 CRN匹配,则不必向 SGSN取 ccmtexl (因 - Γ! - 此步骡 902 , 903、 905为虛线) As shown in FIG. 9, the UE carries the U-TMS:/U-RA allocated by the last accessed entity SGSN to the MME, and the MME takes the coirtex from the SGSN according to the identifier, and may also carry the class of the last accessed entity to assist. The MME finds the SGSN (if the access entity cannot distinguish between the identifier assigned by the UMTS to the UE and the identifier assigned by the SAJE), or the UIE carries the identifier S-TMS1/S-RA assigned by the access RAT, and the MME corresponds to the associated SGSN from the saved context. The corresponding SGSN is found in the address information, and the context is obtained from the SGSN. Or, the UE carries the identifiers, and the UE may also carry the CRN. If the CRN carried by the UE matches the CRN saved by the MME, it is not necessary to take ccmtexl from the SGSN. - Γ! - This step 骡 902, 903, 905 is a dotted line)
四、 UE移动到 SGSISi, 其中, 在本情况下, UE所移动到的 SGSN为该 UE已经注册过的 SGSN:  4. The UE moves to the SGSISi, where, in this case, the SGSN to which the UE moves is the SGSN that the UE has registered:
如果上次接入 +的是 SGSN, 则不必取 context* 如果上次接入的是 MME, 则其执行方式类似图 9所示的流程图, 只是将 SGSN与 MME调换  If the last access to the SGSN is SGSN, then it is not necessary to take context*. If the MME was last accessed, its execution mode is similar to the flowchart shown in Figure 9, except that the SGSN and MME are exchanged.
五、 UE移动到 new SGSN, 其中, 该 new SGSN指的是: UE移动到了一 个上一次没有注册过的 SGSN;  5. The UE moves to the new SGSN, where the new SGSN refers to: the UE moves to an SGSN that has not been registered last time;
读情况下又可分成两种子情况:  In the case of reading, it can be divided into two sub-cases:
子情况一:  Sub-case one:
如果上次接入的实体是 SGSN: new SGSN 从 dd SGSN取 DY{C,S), 从 HSS取 ST{C, S}: 与 MME建立关联, 参见图 】0, 谅种情况下获馭 context 的过程可以; f既括为:  If the entity that was last accessed is the SGSN: new SGSN takes DY{C,S) from the dd SGSN, and ST{C, S} from the HSS: establishes association with the MME, see Figure 0, and obtains the context under the circumstance The process can be; f is included as:
如杲上次接入的是 本次接入的仍然是: G 3G但是换.了一个 SGSN, 那么 new SGS 向 old SGSN取 context的 DY{C, S} ,之后 new SGSN向 HSS 注册请求 ST{C, S}的 context, 最后与 MME建立关联(从 SGSN取到的 context中了解 MME地址信息, 或通过 UE携带的 S-TMSI/S-RA获得 MME 的地 iib信息);. For example, the last access to this access is still: G 3G but changed to an SGSN, then new SGS takes the context DY{C, S} to the old SGSN, and then the new SGSN registers the request with the HSS ST{ The context of C, S} is finally associated with the MME (the MME address information is learned from the context retrieved by the SGSN, or the iib information of the MME is obtained by the S-TMSI/S-RA carried by the UE) ;
上迷图 10的具体实现中各步骤的功能与图 8、 图 9中相应步骤的功能相 同或相类似, 具体包括:  The functions of the steps in the specific implementation of FIG. 10 are the same as or similar to those of the corresponding steps in FIG. 8 and FIG. 9, and specifically include:
步骤 1000: UE上次接入 2G/3G网络, 本次移动到 new SGSN;  Step 1000: The UE accesses the 2G/3G network last time, and moves to the new SGSN.
步骤 1001: UE向 new SGSN发送 RA Update消息 , 其中:  Step 1001: The UE sends an RA Update message to the new SGSN, where:
在该消息中只携带上次接入的实体 SGSN 为该 所分配的标识 U-TMSI/U-RA, 以便从上次接入实体获取 context, 并进一步根据该 context了 解另一方 RAT实体地址信息; 或者,  In the message, only the last accessed entity SGSN is the assigned identifier U-TMSI/U-RA, so as to obtain the context from the last access entity, and further understand the other party RAT entity address information according to the context; Or,
在该消息中只携带当前接入 RAT为 所分配的标识, U- TMSIZU-R A , 以使得在后续步骤中, new SGSN能够根据该标识从 oid SGSN获馭 context, 从而进一步了解 MME地址信息; 或者,  In the message, the current access RAT is only the assigned identifier, U-TMSIZU-R A, so that in a subsequent step, the new SGSN can obtain the context from the oid SGSN according to the identifier, so as to further understand the MME address information; Or,
在该消息中携带所有上述这些标识。  Carry all of these identifiers in the message.
或者, 在璲消息中还携带上次接入的实体的类型 RA1、类型, 以便在后续 步骤中来辅助 w SGSN找到上次接入的实体 Or, in the 璲 message, the type RA1 of the last accessed entity is also carried, so as to be followed by Step to assist w SGSN to find the last accessed entity
步骤 1002: new SGSN根据; A Update中所携带的相关标识,向 oki SGSN 发送 SGSN coiitext request消息 , 请求获得上下文;  Step 1002: The new SGSN sends an SGSN coiitext request message to the oki SGSN according to the relevant identifier carried in the A Update, requesting to obtain the context;
步骤 1003: old SGSN将动态上下文 DY{C,S}通过 SGSN context response 消息返回给 new SGSN;  Step 1003: The old SGSN returns the dynamic context DY{C, S} to the new SGSN through the SGSN context response message;
步骤 1004: new SGSN与 IJE进行认证消息交互, 完成认证过程; 步骤 1005: new SGSN向 old SGSN返回 SGSN context AC 消息 ,确认上 下文更新成功;  Step 1004: The new SGSN performs an authentication message interaction with the IJE to complete the authentication process. Step 1005: The new SGSN returns an SGSN context AC message to the old SGSN to confirm that the context update is successful.
步骤 1006: 由于 UE移动到 SGSN, 因此, 触发位置更新流程, 向 HSS发送位置更新 ( Update Location ) 消息;  Step 1006: Because the UE moves to the SGSN, the location update process is triggered, and an Update Location message is sent to the HSS.
步骤 1007: HSS向 old SGSN发送 cancel location (删除位置 ) 消息; 步骤 .1008: HSS与 new SGSN进行消息交互, 将该 UE的静态上下文 ST{C,S}通过 Insert subscriber data (插入用户数据 ) 消息发送给 new SGSN; 步骤 1009: new SGSN与 HSS进行消息交互, 告知 HSS位置更新成功; 步骤 1010: new SGSN与 MME进行 Associaiicra setup 关联建立) 消息 交互, 建立 MME与该 new SGSN之间的关联;  Step 1007: The HSS sends a cancel location message to the old SGSN. Step 1008: The HSS performs message interaction with the new SGSN, and the static context ST{C, S} of the UE passes the Insert subscriber data message. Sending to the new SGSN; Step 1009: The new SGSN performs a message exchange with the HSS to inform the HSS that the location update is successful; Step 1010: The new SGSN performs an Associaiicra setup association with the MME to establish a message interaction, and establishes an association between the MME and the new SGSN;
步骤 10〗〗: new SGSN为 UE分配新的 U- TMSI、 U-RA, 并将该 U-TMSL U-RA发送给 UE; 在该步骤中, new SGSN还可以进一步将原 S-TMSI/RA发 送给 UE, 并不影响本发明的实现:  Step 10: The new SGSN allocates a new U-TMSI, U-RA to the UE, and sends the U-TMSL U-RA to the UE. In this step, the new SGSN may further convert the original S-TMSI/RA. Sending to the UE does not affect the implementation of the present invention:
同理, 也可以进一步在步骤 1001的 RA Update消息中携带 CRN, 从而利 用该 CRN完成 eomexi的获取, 其利用 CRN完成本发明实施例的方式与前面 已经描述过的 CRN使用方式相同  Similarly, the CRN may be further carried in the RA Update message of the step 1001, so that the CRN is used to complete the eomexi acquisition, and the manner in which the embodiment of the present invention is implemented by using the CRN is the same as the CRN used in the foregoing.
类似的, 在兹情况下, RA Update消息中所携带的标识也可包括本次接入 的 RAJ为 UE分配的标识、 上次接入的 RAT为 UE所分配的标识、 表明上次 所接入的 RAT的类型的标识、 或者三者均携带, 其中:  Similarly, in the case of the case, the identifier carried in the RA Update message may also include the identifier allocated by the RAJ for the current access to the UE, and the identifier of the last accessed RAT for the UE, indicating that the last access is The identifier of the type of the RAT, or all three of them, where:
如果采用 U£只携带本次接入 RAT为 UE所分配的标识, 那么如图 10所 示, UE携带 U-TMS〗/〖J-RA标识到网络,根据该标识从 o〗d SGSN获取 coMexL 如果采用 UE只携带上次接入的 RAT为 UE所分配的标识, UE也携带 U-TMSI/U-RA到网络(因为上次接入的就是 2G/3G λ 子情况二: If the U-only carries the identifier assigned by the access RAT to the UE, as shown in FIG. 10, the UE carries the U-TMS/J-RA identifier to the network, and obtains the coMexL from the o SGSN according to the identifier. If the UE only carries the identifier assigned by the last accessed RAT to the UE, the UE also carries the U-TMSI/U-RA to the network (because the last access is 2G/3G λ) Sub-case 2:
如杲上次接入的实体是 MME: new SGSN从 MME获取 DY (C}, new SGS 从 d SGSN获馭 DY{S}; 由于 SGSN为上次未注册的 SGSN,因此, new SGSN 还需要从 HSS获取 ST《C, S}。 流程如图 1 !所示, 其中, 各个步骤中具体消 息的功能与图 8、 图 9中相应步骤的功能相同或相类似, 具体包括:  For example, the last entity accessed is MME: new SGSN gets DY (C} from MME, new SGS gets DY{S} from d SGSN; since SGSN is the last unregistered SGSN, new SGSN needs to The HSS obtains ST "C, S}. The flow is shown in Figure 1!, wherein the function of the specific message in each step is the same as or similar to the function of the corresponding step in Figure 8 and Figure 9, including:
步骤 1】00: UE上次接入 S.AE网络, 本次移动到新的 new SGSN;  Step 1] 00: The UE accesses the S.AE network last time, and this time moves to the new new SGSN;
步骤 1】 (H: UE向 new SGSN发送 R A Update消息, 其中:  Step 1] (H: The UE sends an R A Update message to the new SGSN, where:
在本实施例中, RA Update消息只携带本次接入 RAT分配的标识,, 则后 续步骤的实现为: UE接入 new SGSN, new SGSN发现自身没有 UE的 context, 则根据 RA Update消息中所携带的 U- TMS〖获取 oM SGSN地址,向 oM SGSN 发送取 context请求, 以请求获取 DY(S} , 再向 HSS注册, 获取 ST{C, S} . 从荻—取的 context中了解 MME的地址信息或通过 UE发送来的 S~TMSi/S~RA 了解 MME的地址信息, 获取最新的 DY{C} ; 该过程的具体实现后续将进行 详细说明;  In this embodiment, the RA Update message carries only the identifier of the current access RAT, and the subsequent steps are implemented as follows: The UE accesses the new SGSN, and the new SGSN finds that it has no context of the UE, according to the RA Update message. The carried U-TMS [obtain the oM SGSN address, send a context request to the oM SGSN, request to obtain DY(S}, then register with the HSS, obtain ST{C, S}. Learn about the MME from the context of the 荻-fetch The address information or the S~TMSi/S~RA sent by the UE is used to learn the address information of the MME, and obtain the latest DY{C}; the specific implementation of the process will be described in detail later;
步骤 102: new SGSN收到 RA Update消息后,发现自身没有 UE的 context, 则根据 RA Update消息中所携带的 U-TMSi荻取 old SGSN地址,向 oW SGSN 发送 SG SN context request消息, 以请求获取 DY (S) ;  Step 102: After receiving the RA Update message, the new SGSN finds that it does not have the context of the UE, and then extracts the old SGSN address according to the U-TMSi carried in the RA Update message, and sends an SG SN context request message to the oW SGSN to request acquisition. DY (S) ;
步骤 i 103: old SGSN将 DY{S通过 SGSN context respons 消息返回给 new SGSN;  Step i 103: The old SGSN returns the DY{S to the new SGSN through the SGSN context respons message;
步骤 1104: new SGSN与 UE进行认证消息交互, 完成认证过程; 步骤〗1.05: new SGSN向 dd SGSN返回 SGSN context ACK消息,确认上 下文更新成功;  Step 1104: The new SGSN performs an authentication message exchange with the UE to complete the authentication process. Step 1.05: The new SGSN returns an SGSN context ACK message to the dd SGSN to confirm that the context update is successful.
步骤〗106: 由于 UE移动到 new SGSN, 因此, 触发位置更新流程, 向 HSS发送位置更新 ( Update Location ) 消息;  Step 106: Since the UE moves to the new SGSN, the location update process is triggered, and an Update Location message is sent to the HSS.
步骤 Γ107〜步骤 1109与上述步骤〗007〜步骤 1009相同, 在此不再详细描 述;  Steps 107 to 1109 are the same as steps 007 to 1009 described above, and are not described in detail herein;
步骤 Π ίΟ:由于 UE上次接入的是 SAE,因此, new SGSN从获馭的 context 中了解 MME的地址信息, 向 MME发送 SGSN context request消息, 以请求 获得上下文; MME将最新的 DY C〗通过 SGSN context response消息返回给 new SGSN: Step Π Ο: Since the UE last accesses the SAE, the new SGSN learns the MME address information from the obtained context, and sends an SGSN context request message to the MME to request the context; the MME will update the DY C. Returned to the SGSN context response message New SGSN:
步骤 i l l l : new SGSN为 UE分配新的 U- TMS1、 U-RA, 并将该 U- TMSI, U-RA发送给 UE; new SGSN与 MME建立关联; 在读步饗中, new SGSN还 可以进一步将原 S-TMS1/RA发送给 UE, 并不影响本发明的实现。  Step illl: new SGSN allocates a new U-TMS1, U-RA to the UE, and sends the U-TMSI, U-RA to the UE; the new SGSN establishes an association with the MME; in the read step, the new SGSN can further The original S-TMS1/RA is sent to the UE without affecting the implementation of the present invention.
在本发明其他实施例中, 步骤】101的 RA Update还可携带其他标识, 且 根椐所携带的标识不同, 后续步骤会相应变化, 现結合所携带的标识不同, 对 上述子情况二下 context获取的具体实现进行概括性描述:  In other embodiments of the present invention, the RA Update of the step 101 may carry other identifiers, and the identifiers carried by the roots are different, and the subsequent steps are correspondingly changed, and the identifiers carried in combination with the different identifiers are different. A general description of the specific implementation obtained:
如果在 RA Update消息中只携带上次接入的 RAT (即 SAE )所分配的标 识 S-TMSI/S-RA , 则图 H 所示的流程相应为: new SGSN通过 UE发送的 S-TMSi/S-RA先获取 MME的 context, 如 DY{C〗, 再从获取的 context中获取 old SGSN的地址信息, 从 old SGSN中获馭 DY{S) , 再通过注册到 HSS的过 程获取 SI^C, S}„  If the RA Update message carries only the identifier S-TMSI/S-RA assigned by the last accessed RAT (ie, SAE), the flow shown in Figure H corresponds to: S-TMSi/ sent by the new SGSN through the UE. The S-RA first obtains the context of the MME, such as DY{C〗, and obtains the address information of the old SGSN from the obtained context, obtains the DY{S) from the old SGSN, and obtains the SI^C through the process of registering to the HSS. , S}„
甚至也可以是:  It can even be:
如果在 RA Update消息中只携带本次接入的 RAT (即 2G/3G )所分配的标 识 U~TMSl U~RA , new SGSN根据该标识向 dd SGSN发送 context请求, 然后 old SGSN再从 MME获取 context DY{C}后, 将最新的 context DY{C,S}发送 给 new SGSN.,  If the RA Update message carries only the identifier U~TMS1 U~RA assigned by the currently accessed RAT (ie 2G/3G), the new SGSN sends a context request to the dd SGSN according to the identifier, and then the old SGSN obtains the context request from the MME again. After context DY{C}, send the latest context DY{C,S} to new SGSN.
或者, 如杲在 RA Update消息中只携带上次接入的 RAT (即 SAE ) 所分 配的标识 S-TMSi/S-RA , new SGS 向 MME发送 context请求, 然后 MME 再从 o d SGSN取 DY{S}, 将最新的 context DY{C,S}发送给 new SGSN,  Or, if the RA Update message carries only the identifier S-TMSi/S-RA assigned by the last accessed RAT (ie, SAE), the new SGS sends a context request to the MME, and then the MME takes the DY from the od SGSN. S}, send the latest context DY{C,S} to the new SGSN,
与如上已经描述过的方式相类似,兹情况下也可以结合 CR 实现本发明, 具体为:  Similar to the manner already described above, the present invention can also be implemented in combination with CR, specifically:
如果接入的实体没有 context , 直接从 dd SGS 馭 eoDtext, 比较 CRN, 如果 £配 (如 UIE发送的 CRN与接入实体保存的 CRN相同), 不必向 MME 取 context,只建立关联; 或将 CRN发给 old SGSN, 读 CRN如杲与 old SGSN 中的 CRN匹配, 则发 DY { S, C}给 new SGSN, 否则只发 DY {S}, new SGSN 收到后, 决定是否再次向 MME馭 ccmtexi:; 或者将 CRN发给 old SGSN, old SGSN如果 CRN匹配, 则发 DY{S, C}给 new SGSN, 否则 oid SGSN从 MME 取 DY (C} , 再将 DY (C, S)发给 new SGSN。 UE移动到 new MME: If the accessed entity does not have a context, directly compares the CRN from dd SGS 驭eoDtext, if the subscription (such as the CRN sent by the UIE is the same as the CRN saved by the access entity), it is not necessary to take the context to the MME, only the association is established; or the CRN is Send it to the old SGSN. If the CRN matches the CRN in the old SGSN, send DY { S, C} to the new SGSN. Otherwise, only DY {S} is sent. After the new SGSN is received, it is decided whether to send the CMccmtexi again to the MME. :; or send the CRN to the old SGSN, if the CRN matches, send DY{S, C} to the new SGSN, otherwise the oid SGSN takes DY (C} from the MME, and then sends DY (C, S) to new SGSN. The UE moves to new MME:
如杲上次接入的实体是 SGSN, ne MME从 SGSN取 DY (C}; 再从 old MME取 DY{M ; 从 HSS取 ST{M,C} ,  For example, if the last entity accessed is the SGSN, the ne MME takes DY (C} from the SGSN; then takes the DY{M from the old MME; and takes ST{M,C} from the HSS.
如果上次接入的实体是 MME, new MME从 old MME取: DY{C5M; , 从 HSS获取 ST(M , C} > 并建立与 old SGSN的关联。 If the last accessed entity is the MME, the new MME takes the following from the old MME: DY{C 5 M; , obtains ST(M , C} > from the HSS and establishes an association with the old SGSN.
这两种情况和 UE移动到 new SGSN情况下对应的附图中描述的技术相类 似, 只需将 2G 3G系统的对应内容与 SAE系统的对应内容互换即可。  These two cases are similar to the techniques described in the corresponding drawings in the case where the UE moves to the new SGSN, and it is only necessary to exchange the corresponding content of the 2G 3G system with the corresponding content of the SAE system.
七、 UE先 attach到 SGSN:  7. The UE first attaches to the SGSN:
在此情况下, UE先 attach到 SGSN, SGSN注册到 HSS, SGSN从 HSS 获取 ST{C, S}, 且 SGSN 自身生成 DY {C, S}。  In this case, the UE first attaches to the SGSN, the SGSN registers with the HSS, the SGSN obtains ST{C, S} from the HSS, and the SGSN itself generates DY {C, S}.
八、 UE先 attach到 SGSM, 再移动到 MME:  8. The UE first attaches to SGSM and then moves to the MME:
UE发送上次接入的标识, 即 U~TMSI/U- RA到 MME, MM:E根据 ϋ标识 从 SGSN获取最新的 context : DY{C} , MME再注册到 HSS , 从该 HSS获取 ST{C, M} , MME生成自身的 ST{M:} ,最后在 ΜΜΕ·保存的 context是: ST{M, C} , DY {C、 M} 其中、 DY {C}如果改变、 则 MM:E中保存的 DY {C)是最新 的 其中, 该情况下本发明的实现与上述第二种情况下本发明的实现相类似, 不同之处仅在于: 将 2G/3G系统的对应内容与 SAE系统的对应内容互换。  The UE sends the last access identifier, that is, U~TMSI/U-RA to the MME, and the MM:E obtains the latest context from the SGSN according to the ϋ identifier: DY{C}, and the MME re-registers with the HSS, and obtains the ST from the HSS. C, M}, MME generates its own ST{M:}, and finally the saved context is: ST{M, C}, DY {C, M} where DY {C} changes, then MM:E The saved DY {C) is the latest one, and the implementation of the present invention in this case is similar to the implementation of the present invention in the second case described above, except that the corresponding content of the 2G/3G system and the SAE system are Corresponding content exchange.
或者是., UE本身是要发送本次接入的标识, 但罔为尚未注册到 SAE, 因 此仍然发送已分配的标识, 即 U-T3VJSI U-RA,,  Or, the UE itself is to send the identifier of the current access, but it is not yet registered to the SAE, so the assigned identifier is still sent, that is, U-T3VJSI U-RA,
甚至可以是, UE携带本次接入的标识, 即 S-TMSI/S- RA, MME如果与 UE detach (去附着)时的 MME不同, 则从 old MME获取 UE的 1MS1, 再注 册到 HSS , 从 HSS获取的 context中了解 UE已经注册到 SGSN的地址信息, λΚ^ SGSN获取 context , :建立关  The UE may carry the identity of the current access, that is, the S-TMSI/S-RA. If the MME is different from the MME when the UE detaches (de-attach), the MME obtains the 1MS1 of the UE from the old MME, and then registers with the HSS. Obtain the address information that the UE has registered to the SGSN from the context obtained by the HSS, and λΚ^ SGSN obtains the context, :
在如上所述实施倒中, 描述 SGSN只保留 ST{C, S}、 DY{C, S} > MME 只保留 ST《C, M}、 DY {C? M}的场景, 并认为保存方式是较优的, 因为有可 能 UE注册到一种接入技术后不会再进入另一种接入技术,那么不必保留不需 要的 context 但是,考虑到 UE在接入一个实体时可能会从多个实体取 context 的情况 如果 UE接入一个实体, 获馭所有 DY, 那么就不会出现既从 SGSN 又从 MME取 cemtext的情况了。 如 UE接入 MME, 上次接入的是 SGSN, 那 么 SGSN将 DYiC, S}都发给 MME 这样 UE再接入新的 SGSN就不必向 old SGSN取 context了 β In the implementation as described above, the description SGSN only retains ST{C, S}, DY{C, S} > MME only retains the scenes of ST "C, M}, DY {C ? M}, and considers that the save mode is Preferably, since it is possible that the UE does not enter another access technology after registering to one access technology, it is not necessary to retain the unnecessary context. However, considering that the UE may access multiple entities when accessing an entity In the case where the entity takes the context, if the UE accesses an entity and obtains all DYs, then there will be no case where the cemtext is taken from both the SGSN and the MME. If the UE accesses the MME, the last time the SGSN was accessed, then SGSN it will DYiC, S} are sent to MME UE then this new SGSN will not have access to the Old SGSN context taken β
下面结合包括例如上述保存所有上下文在内的不同情况,对本发明的具体 实现分别进行描述。  The specific implementation of the present invention will be separately described below in conjunction with various scenarios including, for example, the above-described preservation of all contexts.
(― )、 UE先接入 ΜΜΕ, 然后再接入 new SGSN, 且实体保留所有的动 态上下文(DY{all} ), 参见图 12, 具体包括以下步碌:  (―), the UE first accesses ΜΜΕ, then accesses the new SGSN, and the entity retains all dynamic contexts (DY{all}), as shown in Figure 12, specifically including the following steps:
步骤 1200: UE上次接入 SAE网络的 MME, 本次移动到 new SGSN; 步艨 1201 : UE向 new SGSN发送 RA Update ( Rout ing Area Update ,路由 区更新)消息, 其中, 在 ΐΐ消息中携带标识的方式可以采用与如上所述实施例 相类似的方式;  Step 1200: The UE accesses the MME of the SAE network last time, and moves to the new SGSN. Step 1201: The UE sends an RA Update (Routing Area Update) message to the new SGSN, where the UE carries the message The manner of identification may be in a manner similar to the embodiment described above;
步骤 1202: new SGSN收到 RA Update消息后, 根据 RA Update消息中所 携带的标识, 向 MME发送 SGSN context request消息; 由于 MME上保存了 所有的动态上下文,因此,相对于图〗 1 ,本实施例中 new SG SN无需向 o d SG SN 请求获得 DY{S} ;  Step 1202: After receiving the RA Update message, the new SGSN sends an SGSN context request message to the MME according to the identifier carried in the RA Update message. Since all dynamic contexts are saved on the MME, the implementation is compared with FIG. In the example, the new SG SN does not need to request DY{S} from the od SG SN;
步骤 1203: MME通过 SGSN context response消息将 DY{C,S,M}返 给 new SGSN;  Step 1203: The MME returns DY{C, S, M} to the new SGSN by using an SGSN context response message.
步骤 1204: new SGSN与 UE进行认证消息交互, 完成认证过程; 步骤 1205: new SGS 向 MME返回 SGSN context ACK消息, 确认上下 文更新成功; new SGSN与 MME建立关联;  Step 1204: The new SGSN performs an authentication message interaction with the UE to complete the authentication process. Step 1205: The new SGS returns an SGSN context ACK message to the MME, confirming that the context update is successful; the new SGSN is associated with the MME;
步骤〗206〜步骤 1209与步骤屬〜步骤 1109相同;  Step 206 to step 1209 is the same as step genre to step 1109;
步骤 :1210与步骤】111相同。  Step: 1210 is the same as step 111.
在图】2所描述的方案中, UE先接入 MME,再接入 new SGSN,则向 MME 取 context DY {all }, 之所以也取 DY {M} , 是为了在 UE再接入 new MME时, 能够仅向 SGSN获取 context即可, 从而避免既向 o〗d MME又向 SGSN获取 co.rtiexL  In the scheme described in FIG. 2, the UE first accesses the MME and then accesses the new SGSN, and then takes context DY {all } to the MME, and also takes DY {M} for re-accessing the new MME in the UE. At that time, it is only necessary to obtain the context from the SGSN, thereby avoiding obtaining the co.rtiexL from both the o dj MME and the SGSN.
其中, 该实施例只是针对 UE先接入 MME, 然后再接入 new SGS 情况 下本发明的具体实现的描述, 同理, 对于如上已经描述了的八种情况, 也可分 別采用与该实施例相类似的方式加以实现。  The embodiment is only for the description of the specific implementation of the present invention in the case that the UE first accesses the MME and then accesses the new SGS. Similarly, for the eight cases that have been described above, the embodiment may be separately adopted. Implemented in a similar way.
(二)上面是 SGSN和 MME从 HSS获取 ST的, SGSN和 MME也可以 从上次接入的实体或 o〗d SGS 或 MME获馭 S'l (2) The above is that the SGSN and the MME obtain the ST from the HSS, and the SGSN and the MME may also Obtained from the last accessed entity or o d SGS or MME
在 SGSN或 MME从其它实体(非 HSS )取 ST的情况下, SGSN和 MME 可以保留所有 eratext,即 ST{all}, DY{aM) ,也可以只保存自己相关的 contexi, 如 SGSN保存 ST {C> S} , DY{C, S}; MME保存 ST{C, M] , DY{C, M}。 或者, SGSN保留自己的 context即 ST{C, S}, DY{C, S}; 而 MME保留所 有的 coMext, 这样的场景是应用在更换 SGSN不向 HSS注册, 只向最后接入 的实体馭 context, 而更换 MME需要向 HSS注册 ¾ In the case that the SGSN or the MME takes the ST from other entities (non-HSS), the SGSN and the MME may retain all the eratexts, that is, ST{all}, DY{aM), or may only save their own related contexi, such as the SGSN to save the ST { C> S} , DY{C, S}; MME saves ST{C, M], DY{C, M}. Or, the SGSN retains its own context, that is, ST{C, S}, DY{C, S}; and the MME retains all the coMexts. The scenario is that the application is not registered with the HSS after the replacement of the SGSN, and only the last accessed entity驭Context, and replacing the MME requires registration with HSS3⁄4
SGSN或 MME保留所有 coMext的情况下, UE接入∞w SGSN时, 如果 上次接入的是 SGSN, 那么 new SGSN从 old SGSN取 ST{a l) ,DYia l}, ¾无 需再从 HSS获取 ST(C,S); new SGSN再与 MME建立关联, 另外, 之所以取 contextfall} ,是为了让 UE再移动到 nmv MME,可以直接从 SGSN向 new MME 发-送 MME相关的 context, 流? 下:  When the SGSN or MME retains all coMexts, when the UE accesses the SGSN, if the SGSN is accessed last time, the new SGSN takes ST{al) from the old SGSN, and DYia l}, 3⁄4 no need to obtain the ST from the HSS. (C, S); new SGSN is then associated with the MME. In addition, the reason for taking contextfall} is to let the UE move to the nmv MME again, and can directly send and send the MME-related context from the SGSN to the new MME. :
当 UE上次接入的是 MME, new SGSN从 MME取 context {a〗〗}, 建立到 MME的关联,, 由 HSS或 MME删除 old SGSN的 context (本发明对 context 的删除不做限制 )。 流程如图 13所示:  When the UE accesses the MME last time, the new SGSN takes context {a} from the MME to establish an association with the MME, and the old SGSN context is deleted by the HSS or the MME (the present invention does not limit the deletion of the context). The process is shown in Figure 13:
参见图 〗3, 具体包括以下步 :  See Figure 〖3, which includes the following steps:
步骤 1300: UE上次接入 SAE网络的 MME, 本次移动到 new SGSN; 步骤 1301 : UE向 new SGSN发送 R A Updat 消息, 其中, 在该消息中携 带标识的方式可以采用与如上所述实施例相类似的方式;  Step 1300: The UE accesses the MME of the SAE network last time, and moves to the new SGSN. Step 1301: The UE sends an RA Updat message to the new SGSN, where the manner of carrying the identifier in the message may be adopted in the foregoing embodiment. a similar way;
步骤 1302: new SGSN收到 R A Update消息后, 根据 RA Update消息中所 携带的标识, 向 MM.E发送 SGSN context request消息; 由于 MME上保存了 所有的动态和静态上下文, 因此,相对于图 11和图 12,本实施例中 new SGSN 无需向 old SGSN请求获得 DY(S), 也无需从 HSS获取 ST(C,S);  Step 1302: After receiving the RA Update message, the new SGSN sends an SGSN context request message to the MM.E according to the identifier carried in the RA Update message. Since all dynamic and static contexts are saved on the MME, therefore, compared with FIG. 11 And FIG. 12, in this embodiment, the new SGSN does not need to obtain the DY(S) from the old SGSN, and does not need to acquire the ST(C, S) from the HSS;
步據 1303: MME通过 SGSN context response消息将其所保存的 DY {C,S,M} 以及 ST(C,S,M)返回给 new SGSN;  Step 1303: The MME returns its saved DY {C, S, M} and ST (C, S, M) to the new SGSN through the SGSN context response message;
步據 1304: new SGSN与 UE进行认证消息交互, 完成认证过程; 步骤 1305: new SGSN向 MME返回 SGSN context AC 消息, 确认上下 文更新成功; new SGSN与 MME建立关联;  Step 1304: The new SGSN performs an authentication message exchange with the UE to complete the authentication process. Step 1305: The new SGSN returns an SGSN context AC message to the MME, confirming that the context update is successful; the new SGSN is associated with the MME;
步琛 !306: MME向 old SGSN发送 Caned Location (删除位置) 消息; 步骤 1307: new SGS 为 UE分配新的 U-TMS〗.、 U-RA, 并将该 U-TMSI、 U-RA发送给 UE; 在该步骤中, new SGSN还可以进一步将原 S-'IMSI/RA发 送给 UE, 并不影响本发明的实现。 Step 306: The MME sends a Caned Location message to the old SGSN; Step 1307: The new SGS allocates a new U-TMS and U-RA to the UE, and sends the U-TMSI and the U-RA to the UE. In this step, the new SGSN may further convert the original S-'IMSI. The /RA is sent to the UE without affecting the implementation of the present invention.
如图 13所示, new SGSN不必再从 HSS获取静态的 contexi,直接从 MME 获取。 另外, 由于在步驟 3303 中, new SGSN 从 MME获馭 DY{all)以及 ST{aJl} >因此,可以使得 UE在从 SAE再接入到新的 SAE时,可以仅从 SGSN 获取相应的上下文, 而无需再从 old MME荻取上下文。  As shown in Figure 13, the new SGSN no longer needs to obtain static contexi from the HSS and obtain it directly from the MME. In addition, since the new SGSN obtains DY{all) and ST{aJ1} from the MME in step 3303, it is possible to enable the UE to obtain the corresponding context only from the SGSN when re-accessing from the SAE to the new SAE. There is no need to retrieve context from the old MME.
也可以是, 新接入的实体从上次接入的实体获取所有的动态 conte t , 而 从 HSS获馭静态 eoiitext (如杲新接入实体有变化, 否则不用向 HSS取静态 context λ  Alternatively, the newly accessed entity obtains all dynamic conte t from the last accessed entity, and obtains static eoiitext from the HSS (if the new access entity changes, otherwise no static context λ is required to be taken to the HSS)
再举 SGSN和 MME保留自己的 context,不向 HSS取静态 context的例子, 同上述流程, UE先接入 MME, 再接入 new SGSN , 参见图 !4, 具体包括: 步骤 1400: UE上次接入 SAE网络的 MME, 本次移动到 new SGSN; 步骤 1401 : UE向 new SGSN发送 RA Update消息, 在 ΐϊ消息中携带标识 的方式可以采用与如上所述实施例相类 的方式;  Another example is that the SGSN and the MME reserve their own context and do not take a static context from the HSS. With the above process, the UE first accesses the MME and then accesses the new SGSN. 4. The method includes the following steps: Step 1400: The UE accesses the MME of the SAE network last time, and moves to the new SGSN. Step 1401: The UE sends an RA Update message to the new SGSN, and the manner in which the identifier is carried in the ΐϊ message may be adopted as above. The manner in which the embodiments are described;
步骤 1402: new SGSN收到 R A Update消息后, 根据 RA Update消息中所 携带的标识, 了解 MME是 UE上次接入的实体, 向 MME发送 SGSN context request消息;  Step 1402: After receiving the R A Update message, the new SGSN learns that the MME is the entity that the UE accessed last time, and sends an SGSN context request message to the MME according to the identifier carried in the RA Update message.
步骤 1403: MME通过 SGSN context response消息将 DY{C}以及 ST{C} 返回给 new SGSN;  Step 1403: The MME returns DY{C} and ST{C} to the new SGSN by using an SGSN context response message.
步骤〗404: new SGSN与 UE进行认证消息交互, 完成认证过程; 步據】405: new SGSN向 MME返回 SGSN context ACK消息, 确认上下 文更新成功; new SGS 与 MME建立关联;  Step 404: The new SGSN performs an authentication message interaction with the UE to complete the authentication process. Step 405: The new SGSN returns an SGSN context ACK message to the MME, confirming that the context update is successful; new SGS establishes association with the MME;
步據】406: new SGSN根据步骤 1401 中 RA Update消息所携带的标识, 确定 dd SGSN的地址, 向 SGSN发送 SGSN context request消息, 以请求 获得与 SGSN相关的上下文(ST S 和 DY{S) ); 其中, 由于 SGSN上保存有 自身的上下文, 因此, 无需再从 HSS获取  Step 406: The new SGSN determines the address of the dd SGSN according to the identifier carried in the RA Update message in step 1401, and sends an SGSN context request message to the SGSN to request the context (ST S and DY{S) related to the SGSN. ; Because the SGSN has its own context, it is no longer necessary to obtain it from the HSS.
步璨 1407: old SGS 通过 SGSN context response消息将 DY{S}以及 ST{S} 返回给 new SGSN; 步骤 1408: new SGSN向 old SGSN返回 SGSN context ACK消息,确认上 下文更新成功;在本发明的实施例中,还可以进一步触发 old SGS 删除 ecmtexi 的流程, 并不影响本发明的实现; Step 1407: old SGS returns DY{S} and ST{S} to the new SGSN through the SGSN context response message; Step 1408: The new SGSN returns an SGSN context ACK message to the old SGSN to confirm that the context update is successful. In the embodiment of the present invention, the process of deleting the ecmtexi by the old SGS may be further triggered, which does not affect the implementation of the present invention;
步骤 1409: ew SGSN为 UE分配新的 U-TMS1、 U-RA, 并将该 U- TMSI、 U-RA发送给 UE; 在读步 IT中, new SGSN还可以进一步将原 S-TMS!/RA发 送给  Step 1409: The ew SGSN allocates a new U-TMS1, U-RA to the UE, and sends the U-TMSI and the U-RA to the UE. In the read step IT, the new SGSN may further convert the original S-TMS!/RA. send to
如图 14所示, 如杲 SGSN或 MME保存自身的 context, 那么从 MME获 取 context时无法获取 DY(S} 和 ST{S), 只能从 old SGSN获取, 上面流程也 可以是从 old SGSN获馭 ST{S, C}而不用从 MME获取 ST{C}。  As shown in Figure 14, if the SGSN or MME saves its own context, DY(S} and ST{S) cannot be obtained when the context is obtained from the MME. It can only be obtained from the old SGSN. The above process can also be obtained from the old SGSN.驭ST{S, C} without obtaining ST{C} from the MME.
其中, 读实施例只是针对 UE先接入 MME, 然后再接入 new SGSN情况 下本发明的具体实现的描述, 同理, 对于如上已经描述了的八种情况, 也可分 别采用与该实施例相类似的方式加以实现„  The foregoing embodiment is only for the description of the specific implementation of the present invention in the case that the UE first accesses the MME and then accesses the new SGSN. Similarly, for the eight cases that have been described above, the embodiment may also be separately adopted. In a similar way to achieve „
此外, 上面的流程中 UE 接入的参数可以是 S-TMSI/S-RA 和 /或 U-TMSI/U-RA, 实际上 UE可以携带所有标识; 或者, IIE只携带上次接入的 实体发送的标识, 如 UE上次接入为 SAE, 则本次接入携带 S-TM:Si/S- RA、 以 向上次接入的实体取 context; 或者, UE也可以只携带本次接入的实体分配的 标识, 这样双模 UE的行为与单模相同, 只有 UE尚未注册到某接入系统的情 况, 才可以携带其他标识, 如图 15所示, ST Context ( Static, 静态上下文) 从 HSS获取, 各实体保留最少 omtexi, 具体包括如下步骤:  In addition, the parameters of the UE access in the above process may be S-TMSI/S-RA and/or U-TMSI/U-RA. In fact, the UE may carry all the identifiers; or, the IIE only carries the last accessed entity. If the last access of the UE is SAE, the current access carries the S-TM:Si/S-RA, and the context is taken by the entity that accesses the network. Alternatively, the UE can carry only the current access. The identifier of the entity allocation, such that the behavior of the dual-mode UE is the same as that of the single-mode. Only when the UE has not registered to an access system, other identifiers can be carried. As shown in FIG. 15, the ST Context (Static, Static Context) is from HSS acquisition, each entity retains the minimum omtexi, including the following steps:
步骤 1500〜步骤 1503: UE开机, 注册到 2G/3G网络;  Step 1500~Step 1503: The UE is powered on and registered to the 2G/3G network;
UE移动, 从 2G/3G网络接入到 SAE;  UE mobility, access to SAE from 2G/3G network;
步據】 504: UE向 MMIE发送.路由区更新 ( RAU ) 消息, 由于当前 UE只 接入过 2G 3G网络, 没有接入过 SAE, 因此, 在该消息中携带已经分配给 UE 的标识 U- TMSi/U- RA;  Step 504: The UE sends a Routing Area Update (RAU) message to the MMIE. Since the current UE has only accessed the 2G 3G network and has not accessed the SAE, the message carries the identifier U- that has been allocated to the UE. TMSi/U-RA;
步骤〗 505; MME根据路由更新消息中所携带的 U-TMSI/U-RA, 确定 old SGS 的地址, 并向该 old SGSN发送 SGSN context request消息, 以请求获得 相关的上下文;  Step 505: The MME determines the address of the old SGS according to the U-TMSI/U-RA carried in the routing update message, and sends an SGSN context request message to the old SGSN to request the relevant context.
步璨 1506: old SGSN通过 SGSN context response消息将 DY{C}返回给 MME; 步骤 1507: MME从 HSS获馭相应的 ST (C,M); Step 1506: The old SGSN returns the DY{C} to the MME through the SGSN context response message; Step 1507: The MME obtains the corresponding ST (C, M) from the HSS;
UE再移动到 2G/3G网络, 接入 SGSN;  The UE then moves to the 2G/3G network and accesses the SGSN;
步骤 1508: UE向 new SGSN发送 RA Update消息, 在该消息中携带系统 已经为 UE分配的标识 U-TMSI, IJ-RA;  Step 1508: The UE sends an RA Update message to the new SGSN, where the message carries the identifier U-TMSI, IJ-RA that the system has assigned to the UE.
步骤 1509: new SGS 向 old SGSN发送 SGSN細 text reqoesi消息, 请求 获得相应的上下文;  Step 1509: The new SGS sends an SGSN fine text reqoesi message to the old SGSN, requesting to obtain a corresponding context;
步骤 1510: old SGSN通过 SGSN context response消息将 DY{Sj以及 MME 的地址信息返回给 new SGSN;  Step 1510: The old SGSN returns the address information of the DY{Sj and the MME to the new SGSN through the SGSN context response message.
步骤 15H: oew SGSN向 MME发送 SGSN context request消息, 请求获 得相应的上下文;  Step 15H: The oew SGSN sends an SGSN context request message to the MME, requesting the corresponding context;
步骤 15】2: MME通过 SGSN context response消息将 DY{C}返回给 new SGSN (因为上次接入的实体是 MME, DY(Q在 MME处为最新); new SGSN 与 MME建立关联;  Step 15] 2: The MME returns the DY{C} to the new SGSN through the SGSN context response message (because the last accessed entity is the MME, DY (the Q is the latest at the MME); the new SGSN is associated with the MME;
步骤 15 3: new SGSN与 UE之间进行认证消息交互, 完成认证过程; 步骤 1514: HSS生成 ST{C,S} , 并通过与 new SGSN的 Register SGSN消 息交互将该 STiC,S}发送给 new SGSN; 在本发明的实施例中, 还可进一步触 发 oki SGSN删除 context;  Step 15: The new SGSN performs authentication message interaction with the UE to complete the authentication process. Step 1514: The HSS generates ST{C, S}, and sends the STiC, S} to the new by interacting with the Register SGSN message of the new SGSN. SGSN; In the embodiment of the present invention, the oki SGSN may be further triggered to delete the context;
步骤 1515: new SGS 为 UE分配新的 U-TMSL U- A, 并将谅 U»TMSI > U- RA发送给 UE; 在该步骤中, new SGSN还可以进一步将原 S-TMSI/RA I 送给 UE, 并不影响本发明的实现  Step 1515: The new SGS allocates a new U-TMSL U-A to the UE, and sends the U»TMSI > U-RA to the UE. In this step, the new SGSN can further send the original S-TMSI/RA I For the UE, does not affect the implementation of the present invention
从图 15可知, UE从 attach过.程到 RAU, 在 UE没有分配对应标识时, UE接入携带已分配的标识, 否则, UE接入携带本次接入的系统所分配的标 识。  As shown in FIG. 15, the UE accesses the RAU from the attach. When the UE does not assign the corresponding identifier, the UE access carries the assigned identifier. Otherwise, the UE accesses the identifier assigned by the system that carries the access.
如果 UE只携带上次接入的系统分配的标识, 那么在上述步骤 1508-1514 中, new SGS 先通过 RA Update消息中所携带的标识荻取 MME的地址信息, 根据该地址信息向 MME获取 context,并得到 old SGSN的地址信息,再向 SGSN获取 DY{S}。  If the UE only carries the identifier of the system that was last accessed, then in the above steps 1508-1514, the new SGS first obtains the address information of the MME by using the identifier carried in the RA Update message, and obtains the context from the MME according to the address information. And get the address information of the old SGSN, and then get DY{S} to the SGSN.
实际上, UE也可以在接入中一直携带本接入系统分配的标识, 如在上述 步骤】504中, UE可以携带 SAE分配的标识(old S-TMS1/S-RA )接入 SAE 系统,然后 MME注册到 HSS,从 HSS获馭 UE已注册的 SGSN地址,从 SGSN 再获取 DY C}„ 如 16图所示, 具体包括以下步骤: In fact, the UE may also carry the identifier allocated by the access system in the access, as in the above step 504, the UE may carry the SAE assigned identifier (old S-TMS1/S-RA) to access the SAE. The system then registers the MME with the HSS, obtains the SGSN address that the UE has registered from the HSS, and obtains the DY C} from the SGSN. As shown in Figure 16, the following steps are specifically included:
步骤 1600〜步據 1603与上述步骤 1500〜步饗 !503相同;  Step 1600~step according to 1603 is the same as step 1500~step 飨503 above;
UE移动, 从 2G/3G网络接入到 SAE;  UE mobility, access to SAE from 2G/3G network;
步骤 1604: 由于在本实施例中, UE在接入中一直携带本接 系统分配的 标识, 因此, 在该步碌中, IJE携带 SAE分配的标识 oM S-TMSI/S-RA接入 SAE系统 , 具体为: UE向 MME发送路由区更新( RAU )消息, 在该消息中 携带 UE原先接入的 S.AE网络为 UE分配的标识 oM S- TMSi/S-RA; 其中, 在 本实施例中,携带读 old S-TMSI/S-RA的前提是 UE有在 detach时保存的 SAE 参数, 且本实施例所述后续步骤均是针对 MME发生改变所执行的;  Step 1604: In this embodiment, the UE always carries the identifier allocated by the local system in the access, and therefore, in the step, the IJE carries the identifier allocated by the SAE, and the SMESI-S-RA accesses the SAE system. Specifically, the UE sends a Routing Area Update (RAU) message to the MME, where the message carries the identifier oM S-TMSi/S-RA allocated by the S. AE network that the UE originally accesses to the UE. The premise that the bearer carries the read old S-TMSI/S-RA is that the UE has the SAE parameter saved in the detach state, and the subsequent steps described in this embodiment are all performed for the MME to change;
步骤 1605a: oew MME 向 old S-TMSI/S-RA 标识的 old MME 发送 Mentiilcatio Request (标识请求 )消息, 向 old MME请求 UE的国际移动用卢 标识( IMSI );  Step 1605a: The oew MME sends a Mentiilcatio Request message to the old MME identified by the old S-TMSI/S-RA, and requests the UE's International Mobile Identity (IMSI) from the old MME.
步骤 1605b: old MME根据 old S-TMSI找到对应 UE的倌息, 将 IMSI发 送给 new MME;  Step 1605b: The old MME finds the message corresponding to the UE according to the old S-TMSI, and sends the IMSI to the new MME.
步骤 1606a: 讀 MME根据 UE的腿 ί 找到 UE所在的 HSS, 发送注 册消息;  Step 1606a: The read MME finds the HSS where the UE is located according to the leg ί of the UE, and sends a registration message.
步骤 1606b: HSS将 UE的 ST{C, M}和 UE注册的 的地址信息发 送给 new MME;  Step 1606b: The HSS sends the ST{C, M} of the UE and the address information registered by the UE to the new MME.
步骤 1607a: new MME根据 UE注册的 SGSN的地址信息, 向 oM SGSN 发送 context请求消息;  Step 1607a: The new MME sends a context request message to the oM SGSN according to the address information of the SGSN registered by the UE.
步據 1607b: old SGS 向 new MME返¾ context C DY{C) );  Step 1607b: old SGS returns to the new MME 3⁄4 context C DY{C) );
UE再移动到 2G/3G网络, 接入 SGSN;  The UE then moves to the 2G/3G network and accesses the SGSN;
舞】608、步骤 1615与上述步骤 1508〜步骤 1515相同, 在此不再重复描 迷。  The dance 608 and the step 1615 are the same as the above steps 1508 to 1515, and the description will not be repeated here.
本方法还可以应用在另一种场景中, 在该场景中, UE 注册到 SAE后, M E注册到 HSS> SGSN将 MME看作是 HSS, 可从 MME获取静态 context (即 HSS仅注册 MME, SGSN注册到 MME, UE可注册到 MME和 SGSN λ 这样, 若 UE上次接入 SAE, 之后接入 2G/3G , 若接入的节点是已注册过 的 SGSISU SGS 从 MME获取 DYfC) ? 不从其他节点获馭 context 若上次接入 SAE, 之后接入 2G/3G, 若接入的节点是未注册过的 SGSN, 那么 new SGSN从 MME获馭 DY{C}、 ST{C;S} (将 MME当成是 HSS ), 从 old SGSN获馭 DY{S〗,不向 HSS取 ccmtext。之.后 MME与新 SGSN建立关联。 The method can also be applied to another scenario. In this scenario, after the UE registers with the SAE, the ME registers with the HSS>SGSN to treat the MME as an HSS, and can obtain a static context from the MME (ie, the HSS only registers the MME, the SGSN). Registered to the MME, the UE can register to the MME and the SGSN λ. If the UE accesses the SAE last time, then accesses the 2G/3G, if the accessed node is already registered. SGSISU SGS gets DYfC from MME ? Does not get context from other nodes. If the last access to SAE, then access 2G/3G, if the access node is unregistered SGSN, then new SGSN gets DY from MME {C}, ST{C ; S} (use MME as HSS), get DY{S〗 from old SGSN, and do not take ccmtext to HSS. The post MME is associated with the new SGSN.
若上次接入 SAE, 这次接入的是新的 MME节点, 那么! ww MME从 dd MME获取 DY(C, M}, STIC, S} > 从 HSS获馭 ST{M}, 或者从 old MME 获取全部 context。 之后新 MME与 SGSN建立关联。  If you access SAE last time, this time you access the new MME node, then! The ww MME obtains DY(C, M}, STIC, S} from the dd MME > obtains ST{M} from the HSS, or obtains all contexts from the old MME. The new MME then associates with the SGSN.
若上次接入 2G/3G ,之后接入 SAE,接入的 MME节点是已注册过的 MME, 则 MME从 SGSN获取 DY{C} , 不从其他节点获馭 context  If the last access to 2G/3G, and then access to the SAE, the accessed MME node is the registered MME, the MME obtains DY{C} from the SGSN, and does not obtain the context from other nodes.
若上次接入 2G/3G,之后接入 SAE,接入的 MME节点是未注册过的 MME, 则 new MME从 SGSN获取 DY (C) ,从 o d MME获取 DY{M} , ST S}或 ST C, S},从 HSS荻―取 ST(M}或 ST(C,M}或全部静态 context。之后新 MME与 SGSN 建立关联。  If the last access to 2G/3G, and then access to the SAE, the accessed MME node is an unregistered MME, the new MME obtains DY (C) from the SGSN, and obtains DY{M}, ST S} from the od MME or ST C, S}, from HSS荻 - take ST (M} or ST (C, M} or all static context. The new MME is then associated with the SGSN.
若上次接入 2G/3G,之后接入新的 SGSN节点,则新的 SGSN从 old SGSN 获取 DY C,S}, 从 MME获取 ST{C、 S} , 新 SGSN与 MME建立关联,,  If the new SGSN node is accessed after the last access to the 2G/3G, the new SGSN obtains the DY C, S} from the old SGSN, and acquires the ST{C, S} from the MME, and the new SGSN establishes an association with the MME.
在以上所迷的实施例中,均可根据 CRN得知 DYiC}是否在本实体是最新 的来决定是否从其他实体获取 context, 在某些情况下, 如用户签约数据改变 网^ ¾入模式改变等, HSS可能会需要主动修改 M E和 /或 SGSN的 context, 在这种情况下, 因为 HSS记录了 SGSN和 MME两个实体的位置信息, 如杲 HSS主动修改 UE的数据(可以认为该数据属于静态 context ), 那么直接发送 到这两个实体都进行修改, 同时 CRN 不需要发生改变, 也不必通知 UE, 这 两个实体维持各自的静态 context,  In the above embodiments, it is possible to determine whether the DYiC} is up-to-date according to the CRN to determine whether to obtain the context from other entities. In some cases, such as the user subscription data, the network change mode is changed. Etc., the HSS may need to actively modify the context of the ME and/or the SGSN. In this case, because the HSS records the location information of the two entities of the SGSN and the MME, for example, the HSS actively modifies the data of the UE (it may be considered that the data belongs to Static context), then the two entities are directly sent to modify, and the CRN does not need to be changed, and the UE is not required to be notified. The two entities maintain their respective static contexts.
此外, 本发明还可以应用于单注册, 即信令激活后限制 UE 注册在两个 In addition, the present invention can also be applied to single registration, that is, after the signaling is activated, the UE is restricted to register in two.
RAT实体中, 但只有一个 RAJ实体( UE最新接入的实体)注册到 HSS中, 而另—个 RAT实体注册到该实体中 In the RAT entity, but only one RAJ entity (the entity that the UE newly accesses) is registered in the HSS, and another RAT entity is registered in the entity.
如 UE注册到 SAE后, ME注册到 HSS, SGSN将 MMIE作为其虛拟 HSS, SGSN仅注册到该 MME; 在这种情况下, 本方法为:  After the UE registers with the SAE, the ME registers with the HSS, and the SGSN uses the MMIE as its virtual HSS, and the SGSN registers only with the MME; in this case, the method is:
若 上次接入系统为 SAE, 当前接入系统为 且接入的节点是已 注册过的 SGSN, 则该方法为: SGSN从 MME获馭 DY〖C} , 不从其他节点获取 context; If the last access system is SAE, and the current access system is and the accessed node is a registered SGSN, the method is: The SGSN obtains 驭 〖〖C} from the MME, and does not obtain the context from other nodes;
若 UE上次接入系统为 SAE, 当前接入系统为 2G/3G, 且接入的节点是未 注册过的 SGSN, 则该方法为: If the last access system of the UE is SAE, the current access system is 2G/3G, and the accessed node is an unregistered SGSN, the method is:
ew SGSN从所述作为虚^ HSS的 MME获取 DY《C}、 ST{C;S}, 从 old SGSN获取 DY{S} > 不向 HSS馭 context, 之后 MME与新 SGSN建立关联; 或者, ∞w SGSN从所述作为虛拟 HSS的 MME获取所有上下文; The ew SGSN acquires DY "C}, ST{C ; S} from the MME as the virtual HSS, acquires DY{S} from the old SGSN, and does not associate with the HSS, and then the MME associates with the new SGSN; or, ∞ w SGSN acquires all contexts from the MME as a virtual HSS;
若上次接入系统为 SAE, 当前接入的是新的 MME节点, 则 ΐΐ方法为: oew MME从 old MME获取 DY(C, M) , ST{C, S},从 HSS获取 ST{M) , 或者从 o〗d MME获取全部 context, 之后新 MME与 SGSN建立关联;  If the last access system is SAE and the new MME node is currently accessed, the method is: oew MME obtains DY(C, M), ST{C, S} from the old MME, and obtains ST{M from the HSS. ), or obtain all the context from the o d MME, after which the new MME is associated with the SGSN;
若上次接入系统为 2G/3G, 当前接入系统为 SAE, 且接入的 MME节点是 已注册过的 MME, 则该方法为:  If the last access system is 2G/3G, the current access system is SAE, and the accessed MME node is a registered MME, the method is:
MME从 SGSN获取 DY{C}, 不从其他节点荻取 context;  The MME obtains DY{C} from the SGSN, and does not extract context from other nodes;
若上次接入系统为 2G/3G, 当前接入系统为 SAE,接入的 MME节点是未 注册过的 MME, 则¾方法为:  If the last access system is 2G/3G, the current access system is SAE, and the accessed MME node is an unregistered MME, the 3⁄4 method is:
new MME从 SGSN获取 OY{C} , 从 old MME获取 DY{M:}, ST{S}或 ST{C, S} , 从 HSS获取 ST{M}或 ST{C,M:》或全部静态 context:' 之后新 MME 与 SGSN建立关联;  New MME obtains OY{C} from SGSN, DY{M:}, ST{S} or ST{C, S} from old MME, ST{M} or ST{C, M: or all static from HSS Context: 'After the new MME is associated with the SGSN;
若上次接入系统为 2G/3G, 当前接入新的 SGSN'节点, 则新的 SGSN从 old SGS 获取 DY{C,S}, 从 MME获取 ST{C S} , 新 SGSN与 MME建立关 联':  If the last access system is 2G/3G, and the new SGSN' node is currently connected, the new SGSN acquires DY{C, S} from the old SGS, and acquires ST{CS} from the MME, and the new SGSN establishes association with the MME. :
如果 UE注册到 2G/3G后, SGSN注册到 HSS, SGSN作为 MME的虛拟 HSS, MME仅注册到该 SGSN, 也是同理, 不再赘述  If the UE is registered to the 2G/3G, the SGSN is registered to the HSS, and the SGSN is used as the virtual HSS of the MME. The MME is only registered to the SGSN, and the same is true.
此外需要说明的是,本发明所表迷的接入过:程,包括但不限于位置区更新、 业务请求、 寻呼响应、 Detach等过程 说明书以位置区更新为例进行说明  In addition, it should be noted that the access procedures of the present invention include, but are not limited to, location area update, service request, paging response, Detach, etc., and the location area update is taken as an example for description.
虽然通过实施例描绘了本发明, 本领域普通技术人员知道,本发明有许多 变形和变化而不脱离本发明的精神,希望所附的权利要求包括这些变形和变化 而不脱离本发明的精神。  While the invention has been described by the embodiments of the present invention, it will be understood that

Claims

权 利 要 求  Rights request
1, 一种获取接入系统上下文的方法, 其特征在于, 该方法包括: 用户设备 UE接入当前接入系统时,将其上次接入系统的信息提供给当前 接入系统;  A method for obtaining an access system context, the method includes: when a user equipment UE accesses a current access system, providing information about its last access to the system to the current access system;
当前接入系统才 该信息从 UE上次接入系统的实体中获馭上下文。  The current access system only obtains the context from the entity that the UE last accessed the system.
2,根据权利要求 1所述的方法, 其特征在于, 所述系统为网絡架构演进 SAE系统或 2G 3G系统, 该方法进一步包括:  The method according to claim 1, wherein the system is a network architecture evolution SAE system or a 2G 3G system, the method further comprising:
预先将所述上下文分为静态部分和动态部分,其中,静态部分是 SGSN或 MME在开机附着过程中从 HSS 中获取的上下文, 动态部分是除静态部分 SGSN或 MME根据 UE动作生成的上下文;再将静态部分分为 ST{S, M, C) , 分別表示静态部分中 SGSN特有的上下文、 MME特有的上下文和公共部分的 上下文; 将动态部分分为 DY S, M, C) , 分別表示动态部分中 SGSN特有的 上下文、 MME特有的上下文和公共部分的上下文  The context is divided into a static part and a dynamic part in advance, wherein the static part is a context acquired by the SGSN or the MME from the HSS during the power-on attach process, and the dynamic part is a context generated by the static part SGSN or the MME according to the UE action; The static part is divided into ST{S, M, C), which respectively represent the context specific to the SGSN in the static part, the context of the MME-specific context and the common part; the dynamic part is divided into DY S, M, C), respectively indicating dynamic Part of the SGSN-specific context, MME-specific context, and the context of the public part
3 , 根据权利要求 2所迷的方法, 其特征在于, 所述当前接入系统和所述 上次接入系统为不同类型的无线接入技术 RAr系统;  The method according to claim 2, wherein the current access system and the last access system are different types of radio access technology RAr systems;
所述 υ'Ε接入当前接入系统时,将其上次所接入系统的信息提供给当前接 入系统的过程包括:  When the υ'Ε accesses the current access system, the process of providing the information of the last accessed system to the current access system includes:
ϋΕ向当前接入系统中的接入实体发起接入请求, 在谅请求中携带表明上 次接入系统的标识, 所述标识为: 所述上次接入系统为所述 UE分配的临时移 动用户标识 TMSI和路由区 RA标识, 或者所述上次接入系统的无线接入技术 类¾ ;  Initiating an access request to the access entity in the current access system, and carrying the identifier indicating the last access system in the request, the identifier is: the temporary mobility allocated by the last access system to the UE User identification TMSI and routing area RA identification, or the wireless access technology class of the last access system 3⁄4;
所迷当前接入系统根据该信息从 UE上次接入系统的实体中获取上下文的 程. :  According to the information, the current access system obtains the context from the entity that the UE last accessed the system.
当前接入系统中的接入实体根据所迷上次接入系统的标识,确定 UE的上 次接入系统的旧的接入实体, 并从该实体获取 动态上下文中的公共部分 DY (C}。  The access entity in the current access system determines the old access entity of the last access system of the UE according to the identifier of the last access system, and obtains the public part DY (C} in the dynamic context from the entity. .
4, 根据权利要求 3所迷的方法, 其特征在于, 该方法进一步包括: 所述当前接入系统中的接入实体为 UE分配新的临时移动用户标识和路由 区 > 并将所述新的临时移动用户标识和路由区发送给 UE, 4. The method according to claim 3, wherein the method further comprises: the access entity in the current access system assigning a new temporary mobile subscriber identity and routing area to the UE > and the new The temporary mobile subscriber identity and routing area are sent to the UE.
5. 根据权利要求 4所述的方法, 其特征在于, 该方法进一步包括: 如果 UE当前移动到了一个没有注册过的接入实体, 则在所述接入实体为The method according to claim 4, wherein the method further comprises: if the UE currently moves to an unregistered access entity, the access entity is
UE分配新的临时移动用户标识和路由区之前, 所述接入实体通过位置更新过 程从 HSS获取 UE的静态上下文中所述接入实体特有的上下文及公共部分的 上下文。 Before the UE allocates the new temporary mobile subscriber identity and the routing area, the access entity acquires the context specific to the access entity and the context of the public part in the static context of the UE from the HSS through the location update process.
6 , 根据权利要求 3所述的方法, 其特征在于, 所述上次接入系统为 SAE 系统, 所述当前接入系统为 2GZ3G 系统; 所述当前接入系统中的接入实体为 SGSN , 所述上次接入系统的旧的接入实体为 MME  The method according to claim 3, wherein the last access system is an SAE system, the current access system is a 2GZ3G system, and the access entity in the current access system is an SGSN. The old access entity of the last access system is MME
Ί、根据权利要求 3所述的方法,其特征在于,所述上次接入系统为 2G 3G 系统, 所述当前接入系统为 SAE 系统, 所述当前接入系统中的接入实体为 ΜΜΕ, 所迷上次接入系统的旧的接入实体为 SGSN  The method according to claim 3, wherein the last access system is a 2G 3G system, the current access system is an SAE system, and the access entity in the current access system is ΜΜΕ The old access entity of the last access system is the SGSN.
8 , 根据权利要求 2所述的方法, 其特征在于, 所述当前接入系统与所述 上次接入系统为不同类型的接入系统, 且 UE所移动到的当前接 系统的接入 实体为 UE已经注册过的接入实体;  The method according to claim 2, wherein the current access system and the last access system are different types of access systems, and the access entity of the current access system to which the UE moves An access entity that has been registered by the UE;
所述 1JE接入当前接入系统时,将其上次所接入系统的信息提供给当前接 入系统的过程包括:  When the 1JE accesses the current access system, the process of providing the information of the last accessed system to the current access system includes:
UE向当前接入系统的接入实体发送接入请求 在该请求中携带表明上次 接入系统的标识; 所述标识为以下任意一种或多种組合: 所述上次接入系统为 所述 UE分配的 TMSi和 RA标识、 所述上次接入系统的无线接入技术类型、 所述当前接入系统为所述 UE分配的 TMSi和 RA标识;  The UE sends an access request to the access entity of the current access system, and carries the identifier indicating the last access system in the request; the identifier is any one or more of the following combinations: The TMSi and RA identifiers allocated by the UE, the type of radio access technology of the last access system, and the TMSi and RA identifiers allocated by the current access system to the UE;
所迷当前接入系统根据兹信息从 UE上次接入系统的实体中获取上下文的 过程包括:  The process in which the current access system acquires the context from the entity that the UE last accessed the system according to the information includes:
所迷当前接入系统的接入实体根据所迷上次接入系统的标识,确定 UE的 上次接入系统的!日的接入实体,并从该实体获取 UE动态上下文中的公共部分 DY (C} 0 The access entity of the current access system determines the UE's last access to the system according to the identity of the last access system! The access entity of the day, and obtain the public part DY (C} 0 in the dynamic context of the UE from the entity
9,根据权利要求 8所述的方法,其特征在于,所迷上次接入系统为 2G/3G 系统, 所述当前接入系统为 SAE 系统, 所述当前接入系统中的接入实体为 M .E.  The method according to claim 8, wherein the last access system is a 2G/3G system, the current access system is an SAE system, and the access entity in the current access system is M.E.
10 ,根据权利要求 8所述的方法, 其特征在于, 所述上次接入系统为 SAE 系统, 所述当前接入系统为 2G/3G 系统, 所述当前接入系统中的接入实体为 SGSN, The method according to claim 8, wherein the last access system is SAE The current access system is a 2G/3G system, and the access entity in the current access system is an SGSN.
1.1 >根椐权利要求 2所述的方法, 其特征在于, 所述当前接入系统与所述 上次接入系统为相同类型的接入系统, 且 UE所移动到的当前接入系统的接入 实体为 UE没有注册过的新的接入实体;  The method according to claim 2, wherein the current access system and the last access system are the same type of access system, and the current access system to which the UE moves is connected. The incoming entity is a new access entity that the UE has not registered;
所述 I JE接入当前接入系统时,将其上次所接入系统的信息提供给当前接 入系统的过程包括:  When the I JE accesses the current access system, the process of providing the information of the last accessed system to the current access system includes:
UE向新的接入实体发送接入请求, 其中, 在该请求中携带表明上次接入 系统的标识, 所迷标识为: 所述上次接入系统为所述 UE分配的 TMSI和 RA 标识, 和 /或所述上次接入系统的无线接入技术类型;  The UE sends an access request to the new access entity, where the request carries an identifier indicating the last access system, and the identifier is: the TMSI and the RA identifier allocated by the last access system to the UE And/or the type of wireless access technology of the last access system;
所迷当前接入系统根椐 i 信息从 UE上次接入系统的实体中获取上下文的 过程包括:  The process of obtaining the context of the current access system root information from the entity that the UE last accessed the system includes:
所迷新的接入实体根椐所述上次接入系统的标识,确定 UE的上次接入系 统的旧的接入实体,并从该实体中获取 UE的动态上下文中所述新的接入实体 特有的上下文及公共部分的上下文  The new access entity determines the old access entity of the last access system of the UE according to the identifier of the last access system, and obtains the new connection in the dynamic context of the UE from the entity. Into the entity-specific context and the context of the public part
12, 根据权利要求 U所迷的方法, 其特征在于, 该方法进一步包括: 所述新的接入实体通过位置更新过程, 从 HSS获取 UE的静态上下文中 所述新的接入实体特有的上下文、 公共部分的上下文„  The method according to claim 5, wherein the method further comprises: the new access entity acquiring, by the location update process, the context specific to the new access entity in the static context of the UE from the HSS , the context of the public part „
13, 根据权利要求】2所述的方法, 其特征在于, 所述上次接入系统和所 述当前接入系统为 2GZ3G系统,所述新的接入实体为 UE没有注册过的  The method according to claim 2, wherein the last access system and the current access system are 2GZ3G systems, and the new access entity is not registered by the UE.
14, 根据权利要求 12所迷的方法, 其特征在于, 所述上次接入系统和所 述当前接入系统为 SAJE系统, 所述新的接入实体为 UE没有注册过的 ΜΜΕβ 14. The method of claim 12 fans claim, wherein said last access system and the current system is a SAJE access system, the new access entity is not registered in the UE ΜΜΕ β
15, 根据权利要求 2所述的方法, 其特征在于, 所迷当前接入的系统与所 述上次接入的系统为不同类型的接入系统, 且 UE所移动到的当前接入系统的 接入实体为 UE没有注册过.的新的接入实体; The method according to claim 2, wherein the currently accessed system and the last accessed system are different types of access systems, and the current access system to which the UE moves The access entity is a new access entity that the UE has not registered.
所迷 UE接入当前接入系统时,将其上次所接入系统的信息提供给当前接 入系统的过程包括:  When the UE accesses the current access system, the process of providing the information of the last accessed system to the current access system includes:
UE向当前接入系统中新的接入实体发送接入请求, 在该请求中携带表明 上次所接入系统的标识, 所述标识为以下任意一种或多种组合: 所述上次接入 系统为所述 UE分配的 T S1和 RA标识, 所述上次接入系统的无线接入技术 类型、 所述当前接入系统为所迷 UE分配的 TMSI和 RA标识; The UE sends an access request to the new access entity in the current access system, where the request carries an identifier indicating the system that was accessed last time, and the identifier is any one or more of the following combinations: Enter The Ts1 and RA identifiers assigned by the system to the UE, the type of radio access technology of the last access system, and the TMSI and RA identifiers allocated by the current access system to the UE;
所述当前接入系统根据该信息从 UE上次接入系统的实体中获取上下文的 .过程包括:  The current access system acquires a context from an entity that the UE last accessed the system according to the information. The process includes:
所述新的接入实体根据所述上次接入系统的标识,从上次接入系统的接入 实体获馭 UE的动态上下文中的公共部分 DY {C} .  The new access entity obtains the public part DY {C} in the dynamic context of the UE from the access entity of the last access system according to the identifier of the last access system.
】.6、 根据权利要求】.5所述的方法, 其特征在于, 该方法还包括: 所述新的接入实体根据所述上次接入系统的标识,从当前接入系统中的旧 的接入实体获取 UE动态上下文中逾旧的接入实体特有的上下文;  The method according to claim 5, wherein the method further comprises: the new access entity from the current access system according to the identifier of the last access system The access entity acquires a context specific to the old access entity in the dynamic context of the UE;
通过注册过程从 HSS荻-取 UE静态上下文中所述新的接入实体特有的上 下文、 公共部分的上下文  The context of the context, public part unique to the new access entity in the UE static context is obtained from the HSS by the registration procedure
1.7,根据权利要求】5所述的方法,其特征在于,所述上次接入系统为 SAE 系统,所述当前接入系统为 2G/3G系统,所述新的接入实体为 UE没有注册过 的 SGSN。  1.7 The method according to claim 5, wherein the last access system is an SAE system, the current access system is a 2G/3G system, and the new access entity is not registered by the UE. The SGSN passed.
18、根据权利要求 15所述的方法,其特征在于,所述上次接入系统为 2G/3G 系统, 所述当前接入系统为 SAE系统, 所述新的接入实体为 UE没有注册过 的 ΜΜΕ,,  The method according to claim 15, wherein the last access system is a 2G/3G system, the current access system is an SAE system, and the new access entity is not registered by the UE. Oh,
19, 根据权利要求 2所述的方法, 其特征在于, 所迷 ΜΜΕ和 /或 SC3SN 分别保存所有动态上下文 DY{all }, 所述当前接入系统的实体从上一接入系统 的实体获取所述 DY{a j .,  The method according to claim 2, wherein the obscured and/or the SC3SN respectively save all dynamic contexts DY{all }, and the entity of the current access system acquires from the entity of the previous access system DY{aj.,
20, 根据权利要求 2所迷的方法, 其特征在于, 所迷 MM.E和 /或 SGSN 分別保存所有动态上下文 DY{all)以及所有静态上下文 S' a ) ,所述当前接入 系统的实体从上一接入系统的实体获取所迷 ST{all}^ ¾ DY{ail} 0 20. The method according to claim 2, wherein the MM.E and/or the SGSN respectively save all dynamic contexts DY{all) and all static contexts S'a), the entities of the current access system Get the ST{all}^ 3⁄4 DY{ail} 0 from the entity of the previous access system
21 . 根据权利要求 2所述的方法, 其特征在于, 所述 MME和 /或 SGSN 分別保存各自的动态上下文以及静态上下文, 所迷当前接入系统的实体从 UE 曾经接入过的与当前接入系统同类型的接入系统的实体中获取 UE的动态上下 文.和静态上下文。  The method according to claim 2, wherein the MME and/or the SGSN respectively store respective dynamic contexts and static contexts, and the entity of the current access system contacts the current connection that the UE has accessed. The dynamic context and static context of the UE are obtained in an entity of the access system of the same type.
22、根据权利要求〗所述的方法, 其特征在于, 所述当前接入系统与上次 接入系统为不同系统、 且 IJE当前移动到的接入设备为一个新的接入设备时, 所述从上次接入系统的实体中获取上下文的过程包括: The method according to the preceding claims, wherein, when the current access system is a different access system from the last access system, and the access device currently moved by the IJE is a new access device, The process of obtaining a context from an entity that accesses the system last time includes:
UE新的当前接入系统的实体向 UE旧的当前接入系统的实体和上次接入 系统的实体获取上下文。  The entity of the UE's new current access system acquires the context from the entity of the old current access system of the UE and the entity of the last access system.
23 根据权利要求 2所述的方法, 其特征在于, 在获取上下文之前, 该方 法进一步包括: UE注册到 SAE后, MME注錄到 HSS, SGSN将 MME作为 虛拟 HSS> SGSN注册到读 MME, UE注册到 MME和 SGSN;  The method according to claim 2, wherein before the obtaining the context, the method further comprises: after the UE registers with the SAE, the MME records the HSS, and the SGSN registers the MME as a virtual HSS>SGSN to the read MME, the UE Register to the MME and SGSN;
若 UE上次接入系统为 SAE, 当前接入系统为 2G/3G, 且接入的节点是已 注册过的 SGSN, 则 SGSN从 MME获取 DY{C);  If the last access system of the UE is SAE, the current access system is 2G/3G, and the accessed node is a registered SGSN, the SGSN obtains DY{C) from the MME;
若 UE上次接入系统为 SAE, 当前接入系统为 2G/3G ,且接入的节点是未 注册过的新的 SGSN, 则所述新的 SGSN从所述作为虛拟 HSS的 MME获馭 DY{C ST{C,S} , 从旧的 SGSN获取 DY{S} ;  If the last access system of the UE is SAE, the current access system is 2G/3G, and the accessed node is an unregistered new SGSN, the new SGSN obtains DY from the MME as the virtual HSS. {C ST{C,S} , get DY{S} from the old SGSN;
若 UE上次接入系统为 SAE,当前接入的是新的 MME节点,则新的 MME 从旧的 MME获取 DY{C, M} , ST{C, S , 从: HSS获取 ST{M}, 或者从旧的 MME获取全部上下文;  If the last access system of the UE is SAE and the new MME node is currently accessed, the new MME obtains DY{C, M}, ST{C, S from the old MME, and obtains ST{M} from: HSS. , or get all contexts from the old MME;
若 UE上次接入系统为 2G/3G, 当前接入系统为 SAE, 且接入的 MME节 点是已注册过的 MME, 则 M E从 SGSN获取 DY{C) ;  If the last access system of the UE is 2G/3G, the current access system is SAE, and the accessed MME node is the registered MME, then M E obtains DY{C) from the SGSN;
若 UE上次接入系统为 2G/3G, 当前接入系统为 SAE, 接入的 MME节点 是未注册过的 MME, 则新的 MME从 SGSN获取. DY{C) , 从旧的 MME获 取 DYiM}, ST{S}或 ST{C, S} , 从 HSS获取 ST{3VJ}或 ST{C,M)或全部静态 上下.文;  If the last access system of the UE is 2G/3G, the current access system is SAE, and the accessed MME node is an unregistered MME, the new MME obtains DY{C) from the SGSN, and obtains DYiM from the old MME. }, ST{S} or ST{C, S}, obtain ST{3VJ} or ST{C, M) or all static upper and lower texts from the HSS;
若 UE上次接入系统为 2G/3G, 当前接入新的 SGSN节点, 则新的 SGSN 从!日的 SGSN获取 DY{C,S} , 从 MME荻取 ST{C, S} e If the UE accesses the system last time as 2G/3G and accesses the new SGSN node, the new SGSN obtains DY{C, S} from the SGSN of the ! day, and retrieves ST{C, S} e from the MME.
24, 根据权利要求 1至 23任意一项所迷的方法, 其特征在于, 读方法进 一步包括:  24. A method according to any one of claims 1 to 23, characterized in that the reading method further comprises:
在所迷接入请求消息中携带上下文参考号 CRN;  Carrying a context reference number CRN in the access request message;
所迷当前接入系统中的网络实体根据所述 CRN确定是否本实体保存有最 新的上下文;  The network entity in the current access system determines, according to the CRN, whether the entity stores the latest context;
如果没有, 则决定向其他实体获取上下文  If not, decide to get the context from other entities
PCT/CN2007/070495 2006-08-16 2007-08-16 Method for obtaining contexts of access system WO2008022593A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610115654.4 2006-08-16
CNB2006101156544A CN100563390C (en) 2006-08-16 2006-08-16 Obtain the method for access system context

Publications (1)

Publication Number Publication Date
WO2008022593A1 true WO2008022593A1 (en) 2008-02-28

Family

ID=39095926

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070495 WO2008022593A1 (en) 2006-08-16 2007-08-16 Method for obtaining contexts of access system

Country Status (2)

Country Link
CN (1) CN100563390C (en)
WO (1) WO2008022593A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016037546A1 (en) * 2014-09-08 2016-03-17 Huawei Technologies Co., Ltd. System and method for inter-radio access technology handoff

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600192B (en) * 2008-06-06 2011-04-27 大唐移动通信设备有限公司 Method, equipment and system for synchronizing user context
CN102821382B (en) 2008-06-18 2015-09-23 上海华为技术有限公司 A kind of device for accessing
CN102821381A (en) * 2008-06-18 2012-12-12 上海华为技术有限公司 Method and device for accessing and acquiring contexts and identifiers of user equipment
CN102045687B (en) * 2009-10-16 2014-09-10 中兴通讯股份有限公司 Method and system for establishing association relationship of combined nodes
CN102595368B (en) * 2011-01-17 2015-01-07 华为技术有限公司 Method, system and device for registering
CN102740442B8 (en) * 2011-04-01 2018-01-26 福建科杰物联网科技有限公司 A kind of mthods, systems and devices for realizing static data synchronization
GB2508160A (en) * 2012-11-21 2014-05-28 Ibm Avoiding conflicts between computing machines
CN107396405A (en) * 2016-05-17 2017-11-24 北京信威通信技术股份有限公司 A kind of method, base station and the terminal of base station access by terminal system
CN113260015B (en) * 2021-05-11 2022-11-18 中国联合网络通信集团有限公司 Task processing method and access and mobility management functional entity

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1290464A (en) * 1998-02-13 2001-04-04 诺基亚网络有限公司 Routing area update in packet radio network
US6661782B1 (en) * 1997-01-20 2003-12-09 Nokia Telecommunications Oy Routing area updating in packet radio network
CN1697395A (en) * 2004-05-12 2005-11-16 华为技术有限公司 Method for updating routing area in operation of multimedia broadcast/multicast service
CN1741493A (en) * 2004-08-27 2006-03-01 华为技术有限公司 Universal block radio business service support internodal routing zone renewal method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6661782B1 (en) * 1997-01-20 2003-12-09 Nokia Telecommunications Oy Routing area updating in packet radio network
CN1290464A (en) * 1998-02-13 2001-04-04 诺基亚网络有限公司 Routing area update in packet radio network
CN1697395A (en) * 2004-05-12 2005-11-16 华为技术有限公司 Method for updating routing area in operation of multimedia broadcast/multicast service
CN1741493A (en) * 2004-08-27 2006-03-01 华为技术有限公司 Universal block radio business service support internodal routing zone renewal method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016037546A1 (en) * 2014-09-08 2016-03-17 Huawei Technologies Co., Ltd. System and method for inter-radio access technology handoff

Also Published As

Publication number Publication date
CN101128046A (en) 2008-02-20
CN100563390C (en) 2009-11-25

Similar Documents

Publication Publication Date Title
WO2008022593A1 (en) Method for obtaining contexts of access system
US20200260256A1 (en) Location Area Management Method and Device
JP4981914B2 (en) Resynchronization of temporary UEID in wireless communication system
KR101712865B1 (en) Communication supporting method and apparatus using non-access stratum protocol in mobile telecommunication system
KR100689575B1 (en) System for a fast network re-entry in a broadband wireless access communication system and method thereof
JP5021772B2 (en) How to prevent resources being accidentally released during the tracking area update or switchover process
WO2008019632A1 (en) A method, device and system for negotiating context
WO2014146474A1 (en) Terminal registration method, terminal discovery method, terminal and device
US8582503B2 (en) Method for indicating the bearer management of a serving gateway
WO2009097772A1 (en) Control method, communication system and relative device for resource release
WO2010015207A1 (en) Information processing method for closed subscriber group, access control method, network system and device
WO2008128452A1 (en) The method, system and cn node for load transferring in the pool area
WO2008052454A1 (en) Mobile communication method, mobile communication system and access entity
WO2010012176A1 (en) Method, device and system for intersystem handoff capability information obtaining and system accessing
EP2296418B1 (en) Processing method, system and apparatus for mobility management
WO2007087751A1 (en) A method for triggering routing area update in packet wireless system
BR112020004785A2 (en) method and apparatus for using ladn in wireless communication system
WO2010031353A1 (en) A processing method, device and system of service request
WO2009124488A1 (en) Method, system and device for acquiring emergency service information
WO2011153750A1 (en) Method and system for synchronizing user data
WO2007112690A1 (en) Route updating method and system in mobile communication system
WO2014166294A1 (en) Proximity service server selection method and apparatus, and user registration method and apparatus
WO2017167153A1 (en) Mobile communication system and paging method
WO2014201630A1 (en) Joint position updating processing method, device and system
WO2009026843A1 (en) System, apparatus and method for updating the user equipment's location

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07800971

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

122 Ep: pct application non-entry in european phase

Ref document number: 07800971

Country of ref document: EP

Kind code of ref document: A1