WO2018076974A1 - Policy control method, apparatus and system - Google Patents
Policy control method, apparatus and system Download PDFInfo
- Publication number
- WO2018076974A1 WO2018076974A1 PCT/CN2017/102806 CN2017102806W WO2018076974A1 WO 2018076974 A1 WO2018076974 A1 WO 2018076974A1 CN 2017102806 W CN2017102806 W CN 2017102806W WO 2018076974 A1 WO2018076974 A1 WO 2018076974A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- quota
- fragment
- quota fragment
- entity
- message
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1403—Architecture for metering, charging or billing
- H04L12/1407—Policy-and-charging control [PCC] architecture
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/66—Policy and charging system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a policy control method, apparatus, and system.
- the Policy and Charging Control (PCC) architecture can be adapted to various Internet Protocol (IP) connection access.
- IP Internet Protocol
- the PCC architecture can perform policy control and charging control based on user usage.
- the Policy and Charging Rule Function (PCRF) entity may The subscription information of the user equipment (User Equipment, UE) is sent to the PCEF entity to issue the quota fragmentation and the PCC rule.
- the PCEF entity reports the result to the PCRF entity, and the PCRF entity performs the quota deduction.
- the quota fragmentation and PCC rules will be reissued.
- the UE may continue to use the network before the PCEF entity receives the new rule and the quota fragment. In practice, it has been found that this type of policy control may cause billing bias in the event that the last quota is exhausted.
- the embodiment of the invention discloses a policy control method, device and system, which can improve the charging accuracy of the PCC architecture.
- a first aspect of the embodiments of the present invention discloses a policy control method, where the method may include:
- the PCEF entity After establishing an IP-Connected Access Network (CAN) session for the UE, the PCEF entity performs quota monitoring on the UE access network based on the received first PCC rule and the first quota fragment, in the first quota fragmentation. If the remaining quota is less than or equal to the preset quota threshold, the update message is sent to the PCRF entity, and the first quota fragment is determined to be a preset type of quota fragment. In the case of a slice and no response message to the update message, the PCEF entity may deny the UE access to the network.
- CAN IP-Connected Access Network
- the update message is used to indicate that the remaining quota of the first quota fragment is less than or equal to a preset quota threshold.
- the preset type of quota fragmentation may be the last quota fragment of the UE, but if the network currently accessed by the UE can provide a faster download speed, such as a high-speed network such as Long Term Evolution (LTE), and each quota The size of the fragment is relatively small.
- LTE Long Term Evolution
- the preset type of quota fragment can also be the second last or the third last quota fragment, so that the update message sent by the PCEF has sufficient response time.
- the UE when the UE starts the data traffic function, the UE sends an IP-CAN session establishment request message to the PCEF entity, and the PCEF entity sends a credit control request to the PCRF entity based on the session establishment request message (Credit).
- Control Request, CCR) Initial message The PCRF searches for the subscription information of the UE based on the user identifier of the UE included in the CCR initial message, and generates a QoS rule according to the subscription information, and allocates the first quota fragment, the first PCC rule (including the QoS rule), and the trigger.
- the initial message is returned to the PCEF entity through a Credit Control Answer (CCA).
- CCA Credit Control Answer
- the PCEF entity After receiving the information returned by the PCRF entity, the PCEF entity installs the first PCC rule according to the information, and returns an IP-CAN session establishment response message to the UE, thereby completing the establishment of the IP-CAN session.
- the first PCC rule and the first quota fragment are generated by the PCRF entity based on the UE subscription information and sent to the PCEF entity through the usage monitoring information of the Gx interface; wherein the PCEF entity determines the first quota fragment Whether the default type of quota fragmentation is specific can be:
- the indication information is used to indicate that the first quota fragment is the last quota fragment of the UE.
- the method may further include:
- the PCEF entity allows the UE to access the network if the first quota fragment is not a preset type of quota fragment and the response message of the update message is not received.
- the method may further include:
- the PCEF entity may perform quota monitoring on the UE access network according to the second PCC rule and the second quota fragment.
- the response message of the update message includes the second PCC rule and the second quota fragment generated by the PCRF entity based on the UE subscription information and the first quota fragment.
- the second aspect of the embodiment of the present invention discloses a PCEF entity, which may include a monitoring module, a transceiver module, a judging module, and a control module.
- the module may be used to execute the policy control method disclosed in the first aspect.
- a third aspect of the embodiments of the present invention discloses another PCEF entity, which may include a memory, a transceiver, and a processor, where the memory is used to store a set of program codes, and the transceiver and the processor are used to call a program stored in the memory.
- the code performs the policy control method disclosed in the first aspect.
- the fourth aspect of the embodiments of the present invention discloses another policy control method, where the method may include:
- the PCRF may generate a first PCC rule and a first quota fragment based on the subscription information of the UE, and determine whether the first quota fragment is a preset type of quota. Fragmentation, if yes, generating indication information indicating that the first quota fragment is a preset type of quota fragment, and then returning a CCA initial message to the PCEF entity.
- the CCR initial message is used to request to establish an IP-CAN session for the UE.
- the CCA initial message includes a first PCC rule, a first quota fragment, and indication information.
- the preset type of the quota fragment may be the last quota fragment of the UE, or may be the second last or the third last quota fragment, which is not limited by the present invention.
- the specific manner in which the PCRF entity returns the CCA initial message to the PCEF entity may be:
- the CCA initial message is returned to the PCEF entity by using the monitoring information in the Gx interface, so that the PCEF entity performs quota monitoring on the UE access network based on the first PCC rule and the first quota fragment. If the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, the PCEF entity sends an update message to the PCRF entity to indicate that the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, and has not received yet In the case of the response message of the update message, the PCEF entity denies the UE access to the network.
- a fifth aspect of the embodiments of the present invention discloses a PCRF entity, which may include a transceiver module, a generation module, and The judging module, the above module may be used to execute the policy control method disclosed in the fourth aspect.
- a sixth aspect of the embodiments of the present invention discloses another PCRF entity, which may include a memory, a transceiver, and a processor, where the memory is used to store a set of program codes, and the transceiver and the processor are used to call a program stored in the memory.
- the code performs the policy control method disclosed in the fourth aspect.
- a seventh aspect of the embodiments of the present invention discloses a policy control system, which may include the PCEF entity disclosed in the second aspect and the PCRF entity disclosed in the fourth aspect, for performing the disclosed policy control method.
- the PCRF entity allocates the quota fragment, and if the quota fragment is a preset type of quota fragment, the PCRF entity will indicate that the quota fragment is pre- The indication information of the type quota fragment is returned to the PCEF entity. If the quota fragment is exhausted, the PCEF entity will refuse the UE to continue to access the network after the update message of the quota is reported and the response message of the update message has not been received. In this way, in the case that the last quota fragment is exhausted and the charging rule needs to be switched, the PCC architecture is prevented from performing charging according to the original rule during the period when the new rule is not received, thereby improving the accuracy of the charging.
- FIG. 1 is a schematic diagram of a PCC architecture applied to an embodiment of the present invention
- FIG. 2 is a schematic structural diagram of a PCEF entity according to an embodiment of the present invention.
- FIG. 3 is a schematic structural diagram of a PCRF entity according to an embodiment of the present invention.
- FIG. 4 is a schematic flowchart of a policy control method according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of another PCEF entity according to an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of another PCRF entity disclosed in an embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of a policy control system according to an embodiment of the present invention.
- the embodiment of the invention discloses a policy control method, device and system, which can refuse the UE to access the network if the preset type of quota fragment is exhausted and does not receive the new rule, thereby improving the charging precision of the PCC architecture. degree. The details are described below.
- FIG. 1 is a schematic diagram of a PCC architecture applied according to an embodiment of the present invention.
- the PCC architecture shown in Figure 1 is a standard PCC charging and Quality of Service (QoS) control architecture defined by the 3GPP standards organization, including PCRF entity, PCEF entity, Application Function (AF) entity, Traffic Detection Function (TDF) entity, Online Charging System (OCS), Offline Charging System (OFCS) ), Bearing Binding and Event Report Function (BBERF) entity and User Profile Repository (SPR).
- QoS Quality of Service
- the PCRF entity includes policy control decisions and flow-based charging control functions.
- the PCRF entity accepts input from PCEF entities, SPRs, and AF entities, and provides PCEF entities with service data flow detection, gating, QoS-based, and flow-based accounting.
- the network control function (in addition to credit control) can also make PCC decisions based on the custom information of the PCRF entity.
- the PCEF entity is located at the gateway, such as the General Packet Radio Service (GPRS) Gateway GPRS Support Node (GGSN) gateway, and the Evolved Packet Core (EPC) public data network ( Public Data Network, PDN) PDN Gateway (PGW), etc.
- the PCEF entity provides service data flow detection, user plane service processing, trigger control plane session management (requires IP-(Connectivity Access Network (CAN) permission), QoS processing and service data flow measurement, as well as online charging and offline Billing interaction.
- the PCEF entity interacts with the PCRF entity through the Gx interface.
- the AF entity is an application service unit that provides dynamic policy/billing control for IP-CAN user plane behavior. These services require dynamic policy and charging control.
- the AF entity transmits the dynamic session information required by the PCRF entity through the Rx interface, and receives the specific information of the IP-CAN and the acknowledgement of the IP-CAN bearer layer event.
- the TDF entity is used to perform application detection, report detection of the application and its service data traffic description to the PCRF entity. If the TDF entity does not detect this information, the TDF entity performs gating, redirection, and bandwidth throttling. If the application information can be detected, the PCRF entity generation decision is submitted through the Sd interface to the PCEF entity for execution control.
- OCS provides credit control functions based on user and service data flow. It is mainly composed of online collection, billing control, rating, balance management and other modules. It implements online charging function and cooperates with other charging network element devices (trigger based session). The online charging event request device of the event performs real-time traffic control.
- the OCS interacts with the PCRF entity through the Sy interface and interacts with the PCEF entity through the Gy interface.
- OFCS is a post-paid processing system for bills and accounts. It provides billing functions based on user and service data streams, including customer service, service management, billing, settlement, accounting processing, and system management.
- the OFCS interacts with the PCEF entity through the Gz interface.
- the BBERF entity is a bearer binding, an uplink bearer binding check, and a policy enforcement point for event reporting to the PCRF entity when the Gxx interface exists. It is located in the gateway, such as a Serving Gateway (SGW) that implements 3GPP access using Proxy Mobile IP (PMIP) based on the S5/S8 interface, and High Rate Packet Data (HRPD). Service Gateway (HSPD Gateway, HSGW), Access Gateway (AGW) in non-3G access occasions.
- SGW Serving Gateway
- PMIP Proxy Mobile IP
- HRPD High Rate Packet Data
- the SPR contains information related to all contracted users or subscriptions.
- the subscription information provided by the SPR includes (for each PDN): the services allowed by the contracted users; the priority of each allowed service (optional); the QoS information allowed by the subscribed users.
- the billing related information of the subscriber service such as the access type, location information, and number of uses; the type of the subscriber.
- SPR may be associated with multiple databases distributed across the carrier's network.
- the SPR and PCRF entities interact through the Sp interface.
- policy control and charging control based on user usage can be implemented.
- FIG. 2 is a schematic structural diagram of a PCEF entity disclosed in an embodiment of the present invention.
- the PCEF entity may include at least one processor 201, such as a CPU, a transceiver 202, a memory 203, and at least one communication bus 204.
- the processor 201, the transceiver 202, and the memory 203 are connected by a bus 204.
- the memory 203 may be a high speed RAM memory or a non-volatile memory such as a disk memory. Optionally, it may also be at least one storage device located in the processor.
- the above-mentioned memory 203 is used for storing a set of program codes, and the processor 201 and the transceiver 202 are used to call the program code stored in the memory 203, and perform the following operations:
- the processor 201 is configured to perform quota monitoring on the UE access network based on the received first PCC rule and the first quota fragment after establishing an IP-CAN session for the UE.
- the transceiver 202 is configured to send, to the PCRF entity, an update message, where the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, where the update message is used to indicate that the remaining quota of the first quota fragment is less than or equal to the pre- Set the quota threshold.
- the processor 201 is further configured to determine whether the first quota fragment is a preset type of quota fragment.
- the transceiver 202 is further configured to receive a response message of the update message.
- the processor 201 is further configured to: when the first quota fragment is a preset type of quota fragment, and the transceiver does not receive the response message of the update message, reject the UE from accessing the network.
- the UE when the UE starts the data traffic function, the UE sends an IP-CAN session establishment request message to the PCEF entity, and the transceiver 202 sends a credit control request to the PCRF entity based on the session establishment request message (Credit Control Request). , CCR) initial message.
- the PCRF searches for the subscription information of the UE based on the user identifier of the UE included in the CCR initial message, and generates a QoS rule according to the subscription information, and allocates the first quota fragment, the first PCC rule (including the QoS rule), and the trigger.
- the initial message is returned to the PCEF entity through a Credit Control Answer (CCA).
- CCA Credit Control Answer
- the processor 202 After the transceiver 202 receives the information returned by the PCRF entity, the processor 202 installs the first PCC rule according to the information, and the transceiver 202 returns an IP-CAN session establishment response message to the UE, thereby completing the establishment of the IP-CAN session. .
- the preset type of the quota fragment may be the last quota fragment of the UE, but if the network currently accessed by the UE can provide a faster download speed, such as a high-speed network such as LTE, and the capacity of each quota fragment is relatively small. Then, the preset type of quota fragmentation can also be the second last or the third last quota fragment, so that the update message sent by the PCEF has sufficient response time.
- the remaining quota of the first quota fragment refers to the remaining quota in the first quota fragment except for the quota consumed by the UE to access the network.
- the first PCC rule and the first quota fragment are generated by the PCRF entity based on the UE subscription information and sent to the PCEF entity by using the usage monitoring information of the Gx interface.
- the processor 201 determines whether the first quota fragment is a pre-
- the specific way to set the type of quota fragmentation can be:
- the indication information is used to indicate that the first quota fragment is the last quota fragment of the UE.
- the PCRF entity if the first quota fragment allocated by the PCRF entity is the last quota fragment of the UE, the PCRF entity returns the first PCC rule and the first quota fragment, and is used to indicate the first quota.
- the fragmentation is sent to the PCEF entity for the indication of the last quota fragment.
- the information may be sent by the PCRF entity to the PCEF entity through the usage monitoring information of the Gx interface.
- the processor 201 determines whether there is such indication information in the usage monitoring information, and if yes, the first quota fragment is a preset type of quota fragment, thereby The UE is prohibited from accessing the network while the transceiver 202 has not received the response message of the update message.
- the processor 201 is further configured to allow the UE to access the network if the first quota fragment is not a preset type of quota fragment, and the transceiver 202 does not receive the response message of the update message.
- the response message of the update message includes a second PCC rule and a second quota fragment generated by the PCRF entity based on the subscription information and the first quota fragment.
- the processor 201 is further configured to perform quota monitoring on the UE access network according to the second PCC rule and the second quota fragment if the transceiver 202 receives the response message of the update message.
- the PCEF entity after establishing an IP-CAN session for the UE, the PCEF entity performs quota monitoring on the UE access network based on the quota fragment and the PCC rule allocated by the PCRF entity, if the quota fragmentation consumes After the update message of the quota is reported, and the response message of the update message has not been received, the PCEF entity will refuse the UE to continue to access the network. In this way, in the case that the last quota fragment is exhausted and the charging rule needs to be switched, the PCC architecture is prevented from performing charging according to the original rule during the period when the new rule is not received, thereby improving the accuracy of the charging.
- FIG. 3 is a schematic structural diagram of a PCRF entity according to an embodiment of the present invention.
- the PCRF entity may include at least one processor 301, such as a CPU, a transceiver 302, a memory 303, and at least one communication bus 304.
- the processor 301, the transceiver 302, and the memory 303 are connected by a bus 304.
- the memory 303 may be a high speed RAM memory or a non-volatile memory such as a disk memory. Optionally, it may also be at least one storage device located in the processor.
- the above-mentioned memory 203 is used for storing a set of program codes, and the processor 301 and the transceiver 302 are used to call the program code stored in the memory 303, and perform the following operations:
- the transceiver 302 is configured to receive a CCR initial message sent by the PCEF entity, where the CCR initial message is used to request to establish an IP-CAN session for the UE.
- the processor 301 is configured to generate, according to the CCR initial message, the first PCC rule and the first quota fragment according to the subscription information of the UE, and determine whether the first quota fragment is a preset type of quota fragment, and if yes, generate The indication information used to indicate that the first quota fragment is a preset type of quota fragment.
- the transceiver 302 is further configured to return a CCA initial message to the PCEF entity, where the CCA initial message includes a first PCC rule, a first quota fragment, and indication information.
- the UE when the UE starts the data traffic function, the UE sends an IP-CAN session establishment request message to the PCEF entity, and the PCEF entity sends a CCR initial message to the PCRF entity based on the session establishment request message, requesting to establish an IP address. -CAN session.
- the preset type of quota fragment may be the last quota fragment of the UE, but if the network currently accessed by the UE can provide a faster download speed, such as a high-speed network such as LTE, and the capacity of each quota fragment. If the size is smaller, the preset type of quota fragmentation can also be the second-to-last or third-order quota fragment, so that the update message sent by the PCEF has sufficient response time.
- the remaining quota of the first quota fragment refers to the remaining quota in the first quota fragment except for the quota consumed by the UE to access the network.
- the specific manner in which the transceiver 302 returns the CCA initial message to the PCEF entity may be:
- the CCA initial message is returned to the PCEF entity by using the monitoring information in the Gx interface, so that the PCEF entity performs quota monitoring on the UE access network based on the first PCC rule and the first quota fragment. If the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, the PCEF entity sends a remaining quota indicating that the first quota fragment is less than or equal to the PCRF entity.
- the update message of the preset quota threshold in the case that the response message of the update message has not been received, the PCEF entity denies the UE access to the network.
- the PCEF entity sends the PCRF entity to indicate the first quota fragmentation.
- the update quota of the remaining quota is less than or equal to the preset quota threshold.
- the PCEF entity allows the UE to access the network.
- the PCRF entity allocates the quota fragment, and if the quota fragment is a preset type of quota fragment, the PCRF entity will indicate The quota fragment is returned to the PCEF entity for the indication information of the preset type of quota fragment. If the quota fragment is exhausted, the PCEF entity will refuse the UE to continue to access the network after the update message of the quota is reported and the response message of the update message has not been received. In this way, in the case that the last quota fragment is exhausted and the charging rule needs to be switched, the PCC architecture is prevented from performing charging according to the original rule during the period when the new rule is not received, thereby improving the accuracy of the charging.
- FIG. 4 is a schematic flowchart diagram of a policy control method according to an embodiment of the present invention. As shown in FIG. 4, the method may include the following steps:
- the UE sends an IP-CAN session establishment request message to the PCEF entity.
- the UE when the UE starts the data traffic function, the UE sends an IP-CAN session establishment request message to the PCEF entity, where the IP-CAN session establishment request message carries an Access Point Name (APN).
- APN Access Point Name
- PLMN Public Land Mobile Network
- the user identifier may include a Mobile Station International Integrated Services Digital Network Number (MSISDN), an International Mobile Subscriber Identification Number (IMSI), and an International Mobile Equipment Identity (International Mobile Equipment Identity). , IMEI) and so on.
- MSISDN Mobile Station International Integrated Services Digital Network Number
- IMSI International Mobile Subscriber Identification Number
- IMEI International Mobile Equipment Identity
- the IP-CAN session establishment request message may be a general data transfer platform (GTP) message, or may be a non-3G network-related trigger message, which is not limited in the embodiment of the present invention.
- GTP general data transfer platform
- the PCEF entity receives the IP-CAN session establishment request message, and sends a CCR initial message to the PCRF entity.
- the PCEF entity after receiving the IP-CAN session establishment request message of the UE, the PCEF entity allocates an IP address to the UE based on the user identifier and the APN of the UE, and sends a CCR-Init ial message to the PCRF entity through the Gx interface. Specifically, the PCEF entity requests to establish an IP-CAN session through a CCR type Attribute Value Pairs (AVP).
- AVP Attribute Value Pairs
- the CCR-Initial message carries the user identifier, IP address, Access Point Name (APN), and identifier of the PLMN of the UE.
- API Access Point Name
- the PCRF entity receives the CCR initial message, and searches for the subscription information of the UE based on the user identifier in the CCR initial message.
- the PCRF entity after receiving the CCR-Initial message, the PCRF entity first searches for the subscription information of the UE based on the user identifier of the UE, and the subscription information of the UE may be stored in the PCRF entity, or may be stored in the SPR.
- the embodiments of the invention are not limited.
- the subscription information includes the subscription service data of the UE, such as the online package information purchased by the user, such as the total traffic or the total duration of the Internet access, and the types of services that can be used.
- the flow rate or duration may be Collectively referred to as quotas.
- the PCRF entity generates a first PCC rule and a first quota fragment based on the subscription information.
- the PCRF entity in the process of accessing the network, obtains the corresponding quota allocation policy according to the total quota of the UE subscription, that is, allocates the total quota to the PCEF entity according to one quota segment, and each After the quota fragment is exhausted, another quota fragment is divided, that is, the control of the UE accessing the network is implemented according to this manner.
- the PCRF entity may generate a service rule list according to the service data in the subscription information, such as the first PCC rule, and search for the quota allocation policy corresponding to the total quota, and configure the first quota based on the quota allocation policy. Fragmentation.
- the PCC rule is used to indicate which operations of the UE access the network are allowed and which are not.
- the PCC rule also includes a QoS rule, which is used to indicate the bandwidth of the UE accessing the network, and provides bandwidth guarantee for the UE to access the network.
- the PCRF entity also determines information about the trigger.
- the PCRF entity determines whether the first quota fragment is a preset type of quota fragment, and if yes, generates indication information.
- the PCRF entity determines whether the first quota fragment is a preset type of quota fragment.
- the preset type of the quota fragment may be the last quota fragment specified by the PCRF entity, or may be the second last or the third last quota fragment, which is not limited in the embodiment of the present invention.
- the quota consumed by the UE is faster, such as 3M per second, if the quota fragment allocated to the UE is a reciprocal.
- the second quota is fragmented, and the capacity of each quota fragment is relatively small, such as 1M.
- the PCEF reports the update message, and the response message of the update message has not been received, it is assumed that The response time required during the period is 1 second, and during this period, the UE is allowed to continue to access the network, which may result in the quota consumed in the 1 second period exceeding the capacity of the last quota fragment, which may also result in billing. deviation. Therefore, in order to avoid the occurrence of such a situation, the accuracy of the charging is further improved.
- the preset type of quota is used.
- the fragmentation can also be the second-to-last or third-order quota fragment, or even the fourth-order quota fragment, so that the update message sent by the PCEF has sufficient response time.
- the specific manner in which the PCRF entity determines whether the first quota fragment is the last quota fragment may be: after the PCRF entity determines to subtract the quota of the first quota fragment from the remaining quota of the UE, The remaining quota, if any, indicates that the first quota fragment is not the last quota fragment. If not, the first quota fragment is the last quota fragment of the UE.
- the indication information is further generated, where the indication information is used to indicate that the first quota fragment is the last quota fragment of the UE.
- the indication information may be a special identifier of the first quota fragment.
- steps 404 and 405 can be performed simultaneously without prioritization.
- the PCRF entity returns a CCA initial message to the PCEF entity.
- the PCRF entity after generating the first PCC rule and the first quota fragment, the PCRF entity returns a CCA-Initial message to the PCEF entity.
- the CCA-Initial message includes a first quota fragment, a first PCC rule, a trigger, and the like. If the PCRF entity determines that the first quota fragment is a preset type of quota fragment, the CCA-Initial message further includes indication information indicating that the first quota fragment is a preset type of quota fragment. If the first quota fragment is not a preset type of quota fragment, the indication information is not included in the CCA-Initial message.
- the PCRF entity returns a CCA-Initial message through the Usage Monitoring Information (AVP) of the Gx interface.
- AVP Usage Monitoring Information
- the quota fragment when the quota fragment is configured, the quota fragment is a preset type of quota fragment (for example, the last quota fragment is used as an example), and the AVP description is added.
- the quota fragment is a preset type of quota fragment (for example, the last quota fragment is used as an example), and the AVP description is added.
- the following is a description of adding an AVP to the Gx interface:
- Final-Unit-Indication AVP indicates the Granted-Service-Unit is the last quota slice,indicate PCEF after the Granted-Service-Unit is finished should block traffic until receive CCA-U message.
- the Usage Monitoring Information AVP of the Gx interface does not include the indication of [Final-Unit-Indication].
- the PCEF entity receives the CCA initial message and returns an IP-CAN setup response message to the UE.
- the PCEF entity may indicate that the UE has established an IP-CAN session. Then, after receiving the CCA-Initial message, the PCEF entity installs the first PCC rule and returns an IP-CAN Establish Response message to the UE to notify the UE that the UE can perform the network access operation.
- the PCEF entity performs quota monitoring on the UE accessing the network based on the first PCC rule and the first quota fragment in the CCA initial message.
- the PCEF entity may control the UE accessing the network according to the first PCC rule, and perform quota monitoring on the UE access network based on the first quota fragment, that is, monitor the UE to access the network. Whether the quota consumed exceeds the quota of the first quota fragment.
- the PCEF entity sends an update message to the PCRF entity if the remaining quota of the first quota fragment is less than or equal to the preset quota threshold.
- the preset quota threshold may be set to 0, or may be set to a smaller value greater than 0, such as 10 kb. In the embodiment of the present invention, the preset quota threshold generally takes 0.
- the PCEF entity detects that the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, if the first quota fragment is exhausted, the PCEF entity sends an update message to the PCRF entity.
- the remaining quota of the first quota fragment refers to the remaining quota in the first quota fragment except for the quota consumed by the UE to access the network.
- the update message is specifically a CCR-Update message, and is specifically sent by using a CCR-Type AVP.
- the update message is used to report the quota, that is, the remaining quota of the first quota fragment is less than or equal to the preset quota threshold.
- the PCEF entity determines, according to the indication information in the CCA initial message, whether the first quota fragment is a preset type of quota fragment. If yes, and does not receive the response message of the update message, the PCEF entity denies the UE from accessing the network.
- the Usage Monitoring Information AVP of the Gx interface may also include the CCA-Initial message indicating that the first quota fragment is a preset type. The indication of the quota fragmentation; if not, the indication information will not be included.
- the specific manner of determining, by the PCEF entity, whether the first quota fragment is a preset type of quota fragment based on the indication information in the CCA initial message may be: determining whether the indication exists in the Usage Monitoring Information AVP (or CCA-Initial message) The information, if yes, determines that the first quota fragment is a preset type of quota fragment, and if not, determines that the quota fragment is not a preset type.
- the PCEF entity After the PCEF entity reports the update message and determines that the first quota fragment is a preset type of quota fragment, the PCEF entity configures that the UE cannot continue to access the network, that is, denies the UE from accessing the network.
- the PCEF entity may allow the UE to continue to access the network.
- steps 409 and 410 can be performed simultaneously without prioritization.
- the PCRF entity receives the update message, performs quota deduction according to the first quota fragment, and updates the PCC rule based on the subscription information of the UE.
- the UE if the first quota fragment delivered by the PCRF entity is the last quota fragment of the UE, after the quota deduction is performed, the UE does not have a subscription quota, and if the UE continues to access the network, the UE needs to use the UE. Quotas are billed according to new rules and update control policies. Therefore, when the first quota fragment is the last quota, the PCRF entity updates the PCC rule based on the subscription information of the UE.
- the PCRF entity returns a response message of the update message to the PCEF entity.
- the PCRF entity after updating the PCC rule, the PCRF entity returns a response message of the update message to the PCEF entity, where the response message carries the updated PCC rule.
- the PCEF entity receives the response message of the update message, deletes the first PCC rule, and installs the updated PCC rule.
- the PCEF entity after receiving the response message of the update message, deletes the original first PCC rule and installs the updated PCC rule, so as to control the UE access network according to the updated PCC rule.
- the PCRF entity performs the quota deduction according to the first quota fragment, and the UE is contracted according to the UE.
- the information generates a second PCC rule and a second quota fragment, and carries the second PCC rule and the second quota fragment in the response message that returns the update message.
- the PCEF entity deletes the first PCC rule, installs the second PCC rule, and performs quota monitoring on the UE access network based on the second PCC rule and the second quota fragment.
- the PCRF entity when generating the second quota fragment, the PCRF entity still determines whether the second quota fragment is a quota fragment of the preset quota (such as the last quota fragment), and if so, the response of the returned update message.
- the message will carry the indication message, if not, it will not be carried. That is, the PCRF entity determines whether the quota fragment is a preset type of quota fragment when the quota fragment is allocated, and if yes, carries the indication information in the return response message.
- the PCEF entity also determines whether the fragment is a preset type of quota fragment when the quota fragment is exhausted. If yes, the UE is not allowed to continue to access the network during the period of reporting the update message but not receiving the response message.
- the specific implementation is the same as the steps 405 and 406, and details are not described herein again.
- the PCRF entity allocates quota fragments. If the quota fragment is a preset type of quota fragment, the PCRF entity returns the indication information indicating the quota fragment to the preset type of quota fragment to the PCEF entity. If the quota fragment is exhausted, the PCEF entity will refuse the UE to continue to access the network after the update message of the quota is reported and the response message of the update message has not been received. In this way, in the case that the last quota fragment is exhausted and the charging rule needs to be switched, the PCC architecture is prevented from performing charging according to the original rule during the period when the new rule is not received, thereby improving the accuracy of the charging.
- FIG. 5 is a schematic structural diagram of another PCEF entity according to an embodiment of the present invention.
- the PCEF entity may include:
- the monitoring module 501 is configured to perform quota monitoring on the UE access network based on the received first PCC rule and the first quota fragment after establishing an IP-CAN session for the UE.
- the transceiver module 502 is configured to send, to the PCRF entity, an update message, where the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, where the update message is used to indicate that the remaining quota of the first quota fragment is less than or equal to the pre- Set the quota threshold.
- the determining module 503 is configured to determine whether the first quota fragment is a preset type of quota fragment.
- the transceiver module 502 is further configured to receive a response message of the update message.
- the control module 504 is configured to: when the determining module 503 determines that the first quota fragment is a preset type of quota fragment, and the transceiver module 502 does not receive the response message of the update message, the UE is denied access to the network.
- the UE when the UE starts the data traffic function, the UE sends an IP-CAN session establishment request message to the PCEF entity, and the transceiver module 502 sends a CCR initial message to the PCRF entity based on the session establishment request message.
- the PCRF searches for the subscription information of the UE based on the user identifier of the UE included in the CCR initial message, and generates a QoS rule according to the subscription information, and allocates the first quota fragment, the first PCC rule (including the QoS rule), and the trigger. Return to the PCEF entity via the CCA initial message.
- the PCEF entity After receiving the information returned by the PCRF entity, the PCEF entity installs the PCC rule according to the information, and the transceiver module 502 returns an IP-CAN session establishment response message to the UE, thereby completing the establishment of the IP-CAN session.
- the preset type of the quota fragment may be the last quota fragment of the UE, but if the network currently accessed by the UE can provide a faster download speed, such as a high-speed network such as LTE, and the capacity of each quota fragment is relatively small. Then, the preset type of quota fragmentation can also be the second last or the third last quota fragment, so that the update message sent by the PCEF has sufficient response time.
- the remaining quota of the first quota fragment refers to the remaining quota in the first quota fragment except for the quota consumed by the UE to access the network.
- the first PCC rule and the first quota fragment are generated by the PCRF entity based on the subscription information of the UE, and are sent to the PCEF entity by using the monitoring information of the Gx interface.
- the determining module 503 determines whether the first quota fragment is pre-
- the specific way to set the type of quota fragmentation can be:
- the indication information is used to indicate that the first quota fragment is the last quota fragment of the UE.
- the PCRF entity if the first quota fragment allocated by the PCRF entity is the last quota fragment of the UE, the PCRF entity returns the first PCC rule and the first quota fragment, and is used to indicate the first quota.
- the fragmentation is sent to the PCEF entity for the indication of the last quota fragment.
- the information may be sent by the PCRF entity to the PCEF entity through the usage monitoring information of the Gx interface. Therefore, after the first quota fragment is exhausted, the determining module 503 determines whether there is such indication information in the usage monitoring information, and if yes, the first quota fragment is a preset type of quota fragment, and the control is performed.
- the module 504 thus prohibits the UE from accessing the network while the transceiver module 502 has not received the response message for the update message.
- control module 504 is further configured to allow the UE to access the network if the first quota fragment is not a preset type of quota fragment, and the transceiver module 502 does not receive the response message of the update message.
- the response message of the update message includes a second PCC rule and a second quota fragment generated by the PCRF entity based on the subscription information and the first quota fragment.
- the monitoring module 501 is further configured to perform quota monitoring on the UE access network according to the second PCC rule and the second quota fragment if the transceiver module 502 receives the response message of the update message.
- the PCEF entity after establishing an IP-CAN session for the UE, the PCEF entity performs quota monitoring on the UE access network based on the quota fragment and the PCC rule allocated by the PCRF entity, if the quota fragmentation consumes After the update message of the quota is reported, and the response message of the update message has not been received, the PCEF entity will refuse the UE to continue to access the network. In this way, in the case that the last quota fragment is exhausted and the charging rule needs to be switched, the PCC architecture is prevented from performing charging according to the original rule during the period when the new rule is not received, thereby improving the accuracy of the charging.
- FIG. 6 is a schematic structural diagram of another PCRF entity according to an embodiment of the present invention.
- the PCRF entity may include:
- the transceiver module 601 is configured to receive a CCR initial message sent by the PCEF entity, where the CCR initial message is used to request to establish an IP-CAN session for the UE.
- the generating module 602 is configured to generate a first PCC rule and a first quota fragment based on the UE subscription information in response to the CCR initial message.
- the determining module 603 is configured to determine whether the first quota fragment is a preset type of quota fragment.
- the generating module 602 is further configured to: when the determining module 603 determines that the first quota fragment is a preset type of quota fragment, generate indication information for indicating that the first quota fragment is a preset type quota fragment.
- the transceiver module 601 is further configured to return a CCA initial message to the PCEF entity, where the CCA initial message includes a first PCC rule, a first quota fragment, and indication information.
- the UE when the UE starts the data traffic function, the UE sends an IP-CAN session establishment request message to the PCEF entity, and the PCEF entity sends a CCR initial message to the PCRF entity based on the session establishment request message, requesting to establish an IP address. -CAN session.
- the preset type of quota fragment may be the last quota fragment of the UE, but if the network currently accessed by the UE can provide a faster download speed, such as a high-speed network such as LTE, and the capacity of each quota fragment. If the size is smaller, the preset type of quota fragmentation can also be the second last or the third last quota fragment, so that the update message sent by the PCEF has sufficient response time.
- the specific manner in which the transceiver module 601 returns the CCA initial message to the PCEF entity may be:
- the CCA initial message is returned to the PCEF entity by using the monitoring information in the Gx interface, so that the PCEF entity performs quota monitoring on the UE access network based on the first PCC rule and the first quota fragment. If the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, the PCEF entity sends an update message to the PCRF entity to indicate that the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, and has not received yet In the case of the response message of the update message, the PCEF entity denies the UE access to the network.
- the PCEF entity sends the PCRF entity to indicate the first quota fragmentation.
- the PCRF entity allocates the quota fragment, and if the quota fragment is a preset type of quota fragment, the PCRF entity will indicate The quota fragment is returned to the PCEF entity for the indication information of the preset type of quota fragment. If the quota fragment is exhausted, the PCEF entity will refuse the UE to continue to access the network after the update message of the quota is reported and the response message of the update message has not been received. In this way, in the case that the last quota fragment is exhausted and the charging rule needs to be switched, the PCC architecture is prevented from performing charging according to the original rule during the period when the new rule is not received, thereby improving the accuracy of the charging.
- FIG. 7 is a schematic structural diagram of a policy control system according to an embodiment of the present invention.
- the system can include a UE 701, a PCEF entity 702, and a PCRF entity 703, where:
- the UE 701 When the UE 701 starts the data traffic function, the UE 701 sends an IP-CAN session establishment request message to the PCEF entity 702 requesting to establish an IP-CAN session, and the PCEF entity 702 sends the IP-CAN session establishment request message to the PCRF entity 703 based on the received IP-CAN session establishment request message.
- CCR initial message When the UE 701 starts the data traffic function, the UE 701 sends an IP-CAN session establishment request message to the PCEF entity 702 requesting to establish an IP-CAN session, and the PCEF entity 702 sends the IP-CAN session establishment request message to the PCRF entity 703 based on the received IP-CAN session establishment request message.
- CCR initial message CCR initial message.
- the PCRF entity 703 searches for the subscription information of the UE 701 by using the user identifier included in the CCR initial message, and generates a first PCC rule and a first quota fragment based on the subscription information, where the first quota fragment is pre-
- the type of the quota fragment (the last one, the second last or the third last quota fragment)
- the PCRF entity 703 generates the indication information indicating that the first quota fragment is a preset type of quota fragment (if not , no indication information will be generated). Therefore, the CCA initial message returned by the PCRF entity 703 to the PCEF entity 702 may include a first quota fragment, a first PCC rule, and indication information.
- the PCEF entity 702 After receiving the CCA initial message, the PCEF entity 702 returns an IP-CAN setup response message to the UE 701, and performs quota monitoring on the UE 701 access network based on the first PCC rule and the first quota fragment. If the remaining quota of the first quota fragment is less than or equal to the preset quota threshold (the first quota fragment is exhausted), the PCEF entity 702 sends an update message to the PCRF entity 703, and determines whether the indication information exists. If yes, it indicates that the first quota fragment is a preset type of quota fragment, and the PCEF entity 702 may not allow the UE 701 to access the network during the period when the response message of the update message returned by the PCRF entity 703 is not received.
- the PCEF entity 702 may allow the UE 701 to access the network during the period of not receiving the response message of the update message returned by the PCRF entity 703.
- the PCRF entity allocates the quota fragment, and if the quota fragment is a preset type of quota fragment, the PCRF entity will The indication information indicating that the quota fragment is a preset type of quota fragment is returned to the PCEF entity. If the quota fragment is exhausted, the PCEF entity will refuse the UE to continue to access the network after the update message of the quota is reported and the response message of the update message has not been received. In this way, in the case that the last quota fragment is exhausted and the charging rule needs to be switched, the PCC architecture is prevented from performing charging according to the original rule during the period when the new rule is not received, thereby improving the accuracy of the charging.
- the PCEF entity and the modules in the PCRF entity may be merged, divided, and deleted according to actual needs. Less.
- the PCEF entity and the PCRF entity in the embodiment of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
- a general-purpose integrated circuit such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
- the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Disclosed are a policy control method, apparatus and system. The method comprises: after establishing an IP-CAN session for a UE, when a PCRF entity allocates a quota fragment, if the quota fragment is a quota fragment of a pre-set type, the PCRF entity returning, to a PCEF entity, indication information for indicating that the quota fragment is a quota fragment of a pre-set type; and if the quota fragment is used up, after reporting a quota update message, during the period where a response message regarding the update message is not received, the PCEF entity refusing to let the UE continue to access a network. In this way, where the last quota fragment is used up and a charging rule needs to be switched, a PCC architecture can be prevented from performing charging according to an original rule during the period where a new rule is not received, so that the accuracy of charging can be improved.
Description
本申请要求于2016年10月31日提交中国专利局、申请号为201610977819.2、发明名称为“一种策略控制方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610977819.2, entitled "Policy Control Method, Apparatus and System" on October 31, 2016, the entire contents of which are incorporated herein by reference. In the application.
本发明涉及通信技术领域,具体涉及一种策略控制方法、装置及系统。The present invention relates to the field of communications technologies, and in particular, to a policy control method, apparatus, and system.
在第三代移动通信标准化伙伴项目(the 3rd Generation Partner Project,3GPP)体系中,策略与计费控制(Policy and Charging Control,PCC)架构可以适合于各种互联网协议(Internet Protocol,IP)连接访问网络。其中,PCC架构可以基于用户使用量进行策略控制和计费控制。In the 3rd Generation Partnership Project (3GPP) system, the Policy and Charging Control (PCC) architecture can be adapted to various Internet Protocol (IP) connection access. The internet. Among them, the PCC architecture can perform policy control and charging control based on user usage.
在策略控制过程中,策略和计费规则控制功能(Policy and Charging Rule Function,PCRF)实体在接收到策略和计费执行功能(Policy and Charging Enforcement Function,PCEF)实体的会话建立请求后,可以根据用户设备(User Equipment,UE)的签约信息给PCEF实体下发配额分片和PCC规则,当配额分片中的配额耗尽时,PCEF实体会上报给PCRF实体,PCRF实体在进行配额扣减后会重新下发配额分片和PCC规则。其中,PCEF实体在接收到新规则和配额分片之前,UE可以继续使用网络。在实践中发现,这种策略控制方式在最后一个配额耗尽的情况下可能会引起计费偏差。In the policy control process, after receiving the session establishment request of the Policy and Charging Enforcement Function (PCEF) entity, the Policy and Charging Rule Function (PCRF) entity may The subscription information of the user equipment (User Equipment, UE) is sent to the PCEF entity to issue the quota fragmentation and the PCC rule. When the quota in the quota fragment is exhausted, the PCEF entity reports the result to the PCRF entity, and the PCRF entity performs the quota deduction. The quota fragmentation and PCC rules will be reissued. The UE may continue to use the network before the PCEF entity receives the new rule and the quota fragment. In practice, it has been found that this type of policy control may cause billing bias in the event that the last quota is exhausted.
发明内容Summary of the invention
本发明实施例公开了一种策略控制方法、装置及系统,能够提高PCC架构的计费准确度。The embodiment of the invention discloses a policy control method, device and system, which can improve the charging accuracy of the PCC architecture.
本发明实施例第一方面公开了一种策略控制方法,该方法可以包括:A first aspect of the embodiments of the present invention discloses a policy control method, where the method may include:
在为UE建立IP-连接访问网络(Connected Access Network,CAN)会话后,PCEF实体会基于接收的第一PCC规则和第一配额分片对UE访问网络进行配额监控,在第一配额分片的剩余配额小于或等于预设配额阈值的情况下,向PCRF实体发送更新消息,并判断第一配额分片是否为预设类型的配额分片,如果第一配额分片为预设类型的配额分片,且未接收到更新消息的响应消息的情况下,PCEF实体可以拒绝UE访问网络。After establishing an IP-Connected Access Network (CAN) session for the UE, the PCEF entity performs quota monitoring on the UE access network based on the received first PCC rule and the first quota fragment, in the first quota fragmentation. If the remaining quota is less than or equal to the preset quota threshold, the update message is sent to the PCRF entity, and the first quota fragment is determined to be a preset type of quota fragment. In the case of a slice and no response message to the update message, the PCEF entity may deny the UE access to the network.
其中,更新消息用于指示第一配额分片的剩余配额小于或等于预设配额阈值。预设类型的配额分片可以是UE的最后一个配额分片,但是如果UE当前访问的网络能提供较快的下载速度,如长期演进(Long Term Evolution,LTE)等高速网络,且每个配额分片的容量比较小,那么预设类型的配额分片还可以是倒数第二个或者倒数第三个配额分片,使得PCEF发送的更新消息有足够的响应时间。The update message is used to indicate that the remaining quota of the first quota fragment is less than or equal to a preset quota threshold. The preset type of quota fragmentation may be the last quota fragment of the UE, but if the network currently accessed by the UE can provide a faster download speed, such as a high-speed network such as Long Term Evolution (LTE), and each quota The size of the fragment is relatively small. The preset type of quota fragment can also be the second last or the third last quota fragment, so that the update message sent by the PCEF has sufficient response time.
需要说明的是,当UE开启数据流量功能的时候,UE会向PCEF实体发送IP-CAN会话建立请求消息,PCEF实体会基于该会话建立请求消息向PCRF实体发送信用控制请求(Credit
Control Request,CCR)初始消息。PCRF会基于CCR初始消息包括的UE的用户标识查找UE的签约信息,从而依据签约信息生成QoS规则,并将分配的第一配额分片、第一PCC规则(包括QoS规则)以及触发器等信息通过信用控制应答(Credit Control Answer,CCA)初始消息返回给PCEF实体。PCEF实体在接收到PCRF实体返回的信息后,会根据该信息安装第一PCC规则,并向UE返回IP-CAN会话建立响应消息,从而完成了IP-CAN会话的建立。It should be noted that when the UE starts the data traffic function, the UE sends an IP-CAN session establishment request message to the PCEF entity, and the PCEF entity sends a credit control request to the PCRF entity based on the session establishment request message (Credit).
Control Request, CCR) Initial message. The PCRF searches for the subscription information of the UE based on the user identifier of the UE included in the CCR initial message, and generates a QoS rule according to the subscription information, and allocates the first quota fragment, the first PCC rule (including the QoS rule), and the trigger. The initial message is returned to the PCEF entity through a Credit Control Answer (CCA). After receiving the information returned by the PCRF entity, the PCEF entity installs the first PCC rule according to the information, and returns an IP-CAN session establishment response message to the UE, thereby completing the establishment of the IP-CAN session.
作为一种可行的实施方式,第一PCC规则和第一配额分片由PCRF实体基于UE的签约信息生成并通过Gx接口的使用监控信息发送给PCEF实体;其中,PCEF实体判断第一配额分片是否为预设类型的配额分片的具体方式可以为:As a possible implementation, the first PCC rule and the first quota fragment are generated by the PCRF entity based on the UE subscription information and sent to the PCEF entity through the usage monitoring information of the Gx interface; wherein the PCEF entity determines the first quota fragment Whether the default type of quota fragmentation is specific can be:
判断使用监控信息中是否存在指示信息,如果存在,确定第一配额分片为预设类型的配额分片。其中,该指示信息用于指示第一配额分片为UE的最后一个配额分片。Determine whether the indication information exists in the usage monitoring information. If yes, determine that the first quota fragment is a preset type of quota fragment. The indication information is used to indicate that the first quota fragment is the last quota fragment of the UE.
作为另一种可行的实施方式,该方法还可以包括:As another feasible implementation manner, the method may further include:
PCEF实体在第一配额分片不为预设类型的配额分片,且未接收到更新消息的响应消息的情况下,允许UE访问网络。The PCEF entity allows the UE to access the network if the first quota fragment is not a preset type of quota fragment and the response message of the update message is not received.
作为又一种可行的实施方式,该方法还可以包括:As another feasible implementation manner, the method may further include:
PCEF实体在接收到更新消息的响应消息的情况下,可以根据第二PCC规则和第二配额分片对UE访问网络进行配额监控。其中,更新消息的响应消息包括PCRF实体基于UE的签约信息和第一配额分片生成的第二PCC规则和第二配额分片。When receiving the response message of the update message, the PCEF entity may perform quota monitoring on the UE access network according to the second PCC rule and the second quota fragment. The response message of the update message includes the second PCC rule and the second quota fragment generated by the PCRF entity based on the UE subscription information and the first quota fragment.
相应的,本发明实施例第二方面公开了一种PCEF实体,可以包括监控模块、收发模块、判断模块以及控制模块,上述模块可以用于执行第一方面公开的策略控制方法。Correspondingly, the second aspect of the embodiment of the present invention discloses a PCEF entity, which may include a monitoring module, a transceiver module, a judging module, and a control module. The module may be used to execute the policy control method disclosed in the first aspect.
相应的,本发明实施例第三方面公开了另一种PCEF实体,可以包括存储器,收发器和处理器,其中存储器用于存储一组程序代码,收发器和处理器用于调用存储器中存储的程序代码执行第一方面公开的策略控制方法。Correspondingly, a third aspect of the embodiments of the present invention discloses another PCEF entity, which may include a memory, a transceiver, and a processor, where the memory is used to store a set of program codes, and the transceiver and the processor are used to call a program stored in the memory. The code performs the policy control method disclosed in the first aspect.
相应的,本发明实施例第四方面公开了另一种策略控制方法,该方法可以包括:Correspondingly, the fourth aspect of the embodiments of the present invention discloses another policy control method, where the method may include:
PCRF在接收到PCEF实体发送的CCR初始消息后,可以响应CCR初始消息,基于UE的签约信息生成第一PCC规则和第一配额分片,并判断第一配额分片是否为预设类型的配额分片,如果是,则生成用于指示第一配额分片为预设类型的配额分片的指示信息,然后向PCEF实体返回CCA初始消息。After receiving the CCR initial message sent by the PCEF entity, the PCRF may generate a first PCC rule and a first quota fragment based on the subscription information of the UE, and determine whether the first quota fragment is a preset type of quota. Fragmentation, if yes, generating indication information indicating that the first quota fragment is a preset type of quota fragment, and then returning a CCA initial message to the PCEF entity.
其中,CCR初始消息用于请求为UE建立IP-CAN会话,CCA初始消息包括第一PCC规则、第一配额分片和指示信息。The CCR initial message is used to request to establish an IP-CAN session for the UE. The CCA initial message includes a first PCC rule, a first quota fragment, and indication information.
作为一种可行的实施方式,预设类型的配额分片可以为UE的最后一个配额分片,也可以为倒数第二个或者倒数第三个配额分片,本发明不做限定。As a possible implementation, the preset type of the quota fragment may be the last quota fragment of the UE, or may be the second last or the third last quota fragment, which is not limited by the present invention.
作为另一种可行的实施方式,PCRF实体向PCEF实体返回CCA初始消息的具体方式可以为:As another feasible implementation manner, the specific manner in which the PCRF entity returns the CCA initial message to the PCEF entity may be:
通过Gx接口中的使用监控信息向PCEF实体返回CCA初始消息,以便PCEF实体基于第一PCC规则和第一配额分片对UE访问网络进行配额监控。如果第一配额分片的剩余配额小于或等于预设配额阈值,PCEF实体向PCRF实体发送用于指示第一配额分片的剩余配额小于或等于预设配额阈值的更新消息,在还没接收到该更新消息的响应消息的情况下,PCEF实体拒绝UE访问网络。The CCA initial message is returned to the PCEF entity by using the monitoring information in the Gx interface, so that the PCEF entity performs quota monitoring on the UE access network based on the first PCC rule and the first quota fragment. If the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, the PCEF entity sends an update message to the PCRF entity to indicate that the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, and has not received yet In the case of the response message of the update message, the PCEF entity denies the UE access to the network.
相应的,本发明实施例第五方面公开了一种PCRF实体,可以包括收发模块、生成模块和
判断模块,上述模块可以用于执行第四方面公开的策略控制方法。Correspondingly, a fifth aspect of the embodiments of the present invention discloses a PCRF entity, which may include a transceiver module, a generation module, and
The judging module, the above module may be used to execute the policy control method disclosed in the fourth aspect.
相应的,本发明实施例第六方面公开了另一种PCRF实体,可以包括存储器,收发器和处理器,其中存储器用于存储一组程序代码,收发器和处理器用于调用存储器中存储的程序代码执行第四方面公开的策略控制方法。Correspondingly, a sixth aspect of the embodiments of the present invention discloses another PCRF entity, which may include a memory, a transceiver, and a processor, where the memory is used to store a set of program codes, and the transceiver and the processor are used to call a program stored in the memory. The code performs the policy control method disclosed in the fourth aspect.
相应的,本发明实施例第七方面公开了一种策略控制系统,可以包括第二方面公开的PCEF实体和第四方面公开的PCRF实体,用于执行公开的策略控制方法。Correspondingly, a seventh aspect of the embodiments of the present invention discloses a policy control system, which may include the PCEF entity disclosed in the second aspect and the PCRF entity disclosed in the fourth aspect, for performing the disclosed policy control method.
实施本发明实施例,具有如下有益效果:Embodiments of the present invention have the following beneficial effects:
本发明实施例中,在为UE建立IP-CAN会话后,PCRF实体在分配配额分片时,如果该配额分片为预设类型的配额分片,PCRF实体会将指示该配额分片为预设类型的配额分片的指示信息返回给PCEF实体。如果该配额分片耗尽,在上报配额的更新消息后,以及还没接收到更新消息的响应消息期间,PCEF实体会拒绝UE继续访问网络。这样可以在最后一个配额分片耗尽需要切换计费规则的情况下,避免未接收到新的规则期间PCC架构按照原有的规则进行计费,从而可以提高计费的准确度。In the embodiment of the present invention, after the IP-CAN session is established for the UE, the PCRF entity allocates the quota fragment, and if the quota fragment is a preset type of quota fragment, the PCRF entity will indicate that the quota fragment is pre- The indication information of the type quota fragment is returned to the PCEF entity. If the quota fragment is exhausted, the PCEF entity will refuse the UE to continue to access the network after the update message of the quota is reported and the response message of the update message has not been received. In this way, in the case that the last quota fragment is exhausted and the charging rule needs to be switched, the PCC architecture is prevented from performing charging according to the original rule during the period when the new rule is not received, thereby improving the accuracy of the charging.
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1是本发明实施例应用的PCC架构示意图;1 is a schematic diagram of a PCC architecture applied to an embodiment of the present invention;
图2是本发明实施例公开的一种PCEF实体的结构示意图;2 is a schematic structural diagram of a PCEF entity according to an embodiment of the present invention;
图3是本发明实施例公开的一种PCRF实体的结构示意图;3 is a schematic structural diagram of a PCRF entity according to an embodiment of the present invention;
图4是本发明实施例公开的一种策略控制方法的流程示意图;4 is a schematic flowchart of a policy control method according to an embodiment of the present invention;
图5是本发明实施例公开的另一种PCEF实体的结构示意图;FIG. 5 is a schematic structural diagram of another PCEF entity according to an embodiment of the present disclosure;
图6是本发明实施例公开的另一种PCRF实体的结构示意图;6 is a schematic structural diagram of another PCRF entity disclosed in an embodiment of the present invention;
图7是本发明实施例公开的一种策略控制系统的结构示意图。FIG. 7 is a schematic structural diagram of a policy control system according to an embodiment of the present invention.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例公开了一种策略控制方法、装置及系统,能够在预设类型的配额分片耗尽且未接收到新规则的情况下拒绝UE访问网络,从而可以提高PCC架构的计费精确度。以下进行详细说明。The embodiment of the invention discloses a policy control method, device and system, which can refuse the UE to access the network if the preset type of quota fragment is exhausted and does not receive the new rule, thereby improving the charging precision of the PCC architecture. degree. The details are described below.
为了便于理解本发明实施例公开的技术方案,下面首先对本发明所应用的PCC架构进行简要地介绍。In order to facilitate the understanding of the technical solutions disclosed in the embodiments of the present invention, the PCC architecture to which the present invention is applied is first briefly introduced.
请参阅图1,为本发明实施例应用的PCC架构示意图。图1所示的PCC架构是3GPP标准组织定义的标准的PCC计费和服务质量(Quality of Service,QoS)控制架构,主要包括
PCRF实体、PCEF实体、应用功能(Application Function,AF)实体、流量检测功能(Traffic Detection Function,TDF)实体、在线计费系统(Online Charging System,OCS)、离线计费系统(Offline Charging System,OFCS)、承载绑定及事件报告功能(Bearing Binding and Event Report Function,BBERF)实体和用户属性存储器(Subscription Profile Repository,SPR)等。Please refer to FIG. 1 , which is a schematic diagram of a PCC architecture applied according to an embodiment of the present invention. The PCC architecture shown in Figure 1 is a standard PCC charging and Quality of Service (QoS) control architecture defined by the 3GPP standards organization, including
PCRF entity, PCEF entity, Application Function (AF) entity, Traffic Detection Function (TDF) entity, Online Charging System (OCS), Offline Charging System (OFCS) ), Bearing Binding and Event Report Function (BBERF) entity and User Profile Repository (SPR).
其中,PCRF实体包含策略控制决策和基于流计费控制的功能,PCRF实体接受来自PCEF实体、SPR和AF实体的输入,向PCEF实体提供关于业务数据流检测、门控、基于QoS和基于流计费(除信用控制外)的网络控制功能,还可以结合PCRF实体的自定义信息做出PCC决策。The PCRF entity includes policy control decisions and flow-based charging control functions. The PCRF entity accepts input from PCEF entities, SPRs, and AF entities, and provides PCEF entities with service data flow detection, gating, QoS-based, and flow-based accounting. The network control function (in addition to credit control) can also make PCC decisions based on the custom information of the PCRF entity.
PCEF实体位于网关,如通用分组无线服务(General Packet Radio Service,GPRS)的网关GPRS支持节点(Gateway GPRS Support Node,GGSN)网关、演进的分组核心网(Evolved Packet Core,EPC)的公用数据网(Public Data Network,PDN)网关(PDN Gateway,PGW)等。PCEF实体提供业务数据流检测、用户平面业务的处理、触发控制面会话的管理(需要IP-(Connectivity Access Network,CAN)允许)、QoS处理和业务数据流的测量,还有在线计费和离线计费的交互。PCEF实体与PCRF实体通过Gx接口进行交互。The PCEF entity is located at the gateway, such as the General Packet Radio Service (GPRS) Gateway GPRS Support Node (GGSN) gateway, and the Evolved Packet Core (EPC) public data network ( Public Data Network, PDN) PDN Gateway (PGW), etc. The PCEF entity provides service data flow detection, user plane service processing, trigger control plane session management (requires IP-(Connectivity Access Network (CAN) permission), QoS processing and service data flow measurement, as well as online charging and offline Billing interaction. The PCEF entity interacts with the PCRF entity through the Gx interface.
AF实体是提供应用业务单元,主要对IP-CAN用户面行为进行动态策略/计费控制。这些业务需要动态策略和计费控制。AF实体通过Rx接口,传送PCRF实体需要的动态会话信息,接收IP-CAN的特定信息和IP-CAN承载层事件的确认。The AF entity is an application service unit that provides dynamic policy/billing control for IP-CAN user plane behavior. These services require dynamic policy and charging control. The AF entity transmits the dynamic session information required by the PCRF entity through the Rx interface, and receives the specific information of the IP-CAN and the acknowledgement of the IP-CAN bearer layer event.
TDF实体用于执行应用程序检测、报告检测到应用程序和其服务数据流量描述给PCRF实体。如果TDF实体检测不出这些信息则由TDF实体执行门控、重定向、带宽限制。如果能检测到应用程序信息,则会通过Sd接口提交PCRF实体产生决策交由PCEF实体执行控制。The TDF entity is used to perform application detection, report detection of the application and its service data traffic description to the PCRF entity. If the TDF entity does not detect this information, the TDF entity performs gating, redirection, and bandwidth throttling. If the application information can be detected, the PCRF entity generation decision is submitted through the Sd interface to the PCEF entity for execution control.
OCS提供基于用户和业务数据流的信用控制功能,主要由在线采集、计费控制、批价、余额管理等模块构成,实现了在线计费功能,并配合其它计费网元设备(触发基于会话、事件的在线计费事件请求设备)进行实时话务控制。OCS与PCRF实体通过Sy接口进行交互,与PCEF实体通过Gy接口进行交互。OCS provides credit control functions based on user and service data flow. It is mainly composed of online collection, billing control, rating, balance management and other modules. It implements online charging function and cooperates with other charging network element devices (trigger based session). The online charging event request device of the event performs real-time traffic control. The OCS interacts with the PCRF entity through the Sy interface and interacts with the PCEF entity through the Gy interface.
OFCS是一个针对话单和账户的后付费处理系统,其提供基于用户和业务数据流的计费功能,主要包括客服、业务管理、计费、结算、帐务处理、系统管理等。OFCS与PCEF实体通过Gz接口进行交互。OFCS is a post-paid processing system for bills and accounts. It provides billing functions based on user and service data streams, including customer service, service management, billing, settlement, accounting processing, and system management. The OFCS interacts with the PCEF entity through the Gz interface.
BBERF实体是承载绑定、上行承载绑定校验及当Gxx接口存在时向PCRF实体进行事件报告的策略执行点。其位于网关中,如基于S5/S8接口,使用代理移动IP(Proxy Mobile IP,PMIP)实现3GPP接入的服务网关(Serving Gateway,SGW),高速分组数据(High Rate Packet Data,HRPD)中的服务网关(HRPD Gateway,HSGW),非3G接入场合下的接入网关(Access Gateway,AGW)等。The BBERF entity is a bearer binding, an uplink bearer binding check, and a policy enforcement point for event reporting to the PCRF entity when the Gxx interface exists. It is located in the gateway, such as a Serving Gateway (SGW) that implements 3GPP access using Proxy Mobile IP (PMIP) based on the S5/S8 interface, and High Rate Packet Data (HRPD). Service Gateway (HSPD Gateway, HSGW), Access Gateway (AGW) in non-3G access occasions.
SPR包含有与所有签约用户或签约相关的信息,SPR提供的签约信息包括(每一个PDN的):签约用户允许的业务;每个允许业务的优先级(可选);签约用户允许的QoS信息;签约用户业务的计费相关信息,如接入类型、位置信息和使用次数;签约用户的类型等。SPR可能与运营商网络中分布的多个数据库关联。SPR与PCRF实体通过Sp接口进行交互。The SPR contains information related to all contracted users or subscriptions. The subscription information provided by the SPR includes (for each PDN): the services allowed by the contracted users; the priority of each allowed service (optional); the QoS information allowed by the subscribed users. The billing related information of the subscriber service, such as the access type, location information, and number of uses; the type of the subscriber. SPR may be associated with multiple databases distributed across the carrier's network. The SPR and PCRF entities interact through the Sp interface.
在图1所示的PCC架构中,可以实现基于用户使用量的策略控制和计费控制。
In the PCC architecture shown in FIG. 1, policy control and charging control based on user usage can be implemented.
基于图1所示的系统架构,本发明实施例公开的一种PCEF实体。请参阅2,图2是本发明实施例公开的一种PCEF实体的结构示意图。如图2所示,PCEF实体可以包括:至少一个处理器201,如CPU,收发器202、存储器203以及至少一个通信总线204,上述处理器201、收发器202和存储器203通过总线204连接。A PCEF entity disclosed in the embodiment of the present invention is based on the system architecture shown in FIG. Referring to FIG. 2, FIG. 2 is a schematic structural diagram of a PCEF entity disclosed in an embodiment of the present invention. As shown in FIG. 2, the PCEF entity may include at least one processor 201, such as a CPU, a transceiver 202, a memory 203, and at least one communication bus 204. The processor 201, the transceiver 202, and the memory 203 are connected by a bus 204.
其中,上述存储器203可以是高速RAM存储器,也可为非不稳定的存储器(non-volatile memory),例如磁盘存储器。可选的,还可以是至少一个位于处理器的存储装置。上述存储器203用于存储一组程序代码,上述处理器201和收发器202用于调用存储器203中存储的程序代码,执行如下操作:The memory 203 may be a high speed RAM memory or a non-volatile memory such as a disk memory. Optionally, it may also be at least one storage device located in the processor. The above-mentioned memory 203 is used for storing a set of program codes, and the processor 201 and the transceiver 202 are used to call the program code stored in the memory 203, and perform the following operations:
处理器201,用于在为UE建立IP-CAN会话后,基于接收的第一PCC规则和第一配额分片对UE访问网络进行配额监控。The processor 201 is configured to perform quota monitoring on the UE access network based on the received first PCC rule and the first quota fragment after establishing an IP-CAN session for the UE.
收发器202,用于在第一配额分片的剩余配额小于或等于预设配额阈值的情况下,向PCRF实体发送更新消息,更新消息用于指示第一配额分片的剩余配额小于或等于预设配额阈值。The transceiver 202 is configured to send, to the PCRF entity, an update message, where the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, where the update message is used to indicate that the remaining quota of the first quota fragment is less than or equal to the pre- Set the quota threshold.
处理器201,还用于判断第一配额分片是否为预设类型的配额分片。The processor 201 is further configured to determine whether the first quota fragment is a preset type of quota fragment.
收发器202,还用于接收更新消息的响应消息。The transceiver 202 is further configured to receive a response message of the update message.
处理器201,还用于在第一配额分片为预设类型的配额分片,且收发器未接收到更新消息的响应消息的情况下,拒绝UE访问网络。The processor 201 is further configured to: when the first quota fragment is a preset type of quota fragment, and the transceiver does not receive the response message of the update message, reject the UE from accessing the network.
本发明实施例中,当UE开启数据流量功能的时候,UE会向PCEF实体发送IP-CAN会话建立请求消息,收发器202会基于该会话建立请求消息向PCRF实体发送信用控制请求(Credit Control Request,CCR)初始消息。PCRF会基于CCR初始消息包括的UE的用户标识查找UE的签约信息,从而依据签约信息生成QoS规则,并将分配的第一配额分片、第一PCC规则(包括QoS规则)以及触发器等信息通过信用控制应答(Credit Control Answer,CCA)初始消息返回给PCEF实体。在收发器202接收到PCRF实体返回的信息后,处理器202会根据该信息安装第一PCC规则,收发器202则向UE返回IP-CAN会话建立响应消息,从而完成了IP-CAN会话的建立。In the embodiment of the present invention, when the UE starts the data traffic function, the UE sends an IP-CAN session establishment request message to the PCEF entity, and the transceiver 202 sends a credit control request to the PCRF entity based on the session establishment request message (Credit Control Request). , CCR) initial message. The PCRF searches for the subscription information of the UE based on the user identifier of the UE included in the CCR initial message, and generates a QoS rule according to the subscription information, and allocates the first quota fragment, the first PCC rule (including the QoS rule), and the trigger. The initial message is returned to the PCEF entity through a Credit Control Answer (CCA). After the transceiver 202 receives the information returned by the PCRF entity, the processor 202 installs the first PCC rule according to the information, and the transceiver 202 returns an IP-CAN session establishment response message to the UE, thereby completing the establishment of the IP-CAN session. .
其中,预设类型的配额分片可以是UE的最后一个配额分片,但是如果UE当前访问的网络能提供较快的下载速度,如LTE等高速网络,且每个配额分片的容量比较小,那么预设类型的配额分片还可以是倒数第二个或者倒数第三个配额分片,使得PCEF发送的更新消息有足够的响应时间。第一配额分片的剩余配额是指第一配额分片中除了UE访问网络所消耗的配额之外剩下的配额。The preset type of the quota fragment may be the last quota fragment of the UE, but if the network currently accessed by the UE can provide a faster download speed, such as a high-speed network such as LTE, and the capacity of each quota fragment is relatively small. Then, the preset type of quota fragmentation can also be the second last or the third last quota fragment, so that the update message sent by the PCEF has sufficient response time. The remaining quota of the first quota fragment refers to the remaining quota in the first quota fragment except for the quota consumed by the UE to access the network.
可选的,第一PCC规则和第一配额分片由PCRF实体基于UE的签约信息生成并通过Gx接口的使用监控信息发送给PCEF实体;其中,处理器201判断第一配额分片是否为预设类型的配额分片的具体方式可以为:Optionally, the first PCC rule and the first quota fragment are generated by the PCRF entity based on the UE subscription information and sent to the PCEF entity by using the usage monitoring information of the Gx interface. The processor 201 determines whether the first quota fragment is a pre- The specific way to set the type of quota fragmentation can be:
判断使用监控信息中是否存在指示信息,如果存在,确定第一配额分片为预设类型的配额分片。其中,该指示信息用于指示第一配额分片为UE的最后一个配额分片。Determine whether the indication information exists in the usage monitoring information. If yes, determine that the first quota fragment is a preset type of quota fragment. The indication information is used to indicate that the first quota fragment is the last quota fragment of the UE.
本发明实施例中,如果PCRF实体分配的第一配额分片为UE的最后一个配额分片,PCRF实体在返回第一PCC规则和第一配额分片的同时,会将用于指示第一配额分片为最后一个配额分片的指示信息发送给PCEF实体。其中,这些信息可以是PCRF实体通过Gx接口的使用监控信息发送给PCEF实体的。因此,在第一配额分片耗尽后,处理器201会判断使用监控信息中是否存在这样的指示信息,如果存在,则表明第一配额分片为预设类型的配额分片,从而
在收发器202还没有接收到更新消息的响应消息的期间,禁止UE访问网络。In the embodiment of the present invention, if the first quota fragment allocated by the PCRF entity is the last quota fragment of the UE, the PCRF entity returns the first PCC rule and the first quota fragment, and is used to indicate the first quota. The fragmentation is sent to the PCEF entity for the indication of the last quota fragment. The information may be sent by the PCRF entity to the PCEF entity through the usage monitoring information of the Gx interface. Therefore, after the first quota fragment is exhausted, the processor 201 determines whether there is such indication information in the usage monitoring information, and if yes, the first quota fragment is a preset type of quota fragment, thereby
The UE is prohibited from accessing the network while the transceiver 202 has not received the response message of the update message.
可选的,处理器201,还用于在第一配额分片不为预设类型的配额分片,且收发器202未接收到更新消息的响应消息的情况下,允许UE访问网络。Optionally, the processor 201 is further configured to allow the UE to access the network if the first quota fragment is not a preset type of quota fragment, and the transceiver 202 does not receive the response message of the update message.
可选的,更新消息的响应消息包括PCRF实体基于签约信息和第一配额分片生成的第二PCC规则和第二配额分片。那么处理器201,还用于在收发器202接收到更新消息的响应消息的情况下,根据第二PCC规则和第二配额分片对UE访问网络进行配额监控。Optionally, the response message of the update message includes a second PCC rule and a second quota fragment generated by the PCRF entity based on the subscription information and the first quota fragment. The processor 201 is further configured to perform quota monitoring on the UE access network according to the second PCC rule and the second quota fragment if the transceiver 202 receives the response message of the update message.
可见,在图2所描述的PCEF实体中,在为UE建立IP-CAN会话后,PCEF实体会基于PCRF实体分配的配额分片和PCC规则对UE访问网络进行配额监控,如果该配额分片耗尽,在上报配额的更新消息后,以及还没接收到更新消息的响应消息期间,PCEF实体会拒绝UE继续访问网络。这样可以在最后一个配额分片耗尽需要切换计费规则的情况下,避免未接收到新的规则期间PCC架构按照原有的规则进行计费,从而可以提高计费的准确度。It can be seen that, in the PCEF entity described in FIG. 2, after establishing an IP-CAN session for the UE, the PCEF entity performs quota monitoring on the UE access network based on the quota fragment and the PCC rule allocated by the PCRF entity, if the quota fragmentation consumes After the update message of the quota is reported, and the response message of the update message has not been received, the PCEF entity will refuse the UE to continue to access the network. In this way, in the case that the last quota fragment is exhausted and the charging rule needs to be switched, the PCC architecture is prevented from performing charging according to the original rule during the period when the new rule is not received, thereby improving the accuracy of the charging.
基于图1所示的系统架构,本发明实施例公开的一种PCRF实体。请参阅图3,图3是本发明实施例公开的一种PCRF实体的结构示意图。如图3所示,PCRF实体可以包括:至少一个处理器301,如CPU,收发器302、存储器303以及至少一个通信总线304,上述处理器301、收发器302和存储器303通过总线304连接。A PCRF entity disclosed in the embodiment of the present invention is based on the system architecture shown in FIG. Please refer to FIG. 3. FIG. 3 is a schematic structural diagram of a PCRF entity according to an embodiment of the present invention. As shown in FIG. 3, the PCRF entity may include at least one processor 301, such as a CPU, a transceiver 302, a memory 303, and at least one communication bus 304. The processor 301, the transceiver 302, and the memory 303 are connected by a bus 304.
其中,上述存储器303可以是高速RAM存储器,也可为非不稳定的存储器(non-volat i le memory),例如磁盘存储器。可选的,还可以是至少一个位于处理器的存储装置。上述存储器203用于存储一组程序代码,上述处理器301和收发器302用于调用存储器303中存储的程序代码,执行如下操作:The memory 303 may be a high speed RAM memory or a non-volatile memory such as a disk memory. Optionally, it may also be at least one storage device located in the processor. The above-mentioned memory 203 is used for storing a set of program codes, and the processor 301 and the transceiver 302 are used to call the program code stored in the memory 303, and perform the following operations:
收发器302,用于接收PCEF实体发送的CCR初始消息,其中,CCR初始消息用于请求为UE建立IP-CAN会话。The transceiver 302 is configured to receive a CCR initial message sent by the PCEF entity, where the CCR initial message is used to request to establish an IP-CAN session for the UE.
处理器301,用于响应CCR初始消息,基于UE的签约信息生成第一PCC规则和第一配额分片,并判断第一配额分片是否为预设类型的配额分片,如果是,则生成用于指示第一配额分片为预设类型的配额分片的指示信息。The processor 301 is configured to generate, according to the CCR initial message, the first PCC rule and the first quota fragment according to the subscription information of the UE, and determine whether the first quota fragment is a preset type of quota fragment, and if yes, generate The indication information used to indicate that the first quota fragment is a preset type of quota fragment.
收发器302,还用于向PCEF实体返回CCA初始消息,其中,该CCA初始消息包括第一PCC规则、第一配额分片和指示信息。The transceiver 302 is further configured to return a CCA initial message to the PCEF entity, where the CCA initial message includes a first PCC rule, a first quota fragment, and indication information.
本发明实施例中,当UE开启数据流量功能的时候,UE会向PCEF实体发送IP-CAN会话建立请求消息,PCEF实体从而会基于该会话建立请求消息向PCRF实体发送CCR初始消息,请求建立IP-CAN会话。In the embodiment of the present invention, when the UE starts the data traffic function, the UE sends an IP-CAN session establishment request message to the PCEF entity, and the PCEF entity sends a CCR initial message to the PCRF entity based on the session establishment request message, requesting to establish an IP address. -CAN session.
可选的,预设类型的配额分片可以为UE的最后一个配额分片,但是如果UE当前访问的网络能提供较快的下载速度,如LTE等高速网络,且每个配额分片的容量比较小,那么预设类型的配额分片还可以为倒数第二个或者倒数第三个配额分片,使得PCEF发送的更新消息有足够的响应时间。第一配额分片的剩余配额是指第一配额分片中除了UE访问网络所消耗的配额之外剩下的配额。Optionally, the preset type of quota fragment may be the last quota fragment of the UE, but if the network currently accessed by the UE can provide a faster download speed, such as a high-speed network such as LTE, and the capacity of each quota fragment. If the size is smaller, the preset type of quota fragmentation can also be the second-to-last or third-order quota fragment, so that the update message sent by the PCEF has sufficient response time. The remaining quota of the first quota fragment refers to the remaining quota in the first quota fragment except for the quota consumed by the UE to access the network.
可选的,收发器302向PCEF实体返回CCA初始消息的具体方式可以为:Optionally, the specific manner in which the transceiver 302 returns the CCA initial message to the PCEF entity may be:
通过Gx接口中的使用监控信息向PCEF实体返回CCA初始消息,以便PCEF实体基于第一PCC规则和第一配额分片对UE访问网络进行配额监控。如果第一配额分片的剩余配额小于或等于预设配额阈值,PCEF实体向PCRF实体发送用于指示第一配额分片的剩余配额小于或等
于预设配额阈值的更新消息,在还没接收到该更新消息的响应消息的情况下,PCEF实体拒绝UE访问网络。The CCA initial message is returned to the PCEF entity by using the monitoring information in the Gx interface, so that the PCEF entity performs quota monitoring on the UE access network based on the first PCC rule and the first quota fragment. If the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, the PCEF entity sends a remaining quota indicating that the first quota fragment is less than or equal to the PCRF entity.
The update message of the preset quota threshold, in the case that the response message of the update message has not been received, the PCEF entity denies the UE access to the network.
进一步的,如果第一配额分片不为UE的最后一个配额分片,如果第一配额分片的剩余配额小于或等于预设配额阈值,PCEF实体向PCRF实体发送用于指示第一配额分片的剩余配额小于或等于预设配额阈值的更新消息,在还没接收到该更新消息的响应消息的情况下,PCEF实体允许UE访问网络。Further, if the first quota fragment is not the last quota fragment of the UE, if the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, the PCEF entity sends the PCRF entity to indicate the first quota fragmentation. The update quota of the remaining quota is less than or equal to the preset quota threshold. In the case that the response message of the update message has not been received, the PCEF entity allows the UE to access the network.
可见,在图3所描述的PCRF实体中,在为UE建立IP-CAN会话后,PCRF实体在分配配额分片时,如果该配额分片为预设类型的配额分片,PCRF实体会将指示该配额分片为预设类型的配额分片的指示信息返回给PCEF实体。如果该配额分片耗尽,在上报配额的更新消息后,以及还没接收到更新消息的响应消息期间,PCEF实体会拒绝UE继续访问网络。这样可以在最后一个配额分片耗尽需要切换计费规则的情况下,避免未接收到新的规则期间PCC架构按照原有的规则进行计费,从而可以提高计费的准确度。It can be seen that, in the PCRF entity described in FIG. 3, after the IP-CAN session is established for the UE, the PCRF entity allocates the quota fragment, and if the quota fragment is a preset type of quota fragment, the PCRF entity will indicate The quota fragment is returned to the PCEF entity for the indication information of the preset type of quota fragment. If the quota fragment is exhausted, the PCEF entity will refuse the UE to continue to access the network after the update message of the quota is reported and the response message of the update message has not been received. In this way, in the case that the last quota fragment is exhausted and the charging rule needs to be switched, the PCC architecture is prevented from performing charging according to the original rule during the period when the new rule is not received, thereby improving the accuracy of the charging.
基于图1所示的系统架构,本发明实施例公开的一种策略控制方法。请参阅图4,图4是本发明实施例公开的一种策略控制方法的流程示意图。如图4所示,该方法可以包括以下步骤:A policy control method disclosed in the embodiment of the present invention is based on the system architecture shown in FIG. Please refer to FIG. 4. FIG. 4 is a schematic flowchart diagram of a policy control method according to an embodiment of the present invention. As shown in FIG. 4, the method may include the following steps:
401、UE向PCEF实体发送IP-CAN会话建立请求消息。401. The UE sends an IP-CAN session establishment request message to the PCEF entity.
本发明实施例中,当UE开启数据流量功能的时候,UE会向PCEF实体发送IP-CAN会话建立请求消息,该IP-CAN会话建立请求消息中携带接入点名称(Access Point Name,APN)、公共陆地移动网络(Public Land Mobile Network,PLMN)的标识和UE的用户标识。其中,用户标识可以包括移动台综合业务数字网号码(Mobile Station International Integrated Services Digital Network Number,MSISDN)、国际移动用户识别码(International Mobile Subscriber Identification Number,IMSI)、国际移动设备标识(International Mobile Equipment Identity,IMEI)等。In the embodiment of the present invention, when the UE starts the data traffic function, the UE sends an IP-CAN session establishment request message to the PCEF entity, where the IP-CAN session establishment request message carries an Access Point Name (APN). The identity of the Public Land Mobile Network (PLMN) and the user identity of the UE. The user identifier may include a Mobile Station International Integrated Services Digital Network Number (MSISDN), an International Mobile Subscriber Identification Number (IMSI), and an International Mobile Equipment Identity (International Mobile Equipment Identity). , IMEI) and so on.
其中,IP-CAN会话建立请求消息可以是通用数据传输平台(General Data Transfer Platform,GTP)消息,也可以是非3G网络相关的触发消息,本发明实施例不做限定。The IP-CAN session establishment request message may be a general data transfer platform (GTP) message, or may be a non-3G network-related trigger message, which is not limited in the embodiment of the present invention.
402、PCEF实体接收IP-CAN会话建立请求消息,并向PCRF实体发送CCR初始消息。402. The PCEF entity receives the IP-CAN session establishment request message, and sends a CCR initial message to the PCRF entity.
本发明实施例中,PCEF实体在接收到UE的IP-CAN会话建立请求消息后,会基于UE的用户标识和APN为UE分配IP地址,并通过Gx接口向PCRF实体发送CCR-Init ial消息。具体的,PCEF实体通过CCR类型属性值对(Attribute Value Pairs,AVP)请求建立IP-CAN会话。In the embodiment of the present invention, after receiving the IP-CAN session establishment request message of the UE, the PCEF entity allocates an IP address to the UE based on the user identifier and the APN of the UE, and sends a CCR-Init ial message to the PCRF entity through the Gx interface. Specifically, the PCEF entity requests to establish an IP-CAN session through a CCR type Attribute Value Pairs (AVP).
进一步的,CCR-Initial消息中携带有UE的用户标识、IP地址、接入点名称(Access Point Name,APN)、PLMN的标识等。Further, the CCR-Initial message carries the user identifier, IP address, Access Point Name (APN), and identifier of the PLMN of the UE.
403、PCRF实体接收CCR初始消息,并基于CCR初始消息中的用户标识查找UE的签约信息。403. The PCRF entity receives the CCR initial message, and searches for the subscription information of the UE based on the user identifier in the CCR initial message.
本发明实施例中,PCRF实体在接收到CCR-Initial消息后,首先会基于UE的用户标识查找UE的签约信息,UE的签约信息可以是存储在PCRF实体中,也可以存储在SPR中,本发明实施例不做限定。其中,签约信息中包括有UE的签约业务数据,如用户购买的上网套餐信息,如总流量或者总上网时长、可以使用的业务类型等。本发明实施例中,流量或时长可以
统称为配额。In the embodiment of the present invention, after receiving the CCR-Initial message, the PCRF entity first searches for the subscription information of the UE based on the user identifier of the UE, and the subscription information of the UE may be stored in the PCRF entity, or may be stored in the SPR. The embodiments of the invention are not limited. The subscription information includes the subscription service data of the UE, such as the online package information purchased by the user, such as the total traffic or the total duration of the Internet access, and the types of services that can be used. In the embodiment of the present invention, the flow rate or duration may be
Collectively referred to as quotas.
404、PCRF实体基于签约信息生成第一PCC规则和第一配额分片。404. The PCRF entity generates a first PCC rule and a first quota fragment based on the subscription information.
本发明实施例中,UE在访问网络的过程中,PCRF实体实际是根据UE签约的总配额获取对应的配额分配策略,即,将总配额按照一个一个的配额分片分配给PCEF实体,每个配额分片耗尽之后,再分一个配额分片,即根据这种方式实现对UE访问网络的控制。In the embodiment of the present invention, in the process of accessing the network, the PCRF entity obtains the corresponding quota allocation policy according to the total quota of the UE subscription, that is, allocates the total quota to the PCEF entity according to one quota segment, and each After the quota fragment is exhausted, another quota fragment is divided, that is, the control of the UE accessing the network is implemented according to this manner.
因此,PCRF实体在查找到UE的签约信息后,可以根据签约信息中的业务数据生成业务规则列表,如第一PCC规则,并查找总配额对应的配额分配策略,基于配额分配策略配置第一配额分片。其中,PCC规则用于指示UE访问网络的操作哪些是允许的,哪些是不允许的。PCC规则还包括QoS规则,用于指示UE访问网络的带宽,为UE访问网络提供带宽保证。Therefore, after finding the subscription information of the UE, the PCRF entity may generate a service rule list according to the service data in the subscription information, such as the first PCC rule, and search for the quota allocation policy corresponding to the total quota, and configure the first quota based on the quota allocation policy. Fragmentation. The PCC rule is used to indicate which operations of the UE access the network are allowed and which are not. The PCC rule also includes a QoS rule, which is used to indicate the bandwidth of the UE accessing the network, and provides bandwidth guarantee for the UE to access the network.
进一步的,PCRF实体还会确定触发器的相关信息。Further, the PCRF entity also determines information about the trigger.
405、PCRF实体判断第一配额分片是否为预设类型的配额分片,如果是,生成指示信息。405. The PCRF entity determines whether the first quota fragment is a preset type of quota fragment, and if yes, generates indication information.
本发明实施例中,PCRF实体在生成第一配额分片时,会判断第一配额分片是否为预设类型的配额分片。其中,预设类型的配额分片可以为PCRF实体指定的最后一个配额分片,也可以是倒数第二个或者倒数第三个配额分片,本发明实施例不做限定。In the embodiment of the present invention, when the first quota fragment is generated, the PCRF entity determines whether the first quota fragment is a preset type of quota fragment. The preset type of the quota fragment may be the last quota fragment specified by the PCRF entity, or may be the second last or the third last quota fragment, which is not limited in the embodiment of the present invention.
举例来说,如果UE当前访问的网络LTE等高速网络,UE访问网络进行在线播放视频,那么UE所消耗的配额的速度就比较快,如3M每秒,如果给UE分配的配额分片为倒数第二个配额分片,而且每个配额分片的容量都比较小,如1M,那么在当前配额分片用完,PCEF上报更新消息以及还未接收到更新消息的响应消息的期间,假设这期间所需要的响应时间为1秒,且这期间允许UE继续访问网络,可能就会导致在这1秒的时间内所消耗的配额超过了最后一个配额分片的容量,这样也会导致计费偏差。因此,为了避免这种情况的发生,进一步提高计费的精度,在UE当前访问的网络能提供较快的下载速度,且每个配额分片的容量比较小的情况下,预设类型的配额分片还可以是倒数第二个或者倒数第三个配额分片,甚至是倒数第四个配额分片,从而使得PCEF发送的更新消息有足够的响应时间。For example, if the UE currently accesses a high-speed network such as the network LTE and the UE accesses the network to play video online, the quota consumed by the UE is faster, such as 3M per second, if the quota fragment allocated to the UE is a reciprocal. The second quota is fragmented, and the capacity of each quota fragment is relatively small, such as 1M. Then, when the current quota fragment is used up, the PCEF reports the update message, and the response message of the update message has not been received, it is assumed that The response time required during the period is 1 second, and during this period, the UE is allowed to continue to access the network, which may result in the quota consumed in the 1 second period exceeding the capacity of the last quota fragment, which may also result in billing. deviation. Therefore, in order to avoid the occurrence of such a situation, the accuracy of the charging is further improved. When the network currently accessed by the UE can provide a faster downloading speed, and the capacity of each quota fragment is relatively small, the preset type of quota is used. The fragmentation can also be the second-to-last or third-order quota fragment, or even the fourth-order quota fragment, so that the update message sent by the PCEF has sufficient response time.
本发明实施例中,PCRF实体判断第一配额分片是否为最后一个配额分片的具体方式可以为:PCRF实体判断将UE的剩余的配额减去第一配额分片的配额后,是否还有剩余配额,如果有,则说明第一配额分片不为最后一个配额分片,如果没有,则说明第一配额分片为UE的最后一个配额分片。In the embodiment of the present invention, the specific manner in which the PCRF entity determines whether the first quota fragment is the last quota fragment may be: after the PCRF entity determines to subtract the quota of the first quota fragment from the remaining quota of the UE, The remaining quota, if any, indicates that the first quota fragment is not the last quota fragment. If not, the first quota fragment is the last quota fragment of the UE.
因此,如果PCRF实体判断出第一配额分片为预设类型的配额分片后,会进一步生成指示信息,该指示信息用于指示第一配额分片为UE的最后一个配额分片。其中,该指示信息可以是第一配额分片的一个特殊标识。Therefore, if the PCRF entity determines that the first quota fragment is a preset type of quota fragment, the indication information is further generated, where the indication information is used to indicate that the first quota fragment is the last quota fragment of the UE. The indication information may be a special identifier of the first quota fragment.
需要说明的是,步骤404和405不分先后顺序,可以同时执行。It should be noted that steps 404 and 405 can be performed simultaneously without prioritization.
406、PCRF实体向PCEF实体返回CCA初始消息。406. The PCRF entity returns a CCA initial message to the PCEF entity.
本发明实施例中,PCRF实体在生成第一PCC规则和第一配额分片后,会向PCEF实体返回CCA-Initial消息。其中,CCA-Initial消息包括第一配额分片、第一PCC规则、触发器等。如果PCRF实体判断出第一配额分片为预设类型的配额分片,CCA-Initial消息还会包括用于指示第一配额分片为预设类型的配额分片的指示信息。如果第一配额分片不为预设类型的配额分片,CCA-Initial消息中则不会包括指示信息。In the embodiment of the present invention, after generating the first PCC rule and the first quota fragment, the PCRF entity returns a CCA-Initial message to the PCEF entity. The CCA-Initial message includes a first quota fragment, a first PCC rule, a trigger, and the like. If the PCRF entity determines that the first quota fragment is a preset type of quota fragment, the CCA-Initial message further includes indication information indicating that the first quota fragment is a preset type of quota fragment. If the first quota fragment is not a preset type of quota fragment, the indication information is not included in the CCA-Initial message.
具体的,PCRF实体通过Gx接口的使用监控信息(Usage Monitoring Information)AVP返回CCA-Initial消息。
Specifically, the PCRF entity returns a CCA-Initial message through the Usage Monitoring Information (AVP) of the Gx interface.
本发明实施例中,PCRF实体在配置配额分片时,如果该配额分片是预设类型的配额分片(以最后一个配额分片为例),则会新增AVP说明。如下是Gx接口新增AVP的说明:In the embodiment of the present invention, when the quota fragment is configured, the quota fragment is a preset type of quota fragment (for example, the last quota fragment is used as an example), and the AVP description is added. The following is a description of adding an AVP to the Gx interface:
Usage-Monitoring-Information::=<AVP Header:1067>Usage-Monitoring-Information::=<AVP Header:1067>
[Monitoring-Key][Monitoring-Key]
0,2[Granted-Service-Unit]0,2[Granted-Service-Unit]
0,2[Used-Service-Unit]0,2[Used-Service-Unit]
[Usage-Monitoring-Level][Usage-Monitoring-Level]
[Usage-Monitoring-Report][Usage-Monitoring-Report]
[Usage-Monitoring-Support][Usage-Monitoring-Support]
[Final-Unit-Indication][Final-Unit-Indication]
*[AVP]*[AVP]
Final-Unit-IndicationFinal-Unit-Indication
Final-Unit-Indication AVP indicates the Granted-Service-Unit is the last quota slice,indicate PCEF after the Granted-Service-Unit is finished should block traffic until receive CCA-U message.Final-Unit-Indication AVP indicates the Granted-Service-Unit is the last quota slice,indicate PCEF after the Granted-Service-Unit is finished should block traffic until receive CCA-U message.
进一步的,如果该配额分片不是预设类型的配额分片,则Gx接口的Usage Monitoring Information AVP则不会包括[Final-Unit-Indication]的指示信息。Further, if the quota fragment is not a preset type of quota fragment, the Usage Monitoring Information AVP of the Gx interface does not include the indication of [Final-Unit-Indication].
407、PCEF实体接收CCA初始消息,并向UE返回IP-CAN建立响应消息。407. The PCEF entity receives the CCA initial message and returns an IP-CAN setup response message to the UE.
本发明实施例中,PCEF实体在接收到PCRF实体返回的CCA-Initial消息后,则可以表明为UE已经建立好IP-CAN会话。那么PCEF实体在接收到CCA-Initial消息后,会安装第一PCC规则,并向UE返回IP-CAN建立响应消息(IP-CAN Establish Response消息)以通知UE,UE从而可以执行网络访问操作。In the embodiment of the present invention, after receiving the CCA-Initial message returned by the PCRF entity, the PCEF entity may indicate that the UE has established an IP-CAN session. Then, after receiving the CCA-Initial message, the PCEF entity installs the first PCC rule and returns an IP-CAN Establish Response message to the UE to notify the UE that the UE can perform the network access operation.
408、PCEF实体基于CCA初始消息中的第一PCC规则和第一配额分片对UE访问网络进行配额监控。408. The PCEF entity performs quota monitoring on the UE accessing the network based on the first PCC rule and the first quota fragment in the CCA initial message.
本发明实施例中,PCEF实体在安装第一PCC规则后,就可以根据第一PCC规则对UE访问网络进行控制,并基于第一配额分片对UE访问网络进行配额监控,即监控UE访问网络所消耗的配额是否超过第一配额分片的配额。In the embodiment of the present invention, after installing the first PCC rule, the PCEF entity may control the UE accessing the network according to the first PCC rule, and perform quota monitoring on the UE access network based on the first quota fragment, that is, monitor the UE to access the network. Whether the quota consumed exceeds the quota of the first quota fragment.
409、在第一配额分片的剩余配额小于或等于预设配额阈值的情况下,PCEF实体向PCRF实体发送更新消息。409. The PCEF entity sends an update message to the PCRF entity if the remaining quota of the first quota fragment is less than or equal to the preset quota threshold.
本发明实施例中,预设配额阈值可以设为0,也可以设为大于0的一个较小值,如10kb,本发明实施例中,预设配额阈值一般取0。当PCEF实体检测出第一配额分片的剩余配额小于或等于预设配额阈值,如第一配额分片耗尽的时候,PCEF实体则会向PCRF实体发送更新消息。第一配额分片的剩余配额是指第一配额分片中除了UE访问网络所消耗的配额之外剩下的配额。In the embodiment of the present invention, the preset quota threshold may be set to 0, or may be set to a smaller value greater than 0, such as 10 kb. In the embodiment of the present invention, the preset quota threshold generally takes 0. When the PCEF entity detects that the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, if the first quota fragment is exhausted, the PCEF entity sends an update message to the PCRF entity. The remaining quota of the first quota fragment refers to the remaining quota in the first quota fragment except for the quota consumed by the UE to access the network.
其中,该更新消息具体为CCR-Update消息,具体通过CCR-Type AVP发送。该更新消息用于上报配额,即指示第一配额分片的剩余配额小于或等于预设配额阈值。
The update message is specifically a CCR-Update message, and is specifically sent by using a CCR-Type AVP. The update message is used to report the quota, that is, the remaining quota of the first quota fragment is less than or equal to the preset quota threshold.
410、PCEF实体基于CCA初始消息中的指示信息判断第一配额分片是否为预设类型的配额分片,如果是,且未接收到更新消息的响应消息,PCEF实体拒绝UE访问网络。410. The PCEF entity determines, according to the indication information in the CCA initial message, whether the first quota fragment is a preset type of quota fragment. If yes, and does not receive the response message of the update message, the PCEF entity denies the UE from accessing the network.
本发明实施例中,如果第一配额分片为预设类型的配额分片,那么Gx接口的Usage Monitoring Information AVP,也可以是CCA-Initial消息中会包括指示第一配额分片为预设类型的配额分片的指示信息;如果不是,则不会包括该指示信息。In the embodiment of the present invention, if the first quota fragment is a preset type of quota fragment, the Usage Monitoring Information AVP of the Gx interface may also include the CCA-Initial message indicating that the first quota fragment is a preset type. The indication of the quota fragmentation; if not, the indication information will not be included.
因此,PCEF实体基于CCA初始消息中的指示信息判断第一配额分片是否为预设类型的配额分片的具体方式可以为:判断Usage Monitoring Information AVP(或者CCA-Initial消息)中是否存在该指示信息,如果存在,则确定第一配额分片为预设类型的配额分片,如果不存在,则确定不为预设类型的配额分片。Therefore, the specific manner of determining, by the PCEF entity, whether the first quota fragment is a preset type of quota fragment based on the indication information in the CCA initial message may be: determining whether the indication exists in the Usage Monitoring Information AVP (or CCA-Initial message) The information, if yes, determines that the first quota fragment is a preset type of quota fragment, and if not, determines that the quota fragment is not a preset type.
进一步的,PCEF实体在上报更新消息之后,且判断出第一配额分片为预设类型的配额分片的情况下,PCEF实体会配置UE不能继续访问网络,即拒绝UE访问网络。Further, after the PCEF entity reports the update message and determines that the first quota fragment is a preset type of quota fragment, the PCEF entity configures that the UE cannot continue to access the network, that is, denies the UE from accessing the network.
作为一种可行的实施方式,如果PCEF实体在上报更新消息之后,且判断出第一配额分片不为预设类型的配额分片,PCEF实体会允许UE继续访问网络。As a possible implementation manner, if the PCEF entity reports the update message and determines that the first quota fragment is not a preset type of quota fragment, the PCEF entity may allow the UE to continue to access the network.
需要说明的是,步骤409和410不分先后顺序,可以同时执行。It should be noted that steps 409 and 410 can be performed simultaneously without prioritization.
411、PCRF实体接收更新消息,根据第一配额分片进行配额扣减,并基于UE的签约信息更新PCC规则。411. The PCRF entity receives the update message, performs quota deduction according to the first quota fragment, and updates the PCC rule based on the subscription information of the UE.
本发明实施例中,如果PCRF实体下发的第一配额分片为UE的最后一个配额分片,则在进行配额扣减后,UE没有签约配额,UE如果继续访问网络,就需要对UE使用配额按照新的规则进行计费以及更新控制策略。因此,在第一配额分片为最后一个配额时,PCRF实体会基于UE的签约信息更新PCC规则。In the embodiment of the present invention, if the first quota fragment delivered by the PCRF entity is the last quota fragment of the UE, after the quota deduction is performed, the UE does not have a subscription quota, and if the UE continues to access the network, the UE needs to use the UE. Quotas are billed according to new rules and update control policies. Therefore, when the first quota fragment is the last quota, the PCRF entity updates the PCC rule based on the subscription information of the UE.
412、PCRF实体向PCEF实体返回更新消息的响应消息。412. The PCRF entity returns a response message of the update message to the PCEF entity.
本发明实施例中,PCRF实体在更新PCC规则后,会向PCEF实体返回更新消息的响应消息,该响应消息中携带有更新后的PCC规则。In the embodiment of the present invention, after updating the PCC rule, the PCRF entity returns a response message of the update message to the PCEF entity, where the response message carries the updated PCC rule.
413、PCEF实体接收更新消息的响应消息,并删除第一PCC规则,安装更新的PCC规则。413. The PCEF entity receives the response message of the update message, deletes the first PCC rule, and installs the updated PCC rule.
本发明实施例中,PCEF实体在接收到更新消息的响应消息后,会删除原有的第一PCC规则,安装更新后的PCC规则,从而按照更新的PCC规则对UE访问网络进行控制。In the embodiment of the present invention, after receiving the response message of the update message, the PCEF entity deletes the original first PCC rule and installs the updated PCC rule, so as to control the UE access network according to the updated PCC rule.
可选的,如果第一配额分片不为UE的最后一个配额分片,那么第一配额分片耗尽后,PCRF实体在根据第一配额分片进行配额扣减后,会根据UE的签约信息生成第二PCC规则和第二配额分片,并在返回更新消息的响应消息中携带第二PCC规则和第二配额分片。这样PCEF实体在接收到更新消息的响应消息后,会删除第一PCC规则,安装第二PCC规则,并基于第二PCC规则和第二配额分片对UE访问网络进行配额监控。Optionally, if the first quota fragment is not the last quota fragment of the UE, after the first quota fragment is exhausted, the PCRF entity performs the quota deduction according to the first quota fragment, and the UE is contracted according to the UE. The information generates a second PCC rule and a second quota fragment, and carries the second PCC rule and the second quota fragment in the response message that returns the update message. After receiving the response message of the update message, the PCEF entity deletes the first PCC rule, installs the second PCC rule, and performs quota monitoring on the UE access network based on the second PCC rule and the second quota fragment.
同样的,PCRF实体在生成第二配额分片时,还是会判断第二配额分片是否为预设配额的配额分片(如最后一个配额分片),如果是,则返回的更新消息的响应消息中会携带指示信息,如果不是,则不会携带。也就是说,PCRF实体在分配配额分片时,都会判断配额分片是否为预设类型的配额分片,如果是,则在返回响应消息中携带指示信息。而PCEF实体在配额分片耗尽时也会判断该分片是否为预设类型的配额分片,如果是,则在上报更新消息但未接收到响应消息的期间不允许UE继续访问网络。具体实现方式同步骤405和406,本发明实施例在此不再赘述。Similarly, when generating the second quota fragment, the PCRF entity still determines whether the second quota fragment is a quota fragment of the preset quota (such as the last quota fragment), and if so, the response of the returned update message. The message will carry the indication message, if not, it will not be carried. That is, the PCRF entity determines whether the quota fragment is a preset type of quota fragment when the quota fragment is allocated, and if yes, carries the indication information in the return response message. The PCEF entity also determines whether the fragment is a preset type of quota fragment when the quota fragment is exhausted. If yes, the UE is not allowed to continue to access the network during the period of reporting the update message but not receiving the response message. The specific implementation is the same as the steps 405 and 406, and details are not described herein again.
可见,在图4所描述的方法中,在为UE建立IP-CAN会话后,PCRF实体在分配配额分片
时,如果该配额分片为预设类型的配额分片,PCRF实体会将指示该配额分片为预设类型的配额分片的指示信息返回给PCEF实体。如果该配额分片耗尽,在上报配额的更新消息后,以及还没接收到更新消息的响应消息期间,PCEF实体会拒绝UE继续访问网络。这样可以在最后一个配额分片耗尽需要切换计费规则的情况下,避免未接收到新的规则期间PCC架构按照原有的规则进行计费,从而可以提高计费的准确度。It can be seen that in the method described in FIG. 4, after establishing an IP-CAN session for the UE, the PCRF entity allocates quota fragments.
If the quota fragment is a preset type of quota fragment, the PCRF entity returns the indication information indicating the quota fragment to the preset type of quota fragment to the PCEF entity. If the quota fragment is exhausted, the PCEF entity will refuse the UE to continue to access the network after the update message of the quota is reported and the response message of the update message has not been received. In this way, in the case that the last quota fragment is exhausted and the charging rule needs to be switched, the PCC architecture is prevented from performing charging according to the original rule during the period when the new rule is not received, thereby improving the accuracy of the charging.
基于图1所示的系统架构,本发明实施例公开的另一种PCEF实体。请参阅图5,图5是本发明实施例公开的另一种PCEF实体的结构示意图。如图5所示,该PCEF实体可以包括:Another PCEF entity disclosed in the embodiment of the present invention is based on the system architecture shown in FIG. Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of another PCEF entity according to an embodiment of the present invention. As shown in FIG. 5, the PCEF entity may include:
监控模块501,用于在为UE建立IP-CAN会话后,基于接收的第一PCC规则和第一配额分片对UE访问网络进行配额监控。The monitoring module 501 is configured to perform quota monitoring on the UE access network based on the received first PCC rule and the first quota fragment after establishing an IP-CAN session for the UE.
收发模块502,用于在第一配额分片的剩余配额小于或等于预设配额阈值的情况下,向PCRF实体发送更新消息,更新消息用于指示第一配额分片的剩余配额小于或等于预设配额阈值。The transceiver module 502 is configured to send, to the PCRF entity, an update message, where the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, where the update message is used to indicate that the remaining quota of the first quota fragment is less than or equal to the pre- Set the quota threshold.
判断模块503,用于判断第一配额分片是否为预设类型的配额分片。The determining module 503 is configured to determine whether the first quota fragment is a preset type of quota fragment.
其中,收发模块502,还用于接收更新消息的响应消息。The transceiver module 502 is further configured to receive a response message of the update message.
控制模块504,用于在判断模块503判断出第一配额分片为预设类型的配额分片,且收发模块502未接收到更新消息的响应消息的情况下,拒绝UE访问网络。The control module 504 is configured to: when the determining module 503 determines that the first quota fragment is a preset type of quota fragment, and the transceiver module 502 does not receive the response message of the update message, the UE is denied access to the network.
本发明实施例中,当UE开启数据流量功能的时候,UE会向PCEF实体发送IP-CAN会话建立请求消息,收发模块502会基于该会话建立请求消息向PCRF实体发送CCR初始消息。PCRF会基于CCR初始消息包括的UE的用户标识查找UE的签约信息,从而依据签约信息生成QoS规则,并将分配的第一配额分片、第一PCC规则(包括QoS规则)以及触发器等信息通过CCA初始消息返回给PCEF实体。收发模块502在接收到PCRF实体返回的信息后,PCEF实体会根据该信息安装PCC规则,收发模块502则向UE返回IP-CAN会话建立响应消息,从而完成了IP-CAN会话的建立。In the embodiment of the present invention, when the UE starts the data traffic function, the UE sends an IP-CAN session establishment request message to the PCEF entity, and the transceiver module 502 sends a CCR initial message to the PCRF entity based on the session establishment request message. The PCRF searches for the subscription information of the UE based on the user identifier of the UE included in the CCR initial message, and generates a QoS rule according to the subscription information, and allocates the first quota fragment, the first PCC rule (including the QoS rule), and the trigger. Return to the PCEF entity via the CCA initial message. After receiving the information returned by the PCRF entity, the PCEF entity installs the PCC rule according to the information, and the transceiver module 502 returns an IP-CAN session establishment response message to the UE, thereby completing the establishment of the IP-CAN session.
其中,预设类型的配额分片可以是UE的最后一个配额分片,但是如果UE当前访问的网络能提供较快的下载速度,如LTE等高速网络,且每个配额分片的容量比较小,那么预设类型的配额分片还可以是倒数第二个或者倒数第三个配额分片,使得PCEF发送的更新消息有足够的响应时间。第一配额分片的剩余配额是指第一配额分片中除了UE访问网络所消耗的配额之外剩下的配额。The preset type of the quota fragment may be the last quota fragment of the UE, but if the network currently accessed by the UE can provide a faster download speed, such as a high-speed network such as LTE, and the capacity of each quota fragment is relatively small. Then, the preset type of quota fragmentation can also be the second last or the third last quota fragment, so that the update message sent by the PCEF has sufficient response time. The remaining quota of the first quota fragment refers to the remaining quota in the first quota fragment except for the quota consumed by the UE to access the network.
可选的,第一PCC规则和第一配额分片由PCRF实体基于UE的签约信息生成并通过Gx接口的使用监控信息发送给PCEF实体;其中,判断模块503判断第一配额分片是否为预设类型的配额分片的具体方式可以为:Optionally, the first PCC rule and the first quota fragment are generated by the PCRF entity based on the subscription information of the UE, and are sent to the PCEF entity by using the monitoring information of the Gx interface. The determining module 503 determines whether the first quota fragment is pre- The specific way to set the type of quota fragmentation can be:
判断使用监控信息中是否存在指示信息,如果存在,确定第一配额分片为预设类型的配额分片。其中,该指示信息用于指示第一配额分片为UE的最后一个配额分片。Determine whether the indication information exists in the usage monitoring information. If yes, determine that the first quota fragment is a preset type of quota fragment. The indication information is used to indicate that the first quota fragment is the last quota fragment of the UE.
本发明实施例中,如果PCRF实体分配的第一配额分片为UE的最后一个配额分片,PCRF实体在返回第一PCC规则和第一配额分片的同时,会将用于指示第一配额分片为最后一个配额分片的指示信息发送给PCEF实体。其中,这些信息可以是PCRF实体通过Gx接口的使用监控信息发送给PCEF实体的。因此,在第一配额分片耗尽后,判断模块503会判断使用监控信息中是否存在这样的指示信息,如果存在,则表明第一配额分片为预设类型的配额分片,控
制模块504从而在收发模块502还没有接收到更新消息的响应消息的期间,禁止UE访问网络。In the embodiment of the present invention, if the first quota fragment allocated by the PCRF entity is the last quota fragment of the UE, the PCRF entity returns the first PCC rule and the first quota fragment, and is used to indicate the first quota. The fragmentation is sent to the PCEF entity for the indication of the last quota fragment. The information may be sent by the PCRF entity to the PCEF entity through the usage monitoring information of the Gx interface. Therefore, after the first quota fragment is exhausted, the determining module 503 determines whether there is such indication information in the usage monitoring information, and if yes, the first quota fragment is a preset type of quota fragment, and the control is performed.
The module 504 thus prohibits the UE from accessing the network while the transceiver module 502 has not received the response message for the update message.
可选的,控制模块504,还用于在第一配额分片不为预设类型的配额分片,且收发模块502未接收到更新消息的响应消息的情况下,允许UE访问网络。Optionally, the control module 504 is further configured to allow the UE to access the network if the first quota fragment is not a preset type of quota fragment, and the transceiver module 502 does not receive the response message of the update message.
可选的,更新消息的响应消息包括PCRF实体基于签约信息和第一配额分片生成的第二PCC规则和第二配额分片。那么监控模块501,还用于在收发模块502接收到更新消息的响应消息的情况下,根据第二PCC规则和第二配额分片对UE访问网络进行配额监控。Optionally, the response message of the update message includes a second PCC rule and a second quota fragment generated by the PCRF entity based on the subscription information and the first quota fragment. The monitoring module 501 is further configured to perform quota monitoring on the UE access network according to the second PCC rule and the second quota fragment if the transceiver module 502 receives the response message of the update message.
可见,在图5所描述的PCEF实体中,在为UE建立IP-CAN会话后,PCEF实体会基于PCRF实体分配的配额分片和PCC规则对UE访问网络进行配额监控,如果该配额分片耗尽,在上报配额的更新消息后,以及还没接收到更新消息的响应消息期间,PCEF实体会拒绝UE继续访问网络。这样可以在最后一个配额分片耗尽需要切换计费规则的情况下,避免未接收到新的规则期间PCC架构按照原有的规则进行计费,从而可以提高计费的准确度。It can be seen that, in the PCEF entity described in FIG. 5, after establishing an IP-CAN session for the UE, the PCEF entity performs quota monitoring on the UE access network based on the quota fragment and the PCC rule allocated by the PCRF entity, if the quota fragmentation consumes After the update message of the quota is reported, and the response message of the update message has not been received, the PCEF entity will refuse the UE to continue to access the network. In this way, in the case that the last quota fragment is exhausted and the charging rule needs to be switched, the PCC architecture is prevented from performing charging according to the original rule during the period when the new rule is not received, thereby improving the accuracy of the charging.
基于图1所示的系统架构,本发明实施例公开的另一种PCRF实体。请参阅图6,图6是本发明实施例公开的另一种PCRF实体的结构示意图。如图6所示,该PCRF实体可以包括:Another PCRF entity disclosed in the embodiment of the present invention is based on the system architecture shown in FIG. Please refer to FIG. 6. FIG. 6 is a schematic structural diagram of another PCRF entity according to an embodiment of the present invention. As shown in FIG. 6, the PCRF entity may include:
收发模块601,用于接收PCEF实体发送的CCR初始消息,其中,CCR初始消息用于请求为UE建立IP-CAN会话。The transceiver module 601 is configured to receive a CCR initial message sent by the PCEF entity, where the CCR initial message is used to request to establish an IP-CAN session for the UE.
生成模块602,用于响应CCR初始消息,基于UE的签约信息生成第一PCC规则和第一配额分片。The generating module 602 is configured to generate a first PCC rule and a first quota fragment based on the UE subscription information in response to the CCR initial message.
判断模块603,用于判断第一配额分片是否为预设类型的配额分片。The determining module 603 is configured to determine whether the first quota fragment is a preset type of quota fragment.
生成模块602,还用于在判断模块603判断出第一配额分片为预设类型的配额分片的情况下,生成用于指示第一配额分片为预设类型配额分片的指示信息。The generating module 602 is further configured to: when the determining module 603 determines that the first quota fragment is a preset type of quota fragment, generate indication information for indicating that the first quota fragment is a preset type quota fragment.
收发模块601,还用于向PCEF实体返回CCA初始消息,其中,该CCA初始消息包括第一PCC规则、第一配额分片和指示信息。The transceiver module 601 is further configured to return a CCA initial message to the PCEF entity, where the CCA initial message includes a first PCC rule, a first quota fragment, and indication information.
本发明实施例中,当UE开启数据流量功能的时候,UE会向PCEF实体发送IP-CAN会话建立请求消息,PCEF实体从而会基于该会话建立请求消息向PCRF实体发送CCR初始消息,请求建立IP-CAN会话。In the embodiment of the present invention, when the UE starts the data traffic function, the UE sends an IP-CAN session establishment request message to the PCEF entity, and the PCEF entity sends a CCR initial message to the PCRF entity based on the session establishment request message, requesting to establish an IP address. -CAN session.
可选的,预设类型的配额分片可以为UE的最后一个配额分片,但是如果UE当前访问的网络能提供较快的下载速度,如LTE等高速网络,且每个配额分片的容量比较小,那么预设类型的配额分片也可以为倒数第二个或者倒数第三个配额分片,从而使得PCEF发送的更新消息有足够的响应时间。Optionally, the preset type of quota fragment may be the last quota fragment of the UE, but if the network currently accessed by the UE can provide a faster download speed, such as a high-speed network such as LTE, and the capacity of each quota fragment. If the size is smaller, the preset type of quota fragmentation can also be the second last or the third last quota fragment, so that the update message sent by the PCEF has sufficient response time.
可选的,收发模块601向PCEF实体返回CCA初始消息的具体方式可以为:Optionally, the specific manner in which the transceiver module 601 returns the CCA initial message to the PCEF entity may be:
通过Gx接口中的使用监控信息向PCEF实体返回CCA初始消息,以便PCEF实体基于第一PCC规则和第一配额分片对UE访问网络进行配额监控。如果第一配额分片的剩余配额小于或等于预设配额阈值,PCEF实体向PCRF实体发送用于指示第一配额分片的剩余配额小于或等于预设配额阈值的更新消息,在还没接收到该更新消息的响应消息的情况下,PCEF实体拒绝UE访问网络。The CCA initial message is returned to the PCEF entity by using the monitoring information in the Gx interface, so that the PCEF entity performs quota monitoring on the UE access network based on the first PCC rule and the first quota fragment. If the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, the PCEF entity sends an update message to the PCRF entity to indicate that the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, and has not received yet In the case of the response message of the update message, the PCEF entity denies the UE access to the network.
进一步的,如果第一配额分片不为UE的最后一个配额分片,如果第一配额分片的剩余配额小于或等于预设配额阈值,PCEF实体向PCRF实体发送用于指示第一配额分片的剩余配额小于或等于预设配额阈值的更新消息,在还没接收到该更新消息的响应消息的情况下,PCEF
实体允许UE访问网络。Further, if the first quota fragment is not the last quota fragment of the UE, if the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, the PCEF entity sends the PCRF entity to indicate the first quota fragmentation. The update message with the remaining quota less than or equal to the preset quota threshold, in the case that the response message of the update message has not been received, the PCEF
The entity allows the UE to access the network.
可见,在图6所描述的PCRF实体中,在为UE建立IP-CAN会话后,PCRF实体在分配配额分片时,如果该配额分片为预设类型的配额分片,PCRF实体会将指示该配额分片为预设类型的配额分片的指示信息返回给PCEF实体。如果该配额分片耗尽,在上报配额的更新消息后,以及还没接收到更新消息的响应消息期间,PCEF实体会拒绝UE继续访问网络。这样可以在最后一个配额分片耗尽需要切换计费规则的情况下,避免未接收到新的规则期间PCC架构按照原有的规则进行计费,从而可以提高计费的准确度。It can be seen that, in the PCRF entity described in FIG. 6, after the IP-CAN session is established for the UE, the PCRF entity allocates the quota fragment, and if the quota fragment is a preset type of quota fragment, the PCRF entity will indicate The quota fragment is returned to the PCEF entity for the indication information of the preset type of quota fragment. If the quota fragment is exhausted, the PCEF entity will refuse the UE to continue to access the network after the update message of the quota is reported and the response message of the update message has not been received. In this way, in the case that the last quota fragment is exhausted and the charging rule needs to be switched, the PCC architecture is prevented from performing charging according to the original rule during the period when the new rule is not received, thereby improving the accuracy of the charging.
基于图1所示的系统架构,本发明实施例公开的一种策略控制系统。请参阅图7,图7是本发明实施例公开的一种策略控制系统的结构示意图。如图7所示,该系统可以包括UE701、PCEF实体702和PCRF实体703,其中:Based on the system architecture shown in FIG. 1, a policy control system disclosed in the embodiment of the present invention. Please refer to FIG. 7. FIG. 7 is a schematic structural diagram of a policy control system according to an embodiment of the present invention. As shown in FIG. 7, the system can include a UE 701, a PCEF entity 702, and a PCRF entity 703, where:
当UE701开启数据流量功能的时候,UE701会向PCEF实体702发送IP-CAN会话建立请求消息,请求建立IP-CAN会话,PCEF实体702会基于接收的IP-CAN会话建立请求消息向PCRF实体703发送CCR初始消息。When the UE 701 starts the data traffic function, the UE 701 sends an IP-CAN session establishment request message to the PCEF entity 702 requesting to establish an IP-CAN session, and the PCEF entity 702 sends the IP-CAN session establishment request message to the PCRF entity 703 based on the received IP-CAN session establishment request message. CCR initial message.
PCRF实体703会基于接收的CCR初始消息通过CCR初始消息包括的用户标识查找UE701的签约信息,并基于签约信息生成第一PCC规则和第一配额分片,其中,如果第一配额分片为预设类型的配额分片(最后一个、倒数第二个或者倒数第三个配额分片),那么PCRF实体703会生成指示第一配额分片为预设类型的配额分片的指示信息(如果不是,则不会生成指示信息)。因此,PCRF实体703向PCEF实体702返回的CCA初始消息中会包括第一配额分片,第一PCC规则以及指示信息。The PCRF entity 703 searches for the subscription information of the UE 701 by using the user identifier included in the CCR initial message, and generates a first PCC rule and a first quota fragment based on the subscription information, where the first quota fragment is pre- The type of the quota fragment (the last one, the second last or the third last quota fragment), the PCRF entity 703 generates the indication information indicating that the first quota fragment is a preset type of quota fragment (if not , no indication information will be generated). Therefore, the CCA initial message returned by the PCRF entity 703 to the PCEF entity 702 may include a first quota fragment, a first PCC rule, and indication information.
因此,PCEF实体702在接收到CCA初始消息后,向UE701返回IP-CAN建立响应消息,并基于第一PCC规则和第一配额分片对UE701访问网络进行配额监控。在第一配额分片的剩余配额小于或等于预设配额阈值(第一配额分片耗尽)的情况下,PCEF实体702会向PCRF实体703发送更新消息,同时会判断是否存在指示信息,如果存在,则表明第一配额分片为预设类型的配额分片,PCEF实体702从而会在没有接收到PCRF实体703返回的更新消息的响应消息的期间不允许UE701访问网络。Therefore, after receiving the CCA initial message, the PCEF entity 702 returns an IP-CAN setup response message to the UE 701, and performs quota monitoring on the UE 701 access network based on the first PCC rule and the first quota fragment. If the remaining quota of the first quota fragment is less than or equal to the preset quota threshold (the first quota fragment is exhausted), the PCEF entity 702 sends an update message to the PCRF entity 703, and determines whether the indication information exists. If yes, it indicates that the first quota fragment is a preset type of quota fragment, and the PCEF entity 702 may not allow the UE 701 to access the network during the period when the response message of the update message returned by the PCRF entity 703 is not received.
当然,如果第一配额分片不为预设类型的配额分片,PCEF实体702在没有接收到PCRF实体703返回的更新消息的响应消息的期间会允许UE701访问网络。Of course, if the first quota fragment is not a preset type of quota fragmentation, the PCEF entity 702 may allow the UE 701 to access the network during the period of not receiving the response message of the update message returned by the PCRF entity 703.
可见,在图7所描述的策略控制系统中,在为UE建立IP-CAN会话后,PCRF实体在分配配额分片时,如果该配额分片为预设类型的配额分片,PCRF实体会将指示该配额分片为预设类型的配额分片的指示信息返回给PCEF实体。如果该配额分片耗尽,在上报配额的更新消息后,以及还没接收到更新消息的响应消息期间,PCEF实体会拒绝UE继续访问网络。这样可以在最后一个配额分片耗尽需要切换计费规则的情况下,避免未接收到新的规则期间PCC架构按照原有的规则进行计费,从而可以提高计费的准确度。It can be seen that, in the policy control system described in FIG. 7, after the IP-CAN session is established for the UE, the PCRF entity allocates the quota fragment, and if the quota fragment is a preset type of quota fragment, the PCRF entity will The indication information indicating that the quota fragment is a preset type of quota fragment is returned to the PCEF entity. If the quota fragment is exhausted, the PCEF entity will refuse the UE to continue to access the network after the update message of the quota is reported and the response message of the update message has not been received. In this way, in the case that the last quota fragment is exhausted and the charging rule needs to be switched, the PCC architecture is prevented from performing charging according to the original rule during the period when the new rule is not received, thereby improving the accuracy of the charging.
需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, in the above embodiments, the descriptions of the various embodiments are different, and the parts that are not described in detail in a certain embodiment may be referred to the related descriptions of other embodiments. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.
本发明实施例PCEF实体以及PCRF实体中的模块可以根据实际需要进行合并、划分和删
减。The PCEF entity and the modules in the PCRF entity may be merged, divided, and deleted according to actual needs.
Less.
本发明实施例中PCEF实体以及PCRF实体,可以通过通用集成电路,例如CPU(Central Processing Unit,中央处理器),或通过ASIC(Application Specific Integrated Circuit,专用集成电路)来实现。The PCEF entity and the PCRF entity in the embodiment of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上对本发明实施例公开的一种策略控制方法、装置及系统进行了详细介绍,本文中应用了具体实例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。
The foregoing is a detailed description of a method, a device and a system for controlling a policy disclosed in the embodiments of the present invention. The principles and embodiments of the present invention are described in the specific examples. The description of the above embodiments is only for helping to understand the present invention. And the core idea of the present invention; at the same time, those skilled in the art, according to the idea of the present invention, there will be changes in the specific embodiments and application scope. In summary, the content of the present specification should not be construed as the present invention. limits.
Claims (17)
- 一种策略控制方法,应用于策略与计费控制PCC架构,所述PCC架构包括策略与计费规则控制功能PCRF实体和策略与计费执行功能PCEF实体,其特征在于,包括:A policy control method is applied to the policy and charging control PCC architecture. The PCC architecture includes a policy and charging rule control function PCRF entity and a policy and charging execution function PCEF entity, and the method includes:在为用户设备UE建立互联网协议IP-连接访问网络CAN会话后,所述PCEF实体基于接收的第一PCC规则和第一配额分片对所述UE访问网络进行配额监控;After establishing an Internet Protocol IP-Connected Access Network CAN session for the user equipment UE, the PCEF entity performs quota monitoring on the UE access network based on the received first PCC rule and the first quota fragment;在所述第一配额分片的剩余配额小于或等于预设配额阈值的情况下,所述PCEF实体向所述PCRF实体发送更新消息,所述更新消息用于指示所述第一配额分片的剩余配额小于或等于所述预设配额阈值;The PCEF entity sends an update message to the PCRF entity, where the remaining quota of the first quota fragment is less than or equal to a preset quota threshold, where the update message is used to indicate that the first quota fragment is The remaining quota is less than or equal to the preset quota threshold;所述PCEF实体判断所述第一配额分片是否为预设类型的配额分片;Determining, by the PCEF entity, whether the first quota fragment is a preset type of quota fragment;在所述第一配额分片为所述预设类型的配额分片,且未接收到所述更新消息的响应消息的情况下,所述PCEF实体拒绝所述UE访问网络。The PCEF entity denies the UE from accessing the network if the first quota fragment is the preset type of quota fragment and the response message of the update message is not received.
- 根据权利要求1所述的方法,其特征在于,所述第一PCC规则和所述第一配额分片由所述PCRF实体基于所述UE的签约信息生成并通过Gx接口的使用监控信息发送给所述PCEF实体;所述PCEF实体判断所述第一配额分片是否为预设类型的配额分片,包括:The method according to claim 1, wherein the first PCC rule and the first quota fragment are generated by the PCRF entity based on the subscription information of the UE and sent to the usage monitoring information of the Gx interface. The PCEF entity: the PCEF entity determines whether the first quota fragment is a preset type of quota fragment, and includes:所述PCEF实体判断所述使用监控信息中是否存在指示信息,所述指示信息用于指示所述第一配额分片为所述UE的最后一个配额分片;The PCEF entity determines whether the indication information exists in the usage monitoring information, where the indication information is used to indicate that the first quota fragment is the last quota fragment of the UE;在所述使用监控信息中存在所述指示信息的情况下,所述PCEF实体确定所述第一配额分片为预设类型的配额分片。In the case that the indication information exists in the usage monitoring information, the PCEF entity determines that the first quota fragment is a preset type of quota fragment.
- 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:在所述第一配额分片不为所述预设类型的配额分片,且未接收到所述更新消息的响应消息的情况下,所述PCEF实体允许所述UE访问网络。And in a case that the first quota fragment is not the quota type of the preset type, and the response message of the update message is not received, the PCEF entity allows the UE to access the network.
- 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method of claim 3, wherein the method further comprises:所述PCEF实体接收所述更新消息的响应消息,所述更新消息的响应消息包括所述PCRF实体基于所述签约信息和所述第一配额分片生成的第二PCC规则和第二配额分片;Receiving, by the PCEF entity, a response message of the update message, where the response message of the update message includes a second PCC rule and a second quota fragment generated by the PCRF entity based on the subscription information and the first quota fragment ;所述PCEF实体根据所述第二PCC规则和所述第二配额分片对所述UE访问网络进行配额监控。The PCEF entity performs quota monitoring on the UE access network according to the second PCC rule and the second quota fragment.
- 一种策略控制方法,应用于PCC架构,所述PCC架构包括PCRF实体和PCEF实体,其特征在于,包括:A policy control method is applied to a PCC architecture, where the PCC architecture includes a PCRF entity and a PCEF entity, and includes:所述PCRF实体接收所述PCEF实体发送的信用控制请求CCR初始消息,所述CCR初始消息用于请求为UE建立IP-CAN会话;Receiving, by the PCRF entity, a credit control request CCR initial message sent by the PCEF entity, where the CCR initial message is used to request to establish an IP-CAN session for the UE;所述PCRF实体响应所述CCR初始消息,基于所述UE的签约信息生成第一PCC规则和第一配额分片,并判断所述第一配额分片是否为预设类型的配额分片;The PCRF entity, in response to the CCR initial message, generates a first PCC rule and a first quota fragment based on the subscription information of the UE, and determines whether the first quota fragment is a preset type of quota fragment;在所述第一配额分片为所述预设类型的配额分片的情况下,所述PCRF实体生成指示信息,所述指示信息用于指示所述第一配额分片为所述预设类型配额分片; In the case that the first quota fragment is the quota type of the preset type, the PCRF entity generates indication information, where the indication information is used to indicate that the first quota fragment is the preset type. Quota fragmentation;所述PCRF实体向所述PCEF实体返回信用控制应答CCA初始消息,所述CCA初始消息包括所述第一PCC规则、所述第一配额分片和指示信息。The PCRF entity returns a credit control response CCA initial message to the PCEF entity, where the CCA initial message includes the first PCC rule, the first quota fragment, and indication information.
- 根据权利要求5所述的方法,其特征在于,所述预设类型的配额分片为所述UE的最后一个配额分片。The method according to claim 5, wherein the preset type of quota fragment is the last quota fragment of the UE.
- 根据权利要求5或6所述的方法,其特征在于,所述PCRF实体向所述PCEF实体返回CCA初始消息,包括:The method according to claim 5 or 6, wherein the PCRF entity returns a CCA initial message to the PCEF entity, including:所述PCRF实体通过Gx接口中的使用监控信息向所述PCEF实体返回CCA初始消息,以便所述PCEF实体在基于所述第一PCC规则和所述第一配额分片监控所述第一配额分片的剩余配额小于或等于预设配额阈值,向所述PCRF实体发送用于指示所述第一配额分片的剩余配额小于或等于所述预设配额阈值的更新消息,且未接收到所述更新消息的响应消息的情况下,拒绝所述UE访问网络。The PCRF entity returns a CCA initial message to the PCEF entity by using the monitoring information in the Gx interface, so that the PCEF entity monitors the first quota point based on the first PCC rule and the first quota fragment The remaining quota of the slice is less than or equal to the preset quota threshold, and the update message is sent to the PCRF entity to indicate that the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, and the In the case of a response message to update a message, the UE is denied access to the network.
- 一种PCEF实体,应用于PCC架构,其特征在于,包括:A PCEF entity, applied to a PCC architecture, comprising:监控模块,用于在为UE建立IP-CAN会话后,基于接收的第一PCC规则和第一配额分片对所述UE访问网络进行配额监控;a monitoring module, configured to perform quota monitoring on the UE access network based on the received first PCC rule and the first quota fragment after establishing an IP-CAN session for the UE;收发模块,用于在所述第一配额分片的剩余配额小于或等于预设配额阈值的情况下,向PCRF实体发送更新消息,所述更新消息用于指示所述第一配额分片的剩余配额小于或等于所述预设配额阈值;The sending and receiving module is configured to send, to the PCRF entity, an update message, where the remaining quota of the first quota fragment is less than or equal to a preset quota threshold, where the update message is used to indicate the remaining of the first quota fragment The quota is less than or equal to the preset quota threshold;判断模块,用于判断所述第一配额分片是否为预设类型的配额分片;a determining module, configured to determine whether the first quota fragment is a preset type of quota fragment;所述收发模块,还用于接收所述更新消息的响应消息;The transceiver module is further configured to receive a response message of the update message;控制模块,用于在所述判断模块判断出所述第一配额分片为所述预设类型的配额分片,且所述收发模块未接收到所述更新消息的响应消息的情况下,拒绝所述UE访问网络。a control module, configured to: when the determining module determines that the first quota fragment is the quota type of the preset type, and the transceiver module does not receive the response message of the update message, rejecting The UE accesses the network.
- 根据权利要求8所述的PCEF实体,其特征在于,所述第一PCC规则和所述第一配额分片由所述PCRF实体基于所述UE的签约信息生成并通过Gx接口的使用监控信息发送给所述PCEF实体;所述判断模块判断所述第一配额分片是否为预设类型的配额分片的具体方式为:The PCEF entity according to claim 8, wherein the first PCC rule and the first quota fragment are generated by the PCRF entity based on subscription information of the UE and sent through usage monitoring information of a Gx interface. The specific manner of the determining, by the determining module, whether the first quota fragment is a preset type of quota fragment is:判断所述使用监控信息中是否存在指示信息,所述指示信息用于指示所述第一配额分片为所述UE的最后一个配额分片;Determining whether the indication information exists in the usage monitoring information, where the indication information is used to indicate that the first quota fragment is the last quota fragment of the UE;在所述使用监控信息中存在所述指示信息的情况下,确定所述第一配额分片为预设类型的配额分片。In the case that the indication information exists in the usage monitoring information, the first quota fragment is determined to be a preset type of quota fragment.
- 根据权利要求8或9所述的PCEF实体,其特征在于,A PCEF entity according to claim 8 or 9, characterized in that所述控制模块,还用于在所述判断模块判断出所述第一配额分片不为所述预设类型的配额分片,且所述收发模块未接收到所述更新消息的响应消息的情况下,允许所述UE访问网络。The control module is further configured to: when the determining module determines that the first quota fragment is not the quota type of the preset type, and the transceiver module does not receive the response message of the update message In this case, the UE is allowed to access the network.
- 根据权利要求10所述的PCEF实体,其特征在于,所述更新消息的响应消息包括所述PCRF实体基于所述签约信息和所述第一配额分片生成的第二PCC规则和第二配额分片;The PCEF entity according to claim 10, wherein the response message of the update message includes a second PCC rule and a second quota score generated by the PCRF entity based on the subscription information and the first quota fragment. sheet;所述监控模块,还用于在所述收发模块接收到所述更新消息的响应消息的情况下,根据 所述第二PCC规则和所述第二配额分片对所述UE访问网络进行配额监控。The monitoring module is further configured to: when the transceiver module receives the response message of the update message, according to The second PCC rule and the second quota fragment perform quota monitoring on the UE access network.
- 一种PCEF实体,应用于PCC架构,其特征在于,包括:A PCEF entity, applied to a PCC architecture, comprising:处理器,用于在为UE建立IP-CAN会话后,基于接收的第一PCC规则和第一配额分片对所述UE访问网络进行配额监控;a processor, configured to perform quota monitoring on the UE access network based on the received first PCC rule and the first quota fragment after establishing an IP-CAN session for the UE;收发器,用于在所述第一配额分片的剩余配额小于或等于预设配额阈值的情况下,向PCRF实体发送更新消息,所述更新消息用于指示所述第一配额分片的剩余配额小于或等于所述预设配额阈值;a transceiver, configured to send, to the PCRF entity, an update message, where the remaining quota of the first quota fragment is less than or equal to a preset quota threshold, where the update message is used to indicate the remaining of the first quota fragment The quota is less than or equal to the preset quota threshold;所述处理器,还用于判断所述第一配额分片是否为预设类型的配额分片;The processor is further configured to determine whether the first quota fragment is a preset type of quota fragment;所述收发器,还用于接收所述更新消息的响应消息;The transceiver is further configured to receive a response message of the update message;所述处理器,还用于在所述第一配额分片为所述预设类型的配额分片,且所述收发器未接收到所述更新消息的响应消息的情况下,拒绝所述UE访问网络。The processor is further configured to: when the first quota fragment is a quota fragment of the preset type, and the transceiver does not receive the response message of the update message, reject the UE Access the network.
- 一种PCRF实体,应用于PCC架构,其特征在于,包括:A PCRF entity is applied to a PCC architecture and includes:收发模块,用于接收PCEF实体发送的CCR初始消息,所述CCR初始消息用于请求为UE建立IP-CAN会话;a transceiver module, configured to receive a CCR initial message sent by a PCEF entity, where the CCR initial message is used to request to establish an IP-CAN session for the UE;生成模块,用于响应所述CCR初始消息,基于所述UE的签约信息生成第一PCC规则和第一配额分片;a generating module, configured to generate a first PCC rule and a first quota fragment based on the subscription information of the UE, in response to the CCR initial message;判断模块,用于判断所述第一配额分片是否为预设类型的配额分片;a determining module, configured to determine whether the first quota fragment is a preset type of quota fragment;所述生成模块,还用于在所述判断模块判断出所述第一配额分片为所述预设类型的配额分片的情况下,生成指示信息,所述指示信息用于指示所述第一配额分片为所述预设类型配额分片;The generating module is further configured to: when the determining module determines that the first quota fragment is the quota type of the preset type, generate indication information, where the indication information is used to indicate the first A quota fragment is a quota of the preset type quota;所述收发模块,还用于向所述PCEF实体返回CCA初始消息,所述CCA初始消息包括所述第一PCC规则、所述第一配额分片和指示信息。The transceiver module is further configured to return a CCA initial message to the PCEF entity, where the CCA initial message includes the first PCC rule, the first quota fragment, and indication information.
- 根据权利要求13所述的PCRF实体,其特征在于,所述预设类型的配额分片为所述UE的最后一个配额分片。The PCRF entity according to claim 13, wherein the preset type of quota fragment is the last quota fragment of the UE.
- 根据权利要求13或14所述的PCRF实体,其特征在于,所述收发模块向所述PCEF实体返回CCA初始消息的具体方式为:The PCRF entity according to claim 13 or 14, wherein the specific manner in which the transceiver module returns a CCA initial message to the PCEF entity is:通过Gx接口中的使用监控信息向所述PCEF实体返回CCA初始消息,以便所述PCEF实体在基于所述第一PCC规则和所述第一配额分片监控所述第一配额分片的剩余配额小于或等于预设配额阈值,向所述PCRF实体发送用于指示所述第一配额分片的剩余配额小于或等于所述预设配额阈值的更新消息,且未接收到所述更新消息的响应消息的情况下,拒绝所述UE访问网络。Returning, by using the monitoring information in the Gx interface, the CCA initial message to the PCEF entity, so that the PCEF entity monitors the remaining quota of the first quota fragment based on the first PCC rule and the first quota fragment The update message is sent to the PCRF entity to indicate that the remaining quota of the first quota fragment is less than or equal to the preset quota threshold, and the response of the update message is not received. In the case of a message, the UE is denied access to the network.
- 一种PCRF实体,应用于PCC架构,其特征在于,包括:A PCRF entity is applied to a PCC architecture and includes:收发器,用于接收PCEF实体发送的CCR初始消息,所述CCR初始消息用于请求为UE建立IP-CAN会话;a transceiver, configured to receive a CCR initial message sent by a PCEF entity, where the CCR initial message is used to request to establish an IP-CAN session for the UE;处理器,用于响应所述CCR初始消息,基于所述UE的签约信息生成第一PCC规则和第一 配额分片,并判断所述第一配额分片是否为预设类型的配额分片;a processor, configured to generate a first PCC rule and a first message based on the subscription information of the UE in response to the CCR initial message The quota is fragmented, and it is determined whether the first quota fragment is a preset type of quota fragment;所述处理器,还用于所述第一配额分片为所述预设类型的配额分片的情况下,生成指示信息,所述指示信息用于指示所述第一配额分片为所述预设类型配额分片;The processor is further configured to: when the first quota fragment is the quota type of the preset type, generate indication information, where the indication information is used to indicate that the first quota fragment is the Preset type quota fragmentation;所述收发器,还用于向所述PCEF实体返回CCA初始消息,所述CCA初始消息包括所述第一PCC规则、所述第一配额分片和指示信息。The transceiver is further configured to return a CCA initial message to the PCEF entity, where the CCA initial message includes the first PCC rule, the first quota fragment, and indication information.
- 一种策略控制系统,应用于PCC架构,其特征在于,所述系统包括如权利要求8-11任一项所述的PCEF实体和如权利要求13-15任一项所述的PCRF实体。 A policy control system for use in a PCC architecture, characterized in that the system comprises a PCEF entity according to any of claims 8-11 and a PCRF entity according to any of claims 13-15.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610977819.2 | 2016-10-31 | ||
CN201610977819.2A CN108011725B (en) | 2016-10-31 | 2016-10-31 | Policy control method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018076974A1 true WO2018076974A1 (en) | 2018-05-03 |
Family
ID=62024294
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/102806 WO2018076974A1 (en) | 2016-10-31 | 2017-09-21 | Policy control method, apparatus and system |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN112702180B (en) |
WO (1) | WO2018076974A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP4099632A4 (en) * | 2020-03-04 | 2023-07-19 | Huawei Technologies Co., Ltd. | Communication method, device and system |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111465018B (en) * | 2019-01-21 | 2021-12-31 | 华为技术有限公司 | Method, equipment and system for enhancing cross-network access security |
CN112738743A (en) * | 2019-10-28 | 2021-04-30 | 中国移动通信有限公司研究院 | Business service, real-time charging method, device, edge server and charging system |
CN114157614A (en) * | 2021-11-30 | 2022-03-08 | 上海派拉软件股份有限公司 | Resource management method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102497379A (en) * | 2011-12-19 | 2012-06-13 | 成都市华为赛门铁克科技有限公司 | Network access method, system and equipment |
CN102647698A (en) * | 2012-04-10 | 2012-08-22 | 华为技术有限公司 | Policy and charging control (PCC) system and method |
US20130114460A1 (en) * | 2010-07-21 | 2013-05-09 | Telefonaktiebolaget L M Ericsson (Publ) | Technique for Packet Flow Analysis |
CN104869552A (en) * | 2014-02-25 | 2015-08-26 | 华为技术有限公司 | Method for reporting flow and device |
CN106817687A (en) * | 2015-12-01 | 2017-06-09 | 中兴通讯股份有限公司 | Strategy and charging control fast adjustment method, apparatus and system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101370263B (en) * | 2007-08-15 | 2012-06-06 | 华为技术有限公司 | Policy control method and system |
WO2012079647A1 (en) * | 2010-12-17 | 2012-06-21 | Telefonaktiebolaget Lm Ericsson (Publ) | Policy and/or charging control |
US8983429B2 (en) * | 2012-05-30 | 2015-03-17 | Alcatel Lucent | Temporarily disable out-of-credit PCC rule |
CN105812149B (en) * | 2014-12-30 | 2019-05-24 | 华为技术有限公司 | Charging method, system and the relevant device of data service |
CN104735605B (en) * | 2015-02-06 | 2018-05-11 | 中国联合网络通信集团有限公司 | The method and system of customer service control |
CN105873005A (en) * | 2016-03-29 | 2016-08-17 | 乐视控股(北京)有限公司 | Traffic processing method and application server |
-
2016
- 2016-10-31 CN CN202110076437.3A patent/CN112702180B/en active Active
- 2016-10-31 CN CN201610977819.2A patent/CN108011725B/en active Active
-
2017
- 2017-09-21 WO PCT/CN2017/102806 patent/WO2018076974A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130114460A1 (en) * | 2010-07-21 | 2013-05-09 | Telefonaktiebolaget L M Ericsson (Publ) | Technique for Packet Flow Analysis |
CN102497379A (en) * | 2011-12-19 | 2012-06-13 | 成都市华为赛门铁克科技有限公司 | Network access method, system and equipment |
CN102647698A (en) * | 2012-04-10 | 2012-08-22 | 华为技术有限公司 | Policy and charging control (PCC) system and method |
CN104869552A (en) * | 2014-02-25 | 2015-08-26 | 华为技术有限公司 | Method for reporting flow and device |
CN106817687A (en) * | 2015-12-01 | 2017-06-09 | 中兴通讯股份有限公司 | Strategy and charging control fast adjustment method, apparatus and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP4099632A4 (en) * | 2020-03-04 | 2023-07-19 | Huawei Technologies Co., Ltd. | Communication method, device and system |
US12021695B2 (en) | 2020-03-04 | 2024-06-25 | Huawei Technologies Co., Ltd. | Communication method, apparatus, and system |
Also Published As
Publication number | Publication date |
---|---|
CN108011725B (en) | 2021-01-29 |
CN108011725A (en) | 2018-05-08 |
CN112702180A (en) | 2021-04-23 |
CN112702180B (en) | 2022-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9154314B2 (en) | Method and system for implementing usage monitoring control | |
JP5269985B2 (en) | Online charging architecture in LTE / EPC communication networks | |
US9647848B2 (en) | Application charging method, device, and system | |
EP2493222B1 (en) | Method and system for implementing usage monitoring control | |
CN102625272B (en) | A kind of consumption monitoring method and system for supporting current detection functionality | |
US20120117235A1 (en) | Method, Apparatus and Computer Program for Enforcing Policy Across Associated Sessions Taking Into Account a Total Usage Quota for Associated User | |
WO2018076974A1 (en) | Policy control method, apparatus and system | |
US20120158977A1 (en) | Method and System for Transmitting a Bearer Control Mode in Roaming Scenarios | |
WO2015143856A1 (en) | Method for application detection and control in roaming scenario and v-pcrf | |
WO2015143851A1 (en) | Usage monitoring method, apparatus and system | |
KR20150004893A (en) | Temporarily disable out-of-credit pcc rule | |
US20180309584A1 (en) | Data Service Charging Method, Apparutus, and System | |
CN102547854B (en) | Policy control method and device | |
EP2950581B1 (en) | Policy server, policy enforcement device, and various methods for dynamically excluding active service add-ons from bearer throttling for user terminals | |
WO2012041150A1 (en) | Volume usage monitoring method and policy control and charging rules functional entity | |
EP4064756B1 (en) | Bandwidth throttling in a radio access network | |
WO2018228215A1 (en) | Wireless communication method and device | |
US10616422B2 (en) | Apparatuses and methods for alternative sponsored data services | |
WO2012041148A1 (en) | Method and system for monitoring volume usage |
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: 17865660 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: 17865660 Country of ref document: EP Kind code of ref document: A1 |