WO2009138030A1 - 策略和计费控制规则的获取方法及装置 - Google Patents

策略和计费控制规则的获取方法及装置 Download PDF

Info

Publication number
WO2009138030A1
WO2009138030A1 PCT/CN2009/071757 CN2009071757W WO2009138030A1 WO 2009138030 A1 WO2009138030 A1 WO 2009138030A1 CN 2009071757 W CN2009071757 W CN 2009071757W WO 2009138030 A1 WO2009138030 A1 WO 2009138030A1
Authority
WO
WIPO (PCT)
Prior art keywords
policy
address
session
information
network
Prior art date
Application number
PCT/CN2009/071757
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 WO2009138030A1 publication Critical patent/WO2009138030A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/66Policy and charging system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2215/00Metering arrangements; Time controlling arrangements; Time indicating arrangements
    • H04M2215/20Technology dependant metering
    • H04M2215/204UMTS; GPRS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/04Network layer protocols, e.g. mobile IP [Internet Protocol]

Definitions

  • the embodiments of the present invention relate to a network technology, and in particular, to a method and an apparatus for acquiring a policy and a charging control rule. Background technique
  • the Non_3GPP Access network element in this step is an Evolved Packet Data Gateway (EPDG); Worldwide Interoperability for Microwave Access, referred to as WiMAX system, the Non-3GPP Access network element in this step is the Access Service Network Gateway (ASNGW); for the Code Division Multiple Access (CDMA) system
  • the Non_3GPP Access network element in this step is an Access Gateway (AGW).
  • EDG Evolved Packet Data Gateway
  • ASNGW Access Service Network Gateway
  • CDMA Code Division Multiple Access
  • the Non-3GPP Access network element in this step is a packet data service. Packet Date Service Node (PDSN).
  • PDSN Packet Date Service Node
  • BBERF Bearer Binding and Event Reporting Function
  • PCC Policy and Charging Control
  • Step 103 The UE decides to switch to the 3GPP network (UE Initiate HO) to initiate handover between the ⁇ -3GPP network and the 3GPP network.
  • Step 105 The UE switches to the 3GPP network, and sends the attachment through the access network element of the 3GPP network.
  • Request (Attach Request) message to the mobility management network element; or the UE needs to switch to the 3GPP network, but the UE also camps on the non-3GPP network, and the UE sends the attach request message to the mobility through the access network element of the non-3GPP network.
  • Manage network elements For the GSM/EDGE Radio Access Network (GERAN) / UMTS Terrestrial Radio Access Network (UTRAN) network, the mobility management network element serves the general packet radio service.
  • GERAN GSM/EDGE Radio Access Network
  • UTRAN UMTS Terrestrial Radio Access Network
  • the mobility management network element is MME (Mobility Management Entity, Referred to as Li E).
  • Step 107 UE, mobility management network element, home subscriber server (Home Subscriber
  • HSS Home Subscriber Service
  • Step 109 Perform a Location Update and Insert Subscriber Data process between the mobility management network element and the HSS, register the address of the mobility management network element into the HSS, and the HSS inserts the subscription data of the UE. Go to the mobility management network element.
  • the HSS sends the PDN connection information used by the UE in the non-3GPP network to the mobility management network element, that is, the mobility management network element obtains each access point name used by the UE in the non-3GPP network ( Access Point Name (APN), User Face Anchor Gateway (PGW) address information.
  • APN Access Point Name
  • PGW User Face Anchor Gateway
  • Step 111 The mobility management network element initiates a PDN connection establishment procedure for the obtained APN and PGW address records, that is, sends a Create Default Bearer Request message.
  • Step 113 After receiving the foregoing message, the serving gateway (Serving Gateway) sends a Create Default Bearer Request message to the PGW, where the message carries the APN used by the PDN connection, and the IP address request indication information.
  • the serving gateway Serving Gateway
  • Step 115 After receiving the foregoing message, the PGW locates the PDN connection used by the UE according to the APN, and the PJGW keeps the IP address corresponding to the PDN connection unchanged according to the IP address request indication information. Correct On the established PDN connection, the PGW sends an IP Connectivity Access Network Session (IP-CAN Session) to modify the message to the Policy and Charging Rule Function (PCRF) to request a PDN connection.
  • IP-CAN Session IP Connectivity Access Network Session
  • PCRF Policy and Charging Rule Function
  • the modified policy and charging control (PCC) rule carries the APN used by the UE.
  • the PGW returns a Create Default Bearer Response message to the monthly gateway.
  • Step 117 PCRF positioned according to the APN used by the UE to the UE using the IP-CAN Session, IP-CAN Session returns acknowledgment information to modify the PGW, the modified PCC rules to the PGW 0 returns step 119, PGW returns a Create Default Bearer Response Information to the service gateway.
  • Step 121 The service gateway returns a default bearer response message to the mobility management network element.
  • Step 123 The mobility management network element returns an Attach Accept message to the UE.
  • the prior art only considers the scenario in which the IP address types used in the IP-CAN Session are consistent, because the load capacity of each network is different, the source network and The IP address type used in the IP-CAN Session in the target network may be inconsistent, such as the IP address type used in the IP-CAN Session in the source network is IPv4/IPV6, but used in the IP-CAN Session in the target network.
  • the IP address type can only be IPv4 or IPv6.
  • IP address types used in the IP-CAN session in the source network and the target network are inconsistent, the solution provided by the prior art may cause the service interruption after the handover and the correct PCC rules cannot be delivered.
  • IP in the source network The IP address type used in the CAN session is IPv4/IPv6.
  • the PCRF sends the IPv4/IPv6 PCC rules to the PGW in an IP-CAN session, but because of the target network.
  • IP address type used in the IP-CAN Session can only be IPv4 or IPv6, so the PGW can only use the IPv4 or IPv6 PCC rules in one IP-CAN Session, and the PCC rules corresponding to the other IP type cannot be used. All services corresponding to this IP type will be interrupted, and
  • the PCRF can locate the IP-CAN Session used by the UE according to the APN information used by the UE. But if an APN In the case of multiple IP-CAN Ses ions, the PCRF cannot locate the correct IP-CAN Ses ion based on the APN. Summary of the invention
  • An object of the embodiments of the present invention is to provide a method and device for acquiring a policy and a charging control rule, a method, a policy, a charging control function entity, and a communication system for locating an IP connection access network session in a function entity and a charging rule function entity.
  • the function entity that locates the IP connection to access the network session and can solve the problem of how to obtain the PCC rule when the IP address type used in the IP-CAN Ses ion in the source network and the target network is inconsistent when the network is switched.
  • the embodiment of the present invention provides a method for obtaining a policy and a charging control rule, including:
  • the embodiment of the present invention further provides a method for locating an ip connection to access a network session in a policy and charging rule function entity, including:
  • the embodiment of the present invention further provides a method for acquiring a policy and a charging rule, which includes: an indication message sending module, configured to carry the IP address information in a session indication message and send the function to the policy and charging rule function entity;
  • the rule receiving module is configured to receive a policy and a charging control rule corresponding to the IP address information returned by the policy and charging rule function entity according to the IP address information in the IP connection access network session.
  • the embodiment of the present invention further provides a policy and charging control function entity, including: an indication message receiving module, configured to receive a session indication message carrying IP address information; a rule sending module, configured to: according to the session indication message, the IP address information is
  • the corresponding policy and charging control rule in the IP connection access network session is sent;
  • the session indication message modifying the network according to a type of network accessed by the user equipment.
  • the IP address information is sent in the corresponding policy and charging control rules in the IP connection access network session.
  • An embodiment of the present invention further provides a communication system, including the foregoing apparatus for acquiring policy and charging control rules, and a policy and charging control function entity.
  • the embodiment of the present invention further provides a functional entity for locating an ip connection to access a network session, including:
  • An identifier information obtaining module configured to acquire PDN identifier information
  • a positioning module configured to locate an IP connection access network session according to the PDN identification information.
  • the method and device for obtaining the foregoing policy and charging control rule are used to carry the IP address information in the session indication message to the policy and charging rule function entity, and the policy and charging rule function entity.
  • the corresponding policy and charging control rule in the IP connection access network session according to the IP address information returned by the IP address information can solve the use in the IP-CAN Ses ion in the source network and the target network during network switching.
  • the problem of how the PCC rules are handled when the IP address types are inconsistent, so that the service information used by the UE in the source network can be recovered in the target network, and the service of the UE is not interrupted, and the UE experience is not affected.
  • FIG. 1 is a flow chart of a UE switching from a non-3GPP network to a 3GPP network in the prior art
  • FIG. 2 is a schematic structural diagram of a network system according to an embodiment of the present invention
  • Embodiment 3 is a flow chart of Embodiment 1 of a method for acquiring a policy and a charging control rule according to an embodiment of the present invention
  • FIG. 4 is a flowchart of Embodiment 2 of a method for acquiring a policy and a charging control rule according to an embodiment of the present invention
  • FIG. 5 is a flowchart of Embodiment 3 of a method for acquiring a policy and a charging control rule according to an embodiment of the present invention
  • Embodiment 6 is a flow chart of Embodiment 4 of a method for acquiring a policy and a charging control rule according to an embodiment of the present invention
  • FIG. 7 is a flowchart of Embodiment 5 of a method for acquiring a policy and a charging control rule according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram 1 of a device for acquiring a policy and a charging control rule according to an embodiment of the present invention
  • FIG. 9 is a schematic structural diagram 2 of a device for acquiring a policy and a charging control rule according to an embodiment of the present invention
  • FIG. Schematic diagram of the fee structure function entity structure
  • FIG. 11 is a schematic structural diagram of an embodiment of a functional entity for locating an IP connection access network session according to the present invention. detailed description
  • FIG. 2 is a schematic structural diagram of a network system to which an embodiment of the present invention is applied, that is, a system architecture diagram of an evolved network, including an evolved UMTS terrestrial radio access network E-UTRAN 11, a mobility management network element (MME) 12, and a serving gateway entity ( Serving Gateway, ie SGW) 13.
  • E-UTRAN 11 evolved UMTS terrestrial radio access network
  • MME mobility management network element
  • SGW serving gateway entity
  • Packet Data Network Gateway (PGW) 14 Policy and Charging Rules Function Entity (PCRF) 15, Home Subscriber Server (HSS) 16, UMTS UMTS Terrestrial Radio Access Network (UTRAN) 17, GSM/EDGE Radio Access Network (GERAN) 18, Serving GPRS Supporting Node, Serving GPRS Supporting Node, Referred to as SGSN) 19, non-3GPP IP access network (Non-3GPP IP Access) 20 and Authentic, Authorized and Accounting Server (AAA Server) 21 .
  • the SGW network element in this embodiment is described in the policy and charging control architecture as a bearer binding and event reporting function network element; the PGW is described in the policy and charging control architecture as a policy and charging execution function network element (Policy and Charging Enforcement Function (PCEF).
  • Policy and Charging Enforcement Function Policy and Charging Enforcement Function
  • the E-UTRAN 11 is used to implement all functions related to the evolved network radio; the E E 12 is responsible for the mobility management of the control plane, including user context and mobility state management, assigning user temporary identity, etc.; SGW 13 It is a user plane anchor between 3GPP access networks, terminating the interface of E-TURAN 11; PGW 14 is a user plane anchor between 3GPP access network and non-3GPP access network, termination and external packet data network (Packet Data Network, or PDN) interface (referred to as the user plane anchor gateway in this patent).
  • PCRF 15 is used for policy control decisions and flow accounting control functions.
  • the HSS 16 is used to store user subscription information.
  • Non-3GPP IP Access 20 is mainly an access network defined by non-3GPP organizations, such as Wireless Local Area Network (WLAN), Worldwide Interoperability for Microwave Access (?p Wimax), and multiple code divisions. A network such as Code Division Multiple Access (? p CDMA).
  • the AAA Server 21 is configured to perform access authentication, authorization, and accounting functions for User Equipment (UE) 22.
  • UE User Equipment
  • Embodiment 1 is a flowchart of Embodiment 1 of a method for acquiring a policy and a charging control rule according to the present invention. As shown in FIG. 3, the following specifically includes:
  • Step 301 Carry the IP address information in the session indication message and send it to the policy and charging rule function entity.
  • Step 303 The receiving policy and charging rule function entity returns a policy and a charging control rule corresponding to the IP address information in the IP connection access network session according to the IP address information.
  • Specific can include:
  • the IP connection access network session indication message sent by the user plane anchor gateway includes the IP address information used by the user equipment in the target network, and the IP address information may be a specific IP address used by the IP-CAN session, such as an IPv4 address or IPv6. Address or IPv4/IPv6 address, also available I think that the IP address indication bit used by this IP-CAN Ses ion, such as the PGW carrying the IP address of the IP address (IP Addres s Flag) in the IP-CAN Ses s ion modification message, the PGW sets this cell to IPv4 to indicate this IP.
  • IP Addres s Flag IP Addres s Flag
  • IPv4 address PGW sets this cell to IPv6 to indicate that this IP-CAN Ses ion uses IPv6 address; PGW sets this cell to IPv4/IPv6 to indicate that this IP-CAN Ses ion uses IPv4 address and IPv6 address.
  • the IP address information may include a single IP address information or two IP address information, that is, the UE uses a single IP address in the target network, that is, an IPv4 address or an IPv6 address, or the UE uses two IP addresses in the target network. , that is, an IPv4 address and an IPv6 address.
  • the IP connection access network session indication message includes IP address information, PDN identification information used by the user equipment in the target network.
  • the policy and charging rule function entity may locate an IP connection access network session used by the user equipment according to the PDN identification information; and obtain the IP address in the IP connection access network session according to the IP address information used by the user equipment in the target network.
  • the corresponding policy and charging control rule sends the policy and charging control rule to the user plane anchor gateway.
  • the policy and charging function entity may locate an IP connection access network session used by the user equipment according to the PDN identification information; and obtain an IP address used by the user equipment in the target network according to the IP address information used by the user equipment in the target network. That is, the IP address corresponding to the IP address information corresponds to the policy and charging control rule in the IP connection access network session, and the policy and charging control rule are modified according to the network type accessed by the user equipment, and the modified The policy and charging control rules are sent to the user plane anchor gateway.
  • the policy and charging rule function entity may also delete the policy and charging control rule corresponding to the IP address that is used by the user equipment in the source network but not used in the target network according to the received deletion indication.
  • Deleting the IP address information used by the user equipment in the source network but not used in the target network specifically includes: The policy and charging rule function entity obtains the deleted IP address information from the IP connection access network session indication message; according to the deleted IP The address information deletes the policy and charging control corresponding to the IP address that the user equipment uses in the source network but is not used in the target network. Rules.
  • the deleted IP address information may be a specific IPv4 address or an IPv6 address that is deleted, or may be a deleted IP address indication bit.
  • the PGW carries the deleted IP address flag in the IP-CAN Ses ion modification message (De l ete IP Addres s F lag ) cell, PGW sets this cell to IPv4 to indicate that the IPv4 address is deleted; PGW sets this cell to IPv6 to indicate that the IPv6 address is deleted.
  • Deleting the IP address information that is used by the user equipment in the source network but not used in the target network may also be:
  • the policy and charging rule function entity obtains indication information from the IP connection access network session indication message, the indication information indicates the user equipment In the target network, only the IP address type corresponding to the IP address information carried in the network session indication message can be accessed by using the IP connection; the policy corresponding to the IP address that is not used by the user equipment in the target network and used in the target network is deleted according to the indication information. And billing control rules.
  • the PGW carries the indication information indication policy and the charging rule function entity in the IP-CAN Ses ion modification message, and the user equipment can only use the IP address corresponding to the IP address information carried in the IP-CAN Ses s ion modification message in the target network.
  • the address type another type of IP address cannot be used and will be deleted.
  • the PCRF deletes the information used by another type of IP address.
  • the indication information of this method may be IP protocol stack type information supported by the target network.
  • protocol stack type information is IPv4, it means that the user equipment can only use the IPv4 address in the target network; if the protocol stack type information is IPv6, it means that the user equipment can only use the IPv6 address in the target network; if the protocol stack type information is IPv4/ IPv6 means that the user equipment can use IPv4 address and IPv6 address in the target network.
  • Deleting the IP address information that the user equipment uses in the source network and is not used in the target network may specifically include: the user plane anchor gateway sends an IP connection access network session termination indication message to the policy and charging rule function entity, and the IP connection The access network session termination indication message carries the deleted IP address information.
  • the policy and charging rule function entity deletes the policy and charging control rule corresponding to the IP address that is not used by the user equipment in the target network according to the deleted IP address information.
  • the IP connection access network session indication message may include the user equipment in the target network. IP address information used in the original PDN identification information, target PDN identification information. Alternatively, the IP connection access network session indication message includes IP address information and original PDN identification information used by the user equipment in the target network.
  • the policy and charging rule function entity may locate the IP connection access network session used by the user equipment according to the original PDN identification information; and obtain the IP address used by the user equipment in the target network according to the IP address information used by the user equipment in the target network.
  • the IP connection accesses the corresponding policy and charging control rules in the network session, and sends the policy and charging control rules to the user plane anchor gateway.
  • the policy and charging rule function entity may locate the IP connection access network session used by the user equipment according to the original PDN identification information; and obtain the user equipment to use in the target network according to the IP address information used by the user equipment in the target network. IP address in the IP connection access network session corresponding policy and charging control rules, and modify the policy and charging control rules according to the network type of the user equipment access, and send the modified policy and charging control rules to User plane anchor gateway.
  • the IP connection access network session indication message in this embodiment may further include IP address information used by the user equipment in the target network, and two target PDN identification information, and the policy and charging rule entity according to the target PDN identification information, Create 2 new IP connections to access the network session.
  • the policy and charging control rules corresponding to the two IP addresses used by the user equipment are written into their respective new IP connection network sessions.
  • the policy and charging rule entity may also create a new IP connection access network session according to the target PDN identification information; write the policy and charging control rule corresponding to any IP address used by the user equipment to its corresponding new IP connection. Enter the network session; keep the policy and charging control rules corresponding to other IP addresses used by the user equipment in the original IP connection access network session.
  • the embodiment of the present invention can solve the problem that the IP address type used in the IP-CAN Ses ion in the source network and the target network is inconsistent when the network is switched by introducing the foregoing policy and the charging control rule.
  • FIG. 4 is a method for acquiring a policy and charging control rule according to the present invention, where a user equipment is switched from a non-3GPP network to a 3GPP network or a user equipment needs to be handed over from a non-3GPP network to a 3GPP network, a serving gateway and a user plane anchor gateway.
  • An embodiment using a GTP (GRPS Tunneling Protocol, GPRS Tuning Pro toco l) protocol As shown in Figure 4, the specific includes:
  • Step 401 The user equipment accesses in the non-3GPP.
  • the Non-3GPP GW in this step is the evolved packet data gateway EPDG;
  • the Non-3GPP GW in this step is the access service network gateway ASN GW;
  • the multiple access CDMA system the Non-3GPP GW in this step is the access gateway AGW;
  • the High speed packet data H gh Ra te Packe t Da ta , HRPD
  • the Non-3GPP GW in this step is Packet data service node PDSN.
  • Step 403 The user equipment decides to switch to the 3GPP network, and initiates handover between the non-3GPP network and the 3GPP network.
  • Step 405 The user equipment switches to the 3GPP network, and sends an attach request message to the mobility management network element by using the access network element of the 3GPP network; or the user equipment needs to switch to the 3GPP network, but the user equipment still resides in the non-3GPP network.
  • the user equipment sends an attach request message to the mobility management network element through the access network element of the non-3GPP network.
  • the mobility management network element is the SGSN; for the E-UTRAN network, the mobility management network element is the MME.
  • Step 407 Perform an authentication process between the user equipment, the mobility management network element, and the HSS.
  • Step 409 Perform a location update and insert subscription data flow between the mobility management network element and the HSS, register the address of the mobility management network element into the HSS, and the HSS inserts the subscription data of the user equipment into the mobility management network element.
  • the HSS sends the PDN connection information used by the user equipment in the non-3GPP network to the mobility management network element, that is, the mobility management network element obtains the user.
  • APN Packet Data Network Connection Identifier
  • Step 411 If the PDN connection is initiated by the network side network element when the user equipment switches from the non-3GPP network to the 3GPP network or needs to be handed over, the mobility management network element identifies, for each acquired APN, PDN GW address, and packet data network connection identifier. The record initiates a PDN connection establishment procedure. If the PDN connection is initiated by the user equipment when the user equipment switches from the non-3GPP network to the 3GPP network or needs to be handed over, the mobility management network element does not initiate the PDN connection establishment procedure or the mobility management network element only initiates the default PDN connection (ie, lacks The process of establishing a PDN connection corresponding to the APN of the province.
  • the mobility management network element sends a default bearer request message to the SGW, and the message carries the PDN GW address and the APN in the record, and can also carry the IP address indication information.
  • the IP address indication information indicates the IP address type information used by the PDN connection, such as IPv4 or IPv6 or IPv4/IPv6, or a single stack or dual stack.
  • the mobility management network element determines that the IP address indication information can be processed as follows:
  • the mobility management network element determines the IP address indication information according to the IP address information used by the user equipment in the source network and the IP protocol stack capability type supported by the target network PDN connection. Can include the following scenarios:
  • the user equipment uses a dual stack in the source network PDN connection, and the IP protocol stack capability type supported by the target network PDN connection is IP dual stack, and the mobility management network element sets the IP address indication information to dual stack (Dua l S tack ) , that is, the user equipment requests an IPv4 address and an IPv6 address, or the mobility management network element sets the IP address indication information to be IPv4/IPv6;
  • the IP protocol stack capability type is a single stack, and the mobility management network element sets the IP address indication information to be IPv4 or IPv6, or the mobility management network element sets the IP address indication information to a single stack (Single Stack), that is, mobility management.
  • the network element indicates that the PGW PDN connection uses a single IP address.
  • the network side network element initiates a PDN connection establishment procedure in the target network for each PDN connection in the source network. In the establishment procedure, the network side network element requests a single IP address. . After receiving the request, the PDN GW continues to use the IPv4 or IPv6 address assigned by the user equipment in the source network.
  • the PDN connection uses only one IP address and the original PDN connection has two IP addresses, and the user equipment initiates another PDN connection establishment procedure, instructing the network side to allocate another IP address.
  • the network side network element initiates two PDN connection establishment procedures in the target network for each PDN connection in the source network, and the network side network element requests the IPv4 address in the PDN connection establishment procedure, and the network side network in the other PDN connection establishment procedure.
  • the meta requests the IPV 6 address.
  • the user equipment uses a single stack on the source network PDN connection, and the mobility management network element sets the IP address indication information to be IPv4 or IPv6, and the requested IP address type is the same as the IP address type used by the user equipment in the source network; or The mobility management network element sets the IP address indication information to be a single stack.
  • the mobility management network element may carry the IP protocol stack type information supported by the target network in the create default bearer request message, or obtain the IP protocol stack type information supported by the target network according to the target network operator's policy or the capability of the target network.
  • the mobility management NE may carry the IP protocol stack type information supported by the target network in the Create Default Bearer Request message. If the mobility management network element does not carry the IP bearer type information supported by the target network in the Create Default Bearer Request message, the network side considers that the IP protocol stack type information supported by the target network is IPv4/IPv6.
  • Step 413 After receiving the foregoing message, the SGW sends a Create Default Bearer Request message to the PGW, where the message carries the APN and the IP address indication information. If the mobility management network element carries the IP protocol stack type information supported by the target network in the create default bearer request message, the SGW creates the default bearer request message to carry the information to the PGW.
  • Step 415 After receiving the foregoing message, the PGW locates the PDN connection used by the user equipment, and the PGW keeps the IP address of the PDN connection unchanged, that is, the PGW continues to use the IP address allocated by the user equipment in the non-3GPP network for the PDN connection. The address does not need to be assigned an IP address for this PDN connection.
  • the PGW locates the PDN connection used by the user equipment, and the PGW keeps the IP address of the PDN connection unchanged, that is, the PGW continues to use the IP address allocated by the user equipment in the non-3GPP network for the PDN connection. The address does not need to be assigned an IP address for this PDN connection.
  • the user equipment uses the IPv4 and IPv6 addresses in the source network, and the IP address indication information in the Create Default Bearer Request message received by the PGW is dual-stack or the IP address indication information is IPV4/IPv6, the PGW continues to use the IPv4 and IPv6 addresses used by the user equipment in the source network in this PDN connection establishment.
  • the user equipment uses the IPv4 and IPv6 addresses in the source network, and the IP address indication information in the Create Default Bearer Request message received by the PGW is IPv4 or IPv6, and the PGW continues to use the user equipment in the PDN connection establishment.
  • the IPv4 or IPv6 address used in the source network is the same as the IP address type in the IP address indication information.
  • the PGW continues to use the IPv4 or IPv6 address used by the user equipment in the source network in this PDN connection establishment. The PGW will continue to hold another IP address used by the user equipment in the source network.
  • the user equipment uses the IPv4 and IPv6 addresses in the source network, and the IP address indication information in the Create Default Bearer Request message received by the PGW is IPv4 or IPv6 and the IP protocol stack supported by the target network is IPv4 or IPv6, then the PGW In this PDN connection establishment, the IPv4 or IPv6 address used by the user equipment in the source network is continuously used, and the IP address type used is the same as the IP address type in the IP address indication information, and the PGW deletes the user equipment in the source network. Another IP address used.
  • the PGW obtains the IP address information used by the user equipment on the source network and the protocol stack capability type supported by the target network PDN connection.
  • IP address information used in the PDN connection of the target network according to the IP address information used by the user equipment in the source network and the IP protocol stack capability type supported by the target network PDN connection. There may be the following scenarios:
  • the user equipment uses the IPv4 and IPv6 addresses in the source network, and the IP protocol stack capability type supported by the target network PDN connection is the IP dual stack. Then, the PGW continues to use the user equipment in the source network in the PDN connection establishment. IPv4 and IPv6 addresses.
  • the user equipment uses the IPv4 and IPv6 addresses in the source network, and the IP protocol stack capability type supported by the target network PDN connection is a single stack, and the PGW continues to be used in the establishment of the PDN connection.
  • the user equipment uses IPv4 and IPv6 addresses in the source network, and the IP protocol stack capability type supported by the target network PDN connection is single-stack or dual-stack, but the IP protocol stack supported by the target network target network is IPv4 or IPv6, then the PGW is In this PDN connection establishment, the IPv4 or IPv6 address used by the user equipment in the source network is continuously used, and the IP address type used is the same as the IP address type of the IP protocol stack supported by the target network destination network, and the PGW deletes the user equipment. Another IP address used in the source network.
  • the PGW continues to use the IPv4 or IPv6 address used by the user equipment in the source network in this PDN connection establishment.
  • the mobility management network element may carry the PDN identification information in the Create Default Bearer Request message to identify each PDN connection.
  • the PDN identification information can be handled as follows:
  • Packet data network connection identifier For each PDN connection created by the UE in the source network, the UE or network side network element (such as PGW) assigns a PDN Connection ID to the created PDN connection to identify the PDN connection.
  • PDN Connection ID For each PDN connection created by the UE in the source network, the UE or network side network element (such as PGW) assigns a PDN Connection ID to the created PDN connection to identify the PDN connection.
  • PDN Connection ID Packet data network connection identifier assigned by the PDN connection in the source network.
  • the UE or the network side network element (such as the PGW) has a PDN Connection ID for the created PDN connection to connect only the PDN.
  • PDN Connection ID For each PDN connection created by the UE in the source network, the UE or the network side network element (such as the PGW) has a PDN Connection ID for the created PDN connection to connect only the PDN.
  • the PDN connection established by the UE or the mobility management network element for each request carries the PDN Connection ID assigned by the PDN connection in the source network and the APN used by the PDN connection.
  • APN + serial number For each PDN connection created by the UE in the source network, the UE or the network side network element (such as PGW) adds a sequence number to the APN used by the created PDN connection. If the UE is in the first PDN connection created in the source network, the UE or the network side network element (such as PGW) adds the sequence number 1 to the APN used by the created PDN connection (that is, the APN used by the PDN connection is APN: 1); For the second PDN connection created by the UE in the source network, the UE or the network side network element (such as PGW) adds the sequence number 2 to the APN used by the created PDN connection (ie, the APN used by the PDN connection) For APN: 2); and so on.
  • the UE or the network side network element adds a sequence number to the APN used by the created PDN connection.
  • the APN+sequence number uniquely identifies a PDN connection.
  • the PDN connection established by the UE or the mobility management network element for each request when the UE switches the target network from the source network carries the APN+ sequence number used by the PDN connection in the source network.
  • the PGW locates the PDN connection used by the user equipment according to the identifier information carried in the default bearer request message.
  • the PGW may decide to establish the PDN connection corresponding to the default bearer request message. For example, the PGW sorts all PDN connections under the same APN of the UE according to the PDN identification information (eg, sorts according to the packet data network connection identifier, and the PDN connection with the small connection identifier is ranked first), so that when the PGW receives the APN of the UE, After the first one creates the default bearer request message, the first PDN connection is used, and the second PDN connection is created after the second default bearer request message is received from the APN of the UE, and so on.
  • the PDN identification information eg, sorts according to the packet data network connection identifier, and the PDN connection with the small connection identifier is ranked first
  • Step 417 The PGW determines a processing manner between the policy and the charging rule function entity according to the IP address information used by the PDN connection of the user equipment in the source network and the IP address used by the PDN connection of the user equipment in the target network. There may be the following treatments:
  • IP address used by the PDN connection of the user equipment in the source network is the same as the IP address used by the PDN connection in the destination network:
  • the PGW sends an IP-CAN Ses s modification message to the Policy and Charging Rules function entity requesting the modified Policy and Charging Control (PCC, Polic and Charging Cont ro l) rules.
  • the session indication message in this embodiment is a session modification message.
  • the message carries the PDN identification information used by the UE.
  • the policy and charging rule function entity locates the IP-CAN Ses si on used by the UE according to the PDN identification information used by the UE, and sends the PCC rule in the IP-CAN Ses si on to the PGW, or the PCRF accesses according to the UE.
  • the network type modifies the PCC rules in the I P-CAN Ses si on and sends the modified PCC rules to the PGW.
  • IP-CAN Session Due to the use of the UE in the source and destination networks
  • the IP address used in the IP-CAN Session is the same, so the PGW can not carry the IP address information used by the IP-CAN Session of the target network in the IP-CAN Session modification message.
  • the PCRF defaults to consider that the UE continues to use the IP address used in the source network.
  • the user equipment uses two IP addresses in the PDN connection in the source network.
  • the PGW sends an IP-CAN Session modification message to the policy and charging rule function entity to the policy and charging rule function entity to request the modified policy and charging control PCC, and the IP-CAN Session modification message carries the target network IP-CAN Session IP address information and PDN identification information used.
  • the IP address information may be a specific IPv4 address or an IPv6 address or an IPv4/IPv6 address used by the IP-CAN Session, or may be an IP address indication bit used by the IP-CAN Session, such as the PGW carrying the IP-CAN Session modification message.
  • IP address flag (Address Flag)
  • the PGW sets this cell to IPv4 to indicate that the IP-CAN Session uses an IPv4 address
  • the PGW sets this cell to IPv6 to indicate that the IP-CAN Session uses an IPv6 address
  • the PGW sets the cell to IPv4/IPv6 indicates that the IP-CAN Session uses an IPv4 address and an IPv6 address
  • the policy and charging rule function entity locates the IP-CAN Session originally used by the UE according to the PDN identification information used by the UE, and this is the original IP-CAN Session.
  • the PCC rule corresponding to the IP address is sent to the PGW, or the PCC rule corresponding to the IP address is modified according to the network type accessed by the user equipment, and the modified PCC rule is sent to the PGW.
  • the PGW may carry the indication information in the IP-CAN Session modification message, indicating that the policy and charging rule function entity deletes the information used by another deleted IP address, such as deleting the PCC rule used by the deleted IP address.
  • the instructions can be processed as follows:
  • the PGW carries the deleted IP address information in the IP-CAN Session modification message.
  • the deleted IP address information may be a specific IPv4 address or an IPv6 address to be deleted, or may be a deleted IP address indication bit.
  • the PGW carries a Delete IP Address Flag (PID) message in the IP-CAN Session modification message.
  • PID Delete IP Address Flag
  • the PGW sets this cell to IPv4 for this IPv4.
  • the information used by the address is deleted; the PGW sets this cell to IPv6 to indicate that the information used by this IPv6 address is deleted.
  • the PGW carries the indication information in the IP-CAN Session modification message, indicating that the policy and the charging rule function entity user equipment can only use the IP address type corresponding to the IP address information carried in the IP-CAN Session modification message in the target network, Another type of IP address cannot be used, and its corresponding information will be deleted.
  • the policy and charging rule function entity deletes the information used by another type of IP address.
  • the indication information of this method may be the IP protocol stack type information supported by the target network. If the protocol stack type information is IPv4, it means that the user equipment can only use the IPv4 address in the target network and delete the information used by the IPv6 address. If the protocol stack type information is IPv6, the user equipment can only use the IPv6 address in the target network. Information used by IPv4 addresses.
  • the user equipment uses two IP addresses in the PDN connection in the source network.
  • the user equipment can only use one IP address in each PDN connection in the target network and two IP addresses of the source network are in the two PDNs of the target network.
  • Used in the connection that is, one PDN connection in the target network uses the IPv4 address used by the user equipment in the source network, and the other PDN connection uses the PCC rule processing method when the user equipment uses the IPv6 address in the source network:
  • the PGW sends an IP-CAN Session modification message or an IP-CAN Session establishment message to the policy and charging rule function entity, and the message carries the IP-CAN
  • the IP address information used by the session may be a specific IPv4 or IPV 6 address, or an IPv4 or IPv6 address indication bit, a source network PDN identification information, and a target network PDN identification information.
  • the policy and charging rule function entity locates the IP-CAN Session originally used by the user equipment according to the source network PDN identification information.
  • the policy and charging rule function entity locates the IP-CAN session originally used by the user equipment, and then sends the PCC rules corresponding to the IP address in the original IP-CAN session to the PGW according to the IP address information carried in the message, or the root.
  • the PCC rules corresponding to the IP address are modified according to the type of the network accessed by the user equipment, and the modified PCC rules are sent to the PGW.
  • the functional entity creates a new IP-CAN Session based on the target network PDN identification information.
  • the policy and charging rule function entity writes the information corresponding to the corresponding IP address in the original IP-CAN Session, such as the IP address, PCC rules, etc., into the newly created IP-CAN Session.
  • the PGW For two IP-CAN Sessions used in the target network, for one of the IP-CAN Sessions, the PGW sends an IP-CAN Session modification message to the Policy and Charging Rules function entity, which carries the IP-CAN Session
  • the IP address information used may be a specific IPv4 or IPv6 address, or an IPv4 or IPv6 address indication bit, and a source network PDN identification information.
  • the policy and charging rule function entity locates the IP-CAN Session originally used by the user equipment according to the source network PDN identification information function entity.
  • the policy and charging rule function entity locates the IP-CAN session originally used by the user equipment, and then sends the PCC rules corresponding to the IP address in the original IP-CAN session to the PGW according to the IP address information carried in the message, or according to the user.
  • the network type of the device is modified.
  • the PCC rules corresponding to the IP address are modified, and the modified PCC rules are sent to the PGW.
  • the PGW sends an IP-CAN Session modification message or an IP-CAN Session setup message to the policy and charging rule function entity, and the message carries the IP address information used by the IP-CAN Session, which may be
  • the specific IPv4 or IPv6 address may also be an I Pv4 or I Pv 6 address indication bit, a source network PDN identification information, and a target network PDN identification information.
  • the policy and charging rule function entity locates the IP-CAN Session originally used by the user equipment according to the source network PDN identification information function entity.
  • the policy and charging rule function entity locates the IP-CAN session originally used by the user equipment, and then sends the PCC rules corresponding to the IP address in the original IP-CAN session to the PGW according to the IP address information carried in the message, or according to the user.
  • the network type of the device is modified.
  • the PCC rules corresponding to the IP address are modified, and the modified PCC rules are sent to the PGW.
  • the policy and charging rule function entity is created according to the target network PDN identification information.
  • a new IP-CAN Ses ion The policy and charging rule function entity writes information corresponding to the corresponding IP address in the original IP-CAN Ses ion, such as IP address, PCC rules, etc., to the newly created IP-CAN Ses s ior
  • Step 419 The policy and charging rule function entity returns an IP-CAN Ses s modification confirmation message to the PGW, and returns the modified PCC rule to the PGW.
  • the policy and charging rule function entity returns the corresponding PCC rule to the PGW according to the IP address information of the IP-CAN Ses s ion modification message. If the IP address information is IPv4, the policy and charging rule function entity returns the PCC rule corresponding to the IPv4 address to the PGW; if the IP address information is IPv6, the policy and charging rule function entity returns the PCC rule corresponding to the IPv6 address to the PGW;
  • the IP address information is IPv4/IPv6, and the policy and charging rule function entity returns the PCC rule corresponding to the IPv4 address and the IPv6 address to the PGW.
  • Step 421 If the user equipment uses the IPv4 and IPv6 addresses on the source network and only uses a single IP address in the target network, for example, only the IPv4 or IPv6 address can be used. For details, see the description in 415, the PGW deletes another IP address. If the PGW does not notify the policy and charging rule function entity to delete the information used by the deleted IP address in step 415, steps 419 and 421 are performed, and step 423, the PGW sends an IP-CAN Ses ion termination indication message to the policy and meter. The fee rule function entity request policy and charging rule function entity deletes the information used by another IP address, such as deleting the PCC rule used by another IP address, and the message carries the APN and IP address information.
  • the IP address information may be a specific IPv4 address or an IPv6 address to be deleted, or may be a deleted IP address indication bit.
  • the PGW carries an IP address flag (Addres s Flag) cell in the IP-CAN Ses ion termination indication message, PGW. Setting this cell to IPv4 indicates that the information used by this IPv4 address is deleted; the PGW sets this cell to IPv6 to indicate that the information used by this IPv6 address is deleted.
  • IP address flag IP address flag
  • the policy and charging rule function entity deletes the information used by the corresponding IP address and returns the IP-CAN Ses ion termination confirmation message to the PGW.
  • Step 425 The PGW returns to create a default bearer response message to the SGW.
  • Step 427 The SGW returns to create a default bearer response message to the mobility management network element.
  • Step 429 The mobility management network element returns an attach accept message to the user equipment.
  • the embodiment of the present invention can solve the problem that when the user equipment switches from the non-3GPP network to the 3GPP network or the user equipment needs to switch from the non-3GPP network to the 3GPP network, the service gateway and the user plane anchor, by introducing the foregoing policy and the charging control rule.
  • the GTP protocol is used between the gateways, the problem of how the PCC rules are handled when the IP addresses used in the IP-CANs in the source network and the destination network are inconsistent, so that the service information used by the UE in the source network can be The target network is recovered, and the UE's service is not interrupted, which does not affect the UE experience.
  • the policy and charging rule function entity of the embodiment locates the IP-CAN Ses ion used by the UE according to the PDN identification information used by the UE, and then directly or modified the PCC rule in the IP-CAN Ses si on It is sent to the PGW, which solves the defect in the prior art that the APN is used to locate the IP-CAN Ses ion, which cannot be located when an APN corresponds to multiple IP-CANs.
  • Steps 501-511 are the same as steps 401-411 in Embodiment 2, and are not mentioned here;
  • Step 513 If the interface protocol between the SGW and the PGW is the PMIP protocol, the SGW sends a gateway control session setup message to the PCRF to request the PCC rule used by the UE.
  • the gateway control session establishment message carries the identity of the UE (such as IMSI), IP address information, and PDN identification information.
  • the IP address information may be a specific IPv4 address or an IPv6 address or an IPv4/IPv6 address used by the IP-CAN, or may be an IP address used by the IP-CAN, such as the SGW in the gateway control session establishment message.
  • the SGW sets this cell to IPv4/IPv6 to indicate that the IP-CAN session uses an IPv4 address and an IPv6 address;
  • the SGW may carry the indication information indicating that the PCRF UE is in the destination in the gateway control session establishment message.
  • the standard network can only use the IP address type corresponding to the IP address information carried in the gateway control session establishment message. Another type of IP address cannot be used and will be deleted.
  • the PCRF After receiving the indication of the indication information, the PCRF deletes the information used by another type of IP address.
  • the indication information of this embodiment may be IP protocol stack type information supported by the target network.
  • protocol stack type information is IPv4, it means that the UE can only use the IPv4 address in the target network; if the protocol stack type information is IPv6, it means that the UE can only use the IPv6 address in the target network; if the protocol stack type information is IPv4/IPv6, It indicates that the UE can use the IPv4 address and the IPv6 address in the target network.
  • Step 515 The PCRF returns a gateway control session establishment confirmation message to the SGW.
  • the PCRF locates the IP-CAN Ses ion used by the UE according to the PDN identification information carried in the gateway control session setup message, and then returns the corresponding PCC rule in the IP-CAN Ses ion to the SGW according to the IP address information.
  • the PCRF returns the PCC rule used by the IPv4 address of the UE to the SGW; if the IP address information indicates that the session uses the IPv6 address, the PCRF returns the PCC rule used by the IPv6 address of the UE to the SGW; If the IP address information indicates that the IP-CAN session uses an IPv4/IPv6 address, the PCRF returns the PCC rule used by the UE's IPv4/IPv6 address to the SGW.
  • the SGW indicates in step 513 that the PCRF UE can only use the IP address type corresponding to the IP address information carried in the gateway control session establishment message in the target network, and another type of IP address cannot be used, the PCRF will use another type of IP.
  • the information used by the address such as the PCC step 517 used by the address, the SGW sends a proxy binding update message to the PGW, which is carried in the proxy binding update message.
  • IP address information PDN identification information. If the mobility management network element carries the IP protocol stack type information supported by the target network in the create default bearer request message, the SGW carries the IP protocol stack type information supported by the target network to the PGW in the proxy binding update message;
  • Step 519 the step is different from the step 419 in the first embodiment in that the IP-CAN Session change message in the step 419 is changed to the policy and the charging rule request message, and the specific process is not described here.
  • Step 521 The PCRF returns a policy and a charging rule to provide a message to the PGW, and the modified PCC rule is carried in the policy and charging rule providing message and returned to the PGW.
  • the PCRF returns the corresponding PCC rule to the PGW according to the IP address information in the policy and charging rule request message. If the IP address information is IPv4, the PCRF returns the PCC rule corresponding to the IPv4 address to the PGW; if the IP address information is IPv6, the PCRF returns the PCC rule corresponding to the IPv6 address to the PGW; if the IP address information is IPv4/IPv6, the PCRF returns The PCC rule corresponding to the IPv4 address and the IPv6 address is given to the PGW.
  • Steps 523-525 and steps 421-423 in the second embodiment are not repeated here;
  • Step 527 The PGW returns a proxy binding acknowledgement message to the SGW.
  • Step 529 The SGW sends a default bearer response message to the mobility management network element.
  • Step 531 The mobility management network element sends an attach accept message to the UE.
  • the embodiment of the present invention can solve the problem that when the user equipment switches from the non-3GPP network to the 3GPP network or the user equipment needs to switch from the non-3GPP network to the 3GPP network, the Serv GW and the PDN GW, by introducing the foregoing policy and the charging control rule.
  • the PMIP protocol is used, the problem of how the PCC rules are handled when the IP address types used in the IP-CAN Ses si on in the source network and the target network are inconsistent, so that the service information used by the UE in the source network can be located in the target network. It is restored to ensure that the UE's service is not interrupted, and does not affect the UE's experience.
  • FIG. 6 is a method for acquiring a policy and charging control rule according to the present invention, where a user equipment is switched from a 3GPP network to a non-3GPP network or a user equipment needs to switch from a 3GPP network to a non-3GPP network, between the non-3GPP GW and the PDN GW.
  • An embodiment using the PMIP protocol As shown in Figure 6, the specific includes:
  • Step 601 The user equipment UE accesses in the 3GPP, and the UE decides to switch to the non-3GPP network, and initiates a handover between the 3GPP network and the non-3GPP network.
  • Step 603 The UE switches to the non-3GPP network, performs authentication and authentication through the access network element of the non-3GPP network; or the UE needs to switch to the non-3GPP network, but the UE also resides in the 3GPP network, and the UE passes the 3GPP.
  • the access network element of the network performs authentication and authentication.
  • Non-3GPP Access is an evolved packet data gateway EPDG; for a Wimax system, Non-3GPP Access is an access service network gateway ASN GW; for a CDMA system, Non-3GPP Access is an access gateway AGW.
  • Non-3GPP Access obtains the PDN connection information used by the UE in the 3GPP network, that is, the Non-3GPP Access obtains the APN and PDN GW addresses used by the UE in the 3GPP network.
  • Step 605 The UE sends a Layer 3 Attach Request message (L3 Attach Request) to the Non-3GPP Access through the access network element of the non-3GPP network or the 3GPP network.
  • L3 Attach Request Layer 3 Attach Request
  • Step 607 If the PDN connection establishment process of the UE when the 3GPP handovers to the non-3GPP or needs to be handed over is initiated by the network side, the Non-3GPP Access initiates a PDN connection establishment procedure for each PDN connection established by the UE in the 3GPP network, and sends The proxy binds the update message to the PGW, and the proxy binding update message carries the IP address information and the PDN identifier information used by the PDN connection;
  • Non-3GPP Access can carry the IP protocol stack type information supported by the target network in the proxy binding update message, or the Non-3GPP Acces s can be updated in the proxy binding if the IP protocol stack type supported by the target network is IPv4 or IPv6.
  • the message carries the IP protocol stack type information supported by the target network. If the Non-3GPP Access does not carry the IP protocol stack type information supported by the target network in the proxy binding update message, the network side considers the IP protocol stack type information supported by the target network. Is IPv4/IPv6.
  • Non-3GPP Access obtains the IP protocol stack type supported by the target network according to the policy of the target network operator or the capability of the target network.
  • Step 609 this step is basically the same as step 417 in the second embodiment, and the difference is that: the IP-CAN session modification message in step 417 is replaced by an IP-CAN session establishment indication message, and details are not described herein;
  • Step 611 The PCRF sends an IP-CAN Session establishment confirmation message to the PGW, and the modified The PCC rule is carried back to the PGW in the IP-CAN Ses ion establishment confirmation message;
  • the PCRF returns the corresponding PCC rule to the PGW according to the IP address information of the IP-CAN Ses ion establishment indication message. If the IP address information is IPv4, the PCRF returns the PCC rule corresponding to the IPv4 address to the PGW. If the IP address information is IPv6, the PCRF returns the PCC rule corresponding to the IPv6 address to the PGW. If the IP address information is IPv4/IPv6, the PCRF returns. The PCC rule corresponding to the IPv4 address and the IPv6 address is given to the PGW.
  • Step 613 The PGW sends an IP-CAN session termination indication message to the PCRF. If the UE can use the IPv4 address and the IPv6 address in the source network, the UE can use only a single IP address in the target network. For example, only the IPv4 or IPv6 address can be used. For details, see Step 607. In the description, the PGW deletes another IP address. If the PGW does not notify the PCRF to delete the information used by the deleted IP address in step 609, then steps 617 and 619 are performed, and the subsequent processing is the same as the processing of step 421 in the second embodiment.
  • Step 615 the PCRF deletes the information used by the corresponding IP address, and sends an IP-CAN Ses ion termination confirmation message to the PGW;
  • Step 617 The PGW sends a proxy binding acknowledgement message to the Non-3GPP GW.
  • Step 619 The Non-3GPP Acces s sends a gateway control session establishment message to the PCRF, requesting the PCC rule used by the UE;
  • the gateway controls the session establishment message to carry the IP address information and the PDN identification information used by the UE.
  • the IP address information can be the specific IP address or IP v6 address or IPv4/IPv6 address used by this IP-CAN session, or the IP address bits used by this IP-CAN Ses ion, such as Non-3GPP Acces s.
  • the gateway control session setup message carries the "IP Addres s Flag" ("IP Addres s F lag") cell, then the Non-3GPP Acces s setting this cell to IPv4 means that the session uses the IPv4 address; Non-3GPP Acces s sets this letter.
  • a meta-IPv6 means that the session uses an IPv6 address; Non-3GPP Acces s sets this cell to IPv4/IPv6 to indicate that the session uses an IPv4 address and an IPv6 address.
  • Non-3GPP Acces s may carry indication information in the gateway control session setup message, indicating
  • the PCRF UE can only use the IP address information carried in the gateway control session establishment message in the target network.
  • the type of IP address should be, another type of IP address cannot be used and will be deleted.
  • the PCRF deletes the information used by another type of IP address.
  • the indication information may be IP protocol stack type information supported by the target network. If the protocol stack type information is IPv4, it means that the UE can only use the IPv4 address in the target network; if the protocol stack type information is IPv6, it means that the UE can only use the IPv6 address in the target network; if the protocol stack type information is IPv4/IPv6, It indicates that the UE can use the IPv4 address and the IPv6 address in the target network.
  • Step 621 The PCRF sends a policy and a charging rule to provide a message to the PGW.
  • Step 623 the PGW reply policy and the charging rule provide a confirmation message to the PCRF;
  • Step 625 The PCRF returns a gateway control session establishment confirmation message to the Non-3GPP Access. Specifically, the PCRF locates the IP-CAN Session used by the UE according to the PDN identification information carried in the gateway control session setup message, and then returns the IP according to the IP address information. - The corresponding PCC rule in the CAN Session is given to Non-3GPP Access.
  • the PCRF returns the PCC rule used by the UE's IPv4 address to Non-3GPP Access; if the IP address information indicates If the IP-CAN session uses an IPv6 address, the PCRF returns the PCC rule used by the UE's IPv6 address to Non-3GPP Access; if the IP address information indicates that the IP-CAN session uses an IPv4/IPv6 address, the PCRF returns the UE's IPv4/IPv6 The PCC rules used by the address are given to Non-3GPP CC6SS.
  • the PCRF UE can only use the IP address type corresponding to the IP address information carried in the gateway control session establishment message in the target network, and another type of IP address cannot be used, the PCRF will be another The information used by the type of IP address, such as the PCC rule used by this address is deleted.
  • Step 627 The Non-3GPP GW sends a layer 3 attach accept message to the UE.
  • the embodiment of the present invention can solve the problem that when the user equipment switches from the 3GPP network to the non-3GPP network or the user equipment needs to switch from the 3GPP network to the non-3GPP network, the non-3GPP GW and the PDN, by introducing the foregoing policy and the charging control rule.
  • the PMIP protocol is used between GWs, how do the PCC rules be handled when the IP address types used in the IP-CAN Sessions in the source network and the target network are inconsistent? Therefore, the service information used by the UE in the source network can be recovered in the target network, thereby ensuring
  • the UE's service is not interrupted, and does not affect the UE's experience.
  • CMIP is used between the user equipment and the PDN GW.
  • An embodiment of the protocol As shown in Figure 7, the details include:
  • Steps 701-705 are the same as steps 601-605 of Embodiment 4, and are not mentioned here;
  • Step 707 the Non-3GPP Acces s sending layer 3 attach accept message to the UE;
  • Step 709 For each PDN connection established by the UE in the 3GPP network, the UE sends a binding update message to the PGW through the access network element of the non-3GPP network or the access network element of the 3GPP network, requesting to establish a PDN connection, and the binding is performed.
  • the update message carries the IP address information and the PDN identifier information used by the PDN connection; the UE may also carry the IP protocol stack type information supported by the target network in the binding update message, or if the IP protocol stack type supported by the target network is IPv4 or IPv6, the UE carries the IP protocol stack type information supported by the target network in the binding update message. If the UE does not carry the IP protocol stack type information supported by the target network in the binding update message, the network side considers that the IP protocol stack type information supported by the target network is IPv4/IPv6.
  • the UE uses the IPv4 and IPv6 addresses in the source network PDN connection, and the IP protocol stack capability type supported by the target network PDN connection is an IP single stack, the UE sends two binding update messages to the PGW for one PDN connection of the source network, The IP address information in the binding update is set to IPv4, and the IP address information in the other binding update message is set to IPv6.
  • Step 711 After receiving the binding update message, the PGW locates the PDN connection used by the UE according to the PDN identification information, and the PGW keeps the IP address of the PDN connection unchanged, that is, the PGW continues to use the UE to allocate the 3GPP network when the PDN connection is continued. The IP address does not need to be assigned a new IP address for this PDN connection. Subsequent processing is the same as step 417 in the second embodiment;
  • Step 713 The PCRF sends an IP-CAN Ses s modification confirmation message to the PGW, and the modified PCC rules are returned to the PGW;
  • the PCRF returns the corresponding PCC rule to the PGW according to the IP address information in the IP-CAN Session modification message. If the IP address information is IPv4, the PCRF returns the PCC rule corresponding to the IPv4 address to the PGW; if the IP address information is IPv6, the PCRF returns the PCC rule corresponding to the IPv6 address to the PGW; if the IP address information is IPv4/IPv6, the PCRF returns The PCC rule corresponding to the IPv4 address and the IPv6 address is given to the PGW.
  • Steps 715-717 are the same as steps 421-423 in the second embodiment, and are not described herein again.
  • the method for introducing the foregoing policy and charging control rule can solve the problem that when the user equipment switches from the 3GPP network to the non-3GPP network or the user equipment needs to switch from the 3GPP network to the non-3GPP network, between the UE and the PDN GW.
  • the policy and charging rule function entity of the present embodiment locates the IP-CAN session used by the UE according to the PDN identification information used by the UE, and then directly or modified the PCC rule in the IP-CAN session to the PGW. Therefore, the defect of not being able to locate when an APN corresponds to multiple IP-CAN sessions is solved in the prior art according to the APN used by the UE to locate the IP-CAN Session.
  • FIG. 8 is a schematic structural diagram of an apparatus for acquiring a policy and a charging control rule according to an embodiment of the present invention.
  • the indication message sending module 3 is configured to carry the IP address information in the session indication message and send the information to the policy and charging rule function entity.
  • the method is further configured to: send the IP address information and the PDN identification information in the session indication message to the policy and charging rule function entity.
  • the rule receiving module 4 is configured to receive a policy and a charging control rule corresponding to the IP address information returned by the policy and charging rule function entity according to the IP address information in the IP connection access network session. Specifically, the method is: receiving the IP sent by the policy and charging rule function entity Address information corresponding to the policy and charging control rules in the IP connection access network session;
  • the indication message sending module 3 of the embodiment is further configured to: send a session indication message to the policy and charging rule function entity, where the session indication message carries another IP address information, source PDN identification information, and destination PDN identification information, where the source The PDN identification information is used by the policy and charging rule function entity to locate the PDN connection.
  • the rule receiving module 4 is further configured to: receive the PCC rule corresponding to another IP address sent by the policy and charging rule function entity according to the session indication message. .
  • the embodiment further includes an obtaining module 5, configured to acquire IP address information and PDN identification information used by the user equipment in the target network; or, receive the IP address information used by the user equipment carried in the IP indication information carried by the mobility management entity on the target network. And PDN identification information.
  • the instruction message sending module 3 of this embodiment includes: a first deletion instructing unit 31, configured to send a session indication message carrying the IP address information to be deleted; and the IP address information to be deleted is used to indicate a policy and charging rule function entity. Delete the policy and charging control rule corresponding to the IP address according to the IP address information to be deleted.
  • the indication message sending module 3 of the embodiment may further include: a second deletion indication unit 32, configured to send a session indication message carrying the indication information, where the indication information indicates that the user equipment can only use the IP address information carried in the session indication message.
  • the IP address type is used to indicate that the policy and the charging function entity delete the policy and charging control rule corresponding to the IP address other than the IP address type carried in the session indication message according to the indication information.
  • the indication message sending module 3 further includes: a target PDN connection sending unit 33, configured to: when the PDN connection of the source network supports two types of IP addresses, and the PDN connection of the target network supports an IP address type, A session indication message further carrying the target PDN identification information is sent.
  • the embodiment further includes: a termination message sending module 6 configured to send a session termination message to the policy and charging function entity, where the session termination message carries the IP address information to be deleted, and the session The termination message is used to instruct the policy and charging function entity to delete the IP address information that needs to be deleted.
  • a termination message sending module 6 configured to send a session termination message to the policy and charging function entity, where the session termination message carries the IP address information to be deleted, and the session The termination message is used to instruct the policy and charging function entity to delete the IP address information that needs to be deleted.
  • FIG. 9 is a schematic structural diagram of an apparatus for acquiring a policy and a charging control rule according to an embodiment of the present invention.
  • the structure and function of each module of the acquiring apparatus in this embodiment are basically the same as those in the foregoing embodiment shown in FIG. The difference is that the indication message sending module 3 in this embodiment includes the sending unit 34 and any one or a combination of the first information generating unit 35, the second information generating unit 36, and the third information generating unit 37, wherein the first information is generated.
  • the unit 35 is configured to generate a session indication message carrying the indication information, where the indication information indicates that the user equipment can only use the IP address type corresponding to the IP address information carried in the session indication message; and the indication information is used to indicate the policy and the charging.
  • the function entity deletes the policy and the charging control rule corresponding to the IP address other than the IP address type carried in the session indication message according to the indication information;
  • the second information generating unit 36 is configured to generate a session indication message carrying the indication information, where the indication information indicates that the user equipment can only use the IP address type corresponding to the IP address information carried in the session indication message;
  • the policy and charging function entity deletes the policy and charging control rule corresponding to the IP address other than the IP address type carried in the session indication message according to the indication information;
  • the third information generating unit 37 is configured to: when the PDN connection of the source network supports two types of IP addresses, and the PDN connection of the target network supports an IP address type, generate a session indication message that further carries the target PDN identification information;
  • the sending unit 34 is configured to send the session indication information generated by the first information generating unit, the second information generating unit, or the third information generating unit.
  • FIG. 10 it is a schematic structural diagram of a policy and a charging control function entity according to an embodiment of the present invention, including: an indication message receiving module 8 for receiving a session indication message carrying IP address information; and a rule sending module 9 for a session indication message, where the IP address information is sent in a corresponding policy and charging control rule in the IP connection access network session; or, according to the session indication message, the IP address information is modified according to the network type accessed by the user equipment in the IP connection. Access the corresponding policy and charging control rules in the network session and send them.
  • the embodiment further includes: a positioning module 10, configured to be used according to the received session indication message
  • the PDN identification information is used to locate the network session used by the user equipment by using the PDN identification information.
  • the deleting module 1 is configured to delete the policy and the charging control rule corresponding to the IP address according to the received IP address information in the session indication message or the session termination message.
  • the deleting module 1 of the embodiment is specifically configured to: obtain the indication information from the session indication message, where the indication information indicates that the user equipment can only use the IP address type corresponding to the IP address information carried in the session indication message; The policy and charging control rule corresponding to the IP address other than the IP address type indicated by the indication information is deleted.
  • the embodiment further includes: a network session establishing module 2, configured to establish a new IP connection access network session according to the target PDN identification information in the session indication message, and simultaneously adopt a policy corresponding to the IP address in the session indication message And the charging control rule writes a new IP connection to access the network session.
  • a network session establishing module 2 configured to establish a new IP connection access network session according to the target PDN identification information in the session indication message, and simultaneously adopt a policy corresponding to the IP address in the session indication message
  • the charging control rule writes a new IP connection to access the network session.
  • the embodiment of the present invention can solve the problem of how to obtain the PCC rule when the IP address type used in the IP-CAN Ses si on is inconsistent between the source network and the target network when the network is switched, by introducing the foregoing policy and the charging control rule acquiring device. Therefore, the service information used by the UE in the source network can be recovered in the target network, and the service of the UE is not interrupted, and the UE experience is not affected.
  • the embodiment of the present invention further provides a communication system, which includes the acquiring device and the policy and charging control function entity of the policy and charging control rule mentioned in any of the foregoing embodiments.
  • FIG. 11 is a schematic structural diagram of a functional entity for locating an IP connection to access a network session according to the present invention.
  • the method includes: The information acquisition module 31 and the positioning module 32, wherein the identification information acquisition module 31 is configured to acquire PDN identification information; the positioning module 32 is configured to locate an IP connection access network session according to the PDN identification information.
  • the specific PDN identification information includes: a packet data network connection identifier and an access point name, an access point name and a serial number, or a packet data network connection identifier, or a combination thereof.
  • the method and apparatus provided by the embodiments of the present invention are not only applied to the PCC rule when the IP addresses used by the I-P-CAN Sessions in the source network and the target network are inconsistent when switching between the non-3GPP network and the 3GPP network.
  • the problem of the processing can also be understood by those skilled in the art, and can also be applied to the PCC when the IP address used in the IP-CAN Session is inconsistent between the source network and the target network when switching between 3GPP networks or between non-3GPP networks.
  • the problem of rule processing can also be understood by those skilled in the art, and can also be applied to the PCC when the IP address used in the IP-CAN Session is inconsistent between the source network and the target network when switching between 3GPP networks or between non-3GPP networks.
  • the PDSN network element in the HRPD network sends a proxy binding update message to the PGW, and the message carries the IP address indication information, then the PGW and the PCRF
  • the processing is the same as the processing flow described in the fourth embodiment.
  • the method and apparatus provided by the embodiments of the present invention can also be applied to PCC rule processing when an IP address used in an IP-CAN Session used by a UE changes in a non-handover scenario. For example, if the IP-CAN Session originally used by the UE has an IPv4 address and an IPv6, the subsequent UE or the network side deletes an IP address used by the UE, and sends a corresponding message to notify the PGW to delete an IP address used in the PDN connection.
  • the processing of PGW and PCRF is similar to the processing in Embodiment 2 as follows:
  • PDN GW sends IP-CAN Ses ion termination indication message to PCRF request PCRF will IP-CAN
  • the information used by an IP address in the session is deleted.
  • the PCC rules used by the IP address are deleted.
  • the IP address information in the message can be a specific IPv4 or IPv6 address, or an IPv4 or IPv6 address indication bit.
  • the PCRF deletes the information used by this IP address.
  • the PDN GW sends an IP-CAN Session modification message to the PCRF, which carries the IP-CAN.
  • the IP address information used by the session can be a specific IPv4 or IPv6 address, or an IPv4 or IPv6 address indicator.
  • the PCRF sends the PCC rules corresponding to the IP address in the original IP-CAN session to the PDN GW 0 and the PDN.
  • the GW instructs the PCRF that another IP address is deleted, which may be a specific IPv4 or IPv6 address, or an IPv4 or IPv6 address indication bit.
  • the PCRF deletes the information used by another IP address in the IP-CAN Session, such as the PCC rules used by this IP address.
  • the PDN GW sends an IP-CAN Session modification message to the PCRF.
  • the PDN GW carries the deleted IP address information in this message to instruct the PCRF to delete the information used by an IP address in the IP-CAN Session.
  • the deleted IP address information can be a specific IPv4 or IPv6 address, or an IPv4 or IPv6 address indication bit.
  • the PCRF deletes the information used by the deleted IP address in the IP-CAN Session.
  • IP-CAN session originally used by the UE there is only one IPv4 address or one IPv6.
  • the subsequent UE or the network side adds an IP address used by the UE, and sends a corresponding message to notify that an IP address is added to the PGW PDN connection.
  • the processing of the PGW and the PCRF is similar to the processing in the second embodiment:
  • the PDN GW sends an IP-CAN Session modification message to the PCRF, and the message carries the IP address information added by the IP-CAN Session (which may be a specific IPv4 or IPv6 address, or an IPv4 or IPv6 address indication bit), and the PCRF is in the original Add IP address information to the IP-CAN Session and increase the PCC rules used by this address.
  • the PCRF issues the increased PCC rules to the PDN GW.
  • the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Mobile Radio Communication Systems (AREA)

Description

策略和计费控制规则的获取方法及装置 技术领域
本发明实施例涉及一种网络技术, 尤其涉及一种策略和计费控制规则的 获取方法及装置。 背景技术
目前, 用户设备 (User Equipment, 简称 UE )从 non-3GPP 网络切换到 3GPP网络时的网络切换过程,如图 1所示, 切换过程具体包括以下步骤: 步骤 101、 UE在 non-3GPP网络接入。 其中, 对于无线局域网 (Wireless Local Area Network, 简称 WLAN) 系统, 该步骤中的 Non_3GPP Access网元 为演进分组数据网关 (Evolved Packet Data Gateway, 简称 EPDG ) ; 对于 微波存取全球互通 ( Worldwide Interoperability for Microwave Access, 简称 WiMAX) 系统, 该步骤中的 Non-3GPP Access 网元为接入业务网络网关 ( Access Service Network Gateway, 简称 ASNGW);对于码分多址接入( Code Division Multiple Access, 简称 CDMA) 系统, 该步骤中的 Non_3GPP Access 网元为接入网关( Access Gateway,简称 AGW);对于高速分组数据( High Rate Packet Data, 简称 HRPD) 网络, 该步骤中的 Non-3GPP Access 网元为分组 数据服务节点 (Packet Date Service Node , 简称 PDSN) 。 其中的 non-3GPP Access网元在策略和计费控制 (PCC, Policy and Charging Control ) 架构 中描述为承载绑定和事件报告功能网元(BBERF, Bearer Binding and Event Reporting Function) 。
步骤 103、 UE决定切换到 3GPP网络(UE Initiate HO) , 发起匪 -3GPP 网络到 3GPP网络之间的切换。
步骤 105、 UE切换到 3GPP网络, 通过 3GPP网络的接入网元发送附着请 求(Attach Request ) 消息到移动性管理网元; 或者 UE需要切换到 3GPP网 络, 但是 UE还驻留在 non-3GPP网络, UE通过 non-3GPP网络的接入网元发 送附着请求消息到移动性管理网元。 对于 GSM/EDGE 无线接入网 (GSM/EDGE Radio Access Network , 简称 GERAN ) / UMTS 陆地无线接入网 ( UMTS Terrestrial Radio Access Network, UTRAN ) 网络来说, 移动性管理网元为 服务通用分组无线业务支持节点 (Serving GPRS Supporting Node, 简称 SGSN ); 对于演进的 UMTS陆地无线接入网 ( Evolved UMTS Terrestrial Radio Access Network, 简称 E-UTRAN)网络来说,移动性管理网元为 MME( Mobility Management Entity, 简称丽 E) 。
步骤 107、 UE、 移动性管理网元、 归属用户服务器 (Home Subscriber
Service, 简称 HSS)之间执行鉴权流程。
步骤 109、 移动性管理网元和 HSS 之间执行位置更新和插入签约数据 ( Update Location and Insert Subscriber Data ) 流程, 将移动性管理网 元的地址注册到 HSS中,同时 HSS将 UE的签约数据插入到移动性管理网元中。 HSS在这个步骤中将 UE在 non-3GPP网络中使用的 PDN连接信息下发给移动 性管理网元, 即移动性管理网元获得 UE在 non-3GPP网络中使用的每个接入 点名称(Access Point Name, 简称 APN ) 、 用户面锚点网关(PGW)地址信 息。
步骤 111、 移动性管理网元对于获得的 APN、 PGW地址记录发起 PDN连接 建立程序, 即发送创建缺省承载请求 ( Create Default Bearer Request ) 消 息。
步骤 113、 服务网关 (Serving Gateway)收到上述消息后, 发送创建缺 省承载请求 ( Create Default Bearer Request ) 消息到 PGW, 消息中携带 PDN 连接使用的 APN, IP地址请求指示信息。
步骤 115、 PGW收到上述消息后根据 APN定位到这个 UE使用的 PDN连接, 贝' J PGW根据 IP地址请求指示信息保留这个 PDN连接对应的 IP地址不变。 对 于建立的 PDN连接, PGW发送 IP连接接入网络会话( IP Connectivity Access Network Session , 简称 IP-CAN Session)修改消息到策略和计费规则功能 实体 ( Policy and Charging Rule Function, 即 PCRF )请求 PDN连接修改 后的策略和计费控制 (Policy and Charging Control, 简称 PCC)规则, 消 息中携带 UE使用的 APN。 PGW返回创建缺省承载响应( Create Default Bearer Response) 消息到月良务网关。
步骤 117、 PCRF根据 UE使用的 APN定位到 UE使用的 IP-CAN Session, 返回 IP-CAN Session修改确认信息到 PGW, 将修改后的 PCC规则返回给 PGW0 步骤 119、 PGW返回创建缺省承载响应信息到服务网关。
步骤 121、 服务网关返回创建缺省承载响应消息到移动性管理网元。 步骤 123、 移动性管理网元返回附着接受 (Attach Accept ) 消息到 UE。 在发明人实施本发明的过程中, 发现现有技术至少存在以下缺陷: 现有 技术只考虑到 IP-CAN Session中使用的 IP地址类型一致的场景, 由于各个 网络的 载能力不同, 源网络和目标网络中的 IP-CAN Session 中使用的 IP 地址类型有可能是不一致的, 如源网络中 IP-CAN Session中使用的 IP地址 类型为 IPv4/IPV6, 但是目标网络中 IP-CAN Session中使用的 IP地址类型 只能为 IPv4或者 IPv6。 当源网络和目标网络中的 IP-CAN Session中使用的 IP地址类型不一致时用现有技术提供的方案会导致切换后业务中断, 以及不 能下发正确的 PCC规则, 例如, 源网络中 IP-CAN Session中使用的 IP地址 类型为 IPv4/IPv6,按照现有机制,UE在目标网络中接入时 PCRF将 IPv4/IPv6 的 PCC规则在一个 IP-CAN Session中发给 PGW, 但是由于目标网络中 IP-CAN Session中使用的 IP地址类型只能为 IPv4或者 IPv6,这样 PGW在一个 IP-CAN Session中只能使用 IPv4或者 IPv6的 PCC规则,而另一个 IP类型对应的 PCC 规则将不能使用, 导致这个 IP类型对应的所有业务将中断, 以及
现有技术中一个 APN对应着一个 IP-CAN Session时, PCRF能够根据 UE 使用的 APN信息就能定位到 UE使用的 IP-CAN Session。 但是如果一个 APN 对应着多个 IP-CAN Ses s ion的情况下, PCRF就无法根据 APN定位到正确的 IP-CAN Ses s ion。 发明内容
本发明实施例的目的是提供一种策略和计费控制规则的获取方法及装 置、 策略和计费规则功能实体中定位 IP连接接入网络会话的方法、 策略和 计费控制功能实体、 通信系统以及定位 IP连接接入网络会话的功能实体, 能够解决网络切换时源网络和目标网络中的 IP-CAN Ses s ion中使用的 IP地 址类型不一致时 PCC规则如何获取的问题。
为实现上述目的, 本发明实施例提供了一种策略和计费控制规则的获取 方法, 包括:
将 IP 地址信息携带在会话指示消息中发送给策略和计费规则功能实 体;
接收策略和计费规则功能实体返回的所述 IP地址信息在 IP连接接入 网络会话中对应的策略和计费控制规则。
本发明实施例还提供了一种策略和计费规则功能实体中定位 ip 连接 接入网络会话的方法, 包括:
获取 PDN标识信息;
根据所述 PDN标识信息定位 IP连接接入网络会话。
本发明实施例同时提供了一种策略和计费控制规则的获取装置, 包括: 指示消息发送模块,用于将 IP地址信息携带在会话指示消息中发送给 策略和计费规则功能实体;
规则接收模块, 用于接收策略和计费规则功能实体根据所述 IP地址 信息返回的所述 IP地址信息在 IP连接接入网络会话中对应的策略和计费 控制规则。
本发明实施例还提供了一种策略和计费控制功能实体, 包括: 指示消息接收模块, 用于接收携带有 IP地址信息的会话指示消息; 规则发送模块, 用于根据所述会话指示消息, 将所述 IP地址信息在
IP连接接入网络会话中对应的策略和计费控制规则发送;
或, 根据所述会话指示消息, 根据用户设备接入的网络类型修改所述
IP地址信息在 IP连接接入网络会话中对应的策略和计费控制规则, 并发 送。
本发明实施例还提供了一种通信系统, 包括上述的策略和计费控制规 则的获取装置以及策略和计费控制功能实体。
本发明实施例还提供了一种定位 ip连接接入网络会话的功能实体, 包括:
标识信息获取模块, 用于获取 PDN标识信息;
定位模块, 用于根据所述 PDN标识信息定位 IP连接接入网络会话。 综上所述, 本发明实施例通过引入上述策略和计费控制规则的获取方法 及装置, 在会话指示消息中携带 IP地址信息发送给策略和计费规则功能实 体, 策略和计费规则功能实体根据所述 IP地址信息返回的所述 IP地址信 息在 IP连接接入网络会话中对应的策略和计费控制规则, 能够解决网络切 换时源网络和目标网络中的 IP-CAN Ses s ion中使用的 IP地址类型不一致时 PCC规则如何处理的问题, 从而能够将 UE在源网络中使用的业务信息在目标 网络中恢复出来, 保证 UE的业务不发生中断, 从而不影响 UE的体验。 附图说明
图 1为现有技术中 UE从 non-3GPP网络切换到 3GPP网络的流程图; 图 2为本发明实施例所应用的网络系统结构示意图;
图 3 为本发明实施例策略和计费控制规则的获取方法实施例一的流程 图;
图 4 为本发明实施例策略和计费控制规则的获取方法实施例二的流程 图; 图 5 为本发明实施例策略和计费控制规则的获取方法实施例三的流程 图;
图 6 为本发明实施例策略和计费控制规则的获取方法实施例四的流程 图;
图 7 为本发明实施例策略和计费控制规则的获取方法实施例五的流程 图;
图 8为本发明实施例策略和计费控制规则的获取装置结构示意图一; 图 9为本发明实施例策略和计费控制规则的获取装置结构示意图二; 图 10为本发明实施例策略和计费规则功能实体结构示意图;
图 11为本发明定位 IP连接接入网络会话的功能实体实施例的结构示 意图。 具体实施方式
图 2为本发明实施例所应用的网络系统结构示意图,即演进网络的系统架 构图, 包括演进的 UMTS陆地无线接入网 E-UTRAN11、 移动性管理网元( MME ) 12、 服务网关实体(Serving Gateway, 即 SGW ) 13、 分组数据网络网关实体 (Packet Data Network Gateway,即 PGW)14、策略和计费规则功能实体( PCRF ) 15、 归属用户服务器(Home Subscriber Server, 简称 HSS) 16、 UMTS陆地无 线接入网(UMTS Terrestrial Radio Access Network,简称 UTRAN )17、 GSM/EDGE 无线接入网 (GSM/EDGE Radio Access Network, 简称 GERAN ) 18、 服务通用 分组无线业务支持节点 ( Serving GPRS Supporting Node, 简称 SGSN ) 19、 非 3GPP IP接入网络(Non-3GPP IP Access ) 20及认证、 授权与计费服务器 ( Authent icat ion, Author izat ion and Account ing Server,简称 AAA Server ) 21。本实施例中的 SGW网元在策略和计费控制架构中描述为承载绑定和事件报 告功能网元; PGW在策略和计费控制架构中描述为策略和计费执行功能网元 (Policy and Charging Enforcement Function, 简称 PCEF) 。 在本实施例中, E-UTRAN 11用于实现所有与演进网络无线有关的功能; 丽 E 12负责控制面的移动性管理, 包括用户上下文和移动状态管理, 分配用 户临时身份标识等; SGW 13是 3GPP接入网络间的用户面锚点, 终止 E-TURAN 11的接口; PGW 14是 3GPP接入网络和非 3GPP接入网络之间的用户面锚点, 终止和外部分组数据网络 ( Packet Data Network, 即 PDN ) 的接口 (本专利 称之为用户面锚点网关) 。 PCRF 15 用于策略控制决定和流计费控制功能。 HSS 16用于存储用户签约信息。
UTRAN 17 及 GERAN 18用于实现所有与现有 GPRS/UMTS网络中无线有关 的功能。 SGSN 19用于实现 GPRS/UMTS 网络中路由转发、 移动性管理、 会话 管理以及用户信息存储等功能。 Non-3GPP IP Access 20主要是一些非 3GPP 组织定义的接入网络,如无线局域网 (WLAN, Wireless Local Area Network ) , 微波存取全球互通 ( Worldwide Interoperability for Microwave Access, ? p Wimax ) 、 码分多址接人 ( Code Division Multiple Access , ? p CDMA) 等网络。 AAA Server 21用于对用户设备 (User Equipment, 即 UE ) 22执行 接入认证、 授权和计费功能。
策略和计费控制规则的获取方法实施例一
图 3为本发明策略和计费控制规则的获取方法实施例一的流程图, 如图 3所示, 具体包括:
步骤 301: 将 IP地址信息携带在会话指示消息中发送给策略和计费规 则功能实体。
步骤 303: 接收策略和计费规则功能实体根据所述 IP地址信息返回所 述 IP地址信息在 IP连接接入网络会话中对应的策略和计费控制规则。 具 体可以包括:
用户面锚点网关发送的 IP连接接入网络会话指示消息中包含用户设 备在目标网络中使用的 IP地址信息, IP地址信息可为这个 IP-CAN Session 使用的具体 IP地址, 如 IPv4地址或者 IPv6地址或者 IPv4/IPv6地址, 也可 以为这个 IP-CAN Ses s ion使用的 IP地址指示位, 如 PGW在 IP-CAN Ses s ion 修改消息中携带 IP地址标志 (IP Addres s Flag )信元, PGW设置这个信元 为 IPv4表示这个 IP-CAN Ses s ion使用 IPv4地址; PGW设置这个信元为 IPv6 表示这个 IP-CAN Ses s ion使用 IPv6地址; PGW设置这个信元为 IPv4/ IPv6 表示这个 IP-CAN Ses s ion使用 IPv4地址和 IPv6地址。
本发明实施例中 IP地址信息可包括单个 IP地址信息或 2个 IP地址信息, 即 UE在目标网络中使用单个 IP地址, 即 IPv4地址或者 IPv6地址, 或者 UE 在目标网络中使用两个 IP地址, 即一个 IPv4地址和一个 IPv6地址。
若 IP地址信息包括单个 IP地址信息, 则所述 IP连接接入网络会话指 示消息包含用户设备在目标网络中使用的 IP地址信息, PDN标识信息。 策 略和计费规则功能实体可根据所述 PDN标识信息定位用户设备使用的 IP连 接接入网络会话; 根据用户设备在目标网络中使用的 IP地址信息, 得到 该 IP地址在 IP连接接入网络会话中对应的策略和计费控制规则, 将策略 和计费控制规则发送到用户面锚点网关。 或者;
策略和计费功能实体可根据所述 PDN标识信息定位用户设备使用的 IP 连接接入网络会话; 根据用户设备在目标网络中使用的 IP地址信息得到 所述用户设备在目标网络中使用的 IP地址, 即该 IP地址信息对应的 IP 地址在所述 IP连接接入网络会话中对应的策略和计费控制规则, 并根据用 户设备接入的网络类型修改策略和计费控制规则, 并将修改后的策略和计费 控制规则发送到用户面锚点网关。
或者, 策略和计费规则功能实体还可根据接收到的删除指示, 删除用 户设备在源网络中使用而在目标网络中未使用的 I P地址对应的策略和计 费控制规则。 删除用户设备在源网络中使用而在目标网络中未使用的 IP 地址信息具体包括: 策略和计费规则功能实体从 IP 连接接入网络会话指 示消息中获取被删除 I P地址信息; 根据被删除 I P地址信息删除用户设备 在源网络中使用而在目标网络中未使用的 IP地址对应的策略和计费控制 规则。 其中, 被删除 IP地址信息可以为删除的具体 IPv4地址或者 IPv6 地址, 也可以为删除的 IP地址指示位, 如 PGW在 IP-CAN Ses s ion修改消 息中携带删除 IP地址标志 (De l ete IP Addres s F lag )信元, PGW设置这 个信元为 IPv4表示这个 IPv4地址被删除; PGW设置这个信元为 IPv6表示 这个 IPv6地址被删除。
删除用户设备在源网络中使用而在目标网络中未使用的 IP 地址信息还 可以为: 策略和计费规则功能实体从 IP连接接入网络会话指示消息中获取 指示信息, 该指示信息指示用户设备在目标网络只能使用 IP连接接入网络 会话指示消息中携带的 IP地址信息对应的 IP地址类型; 根据指示信息删除 用户设备在源网络中使用而在目标网络中未使用的 I P 地址对应的策略和计 费控制规则。 其中, PGW在 IP-CAN Ses s ion修改消息中携带指示信息指示策 略与计费规则功能实体, 用户设备在目标网络只能使用 IP-CAN Ses s ion修改 消息中携带的 IP地址信息对应的 IP地址类型,另一个类型的 IP地址不能被 使用, 将被删除。 PCRF收到这样的指示后将另一个类型的 IP地址使用的信 息删除。 这个方法的指示信息可以为目标网络支持的 IP协议栈类型信息。 如 果协议栈类型信息为 IPv4 , 则表示用户设备在目标网络只能使用 IPv4地址; 如果协议栈类型信息为 IPv6 , 则表示用户设备在目标网络只能使用 IPv6地 址; 如果协议栈类型信息为 IPv4/ IPv6 , 则表示用户设备在目标网络能使用 IPv4地址和 IPv6地址。
删除用户设备在源网络中使用而在目标网络中未使用的 IP 地址信息还 具体可以包括: 用户面锚点网关发送 IP连接接入网络会话终止指示消息给 策略和计费规则功能实体, IP连接接入网络会话终止指示消息中携带被删 除的 IP地址信息。 策略和计费规则功能实体根据被删除的 IP地址信息删 除用户设备在源网络中使用而在目标网络中未使用的 IP 地址对应的策略和 计费控制规则。
当 UE在源网络的一个 IP连接接入网络会话中使用两个 IP地址, 而 UE 在目标网络的一个 IP连接接入网络会话只能使用一个 IP地址时, 则需要在 目标网络建立两个 IP连接接入网络会话; 则 IP连接接入网络会话指示消 息可以包含用户设备在目标网络中使用的 IP地址信息, 原 PDN标识信息, 目标 PDN标识信息。 或者, IP连接接入网络会话指示消息包含用户设备在 目标网络中使用的 IP地址信息和原 PDN标识信息。
策略和计费规则功能实体可根据原 PDN 标识信息定位用户设备使用的 IP连接接入网络会话; 根据用户设备在目标网络中使用的 IP地址信息, 得到用户设备在目标网络中使用的 I P地址在 I P连接接入网络会话中对应 的策略和计费控制规则, 将策略和计费控制规则发送到用户面锚点网关。
或者, 策略和计费规则功能实体可根据原 PDN标识信息定位到用户设备 使用的 IP连接接入网络会话; 根据用户设备在目标网络中使用的 IP地址 信息, 得到该用户设备在目标网络中使用的 IP地址在 IP连接接入网络会 话中对应的策略和计费控制规则, 并根据用户设备接入的网络类型修改策略 和计费控制规则, 并将修改后的策略和计费控制规则发送到用户面锚点网 关。
本实施例的 IP连接接入网络会话指示消息还可以包含用户设备在目 标网络中使用的 IP地址信息, 以及两个目标 PDN标识信息, 则策略和计费 规则实体根据所述目标 PDN标识信息, 创建 2个新 IP连接接入网络会话。 将用户设备使用的 2个 IP地址对应的策略和计费控制规则写入其各自对 应的新 I P连接接入网络会话。
策略和计费规则实体还可以根据目标 PDN标识信息创建 1个新 IP连接 接入网络会话; 将用户设备使用的任一 IP地址对应的策略和计费控制规 则写入其对应的新 IP连接接入网络会话; 将用户设备使用的其它 IP地址 对应的策略和计费控制规则保留在原 IP连接接入网络会话。
本发明实施例通过引入上述策略和计费控制规则的方法, 能够解决网络 切换时源网络和目标网络中的 IP-CAN Ses s ion中使用的 IP地址类型不一致 时 PCC规则如何处理的问题以及 PCRF中定位 IP-CAN Ses s i on的问题, 从而 能够将 UE在源网络中使用的业务信息在目标网络中恢复出来, 保证 UE的业 务不发生中断, 从而不影响 UE的体验。
策略和计费控制规则的获取方法实施例二
图 4 为本发明策略和计费控制规则的获取方法应用于用户设备从 non-3GPP 网络切换到 3GPP 网络或者用户设备从 non- 3GPP 网络需要切换到 3GPP网络, 服务网关和用户面锚点网关之间使用 GTP ( GRPS隧道协议, GPRS Tunne l ing Pro toco l )协议的实施例。 如图 4所示, 具体包括:
步骤 401、 用户设备在 non-3GPP接入。 其中, 对于 WL AN系统, 该步骤 中的 Non-3GPP GW为演进分组数据网关 EPDG; 对于 波存取全球互通 WiMAX 系统, 该步骤中的 Non- 3GPP GW为接入业务网络网关 ASN GW; 对于码分多址 接入 CDMA系统, 该步骤中的 Non- 3GPP GW为接入网关 AGW; 对于高速分组数 据 ( H i gh Ra te Packe t Da ta , HRPD ) 网络, 该步骤中的 Non-3GPP GW为分组 数据服务节点 PDSN。
步骤 403、 用户设备决定切换到 3GPP网络, 发起 non-3GPP网络到 3GPP 网络之间的切换。
步骤 405、 用户设备切换到 3GPP网络, 通过 3GPP网络的接入网元发送 附着请求消息到移动性管理网元; 或者用户设备需要切换到 3GPP网络, 但是 用户设备还驻留在 non-3GPP网络, 用户设备通过 non-3GPP网络的接入网元 发送附着请求消息到移动性管理网元。 对于 GERAN/UTRAN网络来说, 移动性 管理网元为 SGSN; 对于 E-UTRAN网络来说, 移动性管理网元为 MME。
步骤 407、 用户设备、 移动性管理网元、 HSS之间执行鉴权流程。
步骤 409、 移动性管理网元和 HSS之间执行位置更新和插入签约数据流 程, 将移动性管理网元的地址注册到 HSS中, 同时 HSS将用户设备的签约数 据插入到移动性管理网元中。 HSS在这个步骤中将用户设备在 non-3GPP网络 中使用的 PDN连接信息下发给移动性管理网元, 即移动性管理网元获得用户 设备在 non-3GPP网络中使用的 APN、 PDN GW地址信息、 PDN Connect ion ID (分组数据网络连接标识) 。
步骤 411、 如果用户设备在 non-3GPP网络到 3GPP网络切换或者需要切 换时 PDN连接由网络侧网元发起, 则移动性管理网元对于每个获得的 APN、 PDN GW地址、 分组数据网络连接标识记录发起 PDN连接建立程序。 如果用户 设备在 non-3GPP网络到 3GPP网络切换或者需要切换时 PDN连接由用户设备 发起, 则移动性管理网元不发起 PDN连接建立程序或者移动性管理网元只发 起缺省 PDN连接 (即缺省 APN对应的 PDN连接 )建立程序。 移动性管理网元 发送创建缺省承载请求消息到 SGW, 消息中携带记录中的 PDN GW地址、 APN, 还可以携带 IP地址指示信息。 IP地址指示信息指示 PDN连接使用的 IP地址 类型信息, 如, IPv4或者 IPv6或者 IPv4/ IPv6 , 或者, 单栈或者双栈。 移动 性管理网元决定 IP地址指示信息可以有如下的处理方法:
( 1 )移动性管理网元根据用户设备在源网络中使用的 IP地址信息和目 标网络 PDN连接支持的 IP协议栈能力类型决定 IP地址指示信息。 可以包括 如下的场景:
( a )用户设备在源网络 PDN连接使用双栈, 目标网络 PDN连接支持的 IP协议栈能力类型为 IP双栈, 则移动性管理网元设置 IP地址指示信息为双 栈(Dua l S tack ) , 即用户设备请求 IPv4地址和 IPv6地址, 或者移动性管 理网元设置 IP地址指示信息为 IPv4/ IPv6;
( b )用户设备在源网络 PDN连接使用双栈, 目标网络 PDN连接支持的
IP协议栈能力类型为单栈, 则移动性管理网元设置 IP地址指示信息为 IPv4 或者 IPv6 ,或者移动性管理网元设置 IP地址指示信息为单栈( S ing le Stack ), 即移动性管理网元指示 PGW PDN连接使用单个 IP地址; 这种场景下网络侧网 元对源网络中的每个 PDN连接在目标网络中发起一次 PDN连接建立程序, 建 立程序中网络侧网元请求单个 IP地址。 PDN GW收到这个请求后, 继续使用 用户设备在源网络中分配的 IPv4或者 IPv6地址。 用户设备在收到接受消息 中发现这个 PDN连接只使用一个 IP地址而原有 PDN连接中有两个 IP地址, 则用户设备发起另一个 PDN连接建立程序, 指示网络侧分配另一个 IP地址。 或者网络侧网元对源网络中的每个 PDN连接在目标网络中发起两次 PDN连接 建立程序, 一次 PDN连接建立程序中网络侧网元请求 IPv4地址, 另一次 PDN 连接建立程序中网络侧网元请求 I P V 6地址。
( c )用户设备在源网络 PDN连接使用单栈, 则移动性管理网元设置 IP 地址指示信息为 IPv4或者 IPv6 , 请求的 IP地址类型与用户设备在源网络中 使用的 IP地址类型一致;或者移动性管理网元设置 IP地址指示信息为单栈。
移动性管理网元可以在创建缺省承载请求消息中携带目标网络支持的 IP 协议栈类型信息, 或者根据目标网络运营商的策略或者目标网络的能力来获 取目标网络支持的 IP协议栈类型信息。
或者, 如果目标网络支持的 IP协议栈类型为 IPv4或者 IPv6 , 则移动性 管理网元可以在创建缺省承载请求消息中携带目标网络支持的 IP 协议栈类 型信息。 如果移动性管理网元未在创建缺省承载请求消息中携带目标网络支 持的 IP协议栈类型信息, 则网络侧缺省认为目标网络支持的 IP协议栈类型 信息为 IPv4/ IPv6。
步骤 413、 SGW收到上述消息后发送创建缺省承载请求消息到 PGW, 消息 中携带 APN、 IP地址指示信息。 如果移动性管理网元在创建缺省承载请求消 息中携带目标网络支持的 IP协议栈类型信息,则 SGW在创建缺省承载请求消 息携带这个信息到 PGW。
步骤 415、 PGW收到上述消息后定位到这个用户设备使用的 PDN连接, 则 PGW保留这个 PDN连接的 I P地址不变, 即 PGW对于这个 PDN连接继续使用用 户设备在 non-3GPP网络时分配的 IP地址而不需要为这个 PDN连接分配 IP地 址, 可能有如下的场景:
( a )用户设备在源网络中使用 IPv4和 IPv6地址, PGW收到的创建缺省 承载请求消息中的 IP 地址指示信息为双栈或者 IP 地址指示信息为 IPV4/ IPv6 ,则 PGW在这次的 PDN连接建立中继续使用用户设备在源网络中使 用的 IPv4和 IPv6地址。
( b )用户设备在源网络中使用 IPv4和 IPv6地址, PGW收到的创建缺省 承载请求消息中的 IP地址指示信息为 IPv4或者 IPv6 , 则 PGW在这次的 PDN 连接建立中继续使用用户设备在源网络中使用的 IPv4或者 IPv6地址, 使用 的 IP地址类型与 IP地址指示信息中的 IP地址类型一致。 或者, IP地址指 示信息为单栈, 则 PGW在这次的 PDN连接建立中继续使用用户设备在源网络 中使用的 IPv4或者 IPv6地址。 PGW将继续保留用户设备在源网络中使用的 另一个 IP地址。
( c )用户设备在源网络中使用 IPv4和 IPv6地址, PGW收到的创建缺省 承载请求消息中的 IP地址指示信息为 IPv4或者 IPv6且目标网络支持的 IP 协议栈为 IPv4或者 IPv6 , 则 PGW在这次的 PDN连接建立中继续使用用户设 备在源网络中使用的 IPv4或者 IPv6地址, 使用的 IP地址类型与 IP地址指 示信息中的 IP地址类型一致, 同时 PGW将删除用户设备在源网络中使用的另 一个 IP地址。
如果移动性管理网元在创建缺省承载请求消息中未携带 IP 地址指示信 息,则 PGW获取用户设备在源网络使用的 IP地址信息和目标网络 PDN连接支 持的协议栈能力类型。
获取根据用户设备在源网络中使用的 IP地址信息和目标网络 PDN连接支 持的 IP协议栈能力类型决定目标网络 PDN连接中使用的 IP地址信息。 可能 有如下的场景:
( a )用户设备在源网络中使用 IPv4和 IPv6地址, 目标网络 PDN连接支 持的 IP协议栈能力类型为 IP双栈, 则 PGW在这次的 PDN连接建立中继续使 用用户设备在源网络中使用的 IPv4和 IPv6地址。
( b )用户设备在源网络中使用 IPv4和 IPv6地址, 目标网络 PDN连接支 持的 IP协议栈能力类型为单栈,则 PGW在这次的 PDN连接建立中继续使用用 户设备在源网络中使用的 IPv4或者 IPv6地址。
( c )用户设备在源网络中使用 IPv4和 IPv6地址, 目标网络 PDN连接支 持的 IP协议栈能力类型为单栈或者双栈但是目标网络目标网络支持的 IP协 议栈为 IPv4或者 IPv6 , 则 PGW在这次的 PDN连接建立中继续使用用户设备 在源网络中使用的 IPv4或者 IPv6地址,使用的 IP地址类型与目标网络目标 网络支持的 IP协议栈的 IP地址类型一致, 同时 PGW将删除用户设备在源网 络中使用的另一个 IP地址。
( d )用户设备在源网络 PDN连接使用单栈, 则 PGW在这次的 PDN连接建 立中继续使用用户设备在源网络中使用的 IPv4或者 IPv6地址。
对于单一 APN多 PDN连接的场景, 移动性管理网元可以在创建缺省承载 请求消息中携带 PDN标识信息以标识每一个 PDN连接。 PDN标识信息可以有 如下的处理方法:
( 1 )分组数据网络连接标识(PDN Connect ion ID ) 。 对于 UE在源网络 中创建的每一个 PDN连接, UE或者网络侧网元(如 PGW ) 为这个创建的 PDN 连接分配一个 PDN Connect ion ID以标识这个 PDN连接。 在 UE从源网络切换 目标网络时 UE或者移动性管理网元为每个请求建立的 PDN连接携带这个 PDN 连接在源网络中分配的 PDN Connec t ion ID。
( 2 ) APN和分组数据网络连接标识(PDN Connect ion ID ) 。 对于 UE在 源网络中创建的每一个 PDN连接, UE或者网络侧网元(如 PGW ) 为这个创建 的 PDN连接分酉己一个 PDN Connect ion ID以标 i只这个 PDN连接。 在 UE从源网 络切换目标网络时 UE或者移动性管理网元为每个请求建立的 PDN连接携带这 个 PDN连接在源网络中分配的 PDN Connect ion ID和这个 PDN连接使用的 APN。
( 3 ) APN +序列号。 对于 UE在源网络中创建的每一个 PDN连接, UE或 者网络侧网元(如 PGW ) 为这个创建的 PDN连接使用的 APN增加序列号。 如 UE在源网络中创建的第一个 PDN连接, UE或者网络侧网元(如 PGW )为这个 创建的 PDN连接使用的 APN增加序列号 1 (即这个 PDN连接使用的 APN为 APN: 1 );对于 UE在源网络中创建的第二个 PDN连接, UE或者网络侧网元(如 PGW )为这个创建的 PDN连接使用的 APN增加序列号 2 (即这个 PDN连接使用 的 APN为 APN: 2 ) ; 以此类推。 APN +序列号能够唯一地确定一个 PDN连接。 在 UE从源网络切换目标网络时 UE或者移动性管理网元为每个请求建立的 PDN 连接携带这个 PDN连接在源网络中使用的 APN+序列号。
PGW根据创建缺省承载请求消息中携带的标识信息定位这个用户设备使 用的 PDN连接。
如果移动性管理网元未在创建缺省承载请求消息中携带 PDN标识信息以 标识每一个 PDN连接, 则 PGW可以自己决定创建缺省承载请求消息所对应的 PDN连接。 如 PGW对于 UE的同一个 APN下的所有 PDN连接按照 PDN标识信息 进行排序 (如按照分组数据网络连接标识进行排序, 连接标识小的 PDN连接 排在前面), 这样当 PGW收到 UE的这个 APN下的第一个创建缺省承载请求消 息后使用第一个 PDN连接,收到 UE的这个 APN下的第二个创建缺省承载请求 消息后使用第二个 PDN连接, 依此类推。
步骤 417、 PGW根据用户设备在源网络中 PDN连接使用的 IP地址信息和 用户设备在目标网络中 PDN连接使用的 IP地址,决定和策略和计费规则功能 实体之间的处理方式。 可能有如下的处理方式:
( 1 )用户设备在源网络中 PDN连接使用的 IP地址和目标网络中 PDN连 接使用的 IP地址相同:
PGW发送 IP-CAN Ses s ion修改消息到策略和计费规则功能实体请求修改 后的策略和计费控制 ( PCC , Po l i cy and Charg ing Cont ro l )规则。 本实施 例中的会话指示消息为会话修改消息。 消息中携带 UE使用的 PDN标识信息。 策略和计费规则功能实体根据 UE 使用的 PDN 标识信息定位到 UE 使用的 IP-CAN Ses s i on , 将这个 IP-CAN Ses s i on中的 PCC规则下发给 PGW, 或者 PCRF根据 UE接入的网络类型修改这个 I P-CAN Ses s i on中的 PCC规则, 将 修改后的 PCC 规则下发给 PGW。 由于 UE 在源网络和目标网络中使用的 IP-CAN Session中使用的 IP地址相同, 所以 PGW可以在 IP-CAN Session 修改消息中不携带目标网络 IP-CAN Session使用的 I P地址信息。 PCRF收到 这样的消息后缺省认为 UE继续使用在源网络中使用的 IP地址。
(2)用户设备在源网络中 PDN连接中使用两个 IP地址, 用户设备在目 标网络中 PDN连接中只能使用一个 IP地址且另一个 IP地址删除时的 PCC规 则处理方法:
PGW发送 IP-CAN Session修改消息到策略和计费规则功能实体到策略和 计费规则功能实体请求修改后的策略和计费控制 PCC, 该 IP-CAN Session修 改消息中携带目标网络 IP-CAN Session使用的 IP地址信息和 PDN标识信息。 IP地址信息可以为这个 IP-CAN Session使用的具体 IPv4地址或者 IPv6地 址或者 IPv4/IPv6地址, 也可以为这个 IP-CAN Session使用的 IP地址指示 位, 如 PGW在 IP-CAN Session修改消息中携带 IP地址标志 (Address Flag ) 信元, PGW设置这个信元为 IPv4表示这个 IP-CAN Session使用 IPv4地址; PGW设置这个信元为 IPv6表示这个 IP-CAN Session使用 IPv6地址; PGW设 置这个信元为 IPv4/IPv6表示这个 IP-CAN Session使用 IPv4地址和 IPv6地 址, 策略和计费规则功能实体根据 UE使用的 PDN标识信息定位到 UE原来使 用的 IP-CAN Session, 将原来 IP-CAN Session中的这个 IP地址对应的 PCC 规则下发给 PGW, 或者根据用户设备接入的网络类型修改这个 IP地址对应的 PCC 规则, 将修改后的 PCC规则下发给 PGW。
PGW可以在 IP-CAN Session修改消息中携带指示信息, 指示策略和计费 规则功能实体将另一个删除的 IP地址使用的信息删除, 如将这个删除的 IP 地址使用的 PCC规则删除。 指示信息可以如下处理:
1 ) PGW在 IP-CAN Session修改消息中携带删除的 IP地址信息。 删除的 IP地址信息可以为删除的具体 IPv4地址或者 IPv6地址,也可以为删除的 IP 地址指示位, 如 PGW在 IP-CAN Session修改消息中携带删除 IP地址标志 (Delete IP Address Flag )信元, PGW设置这个信元为 IPv4表示这个 IPv4 地址使用的信息被删除; PGW设置这个信元为 IPv6表示这个 IPv6地址使用 的信息被删除。
2) PGW在 IP-CAN Session修改消息中携带指示信息, 指示策略和计费 规则功能实体用户设备在目标网络只能使用 IP-CAN Session修改消息中携带 的 IP地址信息对应的 IP地址类型, 则另一个类型的 IP地址不能被使用, 其 对应的相关信息将被删除。 策略和计费规则功能实体收到这样的指示后, 将 另一个类型的 IP地址使用的信息删除。这个方法的指示信息可以为目标网络 支持的 IP协议栈类型信息。 如果协议栈类型信息为 IPv4, 则表示用户设备 在目标网络只能使用 IPv4地址, 删除 IPv6地址使用的信息; 如果协议栈类 型信息为 IPv6, 则表示用户设备在目标网络只能使用 IPv6地址, 删除 IPv4 地址使用的信息。
( 3)用户设备在源网络中 PDN连接中使用两个 IP地址, 用户设备在目 标网络中每个 PDN连接中只能使用一个 I P地址且源网络的两个 I P地址在目 标网络的两个 PDN连接中使用, 即目标网络中的一个 PDN连接使用用户设备 在源网络中使用的 IPv4地址,而另一个 PDN连接使用用户设备在源网络中使 用的 IPv6地址时的 PCC规则处理方法:
方法一:
1 )、 对于在目标网络中使用的两个 IP-CAN Session, PGW都发送 IP-CAN Session修改消息或者 IP-CAN Sess ion建立消息到策略和计费规则功能实体, 消息中携带这个 IP-CAN Session使用的 IP地址信息, 可以为具体的 IPv4或 者 I P V 6地址, 也可以为 IPv4或者 IPv6地址指示位, 源网络 PDN标识信息, 目标网络 PDN标识信息。
2)、 策略和计费规则功能实体根据源网络 PDN标识信息则功能实体根定 位到用户设备原来使用的 IP-CAN Session。 策略和计费规则功能实体定位到 用户设备原来使用的 IP-CAN Session后根据消息中携带的 IP地址信息将原 来 IP-CAN Session中的这个 IP地址对应的 PCC rules下发给 PGW, 或者根 据用户设备接入的网络类型修改这个 IP地址对应的 PCC rules, 将修改后的 PCC rules下发给 PGW。
3)、 策略和计费规则功能实体根据目标网络 PDN标识信息创建一个新的 IP-CAN Session。 策略和计费规则功能实体将原 IP-CAN Session 中的相应 IP地址对应的信息,如 IP地址, PCC rules等,写入新创建的 IP-CAN Session。
方法二:
1 ) 对于在目标网络中使用的两个 IP-CAN Session, 对于其中的一个 IP-CAN Session, PGW发送 IP-CAN Session修改消息到策略和计费规则功能 实体, 消息中携带这个 IP-CAN Session使用的 IP地址信息, 可以为具体的 IPv4或者 IPv6地址, 也可以为 IPv4或者 IPv6地址指示位, 源网络 PDN标 识信息。 策略和计费规则功能实体根据源网络 PDN标识信息功能实体定位到 用户设备原来使用的 IP-CAN Session。 策略和计费规则功能实体定位到用户 设备原来使用的 IP-CAN Session后根据消息中携带的 IP 地址信息将原来 IP-CAN Session中的这个 IP地址对应的 PCC rules下发给 PGW, 或者根据用 户设备接入的网络类型修改这个 I P地址对应的 PCC rules, 将修改后的 PCC rules下发给 PGW。
2)对于另一个 IP-CAN Session, PGW发送 IP-CAN Session修改消息或 者 IP-CAN Session 建立消息到策略和计费规则功能实体, 消息中携带这个 IP-CAN Session使用的 IP地址信息, 可以为具体的 IPv4或者 IPv6地址, 也可以为 I Pv4或者 I Pv 6地址指示位, 源网络 PDN标识信息, 目标网络 PDN 标识信息。 策略和计费规则功能实体根据源网络 PDN标识信息功能实体定位 到用户设备原来使用的 IP-CAN Session。 策略和计费规则功能实体定位到用 户设备原来使用的 IP-CAN Session后根据消息中携带的 IP地址信息将原来 IP-CAN Session中的这个 IP地址对应的 PCC rules下发给 PGW, 或者根据用 户设备接入的网络类型修改这个 I P地址对应的 PCC rules, 将修改后的 PCC rules下发给 PGW。策略和计费规则功能实体根据目标网络 PDN标识信息创建 一个新的 IP-CAN Ses s ion。 策略和计费规则功能实体将原 IP-CAN Ses s ion 中的相应 IP地址对应的信息,如 IP地址, PCC rules等,写入新创建的 IP-CAN Ses s ior
步骤 419、 策略和计费规则功能实体返回 IP-CAN Ses s ion修改确认消息 到 PGW,将修改后的 PCC规则返回给 PGW。策略和计费规则功能实体根据 IP-CAN Ses s ion修改消息的 IP地址信息返回相应的 PCC规则给 PGW。如果 IP地址信 息为 IPv4 ,则策略和计费规则功能实体返回 IPv4地址对应的 PCC规则到 PGW; 如果 IP地址信息为 IPv6则策略和计费规则功能实体返回 IPv6址对应的 PCC 规则到 PGW; 如果 IP地址信息为 IPv4/ IPv6 , 则策略和计费规则功能实体返 回 IPv4地址和 IPv6地址对应的 PCC规则到 PGW。
步骤 421、 如果用户设备在源网络使用 IPv4和 IPv6地址而在目标网络 只能使用单个 IP地址, 如只能使用 IPv4或者 IPv6地址, 具体参见 415中的 描述, 则 PGW删除另一个 IP地址。 如果步骤 415中 PGW没有通知策略和计费 规则功能实体将删除的 IP地址使用的信息删除, 则步骤 419、 421被执行, 步骤 423、 PGW发送 IP-CAN Ses s ion终止指示消息给策略和计费规则功 能实体请求策略和计费规则功能实体将另一个 IP地址使用的信息删除,如将 另一个 IP地址使用的 PCC规则删除, 消息中携带 APN、 IP地址信息。 IP地 址信息可以为删除的具体 IPv4地址或者 IPv6地址,也可以为删除的 IP地址 指示位,如 PGW在 IP-CAN Ses s ion终止指示消息中携带 IP地址标志( Addres s Flag )信元, PGW设置这个信元为 IPv4表示这个 IPv4地址使用的信息被删 除; PGW设置这个信元为 IPv6表示这个 IPv6地址使用的信息被删除。
策略和计费规则功能实体删除相应 IP 地址使用的信息, 回 IP-CAN Ses s ion终止确认消息给 PGW。
步骤 425、 PGW返回创建缺省承载响应消息到 SGW。
步骤 427、 SGW返回创建缺省承载响应消息到移动性管理网元。
步骤 429、 移动性管理网元返回附着接受消息到用户设备。 本发明实施例通过引入上述策略和计费控制规则的方法, 能够解决当用 户设备从 non-3GPP网络切换到 3GPP网络或者用户设备从 non-3GPP网络需要 切换到 3GPP网络, 服务网关和用户面锚点网关之间使用 GTP协议时, 源网络 和目标网络中的 IP-CAN Ses s ion中使用的 IP地址类型不一致时 PCC规则如 何处理的问题,从而能够将 UE在源网络中使用的业务信息在目标网络中恢复 出来, 保证 UE的业务不发生中断, 从而不影响 UE的体验。 进一步地, 本实 施例的策略和计费规则功能实体根据 UE使用的 PDN标识信息定位到 UE使用 的 IP-CAN Ses s ion, 然后将这个 IP-CAN Ses s i on中的 PCC规则直接或修 改后下发给 PGW,从而解决了现有技术中根据 UE使用的 APN去定位 IP-CAN Ses s ion, 当一个 APN对应多个 IP-CAN Ses s ion时无法定位的缺陷。 策略 和计费控制规则的获取方法实施例三
图 5 为本发明策略和计费控制规则的获取方法应用于用户设备从 non-3GPP 网络切换到 3GPP 网络或者用户设备从 non-3GPP 网络需要切换到 3GPP网络,服务网关和用户面锚点网关之间使用 PMIP (代理移动互联网协议, Proxy Mobi le Internet Protocol )协议的实施例。 如图 5所示, 具体包括: 步骤 501-511同实施例二中步骤 401-411 , 在此不再赞述;
步骤 513、 如果 SGW和 PGW之间的接口协议是 PMIP协议, 则 SGW发送网关控 制会话建立消息给 PCRF, 请求 UE使用的 PCC规则。
该网关控制会话建立消息中携带 UE的标识(如 IMSI ) 、 IP地址信息、 PDN 标识信息。 IP地址信息可以为 IP-CAN Ses s ion使用的具体 IPv4地址或者 IPv6 地址或者 IPv4/ IPv6地址,也可以为该 IP-CAN Ses s ion使用的 IP地址位,如 SGW 在网关控制会话建立消息中携带 "IP Addres s F lag ( IP地址标志) " 信元; SGW设置这个信元为 IPv4则表示该 IP-CAN会话使用 IPv4地址; SGW设置这个信 元为 IPv6则表示 IP-CAN会话使用 IPv6地址; SGW设置这个信元为 IPv4/ IPv6表 示 IP-CAN会话使用 IPv4地址和 IPv6地址;
SGW在网关控制会话建立消息中可以携带指示信息指示 PCRF UE在目 标网络只能使用网关控制会话建立消息中携带的 IP地址信息对应的 IP地 址类型, 另一个类型的 IP地址不能被使用, 将被删除。 PCRF收到该指示 信息的指示后将另一个类型的 IP地址使用的信息删除。 本实施例的指示 信息可以为目标网络支持的 IP协议栈类型信息。 如果协议栈类型信息为 IPv4 , 则表示 UE在目标网络只能使用 IPv4地址; 如果协议栈类型信息为 IPv6 , 则表示 UE在目标网络只能使用 IPv6地址; 如果协议栈类型信息为 IPv4/ IPv6 , 则表示 UE在目标网络能使用 IPv4地址和 IPv6地址。
步骤 515、 PCRF返回网关控制会话建立确认消息给 SGW;
具体地, PCRF根据网关控制会话建立消息中携带的 PDN标识信息定位到 UE 使用的 IP-CAN Ses s ion,然后根据 IP地址信息返回 IP-CAN Ses s ion中相应的 PCC规则给 SGW。 如果 IP地址信息指示该会话使用 IPv4地址, 则 PCRF返回 UE的 IPv4地址使用的 PCC规则给 SGW; 如果 IP地址信息指示该会话使用 IPv6地址, 则 PCRF返回 UE的 IPv6地址使用的 PCC规则给 SGW; 如果 IP地址信息指示该 IP-CAN会话使用 IPv4/ IPv6地址, 则 PCRF返回 UE的 IPv4/ IPv6地址使用的 PCC 规则给 SGW。
如果 SGW在步骤 513中指示 PCRF UE在目标网络只能使用网关控制会话建 立消息中携带的 IP地址信息对应的 IP地址类型, 另一个类型的 IP地址不能被 使用, 则 PCRF将另一个类型的 IP地址使用的信息, 比如这个地址使用的 PCC 步骤 517、 SGW发送代理绑定更新消息给 PGW, 该代理绑定更新消息中携带
IP地址信息、 PDN标识信息。 如果移动性管理网元在创建缺省承载请求消息中 携带目标网络支持的 IP协议栈类型信息,则 SGW在代理绑定更新消息中携带这 个目标网络支持的 IP协议栈类型信息到 PGW;
步骤 519、 本步骤与实施例一中步骤 419的不同在于, 将步骤 419中的 IP-CAN Ses s ion会话修改消息更改为策略和计费规则请求消息, 具体过程在 此不再赘述; 步骤 521、 PCRF返回策略和计费规则提供消息给 PGW, 并将修改后的 PCC 规则携带在策略和计费规则提供消息中返回给 PGW;
具体地, PCRF根据策略和计费规则请求消息中的 IP地址信息返回相应的 PCC规则给 PGW。 如果 IP地址信息为 IPv4 , 则 PCRF返回 IPv4地址对应的 PCC规则 给 PGW; 如果 IP地址信息为 IPv6 , 则 PCRF返回 IPv6址对应的 PCC规则给 PGW; 如 果 IP地址信息为 IPv4/ IPv6 , 则 PCRF返回 IPv4地址和 IPv6地址对应的 PCC规则 给 PGW。
步骤 523-525、 同实施例二中的步骤 421-423 , 在此不再贅述;
步骤 527、 PGW返回代理绑定确认消息给 SGW;
步骤 529、 SGW发送创建缺省承载响应消息给移动性管理网元;
步骤 531、 移动性管理网元发送附着接受消息给 UE。
本发明实施例通过引入上述策略和计费控制规则的方法, 能够解决当用 户设备从 non-3GPP网络切换到 3GPP网络或者用户设备从 non-3GPP网络需要切 换到 3GPP网络, Serv ing GW和 PDN GW之间使用 PMIP协议时, 源网络和目标网 络中的 IP-CAN Ses s i on中使用的 IP地址类型不一致时 PCC规则如何处理的问 题, 从而能够将 UE在源网络中使用的业务信息在目标网络中恢复出来, 保证 UE的业务不发生中断, 从而不影响 UE的体验。
策略和计费控制规则的获取方法实施例四
图 6为本发明策略和计费控制规则的获取方法应用于用户设备从 3GPP网 络切换到 non-3GPP网络或者用户设备从 3GPP 网络需要切换到 non-3GPP网 络, non-3GPP GW和 PDN GW之间使用 PMIP协议的实施例。 如图 6所示, 具 体包括:
步骤 601、 用户设备 UE在 3GPP接入, UE决定切换到 non-3GPP网络, 发起 3GPP网络到 non- 3GPP网络之间的切换; 步骤 603、 UE切换到 non-3GPP网络, 通过 non-3GPP网络的接入网元 执行鉴权和认证; 或者 UE需要切换到 non-3GPP网络, 但是 UE还驻留在 3GPP网络, 则 UE通过 3GPP网络的接入网元执行鉴权和认证。
本实施例对于 WLAN系统, Non-3GPP Access为演进分组数据网关 EPDG; 对于 Wimax系统, Non-3GPP Access为接入业务网络网关 ASN GW;对于 CDMA 系统, Non-3GPP Access 为接入网关 AGW。 Non-3GPP Access 在本步骤中 获取 UE在 3GPP网络中使用的 PDN连接信息, 即 Non-3GPP Access获得 UE 在 3GPP网络中使用的 APN和 PDN GW地址。
步骤 605、 UE通过 non-3GPP网络或者 3GPP网络的接入网元发送层 3附着请 求消息 ( L3 Attach Request )给 Non_3GPP Access;
步骤 607、 如果 UE在 3GPP向 non-3GPP切换或者需要切换时的 PDN连接建立 过程由网络侧发起, 则 Non-3GPP Access对于 UE在 3GPP网络中建立的每个 PDN 连接发起 PDN连接建立程序, 发送代理绑定更新消息到 PGW, 该代理绑定更新 消息中携带 PDN连接使用的 IP地址信息、 PDN标识信息;
Non-3GPP Access可以在代理绑定更新消息中携带目标网络支持的 IP协 议栈类型信息, 或者如果目标网络支持的 IP协议栈类型为 IPv4或者 IPv6, 则 Non-3GPP Acces s可以在代理绑定更新消息中携带目标网络支持的 IP协议栈 类型信息; 如果 Non-3GPP Access未在代理绑定更新消息中携带目标网络支持 的 IP协议栈类型信息, 则网络侧认为目标网络支持的 IP协议栈类型信息为 IPv4/IPv6。
Non-3GPP Access根据目标网络运营商的策略或者目标网络的能力来 获取目标网络支持的 IP协议栈类型。
步骤 609、 本步骤与实施例二中的步骤 417基本相同, 其区别在于: 将步 骤 417中的 IP-CAN Session修改消息替换为 IP-CAN会话建立指示消息, 在此不 再贅述;
步骤 611、 PCRF发送 IP-CAN Sess ion建立确认消息给 PGW, 并将修改后的 PCC规则携带在 IP-CAN Ses s ion建立确认消息中返回给 PGW;
具体地, PCRF根据 IP-CAN Ses s ion建立指示消息的 IP地址信息返回相应 的 PCC规则给 PGW。 如果 IP地址信息为 IPv4 , 则 PCRF返回 IPv4地址对应的 PCC 规则给 PGW; 如果 IP地址信息为 IPv6 , 则 PCRF返回 IPv6地址对应的 PCC规则给 PGW; 如果 IP地址信息为 IPv4/ IPv6 , 则 PCRF返回 IPv4地址和 IPv6地址对应的 PCC规则给 PGW。
步骤 613、 PGW发送 IP-CAN会话终止指示消息给 PCRF, 如果 UE在源网络可 以使用 IPv4和 IPv6地址而在目标网络只能使用单个 IP地址, 例如只能使用 IPv4或者 IPv6地址, 具体参见步骤 607中的描述, 则 PGW删除另一个 IP地址。 如果步骤 609中 PGW没有通知 PCRF将删除的 IP地址使用的信息删除, 则执行步 骤 617、 619 , 后续处理同实施例二中步骤 421的处理。
步骤 615、 PCRF删除相应的 IP地址使用的信息, 发送 IP-CAN Ses s ion终止 确认消息给 PGW;
步骤 617、 PGW发送代理绑定确认消息到 Non-3GPP GW;
步骤 619、 Non-3GPP Acces s发送网关控制会话建立消息给 PCRF, 请求 UE 使用的 PCC规则;
该网关控制会话建立消息中携带 UE使用的 IP地址信息、 PDN标识信息。 IP 地址信息可以为这个 I P-CAN会话使用的具体 I Pv4地址或者 I P v6地址或者 IPv4/ IPv6地址, 也可以为这个 IP-CAN Ses s ion使用的 IP地址位, 例如 Non-3GPP Acces s在网关控制会话建立消息中携带 "IP Addres s F lag ( IP地 址标志) " 信元, 则 Non-3GPP Acces s设置这个信元为 IPv4即表示这个会话使 用 IPv4地址; Non-3GPP Acces s设置这个信元为 IPv6即表示这个会话使用 IPv6 地址; Non-3GPP Acces s设置这个信元为 IPv4/ IPv6即表示这个会话使用 IPv4 地址和 IPv6地址。
Non-3GPP Acces s在网关控制会话建立消息中可以携带指示信息, 指示
PCRF UE在目标网络只能使用网关控制会话建立消息中携带的 IP地址信息对 应的 IP地址类型, 另一个类型的 IP地址不能被使用, 将被删除。 PCRF收到该 指示信息的指示后将另一个类型的 IP地址使用的信息删除。 该指示信息可以 为目标网络支持的 IP协议栈类型信息。 如果协议栈类型信息为 IPv4, 则表示 UE在目标网络只能使用 IPv4地址; 如果协议栈类型信息为 IPv6, 则表示 UE在 目标网络只能使用 IPv6地址; 如果协议栈类型信息为 IPv4/IPv6, 则表示 UE 在目标网络能使用 IPv4地址和 IPv6地址。
步骤 621、 PCRF发送策略和计费规则提供消息给 PGW;
步骤 623、 PGW回复策略和计费规则提供确认消息给 PCRF;
步骤 625、 PCRF返回网关控制会话建立确认消息给 Non-3GPP Access; 具体地, PCRF根据网关控制会话建立消息中携带的 PDN标识信息定位到 UE 使用的 IP-CAN Session, 然后根据 IP地址信息返回 IP-CAN Session中相应的 PCC规则给 Non-3GPP Access, 比如 IP地址信息指示这个 IP-CAN会话使用 IPv4 地址, 则 PCRF返回 UE的 IPv4地址使用的 PCC规则给 Non-3GPP Access; 如果 IP 地址信息指示这个 IP-CAN会话使用 IPv6地址, 则 PCRF返回 UE的 IPv6地址使用 的 PCC规则给 Non-3GPP Access; 如果 IP地址信息指示这个 IP-CAN会话使用 IPv4/IPv6地址, 则 PCRF返回 UE的 IPv4/IPv6地址使用的 PCC规则给 Non-3GPP CC6SS。
如果 Non-3GPP Access在步骤 619中指示 PCRF UE在目标网络只能使用网关 控制会话建立消息中携带的 IP地址信息对应的 IP地址类型, 另一个类型的 IP 地址不能被使用, 则 PCRF将另一个类型的 IP地址使用的信息, 比如这个地址 使用的 PCC规则删除。
步骤 627、 Non-3GPP GW发送层 3附着接受消息给 UE。
本发明实施例通过引入上述策略和计费控制规则的方法, 能够解决当用 户设备从 3GPP网络切换到 non-3GPP网络或者用户设备从 3GPP网络需要切换到 non-3GPP网络, non-3GPP GW和 PDN GW之间使用 PMIP协议时, 源网络和目标网 络中的 IP-CAN Session中使用的 IP地址类型不一致时 PCC规则如何处理的问 题, 从而能够将 UE在源网络中使用的业务信息在目标网络中恢复出来, 保证
UE的业务不发生中断, 从而不影响 UE的体验。
策略和计费控制规则的获取方法实施例五
图 7为本发明策略和计费控制规则的获取方法应用于用户设备从 3GPP网 络切换到 non-3GPP网络或者用户设备从 3GPP 网络需要切换到 non-3GPP网 络, 用户设备和 PDN GW之间使用 CMIP协议的实施例。 如图 7所示, 具体包 括:
步骤 701-705、 与实施例四步骤 601-605相同, 在此不再赞述;
步骤 707、 Non-3GPP Acces s发送层 3附着接受消息给 UE;
步骤 709、 对于 UE在 3GPP网络中建立的每个 PDN连接, UE通过 non-3GPP网 络的接入网元或者 3GPP网络的接入网元发送绑定更新消息给 PGW, 请求建立 PDN连接, 该绑定更新消息中携带 PDN连接使用的 IP地址信息、 PDN标识信息; UE还可以在绑定更新消息中携带目标网络支持的 IP协议栈类型信息, 或 者如果目标网络支持的 IP协议栈类型为 IPv4或者 IPv6 , 则 UE以在绑定更新消 息中携带目标网络支持的 IP协议栈类型信息。 如果 UE未在绑定更新消息中携 带目标网络支持的 IP协议栈类型信息, 则网络侧认为目标网络支持的 IP协议 栈类型信息为 IPv4/ IPv6。
如果 UE在源网络 PDN连接使用 IPv4和 IPv6地址, 而目标网络 PDN连接支持 的 IP协议栈能力类型为 IP单栈,则 UE对源网络的一个 PDN连接发送两个绑定更 新消息到 PGW, —个绑定更新中的 IP地址信息设置为 IPv4 , 另一个绑定更新消 息中的 IP地址信息设置为 IPv6。
步骤 711、 PGW收到上述绑定更新消息后根据 PDN标识信息定位到这个 UE 使用的 PDN连接, PGW保留这个 PDN连接的 IP地址不变, 即 PGW对于该 PDN连接 继续使用 UE在 3GPP网络时分配的 I P地址,而不需要为这个 PDN连接分配新的 I P 地址。 后续处理同实施例二中的步骤 417 ;
步骤 713、 PCRF发送 IP-CAN Ses s ion修改确认消息给 PGW, 并将修改后的 PCC规则返回给 PGW;
PCRF根据 IP-CAN Session修改消息中的 IP地址信息返回相应的 PCC规则 给 PGW。 如果 IP地址信息为 IPv4, 则 PCRF返回 IPv4地址对应的 PCC规则给 PGW; 如果 IP地址信息为 IPv6, 则 PCRF返回 IPv6址对应的 PCC规则给 PGW; 如果 IP地 址信息为 IPv4/IPv6, 则 PCRF返回 IPv4地址和 IPv6地址对应的 PCC规则给 PGW。
步骤 715-717、 与实施例二中步骤 421-423相同, 在此不再贅述; 步骤 719、 PGW回复绑定确认消息给 UE。
本发明实施例通过引入上述策略和计费控制规则的方法, 能够解决当 用户设备从 3GPP网络切换到 non-3GPP网络或者用户设备从 3GPP网络需 要切换到 non-3GPP网络, UE和 PDN GW之间使用 CMIP协议时, 源网络和 目标网络中的 IP-CAN Session中使用的 IP地址类型不一致时 PCC规则如 何处理的问题, 从而能够将 UE在源网络中使用的业务信息在目标网络中 恢复出来, 保证 UE的业务不发生中断, 从而不影响 UE的体验。 进一步地, 本实施例的策略和计费规则功能实体根据 UE使用的 PDN标识信息定位到 UE 使用的 IP-CAN Session, 然后将这个 IP-CAN Session中的 PCC规则直接 或修改后下发给 PGW, 从而解决了现有技术中根据 UE使用的 APN去定位 IP-CAN Session, 当一个 APN对应多个 IP-CAN Session时无法定位的缺 陷。
如图 8所示, 为本发明实施例策略和计费控制规则的获取装置结构示意 图一, 具体包括:
指示消息发送模块 3, 用于将 IP地址信息携带在会话指示消息中发送 给策略和计费规则功能实体。还进一步用于: 将 IP地址信息和 PDN标识信 息携带在会话指示消息中发送给策略和计费规则功能实体。
规则接收模块 4, 用于接收策略和计费规则功能实体根据所述 IP地址 信息返回的所述 IP地址信息在 IP连接接入网络会话中对应的策略和计费 控制规则。 具体用于: 接收所述策略和计费规则功能实体发送的所述 IP 地址信息在 IP连接接入网络会话中对应的策略和计费控制规则;
或接收策略和计费规则功能实体发送的根据用户设备接入的网络类型修 改的 IP地址信息在 IP连接接入网络会话中对应的策略和计费控制规则。
本实施例的指示消息发送模块 3还用于: 向策略和计费规则功能实体 发送会话指示消息, 该会话指示消息中携带另一个 IP地址信息、 源 PDN 标识信息、 目的 PDN标识信息, 其中源 PDN标识信息用于策略和计费规则 功能实体定位 PDN连接; 则规则接收模块 4还用于: 接收策略和计费规则功 能实体根据根据所述会话指示消息发送的另一个 IP地址对应的 PCC规则。
本实施例还包括获取模块 5 , 用于获取用户设备在目标网络使用的 IP 地址信息以及 PDN标识信息; 或, 接收移动管理实体发送 IP指示信息中 携带的用户设备在目标网络使用的 IP地址信息和 PDN标识信息。
本实施例的指示消息发送模块 3包括: 第一删除指示单元 31 , 用于发 送携带需要删除的 IP地址信息的会话指示消息; 该需要删除的 IP地址信 息用于指示策略和计费规则功能实体根据需要删除的 IP地址信息删除该 IP地址对应的策略和计费控制规则。
本实施例的指示消息发送模块 3还可以包括: 第二删除指示单元 32 , 用于发送携带指示信息的会话指示消息, 该指示信息指示用户设备只能使 用会话指示消息中携带的 IP地址信息对应的 IP地址类型; 则指示信息用于 指示策略和计费功能实体根据该指示信息删除所述会话指示消息中携带的 IP地址类型以外的 IP地址对应的策略和计费控制规则。
在本实施例中, 指示消息发送模块 3还进一步包括: 目标 PDN连接发 送单元 33 , 用于当源网络的 PDN连接支持两种 IP地址类型, 目标网络的 PDN连接支持一种 IP地址类型时,发送进一步携带有目标 PDN标识信息的 会话指示消息。
本实施例还包括: 终止消息发送模块 6 , 用于发送会话终止消息给所述 策略和计费功能实体, 该会话终止消息中携带需要删除的 IP地址信息, 会话 终止消息用于指示策略和计费功能实体根据需要删除的 IP地址信息删除该
IP地址对应的策略和计费控制规则。
如图 9所示, 为本发明实施例策略和计费控制规则的获取装置结构示意 图二, 本实施例中的获取装置的各个模块的结构和功能与上述图 8所示实施 例中基本相同, 区别在于本实施例中指示消息发送模块 3包括发送单元 34以 及第一信息生成单元 35、第二信息生成单元 36和第三信息生成单元 37中 的任一或其组合, 其中的第一信息生成单元 35 用于生成携带指示信息的 会话指示消息,所述指示信息指示用户设备只能使用会话指示消息中携带的 IP地址信息对应的 IP地址类型; 则所述指示信息用于指示策略和计费功能 实体根据所述指示信息删除所述会话指示消息中携带的 IP 地址类型以外 的 IP地址对应的策略和计费控制规则;
第二信息生成单元 36用于生成携带指示信息的会话指示消息, 所述指 示信息指示用户设备只能使用会话指示消息中携带的 IP地址信息对应的 IP 地址类型; 则所述指示信息用于指示策略和计费功能实体根据所述指示信息 删除所述会话指示消息中携带的 IP地址类型以外的 IP地址对应的策略和 计费控制规则;
第三信息生成单元 37用于当源网络的 PDN连接支持两种 IP地址类型, 目标网络的 PDN连接支持一种 IP地址类型时,生成进一步携带有目标 PDN 标识信息的会话指示消息;
发送单元 34 用于发送第一信息生成单元、 第二信息生成单元或者第 三信息生成单元生成的会话指示信息。 如图 10所示, 为本发明实施例策略 和计费控制功能实体结构示意图, 包括: 指示消息接收模块 8 , 用于接收 携带有 IP地址信息的会话指示消息; 规则发送模块 9 , 用于根据会话指示 消息, 将所述 IP地址信息在 IP连接接入网络会话中对应的策略和计费控 制规则发送; 或, 根据会话指示消息, 根据用户设备接入的网络类型修改 IP 地址信息在 IP连接接入网络会话中对应的策略和计费控制规则, 并发送。 本实施例还包括: 定位模块 1 0 , 用于根据接收到的会话指示消息中的
PDN标识信息, 通过 PDN标识信息定位到所述用户设备使用的网络会话。 删除模块 1 , 用于根据接收到的会话指示消息, 或会话终止消息中的需要删 除的 IP地址信息, 删除该 IP地址对应的策略和计费控制规则。
本实施例的删除模块 1具体用于: 从会话指示消息中获取指示信息, 所 述指示信息指示用户设备只能使用会话指示消息中携带的 IP 地址信息对应 的 IP地址类型; 根据所述指示信息删除所述指示信息指示的 IP地址类型 以外的 IP地址对应的策略和计费控制规则。
本实施例进一步包括: 网络会话建立模块 2 , 用于根据所述会话指示 消息中的目标 PDN标识信息建立新的 IP连接接入网络会话, 同时将所述 会话指示消息中的 IP地址对应的策略和计费控制规则写入新的 IP连接接 入网络会话。
本发明实施例通过引入上述策略和计费控制规则的获取装置, 能够解 决网络切换时源网络和目标网络中的 IP-CAN Ses s i on中使用的 IP地址类 型不一致时 PCC规则如何获取的问题, 从而能够将 UE在源网络中使用的 业务信息在目标网络中恢复出来, 保证 UE 的业务不发生中断, 从而不影 响 UE的体验。
本发明实施例还提供了一种通信系统, 包括上述任一实施例中提到的 策略和计费控制规则的获取装置以及策略和计费控制功能实体。
本发明实施例还提供了一种定位 IP连接接入网络会话的功能实体, 图 11 为本发明定位 IP 连接接入网络会话的功能实体实施例的结构示意 图, 如图 11所示, 包括: 标识信息获取模块 31和定位模块 32 , 其中标识 信息获取模块 31用于获取 PDN标识信息; 定位模块 32用于根据所述 PDN 标识信息定位 IP连接接入网络会话。
具体的所述 PDN标识信息包括:分组数据网络连接标识和接入点名称, 接入点名称和序列号, 或者分组数据网络连接标识中的任一项或其组合。 需要说明的是: 本发明实施例所提供的方法和装置不仅仅应用于 non- 3GPP网络和 3GPP网络之间切换时, 源网络和目标网络中 I P-CAN Session 使用的 IP地址不一致时 PCC规则处理的问题, 本领域技术人员同样可以理解, 也可以应用于 3GPP网络之间切换时或者 non-3GPP网络之间切换时, 源网络和 目标网络中 IP-CAN Session中使用的 IP地址不一致时 PCC规则处理的问题。 如 UE从 non-3GPP网络中的 Wimax网络切换到 non-3GPP网络中的 HRPD网络时 HRPD 网络中的 PDSN网元发送代理绑定更新消息给 PGW , 消息中携带 IP地址指示信 息, 则 PGW和 PCRF的处理同实施例四中描述的处理流程一样。
本发明实施例所提供的方法和装置也可以应用于非切换场景下 UE使用的 IP-CAN Session中使用的 IP地址发生改变时的 PCC规则处理。 如 UE原来使用的 IP-CAN Session中有一个 IPv4地址和一个 IPv6, 后续 UE或者网络侧删除 UE使 用的一个 IP地址, 发送相应消息通知 PGW PDN连接中使用的一个 IP地址删除。 PGW和 PCRF的处理类似于实施例二中的处理过程如下:
第一种方法:
PDN GW发送 IP-CAN Ses s ion终止指示消息给 PCRF请求 PCRF将 IP-CAN
Session中的一个 IP地址使用的信息删除, 如这个 IP地址使用的 PCC rules删除, 消息中的 IP地址信息可以为具体的 IPv4或者 IPv6地址, 也 可以为 IPv4或者 IPv6地址指示位。 PCRF删除这个 IP地址使用的信息。
第二种方法:
PDN GW发送 IP-CAN Session修改消息到 PCRF,消息中携带这个 IP-CAN
Session使用的 IP地址信息, 可以为具体的 IPv4或者 IPv6地址, 也可以 为 IPv4或者 IPv6地址指示位, PCRF将原来 IP-CAN Session中的这个 IP 地址对应的 PCC rules下发给 PDN GW0同时 PDN GW在这个消息中指示 PCRF 另一个 IP地址被删除,可以为具体的 IPv4或者 IPv6地址,也可以为 IPv4 或者 IPv6地址指示位。 PCRF将 IP-CAN Session中的另一个 IP地址使用 的信息, 如这个 IP地址使用的 PCC rules删除。 第三种方法:
PDN GW发送 IP-CAN Session修改消息到 PCRF。 PDN GW在这个消息中 携带删除的 IP地址信息指示 PCRF将 IP-CAN Sess ion中的一个 IP地址使 用的信息删除。 删除的 IP地址信息可以为具体的 IPv4或者 IPv6地址, 也可以为 IPv4或者 IPv6地址指示位。 PCRF将 IP-CAN Session中的删除 的 IP地址使用的信息删除。
对于 UE原来使用的 IP-CAN Session中只有一个 IPv4地址或者一个 IPv6, 后续 UE或者网络侧增加 UE使用的一个 IP地址, 发送相应消息通 知 PGW PDN连接中增加一个 IP地址。 PGW和 PCRF的处理类似于实施例二 中的处理:
PDN GW发送 IP-CAN Session修改消息到 PCRF,消息中携带这个 IP-CAN Session增加的 IP地址信息(可以为具体的 IPv4或者 IPv6地址, 也可以 为 IPv4或者 IPv6地址指示位 ) , PCRF在原来的 IP-CAN Session中增加 IP地址信息, 增加这个地址使用的 PCC规则。 PCRF将增加的 PCC规则下 发给 PDN GW。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机 可读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介质包括: R0M、 RAM, 磁碟或者光盘等各种可以存储程序代 码的介质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案而非对其进 行限制, 尽管参照较佳实施例对本发明进行了详细的说明, 本领域的普通技 术人员应当理解: 其依然可以对本发明的技术方案进行修改或者等同替换, 而这些修改或者等同替换亦不能使修改后的技术方案脱离本发明技术方案的 ^"神和范围。

