WO2007109995A1 - Method for a terminal to quit a network and mobile communication system - Google Patents

Method for a terminal to quit a network and mobile communication system Download PDF

Info

Publication number
WO2007109995A1
WO2007109995A1 PCT/CN2007/000977 CN2007000977W WO2007109995A1 WO 2007109995 A1 WO2007109995 A1 WO 2007109995A1 CN 2007000977 W CN2007000977 W CN 2007000977W WO 2007109995 A1 WO2007109995 A1 WO 2007109995A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
network
anchor
release
data channel
Prior art date
Application number
PCT/CN2007/000977
Other languages
French (fr)
Chinese (zh)
Inventor
Jianjun Wu
Liang Gu
Jinsheng Cao
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
Priority claimed from CN200610073445A external-priority patent/CN101047710B/en
Priority claimed from CN2006100734443A external-priority patent/CN101047709B/en
Priority claimed from CN2006100918413A external-priority patent/CN101090332B/en
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2007109995A1 publication Critical patent/WO2007109995A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/04Network layer protocols, e.g. mobile IP [Internet Protocol]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/08Upper layer protocols
    • H04W80/10Upper layer protocols adapted for application session management, e.g. SIP [Session Initiation Protocol]

Definitions

  • the present invention relates to a radio access network technology, and in particular, to a method for processing a terminal retiring in a radio access network and a mobile communication system capable of implementing a terminal retiring.
  • the wireless access network is mainly used to provide packet forwarding or routing functions between the service providing network and mobile users.
  • the object of the embodiments of the present invention is to provide a method for processing a terminal to retreat from the network and a mobile communication system that can implement the network retreat of the terminal, thereby solving the problem of the network retreating when the network is initiated by the terminal or the network is initiated by the network. .
  • An embodiment of the present invention provides a method for processing a terminal to retired the network, including: when the terminal is disconnected from the network, the network side entity performs a front-end of the terminal-related data channel and deletes the context information of the terminal.
  • the terminal when the terminal is shut down, the user actively withdraws from the network, the network side resource is blocked, or the network side service policy is changed, the terminal is disconnected.
  • the above method further includes: requiring the IP address allocation entity to release the IP address of the terminal.
  • the method of the embodiment of the present invention specifically includes: the terminal MS sends a de-registration request carrying the network-backing indication to the serving base station; the serving base station responds to the de-registration request, and sends a message carrying the network-backing indication to the anchor access service gateway to perform the terminal. Release of related data channels and contexts.
  • the method further includes: the serving base station sending a de-registration command message carrying the back-off indication to the MS before the MS sends the registration request.
  • the anchor access service gateway After learning the terminal back-off indication, the anchor access service gateway sends a network-back response message to the serving base station; the base station returns a network-back confirmation message to the anchor access service gateway.
  • the above method may further comprise the serving base station replying to the registration command to the terminal.
  • the method further includes: the terminal initiates a mobile IP deregistration process, and the external proxy and the home agent release the mobile IP registration information after receiving the mobile IP deregistration request.
  • the method of the embodiment of the present invention may specifically include: sending, by the monthly base station, a de-registration command carrying the network-backing indication to the terminal, and starting a network-backing timer; when the timer expires, the base station initiates a message carrying the network-backing indication
  • the anchor accesses the service gateway to release the terminal-related data channel and context.
  • An embodiment of the present invention further provides a mobile communication system, including: a terminal, a service base station, and an anchor access service gateway, where
  • the terminal is configured to send a de-registration request carrying a network-backing indication to the serving base station; the serving base station is configured to send a de-registration command to the terminal, and send a message carrying a network-backing indication to the anchor access service.
  • the anchor access service gateway is configured to receive the message carrying the network return indication, and perform terminal related data channel and context release.
  • the terminal retiring method provided by the present invention can implement the terminal retiring conveniently, flexibly, and efficiently, and release the resources configured by the network side for the terminal in the process of retiring the network, thereby saving system resources.
  • Figure 1 is a schematic diagram of a WiMAX network architecture
  • FIG. 2 is a schematic flowchart of an embodiment of a method for processing a terminal to be retired in a CMIP mode initiated by a terminal according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic flowchart of an embodiment of a method for processing a terminal to be retired in a CMIP mode initiated by a terminal according to Embodiment 2 of the present invention
  • FIG. 4 is a schematic flowchart of an embodiment of a method for processing a terminal to be retired in a PMIP mode initiated by a terminal according to Embodiment 3 of the present invention
  • FIG. 5 is a schematic flowchart of an embodiment of a method for processing a network in a CMIP mode initiated by a network side according to Embodiment 5 of the present invention
  • FIG. 6 is a schematic flowchart of an embodiment of a method for processing a network in a CMIP mode initiated by a network side according to Embodiment 6 of the present invention
  • FIG. 3 is a schematic flowchart diagram of an embodiment of a method for processing a network in a PMIP mode initiated by a network side according to Embodiment 7 of the present invention. Mode for carrying out the invention
  • the following embodiments are all described by taking a WiMAX network as an example. It should be noted that the method and system for retiring the terminal provided by the embodiment of the present invention are not limited to the application to the WiMAX system, and may be applied to any other wireless access technology.
  • the WiMAX network architecture system is shown in Figure 1, which mainly includes the terminal (MS, Mobile Subscribe Station), and accesses the monthly service network (ASN, Access Service Network ) and the Connected Network (CSN) are three major parts.
  • MS Mobile Subscribe Station
  • ASN Access Service Network
  • CSN Connected Network
  • the MS is a mobile user equipment, and the user uses the MS to access the WiMAX network.
  • ASN is a set of network functions that provide wireless access services for WiMAX terminals.
  • the ASN includes base stations (BS, Base Station) and access service network gateway (ASN-GW, Access Service Network Gate Way) network elements.
  • the functions of the BS include: providing layer 2 (L2) connection of BS and MS, radio resource management, measurement and power control, compression and encryption of air interface data, and the like.
  • the functions of the ASN-GW include: Proxy function for MS authentication, authorization and accounting functions, Anchor Authenticator functional entity; Network discovery and selection for NSP; Layer 3 for MS (L3 M Relay function, such as Internet Protocol (IP, Internet Protocol) address allocation; and radio resource management, etc.
  • ASN-GW can also include the following optional functional entities: Switching control function in ASN Entity; MS paging and location management, such as paging controller (PC) functional entity; tunnel management function entity between ASN-CSN, equivalent to external proxy (FA) in mobile IP (MIP) technology, and anchor proxy MIP client (Anchor PMIP Client) functional entity; and visit location registration, anchor service flow authorization entity (Anchor SFA) functional entity.
  • Switching control function in ASN Entity such as paging controller (PC) functional entity
  • PC paging controller
  • FA external proxy
  • MIP mobile IP
  • Anchor PMIP Client anchor proxy MIP client
  • Visit location registration anchor service flow authorization entity
  • the functional entities in the above ASN-GW because of the movement of the MS, the timing of their respective trigger changes is different, which will result in the above functional entities serving a specific MS, such as Anchor Authenticator, FA, Anchor SFA, Anchor PMIP. Clients and the like may exist in different ASN-GWs, so in one activity, interactions between different ASN-GWs will be involved.
  • CSN is an IP connection service for WiMAX terminals.
  • the main functions provided by CSN include: MS IP address allocation; Internet access; authentication, authentication and accounting (AAA) Proxy or AAA server (AAA server); user-based authorization control; ASN to CSN tunnel, equivalent to home agent (HA) in MIP technology; WiMAX user billing and inter-operator settlement; CSN in roaming case Tunneling between; ASN switching; various WiMA services such as: location-based services, multimedia multicast and broadcast services, IP multimedia subsystem services.
  • the embodiment of the present invention mainly solves the problem of the network retreat of the MS, including the network exit initiated by the MS and the network exit initiated by the network.
  • the reason why the MS initiates the network retreat includes the shutdown operation and the user actively withdrawing from the network.
  • the reason for the network side to initiate the network revocation is as follows: The network side captures the MS abnormal network drop, the network side resource is blocked, and the network side initiates the network exit according to the network side service policy.
  • the network-side resource blocking of the network is triggered by the network-side functional entity that triggers the network-back-off according to the load state of the physical entity in which the network entity is located.
  • the network side resource is blocked, and may occur in the physical entity where the FA is located, or the physical entity where the SFA is located, or the physical entity where the HA is located.
  • the network side may consider releasing resources occupied by those MSs with lower priority so that resources can be used by those users who need them. At this time, the network exit process will be initiated, and the MS will be temporarily unable to use the network.
  • the network side service policy includes a network access provider NAP, a home network service provider H-NSP, and a service policy of the visited network service provider V-NSP, and the like, for example, may be an AAA server according to an operator (including NAP, The service policy of the H-NSP and/or the V-NSP is configured.
  • NAP network access provider
  • H-NSP home network service provider
  • V-NSP visited network service provider
  • the service policy of the H-NSP and/or the V-NSP is configured. The user is required to quit the network, and the MS owner voluntarily requests the network to be retired.
  • the network side entity that initiates the network revocation includes the base station BS and the Serving ASN-G 7 Anchor ASN-GW. If the network entity that initiates the network revocation is the serving ASN-GW/Anchor ASN-GW, the trigger source may be one of the functional entities, including: a data channel function (DPF), a service stream licensor (SFA), an authenticator. ( Authenticator ), FA, Accounting Client (Accounting Client), Agent MIP client (PMIP Client), HA, Policy Server (PF), AAA server, etc.
  • DPF data channel function
  • SFA service stream licensor
  • an authenticator Authenticator
  • FA Accounting Client
  • PMIP Client Agent MIP client
  • HA Policy Server
  • AAA server etc.
  • the network initiated by the MS or the network initiated by the network can be divided into: MS outbound in the SIP (Simple IP) mode; PMIP The MS exits the network in the mode; and the MS in the client mobile IP (CMIP) mode exits the network.
  • the main difference between the three modes is that there is no MIP release process in the SIP mode.
  • the MIP signaling message in the PMIP mode is initiated by the network side.
  • the MIP signaling message in the CMIP mode can be initiated by the MS or by the network side. initiate. Therefore, there are different MS exit processes corresponding to different modes.
  • the MS network retreat method provided by the embodiment of the present invention mainly includes: when the MS or the network side initiates the network retreat, the network side entity performs the network retreat operation, releases the data channel related to the MS, resources, etc., and deletes the saved data. MS related context information.
  • the method of the present invention further includes requiring the IP address allocation entity to release the IP address resource.
  • the IP address release process differs according to the way IP addresses are allocated. Therefore, during the MS network retreat process, the IP address release process that needs to be performed is also different according to the allocation mode. For example, if the IP address is obtained during the MIP registration process (for example, by the HA;), the IP address can be released simultaneously during the MIP release process, and a separate IP release process is no longer needed. If the IP address is dynamically assigned (eg, by a Dynamic Host Configuration Protocol (DHCP) proxy/server), a separate DHCP signaling interaction procedure is required to release the IP address.
  • DHCP Dynamic Host Configuration Protocol
  • the Anchor Authenticator can interact with the AAA to release the IP address when the network is disconnected. If the IP address is assigned by another entity, it also needs to interact with the entity to release the IP address when the MS exits the network, and so on. In summary, regardless of the IP address allocation method, the MS will request to release the IP address resource when it exits the network.
  • the method of releasing may be that the MS exchanges the signaling message with the entity responsible for allocating the IP address to release the IP, or the MS does not directly notify the Entity, IP lifetime that is notified by other entities on the network side or maintained by the entity itself
  • Embodiment 1 MS quit network initiated by MS in CMIP mode
  • FIG. 2 is a schematic diagram of a network ejecting process initiated by an MS in a CMIP mode according to an embodiment of the present invention, as shown in FIG. 2:
  • Step 201 Optionally, after the MS triggers the network retreat, the MS initiates a MIP to register the process. It should be noted that, in the embodiment, the foregoing step 201 includes:
  • the MS encapsulates a complete MIP registration request message, which is sent to the FA.
  • the HA After receiving the MIP Registration Request message, the HA verifies the legality of the message, and after replying to the MIP registration reply message, the MIP registration reply message is sent to the FA;
  • the FA and the HA release the corresponding resources after receiving the MIP Registration Request message. If the IP address is allocated by the HA, the IP address resource can be released at the same time. Further, optionally, after receiving the MIP Registration Request message, the HA may notify the AAA to release the MS-related context.
  • the IP address release process specifically includes: the MS sends a DHCP Release Request message to the DHCP server, initiates a DHCP release process, requests to release the dynamically assigned IP address, and the DHCP server releases the IP address dynamically allocated for the MS.
  • Step 202 The MS sends a network revocation request message to the serving base station (SBS) to request to leave the network, and the message may also carry a network retreat indication (for example, a shutdown indication).
  • SBS serving base station
  • Step 203 After receiving the MSRP request message, the SBS initiates a data path release process related to the MS.
  • the data channel release process in this step specifically includes:
  • the service ASN-GW to which the SBS is connected to the SBS that is, Serving ASN-GW, .
  • the Path De-registration Request carries the MS ID and the back-off indication of the MS, and may further carry an Anchor Authenticator ID and an Accounting Client ID of the MS.
  • the serving ASN-GW forwards the received Path De-registration Request to the Anchor ASN-GW where the FA is located.
  • the anchor access service gateway may also be an anchor access service gateway where the data function body (ADSL) is located, or an anchor access service gateway where the AnchorAuthenticator is located, or an anchor access service gateway where the Anchor SFA is located, or Anchor Accounting.
  • the anchor where the client is located is connected to the service gateway.
  • the SBS can also be placed at the time before the resource allocated to the MS and the reserved context, including the security context and state machine, the service flow context and the state machine, such as: the assigned air interface connection identifier (CID) ), resource scheduling queue state machine, service encryption key (TEK) state machine, authentication key (AK), and AK context, HMAC Digest, and so on.
  • the MIP can be used to initiate the registration process.
  • the Anchor ASN-GW may further initiate a context release process according to the network revocation indication, including: ASN of the anchor ASN-GW to the Anchor Authenticator of the MS.
  • the GW sends an indication message for deleting the MS context, Delete MS context Indication; at this time, if the security context of the MS remains in the AAA, the Anchor Authenticator of the MS will notify the AAA to inform the MS to quit the network, and request to delete the security context information of the MS;
  • the ASN-GW where the Anchor Authenticator is located is
  • the Anchor ASN-GW receives the data channel release request of the MS, and initiates the stop charging process according to the network revocation indication, including: Anchor ASN-GW or FA to the Accounting Client of the MS.
  • the ASN-GW sends a termination charging request message.
  • the Accounting Client sends a stop charging message to the AAA, Account-Request/Sto.
  • the ASN-GW where the Accounting Client is located returns a termination charging response message to the Anchor ASN-GW. .
  • the anchor ASN-GW where the anchor SFA is located initiates a location update request SFA-LU-Request to the policy server PF according to the network revocation indication.
  • the message may need to pass one or more visited PFs (V-PF). ) to get to the hometown PF (H-PF).
  • the message carrying the MS's back-off indication can also carry the reason for the network retreat.
  • the policy server PF deletes the MS context information it maintains according to the received notification message. At the same time, the policy server can record the reason for the network back.
  • the PF also needs to notify the AAA to release the MS-related context.
  • the PF may be an independent entity or a functional entity within the AAA.
  • the FA notifies the DHCP agent to initiate an IP address release procedure.
  • the FA in the Anchor ASN-GW releases the resource corresponding to the current MS, and the reply data channel releases the response Path De-Registration Response to the serving ASN-GW.
  • the FA needs to delete the data channel corresponding to the MSID according to the back-off indication; otherwise, the data channel does not need to be removed.
  • Step 204 The SBS replies to the MS quit message response message, indicating that the MS terminates all services with the current BS, and the MS quits the network.
  • step 204 can also be performed before step 203, so that the MS back-off time can be effectively shortened.
  • Step 205 The SBS replies with a retiring confirmation message to the serving ASN-GW.
  • the network confirmation message is a data channel release confirmation message Path De-Registration Ack.
  • the SBS can also release the resources allocated before the MS and the reserved context at this time.
  • Step 206 The service ASN-GW replies with a network confirmation message to the Anchor ASN-GW where the FA is located.
  • the MIP registration process or the IP address release process may be performed after the above steps are performed. Because the MIP registration process or the IP address release process needs to interact with the core network entity, the delay is large. Therefore, the MIP registration process or the IP address release process is performed at this time, which greatly reduces the network exit from the user's point of view. Delay.
  • IP address release process may not be performed by the DHCP server.
  • the internal aging mechanism implements IP address release, that is, automatically releases the dynamically assigned IP address after the Lifetime of the IP address expires.
  • Embodiment 2 of the present invention provides another method for MS-originated MS quit in CMIP mode.
  • the method considers that after the FA knows that the MIP of the MS is de-registered, the FA initiates the corresponding data channel of the MS. The process is released, and the network response message is sent to the MS, indicating that the MS is offline. The process is as shown in Figure 3.
  • Step 301 After the MS triggers the network retreat, the MS initiates a MIP registration process.
  • the MS initiates a MIP registration process.
  • the step is a mandatory step.
  • the MS may also initiate an IP address release process.
  • Step 302 The FA initiates a data channel release process associated with the MS.
  • the data channel release process includes:
  • the Anchor ASN-GW where the FA is located sends a Data Channel Release Request message.
  • the Path De-registration Request is sent to the service ASN-GW.
  • the message carries the MSID and the back-off indication and the Anchor Authenticator ID and Accounting Client ID that may be further carried.
  • the service ASN-GW forwards the received data channel release request message to the SBS.
  • the service ASN-GW forwards the data channel release response.
  • the Path De-Registration Response sends the FA in the Anchor ASN-GW where the FA is located, and the FA in the Anchor ASN-GW releases the resource corresponding to the current MS.
  • the FA needs to delete the data channel corresponding to the MSID according to the back-off indication; otherwise, the data channel does not need to be removed.
  • the Anchor ASN-GW receives the data channel release request of the MS.
  • the context release process is initiated according to the back-off indication. For details, refer to the context release process provided in Embodiment 1.
  • the Anchor ASN-GW receives the Data Path release request of the MS, and may initiate a stop charging process according to the network revocation indication. For the specific process, refer to Embodiment 1.
  • the FA may notify the DHCP agent to initiate an IP address release process.
  • Step 303 The Anchor ASN-GW where the FA is located returns a network confirmation message to the service ASN-GW.
  • the network confirmation message is a data channel release confirmation message Path De-Registration Ack.
  • Step 304 The service ASN-GW replies to the retiring confirmation message to the SBS.
  • Step 305 The SBS replies to the network return response message to the MS, indicating that the MS terminates all services with the current BS, and the network is successfully retired.
  • the back-off response message is DREG-CMD, where
  • the FA may initiate an IP address release procedure for the dynamically assigned IP address.
  • the IP address release process may not be performed, and the IP address is released by the aging mechanism in the DHCP server, that is, the dynamically allocated IP address is automatically released after the Lifetime of the IP address expires.
  • Embodiment 3 MS-initiated MS network retreat process in PMIP mode:
  • Manner 1 The FA initiates the MS to initiate.
  • the MIP goes to the registration, and the registration message is sent to the HA via FA, and the FA and HA release the MIP-related registration information.
  • Manner 2 The FA notifies the MS to release the MIP-related registration information, and the FA initiates the MIP to register the message, and the FA and the HA release the MIP-related registration information.
  • Step 401 The MS sends a network revocation request message to the SBS, requesting to leave the network, and the message may also carry the network retreat indication.
  • the backoff request message may be a deregistration request message.
  • Step 402 After receiving the MSRP request message, the SBS initiates a data channel release process related to the MS, including:
  • SBS sends a data channel release request message.
  • Path De-registration Request A service that connects to the SBS.
  • the ASN-GW carries the MSID and the back-off indication. It may further carry the Anchor Authenticator ID and the Accounting Client ID.
  • the serving ASN-GW forwards the received Path De-registration Request to the Anchor ASN-GW where the FA is located.
  • the Anchor ASN-GW receives the Path De-registration Request of the MS, and sends an R3 session release request message to the ASN-GW where the Anchor PMIP Client of the MS is located according to the back-off indication.
  • the HA After the Request message is released, the corresponding resource is released. If the IP address is allocated by the HA, the IP address resource can be released at the same time. Further, optionally, after receiving the MIP Registration Request message, the HA may also notify the AAA to release the MS-related context.
  • the Anchor PMIP Client deletes some context information of the MS it retains; and replies to the R3 session release response message R3 Session Release Response to the FA.
  • the FA receives the R3 Session Release Response message returned by the Anchor PMIP Client, indicating that the R3 link of the MS has been successfully released, releasing the resource corresponding to the MS locally, and replying to the data channel release response message Path De-Registration Response to the MS The service ASN-GW to which the current SBS is connected.
  • the MS network does not need to be removed from the data channel. You only need to release the MS context and the corresponding resources. Otherwise, the FA needs to delete the data channel corresponding to the MSID according to the network exit indication.
  • the Anchor ASN-GW/FA may initiate a stop charging process, that is, send a termination charging request message to the ASN-GW where the Accounting Client of the MS is located. Further, the accounting client sends a stop charging message Account-Request/Stop to the AAA, and then the ASN-GW where the Accounting Client is located returns a terminating charging response message to the Anchor ASN-GW.
  • Step 4030 The serving ASN-GW replies to the Path De-Registration Response message to the SBS.
  • Step 403 The SBS replies to the back-off response message to the MS, indicating that the MS terminates all services with the current BS, and the network is successfully retired.
  • Step 404 The SBS replies with a retiring confirmation message to the serving ASN-GW.
  • the network confirmation message is a data channel release confirmation message Path De-Registration Ack.
  • the SBS can be used as the resource allocated before the MS and the reserved context, including the CID, the resource scheduling queue state machine, the TEK state machine, the AK and the AK context, the HMAC Digest, and the like.
  • Step 405 The service ASN-GW replies with a network confirmation message to the Anchor ASN-GW where the FA is located.
  • the FA may send an R3 Session Release Ack message to notify the corresponding Authenticator of the MS to delete all corresponding context information of the MS.
  • the Anchor Authenticator of the MS can notify the AAA to inform the MS to quit the network, and request to delete the security context information of the MS.
  • the FA can notify the Anchor SFA corresponding to the MS to delete all the corresponding contexts of the MS. information.
  • the Anchor SFA can also send the SFA-LU-Request message carrying the network deletion indication to the PF for location update.
  • the PF is required to delete the MS-related context information, including the SFID, FID, and the information such as the authorized service flow state machine. After that, the service flow authorization entity location update response message SFA-LU-Response will be returned to the Anchor SFA.
  • the FA can notify the DHCP proxy to initiate the IP address release process, that is, send a DHCP Release Request message to the DHCP server.
  • the IP address release process is initiated by the MS before step 401.
  • the IP address release process is implemented by the aging mechanism in the DHCP server without performing the IP address release process.
  • Embodiment 4 MS egress network initiated by MS in SIM mode
  • SIP mode there is no MIP release process described in Embodiments 1-3, and other processes are the same as those in Embodiments 1-3, and reference may be made to the above Embodiments 1-3, and details are not described herein again.
  • Embodiment 5 MS network revocation process initiated by the network side in CMIP mode
  • FIG. 5 is a schematic diagram of a MS network revocation process initiated by a network side in a CMIP mode according to an embodiment of the present invention. As shown in FIG. 5, the method mainly includes:
  • Step 501 when the network side entity triggers the MS to exit the network based on the network side resource blocking and/or the network side service policy, the SBS sends a network return response message carrying the network return indication to the MS, requesting the MS to exit the network. .
  • the back-off timer T1 can be further started.
  • the back-off response message may also carry the following information: a time indication or a time range indication, requiring the MS to access the network within a specified time within a specified time or within a specified time.
  • Step 502 Optionally, the FA on the network side initiates a MIP to register the process.
  • the FA forwards the MIP Registration Request message to the HA;
  • the HA verifies the validity of the message, and returns a MIP registration reply message after being verified to be legal. MIP Registration Reply to FA;
  • the Bay 1 J HA needs to request AAA authentication; 5025: The FA forwards the MIP Registration Reply message to the MS, and the MIP registration process is completed.
  • the FA and HA release the corresponding resources after receiving the MIP Registration Request message. Further, optionally, after receiving the MIP Registration Request message, the HA needs to notify the AAA to release the MS-related context.
  • the SBS can also delete the context information of the MS.
  • the MS may further initiate an IP address release process, that is, interact with the entity responsible for allocating the IP through the DHCP dry process. Release the IP address resource.
  • Step 503 the MS sends a network revocation request message to the SBS, requesting to leave the network.
  • the step may not be performed.
  • Step 504 When the SBS receives the MS network revocation request or the timer T1 times out, the data channel release process related to the MS is initiated.
  • the data channel release process described in this embodiment is the same as the above step 203, and will not be described again.
  • the MIP may initiate a registration message by the FA at this time.
  • the DHCP agent can be notified by the FA to initiate the IP address release process.
  • the anchor ASN-GW where the FA is located may also be one of the ASN-GW, the anchor SFA, the anchor DPF, and the Anchor Accounting Client where the anchor authenticator of the MS is located according to the back-off indication.
  • a plurality of indication messages for deleting the MS context are sent, and one or more of the anchor authenticator, the anchor SFA, the anchor DPF, and the anchor accounting client respond to the message Delete all corresponding context information of the MS.
  • the anchor authenticator and the anchor charging client of the MS may notify the AAA to inform the MS to leave the network, and carry the MS identifier, the network return indication, and/or the network exit.
  • the authentication authorization accounting server deletes the MS context information maintained by the authentication according to the received notification message. At the same time, you can record the reason for the MS to retreat. If the IP address of the MS is assigned by the AAA, the AAA also releases the IP address resource of the MS according to the received notification message.
  • the anchor ASN-GW where the anchor SFA is located initiates a location update request SFA-LU-Request to the policy server PF according to the network redirection indication.
  • the message may need to pass one or more visited PFs to reach. Hometown PF.
  • the message carrying the MS's back-off indication may also carry the reason for the network retreat.
  • the policy server PF deletes the MS context information it maintains according to the received notification message. At the same time, the policy server can record the reason for the network back.
  • the PF also needs to notify the AAA to release the MS-related context.
  • Step 505 The SBS sends a network cancellation confirmation message to the service ASN-GW.
  • the SBS After the SBS receives the network-back response message of the serving ASN-GW, if the step 501 is not executed before, the network response message is not sent to the MS, then the network sends a network response message to the MS. Requires a withdrawal.
  • the network acknowledgment confirmation message may be a Path De-Registration Ack message.
  • the SBS may release the resources allocated before the MS and the reserved context, including the security context and state machine, the service flow context and the state machine, such as the allocated CID, the resource scheduling queue state machine, the TEK state machine, AK and AK context, Li AC Digest.
  • Step 506 The service ASN-GW forwards the network confirmation message to the Anchor ASN-GW where the FA is located.
  • the FA may notify the Anchor SFA corresponding to the MS to delete at this time. All context information corresponding to the MS, such as the service flow state machine and the service flow context and state machine information corresponding to the MS.
  • the Anchor SFA sends an SFA-LU-Request message, where the message carries a network deletion indication, and the PF performs location update.
  • the PF is required to delete the MS-related context information, such as the SFID, the FID, and the information such as the authorization service flow state machine.
  • the PF will return an SFA-LU-Response message to the Anchor SFA after processing is complete.
  • the MIP registration process can be initiated by the FA to register the process. If the IP address has not been released before, the FA can notify the DHCP Proxy to initiate the IP address release process for the dynamically assigned IP address. In addition, as described in the previous embodiment, the IP address release process may not be performed, and the IP address is released by the aging mechanism in the DHCP server. Since the MIP registration process and the IP address release process need to interact with the core network entity, if the MIP registration and IP address release process are performed later, the network delay is greatly reduced from the user's point of view.
  • This embodiment provides another MS quit network initiated by the network side in the CMIP mode.
  • the method considers that after the FA knows that the MIP of the MS is de-registered, the FA initiates the corresponding data channel dry-discharging process of the MS, and actively sends a network-back response message to the MS, indicating that the MS is retired, and the process is as follows.
  • the main components shown in Figure 6 include:
  • Step 601 The FA on the network side initiates a MIP registration process, and the specific process is the same as step 502.
  • Step 602 The FA initiates a data channel release process related to the MS, and the specific process is the same as step 302.
  • Step 603 The Anchor ASN-GW where the FA is located returns a network confirmation message to the service ASN-GW.
  • the network confirmation message is a data channel release confirmation message Path De-Registration Ack:.
  • Step 604 The serving ASN-GW replies to the retiring confirmation message to the SBS.
  • Step 605 The SBS replies to the network return response message to the MS, indicating that the MS terminates all services with the current BS, and the network is successfully retired.
  • the FA may initiate an IP address release procedure for the dynamically assigned IP address.
  • the IP address release process may not be performed, and the IP address is released by the aging mechanism in the DHCP server, that is, the dynamically allocated IP address is automatically released after the Lifetime of the IP address expires. .
  • Embodiment 7 The MS network revocation process initiated by the network side in the PMIP mode:
  • the MIP deregistration process should be performed during the release of the data channel, and the following two methods can be used:
  • Method 1 The FA triggers the MS to initiate the MIP to register, and the registration message is sent to the HA via FA, and the FA and HA release the MIP-related registration information.
  • Manner 2 The FA notifies the MS to release the MIP-related registration information, and the FA initiates the MIP to register the message, and the FA and the HA release the MIP-related registration information.
  • Figure ⁇ shows the MS network revocation process initiated by the network side in the PMIP mode according to the embodiment, which specifically includes:
  • Step 701 Optionally, after the network side triggers the MS to exit the network, the SBS sends a network return response message to the MS to initiate the MS network exit process.
  • the MS receives the network return response message, the IP address release process is initiated.
  • the SBS After receiving the Path De-Registration Ack message of the serving ASN-GW, the SBS sends a network return response message to the MS, requesting the MS to exit the network, that is, completing all data channel translation and resources on the network side. After the release process, the SBS notifies the MS to retire.
  • Step 702 The ASN-GW where the FA is located initiates a data channel release process.
  • the data channel release process includes:
  • the Anchor ASN-GW/FA sends an R3 Session Release Request to the ASN-GW where the Anchor PMIP Client of the MS is located.
  • the FA forwards the MIP Registration Request message to the HA.
  • the certificate After receiving the HA, the certificate proves the validity of the message and returns a MIP Registration Reply message to the FA.
  • the Anchor PMIP Client deletes some context information of the MS it retains; and replies to the R3 Session Release Response to the FA.
  • the FA receives the R3 Session Release Response message of the Anchor PMIP Client, indicating that the R3 link of the MS has been successfully released, starts releasing the data channel associated with the MS, and sends a Path De-Registration Request message to the J-service ASN- GW.
  • the service ASN-GW forwards the Path De-Registration Request message to the SBS.
  • Step 7029 The SBS replies to the service ASN-GW with a Path De-Registration Response message.
  • 7030 The serving ASN-GW further replies to the Path De-Registration Response message to the Anchor ASN-GW where the FA is located.
  • Step 703 After receiving the Path De-Registration Response message, the Anchor ASN-GW releases the resource corresponding to the MS locally, and returns a network confirmation message to the service ASN-GW.
  • the network confirmation message is a data channel release confirmation message Path De-Registration Ack:.
  • the FA needs to delete the data channel corresponding to the MSID according to the back-off indication; otherwise, the data channel does not need to be removed.
  • the Anchor ASN-GW/FA sends a termination charging request message to the ASN-GW where the Accounting Client of the MS is located. Further, the Accounting Client sends a stop charging message to the AAA. Request/Stop; and then the charging response message.
  • Step 704 The service ASN-GW further forwards the network acknowledgment message to the SBS, and completes the three-way handshake process of the data channel release.
  • the network After the SBS receives the acknowledgment message of the service ASN-GW, if the SN is not executed, the network does not send the quit response message to the MS. .
  • This step is as described above. After all data channel hopping and resource release processes are completed on the network side, the SBS notifies the MS to quit the network.
  • the FA After replying to the Path De-Registration Ack, the FA notifies the Anchor Authenticator corresponding to the MS to delete all the context information of the corresponding MS. If the AAA retains the dynamic context information of the MS, the Anchor Authenticator further including the MS notifies the AAA to delete the dynamic security context information of the MS that it reserves, such as PMN-HAkey that can exist for MS.
  • the FA sends an R3 Session Release Ack message to notify the anchor SFA corresponding to the MS to delete all the context information of the corresponding MS.
  • the Anchor SFA sends the service flow authorization entity location update message SFA-LU-Request, which carries the network removal indication to the PF for location update; the PF is required to delete the MS related context information, such as SFID, FID, including Authorizing the service flow state machine and other information; The PF will return an SFA-LU-Response message to the Anchor SFA after the processing is completed.
  • the FA may also notify the DHCP proxy to initiate an IP address release process in this step, and the DHCP proxy sends a DHCP Release Request message to the DHCP server.
  • the process of releasing the IP address is not performed, and is ensured by the aging mechanism in the DHCP server. After the lifetime of the IP address expires, it is automatically released.
  • Embodiment 8 The MS network revocation process initiated by the network side in the SIP mode:
  • Embodiments 4-6 In the SIP mode, there is no MIP release process described in Embodiments 4-6, and other processes are the same as those in Embodiments 4-6. For details, refer to the above Embodiments 4-6.
  • the serving ASN-GW is the AnchorASN-GW of the current SBS, and the services ASN-GW and AnchorASN-GW mentioned above are used.
  • the interaction process is not needed.
  • the functional entities mentioned above are in the same physical entity, the interaction between them is an internal primitive.
  • each network entity also releases the corresponding MS context and resources, such as a CID allocated by the MS for the MS, a reserved AK, an AK context, a SAID, a TEK, and the like, and an anchor information; Service flow identifier (SFID), flow identifier (FID) in the SFA or PF or AAA, paired master key PMK in the authenticator, authentication key AK, AK context, MIP, etc.
  • MS context and resources such as a CID allocated by the MS for the MS, a reserved AK, an AK context, a SAID, a TEK, and the like, and an anchor information; Service flow identifier (SFID), flow identifier (FID) in the SFA or PF or AAA, paired master key PMK in the authenticator, authentication key AK, AK context, MIP, etc.
  • SFID Service flow identifier
  • FID flow identifier
  • Master Session Key (MSK), Extended Master Session Key (EMSK), Mobile IP Root Key (MIP-RK:), the key between the mobile node and the home agent (MN-HA-Key), the key between the mobile node and the external agent (MN-FA-Key), between the external agent and the home agent All security-related contexts such as the key (FA-HA-Key).
  • MSK Master Session Key
  • EMSK Extended Master Session Key
  • MIP-RK Mobile IP Root Key
  • MN-HA-Key the key between the mobile node and the home agent
  • MN-FA-Key the key between the mobile node and the external agent
  • All security-related contexts such as the key (FA-HA-Key).
  • the embodiment of the present invention further provides a mobile communication system that can implement terminal backoff, and mainly includes: a terminal, an SBS, and an Anchor ASN-GW.
  • the terminal is configured to send a deregistration request carrying the backoff indication to the SBS;
  • the SBS is configured to send a de-registration command to the terminal, and send a message carrying the network-backing indication to the Anchor ASN-GW, or further, after receiving the network-back response message, returning a network-return confirmation message to the Anchor ASN-GW;
  • the Anchor ASN-GW gateway is configured to receive the message carrying the network retreat indication, and perform the data channel and context release related to the terminal, or further used to send the network return response message after receiving the message carrying the network return indication. To SBS.
  • the mobile communication system of this embodiment may further include: a service ASN-GW connected to the SBS and the Anchor ASN-GW, configured to forward, by the SBS, a message carrying a network back indication to the Anchor ASN-GW.
  • a service ASN-GW connected to the SBS and the Anchor ASN-GW, configured to forward, by the SBS, a message carrying a network back indication to the Anchor ASN-GW.
  • the mobile communication system in this embodiment further includes an FA and an HA, which are used to release the MIP deregistration request after receiving the anchor Anchor ASN-GW. MIP registration information.
  • the mobile communication system in this embodiment further includes: an anchor authenticator, an anchor service flow authenticator, and an anchor charging client, for receiving After the terminal ANO-GW sends the network back-off notification, the context information of the terminal is deleted.
  • the mobile communication system may further include an authentication authorization charging server that stores terminal context information, since the HA receives the MIP registration request after receiving the MIP.
  • the sending terminal will send the terminal back to the network to notify The authentication authorization charging server; or because the anchor authenticator or the anchor charging client deletes the context information of the terminal, the sending terminal also sends a network outbound notification to the authentication and authorization charging server; After receiving the network exit notification from the home agent, anchor authenticator or anchor accounting client, the authorized accounting server will release the context information of the terminal.
  • the mobile communication system in this embodiment may further include: an IP address allocation entity, configured to allocate an IP address to the terminal, and retreat at the terminal At the time of the network, the IP address assigned to the terminal is released.
  • an IP address allocation entity configured to allocate an IP address to the terminal, and retreat at the terminal At the time of the network, the IP address assigned to the terminal is released.

Abstract

A method for a terminal to quit a network and the mobile communication system related to are provided. The method for a terminal to quit a network comprises: when the terminal is going to quit the network, the data path related to the terminal is released and the context information related to the terminal is deleted by the entities on the network side. It is convenient, flexible and efficient to realize for a terminal to quit a network by using the network quiting method provided by the invention, and besides, saving the system resource by releasing the resource distributed to the terminal by network in time during the network quiting process.

Description

终端退网的处理方法及移动通信系统 技术领域  Terminal network retreat processing method and mobile communication system
本发明涉及无线接入网技术, 特别涉及到无线接入网中终端退网的 处理方法以及可以实现终端退网的移动通信系统。 发明背景  The present invention relates to a radio access network technology, and in particular, to a method for processing a terminal retiring in a radio access network and a mobile communication system capable of implementing a terminal retiring. Background of the invention
随着因特网 (Internet )业务的蓬勃发展和无线网络的广泛应用, 以 及随着移动用户数目的增加和用户需求的增大, 目前要求通用分组无线 业务( GPRS, General Packet Radio Service )、 第三代移动通讯 ( 3G )、 微波接入全球互通 ( WiMAX , Worldwide Interoperability Microwave Access ) 以及后 3G ( B3G, Beyond 3G )等无线系统能够支持大容量, 大数据量和不同服务质量要求的多种业务。 无线接入网作为无线用户与 现有有线网络或者其他业务网络之间的桥梁, 主要用于提供业务提供网 络和移动用户之间的分组业务转发或路由功能。  With the rapid development of Internet (Internet) services and the widespread use of wireless networks, and with the increase in the number of mobile users and the increase in user demand, the general packet radio service (GPRS, General Packet Radio Service), the third generation is currently required. Wireless systems such as mobile communications (3G), Worldwide Interoperability Microwave Access (WiMAX), and 3G (B3G, Beyond 3G) can support a wide range of services, including large capacity, large data volumes, and different quality of service requirements. As a bridge between wireless users and existing wired networks or other service networks, the wireless access network is mainly used to provide packet forwarding or routing functions between the service providing network and mobile users.
然而, 现有的无线接入网标准并没有提供任何有关终端退网技术的 解决方案。 , 发明内容  However, existing radio access network standards do not provide any solution for terminal outbound technology. , the content of the invention
本发明实施例的目的在于提供一种终端退网的处理方法以及可以 实现终端退网的移动通信系统, 从而解决在由终端发起退网, 或由网络 侧发起退网情况下终端的退网问题。  The object of the embodiments of the present invention is to provide a method for processing a terminal to retreat from the network and a mobile communication system that can implement the network retreat of the terminal, thereby solving the problem of the network retreating when the network is initiated by the terminal or the network is initiated by the network. .
本发明实施例提供了一种终端退网的处理方法, 包括: 在对所述终 端进行退网时, 网络侧实体进行该终端相关数据通道的锋放并删除该终 端的上下文信息。 在本发明实施例中, 是在所述终端关机、 用户主动退网、 网络侧资 源阻塞或网络侧服务策略改变时, 对所述终端进行退网的。 An embodiment of the present invention provides a method for processing a terminal to retired the network, including: when the terminal is disconnected from the network, the network side entity performs a front-end of the terminal-related data channel and deletes the context information of the terminal. In the embodiment of the present invention, when the terminal is shut down, the user actively withdraws from the network, the network side resource is blocked, or the network side service policy is changed, the terminal is disconnected.
上述方法进一步包括:要求 IP地址分配实体释放该终端的 IP地址。 本发明实施例的方法具体包括: 终端 MS发送携带退网指示的去注 册请求至服务基站; 服务基站响应所述去注册请求, 并发送携带退网指 示的消息至锚接入服务网关, 进行终端相关数据通道和上下文的释放。  The above method further includes: requiring the IP address allocation entity to release the IP address of the terminal. The method of the embodiment of the present invention specifically includes: the terminal MS sends a de-registration request carrying the network-backing indication to the serving base station; the serving base station responds to the de-registration request, and sends a message carrying the network-backing indication to the anchor access service gateway to perform the terminal. Release of related data channels and contexts.
或者在 MS发送去注册请求之前可进一步包括: 服务基站发送携带 退网指示的去注册命令消息至所述 MS。  Or the method further includes: the serving base station sending a de-registration command message carrying the back-off indication to the MS before the MS sends the registration request.
在获知终端退网指示后 , 所述锚接入服务网关发送退网响应消息至 所述服务基站; 所述基站返回退网确认消息至所述锚接入服务网关。  After learning the terminal back-off indication, the anchor access service gateway sends a network-back response message to the serving base station; the base station returns a network-back confirmation message to the anchor access service gateway.
上述方法还可以进一步包括服务基站回复去注册命令至所述终端。 在 MS发送去注册请求至服务基站之前, 进一步包括: 终端发起移 动 IP去注册流程, 外部代理及家乡代理收到所述的移动 IP去注册请求 后释放移动 IP注册信息。  The above method may further comprise the serving base station replying to the registration command to the terminal. Before the MS sends the registration request to the serving base station, the method further includes: the terminal initiates a mobile IP deregistration process, and the external proxy and the home agent release the mobile IP registration information after receiving the mobile IP deregistration request.
本发明实施例的方法可以具体包括: 月 I务基站发送携带退网指示的 去注册命令至所述终端, 并启动退网定时器; 在定时器超时时, 该基站 发起携带退网指示的消息至锚接入服务网关 , 进行终端相关数据通道和 上下文的释放。  The method of the embodiment of the present invention may specifically include: sending, by the monthly base station, a de-registration command carrying the network-backing indication to the terminal, and starting a network-backing timer; when the timer expires, the base station initiates a message carrying the network-backing indication The anchor accesses the service gateway to release the terminal-related data channel and context.
本发明的实施例还给出了一种移动通信系统, 包括: 终端、 服务基 站以及锚接入服务网关, 其中,  An embodiment of the present invention further provides a mobile communication system, including: a terminal, a service base station, and an anchor access service gateway, where
所述终端用于发送携带退网指示的去注册请求至所述服务基站; 所述服务基站用于发送去注册指令至所述终端, 并发送携带退网指 示的消息到所述锚接入服务网关;  The terminal is configured to send a de-registration request carrying a network-backing indication to the serving base station; the serving base station is configured to send a de-registration command to the terminal, and send a message carrying a network-backing indication to the anchor access service. Gateway
所述锚接入服务网关用于接收所述携带退网指示的消息, 并进行终 端相关的数据通道和上下文释放。 通过本发明提供的终端退网方法, 可以方便、 灵活、 高效地实现终 端退网, 并且, 在退网过程中及时释放了网络侧为终端所配置的资源, 因而节约了系统资源。 附图简要说明 The anchor access service gateway is configured to receive the message carrying the network return indication, and perform terminal related data channel and context release. The terminal retiring method provided by the present invention can implement the terminal retiring conveniently, flexibly, and efficiently, and release the resources configured by the network side for the terminal in the process of retiring the network, thereby saving system resources. BRIEF DESCRIPTION OF THE DRAWINGS
图 1为 WiMAX网络架构示意图;  Figure 1 is a schematic diagram of a WiMAX network architecture;
图 2为本发明实施例 1所述由终端发起的 CMIP模式下终端退网处 理方法实施例的流程示意图;  2 is a schematic flowchart of an embodiment of a method for processing a terminal to be retired in a CMIP mode initiated by a terminal according to Embodiment 1 of the present invention;
图 3为本发明实施例 2所述由终端发起的 CMIP模式下终端退网处 理方法实施例的流程示意图;  3 is a schematic flowchart of an embodiment of a method for processing a terminal to be retired in a CMIP mode initiated by a terminal according to Embodiment 2 of the present invention;
图 4为本发明实施例 3所述由终端发起的 PMIP模式下终端退网处 理方法实施例的流程示意图;  4 is a schematic flowchart of an embodiment of a method for processing a terminal to be retired in a PMIP mode initiated by a terminal according to Embodiment 3 of the present invention;
图 5为本发明实施例 5所述由网络侧发起的 CMIP模式下退网处理 方法实施例的流程示意图;  5 is a schematic flowchart of an embodiment of a method for processing a network in a CMIP mode initiated by a network side according to Embodiment 5 of the present invention;
图 6为本发明实施例 6所述由网络侧发起的 CMIP模式下退网处理 方法实施例的流程示意图;  6 is a schematic flowchart of an embodiment of a method for processing a network in a CMIP mode initiated by a network side according to Embodiment 6 of the present invention;
图 Ί为本发明实施例 7所述由网络侧发起的 PMIP模式下退网处理 方法实施例的流程示意图。 实施本发明的方式  FIG. 3 is a schematic flowchart diagram of an embodiment of a method for processing a network in a PMIP mode initiated by a network side according to Embodiment 7 of the present invention. Mode for carrying out the invention
为了说明方便, 以下实施例均以 WiMAX网络为例进行说明。 需要 说明的是, 本发明实施例所提供的终端退网方法以及系统并不仅限于应 用到 WiMAX系统中, 还可以应用到其他任何无线接入技术中。  For convenience of description, the following embodiments are all described by taking a WiMAX network as an example. It should be noted that the method and system for retiring the terminal provided by the embodiment of the present invention are not limited to the application to the WiMAX system, and may be applied to any other wireless access technology.
不考虑接入网中的其他内部设备, WiMAX网络架构体系参见图 1 , 主要包括终端 (MS, Mobile Subscribe Station ), 接入月良务网络(ASN, Access Service Network )和连接月良务网给 ( CSN, Connectivity Service Network ) 三大部分。 图 1 中所示的 WiMAX网絡架构体系各个网元的 功能解释如下: Regardless of other internal devices in the access network, the WiMAX network architecture system is shown in Figure 1, which mainly includes the terminal (MS, Mobile Subscribe Station), and accesses the monthly service network (ASN, Access Service Network ) and the Connected Network (CSN) are three major parts. The functions of the various network elements of the WiMAX network architecture system shown in Figure 1 are explained as follows:
MS: MS为移动用户设备, 用户使用 MS接入 WiMAX网络。  MS: The MS is a mobile user equipment, and the user uses the MS to access the WiMAX network.
ASN: ASN是为 WiMAX终端提供无线接入服务的网络功能集合, ASN中包含了基站(BS, Base Station )和接入服务网络网关(ASN-GW, Access Service Network Gate Way ) 网元。 其中, BS的功能包括: 提供 BS和 MS的层 2 ( L2 )连接、 无线资源管理、 测量与功率控制、 空口数 据的压缩与加密等功能。 ASN-GW的功能包括: 为 MS认证、 授权和计 费功能提供代理(proxy )功能, 锚鉴权 ( Anchor Authenticator )功能实 体;支持 NSP的网络发现和选择;为 MS提供层 3( L3 M言息的中继( Relay ) 功能, 如因特网协议 ( IP, Internet Protocol )地址分配; 以及无线资源 管理等。 ASN-GW除了上述功能以外, 还可以包括如下可选功能实体: ASN内的切换控制功能实体; MS寻呼和位置管理,如寻呼控制器(PC ) 功能实体; ASN-CSN之间隧道管理功能实体, 相当于移动 IP ( MIP )技 未中的外部代理(FA ), 以及锚代理 MIP客户端 ( Anchor PMIP Client ) 功能实体; 以及拜访位置注册, 锚服务流授权实体( Anchor SFA ) 功能 实体。  ASN: ASN is a set of network functions that provide wireless access services for WiMAX terminals. The ASN includes base stations (BS, Base Station) and access service network gateway (ASN-GW, Access Service Network Gate Way) network elements. Among them, the functions of the BS include: providing layer 2 (L2) connection of BS and MS, radio resource management, measurement and power control, compression and encryption of air interface data, and the like. The functions of the ASN-GW include: Proxy function for MS authentication, authorization and accounting functions, Anchor Authenticator functional entity; Network discovery and selection for NSP; Layer 3 for MS (L3 M Relay function, such as Internet Protocol (IP, Internet Protocol) address allocation; and radio resource management, etc. In addition to the above functions, ASN-GW can also include the following optional functional entities: Switching control function in ASN Entity; MS paging and location management, such as paging controller (PC) functional entity; tunnel management function entity between ASN-CSN, equivalent to external proxy (FA) in mobile IP (MIP) technology, and anchor proxy MIP client (Anchor PMIP Client) functional entity; and visit location registration, anchor service flow authorization entity (Anchor SFA) functional entity.
以上 ASN-GW中的功能实体, 因随着 MS的移动,它们各自触发改 变的时机是不同的, 从而会导致服务于特定 MS的以上各个功能实体, 如 Anchor Authenticator、 FA, Anchor SFA、 Anchor PMIP Client等可能 存在于不同的 ASN-GW里, 因此在一次活动中, 将会涉及各个不同的 ASN-GW之间的交互。  The functional entities in the above ASN-GW, because of the movement of the MS, the timing of their respective trigger changes is different, which will result in the above functional entities serving a specific MS, such as Anchor Authenticator, FA, Anchor SFA, Anchor PMIP. Clients and the like may exist in different ASN-GWs, so in one activity, interactions between different ASN-GWs will be involved.
CSN: CSN是为 WiMAX终端提供 IP连接服务。 CSN主要提供的 功能包括: MS的 IP地址分配; Internet接入;认证、鉴权及计费(AAA ) proxy或者 AAA服务器( AAA server ); 基于用户的授权控制; ASN到 CSN的隧道,相当于 MIP技术中的家乡代理( HA ); WiMAX用户的计 费以及运营商之间的结算; 漫游情况下 CSN之间的隧道; ASN之间的 切换; 各种 WiMA 服务, 如: 基于位置的业务、 多媒体多播和广播业 务、 IP多媒体子系统业务。 CSN: CSN is an IP connection service for WiMAX terminals. The main functions provided by CSN include: MS IP address allocation; Internet access; authentication, authentication and accounting (AAA) Proxy or AAA server (AAA server); user-based authorization control; ASN to CSN tunnel, equivalent to home agent (HA) in MIP technology; WiMAX user billing and inter-operator settlement; CSN in roaming case Tunneling between; ASN switching; various WiMA services such as: location-based services, multimedia multicast and broadcast services, IP multimedia subsystem services.
本发明实施例主要解决 MS的退网问题, 其中包括 MS发起的退网 以及网絡侧发起的退网。 其中, MS发起退网的原因包括关机操作、 用 户主动退网等。 网络侧发起退网的原因包括: 网络侧捕获到 MS异常掉 网, 网络侧资源阻塞以及网络侧根据网络侧服务策略发起的退网。其中, 所述的网络侧资源阻塞是指触发退网的网絡侧功能实体根据其所在的 物理实体的负载状态发起退网。 所述网络侧资源阻塞, 可以发生在 FA 所在的物理实体, 或 SFA所在的物理实体, 或 HA所在的物理实体。 当 网络资源发生拥塞即资源不够时, 网絡侧可以考虑把那些优先级低的 MS 所占有的资源释放, 以使资源能够被那些需要的用户使用。 这时, 将发起对 MS的退网流程, 告知 MS暂时无法使用网络。 而所述的网络 侧服务策略包括网络接入提供商 NAP、 归属网络服务提供商 H-NSP和 拜访网络服务提供商 V-NSP的服务策略等, 例如可以是 AAA Server根 据运营商 (包括 NAP、 H-NSP及 /或 V-NSP )的服务策略配置原因 (包 括用户欠费导致退网, MS 所有者用户主动要求停机导致退网, 或运营 商主动要求退网等) 而要求 MS退网。  The embodiment of the present invention mainly solves the problem of the network retreat of the MS, including the network exit initiated by the MS and the network exit initiated by the network. The reason why the MS initiates the network retreat includes the shutdown operation and the user actively withdrawing from the network. The reason for the network side to initiate the network revocation is as follows: The network side captures the MS abnormal network drop, the network side resource is blocked, and the network side initiates the network exit according to the network side service policy. The network-side resource blocking of the network is triggered by the network-side functional entity that triggers the network-back-off according to the load state of the physical entity in which the network entity is located. The network side resource is blocked, and may occur in the physical entity where the FA is located, or the physical entity where the SFA is located, or the physical entity where the HA is located. When network resources are congested, that is, resources are insufficient, the network side may consider releasing resources occupied by those MSs with lower priority so that resources can be used by those users who need them. At this time, the network exit process will be initiated, and the MS will be temporarily unable to use the network. The network side service policy includes a network access provider NAP, a home network service provider H-NSP, and a service policy of the visited network service provider V-NSP, and the like, for example, may be an AAA server according to an operator (including NAP, The service policy of the H-NSP and/or the V-NSP is configured. The user is required to quit the network, and the MS owner voluntarily requests the network to be retired.
需要说明的是, 在网络侧发起退网的情况下, 发起退网的网络侧实 体包括基站 BS、 服务(Serving ) ASN-G 7锚 ( Anchor ) ASN-GW。 若 发起退网的网絡实体是服务 ASN-GW/锚 ASN-GW, 则触发源可能是其 中某个功能实体, 包括:数据通道功能体(DPF )、服务流授权者(SFA )、 鉴权者 ( Authenticator )、 FA、 计费客户端 (Accounting Client )、 代理 MIP客户端 (PMIP Client )、 HA、 策略服务器(PF ) 以及 AAA server 等等。 It should be noted that, in the case that the network side initiates the network retreat, the network side entity that initiates the network revocation includes the base station BS and the Serving ASN-G 7 Anchor ASN-GW. If the network entity that initiates the network revocation is the serving ASN-GW/Anchor ASN-GW, the trigger source may be one of the functional entities, including: a data channel function (DPF), a service stream licensor (SFA), an authenticator. ( Authenticator ), FA, Accounting Client (Accounting Client), Agent MIP client (PMIP Client), HA, Policy Server (PF), AAA server, etc.
在上述每种情况下,无论是 MS发起的退网还是网络侧发起的退网, 根据支持 MIP的情况, 又可分为: 筒单 IP ( SIP, Simple IP )模式下的 MS退网; PMIP模式下的 MS退网; 和客户端移动 IP ( CMIP )模式下 的 MS 退网。 这三种模式下的退网主要的区别在于在 SIP 模式下没有 MIP释放过程, PMIP模式下的 MIP信令消息的由网络侧发起, CMIP 模式下的 MIP信令消息可由 MS发起也可由网络侧发起。 因此, 对应于 不同的模式, 具有不同的 MS退网流程。  In each of the above cases, whether the network initiated by the MS or the network initiated by the network, according to the MIP support, it can be divided into: MS outbound in the SIP (Simple IP) mode; PMIP The MS exits the network in the mode; and the MS in the client mobile IP (CMIP) mode exits the network. The main difference between the three modes is that there is no MIP release process in the SIP mode. The MIP signaling message in the PMIP mode is initiated by the network side. The MIP signaling message in the CMIP mode can be initiated by the MS or by the network side. initiate. Therefore, there are different MS exit processes corresponding to different modes.
•本发明实施例所提供的 MS退网方法主要包括: 在 MS或网络侧发 起退网时, 由网络侧实体执行退网操作, 释放与 MS相关的数据通道, 资源等, 并删除保存的该 MS相关上下文信息。  The MS network retreat method provided by the embodiment of the present invention mainly includes: when the MS or the network side initiates the network retreat, the network side entity performs the network retreat operation, releases the data channel related to the MS, resources, etc., and deletes the saved data. MS related context information.
另外, 本发明的方法还包括要求 IP地址分配实体进行 IP地址资源 的释放。 对于 IP地址资源的释放, 需要说明的是根据 IP地址的分配方 式不同, 其 IP地址的释放流程也有所不同。 因此在 MS退网过程中, 所 需要执行的 IP地址释放过程也是根据分配方式不同而不同。 比如,如果 IP地址是在 MIP注册过程中获取 (例如由 HA分配;), 则可以在 MIP释 放过程中同时释放 IP地址, 就不再需要单独的 IP释放过程。 如果 IP地 址是动态分配的 (例如由动态主机配置协议(DHCP )代理 /服务器分配 的),则需要单独的 DHCP信令交互过程以释放 IP地址。如果 IP地址是 由 AAA分配的, 则在退网时可由 Anchor Authenticator与 AAA交互释 放 IP地址。 如果 IP地址是由其它实体分配的, 则在 MS退网时还需与 该实体交互以释放 IP地址, 等等。 总之, 不管 IP地址的分配方式如何, MS退网时都会要求释放 IP地址资源。 释放的方法可以是 MS与负责分 配 IP地址的实体交互信令消息来释放 IP, 也可以是 MS不直接通知该 实体, 由网络侧其它实体通知或由该实体本身维护的 IP 生存时间In addition, the method of the present invention further includes requiring the IP address allocation entity to release the IP address resource. For the release of IP address resources, it should be noted that the IP address release process differs according to the way IP addresses are allocated. Therefore, during the MS network retreat process, the IP address release process that needs to be performed is also different according to the allocation mode. For example, if the IP address is obtained during the MIP registration process (for example, by the HA;), the IP address can be released simultaneously during the MIP release process, and a separate IP release process is no longer needed. If the IP address is dynamically assigned (eg, by a Dynamic Host Configuration Protocol (DHCP) proxy/server), a separate DHCP signaling interaction procedure is required to release the IP address. If the IP address is assigned by the AAA, the Anchor Authenticator can interact with the AAA to release the IP address when the network is disconnected. If the IP address is assigned by another entity, it also needs to interact with the entity to release the IP address when the MS exits the network, and so on. In summary, regardless of the IP address allocation method, the MS will request to release the IP address resource when it exits the network. The method of releasing may be that the MS exchanges the signaling message with the entity responsible for allocating the IP address to release the IP, or the MS does not directly notify the Entity, IP lifetime that is notified by other entities on the network side or maintained by the entity itself
( Lifetime ) 到期来释放 IP地址。 (Lifetime) expires to release the IP address.
下面将结合附图对本发明的实施例作进一步说明。  Embodiments of the present invention will be further described below with reference to the accompanying drawings.
实施例 1: CMIP模式下 MS发起的 MS退网流程  Embodiment 1: MS quit network initiated by MS in CMIP mode
图 2为本发明实施例所述的 CMIP模式下 MS发起的退网流程示意 图, 如图 2所示:  FIG. 2 is a schematic diagram of a network ejecting process initiated by an MS in a CMIP mode according to an embodiment of the present invention, as shown in FIG. 2:
步骤 201 : 可选的, MS触发退网后, MS发起 MIP去注册流程。 需要说明的是, 在本实施例中上述步骤 201包括:  Step 201: Optionally, after the MS triggers the network retreat, the MS initiates a MIP to register the process. It should be noted that, in the embodiment, the foregoing step 201 includes:
2011: MS封装好一个完整的 MIP注册请求消息 MIP Registration Request, 发送给 FA, 上述 MIP Registration Request消息中携带生命周 期 Lifetime = 0以表示发起 MIP去注册过程;  2011: The MS encapsulates a complete MIP registration request message, which is sent to the FA. The MIP Registration Request message carries the life cycle Lifetime = 0 to indicate that the MIP registration process is initiated.
2012: FA转发携带有 Lifetime = 0的 MIP Registration Request消息 到 HA;  2012: The FA forwards the MIP Registration Request message carrying Lifetime = 0 to the HA;
2013: HA收到 MIP Registration Request消息后, 证该消息的合 法性, 经验证合法后回复 MIP注册答复消息 MIP Registration Reply到 FA;  2013: After receiving the MIP Registration Request message, the HA verifies the legality of the message, and after replying to the MIP registration reply message, the MIP registration reply message is sent to the FA;
在该步骤中, 若 HA 自身没有 PMN-HA key 来验证该 MIP Registration Request消息的合法性, 则 HA需要请求 AAA验证;  In this step, if the HA itself does not have a PMN-HA key to verify the validity of the MIP Registration Request message, the HA needs to request AAA authentication;
2014: FA转发 MIP Registration Reply消息给 MS, MIP去注册过程 成。  2014: The FA forwards the MIP Registration Reply message to the MS, and the MIP goes to the registration process.
在上述过程中, FA和 HA接收到 MIP Registration Request消息后释 放相应的资源, 如果 IP地址是由 HA分配的 , 则可以同时释放 IP地址 资源。 进一步, 可选的, HA收到 MIP Registration Request消息后还可 以通知 AAA释放 MS相关的上下文。  In the above process, the FA and the HA release the corresponding resources after receiving the MIP Registration Request message. If the IP address is allocated by the HA, the IP address resource can be released at the same time. Further, optionally, after receiving the MIP Registration Request message, the HA may notify the AAA to release the MS-related context.
此后, 可选的, 如果 IP地址是动态分配的, MS发起 IP地址释放 流程。 所述 IP地址释放过程具体包括: MS发送 DHCP释放请求消息 DHCP Release Request给 DHCP服务器, 启动 DHCP释放过程, 请求释 放动态分配的 IP地址, DHCP服务器释放为该 MS动态分配的 IP地址。 Thereafter, optionally, if the IP address is dynamically allocated, the MS initiates an IP address release. Process. The IP address release process specifically includes: the MS sends a DHCP Release Request message to the DHCP server, initiates a DHCP release process, requests to release the dynamically assigned IP address, and the DHCP server releases the IP address dynamically allocated for the MS.
步骤 202: MS发送退网请求消息给服务基站(SBS ), 请求退网, 消息中还可以携带退网指示(例如: 关机指示)。  Step 202: The MS sends a network revocation request message to the serving base station (SBS) to request to leave the network, and the message may also carry a network retreat indication (for example, a shutdown indication).
在本发明的实施例中, 所述退网请求消息可以是去注册请求消息 DREG__REQ , 并且其中的 De-Registration Request Code=0。  In an embodiment of the present invention, the back-off request message may be a de-registration request message DREG__REQ, and the De-Registration Request Code=0 therein.
步骤 203: SBS收到 MS的退网请求消息后, 发起与该 MS相关的 数据通道(Data Path )释放过程。  Step 203: After receiving the MSRP request message, the SBS initiates a data path release process related to the MS.
该步骤所述数据通道释放过程具体包括:  The data channel release process in this step specifically includes:
2031 : SBS向 SBS所连接的服务 ASN-GW, 即 Serving ASN-GW, . 发送数据通道释放请求 Path De-registration Request 0 2031: The service ASN-GW to which the SBS is connected to the SBS, that is, Serving ASN-GW, . Send Data Channel Release Request Path De-registration Request 0
上述 Path De-registration Request中携带 MS的标识 MSID以及退网 指示, 进一步可能携带锚莶权功能实体标识( Anchor Authenticator ID ) 和所述 MS的计费代理标识( Accounting Client ID )。  The Path De-registration Request carries the MS ID and the back-off indication of the MS, and may further carry an Anchor Authenticator ID and an Accounting Client ID of the MS.
2032: 服务 ASN-GW将接收到的 Path De-registration Request转发 给 FA所在的 Anchor ASN-GW。  2032: The serving ASN-GW forwards the received Path De-registration Request to the Anchor ASN-GW where the FA is located.
所述锚接入服务网关同时还可以是数据功能体( Anchor DPF )所在 的锚接入服务网关, 或 AnchorAuthenticator所在的锚接入服务网关, 或 Anchor SFA所在的锚接入服务网关,或 Anchor Accounting Client所在的 锚接入服务网关。  The anchor access service gateway may also be an anchor access service gateway where the data function body (ADSL) is located, or an anchor access service gateway where the AnchorAuthenticator is located, or an anchor access service gateway where the Anchor SFA is located, or Anchor Accounting. The anchor where the client is located is connected to the service gateway.
同时, 可选的, SBS还可以在此时锋放为该 MS之前所分配的资源 以及保留的上下文,包括安全上下文和状态机,服务流上下文和状态机, 如: 分配的空口连接标识(CID )、 资源调度队列状态机、 业务加密密钥 ( TEK )状态机、 鉴权密钥 ( AK ) 以及 AK上下文、 HMAC Digest等。 如果之前未执行步骤 201 , 则此时可由 FA发起 MIP去注册过程, 即 FA发送携带有 Lifetime = 0的 MIP Registration Request消息到 HA, 请求 HA释放相关资源, 具体过程可以参考步骤 2012和 2013。 At the same time, optionally, the SBS can also be placed at the time before the resource allocated to the MS and the reserved context, including the security context and state machine, the service flow context and the state machine, such as: the assigned air interface connection identifier (CID) ), resource scheduling queue state machine, service encryption key (TEK) state machine, authentication key (AK), and AK context, HMAC Digest, and so on. If the step 201 is not performed, the MIP can be used to initiate the registration process. The FA sends the MIP Registration Request message with the Lifetime = 0 to the HA to request the HA to release the related resources. For details, refer to steps 2012 and 2013.
另外,可选的, Anchor ASN-GW收到该 MS的数据通道释放请求后, 根据退网指示, 还可以进一步发起上下文释放过程, 包括: Anchor ASN-GW向该 MS的 Anchor Authenticator所在的 ASN-GW发送删除 MS上下文的指示消息 Delete MS context Indication; 此时,如果 AAA中 保留有 MS的安全上下文, 则 MS的 Anchor Authenticator会知会 AAA 告知 MS 退网, 要求删除 MS 的安全上下文信息; 然后, Anchor Authenticator所在的 ASN-GW向所述  In addition, after receiving the data channel release request of the MS, the Anchor ASN-GW may further initiate a context release process according to the network revocation indication, including: ASN of the anchor ASN-GW to the Anchor Authenticator of the MS. The GW sends an indication message for deleting the MS context, Delete MS context Indication; at this time, if the security context of the MS remains in the AAA, the Anchor Authenticator of the MS will notify the AAA to inform the MS to quit the network, and request to delete the security context information of the MS; The ASN-GW where the Anchor Authenticator is located is
下文的应答消息 Delete MS context Ack。 The following reply message Delete MS context Ack.
如果当前有业务在计费, 则 Anchor ASN-GW收到该 MS的数据通 道释放请求,根据退网指示,发起停止计费过程,包括: Anchor ASN-GW 或 FA向该 MS的 Accounting Client所在的 ASN-GW发送终止计费请求 消息; 进一步的, Accounting Client 向 AAA 发送停止计费消息 Account-Request/Sto ; 然后, Accounting Client所在的 ASN-GW向所述 Anchor ASN-GW返回终止计费响应消息。  If the current service is charging, the Anchor ASN-GW receives the data channel release request of the MS, and initiates the stop charging process according to the network revocation indication, including: Anchor ASN-GW or FA to the Accounting Client of the MS. The ASN-GW sends a termination charging request message. Further, the Accounting Client sends a stop charging message to the AAA, Account-Request/Sto. Then, the ASN-GW where the Accounting Client is located returns a termination charging response message to the Anchor ASN-GW. .
可选的, 锚 SFA所在的锚 ASN-GW根据退网指示, 向策略服务器 PF发起位置更新请求 SFA-LU-Request, 漫游场景下, 该消息可能需要 经过一个或多个拜访 PF ( V-PF ) 才能到达家乡 PF ( H-PF )。 消息中携 带 MS的退网指示, 还可以携带退网原因, 策略服务器 PF根据收到的 通知消息, 删除其维护的 MS上下文信息。 同时, 该策略服务器可记录 下退网的原因。 可选的, PF还需通知 AAA释放该 MS相关的上下文。 需要说明的是, PF可能是独立的实体也可能是 AAA内的功能实体。  Optionally, the anchor ASN-GW where the anchor SFA is located initiates a location update request SFA-LU-Request to the policy server PF according to the network revocation indication. In the roaming scenario, the message may need to pass one or more visited PFs (V-PF). ) to get to the hometown PF (H-PF). The message carrying the MS's back-off indication can also carry the reason for the network retreat. The policy server PF deletes the MS context information it maintains according to the received notification message. At the same time, the policy server can record the reason for the network back. Optionally, the PF also needs to notify the AAA to release the MS-related context. It should be noted that the PF may be an independent entity or a functional entity within the AAA.
此外, 可选的, 如果之前 MS未发起 IP地址释放过程, 此时, 可由 FA通知 DHCP代理发起 IP地址释放流程。 In addition, optionally, if the MS does not initiate the IP address release process, at this time, The FA notifies the DHCP agent to initiate an IP address release procedure.
2033: Anchor ASN-GW中的 FA释放当前 MS对应的资源, 回复数 据通道释放响应 Path De-Registration Response给服务 ASN-GW。  2033: The FA in the Anchor ASN-GW releases the resource corresponding to the current MS, and the reply data channel releases the response Path De-Registration Response to the serving ASN-GW.
在该步骤中, 如果数据通道不是基于 BS建立的, FA还需根据退网 指示删除 MSID对应的数据通道; 否则无需拆除数据通道。  In this step, if the data channel is not established based on the BS, the FA needs to delete the data channel corresponding to the MSID according to the back-off indication; otherwise, the data channel does not need to be removed.
2034: 服务 ASN-GW回复 Path De-Registration Response给 SBS。 步骤 204: SBS回复 MS退网响应消息, 表示 MS终止与当前 BS 的所有服务, MS退网结束。  2034: Service ASN-GW replies to Path De-Registration Response to SBS. Step 204: The SBS replies to the MS quit message response message, indicating that the MS terminates all services with the current BS, and the MS quits the network.
在本发明实施例中,所述退网响应消息为去注册指令 DREG— CMD, 并且其中的 Action Code = 04。  In the embodiment of the present invention, the back-off response message is a de-registration instruction DREG_CMD, and the Action Code = 04 therein.
特别地, 上述步驟 204也可以在步骤 203之前执行, 这样, 可以有 效缩短 MS退网时间。  In particular, the foregoing step 204 can also be performed before step 203, so that the MS back-off time can be effectively shortened.
步驟 205: SBS回复退网确认消息给服务 ASN-GW。  Step 205: The SBS replies with a retiring confirmation message to the serving ASN-GW.
在本发明实施例中, 所述退网确认消息为数据通道释放确认消息 Path De-Registration Ack。  In the embodiment of the present invention, the network confirmation message is a data channel release confirmation message Path De-Registration Ack.
进一步地, SBS还可以在此时释放为该 MS之前所分配的资源以及 保留的上下文。  Further, the SBS can also release the resources allocated before the MS and the reserved context at this time.
步骤 206: 服务 ASN-GW回复退网确认消息给 FA所在的 Anchor ASN-GW。  Step 206: The service ASN-GW replies with a network confirmation message to the Anchor ASN-GW where the FA is located.
如果在此之前均未执行 MIP去注册过程或 IP地址释放过程, 则可 以在执行完上述步骤之后再执行 MIP去注册过程和 IP释放过程。 由于 MIP去注册过程或 IP地址释放过程均需要与核心网实体交互, 时延较 大, 因此, 在此时执行 MIP去注册过程或 IP地址释放过程, 从用户的 角度来看大大降低了退网延时。  If the MIP registration process or the IP address release process has not been performed before, the MIP registration process and the IP release process may be performed after the above steps are performed. Because the MIP registration process or the IP address release process needs to interact with the core network entity, the delay is large. Therefore, the MIP registration process or the IP address release process is performed at this time, which greatly reduces the network exit from the user's point of view. Delay.
进一步可选的, 也可以不进行 IP地址释放过程, 由 DHCP服务器 内的老化机制实现 IP地址释放, 即在 IP地址的 Lifetime到期后, 自动 释放动态分配的 IP地址。 Further optional, the IP address release process may not be performed by the DHCP server. The internal aging mechanism implements IP address release, that is, automatically releases the dynamically assigned IP address after the Lifetime of the IP address expires.
实施例 2:  Example 2:
本发明的实施例 2给出了另一种 CMIP模式下 MS发起的 MS退网 的方法, 该方法考虑 FA在知道 MS的 MIP去注册完成后, 由 FA来发 起完成该 MS的对应的数据通道释放流程, 并主动发送退网响应消息给 MS, 表示 MS退网完成, 其过程如图 3所示:  Embodiment 2 of the present invention provides another method for MS-originated MS quit in CMIP mode. The method considers that after the FA knows that the MIP of the MS is de-registered, the FA initiates the corresponding data channel of the MS. The process is released, and the network response message is sent to the MS, indicating that the MS is offline. The process is as shown in Figure 3.
步骤 301: MS触发退网后, MS发起 MIP去注册流程, 具体过程可 参照上述步骤 201。 需要说明的是, 在本实施例中, 该步骤为必选步骤。  Step 301: After the MS triggers the network retreat, the MS initiates a MIP registration process. For the specific process, refer to step 201 above. It should be noted that, in this embodiment, the step is a mandatory step.
此时, 可选的, MS还可以发起 IP地址释放过程。  At this time, optionally, the MS may also initiate an IP address release process.
步骤 302: FA发起与该 MS相关的数据通道释放过程。  Step 302: The FA initiates a data channel release process associated with the MS.
所述数据通道释放过程, 包括:  The data channel release process includes:
3021: FA所在的 Anchor ASN-GW发送数据通道释放请求消息 Path De-registration Request给服务 ASN-GW, 消息中携带 MSID以及退网指 示以及进一步可能携带的 Anchor Authenticator ID和 Accounting Client ID。  3021: The Anchor ASN-GW where the FA is located sends a Data Channel Release Request message. The Path De-registration Request is sent to the service ASN-GW. The message carries the MSID and the back-off indication and the Anchor Authenticator ID and Accounting Client ID that may be further carried.
3022: 服务 ASN-GW将接收的数据通道释放请求消息转发给 SBS。 3022: The service ASN-GW forwards the received data channel release request message to the SBS.
3023: BS回复数据通道释放响应 Path De-Registration Response给 所述服务 ASN-GW。 3023: BS reply data channel release response Path De-Registration Response to the service ASN-GW.
3024: 服务 ASN-GW 转发所述数据通道释放响应 Path De-Registration Response给所述 FA所在的 Anchor ASN-GW, Anchor ASN-GW中的 FA释放当前 MS对应的资源。  The service ASN-GW forwards the data channel release response. The Path De-Registration Response sends the FA in the Anchor ASN-GW where the FA is located, and the FA in the Anchor ASN-GW releases the resource corresponding to the current MS.
在该步驟中, 如果数据通道不是基于 BS建立的, FA还需根据退网 指示删除 MSID对应的数据通道; 否则无需拆除数据通道。  In this step, if the data channel is not established based on the BS, the FA needs to delete the data channel corresponding to the MSID according to the back-off indication; otherwise, the data channel does not need to be removed.
此时, 可选的, Anchor ASN-GW收到该 MS的数据通道释放请求, 根据退网指示, 发起上下文释放过程, 具体可参考实施例 1提供的上下 文释放过程。 At this time, optionally, the Anchor ASN-GW receives the data channel release request of the MS. The context release process is initiated according to the back-off indication. For details, refer to the context release process provided in Embodiment 1.
进一步可选的, 如果当前有业务在计费, 则 Anchor ASN-GW收到 该 MS的 Data Path释放请求, 根据退网指示, 可以发起停止计费过程, 具体过程也可以参考实施例 1。  Further, if the current service is charging, the Anchor ASN-GW receives the Data Path release request of the MS, and may initiate a stop charging process according to the network revocation indication. For the specific process, refer to Embodiment 1.
可选的, 如果之前 MS未发起 IP地址释放过程, 此时, 可由 FA通 知 DHCP代理发起 IP地址释放流程。  Optionally, if the MS does not initiate the IP address release process, the FA may notify the DHCP agent to initiate an IP address release process.
步骤 303: FA所在的 Anchor ASN-GW回复退网确认消息给所述服 务 ASN-GW。  Step 303: The Anchor ASN-GW where the FA is located returns a network confirmation message to the service ASN-GW.
在本发明实施例中, 所述退网确认消息为数据通道释放确认消息 Path De-Registration Ack。  In the embodiment of the present invention, the network confirmation message is a data channel release confirmation message Path De-Registration Ack.
步骤 304: 服务 ASN-GW回复退网确认消息到 SBS。  Step 304: The service ASN-GW replies to the retiring confirmation message to the SBS.
步驟 305: SBS回复退网响应消息到 MS, 表示 MS终止与当前 BS 的所有服务, 退网成功。  Step 305: The SBS replies to the network return response message to the MS, indicating that the MS terminates all services with the current BS, and the network is successfully retired.
在本发明的实施例中, 所述退网响应消息为 DREG— CMD , 其中 In an embodiment of the present invention, the back-off response message is DREG-CMD, where
Action Code = 04。 Action Code = 04.
进一步, 可选的, 如果之前并且进行 IP地址释放过程, 则对于动态 分配的 IP地址, 此时, FA可以发起 IP地址释放流程。 另外, 如实施例 1所述, 也可以不进行 IP地址释放过程, 由 DHCP server内的老化机制 进行 IP地址释放, 即在 IP地址的 Lifetime到期后, 自动释放动态分配 的 IP地址。  Further, optionally, if the IP address release process is performed before, the FA may initiate an IP address release procedure for the dynamically assigned IP address. In addition, as described in Embodiment 1, the IP address release process may not be performed, and the IP address is released by the aging mechanism in the DHCP server, that is, the dynamically allocated IP address is automatically released after the Lifetime of the IP address expires.
实施例 3: PMIP模式下的 MS发起的 MS退网流程:  Embodiment 3: MS-initiated MS network retreat process in PMIP mode:
在 PMIP模式下, 由于 MS不支持 MIP信令, 因此实施例 1和 2中 所述的步骤 201及 301不存在, 其他过程与实施例 1所述的退网流程类 似。 在本实施例中, MIP的去注册流程应当在数据通道的释放过程中执 行, 可以采用以下两种方式: In the PMIP mode, since the MS does not support the MIP signaling, the steps 201 and 301 described in Embodiments 1 and 2 do not exist, and other processes are similar to the retiring procedure described in Embodiment 1. In this embodiment, the MIP deregistration process should be performed during the release of the data channel. Line, you can use the following two ways:
方式一: 由 FA触发 MS发起. MIP去注册, 去注册消息经由 FA发 到 HA , FA和 HA释放 MIP相关注册信息。  Manner 1: The FA initiates the MS to initiate. The MIP goes to the registration, and the registration message is sent to the HA via FA, and the FA and HA release the MIP-related registration information.
方式二: FA通知 MS释放 MIP相关注册信息, 同时由 FA发起 MIP 去注册消息, FA和 HA释放 MIP相关的注册信息。  Manner 2: The FA notifies the MS to release the MIP-related registration information, and the FA initiates the MIP to register the message, and the FA and the HA release the MIP-related registration information.
下面给出了一种 PMIP模式下的 MS发起的退网流程, 具体过程如 图 4所示, 主要包括:  The MS-initiated retreat process in the PMIP mode is shown below. The specific process is shown in Figure 4, which mainly includes:
步骤 401 : MS发送退网请求消息给 SBS, 请求退网, 消息中还可 以携带退网指示。  Step 401: The MS sends a network revocation request message to the SBS, requesting to leave the network, and the message may also carry the network retreat indication.
在本实施例中, 所述退网请求消息可以是去注册请求消息 In this embodiment, the backoff request message may be a deregistration request message.
DREG REQ , 并且其中的 De-Registration Request Code=0。 DREG REQ , and De-Registration Request Code=0.
步骤 402: SBS收到 MS的退网请求消息后, 发起与该 MS相关的 数据通道释放过程, 包括:  Step 402: After receiving the MSRP request message, the SBS initiates a data channel release process related to the MS, including:
4021: SBS发送数据通道释放请求消息 Path De-registration Request 给 SBS所连接的服务 ASN-GW, 消息中携带 MSID以及退网指示, 进 一步可能携带 Anchor Authenticator ID和 Accounting Client ID。  4021: SBS sends a data channel release request message. Path De-registration Request A service that connects to the SBS. The ASN-GW carries the MSID and the back-off indication. It may further carry the Anchor Authenticator ID and the Accounting Client ID.
4022: 服务 ASN-GW将接收的 Path De-registration Request转发给 FA所在的 Anchor ASN-GW。  4022: The serving ASN-GW forwards the received Path De-registration Request to the Anchor ASN-GW where the FA is located.
4023: 所述 Anchor ASN-GW 收到该 MS 的 Path De-registration Request,根据退网指示,向该 MS的 Anchor PMIP Client所在的 ASN-GW 发送 R3会话释放请求消息 R3 Session Release Request  4023: The Anchor ASN-GW receives the Path De-registration Request of the MS, and sends an R3 session release request message to the ASN-GW where the Anchor PMIP Client of the MS is located according to the back-off indication. R3 Session Release Request
4024: Anchor PMIP Client收到 R3 Session Release Request后, 找到 该 MS的相关 PMN-HA的密钥信息, 封装好一个完整的 MIP注册请求 消息 MIP Registration Request,携带 Lifetime = 0以表示 MIP去注册过程, 发送给 FA所在的 Anchor ASN-GW。 4025: FA转发 MIP Registration Request消息到 HA。 4024: After receiving the R3 Session Release Request, the Anchor PMIP Client finds the key information of the relevant PMN-HA of the MS, encapsulates a complete MIP registration request message MIP Registration Request, and carries Lifetime = 0 to indicate the MIP registration process. Send to Anchor ASN-GW where FA is located. 4025: The FA forwards the MIP Registration Request message to the HA.
4026: HA收到后, 验证该消息的合法性, 并回复 MIP注册答复消 息 MIP Registration Reply到 FA。  4026: After receiving the HA, verify the validity of the message and reply to the MIP registration reply message MIP Registration Reply to FA.
4027: FA转发 MIP Registration Reply消息到 Anchor PMIP Client。 通过上述步骤 4024 - 4027 , FA 和 HA接收到 MIP Registration 4027: The FA forwards the MIP Registration Reply message to the Anchor PMIP Client. Through the above steps 4024 - 4027, FA and HA receive MIP Registration
Request消息后释放相应的资源, 如果 IP地址是由 HA分配的, 则可以 同时释放 IP地址资源。进一步,可选的, HA收到 MIP Registration Request 消息后还可以通知 AAA释放 MS相关的上下文。 After the Request message is released, the corresponding resource is released. If the IP address is allocated by the HA, the IP address resource can be released at the same time. Further, optionally, after receiving the MIP Registration Request message, the HA may also notify the AAA to release the MS-related context.
4028: Anchor PMIP Client删除其保留的该 MS的一些上下文信息; 并回复 R3会话释放响应消息 R3 Session Release Response给 FA。  4028: The Anchor PMIP Client deletes some context information of the MS it retains; and replies to the R3 session release response message R3 Session Release Response to the FA.
4029: FA 收到 Anchor PMIP Client 返回的 R3 Session Release Response消息,表示该 MS的 R3链路已经释放成功,在本地释放该 MS 对应的资源, 并回复数据通道释放响应消息 Path De-Registration Response给 MS当前 SBS所连接的服务 ASN-GW。  4029: The FA receives the R3 Session Release Response message returned by the Anchor PMIP Client, indicating that the R3 link of the MS has been successfully released, releasing the resource corresponding to the MS locally, and replying to the data channel release response message Path De-Registration Response to the MS The service ASN-GW to which the current SBS is connected.
如果数据通道是基于 BS建立的, 则 MS退网过程不需拆除数据通 道, 只需释放 MS上下文及相应资源即可; 否则, FA需根据退网指示 删除 MSID对应的数据通道。  If the data channel is established based on the BS, the MS network does not need to be removed from the data channel. You only need to release the MS context and the corresponding resources. Otherwise, the FA needs to delete the data channel corresponding to the MSID according to the network exit indication.
可选的, 此时如果当前有业务在计费, Anchor ASN-GW/FA可以发 起停止计费过程,即向该 MS的 Accounting Client所在的 ASN-GW发送 终止计费请求消息。 进一步的, Accounting Client向 AAA发送停止计费 消息 Account-Request/Stop, 然后, Accounting Client所在的 ASN-GW向 所述 Anchor ASN-GW返回终止计费响应消息。  Optionally, if the current service is charging, the Anchor ASN-GW/FA may initiate a stop charging process, that is, send a termination charging request message to the ASN-GW where the Accounting Client of the MS is located. Further, the accounting client sends a stop charging message Account-Request/Stop to the AAA, and then the ASN-GW where the Accounting Client is located returns a terminating charging response message to the Anchor ASN-GW.
4030:服务 ASN-GW回复 Path De-Registration Response消息给 SBS。 步骤 403: SBS回复退网响应消息给 MS, 表示 MS终止与当前 BS 的所有服务, 退网成功。 在本发明实施例中, 所述退网响应消息为去注册指令 DREG—CMD, 并且其中的 Action Code = 04。 ' 4030: The serving ASN-GW replies to the Path De-Registration Response message to the SBS. Step 403: The SBS replies to the back-off response message to the MS, indicating that the MS terminates all services with the current BS, and the network is successfully retired. In the embodiment of the present invention, the back-off response message is a de-registration instruction DREG_CMD, and the Action Code = 04 therein. '
步骤 404: SBS回复退网确认消息给服务 ASN-GW。  Step 404: The SBS replies with a retiring confirmation message to the serving ASN-GW.
在本发明实施例中, 所述退网确认消息为数据通道释放确认消息 Path De-Registration Ack。  In the embodiment of the present invention, the network confirmation message is a data channel release confirmation message Path De-Registration Ack.
此时, SBS可以幹放为该 MS之前所分配的资源以及保留的上下文, 包括 CID, 资源调度队列状态机, TEK状态机, AK以及 AK上下文, HMAC Digest等。  At this time, the SBS can be used as the resource allocated before the MS and the reserved context, including the CID, the resource scheduling queue state machine, the TEK state machine, the AK and the AK context, the HMAC Digest, and the like.
步骤 405: 服务 ASN-GW回复退网确认消息给 FA所在的 Anchor ASN-GW。  Step 405: The service ASN-GW replies with a network confirmation message to the Anchor ASN-GW where the FA is located.
可选的, 此时 FA可以发送 R3 Session Release Ack消息通知该 MS 对应的 Anchor Authenticator要求删除对应的该 MS的所有上下文信息。 如果 AAA中保留有 MS的安全上下文, 则 MS的 Anchor Authenticator 可以知会 AAA告知 MS退网, 要求删除 MS的安全上下文信息, FA可 以通知该 MS对应的 Anchor SFA要求删除对应的该 MS的所有上下文信 息。 Anchor SFA也可以发送携带退网删除指示的 SFA-LU-Request消息 到 PF进行位置更新, 要求 PF删除 MS相关的上下文信息, 包括 SFID, FID,包括授权服务流状态机等信息; PF在处理完成后,将向所述 Anchor SFA返回服务流授权实体位置更新响应消息 SFA-LU-Response。  Optionally, the FA may send an R3 Session Release Ack message to notify the corresponding Authenticator of the MS to delete all corresponding context information of the MS. If the security context of the MS is retained in the AAA, the Anchor Authenticator of the MS can notify the AAA to inform the MS to quit the network, and request to delete the security context information of the MS. The FA can notify the Anchor SFA corresponding to the MS to delete all the corresponding contexts of the MS. information. The Anchor SFA can also send the SFA-LU-Request message carrying the network deletion indication to the PF for location update. The PF is required to delete the MS-related context information, including the SFID, FID, and the information such as the authorized service flow state machine. After that, the service flow authorization entity location update response message SFA-LU-Response will be returned to the Anchor SFA.
对于动态分配的 IP地址, FA可以在此时通知 DHCP Proxy发起 IP 地址释放流程, 即发送 DHCP Release Request消息给 DHCP Server。 另 外, 也可以在 MS触发退网后, 步骤 401之前由 MS发起 IP地址释放过 程。 又或者, 不进行 IP地址释放过程, 由 DHCP server内的老化机制实 现 IP地址释放。  For the dynamically assigned IP address, the FA can notify the DHCP proxy to initiate the IP address release process, that is, send a DHCP Release Request message to the DHCP server. In addition, after the MS triggers the network retreat, the IP address release process is initiated by the MS before step 401. Alternatively, the IP address release process is implemented by the aging mechanism in the DHCP server without performing the IP address release process.
实施例 4: SIM模式下 MS发起的 MS退网流程 在 SIP模式下, 不存在实施例 1 ~ 3中所述的 MIP释放过程, 而其 他过程与实施例 1 ~ 3相同, 可以参考上述实施例 1 ~ 3, 在此不再赘述。 Embodiment 4: MS egress network initiated by MS in SIM mode In the SIP mode, there is no MIP release process described in Embodiments 1-3, and other processes are the same as those in Embodiments 1-3, and reference may be made to the above Embodiments 1-3, and details are not described herein again.
实施例 5: CMIP模式下网络侧发起的 MS退网流程  Embodiment 5: MS network revocation process initiated by the network side in CMIP mode
图 5为本发明实施例所述的 CMIP模式下网络侧发起的 MS退网流 程示意图, 如图 5所示, 主要包括:  5 is a schematic diagram of a MS network revocation process initiated by a network side in a CMIP mode according to an embodiment of the present invention. As shown in FIG. 5, the method mainly includes:
步骤 501 : 可选的, 在网絡侧实体基于所述的网络侧资源阻塞和 /或 网络侧服务策略触发 MS退网时, SBS发送携带退网指示的退网响应消 息给 MS, 要求 MS退网。  Step 501: Optionally, when the network side entity triggers the MS to exit the network based on the network side resource blocking and/or the network side service policy, the SBS sends a network return response message carrying the network return indication to the MS, requesting the MS to exit the network. .
在该步骤中,还可以进一步启动退网定时器 Tl。 并且所述退网响应 消息还可以携带如下信息: 时间指示或时间范围指示, 要求 MS在规定 的时间内不能接入本网络或规定的时间内不能在规定的范围内接入本 网洛。  In this step, the back-off timer T1 can be further started. And the back-off response message may also carry the following information: a time indication or a time range indication, requiring the MS to access the network within a specified time within a specified time or within a specified time.
在本发明的实施例中, 所述退网响应消息为去注册指令 DREG— CMD , 并且其中的 Action Code=0。  In an embodiment of the present invention, the back-off response message is a de-registration instruction DREG_CMD, and the Action Code=0.
步骤 502: 可选的, 网络侧的 FA发起 MIP去注册流程。  Step 502: Optionally, the FA on the network side initiates a MIP to register the process.
本实施例所述的 MIP去注册流程包括:  The MIP deregistration process described in this embodiment includes:
5021: FA发送 FA通知广播消息 FA advertisement到 MS , 消息中携 带 Lifetime = 0;  5021: The FA sends a FA notification broadcast message FA advertisement to the MS, and the message carries Lifetime = 0;
5022: MS收到 FA的 FA advertisement后, 发送 MIP Registration Request消息到 FA , 消息中携带 Lifetime = 0;  5022: After receiving the FA advertisement of the FA, the MS sends a MIP Registration Request message to the FA, and the message carries Lifetime=0;
5023: FA转发 MIP Registration Request消息到 HA;  5023: The FA forwards the MIP Registration Request message to the HA;
5024: HA验证该消息的合法性, 经验证合法后回复 MIP注册答复 消息 MIP Registration Reply到 FA;  5024: The HA verifies the validity of the message, and returns a MIP registration reply message after being verified to be legal. MIP Registration Reply to FA;
在该步骤中, 若 HA 自身没有 PMN-HA key 来验证该 MIP Registration Request消息的合法性, 贝1 J HA需要请求 AAA验证; 5025: FA转发 MIP Registration Reply消息给 MS, MIP去注册过程 完成。 In this step, if the HA itself does not have the PMN-HA key to verify the validity of the MIP Registration Request message, the Bay 1 J HA needs to request AAA authentication; 5025: The FA forwards the MIP Registration Reply message to the MS, and the MIP registration process is completed.
在上述过程中, FA和 HA接收到 MIP Registration Request消息后释 放相应的资源。 进一步, 可选的, HA收到 MIP Registration Request消 息后还需通知 AAA释放 MS相关的上下文。  In the above process, the FA and HA release the corresponding resources after receiving the MIP Registration Request message. Further, optionally, after receiving the MIP Registration Request message, the HA needs to notify the AAA to release the MS-related context.
在上述过程中, SBS也可以删除 MS的上下文信息。  In the above process, the SBS can also delete the context information of the MS.
可选的, 如果 IP地址没有在上述 MIP去注册过程中释放, 则若 IP 地址是动态分配的, 则 MS可以进一步发起 IP地址释放过程, 即通过 DHCP幹放过程与负责分配 IP的实体交互以释放 IP地址资源。  Optionally, if the IP address is not released during the MIP deregistration process, if the IP address is dynamically allocated, the MS may further initiate an IP address release process, that is, interact with the entity responsible for allocating the IP through the DHCP dry process. Release the IP address resource.
步驟 503: 可选的, MS发送退网请求消息给 SBS, 请求退网。  Step 503: Optionally, the MS sends a network revocation request message to the SBS, requesting to leave the network.
在本发明的实施例中, 所述退网请求消息为去注册请求消息 DREG— REQ , 并且其中的 De-Registration Request Code=0。  In an embodiment of the present invention, the back-off request message is a de-registration request message DREG_REQ, and the De-Registration Request Code=0 therein.
需要说明的是, 若在上述步驟 501中, SBS设置了定时器 T1 , 则可 以不执行该步骤。  It should be noted that if the SBS is set to the timer T1 in the above step 501, the step may not be performed.
步驟 504: 当 SBS收到 MS的退网请求后或定时器 T1超时, 发起 与该 MS相关的数据通道释放过程。  Step 504: When the SBS receives the MS network revocation request or the timer T1 times out, the data channel release process related to the MS is initiated.
本实施例所述的数据通道释放过程与上述步骤 203相同, 在此就不 再赘述了。  The data channel release process described in this embodiment is the same as the above step 203, and will not be described again.
如实施例 1所述, 若之前 MS未发起过 MIP去注册, 则此时可以由 FA发起 MIP去注册消息。 另外, 如果之前没有进行 IP地址#放, 则可 以由 FA通知 DHCP代理发起 IP地址释放流程。  As described in Embodiment 1, if the MS has not initiated MIP registration before, the MIP may initiate a registration message by the FA at this time. In addition, if the IP address # is not previously placed, the DHCP agent can be notified by the FA to initiate the IP address release process.
另外, 在 MIP去注册过程中, FA所在的锚 ASN-GW还可以根据退 网指示,向该 MS的锚鉴权者所在的 ASN-GW、锚 SFA、锚 DPF及 Anchor Accounting Client中的一个或多个发送删除 MS上下文的指示消息, 锚 鉴权者、锚 SFA、锚 DPF及锚计费客户端中的一个或多个响应所述消息 删除对应的该 MS的所有上下文信息。 进一步的, 如果 AAA中保留有 MS的安全上下文,则 MS的锚鉴权者及或錨计费客户端会知会 AAA告 知 MS退网, 并携带 MS标识, 退网指示, 及 /或退网原因, 要求删除 MS 的安全上下文信息; 鉴权授权计费服务器根据收到的通知消息, 删 除其维护的 MS上下文信息。 同时可以记录下 MS退网原因。 如果 MS 的 IP地址是由 AAA分配的 , 则 AAA还根据收到的通知消息 ,释放 MS 的 IP地址资源。 In addition, in the MIP deregistration process, the anchor ASN-GW where the FA is located may also be one of the ASN-GW, the anchor SFA, the anchor DPF, and the Anchor Accounting Client where the anchor authenticator of the MS is located according to the back-off indication. A plurality of indication messages for deleting the MS context are sent, and one or more of the anchor authenticator, the anchor SFA, the anchor DPF, and the anchor accounting client respond to the message Delete all corresponding context information of the MS. Further, if the security context of the MS is retained in the AAA, the anchor authenticator and the anchor charging client of the MS may notify the AAA to inform the MS to leave the network, and carry the MS identifier, the network return indication, and/or the network exit. The reason is that the security context information of the MS is required to be deleted; the authentication authorization accounting server deletes the MS context information maintained by the authentication according to the received notification message. At the same time, you can record the reason for the MS to retreat. If the IP address of the MS is assigned by the AAA, the AAA also releases the IP address resource of the MS according to the received notification message.
此外, 可选的, 锚 SFA所在的锚 ASN-GW根据退网指示, 向策略 服务器 PF发起位置更新请求 SFA-LU-Request, 漫游场景下, 该消息可 能需要经过一个或多个拜访 PF才能到达家乡 PF。 消息中携带 MS的退 网指示, 还可以携带退网原因, 策略服务器 PF根据收到的通知消息, 删除其维护的 MS上下文信息。 同时, 该策略服务器可记录下退网的原 因。 可选的, PF还需通知 AAA释放该 MS相关的上下文。  In addition, optionally, the anchor ASN-GW where the anchor SFA is located initiates a location update request SFA-LU-Request to the policy server PF according to the network redirection indication. In the roaming scenario, the message may need to pass one or more visited PFs to reach. Hometown PF. The message carrying the MS's back-off indication may also carry the reason for the network retreat. The policy server PF deletes the MS context information it maintains according to the received notification message. At the same time, the policy server can record the reason for the network back. Optionally, the PF also needs to notify the AAA to release the MS-related context.
步骤 505: SBS发送退网确认消息给服务 ASN-GW。  Step 505: The SBS sends a network cancellation confirmation message to the service ASN-GW.
此时, 在 SBS接收到服务 ASN-GW的退网响应消息后, 如果之前 未执行步骤 501 , 即并未发送退网响应消息给 MS, 则此时应主动给 MS 发送退网响应消息给 MS要求退网。  At this time, after the SBS receives the network-back response message of the serving ASN-GW, if the step 501 is not executed before, the network response message is not sent to the MS, then the network sends a network response message to the MS. Requires a withdrawal.
在本发明的实施例中所述退网确认消息可以是 Path De-Registration Ack消息。 此时, SBS可以释放为该 MS之前所分配的资源以及保留的 上下文, 其中, 包括安全上下文和状态机, 服务流上下文和状态机, 如 分配的 CID, 资源调度队列状态机, TEK状态机, AK以及 AK上下文, 丽 AC Digest。  In the embodiment of the present invention, the network acknowledgment confirmation message may be a Path De-Registration Ack message. At this time, the SBS may release the resources allocated before the MS and the reserved context, including the security context and state machine, the service flow context and the state machine, such as the allocated CID, the resource scheduling queue state machine, the TEK state machine, AK and AK context, Li AC Digest.
步骤 506: 服务 ASN-GW转发退网确认消息给 FA所在的 Anchor ASN-GW。  Step 506: The service ASN-GW forwards the network confirmation message to the Anchor ASN-GW where the FA is located.
进一步的, FA可以在此时, 通知该 MS对应的 Anchor SFA要求删 除对应的该 MS的所有上下文信息, 如服务流状态机和 MS对应的服务 流上下文和状态机信息。 同时也包括 Anchor SFA发送 SFA-LU-Request 消息, 其中消息中携带退网删除指示, 到 PF进行位置更新; 要求 PF删 除 MS相关上下文信息, 如 SFID, FID, 包括授权服务流状态机等信息; PF在处理完成后将向所述 Anchor SFA返回 SFA-LU-Response消息。 Further, the FA may notify the Anchor SFA corresponding to the MS to delete at this time. All context information corresponding to the MS, such as the service flow state machine and the service flow context and state machine information corresponding to the MS. At the same time, the Anchor SFA sends an SFA-LU-Request message, where the message carries a network deletion indication, and the PF performs location update. The PF is required to delete the MS-related context information, such as the SFID, the FID, and the information such as the authorization service flow state machine. The PF will return an SFA-LU-Response message to the Anchor SFA after processing is complete.
另外, 如果之前没有执行 MIP去注册过程, 则此时可由 FA发起 MIP去注册过程。 如果之前没有释放 IP地址, 则对于动态分配的 IP地 址, FA可以通知 DHCP Proxy发起 IP地址释放流程。 另外, 如之前的 实施例所述, 还可以不进行 IP地址释放过程, 由 DHCP server内的老化 机制实现 IP地址释放。 由于 MIP去注册过程和 IP地址释放过程均需要 与核心网实体交互, 因此, 如果后执行 MIP去注册和 IP地址释放过程, 从用户的角度来看大大降低了退网延时。  In addition, if the MIP registration process has not been performed before, the MIP can be initiated by the FA to register the process. If the IP address has not been released before, the FA can notify the DHCP Proxy to initiate the IP address release process for the dynamically assigned IP address. In addition, as described in the previous embodiment, the IP address release process may not be performed, and the IP address is released by the aging mechanism in the DHCP server. Since the MIP registration process and the IP address release process need to interact with the core network entity, if the MIP registration and IP address release process are performed later, the network delay is greatly reduced from the user's point of view.
实施例 6:  Example 6:
本实施例给出了另一种 CMIP模式下网络侧发起的 MS退网流程。, 该方法考虑 FA在知道 MS的 MIP去注册完成后, 由 FA来发起完成该 MS的对应的数据通道幹放流程, 并主动发送退网响应消息给 MS,表示 MS退网完成, 其过程如图 6所示主要包括:  This embodiment provides another MS quit network initiated by the network side in the CMIP mode. The method considers that after the FA knows that the MIP of the MS is de-registered, the FA initiates the corresponding data channel dry-discharging process of the MS, and actively sends a network-back response message to the MS, indicating that the MS is retired, and the process is as follows. The main components shown in Figure 6 include:
步驟 601 : 网络侧的 FA发起 MIP去注册流程,具体过程与步骤 502 相同。  Step 601: The FA on the network side initiates a MIP registration process, and the specific process is the same as step 502.
步骤 602: FA发起与该 MS相关的数据通道释放过程, 具体过程与 步骤 302相同。  Step 602: The FA initiates a data channel release process related to the MS, and the specific process is the same as step 302.
步骤 603: FA所在的 Anchor ASN-GW回复退网确认消息给所述服 务 ASN-GW。  Step 603: The Anchor ASN-GW where the FA is located returns a network confirmation message to the service ASN-GW.
在本发明实施例中, 所述退网确认消息为数据通道释放确认消息 Path De-Registration Ack:。 步骤 604: 服务 ASN-GW回复退网确认消息到 SBS。 In the embodiment of the present invention, the network confirmation message is a data channel release confirmation message Path De-Registration Ack:. Step 604: The serving ASN-GW replies to the retiring confirmation message to the SBS.
步驟 605: SBS回复退网响应消息到 MS , 表示 MS终止与当前 BS 的所有服务, 退网成功。  Step 605: The SBS replies to the network return response message to the MS, indicating that the MS terminates all services with the current BS, and the network is successfully retired.
在本发明的实施例中, 所述退网响应消息为 DREG_CMD , 其中 Action Code = 04。  In an embodiment of the invention, the back-off response message is DREG_CMD, where Action Code = 04.
进一步, 可选的, 如果之前并且进行 IP地址释放过程, 则对于动态 分配的 IP地址, 此时, FA可以发起 IP地址释放流程。 另夕卜, 如实施例 1所述, 也可以不进行 IP地址释放过程, 由 DHCP server内的老化机制 进行 IP地址幹放, 即在 IP地址的 Lifetime到期后, 自动释放动态分配 的 IP地址。  Further, optionally, if the IP address release process is performed before, the FA may initiate an IP address release procedure for the dynamically assigned IP address. In addition, as described in Embodiment 1, the IP address release process may not be performed, and the IP address is released by the aging mechanism in the DHCP server, that is, the dynamically allocated IP address is automatically released after the Lifetime of the IP address expires. .
实施例 7: PMIP模式下网络侧发起的 MS退网流程:  Embodiment 7: The MS network revocation process initiated by the network side in the PMIP mode:
在 PMIP模式下, 由于 MS不支持 MIP信令, 因此实施例 5和 6中 所述的步骤 501及 601不存在, 其他过程与上述实施例 5或 6所述的退 网流程类似。 在本实施例中, MIP的去注册流程应当在数据通道的释放 过程中执行, 可以采用以下两种方式:  In the PMIP mode, since the MS does not support MIP signaling, the steps 501 and 601 described in Embodiments 5 and 6 do not exist, and other processes are similar to the revocation process described in Embodiment 5 or 6. In this embodiment, the MIP deregistration process should be performed during the release of the data channel, and the following two methods can be used:
方式一: 由 FA触发 MS发起 MIP去注册, 去注册消息经由 FA发 到 HA, FA和 HA释放 MIP相关注册信息。  Method 1: The FA triggers the MS to initiate the MIP to register, and the registration message is sent to the HA via FA, and the FA and HA release the MIP-related registration information.
方式二: FA通知 MS释放 MIP相关注册信息 , 同时由 FA发起 MIP 去注册消息, FA和 HA释放 MIP相关的注册信息。  Manner 2: The FA notifies the MS to release the MIP-related registration information, and the FA initiates the MIP to register the message, and the FA and the HA release the MIP-related registration information.
图 Ί显示了本实施例所述的一种 PMIP模式下由网络侧发起的 MS 退网过程, 具体包括:  Figure Ί shows the MS network revocation process initiated by the network side in the PMIP mode according to the embodiment, which specifically includes:
步驟 701 : 可选的, 网络侧触发 MS退网后, SBS发送退网响应消 息到 MS , 发起 MS退网流程。  Step 701: Optionally, after the network side triggers the MS to exit the network, the SBS sends a network return response message to the MS to initiate the MS network exit process.
在本发明的实施例中, 所述退网响应消息为去注册指令 DREG— CMD , 并且其中的 Action Code = 04。 可选的, 在 MS收到退网响应消息后, 发起 IP地址释放流程。 In an embodiment of the present invention, the back-off response message is a de-registration instruction DREG_CMD, and the Action Code = 04 therein. Optionally, after the MS receives the network return response message, the IP address release process is initiated.
以上步骤是个可选步骤。 还可以在后续过程中, 当 SBS接收到服务 ASN-GW的 Path De-Registration Ack消息后, 再发送退网响应消息到 MS,要求 MS退网, 即在网络侧完成所有数据通道译放以及资源释放过 程后, 由 SBS通知 MS退网。  The above steps are an optional step. In the subsequent process, after receiving the Path De-Registration Ack message of the serving ASN-GW, the SBS sends a network return response message to the MS, requesting the MS to exit the network, that is, completing all data channel translation and resources on the network side. After the release process, the SBS notifies the MS to retire.
步骤 702: FA所在的 ASN-GW发起数据通道释放过程。  Step 702: The ASN-GW where the FA is located initiates a data channel release process.
所述数据通道释放过程包括:  The data channel release process includes:
7021: Anchor ASN-GW/FA向该 MS的 Anchor PMIP Client所在的 ASN-GW发送 R3 Session Release Request。  7021: The Anchor ASN-GW/FA sends an R3 Session Release Request to the ASN-GW where the Anchor PMIP Client of the MS is located.
7022: Anchor PMIP Client找到该 MS的相关 PMN-HA的密钥信息, 封装一个完整的 MIP Registration Request消息, 携带 Lifetime = 0, 发送 给 FA所在的 Anchor ASN-GW。  7022: The Anchor PMIP Client finds the key information of the relevant PMN-HA of the MS, encapsulates a complete MIP Registration Request message, carries Lifetime = 0, and sends it to the Anchor ASN-GW where the FA is located.
7023: FA转发 MIP Registration Request消息到 HA。  7023: The FA forwards the MIP Registration Request message to the HA.
7024: HA收到后, 睑证该消息的合法性, 并回复 MIP Registration Reply消息到 FA。  7024: After receiving the HA, the certificate proves the validity of the message and returns a MIP Registration Reply message to the FA.
7025: FA转发 MIP Registration Reply消息到 Anchor PMIP Client。  7025: The FA forwards the MIP Registration Reply message to the Anchor PMIP Client.
7026: Anchor PMIP Client删除其保留的该 MS的一些上下文信息; 并回复 R3 Session Release Response给 FA。  7026: The Anchor PMIP Client deletes some context information of the MS it retains; and replies to the R3 Session Release Response to the FA.
7027: FA收到 Anchor PMIP Client的 R3 Session Release Response 消息, 表示该 MS的 R3链路已经释放成功, 开始释放与该 MS相关的 数据通道, 并发送 Path De-Registration Request消息给 J良务 ASN-GW。  7027: The FA receives the R3 Session Release Response message of the Anchor PMIP Client, indicating that the R3 link of the MS has been successfully released, starts releasing the data channel associated with the MS, and sends a Path De-Registration Request message to the J-service ASN- GW.
7028:服务 ASN-GW转发 Path De-Registration Request消息给 SBS。  7028: The service ASN-GW forwards the Path De-Registration Request message to the SBS.
7029: SBS向服务 ASN-GW回复 Path De-Registration Response消息。 7030:服务 ASN-GW进一步向 FA所在的 Anchor ASN-GW回复 Path De-Registration Response消息。 步骤 703: Anchor ASN-GW收到 Path De-Registration Response消息 后, 在本地释放该 MS 对应的资源, 并回复退网确认消息给良务 ASN-GW。 7029: The SBS replies to the service ASN-GW with a Path De-Registration Response message. 7030: The serving ASN-GW further replies to the Path De-Registration Response message to the Anchor ASN-GW where the FA is located. Step 703: After receiving the Path De-Registration Response message, the Anchor ASN-GW releases the resource corresponding to the MS locally, and returns a network confirmation message to the service ASN-GW.
在本实施例中, 所述退网确认消息为为数据通道释放确认消息 Path De-Registration Ack:。  In this embodiment, the network confirmation message is a data channel release confirmation message Path De-Registration Ack:.
在该步骤中, 如果数据通道不是基于 BS建立的, FA还需根据退网 指示删除 MSID对应的数据通道; 否则无需拆除数据通道。  In this step, if the data channel is not established based on the BS, the FA needs to delete the data channel corresponding to the MSID according to the back-off indication; otherwise, the data channel does not need to be removed.
可选的, 如果当前有业务在计费, Anchor ASN-GW/FA向该 MS的 Accounting Client所在的 ASN-GW发送终止计费请求消息; 进一步的, Accounting Client向 AAA发送停止计费消息 Account-Request/Stop; 然 止计费响应消息。  Optionally, if the current service is charging, the Anchor ASN-GW/FA sends a termination charging request message to the ASN-GW where the Accounting Client of the MS is located. Further, the Accounting Client sends a stop charging message to the AAA. Request/Stop; and then the charging response message.
步骤 704: 服务 ASN-GW进一步将退网确认消息转发到 SBS, 完成 数据通道释放的三次握手过程。  Step 704: The service ASN-GW further forwards the network acknowledgment message to the SBS, and completes the three-way handshake process of the data channel release.
在 SBS接收到服务 ASN-GW的退网确认消息后, 如果之前未执行 步骤 701, 即并未发送退网响应消息给 MS,则此时应主动给 MS发送退 网响应消息给 MS要求退网。  After the SBS receives the acknowledgment message of the service ASN-GW, if the SN is not executed, the network does not send the quit response message to the MS. .
该步骤即前文所述的, 在网络侧完成所有数据通道鋒放以及资源释 放过程后, 由 SBS通知 MS退网。  This step is as described above. After all data channel hopping and resource release processes are completed on the network side, the SBS notifies the MS to quit the network.
在本发明的实施例中, 所述退网响应消息为 DREG— CMD, 其中, Action Code = 04。  In an embodiment of the present invention, the back-off response message is DREG_CMD, where Action Code=0.
进一步的, FA在回复 Path De-Registration Ack之后会通知该 MS对 应的 Anchor Authenticator要求删除对应的该 MS的所有上下文信息。如 果 AAA保留有 MS的动态上下文信息, 则进一步的包括 MS的 Anchor Authenticator通知 AAA删除其保留的 MS的动态安全上下文信息,如可 能存在的对应该 MS的 PMN-HAkey。 Further, after replying to the Path De-Registration Ack, the FA notifies the Anchor Authenticator corresponding to the MS to delete all the context information of the corresponding MS. If the AAA retains the dynamic context information of the MS, the Anchor Authenticator further including the MS notifies the AAA to delete the dynamic security context information of the MS that it reserves, such as PMN-HAkey that can exist for MS.
进一步的, FA会发送 R3 Session Release Ack消息通知该 MS对应 的 Anchor SFA要求删除对应的该 MS的所有上下文信息。 同时也包括 Anchor SFA发送 ϋ良务流授权实体位置更新倩求消息 SFA-LU-Request, 其中携带退网删除指示, 到 PF进行位置更新; 要求 PF删除 MS相关上 下文信息, 如 SFID, FID, 包括授权服务流状态机等信息; PF在处理完 成后将向所述 Anchor SFA返回 SFA-LU-Response消息。  Further, the FA sends an R3 Session Release Ack message to notify the anchor SFA corresponding to the MS to delete all the context information of the corresponding MS. At the same time, the Anchor SFA sends the service flow authorization entity location update message SFA-LU-Request, which carries the network removal indication to the PF for location update; the PF is required to delete the MS related context information, such as SFID, FID, including Authorizing the service flow state machine and other information; The PF will return an SFA-LU-Response message to the Anchor SFA after the processing is completed.
可选的, 对于动态分配的 IP地址, 也可以由 FA在这个步骤里通知 DHCP Proxy发起 IP地址释放流程, DHCP Proxy发送 DHCP Release Request消息给 DHCP Server。可选的,不进行 IP地址释放过程,由 DHCP server内的老化机制去保证, 在 IP地址的 Lifetime到期后, 自动释放。 . 实施例 8: SIP模式下的网络侧发起的 MS退网流程:  Optionally, for the dynamically assigned IP address, the FA may also notify the DHCP proxy to initiate an IP address release process in this step, and the DHCP proxy sends a DHCP Release Request message to the DHCP server. Optionally, the process of releasing the IP address is not performed, and is ensured by the aging mechanism in the DHCP server. After the lifetime of the IP address expires, it is automatically released. Embodiment 8: The MS network revocation process initiated by the network side in the SIP mode:
在 SIP模式下, 不存在实施例 4 ~ 6中所述的 MIP释放过程, 而其 他过程与实施例 4 ~ 6相同, 可以参考上述实施例 4 ~ 6, 在此不再赘述。  In the SIP mode, there is no MIP release process described in Embodiments 4-6, and other processes are the same as those in Embodiments 4-6. For details, refer to the above Embodiments 4-6.
另外需要说明的是, 在上述实施例的各步骤中, 如果不存在 Anchor ASN-GW, 则服务 ASN-GW就是当前 SBS的 AnchorASN-GW, 则以上 提到的服务 ASN-GW和 AnchorASN-GW的交互流程就不需要了。同时, 上面提到的各个功能实体如果有在同一个物理实体内, 则它们之间的交 互是内部原语。  It should be noted that, in each step of the foregoing embodiment, if there is no Anchor ASN-GW, the serving ASN-GW is the AnchorASN-GW of the current SBS, and the services ASN-GW and AnchorASN-GW mentioned above are used. The interaction process is not needed. At the same time, if the functional entities mentioned above are in the same physical entity, the interaction between them is an internal primitive.
在上述实施例所述的过程中也包括各个网络实体对对应的 MS上下 文以及资源进行释放, 如 BS内部为 MS分配的 CID, 保留的 AK以及 AK上下文, SAID, TEK等安全信息上下文; 以及锚 SFA或者 PF或者 AAA内的服务流标识(SFID )、 流标识(FID ), 鉴权者内的成对主密钥 PMK以及鉴权密钥 AK, AK上下文, MIP等所有安全上下文; AAA内 的主会话密钥 (MSK )、 扩展主会话密钥 (EMSK )、 移动 IP 根密钥 ( MIP-RK:)、 移动节点与家乡代理之间的密钥 (MN-HA-Key )、 移动节 点与外部代理之间的密钥 (MN-FA-Key )、 外部代理与家乡代理之间的 密钥 (FA-HA-Key )等所有安全相关的上下文。 但并不限定于上述功能 实体。 In the process described in the foregoing embodiment, each network entity also releases the corresponding MS context and resources, such as a CID allocated by the MS for the MS, a reserved AK, an AK context, a SAID, a TEK, and the like, and an anchor information; Service flow identifier (SFID), flow identifier (FID) in the SFA or PF or AAA, paired master key PMK in the authenticator, authentication key AK, AK context, MIP, etc. All security contexts; Master Session Key (MSK), Extended Master Session Key (EMSK), Mobile IP Root Key (MIP-RK:), the key between the mobile node and the home agent (MN-HA-Key), the key between the mobile node and the external agent (MN-FA-Key), between the external agent and the home agent All security-related contexts such as the key (FA-HA-Key). However, it is not limited to the above functional entities.
与上述终端退网方法相对应, 本发明的实施例还给出了可以实现终 端退网的移动通信系统, 主要包括: 终端、 SBS以及 Anchor ASN-GW。 其中, 终端用于发送携带退网指示的去注册请求至所述 SBS;  Corresponding to the foregoing method for retiring the terminal, the embodiment of the present invention further provides a mobile communication system that can implement terminal backoff, and mainly includes: a terminal, an SBS, and an Anchor ASN-GW. The terminal is configured to send a deregistration request carrying the backoff indication to the SBS;
SBS用于发送去注册指令至所述终端, 并发送携带退网指示的消息 到所述 Anchor ASN-GW,或进一步用于在收到所述退网响应消息后,返 回退网确认消息至所述 Anchor ASN-GW;  The SBS is configured to send a de-registration command to the terminal, and send a message carrying the network-backing indication to the Anchor ASN-GW, or further, after receiving the network-back response message, returning a network-return confirmation message to the Anchor ASN-GW;
Anchor ASN-GW网关用于接收所述携带退网指示的消息,并进行终 端相关的数据通道和上下文释放, 或进一步用于在收到所述携带退网指 示的消息后, 发送退网响应消息至 SBS。  The Anchor ASN-GW gateway is configured to receive the message carrying the network retreat indication, and perform the data channel and context release related to the terminal, or further used to send the network return response message after receiving the message carrying the network return indication. To SBS.
本实施例所述的移动通信系统还可以进一步包括: 连接到所述 SBS 和所述 Anchor ASN-GW的服务 ASN-GW,用于将所述 SBS发送的携带 退网指示的消息转发到所述 Anchor ASN-GW。  The mobile communication system of this embodiment may further include: a service ASN-GW connected to the SBS and the Anchor ASN-GW, configured to forward, by the SBS, a message carrying a network back indication to the Anchor ASN-GW.
除此之外, 为了实现终端退网时的 MIP去注册过程, 本实施例所述 的移动通信系统进一步包括 FA和 HA,用于在接收到锚 Anchor ASN-GW 的 MIP去注册请求后, 释放 MIP注册信息。  In addition, in order to implement the MIP deregistration process when the terminal exits the network, the mobile communication system in this embodiment further includes an FA and an HA, which are used to release the MIP deregistration request after receiving the anchor Anchor ASN-GW. MIP registration information.
为了在终端退网时进一步释放所述终端的上下文信息, 本实施例所 述的移动通信系统进一步包括: 锚鉴权者、 锚服务流鉴权者以及锚计费 客户端, 用于在收到 Anchor ASN-GW发送的终端退网通知后, 删除所 述终端的上下文信息。 除了锚鉴权者、 锚服务流鉴权者以及锚计费客户 端, 所述移动通信系统还可以包括保存有终端上下文信息的鉴权授权计 费服务器, 由于 HA在收到 MIP去注册请求后, 将发送终端退网通知到 所述鉴权授权计费服务器; 或由于锚鉴权者或锚计费客户端在删除终端 的上下文信息后, 也将发送终端退网通知到所述鉴权授权计费服务器; 所述鉴权授权计费服务器收到来自家乡代理、 锚鉴权者或锚计费客户端 的终端退网通知后, 将释放该终端的上下文信息。 In order to further release the context information of the terminal when the terminal exits the network, the mobile communication system in this embodiment further includes: an anchor authenticator, an anchor service flow authenticator, and an anchor charging client, for receiving After the terminal ANO-GW sends the network back-off notification, the context information of the terminal is deleted. In addition to the anchor authenticator, the anchor service flow authenticator, and the anchor charging client, the mobile communication system may further include an authentication authorization charging server that stores terminal context information, since the HA receives the MIP registration request after receiving the MIP. , will send the terminal back to the network to notify The authentication authorization charging server; or because the anchor authenticator or the anchor charging client deletes the context information of the terminal, the sending terminal also sends a network outbound notification to the authentication and authorization charging server; After receiving the network exit notification from the home agent, anchor authenticator or anchor accounting client, the authorized accounting server will release the context information of the terminal.
为了在终端退网时进一步释放为该终端分配的 IP地址,本实施例所 述的移动通信系统可以进一步包括: IP地址分配实体, 用于为所述终端 分配 IP地址, 以及在所述终端退网时,释放为所述终端分配的 IP地址。  In order to further release the IP address assigned to the terminal when the terminal exits the network, the mobile communication system in this embodiment may further include: an IP address allocation entity, configured to allocate an IP address to the terminal, and retreat at the terminal At the time of the network, the IP address assigned to the terminal is released.
在具体的实施过程中可对根据本发明的优选实施例进行适当的改 进, 以适应具体情况的具体需要。 因此可以理解, 本文所述的本发明的 具体实施方式只是起示范作用, 并不用以限制本发明的保护范围。  Appropriate improvements in accordance with preferred embodiments of the present invention may be made in the specific implementation to suit the particular needs of the particular situation. Therefore, it is to be understood that the specific embodiments of the invention described herein are merely illustrative and are not intended to limit the scope of the invention.

Claims

权利要求书 Claim
1、 一种终端退网处理方法, 其特征在于, 包括: 在对所述终端进 行退网时, 网络侧实体进行该终端相关数据通道的释放并删除该终端的 上下文信息。  A method for processing a terminal network retreat, comprising: releasing a network-side entity to perform release of the terminal-related data channel and deleting context information of the terminal when the terminal is disconnected from the network.
2、 居权利要求 1 所述的方法, 其特征在于: 在所述终端关机、 用户主动退网、 网络侧资源阻塞或网络侧服务策略改变时, 对所述终端 进行退网。  The method of claim 1, wherein the terminal is disconnected from the network when the terminal is shut down, the user actively withdraws from the network, the network side resource is blocked, or the network side service policy is changed.
3、 才艮据权利要求 1 所述的方法, 其特征在于, 由网絡侧实体触发 退网。  3. The method according to claim 1, wherein the network side entity triggers the network retreat.
4、 根据权利要求 3 所述的方法, 其特征在于, 所述终端进行退网 包括: 服务基站发送携带退网指示的去注册命令消息至所述终端。  The method according to claim 3, wherein the performing the network retreating comprises: the serving base station sending a deregistration command message carrying the network redirection indication to the terminal.
5、 根据权利要求 1或 4所述的方法, 其特征在于, 所述终端进行 退网包括: 终端发送携带退网指示的去注册请求至服务基站。  The method according to claim 1 or 4, wherein the retiring of the terminal comprises: the terminal sending a deregistration request carrying the retiring indication to the serving base station.
6、 ^^据权利要求 5 所述的方法, 其特征在于, 在终端发送去注册 请求之前, 进一步包括: 终端发起移动 IP去注册流程, 外部代理及家乡 代理收到所述的移动 IP去注册请求后释放移动 IP注册信息。  The method according to claim 5, wherein before the terminal sends the registration request, the method further includes: the terminal initiates a mobile IP registration process, and the external agent and the home agent receive the mobile IP to register. Release the mobile IP registration information after the request.
7、 根据权利要求 6所述的方法, 其特征在于, 所述家乡代理收到 所述的移动 IP去注册请求后通知鉴权授权计费服务器释放终端相关的 上下文信息。  The method according to claim 6, wherein the home agent notifies the authentication and authorization accounting server to release the context information related to the terminal after receiving the mobile IP deregistration request.
8、 ·据权利要求 5 所述的方法, 其特征在于, 在终端发送去注册 请求之前, 进一步包括: 要求 IP地址分配实体释放所述终端的 IP地址。  The method according to claim 5, wherein before the terminal sends the deregistration request, the method further includes: requiring the IP address allocation entity to release the IP address of the terminal.
9、 居权利要求 8所述的方法, 其特征在于, 所述释放终端的 IP 地址包括: 终端发起动态主机配置协议释放请求,请求 IP地址分配实体 释放所述终端的 IP地址。 9. The method of claim 8, wherein the releasing the IP address of the terminal comprises: the terminal initiating a dynamic host configuration protocol release request, requesting the IP address allocation entity to release the IP address of the terminal.
10、 根据权利要求 5所述的方法, 其特征在于, 在终端发送去注册 请求之后, 进一步包括: 服务基站发送携带退网指示的消息至锚接入服 务网关, 进行终端相关数据通道和上下文的释放。 The method according to claim 5, after the terminal sends the deregistration request, the method further includes: the serving base station sending a message carrying the network retreat indication to the anchor access service gateway, performing the terminal related data channel and the context freed.
11、 根据权利要求 10 所述的方法, 其特征在于, 所述服务基站发 送的携带退网指示的消息还需经过服务接入网网关再发送至锚接入服 务网关, 进行终端相关数据通道和上下文的释放。  The method according to claim 10, wherein the message carrying the back-off indication sent by the serving base station is further sent to the anchor access service gateway through the service access network gateway, and the terminal-related data channel is The release of the context.
12、根据权利要求 10或 11所述的方法, 其特征在于, 进一步包括: 锚接入服务网关通知锚鉴权者、锚服务流授权者及 /或锚计费客户端删除 终端上下文信息。  The method according to claim 10 or 11, further comprising: the anchor access service gateway notifying the anchor authenticator, the anchor service flow authorizer and/or the anchor accounting client to delete the terminal context information.
13、 根据权利要求 5所述的方法, 其特征在于, 进一步包括: 在终端移动 IP模式下, 由外部代理发起移动 IP去注册流程, 该外 部代理与家乡代理释放移动 IP注册信息; 或者  13. The method according to claim 5, further comprising: in the terminal mobile IP mode, the mobile IP deregistration process is initiated by the external agent, and the external agent and the home agent release the mobile IP registration information; or
在代理移动 IP模式下, 外部代理触发代理移动 IP客户端发起移动 IP的去注册, 外部代理与家乡代理释放移动 IP注册信息; 或者由外部 代理通知代理移动 IP客户端释放移动 IP注册信息后发起移动 IP注册撤 回流程, 该外部代理及家乡代理释放移动 IP注册信息。  In the proxy mobile IP mode, the external proxy triggers the proxy mobile IP client to initiate the registration of the mobile IP, and the external proxy and the home agent release the mobile IP registration information; or the external proxy notifies the proxy mobile IP client to release the mobile IP registration information and initiates The mobile IP registration withdrawal process, the foreign agent and the home agent release the mobile IP registration information.
14、根据权利要求 12所述的方法, 其特征在于, 进一步包括: 所述 锚鉴权者^/或锚计费客户端通知鉴权授权计费服务器终端退网, 鉴权授 权计费服务器删除终端的上下文信息。  The method according to claim 12, further comprising: the anchor authenticator/or anchor charging client notifying the authentication authorization accounting server terminal to exit the network, and the authentication authorization accounting server deleting The context information of the terminal.
15、根据权利要求 10或 11所述的方法, 其特征在于, 进一步包括: 获知终端退网指示后, 所述锚接入月良务网关发送退网响应消息至所 述月艮务基站;  The method according to claim 10 or 11, further comprising: after the terminal is retired, the anchor accessing the monthly service gateway sends a network return response message to the monthly service base station;
所述基站返回退网确认消息至所述锚接入服务网关。  The base station returns a network revocation confirmation message to the anchor access service gateway.
16、 根据权利要求 5所述的方法, 其特征在于, 在终端发送去注册 请求之后进一步包括: 服务基站回复去注册命令至所述终端。 The method according to claim 5, wherein after the terminal sends the deregistration request, the method further comprises: the serving base station replies to the registration command to the terminal.
17、 根据权利要求 1所述的方法, 其特征在于, 所述终端进行退网 包括: 17. The method according to claim 1, wherein the performing the network retreating comprises:
月良务基站发送携带退网指示的去注册命令至所述终端 , 并启动退网 定时器;  The monthly service base station sends a deregistration command carrying the network retreat indication to the terminal, and starts a network retirement timer;
在定时器超时时, 该基站发起携带退网指示的消息至锚接入服务网 关, 进行终端相关数据通道和上下文的释放。  When the timer expires, the base station initiates a message carrying the back-off indication to the anchor access service gateway to release the terminal-related data channel and the context.
18、 根据权利要求 5或 17所述的方法, 其特征在于, 锚服务流授 权者通知策略月良务器终端退网, 策略服务器删除终端的上下文信息。  18. The method according to claim 5 or 17, wherein the anchor service flow authority notifies the policy server terminal to exit the network, and the policy server deletes the context information of the terminal.
19、 根据权利要求 18 所述的方法, 其特征在于, 所述策略服务器 通知鉴权授权计费服务器终端退网, 鉴权授权计费服务器删除终端的上 下文信息。  The method according to claim 18, wherein the policy server notifies the authentication and authorization accounting server to exit the network, and the authentication and authorization accounting server deletes the context information of the terminal.
20、 根据权利要求 10或 11所述的方法, 其特征在于, 所述进行终 端相关的数据通道释放的过程包括:  The method according to claim 10 or 11, wherein the process of performing terminal-related data channel release comprises:
服务基站向其所连接的服务接入网网关发送数据通道释放请求, 其 中携带终端的标识以及退网指示;  The serving base station sends a data channel release request to the service access network gateway to which it is connected, where the identifier of the terminal and the back-off indication are carried;
服务接入网网关将接收到的数据通道释放请求转发给锚接入服务网 关;  The service access network gateway forwards the received data channel release request to the anchor access service gateway;
所述锚接入服务网关中的外部代理释放当前终端对应的资源, 回复 数据通道释放响应给服务接入网网关;  The external agent in the anchor access service gateway releases the resource corresponding to the current terminal, and the response data channel release response is sent to the service access network gateway;
服务接入网网关回复数据通道释放响应给服务基站。  The serving access network gateway replies to the data channel release response to the serving base station.
21、根据权利要求 20所述的方法, 其特征在于, 所述释放与所述终 端相关的数据通道的过程进一步包括:  The method according to claim 20, wherein the releasing the data channel associated with the terminal further comprises:
服务基站回复数据通道释放确认消息给服务接入网网关; 服务接入网网关回复数据通道释放确认消息给锚接入服务网关。 The serving base station replies with a data channel release confirmation message to the serving access network gateway; the serving access network gateway replies with a data channel release confirmation message to the anchor access service gateway.
22、 根据权利要求 10或 11所述的方法, 其特征在于, 所述进行终 端相关的数据通道释放的过程包括: 22. The method according to claim 10 or 11, wherein said performing the final The process of releasing the associated data channel includes:
锚接入服务网关发送数据通道释放请求消息给服务接入网网关, 其 中携带终端的标识以及退网指示;  The anchor access service gateway sends a data channel release request message to the service access network gateway, where the identifier of the terminal and the network return indication are carried;
服务接入网网关将接收的数据通道释放请求消息转发给服务基站; 服务基站回复数据通道释放响应给所述服务接入网网关; 服务接入网网关转发所述数据通道释放响应给所述锚接入服务网 关;  The serving access network gateway forwards the received data channel release request message to the serving base station; the serving base station replies with the data channel release response to the serving access network gateway; and the serving access network gateway forwards the data channel release response to the anchor Access service gateway;
所述锚接入服务网关释放所述终端对应的资源。  The anchor access service gateway releases resources corresponding to the terminal.
23、 ^据权利要求 22所述的方法, 其特征在于, 所述幹放与所述 终端相关的数据通道的过程进一步包括:  The method according to claim 22, wherein the process of drying the data channel associated with the terminal further comprises:
锚接入服务网关回复数据通道释放确认消息给所述服务接入网网 关;  The anchor access service gateway replies with a data channel release confirmation message to the service access network gateway;
服务接入网网关回复数据通道释放确认消息到服务基站。  The serving access network gateway replies to the data channel release acknowledgement message to the serving base station.
24、 一种移动通信系统, 包括: 终端、 服务基站以及锚接入服务网 关, 其特征在于,  24. A mobile communication system, comprising: a terminal, a serving base station, and an anchor access service gateway, wherein:
所述终端用于发送携带退网指示的去注册请求至所述服务基站; 所述服务基站用于发送去注册指令至所述终端, 并发送携带退网指 示的消息到所述锚接入服务网关;  The terminal is configured to send a de-registration request carrying a network-backing indication to the serving base station; the serving base station is configured to send a de-registration command to the terminal, and send a message carrying a network-backing indication to the anchor access service. Gateway
所述锚接入服务网关用于接收所述携带退网指示的消息, 并进行终 端相关的数据通道和上下文释放。  The anchor access service gateway is configured to receive the message carrying the back-off indication, and perform terminal-related data channel and context release.
25、 权利要求 24所述的移动通信系统, 其特征在于, 所述锚 接入服务网关进一步用于在收到所述携带退网指示的消息后, 发送退网 响应消息至所述月艮务基站;  The mobile communication system according to claim 24, wherein the anchor access service gateway is further configured to send a back-off response message to the monthly service after receiving the message carrying the network-back indication Base station
所述月良务基站进一步用于在收到所述退网响应消息后, 返回退网确 认消息至所述锚接入服务网关。 The monthly service base station is further configured to: after receiving the network return response message, return a network return confirmation message to the anchor access service gateway.
26、 根据权利要求 24或 25所述的移动通信系统, 其特征在于, 进 一步包括: 连接到所述服务基站和所述锚接入服务网关的服务接入网网 关, 用于将所述服务基站发送的携带退网指示的消息转发到所述锚接入 服务网关。 The mobile communication system according to claim 24 or 25, further comprising: a service access network gateway connected to the serving base station and the anchor access service gateway, configured to: The sent message carrying the back-off indication is forwarded to the anchor access service gateway.
27、 根据权利要求 24或 25所述的移动通信系统, 其特征在于, 进 一步包括外部代理和家乡代理,用于在接收到锚接入服务网关的移动 IP 去注册请求后 , 幹放移动 IP注册信息。  The mobile communication system according to claim 24 or 25, further comprising an external agent and a home agent for performing a mobile IP registration after receiving the mobile IP deregistration request of the anchor access service gateway. information.
28、 根据权利要求 24或 25所述的移动通信系统, 其特征在于, 进 一步包括: 锚鉴权者、 锚服务流鉴权者以及锚计费客户端, 用于保存所 述终端的上下文信息, 并且在收到锚接入服务器发送的终端退网通知 后, 删除所述终端的上下文信息。  The mobile communication system according to claim 24 or 25, further comprising: an anchor authenticator, an anchor service flow authenticator, and an anchor accounting client, configured to save context information of the terminal, And after receiving the network exit notification sent by the anchor access server, deleting the context information of the terminal.
29、 根据权利要求 27或 28所述的移动通信系统, 其特征在于, 进 一步包括: 鉴权授权计费服务器, 用于保存所述终端的上下文信息, 并 且在收到来自家乡代理、 锚鉴权者或锚计费客户端的终端退网通知后, 删除所述终端的上下文信息。  The mobile communication system according to claim 27 or 28, further comprising: an authentication authorization charging server, configured to save context information of the terminal, and receive the authentication from the home agent and the anchor After the terminal retreat notification of the terminal or the anchor accounting client, the context information of the terminal is deleted.
30、 根据权利要求 24所述的移动通信系统, 其特征在于, 进一步 包括: IP地址分配实体, 用于为所述终端分配 IP地址, 以及在所述终 端退网时, 释放为所述终端分配的 IP地址。  The mobile communication system according to claim 24, further comprising: an IP address allocation entity, configured to allocate an IP address to the terminal, and release the terminal to be allocated when the terminal exits the network IP address.
PCT/CN2007/000977 2006-03-27 2007-03-27 Method for a terminal to quit a network and mobile communication system WO2007109995A1 (en)

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
CN200610073445A CN101047710B (en) 2006-03-27 2006-03-27 Method for implementing terminal denetwork at agent mobile network protocol
CN200610073445.8 2006-03-27
CN200610073444.3 2006-03-27
CN2006100734443A CN101047709B (en) 2006-03-27 2006-03-27 Method for implementing terminal denetwork at customer terminal mobile network protocol
CN200610082326 2006-05-24
CN200610082326.9 2006-05-24
CN2006100918413A CN101090332B (en) 2006-06-12 2006-06-12 Network-off method for terminal at normal mode
CN200610091841.3 2006-06-12

Publications (1)

Publication Number Publication Date
WO2007109995A1 true WO2007109995A1 (en) 2007-10-04

Family

ID=38540813

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/000977 WO2007109995A1 (en) 2006-03-27 2007-03-27 Method for a terminal to quit a network and mobile communication system

Country Status (1)

Country Link
WO (1) WO2007109995A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683490A (en) * 2013-11-27 2015-06-03 华为技术有限公司 Internet protocol address recovery method and internet protocol address recovery device
CN110768816A (en) * 2018-07-27 2020-02-07 成都鼎桥通信技术有限公司 Multimedia service exception protection method and device
CN114788358A (en) * 2019-12-04 2022-07-22 华为技术有限公司 Communication method, communication device and communication system
WO2023029981A1 (en) * 2021-09-03 2023-03-09 中兴通讯股份有限公司 Terminal exception processing method, base station, electronic device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1423910A (en) * 2000-01-10 2003-06-11 高通股份有限公司 Method and wireless system for terminating a dormant mode in a packet data session
CN1549619A (en) * 2003-05-15 2004-11-24 北京三星通信技术研究有限公司 Method for notifying equipment service finishing to users
CN1794872A (en) * 2005-07-12 2006-06-28 华为技术有限公司 Method of stopping conversation in radio access network
CN1852196A (en) * 2005-11-03 2006-10-25 华为技术有限公司 Method for releasing idling-resource in WiMAX system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1423910A (en) * 2000-01-10 2003-06-11 高通股份有限公司 Method and wireless system for terminating a dormant mode in a packet data session
CN1549619A (en) * 2003-05-15 2004-11-24 北京三星通信技术研究有限公司 Method for notifying equipment service finishing to users
CN1794872A (en) * 2005-07-12 2006-06-28 华为技术有限公司 Method of stopping conversation in radio access network
CN1852196A (en) * 2005-11-03 2006-10-25 华为技术有限公司 Method for releasing idling-resource in WiMAX system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Corrections on Multimedia Broadcast and Multicast Service", 3GPP TSG CN WG 4 MEETING #22 ATLANTA, USA, 16 February 2003 (2003-02-16) - 20 February 2003 (2003-02-20), XP003018138, Retrieved from the Internet <URL:http://www.3gpp.org/ftp/tsg_cn/TSG_CN/TSGN_23/Docs/PDF/NP-040057.pdf> *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683490A (en) * 2013-11-27 2015-06-03 华为技术有限公司 Internet protocol address recovery method and internet protocol address recovery device
CN104683490B (en) * 2013-11-27 2018-05-04 华为技术有限公司 The recovery method and device of Internet protocol address
CN110768816A (en) * 2018-07-27 2020-02-07 成都鼎桥通信技术有限公司 Multimedia service exception protection method and device
CN110768816B (en) * 2018-07-27 2022-04-15 成都鼎桥通信技术有限公司 Multimedia service exception protection method and device
CN114788358A (en) * 2019-12-04 2022-07-22 华为技术有限公司 Communication method, communication device and communication system
WO2023029981A1 (en) * 2021-09-03 2023-03-09 中兴通讯股份有限公司 Terminal exception processing method, base station, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
US8914005B2 (en) Method and system for network logout of a mobile station in idle mode
JP4440933B2 (en) Method and apparatus for data service activated network
WO2007051423A1 (en) Communication method and system for terminal entering and leaving idle mode
US7561692B2 (en) Method of authenticating mobile terminal
KR101023461B1 (en) Method and apparatus of shifting functional entity in wimax network
US20060120171A1 (en) Seamless handoff of mobile terminal
WO2007128240A1 (en) Method for the terminals in wireless man to enter idle mode
WO2007006227A1 (en) Negotiation method and system for establishing interface data paths
WO2007128241A1 (en) A method for initiating mobile terminals to enter an idle mode by network side in a wireless metropolitan area network
WO2009021442A1 (en) A method and system for keeping the robust header compression scheme communication continuous
WO2007045177A1 (en) Method, system and appatatus for realizing mobile protocol deregistering
WO2007048343A1 (en) Method and device for managing information of a terminal exited from idle mode
WO2011006404A1 (en) Method and system for establishing connection of local ip access
US7920863B2 (en) Method and system for managing network resources
WO2007006224A1 (en) A method and system for realizing the r3 interface relocation
WO2007109995A1 (en) Method for a terminal to quit a network and mobile communication system
WO2011020418A1 (en) Connection activation method for changing serving gateway while terminal is converted to connection state and system thereof
WO2009155863A1 (en) Method and system for supporting mobility security in the next generation network
WO2011157100A1 (en) Method and system for caching data
WO2014169781A1 (en) Method and system for terminating connection by user
CN101090332A (en) Network-off method for terminal at normal mode
WO2009135410A1 (en) Network-quitting method for multi-host system, network side management device and network system
WO2011095001A1 (en) Method for establishing data channels initiated initiatively by mobile station and asn system
WO2014071798A1 (en) Method for managing offload connection, radio-side network element and mobility management entity
WO2011097988A1 (en) Method and mobile communication system for managing local ip data

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: 07720551

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07720551

Country of ref document: EP

Kind code of ref document: A1