WO2012103755A1 - 一种获取终端的身份标识的方法及系统 - Google Patents

一种获取终端的身份标识的方法及系统 Download PDF

Info

Publication number
WO2012103755A1
WO2012103755A1 PCT/CN2011/081122 CN2011081122W WO2012103755A1 WO 2012103755 A1 WO2012103755 A1 WO 2012103755A1 CN 2011081122 W CN2011081122 W CN 2011081122W WO 2012103755 A1 WO2012103755 A1 WO 2012103755A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
identity
identifier
location
location register
Prior art date
Application number
PCT/CN2011/081122
Other languages
English (en)
French (fr)
Inventor
骆文
沈炯
吴强
孙默
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012103755A1 publication Critical patent/WO2012103755A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data

Definitions

  • the present invention relates to a technology for identity location separation, and more particularly to a method and system for acquiring an identity of a terminal.
  • Figure 1 shows a typical network architecture commonly used by telecom operators in the process of building and operating the Internet, including: access gateways, authentication and authentication servers, Layer 2 networks, and physical or logical entities such as terminals.
  • the Layer 2 network mainly includes a base station, and may also include network elements such as a radio network controller.
  • the Layer 2 network generally helps the terminal establish a virtual point-to-point connection between the terminal and the access gateway, so that each terminal can logically have an independent channel, and the terminal can use the channel to interact with the access gateway.
  • Line packets such as IP packets.
  • the access gateway can use this channel to address the terminal, for example, addressing the terminal based on the identity of the channel.
  • the access gateway helps the terminal access the IP Internet. It also has functions such as assisting the operator network to perform authentication authentication, assigning IP addresses, and managing terminal mobility.
  • the Layer 2 network together with the access gateway can be viewed as an access network.
  • the authentication server stores the subscription information of the user, and is responsible for performing authentication authentication on the terminal when the terminal accesses the network of the operator, and providing the subscription information of the terminal user to the access network.
  • the authentication server can also have the function of charging the terminal.
  • the access gateway corresponds to a Gateway GPRS Support Node (GGSN); or, the access gateway corresponds to a GGSN and a Serving GPRS (General Packet Radio Service) support node (Serving GPRS) Support Node (SGSN)
  • GGSN Gateway GPRS Support Node
  • Serving GPRS General Packet Radio Service
  • SGSN Serving GPRS Support Node
  • HLR Home Location Register
  • the access gateway corresponds to an Access Service Network Gateway (ASN-GW);
  • the authentication authentication server corresponds to authentication, authentication, and accounting (Authentication, Authorization, Accounting, AAA).
  • the access gateway corresponds to a P-GW (Package Data Network Gateway); or the access gateway corresponds to a network element after the P-GW and the S-GW (Serving Gateway) are combined;
  • the authentication server corresponds to a Home Subscriber Server (HSS).
  • HSS Home Subscriber Server
  • IP address has a dual attribute that represents both the identity of the user and the location of the network topology in which the user is located.
  • the IP address can only be used in the topology (for example, it can only be used within the scope of one access gateway) .
  • the terminal must re-acquire a new IP address from the new topology location. In this way, the continuity of the IP-based upper layer service cannot be guaranteed. For example, if the end user is making an IP call, the call will be broken.
  • the related technology proposes a series of solutions, such as mobile IP based.
  • an Identity Location Register (ILR) needs to be introduced into the network to save the identity of the terminal and the current location of the terminal.
  • ILR Identity Location Register
  • Provide inquiry service When the communication peer of the terminal needs to communicate with the terminal (for example, sending an IP packet), the communication peer first needs to know the location identifier of the terminal. If the communication peer does not know the location identifier of the terminal at this time, it needs to go to the identity location register to find the location identifier of the terminal, and then deliver the IP data packet according to the location identifier.
  • IMSI International Mobile Subscriber Identification
  • NAI Network Access Identity
  • the identity identifier used to identify the identity of the terminal in the identity location separation technology is configured in the subscription information of the terminal and stored in the authentication authentication server, and is notified to the terminal by the authentication authentication server. Therefore, in order to deploy the identity location separation technology in the live network, it is necessary to modify the existing authentication authentication server.
  • Authentication authentication servers are generally more complicated, and adding new functions to them requires more cost (for example, human resources); a large number of authentication authentication servers have been deployed in the current network, and these should be changed.
  • An existing authentication server that upgrades or replaces an existing device takes a long time and is costly.
  • the authentication server is a very important core device in the network. If the network is abnormal due to upgrading or replacing the device, it will be operated. Businesses bring huge losses and are very risky. It can be seen that when deploying the identity location separation technology, if the authentication authentication server is used, the cost of the operator/device manufacturer will increase, and the risk will increase, which will inevitably affect the development and application of the identity location separation technology. Summary of the invention
  • the technical problem to be solved by the present invention is to provide a method and a system for acquiring an identity of a terminal, and to solve the problem that the identity authentication needs to be changed to the existing network by the authentication authentication server, and the terminal is obtained at a low cost and low risk.
  • Identity is to provide a method and a system for acquiring an identity of a terminal, and to solve the problem that the identity authentication needs to be changed to the existing network by the authentication authentication server, and the terminal is obtained at a low cost and low risk.
  • the present invention provides a method for obtaining an identity of a terminal, including:
  • the access service router acquires the identity of the terminal from the identity location register, and notifies the terminal of the obtained identity.
  • the above method may also have the following features:
  • the step of the access service router acquiring the identity of the terminal from the identity location register includes: The access service router sends a corresponding terminal identifier to the identity location register;
  • the identity location register searches for the identity of the terminal by using the received terminal identifier as an index, and returns the found identity identifier to the access service router.
  • the foregoing method may further include:
  • the access service router allocates a location identifier to the terminal, and sends the location identifier to the identity location register;
  • the identity location register After receiving the location identifier, the identity location register establishes or updates correspondence information between the identity identifier and the location identifier of the terminal.
  • the above method may also have the following features:
  • the access service router also carries the identity identifier and/or the terminal identifier of the terminal when transmitting the location identifier assigned to the terminal to the identity location register.
  • the above method may also have the following features:
  • the step of the access service router assigning a location identifier to the terminal, and sending the location identifier to the identity location register includes:
  • the access service router After the access service router acquires the identity of the terminal from the identity location register, assign a location identifier to the terminal, and send the location identifier to the identity location registration
  • the access service router sends the corresponding terminal identifier to the identity location register, and sends the location identifier assigned to the terminal to the identity location register.
  • the foregoing method may further include:
  • the access service router When the terminal retires or releases its IP address, the access service router notifies the identity location register and/or the communication peer of the terminal to delete the location identifier of the terminal.
  • the above method may also have the following features:
  • the step of the access service router notifying the identity location register and/or the communication peer of the terminal to delete the location identifier of the terminal includes:
  • the access service router communicates with the identity location register and/or the terminal
  • the peer sends a request message, notifying the identity location register and/or the communication peer of the terminal to delete the location identifier of the terminal, where the request message carries one of the identity identifier, the location identifier, and the terminal identifier of the terminal.
  • the above method may also have the following features:
  • the access service router is in a Wideband Code Division Multiple Access (WCDMA) network or a time division synchronization code
  • WCDMA Wideband Code Division Multiple Access
  • GGSN GGSN and a network element that serves a general packet radio service support node (SGSN);
  • SGSN general packet radio service support node
  • the step of the access service router transmitting the corresponding terminal identifier to the identity location register includes:
  • the GGSN sends a message requesting the identity identifier to the identity location register, and carries the terminal identifier in the message to obtain the identity identifier of the terminal;
  • the step of the identity location register returning the found identity to the access service router includes:
  • the identity location register returns a response message to the GGSN, and the identity identifier is carried in the message.
  • the foregoing method may further include:
  • the GGSN allocates a location identifier to the terminal, and sends the assigned location identifier to the identity location register, and carries the identity identifier and/or terminal identifier of the terminal;
  • the identity location register After receiving the location identifier, the identity location register establishes or updates correspondence information between the identity identifier and the location identifier of the terminal, and returns a response message to the GGSN.
  • the above method may also have the following features:
  • the GGSN is configured to: after receiving the create context request message of the SGSN, perform the sending of the message requesting the identity identifier to the identity location register;
  • the step of the access service router notifying the obtained identity to the terminal includes: after the GGSN obtains the identity of the terminal, the GGSN returns a create context response message to the SGSN, and carries the identity of the terminal. ; as well as
  • the SGSN After receiving the create context response message, the SGSN returns an activation to the terminal.
  • the message accepts the message, and carries the identity of the terminal in the message.
  • the above method may also have the following features:
  • the GGSN is configured to: when receiving the data sent by the network side to the terminal and initiate a context activation for the terminal, to send the message requesting the identity identifier to the identity location register; the access service router may obtain
  • the step of notifying the identity of the terminal to the SGSN is: after the GGSN acquires the identity of the terminal, sending the identity of the terminal to the SGSN by using a protocol data unit (PDU) notification request message;
  • PDU protocol data unit
  • the SGSN sends the identity identification to the terminal by requesting a Packet Data Protocol (PDP) Context Activation message.
  • PDP Packet Data Protocol
  • the above method may also have the following features:
  • the access service router is an access service network gateway (ASN-GW) in a global microwave interconnection access (WiMAX) network, or a network element that is connected with other nodes by the ASN-GW;
  • ASN-GW access service network gateway
  • WiMAX global microwave interconnection access
  • the step of the access service router transmitting the corresponding terminal identifier to the identity location register includes:
  • the ASN-GW sends a message requesting the identity identifier to the identity location register, where the message carries the terminal identifier to obtain the identity identifier of the terminal;
  • the step of the identity location register returning the found identity to the access service router includes:
  • the identity location register returns a response message to the ASN-GW, and the identity identifier is carried in the message.
  • the foregoing method may further include:
  • the ASN-GW allocates a location identifier to the terminal, sends the assigned location identifier to the identity location register, and carries the identity identifier and/or terminal identifier of the terminal; and the identity location register receives the location After the location identifier is set, the correspondence information between the identity identifier and the location identifier of the terminal is established or updated, and a response message is returned to the ASN-GW.
  • the above method may also have the following features:
  • the ASN-GW is a dynamic host that receives a request sent by the terminal to obtain an IP address. After setting a protocol (DHCP) discovery message, performing the step of sending a message requesting identity to the identity location register;
  • DHCP protocol
  • the step of the access service router notifying the obtained identity to the terminal includes: after obtaining the identity of the terminal, the ASN-GW returns a DHCP offer message to the terminal, where the message is carried in the message.
  • the identity includes: after obtaining the identity of the terminal, the ASN-GW returns a DHCP offer message to the terminal, where the message is carried in the message. The identity.
  • the above method may also have the following features:
  • the access service router is a packet data network gateway (P-GW) in an Evolved Packet Core (EPC) network, or a network element jointly set by a P-GW and a Serving Gateway (S-GW);
  • P-GW packet data network gateway
  • EPC Evolved Packet Core
  • S-GW Serving Gateway
  • the step of the access service router transmitting the corresponding terminal identifier to the identity location register includes:
  • the step of the identity location register returning the found identity to the access service router includes:
  • the identity location register returns a response message to the P-GW, where the identity identifier is carried in the message.
  • the foregoing method may further include:
  • the P-GW allocates a location identifier to the terminal, and sends the assigned location identifier to the identity location register, and carries the identity identifier and/or the terminal identifier of the terminal;
  • the identity location register After receiving the location identifier, the identity location register establishes or updates correspondence information between the identity identifier and the location identifier of the terminal.
  • the above method may also have the following features:
  • the P-GW is configured to send the request identity to the identity location register after receiving the create session request message or the proxy binding update message sent by the S-GW in the packet data network activation process or the attach procedure of the terminal.
  • the step of the access service router notifying the obtained identity to the terminal includes: after the P-GW obtains the identity identifier, returning to the S-GW to create a session response cancellation The information or the proxy binding acknowledgement, carrying the identity of the terminal in the message;
  • the MME sends a bearer setup request message or an attach accept message to the base station, and carries the identity identifier of the terminal in the message, and sends the identity identifier of the terminal to the terminal by using the base station.
  • the above method may also have the following features:
  • the access service router is a broadband access server (BRAS) in a digital subscriber line (xDSL) network or a wireless local area network (WLAN) network, or a network element that is connected with other nodes by the BRAS;
  • BRAS broadband access server
  • xDSL digital subscriber line
  • WLAN wireless local area network
  • the step of the access service router transmitting the corresponding terminal identifier to the identity location register includes:
  • the BRAS sends a message requesting the identity identifier to the identity location register, and carries the terminal identifier in the message to obtain the identity identifier of the terminal;
  • the step of the identity location register returning the found identity to the access service router includes:
  • the identity location register After the identity location register finds the corresponding identity identifier according to the terminal identifier, it returns a response message to the BRAS, where the identity identifier is carried in the message.
  • the foregoing method may further include:
  • the GGSN After receiving the delete context request message sent by the SGSN or triggering deletion of the location identifier of the terminal, the GGSN sends a request to delete the location identifier to the identity location register and/or the communication peer end of the terminal. a message carrying one or more of a location identifier, an identity identifier, and a terminal identifier of the terminal in the message;
  • the identity location register and/or the communication peer After receiving the message requesting to delete the location identifier, the identity location register and/or the communication peer finds the location identifier of the terminal, and causes the found location identifier of the terminal to be invalid.
  • the foregoing method may further include:
  • the ASN-GW sends the identity to the terminal in the process of retiring or releasing the IP address of the terminal.
  • the location register and/or the communication peer end of the terminal sends a message requesting to delete the location identifier, where the message carries one or more of the location identifier, the identity identifier, and the terminal identifier of the terminal;
  • the identity location register and/or the communication peer end of the terminal After receiving the message requesting deletion of the location identifier, the identity location register and/or the communication peer end of the terminal searches for the location identifier of the terminal, and invalidates the found location identifier of the terminal.
  • the foregoing method may further include:
  • the above method may also have the following features:
  • the P-GW After receiving the delete session request message or the proxy binding update message sent by the S-GW, the P-GW sends a message requesting to delete the location identifier to the identity location register and/or the communication peer end of the terminal. .
  • the above method may also have the following features:
  • the communication peer of the terminal is another terminal or host that communicates with the terminal, or another terminal or host access service router that communicates with the terminal.
  • the present invention also provides a system for obtaining an identity of a terminal, comprising: an identity location register and an access service router, where:
  • the identity location register is set to: save the identity of the terminal
  • the access service router is configured to: obtain an identity identifier of the terminal from the identity location register, and notify the terminal of the obtained identity identifier.
  • the above system may also have the following features:
  • the access service router is configured to: when the identity identifier of the terminal is obtained from the identity location register, send a corresponding terminal identifier to the identity location register;
  • the identity location register is further configured to: look up the identity of the terminal by using the received terminal identifier as an index, and return the found identity identifier to the access service router.
  • the above system may also have the following features:
  • the access service router is further configured to: allocate a location identifier to the terminal, and send the location identifier to the identity location register;
  • the identity location register is further configured to: after receiving the location identifier, establish or update correspondence information between the identity identifier and the location identifier of the terminal.
  • the above system may also have the following features:
  • the access service router is further configured to: when transmitting the location identifier assigned to the terminal to the identity location register, carrying the identity identifier and/or the terminal identifier of the terminal at the same time.
  • the above system may also have the following features:
  • the access service router is configured to assign a location identifier to the terminal in the following manner and to send the location identifier to the identity location register:
  • the location identifier assigned to the terminal is sent to the identity location register while the corresponding terminal identity is sent to the identity location register.
  • the above system may also have the following features:
  • the access service router is further configured to notify the identity location register and/or the communication peer of the terminal to delete the location identifier of the terminal when the terminal retires or releases its IP address.
  • the above system may also have the following features:
  • the access service router is in a Wideband Code Division Multiple Access (WCDMA) network or a Time Division Synchronization Code Division and a Serving General Packet Radio Service Support Node (SGSN) co-located network element; in a Worldwide Interoperability for Microwave Access (WiMAX) network Network element for accessing the service network gateway (ASN-GW), or ASN-GW and other nodes; in the Evolved Packet Core (EPC) network, the packet data network gateway (P-GW), or P-GW and The network element of the service gateway (S-GW).
  • WCDMA Wideband Code Division Multiple Access
  • SGSN Time Division Synchronization Code Division and a Serving General Packet Radio Service Support Node
  • WiMAX Worldwide Interoperability for Microwave Access
  • ASN-GW service network gateway
  • EPC Evolved Packet Core
  • P-GW packet data network gateway
  • S-GW The network element of the service gateway
  • the existing network does not have an identity location register, which is a newly introduced network element by the identity location separation technology, and thus does not affect the function of the existing network.
  • the function of the identity location register is simple, the implementation is simple, and the cost is also reduced;
  • the identity location register does not need to be deployed in a large amount, and the function is simple, the whole network uses one Or a few of these servers can be used, further reducing costs. Therefore, using the above solution reduces the cost and risk of the identity location separation technology deployed in the existing network, which is beneficial to the development and application of the technology.
  • Figure 1 is a schematic diagram of a network architecture
  • FIG. 3 is a flowchart of a method for acquiring an identity of a terminal according to an embodiment of the present invention
  • FIG. 5 is a flowchart of an embodiment of the present invention applied to a WiMAX network
  • FIG. 6 is a flowchart of an embodiment of the present invention applied to an EPC network
  • FIG. 8 is a flowchart of deleting a location identifier in an EPC network according to an embodiment of the present invention.
  • FIG. 9 is a flowchart of deleting a location identifier in a WiMAX network according to an embodiment of the present invention.
  • the identity of the terminal can be represented by AID (Access Identity); the location identifier of the terminal can be represented by RID (Routing Identify).
  • the access gateway may also be referred to as an edge router, an access server, and an Access Service Router (ASR), etc., which are hereinafter referred to as "access service routers"; the identity location register may also be referred to as a mapping. Server, identity location management server, etc. When the identity location register is in a distributed form When it is deployed, it can be called a mapping plane.
  • the identity of the terminal is configured on the identity location register; the access service router obtains the identity of the terminal from the identity location register and notifies the terminal.
  • the identity of the terminal may be allocated by the operator when the terminal user signs the contract with the operator, and the identity of the terminal is configured in the identity location register through the management system. And can use the terminal identifier (IMSI, NAI, etc.) as an index of the identity.
  • IMSI terminal identifier
  • NAI NAI
  • FIG. 3 shows a first embodiment of the present embodiment, a method for an access service router to obtain an identity of a terminal from an identity location register, including:
  • Step 301 The access service router requests the identity identifier of the terminal from the identity location register.
  • the access service router needs to provide the terminal identifier to the identity location register, and the identity location register sends the identity identifier to the identity identifier of the terminal locally according to the terminal identifier. Access the service router.
  • the terminal identity provided by the access service router to the identity location register varies depending on the network of the application. For example, in a WCDMA/TDCDMA/EPC network, an access service router can provide the terminal's IMSI; in a WiMAX network, the terminal's NAI or MAC can be provided.
  • the characteristics of these identifiers are that a terminal user can be uniquely identified in the existing network, and the subscription information of the terminal user and the operator can be located in the authentication and authentication server (eg, HLR, AAA, HSS, etc.).
  • the interaction between the access service router and the identity location register may be that the former sends a request to the latter, and the latter returns a response message to the former, as in the following example:
  • Step 301a The access service router sends a request message to the identity location register to request the identity identifier of the terminal from the identity location register, where the request message carries terminal identifier (terminal user identity) information, such as the IMSI or NAI of the terminal;
  • the request message may carry multiple terminal identifiers.
  • the identity location register locally queries the identity identifier of the terminal according to the terminal identifier carried in the request message, and returns a response message to the access service router, where the response message carries the identity of the queried terminal.
  • the identity location register may carry multiple terminal identifiers and corresponding identity identifiers in the response message.
  • an error message can be returned to the access service router.
  • the access service router After the access service router obtains the identity of the terminal, it also needs to configure the location identifier for the terminal and register it in the identity location register, as follows:
  • Step 303a The access service router allocates a current location identifier of the terminal to the terminal, and sends a message to the identity location register, where the message carries the location identifier of the terminal.
  • the message sent by the access service router to the identity location register also needs to carry the identity identifier of the terminal and/or the terminal identifier (eg, IMSI or NAI, etc.). Through this message, the access service router notifies the identity location register of the current location identifier of the terminal. Any peer that wants to communicate with the terminal can query the location identifier of the terminal in the identity location register, obtain the routing information of the terminal, and implement communication with the terminal.
  • the identity identifier of the terminal eg, IMSI or NAI, etc.
  • the access service router notifies the identity location register of the current location identifier of the terminal.
  • Any peer that wants to communicate with the terminal can query the location identifier of the terminal in the identity location register, obtain the routing information of the terminal, and implement communication with the terminal.
  • Step 304a The identity location register saves the location identifier of the terminal locally.
  • the location identifier received in step 303a is used to update the locally stored location identifier of the terminal.
  • the identity location register establishes the mapping information of the identity-location identifier of the terminal and/or the mapping relationship information of establishing the terminal identity-identity-location identifier while storing the location identifier, and uses the identity identifier as an index.
  • steps 303a-304a may be combined with steps 301a-302a.
  • the access service router performs step 301a
  • the terminal is assigned a location identifier, and the identifier is placed in the request message and sent to the identity location register, and the identity location register stores the location identifier in the local method as described above.
  • the access service router may also send a message to the identity location register. Delete (release) the location ID of the terminal saved in the identity location register.
  • the release message needs to carry one or more of the location identifier, the identity identifier, and the terminal identifier of the terminal.
  • Step 401 The terminal sends an activation context request message (Activate PDP Context) to the currently connected SGSN in a process of activating a PDP context (Packet Data Protocol Context) Request ) ;
  • Step 402 The SGSN sends a Create PDP Context Request message to the GGSN (the GGSN is used as the access service router, etc.), and the message carries the terminal identifier (IMSI);
  • Step 403 The GGSN sends an "identity request" message to the identity location register, where the terminal identifier is carried;
  • Step 404 The identity location register locally searches for the identity of the terminal according to the terminal identifier.
  • Step 405 The identity location register returns an "identity response" message to the GGSN, where the identity of the terminal is carried;
  • Step 406 After receiving the "identity response" message, the GGSN preferably needs to allocate a location identifier to the terminal.
  • the location identifier is an IP address
  • hosts e.g., servers, routers, access service routers, and other terminals, etc.
  • hosts e.g., servers, routers, access service routers, and other terminals, etc.
  • the IP address is the IP address of the GGSN itself.
  • Step 407 The GGSN sends an "Insert Location Identification Request" message to the identity location register, and sends the location identifier of the terminal to the identity location register.
  • Step 408 The identity location register saves the location identifier of the terminal locally.
  • the identity location register locally associates the location identifier of the terminal with the identity, and ends with The identity of the end is used as an index to facilitate the query.
  • Step 409 The identity location register returns an "insert location identifier response" message to the GGSN.
  • the GGSN needs to save the identity and can be saved in the PDP context of the GGSN.
  • the SGSN can save the identity or not, and if it is saved, it can be saved in the PDP context of the SGSN.
  • the identity of the terminal is also an IP address, which is used to identify the terminal itself.
  • the GGSN may send the identity of the terminal to the SGSN on the End User Address field of the Create Context Response message.
  • Step 411 The SGSN establishes a wireless connection with the RAN (Radio Access Network) and the terminal.
  • RAN Radio Access Network
  • Steps 412 ⁇ 413 Update the PDP context of the terminal between the SGSN and the GGSN;
  • the SGSN needs to notify the GGSN of the corresponding updated parameters.
  • Step 414 The SGSN returns an activation context accept to the terminal (Activate PDP Context)
  • the Accept message carries the identity of the terminal acquired by the GGSN from the identity location register, and the terminal saves its identity identity locally.
  • the SGSN may send the identity identifier of the terminal to the terminal in the PDP Address field of the activation context accept message.
  • the GGSN may perform the operation of assigning a location identifier to the terminal at any time after obtaining the identity of the terminal, and is not limited to the sequence of the process in this embodiment.
  • step 406 may be concurrent with step 410.
  • step 410 After step 410.
  • Assign a location to the terminal at the GGSN At any time after the identification, the operation of updating the location identifier of the terminal to the identity location register may be performed, and is not limited to the flow sequence of the embodiment.
  • the GGSN acquiring the identity of the terminal and assigning the location identifier to the terminal do not have to be implemented in the same process. In this case, steps 406-409 may not be performed, and steps 406-409 may be initiated by the GGSN at other appropriate times.
  • the GGSN may allocate a location identifier to the terminal upon receiving the create context request message (step 402), and then send the location identifier to the identity location register together with the terminal identifier (IMSI or NAI, etc.) in the identity identification request message. .
  • the identity location register locally searches for the identity of the terminal according to the terminal identifier, and saves the location identifier of the terminal locally and associates with the identity identifier according to the method described in the foregoing step 408. Thus, step 406 409 may not be performed any more.
  • the GGSN when the terminal performs PDP context activation, the GGSN obtains the identity of the terminal from the identity location register and sends the identity identifier to the terminal.
  • a similar method can be used to cause the GGSN to request the identity of the terminal from the identity location register.
  • Send the identity to the terminal Preferably, the terminal is also assigned a location identification and updated to the identity location register.
  • the GGSN when the GGSN receives data sent from the network to the terminal, such as a PDP PDU ( Protocol Data Unit), and the GGSN determines that the PDP needs to be initiated for the terminal.
  • the GGSN may request the identity of the terminal from the identity location register according to the flow of the above method.
  • the GGSN can transmit the identity to the SGSN through the PDU Notification Request message, and the SGSN transmits the identity to the terminal by requesting a PDP Context Activation message.
  • the GGSN after obtaining the identity identifier, the GGSN also allocates a location identifier to the terminal and updates to the identity location register, and the basic principles are the same, and are not described again.
  • the access service router corresponds to the SGSN and the SGSN
  • the basic principle of the method in this embodiment is the same as above, but the interaction between the SGSN and the GGSN in the above step is regarded as the internal processing of the network element.
  • the identity location separation technology can be applied to the live network (such as the WCDMA/TDCDMA in the embodiment), and the authentication authentication server (such as the HLR) of the existing network does not need to be changed.
  • the inheritance is better, the cost is less, and there are no problems caused by the modification of the authentication server, which is beneficial to the application of the technology in the live network.
  • FIG. 5 shows a third embodiment of the present embodiment.
  • the access service router acts as an access service router
  • ILR identity location register
  • Steps 501 ⁇ 502 In the initial network access process, the terminal first completes the initial authentication authentication process and the initial service flow establishment with the participation of the radio access network, the ASN-GW, and the AAA server;
  • Step 503 The terminal sends a DHCP Discovery (DHCP DISCOVERY) message to the ASN-GW to start the IP address acquisition process.
  • DHCP DISCOVERY DHCP DISCOVERY
  • Step 504 After receiving the DHCP discovery message sent by the terminal, the ASN-GW sends an "identity request" message to the identity location register (that is, the ILR, the mapping plane, and the like), where the ASN-GW carries the terminal identifier.
  • the identity location register that is, the ILR, the mapping plane, and the like
  • the related art can ensure that the ASN-GW can obtain the terminal identity (NAI).
  • Step 505 The identity location register locally searches for the identity of the terminal according to the terminal identifier.
  • Step 506 The identity location register returns an "identity response" message to the ASN-GW, where the identity identifier of the terminal is carried;
  • Step 507 After receiving the "identity response" message, the ASN-GW preferably allocates a location identifier to the terminal.
  • the location identifier is an IP address.
  • the host on the network can find this ASN-GW based on the IP address.
  • the IP address is the IP address of the ASN-GW itself.
  • Step 508 The ASN-GW sends an "Insert Location Identification Request" message to the identity location register, and sends the location identifier of the terminal to the identity location register.
  • Step 510 The identity location register returns an "insert location identification response" message to the ASN-GW.
  • the identity of the terminal is an IP address.
  • the identity identifier may be an IP address assigned by the ASN-GW to the terminal.
  • the identifier may be carried by using a field in the DHCP protocol, such as yiaddr (address).
  • Step 512 The terminal further sends a DHCP request message to the ASN-GW, and then allocates the ASN-GW to its IP address and then carries it to complete some configurations.
  • Step 513 The ASN-GW returns a DHCP Answer (DHCP ACK) message to the terminal.
  • DHCP ACK DHCP Answer
  • the ASN-GW may perform an operation of assigning a location identifier to the terminal at any time after obtaining the identity of the terminal; and after the ASN-GW allocates the location identifier,
  • the operation of updating the location identifier of the terminal to the identity location register may be performed at any time, and is not limited to the flow sequence of the embodiment.
  • step 507 can be performed concurrently with step 511, or 507 can be performed after the ASN-GW receives the DHCP request message of step 512.
  • the ASN-GW acquiring the identity of the terminal and configuring the location identifier for the terminal do not necessarily need to be implemented in the same process. In this case, steps 507-510 may not be performed, and steps 507-510 may be initiated by the ASN-GW at other appropriate times.
  • the ASN-GW may also configure the location identity for the terminal upon receipt of the DHCP Discover message (step 503), and then place the location identifier in the identity request message along with the terminal identity (NAI) to the identity location register.
  • the ASN-GW obtains the IP address assigned to the terminal from the AAA server of the terminal, and then hands the IP address to the DHCP Proxy function. . Then you can In the initial network access process of the terminal, the ASN-GW obtains the identity of the terminal from the identity location register and hands it over to the DHCP Proxy function.
  • the DHCP proxy function can send the identity of the terminal to the terminal.
  • the ASN-GW can also integrate the DHCP Relay function.
  • the ASN-GW receives the DHCP Discover message, it will forward the message to the DHCP Server.
  • the DHCP Server is required to send a request to the identity location register to obtain the identity of the terminal.
  • the DHCP server passes the identity to the ASN-GW (DHCP Relay), and the DHCP relay function sends the identity of the terminal to the terminal.
  • the identity location separation technology can be applied to the live network (such as WiMAX in this embodiment) without changing the authentication authentication server (such as AAA server) of the existing network, and compatibility and inheritance to the existing network.
  • the performance is better, the cost is less, and there are no problems caused by the need to modify the authentication server, which is beneficial to the application of the technology on the live network.
  • the broadband access server can be used as an access service router in the embodiment of the present invention to obtain the identity of the terminal from the identity location register and transmit the identity to the terminal.
  • the BRAS can also assign a location identifier to the terminal and pass the location identifier to the identity location register. The principle is similar.
  • an access service router (using a P-GW as an example) requests an identity location register (or an ILR, a mapping plane, etc.).
  • An example of the identity of the terminal including the following steps:
  • Step 601 In the PDN activation process, the terminal sends a PDN Connectivity Request (PDN Connectivity Request) message to the MME (Mobility Management Entity); Step 602: The MME sends a Create Session Request to the S-GW. Message, which carries the identity of the terminal (IMSI);
  • PDN Connectivity Request PDN Connectivity Request
  • MME Mobility Management Entity
  • Step 602 The MME sends a Create Session Request to the S-GW. Message, which carries the identity of the terminal (IMSI);
  • S-GW is an abbreviation of Serving Gateway.
  • Step 603 The S-GW sends a Create Session Request to the P-GW.
  • Message which carries the identity of the terminal (IMSI);
  • the P-GW is an abbreviation of Packet Data Network Gateway.
  • Step 604 The P-GW sends an "identity identification request" message to the identity location register (ie, the ILR, the mapping plane, and the like), where the terminal identifier is carried;
  • the identity location register ie, the ILR, the mapping plane, and the like
  • Step 605 The identity location register locally searches for the identity of the terminal according to the terminal identifier.
  • Step 606 The identity location register returns an "identity response" message to the P-GW, where the identity of the terminal is carried;
  • Step 607 After receiving the foregoing message, the P-GW further allocates a location identifier to the terminal.
  • the location identifier is an IP address
  • the host on the network for example, a server, a router, an access service router, or another terminal
  • Etc. This P-GW can be found based on this IP address.
  • the IP address is the IP address of the P-GW itself.
  • Step 608 The P-GW sends an "Insert Location Identification Request" message to the identity location register, and sends the location identifier of the terminal to the identity location register.
  • Step 609 The identity location register saves the location identifier of the terminal locally;
  • the identity location register locally associates the location identifier of the terminal with the identity identifier, and uses the terminal identity as an index to facilitate the query.
  • Step 610 The identity location register returns an "insert location identifier response" message to the P-GW;
  • Step 6 The P-GW returns a Create Session Response message to the S-GW, where the P-GW slave identity location register is carried. The identity of the obtained terminal;
  • the identity of the terminal is also preferably an IP address, which is used to identify the terminal itself.
  • the P-GW may send the identity of the terminal to the S-GW by placing it on the PDN Address field.
  • Step 61 2 The S-GW returns a Create Session Response message to the MME, and carries the identity of the terminal acquired from the P-GW.
  • the S-GW can place it on the PDN Address field and send it to the MME.
  • Step 613 The MME sends a Bearer Setup Request message to the base station. Sending the identity of the terminal to the base station;
  • the bearer setup request also carries a PDN Connectivity Accept message sent by the MME to the terminal.
  • the MME also uses the PDN connection to accept the message and sends the identity identifier of the terminal to the terminal.
  • the identity identifier is an IP address
  • the MME may first transmit it to the base station by placing it in the PDN Address field.
  • Step 614 The base station sends an RRC Connection Reconfiguration (RRC Connection Reconfiguration) message to the terminal, and sends the identity of the terminal to the terminal.
  • RRC Connection Reconfiguration RRC Connection Reconfiguration
  • the RRC connection reconfiguration message also carries a PDN connection accept message, and the terminal can learn the identity of the terminal in the message. At this time, if the identity identifier is an IP address, the terminal learns its identity in the PDN Address field in the PDN connection accept message.
  • the bearer setup request and the RRC connection reconfiguration message are both outer messages, and the PDN connection accept message is also nested in the message.
  • Step 615 The next step of the PDN activation process.
  • the P-GW can perform the operation of assigning the location identifier to the terminal at any time after obtaining the identity of the terminal, and is not limited to the sequence of the process in this embodiment.
  • step 607 can be followed by steps. 611 is concurrent or after step 611.
  • the operation of updating the location identifier of the terminal to the identity location register may be performed at any time after the P-GW assigns the location identifier to the terminal, and is not limited to the flow sequence of the embodiment.
  • the P-GW acquiring the identity of the terminal and configuring the location identifier for the terminal do not necessarily need to be implemented in the same process. In this case, steps 607-610 may not be performed, and steps 607-610 may be initiated by the P-GW at other appropriate times.
  • the P-GW may configure the location identifier for the terminal when receiving the create session request message (step 602), and then send the location identifier to the identity location register together with the terminal identifier (IMSI, etc.) in the identity identification request message. .
  • the identity location register locally searches for the identity of the terminal according to the terminal identifier, and saves the location identifier of the terminal locally and associates with the identity identifier according to the method described in step 609 above. Thus, step 607 610 may also be performed without further execution.
  • the P-GW when the terminal performs the PDN activation process, the P-GW obtains from the identity location register. The identity of the terminal is taken and sent to the terminal. In fact, in the EPC network, in any process involving the terminal requesting the P-GW to allocate an IP address, creating a session for the terminal, and activating the PDN for the terminal, a similar method can be used to allow the P-GW to go to the identity location register. Requesting the identity of the terminal, and sending the identity to the terminal. Preferably, the terminal is also assigned a routing identifier and updated to the identity location register.
  • the terminal sends an Attach Request message to the MME through the base station. Then, the MME sends a Create Session Request message to the S-GW, where the message is carried.
  • the S-GW sends a Create Session Request message to the P-GW, which also carries the identifier of the terminal.
  • the P-GW may request the identity of the terminal from the identity location register according to the above scheme.
  • the P-GW may send the identity of the terminal to the S-GW by creating a session response (Create Session Response); the S-GW further sends the identity to the MME by creating a session response (Create Session Response); the MME then accepts by attaching The (Attach Accept) message sends the identity of the terminal to the terminal through the base station.
  • the GGSN also assigns a route identifier to the terminal and updates to the identity location register.
  • the access service router corresponds to the co-located network element of the P-GW and the S-GW
  • the basic principle of the method is the same as above, and the interaction between the S-GW and the P-GW in the above step is not regarded as the internal part of the network element. Processing only.
  • the S-GW may send a Proxy Binding Update message to the P-GW (step 603); the P-GW returns a proxy binding confirmation (Proxy) to the S-GW. Binding Ack message (step 611), at which point the identity of the terminal can be sent to the S-GW with proxy binding confirmation.
  • the above method can be used to apply the identity location separation technology to the live network (such as the EPC in this embodiment) without changing the authentication authentication server (such as HSS) of the existing network, and compatibility and inheritance to the existing network. Better, the cost is less, there will be no problems caused by the need to modify the authentication server, which is beneficial to the application of the technology in the live network.
  • the authentication authentication server such as HSS
  • Example 5 In a WCDMA/TDCDMA network, when a terminal retires or deactivates its PDP context, an access service router (such as a GGSN) can also update the location identifier of the terminal stored in the identity location register, as shown in FIG. 7, including the following step:
  • Step 701 Send a Deactivate PDP Contest Request message to the SGSN when the terminal needs to deactivate its PDP context.
  • Step 702 The SGSN sends a Delete PDP Context Request message to the GGSN.
  • Step 703 The GGSN sends a “Delete Location Identification Request” message to the identity location register, where the message carries at least the location identifier of the terminal.
  • the message also needs to carry a terminal identity (such as IMSI) and/or the identity of the terminal.
  • the GGSN can find the terminal identity and/or identity in the PDP context of the terminal.
  • the GGSN can locate the PDP context of the terminal through an identifier sent by the SGSN.
  • the GGSN may determine that the above message is sent to the identity location register when the terminal deactivates the last activated PDP context.
  • Step 704 After receiving the message, the identity location register finds the location identifier stored locally by the terminal, and invalidates the identifier (eg, deletes the identifier);
  • the identity location register is indexed by the terminal identifier or identity, and the locally stored location identifier is found.
  • Step 705 The identity location register returns a "delete location identification response" message to the GGSN;
  • Step 706 The GGSN returns a delete context response to the SGSN (Delete PDP Context)
  • Step 707 The SGSN returns a Deactivate PDP Contest Accept message to the terminal.
  • step 703 and step 706 can also be performed concurrently.
  • This embodiment is an example in which the GGSN deletes the location identifier of the terminal from the identity location register when the terminal performs the PDP context deactivation.
  • a similar method can be used to allow the GGSN to send a message to the identity location register to delete the location of the terminal.
  • logo For example, in the scenario of deleting the PDP context of the terminal initiated by the SGSN, the SGSN sends a Delete PDP Context Request message to the GGSN, and the GGSN can delete the location of the terminal in the identity location register according to the method in this embodiment.
  • the GGSN may also determine that the operation is performed when the last activated PDP context of the terminal is deleted.
  • the GGSN may self-trigger to delete the location identifier of the terminal in the identity location register. Also preferably, the GGSN can also determine that the operation is performed when the last activated PDP context of the terminal is deleted.
  • the SGSN when receiving the Detach Request message sent by the terminal, the SGSN sends a Delete PDP Context Request message to the GGSN, and the GGSN can be configured according to this embodiment.
  • the SGSN sends a Delete PDP Context Request message to the GGSN in the scenario of the terminal detachment initiated by the SGSN.
  • the GGSN can go to the identity according to the method in this embodiment.
  • the location identifier of the terminal is deleted in the location register.
  • the SGSN In the network exit scenario initiated by the HLR, when the SGSN receives the Cancel Location message from the HLR, the SGSN sends a Delete PDP Context Request message to the GGSN, and the GGSN can press the GGSN.
  • the method of this embodiment deletes the location identifier of the terminal into the identity location register.
  • the access service router corresponds to the SGSN and the SGSN
  • the basic principle of the method is the same as above.
  • the interaction between the SGSN and the GGSN in the above steps is not regarded as the internal processing of the network element.
  • the access service router (such as P-GW) can also update the location identifier of the terminal stored in the identity location register, as shown in FIG. Show, including the following steps:
  • Step 801 When the terminal wants to disconnect its PDN, send a PDN Disconnection Request message to the MME.
  • This process can also be performed from this step, corresponding to the scenario initiated by the MME to disconnect the PDN.
  • Step 803 The S-GW sends a Delete Session Request message to the P-GW.
  • Step 804 The P-GW sends a “delete location identifier request” to the identity location register, where the message carries at least the location identifier of the terminal.
  • the message may also carry the identity of the terminal (e.g., IMSI) and/or the identity of the terminal.
  • the P-GW can determine that the last message is sent to the identity location register when the terminal deletes the last active PDN connection.
  • Step 805 After receiving the message, the identity location register finds the location identifier stored locally by the terminal, and invalidates the identifier (eg, deletes the identifier);
  • the identity location register is indexed by the terminal identifier or identity, and the locally stored location identifier is found.
  • Step 806 The identity location register returns a "delete location identifier response" message to the P-GW;
  • Step 808 The S-GW returns a Delete Session Response message to the MME.
  • Step 809-810 The MME sends a Deactivate Bearer Request message to the base station; the base station returns a Connection Reconfiguration (RRC Connection Reconfiguration) message to the terminal; Step 811: A subsequent step of deleting the PDN connection.
  • RRC Connection Reconfiguration RRC Connection Reconfiguration
  • step 804 and step 807 can be performed concurrently.
  • This embodiment is an example in which the P-GW deletes the location identifier of the terminal from the identity location register when the terminal performs the delete PDN connection.
  • a similar method can be used to make the P-GW Send a message to the identity location register to delete the location indication of the terminal.
  • the terminal sends a Detach Request request to the MME, and the MME sends a Delete Session Request to the S-GW, and the S-GW sends a delete session request to the P-GW (Delete)
  • the Session Request message the P-GW can delete the location identifier of the terminal in the identity location register according to the method of this embodiment.
  • the MME sends a Delete Session Request to the S-GW, and the S-GW sends a Delete Session Request message to the P-GW, P- The GW can delete the location identifier of the terminal in the identity location register according to the method of this embodiment.
  • the HSS sends a Cancel to the MME.
  • the MME sends a Delete Session Request to the S-GW, and the S-GW sends a Delete Session Request message to the P-GW.
  • the P-GW can go to the identity location register according to the method in this embodiment. Delete the location ID of the terminal. In short, the basic principles are the same and will not be described again.
  • the S-GW may send a Proxy Binding Update message to the P-GW (step 803); the P-GW returns a proxy binding confirmation to the S-GW (Proxy) Binding Ack message (step 807), at this time, the S-GW may trigger the P-GW to delete the location identifier of the terminal in the identity location register according to the method of this embodiment.
  • the access service router corresponds to the co-located network element of the P-GW and the S-GW
  • the basic principle of the method is the same as above, and the interaction between the S-GW and the P-GW in the above step is not regarded as the internal part of the network element. Processing only.
  • the access service router when the terminal retires or releases its IP address, the access service router
  • Steps 901-902 When the terminal initiates a network exit scenario, the terminal first sends a logout to the base station. Requesting (DREG_REQ) message; the base station returns a logout command (DREG CMD) message to the terminal; Step 903: The base station sends a Data Channel Deregistration Request (Path_Dereg_Req) message to the ASN-GW;
  • Step 904 The ASN-GW sends a “delete location identifier request” to the identity location register, where the message carries at least the location identifier of the terminal.
  • the message may also carry a terminal identity (such as NAI, MAC, etc.) and/or an identity of the terminal.
  • Step 905 After receiving the message, the identity location register finds the route identifier stored locally by the terminal, and invalidates the identifier (for example, deleting the identifier);
  • the identity location register is indexed by the identity or identity of the terminal, and the locally stored location identifier is found.
  • Step 906 The identity location register returns a "delete location identifier response" message to the ASN-GW;
  • Step 908-909 The ASN-GW returns a Data Channel Deletion Response (Path_Dereg_Rsp) message to the base station; the base station returns a Data Channel Deletion Confirmation (Path_Dereg_Ack) message to the ASN-GW.
  • Path_Dereg_Rsp Data Channel Deletion Response
  • Path_Dereg_Ack Data Channel Deletion Confirmation
  • step 904 can be performed concurrently with subsequent step 907, without the necessary sequence; steps 904-906 can also be performed after receiving the data channel deletion confirmation message of step 909.
  • the ASN-GW deletes the location identifier of the terminal from the identity location register when the terminal triggers the network exit.
  • a similar method can be used to let the ASN-GW send a message to the identity location register, and delete the location identifier of the terminal. .
  • the terminal uses the flow defined by the DHCP protocol.
  • the ASN-GW can delete the location of the terminal in the identity location register according to the method in this embodiment. logo.
  • the AAA server sends a RADIUS Disconnect-Request message to the ASN-GW, and the ASN-GW can delete the location identifier of the terminal in the identity location register according to the method in this embodiment; or
  • the AAA server sends the message to the terminal's authenticator (Authenticator), and then the authenticator sends the message to the ASN-GW.
  • the NetExit_MS_State_Change_Req message when receiving the message, the ASN-GW deletes the location identifier of the terminal in the identity location register according to the method in this embodiment; or, the ASN-GW receives the authentication sender.
  • the message is first sent to the base station to send a Data Channel Deregistration Request (Path_Dereg_Req) message, and when the base station returns a Data Channel Deletion Response (Path_Dereg_Rsp) message thereto, the ASN-GW performs the method of this embodiment again. Delete the location identifier of the terminal in the identity location register.
  • the ASN-GW may trigger the method to delete the location identifier of the terminal in the identity location register according to the method in this embodiment; for example, in the scenario of the terminal exiting the network initiated by the base station,
  • the base station sends a Data Channel Deregistration Request (Path_Dereg_Req) message to the ASN-GW.
  • the ASN-GW deletes the location identifier of the terminal in the identity location register according to the method in this embodiment.
  • the basic principles are the same and will not be described again.
  • the access service router (such as the GGSN, P-GW, and ASN-GW described above) can simultaneously notify the identity location register.
  • the peer end of the terminal is notified, and the peer end deletes the location identifier of the terminal that is saved locally, and deletes the corresponding relationship between the identity identifier of the terminal and the location identifier.
  • the communication peer of the terminal referred to herein refers to another terminal (Comrespondent Node) or host (Host) that communicates with the terminal, or an access service router of the other terminal/host (eg, GGSN, P-GW, ASN). -GW, etc.).
  • a broadband access server can be used as an access service router in the present invention.
  • the terminal retires or releases the IP address of the terminal, the location identifier of the terminal is deleted from the identity location register. The principle is similar.
  • modules and steps of the above embodiments may be implemented by a general computing device, which may be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or their Multiple modules or steps are implemented as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Abstract

