WO2011147327A1 - 策略控制方法、系统和相关装置 - Google Patents

策略控制方法、系统和相关装置 Download PDF

Info

Publication number
WO2011147327A1
WO2011147327A1 PCT/CN2011/074772 CN2011074772W WO2011147327A1 WO 2011147327 A1 WO2011147327 A1 WO 2011147327A1 CN 2011074772 W CN2011074772 W CN 2011074772W WO 2011147327 A1 WO2011147327 A1 WO 2011147327A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
policy
event
decision device
policy decision
Prior art date
Application number
PCT/CN2011/074772
Other languages
English (en)
French (fr)
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 EP11786099.9A priority Critical patent/EP2579506B1/en
Publication of WO2011147327A1 publication Critical patent/WO2011147327A1/zh
Priority to US13/687,781 priority patent/US9197577B2/en
Priority to US14/930,897 priority patent/US9992349B2/en
Priority to US15/989,578 priority patent/US10341496B2/en

Links

Classifications

    • 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
    • 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
    • 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
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1425Charging, metering or billing arrangements for data wireline or wireless communications involving dedicated fields in the data packet for billing purposes
    • 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/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5054Automatic deployment of services triggered by the service manager, e.g. service implementation by automatic configuration of network components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • 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

Definitions

  • the present invention relates to the field of data communication technologies, and in particular, to a policy control method, system, and related apparatus.
  • the system includes a Policy and Charging Rules Function (PCRF) 11, an Application Function (Device Function) device 12, a Subscription Profile Repository (SPR) 13, a Gateway device 14 and a meter.
  • the fee device 15 is composed.
  • the charging device 25 can be an online charging system (OCS) or an offline charging system (OFCS), which can perform real-time charging for users according to traffic or duration statistics in the gateway.
  • the PCRF may perform a service data flow control policy decision according to the subscriber information from the subscription information base 13, the bearer layer information of the gateway device 14, some local policies of the PCRF local configuration, or the service layer information of the application function device 12, etc., Determine the control strategy for the business data flow.
  • the gateway device 14 controls the service data flow according to the above service data flow control policy to ensure the quality of service.
  • FIG. 2 is a flowchart of a policy control method provided in the prior art.
  • the PCRF generates a service data flow control policy, where the control policy includes a monitoring keyword, an information reporting event trigger, and a traffic usage threshold determined according to a total usage quota of the traffic.
  • the PCRF sends the control policy to the gateway device. ;
  • the gateway device performs policy control on the data flow of the user service according to the control policy, and Accumulating traffic flowing through the gateway that satisfies the policy's data flow;
  • the gateway device reports the accumulated traffic information to the gateway device.
  • the usage information includes monitoring keywords and traffic accumulation information
  • the PCRF deducts the accumulated traffic information from the total usage quota of the traffic. If the traffic needs to be continued and the total usage quota of the deducted traffic is greater than zero, it is considered that a new usage quota needs to be sent to the gateway device. Repeat step A2 A5 until the end user's data flow service stops, and perform step A7. If the deducted traffic total usage quota is equal to or less than zero, that is, the total usage quota has been used up, adjust the service according to the operator policy or user policy. The flow control policy sends a new data flow control policy to the gateway device until the end user's data flow service stops, and step A7 is performed.
  • the PCRF saves the remaining total usage quota of the traffic to the SPR.
  • the PCRF in the prior art can implement policy control based on traffic accumulation, but cannot implement policy control on the data flow based on user-related charging related information, and the flexibility is poor, and the user's service is poor. The experience is poor. Summary of the invention
  • the present invention provides a policy control method and system and corresponding apparatus that can control a data flow according to user's charging related information.
  • the policy control method provided by the embodiment of the present invention includes: The policy decision device receives a control policy request sent by a gateway device, where the control policy request is carried User ID;
  • the policy decision device sends a session request message to the charging system, where the session request message carries the user identifier;
  • the policy decision device receives a response message of the session request message sent by the charging system
  • the policy decision device receives a notification message sent by the charging system through the established session, and generates a control strategy for the service data flow according to the generated charging related event information carried in the notification message;
  • the policy decision device sends the control policy to the gateway device according to a control policy request.
  • the embodiment of the invention further provides another policy control method, including: The charging system receives the session request message sent by the policy determining device, where the session request message carries the user identifier;
  • the charging system sends a response message of the session request message to the policy decision device according to the session request message;
  • the billing system acquires billing related events that need to be monitored
  • the charging system sends a notification message to the policy decision device through the established session when the charging related event occurs, and the notification message is used to indicate that the charging related event has occurred.
  • the embodiment of the invention further provides a policy decision device, including:
  • a policy request receiving unit configured to receive a control policy request sent by the gateway device, where the control policy request carries a user identifier
  • a session establishing unit configured to send a session request message to the charging system, where the session request message carries the user identifier
  • a response message receiving unit configured to receive a response message of the session request message sent by the charging system
  • a notification message receiving unit configured to receive a notification message sent by the charging system through the established session
  • a policy generating unit configured to generate a control policy of the service data flow according to the generated charging related event information carried in the notification message
  • a policy sending unit configured to send the control policy to the gateway device according to a control policy request.
  • the embodiment of the invention further provides a charging system, including:
  • a session request receiving unit configured to receive a session establishment request message sent by the policy decision device, where the session establishment request message carries a user identifier
  • a response message sending unit configured to send an answer message to the policy decision device according to the session request message
  • An event obtaining unit configured to acquire a charging related event that needs to be monitored
  • An event monitoring unit configured to monitor whether the charging related event occurs
  • a notification message sending unit configured to: when the event monitoring unit detects that the charging related event occurs, send a notification message to the policy decision device by using the established session, where the notification message is used to indicate the charging Related events have occurred.
  • the embodiment of the invention further provides a management node device, including: An event definition unit, configured to define a charging related event according to an operator policy or user subscription information, and define a charging system processing rule and a policy generation rule corresponding to the event category and the charging related event;
  • An event definition unit configured to define a charging related event according to an operator policy or user subscription information, and define a charging system processing rule and a policy generation rule corresponding to the event category and the charging related event;
  • an event configuration unit configured to separately configure the charging related event to the policy decision device and the charging system based on the category of the charging related event.
  • Embodiments of the present invention also provide a policy control system including the policy decision device as described above, the charging system as described above, and the management node device as described above.
  • the policy decision device receives the notification message sent by the charging system through the established session, and the notification message carries the charging related event information that has occurred, and the policy decision device further combines the currently occurring charging related event. Generate a control policy and deliver it.
  • the embodiment of the present invention can implement policy control on the data flow based on the user-related charging related information, and the flexibility is good, and the user's service experience is better.
  • FIG. 1 is a schematic structural diagram of a policy mechanism system for data services in the prior art
  • Embodiment 3 is a flowchart of a policy control method according to Embodiment 1 of the present invention.
  • FIG. 5 is a flowchart of a method for performing policy decision according to current charging related data of a user in an embodiment of the present invention
  • FIG. 6 is a flowchart of a method for sending a subscription request according to time information carried in a notification message in a policy control method according to an embodiment of the present invention
  • FIG. 7 is a flowchart of a policy control method according to Embodiment 3 of the present invention.
  • FIG. 8 is a flowchart of a method for transmitting current charging related data of a user to a policy decision apparatus in a policy control method according to an embodiment of the present invention
  • 9 is a flowchart of a policy control method according to Embodiment 4 of the present invention.
  • 10 is a flowchart of a policy control method according to Embodiment 5 of the present invention.
  • FIG. 11 is a schematic structural diagram of a policy decision apparatus according to Embodiment 7 of the present invention.
  • FIG. 12 is a schematic structural diagram of a subscription request sending unit in a policy decision apparatus according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a charging system according to Embodiment 8 of the present invention.
  • FIG. 14 is a schematic structural diagram of a monitoring unit in a charging system according to an embodiment of the present invention
  • FIG. 15 is a schematic structural diagram of a management node device according to Embodiment 9 of the present invention.
  • FIG. 16 is a schematic structural diagram of a policy control system according to Embodiment 10 of the present invention. detailed description
  • the present invention provides a policy control method and system and related apparatus.
  • the embodiments provided by the present invention will be described in detail below with reference to the accompanying drawings.
  • FIG. 3 is a flowchart of a policy control method according to Embodiment 1 of the present invention.
  • the policy control method provided by the embodiment of the present invention may include:
  • the policy decision device receives the control policy request sent by the gateway device, where the control policy request carries the user identifier.
  • the gateway device after receiving the bearer setup request of the user equipment, the gateway device sends a control policy request to the policy decision device for requesting the service data flow control policy.
  • the service data flow control policy request carries the user identifier.
  • the policy decision device sends a session request message to the charging system, where the session request message carries the user identifier.
  • the policy decision device determines that the session is established with the charging system, and sends a session request message to the charging system, where the session request message carries the user identifier.
  • the session request message may further include a session identifier, where the session identifier is used to identify a session between the charging system and the policy decision device, and all subsequent messages in the session may carry the session identifier.
  • the billing system in the present invention is mainly an online billing system or other real-time user billing. A system of related data.
  • the policy decision device determines, according to the user's subscription data, user attributes, service attributes, and/or operator policies, whether to establish a session with the charging system, such as whether the user is an online charging user, whether the service is If the session is established with the billing system, it is further determined whether the session between the policy decision device and the billing system has been established for the user. If the session has been established, the session can be reused. Establishing a session with the billing system determines that a session between the policy decision device and the billing system needs to be established.
  • the charging system After receiving the session request message, the charging system returns a response message of the corresponding session request message, where the response message carries the session identifier.
  • the policy decision apparatus receives a response message of the session request message sent by the charging system.
  • the policy decision device receives the response message of the session request message sent by the charging system, and the response message indicates that the application session between the policy decision device and the charging system is successfully established, and the response message carries the user identifier.
  • the charging system obtains a charging related event corresponding to the user identifier that needs to be monitored whether the charging related event occurs, and the charging related event may be, for example, the user's account balance is lower than the predetermined amount.
  • the billing system sends a notification message to the policy control module when the billing related event occurs.
  • the charging related event occurrence in the embodiment of the present invention may be understood as a certain variable of the charging system satisfies a certain preset condition, or receives a certain message, etc., and the understanding of the charging related event mentioned in the subsequent embodiment may be Refer to the description here.
  • the policy decision device receives the notification message sent by the charging system through the established session, and generates a control strategy for the service data flow according to the generated charging related event information carried in the notification message.
  • the policy decision device receives the notification message sent by the charging system through the established session, and the notification message carries the charging related event information that has occurred, and the charging related event may be the policy decision device subscribes to the charging system.
  • the first type of charging related event may also be a second type of charging related event that is automatically determined by the charging system and needs to be monitored.
  • the policy decision device generates a control strategy for the service data flow based on the charging related event information that has occurred.
  • the policy decision device may generate a control strategy for the service data flow according to the charging related event information and the preset policy generation rule.
  • the policy generation rule may be set according to an operator policy or user subscription information, and may be pre-stored in the policy decision device.
  • the policy generation rule may be sent to the policy decision device by the management node device added in the embodiment of the present invention.
  • Policy generation rules such as It can be: When the balance of the user is lower than the predetermined amount, the current quality of service or bandwidth of the user is lowered. Different event occurrences may correspond to different processing rules, and the policy generation rules may also be adjusted according to network conditions and/or tariff standards.
  • the policy decision apparatus sends a control policy to the gateway device according to the control policy request.
  • the policy decision apparatus may send the generated control policy to the gateway device according to the control policy request.
  • the gateway device performs the control policy to control the data service of the user.
  • the policy decision device receives the notification message sent by the charging system through the established session, and the notification message carries the charging related event information that has occurred, and the policy decision device generates the charging related event according to the current charging event. Control strategy and issue it.
  • the embodiment of the present invention can implement policy control on the data flow based on the user-related charging related information, and the configuration, monitoring, and triggering mechanism of the charging related event are flexible, so that the operator can perform the event according to the characteristics and operation of the event.
  • the policy is flexibly configured to achieve fine-grained control of service data flows at a small cost, with better flexibility and better user service experience.
  • FIG. 4 a flowchart of a policy control method provided by Embodiment 2 of the present invention is shown.
  • the policy decision device receives the control policy request sent by the gateway device, and the control policy request carries the user identifier.
  • the C2 the policy decision device sends a session request message to the charging system, where the session request message carries the user identifier.
  • the policy decision apparatus receives a response message of the session request message sent by the charging system.
  • the policy decision device acquires a first type of charging related event that needs to be subscribed to the charging system. Specifically, the policy decision device may determine a charging related event that needs to be subscribed to the charging system according to the user subscription information, the operator policy, and the like. The policy decision device may search for a corresponding first type of charging related event in a set of preset charging related events according to information such as service data flow information, service information, rate group information, and/or user information, that is, : The subscription class event, if found, determines that the first type of charging related event needs to be subscribed to the charging system. The foregoing charging related event may be pre-configured to the policy decision device or pre-configured in the policy decision device.
  • the source of the charging related event shall not constitute a limitation on the embodiment of the present invention.
  • the service needs to be identified first, and the specific information includes: the policy decision device can receive the service data flow information reported by the gateway device, and identify the service data flow information according to the certain matching rule. business.
  • the policy decision device may also receive the service information sent by the AF, bind the service information and the service data flow, and complete the binding to identify the service.
  • the policy decision device can also receive the service identification result sent by the DPI (Deep Packet Inspection) module. It should be pointed out that the policy decision device can also determine the identification service in other ways.
  • DPI Deep Packet Inspection
  • the policy decision device After the policy decision device determines the charging related event that needs to be subscribed, it can also determine whether the precondition of the charging related event is satisfied, and if yes, send a subscription request to the charging system through the session. The policy decision device may further determine whether the other currently used service of the user has subscribed to the event in the session before sending the subscription request. If the subscription is already subscribed, the subscription may be shared without repeating the subscription. Of course, the billing system may also filter the duplicate subscription request after receiving the subscription event request of the policy decision device.
  • the policy decision device sends a subscription request to the charging system to subscribe to the first type of charging related event, so that the charging system sends a notification message to the policy decision device when the first type of charging related event occurs.
  • the policy decision device sends a subscription request for subscribing to the first type of charging related event to the charging system in the session request message or through the established session, and the subscription request carries the first type of charging related event.
  • the policy decision device may send a subscription request to the billing system at the same time as the session is established or after the session is established.
  • the charging system After receiving the subscription request, the charging system monitors whether the first type of charging related event carried in the subscription request occurs, and sends a notification message to the policy decision device when the event occurs, and the notification message carries the A type of billing related event.
  • the policy decision device receives the notification message sent by the charging system through the established session, and generates a control policy according to the generated charging related event information carried in the notification message.
  • the policy determining apparatus updates the subscription status of the first type of charging related event, and based on the first type that has occurred. Billing related events, combined with other input conditions to generate a business data flow control strategy.
  • the policy decision apparatus sends a control policy to the gateway device according to the control policy request.
  • the policy decision device acquires a first type of charging related event corresponding to the service information, and sends a subscription request for subscribing to the first type of charging related event to the charging system.
  • the billing system In order for the billing system to send a notification message to the policy decision device when the first type of billing related event occurs.
  • the embodiment of the present invention can perform policy control according to the charging related event when the charging related event of the service information of the user occurs, so that the user monitors different charging when performing different services. Related events, which in turn make the flexibility of policy control better.
  • FIG. 5 a flowchart of a method for policy decision based on current charging related data of a user in an embodiment of the present invention is shown.
  • an initial control policy is generated for a certain service data flow based on user charging data.
  • the policy decision device can also perform the following steps:
  • the policy decision device sends a user charging data acquisition request to the charging system.
  • the policy decision device may carry a user charging data acquisition request in the session request message, requesting the user to charge related data.
  • the policy decision device may send a user charging data acquisition request to the charging system through the established session to obtain the current charging related data of the user, and then perform step D2.
  • the policy decision device receives current charging related data of the user returned by the charging system.
  • the policy decision device receives the current charging related data of the user returned by the charging system according to the user charging data acquisition request carried in the session request or the user charging data acquisition request sent in the session.
  • the user's current billing related data may be: one or more of the user's current account balance, the user's accumulated traffic during a certain period of time, the user's consumption information for a certain period of time, the user level, and the user's meal.
  • the policy decision device generates a control strategy for the service data flow according to the current charging related data of the user.
  • the policy determining apparatus may generate a control policy of the service data flow according to the current charging related data of the user, where the specific control policy generating method may be: the policy determining apparatus integrates the current charging related data of the user according to the built-in policy generating rule, and other The input condition generates a business data flow control policy. For example, if the balance of the call charge in the current billing data of the user is 10 yuan, the policy decision device matches the condition in the policy generation rule, and integrates other conditions to determine a corresponding QoS for the service data flow of the user. D4. The policy decision device sends the generated control policy to the gateway device.
  • the specific control policy generating method may be: the policy determining apparatus integrates the current charging related data of the user according to the built-in policy generating rule, and other The input condition generates a business data flow control policy. For example, if the balance of the call charge in the current billing data of the user is 10 yuan, the policy decision device matches the condition in the policy generation rule, and integrates other
  • the policy decision device sends the generated control policy to the gateway device.
  • the gateway device performs the received control policy to control the data service of the user.
  • the current charging related data is obtained, and then the control policy is generated according to the current charging related data of the user, so as to control the user's data service based on the current account or consumption status of the user.
  • the embodiment of the present invention can adapt to more application scenarios and has a wider application range.
  • the policy determining apparatus in the embodiment of the present invention may buffer the received charging related data, and then, after receiving the notification message sent by the charging system, according to the notification message.
  • the event information carried in the update updates the cached billing related data.
  • the embodiment of the present invention can reduce the number of interactions between the policy decision device and the billing system by buffering the received billing related data, thereby reducing the processing pressure of the billing system, and greatly improving the real-time processing performance of the online billing system.
  • FIG. 6 a flow chart of a method for sending a subscription request according to event information carried in a notification message in a policy control method provided by an embodiment of the present invention is shown.
  • the method may further send a subscription request to the charging system according to the event information carried in the notification message, where the process mainly includes :
  • the policy decision device searches for, according to the event information carried in the notification message, a third type of charging related event with the pre-condition of the charging related event occurring in the set of preset charging related events.
  • the policy decision device searches for, according to the event information carried in the notification message, a charging related event in which the charging related event has occurred as a precondition in a set of preset charging related events.
  • the found charging related event is referred to as a third type charging related event.
  • the policy decision device sends a subscription request for subscribing to the third type of charging related event to the charging system through the established session, so that the charging system sends a notification message to the policy decision device when the third type charging related event occurs. .
  • the policy decision device sends a subscription request for subscribing to the third type of charging related event to the charging system by using the established session, and the subscription request carries a third type of charging related event.
  • the billing system monitors whether the third type of billing related event occurs, and sends a notification message to the policy decision device when the event occurs.
  • the policy decision device performs policy decision according to the event information in the notification message.
  • the policy decision device may still search for the charging related in the set of preset charging related events according to the event information carried in the notification message.
  • the event is a pre-conditional billing related event and is subscribed, that is, steps E1 to E2 are re-executed.
  • the subscription request is sent to the charging system according to the event information carried in the notification message, which can be adapted to more application scenarios and has a wider use range.
  • the embodiment of the present invention implements a policy decision of a service flow control based on a special precondition by configuring an event class precondition for an event, and the method can solve the problem that the user crosses when using the data service.
  • Flexible and accurate policy control in different event domains enables operators to perform precise and flexible service data flow refinement control.
  • the policy decision device receives the notification message sent by the charging system through the session, and may carry the first type of charging related event and/or the second type of charging related event that has occurred.
  • the policy determining device After receiving the charging related event sent by the charging system, the policy determining device first searches for the first type of charging related event that it subscribes to, and if found, the first type of charging related event Updating the subscription status of the first type of charging related event, and generating a service data flow control policy; if the search fails, continuing to search in the preset second type of charging related event, and after the successful search, according to the occurrence
  • the second type of charging related event generates a business data flow control strategy.
  • the policy decision device supports the processing capability of the second type of charging related event, so that the policy decision device does not need to subscribe to the subscription status of the event and the maintenance event, which can greatly reduce the cost of the policy decision device processing the subscription and management subscription, and reduce the policy decision device and The pressure of the billing system, at the same time, realizes the refined control of the traffic data flow based on the rich information of the billing system.
  • the policy control method provided by the embodiment of the present invention is described above from the side of the policy decision device.
  • the policy control method provided by the embodiment of the present invention is described below from the charging system side.
  • FIG. 7 a flowchart of a policy control method according to Embodiment 3 of the present invention is shown.
  • the policy control method provided in Embodiment 3 of the present invention mainly includes:
  • the charging system receives the session request message sent by the policy decision device, where the session request message carries the user identifier.
  • the charging system in the embodiment of the present invention receives the session request message sent by the policy determining device, where the session request message carries the user identifier, and the session request message may further carry the session identifier.
  • the charging system sends a response message of the session request message to the policy decision device according to the session establishment request.
  • the response message indicates that the session between the policy decision device and the charging system is successfully established, and the response message may carry the session identifier.
  • the charging system acquires a charging related event that needs to be monitored.
  • the monitoring in the present invention means that the charging system can know the occurrence of the subscription-related or non-subscription-related charging related events, and can trigger the reporting to the policy decision device after the event occurs according to the subscription behavior of the policy decision device or the configuration of the management node.
  • the behavior of the billing related events that occur It should be noted that the monitoring is not limited to the specific implementation method of knowing the occurrence of an event and triggering an escalation action in the billing system.
  • the charging system can obtain the charging related events that need to be monitored by:
  • the billing system receives a subscription request message sent by the policy decision device in a session request message or a subsequent session, the subscription request carrying a billing related event that the policy decision device needs to subscribe to.
  • the policy determining apparatus After determining the first type of charging related event that needs to be subscribed to the charging system, the policy determining apparatus sends a subscription request for subscribing to the first type of charging related event to the charging system in the session request message or the subsequent session.
  • the fee system receives the subscription request.
  • the subscription request carries a billing related event that the policy decision device needs to subscribe to.
  • the charging system searches for a charging related event corresponding to the user identification in a set consisting of preset charging related events.
  • the charging system may automatically search for a second type of charging related event corresponding to the user identifier in the set of the charging related events preset by the charging system according to the session request message sent by the policy determining device, that is, the non-subscription class. event.
  • the foregoing charging related event may be pre-configured in the charging system, and the source of the charging related event shall not constitute a limitation on the embodiment of the present invention.
  • the management node can also configure the precondition of the event, and after finding the second type of charging related event, it can also determine whether the current user charging related data satisfies the precondition, and if yes, determine the need to the policy.
  • the billing related event sent by the decision device.
  • the charging related event corresponding to the user identifier may be, for example, the account balance of the user is lower than a certain limit, and the daily traffic of the user reaches a certain limit.
  • the charging system monitors whether the charging related event occurs, and sends a notification message to the policy decision device through the established session when the monitored charging related event occurs, and the notification message is used to indicate that the charging related event has occurred.
  • the charging system monitors whether the charging related event occurs, and sends a notification message to the policy decision device by using the established session in step F2 when the monitored charging related event occurs, and the notification message is used to indicate the charging.
  • a related event has occurred, and the notification message may carry one or more charging related events that have occurred.
  • the policy decision device receives the notification message sent by the charging system through the session, and performs policy decision according to the event information in the notification message. For detailed process of the policy decision device performing policy decision, refer to the first embodiment and the second embodiment. This is not repeated.
  • the charging system when the charging system detects that the charging related event occurs, the charging system sends a notification message to the policy decision device through the established session, so that the policy decision device combines the currently incurred charging.
  • the related event generates a control policy and issues it.
  • the embodiment of the present invention can implement policy control on the data flow based on the user-related charging related information, and the configuration, monitoring, and triggering mechanism of the charging related event are flexible, so that the operator can perform the event according to the characteristics and operation of the event.
  • the strategy is flexibly configured to achieve fine-grained control of business data streams at a small cost with good flexibility.
  • FIG. 8 a flow chart of a method for sending a current charging related data of a user to a policy decision apparatus in a policy control method provided by an embodiment of the present invention is shown.
  • the process for the charging system to send the current charging related data of the user to the policy determining apparatus may include:
  • the charging system receives a user charging data acquisition request sent by the policy decision device.
  • the session request message received by the charging system may further include a user charging data obtaining request, where the request is used to obtain current charging related data of the user, or the charging system receives the policy decision device sent in the session.
  • the user billing data acquisition request is to obtain the current billing related data of the user. After receiving the user charging data acquisition request sent by the policy decision device, the charging system will perform step G2.
  • the charging system acquires current charging related data of the user according to the user charging data acquisition request.
  • the billing system stores current billing related data of the user.
  • the user's current billing related data may be, for example: the user's current account balance, the user's current various traffic accumulation, or The user's current various consumption accumulations, etc.
  • the charging system sends the current charging related data of the user to the policy decision device.
  • the charging system sends the current charging related data of the user to the policy decision device in the response message of the session request message, if the user charging data The acquisition request is sent in the session, and the charging system sends the current charging related data of the user in the response message of the user data acquisition request.
  • the policy decision device After receiving the current charging related data of the user, the policy decision device generates a control policy according to the current billing related data of the user and sends the generated control policy to the gateway device.
  • the gateway device controls the data service of the user according to the received control policy.
  • the policy decision device generates a control policy according to preset policy generation rules, current charging related data of the user, and other input conditions.
  • the current charging related data of the user is obtained through the session or the session, and the current charging related data is sent to the policy decision device, so that the policy determining device generates the control policy according to the current charging related data of the user.
  • the notification message sent by the billing system only reflects the change of the user billing related data in the service use process, and does not reflect the defect of the historical state of the user billing related data at the beginning of the service, so that the policy decision device can be based on the whole process of the service. Accurate business data flow control in real-time situations of complete user billing related data.
  • FIG. 9 a flowchart of a policy control method provided in Embodiment 4 of the present invention is shown.
  • the charging system receives a session request message sent by the policy decision device, where the session request message carries the user identifier.
  • the charging system sends a response message of the session request message to the policy decision device according to the session request message.
  • the charging system acquires a charging related event that needs to be monitored.
  • the charging system sends a notification message to the policy decision device through the established session when the charging related event occurs, and the notification message is used to indicate that the charging related event has occurred.
  • the charging system searches for a fourth type of charging related event with the pre-condition of the charging related event occurring in the set of preset charging related events when the charging related event occurs. Specifically, when the charging related event occurs, the charging system searches for a charging related event in which the charging related event has occurred as a precondition in the set of preset charging related events. In the embodiment of the present invention, the found charging related event is referred to as a fourth type charging related event.
  • step H4 and step H5 are timing-independent.
  • the charging system monitors the fourth type of charging related event.
  • the notification message is sent to the policy decision device through the established session.
  • the notification message carries the event information that has occurred, and the policy decision device performs policy decision according to the event information in the notification message.
  • the policy decision making device performs policy decision according to the event information in the notification message.
  • the charging system can still search for the charging related event with the charging related event as the precondition in the set of preset charging related events. To subscribe, re-execute steps H5 ⁇ H6.
  • Embodiment 4 of the present invention implements a policy decision of a service flow control based on a special precondition by configuring an event class precondition for an event, and the method can solve the user's use.
  • flexible and accurate policy control across different event domains enables operators to perform precise and flexible service data flow refinement control.
  • the devices interacting in this application scenario include: a policy decision device, a billing system, a gateway device, and a management node device.
  • the charging system in this application scenario is an online charging system or other device with real-time user charging related data.
  • the newly added management node device defines a charging related event, a precondition of the event, a processing rule of the charging system corresponding to the event, and a policy generation rule of the policy decision device corresponding to the event, according to the operator policy or the user subscription information. And correspondingly sending the charging related event and related rules to the policy decision device and the charging system, so that the charging system and the policy decision device perform corresponding processing after the charging related event.
  • the gateway device can be a general packet radio service (General Packet
  • Gateway GPRS Support Node Gateway GPRS Support
  • GGSN Node, GGSN, EPC (Evolved Packet Core), Packetized Data Network Gateway (PDN-GW), or other built-in Policy and Charging Execution Function (PCEF)
  • PCEF Policy and Charging Execution Function
  • the module, the gateway device can execute a control strategy sent by the policy decision device to control the data service.
  • FIG. 10 a flowchart of a policy control method provided in Embodiment 5 of the present invention.
  • the policy control method provided in Embodiment 5 of the present invention mainly includes:
  • the management node defines the charging related event and the corresponding processing rule according to the operator definition and/or the user subscription information.
  • the management node receives the configuration information of the operator, the subscription information of the user, and the like, and defines an event for the control policy of the user service data flow control.
  • the billing related event may be a specific event of a specific accumulating rule, for example, the consumption of the data service reaches 200 yuan.
  • the billing related event may also be a generalization event that does not specify a cumulative rule.
  • the specific accumulation rule needs to be specified by other parameters of the event synthesis. This other parameter may be an accumulated rule identifier or a cumulative amount.
  • the event is a balance change, and other parameters may be that the current balance value is 8 yuan.
  • the precondition of the event may also be defined when the event is defined.
  • the precondition in the present invention refers to the premise of the event, and the precondition may be a non-event precondition, such as: The event that a user data service accumulates up to 100M, the precondition is that the user's data service accumulation must be less than 100M when the event is activated; the precondition may also be an event class precondition, ie: the occurrence of another event It is the premise of the occurrence of the event, such as: For the "balance is higher than the predetermined minimum threshold" event, the precondition can be the occurrence of another event "the balance is lower than the predetermined minimum threshold".
  • the defined events can cover the following:
  • An event indicating that the accumulation of various granularities reaches a predetermined threshold The cumulative unit includes accumulation of traffic, duration, amount of consumption, number of messages, and the like.
  • the cumulative period includes days, weeks, months, and so on.
  • the cumulative item may be a service classification such as a voice service, a data service, or a message service; or may be based on the accumulation of a rate group, which is a set of a group of services having the same rate; or may be a cumulative use of a single service. (Identify the business with rate groups and/or business identifiers). Preconditions for this type of event: The current accumulation is below the predetermined threshold, or the "cumulative clear" event occurs;
  • the event indicating the cumulative clearing of the charging function module After the accumulated value reaches the predetermined threshold, the accumulated data is cleared after the preset clearing condition of the cumulative item defined by the operator, for example: the cumulative strategy is the daily cycle. Sexual accumulation, the accumulated data is cleared to zero on the previous day after the zero point is exceeded. Preconditions for this event: The current accumulation reaches or exceeds the predetermined threshold, or the "accumulated to reach the predetermined threshold" event occurs;
  • An event indicating that the account balance is lower than the predetermined threshold The balance of one of the user's accounts, or all accounts, is below a certain threshold.
  • Precondition The current balance is higher than the predetermined threshold, or The amount is higher than the predetermined threshold" event occurs;
  • An event indicating that the account balance is higher than the predetermined threshold the balance of a user's account or all accounts is higher than a certain threshold, including when the user account balance is lower than the predetermined threshold, due to recharge or carrier gift Etc. so that the user's account balance is higher than the predetermined threshold.
  • Precondition The current balance is lower than the predetermined threshold, or the "balance below the predetermined threshold" event occurs;
  • the charging function module starts to authorize the user to use the traffic given by the operator instead of the user's self-paid traffic, and may need to separately define events for the start and end of the gifted traffic;
  • Non-subscription event an event that affects the control of QoS, bandwidth, and the like of the data service flow on all gateways, or the operator considers Events that do not require a policy decision device to subscribe to.
  • the non-subscription event does not need to be related to a specific data service, so there is no need to confirm which services are currently being used.
  • This type of event can be configured through the configuration, that is, configuring the event to the charging system, and the charging system determines the device and charging according to the policy. The session state between systems determines whether a report needs to be reported, and no policy decision device is required to subscribe.
  • the second type of charging related events and the fourth type of charging related events in the foregoing embodiments are all non-subscription events;
  • Subscription class event An event that affects only certain business data streams on the gateway. Since this type of event is only related to certain services, it is first necessary to be able to determine the current service. The policy decision device can learn the currently used service, but the charging system cannot be known. Therefore, the event needs to be subscribed to be valid, that is, the policy decision device subscribes to the service related to the service in the service use or during use. .
  • the first type of charge related event and the third type of charge related event in the above embodiment are all subscription events;
  • a specific event belongs to a non-subscription event or a subscription event is determined according to the operator's operation policy and the operator's positioning of the event.
  • the process rule for defining the billing system corresponding to the event and the policy generating rule for the policy decision device may be as follows:
  • the processing rule of the billing system refers to: The billing system associates the event to a cumulative item, or a balance change monitoring item. If it is a non-subscription type event, it is also required to specify that the billing system changes in the cumulative item or balance. After the value, the event is automatically reported based on certain conditions, regardless of whether the policy decision device subscribes to the event;
  • the policy generation rule of the policy decision device refers to: The policy decision device associates the event to one or more service data flows, and defines a combination of the event and other inputs as a conditional QoS, bandwidth, and the like.
  • the management node sends the defined charging related event and corresponding processing rule to the charging system and the policy decision device.
  • the management node device may send the charging related event and the corresponding processing rule to the policy decision device and the charging system in advance.
  • the management node device can be configured in the policy decision device and the charging system based on the event classification.
  • the configuration object can be a single user, a package user, or a certain level of user.
  • the configuration information includes: configuring a service identifier, a rate group, and a policy decision device.
  • the management node device configures one or more of an event, a precondition of the event, an accumulation rule, an event category, and the like to the billing system, and bills The system performs different processing on different categories of events, wherein the cumulative rules may include a cumulative item, a cumulative mode, a cumulative period, and the like, and the event category may include a subscription class and a non-subscription class.
  • the policy decision device receives the control policy request sent by the gateway device.
  • the control policy request is used to request a control policy, where the user identifier is carried.
  • the policy decision device determines whether a session needs to be established with the billing system.
  • the policy decision device determines, according to the user's subscription data, the user attribute, the service attribute, the operator policy, and the like, whether to establish a session with the charging system, and if necessary, further determining whether the policy decision device and the charging system are already
  • the user establishes a session. If the session has already been established, the session is reused, and then step S7 is performed. If the session is not established, it is determined that a session between the policy decision device and the charging system needs to be established, and step S5 is performed.
  • the policy decision device initiates a session request message to the charging system, where the request message carries a user identity and a charging data acquisition request.
  • the request message carries a user identifier for the charging system to bind the session to a specific user.
  • the request message may further include obtaining an acquisition request of the current charging related data of the user on the charging system, to obtain current user charging related data on the charging system during the session establishment, as the initial service flow control policy generation on the policy decision device. Input parameters. There is only one interactive session between the same user policy decision device and the charging system, so multiple services of the user share the session.
  • the charging system returns a response message, where the response message carries the current charging related data of the user. Specifically, the charging system sends a response message to the policy decision device, indicating that the session is successfully established. Meanwhile, if the session request message carries the acquisition request of the current charging related data of the user, the current charging related data is sent to the policy decision device in the response message.
  • the policy decision device obtains a subscription class event.
  • the policy decision device may determine a charging related event that needs to be subscribed to the charging system according to the user subscription information, the operator policy, and the like.
  • the policy decision device may search for a corresponding charging related event in a set of preset charging related events according to service data flow information, service information, rate group information, and/or user information, and if found, It is determined that the billing system needs to subscribe to the billing related event, that is, a subscription type event.
  • the foregoing charging related event may be sent to the policy decision device in advance or pre-configured in the policy decision device.
  • the source of the charging related event should not constitute a limitation on the embodiment of the present invention.
  • the policy decision device sends a subscription request to the billing system.
  • the policy decision device may further determine whether the other currently used service of the user has subscribed to the event in the session before sending the subscription request. If the subscription is already subscribed, the subscription may be shared without repeating the subscription.
  • the billing system may also filter the duplicate subscription request after receiving the subscription event request of the policy decision device.
  • the charging system receives the subscription request and activates the reporting mechanism of the subscription event.
  • the charging system activates the reporting mechanism of the charging related event subscribed by the subscription request, that is, monitors the subscription event, and sends a notification to the policy decision device when the subscription event occurs. Message, go to step S11.
  • the charging system searches for a non-subscription event corresponding to the user and activates the upper mechanism.
  • the charging system automatically searches for a non-subscription event suitable for the user identifier according to the management node configuration in the set of the charging related events, and confirms the non-subscription.
  • the reporting mechanism of the non-subscription event is activated.
  • steps S6 and S9 do not have a strict execution sequence, and the order of the numbers is independent of the sequence in the sequence.
  • a subscription type event or a non-subscription event subscribed by the policy decision device occurs, and the charging system sends a notification message to the policy decision device.
  • the billing system sends a notification message to the policy decision device when the subscription-type event or the non-subscription event subscribed by the policy decision device is detected, where the event information is carried to indicate that the event has occurred.
  • the billing system can also find and activate the non-subscription event with the event as a precondition. Specifically, after the occurrence of an event, the charging system automatically searches for a non-subscription event suitable for the user as a precondition for the occurrence of the event, and automatically activates the non-subscription event, and the charging system activates the non-subscription event.
  • the processing flow of the non-subscription event is similar to the processing of other events, that is, after the charging system activates the reporting of the event, the event is reported to the policy decision device immediately after the event occurs, that is, the notification message is sent.
  • the policy decision device receives the notification message and generates a control policy.
  • the policy decision device After receiving the notification message sent by the charging system, the policy decision device generates a control policy according to the event information in the notification message and the policy generation rule pre-configured by the management node.
  • the policy decision device may further search for a subscription event with the premise condition that the charging related event has occurred and subscribe to the charging system.
  • the policy decision device sends a control policy to the gateway device.
  • the policy decision device sends the generated control policy to the gateway device, and the gateway device executes the control policy to implement control of the user's service data flow.
  • the step of canceling the subscription may be further included.
  • the policy decision device sends an unsubscribe command to the billing system.
  • the unsubscribe command carries one or more or all events to be unsubscribed; or the unsubscribe command subscribes to a special event that indicates that all events are unsubscribed, such as: Unsubscribe from all events
  • the policy decision device requests to interrupt the interaction session between the policy decision device and the charging system, and the charging system automatically invalidates all subscription events of the policy decision device after the interaction session is closed, Invalid all billing systems automatically activate the non-subscription event set on the top;
  • the charging system may automatically invalidate the reporting of the event after successfully reporting the event to the policy decision device.
  • the management node configures an event, an event precondition, a processing rule, and the like according to the event classification to the policy decision module and the charging system, based on the event classification,
  • the configuration of the management node can distinguish between the non-subscription class and the subscription class event.
  • the charging system can automatically activate the reporting of the non-subscription event when the policy decision module and the charging system interaction session are established, without the policy decision module.
  • Subscriptions because the probability of non-subscription events is low, and the proportion of events that all billing systems can report to the policy decision device is high, unsubscribing can significantly reduce the cost of policy decision devices and billing systems processing subscriptions and managing subscriptions.
  • the pressure of the policy decision device and the billing system is reduced, and the refined control of the service data stream based on the rich information of the billing system is realized.
  • the sixth embodiment of the present invention provides a policy control method, and further describes a subscription method of other embodiments of the present invention.
  • the charging system After receiving the subscription request of the policy decision device, the charging system determines whether to support a certain charging related event in the request or whether the charging related event or the charging related device can be identified according to the configuration of the management node and the capability of the management node. Whether the precondition of the event is satisfied, if the charging related event is not supported or cannot be identified or the precondition of the charging related event is not satisfied, the subscription of the charging related event is rejected, optionally, for the event Returning the subscription failure information to the policy decision device, the failure does not affect the subscription processing of other charging related events in the request, that is, the charging system performs the same judgment on other charging related events, and does not The subscription fails and the subscription to other billing related events is refused. It should be noted that if there are multiple billing related events in the request that fail to be subscribed, and the failure information needs to be returned to the policy decision device, the billing system will The corresponding subscription failure information is merged and returned to the policy decision device in the same response message;
  • the charging system determines that if the charging related event is not supported or cannot be identified or the precondition is not satisfied, the subscription request message is rejected, that is, the subscription request message is rejected. Subscribe to all events in the event, and return a response message for the request message, indicating that all events have failed to subscribe.
  • the policy decision device updates the subscribed event in the established session, such as the E2 step
  • the specific method can be implemented as follows:
  • Method 1 The policy decision device sends an update subscription message to the charging system, where the message carries only the charging related event and the subscription request that needs to be newly added, or the charging related event and the cancellation request that need to be unsubscribed, and does not carry the The affected charging related event, after receiving the update subscription message, the charging system adds a subscription of the new charging related event based on the event group and the update message subscribed by the policy decision device, and cancels the subscription of the message request.
  • Method 2 The policy decision device sends an update subscription message to the charging system, and the message must be carried With all billing related events and subscription requests, namely: billing related events including new subscriptions and billing related events that have been subscribed but still need to be subscribed, that is, all billing related events that need to be subscribed currently need to be sent.
  • the billing system cancels all events subscribed by the policy decision device, and performs a subscription operation on all the billing related events in the update subscription message.
  • FIG. 11 a schematic structural diagram of a policy decision apparatus according to Embodiment 7 of the present invention is shown.
  • the policy decision apparatus provided in Embodiment 6 of the present invention includes:
  • the policy request receiving unit 110 is configured to receive a control policy request sent by the gateway device, where the control policy request carries the user identifier;
  • the session establishing unit 120 is configured to send a session request message to the charging system, where the session request message carries the user identifier.
  • the response message receiving unit 130 is configured to receive a response message of the session request message sent by the charging system
  • the notification message receiving unit 140 is configured to receive a notification message sent by the charging system through the established session;
  • the policy generating unit 150 is configured to generate a control policy of the service data flow according to the generated charging related event information carried in the notification message;
  • the policy sending unit 160 is configured to send a control policy to the gateway device according to the control policy request.
  • the policy decision-making apparatus provided in the sixth embodiment of the present invention may be used in the policy control method provided in the foregoing corresponding embodiment. For the detailed execution process, refer to the foregoing method embodiment, and the description is not repeated herein.
  • policy decision apparatus provided by the embodiment of the present invention may further include:
  • the subscription event obtaining unit 170 is configured to acquire a first type of charging related event that needs to be subscribed to the charging system;
  • the subscription request sending unit 180 is configured to send a subscription request for subscribing to the first type of charging related event to the charging system, so that the charging system sends a notification message to the policy decision device when the first type of charging related event occurs.
  • the policy decision device acquires a first type of charging related event corresponding to the service information, and sends a subscription to the first type of charging to the charging system.
  • a subscription request for a related event such that the billing system sends a notification message to the policy decision device when the first type of billing related event occurs.
  • the embodiment of the present invention can perform policy control according to the charging related event when the charging related event of the service information of the user occurs, so that the user monitors different charging when performing different services. Related events, which in turn make the flexibility of policy control better.
  • the policy decision apparatus provided by the embodiment of the present invention further includes:
  • the charging data requesting unit 190 is configured to send a user charging data acquisition request to the charging system;
  • the charging data receiving unit 200 is configured to receive the current charging related data of the user by the charging system;
  • the policy generating unit 150 is further configured to generate a control policy according to the current charging related data of the user, and the policy sending unit 160 is further configured to send the control policy generated according to the charging related data to the gateway device.
  • FIG. 12 a schematic diagram of a structure of a subscription request sending unit in a policy decision apparatus according to an embodiment of the present invention is provided.
  • the subscription event obtaining unit 170 is further configured to acquire a precondition corresponding to the first type of charging related event.
  • the subscription request sending unit 190 includes:
  • the first determining module 191 is configured to determine whether the pre-condition of the first type of charging-related event is satisfied.
  • the request sending module 192 is configured to: when the first determining module 191 determines that the pre-condition is satisfied, The fee system sends a subscription request, and the subscription request carries a first type of charging related event that satisfies the precondition.
  • FIG. 13 a schematic structural diagram of a charging system according to Embodiment 8 of the present invention is shown.
  • the charging system provided in Embodiment 7 of the present invention includes:
  • the session request receiving unit 310 is configured to receive a session request message sent by the policy decision device, where the session request message carries the user identifier.
  • the response message sending unit 320 is configured to send a response message to the policy decision device according to the session request message;
  • An event obtaining unit 330 configured to acquire a charging related event that needs to be monitored
  • An event monitoring unit 340 configured to monitor whether a charging related event occurs;
  • the notification message sending unit 350 is configured to: when the event monitoring unit 340 detects that the charging related event occurs, send a notification message to the policy decision device through the established session, where the notification message is used to indicate that the charging related event has occurred.
  • the charging system provided in the seventh embodiment of the present invention can be used in the policy control method provided in the foregoing corresponding third embodiment.
  • the detailed process refer to the foregoing method embodiment, and the description is not repeated herein.
  • the charging system provided in Embodiment 8 of the present invention may further include:
  • the charging request receiving unit 360 is configured to receive a user charging data acquisition request sent by the policy decision device.
  • the billing data obtaining unit 370 is configured to obtain current billing related data of the user according to the user billing data obtaining request.
  • the charging data sending unit 380 is configured to send the current charging related data of the user to the policy decision device.
  • FIG. 14 is a schematic structural diagram of a monitoring unit in a charging system according to an embodiment of the present invention.
  • the event obtaining unit 330 is further configured to acquire a pre-condition corresponding to the charging related event that needs to be monitored.
  • the event monitoring unit 340 in the charging system may specifically include:
  • the second judging module 341 is configured to determine whether the pre-condition of the billing-related event is satisfied, and the event monitoring module 342 is configured to monitor, when the second judging module 341 determines that the pre-condition is satisfied, monitor the billing-related event that satisfies the pre-condition Whether it happened.
  • FIG. 15 a schematic structural diagram of a management node device according to Embodiment 9 of the present invention is shown.
  • the embodiment of the invention further provides a management node device, including:
  • the event definition unit 410 is configured to define a charging related event according to the operator policy or the user subscription information, and define a charging system processing rule and a policy generation rule corresponding to the event category and the charging related event;
  • the event configuration unit 420 is configured to separately configure a charging related event, a policy generation rule, and a charging system processing rule to the policy decision device and the charging system based on the category of the charging related event, so that the charging system and the policy determining device are different. Class billing related events are handled differently.
  • management node device in the embodiment of the present invention may be integrated into a policy decision device or a charging system, that is, as a function module of a policy decision device or a charging system.
  • FIG. 16 a schematic structural diagram of a policy control system according to Embodiment 10 of the present invention is shown.
  • the embodiment of the present invention further provides a policy control system, including: a policy decision device 510, a charging system 520, and a management node device 530.
  • a policy control system including: a policy decision device 510, a charging system 520, and a management node device 530.
  • the policy decision device 510, the charging system 520, and the management node device 530 refer to the corresponding device embodiment, and the description is not repeated here.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Meter Arrangements (AREA)

Abstract

本发明公开了一种策略控制方法、系统和相关装置,该方法包括:策略决策装置接收网关设备发送的控制策略请求,所述控制策略请求中携带用户标识;策略决策装置向计费系统发送会话请求消息,所述会话请求消息中携带所述用户标识;策略决策装置接收计费系统发送的会话请求消息的应答消息;策略决策装置接收所述计费系统通过已建立的会话发送的通知消息,根据所述通知消息中携带的已发生的计费相关事件信息生成业务数据流的控制策略;策略决策装置根据控制策略请求向所述网关设备发送所述控制策略。本方法可以实现基于用户的计费相关信息对数据流进行策略控制,灵活性较好,用户的业务体验较好。

Description

策略控制方法、 系统和相关装置
本申请要求 2010年 05月 28日递交的申请号为 201010192415.5、 发明名 称为 "策略控制方法、 系统和相关装置" 的中国专利申请的优先权, 其全部 内容通过引用结合在本申请中。
技术领域
本发明涉及数据通信技术领域, 具体涉及一种策略控制方法、 系统和相 关装置。
背景技术
随着第三代(3rd-generation, 3G )移动网络的大规模部署, 数据业务的 使用也越来越广泛。 对于运营商而言, 为提高竟争力, 需要提供良好的服务 质量(Quality of Service, QoS )保证。
现有技术中提供了一种针对数据业务的策略机制系统, 其架构如图 1 所 示。该系统包括策略和计费规则功能装置( Policy and Charging Rules Function, PCRF ) 11、应用功能( Application Function )装置 12、订阅信息库( Subscription Profile Repository, SPR ) 13、 网关 ( Gateway )设备 14和计费装置 15组成。 其中, 计费装置 25可以为在线计费系统(Online Charging System, OCS )或 离线计费系统(Offline Charging System, OFCS ), 其可以根据网关中的流量 或时长统计对用户进行实时计费。 PCRF可以根据来自订阅信息库 13中的订 阅者信息、 网关设备 14的承载层信息、 PCRF本地配置的一些本地策略, 或 者应用功能装置 12的业务层信息等, 进行业务数据流控制策略决策, 以确定 对该业务数据流的控制策略。 网关设备 14根据上述业务数据流控制策略对业 务数据流进行控制, 从而保证服务质量。
参见图 2, 图 2是现有技术中提供的一种策略控制方法的流程图。
现有技术中的策略控制方法包括:
Al、 PCRF从 SPR接收流量的总使用配额;
A2、 PCRF生成业务数据流控制策略, 在该控制策略中包括监控关键字、 使用信息上报事件触发器, 以及根据流量的总使用配额确定的流量使用门限; A3、 PCRF发送该控制策略给网关设备;
A4、 网关设备根据该控制策略对用户业务的数据流进行策略控制, 并且 对流经该网关的满足该策略的数据流的流量进行累积;
A5、 网关设备在累积值达到该控制策略中所指定的使用门限时, 或者虽 未达到该控制策略中所指定的使用门限, 但满足该策略的数据流中断时, 或 者其他数据流使用信息上报条件时, 网关设备上报所累积的流量信息给
PCRF, 该使用信息中包括监控关键字和流量累积信息;
A6、 PCRF 从上述流量的总使用配额中扣减上报的流量累积信息, 若需 要继续该业务且扣减后的流量总使用配额大于零, 则认为需要向网关设备下 发新的使用配额, 则重复 A2 A5步, 直到最终用户的数据流业务停止, 执行 步骤 A7; 若扣减后的流量总使用配额等于或小于零, 即总使用配额已用完, 则根据运营商策略或用户策略调整业务流的控制策略, 并向网关设备发送新 的数据流控制策略, 直到最终用户的数据流业务停止, 执行步骤 A7。
A7、 业务停止后, PCRF保存剩余的流量总使用配额保存到 SPR中。 发明人在实现本发明的过程中发现, 现有技术中 PCRF可以实现基于流 量累积的策略控制, 但无法实现基于用户的计费相关信息对数据流进行策略 控制, 灵活性较差, 用户的业务体验较差。 发明内容
本发明提供一种可以根据用户的计费相关信息对数据流进行策略控制的 策略控制方法和系统以及相应装置。
为解决上述技术问题, 本发明实施例是通过以下技术方案来实现的: 本发明实施例提供的策略控制方法, 包括: 策略决策装置接收网关设备 发送的控制策略请求, 所述控制策略请求中携带用户标识;
策略决策装置向计费系统发送会话请求消息, 所述会话请求消息中携带 所述用户标识;
策略决策装置接收计费系统发送的会话请求消息的应答消息;
策略决策装置接收所述计费系统通过已建立的会话发送的通知消息, 根 据所述通知消息中携带的已发生的计费相关事件信息生成业务数据流的控制 策略;
策略决策装置根据控制策略请求向所述网关设备发送所述控制策略。 本发明实施例还提供另外一种策略控制方法, 包括: 计费系统接收策略决策装置发送的会话请求消息, 所述会话请求消息中 携带用户标识;
计费系统根据所述会话请求消息向所述策略决策装置发送会话请求消息 的应答消息;
计费系统获取需要监测的计费相关事件;
所述计费系统在所述计费相关事件发生时, 通过已建立的会话向所述策 略决策装置发送通知消息, 所述通知消息用于表明所述计费相关事件已发生。
本发明实施例还提供一种策略决策装置, 包括:
策略请求接收单元, 用于接收网关设备发送的控制策略请求, 所述控制 策略请求中携带用户标识;
会话建立单元, 用于向计费系统发送会话请求消息, 所述会话请求消息 中携带所述用户标识;
应答消息接收单元, 用于接收计费系统发送的会话请求消息的应答消息; 通知消息接收单元, 用于接收所述计费系统通过已建立的会话发送的通 知消息;
策略生成单元, 用于根据所述通知消息中携带的已发生的计费相关事件 信息生成业务数据流的控制策略;
策略发送单元, 用于根据控制策略请求向所述网关设备发送所述控制策 略。
本发明实施例还提供一种计费系统, 包括:
会话请求接收单元, 用于接收策略决策装置发送的会话建立请求消息, 所述会话建立请求消息中携带用户标识;
应答消息发送单元, 用于根据会话请求消息向所述策略决策装置发送应 答消息;
事件获取单元, 用于获取需要监测的计费相关事件;
事件监测单元, 用于监测所述计费相关事件是否发生;
通知消息发送单元, 用于在所述事件监测单元监测到所述计费相关事件 发生, 则通过已建立的会话向所述策略决策装置发送通知消息, 所述通知消 息用于表明所述计费相关事件已发生。
本发明实施例还提供了一种管理节点设备, 包括: 事件定义单元, 用于根据运营商策略或用户订购信息定义计费相关事件, 同时定义事件类别和计费相关事件对应的计费系统处理规则和策略生成规 则;
事件配置单元, 用于基于所述计费相关事件的类别向策略决策装置和计 费系统分别配置所述计费相关事件。
本发明实施例还提供了一种策略控制系统, 包括如上所述的策略决策装 置、 如上所述的计费系统以及如上所述的管理节点设备。
在本发明实施例中, 策略决策装置接收计费系统通过建立的会话发送的 通知消息, 该通知消息中携带已发生的计费相关事件信息, 策略决策装置进 而结合当前已发生的计费相关事件生成控制策略并下发。 与现有技术相比, 本发明实施例可以实现基于用户的计费相关信息对数据流进行策略控制, 灵 活性较好, 用户的业务体验较好。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对现有技术和实 施例中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅 仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性 劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是现有技术中数据业务的策略机制系统的结构示意图;
图 2是现有技术中提供的一种策略控制方法的流程图;
图 3是本发明实施例一提供的策略控制方法的流程图;
图 4是本发明实施例二提供的策略控制方法的流程图;
图 5是本发明实施例中根据用户当前的计费相关数据进行策略决策的方 法流程图;
图 6是本发明实施例提供的策略控制方法中根据通知消息中携带的时间 信息发送订阅请求的方法流程图;
图 7是本发明实施例三提供的策略控制方法的流程图;
图 8是本发明实施例提供的策略控制方法中向策略决策装置发送用户当 前的计费相关数据的方法流程图;
图 9是本发明实施例四提供的策略控制方法的流程图; 图 10是本发明实施例五提供的策略控制方法的流程图;
图 11是本发明实施例七提供的策略决策装置的结构示意图;
图 12是本发明实施例提供的策略决策装置中订阅请求发送单元的结构示 意图;
图 13是本发明实施例八提供的计费系统的结构示意图;
图 14是本发明实施例提供的计费系统中监测单元的结构示意图; 图 15是本发明实施例九提供的管理节点设备的结构示意图;
图 16是本发明实施例十提供的策略控制系统的结构示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其他实施例 , 都属于本发明保护的范围。
本发明提供了一种策略控制方法和系统以及相关装置。 为了更好的理解 本发明的技术方案, 下面结合附图对本发明提供的实施例进行详细地描述。
参见图 3 , 图 3是本发明实施例一提供的策略控制方法的流程图。 本发明 实施例提供的策略控制方法可以包括:
Bl、 策略决策装置接收网关设备发送的控制策略请求, 控制策略请求中 携带用户标识。
具体的, 网关设备在接收到用户设备的承载建立请求后, 向策略决策装 置发送控制策略请求, 用于请求业务数据流控制策略。 其中业务数据流控制 策略请求中携带用户标识。
B2、 策略决策装置向计费系统发送会话请求消息, 该会话请求消息中携 带用户标识。
具体的, 策略决策装置在接收到控制策略请求后, 确定需要和计费系统 建立会话, 则向计费系统发送会话请求消息, 该会话请求消息中携带用户标 识。 其中, 会话请求消息中还可以携带会话标识, 该会话标识用于标识计费 系统和策略决策装置之间的会话, 后续所有该会话中的消息可能均携带该会 话标识。 本发明中的计费系统主要是在线计费系统或其他具有实时用户计费 相关数据的系统。
在本发明实施例中, 策略决策装置根据用户的订购数据、 用户属性、 业 务属性和 /或运营商策略等判定是否需要和计费系统建立会话, 如该用户是否 在线计费用户, 该业务是否在线计费业务等, 若需要和计费系统建立会话, 进一步判定该策略决策装置和计费系统间是否已经为该用户建立了会话, 若 已经建立了会话, 则重用该会话即可, 若没有和计费系统建立会话, 则确定 需要建立该策略决策装置和计费系统间的会话。
计费系统接收到该会话请求消息后, 返回对应的会话请求消息的应答消 息, 该应答消息中携带上述会话标识。
B3、 策略决策装置接收计费系统发送的会话请求消息的应答消息。
具体的, 策略决策装置接收计费系统发送的会话请求消息的应答消息, 该应答消息表示策略决策装置和计费系统之间的应用会话建立成功, 该应答 消息中携带上述用户标识。
此外, 计费系统获取该用户标识对应的需要监测是否发生的计费相关事 件, 计费相关事件例如可以为: 用户的账户余额低于预定金额。 计费系统在 该计费相关事件发生时, 向策略控制模块发送通知消息。 本发明实施例中的 计费相关事件发生可以理解为计费系统的某一变量满足某一预置条件, 或接 收到某一消息等, 后续实施例中提到的计费相关事件的理解可以参照此处的 描述。
B4、 策略决策装置接收计费系统通过已建立的会话发送的通知消息, 根 据通知消息中携带的已发生的计费相关事件信息生成业务数据流的控制策 略。
具体的, 策略决策装置接收计费系统通过已建立的会话发送的通知消息, 该通知消息中携带已发生的计费相关事件信息, 该计费相关事件可以是策略 决策装置向计费系统订阅的第一类计费相关事件, 也可以是计费系统自动确 定的需要监测的第二类计费相关事件。 策略决策装置根据已发生的计费相关 事件信息生成业务数据流的控制策略。 其中, 策略决策装置可以根据计费相 关事件信息和预置的策略生成规则来生成业务数据流的控制策略。
在本发明实施例中, 策略生成规则可以根据运营商策略或用户订购信息 来设置, 并且可以预先存储在策略决策装置中。 其中, 策略生成规则可以由 本发明实施例新增的管理节点设备发送给策略决策装置。 策略生成规则例如 可以为: 用户的余额低于预定金额时, 降低用户的当前的服务质量或带宽等。 其中, 不同的事件发生可以对应不同的处理规则, 策略生成规则还可以根据 网络状况和 /或资费标准等进行调整。
B5、 策略决策装置根据控制策略请求向网关设备发送控制策略。
具体的, 本发明实施例中策略决策装置可以根据控制策略请求向网关设 备发送生成的控制策略。 网关设备执行该控制策略对用户的数据业务进行控 制。
在本发明实施例中, 策略决策装置接收计费系统通过建立的会话发送的 通知消息, 该通知消息中携带已发生的计费相关事件信息, 策略决策装置根 据当前已发生的计费相关事件生成控制策略并下发。 与现有技术相比, 本发 明实施例可以实现基于用户的计费相关信息对数据流进行策略控制, 计费相 关事件的配置、 监测和触发机制灵活, 使得运营商可以根据事件的特性和运 营策略进行灵活的配置, 以小的成本实现业务数据流的精细化控制, 灵活性 较好, 用户的业务体验较好。
参见图 4, 本发明实施例二提供的策略控制方法的流程图。
在本发明实施例二提供的策略控制方法可以包括:
Cl、 策略决策装置接收网关设备发送的控制策略请求, 控制策略请求中 携带用户标识。
C2、 策略决策装置向计费系统发送会话请求消息, 会话请求消息中携带 用户标识。
C3、 策略决策装置接收计费系统发送的会话请求消息的应答消息。
其中,上述步骤 C1-C3的执行过程和上述第一实施例中步骤 B1-B3相同, 在此不再重复描述。
C4、 策略决策装置获取需要向计费系统订阅的第一类计费相关事件。 具体的, 策略决策装置可以根据用户订购信息、 运营商策略等确定需要 向计费系统订阅的计费相关事件。 其中, 策略决策装置可以根据业务数据流 信息、 业务信息、 费率组信息和 /或用户信息等信息在预置的计费相关事件组 成的集合中查找对应的第一类计费相关事件, 即: 订阅类事件, 若查找到, 则确定需要向计费系统订阅该第一类计费相关事件。 其中, 上述计费相关事 件可以预先发送给策略决策装置或在策略决策装置中预先配置, 计费相关事 件的来源不应构成对本发明实施例的限制。 具体的, 根据业务信息查找第一类计费相关事件时, 需要先识别业务, 具体包括: 策略决策装置可以接收网关设备上报的业务数据流信息, 根据该 业务数据流信息基于一定的匹配规则识别业务。 策略决策装置还可以接收 AF 发送的业务信息, 绑定该业务信息与业务数据流, 完成绑定即识别了业务。 策略决策装置还可以接收 DPI ( Deep packet inspection, 深度包检测)模块发 送的业务识别结果。 需要指出的是, 策略决策装置还可以通过其它的方式来 确定识别业务。
策略决策装置确定需要订阅的计费相关事件后, 还可以判断该计费相关 事件的前置条件是否满足, 若满足, 则通过该会话向计费系统发送订阅请求。 其中, 策略决策装置在发送订阅请求之前还可以判断该用户的其他当前使用 业务是否已经在该会话中订阅了该事件, 若已经订阅, 则共享该订阅即可, 无需重复订阅。 当然, 计费系统也可以在接收到策略决策装置的订阅事件请 求后, 过滤重复订阅请求。
C5、策略决策装置向计费系统发送订阅第一类计费相关事件的订阅请求, 以便于计费系统在第一类计费相关事件发生时, 向策略决策装置发送通知消 息。
具体的, 策略决策装置在会话请求消息或通过已建立的会话向计费系统 发送订阅第一类计费相关事件的订阅请求, 该订阅请求中携带第一类计费相 关事件。 其中, 策略决策装置可以在会话建立的同时或会话建立之后向计费 系统发送订阅请求。
计费系统在接收到订阅请求后, 监测该订阅请求中的携带的第一类计费 相关事件是否发生, 并在事件发生时, 向策略决策装置发送通知消息, 该通 知消息携带所发生的第一类计费相关事件。
C6、 策略决策装置接收计费系统通过已建立的会话发送的通知消息, 根 据通知消息中携带的已发生的计费相关事件信息生成控制策略。
具体的, 策略决策装置接收到计费系统通过会话发送的已发生的第一类 计费相关事件信息后, 更新该第一类计费相关事件的订阅状态, 并基于该已 发生的第一类计费相关事件, 综合其他输入条件生成业务数据流控制策略。
C7、 策略决策装置根据控制策略请求向网关设备发送控制策略。
其中, 步骤 C6和 C7的执行过程可以参考上述第一实施例中步骤 B4和 B5, 在此不再重复描述。 在本发明实施例二提供的策略控制方法实施例中, 策略决策装置获取与 业务信息对应的第一类计费相关事件, 并且向计费系统发送订阅第一类计费 相关事件的订阅请求, 以使得计费系统在第一类计费相关事件发生时, 向策 略决策装置发送通知消息。 与现有技术相比, 本发明实施例可以在和用户的 业务信息的计费相关事件发生时, 根据该计费相关事情进行策略控制, 使得 用户在进行不同的业务时, 监控不同的计费相关事件, 进而使得策略控制的 灵活性更好。
参见图 5,本发明实施例中根据用户当前的计费相关数据进行策略决策的 方法流程图。
在本发明实施例一或实施例二提供的策略控制方法中, 为了能够基于用 户计费数据为某一业务数据流生成初始控制策略。 策略决策装置还可以执行 以下步骤:
D1、 策略决策装置向计费系统发送用户计费数据获取请求。
具体的, 策略决策装置可以在会话请求消息中携带用户计费数据获取请 求, 请求用户计费相关数据。 另外, 策略决策装置还可以在会话建立完成后, 通过该建立的会话向计费系统发送用户计费数据获取请求以获取用户当前的 计费相关数据, 然后执行步骤 D2。
D2、 策略决策装置接收计费系统返回的用户当前的计费相关数据。
具体的, 策略决策装置接收计费系统根据携带在会话请求中的用户计费 数据获取请求或者在会话中发送的用户计费数据获取请求返回的用户当前的 计费相关数据。 用户当前的计费相关数据可以为: 用户当前的账户余额、 用 户一定时期内的流量累积、 用户一定时期内的消费信息、 用户级别和用户套 餐等信息中的一个或多个。
D3、 策略决策装置根据用户当前的计费相关数据生成业务数据流的控制 策略。
具体的, 策略决策装置可以根据用户当前的计费相关数据生成业务数据 流的控制策略, 具体控制策略生成方法可以是策略决策装置根据内置的策略 生成规则综合用户当前的计费相关数据以及其他的输入条件生成业务数据流 控制策略。 例如, 用户当前的计费数据中的话费余额为 10元, 则策略决策装 置在策略生成规则中匹配该条件, 并综合其他条件为该用户的业务数据流决 策出一个对应的 QoS。 D4、 策略决策装置将生成的控制策略发送给网关设备。
本发明实施例中策略决策装置向网关设备发送生成的控制策略。 网关设 备执行该接收到的控制策略对用户的数据业务进行控制。
本发明实施例通过获取用户当前的计费相关数据, 进而根据用户当前的 计费相关数据来生成控制策略, 从而实现基于用户当前帐户或消费状态对用 户的数据业务进行控制。 与现有技术相比, 本发明实施例可以适应更多的应 用场景, 应用范围更广。
进一步的, 本发明实施例中的策略决策装置在接收到用户当前的计费相 关数据后, 可以緩存接收到的计费相关数据, 进而在接收到计费系统发送的 通知消息后, 根据通知消息中携带的事件信息更新该緩存的计费相关数据。 本发明实施例可以通过緩存接收到的计费相关数据, 减少策略决策装置与计 费系统间的交互次数, 进而减小计费系统处理压力, 能较大提升在线计费系 统的实时处理性能。
参见图 6,本发明实施例提供的策略控制方法中根据通知消息中携带的事 件信息发送订阅请求的方法流程图。
本发明实施例一或实施例二提供的策略控制方法中, 在接收到计费系统 发送的通知消息之后, 还可以根据通知消息中携带的事件信息向计费系统发 送订阅请求, 该过程主要包括:
El、 策略决策装置根据通知消息中携带的事件信息在预置的计费相关事 件组成的集合中查找以已发生的计费相关事件为前置条件的第三类计费相关 事件。
具体的, 策略决策装置根据通知消息中携带的事件信息在预置的计费相 关事件组成的集合中查找以已发生的计费相关事件为前置条件的计费相关事 件。 在本发明实施例中, 查找到的计费相关事件称为第三类计费相关事件。
E2、 策略决策装置通过已建立的会话向计费系统发送订阅第三类计费相 关事件的订阅请求, 以便于计费系统在第三类计费相关事件发生时, 向策略 决策装置发送通知消息。
具体的, 策略决策装置通过上述已建立的会话向计费系统发送订阅第三 类计费相关事件的订阅请求, 该订阅请求中携带第三类计费相关事件。 计费系统在接收到订阅请求后, 监测第三类计费相关事件是否发生, 并 在事件发生时, 向策略决策装置发送通知消息。 策略决策装置在接收到通知 消息后, 根据该通知消息中的事件信息进行策略决策。
需要说明的是, 策略决策装置接收到携带第三类计费相关事件的通知消 息后依然可以根据通知消息中携带的事件信息在预置的计费相关事件组成的 集合中查找以该计费相关事件为前置条件的计费相关事件并进行订阅, 即重 新执行步骤 E1~E2。
本发明实施例中, 根据通知消息中携带的事件信息向计费系统发送订阅 请求, 可以适应更多的应用场景, 使用范围较广。 此外, 本发明实施例通过 为事件配置事件类前置条件, 实现了基于特殊前置条件的一类事件进行业务 数据流控制的策略决策, 通过该方法, 可以解决用户在使用数据业务时, 跨 越不同事件域的灵活准确的策略控制, 使得运营商可以进行精准和灵活的业 务数据流精细化控制。
在本发明实施例中, 策略决策装置接收计费系统通过上述会话发送的通 知消息可以携带已发生的第一类计费相关事件和 /或第二类计费相关事件。 策 略决策装置在接收到计费系统发送的已发生的计费相关事件后, 首先在其所 订阅的第一类计费相关事件中查找, 若查找到, 则说明是第一类计费相关事 件, 更新第一类计费相关事件的订阅状态, 并生成业务数据流控制策略; 若 查找失败, 则在预置的第二类计费相关事件中继续查找, 并在查找成功后, 根据已发生的第二类计费相关事件生成业务数据流控制策略。 通过策略决策 装置支持对第二类计费相关事件的处理能力, 使得策略决策装置无需订阅事 件和维护事件的订阅状态, 可以大幅降低策略决策装置处理订阅和管理订阅 的花费, 降低策略决策装置和计费系统的压力, 同时实现了基于计费系统丰 富信息的业务数据流精细化控制。
以上从策略决策装置一侧来描述本发明实施例提供的策略控制方法, 下 面从计费系统一侧来描述本发明实施例提供的策略控制方法。
参见图 7, 本发明实施例三提供的策略控制方法的流程图。
在本发明实施例三提供的策略控制方法主要包括:
Fl、 计费系统接收策略决策装置发送的会话请求消息, 会话请求消息中 携带用户标识。 本发明实施例中的计费系统接收策略决策装置发送的会话请求消息, 该 会话请求消息中携带用户标识, 该会话请求消息中还可以携带会话标识。
F2、 计费系统根据会话建立请求向策略决策装置发送该会话请求消息的 应答消息。
其中, 应答消息表明策略决策装置和计费系统之间的会话建立成功, 应 答消息中可以携带会话标识。
F3、 计费系统获取需要监测的计费相关事件。
本发明中的监测指的是计费系统能够获知订阅类或非订阅类计费相关事 件的出现, 并能够根据策略决策装置的订阅行为或管理节点的配置在事件发 生后触发向策略决策装置上报所出现的计费相关事件的行为。 需要指出的是, 该监测并不限定在计费系统中获知事件的出现和触发上报动作的具体实现方 法。
具体的, 计费系统可以通过如下方式获取需要监测的计费相关事件:
1 )计费系统接收策略决策装置在会话请求消息或后续在会话中发送的订 阅请求, 该订阅请求中携带策略决策装置需要订阅的计费相关事件。
其中, 策略决策装置在确定需要向计费系统订阅的第一类计费相关事件 后, 在会话请求消息或后续在会话中向计费系统发送订阅第一类计费相关事 件的订阅请求, 计费系统接收该订阅请求。 订阅请求中携带策略决策装置需 要订阅的计费相关事件
2 )计费系统在预置的计费相关事件组成的集合中查找与用户标识对应的 计费相关事件。
其中, 计费系统可以根据策略决策装置发送的会话请求消息自动在计费 系统预置的计费相关事件组成的集合中查找与用户标识对应的第二类计费相 关事件, 即: 非订阅类事件。 其中, 上述计费相关事件可以预先配置在计费 系统, 计费相关事件的来源不应构成对本发明实施例的限制。
管理节点同时还可以配置该事件的前置条件, 则在查找到第二类计费相 关事件后, 还可以判定当前的用户计费相关数据是否满足该前置条件, 若满 足则确定需要向策略决策装置发送的该计费相关事件。
在本发明实施例中, 与用户标识对应的计费相关事件例如可以为: 该用 户的帐户余额低于某个限额, 该用户的日流量累积达到某个限额等。
需要说明的是, F2和 F3步骤没有严格的先后关系, F3可以在 F2之前执 行。
F4、 计费系统监测计费相关事件是否发生, 并在所监测的计费相关事件 发生时通过已建立的会话向策略决策装置发送通知消息, 通知消息用于表明 计费相关事件已发生。
具体的, 计费系统监测计费相关事件是否发生, 并在所监测的计费相关 事件发生时, 通过步骤 F2中已建立的会话向策略决策装置发送通知消息, 该 通知消息用于表明计费相关事件已发生, 通知消息中可以携带已发生的某一 个或多个计费相关事件。
策略决策装置接收计费系统通过该会话发送的通知消息, 并根据通知消 息中的事件信息进行策略决策, 策略决策装置进行策略决策的详细过程参见 上述方法第一实施例和第二实施例, 在此不再重复描述。
在本发明实施例三提供的策略控制方法中, 计费系统在监测到计费相关 事件发生时, 通过建立的会话向策略决策装置发送通知消息, 以便于策略决 策装置结合当前已发生的计费相关事件生成控制策略并下发。 与现有技术相 比, 本发明实施例可以实现基于用户的计费相关信息对数据流进行策略控制 , 计费相关事件的配置、 监测和触发机制灵活, 使得运营商可以根据事件的特 性和运营策略进行灵活的配置, 以小的成本实现业务数据流的精细化控制, 灵活性较好。
参见图 8,本发明实施例提供的策略控制方法中向策略决策装置发送用户 当前的计费相关数据的方法流程图。
在本发明实施例三提供的策略控制方法中, 计费系统向策略决策装置发 送用户当前的计费相关数据的过程可以包括:
G1、 计费系统接收策略决策装置发送的用户计费数据获取请求。
具体的, 计费系统接收到的会话请求消息中还可以携带用户计费数据获 取请求, 该请求用于获取用户当前的计费相关数据, 或者计费系统接收到策 略决策装置在会话中发送的用户计费数据获取请求以获取用户当前的计费相 关数据。 计费系统在接收到策略决策装置发送的用户计费数据获取请求后, 将执行步骤 G2。
G2、计费系统根据用户计费数据获取请求获取用户当前的计费相关数据。 其中, 计费系统中存储有该用户当前的计费相关数据。 用户当前的计费 相关数据例如可以为: 用户当前的账户余额、 用户当前的各种流量累积、 或 用户当前的各种消费累积等。
G3、 计费系统向策略决策装置发送用户当前的计费相关数据。
具体的, 若该用户计费数据获取请求包含在会话请求消息中, 则计费系 统在该会话请求消息的应答消息中向策略决策装置发送用户当前的计费相关 数据, 若该用户计费数据获取请求是在会话中发送的, 则计费系统在该用户 数据获取请求的应答消息中发送用户当前的计费相关数据。
策略决策装置在接收到用户当前的计费相关数据后, 根据用户当前的计 费相关数据生成控制策略并将生成的控制策略发送给网关设备。 网关设备根 据接收到的控制策略对用户的数据业务进行控制。 策略决策装置根据预置的 策略生成规则、 用户当前的计费相关数据以及其他的输入条件生成控制策略。
本发明实施例通过会话初或会话中获取用户当前的计费相关数据, 并向 策略决策装置发送用户当前的计费相关数据, 使得策略决策装置根据用户当 前的计费相关数据来生成控制策略, 弥补了计费系统发送的通知消息仅仅反 映业务使用过程中的用户计费相关数据的变化, 而不能反映业务开始时用户 计费相关数据的历史状态的缺陷, 使得策略决策装置可以基于业务全过程中 完整的用户计费相关数据实时情况进行准确的业务数据流控制。
参见图 9, 本发明实施例四提供的策略控制方法的流程图。
本发明实施例四提供的策略控制方法具体可以包括:
Hl、 计费系统接收策略决策装置发送的会话请求消息, 该会话请求消息 中携带用户标识。
H2、 计费系统根据会话请求消息向策略决策装置发送会话请求消息的应 答消息。
H3、 计费系统获取需要监测的计费相关事件。
H4、 计费系统在计费相关事件发生时, 通过已建立的会话向策略决策装 置发送通知消息, 通知消息用于表明计费相关事件已发生。
其中, 步骤 H1-H4的执行过程和上述第三实施例中步骤 F1-F4相同, 在 此不再重复描述。
H5、 计费系统在计费相关事件发生时, 在预置的计费相关事件组成的集 合中查找以该已发生的计费相关事件为前置条件的第四类计费相关事件。 具体的, 计费系统在计费相关事件发生时, 在预置的计费相关事件组成 的集合中查找以已发生的计费相关事件为前置条件的计费相关事件。 在本发 明实施例中, 查找到的计费相关事件称为第四类计费相关事件。
需要指出的是, 步骤 H4和步骤 H5之间是时序无关的。
H6、 计费系统监测第四类计费相关事件, 在第四类计费相关事件发生时, 通过已建立的会话向策略决策装置发送通知消息。
其中, 通知消息中携带已发生的事件信息, 策略决策装置根据该通知消 息中的事件信息进行策略决策。 策略决策装置进行策略决策的详细过程参见 上述方法第一实施例和第二实施例, 在此不再重复描述。
需要说明的是, 在第四类计费相关事件发生时, 计费系统依然可以在预 置的计费相关事件组成的集合中查找以该计费相关事件为前置条件的计费相 关事件并进行订阅, 即重新执行步骤 H5~H6。
在本发明实施例四提供的策略控制方法通过为事件配置事件类前置条 件, 实现了基于特殊前置条件的一类事件进行业务数据流控制的策略决策, 通过该方法, 可以解决用户在使用数据业务时, 跨越不同事件域的灵活准确 的策略控制, 使得运营商可以进行精准和灵活的业务数据流精细化控制。
为更详细的理解本发明实施例提供的策略控制方法, 下面再给出本发明 实施例的具体应用场景。
在本应用场景中交互的设备包括: 策略决策装置、 计费系统、 网关设备 和管理节点设备。 本应用场景中的计费系统为在线计费系统或其他具有实时 用户计费相关数据的装置。
其中, 新增的管理节点设备根据运营商策略或用户订购信息等定义计费 相关事件、 事件的前置条件、 事件对应的计费系统的处理规则和事件对应的 策略决策装置的策略生成规则等, 并对应的将计费相关事件及相关规则发送 到策略决策装置和计费系统, 以便于计费系统和策略决策装置在计费相关事 件后进行相应的处理。 网关设备可以为通用分组无线服务(General Packet
Radio Service, GPRS ) 网络的网关 GPRS支持节点 ( Gateway GPRS Support
Node, GGSN )、 EPC ( Evolved Packet Core, 演进的核心网) 网络的分组数据 网关 ( Packed Data Network Gateway, PDN-GW ), 或者其它内置策略和计费 执行功能 ( Policy and Charging Execution Function, PCEF )的模块, 网关设备 可以执行策略决策装置发送的控制策略, 进行数据业务的控制。 参见图 10, 本发明实施例五提供的策略控制方法的流程图。
本发明实施例五提供的策略控制方法主要包括:
Sl、 管理节点根据运营商定义和 /或用户订购信息等定义计费相关事件和 相应的处理规则。
具体的, 管理节点接收运营商的配置信息、 用户的订购信息等, 定义用 于用户业务数据流控制的控制策略的事件。 计费相关事件可以为具体指明的 一个累积规则的具体事件, 例如数据业务的消费达到 200元等。 计费相关事 件也可以为不具体的指明一个累积规则的泛化事件, 则具体的累积规则需要 由事件综合其他参数指明, 这个其他参数可以是累积规则标识或累计额等。 例如事件为余额变化, 其他参数可以是余额当前值为 8元。
在本发明实施例中, 在定义事件时还可以定义事件的前置条件, 本发明 中的前置条件指该事件的发生前提, 该前置条件可以是非事件类前置条件, 如:对于指示某一用户数据业务累积达到 100M的事件,其前置条件是激活该 事件时该用户的数据业务累积必须小于 100M; 该前置条件也可以是事件类前 置条件, 即: 另一事件的出现是该事件出现的前提, 如: 对于 "余额高于预 定最低阔值" 事件, 其前置条件可以是另外一个事件 "余额低于预定最低阔 值" 的出现。
所定义的事件可以涵盖如下内容:
1 )指示各种粒度的累积达到预定阔值的事件: 累积单位包括流量、 时 长、 消费额、 消息个数等的累积。 累积的周期包括日、 周、 月等。 累 积项可以是语音业务、 数据业务、 消息业务等业务分类; 也可以是基 于费率组的累积, 费率组是费率相同的一组业务组成的集合; 也可以 是单次业务使用的累积(用费率组和 /或业务标识识别业务)。 该类事件 的前置条件: 当前累积低于预定阔值, 或者 "累积清零" 事件出现;
2 )指示计费功能模块的累积清零的事件: 指当累积达到预定阔值后, 由于运营商定义的累积项的预置清零条件后累积数据清零, 如: 累积 策略为按天周期性累积, 则超过零点后前一天累积数据清零。 该事件 的前置条件: 当前累积达到或高于预定阔值, 或者 "累积达到预定阔 值" 事件出现;
3 )指示账户余额低于预定阔值的事件: 指用户的某个账户、 或所有账 户的余额低于某个阔值。 前置条件: 当前余额高于预定阔值, 或者 "余 额高于预定阔值" 事件出现;
4 )指示账户余额高于预定阔值的事件: 指用户的某个账户、 或所有账 户的余额高于某个阔值, 包括当用户账户余额低于预定阔值后, 由于 充值或运营商赠送等使得用户的账户余额又高于预定阔值。 前置条件: 当前余额低于预定阔值, 或者 "余额低于预定阔值" 事件出现;
5 )指示赠送流量使用的事件: 指计费功能模块开始授权用户使用运营 商赠送的流量, 而非用户自付费流量, 可能需要为赠送流量开始使用 和结束使用分别定义事件;
6 )其他计费系统上的事件, 如: 一定时期内的充值次数、 充值金额等。 在本发明实施例中, 将上述定义的计费相关事件进行分类, 分类如下: 非订阅类事件: 对所有网关上的数据业务流的 QoS、 带宽等控制会产 生影响的事件, 或者运营商认为无需策略决策装置订阅的事件。 非订 阅类事件无需和特定数据业务相关, 所以无需确认当前正在使用哪些 业务, 该类事件可以通过配置生效, 即: 配置该类事件到计费系统, 由计费系统根据策略决策装置和计费系统间的会话情况确定是否需要 上报, 而无需策略决策装置去订阅。 上述实施例中的第二类计费相关 事件和第四类计费相关事件均为该非订阅类事件;
订阅类事件: 仅对网关上的某些业务数据流会产生影响的事件, 由于 该类事件仅与某些业务相关, 所以首先要能够确定当前所使用的业务。 策略决策装置可以获知当前所使用的业务, 但计费系统无法获知, 所 以该类事件需要订阅生效, 即: 策略决策装置在业务使用时或使用过 程中向计费系统订阅业务相关的该类业务。 上述实施例中的第一类计 费相关事件和第三类计费相关事件均为该订阅类事件;
需要指出的是, 具体某个事件属于非订阅类事件还是订阅类事件, 根据 运营商的运营策略, 以及运营商对事件的定位确定。
进一步的, 在分类定义事件的同时, 定义事件所对应的计费系统的处理 规则和策略决策装置的策略生成规则可以如下:
计费系统的处理规则指的是: 计费系统关联该事件到一个累积项, 或者 一个余额变化监控项上, 若为非订阅类事件, 还需要指定计费系统在累积项 或余额变化达到阔值后, 自动基于一定条件上报该事件, 不管策略决策装置 是否订阅了该事件; 策略决策装置的策略生成规则指的是: 策略决策装置关联该事件到一个 或多个业务数据流, 并定义该事件和其他输入的组合作为条件时的 QoS、 带 宽等策略。
52、 管理节点将定义的计费相关事件和相应的处理规则发送到计费系统 和策略决策装置。
在本发明实施例中, 管理节点设备在定义了上述计费相关事件和对应的 处理规则后, 可以预先将上述计费相关事件和对应的处理规则发送到策略决 策装置和计费系统。 管理节点设备可以基于事件分类在策略决策装置和计费 系统进行配置, 配置对象可以是单个用户、 套餐用户、 或者某个级别用户, 配置信息包括: 向策略决策装置配置业务标识、 费率组、 事件、 事件的前置 条件、 策略生成规则等中的一个或多个; 管理节点设备向计费系统配置事件、 事件的前置条件、 累积规则、 事件类别等中的一个或多个, 计费系统对不同 类别的事件进行不同的处理, 其中累计规则可以包括累积项、 累积方式、 累 积周期等, 事件类别可以包括订阅类和非订阅类。
53、 策略决策装置接收到网关设备发送的控制策略请求。
其中, 控制策略请求用于请求控制策略, 其中携带用户标识。
54、 策略决策装置判断是否需要和计费系统建立会话。
具体的, 策略决策装置根据用户的订购数据、 用户属性、 业务属性、 运 营商策略等判定是否需要和计费系统建立会话, 若需要, 进一步判定该策略 决策装置和计费系统间是否已经为该用户建立了会话, 若已经建立了会话, 则重用该会话, 然后执行步骤 S7。 若没有建立会话, 则确定需要建立该策略 决策装置和和计费系统间的会话, 执行步骤 S5。
55、 策略决策装置向计费系统发起会话请求消息, 该请求消息中携带用 户标识和计费数据获取请求。
其中, 请求消息中携带用户标识用于计费系统将会话绑定到某一具体用 户。 请求消息还可以包括获取计费系统上用户当前的计费相关数据的获取请 求, 以获取会话建立时计费系统上当前的用户计费相关数据, 以作为策略决 策装置上最初业务流控制策略生成的输入参数。 对于同一用户策略决策装置 和计费系统之间只有一个交互会话, 所以该用户的多个业务共享该会话。
56、 计费系统返回应答消息, 该应答消息中携带用户当前的计费相关数 据。 具体的, 计费系统向策略决策装置发送应答消息, 表明会话建立成功。 同时, 若会话请求消息中携带了用户当前的计费相关数据的获取请求, 则在 该应答消息发送用户当前的计费相关数据给策略决策装置。
57、 策略决策装置获取订阅类事件。
具体的, 策略决策装置可以根据用户订购信息、 运营商策略等确定需要 向计费系统订阅的计费相关事件。 其中, 策略决策装置可以根据业务数据流 信息、 业务信息、 费率组信息和 /或用户信息等在预置的计费相关事件组成的 集合中查找对应的计费相关事件, 若查找到, 则确定需要向计费系统订阅该 计费相关事件, 即订阅类事件。 其中, 上述计费相关事件可以预先发送给策 略决策装置或在策略决策装置中预先配置, 计费相关事件的来源不应构成对 本发明实施例的限制。
58、 策略决策装置向计费系统发送订阅请求。
具体的, 策略决策装置确定需要订阅的计费相关事件后, 判断该计费相 关事件的前置条件是否满足, 若是, 则通过该会话向计费系统发送订阅请求。 其中, 策略决策装置在发送订阅请求之前还可以判断该用户的其他当前使用 业务是否已经在该会话中订阅了该事件, 若已经订阅, 则共享该订阅即可, 无需重复订阅。 当然, 计费系统也可以在接收到策略决策装置的订阅事件请 求后, 过滤重复订阅请求。
59、 计费系统接收订阅请求, 激活订阅事件的上报机制。
具体的, 计费系统接收到策略决策装置的订阅请求后, 激活该订阅请求 所订阅的计费相关事件的上报机制, 即监测该订阅事件, 并在该订阅事件发 生时向策略决策装置发送通知消息, 转到步骤 Sll。
510、 计费系统查找该用户对应的非订阅事件并激活上 机制。
具体的, 在完成策略决策装置与计费系统的交互会话后, 计费系统根据 管理节点配置在计费相关事件组成的集合中自动查找适合该用户标识的非订 阅类事件, 并在确认该非订阅类事件的前置条件满足时, 激活该非订阅类事 件的上报机制。
需要指出的是, 上述步骤 S6和 S9没有严格的执行先后顺序, 该编号上 的先后顺序和时序上的先后顺序无关。
511、 策略决策装置订阅的订阅类事件或非订阅事件发生, 计费系统向策 略决策装置发送通知消息。 具体的, 计费系统在监测到策略决策装置订阅的订阅类事件或非订阅事 件发生时, 向策略决策装置发送通知消息, 其中携带所发生的事件信息, 用 于表明该事件已发生。
事件发生后, 计费系统还可以查找以该事件为前置条件的非订阅事件并 激活。 具体的, 计费系统在某一事件出现后, 自动查找适合该用户的以该事 件的发生为前置条件的非订阅类事件, 并自动激活该非订阅类事件, 计费系 统对该激活的非订阅类事件的处理流程和其他事件的处理流程类似, 即: 计 费系统激活该事件的上报设置后, 在事件发生后, 立即向策略决策装置上报 该事件, 即发送通知消息。
512、 策略决策装置接收通知消息, 生成控制策略。
具体的, 策略决策装置在接收到的计费系统发送的通知消息后, 根据通 知消息中的事件信息和管理节点预先配置的策略生成规则生成控制策略。
另外, 策略决策装置还可以在接收到通知消息后, 查找以已发生的计费 相关事件为前置条件的订阅类事件并向计费系统订阅。
513、 策略决策装置发送控制策略到网关设备。
具体的, 策略决策装置发送生成的控制策略到网关设备, 网关设备执行 该控制策略, 实现对用户的业务数据流的控制。
在本发明实施例四提供的策略控制方法中, 还可以包括取消订阅的步骤, 具体取消订阅有三种方法, 分述如下:
1 )策略决策装置向计费系统发送取消订阅命令。 该取消订阅命令携带要 取消订阅的一个或多个或所有事件; 或者该取消订阅命令是订阅一个特殊事 件, 该特殊事件指示取消订阅所有事件, 如: 取消订阅所有事件
( UNSUBSCRIBE-ALL-EVENTS ) 事件。
2 )若用户的所有业务结束, 则策略决策装置请求中断策略决策装置与计 费系统间的交互会话, 则计费系统在关闭该交互会话后自动无效该策略决策 装置的所有订阅类事件, 同时无效所有计费系统自动激活上 ^艮设置的非订阅 类事件;
3 )在业务使用过程中, 若计费相关事件发生, 则计费系统在成功向策略 决策装置上报了该事件后, 可以自动无效该事件的上报设置。
在本发明实施例五提供的策略控制方法中, 通过管理节点基于事件分类 向策略决策模块和计费系统配置事件、 事件的前置条件、 处理规则等, 基于 管理节点的配置可以区分非订阅类和订阅类事件, 对于非订阅类事件, 计费 系统可以在策略决策模块与计费系统交互会话建立时自动激活非订阅类事件 的上报设置, 无需策略决策模块订阅, 由于非订阅类事件出现几率低, 且在 所有计费系统能够上报给策略决策装置的事件中的占比高, 取消订阅可以大 幅降低策略决策装置和计费系统处理订阅和管理订阅的花费, 降低策略决策 装置和计费系统的压力, 同时实现了基于计费系统丰富信息的业务数据流精 细化控制。
本发明实施例六提供了一种策略控制方法, 进一步对本发明其他实施例 的订阅方法进行详细描述。
计费系统在接收到策略决策装置的订阅请求后, 根据管理节点的配置和 自身能力, 判断是否支持该请求中的某一计费相关事件或者是否能够识别该 计费相关事件或者该计费相关事件的前置条件是否满足, 如果不支持或者无 法识别该计费相关事件或者该计费相关事件的前置条件不满足, 则拒绝对该 计费相关事件的订阅, 可选的, 针对该事件返回订阅失败信息给策略决策装 置, 该失败不影响对该请求中其他的计费相关事件的订阅处理, 也就是说, 计费系统会对其他计费相关事件进行相同的判断, 并不会因为该订阅失败而 拒绝对其他计费相关事件的订阅, 需要说明的是, 如果该请求中有多个订阅 失败的计费相关事件, 且需要返回失败信息给策略决策装置, 则计费系统会 将对应的订阅失败信息合并在同一个应答消息中返回给策略决策装置;
或者, 计费系统在判断出如果策略决策装置发送的订阅请求中只要有一 个计费相关事件不支持或不能识别或其前置条件不满足, 则拒绝该订阅请求 消息, 即拒绝该订阅请求消息中的所有事件的订阅, 并返回该请求消息的应 答消息, 指示该所有事件均订阅失败。
策略决策装置在已建立的会话中更新已订阅的事件时, 如 E2步骤, 具体 的可以通过如下方式实现:
方法一、 策略决策装置发送更新订阅消息给计费系统, 该消息中仅携带 需要新增订阅的计费相关事件及订阅请求或者需要取消订阅的计费相关事件 及取消订阅请求, 并不携带不受影响的计费相关事件, 计费系统接收到该更 新订阅消息后, 基于该策略决策装置之前订阅的事件组和该更新消息, 增加 新的计费相关事件的订阅, 并取消订阅该消息请求取消订阅的计费相关事件; 方法二、 策略决策装置发送更新订阅消息给计费系统, 该消息中必须携 带所有的计费相关事件及订阅请求, 即: 包括新增订阅的计费相关事件和已 经订阅的但仍然需要订阅的计费相关事件, 也就是需要发送当前需要订阅的 所有计费相关事件, 计费系统接收到该更新订阅消息后, 取消该策略决策装 置之前订阅的所有事件, 并对该更新订阅消息中的所有计费相关事件执行订 阅操作。
以上对本发明实施例提供的策略控制方法进行了详细描述, 下面再给出 和本发明方法实施例对应的装置。
参见图 11 , 本发明实施例七提供的策略决策装置的结构示意图。
本发明实施例六提供的策略决策装置包括:
策略请求接收单元 110 , 用于接收网关设备发送的控制策略请求, 控制策 略请求中携带用户标识;
会话建立单元 120, 用于向计费系统发送会话请求消息, 会话请求消息中 携带用户标识;
应答消息接收单元 130,用于接收计费系统发送的会话请求消息的应答消 息;
通知消息接收单元 140,用于接收计费系统通过已建立的会话发送的通知 消息;
策略生成单元 150 ,用于根据通知消息中携带的已发生的计费相关事件信 息生成业务数据流的控制策略;
策略发送单元 160, 用于根据控制策略请求向网关设备发送控制策略。 本发明实施例六提供的策略决策装置可以使用在前述对应的实施例一提 供的策略控制方法中, 详细执行过程参见上述方法实施例, 在此不再重复描 述。
进一步的, 本发明实施例提供的策略决策装置还可以包括:
订阅事件获取单元 170,用于获取需要向计费系统订阅的第一类计费相关 事件;
订阅请求发送单元 180,用于向计费系统发送订阅第一类计费相关事件的 订阅请求, 以便于计费系统在第一类计费相关事件发生时, 向策略决策装置 发送通知消息。
在本发明实施例二提供的策略控制方法实施例中, 策略决策装置获取与 业务信息对应的第一类计费相关事件, 并且向计费系统发送订阅第一类计费 相关事件的订阅请求, 以使得计费系统在第一类计费相关事件发生时, 向策 略决策装置发送通知消息。 与现有技术相比, 本发明实施例可以在和用户的 业务信息的计费相关事件发生时, 根据该计费相关事情进行策略控制, 使得 用户在进行不同的业务时, 监控不同的计费相关事件, 进而使得策略控制的 灵活性更好。
进一步的, 本发明实施例提供的策略决策装置还包括:
计费数据请求单元 190, 用于向计费系统发送用户计费数据获取请求; 计费数据接收单元 200 , 用于接收计费系统返回用户当前的计费相关数 据;
策略生成单元 150还用于根据用户当前的计费相关数据生成控制策略, 策略发送单元 160还用于将根据计费相关数据生成的控制策略发送给网关设 备。
参见图 12, 本发明实施例提供的策略决策装置中订阅请求发送单元的结 构示意图。
进一步的, 上述订阅事件获取单元 170还用于获取第一类计费相关事件 对应的前置条件。
订阅请求发送单元 190包括:
第一判断模块 191 , 用于判断第一类计费相关事件的前置条件是否满足; 请求发送模块 192, 用于在第一判断模块 191判断前置条件满足时, 通过 已建立的会话向计费系统发送订阅请求, 订阅请求中携带满足前置条件的第 一类计费相关事件。
参见图 13 , 本发明实施例八提供的计费系统的结构示意图。
本发明实施例七提供的计费系统包括:
会话请求接收单元 310, 用于接收策略决策装置发送的会话请求消息,会 话请求消息中携带用户标识;
应答消息发送单元 320,用于根据会话请求消息向策略决策装置发送应答 消息;
事件获取单元 330, 用于获取需要监测的计费相关事件;
事件监测单元 340, 用于监测计费相关事件是否发生; 通知消息发送单元 350,用于在事件监测单元 340监测到计费相关事件发 生, 则通过已建立的会话向策略决策装置发送通知消息, 通知消息用于表明 计费相关事件已发生。
本发明实施例七提供的计费系统可以使用在前述对应的实施例三提供的 策略控制方法中, 详细过程参见上述方法实施例, 在此不再重复描述。
进一步的, 在本发明实施例八提供的计费系统还可以包括:
计费请求接收单元 360,用于接收策略决策装置发送的用户计费数据获取 请求;
计费数据获取单元 370,用于根据用户计费数据获取请求获取用户当前的 计费相关数据;
计费数据发送单元 380,用于向策略决策装置发送用户当前的计费相关数 据。
参见图 14, 本发明实施例提供的计费系统中监测单元的结构示意图。 在 本发明实施例八提供的计费系统中, 事件获取单元 330还用于获取需要监测 的计费相关事件对应的前置条件。
此时, 计费系统中事件监测单元 340具体可以包括:
第二判断模块 341 , 用于判断计费相关事件的前置条件是否满足 , 事件监测模块 342, 用于在第二判断模块 341判断前置条件满足时, 监测 满足前置条件的计费相关事件是否发生。
参见图 15 , 本发明实施例九提供的管理节点设备的结构示意图。
本发明实施例还提供一种管理节点设备, 包括:
事件定义单元 410,用于根据运营商策略或用户订购信息定义计费相关事 件, 同时定义事件类别和计费相关事件对应的计费系统处理规则和策略生成 规则;
事件配置单元 420,用于基于计费相关事件的类别向策略决策装置和计费 系统分别配置计费相关事件、 策略生成规则和计费系统处理规则, 以使计费 系统和策略决策装置对不同类别计费相关事件进行不同处理。
需要说明的是, 本发明实施例中的管理节点设备可以集成在策略决策装 置或计费系统上, 即作为策略决策装置或计费系统的某一个功能模块。
参见图 16, 本发明实施例十提供的策略控制系统的结构示意图。 本发明实施例还提供了一种策略控制系统, 包括: 策略决策装置 510、 计 费系统 520以及管理节点设备 530。 其中, 策略决策装置 510和计费系统 520 以及管理节点设备 530 的具体结构参见上述对应的装置实施例, 在此不再重 复描述。
需要说明的是, 上述系统和装置中各单元、 模块之间的信息交互、 执行 过程等内容, 由于与本发明方法实施例基于同一构思, 具体内容可参见本发 明方法实施例中的叙述, 此处不再赘述。
本发明的各个装置、 服务器和系统实施例中所提供各个单元之间的交互 及相关信息均可以参考前述各个方法实施例提供的相关流程, 具体功能和处 理流程请参见前述各个实施例, 此处不再赘述。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程, 是可以通过计算机程序来指令相关的硬件来完成, 的程序可存储于计算 机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施例的流 程。其中, 的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory, ROM )或随机存储记忆体(Random Access Memory, RAM )等。
以上对本发明所策略控制方法、 系统和相关装置进行了详细介绍, 对于 本领域的一般技术人员, 依据本发明实施例的思想, 在具体实施方式及应用 范围上均会有改变之处, 本说明书内容不应理解为对本发明的限制。

Claims

权利要求书
1、 一种策略控制方法, 其特征在于, 包括:
策略决策装置接收网关设备发送的控制策略请求, 所述控制策略请求中 携带用户标识;
策略决策装置向计费系统发送会话请求消息, 所述会话请求消息中携带 所述用户标识;
策略决策装置接收计费系统发送的会话请求消息的应答消息;
策略决策装置接收所述计费系统通过已建立的会话发送的通知消息, 根 据所述通知消息中携带的已发生的计费相关事件信息生成业务数据流的控制 策略;
策略决策装置根据控制策略请求向所述网关设备发送所述控制策略。
2、 根据权利要求 1所述的方法, 其特征在于, 还包括:
策略决策装置获取需要向计费系统订阅的第一类计费相关事件; 策略决策装置向所述计费系统发送订阅所述第一类计费相关事件的订阅 请求, 以便于所述计费系统在所述第一类计费相关事件发生时, 向所述策略 决策装置发送通知消息。
3、 根据权利要求 2所述的方法, 其特征在于, 还包括:
策略决策装置获取所述第一类计费相关事件对应的前置条件;
所述策略决策装置向计费系统发送订阅第一类计费相关事件的订阅请 求, 包括:
判断第一类计费相关事件的前置条件是否满足;
若是, 则向所述计费系统发送订阅请求, 所述订阅请求中携带满足前置 条件的第一类计费相关事件。
4、 根据权利要求 2所述的方法, 其特征在于, 还包括:
策略决策装置在发送订阅请求之前, 判断所述用户是否已经在所述会话 中订阅了所述第一类计费相关事件, 若已经订阅, 则共享该订阅。
5、 根据权利要求 1所述的方法, 其特征在于, 所述通知消息携带已发生 的第二类计费相关事件;
所述策略决策装置根据通知消息中携带的已发生的计费相关事件信息生 成业务数据流的控制策略, 包括:
策略决策装置在预置的第二类计费相关事件中查找所述已发生的第二类 计费相关事件, 若找到则确定可以识别并基于所述已发生的第二类计费相关 事件进行策略决策, 并根据所述已发生的计费相关事件信息生成业务数据流 的控制策略。
6、 根据权利要求 1所述的策略控制方法, 其特征在于, 还包括: 所述策略决策装置向计费系统发送用户计费数据获取请求;
所述策略决策装置接收计费系统返回所述用户当前的计费相关数据; 所述策略决策装置根据所述用户当前的计费相关数据生成业务数据流的 控制策略;
所述策略决策装置将根据计费相关数据生成的控制策略发送给所述网关 设备。
7、 根据权利要求 6所述的策略控制方法, 其特征在于,
所述策略决策装置緩存接收到的计费相关数据;
所述方法在所述接收到计费系统发送的通知消息之后还包括:
根据接收到的通知消息中携带的事件信息更新緩存的计费相关数据。
8、 根据权利要求 1到 7任一项所述的策略控制方法, 其特征在于, 在所 述接收所述计费系统发送的通知消息之后, 还包括:
策略决策装置根据所述通知消息中携带的事件信息在预置的计费相关事 件组成的集合中查找以已发生的计费相关事件为前置条件的第三类计费相关 事件;
策略决策装置通过已建立的所述会话向所述计费系统发送订阅第三类计 费相关事件的订阅请求, 以便于所述计费系统在所述第三类计费相关事件发 生时, 向所述策略决策装置发送通知消息。
9、 一种策略控制方法, 其特征在于, 包括:
计费系统接收策略决策装置发送的会话请求消息, 所述会话请求消息中 携带用户标识;
计费系统根据所述会话请求消息向所述策略决策装置发送会话请求消息 的应答消息;
计费系统获取需要监测的计费相关事件;
所述计费系统在所述计费相关事件发生时, 通过已建立的会话向所述策 略决策装置发送通知消息, 所述通知消息用于表明所述计费相关事件已发生。
10、 根据权利要求 9所述的方法, 其特征在于, 所述确定需要向策略决 策装置发送监测的计费相关事件, 包括:
计费系统接收策略决策装置发送的订阅请求, 所述订阅请求中携带策略 决策装置需要订阅的第一类计费相关事件; 和 /或
计费系统在预置的计费相关事件组成的集合中查找与所述用户标识对应 的第二类计费相关事件。
11、 根据权利要求 9所述的策略控制方法, 其特征在于, 还包括: 计费系统获取需要监测的计费相关事件对应的前置条件;
则所述监测计费相关事件是否发生包括:
判断所述计费相关事件的前置条件是否满足,
若是, 则监测满足前置条件的计费相关事件是否发生。
12、 根据权利要求 9或 10所述的策略控制方法, 其特征在于, 还包括: 所述计费系统接收策略决策装置发送的用户计费数据获取请求; 所述计费系统根据所述用户计费数据获取请求获取所述用户当前的计费 相关数据;
所述计费系统向所述策略决策装置发送所述用户当前的计费相关数据。
13、 根据权利要求 9所述的策略控制方法, 其特征在于, 还包括: 计费系统在所述计费相关事件发生时, 在预置的计费相关事件组成的集 合中查找以已发生的计费相关事件为前置条件的第四类计费相关事件;
计费系统监测第四类计费相关事件, 在所述第四类计费相关事件发生时, 通过已建立的所述会话向所述策略决策装置发送通知消息, 所述通知消息用 于表明所述第四类计费相关事件已发生。
14、 一种策略决策装置, 其特征在于, 包括:
策略请求接收单元, 用于接收网关设备发送的控制策略请求, 所述控制 策略请求中携带用户标识;
会话建立单元, 用于向计费系统发送会话请求消息, 所述会话请求消息 中携带所述用户标识;
应答消息接收单元, 用于接收计费系统发送的会话请求消息的应答消息; 通知消息接收单元, 用于接收所述计费系统通过已建立的会话发送的通 知消息;
策略生成单元, 用于根据所述通知消息中携带的已发生的计费相关事件 信息生成业务数据流的控制策略;
策略发送单元, 用于根据控制策略请求向所述网关设备发送所述控制策 略。
15、 根据权利要求 14所述的策略决策装置, 其特征在于, 还包括: 订阅事件获取单元, 用于获取需要向计费系统订阅的第一类计费相关事 件;
订阅请求发送单元, 用于向所述计费系统发送订阅所述第一类计费相关 事件的订阅请求, 以便于所述计费系统在所述第一类计费相关事件发生时, 向所述策略决策装置发送通知消息。
16、 根据权利要求 15所述的策略决策装置, 其特征在于, 还包括; 计费数据请求单元, 用于向计费系统发送用户计费数据获取请求; 计费数据接收单元, 用于接收计费系统返回所述用户当前的计费相关数 据;
所述策略生成单元还用于根据所述用户当前的计费相关数据生成控制策 略, 所述策略发送单元还用于将生成的控制策略发送给所述网关设备。
17、 一种计费系统, 其特征在于, 包括:
会话请求接收单元, 用于接收策略决策装置发送的会话建立请求消息, 所述会话建立请求消息中携带用户标识;
应答消息发送单元, 用于根据会话请求消息向所述策略决策装置发送应 答消息;
事件获取单元, 用于获取需要监测的计费相关事件;
事件监测单元, 用于监测所述计费相关事件是否发生;
通知消息发送单元, 用于在所述事件监测单元监测到所述计费相关事件 发生, 则通过已建立的会话向所述策略决策装置发送通知消息, 所述通知消 息用于表明所述计费相关事件已发生。
18、 根据权利要求 17所述的计费系统, 其特征在于, 还包括: 计费请求接收单元, 用于接收策略决策装置发送的用户计费数据获取请 求;
计费数据获取单元, 用于根据所述用户计费数据获取请求获取所述用户 当前的计费相关数据; 计费数据发送单元, 用于向所述策略决策装置发送所述用户当前的计费 相关数据。
19、 一种管理节点装置, 其特征在于, 包括:
事件定义单元, 用于根据运营商策略或用户订购信息定义计费相关事件, 同时定义事件类别和计费相关事件对应的计费系统处理规则和策略生成规 则;
事件配置单元, 用于基于所述计费相关事件的类别向策略决策装置和计 费系统分别配置所述计费相关事件。
20、 一种策略控制系统, 其特征在于, 包括:
如权利要求 14到 16任一项所述的策略决策装置;
如权利要求 17到 18任一项所述的计费系统以及如权利要求 18所述的管 理节点设备。
PCT/CN2011/074772 2010-05-28 2011-05-27 策略控制方法、系统和相关装置 WO2011147327A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP11786099.9A EP2579506B1 (en) 2010-05-28 2011-05-27 Method, system and related apparatus for policy control
US13/687,781 US9197577B2 (en) 2010-05-28 2012-11-28 Policy control method and system, and relevant apparatus
US14/930,897 US9992349B2 (en) 2010-05-28 2015-11-03 Policy control method and system, and relevant apparatus
US15/989,578 US10341496B2 (en) 2010-05-28 2018-05-25 Policy control method and system, and relevant apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010192415.5 2010-05-28
CN201010192415.5A CN102264056B (zh) 2010-05-28 2010-05-28 策略控制方法、系统和相关装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/687,781 Continuation US9197577B2 (en) 2010-05-28 2012-11-28 Policy control method and system, and relevant apparatus

