Method and device for processing PCC rule
Abstract
Provided herein are a method and device for processing a PCC rule. The method comprises: receiving first internet protocol (IP) stream mapping information transmitted by a UE and used for requesting the processing of an IP stream; determining, on the basis of the first IP stream mapping information, first routing rule information comprising a first PCC rule identification of a first PCC rule corresponding to the IP stream or first filter identifier of a first filter corresponding to the IP stream, where the first filter is a filter that the first PCC rule comprises; transmitting the first routing rule information to a policy and charging rules function entity (PCRF), thus instructing the PCRF to process the first PCC rule according to the first routing rule information.
Claims
exact text as granted — not AI-modifiedThe invention claimed is:
1. A method for processing a Policy and Charging Control (PCC) rule, comprising:
receiving first Internet Protocol (IP) flow mapping information sent from a User Equipment (UE) and used for requesting to process an IP flow, wherein the first IP flow mapping information carries a second routing rule identifier of a routing rule of a first filter corresponding to the IP flow;
determining, according to the first IP flow mapping information, first routing rule information comprising a first routing rule identifier of the routing rule of the first filter corresponding to the IP flow, wherein the first filter is comprised in a first PCC rule, and wherein the first routing rule identifier of the first filter is allocated by a Policy and Charging Rules Function (PCRF), for the first filter comprised in the first PCC rule; and
sending the first routing rule information to the PCRF, so as to instruct the PCRF to process the first PCC rule according to the first routing rule information,
wherein determining the first routing rule information of the IP flow according to the first IP flow mapping information comprises: determining the first routing rule identifier according to the second routing rule identifier.
2. The method according to claim 1 , wherein when the first IP flow mapping information is used for requesting to modify an allowed access network type of the IP flow, the first IP flow mapping information further carries a requested access network type corresponding to the IP flow, wherein the first routing rule information further comprises the requested access network type.
3. The method according to claim 2 , wherein processing, by the PCRF, the first PCC rule according to the first routing rule information comprises:
when the first PCC rule only comprises the first filter, updating, by the PCRF, an allowed access network type corresponding to the first PCC rule, with the requested access network type; or
when the first PCC rule comprises two or more filters, deleting, by the PCRF, the first filter from a service filter template of the first PCC rule, and generating a second PCC rule according to the first filter, wherein an allowed access network type corresponding to the second PCC rule is the requested access network type.
4. The method according to claim 1 , wherein when the first IP flow mapping information is used for requesting to delete a routing rule corresponding to the IP flow.
5. The method according to claim 4 , wherein processing, by the PCRF, the first PCC rule according to the first routing rule information comprises:
when the first PCC rule only comprises the first filter, deleting, by the PCRF, the first PCC rule; or
when the first PCC rule comprises two or more filters, deleting, by the PCRF, the first filter from a service filter template of the first PCC rule.
6. The method according to claim 1 , wherein when the first IP flow mapping information is used for requesting to modify the first filter corresponding to the IP flow, the first IP flow mapping information further carries a new filter corresponding to the IP flow, wherein the first routing rule information further comprises the new filter.
7. The method according to claim 6 , wherein processing, by the PCRF, the first PCC rule according to the first routing rule information comprises:
replacing, by the PCRF, a service filter template in the first PCC rule with a filter carried in the first routing rule.
8. The method according to claim 6 , wherein processing, by the PCRF, the first PCC rule according to the first routing rule information comprises:
replacing, by the PCRF, a filter corresponding to the first routing rule identifier in a filter template in the first PCC rule with the new filter.
9. A method for processing a Policy and Charging Control (PCC) rule, comprising:
allocating a first routing rule identifier for a routing rule of a first filter comprised in a first PCC rule and corresponding to an Internet Protocol (IP) flow;
notifying a Policy and Charging Enforcement Function (PCEF) of the first routing rule identifier;
receiving first routing rule information that is sent from the PCEF and comprises the first routing rule identifier, wherein the first routing rule information is determined by the PCEF according to first IP flow mapping information sent from a User Equipment (UE) and used for requesting to process the IP flow, wherein the first IP flow mapping information carries a second routing rule identifier of the routing rule of the first filter corresponding to the IP flow, and the first routing rule identifier is determined according to the second routing rule identifier; and
processing the first PCC rule according to the first routing rule information.
10. The method according to claim 9 , wherein when the first IP flow mapping information is used for requesting to modify an allowed access network type of the IP flow, the first IP flow mapping information further carries a requested access network type corresponding to the IP flow, and processing the first PCC rule according to the first routing rule information comprises:
when the first PCC rule only comprises the first filter, updating an allowed access network type corresponding to the first PCC rule, with the requested access network type; or
when the first PCC rule comprises two or more filters, deleting the first filter from a service filter template of the first PCC rule, and generating a second PCC rule according to the first filter, wherein an allowed access network type corresponding to the second PCC rule is the requested access network type.
11. The method according to claim 9 , wherein when the first IP flow mapping information is used for requesting to delete a routing rule corresponding to the IP flow, and processing the first PCC rule according to the first routing rule information comprises:
when the first PCC rule only comprises the first filter, deleting the first PCC rule; or
when the first PCC rule comprises two or more filters, deleting the first filter from a service filter template of the first PCC rule.
12. The method according to claim 9 , wherein when the first IP flow mapping information is used for requesting to modify the first filter corresponding to the IP flow, the first IP flow mapping information further carries a new filter corresponding to the IP flow, and processing the first PCC rule according to the first routing rule information comprises:
replacing a service filter template in the first PCC rule with a filter carried in the first routing rule; or
replacing a filter corresponding to the first routing rule identifier in a filter template in the first PCC rule with the new filter.
13. An apparatus for processing a Policy and Charging Control (PCC) rule, comprising a processor and a memory for storing instructions that, when executed by the processor, are configured to cause the processor to:
receive first Internet Protocol (IP) flow mapping information sent from a User Equipment (UE) and used for requesting to process an IP flow, wherein the first IP flow mapping information carries a second routing rule identifier of a routing rule of a first filter corresponding to the IP flow;
determine, according to the first IP flow mapping information, first routing rule information comprising a first routing rule identifier of the routing rule of the first filter corresponding to the IP flow, wherein the first filter is comprised in a first PCC rule and wherein the first routing rule identifier of the first filter is allocated by a Policy and Charging Rules Function (PCRF), for the first filter comprised in the first PCC rule; and
send the first routing rule information to the PCRF, so as to instruct the PCRF to process the first PCC rule according to the first routing rule information,
wherein the instructions, when executed by the processor, are further configured to cause the processor to determine the first routing rule identifier according to the second routing rule identifier.
14. The apparatus according to claim 13 , wherein when the first IP flow mapping information is used for requesting to modify an allowed access network type of the IP flow, the first IP flow mapping information further carries a requested access network type corresponding to the IP flow, wherein the first routing rule information further comprises the requested access network type.
15. The apparatus according to claim 13 , wherein when the first IP flow mapping information is used for requesting to delete a second routing rule corresponding to the IP flow.
16. The apparatus according to claim 13 , wherein when the first IP flow mapping information is used for requesting to modify the first filter corresponding to the IP flow, the first IP flow mapping information further carries a new filter corresponding to the IP flow, wherein the first routing rule information further comprises the new filter.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.