本发明公开了一种获取终端的身份标识的方法及系统,包括:将终端的身份标识配置在身份位置寄存器中;接入服务路由器从身份位置寄存器获取终端的身份标识,并将获取到的身份标识通知给终端。本发明优势体现在如下几个方面:现网不存在身份位置寄存器,它是由身份位置分离技术新引进的网元,因此不影响现网的功能,不需要像现有技术那样改造大量的现网设备,成本小,风险小;身份位置寄存器的功能简单,实现简单,也利于降低成本;身份位置寄存器无需大量部署,因功能简单则全网使用一个或者几个该服务器即可,进一步降低了成本。

Description

一种获取终端的身份标识的方法及系统
技术领域
本发明涉及身份位置分离的技术, 尤其涉及一种获取终端的身份标识的 方法及系统。
背景技术
图 1所示为目前电信运营商在建设和运营互联网的过程中普遍釆用的一 种典型网络架构, 包括: 接入网关、 鉴权认证服务器、 二层网络以及终端等 物理或逻辑实体。
二层网络主要包含基站, 还可以包含无线网络控制器等网元。 二层网络 一般会帮助终端在终端与接入网关之间建立一个虚拟的点到点连接, 使每个 终端在逻辑上都能拥有一条独立的通道, 终端使用该通道可与接入网关交互 上下行数据包, 如, IP数据包。 接入网关可以使用该通道寻址终端, 例如, 根据通道的标识来寻址终端。 接入网关除了作为终端的接入设备, 帮助终端 访问 IP互联网以外, 还具有协助运营商网络对终端执行鉴权认证、 分配 IP 地址以及管理终端移动性等功能。 二层网络和接入网关一起可被看作为接入 网。 鉴权认证服务器保存有用户的签约信息, 负责在终端接入运营商网络时, 对终端执行鉴权认证, 以及向接入网提供终端用户的签约信息等。 鉴权认证 服务器还可以具有为终端计费的功能。
在 WCDMAVTDCDMA 网络中, 接入网关对应于网关 GPRS 支持节点 ( Gateway GPRS Support Node, GGSN ) ; 或者, 接入网关对应于 GGSN与 服务 GPRS ( General Packet Radio Service , 通用分组无线服务) 支持节点 ( Serving GPRS Support Node , SGSN )合设后的网元; 鉴权认证服务器对应 于归属位置寄存器(Home Location Register, HLR ) 。
在 WiMAX ( Worldwide Interoperability for Microwave Access ) 网络中, 接入网关对应于接入服务网络网关 (Access Service Network Gateway , ASN-GW ) ; 鉴权认证服务器对应于鉴权、 认证、 计费 (Authentication, Authorization, Accounting, AAA )月良务器。
在 EPC ( Evolved Packet Core )网络中, 接入网关对应于 P-GW ( Package Data Network Gateway ) ; 或者, 接入网关对应于 P-GW与 S-GW ( Serving Gateway )合设后的网元; 鉴权认证服务器对应于归属用户服务器 (Home Subscriber Server, HSS ) 。
众所周知, 终端要访问 IP互联网, 就必须从网络申请一个有效的 IP地 址。 该 IP地址具有双重属性, 既表示用户的身份又表示用户所处的网络拓朴 位置。 当用户在某拓朴位置(比如在某接入网关下)获得到了一个 IP地址后, 该 IP地址只能在该拓朴位置使用 (如, 只能在一个接入网关管辖的范围内使 用) 。 这对于固定终端固然没有问题, 但是对于移动终端, 当终端从一个接 入网关管辖的范围移动到另一个接入网关管辖的范围以后, 上述的 IP地址会 变成一个无效的地址。 此时, 终端必须重新从新的拓朴位置获取一个新的 IP 地址。 这样就无法保证基于 IP的上层业务的连续性, 例如, 终端用户正在打 IP电话, 则该通话会断掉。
为了解决该问题, 相关技术提出了一系列解决方案, 比如基于移动 IP
( Mobile IP )的技术、 基于 GTP的技术等。 但是, 这些技术都存在一些普遍 公认的问题, 如路由迂回等。 由此, 业界开始研究基于身份位置分离的技术, 该技术试图在解决终端跨接入网关后必须重新分配 IP地址的问题的同时, 解 决路由迂回问题。 基本原理是为终端赋予一个身份标识, 同时又赋予一个位 置标识。
如图 2 所示, 需要在网络中引入一个被称为身份位置寄存器 (Identity Location Register, ILR )的网元, 其作用是保存终端的身份与该终端当前所处 位置的对应关系, 同时向外界提供查询服务。 当终端的通信对端需要与该终 端进行通信时(如, 发送 IP包) , 通信对端首先要获知该终端的位置标识。 若通信对端此时不知道该终端的位置标识, 则需要到上述身份位置寄存器去 查找该终端的位置标识, 然后根据位置标识投递 IP数据包。
目前, 存在一些被广泛使用的终端标识, 例如国际移动用户识别码 ( International Mobile Subscriber Identification, IMSI )、网络接入标 i只( Network Access Identity, NAI )等, 但这些标识偏重于标识终端用户, 一般用于终端 用户的接入鉴权和计费等, 对私密性要求比较强, 不适合用在身份位置分离 技术中作为终端的身份标识。 在身份位置分离技术中用作标识终端身份的身 份标识是配置在终端的签约信息中并保存在鉴权认证服务器上, 由鉴权认证 服务器通知给终端的。 因此, 为了在现网中部署身份位置分离技术, 需要改 动现有的鉴权认证服务器。
这样会存在一系列的问题: 鉴权认证服务器一般比较复杂, 往其中增加 新功能需要消耗更多的成本(如, 人力资源) ; 现网中已经部署了大量的鉴 权认证服务器, 要改动这些现存鉴权认证服务器, 对现有的设备进行升级或 者替换, 耗时长且成本大; 鉴权认证服务器是网络中非常重要的核心设备, 若因升级或替换设备而导致网络出现异常将会给运营商带来巨大的损失, 风 险巨大。 由此可见, 在部署身份位置分离技术时, 若使用鉴权认证服务器将 会增加运营商 /设备制造商的成本, 并会增大风险, 势必会影响身份位置分离 技术的发展和应用。 发明内容
本发明要解决的技术问题是提供一种获取终端的身份标识的方法及系 统,解决通过鉴权认证服务器获取身份标识需要对现网进行较大改动的问题, 实现低成本低风险地获取终端的身份标识。
为解决上述技术问题, 本发明的提供一种获取终端的身份标识的方法, 包括:
将终端的身份标识配置在身份位置寄存器中; 以及
接入服务路由器从所述身份位置寄存器获取所述终端的身份标识, 并将 获取到的身份标识通知给所述终端。
可选的, 上述方法还可具有以下特点:
在所述将终端的身份标识配置在身份位置寄存器中的步骤中, 釆用终端 标识作为所述身份标识的索引;
所述接入服务路由器从所述身份位置寄存器获取所述终端的身份标识的 步骤包括: 所述接入服务路由器将相应的终端标识发送给所述身份位置寄存器; 以 及
所述身份位置寄存器以接收到的终端标识为索引, 查找所述终端的身份 标识, 并将查找到的身份标识返回给所述接入服务路由器。
可选的, 上述方法还可包括:
所述接入服务路由器为所述终端分配位置标识, 并将所述位置标识发送 给所述身份位置寄存器;
所述身份位置寄存器收到所述位置标识后, 建立或更新所述终端的身份 标识与位置标识的对应关系信息。
可选的, 上述方法还可具有以下特点:
所述接入服务路由器在将为所述终端分配的位置标识发送给所述身份位 置寄存器时, 还同时携带所述终端的身份标识和 /或终端标识。 可选的, 上述方法还可具有以下特点:
所述接入服务路由器为所述终端分配位置标识, 并将所述位置标识发送 给所述身份位置寄存器的步骤包括:
所述接入服务路由器从所述身份位置寄存器获取所述终端的身份标识之 后, 为所述终端分配位置标识, 并将所述位置标识发送给所述身份位置寄存
H; 或者
所述接入服务路由器将相应的终端标识发送给所述身份位置寄存器的同 时, 将为终端分配的所述位置标识发送给所述身份位置寄存器。
可选的, 上述方法还可包括:
在所述终端退网或释放其 IP地址时, 所述接入服务路由器通知所述身份 位置寄存器和 /或所述终端的通信对端删除所述终端的位置标识。
可选的, 上述方法还可具有以下特点:
所述接入服务路由器通知所述身份位置寄存器和 /或所述终端的通信对 端删除所述终端的位置标识的步骤包括:
所述接入服务路由器通过向所述身份位置寄存器和 /或所述终端的通信 对端发送请求消息, 通知所述身份位置寄存器和 /或所述终端的通信对端删除 所述终端的位置标识, 在该请求消息中携带终端的身份标识、 位置标识和终 端标识中的一个或多个。
可选的, 上述方法还可具有以下特点:
所述接入服务路由器为在宽带码分多址 (WCDMA)网络或时分同步码分
GGSN和服务通用分组无线服务支持节点 (SGSN)合设的网元;
所述接入服务路由器将相应的终端标识发送给所述身份位置寄存器的步 骤包括:
所述 GGSN向身份位置寄存器发送请求身份标识的消息, 在该消息中携 带终端标识, 以获取所述终端的身份标识;
所述身份位置寄存器将查找到的身份标识返回给所述接入服务路由器的 步骤包括:
所述身份位置寄存器向所述 GGSN返回应答消息, 在该消息中携带所述 身份标识。
可选的, 上述方法还可包括:
所述 GGSN为所述终端分配位置标识, 将所分配的位置标识发送给所述 身份位置寄存器, 同时携带所述终端的身份标识和 /或终端标识; 以及
所述身份位置寄存器收到所述位置标识后, 建立或更新所述终端的身份 标识与位置标识的对应关系信息, 向 GGSN返回应答消息。
可选的, 上述方法还可具有以下特点:
所述 GGSN是在接收到 SGSN的创建上下文请求消息后, 执行所述向身 份位置寄存器发送请求身份标识的消息的步骤;
所述接入服务路由器将获取到的身份标识通知给所述终端的步骤包括: 所述 GGSN在获取到所述终端的身份标识后, 向 SGSN返回创建上下文 应答消息, 携带所述终端的身份标识; 以及
所述 SGSN收到所述创建上下文应答消息后, 向所述终端返回激活上下 文接受消息, 在该消息中携带所述终端的身份标识。
可选的, 上述方法还可具有以下特点:
所述 GGSN是在收到网络侧发送给终端的数据且需要为所述终端发起上 下文激活时, 执行所述向身份位置寄存器发送请求身份标识的消息的步骤; 所述接入服务路由器将获取到的身份标识通知给所述终端的步骤包括: 所述 GGSN获取到所述终端的身份标识后, 通过协议数据单元 (PDU)通 知请求消息将所述终端的身份标识发送给 SGSN; 以及
所述 SGSN通过请求分组数据协议 (PDP)上下文激活消息将所述身份标 识发送给所述终端。
可选的, 上述方法还可具有以下特点:
所述接入服务路由器为全球微波互联接入 (WiMAX)网络中的接入服务 网络网关 (ASN-GW), 或 ASN-GW与其他节点合设的网元;
所述接入服务路由器将相应的终端标识发送给所述身份位置寄存器的步 骤包括:
所述 ASN-GW向身份位置寄存器发送请求身份标识的消息,在该消息中 携带终端标识, 以获取所述终端的身份标识;
所述身份位置寄存器将查找到的身份标识返回给所述接入服务路由器的 步骤包括:
所述身份位置寄存器向所述 ASN-GW返回应答消息,在该消息中携带所 述身份标识。
可选的, 上述方法还可包括:
所述 ASN-GW为所述终端分配位置标识,将所分配的位置标识发送给所 述身份位置寄存器, 同时携带所述终端的身份标识和 /或终端标识; 以及 所述身份位置寄存器收到所述位置标识后, 建立或更新所述终端的身份 标识与位置标识的对应关系信息, 向 ASN-GW返回应答消息。
可选的, 上述方法还可具有以下特点:
所述 ASN-GW是在接收到所述终端发送的请求获取 IP地址的动态主机 设置协议 (DHCP)发现消息后, 执行所述向身份位置寄存器发送请求身份标识 的消息的步骤;
所述接入服务路由器将获取到的身份标识通知给所述终端的步骤包括: 所述 ASN-GW获取到所述终端的身份标识后, 向所述终端返回 DHCP 提供消息, 在该消息中携带所述身份标识。
可选的, 上述方法还可具有以下特点:
所述接入服务路由器为演进分组核心 ( EPC ) 网络中的分组数据网络网 关 (P-GW), 或 P-GW与服务网关 (S-GW)合设的网元;
所述接入服务路由器将相应的终端标识发送给所述身份位置寄存器的步 骤包括:
所述 P-GW向身份位置寄存器发送请求身份标识的消息, 在该消息中携 带终端标识, 以获取所述终端的身份标识;
所述身份位置寄存器将查找到的身份标识返回给所述接入服务路由器的 步骤包括:
所述身份位置寄存器向所述 P-GW返回应答消息, 在该消息中携带所述 身份标识。
可选的, 上述方法还可包括:
所述 P-GW为终端分配位置标识, 将所分配的位置标识发送给所述身份 位置寄存器, 同时携带所述终端的身份标识和 /或终端标识;
所述身份位置寄存器收到所述位置标识后, 建立或更新所述终端的身份 标识与位置标识的对应关系信息。
可选的, 上述方法还可具有以下特点:
所述 P-GW是在分组数据网激活流程或所述终端的附着流程中, 接收到 S-GW发送的创建会话请求消息或代理绑定更新消息后, 执行所述向身份位 置寄存器发送请求身份标识的消息的步骤;
所述接入服务路由器将获取到的身份标识通知给所述终端的步骤包括: 所述 P-GW获取到所述身份标识后, 向所述 S-GW返回创建会话响应消 息或代理绑定确认, 在该消息中携带所述终端的身份标识;
所述 S-GW向移动性管理实体 (MME)返回创建会话响应消息, 在该消息 中携带所述终端的身份标识; 以及
所述 MME向所述基站发送承载建立请求消息或附着接受消息, 在该消 息中携带所述终端的身份标识, 通过所述基站将所述终端的身份标识发送给 该终端。
可选的, 上述方法还可具有以下特点:
所述接入服务路由器为数字用户线路 (xDSL)网络或无线局域网 (WLAN) 网络中的宽带接入服务器 (BRAS), 或 BRAS与其他节点合设的网元;
所述接入服务路由器将相应的终端标识发送给所述身份位置寄存器的步 骤包括:
所述 BRAS向身份位置寄存器发送请求身份标识的消息, 在该消息中携 带终端标识, 以获取所述终端的身份标识;
所述身份位置寄存器将查找到的身份标识返回给所述接入服务路由器的 步骤包括:
所述身份位置寄存器根据所述终端标识查找到对应的身份标识后, 向所 述 BRAS返回应答消息, 在该消息中携带所述身份标识。
可选的, 上述方法还可包括:
所述 GGSN在接收到所述 SGSN发送的删除上下文请求消息后或在自身 触发删除所述终端的位置标识时, 向所述身份位置寄存器和 /或所述终端的通 信对端发送请求删除位置标识的消息,在该消息中携带所述终端的位置标识、 身份标识和终端标识的一个或多个;
所述身份位置寄存器和 /或所述通信对端在接收到所述请求删除位置标 识的消息后, 查找所述终端的位置标识, 并使查找到的该终端的位置标识失 效。
可选的, 上述方法还可包括:
所述 ASN-GW在所述终端的退网或释放 IP地址的流程中, 向所述身份 位置寄存器和 /或所述终端的通信对端发送请求删除位置标识的消息, 在该消 息中携带所述终端的位置标识、 身份标识和终端标识的一个或多个;
所述身份位置寄存器和 /或所述终端的通信对端在接收到所述请求删除 位置标识的消息后, 查找所述终端的位置标识, 并使查找到的该终端的位置 标识失效。
可选的, 上述方法还可包括:
所述 P-GW在所述终端的退网、释放 IP地址或 PDN连接断链的流程中, 向身份位置寄存器和 /或所述终端的通信对端发送请求删除位置标识的消息, 在该消息中携带所述终端的位置标识、 身份标识和终端标识的一个或多个; 所述身份位置寄存器和 /或所述终端的通信对端在接收到所述请求删除 位置标识的消息后, 查找所述终端的位置标识, 并使查找到的该终端的位置 标识失效。
可选的, 上述方法还可具有以下特点:
所述 P-GW在接收到所述 S-GW发送的删除会话请求消息或代理绑定更 新消息后, 向所述身份位置寄存器和 /或所述终端的通信对端发送请求删除位 置标识的消息。
可选的, 上述方法还可具有以下特点:
所述终端的通信对端是与所述终端通信的另一终端或主机, 或者是与所 述终端通信的另一终端或主机的接入服务路由器。
本发明还提供一种获取终端的身份标识的系统, 包括: 身份位置寄存器 和接入服务路由器, 其中:
所述身份位置寄存器设置为: 保存终端的身份标识;
所述接入服务路由器设置为: 从所述身份位置寄存器获取所述终端的身 份标识, 并将获取到的身份标识通知给所述终端。
可选的, 上述系统还可具有以下特点:
所述接入服务路由器是设置为: 从所述身份位置寄存器获取所述终端的 身份标识时, 将相应的终端标识发送给所述身份位置寄存器; 所述身份位置寄存器还设置为: 以接收到的终端标识为索引, 查找所述 终端的身份标识, 并将查找到的身份标识返回给所述接入服务路由器。
可选的, 上述系统还可具有以下特点:
所述接入服务路由器还设置为: 为所述终端分配位置标识, 并将该位置 标识发送给所述身份位置寄存器;
所述身份位置寄存器还设置为: 在接收到所述位置标识后, 建立或更新 所述终端的身份标识与位置标识的对应关系信息。
可选的, 上述系统还可具有以下特点:
所述接入服务路由器还设置为: 在将为所述终端分配的位置标识发送给 所述身份位置寄存器时, 同时携带所述终端的身份标识和 /或终端标识。
可选的, 上述系统还可具有以下特点:
所述接入服务路由器是设置为以如下方式为所述终端分配位置标识, 并 将该位置标识发送给所述身份位置寄存器:
从所述身份位置寄存器获取所述终端的身份标识之后, 为所述终端分配 位置标识, 并将所述位置标识发送给所述身份位置寄存器; 或者
将相应的终端标识发送给所述身份位置寄存器的同时, 将为终端分配的 所述位置标识发送给所述身份位置寄存器。
可选的, 上述系统还可具有以下特点:
所述接入服务路由器还设置为在所述终端退网或释放其 IP地址时,通知 所述身份位置寄存器和 /或所述终端的通信对端删除所述终端的位置标识。
可选的, 上述系统还可具有以下特点:
所述接入服务路由器在宽带码分多址 (WCDMA)网络或时分同步码分多 与服务通用分组无线服务支持节点 (SGSN)的合设网元; 在全球微波互联接入 (WiMAX)网络中为接入服务网络网关 (ASN-GW) , 或 ASN-GW与其他节点合 设的网元; 在演进分组核心 (EPC ) 网络中为分组数据网络网关 (P-GW ) , 或 P-GW与服务网关 (S-GW )合设的网元。 综上所述, 上述方案相对于现有技术, 优势体现在如下几个方面: 现网 不存在身份位置寄存器, 它是由身份位置分离技术新引进的网元, 因此不影 响现网的功能, 不需要像现有技术那样改造大量的现网设备, 成本小, 风险 小; 身份位置寄存器的功能简单, 实现简单, 也利于降低成本; 身份位置寄 存器无需大量部署, 因功能简单则全网使用一个或者几个该服务器即可, 进 一步降低了成本。 所以釆用上述方案, 降低了身份位置分离技术在现网中部 署的成本, 以及风险, 有利于该技术的发展和应用。
附图概述
图 1为一种网络架构的示意图;
图 2为一种身份位置分离网络的架构图;
图 3为本发明实施方式的获取终端的身份标识的方法的流程图;
图 5为本发明实施方式应用在 WiMAX网络中的流程图;
图 6为本发明实施方式应用在 EPC网络中的流程图;
程图;
图 8为本发明实施方式在 EPC网络中删除位置标识的流程图;
图 9为本发明实施方式在 WiMAX网络中删除位置标识的流程图。
本发明的较佳实施方式
在本文叙述范围内, 终端的身份标识可以用 AID ( Access Identity )来表 示; 终端的位置标识可以用 RID ( Routing Identify )来表示。 同时, 接入网关 又可称为边缘路由器、接入服务器和接入服务路由器( Access Service Router, ASR )等, 以下均称之为 "接入服务路由器" ; 身份位置寄存器又可被称为 映射服务器、 身份位置管理服务器等。 当身份位置寄存器以分布式的形态部 署时, 可称之为映射平面。
本实施方式将终端的身份标识配置在身份位置寄存器上; 接入服务路由 器从身份位置寄存器上获取终端的身份标识并通知给终端。
下面结合附图说明本实施方式的方法。
实施例 1 :
需要说明的是, 为实现本实施方式的方法, 终端的身份标识可以在终端 用户与运营商签约时, 由运营商为终端分配, 同时通过管理系统, 将终端的 身份标识配置在身份位置寄存器中, 并可以以终端标识(IMSI、 NAI等)作 为身份标识的索引。
图 3所示为本实施方式的第一实施例, 接入服务路由器从身份位置寄存 器获取终端的身份标识的方法, 包括:
步骤 301 : 接入服务路由器向身份位置寄存器请求终端的身份标识; 接入服务路由器需要向身份位置寄存器提供终端标识, 身份位置寄存器 根据终端标识在本地找到终端的身份标识后, 将身份标识发送给接入服务路 由器。
接入服务路由器向身份位置寄存器提供的终端标识根据应用的网络的不 同而有所不同。 例如, 在 WCDMA/TDCDMA/EPC网络中, 接入服务路由器 可提供终端的 IMSI; 在 WiMAX网络中, 可提供终端的 NAI或者 MAC。 这 些标识的特点是在现网中能够唯一标识一个终端用户, 能够在鉴权认证服务 器(如, HLR、 AAA, HSS等) 中定位到终端用户与运营商的签约信息。
接入服务路由器与身份位置寄存器之间的交互可以是前者向后者发送一 条请求, 后者向前者前者返回一条应答消息, 如下例:
步骤 301a: 接入服务路由器向身份位置寄存器发送请求消息, 用以向身 份位置寄存器请求终端的身份标识, 该请求消息中携带终端标识(终端用户 标识 )信息, 如该终端的 IMSI或 NAI等;
优选地, 若接入服务路由器需要一次性获取多个终端的身份标识, 则在 该请求消息中可以携带多个终端标识。 步骤 302a: 身份位置寄存器根据请求消息中携带的终端标识在本地查询 终端的身份标识, 向接入服务路由器返回响应消息, 在响应消息中携带查询 到的终端的身份标识;
优选地, 若接入服务路由器在请求消息中请求多个终端的身份标识, 则 身份位置寄存器可以在应答消息中携带多个终端标识以及对应的身份标识。
若身份位置寄存器未找到终端的身份标识, 则可以向接入服务路由器返 回错误信息。
接入服务路由器获取到终端的身份标识后,还需要为终端配置位置标识, 并将其注册到身份位置寄存器中, 如下述步骤:
步骤 303a: 接入服务路由器为终端分配终端当前的位置标识, 并向身份 位置寄存器发送消息, 该消息携带终端的位置标识;
接入服务路由器向身份位置寄存器发送的消息中还需要携带终端的身份 标识和 /或终端标识(如, IMSI或 NAI等) 。 通过该消息, 接入服务路由器 向身份位置寄存器通知了终端当前的位置标识。 任何想与终端通信的对端, 都可以在身份位置寄存器中查询到终端的位置标识,获得该终端的路由信息, 实现与该终端的通信。
步骤 304a: 身份位置寄存器将终端的位置标识保存在本地。
若身份位置寄存器本地已经保存有该终端的位置标识, 则使用在步骤 303a中收到的位置标识来更新本地存储的该终端的位置标识。
身份位置寄存器在保存上述位置标识的同时, 建立终端的身份标识 -位置 标识的映射关系信息和 /或建立终端标识-身份标识-位置标识的映射关系信 息, 同时以该身份标识作为索引。
实际上, 步骤 303a~304a可以与步骤 301a~302a合并。 例如, 接入服务 路由器在执行步骤 301a时, 为终端分配位置标识, 并将该标识放在请求消息 中发送给身份位置寄存器, 身份位置寄存器将位置标识按上述方法保存在本 地。
当终端不需要通过接入服务路由器访问外界网络时, 例如终端从网络中 退出、 释放 IP地址时, 接入服务路由器还可以向身份位置寄存器发送消息以 删除(释放) 身份位置寄存器中保存的该终端的位置标识。 此时该释放消息 需要携带终端的位置标识、 身份标识和终端标识中的一个或多个。
实施例 2:
图 4所示为本实施方式的第二实施例, 是在 WCDMA/TDCDMA网络中 部署身份位置分离技术时, 接入服务路由器(以 GGSN为例) 向身份位置寄 存器(如 ILR、 映射平面等)请求终端的身份标识的实施例, 包含以下步骤: 步骤 401: 终端在激活 PDP上下文( Package Data Protocol Context, 分组 数据协议上下文) 的流程中, 向当前连接的 SGSN发送激活上下文请求消息 ( Activate PDP Context Request ) ;
步骤 402: SGSN向 GGSN ( GGSN即作为上述的接入服务路由器等)发 送创建上下文请求( Create PDP Context Request )消息, 消息中携带终端标识 ( IMSI ) ;
步骤 403: GGSN向身份位置寄存器发送 "身份标识请求" 消息, 其中 携带终端标识;
步骤 404: 身份位置寄存器根据终端标识在本地查找终端的身份标识; 步骤 405: 身份位置寄存器向 GGSN返回 "身份标识应答" 消息, 其中 携带终端的身份标识;
步骤 406: GGSN收到 "身份标识应答" 消息后, 优选地还需要为终端 分配一个位置标识;
优选地, 位置标识是一个 IP地址, 网络上的主机(例如: 服务器、 路由 器、接入服务路由器和其他终端等)可以根据该 IP地址找到此 GGSN。例如, 该 IP地址是 GGSN自身的 IP地址。
步骤 407: GGSN向身份位置寄存器发送 "插入位置标识请求" 消息, 将上述终端的位置标识发送给身份位置寄存器;
步骤 408: 身份位置寄存器将终端的位置标识保存在本地。
身份位置寄存器将终端的位置标识与身份标识在本地关联起来, 并以终 端的身份标识作为索引, 以方便被查询。
步骤 409: 身份位置寄存器向 GGSN返回 "插入位置标识应答" 消息; 步骤 410: GGSN向 SGSN返回创建上下文应答(Create PDP Context Response ) 消息, 携带 GGSN从身份位置寄存器获取到的终端的身份标识; 优选地, GGSN将上述身份标识保存在该 GGSN存储的终端 PDP上下文 中; SGSN也可以保存该身份标识,也可将其保存在该 SGSN存储的终端 PDP 上下文内。
GGSN与 SGSN保存的虽然都称为 PDP上下文, 但是保存的内容并不相 同。 GGSN需要保存身份标识, 可以保存在 GGSN的 PDP上下文中; SGSN 可以保存身份标识也可以不保存, 保存的话, 可以保存在 SGSN的 PDP上下 文中。
优选地, 终端的身份标识也是一个 IP地址, 该 IP地址用来标识终端本 身。 此时, GGSN可以将终端的身份标识放在创建上下文应答消息的终端用 户地址(End User Address )字段上发送给 SGSN。
步骤 411 : SGSN与 RAN ( Radio Access Network, 无线接入网络)和终 端建立无线 7 载;
步骤 412~413: SGSN与 GGSN之间更新终端的 PDP上下文;
例如, 在无线承载建立的过程中, 由于之前协商好的参数需要更改, 因 而 SGSN需要将相应更新的参数通知给 GGSN。
步骤 414: SGSN 向终端返回激活上下文接受 (Activate PDP Context
Accept )消息,携带上述 GGSN从身份位置寄存器获取到的终端的身份标识, 终端将自己的身份标识保存在本地。
优选地, 当终端的身份标识也是一个 IP地址时, SGSN可以将终端的身 份标识放在激活上下文接受消息的 PDP地址( PDP Address )字段上发送给终 端。
值得补充说明的是, GGSN在获得终端的身份标识后的任意时刻, 都可 以执行为终端分配位置标识的操作, 并不受限于本实施例的流程顺序, 例如, 步骤 406可以与步骤 410并发或在步骤 410之后。 在 GGSN为终端分配位置 标识之后的任意时刻, 都可以执行将终端的位置标识更新到身份位置寄存器 中的操作, 也不受限于本实施例的流程顺序。
其中, GGSN获取终端的身份标识与为终端分配位置标识不一定要在同 一个流程中实现。 在这种情况下, 步骤 406~409可不执行, 可以在其他适当 的时候, 由 GGSN发起执行步骤 406~409。
其中, GGSN可以在收到创建上下文请求消息 (步骤 402 ) 时, 就为终 端分配位置标识, 然后将位置标识放在身份标识请求消息中连同终端标识 ( IMSI或 NAI等)一起发送给身份位置寄存器。 身份位置寄存器在本地根据 终端标识查找到终端的身份标识的同时,可以按照上述步骤 408所述的方法, 将终端的位置标识保存在本地, 并与身份标识关联。 这样, 步骤 406 409也 可不用再执行。
本实施例是终端在执行 PDP上下文激活时, GGSN从身份位置寄存器获 取终端的身份标识并将该身份标识发送给终端的例子。 实际上, 在 WCDMA/TDCDMA网络中 , 在任何涉及到终端向 GGSN请求分配 IP地址或 涉及激活终端的 PDP上下文的流程中, 都可以用类似的方法, 让 GGSN向身 份位置寄存器请求终端的身份标识, 将身份标识发送给终端。 优选还为终端 分配位置标识, 并更新到身份位置寄存器。
比如, 在网络发起的 PDP上下文激活 (Network-Requested PDP Context Activation ) 的场景中, 当 GGSN收到从网络发给终端的数据, 如 PDP PDU ( Protocol Data Unit ) , 且 GGSN判断需要为终端发起 PDP上下文激活时, GGSN可依照上述方法的流程, 向身份位置寄存器请求终端的身份标识。 此 时, GGSN可以通过 PDU通知请求( PDU Notification Request ) 消息将身份 标识传递给 SGSN, 再由 SGSN通过请求 PDP上下文激活 (Request PDP Context Activation )消息将身份标识传递给终端。 优选地, GGSN获取到身份 标识后, 还为终端分配位置标识, 并更新到身份位置寄存器, 基本原理都相 同, 不再赘述。
当接入服务路由器对应 GGSN与 SGSN的合设网元时, 本实施方式方法 的基本原理同上, 只是将上述步骤中关于 SGSN与 GGSN之间的交互看作网 元的内部处理。 使用本实施方式提供的方法, 可以将身份位置分离技术应用到现网 (如 本实施例的 WCDMA/TDCDMA ) 中, 无需更改现网的鉴权认证服务器(如 HLR ) , 对现网的兼容性以及继承性较好, 付出的代价较少, 不会出现因改 造鉴权认证服务器而造成的种种问题, 有利于该技术在现网中的应用。
实施例 3:
图 5所示为本实施方式的第三实施例, 是在 WiMAX网络中部署身份位 置分离技术时, 接入服务路由器(ASN-GW作为接入服务路由器) 向身份位 置寄存器 (或 ILR、 映射平面等)请求终端的身份标识的例子, 包含以下步 骤:
步骤 501~502: 在初始入网的过程中, 终端首先在无线接入网、 ASN-GW 以及 AAA服务器的参与下,完成初始入网的鉴权认证过程以及初始业务流的 建立;
步骤 503: 终端向 ASN-GW发送 DHCP发现( DHCP DISCOVERY ) 消 息, 开始执行 IP地址获取流程;
步骤 504: ASN-GW在收到终端发来的 DHCP发现消息以后, ASN-GW 向身份位置寄存器(也即, ILR、 映射平面等)发送 "身份标识请求" 消息, 其中携带终端标识;
相关技术可以保证 ASN-GW可获得终端标识(NAI ) 。
步骤 505: 身份位置寄存器根据终端标识在本地查找终端的身份标识; 步骤 506: 身份位置寄存器向 ASN-GW返回 "身份标识应答" 消息, 其 中携带终端的身份标识;
步骤 507: ASN-GW收到 "身份标识应答" 消息后, 优选地为终端分配 位置标识;
同样, 优选地位置标识是一个 IP地址。 网络上的主机可以根据该 IP地 址找到此 ASN-GW。 例如, 该 IP地址是此 ASN-GW自己的 IP地址。
步骤 508: ASN-GW向身份位置寄存器发送 "插入位置标识请求" 消息, 将终端的位置标识发送给身份位置寄存器; 步骤 509: 身份位置寄存器将终端的位置标识保存在本地; 优选地,身份位置寄存器将终端的位置标识与身份标识在本地关联起来, 并以终端的身份标识作为索引, 以方便被查询。
步骤 510: 身份位置寄存器向 ASN-GW返回 "插入位置标识应答"消息; 步骤 511 : ASN-GW向终端返回 DHCP提供 ( DHCP OFFER ) 消息 , 其 中携带分配给终端的 IP地址, 还需要携带 ASN-GW从身份位置寄存器获取 到的终端的身份标识;
优选地, 该终端的身份标识是一个 IP 地址。 该身份标识可以就是 ASN-GW分配给终端的 IP地址, 此时, 可以使用 DHCP协议中的字段, 如, yiaddr(address)携带该身份标识。
步骤 512: 终端还要再向 ASN-GW发送 DHCP请求消息, 将 ASN-GW 分配给它的 IP地址再携带上来, 用以完成一些配置;
步骤 513: ASN-GW向终端返回 DHCP应答( DHCP ACK ) 消息。
值得补充说明的是, 同实施例 2中所述, ASN-GW在获得终端的身份标 识后的任意时刻, 都可以执行为终端分配位置标识的操作; 且在 ASN-GW分 配了位置标识之后的任意时刻, 都可以执行将终端的位置标识更新到身份位 置寄存器中的操作, 不受限于本实施例的流程顺序。 例如步骤 507可以与步 骤 511并发执行,或者在 ASN-GW收到步骤 512的 DHCP请求消息以后再执 行 507。
其中, ASN-GW获取终端的身份标识与为终端配置位置标识不一定需要 在同一个流程中实现。 在这种情况下, 步骤 507~510可不执行, 可以在其他 适当的时候, 由 ASN-GW发起执行步骤 507~510。 ASN-GW也可以在收到 DHCP发现消息 (步骤 503 )时就为终端配置位置标识, 然后将位置标识放在 身份标识请求消息中连同终端标识(NAI ) —起发送至身份位置寄存器。
在本实施例中, 可以看作 ASN-GW中集成了 DHCP Proxy的功能, 该功 能用于处理终端发送过来的 DHCP消息。 实际上在现有技术中, 在终端执行 初始入网(步骤 501 )的过程中, ASN-GW会从终端的 AAA服务器获取分配 给终端的 IP地址, 然后将该 IP地址交给其中的 DHCP Proxy功能。 那么可以 在终端的初始入网过程中,让 ASN-GW向身份位置寄存器获取终端的身份标 识并将之交给其中的 DHCP Proxy功能。在终端向 ASN-GW请求 IP地址的时 候, DHCP Proxy功能可以将终端的身份标识发送给终端。
另一方面, ASN-GW也可以集成 DHCP Relay功能, 此时, 当 ASN-GW 收到 DHCP发现消息时, 会将该消息中继转发到 DHCP Server上。 在这种情 况下, 就需要 DHCP Server向身份位置寄存器发送请求以获取该终端的身份 标识。 获取到身份标识后, DHCP Server将身份标识传递给 ASN-GW ( DHCP Relay ) , 并由 DHCP Relay功能将终端的身份标识发送给终端。
使用上述方法, 可以在将身份位置分离技术应用到现网 (如本实施例的 WiMAX ) 的过程中, 不更改现网的鉴权认证服务器(如 AAA服务器) , 对 现网的兼容性以及继承性较好, 付出的代价较少, 不会出现因需要改造鉴权 认证服务器而造成的种种问题, 利于该技术在现网的应用。
除此之外, 上述方法还可以应用在其他的网络上, 比如应用在 xDSL 网 络、 WLAN网络中。此时,宽带接入服务器(Broadband Remote Access Server, BRAS )可以作为本发明实施方式中的接入服务路由器, 向身份位置寄存器获 取终端的身份标识, 并传递给终端。 同时, BRAS还可以为终端分配位置标 识, 并将位置标识传递给身份位置寄存器, 原理是类同的。
实施例 4:
图 6所示为本发明的第三实施例, 是在 EPC网络中部署身份位置分离技 术时, 接入服务路由器(以 P-GW为例) 向身份位置寄存器(或 ILR、 映射 平面等)请求终端的身份标识的例子, 包含以下步骤:
步骤 601:在 PDN激活流程中,终端向 MME( Mobility Management Entity, 移动性管理实体)发送 PDN连接请求( PDN Connectivity Request ) 消息; 步骤 602: MME向 S-GW发送创建会话请求( Create Session Request ) 消息, 其中携带终端的标识(IMSI ) ;
S-GW是服务网关 ( Serving Gateway ) 的缩写。
步骤 603: S-GW向 P-GW发送创建会话请求( Create Session Request ) 消息, 其中携带终端的标识(IMSI ) ;
P-GW是分组数据网络网关 ( Packet Data Network Gateway ) 的缩写。 步骤 604: P-GW向身份位置寄存器(也即, ILR、 映射平面等)发送 "身 份标识请求" 消息, 其中携带终端标识;
步骤 605: 身份位置寄存器在本地根据终端标识查找终端的身份标识; 步骤 606: 身份位置寄存器向 P-GW返回 "身份标识应答" 消息, 其中 携带终端的身份标识;
步骤 607: P-GW收到上述消息后, 还为终端分配一个位置标识; 优选地, 该位置标识是一个 IP地址, 网络上的主机(例如: 服务器、 路 由器、 接入服务路由器或另一个终端等)可以根据该 IP地址找到此 P-GW。 例如 , 该 IP地址是 P-GW自身的 IP地址。
步骤 608: P-GW向身份位置寄存器发送 "插入位置标识请求" 消息, 将 上述终端的位置标识发送给身份位置寄存器;
步骤 609: 身份位置寄存器将终端的位置标识保存在本地;
身份位置寄存器将终端的位置标识与身份标识在本地关联起来, 并以终 端的身份标识作为索引, 以方便被查询
步骤 610: 身份位置寄存器向 P-GW返回 "插入位置标识应答" 消息; 步骤 611: P-GW向 S-GW返回创建会话响应 ( Create Session Response ) 消息, 其中携带 P-GW从身份位置寄存器获取到的终端的身份标识;
终端的身份标识也优选是一个 IP地址, 该 IP地址用来标识终端本身。 此时, P-GW可以将终端的身份标识放在 PDN地址(PDN Address )字段上 发送给 S-GW。
步骤 612: S-GW向 MME返回创建会话响应 ( Create Session Response ) 消息, 携带从 P-GW获取到的终端的身份标识;
同样, 若该身份标识是 IP地址, 则 S-GW可以将之放在 PDN Address字 段上发送给 MME。
步骤 613: MME向基站发送承载建立请求( Bearer Setup Request )消息, 将终端的身份标识发送给基站;
承载建立请求中还携带了一条 MME发送给终端的 PDN连接接受( PDN Connectivity Accept )消息。 MME还使用该 PDN连接接受消息, 将终端的身 份标识发送给终端。 此时, 若该身份标识是 IP地址 , 则 MME可以将之放在 PDN Address字段上首先传递给基站。
步骤 614: 基站向终端发送 RRC 连接重配置 ( RRC Connection Reconfiguration ) 消息, 将终端的身份标识发送给终端。
如上述, RRC连接重配置消息还携带了 PDN连接接受消息, 终端可以 在该消息中获知终端的身份标识。 此时, 若该身份标识是 IP地址, 则终端在 PDN连接接受消息中的 PDN Address字段上获知自己的身份标识。
承载建立请求和 RRC连接重配置消息都是外层消息,消息里面还嵌套了 PDN连接接受消息。
步骤 615: PDN激活流程的后续步骤。
值得补充说明的是, P-GW在获得终端的身份标识后的任意时刻, 都可 以执行为终端分配位置标识的操作, 并不受限于本实施例的流程顺序, 例如, 步骤 607可以与步骤 611并发或在步骤 611之后。 在 P-GW为终端分配位置 标识之后的任意时刻, 都可以执行将终端的位置标识更新到身份位置寄存器 中的操作, 也不受限于本实施例的流程顺序。
其中, P-GW获取终端的身份标识与为终端配置位置标识不一定需要在 同一个流程中实现。 在这种情况下, 步骤 607~610可不执行, 可以在其他适 当的时候, 由 P-GW发起执行步骤 607~610。
其中, P-GW可以在收到创建会话请求消息(步骤 602 )时, 就为终端配 置位置标识, 然后将位置标识放在身份标识请求消息中连同终端标识(IMSI 等)一起发送至身份位置寄存器。 身份位置寄存器在本地根据终端标识查找 到终端的身份标识的同时, 可以按照上述步骤 609所述的方法, 将终端的位 置标识保存在本地, 并与身份标识关联。 这样, 步骤 607 610也可不用再执 行。
本实施例中, 终端在执行 PDN激活流程时, P-GW从身份位置寄存器获 取终端的身份标识并将该身份标识发送给终端。 实际上, 在 EPC网络中, 在 任何涉及到终端向 P-GW请求分配 IP地址、为终端创建会话以及为终端激活 PDN的流程中, 都可以用类似的方法, 让 P-GW向身份位置寄存器请求终端 的身份标识, 将身份标识发送给终端。 优选还为终端分配路由标识, 并更新 到身份位置寄存器。
比如, 在终端的附着流程 ( Attach Procedure )场景中, 终端会通过基站 向 MME发送附着请求( Attach Request )消息; 接着, MME会向 S-GW发送 创建会话请求(Create Session Request )消息, 其中携带有终端的标识; 然后 S-GW向 P-GW发送创建会话请求( Create Session Request ) 消息, 其中也携 带终端的标识。 此时, P-GW可以按上述的方案, 向身份位置寄存器请求终 端的身份标识。接着 P-GW可以通过创建会话响应( Create Session Response ) 将终端的身份标识发送给 S-GW; S-GW进一步通过创建会话响应 (Create Session Response )将身份标识发送给 MME; MME再通过附着接受 (Attach Accept ) 消息将终端的身份标识通过基站发送给终端。 优选地, GGSN获取 到身份标识后, 还为终端分配路由标识, 并更新到身份位置寄存器。 其基本 原理都相同, 不再赘述。
当接入服务路由器对应 P-GW与 S-GW的合设网元时, 方法的基本原理 同上, 只不是将上述步骤中关于 S-GW与 P-GW之间的交互看作网元的内部 处理而已。
还值得注意的是, 在上述实施例中, S-GW可以向 P-GW发送代理绑定 更新( Proxy Binding Update )消息(步骤 603 ); P-GW向 S-GW返回代理绑 定确认(Proxy Binding Ack )消息(步骤 611 ) , 此时可以用代理绑定确认将 终端的身份标识发送到 S-GW。
使用上述方法, 可以在将身份位置分离技术应用到现网 (如本实施例的 EPC ) 的过程中, 不更改现网的鉴权认证服务器(如 HSS ) , 对现网的兼容 性以及继承性较好, 付出的代价较少, 不会出现因需要改造鉴权认证服务器 而造成的种种问题, 有利于该技术在现网的应用。
实施例 5: 在 WCDMA/TDCDMA网络中 , 当终端退网或者去活其 PDP上下文时, 接入服务路由器(如 GGSN )还可以更新身份位置寄存器中保存的该终端的 位置标识, 如图 7所示, 包含以下步骤:
步骤 701 : 当终端需要去活其 PDP上下文时, 向 SGSN发送去活上下文 请求( Deactivate PDP Contest Request ) 消息;
步骤 702: SGSN向 GGSN发送删除上下文请求(Delete PDP Context Request ) 消息;
步骤 703: GGSN向身份位置寄存器发送 "删除位置标识请求" 消息, 该消息中至少携带终端的位置标识;
该消息还需要携带终端标识(如 IMSI )和 /或终端的身份标识。 GGSN可 以在终端的 PDP 上下文中找到终端标识和 /或身份标识。 GGSN可以通过 SGSN发过来的标识符来定位终端的 PDP上下文。
优选地, 若该终端有多个激活的 PDP上下文, 则 GGSN可以判断在终端 去活最后一个激活的 PDP上下文时, 才向身份位置寄存器发送上述的消息。
步骤 704: 身份位置寄存器收到消息以后, 找到该终端在本地存储的位 置标识, 并使该标识失效(如, 删除该标识) ;
优选地, 身份位置寄存器以终端标识或身份标识为索引, 找到本地保存 的位置标识。
步骤 705: 身份位置寄存器向 GGSN返回 "删除位置标识应答" 消息; 步骤 706: GGSN向 SGSN返回删除上下文响应 (Delete PDP Context
Response ) 消息;
步骤 707: SGSN向终端返回去活上下文接受 (Deactivate PDP Contest Accept ) 消息。
在上述步骤中, 步骤 703跟步骤 706也可以并发执行。
本实施例是终端在执行 PDP上下文去活时, GGSN将终端的位置标识从 身份位置寄存器中删除的示例。 实际上, 在 WCDMA/TDCDMA网络中, 在 任何涉及到 GGSN释放 IP地址或涉及终端退网 ( Detach )的流程中, 都可以 用类似的方法,让 GGSN向身份位置寄存器发送消息,删除终端的位置标识。 比如, 在 SGSN发起的删除终端的 PDP上下文的场景中, SGSN会向 GGSN发送删除上下文请求( Delete PDP Context Request )消息, 此时 GGSN 可以按本实施例的方法到身份位置寄存器中删除终端的位置标识。 优选地, GGSN也可以判断当删除的是终端的最后一个激活的 PDP上下文时, 才执行 该操作。
又如, 在 GGSN发起的删除终端的 PDP上下文场景中, GGSN可以自我 触发到身份位置寄存器中删除终端的位置标识。 同样优选地, GGSN也可以 判断当删除的是终端的最后一个激活的 PDP上下文时, 才执行该操作。
再如, 在终端发起的退网 (Detach )场景中, 当收到终端发来的 Detach Request消息时, SGSN向 GGSN发送删除上下文请求( Delete PDP Context Request )消息, 此时 GGSN可以按本实施例的方法到身份位置寄存器中删除 终端的位置标识; 在 SGSN发起的终端退网场景中, SGSN向 GGSN发送删 除上下文请求(Delete PDP Context Request ) 消息, 此时 GGSN可以按本实 施例的方法到身份位置寄存器中删除终端的位置标识;在 HLR发起的退网场 景中, 当 SGSN收到来自 HLR的 Cancel Location消息时, SGSN向 GGSN发 送删除上下文请求(Delete PDP Context Request ) 消息, 此时 GGSN可以按 本实施例的方法到身份位置寄存器中删除终端的位置标识。 其基本原理都相 同, 不再赘述。
值得注意的是, 当接入服务路由器对应 GGSN与 SGSN的合设网元时, 方法的基本原理同上, 只不是将上述步骤中关于 SGSN与 GGSN之间的交互 看作网元的内部处理而已。
实施例 6:
在 EPC网络中, 当终端退网或者断链其 PDN连接 ( PDN disconnection ) 时, 接入服务路由器 (如 P-GW )还可以更新身份位置寄存器中保存的该终 端的位置标识, 如图 8所示, 包含以下步骤:
步骤 801 : 当终端要断开其 PDN连接时, 向 MME发送 PDN断链请求 ( PDN Disconnection Request ) 消息; 步骤 802: MME向 S-GW发送删除会话请求(Delete Session Request ) 消息;
本流程也可以从本步骤开始执行,对应为 MME发起的断开 PDN连接的 场景。
步骤 803: S-GW向 P-GW发送删除会话请求( Delete Session Request ) 消息;
步骤 804: P-GW向身份位置寄存器发送 "删除位置标识请求" , 该消息 中至少携带终端的位置标识;
该消息还可以携带终端的标识(如 IMSI )和 /或终端的身份标识。
优选地, 若该终端有多条活跃的 PND连接, 在 P-GW可以判断在终端删 除最后一个活跃的 PDN连接时, 才向身份位置寄存器发送上述的消息。
步骤 805: 身份位置寄存器收到消息以后, 找到该终端在本地存储的位 置标识, 并使该标识失效(如, 删除该标识) ;
优选地, 身份位置寄存器以终端标识或身份标识为索引, 找到本地保存 的位置标识。
步骤 806: 身份位置寄存器向 P-GW返回 "删除位置标识应答" 消息; 步骤 807: P-GW向 S-GW返回删除会话相应 ( Delete Session Response ) 消息;
步骤 808: S-GW向 MME返回删除会话相应 ( Delete Session Response ) 消息;
步骤 809-810: MME向基站发送承载去活请求( Deactivate Bearer Request ) 消息; 基站向终端返回连接重配置 ( RRC Connection Reconfiguration ) 消息; 步骤 811 : PDN连接删除的后续步骤。
在上述步骤中, 步骤 804与步骤 807可以并发执行。
本实施例是终端在执行删除 PDN连接时, P-GW将终端的位置标识从身 份位置寄存器中删除的例子。 实际上, 在 EPC网络中, 在任何涉及 P-GW释 放 IP地址或涉及终端退网 ( Detach )的流程中,都可以用类似的方法,让 P-GW 向身份位置寄存器发送消息, 删除终端的位置标示。
比如, 在终端发起的退网 (Detach )场景中, 终端向 MME发送 Detach Request请求, MME向 S-GW发送删除会话请求( Delete Session Request ) , S-GW向 P-GW发送删除会话请求( Delete Session Request ) 消息, P-GW可 以按本实施例的方法到身份位置寄存器中删除终端的位置标识。
又如 , 在 MME发起的退网 ( Detach )场景中, MME向 S-GW发送删除 会话请求( Delete Session Request ) , S-GW向 P-GW发送删除会话请求( Delete Session Request )消息, P-GW可以按本实施例的方法到身份位置寄存器中删 除终端的位置标识。
再如, 在 HSS发起的退网 (Detach )场景中, HSS向 MME发送 Cancel
Location消息, MME向 S-GW发送删除会话请求( Delete Session Request ) , S-GW向 P-GW发送删除会话请求( Delete Session Request ) 消息, P-GW可 以按本实施例的方法到身份位置寄存器中删除终端的位置标识。 总之, 其基 本原理都相同, 不再赘述。
还值得注意的是, 在上述实施例中, S-GW可以向 P-GW发送代理绑定 更新( Proxy Binding Update )消息(步骤 803 ); P-GW向 S-GW返回代理绑 定确认( Proxy Binding Ack )消息(步骤 807 ) , 此时 S-GW可以通过代理绑 定更新消息来触发 P-GW按本实施例的方法到身份位置寄存器中删除终端的 位置标识。
当接入服务路由器对应 P-GW与 S-GW的合设网元时, 方法的基本原理 同上, 只不是将上述步骤中关于 S-GW与 P-GW之间的交互看作网元的内部 处理而已。
实施例 7:
在 WiMAX网络中, 当终端退网或者释放其 IP地址时, 接入服务路由器
(如 ASN-GW )还可以更新身份位置寄存器中保存的该终端的位置标识, 如 图 9所示, 包含以下步骤:
步骤 901-902: 当在终端发起的退网场景中, 终端首先向基站发送注销请 求(DREG_REQ ) 消息; 基站向终端返回注销命令 ( DREG CMD ) 消息; 步骤 903: 基站向 ASN-GW发送数据通道注销请求( Path— Dereg— Req ) 消息;
步骤 904: ASN-GW向身份位置寄存器发送 "删除位置标识请求" , 该 消息中至少携带终端的位置标识;
该消息还可以携带终端标识(如 NAI、 MAC等)和 /或终端的身份标识。 步骤 905: 身份位置寄存器收到消息以后, 找到该终端在本地存储的路 由标识, 并使该标识失效(如, 删除该标识) ;
优选地, 身份位置寄存器以终端的标识或身份标识为索引, 找到本地保 存的位置标识。
步骤 906: 身份位置寄存器向 ASN-GW返回 "删除位置标识应答"消息; 步骤 907: ASN-GW执行其他与终端退网相关的操作;
步骤 908-909: ASN-GW向基站返回数据通道删除响应( Path— Dereg— Rsp ) 消息; 基站向 ASN-GW返回数据通道删除证实 ( Path— Dereg— Ack ) 消息。
在上述步骤中, 步骤 904可以与后续的步骤 907并发执行, 没有必须的 先后顺序; 步骤 904-906也可以在收到步骤 909的数据通道删除确认消息以 后再执行。
本实施例是终端在触发退网时, ASN-GW将终端的位置标识从身份位置 寄存器中删除的例子。 实际上, 在 WiMAX网络中, 在任何涉及释放终端 IP 地址、触发终端退网( Network Exit )的流程中,都可以用类似方法,让 ASN-GW 向身份位置寄存器发送消息, 删除终端的位置标示。
比如,在释放终端 IP地址的场景中,终端会使用 DHCP协议定义的流程, 当 ASN-GW收到相应的消息时, ASN-GW可以按本实施例的方法到身份位置 寄存器中删除终端的位置标识。
又如,在 AAA服务器发起的终端退网场景中, AAA服务器会向 ASN-GW 发送 RADIUS Disconnect-Request消息, ASN-GW可以按本实施例的方法到身 份位置寄存器中删除终端的位置标识; 或着, AAA服务器向终端的鉴权器 ( Authenticator ) 发送该消息, 然后鉴权器再向 ASN-GW 发送 NetExit— MS— State— Change— Req消息 ,收到该消息时 , ASN-GW再按本实施例 的方法到身份位置寄存器中删除终端的位置标识; 或者, ASN-GW收到鉴权 器发来的消息时, 先向基站发送数据通道注销请求( Path— Dereg— Req )消息, 等到基站向其返回数据通道删除响应 ( Path— Dereg— Rsp ) 消息时, ASN-GW 再按本实施例的方法到身份位置寄存器中删除终端的位置标识。
再如在 ASN-GW发起的终端退网场景中, ASN-GW可以自己触发按本 实施例的方法到身份位置寄存器中删除终端的位置标识; 再如, 在基站发起 的终端退网场景中, 基站会向 ASN-GW 发送数据通道注销请求 ( Path— Dereg— Req ) 消息, 收到该消息是, ASN-GW按本实施例的方法到身 份位置寄存器中删除终端的位置标识。 总之, 其基本原理都相同, 不再赘述。
值得说明的是, 若终端的通信对端也保存有该终端的位置标识, 则接入 服务路由器(如上述的 GGSN、 P-GW和 ASN-GW等)在通知身份位置寄存 器时, 还可以同时通知终端的对端, 使对端删除在本地保存的该终端的位置 标识, 删除保存的该终端的身份标识与位置标识的对应关系, 其原理是相同 的, 不再赘述。 这里所说的终端的通信对端是指与终端通信的另一终端 ( Correspondent Node )或主机( Host ) , 或者这另一终端 /主机的接入服务路 由器(如, GGSN、 P-GW, ASN-GW等) 。
除此之外, 上述方法还可以应用在其他的网络上, 比如应用在 xDSL 网 络、 WLAN网络中。此时,宽带接入服务器(Broadband Remote Access Server, BRAS )可以作为本发明中的接入服务路由器,在终端退网或者是释放终端的 IP地址时, 向身份位置寄存器中删除终端的位置标识, 原理是类同的。
显然, 本领域的技术人员应该明白, 上述的实施方式的各模块、 各步骤 可以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分 布在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的 程序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 或者将它们分别制作成各个集成电路模块, 或者将它们的多个模块或者步骤 制作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和 软件结合。 以上所述仅为本发明的实施例而已, 并不用于限制本发明, 对于本领域 的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则 之内, 所做的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围 之内。
工业实用性
上述实施方式降低了身份位置分离技术在现网中部署的成本,以及风险, 有利于该技术的发展和应用。

