Abstract:
The disclosure discloses a method for Policy and Charging Control (PCC) based on a time period, which comprises: when a Policy and Charging Rule Function (PCRF) entity provides Quality of Service (QoS) rules to a Bearer Binding and Event Reporting Function (BBERF) entity, a time indication of activation and/or deactivation of the QoS rules is provided at the same time. The disclosure also discloses a system for PCC based on a time period, which comprises: a providing unit located in the PCRF entity and configured to provide QoS rules and a time indication of activation and/or deactivation of the QoS rules to the BBERF entity at the same time. The disclosure ensures the consistency between the time of activating the QoS rules by the BBERF entity and the time of activating the PCC rules by the Policy and Control Enforcement Function (PCEF) entity, and the technical scheme is simple and practical.

Description:
TECHNICAL FIELD 
       [0001]    The disclosure relates to a Policy and Charging Control (PCC) technology in a radio communication system, and in particular to a method and a system for PCC based on a time period in a 3 rd  Generation Partnership Project (3GPP) packet system. 
       BACKGROUND 
       [0002]    Since a 3GPP Release 7 standard system is established, the policy and charging function is realized by a PCC framework. The PCC framework is a function framework which can be applied to multiple access technologies, for example, the PCC framework can be applied to a Universal Mobile Telecommunications System (UMTS) Terrestrial Radio Access Network (UTRAN), a Global system for Mobile Communication (GSM)/Enhanced Data Rate For GSM Evolution (EDGE) radio access network, an Intelligent Wireless Local Area Network (I-WLAN) and an Evolved Packet System (EPS), etc. 
         [0003]    The PCC mainly realizes two functions, that is, a policy control function and a charging function.  FIG. 1  shows a schematic diagram of a PCC structure according to Release8; as shown in  FIG. 1 , each logical function entity and the interface function in the PCC framework are as follows: 
         [0004]    an Application Function (AF) entity provides an access point for service applications, wherein network resources used by the service applications need dynamical policy control. When a parameter negotiation is performed on a service plane, the AF entity provisions relevant service information to a Policy and Charging Rule Function (PCRF) entity; if the service information is consistent with a policy of the PCRF entity, then the PCRF entity accepts the negotiation; otherwise, the PCRF entity refuses the negotiation and gives service parameters acceptable by the PCRF entity at the time of sending feedback. Subsequently, the AF entity can feed back the parameters to user equipment (UE), wherein an interface between the AF entity and the PCRF entity is an Rx interface. 
         [0005]    The PCRF entity is the core of the PCC and is responsible for making a policy decision and charging rules. The PCRF entity provides network control rules based on a service data flow, wherein the network control comprises detection, gating control, Quality of Service (QoS) control of a service data flow and data flow based charging rules. The PCRF entity sends the policy and charging rules made by itself to a Policy and Control Enforcement Function (PCEF) entity for execution, besides, the PCRF entity is required to guarantee the consistency between the rules and user subscription information. The basis for the PCRF entity to make policy and charging rules comprises: service-related information received from the AF entity, user PCC-related subscription information obtained from a Subscription Profile Repository (SPR) and bearer-related network information obtained from the PCEF entity. 
         [0006]    The PCEF entity is usually located in a Gate-Way (GW) and is adapted to execute, on a bearer plane, the policy and charging rules made by the PCRF entity. The PCEF entity detects service data flows according to a service data flow filter in the rules sent by the PCRF entity, and further executes the policy and charging rules made by the PCRF entity for the service data flows. When a bearer is established, the PCEF entity carries out a QoS authorization according to the rules sent by the PCRF entity and performs gating control according to the information provided by the AF entity. According to the charging rules sent by the PCRF entity, the PCEF entity executes a corresponding service data flow charging operation, wherein the charging can be online charging or offline charging. If it is the online charging, the PCEF entity needs to perform credit management together with an Online Charging System (OCS); if it is the offline charging, the PCEF entity exchanges relevant charging information with an Offline Charging System (OFCS). An interface between the PCEF entity and the PCRF entity is a Gx interface, an interface between the PCEF entity and the OCS is a Gy interface, and an interface between the PCEF entity and the OFCS is a Gz interface. The PCEF entity is usually located at a network gateway, such as a Gateway GPRS Support Node (GGSN) in a General Packet Radio Service (GPRS) technology and a Packet Data Gateway (PDG) in an I-WLAN. 
         [0007]    The function of a Bearer Binding and Event Reporting Function (BBERF) entity comprises bearer binding, validation of uplink bearer binding, and event reporting. When access of UE is carried out through an Evolved Universal Terrestrial Radio Access Network (E-UTRAN) and a Proxy Mobile IPv6 protocol is applied between a Serving Gateway (S-GW) and a Packet Data Network-Gateway (P-GW), the BBERF entity is located at the S-GW of the EPS; when the UE accesses the EPS through an untrusted non-3GPP access network, the BBERF entity is located at an Evolved Packet Data Gateway (ePDG); when the UE accesses the EPS through a trusted non-3GPP access network, the BBERF entity is located at an access gateway of a non-3GPP access network. When a BBERF entity exists, the PCRF entity needs to provision policy control information (such as QoS rules, event triggers, etc.) to the BBERF entity while provisioning policy and charging control information (such as PCC rules, event triggers, etc.) to the PCEF entity, and at the same time carries out policy and charging control on an IP Connectivity Access Network (IP-CAN) session established by the UE through the PCEF entity and the BBERF entity. 
         [0008]    The SPR stores the user PCC subscription information related to policy control and charging; an interface between the SPR and the PCRF entity is an Sp interface. 
         [0009]    The OCS, together with the PCEF entity, performs user credit control and management when the online charging is used. 
         [0010]    The OFCS, together with the PCEF entity, accomplishes charging operation when the offline charging is used. 
         [0011]    In the prior art, while provisioning the PCC rules, the PCRF entity also provisions time information for indicating when the PCEF entity shall set the PCC rules to an activation state (that is, activating the PCC rules, initiating a resource preservation process to allocate resources for the PCC rules) and time information for indicating when the PCEF entity shall set the PCC rules to an inactivation state (that is, stopping activating the PCC rules, initiating a resource release process to release corresponding resources of the PCC rules), and also can provision time information for indicating when the PCEF entity shall request the PCRF entity again for new PCC rules. By using the mechanism above, the PCC can support user charging control based on different time periods within one day, for example, in the middle night or at dawn, the PCEF entity activates PCC rules which have a lower fee rate (that is, allocating resources for the PCC rules) according to the indication in the PCC rules provisioned by the PCRF entity to perform PCC on a user, while in the daytime, the PCEF entity sets the PCC rules to an inactivation state (that is, releasing resources of the PCC rules), and sets PCC rules which have a higher fee rate to an activation state (that is, allocating resources for the PCC rules). 
         [0012]    However, in the prior art, the PCRF entity provisions the time indication of activation and/or deactivation of PCC rules only when provisioning the PCC rules; if a BBERF entity exists, the PCRF entity does not provision any time indication while provisioning QoS rules. When the PCC rules provisioned to the PCEF entity by the PCRF entity are not activated, the QoS rules corresponding to the PCC rules provisioned by the PCRF entity to the BBERF entity have been activated (because no time indication is provisioned while the QoS rules are provisioned, the BBERF entity activates the QoS is rules immediately after obtaining the QoS rules). Thus, the activation time of the PCC rules in the network systems is not consistent, even a mistake is caused; besides, resources are wasted. 
       SUMMARY 
       [0013]    In view of the problem above, the main objective of the disclosure is to provide a method and a system for PCC based on a time period to enable a PCRF entity to provide a time indication of activation and/or deactivation of QoS rules while providing the QoS rules to the BBERF entity. 
         [0014]    In order to realize the objective above, the technical scheme of the disclosure is realized in a manner as follows. 
         [0015]    A method for PCC based on a time period comprises: 
         [0016]    providing, by a Policy and Charging Rule Function (PCRF) entity, a time indication of activation and/or deactivation of Quality of Service (QoS) rules to a Bearer Binding and Event Reporting Function (BBERF) entity while providing the QoS rules by the PCRF entity to the BBERF entity. 
         [0017]    Preferably, the step of providing the QoS rules by the PCRF entity to the BBERF entity may comprise: 
         [0018]    after the PCRF entity receives a gateway control session establishment request message from the BBERF entity, making PCC rules and QoS rules corresponding to the PCC rules by the PCRF entity, determining time of activation and/or deactivation of the PCC rules and the QoS rules by the PCRF entity, and providing the QoS rules and the time of activation and/or deactivation of the QoS rules by the PCRF entity to the BBERF entity through a gateway control session establishment acknowledgement message. 
         [0019]    Or, the step of providing the QoS rules by the PCRF entity to the BBERF entity may comprise: 
         [0020]    after the PCRF entity receives a gateway control and QoS rule request message from the BBERF entity, updating or remaking PCC rules and QoS rules corresponding to the PCC rules by the PCRF entity, determining time of activation and/or deactivation of is the updated or remade PCC rules and QoS rules by the PCRF entity, and providing the QoS rules and the time of activation and/or deactivation of the QoS rules by the PCRF entity to the BBERF entity through a gateway control and QoS rule request acknowledgement message. 
         [0021]    Or, the step of providing the QoS rules by the PCRF entity to the BBERF entity may comprise: 
         [0022]    after the PCRF entity receives a request of triggering QoS rule modification, updating or remaking PCC rules and QoS rules corresponding to the PCC rules by the PCRF entity, determining time of activation and/or deactivation of the updated or remade PCC rules and QoS rules by the PCRF entity, and providing the QoS rules and the time of activation and/or deactivation of the QoS rules by the PCRF entity to the BBERF entity through a gateway control and QoS rule providing message. 
         [0023]    Preferably, the request of modifying PCC rules and QoS rules may be triggered by an Application Function (AF) entity, a Subscription Profile Repository (SPR) or the PCRF entity. 
         [0024]    Preferably, the method may further comprise: 
         [0025]    after the BBERF entity receives the QoS rules and the time indication of activation and/or deactivation of the QoS rules provided by the PCRF entity, activating and/or deactivating the QoS rules by the BBERF entity according to the time of activation and/or deactivation of the QoS rules. 
         [0026]    Preferably, the method may further comprise: 
         [0027]    providing, by the PCRF entity, PCC rules corresponding to the QoS rules and time of activation and/or deactivation of the PCC rules to a Policy and Control Enforcement Function (PCEF) entity; wherein the time of activation and/or deactivation of the QoS rules provided to the BBERF entity is the same as the time of activation and/or deactivation of the PCC rules provided to the PCEF entity. 
         [0028]    A system for PCC based on a time period comprises: 
         [0029]    a providing unit located in a Policy and Charging Rule Function (PCRF) entity and configured to provide QoS rules and a time indication of activation and/or deactivation of the QoS rules to a Bearer Binding and Event Reporting Function (BBERF) entity at the same time. 
         [0030]    Preferably, the providing unit may further comprise: 
         [0031]    a receiving sub-unit configured to receive a gateway control session establishment request message from the BBERF entity; 
         [0032]    a making and determining sub-unit configured to, after the receiving sub-unit receives the gateway control session establishment request message, make PCC rules and QoS rules corresponding to the PCC rules, and determine time of activation and/or deactivation of the PCC rules and the QoS rules; and 
         [0033]    a providing sub-unit configured to provide the QoS rules and the time of activation and/or deactivation of the QoS rules to the BBERF entity through a gateway control session establishment acknowledgement message. 
         [0034]    Or, the providing unit may further comprise: 
         [0035]    a receiving sub-unit configured to receive a gateway control and QoS rule request message from the BBERF entity; 
         [0036]    a making and determining sub-unit configured to, after the receiving sub-unit receives the gateway control and QoS rule request message, update and remake PCC rules and QoS rules corresponding to the PCC rules, and determine time of activation and/or deactivation of the updated or remade PCC rules and QoS rules; and 
         [0037]    a providing sub-unit configured to provide the updated or remade QoS rules and the time of activation and/or deactivation of the updated or remade QoS rules to the BBERF entity through a gateway control and QoS rule request acknowledgement message. 
         [0038]    Or, the providing unit may further comprise: 
         [0039]    a receiving sub-unit configured to receive a request of triggering PCC rule and QoS rule modification; 
         [0040]    a making and determining sub-unit configured to, after the receiving sub-unit receives the gateway control and QoS rule request message, update and remake PCC rules and QoS rules corresponding to the PCC rules, and determine time of activation and/or deactivation of the updated or remade PCC rules and QoS rules; and 
         [0041]    a providing sub-unit configured to provide the updated and remade QoS rules and the time of activation and/or deactivation of the updated and remade QoS rules to the BBERF entity through a gateway control and QoS rule request acknowledgement message. 
         [0042]    Preferably, the request of modifying PCC rules and QoS rules may be triggered by an Application Function (AF) entity, or a Subscription Profile Repository (SPR) and the PCRF entity. 
         [0043]    Preferably, the system may further comprise a receiving unit and an execution unit, wherein 
         [0044]    the receiving unit is located in the BBERF entity and configured to receive the QoS rules and the time of activation and/or deactivation of the QoS rules provided by the providing unit; 
         [0045]    the execution unit is located in the BBERF entity and configured to activate and/or deactivate the QoS rules according to the time of activation and/or deactivation of the QoS rules. 
         [0046]    Preferably, the providing unit may be further configured to provide PCC rules corresponding to the QoS rules and time of activation and/or deactivation of the PCC rules to the PCEF entity, wherein the time of activation and/or deactivation of the QoS rules provided to the BBERF entity is the same as the time of activation and/or deactivation of the PCC rules provided to the PCEF entity. 
         [0047]    In the disclosure, the PCRF entity determines time of activation and/or deactivation of the QoS rules after making QoS rules, and provides the time of activation and/or deactivation of the QoS rules at the same time of providing QoS rules to the BBERF entity; in this way, the BBERF entity can activate and/or deactivate QoS rules according to a provided time of activation and/or deactivation of the QoS rules, therefore, the consistency between the time of activating QoS rules by BBERF entity and the time of activating PCC rules by PCEF entity is guaranteed. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0048]      FIG. 1  shows a schematic diagram of a PCC structure according to Release8; 
           [0049]      FIG. 2  shows a flowchart of a method for PCC based on a time period according to Embodiment 1 of the disclosure; 
           [0050]      FIG. 3  shows a flowchart of a method for PCC based on a time period according to Embodiment 2 of the disclosure; 
           [0051]      FIG. 4  shows a flowchart of a method for PCC based on a time period according to Embodiment 3 of the disclosure; and 
           [0052]      FIG. 5  shows a schematic diagram of a structure of a system for PCC based on a time period according to the disclosure. 
       
    
    
     DETAILED DESCRIPTION 
       [0053]    The basic idea of the disclosure is that: a PCRF entity, after making QoS rules, determines time of activation and/or deactivation of the QoS rules; while providing QoS rules to a BBERF entity, the PCRF entity provides the time of activation and/or deactivation of the QoS rules at the same time; wherein the time of activation and/or deactivation provided when the PCRF entity provides the QoS rules to the BBERF entity is the same as the time of activation and/or deactivation provided when the PCRF entity provides the PCC rules corresponding to the QoS rules to the PCEF entity. In this way, the BBERF entity can activate and/or deactivate the QoS rules according to the provided time of activation and/or deactivation of the QoS rules, therefore, the consistency between the time of activating the QoS rules by the BBERF entity and the time of activating the PCC rules by PCEF entity is guaranteed. 
         [0054]    For a better understanding of the purpose, the technical scheme and the advantages of the disclosure, embodiments are provided below to further illustrate the is disclosure in detail by referring to the drawings. 
       Embodiment 1 
       [0055]    In this embodiment, during a process of UE establishing an IP-CAN session, a PCRF entity provisions PCC rules and QoS rules to a PCEF entity and a BBERF entity respectively; the PCC rules and the QoS rules comprise time indications of activation and/or deactivation of the rules.  FIG. 2  shows a flowchart of a method for PCC based on a time period according to Embodiment 1 of the disclosure; as shown in  FIG. 2 , the method for PCC based on a time period comprises the following steps: 
         [0056]    step S 201 : a gateway at which a BBERF entity is located receives an IP-CAN session establishment request message initialized by a user; 
         [0057]    step S 202 : the BBERF entity sends a gateway control session establishment message to a PCRF entity; 
         [0058]    step S 203 : if the PCRF entity does not have user subscription relevant information, the PCRF entity sends a request message to a SPR which then sends relevant user subscription information to the PCRF entity, then the PCRF entity stores the information; if the PCRF entity has user subscription relevant information, step S 204  is executed directly; 
         [0059]    step S 204 : the PCRF entity makes a policy decision, making PCC rules and corresponding QoS rules according to the relevant user subscription information and a local control policy, and determines time of activation and/or deactivation of the PCC rules and the QoS rules; 
         [0060]    step S 205 : the PCRF entity sends the BBERF entity a gateway control session establishment acknowledgement message, in which the QoS rules made by the PCRF entity and the time of activation and/or deactivation of the QoS rules are included; if the gateway control session establishment acknowledgement message includes time information of activation of the QoS rules, then the BBERF entity does not activate the QoS rules immediately, but initiates a resource preservation process to preserve resources and activates the QoS rules when the activation time is up, otherwise, the is BBERF entity activates the QoS rules immediately; if the gateway control session establishment acknowledgement message includes time information of deactivation of the QoS rules, then the BBERF entity deactivates the QoS rules when the deactivation time is up and initiates a resource release process to release resources; the BBERF entity does not interact with the PCRF entity when activating and/or deactivating the QoS rules, except that an error occurs in the activation process; 
         [0061]    step S 206 : this step can be executed together with step  201  simultaneously; the gateway at which the BBERF entity is located sends an IP-CAN establishment request message to a gateway at which the PCEF entity is located; 
         [0062]    step S 207 : after receiving the IP-CAN establishment request message sent from the BBERF entity, the PCEF entity sends an IP-CAN session establishment indication message to the PCRF entity; 
         [0063]    step S 208 : the PCRF entity returns the PCEF entity an IP-CAN session establishment acknowledgement message, in which the PCC rules made by the PCRF entity policy decision in step S 204  and the time of activation and/or deactivation of the PCC rules are included; if the IP-CAN session establishment acknowledgement message includes the activation time, the PCEF entity does not activate corresponding PCC rules immediately, but initiates a resource preservation process to preserve resources and activates the PCC rules when the activation time is up, otherwise, the PCEF entity activates the PCC rules immediately; if the IP-CAN session establishment acknowledgement message includes the deactivation time, the PCEF entity deactivates the PCC rules when the deactivation time is up and initiates a resource release process to release resources; the PCEF entity does no interact with the PCRF entity when activating and/or deactivating the PCC rules, except that an error occurs in the execution process; the PCRF entity might modify the PCC rules and the QoS rules made in step S 204  according to the information received in step S 207 , and return the time of activation and/or deactivation of the modified PCC rules at the same time of returning the modified PCC rules to the PCEF entity, that is, the time of activation and/or deactivation of the modified PCC rules might be modified; 
         [0064]    the time of activation and/or deactivation provided when the PCRF entity provides the QoS rules to the BBERF entity is the same as the time of activation and/or deactivation provided while the PCRF entity provides the PCC rules corresponding to the QoS rules to the PCEF entity; 
         [0065]    step S 209 : the gateway at which the PCEF entity is located returns an IP-CAN session establishment response message to the gateway at which the BBERF entity is located; 
         [0066]    step S 210 : the gateway at which the BBERF entity is located returns the IP-CAN session establishment response message; 
         [0067]    step S 211 : in step S 208 , if the PCRF entity modifies the PCC rules and the QoS rules, then the PCRF entity sends the BBERF entity a gateway control and QoS rule providing message, in which the modified QoS rules and the time of activation and/or deactivation of the modified QoS rules are included; and 
         [0068]    step S 212 : the BBERF entity returns a gateway control and QoS rule providing acknowledgement message to the PCRF entity. 
         [0069]    According to the above flow, the PCRF entity provisions the time indication of activation and/or deactivation of the PCC rules corresponding to the QoS rule while provisioning the QoS rules to the BBERF entity, therefore the QoS rules and the PCC rules corresponding to the QoS rules are activated at the same time and deactivated at the same time. 
       Embodiment 2 
       [0070]    In this embodiment, a PCRF entity provisions PCC rules and QoS rules to a PCEF entity and a BBERF entity respectively during a modification process of an IP-CAN according to a request from the BBERF entity; the PCC rules and the QoS rules comprise time indications of activation and/or deactivation of the rules.  FIG. 3  shows a flowchart of a method for PCC based on a time period according to Embodiment 2 of the disclosure; as shown in  FIG. 3 , the method for PCC based on a time period comprises the following steps: 
         [0071]    step S 301 : the BBERF entity is requested event reporting or new QoS rules; 
         [0072]    step S 302 : the BBERF entity sends a gateway control and QoS rule request message to the PCRF entity; 
         [0073]    step S 303 : the PCRF entity makes a policy decision, including making PCC rules and corresponding QoS rules, and determining time of activation and/or deactivation of the PCC rules and the QoS rules; wherein this decision-making process comprises making new PCC rules and QoS rules and the time of activation and/or deactivation of the new PCC rules and QoS rules, and updating provisioned PCC rules and QoS rules and the time of activation and/or deactivation of the provisioned PCC rule and QoS rules; 
         [0074]    step S 304 : the PCRF entity sends the BBERF entity a gateway control and QoS rule request acknowledgement message, in which the QoS rules newly made or updated by the PCRF entity policy decision and the time of activation and/or deactivation of the new QoS rules are included; if the time of activation and/or deactivation is updated, then the BBERF entity activates or deactivates the updated QoS rules according to the new time; to sum up, the BBERF entity activates corresponding QoS rules according to the currently received time indication of activation and/or deactivation; 
         [0075]    step S 305 : the gateway at which the BBERF entity is located returns a response message; 
         [0076]    step S 306 : the PCRF entity sends the PCEF entity a policy and charging rule providing message, in which the PCC rules made in step S 303  and the time of activation and/or deactivation of the PCC rules are included; the PCEF entity activates and or deactivates the PCC rules according to the time of activation and/or deactivation; 
         [0077]    the time of activation and/or deactivation provided when the PCRF entity provides the QoS rules to the BBERF entity is the same as the time of activation and/or deactivation provided when the PCRF entity provides the PCC rules corresponding to the QoS rules to the PCEF entity; and 
         [0078]    step S 307 : the PCEF entity returns an acknowledgement message to the PCRF entity. 
         [0079]    According to the flow above, the PCRF entity provisions new or updated PCC rules and QoS rules as well as time indications of activation and/or deactivation of the PCC rules and the QoS rules to the PCEF entity and the BBERF entity simultaneously according to a request; therefore, the PCC rules or the QoS rules still can be simultaneously activated or simultaneously deactivated at a same time point. 
       Embodiment 3 
       [0080]    In this embodiment, a PCRF entity receives a trigger or request message of provisioning PCC rules and QoS rules to a PCEF entity and a BBERF entity respectively during the modification process of the IP-CAN; the PCC rules and QoS rules comprise time indications of activation and/or deactivation of the rules.  FIG. 4  shows a flowchart of a method for PCC based on a time period according to Embodiment 3 of the disclosure; as shown in  FIG. 4 , the method for PCC based on a time period comprises the following steps: 
         [0081]    step S 401 : the PCRF entity receives a message for triggering policy modification, wherein the triggering might be from an AF entity, an SPR or the PCRF entity itself; 
         [0082]    step S 402 : the PCRF entity makes a policy decision, making PCC rules and corresponding QoS rules, as well as time of activation and/or deactivation of the PCC rules and the QoS rules; this decision-making process comprises making new PCC rules and QoS rules as well as time of activation and/or deactivation of the new PCC rules and QoS rules, and updating provisioned PCC rules and QoS rules as well as time of activation and/or deactivation of theprovisioned PCC rules and QoS rules; 
         [0083]    step S 403 : the PCRF entity sends the BBERF entity a gateway control and QoS rule providing message, in which the QoS rules newly made or updated by the PCRF entity policy decision and the time of activation and/or deactivation of the new QoS rules are included; if the time of activation and/or deactivation is updated, then the BBERF entity activates or deactivates the QoS rules according to the new time; 
         [0084]    step S 404 : the BBERF entity returns an acknowledgement message to the PCRF entity; 
         [0085]    step S 405 : the PCRF entity sends the PCEF entity a policy and charging rule is providing message, in which the PCC rules newly made or updated in step S 402  and the time of activation and/or deactivation are included; the PCEF entity activates and or deactivates the PCC rules according to the time of activation and/or deactivation; 
         [0086]    the time of activation and/or deactivation provided while the PCRF entity provides the QoS rules to the BBERF entity is the same as the time of activation and/or deactivation provided while the PCRF entity provides the PCC rules corresponding to the QoS rules to the PCEF entity; and 
         [0087]    step S 406 : the PCEF entity returns an acknowledgement message to the PCRF entity. 
         [0088]    According to the flow above, the PCRF entity provisions new or updated PCC rules and QoS rules as well as time indications of activation and/or deactivation of the PCC rules and the QoS rules to the PCEF entity and the BBERF entity simultaneously according to a triggering message; therefore, the PCC rules or the QoS rules still can be simultaneously activated or simultaneously deactivated at a same time point. 
         [0089]      FIG. 5  shows a schematic diagram of a structure of a system for PCC based on a time period according to the disclosure; as shown in  FIG. 5 , the system for PCC based on a time period comprises a providing unit  50  which is located in a PCRF entity and configured to provide QoS rules as well as a time indication of activation and/or deactivation of the QoS rules to a BBERF entity. The providing unit  50  further comprises a receiving sub-unit, a making and determining sub-unit and a providing sub-unit, wherein the receiving sub-unit is configured to receive an IP-CAN session establishment request message from the BBERF entity; the making and determining sub-unit is configured to, after the receiving sub-unit receives the IP-CAN session establishment request message, make PCC rules and QoS rules corresponding to the PCC rules and determine time of activation and/or deactivation of the PCC rules and the QoS rules; the providing sub-unit is configured to provide the QoS rules and the time of activation and/or deactivation of the QoS rules to the BBERF entity through a gateway control session establishment acknowledgement message. 
         [0090]    Or, the providing unit  50  comprises a receiving sub-unit, a making and determining sub-unit and a providing sub-unit, wherein the receiving sub-unit is configured to receive a gateway control and QoS rule request message from the BBERF entity; the making and determining sub-unit is configured to, after the receiving sub-unit receives the gateway control and QoS rule request message, update and remake PCC rules and QoS rules corresponding to the PCC rules, and determine time of activation and/or deactivation of the updated or remade PCC rules and QoS rules; the providing sub-unit is configured to provide the updated or remade QoS rules and the time of activation and/or deactivation of the updated or remade QoS rules to the BBERF entity through a gateway control and QoS rule request acknowledgement message. 
         [0091]    Or the providing unit  50  comprises a receiving sub-unit, a making and determining sub-unit and a providing sub-unit, wherein the receiving sub-unit is configured to receive a request of triggering PCC rule and QoS rule modification; the making and determining sub-unit is configured to, after the receiving sub-unit receives the gateway control and QoS rule request message, update and remake PCC rules and QoS rules corresponding to the PCC rules, and determine time of activation and/or deactivation of the updated or remade PCC rules and QoS rules; the providing sub-unit is configured to provide the updated and remade QoS rules as well as the time of activation and/or deactivation of the updated and remade QoS rules to the BBERF entity through a gateway control and QoS rule request acknowledgement message, wherein the request of modifying PCC rules and QoS rules is triggered by an AF entity, or an SPR and the PCRF entity. 
         [0092]    In the disclosure, the providing unit  50  is further configured to provide PCC rules corresponding to the QoS rules and the time of activation and/or deactivation of the PCC rules to the PCEF entity, wherein the time of activation and/or deactivation of the QoS rules provided to the BBERF entity by the providing unit  50  is the same as the time of activation and/or deactivation of the PCC rules provided to the PCEF entity by the providing unit  50 . 
         [0093]    As shown in  FIG. 5 , the system for PCC based on a time period further comprises a receiving unit  51  and an execution unit  52 , wherein the receiving unit  51  is located in the is BBERF entity and configured to receive the QoS rules and the time of activation and/or deactivation of the QoS rules provided by the providing unit; the execution unit  52  is located in the BBERF entity and configured to activate and or deactivate the QoS rules according to the time of activation and/or deactivation of the QoS rules. 
         [0094]    Those skilled in the art should understand that the system for PCC based on a time period as shown in  FIG. 5  is designed for implementing the method for PCC based on a time period mentioned above; the functions of each processing unit and each processing sub-unit in the device as shown in  FIG. 5  can be understood by referring to the description in Embodiment 1 to Embodiment 3, the functions of each processing unit and each processing sub-unit can be realized by a program running on a processor or can be realized by a specific logical circuit. 
         [0095]    The above are preferred embodiments only and not intended to limit the protection scope of the disclosure.