WO2014101239A1 - Method and device for policy and charging controlling - Google Patents

Method and device for policy and charging controlling Download PDF

Info

Publication number
WO2014101239A1
WO2014101239A1 PCT/CN2012/088142 CN2012088142W WO2014101239A1 WO 2014101239 A1 WO2014101239 A1 WO 2014101239A1 CN 2012088142 W CN2012088142 W CN 2012088142W WO 2014101239 A1 WO2014101239 A1 WO 2014101239A1
Authority
WO
WIPO (PCT)
Prior art keywords
policy
service
service policy
pcc rule
predefined
Prior art date
Application number
PCT/CN2012/088142
Other languages
French (fr)
Chinese (zh)
Inventor
陈小利
夏渊
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201280003043.4A priority Critical patent/CN103392352B/en
Priority to PCT/CN2012/088142 priority patent/WO2014101239A1/en
Publication of WO2014101239A1 publication Critical patent/WO2014101239A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/026Capturing of monitoring data using flow identification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0894Policy-based network configuration management

Definitions

  • Embodiments of the present invention relate to the field of communication technologies, and, more particularly, to a policy and charging control method and apparatus. Background technique
  • the 3GPP (3rd Generation Partnership Project) PCC (Policy and Charging Control) architecture provides policy control and charging control based on traffic data flow.
  • the logical architecture of the PCC system includes the PCRF (Policy and Charging Rules Function) and the PCEF (Policy and Charging Enforcement Function).
  • the main function of the PCRF is to deliver a PCC Rule (PCC Rule) to the gateway.
  • the PCC Rule includes policy and charging information.
  • the gateway includes a GGSN (Gateway General Packet Radio Service Support Node), a PGW (Packet Data Network Gateway), an SGW (Serving Gateway), and the like.
  • the PCEF is a functional entity of the mobile gateway in the mobile packet network.
  • the gateway PGW in the network architecture of the SAE (System Architecture Evolution) network or the gateway GGSN in the 2G/3G network can also be deployed independently.
  • the PCEF function implements service-level QoS (Quality of Service) control and accounting, and can dynamically adjust policies.
  • QoS Quality of Service
  • the PCEF interacts with the PCRF through the Gx interface. After receiving the IP-CAN (Internet Protocol-Connectivity Access Network) session establishment or modification request, the PCEF sends a CCR (Cash-Control-Request) message to the PCRF to request a PCC policy. .
  • IP-CAN Internet Protocol-Connectivity Access Network
  • CCR Cash-Control-Request
  • the PCRF determines the PCC Rule based on the user request information, the user subscription information acquired from the SPR (Subscription Profile Repository), or the updated service flow information obtained from the AF (Application Function).
  • the PCRF #PCC Rule is sent to the PCEF through the Diameter CCA (Dimeter Credit-Control- Answer) message or the Diameter RAR (Re-Auth-Reuqest) message.
  • the following AVPs in the Gx interface are used. Value Pair, attribute Value pair).
  • a PCC Rule contains a rule name (Routine Name) and a user data detection filter (Service data flow filter), Charging and Policy control.
  • the PCEF installs, modifies or deletes the PCC Rule provided by the PCRF and performs authorized charging and policy control according to the PCC Rule.
  • the existing 3GPP specifications only define PCC rules corresponding to Layer 3/4 (also known as TCP/IP layer or L3/4) information.
  • Layer 3/4 also known as TCP/IP layer or L3/4
  • the 3GPP specification does not give a specific definition. It only shows that the PCRF can deliver custom pre-defined rules on PCEF to implement the PCC rules of L7.
  • each rule L3/4 and L7 have unique A billing and / or policy control.
  • the PCEF When the PCEF receives the user data packet, it matches the rule priority from high to low. If the L3/4 or L7 match of the high priority rule fails, the PCEF continues to match the low priority rule until the match is successful, and the corresponding charging and/or control policy is obtained from the successfully matched rule.
  • the embodiments of the present invention provide a policy and charging control method, a policy and a charging execution function device, and a policy and charging rule function, which can reduce the number of rules.
  • a policy and charging control method including: when receiving a service data flow, matching the service data flow with a predefined policy and a charging control PCC rule, wherein the predefined PCC The rule includes at least one business policy, each of the business policies having a corresponding business policy name and a business policy parameter; a predefined from the matching of the business data flow
  • the first service policy is determined in the at least one service policy included in the PCC rule; and the service data flow is subjected to policy or charging control according to the service policy parameter corresponding to the first service policy.
  • the predefined PCC rule includes at least one service policy list, where each service policy list is used to indicate one or more of the service policies.
  • the PCC rule installation information and the policy designation information sent by the PCRF device are received by the policy and charging rule function, where the PCC rule installation information is used to indicate that the predefined PCC rule is installed, and the policy designation information is used to specify at least one service policy.
  • Determining the first service policy includes: determining a corresponding service policy of the predefined PCC rule that matches the service data flow as the first service policy.
  • the at least one service policy name specified by the policy designation information and the PCC rule installation information indicating that the predefined PCC rule is installed is included
  • the service policy name of the at least one service policy is matched to obtain the corresponding service policy of the predefined PCC rule that is to be installed by the PCC rule installation information, including: if the match gets a service policy, the one service policy is Determining to be the corresponding service policy; or, if the matching is to obtain multiple service policies, selecting one of the multiple service policies as the corresponding service policy; or, if not matching the service policy, the at least one
  • the default service policy in the service policy is determined as the corresponding service policy, or the matching failure is determined.
  • the selecting one of the multiple service policies as the corresponding service policy includes: selecting according to a priority of the multiple service policies One of the multiple service policies is used as the corresponding service policy.
  • the receiving, by the PCRF, the policy specifying information includes: receiving, by the PCRF, the charging rule installation attribute value carried in the Charging-Rule-Install AVP The policy specifying information; or receiving the policy specifying information carried by the PCRF in a Diameter Credit Control Response Diameter CCA message; or receiving the the PCRF to carry in a Diameter Re-Authentication Request Diameter RAR message Policy specification information.
  • the determining, by the at least one service policy, the at least one service policy included in the predefined PCC rule that matches the service data flow includes: Determining, as the first service policy, a default service policy in the at least one service policy included in the predefined PCC rule.
  • the determining, according to the at least one service policy included in the installed predefined PCC rule, determining the correspondence of the installed predefined PCC rules includes: determining the corresponding service policy according to the user information, where the user information includes at least one of the following: an access point name APN of the user, a user location information ULI of the user, a roaming status of the user, and a user Quality of Service QoS.
  • a policy and charging control method including: determining a user's predefined policy and charging control PCC rules and a first service policy corresponding to the predefined PCC rules; performing to the policy and charging
  • the function PCEF device sends the PCC rule installation information and the policy designation information, where the PCC rule installation information is used to indicate that the predefined PCC rule is installed on the PCEF, wherein the predefined PCC rule includes at least one service policy, each The service policy has a corresponding service policy name and a service policy parameter, and the policy designation information is used to specify a service policy name of the first service policy.
  • the sending the policy specifying information to the PCEF device includes: sending a charging rule installation attribute value pair Charging-Rule-Install AVP to the PCEF device, where the Charging-Rule- The Install AVP carries the policy designation information; or sends a Diameter CCA message to the PCEF device, where the Diameter CCA message carries the policy designation information; or sends a Diameter re-diagnosis to the PCEF device.
  • the right request is a Diameter RAR message, and the Diameter CCA message carries the policy designation information.
  • the third aspect provides a policy and charging execution function PCEF device, including: a matching unit, configured to match the service data flow with a predefined policy and a charging control PCC rule when receiving a service data flow
  • the predefined PCC rule includes at least one service policy, each of the service policies having a corresponding service policy name and a service policy parameter, and a determining unit, configured to obtain, from the matching unit, the service data flow And determining, by the at least one service policy included in the matched predefined PCC rule, the first service policy; the executing unit, configured to perform a policy on the service data flow according to the service policy parameter corresponding to the first service policy determined by the determining unit Billing control.
  • the predefined PCC rule includes at least one A list of business policies, each of which is used to indicate one or more of the business policies.
  • the PCEF device further includes a receiving unit, configured to receive PCC rule installation information and policy designation information sent by the PCRF device of the policy and charging rule function, where The PCC rule installation information is used to indicate that the predefined PCC rule is installed, and the policy specifying information is used to specify at least one service policy name.
  • the matching unit is further configured to: perform, by using the at least one service policy name specified by the policy designation information, the business policy name of the at least one service policy included in the preset PCC rule that is installed by the PCC rule installation information. Matching, to obtain a corresponding business policy of the pre-defined PCC rule that is installed by the PCC rule installation information;
  • the determining unit is specifically configured to determine, by the matching unit, a corresponding service policy of a predefined PCC rule that matches the service data flow as the first service policy.
  • the matching unit is specifically configured to: if the matching obtains a service policy, determine the one service policy as the corresponding service policy; or If the matching is to obtain multiple service policies, one of the multiple service policies is selected as the corresponding service policy; or, if the service policy is not matched, the default service policy in the at least one service policy is used. Determined to be the corresponding business policy, or determine that the matching fails.
  • the matching unit is specifically configured to select one of the multiple service policies as the corresponding according to a priority of the multiple service policies Business strategy.
  • the receiving unit is specifically configured to receive, by the PCRF, the policy specification that is carried in a charging rule installation attribute value to a Charging-Rule-Install AVP. And receiving the policy specifying information carried by the PCRF in the Diameter Credit Control Response Diameter CCA message; or receiving the policy specifying information carried by the PCRF in the Diameter Re-Authentication Request Diameter RAR message.
  • the determining unit is specifically configured to determine, by using the default service policy in the at least one service policy included in the predefined PCC rule, The first business strategy.
  • the method further includes: a receiving unit, configured to receive PCC rule installation information sent by the PCRF device, where the PCC rule installation information is used to indicate that the predefined PCC is installed.
  • a rule the determining unit, is also used to install from Determining, by the at least one service policy included in the predefined PCC rule, a corresponding service policy of the predefined PCC rule that is installed; the determining unit is specifically configured to use the service data flow obtained by the matching unit The corresponding service policy of the matched predefined PCC rule is determined as the first service policy.
  • the determining unit is specifically configured to determine the corresponding service policy according to user information, where the user information includes at least one of the following: The access point name APN, the user's location information ULI, the user's roaming status, and the user's quality of service QoS.
  • a fourth aspect provides a policy and charging rule function PCRF device, including: a determining unit, configured to determine a user's predefined policy and charging control PCC rule, and a first service policy corresponding to the predefined PCC rule a sending unit, configured to send PCC rule installation information and policy designation information to the policy and charging execution function PCEF device, where the PCC rule installation information is used to indicate that the predefined PCC rule is installed on the PCEF, where
  • the predefined PCC rules include at least one service policy, each of the service policies having a corresponding service policy name and a service policy parameter, where the policy designation information is used to specify a service policy name of the first service policy.
  • the sending unit is specifically configured to send, to the PCEF device, a charging rule installation attribute value pair Charging-Rule-Install AVP, where the Charging-Rule-Install AVP carries The policy designation information; or: sending a Diameter CCA message to the PCEF device, the policy specifying information carried in the Diameter CCA message; or sending a Diameter re-authentication request to the PCEF device The message, the policy specifying information carried in the Diameter CCA message.
  • the predefined PCC rule that matches the service data flow includes at least one service policy, and each service policy is identified by the service policy name, without the PCC rule and the service policy-corresponding, which can reduce the PCC rule. number.
  • 1 is a flow chart of a policy and charging control method in accordance with an embodiment of the present invention.
  • 2 is a schematic diagram of a data structure of a predefined PCC rule in accordance with an embodiment of the present invention.
  • 3 is a flow chart of a policy and charging control method according to another embodiment of the present invention.
  • FIG. 4 is a flow chart of a policy and charging control process in accordance with another embodiment of the present invention.
  • FIG. 5 is a flowchart of a policy and charging control process according to another embodiment of the present invention.
  • FIG. 6 is a block diagram of a PCEF device in accordance with one embodiment of the present invention.
  • FIG. ⁇ is a block diagram of a PCRF device in accordance with one embodiment of the present invention.
  • FIG. 8 is a block diagram of a PCEF device in accordance with another embodiment of the present invention.
  • FIG. 9 is a block diagram of a PCRF device in accordance with another embodiment of the present invention. detailed description
  • a PCEF device is an entity used to implement PCEF functions, such as a PGW, a GGSN, or a separately deployed PCEF device.
  • the specific form of the PCEF device is not limited in the embodiment of the present invention.
  • the service data flow is matched with the predefined PCC rule, where the predefined PCC rule includes at least one service policy, and each service policy has a corresponding service policy name and a service policy parameter.
  • the matching process between the service data flow and the predefined PCC rule refers to comparing the service data flow with the service data flow filter of the predefined PCC rule to obtain a matched predefined PCC rule.
  • the predefined PCC rule that matches the service data flow includes at least one service policy, and each service policy is identified by the service policy name, without the PCC rule and the service policy-corresponding, which can reduce the PCC rule. number.
  • a service policy for performing policy or charging control on the service data flow is determined from the at least one service policy, so that the service data flow of the same service may use different service policies.
  • the predefined PCC rules are pre-defined and stored PCC rules on the PCEF device.
  • the predefined PCC rules may include at least one service policy list, where each service policy list is used to indicate one or more services.
  • Predefined PCC rules can be composed of the following: Rule Name, Filter for Business Data Flow Detection, Priority, and Policy List. For example, you can define a separate list of business policies for L3/4 filters and L7 filters.
  • FIG. 2 is a schematic diagram of a data structure of a predefined PCC rule in accordance with an embodiment of the present invention. It should be noted that the predefined PCC rules of Figure 2 are only a non-limiting example and are not intended to limit the scope of the embodiments of the present invention.
  • the rule name 201 of the predefined PCC rule 200 shown in Fig. 2 is Rulel and includes an L3/4 filter 202a and an L7 filter 202b.
  • the embodiment of the present invention does not limit the type and number of filters.
  • the PCC rules of the embodiments of the present invention may also include only the L3/4 filter 202a or only the L7 filter 202b.
  • the L3/4 filter 202a corresponds to a plurality of service policies 204a, 204b and 204c, which can be specified by the service policy list 203a.
  • the L7 filter 202b corresponds to a plurality of service policies 204d,
  • a business policy list is a collection of one or more business policies.
  • the business policy list 203a and the business policy list 203b may be in the form of a separate list corresponding to the filter; or may be combined into one table in which the information of the filter corresponding to the business policy is added.
  • the business policy lists 203a and 203b may be canceled from the predefined PCC rules 200 to establish a direct correspondence between the filters and the business policies.
  • the business policies 204a-f are collectively referred to below as business policies 204.
  • the business policies 204a, 204b, and 204c are named Policyl, Policy2, and Policy3, respectively, and the business policies 204d, 204e, and 204f are named Policy4, Policy5, and Policy3, respectively. That is, the service policy list 203a and the service policy list 203b may each contain a service policy named Policy3, which is a service policy 204c and 204f, that is, the service policies 204c and 204f are the same service policy.
  • the business policy 204 defines the business policy parameters, that is, the charging and control policy related parameters, such as priority, Gating, charging related parameters, QoS related parameters, measurement related parameters, and the like.
  • Each business policy is uniquely identified by a business policy name (Policy Name). Therefore, each business policy can be composed of the following items: business policy name, priority, gating, billing related parameters, QoS related parameters, measurement related parameters, etc.
  • the service policy of the embodiment of the present invention is identified by the service policy name, and does not need to correspond to the PCC rule, and indicates one or more service policies included in the same predefined PCC rule through the service policy list. In this way, even for the same service flow, different service policies can be used, for example, different business policies can be used for different users, and the flexibility of policy control is enhanced.
  • embodiments of the present invention also facilitate configuration and maintenance of PCC rules. For example, if you need to add a service policy to a PCC rule, you can modify the data structure shown in Figure 2, add a service policy, and modify the corresponding service policy list. Similarly, if you need to delete a service policy, you can modify the data structure shown in Figure 2, delete a service policy, and modify the corresponding service policy list. In this way, the embodiment of the present invention does not need to add a new PCC rule, and the configuration of the predefined PCC rule is implemented, and the separation of the detection filter and the charging control policy of the service data flow in the predefined PCC rule is realized.
  • Predefined PCC rules can be configured simultaneously by the administrator on both PCEF and PCRF.
  • the configuration information of the predefined PCC rules on the PCEF and PCRF can be synchronized through the network management center.
  • the configuration information of the PCC rule may be predefined by the mutual synchronization of the PCEF and the PCRF.
  • the PCEF can notify the PCRF of the configuration information of the predefined PCC rules. The notification process may be performed after the initial setting of the predefined PCC rules, or after each update operation of the predefined PCC rules, or may be performed periodically.
  • the predefined PCC rules configured on the PCRF may be complete, that is, the same as the predefined PCC rules configured on the PCEF; or may include only key information of the predefined PCC rules, such as the rule name, meaning, and meaning of the predefined PCC rules. Business strategies included, etc.
  • the PCEF device may determine the first service policy by itself after receiving the service packet of the user, for example, determining the default service policy in the at least one service policy as the first Business strategy.
  • the PCEF device can obtain the user information after receiving the service packet of the user, such as the user's APN (Access Point Name), the user's ULI (User Location Information), and the user's roaming. The status and the QoS of the user, etc.; then, based on the relevant configuration on the PCEF, the PCEF uses one of the service policies included in the matched predefined PCC rules as the first service policy based on the user information decision.
  • APN Access Point Name
  • ULI User Location Information
  • the corresponding industry of the PCC rule may also be specified locally in the PCEF device.
  • Business strategy For example, after receiving the PCC rule installation information of the PCRF and installing the predefined PCC rule according to the PCC rule installation information, the PCEF can learn the user information (such as the above APN, ULI, roaming status or QoS, etc.), and determine the installed according to the user information. The corresponding business strategy for the predefined PCC rules. In this way, the PCEF can determine the corresponding service policy of the installed predefined PCC rule when installing the predefined PCC rule according to the indication of the PCRF. Then, in step 102, the corresponding service policy of the predefined PCC rule of the matching service data flow obtained in step 101 is used as the first service policy.
  • the PCEF device may determine, according to the designation of the PCRF device, a corresponding service policy of a predefined PCC rule to be installed. Specifically, before step 101, the PCEF device may receive PCC rule installation information and policy designation information sent by the PCRF device, the PCC rule installation information is used to indicate installation of a predefined PCC rule, and the policy designation information is used to specify at least one service policy name.
  • the PCRF device may send PCC rule installation information and policy designation information when receiving the user IP-CAN session establishment request or update request sent by the PCEF device or when the PCRF actively triggers the PCEF re-authentication.
  • the embodiment of the present invention does not limit the triggering message of the PCRF to activate the predefined PCC rule.
  • the trigger message may also be a new dedicated message.
  • the PCC rule installation information is generally carried by the Charging-Rule-Install AVP.
  • the Charging-Rule-Install AVP can be sent through a Diameter CCA message or a Diameter RAR (Re-Auth-Request) message.
  • Diameter CCA Diameter CCA
  • Diameter RAR Re-Auth-Request
  • the embodiment of the present invention does not limit the specific form of the AVP or message carrying the PCC rule installation information.
  • the embodiment of the present invention can extend the Gx interface cell, add a service policy list and/or a service policy name, and the PCRF specifies a corresponding service policy of the predefined PCC rule.
  • the PCRF activates predefined PCC rules on the PCEF and also specifies predefined business policies on the PCEF.
  • the PCRF can activate the same predefined PCC rule name, but specify different service policy names, which can provide different charging and control for the same service data flow.
  • the PCEF device may match the at least one service policy name specified by the policy designation information with the service policy name of the at least one service policy included in the pre-defined PCC rule that the PCC rule installation information indicates, to obtain the PCC rule installation information indicating installation. Predefine the corresponding business policy of the PCC rule.
  • the PCEF device can compare at least one service policy specified by the policy designation information. a first set of name components, and a PCC rule installation information indicating a second set of business policy names of at least one business policy included in the installed predefined PCC rules (eg, a list of business policies in the matched predefined PCC rules) , the resulting intersection is the matching result.
  • the matching obtains a business policy (the intersection of the first set and the second set has only one element)
  • the one business policy is determined as the corresponding business policy.
  • one of the multiple business policies is selected as the corresponding business policy.
  • one of the multiple service policies may be selected as the corresponding service policy according to the priority of multiple service policies, for example, the service policy with the highest priority is selected.
  • the default service policy in the at least one service policy is determined as the corresponding service policy, or the matching failure may be determined.
  • the policy specifying information sent by the PCRF may be carried in the Charging-Rule-Install AVP.
  • AVP carrying policy designation information may be added to the Diameter CCA message or the Diameter RAR message. The embodiment of the present invention does not limit the specific form of the message or the AVP carrying the policy designation information.
  • FIG. 3 is a flow chart of a policy and charging control method according to another embodiment of the present invention.
  • the method of Figure 3 is performed by a PCRF device.
  • the PCRF device can be an independently deployed device, or a partial PCRF function can be implemented by a network element such as a PGW or a GGSN.
  • the specific form of the PCRF device is not limited in the embodiment of the present invention.
  • the embodiment of the present invention does not limit the trigger message of step 301.
  • the trigger message may be a user IP-CAN session establishment request or an update request, or a new dedicated message.
  • the PCRF may determine a predefined PCC rule of the user and a corresponding first service policy according to user information (such as the foregoing APN, ULI, roaming status, or QoS, etc.).
  • PCC Rules Installation information is used to indicate the installation of predefined PCC rules on the PCEF.
  • the predefined PCC rules may include a list of business policies, and the business policy list is used to indicate at least one business policy included in the predefined PCC rules.
  • the policy specification information is used to specify the business policy name of the first business policy.
  • the predefined PCC rules matching the service data flow include at least A business policy identifies each business policy by its business policy name without the need for PCC rules and business policies—corresponding to reduce the number of PCC rules.
  • a service policy for performing policy or charging control on the service data flow is determined from the at least one service policy, so that the service data flow of the same service can use different service policies, and can flexibly meet the requirements of different service scenarios. .
  • the PCRF device may send a Charging-Rule-Install AVP to the PCEF device, where the policy information is carried, or send a Diameter CCA message to the PCEF device, where the PCRF device sends the policy designation information to the PCEF device, where Carrying the policy designation information; or sending a Diameter RAR message to the PCEF device, where the policy designation information is carried.
  • FIG. 4 is a flow chart of a policy and charging control process in accordance with another embodiment of the present invention.
  • the extended Charging-Rule-Install AVP carries policy designation information.
  • predefined PCC rules configured on the PCRF may be complete or may only include key information of predefined PCC rules.
  • the PCEF sends a request for the specific users Userl and User2 to the PCRF to request the corresponding PCC policy.
  • the request can be carried by a Diameter CCR message.
  • the embodiment of the present invention does not limit the number of users. Steps are performed separately for each user
  • the PCRF sends a Diameter CCA message to the PCEF.
  • the Diameter CCA message carries an extended Charging-Rule-Install AVP, which indicates that the PCC rule is installed and the charging and/or control policy is defined according to the business policy name specified by the policy specifying information to perform corresponding processing.
  • the Charging-Rule-Install sends a PCC predefined rule without including the newly added AVP
  • the predefined PCC rule is processed according to the default charging and/or control policy name.
  • the new field Policy-Name indicates the policy name corresponding to the predefined PCC rule.
  • the name and the data type of the AVP carrying the policy designation information may be specifically defined, as long as the same meaning is indicated, which is not limited by the embodiment of the present invention.
  • Charging-Rule-Install:: ⁇ AVP Header: 1001 >
  • the symbol * indicates that there may be more than one corresponding AVP.
  • the name of the rule to be installed by PCEF is specified by Charging-Rule-Name, and the corresponding business policy name is specified by Policy-Name.
  • a Charging-Rule-Name can correspond to only one Policy-Name.
  • Charging-Rule-Install may also specify the name of the rule group by Charging-Rule-Base-Name.
  • a rule group can include one or more PCC rules.
  • a Charging-Rule-Base-Name can correspond to one or more Policy- Names.
  • the PCEF determines the PCC rules applicable to a particular user and determines the corresponding business policy name for each PCC rule.
  • step 403 it is determined for the specific user User1 that the PCC rules Rulel (corresponding to the business policy Policy1), Rule2 (corresponding to the business policy Policy2), and Rule3 (corresponding to the business policy Policy3) are instructed.
  • the PCC rule Rulel corresponding to the business policy Policy1
  • Rule2 corresponding to the business policy Policy4
  • Rule4 corresponding to the business policy Policy5
  • Each PCC rule can correspond to a specific business data stream.
  • the embodiment of the present invention does not limit the number of PCC rules determined in step 403.
  • PCC rules and service policies can be configured for different users, such as Userl and User2.
  • User1 configures Policy3 of Rule3
  • User2 configures Policy5 of Rule4.
  • Both Ruel's Policyl and User2 are configured with different business policies (such as Policy2 of Rule1 configured by Userl and Policy4 of Rule2 configured by User2).
  • at least five PCC rules are required to implement the above configuration, but the embodiment of the present invention requires only four PCC rules, so that PCC control can be flexibly performed, and the total number of PCC rules can be reduced.
  • the PCEF receives the uplink and downlink user messages of the specific users User1 and User2, respectively.
  • User1 and User2 can belong to the service data flow of the same service or the service data flow of different services. It is assumed here that the user packets of User1 and User2 belong to the service data stream of the same service.
  • the PCEF detects the service data flow, and the PCC rule according to the priority determined by the step 403 matches the PCC rule.
  • the PCEF determines, according to the service policy name indicated by the Policy-Name in step 503, the service policy corresponding to the matched predefined PCC rule (ie, the “first service policy” in FIG. 1). An example) to obtain a corresponding billing and/or control strategy.
  • the PCEF controls the service data flow of the specific user according to the service policy obtained in step 406.
  • FIG. 5 is a flowchart of a policy and charging control process according to another embodiment of the present invention.
  • the extended Diameter CCA message adds an AVP independent of Charging-Rule-Install, carrying policy designation information.
  • the embodiment of the present invention may also extend a Diameter RAR message to add an AVP that is independent of Charging-Rule-Install, and carry policy designation information. To avoid repetition, details are not described herein.
  • the PCEF sends a request for the specific user User1 to the PCRF to request a corresponding PCC policy.
  • This request can be carried by the Diameter CCR message.
  • the embodiment of the present invention does not limit the number of users.
  • the PCRF sends a Diameter CCA message to the PCEF.
  • the Diameter CCA message carries the same Charging-Rule-Install AVP as the prior art, indicating that the PCC rules are installed.
  • the Diameter CCA message carries a new Policy-Name AVP, which carries policy designation information.
  • the newly-added Policy-Name AVP is not carried in the Diameter CCA message, the predefined PCC rule is processed according to the default charging and/or control policy name.
  • the new Policy-Name AVP indicates all the accounting and/or control policy names supported by the user.
  • the name and the data type of the AVP can be specifically defined, and the embodiment of the present invention is not limited thereto.
  • the PCEF determines the PCC rules that are applicable to a particular user. Assume that there are multiple Policy-Names in the Diameter CCA message, namely Policyl, Policy2, and Policy7.
  • PCC rule Rulel is installed for the specific user User1.
  • Each PCC rule can correspond to a particular business data stream.
  • the embodiment of the present invention does not limit the number of PCC rules determined in step 503.
  • PCEF will match two business policies Policyl and Policy2.
  • PCEF can choose a high priority business policy (assumed to be Policyl) as Userl's business policy under Rulel.
  • the PCEF receives the uplink and downlink user message of the specific user User1.
  • the PCEF detects the service data flow, and the PCC rule according to the priority determined by the step 503 matches the PCC rule.
  • the PCEF obtains the corresponding charging and/or control policy according to the determined service policy Policy1 in step 503 (ie, the example of the "first service policy" in FIG. 1).
  • the PCEF controls the service data flow of the specific user according to the service policy obtained in step 506. According to an embodiment of the present invention, even for a service data flow of the same service, only a small amount of PCC is used.
  • the rules can be used to configure different users to use different service policies. This allows operators to flexibly deploy diverse services without requiring multiple PCC rules, reducing the complexity of configuration and maintenance. Moreover, embodiments of the present invention avoid matching performance consumption caused by multiple PCC rules without affecting system performance.
  • [Policy-Name] can also be replaced with [Policy-List].
  • Policy-List indicates one or more business policy names in the form of a collection.
  • the PCEF compares the Policy-List (a variant of the first set above) with the list of service policies (the second set above) under the local predefined PCC rules to obtain a matching business policy.
  • FIG. 6 is a block diagram of a PCEF device in accordance with one embodiment of the present invention.
  • the PCEF device 60 of FIG. 6 may be a gateway, such as a GGSN, a PGW, or a separately deployed PCEF device, including a matching unit 61, a determining unit 62, and an executing unit 63.
  • the matching unit 61 matches the service data stream with the predefined PCC rules when the service data stream is received.
  • the predefined PCC rules include at least one service policy, and each service policy has a corresponding service policy name and a service policy parameter.
  • the determining unit 62 determines the first service policy from the at least one service policy included in the predefined PCC rule that matches the service data flow obtained by the matching unit 61.
  • the executing unit 63 performs policy or charging control on the service data flow according to the service policy parameter corresponding to the first service policy determined by the determining unit 62.
  • the predefined PCC rule that matches the service data flow includes at least one service policy, and each service policy is identified by the service policy name, without the PCC rule and the service policy-corresponding, which can reduce the PCC rule. number.
  • a service policy for performing policy or charging control on the service data flow is determined from the at least one service policy, so that the service data flow of the same service can use different service policies, and can flexibly meet the requirements of different service scenarios. .
  • the PCEF device 60 can implement the various processes related to the PCEF in the embodiment of Figures 1 - 5, and will not be described in detail in order to avoid redundancy.
  • the predefined PCC rule includes at least one service policy list, where each service policy list is used to indicate one or more of the service policies, as shown in FIG. 2. In this way, it is easy to modify the business strategy.
  • the PCEF device 60 further includes a receiving unit 64.
  • Receiving order The element 64 receives the PCC rule installation information and the policy designation information sent by the PCRF device.
  • PCC rule installation information is used to indicate the installation of predefined PCC rules.
  • the policy designation information is used to specify at least one business policy name.
  • the matching unit 61 may further match the at least one service policy name specified by the policy designation information with the service policy name of the at least one service policy included in the pre-defined PCC rule that the PCC rule installation information indicates to obtain the PCC rule.
  • the installation information indicates the corresponding business policy of the installed predefined PCC rules.
  • the determining unit 62 may determine the corresponding service policy of the predefined PCC rule obtained by the matching unit 61 that matches the service data flow as the first service policy.
  • the matching unit 61 may determine the service policy as the corresponding service policy. Alternatively, if the matching is to obtain multiple service policies, the matching unit 61 may select one of the multiple service policies as the corresponding service policy. Alternatively, if there is no match to the service policy, the matching unit 61 may determine the default service policy in the at least one service policy as the corresponding service policy, or determine that the match fails.
  • the matching unit 61 may select one of the multiple service policies as the corresponding service policy according to the priority of the multiple service policies, for example, select a service policy with a high priority.
  • the receiving unit 65 may receive the policy specifying information carried by the PCRF in the Charging-Rule-Install AVP; or, receive the policy specifying information carried by the PCRF in the Diameter CCA message; or, receive the PCRF in the Policy specification information carried in the Diameter RAR message.
  • the method of carrying the policy specifying information refer to the embodiments in FIG. 4 and FIG. 5, and the description is not repeated here.
  • the determining unit 62 may determine, as the first service policy, a default service policy in the at least one service policy included in the predefined PCC rule.
  • the receiving unit 64 may receive PCC rule installation information sent by the PCRF device, where the PCC rule installation information is used to indicate that the predefined PCC rule is installed.
  • the determining unit 62 may determine a corresponding service policy of the installed predefined PCC rule from the at least one service policy included in the installed predefined PCC rule, and the determining unit 64 may match the obtained traffic unit 61 with the service data stream.
  • the corresponding business policy of the predefined PCC rule is determined as the first business policy.
  • the determining unit 62 may determine, according to the user information, a corresponding service policy, where the user information includes at least one of the following: a user's APN, the user's ULI, the user's roaming status, and the user's QoS. .
  • the user information includes at least one of the following: a user's APN, the user's ULI, the user's roaming status, and the user's QoS.
  • FIG. 7 is a block diagram of a PCRF device in accordance with one embodiment of the present invention.
  • the PCRF device 70 of Fig. 7 includes a determining unit 71 and a transmitting unit 72.
  • the determining unit 71 determines the user's predefined PCC rules and the first business policy corresponding to the predefined PCC rules.
  • the transmitting unit 72 transmits PCC rule installation information and policy designation information to the PCEF device.
  • the PCC rule installation information is used to indicate that the predefined PCC rules are installed on the PCEF, wherein the predefined PCC rules include at least one service policy, and each business policy has a corresponding business policy name and business policy parameters.
  • the policy specification information is used to specify the business policy name of the first business policy.
  • the predefined PCC rule that matches the service data flow includes at least one service policy, and each service policy is identified by the service policy name, without the PCC rule and the service policy-corresponding, which can reduce the PCC rule. number.
  • a service policy for performing policy or charging control on the service data flow is determined from the at least one service policy, so that the service data flow of the same service can use different service policies, and can flexibly meet the requirements of different service scenarios. .
  • the PCRF device 70 can implement the various processes related to PCRF in the embodiments of Figures 1 - 5, and to avoid repetition, it will not be described in detail.
  • the sending unit 72 may send a Charging-Rule-Install AVP to the PCEF device, where the Charging-Rule-Install AVP carries the policy specifying information; or, sends a Diameter CCA message to the PCEF device, and the Diameter CCA message is sent.
  • the policy designation information carried in the Diameter CCA message is sent to the PCEF device.
  • the determining unit 71 may determine, according to the user information, a predefined PCC rule of the user and a first service policy corresponding to the predefined PCC rule, where the user information includes at least one of the following: APN, user's ULI, user's roaming status, and user's QoS.
  • FIG. 8 is a block diagram of a PCEF device in accordance with another embodiment of the present invention.
  • PCEF device 80 of Figure 8 It may be a gateway, such as a GGSN, a PGW, or a separately deployed PCEF device, including a processor 81 and a memory 82.
  • the memory 82 stores instructions or code that cause the processor 81 to: when the service data stream is received, match the service data stream with a predefined PCC rule, wherein the predefined PCC rule includes at least one business policy, each business policy having Corresponding service policy name and service policy parameter; determining a first service policy from at least one service policy included in a predefined PCC rule that matches the service data flow; and the service data flow according to the service policy parameter corresponding to the first service policy Perform policy or billing control.
  • the predefined PCC rule that matches the service data flow includes at least one service policy, and each service policy is identified by the service policy name, without the PCC rule and the service policy-corresponding, which can reduce the PCC rule. number.
  • a service policy for performing policy or charging control on the service data flow is determined from the at least one service policy, so that the service data flow of the same service can use different service policies, and can flexibly meet the requirements of different service scenarios. .
  • the various components of the PCEF device 80 are coupled together by a bus system 89, wherein the bus system
  • the 89 may include a power bus, a control bus, and a status signal bus.
  • bus system 89 various buses are labeled as bus system 89 in the figure.
  • the steps of the above method may be completed by the integrated logic of the hardware in the processor 81 or by the instruction of the software.
  • the processor 81 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware. Component.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • the methods, steps, logic blocks, and the like disclosed in the embodiments of the present invention may be implemented or executed.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 82, and the processor 81 reads the information in the memory 82 and combines the hardware to perform the steps of the above method.
  • memory 82 can store predefined PCC rules.
  • the PCEF device 80 can implement the various processes related to the PCEF in the embodiments of FIGS. 1 to 5, and will not be described in detail in order to avoid redundancy.
  • the PCEF device 80 further includes a transmitting circuit 83 and a receiving circuit 84.
  • the receiving circuit 84 receives PCC rule installation information and policy designation information transmitted by the PCRF device.
  • the PCC rule installation information is used to indicate that a predefined PCC rule is installed, and the policy designation information is used to specify at least one business policy name.
  • the processor 81 may further match the at least one service policy name specified by the policy designation information with the service policy name of the at least one service policy included in the pre-defined PCC rule that is installed by the p CC rule installation information to obtain the PCC.
  • the rule installation information indicates the corresponding business policy of the installed predefined PCC rules. In this case, the processor 81 may determine the corresponding service policy of the predefined PCC rule that matches the service data flow as the first service policy. .
  • the processor 81 may determine the service policy as a corresponding service policy; if the matching obtains multiple service policies, the processor 81 may select multiple service policies. One is the corresponding business strategy. Alternatively, if the service policy is not matched, the processor 81 may determine the default service policy in the at least one service policy as the corresponding service policy, or determine that the match fails.
  • the processor 81 may select one of the multiple service policies as the corresponding service policy according to the priorities of the multiple service policies.
  • the receiving circuit 84 may receive the policy specifying information carried by the PCRF in the Charging-Rule-Install AVP; or, receive the policy specifying information carried by the PCRF in the Diameter CCA message; or, receive the PCRF in Policy specification information carried in the Diameter RAR message.
  • the processor 81 determines the default service policy in the at least one service policy included in the predefined PCC rule as the first service policy.
  • the receiving circuit 84 may receive PCC rule installation information sent by the PCRF device, where the PCC rule installation information is used to indicate that the predefined PCC rule is installed.
  • the processor 81 may determine a corresponding service policy of the installed predefined PCC rule from at least one service policy included in the installed predefined PCC rule, and the processor 81 may use a predefined PCC rule that matches the service data flow.
  • the corresponding business policy is determined as the first business strategy.
  • the processor 81 may determine, according to user information, a corresponding service policy, where the user information includes at least one of the following: a user's APN, a user's ULI, a user's roaming status, and the user's QoS. .
  • the processor 81 may determine, according to user information, a corresponding service policy, where the user information includes at least one of the following: a user's APN, a user's ULI, a user's roaming status, and the user's QoS. .
  • the processor 81 may determine, according to user information, a corresponding service policy, where the user information includes at least one of the following: a user's APN, a user's ULI, a user's roaming status, and the user's QoS. .
  • FIG. 9 is a block diagram of a PCRF device in accordance with another embodiment of the present invention.
  • the PCRF device 90 of Fig. 9 includes a processor 91, a memory 92, and a transmitting circuit 93.
  • the memory 92 stores instructions that cause the processor 91 to titrate the user's predefined PCC rules and the first business policy corresponding to the predefined PCC rules.
  • the transmitting circuit 72 transmits PCC rule installation information and policy designation information to the PCEF device.
  • the PCC rule installation information is used to indicate that the predefined PCC rules are installed on the PCEF, wherein the predefined PCC rules include at least one service policy, and each business policy has a corresponding business policy name and business policy parameters.
  • the policy specification information is used to specify the business policy name of the first business policy.
  • the predefined PCC rule that matches the service data flow includes at least one service policy, and each service policy is identified by the service policy name, without the PCC rule and the service policy-corresponding, which can reduce the PCC rule. number.
  • a service policy for performing policy or charging control on the service data flow is determined from the at least one service policy, so that the service data flow of the same service can use different service policies, and can flexibly meet the requirements of different service scenarios. .
  • the various components of the PCRF device 90 are coupled together by a bus system 99, wherein the bus system
  • the 99 may include a power bus, a control bus, and a status signal bus.
  • various buses are labeled as bus system 99 in the figure.
  • the PCRF device 90 may also include a receiving circuit 94.
  • the processor 91 controls the overall operation of the PCRF device 90. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 81 or an instruction control in the form of software.
  • the processor 81 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a logic block diagram.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • Software The modules may be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 92, and the processor 91 reads the information in the memory 92 and combines the hardware to perform the steps of the above method.
  • memory 92 can store predefined PCC rules.
  • the PCRF device 90 can implement the various processes related to PCRF in the embodiments of Figures 1 - 5, and to avoid repetition, it will not be described in detail.
  • the sending circuit 93 may send a Charging-Rule-Install AVP to the PCEF device, where the Charging-Rule-Install AVP carries the policy specifying information; or, sends a Diameter CCA message to the PCEF device, and the Diameter CCA message is sent.
  • the policy designation information carried in the Diameter CCA message is sent to the PCEF device.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the components displayed for the unit may or may not be physical units, ie may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Embodiments of the present invention provide a method and device for policy and charging controlling. The method comprises : service data flows are matched with PCC rules defined in advance when the service data flows are received, and the PCC rules include at least one service policy, and each service policy have the corresponding service policy name and service policy parameters. And a first service policy is confirmed from the at least one service policy included in the PCC rules defined in advance and matched with the service data flow. And the policy and charging controlling of the service data flow is performed according to the service policy parameters corresponding to the first service policy. In the embodiments of the present invention, the PCC rules defined in advance and matched with the service data flow include at least one service policy, and each service policy is identified by a service policy name, and it is unnecessary for the PCC rules an the service policy corresponding to each other one by one, which can reduce the number of PCC rules.

