CN107295556B - Method, device and equipment for detecting policy control and charging policy conflict - Google Patents

Method, device and equipment for detecting policy control and charging policy conflict Download PDF

Info

Publication number
CN107295556B
CN107295556B CN201610229180.XA CN201610229180A CN107295556B CN 107295556 B CN107295556 B CN 107295556B CN 201610229180 A CN201610229180 A CN 201610229180A CN 107295556 B CN107295556 B CN 107295556B
Authority
CN
China
Prior art keywords
pcc
policy
newly added
conflict
stored
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201610229180.XA
Other languages
Chinese (zh)
Other versions
CN107295556A (en
Inventor
徐斌
于彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610229180.XA priority Critical patent/CN107295556B/en
Publication of CN107295556A publication Critical patent/CN107295556A/en
Application granted granted Critical
Publication of CN107295556B publication Critical patent/CN107295556B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • H04L12/1407Policy-and-charging control [PCC] architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • H04L43/062Generation of reports related to network traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/66Policy and charging system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a method, a device and equipment for detecting conflict between policy control and charging policy. The newly added PCC strategies are compared with the stored condition elements and action elements of one or more PCC strategies one by one, if the elements are not overlapped, the newly added PCC strategies are determined not to be in conflict with the stored one or more PCC strategies, manual comparison is not needed, the conflict relationship among the PCC strategies can be automatically detected and judged, manpower is saved, and the detection result is accurate.

Description

Method, device and equipment for detecting policy control and charging policy conflict
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a device for detecting policy control and charging policy conflict.
Background
With the richness and maturity of Policy Control and Charging (PCC for short) Policy application, more and more PCC policies are deployed in an operator's network, and there is a conflict relationship between the PCC policies, for example, in the case of the PCC Policy scenario with conflict illustrated in fig. 1, conflict management of policies will become more and more important, and will also be a main work consuming management manpower. The PCC strategies have no so-called conflict, such as an LTE (long term evolution) super package speed limit strategy and a standard charge speed limit strategy, wherein both the strategies can influence the Quality of Service (QoS) attribute of a user, but both the strategies can be independently configured on a Policy and Charging Rule control Function (PCRF) device, and no conflict concept exists in configuration. Two policies may conflict only if they are both signed on to the same user. For example, a "busy hour busy area management control" policy and a "VIP user guarantee" policy, if the user is signed with a contract at the same time, because the QoS attributes of the user are modified by the two policies at the same time, a conflicting scenario may exist.
Policy conflicts can be divided into two categories, the first being subscription conflicts: both policies do not allow simultaneous subscription to the same user. For example, the two strategies "LTE super package speed limit" and "standard tariff speed limit" are for different user groups. The 'standard charge speed limit' strategy is that when a user who does not purchase any data service package accesses the internet, the user is subjected to speed limit; the 'LTE package speed limit exceeding' strategy is that when a user who purchases a data service package uses services in package flow, the user is not limited in speed, and when the flow exceeds the package, the user is limited in speed. If both policies are signed on to the same user, there is a policy conflict point. The second type is activation conflict: two policies allow simultaneous subscription to the same user, but cannot be in effect at the same time because of the conflicting effects that the two policies exert on the user. For example, a "VIP user guarantee" policy and a "busy hour busy area control" policy, since the former is to guarantee the rate bandwidth of a user, and the latter is to limit the rate bandwidth of the user in a busy hour busy area, there is a policy conflict point if the two policies take effect simultaneously.
Policy mutual exclusion relationships (subscription conflicts or activation conflicts) can be configured on PCRF equipment currently, and when the same user subscribes or uses a conflict policy, the policy mutual exclusion relationships can be correctly processed according to the configured priority. However, before the configuration of the policy mutual exclusion relationship, no good technical means is available to automatically detect and judge the conflict relationship between the PCC policies, and the configuration can only be performed by the consideration of maintenance personnel. When the number of strategies is small, manual judgment can be completed, and when the number of strategies exceeds a certain number, a large amount of time is consumed, and the strategies cannot be completed accurately.
Disclosure of Invention
The embodiment of the invention provides a method, a device and equipment for detecting policy control and charging policy conflict, which are used for automatically detecting and judging a conflict relation between PCC policies.
In a first aspect, a method for detecting policy control and charging policy conflict is provided, where the method includes: when a policy control and charging PCC policy is newly added, comparing the newly added PCC policy with the stored condition element and action element of at least one PCC policy one by one respectively; and if the condition elements and the action elements of the newly added PCC strategy and the stored at least one PCC strategy are not overlapped, determining that the conflict detection result of the newly added PCC strategy and the stored at least one PCC strategy is not conflicted.
In the design, the newly added PCC strategies are compared with the stored condition elements and action elements of one or more PCC strategies one by one, if the elements are not overlapped, the newly added PCC strategies are determined not to be in conflict with the stored one or more PCC strategies, manual comparison is not needed, the conflict relationship among the PCC strategies can be automatically detected and judged, manpower is saved, and the detection result is accurate.
With reference to the first aspect, in one possible design, the method further includes: if any element of the condition elements and the action elements of the newly added PCC policy and the stored at least one PCC policy is overlapped, determining that a conflict detection result of the newly added PCC policy and the stored at least one PCC policy is a conflict.
In the design, it is further determined that the newly added PCC policy is considered to conflict with the stored one or more PCC policies if there is an overlap of one element of the conditional elements and the action elements of the stored one or more PCC policies.
With reference to the first aspect, in another possible design, the condition element includes at least one of time, location, user attribute, traffic usage status, service class, terminal type, and access network type; the action element comprises at least one of modifying a quality of service (QoS) parameter, notifying by a short message, redirecting a webpage, modifying a charging identifier and establishing a special bearer.
In this design, a plurality of condition elements and action elements are listed, and by comparing these elements, it is possible to accurately detect whether a newly added PCC policy conflicts with one or more stored PCC policies.
With reference to the first aspect, in yet another design, the method further includes: and outputting a conflict detection result of the newly added PCC strategy and the stored at least one PCC strategy.
In the design, the conflict detection result of the newly added PCC strategy and the stored one or more PCC strategies is output to the user, so that the user can intuitively know the conflict detection result.
With reference to the first aspect, in yet another possible design, the outputting a result of detecting a conflict between the newly added PCC policy and the stored at least one PCC policy includes: and outputting a conflict detection result of the newly added PCC strategy and the stored at least one PCC strategy through a two-dimensional table of the relationship between every two strategies.
In the design, the conflict detection result of the newly added PCC strategy and one or more stored PCC strategies is output through the two-dimensional table of the relationship between every two strategies, so that the method is more intuitive.
In a second aspect, an apparatus for detecting policy control and charging policy conflict is provided, the apparatus comprising: a comparing unit, configured to compare, when a policy control and charging PCC policy is newly added, the newly added PCC policy with a condition element and an action element of at least one stored PCC policy one by one, respectively; a determining unit, configured to determine that a collision detection result of the newly added PCC policy and the stored at least one PCC policy is not in collision if the comparing unit compares that neither the condition element nor the action element of the newly added PCC policy and the stored at least one PCC policy overlap.
With reference to the second aspect, in one possible design, the determining unit is further configured to: if the comparison unit compares that any element of the condition elements and the action elements of the newly added PCC strategy and the stored at least one PCC strategy is overlapped, it is determined that the result of the conflict detection between the newly added PCC strategy and the stored at least one PCC strategy is a conflict.
With reference to the second aspect, in another possible design, the condition element includes at least one of time, location, user attribute, traffic usage status, service class, terminal type, and access network type; the action element comprises at least one of modifying a quality of service (QoS) parameter, notifying by a short message, redirecting a webpage, modifying a charging identifier and establishing a special bearer.
With reference to the second aspect, in yet another possible design, the apparatus further includes: and the output unit is used for outputting the conflict detection result of the newly added PCC strategy and the stored at least one PCC strategy.
With reference to the second aspect, in yet another possible design, the output unit is specifically configured to: and outputting a conflict detection result of the newly added PCC strategy and the stored at least one PCC strategy through a two-dimensional table of the relationship between every two strategies.
In a third aspect, a device for detecting policy control and charging policy conflict is provided, where the device includes: an input device, an output device, a processor, and a memory; the processor is configured to compare, when a policy control and charging PCC policy is newly added, the newly added PCC policy with a condition element and an action element of at least one stored PCC policy one by one, respectively; and if the condition elements and the action elements of the newly added PCC strategy and the stored at least one PCC strategy are not overlapped, determining that the conflict detection result of the newly added PCC strategy and the stored at least one PCC strategy is not conflicted.
With reference to the third aspect, in one possible design, the processor is further configured to: if any element of the condition elements and the action elements of the newly added PCC policy and the stored at least one PCC policy is overlapped, determining that a conflict detection result of the newly added PCC policy and the stored at least one PCC policy is a conflict.
With reference to the third aspect, in another possible design, the condition element includes at least one of time, location, user attribute, traffic usage status, service class, terminal type, and access network type; the action element comprises at least one of modifying a quality of service (QoS) parameter, notifying by a short message, redirecting a webpage, modifying a charging identifier and establishing a special bearer.
With reference to the third aspect, in yet another design, the output device is configured to: and outputting a conflict detection result of the newly added PCC strategy and the stored at least one PCC strategy.
With reference to the third aspect, in yet another possible design, the output device is specifically configured to: and outputting a conflict detection result of the newly added PCC strategy and the stored at least one PCC strategy through a two-dimensional table of the relationship between every two strategies.
By implementing the method, the device and the equipment for detecting the policy control and charging policy conflict, provided by the embodiment of the invention, the newly added PCC policies are compared with the stored conditional elements and action elements of one or more PCC policies one by one, if the elements are not overlapped, the newly added PCC policies are determined not to conflict with the stored one or more PCC policies, manual comparison is not needed, the conflict relationship between the PCC policies can be automatically detected and judged, the manpower is saved, and the detection result is accurate.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is an exemplary conflicting PCC policy scenario;
fig. 2 is a schematic structural diagram of a device for detecting policy control and charging policy conflict according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for detecting policy control and charging policy conflict according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating another policy control and charging policy conflict detection method according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a PCC policy conflict detection result;
fig. 6 is a schematic diagram illustrating a specific PCC policy conflict detection process;
fig. 7 is a schematic structural diagram of a device for detecting policy control and charging policy conflict according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another apparatus for detecting policy control and charging policy conflict according to an embodiment of the present invention.
Detailed Description
Fig. 2 is a schematic structural diagram of a device for detecting policy control and charging policy conflict according to an embodiment of the present invention, where the device 3000 may include:
an input device 31, an output device 32, a memory 33 and a processor 34 (the number of processors 34 in the detection apparatus may be one or more, and one processor is taken as an example in fig. 2). In some embodiments of the present invention, the input device 31, the output device 32, the memory 33 and the processor 34 may be connected by a bus or other means, wherein the bus connection is taken as an example in fig. 2. The device 3000 in this embodiment may be a PCRF device, or may be another device platform related to PCC policy configuration, such as a policy operation management platform.
The processor 34 is configured to, when a policy control and charging PCC policy is newly added, compare the newly added PCC policy with a condition element and an action element of at least one stored PCC policy one by one, respectively;
and if the condition elements and the action elements of the newly added PCC strategy and the stored at least one PCC strategy are not overlapped, determining that the conflict detection result of the newly added PCC strategy and the stored at least one PCC strategy is not conflicted.
In one possible design, the processor 34 is further configured to: if any element of the condition elements and the action elements of the newly added PCC policy and the stored at least one PCC policy is overlapped, determining that a conflict detection result of the newly added PCC policy and the stored at least one PCC policy is a conflict.
In another possible design, the condition element includes at least one of time, location, user attribute, traffic usage status, traffic class, terminal type, and access network type; the action element comprises at least one of modifying a quality of service (QoS) parameter, notifying by a short message, redirecting a webpage, modifying a charging identifier and establishing a special bearer.
In a further embodiment, the output device 32 is configured to: and outputting a conflict detection result of the newly added PCC strategy and the stored at least one PCC strategy.
In yet another possible design, the output device 32 is specifically configured to: and outputting a conflict detection result of the newly added PCC strategy and the stored at least one PCC strategy through a two-dimensional table of the relationship between every two strategies.
According to the detection device for the policy control and charging policy conflict provided by the embodiment of the invention, the newly added PCC policies are compared with the stored conditional elements and action elements of one or more PCC policies one by one, if the elements are not overlapped, the newly added PCC policies are determined not to conflict with the stored one or more PCC policies, manual comparison is not needed, the conflict relationship between the PCC policies can be automatically detected and judged, the manpower is saved, and the detection result is accurate; and outputting the conflict detection result of the newly added PCC strategy and the stored one or more PCC strategies to the user, so that the user can intuitively know the conflict detection result.
Fig. 3 is a flowchart illustrating a method for detecting policy control and charging policy conflict according to an embodiment of the present invention, where the method includes the following steps:
s101, when a policy control and charging PCC policy is newly added, comparing the newly added PCC policy with the stored condition element and action element of at least one PCC policy one by one.
PCC policy may be abstracted as: if the "xx condition" is true, then the "xx action" is performed. The condition elements mainly include time, location, user attribute, flow use state, service class, terminal type, access network type, and the like. The action elements mainly comprise the modification of QoS parameters (rate/access priority), short message notification, webpage redirection, the modification of charging identification, the establishment of a special bearer and the like.
The PCC policy may be stored on the PCRF device, or may be stored on other device platforms related to the PCC policy configuration, such as a policy operation management platform, and of course, the PCC policy may also be stored on a server associated with the device. The device stores one or more PCC policies, and whether conflicts exist among the PCC policies needs to be detected, so that the conflicts can not be caused when one or more PCC policies are signed to a user.
Each newly added PCC policy to the device needs to perform conflict detection with the stored or existing PCC policy in the device. The present embodiment determines whether there is an overlap between the content of the condition element and the content of the action element included in the policy. Specifically, the newly added PCC policy is compared with the condition elements and the action elements of each stored PCC policy, respectively, that is, the newly added PCC policy is compared with the elements corresponding to each set of each stored PCC policy.
S102, if the condition elements and the action elements of the newly added PCC strategy and the stored at least one PCC strategy are not overlapped, determining that the conflict detection result of the newly added PCC strategy and the stored at least one PCC strategy is not conflicted.
And if the condition elements and the action elements of the newly added PCC strategy and the currently compared existing PCC strategy are not overlapped, determining that the newly added PCC strategy is not in conflict with the currently compared existing PCC strategy.
For example, a busy hour busy area speed limit policy has already been configured on PCRF equipment, and whether the policies conflict is detected when the VIP user guarantee policy is reconfigured.
The busy hour busy area speed limiting strategy means that when a user surfs the internet in a busy hour or a busy hour, the internet surfing speed is reduced, and the network resources are prevented from being excessively consumed. The condition element of the strategy is that when the time is busy, the position is busy; the action element is to modify the QoS parameter.
The meaning of the VIP user guarantee strategy is that when a VIP user surfs the internet at any time or any position, the internet surfing rate of the user needs to be guaranteed. The condition elements of the strategy are time, position, and user attribute, wherein the time is any time, the position is any area, and the user attribute is VIP; the action element is to modify the QoS parameter.
Since the action of the two strategies is to modify the QoS parameters and the condition elements have overlapping inclusion relationship, the collision detection result is a collision.
According to the policy control and charging policy conflict detection method provided by the embodiment of the invention, newly added PCC policies are compared with the stored conditional elements and action elements of one or more PCC policies one by one, if the elements are not overlapped, the newly added PCC policies are determined not to conflict with the stored one or more PCC policies, manual comparison is not needed, the conflict relationship between the PCC policies can be automatically detected and judged, manpower is saved, and the detection result is accurate.
Fig. 4 is a flowchart of another method for detecting policy control and charging policy conflict according to an embodiment of the present invention, where the method includes the following steps:
s201, when a policy control and charging PCC policy is newly added, comparing the newly added PCC policy with the condition element and the action element of at least one stored PCC policy one by one respectively.
S202, if there is no overlap between the condition element and the action element of the newly added PCC policy and the stored at least one PCC policy, determining that a collision detection result of the newly added PCC policy and the stored at least one PCC policy is no collision.
Steps S201 and S202 are the same as steps S101 and S102 of the embodiment shown in fig. 3, respectively, and are not described again here.
S203, if there is an overlap between the newly added PCC policy and any one of the condition element and the action element of the stored at least one PCC policy, determining that a result of the collision detection between the newly added PCC policy and the stored at least one PCC policy is a collision.
The newly added PCC strategy is considered to conflict with the existing PCC strategy when any element of the condition elements and the action elements of the existing PCC strategy is overlapped.
S204, outputting a conflict detection result of the newly added PCC strategy and the stored at least one PCC strategy.
And outputting the conflict detection result of the newly added PCC strategy and the stored one or more PCC strategies to the user, so that the user can intuitively know the conflict detection result.
Specifically, a conflict detection result of the newly added PCC policy and the stored at least one PCC policy is output through a two-dimensional table of a relationship between every two policies. As shown in fig. 5, when detecting that a newly added PCC policy conflicts with an existing PCC policy, the policy conflict detection result is written into the policy conflict management matrix, and in the policy conflict management matrix, the conflict detection result between each policy is output through the two-dimensional table of the relationship between two policies.
According to the method for detecting the policy control and charging policy conflict provided by the embodiment of the invention, the newly added PCC policies are compared with the stored conditional elements and action elements of one or more PCC policies one by one, if the elements are not overlapped, the newly added PCC policies are determined not to conflict with the stored one or more PCC policies, manual comparison is not needed, the conflict relationship between the PCC policies can be automatically detected and judged, the manpower is saved, and the detection result is accurate; and outputting the conflict detection result of the newly added PCC strategy and the stored one or more PCC strategies to the user, so that the user can intuitively know the conflict detection result.
PCC policy conflict detection logic is described below. Before collision detection, classifying and recording condition elements and action elements of stored or existing PCC strategies, comparing each element of the newly added strategies with the existing strategies one by one when a PCC strategy is newly added, and deducing the collision relation among the strategies according to the collision relation among the elements. Fig. 6 is a schematic diagram of a specific PCC policy conflict detection process, where the specific PCC policy conflict detection process is as follows:
1. the system has configured N PCC policies (e.g., P)1,P2,…Pn) Adding the (N + 1) th strategy PN+1Then, one strategy (P) is selected from the existing N strategies in sequencexX ═ 1) performing a policy element comparison;
2. judgment of PN+1And PxRecording the conflict relationship of the elements of the two strategies if the implementation time of the strategy condition dimensionalities is overlapped, and entering the next step;
3. judgment of PN+1And PxWhether the trigger positions of the strategy condition dimensions are overlapped or not is judged, the conflict relationship of the elements of the two strategies is recorded, and the next step is carried out;
4. judgment of PN+1And PxWhether the user attributes triggered by the strategy condition dimensionalities are overlapped or not is judged, the conflict relationship of the elements of the two strategies is recorded, and the next step is carried out;
5. judgment of PN+1And PxWhether other elements of the strategy condition dimensionality are overlapped or not is judged, the conflict relationship of the elements of the two strategies is recorded, and the next step is carried out;
6. judgment of PN+1And PxWhether QoS modification of strategy action dimensionality is overlapped or not is judged, the conflict relationship of the elements of the two strategies is recorded, and the next step is carried out;
7. judgment of PN+1And PxWhether the short message notification of the strategy action dimension is overlapped or not is judged, the conflict relationship of the elements of the two strategies is recorded, and the next step is carried out;
8. judgment of PN+1And PxWhether other elements of the strategy action dimensionality are overlapped or not is judged, the conflict relationship of the elements of the two strategies is recorded, and the next step is carried out;
9.PN+1and PxComparing all the conditions of the strategies with the action elements, if all the elements are not overlapped, the two strategies are not in conflict, and P is addedN+1And PxAnd writing the strategy conflict-free result into the strategy conflict management matrix. If any of the elements overlap, the two policies conflict, with PN+1And PxWriting the strategy conflict result into a strategy conflict management matrix;
10. continuously judging PN+1Repeating the step 2-9 when x is 2 in the conflict relationship with the next strategy;
judgment of PN+1And (x is equal to N) comparing with all the existing strategies, and finishing the detection process.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Fig. 7 is a schematic structural diagram of an apparatus for detecting policy control and charging policy conflict according to an embodiment of the present invention, where the apparatus 1000 includes:
a comparing unit 11, configured to compare, when a policy control and charging PCC policy is newly added, the newly added PCC policy with a condition element and an action element of at least one stored PCC policy one by one, respectively.
PCC policy may be abstracted as: if the "xx condition" is true, then the "xx action" is performed. The condition elements mainly include time, location, user attribute, flow use state, service class, terminal type, access network type, and the like. The action elements mainly comprise the modification of QoS parameters (rate/access priority), short message notification, webpage redirection, the modification of charging identification, the establishment of a special bearer and the like.
The PCC policy may be stored in the PCRF device, or may be stored in other device platforms related to the PCC policy configuration, such as a policy operation management platform, and of course, the PCC policy may also be stored in a server associated with the device, and the apparatus 1000 in this embodiment may be a PCRF device, or may also be other device platforms related to the PCC policy configuration, such as a policy operation management platform. The device stores one or more PCC policies, and whether conflicts exist among the PCC policies needs to be detected, so that the conflicts can not be caused when one or more PCC policies are signed to a user.
Each newly added PCC policy to the device needs to perform conflict detection with the stored or existing PCC policy in the device. The present embodiment determines whether there is an overlap between the content of the condition element and the content of the action element included in the policy. Specifically, the newly added PCC policy is compared with the condition elements and the action elements of each stored PCC policy, respectively, that is, the newly added PCC policy is compared with the elements corresponding to each set of each stored PCC policy.
A determining unit 12, configured to determine that a collision detection result of the newly added PCC policy and the stored at least one PCC policy is not a collision if the comparing unit compares that neither the condition element nor the action element of the newly added PCC policy and the stored at least one PCC policy overlap.
And if the condition elements and the action elements of the newly added PCC strategy and the currently compared existing PCC strategy are not overlapped, determining that the newly added PCC strategy is not in conflict with the currently compared existing PCC strategy.
For example, a busy hour busy area speed limit policy has already been configured on PCRF equipment, and whether the policies conflict is detected when the VIP user guarantee policy is reconfigured.
The busy hour busy area speed limiting strategy means that when a user surfs the internet in a busy hour or a busy hour, the internet surfing speed is reduced, and the network resources are prevented from being excessively consumed. The condition element of the strategy is that when the time is busy, the position is busy; the action element is to modify the QoS parameter.
The meaning of the VIP user guarantee strategy is that when a VIP user surfs the internet at any time or any position, the internet surfing rate of the user needs to be guaranteed. The condition elements of the strategy are time, position, and user attribute, wherein the time is any time, the position is any area, and the user attribute is VIP; the action element is to modify the QoS parameter.
Since the action of the two strategies is to modify the QoS parameters and the condition elements have overlapping inclusion relationship, the collision detection result is a collision.
According to the policy control and charging policy conflict detection device provided by the embodiment of the invention, newly added PCC policies are compared with the stored condition elements and action elements of one or more PCC policies one by one, if the elements are not overlapped, the newly added PCC policies are determined not to conflict with the stored one or more PCC policies, manual comparison is not needed, the conflict relationship between the PCC policies can be automatically detected and judged, the manpower is saved, and the detection result is accurate.
Fig. 8 is a schematic structural diagram of another apparatus for detecting policy control and charging policy conflict according to an embodiment of the present invention, where the apparatus 2000 includes:
a comparing unit 21, configured to compare, when a policy control and charging PCC policy is newly added, the newly added PCC policy with a condition element and an action element of at least one stored PCC policy one by one, respectively.
The function of the comparing unit 21 is the same as that of the comparing unit 11 of the embodiment shown in fig. 7, and is not described again here.
A determining unit 22, configured to determine that a collision detection result of the newly added PCC policy and the stored at least one PCC policy is non-collision if neither a condition element nor an action element of the newly added PCC policy and the stored at least one PCC policy overlap.
The determining unit 22 is further configured to determine that a collision detection result of the newly added PCC policy and the stored at least one PCC policy is a collision if there is an overlap of any one of a condition element and an action element of the newly added PCC policy and the stored at least one PCC policy.
The newly added PCC strategy is considered to conflict with the existing PCC strategy when any element of the condition elements and the action elements of the existing PCC strategy is overlapped.
An output unit 23, configured to output a collision detection result of the newly added PCC policy and the stored at least one PCC policy.
And outputting the conflict detection result of the newly added PCC strategy and the stored one or more PCC strategies to the user, so that the user can intuitively know the conflict detection result.
Specifically, the output unit 23 is specifically configured to output a collision detection result of the newly added PCC policy and the stored at least one PCC policy through a two-dimensional table of a relationship between every two policies. As shown in fig. 4, when detecting that a newly added PCC policy conflicts with an existing PCC policy, the policy conflict detection result is written into the policy conflict management matrix, and in the policy conflict management matrix, the conflict detection result between each policy is output through the two-dimensional table of the relationship between two policies.
According to the detection device for the policy control and charging policy conflict provided by the embodiment of the invention, the newly added PCC policies are compared with the stored conditional elements and action elements of one or more PCC policies one by one, if the elements are not overlapped, the newly added PCC policies are determined not to conflict with the stored one or more PCC policies, manual comparison is not needed, the conflict relationship between the PCC policies can be automatically detected and judged, the manpower is saved, and the detection result is accurate; and outputting the conflict detection result of the newly added PCC strategy and the stored one or more PCC strategies to the user, so that the user can intuitively know the conflict detection result.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by hardware, firmware, or a combination thereof. When implemented in software, the functions described above may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. Taking this as an example but not limiting: the computer-readable medium may include Random Access Memory (RAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-on Memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Furthermore, the method is simple. Any connection is properly termed a computer-readable medium. For example, if software is transmitted from a website, a server, or other remote source using a coaxial cable, a fiber optic cable, a twisted pair, a Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, the coaxial cable, the fiber optic cable, the twisted pair, the DSL, or the wireless technologies such as infrared, radio, and microwave are included in the fixation of the medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy Disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
In short, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (2)

1. A method for detecting conflict of policy control and charging policy, the method comprising:
when a policy control and charging PCC policy is newly added, comparing the newly added PCC policy with a condition element and an action element of at least one stored PCC policy one by one, wherein the newly added PCC policy and the at least one stored PCC policy are signed to the same user, and the condition element comprises at least one of time, position, user attribute, flow using state, service type, terminal type and access network type; the action element comprises at least one of modification of QoS parameters, short message notification, webpage redirection, modification of charging identification and establishment of special load bearing;
if the condition elements and the action elements of the newly added PCC strategy and the stored at least one PCC strategy are not overlapped, determining that the conflict detection result of the newly added PCC strategy and the stored at least one PCC strategy is not conflicted;
if any element of the condition elements and the action elements of the newly added PCC strategy and the stored at least one PCC strategy is overlapped, determining that the conflict detection result of the newly added PCC strategy and the stored at least one PCC strategy is a conflict, wherein the strategy conflict comprises a subscription conflict and an activation conflict;
and outputting a conflict detection result of the newly added PCC strategy and the stored at least one PCC strategy through a two-dimensional table of the relationship between every two strategies.
2. An apparatus for detecting policy control and charging policy conflicts, the apparatus comprising:
a comparing unit, configured to compare, when a policy control and charging PCC policy is newly added, the newly added PCC policy with a condition element and an action element of at least one stored PCC policy one by one, where the newly added PCC policy and the at least one stored PCC policy are signed to a same user, and the condition element includes at least one of time, a location, a user attribute, a traffic usage state, a service class, a terminal type, and an access network type; the action element comprises at least one of modification of QoS parameters, short message notification, webpage redirection, modification of charging identification and establishment of special load bearing;
a determining unit, configured to determine that a collision detection result of the newly added PCC policy and the stored at least one PCC policy is not in collision if the comparing unit compares that neither the condition element nor the action element of the newly added PCC policy and the stored at least one PCC policy overlap;
the determining unit is further configured to determine that a conflict detection result of the newly added PCC policy and the stored at least one PCC policy is a conflict if the comparing unit compares that any element overlaps with any element of a condition element and an action element of the newly added PCC policy and the stored at least one PCC policy, where a policy conflict includes a subscription conflict and an activation conflict;
and the output unit is used for outputting the conflict detection result of the newly added PCC strategy and the stored at least one PCC strategy through a two-dimensional table of the relationship between every two strategies.
CN201610229180.XA 2016-04-13 2016-04-13 Method, device and equipment for detecting policy control and charging policy conflict Active CN107295556B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610229180.XA CN107295556B (en) 2016-04-13 2016-04-13 Method, device and equipment for detecting policy control and charging policy conflict

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610229180.XA CN107295556B (en) 2016-04-13 2016-04-13 Method, device and equipment for detecting policy control and charging policy conflict

Publications (2)

Publication Number Publication Date
CN107295556A CN107295556A (en) 2017-10-24
CN107295556B true CN107295556B (en) 2021-03-30

Family

ID=60095662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610229180.XA Active CN107295556B (en) 2016-04-13 2016-04-13 Method, device and equipment for detecting policy control and charging policy conflict

Country Status (1)

Country Link
CN (1) CN107295556B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111355595B (en) * 2018-12-21 2022-03-29 中国移动通信集团山东有限公司 PCC strategy scheduling method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103918221A (en) * 2011-10-03 2014-07-09 阿尔卡特朗讯公司 Rules engine evaluation for policy decisions
CN104427557A (en) * 2013-08-27 2015-03-18 中国电信股份有限公司 Method for controlling QoS (Quality of Service) policy conflict, device and system
CN106375975A (en) * 2015-07-21 2017-02-01 中国移动通信集团公司 Policy conflict detection method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741734B (en) * 2009-12-08 2012-02-22 南京联创科技集团股份有限公司 Method for implementing dynamic strategic model based on mass data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103918221A (en) * 2011-10-03 2014-07-09 阿尔卡特朗讯公司 Rules engine evaluation for policy decisions
CN104427557A (en) * 2013-08-27 2015-03-18 中国电信股份有限公司 Method for controlling QoS (Quality of Service) policy conflict, device and system
CN106375975A (en) * 2015-07-21 2017-02-01 中国移动通信集团公司 Policy conflict detection method and apparatus

Also Published As

Publication number Publication date
CN107295556A (en) 2017-10-24

Similar Documents

Publication Publication Date Title
US11477246B2 (en) Network service plan design
US9858559B2 (en) Network service plan design
US20240064176A1 (en) Network service plan design
KR20140009171A (en) System and method for providing user notifications
JP2017503421A (en) Network function virtualized NFV failure management apparatus, device, and method
CN103746933A (en) Node distribution method and control center
CN117195302A (en) Computer readable medium comprising instructions for restricting plug-in application formulas
CN105657712A (en) Access control method and device of WiFi hotspot
WO2023045552A1 (en) Service deployment method, service deployment system, electronic device, and storage medium
EP3661164B1 (en) Network service plan design
CN110933152A (en) Preheating method, device and system and electronic equipment
CN107295556B (en) Method, device and equipment for detecting policy control and charging policy conflict
CN113791792A (en) Application calling information acquisition method and device and storage medium
US20240012700A1 (en) Governing Access To Third-Party Application Programming Interfaces
US9577967B2 (en) Method and system for managing an informational site using a social networking application
CN108235800A (en) A kind of network failure probing method and control centre's equipment
CN102075386B (en) Identification method and device
CN102726076A (en) Policy and charging control method, policy and charging rules function and policy and charging control system
CN109547439B (en) Processing method and device for service node access network
CN113312390A (en) Service data calling method and device, storage medium and electronic equipment
CN107678928B (en) Application program processing method and server
US20200382516A1 (en) Multi-vendor support for network access control policies
CN110022538B (en) Method and device for identifying traffic type
CN116233778B (en) Method and equipment for managing and controlling arrearage access strategy of mobile network
CN110248324B (en) Method and apparatus for traffic sharing settlement

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant