WO2014036878A1 - Charging control method and device - Google Patents

Charging control method and device Download PDF

Info

Publication number
WO2014036878A1
WO2014036878A1 PCT/CN2013/081293 CN2013081293W WO2014036878A1 WO 2014036878 A1 WO2014036878 A1 WO 2014036878A1 CN 2013081293 W CN2013081293 W CN 2013081293W WO 2014036878 A1 WO2014036878 A1 WO 2014036878A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
charging policy
twan
policy
packet data
Prior art date
Application number
PCT/CN2013/081293
Other languages
French (fr)
Chinese (zh)
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 WO2014036878A1 publication Critical patent/WO2014036878A1/en

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
    • H04L12/1403Architecture for metering, charging or billing
    • 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

Definitions

  • the present invention relates to the field of communications, and in particular to a charging control method and apparatus.
  • 1 is a schematic structural diagram of an evolved packet system according to the related art.
  • an evolved packet system (Evolved Packet System, 3rd Generation Partnership Project, 3GPP for short) is referred to as The EPS includes the Evolved Universal Terrestrial Radio Access Network (E-UTRAN), the Mobility Management Entity (MME), and the Serving Gateway (S-GW). ), Packet Data Network Gateway (P-GW), and Home Subscriber Server (HSS).
  • E-UTRAN Evolved Universal Terrestrial Radio Access Network
  • MME Mobility Management Entity
  • S-GW Serving Gateway
  • P-GW Packet Data Network Gateway
  • HSS Home Subscriber Server
  • the MME is responsible for control planes such as mobility management, non-access stratum signaling processing, and user mobility management context management;
  • the S-GW is an access gateway device connected to the E-UTRAN, in the E-UTRAN and The P-GW forwards data and is responsible for buffering the paging waiting data.
  • the P-GW is the border gateway of the EPS and Packet Data Network (PDN) network, which is responsible for PDN access and EPS. Functions such as forwarding data with the PDN.
  • the UE may also access the upgraded service general packet radio service support node (SGSN) through the UTRAN, and the SGSN accesses the P-GW through the S-GW to perform packet service access. This upgraded SGSN is called the S4 SGSN.
  • SGSN upgraded service general packet radio service support node
  • the EPS system supports Policy and Charging Control (PCC), the Policy and Charging Rules Function (PCRF) entity performs policy and charging rules, and it receives the interface through the receiving interface.
  • the Rx is connected to an Application Function (abbreviated as AF) entity in the service network protocol (IP), and obtains service information, which is used to generate service information of the PCC policy.
  • AF Application Function
  • GTP GPRS Tunneling Protocol
  • the PCRF entity exchanges information with the P-GW through the Gx interface, and is responsible for initiating the establishment, modification, and release of the bearer, ensuring the quality of service (Quality of Service, QoS for short), and performing charging control.
  • S-GW and P-GW When the S5 interface adopts Proxy Mobile IP (PMIP), the S-GW hosts the Bearer Binding and Event Report Function (BBERF) entity, and the S-GW and the S-GW The PCRF entity exchanges information through the Gxc interface.
  • the BBERF entity is responsible for initiating the establishment, modification, and release of the bearer to ensure the service quality of the service data.
  • the PCEF entity performs charging control.
  • the EPS system supports online charging and offline charging for the corresponding users.
  • the P-GW interacts with the Online Charging System (OCS) through the Gy interface to perform credit control and management.
  • OCS Online Charging System
  • the P-GW passes the Gz interface and the offline charging system (Offline Charging System (referred to as OFCS) interacts, reports information such as CDRs.
  • OFCS Offline Charging System
  • 2 is a schematic diagram of a network structure of a 3GPP network and a non-3GPP network according to the related art.
  • the EPS supports interworking with a non-3GPP system, wherein interworking with a non-3GPP system is implemented through an S2a/b/c interface.
  • the P-GW acts as an anchor between the 3GPP and the non-3GPP system.
  • non-3GPP system access is divided into untrusted non-3GPP access and trusted non-3GPP access; wherein untrusted non-3GPP access requires an evolved packet data gateway (Evolved Packet Data Gateway, Referred to as ePDG), it is connected to the P-GW.
  • Evolved Packet Data Gateway Referred to as ePDG
  • the interface between the ePDG and the P-GW is S2b.
  • the trusted non-3GPP access can be directly connected to the P-GW through the S2a interface.
  • the S2c interface provides the user equipment (User Equipment, referred to as UE) User interface-related control and mobility support between the P-GW and the supported mobility management protocol for Mobile IPv6 Support for Dual Stack Hosts and Routers (referred to as DSMIPv6), which can be set to untrusted non-3GPP and trusted non-3GPP access.
  • UE User Equipment
  • DSMIPv6 Dual Stack Hosts and Routers
  • the Evolved Packet Core (EPC) in the EPS when the WLAN is considered to be trusted by the operator, the Trusted WLAN Access Network (TWAN) Through the STa interface and the Authentication, Authorization, and Accounting (AAA) server/proxy connection, the S2a interface and the P-GW can be connected to access the EPS network.
  • TWAN Trusted WLAN Access Network
  • AAA Authentication, Authorization, and Accounting
  • the S2a interface and the P-GW can be connected to access the EPS network.
  • 3 is a schematic diagram of a non-roaming architecture of a trusted WLAN access network accessing an EPC according to the related art.
  • the TWAN includes a WLAN access network (WLAN Access Network, WLAN AN for short), which is trusted.
  • the WLAN AN includes one or more WLAN access points (Access Point, AP for short) or an access control point (Access Controller, AC for short).
  • the TWAG is connected to the P-GW through the S2a interface, and the TWAP is connected through the STA interface. AAA server/proxy connection.
  • Both TWAG and TWAP are logical functional units that are physically separable and can be combined with other network elements.
  • SMO Sty on S2a Mobility based On GTP & WLAN access to EPC, referred to as SaMOG
  • SaMOG Sty on S2a Mobility based On GTP & WLAN access to EPC
  • the present invention provides a charging control scheme to solve at least the above problem, in view of the problem that the charging policy cannot be distinguished when the user accesses the EPC through different access networks.
  • a charging control method including: a packet data network gateway acquiring an access network type-based charging policy from a home subscriber server; The fee policy controls charging for UEs accessing from different access networks.
  • the packet data network gateway obtains the charging policy based on the access network type from the home subscriber server, where: the packet data network gateway acquires the charging policy from the TWAN; wherein the charging policy is AAA
  • the UE that is accessed by the TWAN performs the network-side authentication process, and obtains the charging policy from the home server. If the network-side authentication succeeds, the charging policy is sent to the TWAN.
  • the AAA sending the charging policy to the TWAN includes: the AAA sending an AAA message including an EAP success message to the TWAP, where The AAA message carries the charging policy; the TWAP sends a request to the TWAG, where the request carries the charging policy.
  • the packet data network gateway acquiring the charging policy from the TWAN includes: the TWAN sending a create session request message to the packet data network gateway, where the creating session request message carries the charging Strategy.
  • the method further includes: the TWAN locally saving the charging policy.
  • the method further includes: the packet data network gateway acquiring a modified charging policy based on an access network type from the home subscriber server; the packet data network gateway according to the modified charging The policy controls charging for UEs accessing from different access networks.
  • the packet data network gateway acquires the modified charging policy based on the access network type from the home subscriber server, where the packet data network gateway acquires the modified charging policy from the TWAN; And the modified charging policy is obtained by the AAA in the received subscription information update request from the home subscriber server, and the charging policy is sent to the TWAN.
  • the obtaining, by the packet data network gateway, the modified charging policy from the TWAN includes:
  • the TWAN sends a modify bearer command to the packet data network gateway, where the modified bearer command carries the modified charging policy.
  • the access network type comprises at least one of the following: a 3GPP network, a trusted non-3GPP access network, and an untrusted non-3GPP access network.
  • a charging control method including: a packet data network gateway acquiring an access network type-based charging policy from a policy and charging rule function; the packet data network gateway Charging control is performed on UEs accessing from different access networks according to the charging policy.
  • the access network type comprises at least one of the following: a 3GPP network, a trusted non-3GPP access network, and an untrusted non-3GPP access network.
  • a charging control apparatus is provided, which is located in a packet data network gateway, and includes: a first acquiring module, configured to acquire an access network type-based charging from a home subscriber server The first charging control module is configured to perform charging control on UEs accessed from different access networks according to the charging policy.
  • the first obtaining module includes: a first acquiring unit, configured to acquire the charging policy from a TWAN; wherein the charging policy is an AAA, performing network side-checking on a UE accessed by the TWAN And obtaining, in the process of the right, the home subscriber server, and sending the charging policy to the TWAN if the network side authentication succeeds.
  • the first obtaining unit includes: a first receiving unit, configured to receive a create session request message from the TWAN, where the create session request message carries the charging policy.
  • the first obtaining module is further configured to acquire a modified charging policy based on an access network type from the home subscriber server; the first charging control module is further configured to be according to the modified The charging policy controls charging for UEs accessing from different access networks.
  • the first obtaining module further includes: a second obtaining unit, configured to acquire the modified charging policy from the TWAN; wherein the modified charging policy is received by the AAA from the The subscription information update request of the home subscriber server is obtained, and the charging policy is sent to the TWAN.
  • the second obtaining unit includes: a second receiving unit, configured to receive a modified bearer command from the TWAN, where the modified bearer command carries the modified charging policy.
  • a charging control apparatus located in a packet data network gateway, comprising: a second obtaining module, configured to acquire an access network type based on a policy and charging rule function a charging policy; the second charging control module is configured to perform charging control on UEs accessed from different access networks according to the charging policy.
  • a packet data network gateway is used to obtain an access network type-based charging policy from a home subscriber server; the packet data network gateway performs charging control on UEs accessed from different access networks according to the charging policy.
  • FIG. 2 is a schematic diagram of a network structure of a 3GPP network interworking with a non-3GPP network according to the related art
  • FIG. 3 is a trusted WLAN connection according to the related art.
  • FIG. 4 is a flowchart of a charging control method according to an embodiment of the present invention
  • FIG. 5 is a structural block diagram of a charging control apparatus according to an embodiment of the present invention
  • a preferred structural block diagram of the first acquisition module of the embodiment of the invention is a block diagram of a preferred structure of a first acquisition module according to an embodiment of the present invention
  • FIG. 8 is a flowchart of another charging control method according to an embodiment of the present invention
  • FIG. 9 is another embodiment according to an embodiment of the present invention.
  • FIG. 10 is a flow chart 1 of a method for obtaining a charging policy according to the first embodiment of the present invention
  • FIG. 11 is a flowchart of a method for implementing a charging policy according to Embodiment 2 of the present invention
  • FIG. 12 is a schematic flowchart 3 of a method for obtaining a charging policy according to Embodiment 3 of the present invention
  • FIG. 13 is a schematic flowchart 4 of a method for implementing a charging policy according to Embodiment 4 of the present invention.
  • FIG. 4 is a flowchart of a charging control method according to an embodiment of the present invention.
  • the method includes the following steps: Step S402, a packet data network gateway (eg, PGW or GGSN) acquiring an access network type-based charging policy from a home subscriber server (HSS); step S404, the packet data network gateway calculates, according to the charging policy, UEs accessing from different access networks Fee control.
  • the packet data network gateway obtains a charging policy based on the access network type, and performs charging control on the UEs accessed from different access networks according to the charging policy, thereby solving the related technologies.
  • the access network type may be a 3GPP network, and/or a trusted non-3GPP access network, and/or an untrusted non-3GPP access network.
  • the manner in which the packet data network gateway obtains the foregoing charging policy may be from a trusted wireless local area network. Obtained at the network access (TWAN).
  • the charging policy may be that the AAA learns from the serving user device in the discussion of the network access authentication of the UE accessed by the TWAN, and the authentication succeeds in the network.
  • the charging policy is sent to the TWAN. That is, the charging policy may be obtained by the AAA from the HSS and sent to the TWAN, so that the TWAN may send the charging policy to the packet data network gateway in the UE access process.
  • the TWAN may send a create session request message to the packet data network gateway, where the create session request message carries a charging policy.
  • the TWAN includes TWAP and TWAG, if the two are physically separated,
  • the AAA first sends an AAA message containing the EAP success message to the TWAP, and the AAA message further carries the charging policy. Then, the TWAP sends a request to the TWAG, and carries the charging policy in the request. In this way, the TWAN can easily obtain the charging policy from the HSS, which is easy to implement.
  • the AAA message including the EAP success message may be a radius message, or may also be a diameter message.
  • the obtained charging policies corresponding to the TWAN may be saved locally.
  • the charging policy can be directly notified to the packet data network gateway for charging control without repeated acquisition from the HSS.
  • the packet data network gateway may acquire the modified charging policy based on the access network type from the HSS, and according to the modified charging policy, The UEs accessing different access networks perform charging control.
  • the packet data network gateway can quickly update the charging policy for charging control in the case where the charging policy in the HSS is changed, which improves the speed and flexibility.
  • the update bearer request message may also be sent to the access network that has already accessed.
  • the packet data network gateway obtains the foregoing charging policy by acquiring the modified meter from the TWAN.
  • the fee policy may be obtained by the AAA in the received subscription information update request from the home subscriber server, and the charging policy is sent to the TWAN. That is, the charging policy may be that after the HSS detects that the charging policy is changed, the HSS sends a subscription information update request to the AAA, where the request carries the modified charging policy; The policy is sent to the TWAN so that the TWAN can send the modified charging policy to the packet data network gateway.
  • the TWAN sends the modified charging policy to the packet data network gateway, which can be implemented by sending a modify bearer command, where the modified bearer command carries the modified charging policy.
  • a charging control device is also provided, which is located in a packet data network gateway, and the device is configured to implement the foregoing embodiment and a preferred embodiment, and has been described again. Narration.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus includes: a first obtaining module 52 and a first charging control module 54, and each module is described in detail below.
  • the first obtaining module 52 is configured to obtain an access network type-based charging policy from the home subscriber server.
  • the first charging control module 54 is connected to the first obtaining module 52, and is configured to be obtained according to the first obtaining module 52.
  • the charging policy controls the charging of UEs accessing from different access networks.
  • the first obtaining module 52 in the packet data network gateway obtains the charging policy based on the access network type, and the first charging control module 54 accesses the access network from different access networks according to the charging policy.
  • FIG. 6 is a block diagram of a preferred structure of the first obtaining module 52 according to an embodiment of the present invention.
  • the first obtaining module 52 may include: a first obtaining unit 522, configured to acquire a charging policy from the TWAN;
  • the charging policy is obtained by the AAA server or the proxy in the process of performing network-side authentication on the UE accessed by the TWAN, and is sent to the home subscriber server, and if the network side authentication succeeds, the charging policy is sent.
  • TWAN a first obtaining unit 522
  • the first obtaining unit 522 may include: a first receiving unit, configured to receive a create session request message from the TWAN, where the create session request message carries the foregoing charging policy.
  • the first obtaining module 52 may be further configured to obtain a modified charging policy based on the access network type from the home subscriber server; the first charging control module 54 may also be configured to perform charging control on UEs accessing from different access networks according to the modified charging policy.
  • FIG. 7 is a block diagram of a preferred structure of the first obtaining module 52 according to an embodiment of the present invention. As shown in FIG.
  • the first obtaining module 52 may further include: a second obtaining unit 524, configured to acquire the modified meter from the TWAN.
  • the fee policy is obtained by the AAA in the received subscription information update request from the home subscriber server, and the charging policy is sent to the TWAN.
  • the second obtaining unit 524 may include: a second receiving unit, configured to receive a modified bearer command from the TWAN, where the modified bearer command carries the modified charging policy.
  • FIG. 8 is a flowchart of another charging control method according to an embodiment of the present invention. As shown in FIG.
  • the method includes the following steps: Step S802 a packet data network gateway (for example, a PGW or a GGSN) acquiring an access network type-based charging policy from a policy and charging rule function (PCRF); and step S804, the packet data network gateway is different according to the charging policy pair
  • the UE accessing the network performs charging control.
  • the packet data network gateway obtains an access network type-based charging policy from the policy and charging rule function, and performs charging on the UE accessed from different access networks according to the charging policy.
  • the control solves the problem that the charging policy cannot be distinguished when the user accesses the EPC through different access networks in the related art, provides technical support for charging control according to different access network types, and improves charging control. Scope and flexibility.
  • the access network type may be a 3GPP network, and/or a trusted non-3GPP access network, and/or an untrusted non-3GPP access network.
  • another charging control device is further provided in the embodiment, which is located in a packet data network gateway, and the device is configured to implement the foregoing embodiment and the preferred embodiment, and has been performed. The description will not be repeated.
  • the term "module" may implement a combination of software and/or hardware of a predetermined function.
  • FIG. 9 is a structural block diagram of another charging control apparatus according to an embodiment of the present invention.
  • the apparatus includes: a second obtaining module 92 and a second charging control module 94.
  • the second obtaining module 92 is configured to obtain an access network type-based charging policy from the policy and the charging rule function.
  • the second charging control module 94 is connected to the second obtaining module 92 and configured to be configured according to the second acquiring module.
  • the charging policy obtained by 92 performs charging control on UEs accessing from different access networks.
  • the second obtaining module 92 in the packet data network gateway obtains the charging policy based on the access network type from the policy and charging rule function, and the second charging control module 94 is configured according to the charging policy.
  • the charging control is performed on the UEs accessing from different access networks, and the related technologies are solved by users in different technologies.
  • the problem that the charging policy cannot be distinguished when the network accesses the EPC provides technical support for charging control according to different access network types, and improves the applicable scope and flexibility of the charging control.
  • the following description will be made in conjunction with the preferred embodiments, and the following preferred embodiments incorporate the above-described embodiments and preferred embodiments thereof.
  • a method and a system for obtaining a charging policy are provided.
  • the packet data network gateway is a P-GW
  • the access network type is TWAN as an example.
  • the GW obtains the charging policy when the user accesses the EPC in the TWAN mode by accessing the WLAN from the HSS, and the P-GW performs charging control according to the charging policy.
  • the charging policy based on the access network is signed on the HSS, and then the subscribed charging policy is sent to the TWAN, and the TWAP in the TWAN transmits the charging policy to the P-GW through the TWAG.
  • the method for obtaining a charging policy in the following preferred embodiment includes the following steps: Step 1: Signing an accounting policy on the HSS: When the user accesses the EPC through the TWAN mode, the time is measured by time duration or by traffic or by other similar methods. fee. That is, a charging policy based on the access network type is formulated.
  • FIG. 10 is a schematic flowchart 1 of a method for implementing a charging policy according to Embodiment 1 of the present invention. As shown in FIG.
  • EAP Extensible Authentication Protocol
  • the charging policy signed by the user in the HSS is sent to the TWAN, and the TWAP in the TWAN is used in the subsequent GTP establishment process by the TWAG.
  • the charging policy is passed to the P-GW.
  • Step S1002 The UE and the WLAN AN perform a non-3GPP-specific access procedure to establish an L2 connection.
  • Step S1004 The WLAN AN sends an EAP request identity (identity) message to the UE, requesting to acquire the identifier of the terminal. Start the EAP authentication process.
  • identity EAP request identity
  • Step SI 006 The UE returns an EAP response/identity to the WLAN AN, and carries the identifier of the terminal (the identifier of the user may be a permanent identity or a pseudoonym identity). At the same time, the WLAN AN transfers the received user ID to the AAA server through TWAP.
  • the EAP message between the WLAN AN TWAP and the AAA server is encapsulated in an AAA message, and the AAA message may be a Remote Authentication Dial In User Service (referred to as radius) message or a diameter message.
  • Step S1008 After receiving the identifier of the UE, the AAA considers that the received identifier is invalid or cannot be mapped to a valid International Mobile Subscriber Identity (IMSI) according to the pseudoonym identity, or the AAA server considers that the indirect point is modified or If the identity of the user is replaced, the AAA obtains the identity again from the UE, and the UE returns the user identity that meets the AAA requirements.
  • IMSI International Mobile Subscriber Identity
  • Step S1010 After the AAA considers that the identity of the UE is valid, it checks whether there is an unused authentication vector locally, and if so, uses the local authentication vector for EAP authentication; otherwise, the AAA requests an authentication vector from the HSS, HSS Returns the authentication vector.
  • Step S1012 The AAA confirms whether there is a user's EPS subscription information in the local area. If not, the user obtains the subscription information of the user from the HSS, and the HSS returns the user subscription information, where the subscription information includes the charging policy based on the access network type subscribed by the user.
  • the access network type-based charging policy that the user subscribes to at the HSS may adopt the following manner: If the user accesses the 3GPP, the traffic-based charging mode is adopted, and the user adopts the long-term charging mode when accessing from the non-3GPP.
  • a user accesses an EPC from a TWAN, it can be charged on a per-time basis or by traffic or in other ways.
  • Step S1014 The AKA' challenge process is completed between the AAA and the UE, and the user is authenticated to the network side.
  • Step S1016 The AKA' notification process is completed between the AAA and the UE.
  • Step S1018 After the EAP authentication succeeds, the AAA sends an EAP success message to the TWAP.
  • the subscription data is included in the AAA message for transmitting the EAP success message, and the subscription data includes the charging policy.
  • Step S1020 The AAA performs a registration process to the HSS.
  • Step S1022 After the TWAP intercepts the EAP success message sent by the AAA, the TWAP saves the received user subscription data and saves the charging policy. Trigger TWAG to establish a GTP tunnel.
  • Step S1024 The TWAP sends an L2 attach trigger request (eg, WLAN attach request) message to the TWAG, and triggers the TWAG to establish an S2a tunnel.
  • the user's subscription data (including the charging policy) is transmitted to TWAG. If the TWAP and TWAG are physically separated, the message is an external message.
  • Step S1026 The TWAG sends a session request message to the P-GW to request to establish a GTP tunnel. At the same time, the charging policy is passed to the P-GW.
  • Step S1028 The P-GW updates the address information of the P-GW to the AAA, and the AAA transmits the address information to the HSS.
  • Step S1030 The P-GW returns a session response message.
  • Step S1032 After the GTP tunnel is established, the TWAG returns the L2 attach completion (eg, WLAN attach accept) message to the TWAP.
  • Step S1034 The TWAP transmits the EAP success message sent by the AAA to the UE, and ends the EAP authentication process.
  • the P-GW receives uplink user data from the TWAN or downlink user data to the TWAN,
  • the P-GW performs charging control according to the charging policy received in the embodiment.
  • the EAP-AKA' authentication method is adopted for convenience of description, but it is not limited to the authentication mode, and other authentication methods can also be implemented.
  • the L2 triggers the TWAG to establish a GTP tunnel. If the L3 triggers the TWAG to establish a GTP tunnel, the above procedure is slightly modified. After the TWAP receives the EAP success message sent by the S1018 AAA, the AAA will be AAA. The charging policy in the message is saved, and the EAP success message is sent to the UE to end the EAP authentication process.
  • FIG. 11 is a schematic flowchart 2 of a method for implementing a charging policy according to Embodiment 2 of the present invention. As shown in FIG. 11, after a user accesses from 3GPP, the user switches to a WLAN coverage area, and the trusted WLAN is used.
  • Step SI 102 The UE accesses from the 3GPP, and the GTP tunnel exists on the S5 interface.
  • Step S1104 The UE discovers a trusted WLAN access system and decides to switch from the attached 3GPP access to the discovered trusted non-3GPP access system.
  • Step S1106 The UE performs an access authentication and authorization process of the trusted non-3GPP access system.
  • the 3GPP AAA server authenticates and authorizes the UE to access a trusted non-3GPP access system.
  • the 3GPP AAA server queries the HSS, and returns the subscription information when the 3GPP accesses, and the subscription information includes the charging policy.
  • the charging policy that the user signs at the HSS may be based on the duration of time or by traffic or by other means.
  • Step S1108 After the access authentication succeeds in the previous step, the AAA sends an EAP success message to the TWAP.
  • the subscription data is included in the AAA message for transmitting the EAP success message, and the subscription data includes the charging policy.
  • the AAA message containing the EAP success message may be a radius message or a diameter message.
  • Step S1110 After the TWAP intercepts the EAP success message sent by the AAA server, the TWAP saves the received user subscription data and saves the charging policy. At the same time, an L2 attach trigger request (eg, WLAN attach request) message is sent to the TWAG, and the TWAG is triggered to establish an S2a tunnel. At the same time, the user's subscription data (including the charging policy) is transmitted to TWAG. If the TWAP and TWAG are physically separated, the message is an external message. If the TWAP and TWAG are logically separated and physically unified, the message is an internal trigger message. Step S1112: The TWAG sends a session request message to the P-GW to request to establish a GTP tunnel.
  • L2 attach trigger request eg, WLAN attach request
  • the charging policy is passed to the P-GW.
  • the P-GW performs charging control according to the received charging policy.
  • Step S1114 The P-GW updates the address information of the P-GW to the AAA, and the AAA transmits the address information to the HSS.
  • Step S1116 The P-GW returns a create session response message.
  • Step S1118 After the GTP tunnel is established, the TWAG returns a L2 attach completion (eg, WLAN attach accept) message to the TWAP.
  • Step S1120 The TWAP transmits the EAP success message sent by the AAA to the UE, and ends the EAP authentication process.
  • Step S1122 The P-GW triggers the PDN deactivation process to release the 3GPP EPS bearer.
  • the P-GW adopts the method defined by the 3GPP, and after the user switches to the non-3GPP, the P-GW sends the received uplink user data from the TWAG or the downlink user data to the TWAG.
  • the P-GW performs charging control according to the charging policy received in the embodiment.
  • the user migrates from 3GPP and non-3GPP accesses simultaneously, the user performs charging according to the 3GPP charging policy in the 3GPP, and the user performs charging in the non-3GPP traffic according to the charging policy in the non-3GPP.
  • the final billing bill is the merger of the two.
  • the EAP-AKA' authentication method is adopted for convenience of description, but it is not limited to the authentication mode, and other authentication methods can also be implemented.
  • the L2 triggers the TWAG to establish a GTP tunnel. If the L3 triggers the TWAG to establish a GTP tunnel, the above procedure is slightly modified.
  • the AAA is AAA.
  • the charging policy in the message is saved, and the EAP success message is sent to the UE to end the EAP authentication process.
  • a request message is sent to the TWAG, and the request message includes a charging policy.
  • FIG. 12 is a schematic flowchart 3 of a method for implementing a charging policy according to Embodiment 3 of the present invention.
  • Step S1202 The charging policy based on the access network changes at the HSS, and the HSS signs the contract.
  • the information update request message tells the AAA user that the charging policy based on the access network has changed, and the AAA notifies the change to the TWAP in the TWAN.
  • Step S1204 After the TWAP in the TWAN receives the charging policy change request based on the access network, Go back to the update response.
  • Step S1206 At the same time, the TWAP in the TWAN sends a modify bearer command through the TWAG to inform the P-GW of the changed charging policy.
  • Step S1208 The PGW performs new charging on the users accessing the different access networks according to the received access network-based charging policy, and sends an update bearer request message to the TWAG in the TWAN.
  • Step S1208 to step S1212 are optional. If the PGW considers that it is necessary to modify the bearer when accessing from the TWAN, the process is initiated.
  • Step S1210 After receiving the update bearer request message, the TWAN performs a resource allocation or modification mechanism unique to the TWAN.
  • Step S1212 The TWAN returns an update bearer response message. After receiving the changed charging policy, the P-GW can perform charging control according to the received new charging policy. This embodiment assumes the case when the user accesses from the TWAN.
  • FIG. 13 is a schematic flowchart diagram of a method for implementing a charging policy according to Embodiment 4 of the present invention.
  • the PCRF performs charging policy based on an access network type, and then accesses through an IP connection.
  • the network (IP Connectivity Access Network, IP-CAN for short) session sends a charging policy based on the access network type.
  • This embodiment can be applied when the IP-CAN session between the PCEF and the PCRF does not trigger an event.
  • Step S1302 The PCEF function module in the P-GW instructs the IP-CAN session establishment to request to establish an IP-CAN session.
  • Step S1304 If the PCRF does not have the information related to the user subscription, the user attribute is stored (Subscription)
  • SPR Profile Repository
  • Step S1306 The SPR returns a subscription information response to the PCRF, and carries the user subscription information related to the IP-CAN session.
  • the PCRF saves the relevant information received.
  • Step S1308 The PCRF makes authorization and processing decisions according to the request of the PCEF and the related information about the IP-CAN session obtained from the SPR.
  • Step S1310 The PCRF sends the decision in the previous step to the PCEF by means of an IP-CAN session response.
  • the locally established access network-based charging policy is sent to the PCEF by means of an IP-CAN session response. End the IP-CAN session establishment process.
  • the IPG-based charging policy based on the access network type can be adopted in the following manner. For example, when the user accesses from 3GPP, the traffic is charged according to the traffic. When the user accesses the non-3GPP, the time-based method is used. fee. Of course, other methods can also be used for billing.
  • the IPF-based local access network type-based charging policy may be charged on a per-time basis or by traffic or in other manners.
  • the charging policy on the PCRF may be configured on the PCRF or may be obtained by the PCRF in some manner. In this way, when the user accesses from different access networks, the P-GW can perform charging control according to the received charging policy based on the access network type.
  • the foregoing preferred embodiment only describes the flow when the user accesses the EPC from the trusted non-3GPP. It should be noted that the solution is not limited to the access EPS system and the trusted non-3GPP access mode. The solution is also applicable.
  • the terminal accesses the EPC network or the GPRS network from the GERAN/UTRAN.
  • the same can be applied to untrusted non-3GPP access networks, as well as S2c interfaces.
  • the mobility management unit is the SGSN
  • the packet data network gateway is the GGSN
  • software is also provided for performing the technical solutions described in the above embodiments and preferred embodiments.
  • a storage medium is also provided, the software being stored, including but not limited to an optical disk, a floppy disk, a hard disk, a rewritable memory, and the like.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed are a charging control method and device, the method comprising: a packet data network gateway acquires from a home subscriber server a charging policy based on the type of an access network; the packet data network gateway charges, according to the charging policy, the UEs accessing from different access networks. The present invention solves the problem in the prior art that the charging policies cannot be differentiated when users access an EPC via different access networks, and provides technical support for the charging control of different types of access networks, thus improving the application scope and flexibility of the charging control.

Description

计费控制方法及装  Billing control method and equipment
技术领域 本发明涉及通信领域, 具体而言, 涉及一种计费控制方法及装置。 背景技术 图 1是根据相关技术的演进分组系统的结构示意图, 如图 1所示, 第三代合作伙 伴计划(3rd Generation Partnership Project, 简称为 3GPP)的演进的分组系统(Evolved Packet System, 简称为 EPS ) 包括演进的通用地面无线接入网 (Evolved Universal Terrestrial Radio Access Network , 简称为 E-UTRAN )、 移动管理单元 ( Mobility Management Entity, 简称为 MME)、 服务网关 (Serving Gateway, 简称为 S-GW)、 分 组数据网络网关(Packet Data Network Gateway,简称为 P-GW)、归属用户服务器(Home Subscriber Server, 简称为 HSS)。 其中, MME 负责移动性管理、 非接入层信令的处理和用户移动管理上下文的管 理等控制面的相关工作; S-GW是与 E-UTRAN相连的接入网关设备, 在 E-UTRAN 和 P-GW之间转发数据, 并且负责对寻呼等待数据进行缓存; P-GW则是 EPS与分组 数据网络 (Packet Data Network, 简称为 PDN) 网络的边界网关, 负责 PDN的接入及 在 EPS与 PDN间转发数据等功能。 UE也可以通过 UTRAN接入经过升级的服务通用 分组无线业务支撑节点 ( Serving General packet radio service support node, 简称为 SGSN), SGSN在通过 S-GW连接 P-GW进行分组业务的访问。这种经过升级的 SGSN 称为 S4 SGSN。 它通过 S3接口与 MME进行控制面的交互, 通过 S4接口与 S-GW进 行用户面的交互。 若 EPS系统支持策略计费控制(Policy and Charging Control, 简称为 PCC), 策略 和计费规则功能 (Policy and Charging Rules Function, 简称为 PCRF) 实体进行策略和 计费规则的制定,它通过接收接口 Rx和运营商网络协议(Internet Protocol,简称为 IP) 业务网络中的应用功能(Application Function, 简称为 AF)实体相连, 获取业务信息, 用于生成 PCC策略的业务信息。 当 S-GW与 P-GW之间的 S5接口采用 GPRS隧道协 议 (GPRS Tunnelling Protocol, 简称为 GTP) 协议时, P-GW中驻留了策略和计费执 行功能 (Policy and Charging Enforcement Function, 简称为 PCEF) 实体, PCRF实体 与 P-GW间通过 Gx接口交换信息, 负责发起承载的建立, 修改和释放, 保证业务数 据的服务质量(Quality of Service, 简称为 QoS), 并进行计费控制。 当 S-GW与 P-GW 的 S5接口采用代理移动 IP (Proxy Mobile IP, 简称为 PMIP) 时, S-GW中驻留承载 绑定和事件报告功能 (Bearer Binding and Event Report Function, 简称为 BBERF) 实 体, 并且 S-GW与 PCRF实体之间通过 Gxc接口交换信息, 由 BBERF实体负责发起 承载的建立, 修改和释放, 保证业务数据的服务质量, 由 PCEF实体进行计费控制。 EPS 系统支持对应用户的在线计费和离线计费。 对于在线计费, P-GW通过 Gy 接口与在线计费系统 (Online Charging System, 简称为 OCS) 交互, 执行信用控制和 管理, 对于离线计费, P-GW通过 Gz接口与离线计费系统 (Offline Charging System, 简称为 OFCS) 交互, 上报话单等信息。 图 2是根据相关技术的 3GPP网络与非 3GPP网络互通的网络结构示意图,如图 2 所示, EPS支持与非 3GPP系统的互通, 其中, 与非 3GPP系统的互通通过 S2a/b/c接 口实现, P-GW作为 3GPP与非 3GPP系统间的锚点。 在 EPS的系统架构中, 非 3GPP 系统接入被分为不可信任非 3GPP接入和可信任非 3GPP接入;其中,不可信任非 3GPP 接入需要经过演进的分组数据网关 (Evolved Packet Data Gateway, 简称为 ePDG) 与 P-GW相连, ePDG与 P-GW间的接口为 S2b; 可信任非 3GPP接入可直接通过 S2a接 口与 P-GW连接; 另夕卜, S2c接口提供了用户设备 (User Equipment, 简称为 UE) 与 P-GW之间的用户界面相关的控制和移动性支持, 其支持的移动性管理协议为支持双 桟的移动 IPv6 ( Mobile IPv6 Support for Dual Stack Hosts and Routers , 简称为 DSMIPv6), 其可设置为不可信任非 3GPP和可信任非 3GPP接入。 近年来随着无线局域网 (Wireless Local Area Network, 简称为 WLAN) 覆盖范围 的扩大以及其安全性的快速发展,越来越多的运营商认为 WLAN可以作为可信任的非 3GPP接入网络接入 EPS, 尤其是 EPS中的演进的分组核心网 (Evolved Packet Core, 简称为 EPC), 当 WLAN被运营商认为是可信任时, 可信任的 WLAN接入网(Trusted WLAN Access Network , 简称为 TWAN ), 通过 STa 接口与鉴权、 授权及计费 (Authentication Authorization and Accounting, 简称为 AAA) 服务器 /代理连接, 可以 通过 S2a接口和 P-GW连接, 接入 EPS网络。 图 3是根据相关技术的可信任的 WLAN接入网接入 EPC的非漫游架构示意图, 如图 3所示,其中 TWAN包含 WLAN接入网(WLAN Access Network,简称为 WLAN AN), 可信任的 WLAN接入网关 (Trusted WLAN Access Gateway, 简称为 TWAG), 可信任的 WLAN AAA代理 (Trusted WLAN AAA Proxy, 简称为 TWAP)。 WLANAN 中包含一个或多个 WLAN接入点(Access Point,简称为 AP)或者接入控制点(Access Controller, 简称为 AC), TWAG通过 S2a接口和 P-GW连接, TWAP通过 STa接口与 AAA服务器 /代理连接。 TWAG和 TWAP都是逻辑功能单元,在物理上二者可分可和, 两者也可和其他的网络单元合一。 目前有课题在研究 TWAN接入 EPC时的情况, 例如 SaMOG课题 (Study on S2a Mobility based On GTP & WLAN access to EPC, 简称为 SaMOG ), 主要研究 S2a接口 的移动性。 但是到目前为止还没有相关课题研究用户通过 TWAN接入 EPC时计费相 关的问题。这样用户通过蜂窝网接入时有自己的计费方式,但是当切换到 WLAN之后, 以 TWAN方式接入 EPC时、 或者直接从 WLAN接入, 以 TWAN方式接入 EPC时或 者用户同时通过蜂窝网和通过 TWAN方式接入 EPC,计费网关如何根据不同的接入网 类型进行计费是未知的。 针对相关技术中用户通过不同的接入网络接入 EPC时计费策略如何区分的问题, 目前尚未提出有效的解决方案。 发明内容 针对相关技术中用户通过不同的接入网络接入 EPC时计费策略无法区分的问题, 本发明实施例提供了一种计费控制方案, 以至少解决上述问题。 根据本发明实施例的一个方面, 提供了一种计费控制方法, 包括: 分组数据网络 网关获取来自归属用户服务器的基于接入网络类型的计费策略; 所述分组数据网络网 关根据所述计费策略对从不同接入网络接入的 UE进行计费控制。 优选地, 分组数据网络网关获取来自归属用户服务器的基于接入网络类型的计费 策略包括: 所述分组数据网络网关从 TWAN获取所述计费策略; 其中, 所述计费策略 为 AAA在对由所述 TWAN接入的 UE进行网络侧鉴权的过程中, 向所述归属用户服 务器获取, 并在网络侧鉴权成功的情况下, 将所述计费策略发送给所述 TWAN。 优选地, 在所述 TWAN包括 TWAP和 TWAG的情况下, 所述 AAA将所述计费 策略发送给所述 TWAN包括:所述 AAA向所述 TWAP发送包含 EAP成功消息的 AAA 消息, 其中, 在所述 AAA消息中携带有所述计费策略; 所述 TWAP向所述 TWAG发 送请求, 其中, 所述请求中携带有所述计费策略。 优选地, 所述分组数据网络网关从 TWAN获取所述计费策略包括: 所述 TWAN 向所述分组数据网络网关发送创建会话请求消息, 其中, 所述创建会话请求消息中携 带有所述计费策略。 优选地,在所述 AAA将所述计费策略发送给所述 TWAN之后,还包括:所述 TWAN 在本地保存所述计费策略。 优选地, 所述方法还包括: 所述分组数据网络网关获取来自所述归属用户服务器 的基于接入网络类型的修改后的计费策略; 所述分组数据网络网关根据所述修改后的 计费策略对从不同接入网接入的 UE进行计费控制。 优选地, 所述分组数据网络网关获取来自所述归属用户服务器的基于接入网络类 型的修改后的计费策略包括:所述分组数据网络网关从 TWAN获取所述修改后的计费 策略; 其中, 所述修改后的计费策略为 AAA在接收到的来自所述归属用户服务器的 签约信息更新请求中获取, 并将所述计费策略发送给所述 TWAN。 优选地, 所述分组数据网络网关从 TWAN获取所述修改后的计费策略包括: 所述TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a charging control method and apparatus. 1 is a schematic structural diagram of an evolved packet system according to the related art. As shown in FIG. 1, an evolved packet system (Evolved Packet System, 3rd Generation Partnership Project, 3GPP for short) is referred to as The EPS includes the Evolved Universal Terrestrial Radio Access Network (E-UTRAN), the Mobility Management Entity (MME), and the Serving Gateway (S-GW). ), Packet Data Network Gateway (P-GW), and Home Subscriber Server (HSS). The MME is responsible for control planes such as mobility management, non-access stratum signaling processing, and user mobility management context management; the S-GW is an access gateway device connected to the E-UTRAN, in the E-UTRAN and The P-GW forwards data and is responsible for buffering the paging waiting data. The P-GW is the border gateway of the EPS and Packet Data Network (PDN) network, which is responsible for PDN access and EPS. Functions such as forwarding data with the PDN. The UE may also access the upgraded service general packet radio service support node (SGSN) through the UTRAN, and the SGSN accesses the P-GW through the S-GW to perform packet service access. This upgraded SGSN is called the S4 SGSN. It performs control plane interaction with the MME through the S3 interface, and performs user plane interaction with the S-GW through the S4 interface. If the EPS system supports Policy and Charging Control (PCC), the Policy and Charging Rules Function (PCRF) entity performs policy and charging rules, and it receives the interface through the receiving interface. The Rx is connected to an Application Function (abbreviated as AF) entity in the service network protocol (IP), and obtains service information, which is used to generate service information of the PCC policy. When the S5 interface between the S-GW and the P-GW uses the GPRS Tunneling Protocol (GTP) protocol, the P-GW resides in the Policy and Charging Enforcement Function (Policy and Charging Enforcement Function). For the PCEF) entity, the PCRF entity exchanges information with the P-GW through the Gx interface, and is responsible for initiating the establishment, modification, and release of the bearer, ensuring the quality of service (Quality of Service, QoS for short), and performing charging control. When S-GW and P-GW When the S5 interface adopts Proxy Mobile IP (PMIP), the S-GW hosts the Bearer Binding and Event Report Function (BBERF) entity, and the S-GW and the S-GW The PCRF entity exchanges information through the Gxc interface. The BBERF entity is responsible for initiating the establishment, modification, and release of the bearer to ensure the service quality of the service data. The PCEF entity performs charging control. The EPS system supports online charging and offline charging for the corresponding users. For online charging, the P-GW interacts with the Online Charging System (OCS) through the Gy interface to perform credit control and management. For offline charging, the P-GW passes the Gz interface and the offline charging system ( Offline Charging System (referred to as OFCS) interacts, reports information such as CDRs. 2 is a schematic diagram of a network structure of a 3GPP network and a non-3GPP network according to the related art. As shown in FIG. 2, the EPS supports interworking with a non-3GPP system, wherein interworking with a non-3GPP system is implemented through an S2a/b/c interface. The P-GW acts as an anchor between the 3GPP and the non-3GPP system. In the system architecture of EPS, non-3GPP system access is divided into untrusted non-3GPP access and trusted non-3GPP access; wherein untrusted non-3GPP access requires an evolved packet data gateway (Evolved Packet Data Gateway, Referred to as ePDG), it is connected to the P-GW. The interface between the ePDG and the P-GW is S2b. The trusted non-3GPP access can be directly connected to the P-GW through the S2a interface. In addition, the S2c interface provides the user equipment (User Equipment, referred to as UE) User interface-related control and mobility support between the P-GW and the supported mobility management protocol for Mobile IPv6 Support for Dual Stack Hosts and Routers (referred to as DSMIPv6), which can be set to untrusted non-3GPP and trusted non-3GPP access. In recent years, with the expansion of wireless local area network (WLAN) coverage and the rapid development of its security, more and more operators believe that WLAN can access EPS as a trusted non-3GPP access network. In particular, the Evolved Packet Core (EPC) in the EPS, when the WLAN is considered to be trusted by the operator, the Trusted WLAN Access Network (TWAN) Through the STa interface and the Authentication, Authorization, and Accounting (AAA) server/proxy connection, the S2a interface and the P-GW can be connected to access the EPS network. 3 is a schematic diagram of a non-roaming architecture of a trusted WLAN access network accessing an EPC according to the related art. As shown in FIG. 3, the TWAN includes a WLAN access network (WLAN Access Network, WLAN AN for short), which is trusted. Trusted WLAN Access Gateway (TWAG), Trusted WLAN AAA Proxy (TWAP). The WLAN AN includes one or more WLAN access points (Access Point, AP for short) or an access control point (Access Controller, AC for short). The TWAG is connected to the P-GW through the S2a interface, and the TWAP is connected through the STA interface. AAA server/proxy connection. Both TWAG and TWAP are logical functional units that are physically separable and can be combined with other network elements. At present, there are some topics in the study of TWAN access to EPC, such as the SMO (Study on S2a Mobility based On GTP & WLAN access to EPC, referred to as SaMOG), which mainly studies the mobility of the S2a interface. However, there have been no related topics to study the billing related issues when users access EPC through TWAN. In this way, when the user accesses through the cellular network, he has his own charging mode, but when switching to the WLAN, accessing the EPC in the TWAN mode, or directly accessing from the WLAN, accessing the EPC in the TWAN mode, or the user simultaneously passing through the cellular network And accessing the EPC through the TWAN mode, how the charging gateway performs charging according to different access network types is unknown. An effective solution has not been proposed for the problem of how the charging policies are distinguished when users access the EPC through different access networks in the related art. SUMMARY OF THE INVENTION The present invention provides a charging control scheme to solve at least the above problem, in view of the problem that the charging policy cannot be distinguished when the user accesses the EPC through different access networks. According to an aspect of the embodiments of the present invention, a charging control method is provided, including: a packet data network gateway acquiring an access network type-based charging policy from a home subscriber server; The fee policy controls charging for UEs accessing from different access networks. Preferably, the packet data network gateway obtains the charging policy based on the access network type from the home subscriber server, where: the packet data network gateway acquires the charging policy from the TWAN; wherein the charging policy is AAA The UE that is accessed by the TWAN performs the network-side authentication process, and obtains the charging policy from the home server. If the network-side authentication succeeds, the charging policy is sent to the TWAN. Preferably, in the case that the TWAN includes TWAP and TWAG, the AAA sending the charging policy to the TWAN includes: the AAA sending an AAA message including an EAP success message to the TWAP, where The AAA message carries the charging policy; the TWAP sends a request to the TWAG, where the request carries the charging policy. Preferably, the packet data network gateway acquiring the charging policy from the TWAN includes: the TWAN sending a create session request message to the packet data network gateway, where the creating session request message carries the charging Strategy. Preferably, after the AAA sends the charging policy to the TWAN, the method further includes: the TWAN locally saving the charging policy. Preferably, the method further includes: the packet data network gateway acquiring a modified charging policy based on an access network type from the home subscriber server; the packet data network gateway according to the modified charging The policy controls charging for UEs accessing from different access networks. Preferably, the packet data network gateway acquires the modified charging policy based on the access network type from the home subscriber server, where the packet data network gateway acquires the modified charging policy from the TWAN; And the modified charging policy is obtained by the AAA in the received subscription information update request from the home subscriber server, and the charging policy is sent to the TWAN. Preferably, the obtaining, by the packet data network gateway, the modified charging policy from the TWAN includes:
TWAN向所述分组数据网络网关发送修改承载命令, 其中, 所述修改承载命令中携带 有所述修改后的计费策略。 优选地, 所述接入网络类型包括以下至少之一: 3GPP网络, 可信任的非 3GPP接 入网络, 不可信任的非 3GPP接入网络。 根据本发明实施例的另一方面, 提供了一种计费控制方法, 包括: 分组数据网络 网关获取来自策略和计费规则功能的基于接入网络类型的计费策略; 所述分组数据网 络网关根据所述计费策略对从不同接入网络接入的 UE进行计费控制。 优选地, 所述接入网络类型包括以下至少之一: 3GPP网络, 可信任的非 3GPP接 入网络, 不可信任的非 3GPP接入网络。 根据本发明实施例的再一方面, 还提供了一种计费控制装置, 位于分组数据网络 网关中, 包括: 第一获取模块, 设置为获取来自归属用户服务器的基于接入网络类型 的计费策略; 第一计费控制模块, 设置为根据所述计费策略对从不同接入网络接入的 UE进行计费控制。 优选地, 所述第一获取模块包括: 第一获取单元, 设置为从 TWAN获取所述计费 策略; 其中, 所述计费策略为 AAA在对由所述 TWAN接入的 UE进行网络侧鉴权的 过程中, 向所述归属用户服务器获取, 并在网络侧鉴权成功的情况下, 将所述计费策 略发送给所述 TWAN。 优选地, 所述第一获取单元包括: 第一接收单元, 设置为接收来自所述 TWAN的 创建会话请求消息, 其中, 所述创建会话请求消息中携带有所述计费策略。 优选地, 所述第一获取模块还设置为获取来自所述归属用户服务器的基于接入网 络类型的修改后的计费策略; 所述第一计费控制模块还设置为根据所述修改后的计费 策略对从不同接入网络接入的 UE进行计费控制。 优选地, 所述第一获取模块还包括: 第二获取单元, 设置为从 TWAN获取所述修 改后的计费策略; 其中, 所述修改后的计费策略为 AAA在接收到的来自所述归属用 户服务器的签约信息更新请求中获取, 并将所述计费策略发送给所述 TWAN。 优选地, 所述第二获取单元包括: 第二接收单元, 设置为接收来自所述 TWAN的 修改承载命令, 其中, 所述修改承载命令中携带有所述修改后的计费策略。 根据本发明实施例的还一方面, 还提供了一种计费控制装置, 位于分组数据网络 网关中, 包括: 第二获取模块, 设置为获取来自策略和计费规则功能的基于接入网络 类型的计费策略; 第二计费控制模块, 设置为根据所述计费策略对从不同接入网络接 入的 UE进行计费控制。 通过本发明实施例, 采用分组数据网络网关获取来自归属用户服务器的基于接入 网络类型的计费策略;分组数据网络网关根据该计费策略对从不同接入网络接入的 UE 进行计费控制的方式,解决了相关技术中用户通过不同的接入网络接入 EPC时计费策 略无法区分的问题, 为根据不同的接入网类型进行计费控制提供了技术上的支持, 提 升了计费控制的适用范围以及灵活性。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中- 图 1是根据相关技术的演进分组系统的结构示意图; 图 2是根据相关技术的 3GPP网络与非 3GPP网络互通的网络结构示意图; 图 3是根据相关技术的可信任的 WLAN接入网接入 EPC的非漫游架构示意图; 图 4是根据本发明实施例的计费控制方法的流程图; 图 5是根据本发明实施例的计费控制装置的结构框图; 图 6是根据本发明实施例的第一获取模块的优选结构框图一; 图 7是根据本发明实施例的第一获取模块的优选结构框图二; 图 8是根据本发明实施例的另一种计费控制方法的流程图; 图 9是根据本发明实施例的另一种计费控制装置的结构框图; 图 10是根据本发明实施例一的实现获取计费策略的方法的流程示意图一; 图 11是根据本发明实施例二的实现获取计费策略的方法的流程示意图二; 图 12是根据本发明实施例三的实现获取计费策略的方法的流程示意图三; 图 13是根据本发明实施例四的实现获取计费策略的方法的流程示意图四。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 在本实施例中提供了一种计费控制方法, 图 4是根据本发明实施例的计费控制方 法的流程图, 如图 4所示, 该方法包括如下步骤: 步骤 S402, 分组数据网络网关 (例如, PGW或者 GGSN) 获取来自归属用户服 务器 (HSS) 的基于接入网络类型的计费策略; 步骤 S404, 分组数据网络网关根据该计费策略对从不同接入网络接入的 UE进行 计费控制。 本实施例通过上述步骤,分组数据网络网关获取到基于接入网络类型的计费策略, 并根据该计费策略对从不同接入网络接入的 UE进行计费控制, 解决了相关技术中用 户通过不同的接入网络接入 EPC时计费策略无法区分的问题,为根据不同的接入网类 型进行计费控制提供了技术上的支持, 提升了计费控制的适用范围以及灵活性。 优选地, 上述接入网络类型可以是 3GPP网络, 和 /或可信任的非 3GPP接入网络, 和 /或不可信任的非 3GPP接入网络。 在接入网络类型为可信任的非 3GPP接入网络 (例如, WLAN) 的情况下, 作为 一种优选实施方式, 分组数据网络网关获取上述计费策略的方式可以是从可信任的无 线局域网接入网 (TWAN) 处获取。 其中, 该计费策略可以是 AAA在对由 TWAN接 入的 UE讲行网络恻鉴权的讨稃中, 向归属用户服备器莸取, 并在网络恻鉴权成功的 情况下, 将计费策略发送给 TWAN。 也即, 该计费策略可以是 AAA从 HSS获取到, 发送给了 TWAN,从而 TWAN可以在 UE接入过程中将该计费策略发送给分组数据网 络网关。 例如, TWAN可以向分组数据网络网关发送创建会话请求消息, 在该创建会 话请求消息中携带有计费策略。 优选地, 在 TWAN包括 TWAP和 TWAG的情况下, 若二者物理分离, 则可以由The TWAN sends a modify bearer command to the packet data network gateway, where the modified bearer command carries the modified charging policy. Preferably, the access network type comprises at least one of the following: a 3GPP network, a trusted non-3GPP access network, and an untrusted non-3GPP access network. According to another aspect of the embodiments of the present invention, a charging control method is provided, including: a packet data network gateway acquiring an access network type-based charging policy from a policy and charging rule function; the packet data network gateway Charging control is performed on UEs accessing from different access networks according to the charging policy. Preferably, the access network type comprises at least one of the following: a 3GPP network, a trusted non-3GPP access network, and an untrusted non-3GPP access network. According to still another aspect of the present invention, a charging control apparatus is provided, which is located in a packet data network gateway, and includes: a first acquiring module, configured to acquire an access network type-based charging from a home subscriber server The first charging control module is configured to perform charging control on UEs accessed from different access networks according to the charging policy. Preferably, the first obtaining module includes: a first acquiring unit, configured to acquire the charging policy from a TWAN; wherein the charging policy is an AAA, performing network side-checking on a UE accessed by the TWAN And obtaining, in the process of the right, the home subscriber server, and sending the charging policy to the TWAN if the network side authentication succeeds. Preferably, the first obtaining unit includes: a first receiving unit, configured to receive a create session request message from the TWAN, where the create session request message carries the charging policy. Preferably, the first obtaining module is further configured to acquire a modified charging policy based on an access network type from the home subscriber server; the first charging control module is further configured to be according to the modified The charging policy controls charging for UEs accessing from different access networks. Preferably, the first obtaining module further includes: a second obtaining unit, configured to acquire the modified charging policy from the TWAN; wherein the modified charging policy is received by the AAA from the The subscription information update request of the home subscriber server is obtained, and the charging policy is sent to the TWAN. Preferably, the second obtaining unit includes: a second receiving unit, configured to receive a modified bearer command from the TWAN, where the modified bearer command carries the modified charging policy. According to still another aspect of the embodiments of the present invention, there is provided a charging control apparatus, located in a packet data network gateway, comprising: a second obtaining module, configured to acquire an access network type based on a policy and charging rule function a charging policy; the second charging control module is configured to perform charging control on UEs accessed from different access networks according to the charging policy. According to the embodiment of the present invention, a packet data network gateway is used to obtain an access network type-based charging policy from a home subscriber server; the packet data network gateway performs charging control on UEs accessed from different access networks according to the charging policy. The method solves the problem that the charging policy cannot be distinguished when the user accesses the EPC through different access networks in the related art, and provides technical support for charging control according to different access network types, and improves charging. The scope of control and flexibility. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 1 is a schematic structural diagram of an evolved packet system according to the related art; FIG. 2 is a schematic diagram of a network structure of a 3GPP network interworking with a non-3GPP network according to the related art; FIG. 3 is a trusted WLAN connection according to the related art. FIG. 4 is a flowchart of a charging control method according to an embodiment of the present invention; FIG. 5 is a structural block diagram of a charging control apparatus according to an embodiment of the present invention; A preferred structural block diagram of the first acquisition module of the embodiment of the invention; 7 is a block diagram of a preferred structure of a first acquisition module according to an embodiment of the present invention; FIG. 8 is a flowchart of another charging control method according to an embodiment of the present invention; FIG. 9 is another embodiment according to an embodiment of the present invention. FIG. 10 is a flow chart 1 of a method for obtaining a charging policy according to the first embodiment of the present invention; FIG. 11 is a flowchart of a method for implementing a charging policy according to Embodiment 2 of the present invention; FIG. 12 is a schematic flowchart 3 of a method for obtaining a charging policy according to Embodiment 3 of the present invention; FIG. 13 is a schematic flowchart 4 of a method for implementing a charging policy according to Embodiment 4 of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. In this embodiment, a charging control method is provided. FIG. 4 is a flowchart of a charging control method according to an embodiment of the present invention. As shown in FIG. 4, the method includes the following steps: Step S402, a packet data network gateway (eg, PGW or GGSN) acquiring an access network type-based charging policy from a home subscriber server (HSS); step S404, the packet data network gateway calculates, according to the charging policy, UEs accessing from different access networks Fee control. In this embodiment, the packet data network gateway obtains a charging policy based on the access network type, and performs charging control on the UEs accessed from different access networks according to the charging policy, thereby solving the related technologies. The problem that the charging policy cannot be distinguished when accessing the EPC through different access networks provides technical support for charging control according to different access network types, and improves the applicable scope and flexibility of the charging control. Preferably, the access network type may be a 3GPP network, and/or a trusted non-3GPP access network, and/or an untrusted non-3GPP access network. In a case where the access network type is a trusted non-3GPP access network (for example, WLAN), as a preferred implementation manner, the manner in which the packet data network gateway obtains the foregoing charging policy may be from a trusted wireless local area network. Obtained at the network access (TWAN). The charging policy may be that the AAA learns from the serving user device in the discussion of the network access authentication of the UE accessed by the TWAN, and the authentication succeeds in the network. In the case, the charging policy is sent to the TWAN. That is, the charging policy may be obtained by the AAA from the HSS and sent to the TWAN, so that the TWAN may send the charging policy to the packet data network gateway in the UE access process. For example, the TWAN may send a create session request message to the packet data network gateway, where the create session request message carries a charging policy. Preferably, in the case that the TWAN includes TWAP and TWAG, if the two are physically separated,
AAA首先向 TWAP发送包含有 EAP成功消息的 AAA消息,该 AAA消息中还携带有 该计费策略; 然后, TWAP再向 TWAG发送请求, 并在该请求中携带上述计费策略。 通过这种方式, TWAN就能够方便地获取到来自 HSS的计费策略, 该方式易于实现。 优选地, 包含 EAP成功消息的 AAA消息可以为 radius消息, 或者也可以为 diameter 消息。 优选地, 为了便于 TWAN中其他 UE接入 EPC的计费控制, 可以将获取到的该 TWAN对应的计费策略保存在本地。 通过这种方式, 该 TWAN中其他 UE需要接入 EPC时,可以直接将该计费策略通知给分组数据网络网关以进行计费控制,无需从 HSS 重复获取。 作为一种优选实施方式, 如果 HSS中的计费策略发生改变, 则分组数据网络网关 可以获取来自 HSS的基于接入网络类型的修改后的计费策略,并根据修改后的计费策 略对从不同接入网络接入的 UE进行计费控制。 通过这种方式, 能够使得在 HSS中的 计费策略发生改变的情况下, 分组数据网络网关能够快速更新用于计费控制的计费策 略, 提升了应变速度和灵活性。 优选地, 在分组数据网络网关根据修改后的计费策略对 UE进行计费控制之前, 还可以向已经接入的接入网络发送更新承载请求消息。 但需要说明的是, 这种对接入 网的修改是可选的。 在接入网络类型为可信任的非 3GPP接入网络 (例如, WLAN) 的情况下, 作为 一种优选实施方式,分组数据网络网关获取上述计费策略的方式可以是从 TWAN获取 修改后的计费策略; 其中, 该修改后的计费策略可以为 AAA在接收到的来自归属用 户服务器的签约信息更新请求中获取, 并将计费策略发送给 TWAN。 也即, 该计费策 略可以是 HSS在检测到该计费策略发生改变后, 向 AAA发送签约信息更新请求, 该 请求中携带有上述修改后的计费策略; AAA将该修改后的计费策略发送给了 TWAN, 从而 TWAN可以将该修改后的计费策略发送给分组数据网络网关。 优选地, TWAN将修改后的计费策略发送给分组数据网络网关可以通过发送修改 承载命令的方式实现, 其中, 该修改承载命令中携带有上述修改后的计费策略。 对应于上述计费控制方法, 在本实施例中还提供了一种计费控制装置, 位于分组 数据网络网关中, 该装置设置为实现上述实施例及优选实施方式, 已经进行过说明的 不再赘述。 如以下所使用的, 术语"模块"可以实现预定功能的软件和 /或硬件的组合。 尽管以下实施例所描述的装置较佳地以软件来实现, 但是硬件, 或者软件和硬件的组 合的实现也是可能并被构想的。 图 5是根据本发明实施例的计费控制装置的结构框图, 如图 5所示, 该装置包括: 第一获取模块 52和第一计费控制模块 54, 下面对各个模块进行详细说明。 第一获取模块 52, 设置为获取来自归属用户服务器的基于接入网络类型的计费策 略; 第一计费控制模块 54, 与第一获取模块 52相连, 设置为根据从第一获取模块 52 获取的计费策略对从不同接入网络接入的 UE进行计费控制。 本实施例通过上述模块,分组数据网络网关中的第一获取模块 52获取到基于接入 网络类型的计费策略,第一计费控制模块 54根据该计费策略对从不同接入网络接入的 UE进行计费控制, 解决了相关技术中用户通过不同的接入网络接入 EPC时计费策略 无法区分的问题, 为根据不同的接入网类型进行计费控制提供了技术上的支持, 提升 了计费控制的适用范围以及灵活性。 图 6是根据本发明实施例的第一获取模块 52的优选结构框图一, 如图 6所示,第 一获取模块 52可以包括: 第一获取单元 522, 设置为从 TWAN获取计费策略; 其中, 该计费策略为 AAA服务器或者代理在对由 TWAN接入的 UE进行网络侧鉴权的过程 中, 向归属用户服务器获取, 并在网络侧鉴权成功的情况下, 将该计费策略发送给 TWAN。 优选地, 第一获取单元 522可以包括: 第一接收单元, 设置为接收来自 TWAN的 创建会话请求消息, 其中, 该创建会话请求消息中携带有上述计费策略。 优选地, 在 HSS中的计费策略发生改变的情况下, 第一获取模块 52还可以设置 为获取来自归属用户服务器的基于接入网络类型的修改后的计费策略; 第一计费控制 模块 54还可以设置为根据修改后的计费策略对从不同接入网络接入的 UE进行计费控 制。 图 7是根据本发明实施例的第一获取模块 52的优选结构框图二, 如图 7所示,第 一获取模块 52还可以包括: 第二获取单元 524, 设置为从 TWAN获取修改后的计费 策略; 其中, 该修改后的计费策略为 AAA在接收到的来自归属用户服务器的签约信 息更新请求中获取, 并将计费策略发送给 TWAN。 优选地, 第二获取单元 524可以包括: 第二接收单元, 设置为接收来自 TWAN的 修改承载命令, 其中, 修改承载命令中携带有修改后的计费策略。 在本实施例中还提供了另一种计费控制方法, 图 8是根据本发明实施例的另一种 计费控制方法的流程图, 如图 8所示, 该方法包括如下步骤: 步骤 S802, 分组数据网络网关 (例如, PGW或者 GGSN) 获取来自策略和计费 规则功能 (PCRF) 的基于接入网络类型的计费策略; 步骤 S804, 分组数据网络网关根据该计费策略对从不同接入网络接入的 UE进行 计费控制。 本实施例通过上述步骤, 分组数据网络网关获取到来自策略和计费规则功能的基 于接入网络类型的计费策略, 并根据该计费策略对从不同接入网络接入的 UE进行计 费控制,解决了相关技术中用户通过不同的接入网络接入 EPC时计费策略无法区分的 问题, 为根据不同的接入网类型进行计费控制提供了技术上的支持, 提升了计费控制 的适用范围以及灵活性。 优选地, 上述接入网络类型可以是 3GPP网络, 和 /或可信任的非 3GPP接入网络, 和 /或不可信任的非 3GPP接入网络。 对应于上述另一种计费控制方法, 在本实施例中还提供了另一种计费控制装置, 位于分组数据网络网关中, 该装置设置为实现上述实施例及优选实施方式, 已经进行 过说明的不再赘述。 如以下所使用的, 术语"模块"可以实现预定功能的软件和 /或硬件 的组合。 尽管以下实施例所描述的装置较佳地以软件来实现, 但是硬件, 或者软件和 硬件的组合的实现也是可能并被构想的。 图 9是根据本发明实施例的另一种计费控制装置的结构框图, 如图 9所示, 该装 置包括: 第二获取模块 92和第二计费控制模块 94, 下面对各个模块进行详细说明。 第二获取模块 92, 设置为获取来自策略和计费规则功能的基于接入网络类型的计 费策略; 第二计费控制模块 94, 与第二获取模块 92相连, 设置为根据第二获取模块 92获取的计费策略对从不同接入网络接入的 UE进行计费控制。 本实施例通过上述模块,分组数据网络网关中的第二获取模块 92获取到来自策略 和计费规则功能的基于接入网络类型的计费策略,第二计费控制模块 94根据该计费策 略对从不同接入网络接入的 UE进行计费控制, 解决了相关技术中用户通过不同的接 入网络接入 EPC时计费策略无法区分的问题,为根据不同的接入网类型进行计费控制 提供了技术上的支持, 提升了计费控制的适用范围以及灵活性。 下面结合优选实施例进行说明, 以下优选实施例结合了上述实施例及其优选实施 方式。 在以下优选实施例中, 提供了一种获取计费策略的方法及系统, 在以下优选实施 例中以分组数据网络网关为 P-GW, 且接入网类型为 TWAN为例进行说明, P-GW通 过从 HSS处获取用户从 WLAN接入, 以 TWAN方式接入 EPC时的计费策略, P-GW 根据计费策略做计费控制。 例如, 在 HSS上签约基于接入网的计费策略, 然后将签约 的计费策略下发给 TWAN, TWAN中的 TWAP通过 TWAG将计费策略传送给 P-GW。 以下优选实施例中的获取计费策略的方法包括如下步骤: 步骤一, 在 HSS上签约计费策略: 当用户通过 TWAN方式接入 EPC时采用按时 长或者按流量或者按其他相类似的方式计费。 也即制定基于接入网类型的计费策略。 步骤二, HSS将签约的基于接入网的计费策略下发给 TWAN, TWAN再将计费策 略传送给 P-GW。 步骤三, P-GW根据获取到的用户计费策略进行计费控制。 通过上述方式, 解决了用户通过不同的接入网接入 EPC时的计费问题。 实施例一 图 10 是根据本发明实施例一的实现获取计费策略的方法的流程示意图一, 如图 10所示, 用户首次从 WLAN附着, 以可信任的 WLAN接入网络接入 EPC时, 在可扩 展的认证协议 (Extensible Authentication Protocol, 简称为 EAP) 接入鉴权过程中, 将 用户在 HSS中签约的计费策略下到 TWAN, TWAN中的 TWAP通过 TWAG在后续的 GTP建立过程中将计费策略传递给 P-GW。 步骤 S 1002: UE与 WLAN AN执行非 3GPP特有的接入流程, 建立 L2连接。 步骤 S1004: WLAN AN向 UE发送 EAP请求标识 (identity)消息, 请求获取终端 的标识。 开始 EAP鉴权过程。 步骤 SI 006: UE给 WLAN AN返回 EAP 响应 /标识, 携带终端的标识 (用户的标 识可以是永久标识 (permanent identity) 也可以是伪标识 (pseudonym identity) )。 同 时 WLAN AN将收到的用户标识通过 TWAP中转给 AAA服务器。 The AAA first sends an AAA message containing the EAP success message to the TWAP, and the AAA message further carries the charging policy. Then, the TWAP sends a request to the TWAG, and carries the charging policy in the request. In this way, the TWAN can easily obtain the charging policy from the HSS, which is easy to implement. Preferably, the AAA message including the EAP success message may be a radius message, or may also be a diameter message. Preferably, in order to facilitate the charging control of the ETCs of other UEs in the TWAN, the obtained charging policies corresponding to the TWAN may be saved locally. In this way, when other UEs in the TWAN need to access the EPC, the charging policy can be directly notified to the packet data network gateway for charging control without repeated acquisition from the HSS. As a preferred implementation manner, if the charging policy in the HSS changes, the packet data network gateway may acquire the modified charging policy based on the access network type from the HSS, and according to the modified charging policy, The UEs accessing different access networks perform charging control. In this way, the packet data network gateway can quickly update the charging policy for charging control in the case where the charging policy in the HSS is changed, which improves the speed and flexibility. Preferably, before the packet data network gateway performs charging control on the UE according to the modified charging policy, the update bearer request message may also be sent to the access network that has already accessed. However, it should be noted that this modification to the access network is optional. In a case where the access network type is a trusted non-3GPP access network (for example, a WLAN), as a preferred implementation manner, the packet data network gateway obtains the foregoing charging policy by acquiring the modified meter from the TWAN. The fee policy may be obtained by the AAA in the received subscription information update request from the home subscriber server, and the charging policy is sent to the TWAN. That is, the charging policy may be that after the HSS detects that the charging policy is changed, the HSS sends a subscription information update request to the AAA, where the request carries the modified charging policy; The policy is sent to the TWAN so that the TWAN can send the modified charging policy to the packet data network gateway. Preferably, the TWAN sends the modified charging policy to the packet data network gateway, which can be implemented by sending a modify bearer command, where the modified bearer command carries the modified charging policy. Corresponding to the foregoing charging control method, in the embodiment, a charging control device is also provided, which is located in a packet data network gateway, and the device is configured to implement the foregoing embodiment and a preferred embodiment, and has been described again. Narration. As used hereinafter, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and conceivable. FIG. 5 is a structural block diagram of a charging control apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes: a first obtaining module 52 and a first charging control module 54, and each module is described in detail below. The first obtaining module 52 is configured to obtain an access network type-based charging policy from the home subscriber server. The first charging control module 54 is connected to the first obtaining module 52, and is configured to be obtained according to the first obtaining module 52. The charging policy controls the charging of UEs accessing from different access networks. In this embodiment, the first obtaining module 52 in the packet data network gateway obtains the charging policy based on the access network type, and the first charging control module 54 accesses the access network from different access networks according to the charging policy. The UE performs charging control, which solves the problem that the charging policy cannot be distinguished when the user accesses the EPC through different access networks in the related art, and provides technical support for charging control according to different access network types. Increased range and flexibility of billing control. FIG. 6 is a block diagram of a preferred structure of the first obtaining module 52 according to an embodiment of the present invention. As shown in FIG. 6, the first obtaining module 52 may include: a first obtaining unit 522, configured to acquire a charging policy from the TWAN; The charging policy is obtained by the AAA server or the proxy in the process of performing network-side authentication on the UE accessed by the TWAN, and is sent to the home subscriber server, and if the network side authentication succeeds, the charging policy is sent. Give TWAN. Preferably, the first obtaining unit 522 may include: a first receiving unit, configured to receive a create session request message from the TWAN, where the create session request message carries the foregoing charging policy. Preferably, in a case that the charging policy in the HSS is changed, the first obtaining module 52 may be further configured to obtain a modified charging policy based on the access network type from the home subscriber server; the first charging control module 54 may also be configured to perform charging control on UEs accessing from different access networks according to the modified charging policy. FIG. 7 is a block diagram of a preferred structure of the first obtaining module 52 according to an embodiment of the present invention. As shown in FIG. 7, the first obtaining module 52 may further include: a second obtaining unit 524, configured to acquire the modified meter from the TWAN. The fee policy is obtained by the AAA in the received subscription information update request from the home subscriber server, and the charging policy is sent to the TWAN. Preferably, the second obtaining unit 524 may include: a second receiving unit, configured to receive a modified bearer command from the TWAN, where the modified bearer command carries the modified charging policy. Another charging control method is also provided in this embodiment. FIG. 8 is a flowchart of another charging control method according to an embodiment of the present invention. As shown in FIG. 8, the method includes the following steps: Step S802 a packet data network gateway (for example, a PGW or a GGSN) acquiring an access network type-based charging policy from a policy and charging rule function (PCRF); and step S804, the packet data network gateway is different according to the charging policy pair The UE accessing the network performs charging control. In this embodiment, the packet data network gateway obtains an access network type-based charging policy from the policy and charging rule function, and performs charging on the UE accessed from different access networks according to the charging policy. The control solves the problem that the charging policy cannot be distinguished when the user accesses the EPC through different access networks in the related art, provides technical support for charging control according to different access network types, and improves charging control. Scope and flexibility. Preferably, the access network type may be a 3GPP network, and/or a trusted non-3GPP access network, and/or an untrusted non-3GPP access network. Corresponding to the foregoing other charging control method, another charging control device is further provided in the embodiment, which is located in a packet data network gateway, and the device is configured to implement the foregoing embodiment and the preferred embodiment, and has been performed. The description will not be repeated. As used hereinafter, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and conceivable. FIG. 9 is a structural block diagram of another charging control apparatus according to an embodiment of the present invention. As shown in FIG. 9, the apparatus includes: a second obtaining module 92 and a second charging control module 94. Detailed description. The second obtaining module 92 is configured to obtain an access network type-based charging policy from the policy and the charging rule function. The second charging control module 94 is connected to the second obtaining module 92 and configured to be configured according to the second acquiring module. The charging policy obtained by 92 performs charging control on UEs accessing from different access networks. In this embodiment, the second obtaining module 92 in the packet data network gateway obtains the charging policy based on the access network type from the policy and charging rule function, and the second charging control module 94 is configured according to the charging policy. The charging control is performed on the UEs accessing from different access networks, and the related technologies are solved by users in different technologies. The problem that the charging policy cannot be distinguished when the network accesses the EPC provides technical support for charging control according to different access network types, and improves the applicable scope and flexibility of the charging control. The following description will be made in conjunction with the preferred embodiments, and the following preferred embodiments incorporate the above-described embodiments and preferred embodiments thereof. In the following preferred embodiments, a method and a system for obtaining a charging policy are provided. In the following preferred embodiment, the packet data network gateway is a P-GW, and the access network type is TWAN as an example. The GW obtains the charging policy when the user accesses the EPC in the TWAN mode by accessing the WLAN from the HSS, and the P-GW performs charging control according to the charging policy. For example, the charging policy based on the access network is signed on the HSS, and then the subscribed charging policy is sent to the TWAN, and the TWAP in the TWAN transmits the charging policy to the P-GW through the TWAG. The method for obtaining a charging policy in the following preferred embodiment includes the following steps: Step 1: Signing an accounting policy on the HSS: When the user accesses the EPC through the TWAN mode, the time is measured by time duration or by traffic or by other similar methods. fee. That is, a charging policy based on the access network type is formulated. Step 2: The HSS sends the subscribed access network-based charging policy to the TWAN, and the TWAN transmits the charging policy to the P-GW. Step 3: The P-GW performs charging control according to the obtained user charging policy. In the above manner, the charging problem when the user accesses the EPC through different access networks is solved. Embodiment 1 FIG. 10 is a schematic flowchart 1 of a method for implementing a charging policy according to Embodiment 1 of the present invention. As shown in FIG. 10, when a user attaches from a WLAN for the first time and accesses an EPC with a trusted WLAN access network, In the Extensible Authentication Protocol (EAP) access authentication process, the charging policy signed by the user in the HSS is sent to the TWAN, and the TWAP in the TWAN is used in the subsequent GTP establishment process by the TWAG. The charging policy is passed to the P-GW. Step S1002: The UE and the WLAN AN perform a non-3GPP-specific access procedure to establish an L2 connection. Step S1004: The WLAN AN sends an EAP request identity (identity) message to the UE, requesting to acquire the identifier of the terminal. Start the EAP authentication process. Step SI 006: The UE returns an EAP response/identity to the WLAN AN, and carries the identifier of the terminal (the identifier of the user may be a permanent identity or a pseudoonym identity). At the same time, the WLAN AN transfers the received user ID to the AAA server through TWAP.
WLAN AN TWAP、 AAA服务器之间的 EAP消息封装在 AAA消息中, AAA 消息可以是远程用户拨号认证系统 (Remote Authentication Dial In User Service , 简称 为 radius) 消息或者是 diameter消息。 步骤 S1008: AAA 收到 UE 的标识后, 如果认为收到的标识无效或者无法根据 pseudonym identity 映射到有效的国际移动用户识别 (International Mobile Subscriber Identity, 简称为 IMSI), 或者 AAA服务器认为中间接点修改或替换了用户 identity, 则 AAA向 UE再获取 identity, UE返回符合 AAA规定的用户标识。 步骤 S 1010: AAA认为 UE的 identity是有效的之后, 检查本地是否存在未使用 的鉴权向量, 如果存在, 则使用本地鉴权向量进行 EAP鉴权; 否则, AAA向 HSS请 求鉴权向量, HSS返回鉴权向量。 步骤 S1012: AAA确认本地是否有用户的 EPS 签约信息, 如果没有, 则向 HSS 获取用户的签约信息, HSS返回用户签约信息, 签约信息中包含用户签约的基于接入 网类型的计费策略。 The EAP message between the WLAN AN TWAP and the AAA server is encapsulated in an AAA message, and the AAA message may be a Remote Authentication Dial In User Service (referred to as radius) message or a diameter message. Step S1008: After receiving the identifier of the UE, the AAA considers that the received identifier is invalid or cannot be mapped to a valid International Mobile Subscriber Identity (IMSI) according to the pseudoonym identity, or the AAA server considers that the indirect point is modified or If the identity of the user is replaced, the AAA obtains the identity again from the UE, and the UE returns the user identity that meets the AAA requirements. Step S1010: After the AAA considers that the identity of the UE is valid, it checks whether there is an unused authentication vector locally, and if so, uses the local authentication vector for EAP authentication; otherwise, the AAA requests an authentication vector from the HSS, HSS Returns the authentication vector. Step S1012: The AAA confirms whether there is a user's EPS subscription information in the local area. If not, the user obtains the subscription information of the user from the HSS, and the HSS returns the user subscription information, where the subscription information includes the charging policy based on the access network type subscribed by the user.
HSS处关于用户签约的基于接入网类型的计费策略可以采用如下方式: 如用户从 3GPP接入时采用按流量计费的方式, 用户从非 3GPP接入时采用按时长计费的方式。 用户从 TWAN接入 EPC时, 可以是按时长或按流量或按其他的方式来计费。 步骤 S1014: AAA和 UE之间完成 AKA'挑战过程, 完成用户对网络侧的鉴权。 步骤 S1016: AAA和 UE之间完成 AKA'通知过程。 步骤 S1018: EAP鉴权成功之后, AAA发 EAP成功消息给 TWAP。 将签约数据 包含在传送 EAP成功消息的 AAA消息中, 签约数据中包含计费策略。 步骤 S1020: AAA向 HSS执行注册流程。 步骤 S1022: TWAP截获到 AAA发的 EAP成功消息之后, 保存收到的用户签约 数据, 将计费策略保存下来。 触发 TWAG建立 GTP隧道。 步骤 S1024: TWAP向 TWAG发 L2 附着触发请求 (如: WLAN attach request) 消息, 触发 TWAG建立 S2a隧道。 同时将用户的签约数据 (包含计费策略) 传送给 TWAG。 如果 TWAP和 TWAG物理分离的话, 该消息是外部消息, 如果 TWAP和 TWAG 逻辑分离, 物理合一的话, 则该消息是内部触发消息。 步骤 S1026: TWAG给 P-GW发创建会话请求消息, 请求建立 GTP隧道。 同时将 计费策略传递给 P-GW。 步骤 S1028: P-GW向 AAA更新 P-GW的地址信息, 同时 AAA把该地址信息传 递给 HSS。 步骤 S1030: P-GW回创建会话响应消息。 步骤 S1032: GTP隧道建立完成后, TWAG给 TWAP回 L2附着完成(如: WLAN attach accept ) 消息。 步骤 S1034: TWAP将 AAA传送过来的 EAP成功消息传送给 UE, 结束 EAP鉴 权过程。 当 P-GW收到从 TWAN来的上行用户数据或者到 TWAN去的下行用户数据时,The access network type-based charging policy that the user subscribes to at the HSS may adopt the following manner: If the user accesses the 3GPP, the traffic-based charging mode is adopted, and the user adopts the long-term charging mode when accessing from the non-3GPP. When a user accesses an EPC from a TWAN, it can be charged on a per-time basis or by traffic or in other ways. Step S1014: The AKA' challenge process is completed between the AAA and the UE, and the user is authenticated to the network side. Step S1016: The AKA' notification process is completed between the AAA and the UE. Step S1018: After the EAP authentication succeeds, the AAA sends an EAP success message to the TWAP. The subscription data is included in the AAA message for transmitting the EAP success message, and the subscription data includes the charging policy. Step S1020: The AAA performs a registration process to the HSS. Step S1022: After the TWAP intercepts the EAP success message sent by the AAA, the TWAP saves the received user subscription data and saves the charging policy. Trigger TWAG to establish a GTP tunnel. Step S1024: The TWAP sends an L2 attach trigger request (eg, WLAN attach request) message to the TWAG, and triggers the TWAG to establish an S2a tunnel. At the same time, the user's subscription data (including the charging policy) is transmitted to TWAG. If the TWAP and TWAG are physically separated, the message is an external message. If the TWAP and TWAG are logically separated and physically unified, the message is an internal trigger message. Step S1026: The TWAG sends a session request message to the P-GW to request to establish a GTP tunnel. At the same time, the charging policy is passed to the P-GW. Step S1028: The P-GW updates the address information of the P-GW to the AAA, and the AAA transmits the address information to the HSS. Step S1030: The P-GW returns a session response message. Step S1032: After the GTP tunnel is established, the TWAG returns the L2 attach completion (eg, WLAN attach accept) message to the TWAP. Step S1034: The TWAP transmits the EAP success message sent by the AAA to the UE, and ends the EAP authentication process. When the P-GW receives uplink user data from the TWAN or downlink user data to the TWAN,
P-GW根据实施例中收到的计费策略做计费控制。 此实施例中为了方便说明采用的是 EAP-AKA'鉴权方式,但并不限于该鉴权方式, 其他的鉴权方式也同样可以实现。 此实施例中为了简单说明采用的 L2触发 TWAG建立 GTP隧道的方式,如果采用 L3触发 TWAG建立 GTP隧道的话, 上述流程稍微有修改, 在 TWAP收到 S1018步 AAA发送的 EAP成功消息后, 将 AAA消息中的计费策略保存起来, 同时把该 EAP 成功消息下发到 UE,结束 EAP鉴权过程。 TWAP等 EAP鉴权过程结束之后,给 TWAG 发请求消息,请求消息中包含计费策略。 TWAG等收到 L3触发的请求消息以及 TWAP 发的请求消息后, 再跟 PGW之间建立 GTP隧道。 GTP隧道建立的方式同 S1026-1030 步。 实施例二 图 11 是根据本发明实施例二的实现获取计费策略的方法的流程示意图二, 如图 11所示, 用户从 3GPP接入后, 切换到 WLAN覆盖范围下, 以可信任的 WLAN接入 网络接入 EPC时, 在 EAP接入鉴权过程中, 将用户在 HSS中签约的基于接入网类型 的计费策略下到 TWAN, TWAN中 TWAP通过 TWAG在后续的 GTP建立过程中将计 费策略传递给 P-GW。 步骤 SI 102: UE从 3GPP接入, S5接口上存在 GTP隧道。 步骤 S1104: UE发现可信任的 WLAN接入系统, 决定从附着的 3GPP接入切换 到发现的可信任的 non-3GPP接入系统。 步骤 S 1106: UE执行可信任 non-3GPP接入系统的接入鉴权和授权流程。 3GPP AAA服务器鉴权和授权 UE接入可信任的 non-3GPP接入系统。在这个过程中, 3GPP AAA服务器查询 HSS, 返回在 3GPP接入时的签约信息, 签约信息中包含计费策略。 用户在 HSS处签约的计费策略可以是按时长也可以是按流量或者按其他的方式计 费。 步骤 S1108: 上步骤中接入鉴权成功之后, AAA发 EAP成功消息给 TWAP。 将 签约数据包含在传送 EAP成功消息的 AAA消息中, 签约数据中包含计费策略。 此包含 EAP成功消息的 AAA消息可以是 radius消息或者是 diameter消息。 步骤 S1110: TWAP截获到 AAA服务器发的 EAP成功消息之后, 保存收到的用 户签约数据, 将计费策略保存下来。 同时向 TWAG发 L2 附着触发请求 (如: WLAN attach request) 消息, 触发 TWAG建立 S2a隧道。 同时将用户的签约数据 (包含计费 策略) 传送给 TWAG。 如果 TWAP和 TWAG物理分离的话, 该消息是外部消息, 如果 TWAP和 TWAG 逻辑分离, 物理合一的话, 则该消息是内部触发消息。 步骤 S1112: TWAG给 P-GW发创建会话请求消息, 请求建立 GTP隧道。 同时将 计费策略传递给 P-GW。 P-GW根据收到的计费策略做计费控制。 步骤 S1114: P-GW向 AAA更新 P-GW的地址信息, 同时 AAA把该地址信息传 递给 HSS。 步骤 S1116: P-GW返回创建会话响应消息。 步骤 S1118: GTP隧道建立完成后, TWAG给 TWAP回 L2附着完成(如: WLAN attach accept ) 消息。 步骤 S1120: TWAP将 AAA传送过来的 EAP成功消息传送给 UE, 结束 EAP鉴 权过程。 步骤 S1122: P-GW触发 PDN去活流程释放 3GPP EPS 承载。 这样当用户从 3GPP接入时, P-GW采用 3GPP定义的方式计费, 当用户切换到非 3GPP之后, P-GW对收到的从 TWAG来的上行用户数据或者到 TWAG去的下行用户 数据时, P-GW根据实施例中收到的计费策略做计费控制。 同理, 当用户同时从 3GPP和非 3GPP接入做流迁移时, 用户在 3GPP内流量按 3GPP的计费策略进行计费,用户在非 3GPP内流量按非 3GPP内的计费策略进行计费。 最终的计费话单是二者的合并。 此实施例中为了方便说明采用的是 EAP-AKA'鉴权方式,但并不限于该鉴权方式, 其他的鉴权方式也同样可以实现。 此实施例中为了简单说明采用的 L2触发 TWAG建立 GTP隧道的方式,如果采用 L3触发 TWAG建立 GTP隧道的话, 上述流程稍微有修改, 在 TWAP收到 S1108步 AAA发送的 EAP成功消息后, 将 AAA消息中的计费策略保存起来, 同时把该 EAP 成功消息下发到 UE,结束 EAP鉴权过程。 TWAP等 EAP鉴权过程结束之后,给 TWAG 发请求消息,请求消息中包含计费策略。 TWAG等收到 L3触发的请求消息以及 TWAP 发的请求消息后, 再跟 PGW之间建立 GTP隧道。 GTP隧道建立的方式同 S1112-1116 少。 实施例三 图 12 是根据本发明实施例三的实现获取计费策略的方法的流程示意图三, 如图The P-GW performs charging control according to the charging policy received in the embodiment. In this embodiment, the EAP-AKA' authentication method is adopted for convenience of description, but it is not limited to the authentication mode, and other authentication methods can also be implemented. In this embodiment, the L2 triggers the TWAG to establish a GTP tunnel. If the L3 triggers the TWAG to establish a GTP tunnel, the above procedure is slightly modified. After the TWAP receives the EAP success message sent by the S1018 AAA, the AAA will be AAA. The charging policy in the message is saved, and the EAP success message is sent to the UE to end the EAP authentication process. After the EAP authentication process such as TWAP ends, a request message is sent to the TWAG, and the request message includes a charging policy. After receiving the L3 triggered request message and the TWAP request message, the TWAG establishes a GTP tunnel with the PGW. The GTP tunnel is established in the same way as S1026-1030. Embodiment 2 FIG. 11 is a schematic flowchart 2 of a method for implementing a charging policy according to Embodiment 2 of the present invention. As shown in FIG. 11, after a user accesses from 3GPP, the user switches to a WLAN coverage area, and the trusted WLAN is used. Access When the network accesses the EPC, in the EAP access authentication process, the charging policy based on the access network type signed by the user in the HSS is sent to the TWAN, and the TWAP in the TWAN is charged by the TWAG in the subsequent GTP establishment process. The policy is passed to the P-GW. Step SI 102: The UE accesses from the 3GPP, and the GTP tunnel exists on the S5 interface. Step S1104: The UE discovers a trusted WLAN access system and decides to switch from the attached 3GPP access to the discovered trusted non-3GPP access system. Step S1106: The UE performs an access authentication and authorization process of the trusted non-3GPP access system. The 3GPP AAA server authenticates and authorizes the UE to access a trusted non-3GPP access system. In this process, the 3GPP AAA server queries the HSS, and returns the subscription information when the 3GPP accesses, and the subscription information includes the charging policy. The charging policy that the user signs at the HSS may be based on the duration of time or by traffic or by other means. Step S1108: After the access authentication succeeds in the previous step, the AAA sends an EAP success message to the TWAP. The subscription data is included in the AAA message for transmitting the EAP success message, and the subscription data includes the charging policy. The AAA message containing the EAP success message may be a radius message or a diameter message. Step S1110: After the TWAP intercepts the EAP success message sent by the AAA server, the TWAP saves the received user subscription data and saves the charging policy. At the same time, an L2 attach trigger request (eg, WLAN attach request) message is sent to the TWAG, and the TWAG is triggered to establish an S2a tunnel. At the same time, the user's subscription data (including the charging policy) is transmitted to TWAG. If the TWAP and TWAG are physically separated, the message is an external message. If the TWAP and TWAG are logically separated and physically unified, the message is an internal trigger message. Step S1112: The TWAG sends a session request message to the P-GW to request to establish a GTP tunnel. At the same time, the charging policy is passed to the P-GW. The P-GW performs charging control according to the received charging policy. Step S1114: The P-GW updates the address information of the P-GW to the AAA, and the AAA transmits the address information to the HSS. Step S1116: The P-GW returns a create session response message. Step S1118: After the GTP tunnel is established, the TWAG returns a L2 attach completion (eg, WLAN attach accept) message to the TWAP. Step S1120: The TWAP transmits the EAP success message sent by the AAA to the UE, and ends the EAP authentication process. Step S1122: The P-GW triggers the PDN deactivation process to release the 3GPP EPS bearer. In this way, when the user accesses from the 3GPP, the P-GW adopts the method defined by the 3GPP, and after the user switches to the non-3GPP, the P-GW sends the received uplink user data from the TWAG or the downlink user data to the TWAG. The P-GW performs charging control according to the charging policy received in the embodiment. Similarly, when the user migrates from 3GPP and non-3GPP accesses simultaneously, the user performs charging according to the 3GPP charging policy in the 3GPP, and the user performs charging in the non-3GPP traffic according to the charging policy in the non-3GPP. . The final billing bill is the merger of the two. In this embodiment, the EAP-AKA' authentication method is adopted for convenience of description, but it is not limited to the authentication mode, and other authentication methods can also be implemented. In this embodiment, the L2 triggers the TWAG to establish a GTP tunnel. If the L3 triggers the TWAG to establish a GTP tunnel, the above procedure is slightly modified. After the TWAP receives the EAP success message sent by the AAA in S1108, the AAA is AAA. The charging policy in the message is saved, and the EAP success message is sent to the UE to end the EAP authentication process. After the EAP authentication process such as TWAP ends, a request message is sent to the TWAG, and the request message includes a charging policy. After receiving the L3 triggered request message and the TWAP request message, the TWAG establishes a GTP tunnel with the PGW. GTP tunnels are established in a manner similar to S1112-1116. Embodiment 3 FIG. 12 is a schematic flowchart 3 of a method for implementing a charging policy according to Embodiment 3 of the present invention.
12所示, 当 HSS处基于接入网类型的计费策略发生改变时, HSS将改变的计费策略 告诉 P-GW 步骤 S1202: HSS处基于接入网的计费策略发生改变, HSS通过签约信息更新请 求消息告诉 AAA用户基于接入网的计费策略发生了改变, 同时 AAA将该改变告诉给 TWAN中的 TWAP 步骤 S1204: TWAN中 TWAP收到基于接入网的计费策略改变请求后, 回更新响 应。 步骤 S1206: 同时 TWAN中的 TWAP通过 TWAG发送修改承载命令将改变的计 费策略告诉给 P-GW。 步骤 S1208: PGW根据收到的基于接入网的计费策略对从不同接入网接入的用户 执行新的计费, 同时给 TWAN中的 TWAG发更新承载请求消息。 步骤 S1208到步骤 S1212可选,如果 PGW认为需要修改从 TWAN接入时的承载, 则发起该流程。 步骤 S1210: TWAN收到更新承载请求消息后, 执行 TWAN内部特有的资源分配 或修改机制。 步骤 S1212: TWAN返回更新承载响应消息。 P-GW收到改变之后的计费策略后可以根据收到的新的计费策略做计费控制。 该实施例假设的是用户从 TWAN接入时的情况,如果用户从 3GPP内接入时, PGW 收到改变的基于接入网类型的计费策略时, 同样可选通知 3GPP内的网元做承载修改。 实施例四 图 13 是根据本发明实施例四的实现获取计费策略的方法的流程示意图四, 如图 13所示, PCRF基于接入网类型进行计费策略的制定, 然后通过 IP连通接入网络 (IP Connectivity Access Network,简称为 IP-CAN)会话过程下发基于接入网类型的计费策 略。 该实施例可以适用于 PCEF和 PCRF之间的 IP-CAN会话没有触发事件的时候。 步骤 S1302: P-GW中的 PCEF功能模块指示 IP-CAN会话建立,请求建立 IP-CAN 会话。 步骤 S1304:如果 PCRF没有用户签约相关的信息,则向用户属性存储(Subscription12, when the charging policy based on the access network type changes at the HSS, the HSS informs the P-GW of the changed charging policy. Step S1202: The charging policy based on the access network changes at the HSS, and the HSS signs the contract. The information update request message tells the AAA user that the charging policy based on the access network has changed, and the AAA notifies the change to the TWAP in the TWAN. Step S1204: After the TWAP in the TWAN receives the charging policy change request based on the access network, Go back to the update response. Step S1206: At the same time, the TWAP in the TWAN sends a modify bearer command through the TWAG to inform the P-GW of the changed charging policy. Step S1208: The PGW performs new charging on the users accessing the different access networks according to the received access network-based charging policy, and sends an update bearer request message to the TWAG in the TWAN. Step S1208 to step S1212 are optional. If the PGW considers that it is necessary to modify the bearer when accessing from the TWAN, the process is initiated. Step S1210: After receiving the update bearer request message, the TWAN performs a resource allocation or modification mechanism unique to the TWAN. Step S1212: The TWAN returns an update bearer response message. After receiving the changed charging policy, the P-GW can perform charging control according to the received new charging policy. This embodiment assumes the case when the user accesses from the TWAN. If the PGW receives the changed access network type-based charging policy when the user accesses from within the 3GPP, the network element in the 3GPP can also be selectively notified. Bearer modifications. Embodiment 4 FIG. 13 is a schematic flowchart diagram of a method for implementing a charging policy according to Embodiment 4 of the present invention. As shown in FIG. 13, the PCRF performs charging policy based on an access network type, and then accesses through an IP connection. The network (IP Connectivity Access Network, IP-CAN for short) session sends a charging policy based on the access network type. This embodiment can be applied when the IP-CAN session between the PCEF and the PCRF does not trigger an event. Step S1302: The PCEF function module in the P-GW instructs the IP-CAN session establishment to request to establish an IP-CAN session. Step S1304: If the PCRF does not have the information related to the user subscription, the user attribute is stored (Subscription)
Profile Repository, 简称为 SPR) 发签约信息请求消息, 请求获取同 IP-CAN会话相关 的用户签约信息。 步骤 S1306: SPR给 PCRF返回签约信息响应, 携带 IP-CAN会话相关的用户签 约信息。 PCRF将收到的相关信息保存。 步骤 S1308: PCRF根据 PCEF的请求以及从 SPR处获取到的关于 IP-CAN会话的 相关信息, 做授权和处理决定。 步骤 S1310: PCRF将上步骤中的决定通过 IP-CAN会话应答的方式发送给 PCEF。 同时根据接入网的类型, 将本地制定的基于接入网的计费策略通过 IP-CAN会话应答 的方式发送给 PCEF。 结束 IP-CAN会话建立流程。 Profile Repository (SPR) sends a subscription information request message requesting to obtain user subscription information related to the IP-CAN session. Step S1306: The SPR returns a subscription information response to the PCRF, and carries the user subscription information related to the IP-CAN session. The PCRF saves the relevant information received. Step S1308: The PCRF makes authorization and processing decisions according to the request of the PCEF and the related information about the IP-CAN session obtained from the SPR. Step S1310: The PCRF sends the decision in the previous step to the PCEF by means of an IP-CAN session response. At the same time, according to the type of the access network, the locally established access network-based charging policy is sent to the PCEF by means of an IP-CAN session response. End the IP-CAN session establishment process.
PCRF 本地制定的基于接入网类型的计费策略可以采用如下的方式, 例如: 用户 从 3GPP接入时, 采用按流量的方式计费; 用户从非 3GPP接入时, 采用按时长的方 式计费。 当然也可以采用其他方式计费。 The IPG-based charging policy based on the access network type can be adopted in the following manner. For example, when the user accesses from 3GPP, the traffic is charged according to the traffic. When the user accesses the non-3GPP, the time-based method is used. fee. Of course, other methods can also be used for billing.
PCRF 本地制定的基于接入网类型的计费策略可以是按时长或按流量或按其他的 方式进行计费。 PCRF上的计费策略可以是配置在 PCRF上的也可以是 PCRF通过某 种方式获得的。 这样当用户从不同的接入网接入时, P-GW可以根据收到的基于接入网类型的计 费策略做计费控制。 上述优选实施例仅仅描述了用户从可信任的非 3GPP接入 EPC时的流程, 此处需 要说明的是不限定于接入 EPS系统以及通过可信任的非 3GPP接入方式, 本方案也同 样适用于终端从 GERAN/UTRAN接入 EPC网络或者 GPRS网络。 同样可以适用于不 可信任的非 3GPP接入网, 以及 S2c接口的情况。 如果 UE从 GERAN/UTRAN接入, 则移动管理单元为 SGSN, 分组数据网络网关为 GGSN, 没有 SGW。 相关流程在这里 不再赘述。 在另外一个实施例中, 还提供了一种软件, 该软件用于执行上述实施例及优选实 施例中描述的技术方案。 在另外一个实施例中, 还提供了一种存储介质, 该存储介质中存储有上述软件, 该存储介质包括但不限于光盘、 软盘、 硬盘、 可擦写存储器等。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 The IPF-based local access network type-based charging policy may be charged on a per-time basis or by traffic or in other manners. The charging policy on the PCRF may be configured on the PCRF or may be obtained by the PCRF in some manner. In this way, when the user accesses from different access networks, the P-GW can perform charging control according to the received charging policy based on the access network type. The foregoing preferred embodiment only describes the flow when the user accesses the EPC from the trusted non-3GPP. It should be noted that the solution is not limited to the access EPS system and the trusted non-3GPP access mode. The solution is also applicable. The terminal accesses the EPC network or the GPRS network from the GERAN/UTRAN. The same can be applied to untrusted non-3GPP access networks, as well as S2c interfaces. If the UE accesses from GERAN/UTRAN, the mobility management unit is the SGSN, the packet data network gateway is the GGSN, and there is no SGW. The related process will not be described here. In another embodiment, software is also provided for performing the technical solutions described in the above embodiments and preferred embodiments. In another embodiment, a storage medium is also provided, the software being stored, including but not limited to an optical disk, a floppy disk, a hard disk, a rewritable memory, and the like. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种计费控制方法, 包括: 1. A charging control method, comprising:
分组数据网络网关获取来自归属用户服务器的基于接入网络类型的计费策 略;  The packet data network gateway acquires an access network type based charging policy from the home subscriber server;
所述分组数据网络网关根据所述计费策略对从不同接入网络接入的用户设 备 UE进行计费控制。  The packet data network gateway performs charging control on user equipment UEs accessed from different access networks according to the charging policy.
2. 根据权利要求 1所述的方法, 其中, 分组数据网络网关获取来自归属用户服务 器的基于接入网络类型的计费策略包括: 2. The method according to claim 1, wherein the packet data network gateway acquires an access network type-based charging policy from the home subscriber server, including:
所述分组数据网络网关从可信任的无线局域网接入网 TWAN 获取所述计 费策略;  The packet data network gateway obtains the charging policy from a trusted wireless local area network access network TWAN;
其中, 所述计费策略为鉴权、 授权及计费 AAA在对由所述 TWAN接入的 UE 进行网络侧鉴权的过程中, 向所述归属用户服务器获取, 并在网络侧鉴权 成功的情况下, 将所述计费策略发送给所述 TWAN。  The charging policy is that the authentication, authorization, and accounting AAA is obtained from the home user server in the process of performing network side authentication on the UE accessed by the TWAN, and the authentication is successful on the network side. In case, the charging policy is sent to the TWAN.
3. 根据权利要求 2所述的方法, 其中, 在所述 TWAN包括可信任的无线局域网 AAA代理 TWAP和可信任的无线局域网接入网关 TWAG的情况下,所述 AAA 将所述计费策略发送给所述 TWAN包括: 3. The method according to claim 2, wherein, in case the TWAN comprises a trusted wireless local area network AAA proxy TWAP and a trusted wireless local area network access gateway TWAG, the AAA sends the charging policy Giving the TWAN includes:
所述 AAA 向所述 TWAP 发送包含可扩展的认证协议 EAP成功消息的 AAA消息, 其中, 在所述 AAA消息中携带有所述计费策略;  The AAA sends an AAA message including an extensible authentication protocol EAP success message to the TWAP, where the AAA message carries the charging policy;
所述 TWAP向所述 TWAG发送请求, 其中, 所述请求中携带有所述计费 策略。  The TWAP sends a request to the TWAG, where the request carries the charging policy.
4. 根据权利要求 2所述的方法, 其中, 所述分组数据网络网关从 TWAN获取所述 计费策略包括: The method according to claim 2, wherein the obtaining, by the packet data network gateway, the charging policy from the TWAN comprises:
所述 TWAN向所述分组数据网络网关发送创建会话请求消息, 其中, 所述 创建会话请求消息中携带有所述计费策略。  The TWAN sends a create session request message to the packet data network gateway, where the create session request message carries the charging policy.
5. 根据权利要求 2至 4中任一项所述的方法, 其中, 在所述 AAA将所述计费策 略发送给所述 TWAN之后, 还包括: The method according to any one of claims 2 to 4, wherein after the AAA sends the charging policy to the TWAN, the method further includes:
所述 TWAN在本地保存所述计费策略。 The TWAN saves the charging policy locally.
6. 根据权利要求 1至 5中任一项所述的方法, 其中, 所述方法还包括: 所述分组数据网络网关获取来自所述归属用户服务器的基于接入网络类型 的修改后的计费策略; The method according to any one of claims 1 to 5, wherein the method further comprises: the packet data network gateway acquiring a modified charging based on an access network type from the home subscriber server Strategy
所述分组数据网络网关根据所述修改后的计费策略对从不同接入网接入的 UE进行计费控制。  The packet data network gateway performs charging control on UEs accessed from different access networks according to the modified charging policy.
7. 根据权利要求 6所述的方法, 其中, 所述分组数据网络网关获取来自所述归属 用户服务器的基于接入网络类型的修改后的计费策略包括: The method according to claim 6, wherein the packet data network gateway acquires the modified charging policy based on the access network type from the home subscriber server, including:
所述分组数据网络网关从 TWAN获取所述修改后的计费策略; 其中, 所述修改后的计费策略为 AAA在接收到的来自所述归属用户服务 器的签约信息更新请求中获取, 并将所述计费策略发送给所述 TWAN。  Obtaining, by the packet data network gateway, the modified charging policy from the TWAN, where the modified charging policy is obtained by the AAA in the received subscription information update request from the home subscriber server, and The charging policy is sent to the TWAN.
8. 根据权利要求 7所述的方法, 其中, 所述分组数据网络网关从 TWAN获取所述 修改后的计费策略包括: 8. The method according to claim 7, wherein the obtaining, by the packet data network gateway, the modified charging policy from the TWAN comprises:
所述 TWAN向所述分组数据网络网关发送修改承载命令, 其中, 所述修改 承载命令中携带有所述修改后的计费策略。  The TWAN sends a modify bearer command to the packet data network gateway, where the modified bearer command carries the modified charging policy.
9. 根据权利要求 1至 8中任一项所述的方法, 其中, 所述接入网络类型包括以下 至少之一: 第三代合作伙伴计划 3GPP网络, 可信任的非 3GPP接入网络, 不 可信任的非 3GPP接入网络。 The method according to any one of claims 1 to 8, wherein the access network type comprises at least one of: a third generation partnership plan 3GPP network, a trusted non-3GPP access network, not Trusted non-3GPP access network.
10. 一种计费控制方法, 包括: 10. A charging control method, comprising:
分组数据网络网关获取来自策略和计费规则功能的基于接入网络类型的计 费策略;  The packet data network gateway acquires a charging policy based on the access network type from the policy and charging rule functions;
所述分组数据网络网关根据所述计费策略对从不同接入网络接入的用户设 备 UE进行计费控制。  The packet data network gateway performs charging control on user equipment UEs accessed from different access networks according to the charging policy.
11. 根据权利要求 10所述的方法, 其中, 所述接入网络类型包括以下至少之一: 第 三代合作伙伴计划 3GPP网络,可信任的非 3GPP接入网络,不可信任的非 3GPP 接入网络。 11. The method according to claim 10, wherein the access network type comprises at least one of: a third generation partnership plan 3GPP network, a trusted non-3GPP access network, an untrusted non-3GPP access The internet.
12. 一种计费控制装置, 位于分组数据网络网关中, 包括: 12. A charging control device, located in a packet data network gateway, comprising:
第一获取模块, 设置为获取来自归属用户服务器的基于接入网络类型的计 费策略; 第一计费控制模块, 设置为根据所述计费策略对从不同接入网络接入的用 户设备 UE进行计费控制。 The first obtaining module is configured to obtain an access network type-based charging policy from the home subscriber server; The first charging control module is configured to perform charging control on the user equipment UE accessed from different access networks according to the charging policy.
13. 根据权利要求 12所述的装置, 其中, 所述第一获取模块包括: The device according to claim 12, wherein the first acquiring module comprises:
第一获取单元,设置为从可信任的无线局域网接入网 TWAN获取所述计费 策略; 其中, 所述计费策略为鉴权、 授权及计费 AAA在对由所述 TWAN接入 的 UE进行网络侧鉴权的过程中, 向所述归属用户服务器获取, 并在网络侧鉴 权成功的情况下, 将所述计费策略发送给所述 TWAN。  a first obtaining unit, configured to acquire the charging policy from a trusted wireless local area network access network TWAN; wherein the charging policy is an authentication, authorization, and charging AAA in a UE accessed by the TWAN And performing the network side authentication process, acquiring the charging policy to the home server, and sending the charging policy to the TWAN if the network side authentication succeeds.
14. 根据权利要求 13所述的装置, 其中, 所述第一获取单元包括: The device according to claim 13, wherein the first acquiring unit comprises:
第一接收单元, 设置为接收来自所述 TWAN的创建会话请求消息, 其中, 所述创建会话请求消息中携带有所述计费策略。  The first receiving unit is configured to receive a create session request message from the TWAN, where the create session request message carries the charging policy.
15. 根据权利要求 12至 14中任一项所述的装置, 其中, The apparatus according to any one of claims 12 to 14, wherein
所述第一获取模块还设置为获取来自所述归属用户服务器的基于接入网络 类型的修改后的计费策略;  The first obtaining module is further configured to acquire a modified charging policy based on an access network type from the home subscriber server;
所述第一计费控制模块还设置为根据所述修改后的计费策略对从不同接入 网络接入的 UE进行计费控制。  The first charging control module is further configured to perform charging control on UEs accessed from different access networks according to the modified charging policy.
16. 根据权利要求 15所述的装置, 其中, 所述第一获取模块还包括: The device according to claim 15, wherein the first obtaining module further comprises:
第二获取单元, 设置为从 TWAN获取所述修改后的计费策略; 其中, 所述 修改后的计费策略为 AAA在接收到的来自所述归属用户服务器的签约信息更 新请求中获取, 并将所述计费策略发送给所述 TWAN。  a second obtaining unit, configured to acquire the modified charging policy from the TWAN, where the modified charging policy is obtained by the AAA in the received subscription information update request from the home subscriber server, and Sending the charging policy to the TWAN.
17. 根据权利要求 16所述的装置, 其中, 所述第二获取单元包括: The device according to claim 16, wherein the second obtaining unit comprises:
第二接收单元, 设置为接收来自所述 TWAN的修改承载命令, 其中, 所述 修改承载命令中携带有所述修改后的计费策略。  The second receiving unit is configured to receive the modified bearer command from the TWAN, where the modified bearer command carries the modified charging policy.
18. 一种计费控制装置, 位于分组数据网络网关中, 包括: 18. A charging control device, located in a packet data network gateway, comprising:
第二获取模块, 设置为获取来自策略和计费规则功能的基于接入网络类型 的计费策略;  a second obtaining module, configured to obtain an access network type-based charging policy from a policy and a charging rule function;
第二计费控制模块, 设置为根据所述计费策略对从不同接入网络接入的用 户设备 UE进行计费控制。  The second charging control module is configured to perform charging control on the user equipment UEs accessed from different access networks according to the charging policy.
PCT/CN2013/081293 2012-09-07 2013-08-12 Charging control method and device WO2014036878A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210330267.8A CN103686655B (en) 2012-09-07 2012-09-07 Billing control method and device
CN201210330267.8 2012-09-07

Publications (1)

Publication Number Publication Date
WO2014036878A1 true WO2014036878A1 (en) 2014-03-13

Family

ID=50236516

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/081293 WO2014036878A1 (en) 2012-09-07 2013-08-12 Charging control method and device

Country Status (2)

Country Link
CN (1) CN103686655B (en)
WO (1) WO2014036878A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9479443B2 (en) * 2014-05-16 2016-10-25 Cisco Technology, Inc. System and method for transporting information to services in a network environment
CN104270734B (en) * 2014-09-05 2018-05-29 华为技术有限公司 A kind of across PLMN roaming data traffic online charging method and equipment
CN104469727B (en) * 2014-09-10 2016-05-11 北京佰才邦技术有限公司 The processing method of communication service information and device
CN107911566A (en) * 2017-12-25 2018-04-13 中兴通讯股份有限公司 Charge on traffic control method, device and system, computer-readable recording medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798040A (en) * 2004-12-22 2006-07-05 华为技术有限公司 Charging method in communication system
CN102244580A (en) * 2010-05-11 2011-11-16 华为技术有限公司 Online charging method, communication device and communication system
US20120030143A1 (en) * 2010-07-27 2012-02-02 Cellco Partnership Charging for data offloading
CN102480772A (en) * 2010-11-24 2012-05-30 中兴通讯股份有限公司 Gateway selecting method and gateway selector

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325780B (en) * 2007-06-15 2010-07-07 华为技术有限公司 Method and system for implementing tactics control, entity for executing tactics and charging
CN101374260B (en) * 2007-08-22 2011-11-09 华为技术有限公司 Method, apparatus and system for implementing PCC rules and bearing association
CN101459524B (en) * 2008-03-18 2011-08-10 中兴通讯股份有限公司 Method for distributing policy charging control rule
CN101459952B (en) * 2008-03-27 2011-09-21 中兴通讯股份有限公司 Packet data system and method for obtaining wireless access technique type by P-GW
CN101730142B (en) * 2009-06-30 2012-09-05 中兴通讯股份有限公司 Establishment method of multi-packet data network connection and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798040A (en) * 2004-12-22 2006-07-05 华为技术有限公司 Charging method in communication system
CN102244580A (en) * 2010-05-11 2011-11-16 华为技术有限公司 Online charging method, communication device and communication system
US20120030143A1 (en) * 2010-07-27 2012-02-02 Cellco Partnership Charging for data offloading
CN102480772A (en) * 2010-11-24 2012-05-30 中兴通讯股份有限公司 Gateway selecting method and gateway selector

Also Published As

Publication number Publication date
CN103686655B (en) 2019-05-07
CN103686655A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
EP2466932B1 (en) Charging method, system and access network element in a local access ip architecture, lipa
US9351325B2 (en) Policy control method and system for converged network
US9113436B2 (en) Method and system for information transmission
WO2010081329A1 (en) Method and system for controlling network resources during service flow migrating procedure
WO2012006909A1 (en) Method and system for reporting fixed network access information
WO2013016968A1 (en) Access method,system and mobile intelligent access point
US9544832B2 (en) Method, apparatus and system for policy control
WO2013044730A1 (en) Quality of service updating method and system for policy and charging rules
WO2011029289A1 (en) Method and system for transmitting a bearer control mode in roaming scenarios
WO2014056374A1 (en) Method, device and system for establishing session
WO2014094488A1 (en) Charging policy method and device for roaming local service
WO2014040552A1 (en) Method and system for notifying access network position information
WO2013016967A1 (en) Access method, system and mobile intelligent access point
WO2014107985A1 (en) Local roaming service online charging method, h-ocs and v-ocs
WO2014036878A1 (en) Charging control method and device
WO2012171428A1 (en) Charging method and system for evolved packet core supporting non-3gpp accessing
WO2014071790A1 (en) Method, device and system for policy control of fixed-mobile convergence
WO2014048191A1 (en) Method and system for selecting vplmn and packet data network gateway
WO2012155774A1 (en) Method, system for establishing s9 sub-session, and policy and charging rules function
WO2013178178A2 (en) Resource release method and device
WO2011134321A1 (en) Policy sending method and system for machine type communication
WO2012146092A1 (en) Policy control method and system for ip flow mobility
WO2012019506A1 (en) Method and system for implementing resource control in a fixed network and mobile network integration scenario
WO2011134315A1 (en) Method, device and system for service authorization
WO2011029349A1 (en) Method and system for processing multiple bearer binding and event report functions

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

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

Country of ref document: EP

Kind code of ref document: A1