Claims

权 利 要 求 书
1、 一种策略和计费控制规则的获取方法, 其特征在于包括: 将 IP 地址信息携带在会话指示消息中发送给策略和计费规则功能实 体;
接收策略和计费规则功能实体返回的所述 IP地址信息在 IP连接接入 网络会话中对应的策略和计费控制规则。
2、 根据权利要求 1 所述的策略和计费控制规则的获取方法, 其特征 在于, 所述接收策略和计费规则功能实体返回的所述 IP地址信息在 IP连 接接入网络会话中对应的策略和计费控制规则具体包括:
接收策略和计费规则功能实体发送的根据用户设备接入的网络类型 修改的所述 IP地址信息在 IP连接接入网络会话中对应的策略和计费控制 规则。
3、 根据权利要求 1 所述的策略和计费控制规则的获取方法, 其特征 在于, 所述将 IP地址信息携带在会话指示消息中之前还包括:
获取用户设备在目标网络使用的 IP地址信息以及 PDN标识信息; 或, 接收移动管理实体发送的携带用户设备在目标网络使用的 IP地 址信息和 PDN标识信息的 IP指示信息。
4、 根据权利要求 3 所述的策略和计费控制规则的获取方法, 其特征 在于所述将 IP 地址信息携带在会话指示消息中发送给策略和计费规则功 能实体具体包括:
将所述 IP地址信息和 PDN标识信息携带在会话指示消息中发送给策略 和计费规则功能实体。
5、 根据权利要求 4 所述的策略和计费控制规则的获取方法, 其特征 在于接收策略和计费规则功能实体根据所述 IP地址信息返回的所述 IP地 址信息在 IP连接接入网络会话中对应的策略和计费控制规则之前还包括: 所述策略和计费规则功能实体根据所述 PDN标识信息定位所述用户设 备使用的 IP连接接入网络会话。
6、 根据权利要求 3 所述的策略和计费控制规则的获取方法, 其特征 在于, 所述 PDN标识信息包括: 分组数据网络连接标识, 分组数据网络连 接标识和接入点名称, 以及接入点名称和序列号中的任一项或任意组合。
7、 根据权利要求 1 所述的策略和计费控制规则的获取方法, 其特征 在于, 所述会话指示消息中携带需要删除的 IP地址信息, 所述需要删除 的 IP地址信息用于指示策略和计费规则功能实体根据所述需要删除的 IP 地址信息删除该 IP地址对应的策略和计费控制规则。
8、 根据权利要求 1 所述的策略和计费控制规则的获取方法, 其特征 在于, 所述会话指示消息中进一步携带指示信息, 所述指示信息指示用户 设备只能使用会话指示消息中携带的 IP地址信息对应的 IP地址类型; 则所 述指示信息用于指示策略和计费功能实体根据所述指示信息删除所述会话 指示消息中携带的 IP地址类型以外的 IP地址对应的策略和计费控制规则。
9、 根据权利要求 1 所述的策略和计费控制规则的获取方法, 其特征在 于, 接收策略和计费规则功能实体根据所述 IP地址信息返回的所述 IP地 址信息在 IP 连接接入网络会话中对应的策略和计费控制规则之后具体包 括:
发送会话终止消息给所述策略和计费功能实体, 所述会话终止消息中携 带需要删除的 IP地址信息,所述会话终止消息用于指示策略和计费功能实体 根据所述需要删除的 IP地址信息删除该 IP地址对应的策略和计费控制规 则。
10、 根据权利要求 1所述的策略和计费控制规则的获取方法, 其特征 在于, 还包括:
当用户设备在源网络的 PDN连接使用两个 IP地址, 用户设备在目标 网络的 PDN连接使用一个 IP地址时, 所述会话指示消息中携带的 PDN标 识信息还进一步包括: 目标 PDN标识信息; 所述策略和计费规则功能实体根据所述会话指示消息中的目标 PDN标 识信息建立目标网络的 IP连接接入网络会话, 同时将所述会话指示消息 中的 IP地址对应的策略和计费控制规则写入目标网络的 IP连接接入网络 会话。
11、 根据权利要求 1所述的策略和计费控制规则的获取方法, 其特征 在于, 还包括: 向策略和计费规则功能实体发送会话指示消息, 该会话指 示消息中携带另一个 IP地址信息、 源 PDN标识信息、 目的 PDN标识信息, 其中源 PDN标识信息用于策略和计费规则功能实体定位 PDN连接;
接收策略和计费规则功能实体根据所述会话指示消息发送的另一个 IP地址对应的 PCC规则。
12、 一种策略和计费规则功能实体中定位 IP 连接接入网络会话的方 法, 其特征在于, 包括:
获取 PDN标识信息;
根据所述 PDN标识信息定位 IP连接接入网络会话。
13、 根据权利要求 12所述的策略和计费规则功能实体中定位 IP连接 接入网络会话的方法, 其特征在于, 所述 PDN标识信息包括: 分组数据网 络连接标识和接入点名称, 接入点名称和序列号, 或者分组数据网络连接 标识中的任一项或其组合。
14、 根据权利要求 12所述的策略和计费规则功能实体中定位 IP连接 接入网络会话的方法, 其特征在于, 所述获取 PDN标识信息包括:
服务网关网元、 非 3GPP接入网元或用户面锚点网关获取所述 PDN标识 信息;
所述服务网关网元、非 3GPP接入网元或用户面锚点网关将所述 PDN标 识信息携带在会话指示消息中发送给策略和计费规则功能实体。
15、 一种策略和计费控制规则的获取装置, 其特征在于包括: 指示消息发送模块,用于将 IP地址信息携带在会话指示消息中发送给 策略和计费规则功能实体;
规则接收模块, 用于接收策略和计费规则功能实体根据所述 IP地址 信息返回的所述 IP地址信息在 IP连接接入网络会话中对应的策略和计费 控制规则。
16、 根据权利要求 15 所述的策略和计费控制规则的获取装置, 其特 征在于所述规则接收模块具体用于:
接收所述策略和计费规则功能实体发送的根据用户设备接入的网络 类型修改的所述 IP地址信息在 IP连接接入网络会话中对应的策略和计费 控制规则。
17、 根据权利要求 15 所述的策略和计费控制规则的获取装置, 其特 征在于还包括:
获取模块,用于获取用户设备在目标网络使用的 IP地址信息以及 PDN 标识信息, 或, 接收移动管理实体发送的携带用户设备在目标网络使用的 IP地址信息和 PDN标识信息的 IP指示信息。
18、 根据权利要求 15 所述的策略和计费控制规则的获取装置, 其特 征在于所述指示消息发送模块还用于: 将所述 IP地址信息和 PDN标识信 息携带在会话指示消息中发送给策略和计费规则功能实体。
19、 根据权利要求 15 所述的策略和计费控制规则的获取装置, 其特 征在于所述指示消息发送模块还包括: 第一删除指示单元, 用于发送携带 需要删除的 IP地址信息的会话指示消息; 所述需要删除的 IP地址信息用 于指示策略和计费规则功能实体根据所述需要删除的 IP地址信息删除该 IP地址对应的策略和计费控制规则。
20、 根据权利要求 15 所述的策略和计费控制规则的获取装置, 其特 征在于所述指示消息发送模块还包括: 第二删除指示单元, 用于发送携带 指示信息的会话指示消息, 所述指示信息指示用户设备只能使用会话指示 消息中携带的 IP地址信息对应的 IP地址类型; 则所述指示信息用于指示策 略和计费功能实体根据所述指示信息删除所述会话指示消息中携带的 IP 地址类型以外的 IP地址对应的策略和计费控制规则。
21、根据权利要求 1 5所述的策略和计费控制规则的获取装置,其特征 在于还包括: 终止消息发送模块, 用于发送会话终止消息给所述策略和计 费功能实体, 所述会话终止消息中携带需要删除的 IP地址信息, 所述会话终 止消息用于指示策略和计费功能实体根据所述需要删除的 ip地址信息删除 该 IP地址对应的策略和计费控制规则。
22、 根据权利要求 15 所述的策略和计费控制规则的获取装置, 其特 征在于所述指示消息发送模块还包括:
目标 PDN连接发送单元, 用于当源网络的 PDN连接支持两种 IP地址 类型, 目标网络的 PDN连接支持一种 IP地址类型时, 发送进一步携带有 目标 PDN标识信息的会话指示消息。
23、 根据权利要求 15 所述的策略和计费控制规则的获取装置, 其特 征在于, 所述指示信息发送模块包括发送单元以及第一信息生成单元、 第 二信息生成单元和第三信息生成单元中的任一或其组合;
所述第一信息生成单元用于生成携带指示信息的会话指示消息, 所述 指示信息指示用户设备只能使用会话指示消息中携带的 IP 地址信息对应的 IP地址类型;则所述指示信息用于指示策略和计费功能实体根据所述指示信 息删除所述会话指示消息中携带的 IP地址类型以外的 IP地址对应的策略 和计费控制规则;
所述第二信息生成单元用于生成携带指示信息的会话指示消息,所述指 示信息指示用户设备只能使用会话指示消息中携带的 IP地址信息对应的 IP 地址类型; 则所述指示信息用于指示策略和计费功能实体根据所述指示信息 删除所述会话指示消息中携带的 IP地址类型以外的 IP地址对应的策略和 计费控制规则;
所述第三信息生成单元, 用于当源网络的 PDN连接支持两种 IP地址类 型, 目标网络的 PDN连接支持一种 IP地址类型时, 生成进一步携带有目 标 PDN标识信息的会话指示消息;
所述发送单元用于发送第一信息生成单元、 第二信息生成单元和 /或 第三信息生成单元生成的会话指示信息。
24、 根据权利要求 15 所述的策略和计费控制规则的获取装置, 其特 征在于所述指示消息发送模块还用于: 向策略和计费规则功能实体发送会 话指示消息, 该会话指示消息中携带另一个 IP地址信息、 源 PDN标识信 息、 目的 PDN标识信息, 其中源 PDN标识信息用于策略和计费规则功能实 体定位 PDN连接;
则所述规则接收模块还用于: 接收策略和计费规则功能实体根据根据 所述会话指示消息发送的另一个 IP地址对应的 PCC规则。
25、 根据权利要求 15 所述的策略和计费控制规则的获取装置, 其特 征在于, 所述获取装置为用户面锚点网关、 用户设备或者服务网关实体。
26、 一种策略和计费控制功能实体, 其特征在于包括:
指示消息接收模块, 用于接收携带有 IP地址信息的会话指示消息; 规则发送模块, 用于根据所述会话指示消息, 将所述 IP地址信息在 IP连接接入网络会话中对应的策略和计费控制规则发送;
或, 根据所述会话指示消息, 根据用户设备接入的网络类型修改所述
IP地址信息在 IP连接接入网络会话中对应的策略和计费控制规则, 并发 送。
27、 根据权利要求 26 所述的策略和计费功能实体, 其特征在于还包 括: 定位模块, 用于根据接收到的会话指示消息中的 PDN标识信息, 通过 所述 PDN标识信息定位到所述用户设备使用的 IP连接接入网络会话。
28、 根据权利要求 26 所述的策略和计费功能实体, 其特征在于还包 括: 删除模块, 用于根据接收到的会话指示消息, 或会话终止消息中的需 要删除的 IP地址信息, 删除该 IP地址对应的策略和计费控制规则。
29、 根据权利要求 28 所述的策略和计费功能实体, 其特征在于所述 删除模块还进一步用于: 从会话指示消息中获取指示信息, 所述指示信息 指示用户设备只能使用会话指示消息中携带的 IP地址信息对应的 IP地址类 型; 根据所述指示信息删除所述指示信息指示的 IP地址类型以外的 IP地 址对应的策略和计费控制规则。
30、 根据权利要求 26 所述的策略和计费控制功能实体, 其特征在于 还包括:
网络会话建立模块, 用于根据所述会话指示消息中的目标 PDN标识信 息建立新的 IP连接接入网络会话, 同时将所述会话指示消息中的 IP地址 对应的策略和计费控制规则写入新的 IP连接接入网络会话。
31、 一种通信系统, 其特征在于, 包括权利要求 15-25任一所述的策 略和计费控制规则的获取装置以及权利要求 26-30任一所述的策略和计费 功能实体。
32、 一种定位 IP连接接入网络会话的功能实体, 其特征在于, 包括: 标识信息获取模块, 用于获取 PDN标识信息;
定位模块, 用于根据所述 PDN标识信息定位 IP连接接入网络会话。
33、 根据权利要求 32所述的定位 IP连接接入网络会话的功能实体, 其特征在于, 所述 PDN标识信息包括: 分组数据网络连接标识和接入点名 称, 接入点名称和序列号, 或者分组数据网络连接标识中的任一项或其组 合。
PCT/CN2009/071757 2008-05-16 2009-05-12 策略和计费控制规则的获取方法及装置 WO2009138030A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200810100264 CN101582777B (zh) 2008-05-16 2008-05-16 策略和计费控制规则的获取方法及装置
CN200810100264.9 2008-05-16

Publications (1)

Publication Number Publication Date
WO2009138030A1 true WO2009138030A1 (zh) 2009-11-19

Family

ID=41318368

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/071757 WO2009138030A1 (zh) 2008-05-16 2009-05-12 策略和计费控制规则的获取方法及装置

Country Status (2)

Country Link
CN (1) CN101582777B (zh)
WO (1) WO2009138030A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103392352A (zh) * 2012-12-31 2013-11-13 华为技术有限公司 策略和计费控制方法及设备
EP3691306A4 (en) * 2018-04-28 2021-01-13 Huawei Technologies Co., Ltd. CHARGING METHOD, DEVICE AND SYSTEM

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800967B (zh) * 2009-12-30 2012-12-12 华为技术有限公司 一种实现策略与计费控制的方法、网关和移动终端
US8447717B2 (en) * 2010-02-18 2013-05-21 Alcatel Lucent Policy and charging rules node expired message handling
CN102238690B (zh) * 2010-04-26 2014-04-09 中兴通讯股份有限公司 Cdma网络的策略和计费控制中的会话关联方法
CN102238518B (zh) * 2010-05-04 2015-06-10 中兴通讯股份有限公司 一种获取家用基站位置信息的方法和系统
CN102420799B (zh) * 2010-09-27 2015-03-11 中国移动通信集团公司 一种用户认证方法、装置及系统
CN102611586B (zh) 2011-01-18 2017-06-13 中兴通讯股份有限公司 支持双栈的ip‑can会话实现应用检测和控制的方法及系统
CN102892109B (zh) * 2011-07-21 2018-05-11 中兴通讯股份有限公司 一种实现ip地址属性通知的方法和系统
CN102300195B (zh) * 2011-09-23 2014-01-01 电信科学技术研究院 S9a会话的管理方法和设备
CN109257187B (zh) * 2017-07-12 2021-09-21 中国移动通信集团广东有限公司 基于服务感知计费控制规则的控制用户终端的方法及装置
CN112865985B (zh) * 2017-08-03 2022-09-16 华为技术有限公司 一种计费方法及设备
CN108495298B (zh) * 2018-03-12 2021-03-30 北京佰才邦技术有限公司 移动终端在中立主机网络间移动时ip地址更新方法及装置、计算机可读存储介质
JP2019205001A (ja) * 2018-05-21 2019-11-28 シャープ株式会社 ユーザ装置、制御装置、及び通信制御方法
CN111865776B (zh) * 2019-11-07 2021-07-06 中兴通讯股份有限公司 路径创建方法、装置、系统及存储介质
CN112866423B (zh) * 2019-11-27 2022-10-04 中国电信股份有限公司 Ip协议栈适配方法和装置、传感器网关及通信系统
CN111082948A (zh) * 2019-12-30 2020-04-28 中国移动通信集团江苏有限公司 确定策略和计费控制策略的方法、装置、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1402520A (zh) * 2001-08-15 2003-03-12 华为技术有限公司 媒体网关控制协议中主叫pc客户端携带主叫号码的方法
EP1887738A1 (de) * 2006-08-11 2008-02-13 Siemens Aktiengesellschaft Festlegung des Veranlassers für eine Konfiguration oder einen Aufbau einer Zugangsnetzverbindung
CN101141821A (zh) * 2007-09-30 2008-03-12 中兴通讯股份有限公司 一种无线通信网络的策略和计费执行功能节点定位方法
CN101159562A (zh) * 2007-10-26 2008-04-09 中兴通讯股份有限公司 一种创建ip连接接入网络会话的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1402520A (zh) * 2001-08-15 2003-03-12 华为技术有限公司 媒体网关控制协议中主叫pc客户端携带主叫号码的方法
EP1887738A1 (de) * 2006-08-11 2008-02-13 Siemens Aktiengesellschaft Festlegung des Veranlassers für eine Konfiguration oder einen Aufbau einer Zugangsnetzverbindung
CN101141821A (zh) * 2007-09-30 2008-03-12 中兴通讯股份有限公司 一种无线通信网络的策略和计费执行功能节点定位方法
CN101159562A (zh) * 2007-10-26 2008-04-09 中兴通讯股份有限公司 一种创建ip连接接入网络会话的方法

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103392352A (zh) * 2012-12-31 2013-11-13 华为技术有限公司 策略和计费控制方法及设备
CN103392352B (zh) * 2012-12-31 2017-04-12 华为技术有限公司 策略和计费控制方法及设备
EP3691306A4 (en) * 2018-04-28 2021-01-13 Huawei Technologies Co., Ltd. CHARGING METHOD, DEVICE AND SYSTEM
JP2021518094A (ja) * 2018-04-28 2021-07-29 華為技術有限公司Huawei Technologies Co.,Ltd. 課金方法、装置およびシステム
JP7128340B2 (ja) 2018-04-28 2022-08-30 華為技術有限公司 課金方法、装置およびシステム
EP4068814A1 (en) * 2018-04-28 2022-10-05 Huawei Technologies Co., Ltd. Charging method, apparatus, and system
JP2022172164A (ja) * 2018-04-28 2022-11-15 華為技術有限公司 課金方法、装置およびシステム
JP7560206B2 (ja) 2018-04-28 2024-10-02 華為技術有限公司 課金方法、装置およびシステム

Also Published As

Publication number Publication date
CN101582777A (zh) 2009-11-18
CN101582777B (zh) 2013-08-07

Similar Documents

Publication Publication Date Title
WO2009138030A1 (zh) 策略和计费控制规则的获取方法及装置
US8621555B2 (en) Access control method and system for packet data network, PCRF entity
JP5189107B2 (ja) 移動体通信ネットワークにおいて、パケットベアラコンテクストのユーザセットを一意に識別及び統一するための仕組み
EP3442269B1 (en) Method and network device for creating resources
US9179370B2 (en) Internetworking techniques for transferring packets between source and target serving gateways
RU2484603C2 (ru) Посреднический мобильный протокол internet (pmip) в среде связи с множеством интерфейсов
WO2014056445A1 (zh) 一种路由转发的方法、系统及控制器
CN101568163A (zh) 网络选择方法、移动终端、ip地址处理方法及系统
WO2009117891A1 (zh) 分组数据网络连接的注册方法及装置
WO2008138259A1 (fr) Procédé et système et dispositif pour un procédé d'enregistrement
EP2388966A1 (en) Method and device for information transfer
WO2007087745A1 (en) A method and system for implementing the data routing of the roaming user
WO2011015140A1 (zh) 一种移动通信寻呼方法、系统及装置
WO2011011943A1 (zh) 一种承载绑定和事件报告功能的重选方法
WO2014121760A1 (zh) 切换过程中选择网络设备的方法和装置
WO2013189217A1 (zh) 分组网关标识信息的更新方法、aaa服务器和分组网关
WO2010133181A1 (zh) 一种多接入的数据连接管理方法、系统及相关设备
WO2010124551A1 (zh) 在多接入场景下分组数据网络网关标识的保存方法及系统
KR101659986B1 (ko) 메시지 송신 방법 및 범용 무선 패킷 서비스 지원 노드
WO2009046598A1 (fr) Procédé pour établir une porteuse dédiée pour un terminal utilisateur
WO2016163420A1 (ja) 端末装置、mme及びpgw
WO2016163418A1 (ja) 端末装置、mme及びpgw
WO2010111944A1 (zh) 释放接入连接的方法、装置、策略控制实体及系统
WO2012113153A1 (zh) 分组数据网络pdn连接建立方法和设备
CN102281524A (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: 09745414

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

Country of ref document: EP

Kind code of ref document: A1