Claims

权 利 要 求 书
1、 一种获取终端的身份标识的方法, 包括:
将终端的身份标识配置在身份位置寄存器中; 以及
接入服务路由器从所述身份位置寄存器获取所述终端的身份标识, 并将 获取到的身份标识通知给所述终端。
2、 如权利要求 1所述的方法, 其中:
在所述将终端的身份标识配置在身份位置寄存器中的步骤中, 釆用终端 标识作为所述身份标识的索引;
所述接入服务路由器从所述身份位置寄存器获取所述终端的身份标识的 步骤包括:
所述接入服务路由器将相应的终端标识发送给所述身份位置寄存器; 以 及
所述身份位置寄存器以接收到的终端标识为索引, 查找所述终端的身份 标识, 并将查找到的身份标识返回给所述接入服务路由器。
3、 如权利要求 2所述的方法, 其还包括:
所述接入服务路由器为所述终端分配位置标识, 并将所述位置标识发送 给所述身份位置寄存器;
所述身份位置寄存器收到所述位置标识后, 建立或更新所述终端的身份 标识与位置标识的对应关系信息。
4、 如权利要求 3所述的方法, 其中:
所述接入服务路由器在将为所述终端分配的位置标识发送给所述身份位 置寄存器时, 还同时携带所述终端的身份标识和 /或终端标识。
5、 如权利要求 3或 4所述的方法, 其中, 所述接入服务路由器为所述终 端分配位置标识,并将所述位置标识发送给所述身份位置寄存器的步骤包括: 所述接入服务路由器从所述身份位置寄存器获取所述终端的身份标识之 后, 为所述终端分配位置标识, 并将所述位置标识发送给所述身份位置寄存
H; 或者
所述接入服务路由器将相应的终端标识发送给所述身份位置寄存器的同 时, 将为终端分配的所述位置标识发送给所述身份位置寄存器。
6、 如权利要求 3所述的方法, 其还包括:
在所述终端退网或释放其 IP地址时, 所述接入服务路由器通知所述身份 位置寄存器和 /或所述终端的通信对端删除所述终端的位置标识。
7、 如权利要求 6所述的方法, 其中, 所述接入服务路由器通知所述身份 位置寄存器和 /或所述终端的通信对端删除所述终端的位置标识的步骤包括: 所述接入服务路由器通过向所述身份位置寄存器和 /或所述终端的通信 对端发送请求消息, 通知所述身份位置寄存器和 /或所述终端的通信对端删除 所述终端的位置标识, 在该请求消息中携带终端的身份标识、 位置标识和终 端标识中的一个或多个。
8、 如权利要求 2所述的方法, 其中:
所述接入服务路由器为在宽带码分多址 (WCDMA)网络或时分同步码分
GGSN和服务通用分组无线服务支持节点 (SGSN)合设的网元;
所述接入服务路由器将相应的终端标识发送给所述身份位置寄存器的步 骤包括:
所述 GGSN向身份位置寄存器发送请求身份标识的消息, 在该消息中携 带终端标识, 以获取所述终端的身份标识;
所述身份位置寄存器将查找到的身份标识返回给所述接入服务路由器的 步骤包括:
所述身份位置寄存器向所述 GGSN返回应答消息, 在该消息中携带所述 身份标识。
9、 如权利要求 8所述的方法, 其还包括: 所述 GGSN为所述终端分配位置标识, 将所分配的位置标识发送给所述 身份位置寄存器, 同时携带所述终端的身份标识和 /或终端标识; 以及
所述身份位置寄存器收到所述位置标识后, 建立或更新所述终端的身份 标识与位置标识的对应关系信息, 向 GGSN返回应答消息。
10、 如权利要求 8所述的方法, 其中:
所述 GGSN是在接收到 SGSN的创建上下文请求消息后, 执行所述向身 份位置寄存器发送请求身份标识的消息的步骤;
所述接入服务路由器将获取到的身份标识通知给所述终端的步骤包括: 所述 GGSN在获取到所述终端的身份标识后, 向 SGSN返回创建上下文 应答消息, 携带所述终端的身份标识; 以及
所述 SGSN收到所述创建上下文应答消息后, 向所述终端返回激活上下 文接受消息, 在该消息中携带所述终端的身份标识。
11、 如权利要求 8所述的方法, 其中:
所述 GGSN是在收到网络侧发送给终端的数据且需要为所述终端发起上 下文激活时, 执行所述向身份位置寄存器发送请求身份标识的消息的步骤; 所述接入服务路由器将获取到的身份标识通知给所述终端的步骤包括: 所述 GGSN获取到所述终端的身份标识后, 通过协议数据单元 (PDU)通 知请求消息将所述终端的身份标识发送给 SGSN; 以及
所述 SGSN通过请求分组数据协议 (PDP)上下文激活消息将所述身份标 识发送给所述终端。
12、 如权利要求 2所述的方法, 其中:
所述接入服务路由器为全球微波互联接入 (WiMAX)网络中的接入服务 网络网关 (ASN-GW), 或 ASN-GW与其他节点合设的网元;
所述接入服务路由器将相应的终端标识发送给所述身份位置寄存器的步 骤包括:
所述 ASN-GW向身份位置寄存器发送请求身份标识的消息,在该消息中 携带终端标识, 以获取所述终端的身份标识;
所述身份位置寄存器将查找到的身份标识返回给所述接入服务路由器的 步骤包括:
所述身份位置寄存器向所述 ASN-GW返回应答消息,在该消息中携带所 述身份标识。
13、 如权利要求 12所述的方法, 其还包括:
所述 ASN-GW为所述终端分配位置标识,将所分配的位置标识发送给所 述身份位置寄存器, 同时携带所述终端的身份标识和 /或终端标识; 以及
所述身份位置寄存器收到所述位置标识后, 建立或更新所述终端的身份 标识与位置标识的对应关系信息, 向 ASN-GW返回应答消息。
14、 如权利要求 12所述的方法, 其中:
所述 ASN-GW是在接收到所述终端发送的请求获取 IP地址的动态主机 设置协议 (DHCP)发现消息后, 执行所述向身份位置寄存器发送请求身份标识 的消息的步骤;
所述接入服务路由器将获取到的身份标识通知给所述终端的步骤包括: 所述 ASN-GW获取到所述终端的身份标识后, 向所述终端返回 DHCP 提供消息, 在该消息中携带所述身份标识。
15、 如权利要求 2所述的方法, 其中:
所述接入服务路由器为演进分组核心 ( EPC ) 网络中的分组数据网络网 关 (P-GW), 或 P-GW与服务网关 (S-GW)合设的网元;
所述接入服务路由器将相应的终端标识发送给所述身份位置寄存器的步 骤包括:
所述 P-GW向身份位置寄存器发送请求身份标识的消息, 在该消息中携 带终端标识, 以获取所述终端的身份标识;
所述身份位置寄存器将查找到的身份标识返回给所述接入服务路由器的 步骤包括: 所述身份位置寄存器向所述 P-GW返回应答消息, 在该消息中携带所述 身份标识。
16、 如权利要求 15所述的方法, 其还包括:
所述 P-GW为终端分配位置标识, 将所分配的位置标识发送给所述身份 位置寄存器, 同时携带所述终端的身份标识和 /或终端标识;
所述身份位置寄存器收到所述位置标识后, 建立或更新所述终端的身份 标识与位置标识的对应关系信息。
17、 如权利要求 15所述的方法, 其中:
所述 P-GW是在分组数据网激活流程或所述终端的附着流程中, 接收到 S-GW发送的创建会话请求消息或代理绑定更新消息后, 执行所述向身份位 置寄存器发送请求身份标识的消息的步骤;
所述接入服务路由器将获取到的身份标识通知给所述终端的步骤包括: 所述 P-GW获取到所述身份标识后, 向所述 S-GW返回创建会话响应消 息或代理绑定确认, 在该消息中携带所述终端的身份标识;
所述 S-GW向移动性管理实体 (MME)返回创建会话响应消息, 在该消息 中携带所述终端的身份标识; 以及
所述 MME向所述基站发送承载建立请求消息或附着接受消息, 在该消 息中携带所述终端的身份标识, 通过所述基站将所述终端的身份标识发送给 该终端。
18、 如权利要求 2所述的方法, 其中:
所述接入服务路由器为数字用户线路 (xDSL)网络或无线局域网 (WLAN) 网络中的宽带接入服务器 (BRAS), 或 BRAS与其他节点合设的网元;
所述接入服务路由器将相应的终端标识发送给所述身份位置寄存器的步 骤包括:
所述 BRAS向身份位置寄存器发送请求身份标识的消息, 在该消息中携 带终端标识, 以获取所述终端的身份标识; 所述身份位置寄存器将查找到的身份标识返回给所述接入服务路由器的 步骤包括:
所述身份位置寄存器根据所述终端标识查找到对应的身份标识后, 向所 述 BRAS返回应答消息, 在该消息中携带所述身份标识。
19、 如权利要求 8所述的方法, 其还包括:
所述 GGSN在接收到所述 SGSN发送的删除上下文请求消息后或在自身 触发删除所述终端的位置标识时, 向所述身份位置寄存器和 /或所述终端的通 信对端发送请求删除位置标识的消息,在该消息中携带所述终端的位置标识、 身份标识和终端标识的一个或多个;
所述身份位置寄存器和 /或所述通信对端在接收到所述请求删除位置标 识的消息后, 查找所述终端的位置标识, 并使查找到的该终端的位置标识失 效。
20、 如权利要求 12所述的方法, 其还包括:
所述 ASN-GW在所述终端的退网或释放 IP地址的流程中, 向所述身份 位置寄存器和 /或所述终端的通信对端发送请求删除位置标识的消息, 在该消 息中携带所述终端的位置标识、 身份标识和终端标识的一个或多个;
所述身份位置寄存器和 /或所述终端的通信对端在接收到所述请求删除 位置标识的消息后, 查找所述终端的位置标识, 并使查找到的该终端的位置 标识失效。
21、 如权利要求 15所述的方法, 其还包括:
所述 P-GW在所述终端的退网、释放 IP地址或 PDN连接断链的流程中, 向身份位置寄存器和 /或所述终端的通信对端发送请求删除位置标识的消息, 在该消息中携带所述终端的位置标识、 身份标识和终端标识的一个或多个; 所述身份位置寄存器和 /或所述终端的通信对端在接收到所述请求删除 位置标识的消息后, 查找所述终端的位置标识, 并使查找到的该终端的位置 标识失效。
22、 如权利要求 21所述的方法, 其中:
所述 P-GW在接收到所述 S-GW发送的删除会话请求消息或代理绑定更 新消息后, 向所述身份位置寄存器和 /或所述终端的通信对端发送请求删除位 置标识的消息。
23、 如权利要求 6、 7、 19、 21或 22所述的方法, 其中:
所述终端的通信对端是与所述终端通信的另一终端或主机, 或者是与所 述终端通信的另一终端或主机的接入服务路由器。
24、 一种获取终端的身份标识的系统, 包括: 身份位置寄存器和接入服 务路由器, 其中:
所述身份位置寄存器设置为: 保存终端的身份标识;
所述接入服务路由器设置为: 从所述身份位置寄存器获取所述终端的身 份标识, 并将获取到的身份标识通知给所述终端。
25、 如权利要求 24所述的系统, 其中:
所述接入服务路由器是设置为: 从所述身份位置寄存器获取所述终端的 身份标识时, 将相应的终端标识发送给所述身份位置寄存器;
所述身份位置寄存器还设置为: 以接收到的终端标识为索引, 查找所述 终端的身份标识, 并将查找到的身份标识返回给所述接入服务路由器。
26、 如权利要求 25所述的系统, 其中:
所述接入服务路由器还设置为: 为所述终端分配位置标识, 并将该位置 标识发送给所述身份位置寄存器;
所述身份位置寄存器还设置为: 在接收到所述位置标识后, 建立或更新 所述终端的身份标识与位置标识的对应关系信息。
27、 如权利要求 26所述的系统, 其中:
所述接入服务路由器还设置为: 在将为所述终端分配的位置标识发送给 所述身份位置寄存器时, 同时携带所述终端的身份标识和 /或终端标识。
28、 如权利要求 26或 27所述的系统, 其中:
所述接入服务路由器是设置为以如下方式为所述终端分配位置标识, 并 将该位置标识发送给所述身份位置寄存器:
从所述身份位置寄存器获取所述终端的身份标识之后, 为所述终端分配 位置标识, 并将所述位置标识发送给所述身份位置寄存器; 或者
将相应的终端标识发送给所述身份位置寄存器的同时, 将为终端分配的 所述位置标识发送给所述身份位置寄存器。
29、 如权利要求 26所述的系统, 其中:
所述接入服务路由器还设置为在所述终端退网或释放其 IP地址时,通知 所述身份位置寄存器和 /或所述终端的通信对端删除所述终端的位置标识。
30、 如权利要求 29所述的系统, 其中:
所述接入服务路由器在宽带码分多址 (WCDMA)网络或时分同步码分多 与服务通用分组无线服务支持节点 (SGSN)的合设网元; 在全球微波互联接入 (WiMAX)网络中为接入服务网络网关 (ASN-GW) , 或 ASN-GW与其他节点合 设的网元; 在演进分组核心 (EPC ) 网络中为分组数据网络网关 (P-GW ) , 或 P-GW与服务网关 (S-GW )合设的网元。
PCT/CN2011/081122 2011-02-01 2011-10-21 一种获取终端的身份标识的方法及系统 WO2012103755A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110034479.7 2011-02-01
CN201110034479.7A CN102625285B (zh) 2011-02-01 2011-02-01 一种获取终端的身份标识的方法及系统

Publications (1)

Publication Number Publication Date
WO2012103755A1 true WO2012103755A1 (zh) 2012-08-09

Family

ID=46564931

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/081122 WO2012103755A1 (zh) 2011-02-01 2011-10-21 一种获取终端的身份标识的方法及系统

Country Status (2)

Country Link
CN (1) CN102625285B (zh)
WO (1) WO2012103755A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592447A (zh) * 2014-10-22 2016-05-18 中兴通讯股份有限公司 一种分配移动终端的身份标识的方法和装置
WO2018112897A1 (zh) 2016-12-23 2018-06-28 华为技术有限公司 一种会话激活方法及装置和系统
CN109548010B (zh) * 2017-07-31 2021-02-12 华为技术有限公司 获取终端设备的身份标识的方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801764A (zh) * 2006-01-23 2006-07-12 北京交通大学 一种基于身份与位置分离的互联网接入方法
CN101119312A (zh) * 2007-09-13 2008-02-06 北京交通大学 一种一体化网络移动切换管理的实现方法
CN101656765A (zh) * 2009-09-14 2010-02-24 中兴通讯股份有限公司 身份位置分离网络的名址映射系统及数据传输方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7374099B2 (en) * 2004-02-24 2008-05-20 Sun Microsystems, Inc. Method and apparatus for processing an application identifier from a smart card
CN101123536B (zh) * 2007-09-19 2010-12-15 北京交通大学 实现一体化网络位置管理的方法
CN101483675B (zh) * 2008-01-11 2012-07-04 华为技术有限公司 一种网络设备查找方法和网络设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801764A (zh) * 2006-01-23 2006-07-12 北京交通大学 一种基于身份与位置分离的互联网接入方法
CN101119312A (zh) * 2007-09-13 2008-02-06 北京交通大学 一种一体化网络移动切换管理的实现方法
CN101656765A (zh) * 2009-09-14 2010-02-24 中兴通讯股份有限公司 身份位置分离网络的名址映射系统及数据传输方法

Also Published As

Publication number Publication date
CN102625285B (zh) 2017-04-26
CN102625285A (zh) 2012-08-01

Similar Documents

Publication Publication Date Title
KR101002810B1 (ko) 패킷 스위칭 도메인에서 단말의 위치 등록 방법 및 장치
US9131473B2 (en) Method, device, and communication system for establishing connection with network management system
WO2011050678A1 (zh) 一种基于控制面与媒体面分离的网络架构实现的通信网络
WO2013071819A1 (zh) 实现身份位置分离、分配接口标识的方法及网元和ue
WO2007051407A1 (fr) Systeme de communication mobile ameliore et procede d’enregistrement de terminal correspondant
JP2010539758A (ja) Lteシステムにおいて、ユーザ静的ipアドレスのアドレッシングをサポートする方法、システムおよび装置
WO2009006848A1 (fr) Procédé de commutation de réseau d'accès, dispositif de gestion d'ancrage, et dispositif d'accès mobile
WO2016150140A1 (zh) 一种基于sdn的网关中控制报文的处理方法及系统
JP2014057352A (ja) アクセスノードの間でハンドオーバを行う方法及びアクセスノード
WO2010072149A1 (zh) 实现用户设备切换的方法、装置及系统
WO2010108352A1 (zh) 接入网策略发送方法、归属接入网络发现和选择功能单元
WO2014067420A1 (zh) 分组数据网络类型的管理方法、装置及系统
WO2011035667A1 (zh) 实现网间漫游的方法、系统及查询和网络附着方法及系统
WO2011085618A1 (zh) 一种终端切换的方法及相应的通信网络
JP2021520657A (ja) システム、移動体通信ネットワーク構成要素、ネットワーク機能を選択するための方法及びネットワーク機能を登録するための方法
WO2011032455A1 (zh) 切换管理及切换时用户数据管理的方法、系统和agr
WO2011011945A1 (zh) 消息发送方法及通用无线分组业务服务支持节点
JP6942890B2 (ja) 移動体通信ネットワーク構成要素及びサービスを要求するための方法
US9516681B2 (en) Method, device and system for accessing core network by means of non-3GPP access
WO2013163945A1 (zh) 一种机器类通信事件的上报方法及相应装置
WO2009149631A1 (zh) 状态切换信息处理方法、移动接入网关和移动终端
US8705471B2 (en) Method and system for implementing ID/locator mapping
WO2011032417A1 (zh) 发起通信、信息/数据报文的转发及路由配置方法和系统
WO2012103755A1 (zh) 一种获取终端的身份标识的方法及系统
WO2011120365A1 (zh) 多穴终端建立连接的方法和系统

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

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

Country of ref document: EP

Kind code of ref document: A1