Description

策略和计费控制方法及设备 技术领域  Strategy and charging control method and device
本发明实施例涉及通信技术领域, 并且更具体地, 涉及策略和计费控制 方法及设备。 背景技术  Embodiments of the present invention relate to the field of communication technologies, and, more particularly, to a policy and charging control method and apparatus. Background technique
3GPP ( 3rd Generation Partnership Project, 第三代伙伴计划) 的 PCC ( Policy and Charging Control, 策略和计费控制) 架构提供了基于业务数据 流的策略控制和计费控制功能。 PCC***的逻辑架构包括 PCRF ( Policy and Charging Rules Function,策略和计费规则功能)和 PCEF( Policy and Charging Enforcement Function, 策略和计费执行功能) 等。  The 3GPP (3rd Generation Partnership Project) PCC (Policy and Charging Control) architecture provides policy control and charging control based on traffic data flow. The logical architecture of the PCC system includes the PCRF (Policy and Charging Rules Function) and the PCEF (Policy and Charging Enforcement Function).
PCRF的主要功能是向网关下发 PCC规则 ( PCC Rule ), PCC Rule包括 策略和计费信息。 网关包括 GGSN ( (Gateway General Packet Radio Service Support Node,网关通用分组无线服务支持节点)、 PGW( Packet Data Network Gateway, 分组数据网络网关)、 SGW ( Serving Gateway, 服务网关) 等。  The main function of the PCRF is to deliver a PCC Rule (PCC Rule) to the gateway. The PCC Rule includes policy and charging information. The gateway includes a GGSN (Gateway General Packet Radio Service Support Node), a PGW (Packet Data Network Gateway), an SGW (Serving Gateway), and the like.
PCEF位于移动分组网络中移动网关的功能实体, 如对应 SAE ( System Architecture Evolution, ***架构演进)网络中的网关 PGW或 2G/3G网络中 的网关 GGSN, 也可以独立部署。  The PCEF is a functional entity of the mobile gateway in the mobile packet network. For example, the gateway PGW in the network architecture of the SAE (System Architecture Evolution) network or the gateway GGSN in the 2G/3G network can also be deployed independently.
PCEF功能可以实现业务级的 QoS ( Quality of Service , 服务质量)控制 和计费, 并可以动态调整策略。  The PCEF function implements service-level QoS (Quality of Service) control and accounting, and can dynamically adjust policies.
PCEF与 PCRF之间通过 Gx接***互。 PCEF收到建立 IP-CAN( Internet Protocol-Connectivity Access Network , 因特网协议连接性接入网络)会话建 立或者修改请求之后, 向 PCRF发送 CCR ( Credit-Control-Request, 信用控 制请求) 消息, 请求 PCC策略。  The PCEF interacts with the PCRF through the Gx interface. After receiving the IP-CAN (Internet Protocol-Connectivity Access Network) session establishment or modification request, the PCEF sends a CCR (Cash-Control-Request) message to the PCRF to request a PCC policy. .
PCRF根据用户请求信息, 以及从 SPR ( Subscription Profile Repository, 用户属性存储器)获取的用户签约信息, 或者从 AF ( Application Function, 应用功能 )获取的更新的业务流信息, 确定 PCC Rule。  The PCRF determines the PCC Rule based on the user request information, the user subscription information acquired from the SPR (Subscription Profile Repository), or the updated service flow information obtained from the AF (Application Function).
PCRF # PCC Rule通过 Diameter CCA( Diameter Credit-Control- Answer , 直径信用控制响应) 消息或者 Diameter RAR(Re-Auth-Reuqest, 重鉴权请求) 消息发送给 PCEF, 使用 Gx接口中的下列 AVP ( Attribute Value Pair, 属性 值对)。 The PCRF #PCC Rule is sent to the PCEF through the Diameter CCA (Dimeter Credit-Control- Answer) message or the Diameter RAR (Re-Auth-Reuqest) message. The following AVPs in the Gx interface are used. Value Pair, attribute Value pair).
Charging-Rule-Install:: = < AVP Header: 1001 >  Charging-Rule-Install:: = < AVP Header: 1001 >
*[ Charging-Rule-Definition ]  *[ Charging-Rule-Definition ]
*[ Charging-Rule-Name ]  *[ Charging-Rule-Name ]
*[ Charging-Rule-Base-Name ]  *[ Charging-Rule-Base-Name ]
*[ AVP ] *[ AVP ]
Charging-Rule-Definition:: = < AVP Header: 1003 >  Charging-Rule-Definition:: = < AVP Header: 1003 >
{ Charging-Rule-Name }  { Charging-Rule-Name }
[ Service-Identifier ]  [ Service-Identifier ]
[ Rating-Group ]  [ Rating-Group ]
*[ Flow-Information ]  *[ Flow-Information ]
[ QoS-Information ]  [ QoS-Information ]
[ Reporting-Level ]  [ Reporting-Level ]
[ Online ]  [ Online ]
[ Offline ]  [ Offline ]
[ Metering-Method ]  [ Metering-Method ]
[ Precedence ] *[ AVP ]  [ Precedence ] *[ AVP ]
一个 PCC Rule包含一个规则名称( Rule Name )以及用户面检测的业务 数据流过滤器(Service data flow filter ), 记费 (Charging)和策略控制 (Policy control)三个部分。  A PCC Rule contains a rule name (Routine Name) and a user data detection filter (Service data flow filter), Charging and Policy control.
PCEF安装、 修改或者删除 PCRF提供的 PCC Rule, 并根据 PCC Rule 执行授权的计费、 策略控制。  The PCEF installs, modifies or deletes the PCC Rule provided by the PCRF and performs authorized charging and policy control according to the PCC Rule.
现有 3GPP规范只定义了与三 /四层 (也可称为 TCP/IP层或 L3/4 )信息 对应的 PCC规则。 对于七层 (也可称为应用层或 L7 ) 的 PCC规则, 3GPP 规范没有给出具体的定义, 只说明 PCRF可以下发 PCEF上自定义的预定义 规则来实现 L7的 PCC规则。  The existing 3GPP specifications only define PCC rules corresponding to Layer 3/4 (also known as TCP/IP layer or L3/4) information. For the PCC rules of the seven-layer (also called application layer or L7), the 3GPP specification does not give a specific definition. It only shows that the PCRF can deliver custom pre-defined rules on PCEF to implement the PCC rules of L7.
一种实现方式是, PCEF上自定义 L7预定义规则 (Rule ), 每个规则由 One way to achieve this is to customize the L7 predefined rules (Rule) on the PCEF, each rule by
L3/4过滤器和 L7过滤器(如 URL )组成, 每个规则 L3/4和 L7都有唯一的 一个计费和 /或策略控制。 L3/4 filter and L7 filter (such as URL), each rule L3/4 and L7 have unique A billing and / or policy control.
当 PCEF收到用户数据报文时, 要按照规则优先级从高到底依次进行匹 配。 如果高优先级规则的 L3/4或 L7匹配失败, 则 PCEF继续匹配低优先级 的规则, 直到匹配成功, 从匹配成功的规则获取相应的计费和 /或控制策略。  When the PCEF receives the user data packet, it matches the rule priority from high to low. If the L3/4 or L7 match of the high priority rule fails, the PCEF continues to match the low priority rule until the match is successful, and the corresponding charging and/or control policy is obtained from the successfully matched rule.
从以上描述来看, PCEF将用户数据报文与 PCEF上自定义的 PCC规则 进行匹配时, 最坏的情况下如果是匹配到最低优先级的 PCC规则, 则 PCEF 要先遍历匹配所有其他高优先级的 PCC规则,这对 PCEF的性能有极大的影 响。  From the above description, when the PCEF matches the user data packet with the customized PCC rule on the PCEF, in the worst case, if it matches the lowest priority PCC rule, the PCEF must traverse all other high priority first. Level PCC rules, which have a great impact on the performance of PCEF.
另外, 因为每个 PCC规则都有唯一的计费和 /或控制策略, 相同的业务 数据流需要为不同的用户定义不同的计费和 /或控制策略,即必须定义不同的 规则。 这样会导致规则的个数显著增加, 增加了维护成本, 性能消耗也会增 加, 不能灵活地满足不同业务场景的需求。 发明内容  In addition, because each PCC rule has a unique charging and/or control policy, the same traffic data flow needs to define different charging and/or control policies for different users, ie different rules must be defined. This will result in a significant increase in the number of rules, increased maintenance costs, and increased performance consumption. It is not flexible enough to meet the needs of different business scenarios. Summary of the invention
本发明实施例提供一种策略和计费控制方法、策略和计费执行功能设备 以及策略和计费规则功能, 能够減少规则的数目。  The embodiments of the present invention provide a policy and charging control method, a policy and a charging execution function device, and a policy and charging rule function, which can reduce the number of rules.
第一方面, 提供了一种策略和计费控制方法, 包括: 在接收到业务数据 流时, 将所述业务数据流与预定义策略和计费控制 PCC规则进行匹配, 其 中所述预定义 PCC规则包括至少一个业务策略, 每个所述业务策略具有相 应的业务策略名称和业务策略参数; 从与所述业务数据流相匹配的预定义 In a first aspect, a policy and charging control method is provided, including: when receiving a service data flow, matching the service data flow with a predefined policy and a charging control PCC rule, wherein the predefined PCC The rule includes at least one business policy, each of the business policies having a corresponding business policy name and a business policy parameter; a predefined from the matching of the business data flow
PCC规则所包括的至少一个业务策略中确定第一业务策略;根据所述第一业 务策略对应的业务策略参数对所述业务数据流进行策略或计费控制。 The first service policy is determined in the at least one service policy included in the PCC rule; and the service data flow is subjected to policy or charging control according to the service policy parameter corresponding to the first service policy.
结合第一方面, 在一种实现方式中, 所述预定义 PCC规则包括至少一 个业务策略列表, 每个业务策略列表用于指示一个或多个所述业务策略。  With reference to the first aspect, in an implementation manner, the predefined PCC rule includes at least one service policy list, where each service policy list is used to indicate one or more of the service policies.
结合第一方面及其上述实现方式, 在另一种实现方式中, 在从与所述业 务数据流相匹配的预定义 PCC规则所包括的至少一个业务策略中确定第一 业务策略之前, 还包括: 接收策略和计费规则功能 PCRF设备发送的 PCC 规则安装信息和策略指定信息, 所述 PCC规则安装信息用于指示安装所述 预定义 PCC规则, 所述策略指定信息用于指定至少一个业务策略名称, 将 所述策略指定信息所指定的至少一个业务策略名称与所述 PCC规则安装信 息指示安装的预定义 PCC规则所包括的所述至少一个业务策略的业务策略 名称进行匹配, 以得到所述 PCC规则安装信息指示安装的预定义 PCC规则 的对应业务策略, 其中, 所述从与所述业务数据流相匹配的预定义 PCC规 则所包括的至少一个业务策略中确定第一业务策略, 包括: 将与所述业务数 据流相匹配的预定义 PCC规则的对应业务策略确定为所述第一业务策略。 In combination with the first aspect and the foregoing implementation manner, in another implementation manner, before determining the first service policy from the at least one service policy included in the predefined PCC rule that matches the service data flow, The PCC rule installation information and the policy designation information sent by the PCRF device are received by the policy and charging rule function, where the PCC rule installation information is used to indicate that the predefined PCC rule is installed, and the policy designation information is used to specify at least one service policy. a name, the at least one service policy name specified by the policy specifying information and the PCC rule installation information indicating a business policy of the at least one business policy included in the installed predefined PCC rule The name is matched to obtain the corresponding service policy of the pre-defined PCC rule that is installed by the PCC rule installation information, where the at least one service policy included in the predefined PCC rule that matches the service data flow is Determining the first service policy includes: determining a corresponding service policy of the predefined PCC rule that matches the service data flow as the first service policy.
结合第一方面及其上述实现方式, 在另一种实现方式中, 所述将所述策 略指定信息所指定的至少一个业务策略名称与所述 PCC规则安装信息指示 安装的预定义 PCC规则所包括的所述至少一个业务策略的业务策略名称进 行匹配, 以得到所述 PCC规则安装信息指示安装的预定义 PCC规则的对应 业务策略, 包括: 如果匹配得到一个业务策略, 则将所述一个业务策略确定 为所述对应业务策略; 或者, 如果匹配得到多个业务策略, 则选择所述多个 业务策略之一作为所述对应业务策略; 或者, 如果没有匹配到业务策略, 则 将所述至少一个业务策略中的缺省业务策略确定为所述对应业务策略, 或者 确定匹配失败。  In combination with the first aspect and the foregoing implementation manner, in another implementation manner, the at least one service policy name specified by the policy designation information and the PCC rule installation information indicating that the predefined PCC rule is installed is included The service policy name of the at least one service policy is matched to obtain the corresponding service policy of the predefined PCC rule that is to be installed by the PCC rule installation information, including: if the match gets a service policy, the one service policy is Determining to be the corresponding service policy; or, if the matching is to obtain multiple service policies, selecting one of the multiple service policies as the corresponding service policy; or, if not matching the service policy, the at least one The default service policy in the service policy is determined as the corresponding service policy, or the matching failure is determined.
结合第一方面及其上述实现方式, 在另一种实现方式中, 所述选择所述 多个业务策略之一作为所述对应业务策略, 包括: 按照所述多个业务策略的 优先级, 选择所述多个业务策略之一作为所述对应业务策略。  In combination with the first aspect and the foregoing implementation manner, in another implementation manner, the selecting one of the multiple service policies as the corresponding service policy includes: selecting according to a priority of the multiple service policies One of the multiple service policies is used as the corresponding service policy.
结合第一方面及其上述实现方式,在另一种实现方式中,所述接收 PCRF 发送的策略指定信息, 包括: 接收所述 PCRF 在计费规则安装属性值对 Charging-Rule-Install AVP中携带的所述策略指定信息;或者,接收所述 PCRF 在直径信用控制响应 Diameter CCA消息中携带的所述策略指定信息; 或者 , 接收所述 PCRF在直径重新鉴权请求 Diameter RAR消息中携带的所述策略 指定信息。  With reference to the first aspect and the foregoing implementation manner, in another implementation manner, the receiving, by the PCRF, the policy specifying information, includes: receiving, by the PCRF, the charging rule installation attribute value carried in the Charging-Rule-Install AVP The policy specifying information; or receiving the policy specifying information carried by the PCRF in a Diameter Credit Control Response Diameter CCA message; or receiving the the PCRF to carry in a Diameter Re-Authentication Request Diameter RAR message Policy specification information.
结合第一方面及其上述实现方式, 在另一种实现方式中, 所述从与所述 业务数据流相匹配的预定义 PCC规则所包括的至少一个业务策略中确定第 一业务策略, 包括: 将所述预定义 PCC规则所包括的至少一个业务策略中 的缺省业务策略, 确定为所述第一业务策略。  With reference to the first aspect and the foregoing implementation manner, in another implementation manner, the determining, by the at least one service policy, the at least one service policy included in the predefined PCC rule that matches the service data flow includes: Determining, as the first service policy, a default service policy in the at least one service policy included in the predefined PCC rule.
结合第一方面及其上述实现方式, 在另一种实现方式中, 在从与所述业 务数据流相匹配的预定义 PCC规则所包括的至少一个业务策略中确定第一 业务策略之前, 还包括: 接收 PCRF设备发送的 PCC规则安装信息, 所述 PCC规则安装信息用于指示安装所述预定义 PCC规则, 根据所述 PCC规则 安装信息安装所述预定义 PCC规则, 并从所安装的所述预定义 PCC规则所 包括的至少一个业务策略中确定所安装的所述预定义 PCC规则的对应业务 策略。 其中, 所述从与所述业务数据流相匹配的预定义 PCC规则所包括的 至少一个业务策略中确定第一业务策略, 包括: 将与所述业务数据流相匹配 的预定义 PCC规则的对应业务策略确定为所述第一业务策略。 In combination with the first aspect and the foregoing implementation manner, in another implementation manner, before determining the first service policy from the at least one service policy included in the predefined PCC rule that matches the service data flow, Receiving PCC rule installation information sent by the PCRF device, where the PCC rule installation information is used to indicate that the predefined PCC rule is installed, and the predefined PCC rule is installed according to the PCC rule installation information, and the installed Predefined PCC rules The corresponding business policy of the predefined PCC rule installed is determined in at least one of the included business policies. Determining the first service policy from the at least one service policy included in the predefined PCC rule that matches the service data flow, including: corresponding to a predefined PCC rule that matches the service data flow The business policy is determined as the first business policy.
结合第一方面及其上述实现方式, 在另一种实现方式中, 所述从所安装 的所述预定义 PCC规则所包括的至少一个业务策略中确定所安装的所述预 定义 PCC规则的对应业务策略, 包括: 根据用户信息, 确定所述对应业务 策略, 其中所述用户信息包括以下中的至少一种: 用户的接入点名称 APN、 用户的用户位置信息 ULI、 用户的漫游状态以及用户的服务质量 QoS。  With reference to the first aspect and the foregoing implementation manners, in another implementation manner, the determining, according to the at least one service policy included in the installed predefined PCC rule, determining the correspondence of the installed predefined PCC rules The service policy includes: determining the corresponding service policy according to the user information, where the user information includes at least one of the following: an access point name APN of the user, a user location information ULI of the user, a roaming status of the user, and a user Quality of Service QoS.
第二方面, 提供了一种策略和计费控制方法, 包括: 确定用户的预定义 策略和计费控制 PCC规则和对应于所述预定义 PCC规则的第一业务策略; 向策略和计费执行功能 PCEF设备发送 PCC规则安装信息和策略指定信息, 所述 PCC规则安装信息用于指示在所述 PCEF上安装所述预定义 PCC规则, 其中所述预定义 PCC规则包括至少一个业务策略, 每个所述业务策略具有 相应的业务策略名称和业务策略参数, 所述策略指定信息用于指定所述第一 业务策略的业务策略名称。  In a second aspect, a policy and charging control method is provided, including: determining a user's predefined policy and charging control PCC rules and a first service policy corresponding to the predefined PCC rules; performing to the policy and charging The function PCEF device sends the PCC rule installation information and the policy designation information, where the PCC rule installation information is used to indicate that the predefined PCC rule is installed on the PCEF, wherein the predefined PCC rule includes at least one service policy, each The service policy has a corresponding service policy name and a service policy parameter, and the policy designation information is used to specify a service policy name of the first service policy.
结合第二方面, 在一种实现方式中, 所述向 PCEF设备发送策略指定信 息,包括:向所述 PCEF设备发送计费规则安装属性值对 Charging-Rule-Install AVP, 所述 Charging-Rule-Install AVP中携带所述策略指定信息; 或者, 向所 述 PCEF设备发送直径信用控制响应 Diameter CCA消息 ,所述 Diameter CCA 消息中携带所述策略指定信息; 或者, 向所述 PCEF设备发送直径重新鉴权 请求 Diameter RAR消息,所述 Diameter CCA消息中携带所述策略指定信息。  With reference to the second aspect, in an implementation manner, the sending the policy specifying information to the PCEF device includes: sending a charging rule installation attribute value pair Charging-Rule-Install AVP to the PCEF device, where the Charging-Rule- The Install AVP carries the policy designation information; or sends a Diameter CCA message to the PCEF device, where the Diameter CCA message carries the policy designation information; or sends a Diameter re-diagnosis to the PCEF device. The right request is a Diameter RAR message, and the Diameter CCA message carries the policy designation information.
第三方面, 提供了一种策略和计费执行功能 PCEF设备, 包括: 匹配单 元, 用于在接收到业务数据流时, 将所述业务数据流与预定义策略和计费控 制 PCC规则进行匹配, 其中所述预定义 PCC规则包括至少一个业务策略, 每个所述业务策略具有相应的业务策略名称和业务策略参数; 确定单元, 用 于从所述匹配单元得到的与所述业务数据流相匹配的预定义 PCC规则所包 括的至少一个业务策略中确定第一业务策略; 执行单元, 用于根据所述确定 单元确定的第一业务策略对应的业务策略参数对所述业务数据流进行策略 或计费控制。  The third aspect provides a policy and charging execution function PCEF device, including: a matching unit, configured to match the service data flow with a predefined policy and a charging control PCC rule when receiving a service data flow The predefined PCC rule includes at least one service policy, each of the service policies having a corresponding service policy name and a service policy parameter, and a determining unit, configured to obtain, from the matching unit, the service data flow And determining, by the at least one service policy included in the matched predefined PCC rule, the first service policy; the executing unit, configured to perform a policy on the service data flow according to the service policy parameter corresponding to the first service policy determined by the determining unit Billing control.
结合第三方面, 在一种实现方式中, 所述预定义 PCC规则包括至少一 个业务策略列表, 每个业务策略列表用于指示一个或多个所述业务策略。 结合第三方面及其上述实现方式, 在另一种实现方式中, 该 PCEF设备 还包括接收单元, 用于接收策略和计费规则功能 PCRF设备发送的 PCC规 则安装信息和策略指定信息, 所述 PCC规则安装信息用于指示安装所述预 定义 PCC规则, 所述策略指定信息用于指定至少一个业务策略名称, With reference to the third aspect, in an implementation manner, the predefined PCC rule includes at least one A list of business policies, each of which is used to indicate one or more of the business policies. With reference to the third aspect and the foregoing implementation manner, in another implementation manner, the PCEF device further includes a receiving unit, configured to receive PCC rule installation information and policy designation information sent by the PCRF device of the policy and charging rule function, where The PCC rule installation information is used to indicate that the predefined PCC rule is installed, and the policy specifying information is used to specify at least one service policy name.
所述匹配单元,还用于将所述策略指定信息所指定的至少一个业务策略 名称与所述 PCC规则安装信息指示安装的预定义 PCC规则所包括的所述至 少一个业务策略的业务策略名称进行匹配, 以得到所述 PCC规则安装信息 指示安装的预定义 PCC规则的对应业务策略;  The matching unit is further configured to: perform, by using the at least one service policy name specified by the policy designation information, the business policy name of the at least one service policy included in the preset PCC rule that is installed by the PCC rule installation information. Matching, to obtain a corresponding business policy of the pre-defined PCC rule that is installed by the PCC rule installation information;
所述确定单元, 具体用于将所述匹配单元得到的与所述业务数据流相匹 配的预定义 PCC规则的对应业务策略确定为所述第一业务策略。  The determining unit is specifically configured to determine, by the matching unit, a corresponding service policy of a predefined PCC rule that matches the service data flow as the first service policy.
结合第三方面及其上述实现方式,在另一种实现方式中,所述匹配单元, 具体用于: 如果匹配得到一个业务策略, 则将所述一个业务策略确定为所述 对应业务策略; 或者, 如果匹配得到多个业务策略, 则选择所述多个业务策 略之一作为所述对应业务策略; 或者, 如杲没有匹配到业务策略, 则将所述 至少一个业务策略中的缺省业务策略确定为所述对应业务策略, 或者确定匹 配失败。  With reference to the third aspect and the foregoing implementation manner, in another implementation manner, the matching unit is specifically configured to: if the matching obtains a service policy, determine the one service policy as the corresponding service policy; or If the matching is to obtain multiple service policies, one of the multiple service policies is selected as the corresponding service policy; or, if the service policy is not matched, the default service policy in the at least one service policy is used. Determined to be the corresponding business policy, or determine that the matching fails.
结合第三方面及其上述实现方式,在另一种实现方式中,所述匹配单元, 具体用于按照所述多个业务策略的优先级, 选择所述多个业务策略之一作为 所述对应业务策略。  With reference to the third aspect and the foregoing implementation manner, in another implementation manner, the matching unit is specifically configured to select one of the multiple service policies as the corresponding according to a priority of the multiple service policies Business strategy.
结合第三方面及其上述实现方式, 在另一种实现方式中, 所述接收单元 具体用于接收所述 PCRF在计费规则安装属性值对 Charging-Rule-Install AVP 中携带的所述策略指定信息; 或者, 接收所述 PCRF 在直径信用控制响应 Diameter CCA消息中携带的所述策略指定信息; 或者,接收所述 PCRF在直 径重新鉴权请求 Diameter RAR消息中携带的所述策略指定信息。  With reference to the third aspect and the foregoing implementation manner, in another implementation manner, the receiving unit is specifically configured to receive, by the PCRF, the policy specification that is carried in a charging rule installation attribute value to a Charging-Rule-Install AVP. And receiving the policy specifying information carried by the PCRF in the Diameter Credit Control Response Diameter CCA message; or receiving the policy specifying information carried by the PCRF in the Diameter Re-Authentication Request Diameter RAR message.
结合第三方面及其上述实现方式, 在另一种实现方式中, 所述确定单元 具体用于将所述预定义 PCC规则所包括的至少一个业务策略中的缺省业务 策略, 确定为所述第一业务策略。  With reference to the third aspect and the foregoing implementation manner, in another implementation manner, the determining unit is specifically configured to determine, by using the default service policy in the at least one service policy included in the predefined PCC rule, The first business strategy.
结合第三方面及其上述实现方式, 在另一种实现方式中, 还包括接收单 元, 用于接收 PCRF设备发送的 PCC规则安装信息, 所述 PCC规则安装信 息用于指示安装所述预定义 PCC规则, 所述确定单元, 还用于从所安装的 所述预定义 PCC规则所包括的至少一个业务策略中确定所安装的所述预定 义 PCC规则的对应业务策略; 所述确定单元, 具体用于将所述匹配单元得 到的与所述业务数据流相匹配的预定义 PCC规则的对应业务策略确定为所 述第一业务策略。 With reference to the third aspect and the foregoing implementation manner, in another implementation manner, the method further includes: a receiving unit, configured to receive PCC rule installation information sent by the PCRF device, where the PCC rule installation information is used to indicate that the predefined PCC is installed. a rule, the determining unit, is also used to install from Determining, by the at least one service policy included in the predefined PCC rule, a corresponding service policy of the predefined PCC rule that is installed; the determining unit is specifically configured to use the service data flow obtained by the matching unit The corresponding service policy of the matched predefined PCC rule is determined as the first service policy.
结合第三方面及其上述实现方式, 在另一种实现方式中, 所述确定单元 具体用于根据用户信息, 确定所述对应业务策略, 其中所述用户信息包括以 下中的至少一种: 用户的接入点名称 APN、 用户的用户位置信息 ULI、 用户 的漫游状态以及用户的服务质量 QoS。  With reference to the third aspect and the foregoing implementation manner, in another implementation manner, the determining unit is specifically configured to determine the corresponding service policy according to user information, where the user information includes at least one of the following: The access point name APN, the user's location information ULI, the user's roaming status, and the user's quality of service QoS.
第四方面, 提供了一种策略和计费规则功能 PCRF设备, 包括: 确定单 元, 用于确定用户的预定义策略和计费控制 PCC规则和对应于所述预定义 PCC规则的第一业务策略; 发送单元, 用于向策略和计费执行功能 PCEF设 备发送 PCC规则安装信息和策略指定信息, 所述 PCC规则安装信息用于指 示在所述 PCEF上安装所述预定义 PCC规则, 其中所述预定义 PCC规则包 括至少一个业务策略,每个所述业务策略具有相应的业务策略名称和业务策 略参数, 所述策略指定信息用于指定所述第一业务策略的业务策略名称。  A fourth aspect provides a policy and charging rule function PCRF device, including: a determining unit, configured to determine a user's predefined policy and charging control PCC rule, and a first service policy corresponding to the predefined PCC rule a sending unit, configured to send PCC rule installation information and policy designation information to the policy and charging execution function PCEF device, where the PCC rule installation information is used to indicate that the predefined PCC rule is installed on the PCEF, where The predefined PCC rules include at least one service policy, each of the service policies having a corresponding service policy name and a service policy parameter, where the policy designation information is used to specify a service policy name of the first service policy.
结合第四方面,在一种实现方式中,所述发送单元具体用于向所述 PCEF 设备发送计费规则安装属性值对 Charging-Rule-Install AVP, 所述 Charging-Rule-Install AVP中携带所述策略指定信息; 或者, 向所述 PCEF设 备发送直径信用控制响应 Diameter CCA消息,所述 Diameter CCA消息中携 带的所述策略指定信息; 或者, 向所述 PCEF 设备发送直径重新鉴权请求 Diameter RAR消息, 所述 Diameter CCA消息中携带的所述策略指定信息。  With reference to the fourth aspect, in an implementation manner, the sending unit is specifically configured to send, to the PCEF device, a charging rule installation attribute value pair Charging-Rule-Install AVP, where the Charging-Rule-Install AVP carries The policy designation information; or: sending a Diameter CCA message to the PCEF device, the policy specifying information carried in the Diameter CCA message; or sending a Diameter re-authentication request to the PCEF device The message, the policy specifying information carried in the Diameter CCA message.
本发明实施例中, 与业务数据流进行匹配的预定义 PCC规则包括至少 一个业务策略, 通过业务策略名称标识每个业务策略, 而无需 PCC规则和 业务策略——对应, 这样能够减少 PCC规则的数目。 附图说明  In the embodiment of the present invention, the predefined PCC rule that matches the service data flow includes at least one service policy, and each service policy is identified by the service policy name, without the PCC rule and the service policy-corresponding, which can reduce the PCC rule. number. DRAWINGS
为了更清楚地说明本发明实施例的技术方案, 下面将对实施例或现有技 术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图 仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造 性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative work.
图 1是本发明一个实施例的策略和计费控制方法的流程图。 图 2是本发明一个实施例的预定义 PCC规则的数据结构的示意图。 图 3是本发明另一实施例的策略和计费控制方法的流程图。 1 is a flow chart of a policy and charging control method in accordance with an embodiment of the present invention. 2 is a schematic diagram of a data structure of a predefined PCC rule in accordance with an embodiment of the present invention. 3 is a flow chart of a policy and charging control method according to another embodiment of the present invention.
图 4是本发明另一实施例的策略和计费控制过程的流程图。  4 is a flow chart of a policy and charging control process in accordance with another embodiment of the present invention.
图 5是本发明另一实施例的策略和计费控制过程的流程图。  FIG. 5 is a flowchart of a policy and charging control process according to another embodiment of the present invention.
图 6是本发明一个实施例的 PCEF设备的框图。  Figure 6 is a block diagram of a PCEF device in accordance with one embodiment of the present invention.
图 Ί是本发明一个实施例的 PCRF设备的框图。  Figure Ί is a block diagram of a PCRF device in accordance with one embodiment of the present invention.
图 8是本发明另一实施例的 PCEF设备的框图。  Figure 8 is a block diagram of a PCEF device in accordance with another embodiment of the present invention.
图 9是本发明另一实施例的 PCRF设备的框图。 具体实施方式  Figure 9 is a block diagram of a PCRF device in accordance with another embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是 全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创 造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  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 a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without making creative labor are within the scope of the present invention.
图 1是本发明一个实施例的策略和计费控制方法的流程图。 图 1的方法 由 PCEF设备执行。 PCEF设备是用于实现 PCEF功能的实体,如 PGW、 GGSN 或独立部署的 PCEF设备。本发明实施例对 PCEF设备的具体形式不作限制。  1 is a flow chart of a policy and charging control method in accordance with an embodiment of the present invention. The method of Figure 1 is performed by a PCEF device. A PCEF device is an entity used to implement PCEF functions, such as a PGW, a GGSN, or a separately deployed PCEF device. The specific form of the PCEF device is not limited in the embodiment of the present invention.
101, 在接收到业务数据流时, 将业务数据流与预定义 PCC规则进行匹 配, 其中预定义 PCC规则包括至少一个业务策略, 每个业务策略具有相应 的业务策略名称和业务策略参数。  101. When receiving the service data flow, the service data flow is matched with the predefined PCC rule, where the predefined PCC rule includes at least one service policy, and each service policy has a corresponding service policy name and a service policy parameter.
业务数据流与预定义 PCC规则的匹配过程, 是指将业务数据流与预定 义 PCC规则的业务数据流过滤器进行对比,以得到匹配的预定义 PCC规则。  The matching process between the service data flow and the predefined PCC rule refers to comparing the service data flow with the service data flow filter of the predefined PCC rule to obtain a matched predefined PCC rule.
102, 从与业务数据流相匹配的预定义 PCC规则所包括的至少一个业务 策略中确定第一业务策略。  102. Determine a first service policy from at least one service policy included in a predefined PCC rule that matches a service data flow.
103 , 根据第一业务策略对应的业务策略参数对业务数据流进行策略或 计费控制。  103. Perform policy or charging control on the service data flow according to the service policy parameter corresponding to the first service policy.
本发明实施例中, 与业务数据流进行匹配的预定义 PCC规则包括至少 一个业务策略, 通过业务策略名称标识每个业务策略, 而无需 PCC规则和 业务策略——对应, 这样能够减少 PCC规则的数目。  In the embodiment of the present invention, the predefined PCC rule that matches the service data flow includes at least one service policy, and each service policy is identified by the service policy name, without the PCC rule and the service policy-corresponding, which can reduce the PCC rule. number.
另外,从该至少一个业务策略中确定用于对业务数据流进行策略或计费 控制的业务策略, 这样, 相同业务的业务数据流可以使用不同的业务策略, 能够灵活地满足不同业务场景的需求。 In addition, a service policy for performing policy or charging control on the service data flow is determined from the at least one service policy, so that the service data flow of the same service may use different service policies. Ability to flexibly meet the needs of different business scenarios.
预定义 PCC规则是 PCEF设备上预先定义并存储的 PCC规则,可选地, 作为一个实施例, 预定义 PCC规则可包括至少一个业务策略列表, 每个业 务策略列表用于指示一个或多个业务策略。 预定义 PCC规则可以由以下几 项组成: 规则名称 ( Rule Name ), 用于业务数据流检测的过滤器( Filter )、 优先级和业务策略列表(Policy List )等。 例如, 可以对 L3/4过滤器和 L7 过滤器分别定义一个业务策略列表。  The predefined PCC rules are pre-defined and stored PCC rules on the PCEF device. Optionally, as an embodiment, the predefined PCC rules may include at least one service policy list, where each service policy list is used to indicate one or more services. Strategy. Predefined PCC rules can be composed of the following: Rule Name, Filter for Business Data Flow Detection, Priority, and Policy List. For example, you can define a separate list of business policies for L3/4 filters and L7 filters.
图 2是本发明一个实施例的预定义 PCC规则的数据结构的示意图。 应 注意, 图 2的预定义 PCC规则只是一个非限制性的例子, 而非限制本发明 实施例的范围。  2 is a schematic diagram of a data structure of a predefined PCC rule in accordance with an embodiment of the present invention. It should be noted that the predefined PCC rules of Figure 2 are only a non-limiting example and are not intended to limit the scope of the embodiments of the present invention.
如图 2所示的预定义 PCC规则 200的规则名称 201为 Rulel ,包括 L3/4 过滤器 202a和 L7过滤器 202b。 本发明实施例对过滤器的类型和数目不作 限制。 例如, 本发明实施例的 PCC规则也可以仅包括 L3/4过滤器 202a或者 仅包括 L7过滤器 202b。  The rule name 201 of the predefined PCC rule 200 shown in Fig. 2 is Rulel and includes an L3/4 filter 202a and an L7 filter 202b. The embodiment of the present invention does not limit the type and number of filters. For example, the PCC rules of the embodiments of the present invention may also include only the L3/4 filter 202a or only the L7 filter 202b.
L3/4过滤、器 202a对应多条业务策略 204a, 204b和 204c, 这些业务策略 可以由业务策略列表 203a指定。 L7过滤器 202b对应多条业务策略 204d、 The L3/4 filter 202a corresponds to a plurality of service policies 204a, 204b and 204c, which can be specified by the service policy list 203a. The L7 filter 202b corresponds to a plurality of service policies 204d,
204e和 204f, 这些业务策略可以由业务策略列表 203b指定。 业务策略列表 是一个或多个业务策略的集合。 业务策略列表 203a和业务策略列表 203b可 以是单独的对应于过滤器的列表的形式; 也可以合并为一个表, 在表项中增 加业务策略所对应的过滤器的信息。 或者, 可以从预定义 PCC规则 200 中 取消业务策略列表 203a和 203b, 建立过滤器和业务策略的直接对应关系。 下文中将业务策略 204a-f统称为业务策略 204。 204e and 204f, these business policies can be specified by the business policy list 203b. A business policy list is a collection of one or more business policies. The business policy list 203a and the business policy list 203b may be in the form of a separate list corresponding to the filter; or may be combined into one table in which the information of the filter corresponding to the business policy is added. Alternatively, the business policy lists 203a and 203b may be canceled from the predefined PCC rules 200 to establish a direct correspondence between the filters and the business policies. The business policies 204a-f are collectively referred to below as business policies 204.
如图 2所示,业务策略 204a、 204b和 204c的名称分别为 Policyl、 Policy2 和 Policy3, 业务策略 204d、 204e和 204f的名称分别为 Policy4、 Policy5和 Policy3。 也就是说, 业务策略列表 203a和业务策略列表 203b可能均包含名 称为 Policy3的业务策略, 分别为业务策略 204c和 204f, 即业务策略 204c 和 204f是相同的业务策略。  As shown in Figure 2, the business policies 204a, 204b, and 204c are named Policyl, Policy2, and Policy3, respectively, and the business policies 204d, 204e, and 204f are named Policy4, Policy5, and Policy3, respectively. That is, the service policy list 203a and the service policy list 203b may each contain a service policy named Policy3, which is a service policy 204c and 204f, that is, the service policies 204c and 204f are the same service policy.
业务策略 204定义业务策略参数, 即计费和控制策略相关参数, 如优先 级、 门控(Gating )、计费相关的参数、 QoS相关的参数、 测量相关的参数等。 每个业务策略唯一的由业务策略名称(Policy Name )标识。 因此, 每个业务 策略可以由以下几项组成: 业务策略名称、优先级、 门控、计费相关的参数、 QoS相关的参数、 测量相关的参数等。 The business policy 204 defines the business policy parameters, that is, the charging and control policy related parameters, such as priority, Gating, charging related parameters, QoS related parameters, measurement related parameters, and the like. Each business policy is uniquely identified by a business policy name (Policy Name). Therefore, each business policy can be composed of the following items: business policy name, priority, gating, billing related parameters, QoS related parameters, measurement related parameters, etc.
本发明实施例的业务策略通过业务策略名称来标识, 而不需要与 PCC 规则——对应, 并且通过业务策略列表来指示同一条预定义 PCC规则内包 括的一个或多个业务策略。 这样, 即使对于同一业务流, 也可以使用不同的 业务策略, 例如对不同的用户可使用不同的业务策略, 增强了策略控制的灵 活性。  The service policy of the embodiment of the present invention is identified by the service policy name, and does not need to correspond to the PCC rule, and indicates one or more service policies included in the same predefined PCC rule through the service policy list. In this way, even for the same service flow, different service policies can be used, for example, different business policies can be used for different users, and the flexibility of policy control is enhanced.
另外, 本发明实施例也便于配置和维护 PCC规则。 例如, 如果需要为 某一 PCC规则增加业务策略, 则可以修改图 2所示的数据结构, 增加业务 策略并修改相应的业务策略列表。 同样地, 如果需要删除业务策略, 则可以 修改图 2所示的数据结构, 删除某一业务策略并修改相应的业务策略列表。 这样, 本发明实施例无需增加新的 PCC规则, 筒化了预定义 PCC规则的配 置, 实现了预定义 PCC规则中业务数据流的检测过滤器和计费控制策略的 分离。  In addition, embodiments of the present invention also facilitate configuration and maintenance of PCC rules. For example, if you need to add a service policy to a PCC rule, you can modify the data structure shown in Figure 2, add a service policy, and modify the corresponding service policy list. Similarly, if you need to delete a service policy, you can modify the data structure shown in Figure 2, delete a service policy, and modify the corresponding service policy list. In this way, the embodiment of the present invention does not need to add a new PCC rule, and the configuration of the predefined PCC rule is implemented, and the separation of the detection filter and the charging control policy of the service data flow in the predefined PCC rule is realized.
预定义 PCC规则可以由管理员在 PCEF和 PCRF上同时进行配置。或者, 也可以通过网管中心对 PCEF和 PCRF上的预定义 PCC规则的配置信息进行 同步。或者,也可以由 PCEF和 PCRF互相同步预定义 PCC规则的配置信息。 例如, PCEF可以将预定义 PCC规则的配置信息通知给 PCRF。 该通知过程 可以在预定义 PCC规则的初始设置之后执行, 也可以在预定义 PCC规则的 每次更新操作之后执行, 或者可以周期性地执行。  Predefined PCC rules can be configured simultaneously by the administrator on both PCEF and PCRF. Alternatively, the configuration information of the predefined PCC rules on the PCEF and PCRF can be synchronized through the network management center. Alternatively, the configuration information of the PCC rule may be predefined by the mutual synchronization of the PCEF and the PCRF. For example, the PCEF can notify the PCRF of the configuration information of the predefined PCC rules. The notification process may be performed after the initial setting of the predefined PCC rules, or after each update operation of the predefined PCC rules, or may be performed periodically.
另外, PCRF上配置的预定义 PCC规则可以是完整的, 即与 PCEF上配 置的预定义 PCC规则相同; 也可以仅仅包括预定义 PCC规则的关键信息, 例如预定义 PCC规则的规则名称、 含义以及所包括的业务策略等。  In addition, the predefined PCC rules configured on the PCRF may be complete, that is, the same as the predefined PCC rules configured on the PCEF; or may include only key information of the predefined PCC rules, such as the rule name, meaning, and meaning of the predefined PCC rules. Business strategies included, etc.
可选地, 作为一个实施例, 在步骤 102中, PCEF设备可在收到用户的 业务报文后, 自己确定第一业务策略, 例如将至少一个业务策略中的缺省业 务策略确定为第一业务策略。 或者, PCEF设备可以在收到用户的业务报文 后, 获知用户信息, 如用户的 APN ( Access Point Name, 接入点名称)、 用 户的 ULI ( User Location Information, 用户位置信息)、 用户的漫游状态以及 用户的 QoS等; 然后 PCEF根据 PCEF上的相关配置, 基于用户信息决策使 用匹配的预定义 PCC规则所包括的某一个业务策略作为第一业务策略。  Optionally, as an embodiment, in step 102, the PCEF device may determine the first service policy by itself after receiving the service packet of the user, for example, determining the default service policy in the at least one service policy as the first Business strategy. Alternatively, the PCEF device can obtain the user information after receiving the service packet of the user, such as the user's APN (Access Point Name), the user's ULI (User Location Information), and the user's roaming. The status and the QoS of the user, etc.; then, based on the relevant configuration on the PCEF, the PCEF uses one of the service policies included in the matched predefined PCC rules as the first service policy based on the user information decision.
可选地, 作为另一实施例, 在 PCEF设备能够通过本地配置等方法实现 部分 PCRF功能的场景下,也可以在 PCEF设备本地指定 PCC规则的对应业 务策略。 例如, 在接收到 PCRF的 PCC规则安装信息并根据 PCC规则安装 信息安装预定义 PCC规则之后, PCEF可获知用户信息(如上述 APN、 ULI、 漫游状态或 QoS等 ),并根据用户信息确定所安装的预定义 PCC规则的对应 业务策略。 这样, PCEF可以在根据 PCRF的指示安装预定义 PCC规则时确 定所安装的预定义 PCC规则的对应业务策略。 然后在步骤 102中, 将步骤 101中得到的匹配业务数据流的预定义 PCC规则的对应业务策略作为第一业 务策略。 Optionally, as another embodiment, in a scenario where the PCEF device can implement a partial PCRF function by using a local configuration or the like, the corresponding industry of the PCC rule may also be specified locally in the PCEF device. Business strategy. For example, after receiving the PCC rule installation information of the PCRF and installing the predefined PCC rule according to the PCC rule installation information, the PCEF can learn the user information (such as the above APN, ULI, roaming status or QoS, etc.), and determine the installed according to the user information. The corresponding business strategy for the predefined PCC rules. In this way, the PCEF can determine the corresponding service policy of the installed predefined PCC rule when installing the predefined PCC rule according to the indication of the PCRF. Then, in step 102, the corresponding service policy of the predefined PCC rule of the matching service data flow obtained in step 101 is used as the first service policy.
可选地, 作为一个实施例, PCEF设备可根据 PCRF设备的指定, 确定 需安装的预定义 PCC规则的对应业务策略。具体地,在步骤 101之前, PCEF 设备可以接收 PCRF设备发送的 PCC规则安装信息和策略指定信息, PCC 规则安装信息用于指示安装预定义 PCC规则, 策略指定信息用于指定至少 一个业务策略名称。  Optionally, as an embodiment, the PCEF device may determine, according to the designation of the PCRF device, a corresponding service policy of a predefined PCC rule to be installed. Specifically, before step 101, the PCEF device may receive PCC rule installation information and policy designation information sent by the PCRF device, the PCC rule installation information is used to indicate installation of a predefined PCC rule, and the policy designation information is used to specify at least one service policy name.
PCRF设备可以在接收到 PCEF设备发送的用户 IP-CAN会话建立请求 或更新请求时或者 PCRF主动触发通知 PCEF重鉴权时,发送 PCC规则安装 信息和策略指定信息。 但本发明实施例对 PCRF激活预定义 PCC规则的触 发消息不作限制, 例如该触发消息也可以是新增的专用消息。  The PCRF device may send PCC rule installation information and policy designation information when receiving the user IP-CAN session establishment request or update request sent by the PCEF device or when the PCRF actively triggers the PCEF re-authentication. However, the embodiment of the present invention does not limit the triggering message of the PCRF to activate the predefined PCC rule. For example, the trigger message may also be a new dedicated message.
PCC规则安装信息一般由 Charging-Rule-Install (计费规则安装 ) AVP 携带。 该 Charging-Rule-Install AVP可以通过 Diameter CCA消息或 Diameter RAR ( Re-Auth-Request, 重新鉴权请求) 消息发送。 但本发明实施例对携带 PCC规则安装信息的 AVP或消息的具体形式不作限制。  The PCC rule installation information is generally carried by the Charging-Rule-Install AVP. The Charging-Rule-Install AVP can be sent through a Diameter CCA message or a Diameter RAR (Re-Auth-Request) message. However, the embodiment of the present invention does not limit the specific form of the AVP or message carrying the PCC rule installation information.
具体地, 本发明实施例可以扩展 Gx接口信元, 新增业务策略列表和 / 或业务策略名称, 由 PCRF指定预定义 PCC规则的对应业务策略。 例如, PCRF激活 PCEF上预定义的 PCC规则, 同时还要指定 PCEF上预定义的业 务策略。 针对相同业务数据流, PCRF可激活相同的预定义 PCC规则名称, 但是指定不同的业务策略名称, 即可以实现针对相同业务数据流提供不同的 计费与控制。  Specifically, the embodiment of the present invention can extend the Gx interface cell, add a service policy list and/or a service policy name, and the PCRF specifies a corresponding service policy of the predefined PCC rule. For example, the PCRF activates predefined PCC rules on the PCEF and also specifies predefined business policies on the PCEF. For the same service data flow, the PCRF can activate the same predefined PCC rule name, but specify different service policy names, which can provide different charging and control for the same service data flow.
PCEF设备可将策略指定信息所指定的至少一个业务策略名称与 PCC规 则安装信息指示安装的预定义 PCC规则所包括的至少一个业务策略的业务 策略名称进行匹配, 以得到 PCC规则安装信息指示安装的预定义 PCC规则 的对应业务策略。  The PCEF device may match the at least one service policy name specified by the policy designation information with the service policy name of the at least one service policy included in the pre-defined PCC rule that the PCC rule installation information indicates, to obtain the PCC rule installation information indicating installation. Predefine the corresponding business policy of the PCC rule.
具体地, PCEF设备可以比较策略指定信息所指定的至少一个业务策略 名称组成的第一集合, 以及 PCC规则安装信息指示安装的预定义 PCC规则 所包括的至少一个业务策略的业务策略名称组成的第二集合(例如该匹配的 预定义 PCC规则中的业务策略列表), 得到的交集即为匹配结果。 Specifically, the PCEF device can compare at least one service policy specified by the policy designation information. a first set of name components, and a PCC rule installation information indicating a second set of business policy names of at least one business policy included in the installed predefined PCC rules (eg, a list of business policies in the matched predefined PCC rules) , the resulting intersection is the matching result.
例如, 如果匹配得到一个业务策略(上述第一集合和第二集合的交集仅 有一个元素), 则将所述一个业务策略确定为对应业务策略。  For example, if the matching obtains a business policy (the intersection of the first set and the second set has only one element), the one business policy is determined as the corresponding business policy.
或者, 如果匹配得到多个业务策略(上述第一集合和第二集合的交集有 多个元素), 则选择多个业务策略之一作为对应业务策略。 例如可按照多个 业务策略的优先级, 选择多个业务策略之一作为对应业务策略, 如选择优先 级最高的业务策略。  Alternatively, if the matching obtains multiple service policies (the intersection of the first set and the second set has multiple elements), one of the multiple business policies is selected as the corresponding business policy. For example, one of the multiple service policies may be selected as the corresponding service policy according to the priority of multiple service policies, for example, the service policy with the highest priority is selected.
或者, 如杲没有匹配到业务策略(上述第一集合和第二集合没有交集), 则将至少一个业务策略中的缺省业务策略确定为对应业务策略, 或者可以确 定匹配失败。  Or, if the service policy is not matched (the first set and the second set have no intersection), the default service policy in the at least one service policy is determined as the corresponding service policy, or the matching failure may be determined.
可选地, 作为另一实施例, PCRF 发送的策略指定信息可以在 Charging-Rule-Install AVP 中携带。 或者, 可以在 Diameter CCA 消息或 Diameter RAR消息中新增 AVP携带策略指定信息。 本发明实施例对携带策 略指定信息的消息或 AVP的具体形式不作限制。  Optionally, as another embodiment, the policy specifying information sent by the PCRF may be carried in the Charging-Rule-Install AVP. Alternatively, AVP carrying policy designation information may be added to the Diameter CCA message or the Diameter RAR message. The embodiment of the present invention does not limit the specific form of the message or the AVP carrying the policy designation information.
图 3是本发明另一实施例的策略和计费控制方法的流程图。 图 3的方法 由 PCRF设备执行。 PCRF设备可以是独立部署的设备, 也可以由 PGW或 GGSN等网元来实现部分 PCRF功能。 本发明实施例对 PCRF设备的具体形 式不作限制。  3 is a flow chart of a policy and charging control method according to another embodiment of the present invention. The method of Figure 3 is performed by a PCRF device. The PCRF device can be an independently deployed device, or a partial PCRF function can be implemented by a network element such as a PGW or a GGSN. The specific form of the PCRF device is not limited in the embodiment of the present invention.
301 ,确定用户的预定义 PCC规则和对应于该预定义 PCC规则的第一业 务策略。  301. Determine a predefined PCC rule of the user and a first service policy corresponding to the predefined PCC rule.
本发明实施例对步骤 301的触发消息不作限制, 例如该触发消息可以是 用户 IP-CAN会话建立请求或更新请求, 或者是新增的专用消息。  The embodiment of the present invention does not limit the trigger message of step 301. For example, the trigger message may be a user IP-CAN session establishment request or an update request, or a new dedicated message.
可选地, 作为一个实施例, PCRF可根据用户信息(如上述 APN、 ULI、 漫游状态或 QoS等), 确定用户的预定义 PCC规则和对应的第一业务策略。  Optionally, as an embodiment, the PCRF may determine a predefined PCC rule of the user and a corresponding first service policy according to user information (such as the foregoing APN, ULI, roaming status, or QoS, etc.).
302, 向 PCEF设备发送 PCC规则安装信息和策略指定信息。 PCC规则 安装信息用于指示在 PCEF上安装预定义 PCC规则。 预定义 PCC规则可包 括业务策略列表, 业务策略列表用于指示预定义 PCC规则所包括的至少一 个业务策略。 策略指定信息用于指定第一业务策略的业务策略名称。  302. Send PCC rule installation information and policy designation information to the PCEF device. PCC Rules Installation information is used to indicate the installation of predefined PCC rules on the PCEF. The predefined PCC rules may include a list of business policies, and the business policy list is used to indicate at least one business policy included in the predefined PCC rules. The policy specification information is used to specify the business policy name of the first business policy.
本发明实施例中, 与业务数据流进行匹配的预定义 PCC规则包括至少 一个业务策略, 通过业务策略名称标识每个业务策略, 而无需 PCC规则和 业务策略——对应, 这样能够减少 PCC规则的数目。 In the embodiment of the present invention, the predefined PCC rules matching the service data flow include at least A business policy identifies each business policy by its business policy name without the need for PCC rules and business policies—corresponding to reduce the number of PCC rules.
另外,从该至少一个业务策略中确定用于对业务数据流进行策略或计费 控制的业务策略, 这样, 相同业务的业务数据流可以使用不同的业务策略, 能够灵活地满足不同业务场景的需求。  In addition, a service policy for performing policy or charging control on the service data flow is determined from the at least one service policy, so that the service data flow of the same service can use different service policies, and can flexibly meet the requirements of different service scenarios. .
可选地, 作为一个实施例, PCRF设备在向 PCEF设备发送策略指定信 息时, 可向 PCEF设备发送 Charging-Rule-Install AVP, 其中携带策略指定信 息; 或者, 向 PCEF设备发送 Diameter CCA消息, 其中携带策略指定信息; 或者, 向 PCEF设备发送 Diameter RAR消息, 其中携带策略指定信息。  Optionally, as an embodiment, the PCRF device may send a Charging-Rule-Install AVP to the PCEF device, where the policy information is carried, or send a Diameter CCA message to the PCEF device, where the PCRF device sends the policy designation information to the PCEF device, where Carrying the policy designation information; or sending a Diameter RAR message to the PCEF device, where the policy designation information is carried.
下面结合具体例子, 更加详细地描述本发明的实施例。  Embodiments of the present invention are described in more detail below with reference to specific examples.
图 4是本发明另一实施例的策略和计费控制过程的流程图。 图 4的实施 例中, 扩展 Charging-Rule-Install AVP携带策略指定信息。  4 is a flow chart of a policy and charging control process in accordance with another embodiment of the present invention. In the embodiment of Figure 4, the extended Charging-Rule-Install AVP carries policy designation information.
401 , 进行业务规划, PCEF和 PCRF配置预定义 PCC规则。 例如, 建 立如图 2所示的预定义 PCC规则。  401. Perform business planning, PCEF and PCRF to configure predefined PCC rules. For example, create a predefined PCC rule as shown in Figure 2.
应注意, PCRF上配置的预定义 PCC规则可以是完整的, 也可以仅包括 预定义 PCC规则的关键信息。  It should be noted that the predefined PCC rules configured on the PCRF may be complete or may only include key information of predefined PCC rules.
402, 在 IP-CAN会话建立或修改过程中, PCEF向 PCRF分别发送针对 特定用户 Userl 和 User2 的请求, 请求相应的 PCC 策略。 该请求可以由 Diameter CCR消息携带。  402. During the establishment or modification of the IP-CAN session, the PCEF sends a request for the specific users Userl and User2 to the PCRF to request the corresponding PCC policy. The request can be carried by a Diameter CCR message.
本发明实施例对用户的数目不作限制。 对于每个用户, 均单独执行步骤 The embodiment of the present invention does not limit the number of users. Steps are performed separately for each user
402和 403。 402 and 403.
403, PCRF向 PCEF发送 Diameter CCA消息。  403. The PCRF sends a Diameter CCA message to the PCEF.
该 Diameter CCA消息中携带扩展的 Charging-Rule-Install AVP, 指示安 装 PCC规则并按照策略指定信息指定的业务策略名称定义计费和 /或控制策 略执行相应的处理。  The Diameter CCA message carries an extended Charging-Rule-Install AVP, which indicates that the PCC rule is installed and the charging and/or control policy is defined according to the business policy name specified by the policy specifying information to perform corresponding processing.
可选地, 如果 Charging-Rule-Install下发 PCC预定义规则时没有包括新 增的 AVP, 则预定义 PCC规则按照缺省的计费和 /控制策略名进行处理。  Optionally, if the Charging-Rule-Install sends a PCC predefined rule without including the newly added AVP, the predefined PCC rule is processed according to the default charging and/or control policy name.
以下是扩展 Charging-Rule-Install AVP 的一个具体实现, 新增字段 Policy-Name指示预定义 PCC规则对应的策略名称。 具体实现中, 携带策略 指定信息的 AVP 的名称、 数据类型都可以具体定义, 只要表示相同含义即 可, 本发明实施例对此不作限制。 Charging-Rule-Install:: = < AVP Header: 1001 > The following is a specific implementation of the extended Charging-Rule-Install AVP. The new field Policy-Name indicates the policy name corresponding to the predefined PCC rule. In a specific implementation, the name and the data type of the AVP carrying the policy designation information may be specifically defined, as long as the same meaning is indicated, which is not limited by the embodiment of the present invention. Charging-Rule-Install:: = < AVP Header: 1001 >
*[ Charging-Rule-Definition ]  *[ Charging-Rule-Definition ]
*[ Charging-Rule-Name ]  *[ Charging-Rule-Name ]
*[ Charging-Rule-Base-Name ]  *[ Charging-Rule-Base-Name ]
......  ......
*[ Policy-Name]  *[ Policy-Name]
*[ AVP ]  *[ AVP ]
上述例子中,符号 *表示相应的 AVP可以有多个。由 Charging-Rule-Name 指定 PCEF需要安装的规则名称,由 Policy-Name指定相应的业务策略名称。 这种情况下, 一个 Charging-Rule-Name可以仅对应于一个 Policy-Name。  In the above example, the symbol * indicates that there may be more than one corresponding AVP. The name of the rule to be installed by PCEF is specified by Charging-Rule-Name, and the corresponding business policy name is specified by Policy-Name. In this case, a Charging-Rule-Name can correspond to only one Policy-Name.
另 夕卜 , 作为 另 一实施例 , Charging-Rule-Install 中 也可以 由 Charging-Rule-Base-Name指定规则组的名称。一个规则组可以包括一个或多 个 PCC规则。 这种情况下, 一个 Charging-Rule-Base-Name可以对应于一个 或多个 Policy- Name  In addition, as another embodiment, Charging-Rule-Install may also specify the name of the rule group by Charging-Rule-Base-Name. A rule group can include one or more PCC rules. In this case, a Charging-Rule-Base-Name can correspond to one or more Policy- Names.
这样, PCEF确定了特定用户适用的 PCC规则, 并且确定了每个 PCC 规则相应的业务策略名称。  Thus, the PCEF determines the PCC rules applicable to a particular user and determines the corresponding business policy name for each PCC rule.
假设在步驟 403中确定对于特定用户 Userl , 指示安装 PCC规则 Rulel (对应于业务策略 Policyl )、 Rule2 (对应于业务策略 Policy2 )和 Rule3 (对 应于业务策略 Policy3 )。 另外, 假设在步骤 403中确定对于特定用户 User2, 指示安装 PCC规则 Rulel (对应于业务策略 Policyl ), Rule2 (对应于业务策 略 Policy4 )和 Rule4 (对应于业务策略 Policy5 )。 每个 PCC规则可以对应特 定的业务数据流。 但本发明实施例对步驟 403确定的 PCC规则的数目不作 限制。  Assume in step 403 that it is determined for the specific user User1 that the PCC rules Rulel (corresponding to the business policy Policy1), Rule2 (corresponding to the business policy Policy2), and Rule3 (corresponding to the business policy Policy3) are instructed. In addition, it is assumed in step 403 that for the specific user User2, the PCC rule Rulel (corresponding to the business policy Policy1), Rule2 (corresponding to the business policy Policy4) and Rule4 (corresponding to the business policy Policy5) are instructed to be installed. Each PCC rule can correspond to a specific business data stream. However, the embodiment of the present invention does not limit the number of PCC rules determined in step 403.
这样, 对于不同的用户 Userl和 User2, 可以配置不同的 PCC规则和业 务策略, 如 Userl配置 Rule3的 Policy3 , User2配置 Rule4的 Policy5; 即使 配置相同的 PCC规则, 也可以配置相同的业务策略(如 Userl和 User2均配 置的 Rulel的 Policyl )或不同的业务策略 (如 Userl配置的 Rule2的 Policy2 以及 User2配置的 Rule2的 Policy4 )。 按照现有技术的方法, 实现上述配置 至少需要 5条 PCC规则, 但本发明实施例只需要 4条 PCC规则, 这样可以 灵活地执行 PCC控制, 并且可以减少 PCC规则的总数。  In this way, different PCC rules and service policies can be configured for different users, such as Userl and User2. For example, User1 configures Policy3 of Rule3 and User2 configures Policy5 of Rule4. Even if the same PCC rules are configured, you can configure the same service policy (such as Userl). Both Ruel's Policyl and User2 are configured with different business policies (such as Policy2 of Rule1 configured by Userl and Policy4 of Rule2 configured by User2). According to the prior art method, at least five PCC rules are required to implement the above configuration, but the embodiment of the present invention requires only four PCC rules, so that PCC control can be flexibly performed, and the total number of PCC rules can be reduced.
404, PCEF分别接收到特定用户 Userl和 User2的上下行用户报文。 Userl和 User2的用户 文可以属于访问同一业务的业务数据流, 也可 以属于不同业务的业务数据流。 这里假设 Userl和 User2的用户报文属于同 一业务的业务数据流。 404. The PCEF receives the uplink and downlink user messages of the specific users User1 and User2, respectively. User1 and User2 can belong to the service data flow of the same service or the service data flow of different services. It is assumed here that the user packets of User1 and User2 belong to the service data stream of the same service.
405, PCEF检测业务数据流, 按照步骤 403确定的 PCC规则的优先级 匹配 PCC规则。  405. The PCEF detects the service data flow, and the PCC rule according to the priority determined by the step 403 matches the PCC rule.
406,当匹配到预定义 PCC规则时, PCEF根据步骤 503中的 Policy-Name 指示的业务策略名称, 确定该匹配的预定义 PCC规则对应的业务策略(即 图 1中的 "第一业务策略" 的例子), 从而获取对应的计费和 /或控制策略。  406: When matching the predefined PCC rule, the PCEF determines, according to the service policy name indicated by the Policy-Name in step 503, the service policy corresponding to the matched predefined PCC rule (ie, the “first service policy” in FIG. 1). An example) to obtain a corresponding billing and/or control strategy.
假设 Userl和 User2的业务数据流均匹配 Rule2,则 Userl的业务策略应 使用 Policy2, 而 User2的业务策略应使用 Policy4。  Assuming that the service data flows of Userl and User2 both match Rule2, Userl's business policy should use Policy2, and User2's business policy should use Policy4.
407, PCEF根据步骤 406得到的业务策略, 分别控制特定用户的业务数 据流。  407. The PCEF controls the service data flow of the specific user according to the service policy obtained in step 406.
按照本发明实施例, 即使对于相同业务的业务数据流, 仅使用少量 PCC 规则, 就可以配置不同用户使用不同的业务策略, 能够支持运营商灵活部署 多样化的业务, 而不需要多个 PCC规则, 降低了配置和维护的复杂度。 而 且, 本发明实施例避免匹配多个 PCC规则带来的性能消耗, 而不影响*** 性能。  According to the embodiment of the present invention, even if a small number of PCC rules are used for the service data flow of the same service, different users can be configured to use different service policies, which can support the operator to flexibly deploy diverse services without multiple PCC rules. , reducing the complexity of configuration and maintenance. Moreover, embodiments of the present invention avoid matching performance consumption caused by multiple PCC rules without affecting system performance.
图 5是本发明另一实施例的策略和计费控制过程的流程图。 图 5的实施 例中,扩展 Diameter CCA消息新增一个独立于 Charging-Rule-Install的 AVP, 携带策略指定信息。 另外, 类似于图 5 的方式, 本发明实施例也可以扩展 Diameter RAR消息新增一个独立于 Charging-Rule-Install的 AVP, 携带策略 指定信息, 为避免重复, 这里不再详细描述。  FIG. 5 is a flowchart of a policy and charging control process according to another embodiment of the present invention. In the embodiment of FIG. 5, the extended Diameter CCA message adds an AVP independent of Charging-Rule-Install, carrying policy designation information. In addition, similar to the manner of FIG. 5, the embodiment of the present invention may also extend a Diameter RAR message to add an AVP that is independent of Charging-Rule-Install, and carry policy designation information. To avoid repetition, details are not described herein.
501, 进行业务规划, PCEF和 PCRF配置预定义 PCC规则。 例如, 建 立如图 2所示的预定义 PCC规则。  501, Perform business planning, PCEF and PCRF to configure predefined PCC rules. For example, create a predefined PCC rule as shown in Figure 2.
502, 在 IP-CAN会话建立或修改过程中, PCEF向 PCRF发送针对特定 用户 Userl的请求, 请求相应的 PCC策略。 该请求可以由 Diameter CCR消 息携带。 本发明实施例对用户的数目不作限制。  502. During the IP-CAN session establishment or modification process, the PCEF sends a request for the specific user User1 to the PCRF to request a corresponding PCC policy. This request can be carried by the Diameter CCR message. The embodiment of the present invention does not limit the number of users.
503, PCRF向 PCEF发送 Diameter CCA消息。  503. The PCRF sends a Diameter CCA message to the PCEF.
该 Diameter CCA 消息中携带与现有技术相同的 Charging-Rule-Install AVP, 指示安装 PCC 规则。 另外, 该 Diameter CCA 消息中携带新增的 Policy-Name AVP, 携带策略指定信息。 可选地, 如果 Diameter CCA消息中没有携带新增的 Policy-Name AVP , 则预定义 PCC规则按照缺省的计费和 /控制策略名进行处理。 The Diameter CCA message carries the same Charging-Rule-Install AVP as the prior art, indicating that the PCC rules are installed. In addition, the Diameter CCA message carries a new Policy-Name AVP, which carries policy designation information. Optionally, if the newly-added Policy-Name AVP is not carried in the Diameter CCA message, the predefined PCC rule is processed according to the default charging and/or control policy name.
以下是扩展 Diameter CCA 消息新增 AVP 的一个具体实现, 新增 Policy-Name AVP指示该用户所支持的所有计费和 /或者控制策略名称。 具体 实现中, AVP的名称、 数据类型都可以具体定义, 只要表示相同含义即可, 本发明实施例对此不作限制。  The following is a specific implementation of adding an AVP to the extended Diameter CCA message. The new Policy-Name AVP indicates all the accounting and/or control policy names supported by the user. In a specific implementation, the name and the data type of the AVP can be specifically defined, and the embodiment of the present invention is not limited thereto.
< CC-Answer>:: = < Diameter Header: 272, PXY >  < CC-Answer>:: = < Diameter Header: 272, PXY >
<Session-Id >  <Session-Id >
{ Auth- Application-Id }  { Auth- Application-Id }
[Charging-Rule-Install ] [Charging-Rule-Install ]
*[ Policy-Name] *[ Policy-Name]
*[ AVP ]  *[ AVP ]
这样, PCEF确定了特定用户适用的 PCC规则。 假设 Diameter CCA消 息中的 Policy-Name为多个, 分别是 Policyl、 Policy2和 Policy7。  Thus, the PCEF determines the PCC rules that are applicable to a particular user. Assume that there are multiple Policy-Names in the Diameter CCA message, namely Policyl, Policy2, and Policy7.
假设在步驟 503中确定对于特定用户 Userl ,指示安装 PCC规则 Rulel。 每个 PCC规则可以对应特定的业务数据流。 本发明实施例对步骤 503确定 的 PCC规则的数目不作限制。  It is assumed that it is determined in step 503 that the PCC rule Rulel is installed for the specific user User1. Each PCC rule can correspond to a particular business data stream. The embodiment of the present invention does not limit the number of PCC rules determined in step 503.
如图 2所示, 假设 Rulel中包括 Policyl和 Policy2, 但不包括 Policy7, 因此 PCEF会匹配得到两个业务策略 Policyl和 Policy2。 在此情况下, PCEF 可选择优先级高的业务策略(假设为 Policyl )作为 Userl在 Rulel下的业务 策略。  As shown in Figure 2, it is assumed that Rulel includes Policyl and Policy2, but does not include Policy7. Therefore, PCEF will match two business policies Policyl and Policy2. In this case, PCEF can choose a high priority business policy (assumed to be Policyl) as Userl's business policy under Rulel.
504, PCEF接收到特定用户 Userl的上下行用户报文。  504. The PCEF receives the uplink and downlink user message of the specific user User1.
505, PCEF检测业务数据流, 按照步骤 503确定的 PCC规则的优先级 匹配 PCC规则。  505. The PCEF detects the service data flow, and the PCC rule according to the priority determined by the step 503 matches the PCC rule.
506, 当匹配到预定义 PCC规则 Rulel时, PCEF根据步骤 503中的确 定的业务策略 Policyl (即图 1 中的 "第一业务策略" 的例子), 获取对应 的计费和 /或控制策略。  506. When matching the predefined PCC rule Rule1, the PCEF obtains the corresponding charging and/or control policy according to the determined service policy Policy1 in step 503 (ie, the example of the "first service policy" in FIG. 1).
507, PCEF根据步骤 506得到的业务策略,控制特定用户的业务数据流。 按照本发明实施例, 即使对于相同业务的业务数据流, 仅使用少量 PCC 规则, 就可以配置不同用户使用不同的业务策略, 能够支持运营商灵活部署 多样化的业务, 而不需要多个 PCC规则, 降低了配置和维护的复杂度。 而 且, 本发明实施例避免匹配多个 PCC规则带来的性能消耗, 而不影响*** 性能。 507. The PCEF controls the service data flow of the specific user according to the service policy obtained in step 506. According to an embodiment of the present invention, even for a service data flow of the same service, only a small amount of PCC is used. The rules can be used to configure different users to use different service policies. This allows operators to flexibly deploy diverse services without requiring multiple PCC rules, reducing the complexity of configuration and maintenance. Moreover, embodiments of the present invention avoid matching performance consumption caused by multiple PCC rules without affecting system performance.
另夕卜,图 4和图 5的实施例中, [Policy-Name]也可以用 [Policy-List]代替。  In addition, in the embodiments of Figs. 4 and 5, [Policy-Name] can also be replaced with [Policy-List].
[Policy-List]以集合的形式指示一个或多个业务策略名称。 PCEF 将该 Policy-List (上述第一集合的一个变型)和本地的预定义 PCC规则下的业务 策略列表(上述第二集合)进行比较, 以得到匹配的业务策略。 这样的修改 也落入本发明实施例的范围内。  [Policy-List] indicates one or more business policy names in the form of a collection. The PCEF compares the Policy-List (a variant of the first set above) with the list of service policies (the second set above) under the local predefined PCC rules to obtain a matching business policy. Such modifications are also within the scope of embodiments of the invention.
图 6是本发明一个实施例的 PCEF设备的框图。 图 6的 PCEF设备 60 可以是网关, 如 GGSN、 PGW或独立部署的 PCEF设备, 包括匹配单元 61、 确定单元 62和执行单元 63。  Figure 6 is a block diagram of a PCEF device in accordance with one embodiment of the present invention. The PCEF device 60 of FIG. 6 may be a gateway, such as a GGSN, a PGW, or a separately deployed PCEF device, including a matching unit 61, a determining unit 62, and an executing unit 63.
匹配单元 61在接收到业务数据流时, 将业务数据流与预定义 PCC规则 进行匹配, 其中预定义 PCC规则包括至少一个业务策略, 每个业务策略具 有相应的业务策略名称和业务策略参数。  The matching unit 61 matches the service data stream with the predefined PCC rules when the service data stream is received. The predefined PCC rules include at least one service policy, and each service policy has a corresponding service policy name and a service policy parameter.
确定单元 62从匹配单元 61得到的与业务数据流相匹配的预定义 PCC 规则所包括的至少一个业务策略中确定第一业务策略。  The determining unit 62 determines the first service policy from the at least one service policy included in the predefined PCC rule that matches the service data flow obtained by the matching unit 61.
执行单元 63根据确定单元 62确定的第一业务策略对应的业务策略参数 对业务数据流进行策略或计费控制。  The executing unit 63 performs policy or charging control on the service data flow according to the service policy parameter corresponding to the first service policy determined by the determining unit 62.
本发明实施例中, 与业务数据流进行匹配的预定义 PCC规则包括至少 一个业务策略, 通过业务策略名称标识每个业务策略, 而无需 PCC规则和 业务策略——对应, 这样能够减少 PCC规则的数目。  In the embodiment of the present invention, the predefined PCC rule that matches the service data flow includes at least one service policy, and each service policy is identified by the service policy name, without the PCC rule and the service policy-corresponding, which can reduce the PCC rule. number.
另外,从该至少一个业务策略中确定用于对业务数据流进行策略或计费 控制的业务策略, 这样, 相同业务的业务数据流可以使用不同的业务策略, 能够灵活地满足不同业务场景的需求。  In addition, a service policy for performing policy or charging control on the service data flow is determined from the at least one service policy, so that the service data flow of the same service can use different service policies, and can flexibly meet the requirements of different service scenarios. .
PCEF设备 60可以实现图 1-图 5的实施例中有关 PCEF的各个过程,为 避免重复, 不再详细描述。  The PCEF device 60 can implement the various processes related to the PCEF in the embodiment of Figures 1 - 5, and will not be described in detail in order to avoid redundancy.
可选地, 作为一个实施例, 预定义 PCC规则包括至少一个业务策略列 表, 每个业务策略列表用于指示一个或多个所述业务策略, 如图 2所示。 这 样, 便于业务策略的修改。  Optionally, as an embodiment, the predefined PCC rule includes at least one service policy list, where each service policy list is used to indicate one or more of the service policies, as shown in FIG. 2. In this way, it is easy to modify the business strategy.
可选地, 作为另一实施例, PCEF设备 60还包括接收单元 64。 接收单 元 64接收 PCRF设备发送的 PCC规则安装信息和策略指定信息。 PCC规则 安装信息用于指示安装预定义 PCC规则。 策略指定信息用于指定至少一个 业务策略名称。 此时, 匹配单元 61还可以将策略指定信息所指定的至少一 个业务策略名称与 PCC规则安装信息指示安装的预定义 PCC规则所包括的 至少一个业务策略的业务策略名称进行匹配, 以得到 PCC规则安装信息指 示安装的预定义 PCC规则的对应业务策略。 在此情况下, 确定单元 62可将 匹配单元 61得到的与业务数据流相匹配的预定义 PCC规则的对应业务策略 确定为第一业务策略。 Optionally, as another embodiment, the PCEF device 60 further includes a receiving unit 64. Receiving order The element 64 receives the PCC rule installation information and the policy designation information sent by the PCRF device. PCC rule installation information is used to indicate the installation of predefined PCC rules. The policy designation information is used to specify at least one business policy name. At this time, the matching unit 61 may further match the at least one service policy name specified by the policy designation information with the service policy name of the at least one service policy included in the pre-defined PCC rule that the PCC rule installation information indicates to obtain the PCC rule. The installation information indicates the corresponding business policy of the installed predefined PCC rules. In this case, the determining unit 62 may determine the corresponding service policy of the predefined PCC rule obtained by the matching unit 61 that matches the service data flow as the first service policy.
可选地, 作为另一实施例, 如果匹配得到一个业务策略, 则匹配单元 61 可将这个业务策略确定为对应业务策略。或者,如杲匹配得到多个业务策略, 则匹配单元 61可选择多个业务策略之一作为对应业务策略。 或者, 如果没 有匹配到业务策略, 则匹配单元 61 可将至少一个业务策略中的缺省业务策 略确定为对应业务策略, 或者确定匹配失败。  Optionally, as another embodiment, if the matching obtains a service policy, the matching unit 61 may determine the service policy as the corresponding service policy. Alternatively, if the matching is to obtain multiple service policies, the matching unit 61 may select one of the multiple service policies as the corresponding service policy. Alternatively, if there is no match to the service policy, the matching unit 61 may determine the default service policy in the at least one service policy as the corresponding service policy, or determine that the match fails.
可选地, 作为另一实施例, 匹配单元 61可按照多个业务策略的优先级, 选择多个业务策略之一作为对应业务策略, 例如选择优先级高的业务策略。  Optionally, as another embodiment, the matching unit 61 may select one of the multiple service policies as the corresponding service policy according to the priority of the multiple service policies, for example, select a service policy with a high priority.
可选地, 作为另一实施例, 接收单元 65 可接收 PCRF 在 Charging-Rule-Install AVP 中携带的策略指定信息; 或者, 接收 PCRF 在 Diameter CCA消息中携带的策略指定信息; 或者, 接收 PCRF在 Diameter RAR消息中携带的策略指定信息。具体携带策略指定信息的方法可参照图 4 和图 5的实施例, 这里不再重复描述。  Optionally, as another embodiment, the receiving unit 65 may receive the policy specifying information carried by the PCRF in the Charging-Rule-Install AVP; or, receive the policy specifying information carried by the PCRF in the Diameter CCA message; or, receive the PCRF in the Policy specification information carried in the Diameter RAR message. For the method of carrying the policy specifying information, refer to the embodiments in FIG. 4 and FIG. 5, and the description is not repeated here.
可选地, 作为另一实施例, 确定单元 62可将预定义 PCC规则所包括的 至少一个业务策略中的缺省业务策略, 确定为第一业务策略。  Optionally, as another embodiment, the determining unit 62 may determine, as the first service policy, a default service policy in the at least one service policy included in the predefined PCC rule.
可选地, 作为另一实施例, 接收单元 64可接收 PCRF设备发送的 PCC 规则安装信息, PCC规则安装信息用于指示安装预定义 PCC规则。 确定单 元 62可以从所安装的预定义 PCC规则所包括的至少一个业务策略中确定所 安装的预定义 PCC规则的对应业务策略, 并且确定单元 64可以将匹配单元 61得到的与业务数据流相匹配的预定义 PCC规则的对应业务策略确定为第 一业务策略。  Optionally, as another embodiment, the receiving unit 64 may receive PCC rule installation information sent by the PCRF device, where the PCC rule installation information is used to indicate that the predefined PCC rule is installed. The determining unit 62 may determine a corresponding service policy of the installed predefined PCC rule from the at least one service policy included in the installed predefined PCC rule, and the determining unit 64 may match the obtained traffic unit 61 with the service data stream. The corresponding business policy of the predefined PCC rule is determined as the first business policy.
可选地, 作为另一实施例, 确定单元 62可根据用户信息, 确定对应业 务策略, 其中用户信息包括以下中的至少一种: 用户的 APN、 用户的 ULI、 用户的漫游状态以及用户的 QoS。 按照本发明实施例, 即使对于相同业务的业务数据流, 仅使用少量 PCC 规则, 就可以配置不同用户使用不同的业务策略, 能够支持运营商灵活部署 多样化的业务, 而不需要多个 PCC规则, 降低了配置和维护的复杂度。 而 且, 本发明实施例避免匹配多个 PCC规则带来的性能消耗, 而不影响*** 性能。 Optionally, as another embodiment, the determining unit 62 may determine, according to the user information, a corresponding service policy, where the user information includes at least one of the following: a user's APN, the user's ULI, the user's roaming status, and the user's QoS. . According to the embodiment of the present invention, even if a small number of PCC rules are used for the service data flow of the same service, different users can be configured to use different service policies, which can support the operator to flexibly deploy diverse services without multiple PCC rules. , reducing the complexity of configuration and maintenance. Moreover, embodiments of the present invention avoid matching performance consumption caused by multiple PCC rules without affecting system performance.
图 7是本发明一个实施例的 PCRF设备的框图。 图 7的 PCRF设备 70 包括确定单元 71和发送单元 72。  Figure 7 is a block diagram of a PCRF device in accordance with one embodiment of the present invention. The PCRF device 70 of Fig. 7 includes a determining unit 71 and a transmitting unit 72.
确定单元 71确定用户的预定义 PCC规则和对应于预定义 PCC规则的第 一业务策略。  The determining unit 71 determines the user's predefined PCC rules and the first business policy corresponding to the predefined PCC rules.
发送单元 72向 PCEF设备发送 PCC规则安装信息和策略指定信息。 PCC 规则安装信息用于指示在 PCEF上安装预定义 PCC规则, 其中预定义 PCC 规则包括至少一个业务策略, 每个业务策略具有相应的业务策略名称和业务 策略参数。 策略指定信息用于指定第一业务策略的业务策略名称。  The transmitting unit 72 transmits PCC rule installation information and policy designation information to the PCEF device. The PCC rule installation information is used to indicate that the predefined PCC rules are installed on the PCEF, wherein the predefined PCC rules include at least one service policy, and each business policy has a corresponding business policy name and business policy parameters. The policy specification information is used to specify the business policy name of the first business policy.
本发明实施例中, 与业务数据流进行匹配的预定义 PCC规则包括至少 一个业务策略, 通过业务策略名称标识每个业务策略, 而无需 PCC规则和 业务策略——对应, 这样能够减少 PCC规则的数目。  In the embodiment of the present invention, the predefined PCC rule that matches the service data flow includes at least one service policy, and each service policy is identified by the service policy name, without the PCC rule and the service policy-corresponding, which can reduce the PCC rule. number.
另外,从该至少一个业务策略中确定用于对业务数据流进行策略或计费 控制的业务策略, 这样, 相同业务的业务数据流可以使用不同的业务策略, 能够灵活地满足不同业务场景的需求。  In addition, a service policy for performing policy or charging control on the service data flow is determined from the at least one service policy, so that the service data flow of the same service can use different service policies, and can flexibly meet the requirements of different service scenarios. .
PCRF设备 70可以实现图 1-图 5的实施例中有关 PCRF的各个过程,为 避免重复, 不再详细描述。  The PCRF device 70 can implement the various processes related to PCRF in the embodiments of Figures 1 - 5, and to avoid repetition, it will not be described in detail.
可选地, 作为一个实施例, 发送单元 72 可以向 PCEF 设备发送计 Charging-Rule-Install AVP, Charging-Rule-Install AVP中携带策略指定信息; 或者, 向 PCEF设备发送 Diameter CCA消息, Diameter CCA消息中携带的 策略指定信息; 或者, 向 PCEF设备发送 Diameter RAR消息, Diameter CCA 消息中携带的策略指定信息。  Optionally, as an embodiment, the sending unit 72 may send a Charging-Rule-Install AVP to the PCEF device, where the Charging-Rule-Install AVP carries the policy specifying information; or, sends a Diameter CCA message to the PCEF device, and the Diameter CCA message is sent. The policy designation information carried in the Diameter CCA message is sent to the PCEF device.
可选地, 作为另一实施例, 确定单元 71 可根据用户信息, 确定用户的 预定义 PCC规则和对应于预定义 PCC规则的第一业务策略, 其中用户信息 包括以下中的至少一种: 用户的 APN、 用户的 ULI、 用户的漫游状态以及用 户的 QoS。  Optionally, as another embodiment, the determining unit 71 may determine, according to the user information, a predefined PCC rule of the user and a first service policy corresponding to the predefined PCC rule, where the user information includes at least one of the following: APN, user's ULI, user's roaming status, and user's QoS.
图 8是本发明另一实施例的 PCEF设备的框图。 图 8的 PCEF设备 80 可以是网关, 如 GGSN、 PGW或独立部署的 PCEF设备, 包括处理器 81和 存储器 82。 Figure 8 is a block diagram of a PCEF device in accordance with another embodiment of the present invention. PCEF device 80 of Figure 8 It may be a gateway, such as a GGSN, a PGW, or a separately deployed PCEF device, including a processor 81 and a memory 82.
存储器 82存储使得处理器 81执行以下操作的指令或代码: 接收到业务 数据流时, 将业务数据流与预定义 PCC规则进行匹配, 其中预定义 PCC规 则包括至少一个业务策略,每个业务策略具有相应的业务策略名称和业务策 略参数; 从与业务数据流相匹配的预定义 PCC规则所包括的至少一个业务 策略中确定第一业务策略; 根据第一业务策略对应的业务策略参数对业务数 据流进行策略或计费控制。  The memory 82 stores instructions or code that cause the processor 81 to: when the service data stream is received, match the service data stream with a predefined PCC rule, wherein the predefined PCC rule includes at least one business policy, each business policy having Corresponding service policy name and service policy parameter; determining a first service policy from at least one service policy included in a predefined PCC rule that matches the service data flow; and the service data flow according to the service policy parameter corresponding to the first service policy Perform policy or billing control.
本发明实施例中, 与业务数据流进行匹配的预定义 PCC规则包括至少 一个业务策略, 通过业务策略名称标识每个业务策略, 而无需 PCC规则和 业务策略——对应, 这样能够减少 PCC规则的数目。  In the embodiment of the present invention, the predefined PCC rule that matches the service data flow includes at least one service policy, and each service policy is identified by the service policy name, without the PCC rule and the service policy-corresponding, which can reduce the PCC rule. number.
另外,从该至少一个业务策略中确定用于对业务数据流进行策略或计费 控制的业务策略, 这样, 相同业务的业务数据流可以使用不同的业务策略, 能够灵活地满足不同业务场景的需求。  In addition, a service policy for performing policy or charging control on the service data flow is determined from the at least one service policy, so that the service data flow of the same service can use different service policies, and can flexibly meet the requirements of different service scenarios. .
PCEF设备 80的各个组件通过总线*** 89耦合在一起, 其中总线*** The various components of the PCEF device 80 are coupled together by a bus system 89, wherein the bus system
89除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。 但是为了清楚说明起见, 在图中将各种总线都标为总线*** 89。 In addition to the data bus, the 89 may include a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are labeled as bus system 89 in the figure.
在实现过程中, 上述方法的各步骤可以通过处理器 81 中的硬件的集成 逻辑电路或者软件形式的指令控制完成。 上述的处理器 81 可以是通用处理 器、 数字信号处理器 (DSP )、 专用集成电路(ASIC )、 现成可编程门阵列 ( FPGA ) 或者其他可编程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬 件组件。 可以实现或者执行本发明实施例中的公开的各方法、 步骤及逻辑框 等。 结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器 执行完成, 或者用译码处理器中的硬件及软件模块组合执行完成。 软件模块 可以位于随机存储器, 闪存、 只读存储器, 可编程只读存储器或者电可擦写 可编程存储器、 寄存器等本领域成熟的存储介质中。 该存储介质位于存储器 82, 处理器 81读取存储器 82中的信息, 结合其硬件完成上述方法的步骤。 例如, 存储器 82可存储预定义 PCC规则。  In the implementation process, the steps of the above method may be completed by the integrated logic of the hardware in the processor 81 or by the instruction of the software. The processor 81 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware. Component. The methods, steps, logic blocks, and the like disclosed in the embodiments of the present invention may be implemented or executed. The steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 82, and the processor 81 reads the information in the memory 82 and combines the hardware to perform the steps of the above method. For example, memory 82 can store predefined PCC rules.
PCEF设备 80可以实现图 1-图 5的实施例中有关 PCEF的各个过程,为 避免重复, 不再详细描述。 可选地, 作为一个实施例, PCEF设备 80还包括发送电路 83和接收电 路 84。 The PCEF device 80 can implement the various processes related to the PCEF in the embodiments of FIGS. 1 to 5, and will not be described in detail in order to avoid redundancy. Optionally, as an embodiment, the PCEF device 80 further includes a transmitting circuit 83 and a receiving circuit 84.
接收电路 84接收 PCRF设备发送的 PCC规则安装信息和策略指定信息。 PCC规则安装信息用于指示安装预定义 PCC规则, 策略指定信息用于指定 至少一个业务策略名称。 此时, 处理器 81还可以将策略指定信息所指定的 至少一个业务策略名称与 pCC规则安装信息指示安装的预定义 PCC规则所 包括的至少一个业务策略的业务策略名称进行匹配, 以得到 PCC规则安装 信息指示安装的预定义 PCC规则的对应业务策略。 在此情况下, 处理器 81 可将与业务数据流相匹配的预定义 PCC规则的对应业务策略确定为第一业 务策略。。 The receiving circuit 84 receives PCC rule installation information and policy designation information transmitted by the PCRF device. The PCC rule installation information is used to indicate that a predefined PCC rule is installed, and the policy designation information is used to specify at least one business policy name. At this time, the processor 81 may further match the at least one service policy name specified by the policy designation information with the service policy name of the at least one service policy included in the pre-defined PCC rule that is installed by the p CC rule installation information to obtain the PCC. The rule installation information indicates the corresponding business policy of the installed predefined PCC rules. In this case, the processor 81 may determine the corresponding service policy of the predefined PCC rule that matches the service data flow as the first service policy. .
可选地, 作为另一实施例, 如果匹配得到一个业务策略, 则处理器 81 可将这个业务策略确定为对应业务策略; 如果匹配得到多个业务策略, 则处 理器 81 可选择多个业务策略之一作为对应业务策略。 或者, 如果没有匹配 到业务策略, 则处理器 81 可将至少一个业务策略中的缺省业务策略确定为 对应业务策略, 或者确定匹配失败。  Optionally, as another embodiment, if the matching obtains a service policy, the processor 81 may determine the service policy as a corresponding service policy; if the matching obtains multiple service policies, the processor 81 may select multiple service policies. One is the corresponding business strategy. Alternatively, if the service policy is not matched, the processor 81 may determine the default service policy in the at least one service policy as the corresponding service policy, or determine that the match fails.
可选地, 作为另一实施例, 处理器 81可按照多个业务策略的优先级, 选择多个业务策略之一作为对应业务策略。  Optionally, as another embodiment, the processor 81 may select one of the multiple service policies as the corresponding service policy according to the priorities of the multiple service policies.
可选地, 作为另一实施例, 接收电路 84 可接收 PCRF 在 Charging-Rule-Install AVP 中携带的策略指定信息; 或者, 接收 PCRF 在 Diameter CCA消息中携带的策略指定信息; 或者 , 接收 PCRF在 Diameter RAR消息中携带的策略指定信息。  Optionally, as another embodiment, the receiving circuit 84 may receive the policy specifying information carried by the PCRF in the Charging-Rule-Install AVP; or, receive the policy specifying information carried by the PCRF in the Diameter CCA message; or, receive the PCRF in Policy specification information carried in the Diameter RAR message.
可选地, 作为另一实施例, 处理器 81将预定义 PCC规则所包括的至少 一个业务策略中的缺省业务策略, 确定为第一业务策略。  Optionally, as another embodiment, the processor 81 determines the default service policy in the at least one service policy included in the predefined PCC rule as the first service policy.
可选地, 作为另一实施例, 接收电路 84可接收 PCRF设备发送的 PCC 规则安装信息, PCC规则安装信息用于指示安装预定义 PCC规则。 处理器 81可以从所安装的预定义 PCC规则所包括的至少一个业务策略中确定所安 装的预定义 PCC规则的对应业务策略, 并且处理器 81可以将与业务数据流 相匹配的预定义 PCC规则的对应业务策略确定为第一业务策略。  Optionally, as another embodiment, the receiving circuit 84 may receive PCC rule installation information sent by the PCRF device, where the PCC rule installation information is used to indicate that the predefined PCC rule is installed. The processor 81 may determine a corresponding service policy of the installed predefined PCC rule from at least one service policy included in the installed predefined PCC rule, and the processor 81 may use a predefined PCC rule that matches the service data flow. The corresponding business policy is determined as the first business strategy.
可选地, 作为另一实施例, 处理器 81可根据用户信息, 确定对应业务 策略, 其中用户信息包括以下中的至少一种: 用户的 APN、 用户的 ULI、 用 户的漫游状态以及用户的 QoS。 按照本发明实施例, 即使对于相同业务的业务数据流, 仅使用少量 PCC 规则, 就可以配置不同用户使用不同的业务策略, 能够支持运营商灵活部署 多样化的业务, 而不需要多个 PCC规则, 降低了配置和维护的复杂度。 而 且, 本发明实施例避免匹配多个 PCC规则带来的性能消耗, 而不影响*** 性能。 Optionally, as another embodiment, the processor 81 may determine, according to user information, a corresponding service policy, where the user information includes at least one of the following: a user's APN, a user's ULI, a user's roaming status, and the user's QoS. . According to the embodiment of the present invention, even if a small number of PCC rules are used for the service data flow of the same service, different users can be configured to use different service policies, which can support the operator to flexibly deploy diverse services without multiple PCC rules. , reducing the complexity of configuration and maintenance. Moreover, embodiments of the present invention avoid matching performance consumption caused by multiple PCC rules without affecting system performance.
图 9是本发明另一实施例的 PCRF设备的框图。 图 9的 PCRF设备 90 包括处理器 91、 存储器 92和发送电路 93。  Figure 9 is a block diagram of a PCRF device in accordance with another embodiment of the present invention. The PCRF device 90 of Fig. 9 includes a processor 91, a memory 92, and a transmitting circuit 93.
存储器 92存储使得处理器 91硝定用户的预定义 PCC规则和对应于预 定义 PCC规则的第一业务策略的指令。 发送电路 72向 PCEF设备发送 PCC 规则安装信息和策略指定信息。 PCC规则安装信息用于指示在 PCEF上安装 预定义 PCC规则, 其中预定义 PCC规则包括至少一个业务策略, 每个业务 策略具有相应的业务策略名称和业务策略参数。 策略指定信息用于指定第一 业务策略的业务策略名称。  The memory 92 stores instructions that cause the processor 91 to titrate the user's predefined PCC rules and the first business policy corresponding to the predefined PCC rules. The transmitting circuit 72 transmits PCC rule installation information and policy designation information to the PCEF device. The PCC rule installation information is used to indicate that the predefined PCC rules are installed on the PCEF, wherein the predefined PCC rules include at least one service policy, and each business policy has a corresponding business policy name and business policy parameters. The policy specification information is used to specify the business policy name of the first business policy.
本发明实施例中, 与业务数据流进行匹配的预定义 PCC规则包括至少 一个业务策略, 通过业务策略名称标识每个业务策略, 而无需 PCC规则和 业务策略——对应, 这样能够减少 PCC规则的数目。  In the embodiment of the present invention, the predefined PCC rule that matches the service data flow includes at least one service policy, and each service policy is identified by the service policy name, without the PCC rule and the service policy-corresponding, which can reduce the PCC rule. number.
另外,从该至少一个业务策略中确定用于对业务数据流进行策略或计费 控制的业务策略, 这样, 相同业务的业务数据流可以使用不同的业务策略, 能够灵活地满足不同业务场景的需求。  In addition, a service policy for performing policy or charging control on the service data flow is determined from the at least one service policy, so that the service data flow of the same service can use different service policies, and can flexibly meet the requirements of different service scenarios. .
PCRF设备 90的各个组件通过总线*** 99耦合在一起 , 其中总线*** The various components of the PCRF device 90 are coupled together by a bus system 99, wherein the bus system
99除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。 但是为了清楚说明起见, 在图中将各种总线都标为总线*** 99。 In addition to the data bus, the 99 may include a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are labeled as bus system 99 in the figure.
PCRF设备 90还可以包括接收电路 94。 处理器 91控制 PCRF设备 90 的整体操作。 在实现过程中, 上述方法的各步骤可以通过处理器 81 中的硬 件的集成逻辑电路或者软件形式的指令控制完成。 上述的处理器 81 可以是 通用处理器、 数字信号处理器(DSP )、 专用集成电路(ASIC )、 现成可编程 门阵列 (FPGA ) 或者其他可编程逻辑器件、 分立门或者晶体管逻辑器件、 逻辑框图。 通用处理器可以是微处理器或者该处理器也可以是任何常规的处 理器等。 结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处 理器执行完成, 或者用译码处理器中的硬件及软件模块组合执行完成。 软件 模块可以位于随机存储器, 闪存、 只读存储器, 可编程只读存储器或者电可 擦写可编程存储器、 寄存器等本领域成熟的存储介质中。 该存储介质位于存 储器 92,处理器 91读取存储器 92中的信息, 结合其硬件完成上述方法的步 骤。 例如, 存储器 92可存储预定义 PCC规则。 The PCRF device 90 may also include a receiving circuit 94. The processor 91 controls the overall operation of the PCRF device 90. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 81 or an instruction control in the form of software. The processor 81 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a logic block diagram. . The general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor. Software The modules may be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 92, and the processor 91 reads the information in the memory 92 and combines the hardware to perform the steps of the above method. For example, memory 92 can store predefined PCC rules.
PCRF设备 90可以实现图 1-图 5的实施例中有关 PCRF的各个过程,为 避免重复, 不再详细描述。  The PCRF device 90 can implement the various processes related to PCRF in the embodiments of Figures 1 - 5, and to avoid repetition, it will not be described in detail.
可选地, 作为一个实施例, 发送电路 93 可以向 PCEF 设备发送计 Charging-Rule-Install AVP , Charging-Rule-Install AVP中携带策略指定信息; 或者, 向 PCEF设备发送 Diameter CCA消息, Diameter CCA消息中携带的 策略指定信息; 或者, 向 PCEF设备发送 Diameter RAR消息, Diameter CCA 消息中携带的策略指定信息。  Optionally, as an embodiment, the sending circuit 93 may send a Charging-Rule-Install AVP to the PCEF device, where the Charging-Rule-Install AVP carries the policy specifying information; or, sends a Diameter CCA message to the PCEF device, and the Diameter CCA message is sent. The policy designation information carried in the Diameter CCA message is sent to the PCEF device.
按照本发明实施例, 即使对于相同业务的业务数据流, 仅使用少量 PCC 规则, 就可以配置不同用户使用不同的业务策略, 能够支持运营商灵活部署 多样化的业务, 而不需要多个 PCC规则, 降低了配置和维护的复杂度。 而 且, 本发明实施例避免匹配多个 PCC规则带来的性能消耗, 而不影响*** 性能。  According to the embodiment of the present invention, even if a small number of PCC rules are used for the service data flow of the same service, different users can be configured to use different service policies, which can support the operator to flexibly deploy diverse services without multiple PCC rules. , reducing the complexity of configuration and maintenance. Moreover, embodiments of the present invention avoid matching performance consumption caused by multiple PCC rules without affecting system performance.
本领域普通技术人员可以意识到, 结合本文中所公开的实施例描述的各 示例的单元及算法步骤, 能够以电子硬件、 或者计算机软件和电子硬件的结 合来实现。 这些功能究竟以硬件还是软件方式来执行, 取决于技术方案的特 定应用和设计约束条件。 专业技术人员可以对每个特定的应用来使用不同方 法来实现所描述的功能, 但是这种实现不应认为超出本发明的范围。  Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in a combination of electronic hardware or computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述描 述的***、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对应 过程, 在此不再赘述。  A person skilled in the art can clearly understand that the specific working process of the system, the device and the unit described above can be referred to the corresponding process in the foregoing method embodiments for the convenience and brevity of the description, and details are not described herein again.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的***、 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 ***, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间 的耦合或直接耦合或通信连接可以是通过一些接口, 装置或单元的间接耦合 或通信连接, 可以是电性, 机械或其它的形式。 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或 者全部单元来实现本实施例方案的目的。 In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form. The components displayed for the unit may or may not be physical units, ie may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一 个单元中。  In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使 用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明 的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部 分可以以软件产品的形式体现出来, 该计算机软件产品存储在一个存储介质 中, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。 而前 述的存储介质包括: U盘、移动硬盘、只读存储器( ROM , Read-Only Memory )、 随机存取存储器(RAM, Random Access Memory ), 磁碟或者光盘等各种可 以存储程序代码的介质。  The functions, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应所述以权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权利要求 Rights request
1、 一种策略和计费控制方法, 其特征在于, 包括: A method for controlling policy and charging, characterized in that it comprises:
在接收到业务数据流时, 将所述业务数据流与预定义策略和计费控制 PCC规则进行匹配, 其中所述预定义 PCC规则包括至少一个业务策略, 每 个所述业务策略具有相应的业务策略名称和业务策略参数;  When the service data stream is received, the service data stream is matched with a predefined policy and a charging control PCC rule, where the predefined PCC rule includes at least one service policy, and each of the service policies has a corresponding service. Policy name and business policy parameters;
从与所述业务数据流相匹配的预定义 PCC规则所包括的至少一个业务 策略中确定第一业务策略;  Determining a first service policy from at least one service policy included in a predefined PCC rule that matches the service data flow;
根据所述第一业务策略对应的业务策略参数对所述业务数据流进行策 略或计费控制。  Performing policy or charging control on the service data flow according to the service policy parameter corresponding to the first service policy.
2、 如权利要求 1所述的方法, 其特征在于, 所述预定义 PCC规则包括 至少一个业务策略列表,每个业务策略列表用于指示一个或多个所述业务策 略。  2. The method of claim 1, wherein the predefined PCC rules comprise at least one service policy list, each service policy list being used to indicate one or more of the service policies.
3、 如权利要求 1或 2所述的方法, 其特征在于, 在从与所述业务数据 流相匹配的预定义 PCC规则所包括的至少一个业务策略中确定第一业务策 略之前, 还包括:  The method according to claim 1 or 2, wherein before determining the first service policy from the at least one service policy included in the predefined PCC rule that matches the service data flow, the method further includes:
接收策略和计费规则功能 PCRF设备发送的 PCC规则安装信息和策略 指定信息, 所述 PCC规则安装信息用于指示安装所述预定义 PCC规则, 所 述策略指定信息用于指定至少一个业务策略名称,  The PCC rule installation information and the policy designation information sent by the PCRF device are received by the policy and the charging rule function, where the PCC rule installation information is used to indicate that the predefined PCC rule is installed, and the policy designation information is used to specify at least one service policy name. ,
将所述策略指定信息所指定的至少一个业务策略名称与所述 PCC规则 安装信息指示安装的预定义 PCC规则所包括的所述至少一个业务策略的业 务策略名称进行匹配,以得到所述 PCC规则安装信息指示安装的预定义 PCC 规则的对应业务策略,  Matching at least one service policy name specified by the policy designation information with a service policy name of the at least one service policy included in the preset PCC rule by the PCC rule installation information to obtain the PCC rule The installation information indicates the corresponding business policy of the installed predefined PCC rules.
其中, 所述从与所述业务数据流相匹配的预定义 PCC规则所包括的至 少一个业务策略中确定第一业务策略, 包括:  The determining the first service policy from the at least one service policy included in the predefined PCC rule that matches the service data flow includes:
将与所述业务数据流相匹配的预定义 PCC规则的对应业务策略确定为 所述第一业务策略。  A corresponding service policy of a predefined PCC rule that matches the service data flow is determined as the first service policy.
4、 如权利要求 3所述的方法, 其特征在于, 所述将所述策略指定信息 所指定的至少一个业务策略名称与所述 PCC规则安装信息指示安装的预定 义 PCC规则所包括的所述至少一个业务策略的业务策略名称进行匹配, 以 得到所述 PCC规则安装信息指示安装的预定义 PCC规则的对应业务策略, 包括: The method according to claim 3, wherein the at least one service policy name specified by the policy designation information and the PCC rule installation information indicate that the installed predefined PCC rule includes the Matching the business policy names of the at least one service policy to obtain the corresponding business policy of the predefined PCC rules that the PCC rule installation information indicates, include:
如果匹配得到一个业务策略, 则将所述一个业务策略确定为所述对应业 务策略; 或者,  If the matching obtains a service policy, determining the one service policy as the corresponding service policy; or
如果匹配得到多个业务策略, 则选择所述多个业务策略之一作为所述对 应业务策略; 或者,  If the matching obtains multiple service policies, one of the multiple service policies is selected as the corresponding service policy; or
如果没有匹配到业务策略, 则将所述至少一个业务策略中的缺省业务策 略确定为所述对应业务策略, 或者确定匹配失败。  If the service policy is not matched, the default service policy in the at least one service policy is determined as the corresponding service policy, or the matching failure is determined.
5、 如权利要求 4所述的方法, 其特征在于, 所述选择所述多个业务策 略之一作为所述对应业务策略, 包括:  The method of claim 4, wherein the selecting one of the multiple service policies as the corresponding service policy comprises:
按照所述多个业务策略的优先级, 选择所述多个业务策略之一作为所述 对应业务策略。  And selecting one of the multiple service policies as the corresponding service policy according to the priority of the multiple service policies.
6、 如权利要求 3-5 任一项所述的方法, 其特征在于, 所述接收 PCRF 发送的策略指定信息, 包括:  The method according to any one of claims 3-5, wherein the receiving the policy specifying information sent by the PCRF includes:
接收所述 PCRF在计费规则安装属性值对 Charging-Rule-Install AVP中携 带的所述策略指定信息; 或者,  Receiving, by the PCRF, the policy specifying information carried in the charging rule installation attribute value pair Charging-Rule-Install AVP; or
接收所述 PCRF在直径信用控制响应 Diameter CCA消息中携带的所述 策略指定信息; 或者,  Receiving, by the PCRF, the policy specifying information carried in the Diameter Credit Control Response Diameter CCA message; or
接收所述 PCRF在直径重新鉴权请求 Diameter RAR消息中携带的所述 策略指定信息。  And receiving, by the PCRF, the policy specifying information carried in the Diameter Re-Authentication Request Diameter RAR message.
7、 如权利要求 1或 2所述的方法, 其特征在于, 所述从与所述业务数 据流相匹配的预定义 PCC规则所包括的至少一个业务策略中确定第一业务 策略, 包括:  The method according to claim 1 or 2, wherein the determining the first service policy from the at least one service policy included in the predefined PCC rule that matches the service data flow comprises:
将所述预定义 PCC规则所包括的至少一个业务策略中的缺省业务策略, 确定为所述第一业务策略。  Determining, as the first service policy, a default service policy in the at least one service policy included in the predefined PCC rule.
8、 如权利要求 1或 2所述的方法, 其特征在于, 在从与所述业务数据 流相匹配的预定义 PCC规则所包括的至少一个业务策略中确定第一业务策 略之前, 还包括:  The method according to claim 1 or 2, wherein before determining the first service policy from the at least one service policy included in the predefined PCC rule that matches the service data flow, the method further includes:
接收 PCRF设备发送的 PCC规则安装信息, 所述 PCC规则安装信息用 于指示安装所述预定义 PCC规则,  Receiving PCC rule installation information sent by the PCRF device, where the PCC rule installation information is used to indicate that the predefined PCC rule is installed.
根据所述 PCC规则安装信息安装所述预定义 PCC规则, 并从所安装的 所述预定义 PCC规则所包括的至少一个业务策略中确定所安装的所述预定 义 PCC规则的对应业务策略, Installing the predefined PCC rule according to the PCC rule installation information, and determining the installed reservation from at least one service policy included in the installed predefined PCC rule The corresponding business strategy of the PCC rule,
其中, 所述从与所述业务数据流相匹配的预定义 PCC规则所包括的至 少一个业务策略中确定第一业务策略, 包括:  The determining the first service policy from the at least one service policy included in the predefined PCC rule that matches the service data flow includes:
将与所述业务数据流相匹配的预定义 PCC规则的对应业务策略确定为 所述第一业务策略。  A corresponding service policy of a predefined PCC rule that matches the service data flow is determined as the first service policy.
9、 如权利要求 8所述的方法, 其特征在于, 所述从所安装的所述预定 义 PCC规则所包括的至少一个业务策略中确定所安装的所述预定义 PCC规 则的对应业务策略, 包括:  The method according to claim 8, wherein the determining, according to the at least one service policy included in the installed predefined PCC rule, the corresponding service policy of the installed predefined PCC rule, Includes:
根据用户信息, 确定所述对应业务策略, 其中所述用户信息包括以下中 的至少一种: 用户的接入点名称 APN、 用户的用户位置信息 ULI、 用户的漫 游状态以及用户的服务质量 QoS。  The corresponding service policy is determined according to user information, where the user information includes at least one of the following: a user's access point name APN, a user's user location information ULI, a user's roaming status, and a user's quality of service QoS.
10、 一种策略和计费控制方法, 其特征在于, 包括:  10. A policy and charging control method, characterized in that it comprises:
确定用户的预定义策略和计费控制 PCC规则和对应于所述预定义 PCC 规则的第一业务策略;  Determining a user's predefined policy and charging control PCC rules and a first business policy corresponding to the predefined PCC rules;
向策略和计费执行功能 PCEF设备发送 PCC规则安装信息和策略指定信 息, 所述 PCC规则安装信息用于指示在所述 PCEF上安装所述预定义 PCC 规则, 其中所述预定义 PCC规则包括至少一个业务策略, 每个所述业务策 略具有相应的业务策略名称和业务策略参数, 所述策略指定信息用于指定所 述第一业务策略的业务策略名称。  Sending PCC rule installation information and policy designation information to the policy and charging execution function PCEF device, where the PCC rule installation information is used to indicate that the predefined PCC rule is installed on the PCEF, where the predefined PCC rule includes at least A service policy, each of the service policies has a corresponding service policy name and a service policy parameter, and the policy designation information is used to specify a service policy name of the first service policy.
11、 如权利要求 10所述的方法, 其特征在于, 所述向 PCEF设备发送 策略指定信息, 包括:  The method of claim 10, wherein the sending the policy specifying information to the PCEF device comprises:
向所述 PCEF 设备发送计费规则安装属性值对 Charging-Rule-Install AVP, 所述 Charging-Rule-Install AVP中携带所述策略指定信息; 或者,  And sending, to the PCEF device, a charging rule installation attribute value pair Charging-Rule-Install AVP, where the Charging-Rule-Install AVP carries the policy specifying information; or
向所述 PCEF设备发送直径信用控制响应 Diameter CCA 消息, 所述 Diameter CCA消息中携带所述策略指定信息; 或者,  Sending a Diameter CCA message to the PCEF device, where the Diameter CCA message carries the policy designation information; or
向所述 PCEF设备发送直径重新鉴权请求 Diameter RAR 消息, 所述 Diameter CCA消息中携带所述策略指定信息。  Sending a Diameter RAR message to the PCEF device, where the Diameter CCA message carries the policy designation information.
12、 一种策略和计费执行功能 PCEF设备, 其特征在于, 包括: 匹配单元, 用于在接收到业务数据流时, 将所述业务数据流与预定义策 略和计费控制 PCC规则进行匹配, 其中所述预定义 PCC规则包括至少一个 业务策略, 每个所述业务策略具有相应的业务策略名称和业务策略参数; 确定单元, 用于从所述匹配单元得到的与所述业务数据流相匹配的预定 义 PCC规则所包括的至少一个业务策略中确定第一业务策略; A PCEF device for policy and charging execution, comprising: a matching unit, configured to match the service data flow with a predefined policy and a charging control PCC rule when receiving a service data flow The predefined PCC rule includes at least one service policy, and each of the service policies has a corresponding service policy name and a service policy parameter; a determining unit, configured to determine a first service policy from at least one service policy included in a predefined PCC rule that matches the service data flow obtained by the matching unit;
执行单元, 用于根据所述确定单元确定的第一业务策略对应的业务策略 参数对所述业务数据流进行策略或计费控制。  And an execution unit, configured to perform policy or charging control on the service data flow according to the service policy parameter corresponding to the first service policy determined by the determining unit.
13、 如权利要求 12所述的 PCEF设备, 其特征在于, 所述预定义 PCC 规则包括至少一个业务策略列表, 每个业务策略列表用于指示一个或多个所 述业务策略。  The PCEF device according to claim 12, wherein the predefined PCC rule includes at least one service policy list, and each service policy list is used to indicate one or more of the service policies.
14、 如权利要求 12或 13所述的 PCEF设备, 其特征在于, 还包括接收 单元, 用于接收策略和计费规则功能 PCRF设备发送的 PCC规则安装信息 和策略指定信息, 所述 PCC规则安装信息用于指示安装所述预定义 PCC规 则, 所述策略指定信息用于指定至少一个业务策略名称,  The PCEF device according to claim 12 or 13, further comprising a receiving unit, configured to receive PCC rule installation information and policy designation information sent by the PCRF device, and the PCC rule is installed. The information is used to indicate that the predefined PCC rule is installed, and the policy specifying information is used to specify at least one service policy name.
所述匹配单元,还用于将所述策略指定信息所指定的至少一个业务策略 名称与所述 PCC规则安装信息指示安装的预定义 PCC规则所包括的所述至 少一个业务策略的业务策略名称进行匹配, 以得到所述 PCC规则安装信息 指示安装的预定义 PCC规则的对应业务策略;  The matching unit is further configured to: perform, by using the at least one service policy name specified by the policy designation information, the business policy name of the at least one service policy included in the preset PCC rule that is installed by the PCC rule installation information. Matching, to obtain a corresponding business policy of the pre-defined PCC rule that is installed by the PCC rule installation information;
所述确定单元, 具体用于将所述匹配单元得到的与所述业务数据流相匹 配的预定义 PCC规则的对应业务策略确定为所述第一业务策略。  The determining unit is specifically configured to determine, by the matching unit, a corresponding service policy of a predefined PCC rule that matches the service data flow as the first service policy.
15、 如权利要求 14所述的 PCEF设备, 其特征在于, 所述匹配单元, 具体用于: 如果匹配得到一个业务策略, 则将所述一个业务策略确定为所述 对应业务策略; 或者, 如果匹配得到多个业务策略, 则选择所述多个业务策 略之一作为所述对应业务策略; 或者, 如杲没有匹配到业务策略, 则将所述 至少一个业务策略中的缺省业务策略确定为所述对应业务策略, 或者确定匹 配失败。  The PCEF device according to claim 14, wherein the matching unit is specifically configured to: if the matching obtains a service policy, determine the one service policy as the corresponding service policy; or if If a plurality of service policies are matched, the one of the multiple service policies is selected as the corresponding service policy; or if the service policy is not matched, the default service policy in the at least one service policy is determined as The corresponding service policy, or determining that the matching fails.
16、 如权利要求 15所述的 PCEF设备, 其特征在于, 所述匹配单元, 具体用于按照所述多个业务策略的优先级, 选择所述多个业务策略之一作为 所述对应业务策略。  The PCEF device according to claim 15, wherein the matching unit is configured to select one of the multiple service policies as the corresponding service policy according to a priority of the multiple service policies. .
17、 如权利要求 14-16任一项所述的 PCEF设备, 其特征在于, 所述接 收单元具体用 于接收所述 PCRF 在计 费规则安装属性值对 Charging-Rule-Install AVP中携带的所述策略指定信息;或者,接收所述 PCRF 在直径信用控制响应 Diameter CCA消息中携带的所述策略指定信息; 或者, 接收所述 PCRF在直径重新鉴权请求 Diameter RAR消息中携带的所述策略 指定信息。 The PCEF device according to any one of claims 14-16, wherein the receiving unit is configured to receive, by the PCRF, a charging rule installation attribute value carried in a Charging-Rule-Install AVP. The policy designation information is received; or the policy designation information carried by the PCRF in the Diameter Credit Control Response Diameter CCA message is received; or the policy carried by the PCRF in the Diameter Re-Authentication Request Diameter RAR message is received. Specify information.
18、 如权利要求 12或 13所述的 PCEF设备, 其特征在于, 所述确定单 元具体用于将所述预定义 PCC规则所包括的至少一个业务策略中的缺省业 务策略, 确定为所述第一业务策略。  The PCEF device according to claim 12 or 13, wherein the determining unit is specifically configured to determine a default service policy in the at least one service policy included in the predefined PCC rule as The first business strategy.
19、 如权利要求 12或 13所述的 PCEF设备, 其特征在于, 还包括接收 单元, 用于接收 PCRF设备发送的 PCC规则安装信息, 所述 PCC规则安装 信息用于指示安装所述预定义 PCC规则,  The PCEF device according to claim 12 or 13, further comprising a receiving unit, configured to receive PCC rule installation information sent by the PCRF device, where the PCC rule installation information is used to indicate installation of the predefined PCC Rules,
所述确定单元, 还用于从所安装的所述预定义 PCC规则所包括的至少 一个业务策略中确定所安装的所述预定义 PCC规则的对应业务策略;  The determining unit is further configured to determine, according to the at least one service policy included in the installed predefined PCC rule, the corresponding service policy of the installed predefined PCC rule;
所述确定单元, 具体用于将所述匹配单元得到的与所述业务数据流相匹 配的预定义 PCC规则的对应业务策略确定为所述第一业务策略。  The determining unit is specifically configured to determine, by the matching unit, a corresponding service policy of a predefined PCC rule that matches the service data flow as the first service policy.
20、 如权利要求 19所述的 PCEF设备, 其特征在于, 所述确定单元具 体用于根据用户信息, 确定所述对应业务策略, 其中所述用户信息包括以下 中的至少一种: 用户的接入点名称 APN、 用户的用户位置信息 ULI、 用户的 漫游状态以及用户的服务质量 QoS。  The PCEF device according to claim 19, wherein the determining unit is specifically configured to determine the corresponding service policy according to user information, where the user information comprises at least one of the following: Incoming point name APN, user's user location information ULI, user's roaming status, and user's quality of service QoS.
21、 一种策略和计费规则功能 PCRF设备, 其特征在于, 包括: 确定单元, 用于确定用户的预定义策略和计费控制 PCC规则和对应于 所述预定义 PCC规则的第一业务策略;  A policy and charging rule function PCRF device, comprising: a determining unit, configured to determine a user's predefined policy and charging control PCC rule and a first service policy corresponding to the predefined PCC rule ;
发送单元,用于向策略和计费执行功能 PCEF设备发送 PCC规则安装信 息和策略指定信息,所述 PCC规则安装信息用于指示在所述 PCEF上安装所 述预定义 PCC规则, 其中所述预定义 PCC规则包括至少一个业务策略, 每 个所述业务策略具有相应的业务策略名称和业务策略参数, 所述策略指定信 息用于指定所述第一业务策略的业务策略名称。  a sending unit, configured to send PCC rule installation information and policy designation information to the policy and charging execution function PCEF device, where the PCC rule installation information is used to indicate that the predefined PCC rule is installed on the PCEF, where the pre- Defining a PCC rule includes at least one service policy, each of the service policies having a corresponding service policy name and a service policy parameter, where the policy designation information is used to specify a service policy name of the first service policy.
22、 如权利要求 21所述的 PCRF设备, 其特征在于, 所述发送单元具 体用于向所述 PCEF设备发送计费规则安装属性值对 Charging-Rule-Install The PCRF device according to claim 21, wherein the sending unit is configured to send a charging rule installation attribute value pair to the PCEF device. Charging-Rule-Install
AVP, 所述 Charging-Rule-Install AVP中携带所述策略指定信息; 或者, 向所 述 PCEF设备发送直径信用控制响应 Diameter CCA消息,所述 Diameter CCA 消息中携带的所述策略指定信息; 或者, 向所述 PCEF设备发送直径重新鉴 权请求 Diameter RAR消息,所述 Diameter CCA消息中携带的所述策略指定 信息。 The AVP, the Charging-Rule-Install AVP carries the policy specifying information; or sends a Diameter CCA message to the PCEF device, where the policy specifies the information specified in the Diameter CCA message; or Sending a Diameter Re-Authentication Request Diameter RAR message to the PCEF device, the policy specifying information carried in the Diameter CCA message.
PCT/CN2012/088142 2012-12-31 2012-12-31 Method and device for policy and charging controlling WO2014101239A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280003043.4A CN103392352B (en) 2012-12-31 2012-12-31 Strategy and charging control method and apparatus
PCT/CN2012/088142 WO2014101239A1 (en) 2012-12-31 2012-12-31 Method and device for policy and charging controlling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/088142 WO2014101239A1 (en) 2012-12-31 2012-12-31 Method and device for policy and charging controlling

Publications (1)

Publication Number Publication Date
WO2014101239A1 true WO2014101239A1 (en) 2014-07-03

Family

ID=49535848

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/088142 WO2014101239A1 (en) 2012-12-31 2012-12-31 Method and device for policy and charging controlling

Country Status (2)

Country Link
CN (1) CN103392352B (en)
WO (1) WO2014101239A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202738A (en) * 2014-08-30 2014-12-10 华为技术有限公司 Policy control method and system and gateway
CN105591783B (en) * 2014-10-24 2020-05-22 中兴通讯股份有限公司 Method and equipment for realizing policy rule synchronization between network elements
CN105682069B (en) * 2014-12-05 2019-06-25 ***通信集团公司 A kind of method, apparatus and system of Configuration network resource
CN106572454B (en) * 2016-11-03 2020-03-13 南京爱唯光石信息技术有限公司 PCRF addressing method and addressing system
CN107547498B (en) * 2017-05-10 2021-05-14 新华三信息安全技术有限公司 Auditing method and device
CN109903034B (en) * 2019-02-28 2021-06-08 腾讯科技(深圳)有限公司 Rule matching method and device, computer readable storage medium and computer equipment
CN113873453B (en) * 2020-06-29 2022-11-18 华为技术有限公司 Communication method, apparatus, system and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101374260A (en) * 2007-08-22 2009-02-25 华为技术有限公司 Method, apparatus and system for implementing PCC rules and bearing association
CN101754161A (en) * 2008-12-18 2010-06-23 中兴通讯股份有限公司 A method for realizing policy and charging control
WO2012001513A2 (en) * 2010-06-28 2012-01-05 Alcatel Lucent System and method for generating and updating pcc rules based on service requests

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364893A (en) * 2007-08-08 2009-02-11 华为技术有限公司 Control device, execution device, method and system for generating filtering rules
CN101582777B (en) * 2008-05-16 2013-08-07 华为技术有限公司 Method and device for acquiring policy and charging control rule
CN102137368B (en) * 2010-01-26 2015-01-28 中兴通讯股份有限公司 Enhanced policy and charge control method and system and PCC (Policy Charge Control) system
CN102098651B (en) * 2011-01-21 2013-08-14 北京邮电大学 Method for performing strategy identification and control by using user service identification (USID)

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101374260A (en) * 2007-08-22 2009-02-25 华为技术有限公司 Method, apparatus and system for implementing PCC rules and bearing association
CN101754161A (en) * 2008-12-18 2010-06-23 中兴通讯股份有限公司 A method for realizing policy and charging control
WO2012001513A2 (en) * 2010-06-28 2012-01-05 Alcatel Lucent System and method for generating and updating pcc rules based on service requests

Also Published As

Publication number Publication date
CN103392352A (en) 2013-11-13
CN103392352B (en) 2017-04-12

Similar Documents

Publication Publication Date Title
US20130122860A1 (en) Method for providing a monitoring of usage network resources of a user session within a network and a network device
EP2827623B1 (en) Policy and charging control method, and v-pcrf apparatus
WO2014101239A1 (en) Method and device for policy and charging controlling
US10206136B2 (en) Communication apparatus, control apparatus, communication method, control method, and program
US9319867B2 (en) Method and apparatuses for policy and charging control of machine-to-machine type communications
US8539033B2 (en) Diameter session audits
US8661145B2 (en) Method and system for transmitting a bearer control mode in roaming scenarios
US20100186064A1 (en) Method and device for obtaining capabilities of policy and charging enforcement function
WO2010121565A1 (en) Service priority update indication method and service priority update method and apparatus
CN102131172B (en) Method for processing business and system
WO2012075875A1 (en) Method and system for signing and enforcing spending limit service
CN106304195B (en) Policy control method for third party application, SCEF (policy and charging enforcement function) and PCRF (policy and charging rules function)
US10516783B2 (en) Method and device for processing PCC rule
WO2012001515A1 (en) Diameter session audits
WO2013064004A1 (en) Method and system for updating quality of service
WO2015055063A1 (en) Application access control method and application function entity apparatus
EP2856784A1 (en) Temporarily disable out-of-credit pcc rule
WO2011026385A1 (en) Online charging method and system in local breakout roaming scenarios
WO2011091682A1 (en) Method and system for enhanced policy and charging control, policy and charging control (pcc) system
US9485105B2 (en) Method and telecommunications network utilizing more than one online charging system for a given user
WO2013013547A1 (en) Method and system for monitoring the usage of group subscribers
WO2012071956A1 (en) Method, system and apparatus for supporting sponsored data connectivity in roaming scenarios
US10206137B2 (en) Communication apparatus, control apparatus, communication system, communication method, control method, and program
EP3618468B1 (en) Wireless communication method and device
US9532205B2 (en) Method and system for identifying application detection and control function mode

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

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

Country of ref document: EP

Kind code of ref document: A1