Publications (1)

Publication Number Publication Date
WO2011147327A1 true WO2011147327A1 (zh) 2011-12-01

Family

ID=45003326

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/074772 WO2011147327A1 (zh) 2010-05-28 2011-05-27 策略控制方法、系统和相关装置

Country Status (6)

Country Link
US (3) US9197577B2 (zh)
EP (3) EP2675109B1 (zh)
CN (1) CN102264056B (zh)
ES (2) ES2569389T3 (zh)
PL (1) PL2675109T3 (zh)
WO (1) WO2011147327A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101844755B1 (ko) * 2012-07-27 2018-04-03 알까뗄 루슨트 항시 ip 접속 세션을 위한 과금 세션 종료

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9077821B2 (en) * 2012-12-27 2015-07-07 Telefonaktiebolaget L M Ericsson (Publ) Maximizing end-user's quality of experience within a mobile data plan
CN103945356B (zh) * 2013-01-22 2018-03-27 华为技术有限公司 一种进行策略决策的方法、计费设备和系统
CN104349298B (zh) 2013-08-09 2019-07-02 中兴通讯股份有限公司 一种网络计费方法、控制器、数据中心及系统
CN104378749B (zh) * 2013-08-12 2020-03-10 中兴通讯股份有限公司 基于sdn epc网络的计费实现方法与系统
CN103796229B (zh) * 2013-09-16 2017-09-12 中兴通讯股份有限公司 一种会话链路控制方法及装置
US9179007B1 (en) * 2013-09-27 2015-11-03 Juniper Networks, Inc. Analytics triggered subscriber policies
KR20150086158A (ko) * 2014-01-17 2015-07-27 주식회사 엘지화학 배리어 필름 및 그 제조 방법
CN110971419B (zh) * 2014-03-04 2021-10-26 华为技术有限公司 一种计费会话管理方法、装置
CN103888928B (zh) * 2014-03-04 2017-04-26 华为技术有限公司 一种业务策略控制方法及系统
CN105245395B (zh) * 2014-07-09 2018-12-04 中兴通讯股份有限公司 一种基于策略的m2m终端设备监测控制方法和装置
CN107111524A (zh) * 2014-09-12 2017-08-29 康维达无线有限责任公司 基于面向服务的架构(soa)的可扩展计费系统
US10321352B2 (en) * 2015-03-16 2019-06-11 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for traffic steering
EP3292655B1 (en) * 2015-05-05 2020-10-07 Telefonaktiebolaget LM Ericsson (publ) Method and network entity for control of value added service (vas)
CN107666505B (zh) * 2016-07-29 2020-09-15 京东方科技集团股份有限公司 对资源接入进行控制的方法和装置
CN107819590B (zh) * 2016-09-14 2021-08-13 华为技术有限公司 一种计费的方法、装置和系统
US10349295B2 (en) * 2016-11-04 2019-07-09 Veniam, Inc. Systems and methods for calculating the user QoE based on WiFi sessions over multiple networks in a network of moving things
CN106452804B (zh) * 2016-11-15 2019-04-30 中国联合网络通信集团有限公司 一种业务开通的方法及装置
CN108306911B (zh) * 2017-01-12 2020-12-29 中移物联网有限公司 一种物联网事件监测方法及设备
CN110519069B (zh) 2017-08-03 2020-07-14 华为技术有限公司 一种计费方法及设备
CN112398662B9 (zh) * 2017-11-16 2021-12-03 华为技术有限公司 一种计费方法、装置及系统
CN108306874B (zh) * 2018-01-29 2020-03-10 口碑(上海)信息技术有限公司 服务接口访问限流方法及装置
CN111355596A (zh) * 2018-12-22 2020-06-30 华为技术有限公司 策略决策方法、相关装置及系统
CN114979999B (zh) * 2022-06-21 2023-03-24 广州爱浦路网络技术有限公司 基于融合组网的策略计费方法、装置、设备及介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1729648A (zh) * 2002-10-15 2006-02-01 艾利森电话股份有限公司 在网络中提供灵活计费的系统
CN101110681A (zh) * 2007-08-28 2008-01-23 华为技术有限公司 资源预留的方法、计费失败处理方法及策略决策点
WO2009051527A1 (en) * 2007-10-16 2009-04-23 Telefonaktiebolaget Lm Ericsson (Publ) A method and system for enabling access policy and charging control

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE383707T1 (de) 2001-11-28 2008-01-15 Ericsson Telefon Ab L M Richtlinien-koordination in einem kommunikationsnetz
CN1217513C (zh) * 2002-12-27 2005-08-31 北京邮电大学 在多业务多用户业务平台中保证业务服务等级协议的方法
CN101325780B (zh) 2007-06-15 2010-07-07 华为技术有限公司 策略控制实现方法和系统、及策略和计费执行实体
US8249551B2 (en) * 2008-06-05 2012-08-21 Bridgewater Systems Corp. Long-term evolution (LTE) policy control and charging rules function (PCRF) selection
US8640188B2 (en) * 2010-01-04 2014-01-28 Tekelec, Inc. Methods, systems, and computer readable media for providing group policy configuration in a communications network using a fake user
EP2314039B1 (en) * 2008-08-11 2016-09-28 Nokia Solutions and Networks Oy Communication system
WO2011020498A1 (en) * 2009-08-18 2011-02-24 Telefonaktiebolaget Lm Ericsson (Publ) Method, apparatus and computer program for enforcing policy across associated sessions taking into account a total usage quota for associated user

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1729648A (zh) * 2002-10-15 2006-02-01 艾利森电话股份有限公司 在网络中提供灵活计费的系统
CN101110681A (zh) * 2007-08-28 2008-01-23 华为技术有限公司 资源预留的方法、计费失败处理方法及策略决策点
WO2009051527A1 (en) * 2007-10-16 2009-04-23 Telefonaktiebolaget Lm Ericsson (Publ) A method and system for enabling access policy and charging control

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2579506A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101844755B1 (ko) * 2012-07-27 2018-04-03 알까뗄 루슨트 항시 ip 접속 세션을 위한 과금 세션 종료

Also Published As

Publication number Publication date
EP2675109A1 (en) 2013-12-18
EP2993926B1 (en) 2018-04-18
PL2675109T3 (pl) 2016-07-29
US9992349B2 (en) 2018-06-05
CN102264056B (zh) 2014-03-05
EP2579506A1 (en) 2013-04-10
EP2579506A4 (en) 2013-05-15
ES2679530T3 (es) 2018-08-28
US20130091281A1 (en) 2013-04-11
EP2579506B1 (en) 2016-07-13
US10341496B2 (en) 2019-07-02
US20180278754A1 (en) 2018-09-27
CN102264056A (zh) 2011-11-30
EP2993926A1 (en) 2016-03-09
US20160057293A1 (en) 2016-02-25
US9197577B2 (en) 2015-11-24
ES2569389T3 (es) 2016-05-10
EP2675109B1 (en) 2016-02-03

Similar Documents

Publication Publication Date Title
WO2011147327A1 (zh) 策略控制方法、系统和相关装置
US20210399907A1 (en) Method for delivering dynamic policy rules to an end user, according on his/her account balance and service subscription level, in a telecommunication network
US9860752B2 (en) Handling of authorization requests for a packet-based service in a mobile network
EP2521305B1 (en) Method, device and system for controlling user session policy
US20120233324A1 (en) Method and system for implementing usage monitoring control
US20110320622A1 (en) Managing internet protocol connectivity access network sessions
EP2506493B1 (en) Method and system for controlling data flow of subscriber service
CN104685919A (zh) 用于无线接入网(ran)的拥塞控制
WO2011082036A2 (en) Methods, systems, and computer readable media for providing group policy configuration in a communications network using a fake user
EP2764714B1 (en) Sy based integrated policy and charging control
CN110166983B (zh) 一种事件订阅方法及网元设备
CN104053141A (zh) 对用户业务的数据流进行控制的方法和装置
CN110880981B (zh) Gx会话异常的处理方法及装置
CN101848453B (zh) 动态调整数据传输的方法和装置
US20140051384A1 (en) Out of credit final-unit-action restrict_access handling
CN101730046A (zh) 业务策略控制方法及系统
CN103024714B (zh) 一种PCC系统中Gx接口会话稽核的方法及装置
EP3089437B1 (en) A method for aggregating network service request related messaging traffic, a charging trigger function module, an online charging system module and a computer program product
CN108512770B (zh) 数据流量分配方法及相关设备
CN102833123B (zh) 数据流的用量监控方法及装置、pcef实体

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2011786099

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2011786099

Country of ref document: EP