WO2018014740A1 - Policy control method, apparatus and system - Google Patents

Policy control method, apparatus and system Download PDF

Info

Publication number
WO2018014740A1
WO2018014740A1 PCT/CN2017/092081 CN2017092081W WO2018014740A1 WO 2018014740 A1 WO2018014740 A1 WO 2018014740A1 CN 2017092081 W CN2017092081 W CN 2017092081W WO 2018014740 A1 WO2018014740 A1 WO 2018014740A1
Authority
WO
WIPO (PCT)
Prior art keywords
instance
identifier
instance identifier
media
message
Prior art date
Application number
PCT/CN2017/092081
Other languages
French (fr)
Chinese (zh)
Inventor
周晓云
梁爽
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201610884609.9A external-priority patent/CN107634838A/en
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP17830374.9A priority Critical patent/EP3487257A4/en
Priority to US16/318,274 priority patent/US10630495B2/en
Publication of WO2018014740A1 publication Critical patent/WO2018014740A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation

Definitions

  • the present application relates to, but is not limited to, the field of communications, and more particularly to a policy control method, apparatus and system.
  • FIG. 1 is a schematic diagram of an architecture of a Policy and Charging Control (PCC) defined according to the 3rd Generation Partnership Project (3GPP).
  • the Policy and Charging Rules Function (PCRF) is used to determine the quality of service (QoS) and charging policy for the service using network resources.
  • the PCRF needs to combine the service information received from the application function (AF, Application Function), the user subscription information received from the SPR (Subscription Profile Repository), and the policy configured by the operator.
  • the PCRF sends the control policy for the service to the Policy and Charging Enforcement Function (PCEF) or the Bearer Binding and Event Report Function (BBERF).
  • PCEF Policy and Charging Enforcement Function
  • BBERF Bearer Binding and Event Report Function
  • the PCRF can subscribe to the bearer layer related events to the PCEF and/or the BBERF, so that when the above events occur in the bearer layer, it can be perceived in time and change the control strategy.
  • the PCEF and the Traffic Detection Function can perform application detection and control functions according to the PCC rules (PCEF) or the Application and Detection Control (ADC) issued by the PCRF.
  • PCEF PCC rules
  • ADC Application and Detection Control
  • the AF requests the QoS authorization of the network to allocate resources for the application at the network layer by providing service information to the PCRF.
  • 2 is a flow chart of network QoS guarantee according to AF request, including:
  • Step 201 The AF provides service information to the PCRF, where the message carries service information, including a media description component (carried by the Media-Component-Description AVP);
  • AAR authorization request sent by the AF to the PCRF to provide service information
  • AAR authorization request
  • the format of the authorization request (AAR) message is as follows: one AAR message can have zero, one or more media description components:
  • a Media-Component-Description AVP can carry zero, one or more Media-Sub-Component AVPs.
  • Media-Component-Number is used to identify a Media-Component-Description:
  • the format of the Media-Sub-Component AVP is as follows, where Flow-Number is used to identify a Media-Sub-Component:
  • Step 202 The PCRF returns a confirmation message after saving the information.
  • Step 203 The PCRF makes a policy decision according to the network policy, service information, and user subscription information, and formulates a PCC rule.
  • the PCRF may need to interact with the SPR to obtain the user's subscription information;
  • Step 204 The PCRF provides the PCC rule formulated after the policy decision to the PCEF.
  • Step 205 After the PCEF installs the PCC rule, the PCEF returns an acknowledgement message.
  • Step 206 The PCEF initiates a resource reservation process according to the PCC rule.
  • Step 207 After the PCRF provides the PCEF to the PCC rule (ie, after step S204), the PCRF receives the updated service information again, and carries the updated media description component.
  • Step 208 The PCRF returns an acknowledgement message after saving the updated service information.
  • Step 209 The PCRF performs policy decision according to the network policy, service information, and user subscription information, and updates the previous PCC rule.
  • Step 210 The PCRF provides the updated PCC rule to the PCEF.
  • Step 211 After the PCEF installs the PCC rule, the PCEF returns an acknowledgement message.
  • Step 212 The PCRF initiates a resource reservation process according to the installed PCC rules.
  • Step 213 After that, the PCEF receives the response message of the resource reservation process initiated by step 206, indicating that the resource reservation fails.
  • Step 214 The PCEF sends an event notification to the PCRF, carrying a resource reservation failure indication and a corresponding PCC rule name.
  • Step 215 The PCRF returns an acknowledgement message to the PCEF.
  • Step 216 The PCRF sends an event notification to the AF, and carries a resource reservation failure indication and a flow identifier.
  • the format of the RAR message that the PCEF sends an event notification to the PCRF is as follows.
  • the Specific-Action AVP is used to carry the resource reservation failure indication, and the Flows AVP is used to carry the flow identifier:
  • Step 217 The AF returns an acknowledgement message to the PCRF.
  • the AF since the AF reserves the failure feedback after the AF sends the updated service information to the PCRF, the AF cannot determine whether the resource reservation of the initially provided service information fails or the resource of the updated service information. The reservation failed.
  • the PCRF since the PCRF is the resource reservation failure feedback received after the PCC rule is updated to the PCEF, the PCRF cannot determine whether the initially provided PCC rule resource reservation failure or the updated PCC rule resource reservation failure.
  • the above problem also exists after the initial resource reservation is successful, and the AF continuously updates the service information.
  • the AF will not know which resource information update corresponding to the resource reservation fails.
  • the AF is also unable to prepare to know which resource information update corresponding resource reservation is successful.
  • the embodiment of the invention provides a policy control method, device and system, so that the AF correctly knows the resource reservation result.
  • a policy control method including: receiving a first message indicating a resource allocation result, and determining a corresponding second instance identifier according to the first instance identifier in the first message
  • the first instance identifier is an instance identifier corresponding to a policy rule instance that performs resource allocation
  • the second instance identifier is an instance identifier corresponding to a media component instance or a media subcomponent instance used to formulate the policy rule instance.
  • receiving the first message for indicating a resource allocation result includes: receiving, by the policy and charging execution function, a first message sent by the PCEF entity to indicate a resource allocation result; or receiving the bearer binding and The event reporting function sends a first message sent by the BBERF entity to indicate the result of the resource allocation.
  • the first instance identifier carries the indication information of the service information triggering policy decision or the indication information of the second instance identifier corresponding to the first instance identifier.
  • the indication information is an identifier bit or a specific value interval in the value of the first instance identifier.
  • the method before determining the second instance identifier according to the first instance identifier in the first message, the method further includes one of the following:
  • the receiving, by the AF entity, the second instance identifier includes: receiving the second instance identifier that is allocated by the AF entity to the media component instance; the method further includes: Determining one or more PCC rule instances according to the media component instance, wherein the first instance identifier corresponding to the second instance identifier is carried in the one or more PCC rule instances.
  • the formulating one or more PCC rule instances according to the media component instance includes: when the PCC rule instance is formulated according to the media component instance, when the media component instance carries multiple media subcomponents, The PCC rule instance is generated by aggregating the plurality of media sub-components; or, when the PCC rule instance is configured according to the media component instance, each PCC rule instance carries the first instance identifier.
  • the allocating the second instance identifier to the media component instance or the media subcomponent instance includes: if the PCC rule instance is formulated according to the media component instance, assigning the The second instance identifier is allocated to the media subcomponent instance if the PCC rule instance is formulated according to one or more media subcomponent instances.
  • the method before receiving the first message for indicating the resource allocation result, the method further includes: allocating a first instance identifier to the PCC rule instance, wherein the first instance identifier is determined according to the second instance identifier.
  • the relationship between the second instance identifier and the first instance identifier meets one of the following:
  • the value of the second instance identifier is the same as the value of the first instance identifier
  • the value of the second instance identifier is calculated according to the value of the first instance identifier according to the configuration
  • the value of the second instance identifier is obtained according to the correspondence between the first instance identifier and the second instance identifier saved by the PCRF.
  • the first message further carries a rule identifier of the policy rule instance
  • the second message further carries an identifier of the media component instance or an identifier of the media subcomponent instance, where the The rule identification is used to determine the media component instance or the media subcomponent instance.
  • the method further comprises: returning the second instance identifier to the AF, and providing the media component instance or media sub The identity of the component.
  • a policy control apparatus including: a first receiving module, configured to receive a first message for indicating a resource allocation result, and according to a first instance in the first message The identifier determines a corresponding second instance identifier, where the first instance identifier is an instance identifier corresponding to a policy rule instance that performs resource allocation, and the second instance identifier is a media component instance used to formulate the policy rule instance or An instance identifier corresponding to the media sub-component instance; the sending module is configured to send, to the application function AF entity, a second message that is used to indicate a resource allocation result, where the second message carries the second instance identifier.
  • the first receiving module includes: a first receiving unit, configured to receive a first message sent by a PCEF entity for indicating a resource allocation result by a policy and charging execution function; or a second receiving unit And being configured to receive the first message sent by the BBERF entity sent by the bearer binding and event reporting function to indicate a resource allocation result.
  • the apparatus further includes: a second receiving module, configured to receive, before the first receiving module determines the second instance identifier according to the first instance identifier in the first message, Said second instance identifier assigned by the AF entity; or an allocation module configured to allocate the second instance identifier for the media component instance or the media subcomponent instance.
  • the second receiving module is configured to: receive the second instance identifier that is allocated by the AF entity for the media component instance; and the device further includes: formulating a rule module, configured to be according to the media component The instance formulates one or more instances of the PCC rule, wherein the first instance identifier corresponding to the second instance identifier is carried in the one or more PCC rule instances.
  • the allocating module is configured to: assign a second instance identifier to the media component instance if a PCC rule instance is formulated according to the media component instance; or if according to one or more media subcomponents The instance formulates a PCC rule instance, and then assigns the second instance identifier to the media subcomponent instance.
  • the first instance identifier carries the indication information of the service information triggering policy decision or the indication information of the second instance identifier corresponding to the first instance identifier.
  • the indication information is an identifier bit or a specific value interval in the value of the first instance identifier.
  • the first message further carries a rule identifier of the policy rule instance
  • the second message further carries an identifier of the media component instance or an identifier of the media subcomponent instance, where the The rule identification is used to determine the media component instance or the media subcomponent instance.
  • the sending module is further configured to: after the assigning module allocates the second instance identifier to the media component instance, return the second instance identifier to the AF, and provide the The identity of the media component instance or media subcomponent instance.
  • a policy control system including: a policy and charging rule function PCRF entity and an AF entity, where the PCRF entity includes: a first receiving module, configured to receive for indicating resource allocation The first message of the result, and according to the first message
  • the first instance identifier determines a corresponding second instance identifier, where the first instance identifier is an instance identifier corresponding to a policy rule instance that performs resource allocation, and the second instance identifier is used to formulate the policy rule instance
  • the AF entity is set to: receive the second message.
  • the AF entity is further configured to allocate the second instance identifier; or the PCRF entity is further configured to assign the second instance identifier to the media component instance or the media subcomponent.
  • a storage medium is also provided.
  • the storage medium is arranged to store program code for performing the following steps:
  • first instance identifier is a policy rule instance corresponding to performing resource allocation
  • second instance identifier is an instance identifier corresponding to a media component instance or a media subcomponent instance used to formulate the policy rule instance
  • a first message for indicating a resource allocation result is received, and a corresponding second instance identifier is determined according to the first instance identifier in the first message, where the first instance identifier is an execution resource.
  • the second message of the second message carries the second instance identifier. The AF can be made to know the resource reservation result correctly.
  • 1 is a schematic diagram of a PCC architecture defined by 3GPP;
  • FIG. 3 is a flowchart of a policy control method according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a policy control apparatus according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a policy control system according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a policy control according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of a third policy control according to Embodiment 3 of the present invention.
  • FIG. 9 is a schematic flowchart of a policy control according to Embodiment 4 of the present invention.
  • FIG. 3 is a flowchart of a policy control method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps. step:
  • Step S302 Receive a first message for indicating a resource allocation result, and determine a corresponding second instance identifier according to the first instance identifier in the first message, where the first instance identifier is a policy rule instance corresponding to performing resource allocation.
  • Step S304 Send a second message for indicating a resource allocation result to the application function AF entity, where the second message carries the second instance identifier.
  • the policy rule instance refers to the initial provision of the policy rule or a certain time.
  • New; media component instance or media subcomponent instance refers to the initial or some update of a media component or media subcomponent.
  • the first message that is used to indicate the resource allocation result is received, and the corresponding second instance identifier is determined according to the first instance identifier in the first message, where the first instance identifier is a policy rule instance corresponding to performing resource allocation.
  • An instance identifier, the second instance identifier is an instance identifier corresponding to the media component instance or the media subcomponent instance used to formulate the policy rule, and the second function is sent to the application function AF entity to indicate the resource allocation result.
  • the second instance identifier The AF can be made to know the resource reservation result correctly.
  • an Instance Identifier may also be referred to as an Update Counter, a sequence number, a Reference Number, or an Update Instance identifier.
  • the execution body of the above steps may be a PCRF or the like, but is not limited thereto.
  • the receiving the first message for indicating the resource allocation result includes the following two methods: receiving the first message sent by the PCEF entity for indicating the resource allocation result by the policy and charging execution function; or receiving The first message sent by the BBERF entity to the bearer binding and event reporting function to indicate the resource allocation result.
  • the first instance identifier carries the indication information of the service information triggering policy decision or the indication information of the second instance identifier corresponding to the first instance identifier.
  • the indication information is one or more identifier bits or a specific one or more value intervals in the first instance identifier value.
  • the second instance identifier may also be allocated by using the external node or itself, including:
  • the method when receiving the second instance identifier allocated by the AF entity, the method may further include:
  • formulating one or more PCC rule instances according to the media component instance includes: when a PCC rule instance is formulated according to the media component instance, when the media component carries multiple media subcomponents, the multiple media subcomponents are aggregated After the PCC rule instance is created, each PCC rule instance carries the first instance identifier.
  • the method when assigning the second instance identifier to the media component instance or the media subcomponent instance, the method further includes: assigning a second to the media component instance if the PCC rule instance is formulated according to the media component instance An instance identifier; or, if a PCC rule instance is formulated based on one or more media subcomponent instances, assign a second instance identifier to the media subcomponent instance.
  • the method may further perform: returning the second instance identifier to the AF, and providing the identifier of the media component instance or the media subcomponent instance.
  • the embodiment before receiving the first message for indicating the resource allocation result, the embodiment further includes: allocating a first instance identifier to the PCC rule, wherein the first instance identifier is determined according to the second instance identifier.
  • the relationship between the second instance identifier and the first instance identifier meets one of the following: the value of the second instance identifier is the same as the value of the first instance identifier; The value is obtained according to the configuration of the first instance identifier. The value of the second instance identifier is obtained according to the correspondence between the first instance identifier and the second instance identifier saved by the PCRF.
  • the first message further carries a rule identifier of the policy rule instance
  • the second message further carries an identifier of the media component instance or an identifier of the media subcomponent instance, wherein the rule identifier is used to determine the media component instance or the media subcomponent Example.
  • the rule identifier may be a rule name.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the embodiment of the present invention may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), and includes a plurality of instructions for making a terminal device.
  • a storage medium such as a ROM/RAM, a magnetic disk, an optical disk
  • the method of various embodiments of the present invention (which may be a cell phone, a computer, a server, or a network device, etc.).
  • a policy control device and a system are provided to implement the foregoing embodiments and implementation manners, which have not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 4 is a structural block diagram of a policy control apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes:
  • the first receiving module 40 is configured to receive a first message for indicating a resource allocation result, and determine a corresponding second instance identifier according to the first instance identifier in the first message, where the first instance identifier is used to perform resource allocation.
  • the sending module 42 is configured to send a second message for indicating a resource allocation result to the application function AF entity, where the second message carries the second instance identifier.
  • the first receiving module 40 further includes: a first receiving unit, configured to receive a first message sent by the PCEF entity for indicating a resource allocation result by the policy and charging execution function; or
  • the second receiving unit is configured to receive a first message sent by the BBERF entity sent by the bearer binding and event reporting function to indicate a resource allocation result.
  • the device further includes: a second receiving module, configured to receive the second instance identifier allocated by the AF entity before the first receiving module determines the second instance identifier according to the first instance identifier in the first message; Or, an allocation module, configured to assign a second instance ID to a media component instance or a media subcomponent instance.
  • the second receiving module is configured to: the device further includes: a formulating module, configured to receive a second instance identifier allocated by the AF entity for the media component instance; and one or more according to the media component instance The PCC rule instance, wherein the first instance identifier corresponding to the second instance identifier is carried in one or more PCC rule instances.
  • the allocation module is configured to: assign a second instance identifier to the media component instance if the PCC rule instance is formulated according to the media component instance; or if the PCC rule instance is formulated according to one or more media subcomponent instances , the second instance ID is assigned to the media subcomponent instance.
  • the sending module is further configured to: after the assigning module allocates the second instance identifier to the media component instance, return a second instance identifier to the AF, and provide an identifier of the media component instance or the media subcomponent instance.
  • the first instance identifier carries the indication information of the service information triggering policy decision or the indication information of the second instance identifier corresponding to the first instance identifier.
  • the indication information is an identifier bit or a specific value interval in the value of the first instance identifier.
  • the first message further carries a rule identifier of the policy rule instance
  • the second message further carries an identifier of the media component instance or an identifier of the media subcomponent, wherein the rule identifier is used to determine the media component instance or the media subcomponent instance .
  • FIG. 5 is a structural block diagram of a policy control system according to an embodiment of the present invention. As shown in FIG. 5, the method includes:
  • the PCRF entity 50 includes:
  • the first receiving module 502 is configured to receive a first message for indicating a resource allocation result, and determine a corresponding second instance identifier according to the first instance identifier in the first message, where the first instance identifier is configured to perform resource allocation.
  • the sending module 504 is configured to send, to the application function AF entity, a second message that is used to indicate a resource allocation result, where the second message carries the second instance identifier.
  • the AF entity 52 is arranged to receive the second message.
  • the AF entity 52 is further configured to assign the second instance identification; or the PCRF entity 50 is further configured to assign a second instance identification to the media component instance or the media subcomponent instance. That is, the second instance identification can be obtained by the AF entity 52 and the PCRF entity 50.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • This embodiment provides a method for policy control, so that the AF can correctly learn the resource reservation result.
  • the PCRF allocates a first instance identifier to the PCC rule, where the first instance identifier carries a second instance identifier corresponding to the first instance identifier, and the second instance identifier is a corresponding service information used to customize the PCC rule. Instance ID.
  • the PCRF After receiving the message of the resource allocation result sent by the bearer binding function (BBERF/PCEF), the PCRF sends a message of the resource allocation result to the AF after determining the second instance identifier according to the first instance identifier in the message, and carries the message The second instance identifier.
  • BBERF/PCEF bearer binding function
  • the second instance identifier is assigned by an application function or by a PCRF.
  • the application function allocates one of the second instance identifiers for each media component instance in the service information, and the PCRF formulates one or more according to the media component instance.
  • the PCC rule instance carries the first instance identifier of the same value in the PCC rule instance.
  • the PCRF is a second instance identifier for assigning the same value to the media subcomponent instance for formulating the same PCC rule instance.
  • FIG. 6 is a schematic flowchart of a policy control according to an embodiment of the present invention, in which an Rx instance identifier is allocated by a PCRF, and the Rx instance identifier and the Gx instance identifier are in one-to-one correspondence. Includes the following steps:
  • Step 601 The AF provides service information to the PCRF, where the message carries service information, including one or more media components (carried in the Media-Component-Description AVP);
  • Step 602 The PCRF makes a policy decision according to the network policy, service information, and user subscription information, and formulates a PCC rule.
  • the PCRF may need to interact with the SPR to obtain the user's subscription information.
  • the PCRF may formulate a PCC rule according to a media subcomponent (carrying in the Media-Sub-Component AVP) (ie, if a Media-Component-Description AVP carries 2 Media-Sub-Component AVPs)
  • the PCRF will formulate two PCC rules.
  • the PCRF may also aggregate multiple Media Sub Components in a Media Component to generate a PCC rule.
  • the PCRF formulates a PCC rule based on a Media Sub Component
  • the PCRF will assign an Rx instance identifier (Reference number) to the Media Sub Component (here denoted as the Rx instance identifier a); if the PCRF is 2 or more Media Subs
  • the Component has a PCC rule, and the PCRF will assign one Rx instance identifier (Reference number) to the two or more Media Sub Components (here denoted as the Rx instance identifier a); if the PCRF has a PCC rule for the Media Component, then The PCRF will assign an Rx instance number to the Media Component (ie, the same as assigning the same Reference number to all Media Sub Components in the Media Component).
  • the Rx instance identifier a identifies the initial provision of the Media Component or Media Sub Component (which may be considered to be the initial provisioning instance identifying the Media Component or Media Sub Component).
  • the Gc instance identifier is carried in the PCC rule, here denoted as the Gx instance identifier a.
  • the value of the Gx instance identifier can be the same as the value of the Rx instance identifier, or the value of the Gx instance identifier can be derived based on the value of the Rx instance identifier. That is, the Gx instance identifier and the Rx instance identifier are in one-to-one correspondence.
  • the Gx instance identifier carries the indication information indicating the policy decision triggered by the service information (that is, the Gx instance identifier corresponds to one Rx instance identifier).
  • the indication information may be that an identifier bit is set in the value of the Gx instance identifier, or a specific value interval is allocated.
  • the Gx instance identifier a identifies the initial provision of a PCC rule (which may be considered to be the initial provisioning instance that identifies this PCC rule).
  • Step 603 The PCRF returns an acknowledgement message, and the message carries the flow identifier (carried by the Flows AVP) and carries the corresponding Rx instance identifier (here, the Rx instance identifier a), and is carried by the Reference-Number AVP. If the PCRF assigns the same Reference Number to a Media Component, the Flow only needs to carry the Media Component Number of the Media Component (using Media-Component-Number AVP) and the corresponding Rx instance identifier; if the PCRF is different in a Media Component The Media Sub Component is assigned a different Reference Number.
  • the Flow AVP In addition to the Media Component Number carrying the Media component, the Flow AVP also carries the Flow Number of the Sub Sub Component (carryed by the Flow-Number AVP) and the corresponding Reference Number. Through this message, the AF knows the Reference Number of each Media Sub Component.
  • the PCRF may return a response message carrying the Rx instance identifier to the AF, and then formulate a PCC rule.
  • Step 604 The PCRF provides the PCC rule formulated after the policy decision to the PCEF.
  • Step 605 After the PCEF installs the PCC rule, the PCEF returns an acknowledgement message.
  • Step 606 The PCEF initiates a resource reservation process according to the PCC rule.
  • Step 607 After the PCRF provides the PCEF to the PCC rule (ie, after step S604), the PCRF receives the updated service information, and carries the updated media component (ie, a new instance of the previously provided media component).
  • the updated media component ie, a new instance of the previously provided media component.
  • AF only sends media components that need to be updated. AF can also Provide complete business information (including updated media components and unupdated media components)
  • Step 608 The PCRF performs policy decision according to the network policy, service information, and user subscription information, and updates the previous PCC rule. If the updated media component is carried, the following steps are also performed: if a new Sub Component is added and a new PCC rule is created for it, the PCRF assigns a Gx instance identifier b to the PCC rule, and assigns an Rx instance identifier b to the Sub Component; The Sub-Component is added and the previous PCC rule is updated according to the newly added Sub Component. The PCRF allocates a new Gx instance identifier b to the PCC rule, and assigns a new Rx instance identifier b to all Sub Components corresponding to the PCC rule.
  • the PCRF allocates a new Gx reference post number b to the PCC rule, and assigns a new Rx instance identifier b to all Sub Components corresponding to the PCC rule.
  • the value of the Gx instance identifier b may be the same as the value of the Rx instance identifier b, or the value of the Gx instance identifier b and the value of the Rx instance identifier b may be derived from each other. That is, the Gx instance identifier b and the Rx instance identifier b are one-to-one correspondence.
  • the Gx instance identifier carries the indication information indicating the policy decision triggered by the service information (that is, the Gx instance identifier corresponds to one Rx instance identifier).
  • the indication information may be that an identifier bit is set in the value of the Gx instance identifier, or a specific value interval is allocated.
  • the Rx instance identifier b identifies the first update of this Media Component or Media Sub Component (which can be thought of as the first update instance identifying this Media Component or Media Sub Component).
  • the Gx instance identifier b identifies the first update of this PCC rule (which may be considered to be the first update instance identifying this PCC rule).
  • Step 609 The PCRF returns an acknowledgement message, and the message carries the flow identifier (carried by the Flows AVP) and carries the corresponding Rx instance identifier b therein, and is carried by the Reference-Number AVP. If the PCRF allocates the same Reference Number to a Media Component, Flow only needs to carry the Media Component Number of the Media Component (with Media-Component-Number AVP) and the corresponding Rx instance to identify b; if the PCRF is a Media Component Different Media SubComponents are assigned different Rx instance identifiers a.
  • the Flows AVP In addition to the Media Component Number carrying the Media component, the Flows AVP also carries the Flow Number of the Sub Sub Component ( carried by the Flow-Number AVP) and the corresponding Rx instance identifier. b. Through this message, AF knows each Media Sub The instance ID of the Component.
  • the PCRF may return a response message carrying the Rx instance identifier to the AF, and then formulate a PCC rule.
  • Step 610 The PCRF provides the updated PCC rule to the PCEF, and the PCC rule carries the Gx instance identifier b.
  • Step 611 After the PCEF installs the PCC rule, the PCEF returns an acknowledgement message.
  • Step 612 The PCRF initiates a resource reservation process according to the installed PCC rule.
  • Step 613 After step 610, the PCRF may need to further update the PCC rules for some reason (for example, the network policy changes, the user subscription changes, the access network changes, etc.), the PCRF makes policy decisions, updates the PCC rules, and
  • the PCC rule carries a new Gx instance identifier (here denoted as a Gx instance identifier ').
  • the Gx instance identifier indicates that the policy decision triggered by the non-service information is carried out (that is, the Gx instance identifier does not correspond to an Rx instance identifier).
  • the identifier may be set in the value of the Gx instance identifier, or a specific value interval may be allocated (that is, the Gx instance identifier corresponding to the Rx instance identifier and the Gx corresponding to the Rx instance identifier).
  • the instance IDs belong to different value ranges.
  • Step 614 The PCRF provides the updated PCC rule to the PCEF, and the PCC rule carries the Gx. Instance identification’;
  • Step 615 After the PCEF installs the PCC rule, the PCEF returns a confirmation message.
  • Step 616 The PCRF initiates a resource reservation process according to the installed PCC rule.
  • Step 617 After this, the PCEF receives the response message of the resource reservation process, indicating that the resource reservation fails.
  • Step 618 The PCEF sends an event notification to the PCRF, carrying a resource reservation failure indication (carried by the Event-Trigger AVP), and a corresponding PCC rule (carried by the Charging-Rule-Report AVP).
  • the failure indication received by the PCEF is the response of the resource reservation process initiated by the PCEF in step 606
  • the message sent by the PCEF to the PCRF further carries the Gx instance identifier a (using the Reference-Number AVP)
  • the failure indication received by the PCEF is the response of the resource reservation process initiated by the PCEF in step 612, and the message sent by the PCEF to the PCRF further carries the Gx instance identifier b (using the Reference-Number AVP);
  • the failure indication received by the PCEF is the response of the resource reservation procedure initiated by the PCEF in step 616, and the message sent by the PCEF to the PCRF further carries the Gx instance identifier '(with Reference-Number AVP).
  • Step 619 The PCRF returns an acknowledgement message to the PCEF.
  • Step 620 If the PCEF reports that the Gx instance identifier is the Gx instance identifier a or the Gx instance identifier b, the PCRF determines the Rx instance identifier a or the Rx instance identifier b according to the Gx instance identifier a or the Gx instance identifier b. (The PCRF can derive the Rx instance ID from the Gx instance identifier according to the configuration). The PCRF sends an event notification to the AF, carrying a resource reservation failure indication (carried by the Specific-Action AVP), and a flow identifier (carried by the Flows AVP).
  • a resource reservation failure indication carried by the Specific-Action AVP
  • a flow identifier carried by the Flows AVP
  • the Flows AVP carries the corresponding Rx instance identifier a. If the PCRF receives the Gx instance identifier b, the Flows AVP carries the corresponding Rx instance identifier b. . In this way, according to the Rx instance identifier a or the Rx instance identifier b, the AF can determine which resource information of the provided service information has failed to be allocated; (here, the allocation result is an allocation failure)
  • Step 621 The AF returns an acknowledgement message to the PCRF.
  • the last embodiment only describes a scenario in which the AF continuously provides 2 times of service information, and the scenario is similar for the case where the AF continuously provides 3 or more scenes.
  • the PCRF is allocated according to the allocation principle of the Rx instance identifier and the Gx instance identifier.
  • the Rx instance identifier and the Gx instance identifier are allocated by the PCRF, and after the resource allocation of the initial service information is failed, the corresponding Rx instance identifier and the Gx instance identifier are reported.
  • the instance identifier may not be assigned when the service information is initially provided. In this way, as long as the instance identifier is not carried in the reported information, it indicates that the resource allocation of the initially provided service information fails.
  • the PCRF is not required to save the actual correspondence between the Gx instance identifier and the Rx instance identifier, but the PCRF may derive the Rx instance identifier according to the Gx instance identifier according to the configured method.
  • the PCRF can also save the correspondence between the Gx reference number and the Rx reference number to implement mapping between each other.
  • the PCRF updates the established PCC rules based on new instances of media components or media subcomponents that may be considered to be new instances of PCC rules based on new instances of media components or media subcomponents.
  • FIG. 7 is a schematic flowchart of policy control according to Embodiment 2 of the present invention, including the following steps:
  • Step 401 The AF provides service information to the PCRF, where the message carries service information, including one or more media components (carried in the Media-Component-Description AVP);
  • Step 402 The PCRF performs policy decision according to the network policy, service information, and user subscription information, and formulates a PCC rule.
  • the PCRF may need to interact with the SPR to obtain the user's subscription information.
  • the PCRF may formulate a PCC rule according to a media subcomponent (carrying in the Media-Sub-Component AVP) (ie, if a Media-Component-Description AVP carries 2 Media-Sub-Component AVPs)
  • the PCRF will formulate two PCC rules.
  • the PCRF may also aggregate multiple Media Sub Components in a Media Component to generate a PCC rule.
  • the PCRF formulates a PCC rule based on a Media Sub Component
  • the PCRF will assign an Rx instance identifier (Reference number) to the Media Sub Component (here denoted as the Rx instance identifier a); if the PCRF is 2 or more Media Subs
  • the Component has a PCC rule, and the PCRF will assign one Rx instance identifier (Reference number) to the two or more Media Sub Components (here denoted as the Rx instance identifier a); if the PCRF has a PCC rule for the Media Component, then The PCRF will assign an Rx instance number to the Media Component (ie, the same as assigning the same Reference number to all Media Sub Components in the Media Component).
  • the Gx instance identifier is carried in the PCC rule, which is represented as the Gx instance identifier a, and carries the Gxx instance identifier in the QoS rule, which is represented as the Gxx instance identifier a.
  • the Gx instance ID and the Gxx instance ID have the same value.
  • the value of the Gx/Gxx instance identifier may be the same as the value of the Rx instance identifier, or the value of the Gx/Gxx instance identifier may be derived according to the value of the Rx instance identifier. That is, the Gx/Gxx instance identifier and the Rx instance identifier are in one-to-one correspondence.
  • the Gx/Gxx instance identifier carries the indication information indicating the policy decision triggered by the service information (that is, the Gx/Gxx instance identifier corresponds to one Rx instance identifier).
  • the indication information may be that an identifier bit is set in the value of the Gx instance identifier, or a specific value interval is allocated.
  • the Rx instance identifier a identifies the initial provision of this Media Component or Media Sub Component (which can be considered as the initial mention of identifying this Media Component or Media Sub Component). For example).
  • the Gx/Gxx instance identification a identifies the initial provision of this PCC/QoS rule (which can be considered as an initial provisioning instance identifying this PCC/QoS rule).
  • Step 403 The PCRF returns an acknowledgement message, and the message carries the flow identifier (carried by the Flows AVP) and carries the corresponding Rx instance identifier therein, and is carried by the Reference-Number AVP. If the PCRF assigns the same Reference Number to a Media Component, the Flow only needs to carry the Media Component Number of the Media Component (using Media-Component-Number AVP) and the corresponding Rx instance identifier; if the PCRF is different in a Media Component The Media Sub Component is assigned a different Reference Number.
  • the Flow AVP In addition to the Media Component Number carrying the Media component, the Flow AVP also carries the Flow Number of the Sub Sub Component (carryed by the Flow-Number AVP) and the corresponding Reference Number. Through this message, the AF knows the Reference Number of each Media Sub Component.
  • the PCRF may return a response message carrying the Rx instance identifier to the AF, and then formulate a PCC/QoS rule.
  • Step 404 The PCRF provides the PCC rule formulated after the policy decision to the PCEF.
  • Step 405 After the PCEF installs the PCC rule, the PCEF returns an acknowledgement message.
  • Step 406 The PCRF provides a QoS rule to the BBERF.
  • Step 407 The BBERF returns an acknowledgement message.
  • Step 408 The PCEF initiates a resource reservation process according to the QoS rule.
  • Step 409 After the PCRF provides the BBERF to the QoS rule (ie, after step S406), the PCRF receives the updated service information, and carries the updated media component (ie, a new instance of the previously provided media component).
  • the updated media component ie, a new instance of the previously provided media component.
  • AF only sends media description components that need to be updated. AF can also provide complete business information (including updated media components and unupdated media components).
  • Step 410 The PCRF performs policy decision according to the network policy, service information, and user subscription information, and updates the previous PCC rule. If the updated media component is carried, the following steps are also performed: if a new Sub Component is added and a new PCC/QoS rule is created for it, the PCRF assigns a Gx instance identifier b to the PCC rule, and assigns a Gxx instance identifier b to the QoS rule. And assigning the Rx instance identifier b to the Sub Component; if the Sub Component is added and the previous PCC/QoS rule is updated according to the newly added Sub Component, the PCRF allocates a new Gx instance identifier b/Gxx instance for the PCC/QoS rule.
  • a new Rx instance identifier b is assigned to all Sub Components corresponding to the PCC/QoS rule.
  • the value of the Gx instance identifier b/Gxx instance identifier b may be the same as the value of the Rx instance identifier b, or the value of the Gx instance identifier b/Gxx instance identifier b and the value of the Rx instance identifier b may be deduced from each other. That is, the Gx instance identifier b/Gxx instance identifier b and the Rx instance identifier b are one-to-one correspondence. Similarly, the Gx instance identifier b/Gxx instance identifier b carries the indication information indicating the policy decision triggered by the service information (that is, the Gx instance identifier corresponds to one Rx instance identifier).
  • the indication information when the indication information is actually implemented, it may be that an identifier bit is set in the value of the Gx instance identifier, or a specific value interval is allocated.
  • the Rx instance identifier b identifies the first update of this Media Component or Media Sub Component (which can be thought of as the first update instance identifying this Media Component or Media Sub Component).
  • the Gx/Gxx instance identification b identifies the first update of this PCC/QoS rule (which can be considered as the first update instance identifying this PCC/QoS rule).
  • Step 411 The PCRF returns an acknowledgement message, and the message carries the flow identifier (using Flows AVP). Carrying and carrying the corresponding Rx instance identifier a, carried by the Reference-Number AVP. If the PCRF allocates the same Reference Number to a Media Component, Flow only needs to carry the Media Component Number of the Media Component (with Media-Component-Number AVP) and the corresponding Rx instance to identify b; if the PCRF is a Media Component Different Media Sub Components are assigned different Rx instance identifiers b.
  • the Flow AVP In addition to the Media Component Number carrying the Media component, the Flow AVP also carries the Flow Number of the Sub Sub Component ( carried by the Flow-Number AVP) and the corresponding Rx instance identifier. b. Through this message, the AF knows the instance ID of each Media Sub Component.
  • Step 412 The PCRF provides the updated PCC rule to the PCEF, and the PCC rule carries the Gx instance identifier a;
  • Step 413 After the PCEF installs the PCC rule, the PCEF returns a confirmation message.
  • Step 414 The PCRF provides a QoS rule to the BBERF.
  • Step 415 After installing the QoS rule, the BBERF returns an acknowledgement message to the PCRF.
  • Step 416 The PCRF initiates a resource reservation process according to the installed QoS rule.
  • Step 417 After step 414, the PCRF may need to further update the PCC rules for some reason (such as a change in the network policy, a change in the subscription of the user, a change in the access network, etc.), and the PCRF makes policy decisions and updates the PCC/QoS rules.
  • the new Gx instance identifier (here denoted as Gx instance identifier ') is carried in the PCC rule, and the QoS rule carries a new Gxx instance identifier (here denoted as Gxx instance identifier ').
  • the Gx/Gxx instance identifier indicates that the policy decision triggered by the non-service information is triggered (that is, the Gx/Gxx instance identifier does not correspond to an Rx instance identifier).
  • the indication information when the indication information is actually implemented, it may be that an identifier bit is set in the value of the Gx/Gxx instance identifier, or a specific value interval is allocated (that is, the Gx/Gxx instance identifier corresponding to the Rx instance identifier and the Rx instance are not associated with the Rx instance identifier.
  • the corresponding Gx/Gxx instance identifiers belong to different value ranges.
  • the Gx/Gxx instance identifies 'identifies the second update of this PCC/QoS rule (which can be considered as the second update instance identifying this PCC/QoS rule).
  • Step 418 The PCRF provides the updated PCC rule to the PCEF, and the PCC rule carries the Gx instance identifier ';
  • Step 419 After the PCEF installs the PCC rule, the PCEF returns a confirmation message.
  • Step 420 The PCRF provides a QoS rule to the BBERF.
  • Step 421 After installing the QoS rule, the BBERF returns an acknowledgement message to the PCRF.
  • Step 422 The PCRF initiates a resource reservation process according to the installed BBERF rule.
  • Step 423 After that, the BBERF receives the response message of the resource reservation process, indicating that the resource reservation fails.
  • Step 424 The BBERF sends an event notification to the PCRF, carrying a resource reservation failure indication (carried by the Event-Trigger AVP), and a corresponding QoS rule (carried by the QoS-Rule-Report AVP). If the failure indication received by the BBERF is the response of the resource reservation procedure initiated by the BBERF in step 408, the message sent by the BBERF to the PCRF further carries the Gxx instance identifier a (using the Reference-Number AVP); In step 423, the failure indication received by the BBERF is the response of the resource reservation procedure initiated by the BBERF in step 416, and the message sent by the BBERF to the PCRF further carries the Gxx instance identifier b (using the Reference-Number AVP).
  • the message sent by the BBERF to the PCRF further carries the Gx instance identifier '(with Reference-Number AVP) where Reference- The Number AVP is carried in the QoS-Rule-Report AVP.
  • Step 425 The PCRF returns an acknowledgement message to the BBERF.
  • Step 426 If the BBERF reports that the Gxx instance identifier is the Gxx instance identifier a or the Gxx instance identifier b, the PCRF determines the Rx instance identifier a or the Rx instance identifier b according to the Gxx instance identifier a or the Gxx instance identifier b. The PCRF sends an event notification to the AF, carrying a resource reservation failure indication (carried by the Specific-Action AVP), and a flow identifier (carried by the Flows AVP). If the PCRF receives the Gxx instance identifier a in step 424, the Flows AVP carries the corresponding Rx instance identifier a.
  • the Flows AVP carries the corresponding Rx instance identifier b. .
  • the AF can determine which resource information of the provided service information fails to be allocated;
  • Step 427 The AF returns an acknowledgement message to the PCRF.
  • the last embodiment only describes a scenario in which the AF continuously provides 2 times of service information, and the scenario is similar for the case where the AF continuously provides 3 or more scenes.
  • the PCRF is allocated according to the allocation principle of the Rx instance identifier and the Gx instance identifier.
  • the instance identifier may not be assigned when the service information is initially provided. In this way, as long as the instance identifier is not carried in the reported information, it indicates that the resource allocation of the initially provided service information fails.
  • the PCRF updates the established PCC/QoS rules based on new instances of media components or media subcomponents that may be considered to be new instances of PCC/QoS rules based on new instances of media components or media subcomponents.
  • FIG. 8 is a schematic flowchart of a third policy control according to an embodiment of the present invention, where an AF assigns an Rx instance identifier, including the following steps:
  • Step 501 The AF provides service information to the PCRF, where the message carries service information, including one or more media components (carried in the Media-Component-Description AVP).
  • the AF can assign a Rx instance identifier to a media component, which is represented here as an Rx instance identifier a;
  • Step 502 The PCRF returns a confirmation message after saving the service information.
  • Step 503 The PCRF makes a policy decision according to the network policy, service information, and user subscription information, and formulates a PCC rule.
  • the PCRF may need to interact with the SPR to obtain the user's subscription information.
  • the PCRF may formulate a PCC rule according to a media subcomponent (carrying in the Media-Sub-Component AVP) (ie, if a Media-Component-Description AVP carries 2 Media-Sub-Component AVPs)
  • the PCRF will formulate two PCC rules.
  • the PCRF may also aggregate multiple Media Sub Components in a Media Component to generate a PCC rule.
  • the Gx instance identifier is carried in the PCC rule, which is represented as the Gx instance identifier a. If the PCRF formulates multiple PCC rules according to one media component, the PCRF carries the same Gx instance identifier in each PCC rule.
  • the value of the Gx instance identifier can be the same as the value of the Rx instance identifier, or the value of the Gx instance identifier can be derived based on the value of the Rx instance identifier. That is, the Gx instance identifier and the Rx instance identifier are in one-to-one correspondence.
  • the Gx instance identifier carries the indication information indicating the policy decision triggered by the service information (that is, the Gx instance identifier corresponds to one Rx instance identifier).
  • the indication information may be that an identifier bit is set in the value of the Gx instance identifier, or a specific value interval is allocated.
  • the Rx instance identifier a identifies the initial offer of this Media Component (which can be thought of as identifying the initial provider of this Media Component).
  • the Gx instance identifier a identifies the initial provision of this PCC rule (which can be considered to be the initial provisioning instance that identifies this PCC rule).
  • Step 504 The PCRF provides the PCC rule formulated after the policy decision to the PCEF.
  • Step 505 After the PCEF installs the PCC rule, the PCEF returns a confirmation message.
  • Step 506 The PCEF initiates a resource reservation process according to the PCC rule.
  • Step 507 After the PCRF provides the PCEF to the PCC rule (ie, after step S504), the PCRF receives the updated service information and carries the updated media component. (ie a new instance of the media component provided previously). Usually AF only sends media components that need to be updated. The AF can assign a new Rx instance identifier to the updated media component, denoted here as the Rx instance identifier b. AF can also provide complete business information (including updated media components and unupdated media components).
  • Step 508 After the PCRF saves the service information, it returns an acknowledgement message.
  • Step 509 The PCRF performs policy decision according to the network policy, service information, and user subscription information, and updates the previous PCC rule. If the updated media component is carried, the following steps are also performed: if a new Sub Component is added and a new PCC rule is created for it, the PCRF assigns a Gx instance identifier b to the PCC rule; if a new Sub Component is added and The Sub Component updates the previous PCC rule, and the PCRF assigns a new Gx instance identifier b to the PCC rule; if the existing Sub Component is modified and the previous PCC rule is updated, the PCRF assigns a new Gx reference to the PCC rule. b.
  • the PCC rules carry the same Gx instance identifier.
  • the value of the Gx instance identifier b may be the same as the value of the Rx instance identifier b, or the value of the Gx instance identifier b and the value of the Rx instance identifier b may be derived from each other. That is, the Gx instance identifier b and the Rx instance identifier b are one-to-one correspondence.
  • the Gx instance identifier carries the indication information indicating the policy decision triggered by the service information (that is, the Gx instance identifier corresponds to one Rx instance identifier).
  • the indication information when the indication information is actually implemented, it may be that an identifier bit is set in the value of the Gx instance identifier, or a specific value interval is allocated.
  • the Rx instance identifier b identifies the first update of this Media Component (which can be thought of as identifying the first update instance of this Media Component).
  • the Gx/Gxx instance identifier b identifies the first update of this PCC rule (which can be considered to be the first update instance identifying this PCC).
  • Step 510 The PCRF provides the updated PCC rule to the PCEF, and the PCC rule carries the Gx instance identifier b.
  • Step 511 After the PCEF installs the PCC rule, the PCEF returns a confirmation message.
  • Step 512 The PCRF initiates a resource reservation process according to the installed PCC rule.
  • Step 513 After step 510, the PCRF may need to further update the PCC rules for some reason (for example, the network policy changes, the user subscription changes, the access network changes, etc.), the PCRF makes policy decisions, updates the PCC rules, and
  • the PCC rule carries a new Gx instance identifier (here denoted as a Gx instance identifier ').
  • the Gx instance identifier indicates that the policy decision triggered by the non-service information is carried out (that is, the Gx instance identifier does not correspond to an Rx instance identifier).
  • the identifier may be set in the value of the Gx instance identifier, or a specific value interval may be allocated (that is, the Gx instance identifier corresponding to the Rx instance identifier and the Gx corresponding to the Rx instance identifier).
  • the instance IDs belong to different value ranges.
  • Gx The instance identification ' identifies the second update of this PCC rule (which can be considered as the second update instance identifying this PCC rule).
  • Step 514 The PCRF provides the updated PCC rule to the PCEF, and the PCC rule carries the Gx instance identifier ';
  • Step 515 After the PCEF installs the PCC rule, the PCEF returns a confirmation message.
  • Step 516 The PCRF initiates a resource reservation process according to the installed PCC rules.
  • Step 517 After that, the PCEF receives the response message of the resource reservation process, indicating that the resource reservation fails.
  • Step 518 The PCEF sends an event notification to the PCRF, carrying a resource reservation failure indication (carried by the Event-Trigger AVP), and a corresponding PCC rule (carried by the Charging-Rule-Report AVP).
  • the failure indication received by the PCEF is the response of the resource reservation process initiated by the PCEF in step 506
  • the message sent by the PCEF to the PCRF further carries the Gx instance identifier a (using the Reference-Number AVP)
  • the failure indication received by the PCEF is the response of the resource reservation process initiated by the PCEF in step 512, and the message sent by the PCEF to the PCRF further carries the Gx instance identifier b (using the Reference-Number AVP);
  • the failure indication received by the PCEF is the response of the resource reservation process initiated by the PCEF in step 516, and the message sent by the PCEF to the PCRF further carries the Gx instance identifier '(with Reference-Number AVP).
  • Step 519 The PCRF returns an acknowledgement message to the PCEF.
  • Step 520 If the PCEF reports that the Gx instance identifier is the Gx instance identifier a or the Gx instance identifier b, the PCRF determines the Rx instance identifier a or the Rx instance identifier b according to the Gx instance identifier a or the Gx instance identifier b. The PCRF sends an event notification to the AF, carrying a resource reservation failure indication (carried by the Specific-Action AVP), and a flow identifier (carried by the Flows AVP). If, in step 514, the PCRF receives the Gx instance identifier a, the Flows AVP carries the corresponding Rx instance identifier a.
  • the Flows AVP carries the corresponding Rx instance identifier b. .
  • the AF can determine which resource information of the provided service information fails to be allocated;
  • Step 521 The AF returns an acknowledgement message to the PCRF.
  • the last embodiment only describes a scenario in which the AF continuously provides 2 times of service information, and the scenario is similar for the case where the AF continuously provides 3 or more scenes.
  • the PCRF is allocated according to the allocation principle of the Rx instance identifier and the Gx instance identifier.
  • the Rx instance identifier and the Gx instance identifier are allocated by the PCRF, and after the resource allocation of the initial service information is failed, the corresponding Rx instance identifier and the Gx instance identifier are reported.
  • the instance identifier may not be assigned when the service information is initially provided. In this way, as long as the instance identifier is not carried in the reported information, it indicates that the resource allocation of the initially provided service information fails.
  • the PCRF is not required to save the actual correspondence between the Gx instance identifier and the Rx instance identifier, but the PCRF may derive the Rx instance identifier according to the Gx instance identifier according to the configured method.
  • the PCRF can also save the correspondence between the Gx reference number and the Rx reference number to implement mapping between each other.
  • the PCRF updates the established PCC rules based on new instances of media components or media subcomponents that may be considered to be new instances of PCC rules based on new instances of media components or media subcomponents.
  • FIG. 9 is a schematic flowchart of a fourth policy control according to Embodiment 4 of the present invention, including the following steps:
  • Step 601 The AF provides service information to the PCRF, where the message carries service information, including one or more media components (carried in the Media-Component-Description AVP).
  • the AF can assign a Rx instance identifier to a media component, which is represented here as an Rx instance identifier a;
  • Step 602 The PCRF returns a confirmation message after saving the service information.
  • Step 603 The PCRF makes a policy decision according to the network policy, service information, and user subscription information, and formulates a PCC rule.
  • the PCRF may need to interact with the SPR to obtain the user's subscription information.
  • the PCRF may formulate a PCC rule according to a media subcomponent (carrying in the Media-Sub-Component AVP) (ie, if a Media-Component-Description AVP carries 2 Media-Sub-Component AVPs)
  • the PCRF will formulate two PCC rules.
  • the PCRF may also aggregate multiple Media Sub Components in a Media Component to generate a PCC rule.
  • the Gx instance identifier is carried in the PCC rule, which is represented by the Gx instance identifier a, and carries the Gxx instance identifier in the QoS rule, which is represented as the Gxx instance identifier a.
  • the Gx instance ID and the Gxx instance ID have the same value. If the PCRF has multiple PCC rules according to a media component, the PCRF carries the same Gx instance identifier in each PCC rule, and the QoS rule carries the same Gxx instance identifier.
  • the value of the Gx/Gxx instance identifier may be the same as the value of the Rx instance identifier, or the value of the Gx/Gxx instance identifier may be derived according to the value of the Rx instance identifier.
  • the Gx/Gxx instance identifier and the Rx instance identifier are in one-to-one correspondence.
  • the Gx/Gxx instance identifier carries the indication information indicating the policy decision triggered by the service information (that is, the Gx/Gxx instance identifier corresponds to one Rx instance identifier).
  • the indication information may be that an identifier bit is set in the value of the Gx instance identifier, or a specific value interval is allocated.
  • the Rx instance identifier a identifies the initial offer of this Media Component (which can be thought of as identifying the initial provider of this Media Component).
  • the Gx/Gxx instance identification a identifies the initial provision of this PCC/QoS rule (which can be considered as an initial provisioning instance identifying this PCC/QoS rule).
  • Step 604 The PCRF provides the PCC rule formulated after the policy decision to the PCEF.
  • Step 605 After the PCEF installs the PCC rule, the PCEF returns an acknowledgement message.
  • Step 606 The PCRF provides a QoS rule to the BBERF.
  • Step 607 The BBERF returns a confirmation message.
  • Step 608 The PCEF initiates a resource reservation process according to the QoS rule.
  • Step 609 After the PCRF provides the BBERF to the QoS rule (ie, after step S606), the PCRF receives the updated service information and carries the updated media component. (ie a new instance of the media component provided previously). Usually AF only sends media description components that need to be updated. AF assigns an Rx instance identifier to a media component, denoted here as the Rx instance identifier b. AF can also provide complete business information (including updated media components and unupdated media components).
  • Step 610 The PCRF returns a confirmation message after saving the service information.
  • Step 611 The PCRF performs policy decision according to the network policy, service information, and user subscription information, and updates the previous PCC rule. If the updated media component is carried, the following steps are performed: if a new Sub Component is added and a new PCC/QoS rule is created for it, the PCRF allocates a Gx instance identifier b for the PCC rule and a Gxx instance identifier b for the QoS rule; If the Sub Component is added and the previous PCC/QoS rules are updated according to the newly added Sub Component, the PCRF assigns a new Gx instance identifier b/Gxx instance identifier b to the PCC/QoS rule; if the existing Sub Component is modified and After updating the previous PCC/QoS rules, the PCRF assigns a new Gx reference to the PCC/QoS rule.
  • the b/Gxx instance identifier b The value of the Gx instance identifier b/Gxx instance identifier b can be taken with the Rx instance identifier b. The value is the same, or the value of the Gx instance identifier b/Gxx instance identifier b and the value of the Rx instance identifier b are mutually derivable. If the PCRF has multiple PCC rules according to a media component, the PCRF carries the same Gx instance identifier in each PCC rule, and the QoS rule carries the same Gxx instance identifier. That is, the Gx instance identifier b/Gxx instance identifier b and the Rx instance identifier b are one-to-one correspondence.
  • the Gx instance identifier b/Gxx instance identifier b carries the indication information indicating the policy decision triggered by the service information (that is, the Gx instance identifier corresponds to one Rx instance identifier).
  • the indication information it may be that an identifier bit is set in the value of the Gx instance identifier, or a specific value interval is allocated.
  • the Rx instance identifier b identifies the first update of this Media Component (which can be thought of as identifying the first update instance of this Media Component).
  • the Gx/Gxx instance identifier b identifies the first update of this PCC/QoS rule (can be considered the first time to identify this PCC/QoS rule) Update the instance).
  • Step 612 The PCRF provides the updated PCC rule to the PCEF, and the PCC rule carries the Gx instance identifier a;
  • Step 613 After the PCEF installs the PCC rule, the PCEF returns a confirmation message.
  • Step 614 The PCRF provides a QoS rule to the BBERF.
  • Step 615 After installing the QoS rule, the BBERF returns an acknowledgement message to the PCRF.
  • Step 616 The PCRF initiates a resource reservation process according to the installed QoS rule.
  • Step 617 After step 614, the PCRF may need to further update the PCC rules for some reason (for example, the network policy changes, the user subscription changes, the access network changes, etc.), and the PCRF makes policy decisions and updates the PCC/QoS rules.
  • the new Gx instance identifier (here denoted as Gx instance identifier ') is carried in the PCC rule, and the QoS rule carries a new Gxx instance identifier (here denoted as Gxx instance identifier ').
  • the Gx/Gxx instance identifier indicates that the policy decision triggered by the non-service information is triggered (that is, the Gx/Gxx instance identifier does not correspond to an Rx instance identifier).
  • the indication information when the indication information is actually implemented, it may be that an identifier bit is set in the value of the Gx/Gxx instance identifier, or a specific value interval is allocated (that is, the Gx/Gxx instance identifier corresponding to the Rx instance identifier and the Rx instance are not associated with the Rx instance identifier.
  • the corresponding Gx/Gxx instance identifiers belong to different value ranges.
  • the Gx/Gxx instance identifies 'identifies the second update of this PCC/QoS rule (which can be considered as the second update instance identifying this PCC/QoS rule).
  • Step 618 The PCRF provides the updated PCC rule to the PCEF, and the PCC rule carries the Gx instance identifier ';
  • Step 619 After the PCEF installs the PCC rule, the PCEF returns a confirmation message.
  • Step 620 The PCRF provides a QoS rule to the BBERF.
  • Step 621 After the BBERF installs the QoS rule, it returns an acknowledgement message to the PCRF.
  • Step 622 The PCRF initiates a resource reservation process according to the installed BBERF rule.
  • Step 623 After that, the BBERF receives the response message of the resource reservation process, indicating that the resource reservation fails.
  • Step 624 The BBERF sends an event notification to the PCRF, carrying a resource reservation failure indication. (carried with the Event-Trigger AVP) and the corresponding QoS rules (carried with the QoS-Rule-Report AVP). If the failure indication received by the BBERF is the response of the resource reservation process initiated by the BBERF in step 623, the message sent by the BBERF to the PCRF further carries the Gxx instance identifier a (using the Reference-Number AVP); In step 623, the failure indication received by the BBERF is the response of the resource reservation procedure initiated by the BBERF in step 616, and the message sent by the BBERF to the PCRF further carries the Gxx instance identifier b (using the Reference-Number AVP).
  • the message sent by the BBERF to the PCRF further carries the Gx instance identifier '(with Reference-Number AVP) where Reference- The Number AVP is carried in the QoS-Rule-Report AVP.
  • Step 625 The PCRF returns an acknowledgement message to the BBERF.
  • Step 626 If the BBERF reports that the Gxx instance identifier is the Gxx instance identifier a or the Gxx instance identifier b, the PCRF determines the Rx instance identifier a or the Rx instance identifier b according to the Gxx instance identifier a or the Gxx instance identifier b. The PCRF sends an event notification to the AF, carrying a resource reservation failure indication (carried by the Specific-Action AVP), and a flow identifier (carried by the Flows AVP). If the PCRF receives the Gxx instance identifier a in step 424, the Flows AVP carries the corresponding Rx instance identifier a.
  • the Flows AVP carries the corresponding Rx instance identifier b. .
  • the AF can determine which resource information of the provided service information fails to be allocated;
  • Step 627 The AF returns an acknowledgement message to the PCRF.
  • the last embodiment only describes a scenario in which the AF continuously provides 2 times of service information, and the scenario is similar for the case where the AF continuously provides 3 or more scenes.
  • the PCRF is allocated according to the allocation principle of the Rx instance identifier and the Gx instance identifier.
  • the instance identifier may not be assigned when the service information is initially provided. In this way, as long as the instance identifier is not carried in the reported information, it indicates that the resource allocation of the initially provided service information fails.
  • the PCRF updates the established PCC rules based on new instances of media components or media subcomponents that may be considered to be new instances of PCC rules based on new instances of media components or media subcomponents.
  • the Gx/Gxx instance identifier since the Gx/Gxx instance identifier carries the indication information for triggering the policy decision by the service information or the indication information of the Rx instance identifier corresponding to the Gx/Gxx instance identifier, these Gx/Gxx instance identifiers and other The Gx/Gxx instance ID of the PCC/QoS rule that is determined by the policy decision triggered by the non-service information is differentiated (different identifiers are used for distinguishing or different value intervals are used), so the policy decision is triggered by the service information.
  • the policy or algorithm that carries the Gx/Gxx instance identifier in the PCC/QoS rule that can be configured by the PCRF is determined by the Rx instance identifier.
  • the PCRF After the PCRF receives the Gx/Gxx instance identifiers reported by the PCEF/BBERF, the PCRF can also be based on the same Configure to determine the corresponding Rx instance ID. In this way, the PCRF does not need to save a correspondence between the Rx instance identifier and the Gx/Gxx instance identifier.
  • the media component or media subcomponent that is initially provided or subsequently updated may be considered as a media component instance or a media subcomponent instance;
  • the PCC rules or QoS rules initially provided or subsequently updated may be considered to be A PCC rule instance or QoS rule instance.
  • the Rx reference number is the media component instance identifier or the media subcomponent instance identifier
  • the Gx/Gxx reference number is the PCC/QoS rule instance identifier.
  • the PCRF after the PCRF receives the first indication message indicating that the PCC/QoS rule instance fails to execute (ie, the resource allocation fails), and determines, according to the first instance identifier in the first message, the corresponding A second instance identification of a media component instance or a media subcomponent instance of a PCC/QoS rule instance.
  • the PCRF sends a second indication message to the AF, and is used to indicate that the service instance resource corresponding to the media component instance or the media sub-component instance fails to be allocated to the AF, where the second message carries the second instance identifier.
  • the PCRF triggers the event for the successful resource allocation to the PCEF/BBERF.
  • the BBERF/PCEF also sends a first message to the PCRF by using a similar process, indicating that the PCC/QoS rule instance is successfully executed (ie, the resource allocation is successful), and according to the first in the first message.
  • the instance identification determines a corresponding second instance identification of the media component instance or media subcomponent instance used to formulate the PCC/QoS rule instance.
  • the PCRF sends a second indication message to the AF, and is used to indicate that the service instance resource corresponding to the media component instance or the media sub-component instance is successfully assigned to the AF, where the second message carries the second instance identifier.
  • the PCRF receives the first indication message indicating the execution result (resource allocation result) of the PCC/QoS rule instance, and determines the corresponding PCC/QoS according to the first instance identifier in the first message.
  • the PCRF sends a second indication message to the AF, and is used to indicate to the AF the service instance resource allocation result corresponding to the media component instance or the media sub-component instance, where the second message carries the second instance identifier.
  • the disclosed method and smart device may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another The system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one second processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit;
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • Embodiments of the present invention also provide a storage medium.
  • the above storage medium may be configured to store program code for performing the following steps:
  • S1 Receive a first message for indicating a resource allocation result, and determine a corresponding second instance identifier according to the first instance identifier in the first message, where the first instance identifier is an instance corresponding to the policy rule update for performing resource allocation. And the second instance identifier is an instance identifier corresponding to the media component instance or the media subcomponent instance used to formulate the policy rule;
  • the foregoing storage medium may include, but not limited to, a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • mobile hard disk a magnetic disk
  • magnetic disk a magnetic disk
  • optical disk a variety of media that can store program code.
  • the processor performs, according to the stored program code in the storage medium, receiving a first message for indicating a resource allocation result, and determining, according to the first instance identifier in the first message, the corresponding message.
  • a second instance identifier where the first instance identifier is an instance identifier corresponding to a policy rule that performs resource allocation, and the second instance identifier is an instance identifier corresponding to the media component instance or the media subcomponent instance used to formulate the policy rule;
  • the processor sends a second message for indicating a resource allocation result to the application function AF entity according to the stored program code in the storage medium, where the second message carries the second instance identifier.
  • the modules or steps of the above embodiments of the present invention may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices, which may be implemented by computing devices.
  • the executed program code is implemented such that they can be stored in a storage device by a computing device, and in some cases, the steps shown or described can be performed in a different order than here, or they can be
  • Each of the integrated circuit modules is fabricated separately, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module.
  • embodiments of the invention are not limited to any specific combination of hardware and software.
  • a first message for indicating a resource allocation result is received, and a corresponding second instance identifier is determined according to the first instance identifier in the first message, where the first instance identifier is an execution resource.
  • the second message of the second message carries the second instance identifier.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Published are a policy control method, apparatus and system. The method comprises: receiving a first message for indicating a resource allocation result, and according to a first example identifier in the first message, determining a corresponding second example identifier, wherein the first example identifier is an example identifier corresponding to a policy rule example executing resource allocation, and the second example identifier is a media component example for making the policy rule example or an example identifier corresponding to a media sub-component example; and sending a second message for indicating a resource allocation result to an application function (AF) entity, wherein the second message carries the second example identifier.

Description

策略控制方法、装置及系统Strategy control method, device and system 技术领域Technical field
本申请涉及但不限于通信领域,尤指一种策略控制方法、装置及系统。The present application relates to, but is not limited to, the field of communications, and more particularly to a policy control method, apparatus and system.
背景技术Background technique
图1是根据第三代合作伙伴计划(3GPP,3rd Generation Partnership Project)定义的策略和计费控制(PCC,Policy and Charging Control)的架构示意图。如图1所示,策略和计费规则功能(PCRF,Policy and Charging Rules Function)为业务使用网络资源进行服务质量(QoS,Quality of Service)和计费策略的制订。而PCRF制定上述控制策略需要结合从应用功能(AF,Application Function)接收的业务信息、从用户签约数据库(SPR,Subscription Profile Repository)接收的用户签约信息、运营商配置的策略等。PCRF将为业务制定的控制策略下发给策略和计费执行功能(PCEF,Policy and Charging Enforcement Function)或者承载绑定和事件上报功能(BBERF,Bearer Binding and Event Report Function)执行。与此同时,PCRF可以向PCEF和/或BBERF订阅承载层相关事件,以便当承载层发生上述事件时能够及时感知,并更改控制策略。此外,PCEF以及业务检测功能(TDF,Traffic Detection Function)能够根据PCRF下发的PCC规则(PCEF)或应用和检测控制(ADC,Application Detection and Control)规则(TDF)执行应用检测和控制功能,还包括,在线计费系统(Online Charging System,简称为OCS),离线计费系统(Offline Charging System,简称为OFCS),模块之间的Rx、Nt、Sp、Gxx等为模块之间的通信接口。FIG. 1 is a schematic diagram of an architecture of a Policy and Charging Control (PCC) defined according to the 3rd Generation Partnership Project (3GPP). As shown in Figure 1, the Policy and Charging Rules Function (PCRF) is used to determine the quality of service (QoS) and charging policy for the service using network resources. The PCRF needs to combine the service information received from the application function (AF, Application Function), the user subscription information received from the SPR (Subscription Profile Repository), and the policy configured by the operator. The PCRF sends the control policy for the service to the Policy and Charging Enforcement Function (PCEF) or the Bearer Binding and Event Report Function (BBERF). At the same time, the PCRF can subscribe to the bearer layer related events to the PCEF and/or the BBERF, so that when the above events occur in the bearer layer, it can be perceived in time and change the control strategy. In addition, the PCEF and the Traffic Detection Function (TDF) can perform application detection and control functions according to the PCC rules (PCEF) or the Application and Detection Control (ADC) issued by the PCRF. Including, the online charging system (Online Charging System, OCS for short), the offline charging system (Offline Charging System, referred to as OFCS), the Rx, Nt, Sp, Gxx, etc. between the modules are the communication interfaces between the modules.
AF通过向PCRF提供业务信息,请求网络的QoS授权为应用在网络层分配资源。图2是根据AF请求网络QoS保证的流程图,包括:The AF requests the QoS authorization of the network to allocate resources for the application at the network layer by providing service information to the PCRF. 2 is a flow chart of network QoS guarantee according to AF request, including:
步骤201:AF向PCRF提供业务信息,消息中携带业务信息,包括媒体描述组件(通过Media-Component-Description AVP携带);Step 201: The AF provides service information to the PCRF, where the message carries service information, including a media description component (carried by the Media-Component-Description AVP);
AF向PCRF发送的提供业务信息的认证授权请求(Authentication and  authorization request,AAR)消息的格式如下,一个AAR消息中可以零个、一个或多个媒体描述组件:Authentication and authorization request sent by the AF to the PCRF to provide service information (Authentication and The format of the authorization request (AAR) message is as follows: one AAR message can have zero, one or more media description components:
Figure PCTCN2017092081-appb-000001
Figure PCTCN2017092081-appb-000001
Figure PCTCN2017092081-appb-000002
Figure PCTCN2017092081-appb-000002
Media-Component-Description AVP的格式如下,一个Media-Component-Description AVP中有可以携带零个、一个或多个Media-Sub-Component AVP。其中Media-Component-Number用于标识一个Media-Component-Description:The format of the Media-Component-Description AVP is as follows. A Media-Component-Description AVP can carry zero, one or more Media-Sub-Component AVPs. Where Media-Component-Number is used to identify a Media-Component-Description:
Figure PCTCN2017092081-appb-000003
Figure PCTCN2017092081-appb-000003
Figure PCTCN2017092081-appb-000004
Figure PCTCN2017092081-appb-000004
Media-Sub-Component AVP的格式如下,其中Flow-Number用于标识一个Media-Sub-Component:The format of the Media-Sub-Component AVP is as follows, where Flow-Number is used to identify a Media-Sub-Component:
Figure PCTCN2017092081-appb-000005
Figure PCTCN2017092081-appb-000005
步骤202:PCRF保存信息后返回确认消息;Step 202: The PCRF returns a confirmation message after saving the information.
步骤203:PCRF根据网络策略,业务信息和用户签约信息等进行策略决策,制定PCC规则。这个过程中,PCRF可能需要与SPR交互,获取用户的签约信息;Step 203: The PCRF makes a policy decision according to the network policy, service information, and user subscription information, and formulates a PCC rule. In this process, the PCRF may need to interact with the SPR to obtain the user's subscription information;
步骤204:PCRF将策略决策后制定的PCC规则提供给PCEF;Step 204: The PCRF provides the PCC rule formulated after the policy decision to the PCEF.
步骤205:PCEF安装PCC规则后,返回确认消息。Step 205: After the PCEF installs the PCC rule, the PCEF returns an acknowledgement message.
步骤206:PCEF根据PCC规则发起资源预留过程;Step 206: The PCEF initiates a resource reservation process according to the PCC rule.
步骤207:在PCRF向PCEF提供给PCC规则后(即步骤S204后),PCRF又收到了更新的业务信息,携带更新的媒体描述组件。Step 207: After the PCRF provides the PCEF to the PCC rule (ie, after step S204), the PCRF receives the updated service information again, and carries the updated media description component.
步骤208:PCRF保存更新的业务信息后返回确认消息; Step 208: The PCRF returns an acknowledgement message after saving the updated service information.
步骤209:PCRF根据网络策略,业务信息和用户签约信息等进行策略决策,更新之前的PCC规则。Step 209: The PCRF performs policy decision according to the network policy, service information, and user subscription information, and updates the previous PCC rule.
步骤210:PCRF向PCEF提供更新后的PCC规则;Step 210: The PCRF provides the updated PCC rule to the PCEF.
步骤211:PCEF安装PCC规则后,返回确认消息;Step 211: After the PCEF installs the PCC rule, the PCEF returns an acknowledgement message.
步骤212:PCRF根据安装的PCC规则发起资源预留过程Step 212: The PCRF initiates a resource reservation process according to the installed PCC rules.
步骤213:此后,PCEF收到步骤206发起的资源预留过程的应答消息,显示资源预留失败;Step 213: After that, the PCEF receives the response message of the resource reservation process initiated by step 206, indicating that the resource reservation fails.
步骤214:PCEF向PCRF发送事件通知,携带资源预留失败指示和对应的PCC规则名;Step 214: The PCEF sends an event notification to the PCRF, carrying a resource reservation failure indication and a corresponding PCC rule name.
步骤215:PCRF向PCEF返回确认消息;Step 215: The PCRF returns an acknowledgement message to the PCEF.
步骤216:PCRF向AF发送事件通知,携带资源预留失败指示和流标识;Step 216: The PCRF sends an event notification to the AF, and carries a resource reservation failure indication and a flow identifier.
PCEF向PCRF发送事件通知的RAR消息的格式如下。其中Specific-Action AVP用来携带资源预留失败指示,Flows AVP用来携带流标识:The format of the RAR message that the PCEF sends an event notification to the PCRF is as follows. The Specific-Action AVP is used to carry the resource reservation failure indication, and the Flows AVP is used to carry the flow identifier:
Figure PCTCN2017092081-appb-000006
Figure PCTCN2017092081-appb-000006
Figure PCTCN2017092081-appb-000007
Figure PCTCN2017092081-appb-000007
Flows AVP的格式如下。其中Media-Component-Number用于表示一个IP流:The format of Flows AVP is as follows. Where Media-Component-Number is used to represent an IP stream:
Figure PCTCN2017092081-appb-000008
Figure PCTCN2017092081-appb-000008
Figure PCTCN2017092081-appb-000009
Figure PCTCN2017092081-appb-000009
步骤217:AF向PCRF返回确认消息。Step 217: The AF returns an acknowledgement message to the PCRF.
在上述过程中,由于AF在向PCRF发送了更新的业务信息后,收到的资源预留失败反馈,因此AF无法判断是初始提供的业务信息的资源预留失败,还是更新的业务信息的资源预留失败。同样,由于PCRF是在向PCEF提供了更新的PCC规则后,收到的资源预留失败反馈,因此PCRF无法判断是初始提供的PCC规则资源预留失败还是更新后的PCC规则资源预留失败。In the above process, since the AF reserves the failure feedback after the AF sends the updated service information to the PCRF, the AF cannot determine whether the resource reservation of the initially provided service information fails or the resource of the updated service information. The reservation failed. Similarly, since the PCRF is the resource reservation failure feedback received after the PCC rule is updated to the PCEF, the PCRF cannot determine whether the initially provided PCC rule resource reservation failure or the updated PCC rule resource reservation failure.
上述问题同样存在于初始资源预留成功后,AF连续多次进行业务信息更新。当其中的一次业务信息更新对应的资源预留失败,AF将无法获知哪次的业务信息更新对应的资源预留失败。The above problem also exists after the initial resource reservation is successful, and the AF continuously updates the service information. When the resource reservation corresponding to one of the service information updates fails, the AF will not know which resource information update corresponding to the resource reservation fails.
相对应地,AF也无法准备获知哪次的业务信息更新对应的资源预留成功。Correspondingly, the AF is also unable to prepare to know which resource information update corresponding resource reservation is successful.
发明概述Summary of invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供了一种策略控制方法、装置及系统,以使AF正确获知资源预留结果。The embodiment of the invention provides a policy control method, device and system, so that the AF correctly knows the resource reservation result.
根据本发明的一个实施例,提供了一种策略控制方法,包括:接收用于指示资源分配结果的第一消息,并根据所述第一消息中的第一实例标识确定对应的第二实例标识,其中,所述第一实例标识为执行资源分配的策略规则实例对应的实例标识,所述第二实例标识为用于制定所述策略规则实例的媒体组件实例或媒体子组件实例对应的实例标识;向应用功能AF实体发送用于指示资源分配结果的第二消息,所述第二消息中携带所述第二实例标识。 According to an embodiment of the present invention, a policy control method is provided, including: receiving a first message indicating a resource allocation result, and determining a corresponding second instance identifier according to the first instance identifier in the first message The first instance identifier is an instance identifier corresponding to a policy rule instance that performs resource allocation, and the second instance identifier is an instance identifier corresponding to a media component instance or a media subcomponent instance used to formulate the policy rule instance. Transmitting, to the application function AF entity, a second message indicating a resource allocation result, where the second message carries the second instance identifier.
在一实施方式中,接收用于指示资源分配结果的第一消息包括:接收到策略和计费执行功能PCEF实体发送的用于指示资源分配结果的第一消息;或者,接收到承载绑定和事件上报功能BBERF实体发送的用于指示资源分配结果的第一消息。In an embodiment, receiving the first message for indicating a resource allocation result includes: receiving, by the policy and charging execution function, a first message sent by the PCEF entity to indicate a resource allocation result; or receiving the bearer binding and The event reporting function sends a first message sent by the BBERF entity to indicate the result of the resource allocation.
在一实施方式中,所述第一实例标识中携带有业务信息触发策略决策的指示信息或存在与所述第一实例标识对应的所述第二实例标识的指示信息。In an embodiment, the first instance identifier carries the indication information of the service information triggering policy decision or the indication information of the second instance identifier corresponding to the first instance identifier.
在一实施方式中,所述指示信息为所述第一实例标识取值中的标识位或特定的取值区间。In an embodiment, the indication information is an identifier bit or a specific value interval in the value of the first instance identifier.
在一实施方式中,在根据所述第一消息中的所述第一实例标识确定所述第二实例标识之前,所述方法还包括以下之一:In an embodiment, before determining the second instance identifier according to the first instance identifier in the first message, the method further includes one of the following:
接收由所述AF实体分配的所述第二实例标识;Receiving the second instance identifier assigned by the AF entity;
为所述媒体组件实例或所述媒体子组件实例分配所述第二实例标识。Assigning the second instance identification to the media component instance or the media subcomponent instance.
在一实施方式中,所述接收由所述AF实体分配的所述第二实例标识包括:接收所述AF实体为所述媒体组件实例分配的所述第二实例标识;所述方法还包括:根据所述媒体组件实例制定一个或多个PCC规则实例,其中,在所述一个或多个PCC规则实例中携带与所述第二实例标识对应的所述第一实例标识。In an embodiment, the receiving, by the AF entity, the second instance identifier includes: receiving the second instance identifier that is allocated by the AF entity to the media component instance; the method further includes: Determining one or more PCC rule instances according to the media component instance, wherein the first instance identifier corresponding to the second instance identifier is carried in the one or more PCC rule instances.
在一实施方式中,根据所述媒体组件实例制定一个或多个PCC规则实例包括:根据所述媒体组件实例制定一个PCC规则实例时,当所述媒体组件实例中携带多个媒体子组件,则将所述多个媒体子组件聚合后制定一个PCC规则实例;或者,据所述媒体组件实例制定多个PCC规则实例时,每个PCC规则实例中携带所述第一实例标识。In an embodiment, the formulating one or more PCC rule instances according to the media component instance includes: when the PCC rule instance is formulated according to the media component instance, when the media component instance carries multiple media subcomponents, The PCC rule instance is generated by aggregating the plurality of media sub-components; or, when the PCC rule instance is configured according to the media component instance, each PCC rule instance carries the first instance identifier.
在一实施方式中,所述为所述媒体组件实例或媒体子组件实例分配所述第二实例标识包括:若根据媒体组件实例制定一个PCC规则实例,则为所述媒体组件实例分配所述第二实例标识;或者,若根据一个或多个媒体子组件实例制定一个PCC规则实例,则为所述媒体子组件实例分配所述第二实例标识。 In an embodiment, the allocating the second instance identifier to the media component instance or the media subcomponent instance includes: if the PCC rule instance is formulated according to the media component instance, assigning the The second instance identifier is allocated to the media subcomponent instance if the PCC rule instance is formulated according to one or more media subcomponent instances.
在一实施方式中,在接收用于指示资源分配结果的第一消息之前,还包括:为PCC规则实例分配第一实例标识,其中,根据所述第二实例标识确定所述第一实例标识。In an embodiment, before receiving the first message for indicating the resource allocation result, the method further includes: allocating a first instance identifier to the PCC rule instance, wherein the first instance identifier is determined according to the second instance identifier.
在一实施方式中,所述第二实例标识与所述第一实例标识的关系满足以下之一:In an embodiment, the relationship between the second instance identifier and the first instance identifier meets one of the following:
第二实例标识的取值与所述第一实例标识的取值相同;The value of the second instance identifier is the same as the value of the first instance identifier;
第二实例标识的取值是依据所述第一实例标识的取值按照配置计算得到的;The value of the second instance identifier is calculated according to the value of the first instance identifier according to the configuration;
第二实例标识的取值是依据PCRF保存的所述第一实例标识和第二实例标识的对应关系得到的。The value of the second instance identifier is obtained according to the correspondence between the first instance identifier and the second instance identifier saved by the PCRF.
在一实施方式中,所述第一消息还携带所述策略规则实例的规则标识,所述第二消息还携带所述媒体组件实例的标识或所述媒体子组件实例的标识,其中,所述规则标识用于确定所述媒体组件实例或所述媒体子组件实例。In an embodiment, the first message further carries a rule identifier of the policy rule instance, and the second message further carries an identifier of the media component instance or an identifier of the media subcomponent instance, where the The rule identification is used to determine the media component instance or the media subcomponent instance.
在一实施方式中,在为所述媒体组件实例分配所述第二实例标识之后,所述方法还包括:向所述AF返回所述第二实例标识,并提供所述媒体组件实例或媒体子组件的标识。In an embodiment, after assigning the second instance identifier to the media component instance, the method further comprises: returning the second instance identifier to the AF, and providing the media component instance or media sub The identity of the component.
根据本发明的另一个实施例,提供了一种策略控制装置,包括:第一接收模块,设置为接收用于指示资源分配结果的第一消息,并根据所述第一消息中的第一实例标识确定对应的第二实例标识,其中,所述第一实例标识为执行资源分配的策略规则实例对应的实例标识,所述第二实例标识为用于制定所述策略规则实例的媒体组件实例或媒体子组件实例对应的实例标识;发送模块,设置为向应用功能AF实体发送用于指示资源分配结果的第二消息,所述第二消息中携带所述第二实例标识。According to another embodiment of the present invention, a policy control apparatus is provided, including: a first receiving module, configured to receive a first message for indicating a resource allocation result, and according to a first instance in the first message The identifier determines a corresponding second instance identifier, where the first instance identifier is an instance identifier corresponding to a policy rule instance that performs resource allocation, and the second instance identifier is a media component instance used to formulate the policy rule instance or An instance identifier corresponding to the media sub-component instance; the sending module is configured to send, to the application function AF entity, a second message that is used to indicate a resource allocation result, where the second message carries the second instance identifier.
在一实施方式中,所述第一接收模块包括:第一接收单元,设置为接收到策略和计费执行功能PCEF实体发送的用于指示资源分配结果的第一消息;或者,第二接收单元,设置为接收到承载绑定和事件上报功能BBERF实体发送的用于指示资源分配结果的第一消息。 In an embodiment, the first receiving module includes: a first receiving unit, configured to receive a first message sent by a PCEF entity for indicating a resource allocation result by a policy and charging execution function; or a second receiving unit And being configured to receive the first message sent by the BBERF entity sent by the bearer binding and event reporting function to indicate a resource allocation result.
在一实施方式中,所述装置还包括:第二接收模块,设置为在第一接收模块根据所述第一消息中的所述第一实例标识确定所述第二实例标识之前,接收由所述AF实体分配的所述第二实例标识;或,分配模块,设置为为所述媒体组件实例或所述媒体子组件实例分配所述第二实例标识。In an embodiment, the apparatus further includes: a second receiving module, configured to receive, before the first receiving module determines the second instance identifier according to the first instance identifier in the first message, Said second instance identifier assigned by the AF entity; or an allocation module configured to allocate the second instance identifier for the media component instance or the media subcomponent instance.
在一实施方式中,第二接收模块设置为:接收所述AF实体为所述媒体组件实例分配的所述第二实例标识;所述装置还包括:制定规则模块,设置为根据所述媒体组件实例制定一个或多个PCC规则实例,其中,在所述一个或多个PCC规则实例中携带与所述第二实例标识对应的所述第一实例标识。In an embodiment, the second receiving module is configured to: receive the second instance identifier that is allocated by the AF entity for the media component instance; and the device further includes: formulating a rule module, configured to be according to the media component The instance formulates one or more instances of the PCC rule, wherein the first instance identifier corresponding to the second instance identifier is carried in the one or more PCC rule instances.
在一实施方式中,所述分配模块设置为:若根据媒体组件实例制定一个PCC规则实例,则为所述媒体组件实例分配所述第二实例标识;或者,若根据一个或多个媒体子组件实例制定一个PCC规则实例,则为所述媒体子组件实例分配所述第二实例标识。In an embodiment, the allocating module is configured to: assign a second instance identifier to the media component instance if a PCC rule instance is formulated according to the media component instance; or if according to one or more media subcomponents The instance formulates a PCC rule instance, and then assigns the second instance identifier to the media subcomponent instance.
在一实施方式中,所述第一实例标识中携带有业务信息触发策略决策的指示信息或存在与所述第一实例标识对应的所述第二实例标识的指示信息。In an embodiment, the first instance identifier carries the indication information of the service information triggering policy decision or the indication information of the second instance identifier corresponding to the first instance identifier.
在一实施方式中,所述指示信息为所述第一实例标识取值中的标识位或特定的取值区间。In an embodiment, the indication information is an identifier bit or a specific value interval in the value of the first instance identifier.
在一实施方式中,所述第一消息还携带所述策略规则实例的规则标识,所述第二消息还携带所述媒体组件实例的标识或所述媒体子组件实例的标识,其中,所述规则标识用于确定所述媒体组件实例或所述媒体子组件实例。In an embodiment, the first message further carries a rule identifier of the policy rule instance, and the second message further carries an identifier of the media component instance or an identifier of the media subcomponent instance, where the The rule identification is used to determine the media component instance or the media subcomponent instance.
在一实施方式中,所述发送模块,还设置为:在所述分配模块为所述媒体组件实例分配所述第二实例标识之后,向所述AF返回所述第二实例标识,并提供所述媒体组件实例或媒体子组件实例的标识。In an embodiment, the sending module is further configured to: after the assigning module allocates the second instance identifier to the media component instance, return the second instance identifier to the AF, and provide the The identity of the media component instance or media subcomponent instance.
根据本发明的又一个实施例,提供了一种策略控制系统,包括:策略和计费规则功能PCRF实体和AF实体,所述PCRF实体包括:第一接收模块,设置为接收用于指示资源分配结果的第一消息,并根据所述第一消息 中的第一实例标识确定对应的第二实例标识,其中,所述第一实例标识为执行资源分配的策略规则实例对应的实例标识,所述第二实例标识为用于制定所述策略规则实例的媒体组件实例或媒体子组件实例对应的实例标识;发送模块,设置为向应用功能AF实体发送用于指示资源分配结果的第二消息,所述第二消息中携带所述第二实例标识;AF实体设置为:接收所述第二消息。According to still another embodiment of the present invention, a policy control system is provided, including: a policy and charging rule function PCRF entity and an AF entity, where the PCRF entity includes: a first receiving module, configured to receive for indicating resource allocation The first message of the result, and according to the first message The first instance identifier determines a corresponding second instance identifier, where the first instance identifier is an instance identifier corresponding to a policy rule instance that performs resource allocation, and the second instance identifier is used to formulate the policy rule instance The media component instance or the media sub-component instance corresponding to the instance identifier; the sending module, configured to send, to the application function AF entity, a second message for indicating a resource allocation result, where the second message carries the second instance identifier; The AF entity is set to: receive the second message.
在一实施方式中,AF实体还设置为分配所述第二实例标识;或者所述PCRF实体还设置为为所述媒体组件实例或所述媒体子组件分配所述第二实例标识。In an embodiment, the AF entity is further configured to allocate the second instance identifier; or the PCRF entity is further configured to assign the second instance identifier to the media component instance or the media subcomponent.
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:According to still another embodiment of the present invention, a storage medium is also provided. The storage medium is arranged to store program code for performing the following steps:
接收用于指示资源分配结果的第一消息,并根据所述第一消息中的第一实例标识确定对应的第二实例标识,其中,所述第一实例标识为执行资源分配的策略规则实例对应的实例标识,所述第二实例标识为用于制定所述策略规则实例的媒体组件实例或媒体子组件实例对应的实例标识;Receiving a first message for indicating a resource allocation result, and determining a corresponding second instance identifier according to the first instance identifier in the first message, where the first instance identifier is a policy rule instance corresponding to performing resource allocation An instance identifier, where the second instance identifier is an instance identifier corresponding to a media component instance or a media subcomponent instance used to formulate the policy rule instance;
向应用功能AF实体发送用于指示资源分配结果的第二消息,所述第二消息中携带所述第二实例标识。Sending, to the application function AF entity, a second message indicating a resource allocation result, where the second message carries the second instance identifier.
通过本发明实施例,接收用于指示资源分配结果的第一消息,并根据所述第一消息中的第一实例标识确定对应的第二实例标识,其中,所述第一实例标识为执行资源分配的策略规则实例对应的实例标识,所述第二实例标识为用于制定所述策略规则实例的媒体组件实例或媒体子组件实例对应的实例标识;向应用功能AF实体发送用于指示资源分配结果的第二消息,所述第二消息中携带所述第二实例标识。可以使AF正确获知资源预留结果。According to the embodiment of the present invention, a first message for indicating a resource allocation result is received, and a corresponding second instance identifier is determined according to the first instance identifier in the first message, where the first instance identifier is an execution resource. An instance identifier corresponding to the assigned policy rule instance, where the second instance identifier is an instance identifier corresponding to the media component instance or the media subcomponent instance used to formulate the policy rule instance, and is sent to the application function AF entity to indicate resource allocation The second message of the second message carries the second instance identifier. The AF can be made to know the resource reservation result correctly.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述 BRIEF abstract
图1是3GPP定义的PCC架构示意图;1 is a schematic diagram of a PCC architecture defined by 3GPP;
图2是AF请求网络QoS保证的流程图;2 is a flow chart of AF request network QoS guarantee;
图3是根据本发明实施例的策略控制方法的流程图;3 is a flowchart of a policy control method according to an embodiment of the present invention;
图4是根据本发明实施例的策略控制装置的结构框图;4 is a structural block diagram of a policy control apparatus according to an embodiment of the present invention;
图5是根据本发明实施例的策略控制系统的结构框图;FIG. 5 is a structural block diagram of a policy control system according to an embodiment of the present invention; FIG.
图6为本发明实施例一策略控制的流程示意图;6 is a schematic flowchart of a policy control according to an embodiment of the present invention;
图7为本发明实施例二策略控制的流程示意图;7 is a schematic flowchart of policy control according to Embodiment 2 of the present invention;
图8为本发明实施例三策略控制的流程示意图;FIG. 8 is a schematic flowchart of a third policy control according to Embodiment 3 of the present invention; FIG.
图9为本发明实施例四策略控制的流程示意图。FIG. 9 is a schematic flowchart of a policy control according to Embodiment 4 of the present invention.
详述Detailed
下文中将参考附图并结合实施例来详细说明本申请。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The present application will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order.
实施例1Example 1
在本实施例中提供了一种运行于上述图1所示的网络架构的策略控制方法,图3是根据本发明实施例的策略控制方法的流程图,如图3所示,该流程包括如下步骤:In this embodiment, a policy control method running in the network architecture shown in FIG. 1 is provided. FIG. 3 is a flowchart of a policy control method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps. step:
步骤S302,接收用于指示资源分配结果的第一消息,并根据第一消息中的第一实例标识确定对应的第二实例标识,其中,第一实例标识为执行资源分配的策略规则实例对应的实例标识,第二实例标识为用于制定策略规则的媒体组件实例或媒体子组件实例对应的实例标识;Step S302: Receive a first message for indicating a resource allocation result, and determine a corresponding second instance identifier according to the first instance identifier in the first message, where the first instance identifier is a policy rule instance corresponding to performing resource allocation. An instance identifier, where the second instance identifier is an instance identifier corresponding to the media component instance or the media subcomponent instance used to formulate the policy rule;
步骤S304,向应用功能AF实体发送用于指示资源分配结果的第二消息,第二消息中携带第二实例标识。Step S304: Send a second message for indicating a resource allocation result to the application function AF entity, where the second message carries the second instance identifier.
在本实施例中,策略规则实例是指策略规则的初始提供或某一次更 新;媒体组件实例或媒体子组件实例是指媒体组件或媒体子组件的初始提供或某一次更新。In this embodiment, the policy rule instance refers to the initial provision of the policy rule or a certain time. New; media component instance or media subcomponent instance refers to the initial or some update of a media component or media subcomponent.
通过上述步骤,接收用于指示资源分配结果的第一消息,并根据第一消息中的第一实例标识确定对应的第二实例标识,其中,第一实例标识为执行资源分配的策略规则实例对应的实例标识,第二实例标识为用于制定策略规则的媒体组件实例或媒体子组件实例对应的实例标识;向应用功能AF实体发送用于指示资源分配结果的第二消息,第二消息中携带第二实例标识。可以使AF正确获知资源预留结果。And the first message that is used to indicate the resource allocation result is received, and the corresponding second instance identifier is determined according to the first instance identifier in the first message, where the first instance identifier is a policy rule instance corresponding to performing resource allocation. An instance identifier, the second instance identifier is an instance identifier corresponding to the media component instance or the media subcomponent instance used to formulate the policy rule, and the second function is sent to the application function AF entity to indicate the resource allocation result. The second instance identifier. The AF can be made to know the resource reservation result correctly.
在本发明的实施例中,实例标识(Instance Identifier)也可以称为更新计数器(Update Counter)、序列号(sequence number)、参考号(Reference Number)或是更新实例标识(Update Instance identifier)。In an embodiment of the present invention, an Instance Identifier may also be referred to as an Update Counter, a sequence number, a Reference Number, or an Update Instance identifier.
在一实施方式中,上述步骤的执行主体可以为PCRF等,但不限于此。In an embodiment, the execution body of the above steps may be a PCRF or the like, but is not limited thereto.
在一实施方式中,接收到用于指示资源分配结果的第一消息包括以下两种方式:接收到策略和计费执行功能PCEF实体发送的用于指示资源分配结果的第一消息;或者,接收到承载绑定和事件上报功能BBERF实体发送的用于指示资源分配结果的第一消息。In an embodiment, the receiving the first message for indicating the resource allocation result includes the following two methods: receiving the first message sent by the PCEF entity for indicating the resource allocation result by the policy and charging execution function; or receiving The first message sent by the BBERF entity to the bearer binding and event reporting function to indicate the resource allocation result.
在一实施方式中,第一实例标识中携带有业务信息触发策略决策的指示信息或存在与第一实例标识对应的第二实例标识的指示信息。指示信息为第一实例标识取值中的一个或多个标识位或特定的一个或多个取值区间。In an embodiment, the first instance identifier carries the indication information of the service information triggering policy decision or the indication information of the second instance identifier corresponding to the first instance identifier. The indication information is one or more identifier bits or a specific one or more value intervals in the first instance identifier value.
在一实施方式中,在根据第一消息中的第一实例标识确定第二实例标识之前,还可以用外部节点或自身分配第二实例标识,包括:In an embodiment, before determining the second instance identifier according to the first instance identifier in the first message, the second instance identifier may also be allocated by using the external node or itself, including:
接收由AF实体分配的第二实例标识;或者Receiving a second instance identifier assigned by the AF entity; or
为媒体组件实例或媒体子组件分配第二实例标识。Assign a second instance ID to the media component instance or media subcomponent.
在根据本实施例的实施方式中,在接收由AF实体分配的第二实例标识时,还可包括:In the embodiment according to the embodiment, when receiving the second instance identifier allocated by the AF entity, the method may further include:
S11,接收AF实体为媒体组件实例分配的第二实例标识; S11. Receive a second instance identifier that is allocated by the AF entity to the media component instance.
S12,根据媒体组件实例制定一个或多个PCC规则实例,其中,在一个或多个PCC规则实例中携带与第二实例标识对应的第一实例标识。S12. Create one or more instances of the PCC rule according to the media component instance, where the first instance identifier corresponding to the second instance identifier is carried in the one or more PCC rule instances.
在一实施方式中,根据媒体组件实例制定一个或多个PCC规则实例包括:根据媒体组件实例制定一个PCC规则实例时,当媒体组件中携带多个媒体子组件,则将多个媒体子组件聚合后制定一个PCC规则实例;或者,据媒体组件实例制定多个PCC规则实例时,每个PCC规则实例中携带第一实例标识。In an embodiment, formulating one or more PCC rule instances according to the media component instance includes: when a PCC rule instance is formulated according to the media component instance, when the media component carries multiple media subcomponents, the multiple media subcomponents are aggregated After the PCC rule instance is created, each PCC rule instance carries the first instance identifier.
在根据本实施例的实施方式中,在为媒体组件实例或媒体子组件实例分配第二实例标识时,还可包括:若根据媒体组件实例制定一个PCC规则实例,则为媒体组件实例分配第二实例标识;或者,若根据一个或多个媒体子组件实例制定一个PCC规则实例,则为媒体子组件实例分配第二实例标识。在一实施方式中,在为媒体组件实例分配第二实例标识之后,还可以执行:向AF返回第二实例标识,并提供媒体组件实例或媒体子组件实例的标识。In an embodiment according to this embodiment, when assigning the second instance identifier to the media component instance or the media subcomponent instance, the method further includes: assigning a second to the media component instance if the PCC rule instance is formulated according to the media component instance An instance identifier; or, if a PCC rule instance is formulated based on one or more media subcomponent instances, assign a second instance identifier to the media subcomponent instance. In an embodiment, after the second instance identifier is assigned to the media component instance, the method may further perform: returning the second instance identifier to the AF, and providing the identifier of the media component instance or the media subcomponent instance.
在一实施方式中,在接收到用于指示资源分配结果的第一消息之前,本实施例还包括:为PCC规则分配第一实例标识,其中,根据第二实例标识确定第一实例标识。In an embodiment, before receiving the first message for indicating the resource allocation result, the embodiment further includes: allocating a first instance identifier to the PCC rule, wherein the first instance identifier is determined according to the second instance identifier.
在一实施方式中,在本实施例中,第二实例标识与第一实例标识的关系满足以下之一:第二实例标识的取值与第一实例标识的取值相同;第二实例标识的取值是依据第一实例标识的取值按照配置计算得到的;第二实例标识的取值是依据PCRF保存的所述第一实例标识和第二实例标识的对应关系得到的。In an embodiment, in the embodiment, the relationship between the second instance identifier and the first instance identifier meets one of the following: the value of the second instance identifier is the same as the value of the first instance identifier; The value is obtained according to the configuration of the first instance identifier. The value of the second instance identifier is obtained according to the correspondence between the first instance identifier and the second instance identifier saved by the PCRF.
在一实施方式中,第一消息还携带策略规则实例的规则标识,第二消息还携带媒体组件实例的标识或媒体子组件实例的标识,其中,规则标识用于确定媒体组件实例或媒体子组件实例。其中,规则标识可以是规则名。In an embodiment, the first message further carries a rule identifier of the policy rule instance, and the second message further carries an identifier of the media component instance or an identifier of the media subcomponent instance, wherein the rule identifier is used to determine the media component instance or the media subcomponent Example. The rule identifier may be a rule name.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理 解,本发明实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on this rationale The technical solution of the embodiment of the present invention may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), and includes a plurality of instructions for making a terminal device. The method of various embodiments of the present invention (which may be a cell phone, a computer, a server, or a network device, etc.).
实施例2Example 2
在本实施例中还提供了一种策略控制装置、系统,用于实现上述实施例及实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置可以以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a policy control device and a system are provided to implement the foregoing embodiments and implementation manners, which have not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图4是根据本发明实施例的策略控制装置的结构框图,如图4所示,该装置包括:4 is a structural block diagram of a policy control apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes:
第一接收模块40,设置为接收用于指示资源分配结果的第一消息,并根据第一消息中的第一实例标识确定对应的第二实例标识,其中,第一实例标识为执行资源分配的策略规则实例对应的实例标识,第二实例标识为用于制定策略规则实例的媒体组件实例或媒体子组件实例对应的实例标识;The first receiving module 40 is configured to receive a first message for indicating a resource allocation result, and determine a corresponding second instance identifier according to the first instance identifier in the first message, where the first instance identifier is used to perform resource allocation. An instance identifier corresponding to the policy rule instance, where the second instance identifier is an instance identifier corresponding to the media component instance or the media subcomponent instance used to formulate the policy rule instance;
发送模块42,设置为向应用功能AF实体发送用于指示资源分配结果的第二消息,第二消息中携带第二实例标识。The sending module 42 is configured to send a second message for indicating a resource allocation result to the application function AF entity, where the second message carries the second instance identifier.
在一实施方式中,第一接收模块40还包括:第一接收单元,设置为接收到策略和计费执行功能PCEF实体发送的用于指示资源分配结果的第一消息;或者,In an embodiment, the first receiving module 40 further includes: a first receiving unit, configured to receive a first message sent by the PCEF entity for indicating a resource allocation result by the policy and charging execution function; or
第二接收单元,设置为接收到承载绑定和事件上报功能BBERF实体发送的用于指示资源分配结果的第一消息。The second receiving unit is configured to receive a first message sent by the BBERF entity sent by the bearer binding and event reporting function to indicate a resource allocation result.
在一实施方式中,装置还包括:第二接收模块,设置为在第一接收模块根据第一消息中的第一实例标识确定第二实例标识之前,接收由AF实体分配的第二实例标识;或,分配模块,设置为为媒体组件实例或媒体子组件实例分配第二实例标识。 In an embodiment, the device further includes: a second receiving module, configured to receive the second instance identifier allocated by the AF entity before the first receiving module determines the second instance identifier according to the first instance identifier in the first message; Or, an allocation module, configured to assign a second instance ID to a media component instance or a media subcomponent instance.
在一实施方式中,所述第二接收模块设置为:所述装置还包括:制定规则模块,设置为接收AF实体为媒体组件实例分配的第二实例标识;根据媒体组件实例制定一个或多个PCC规则实例,其中,在一个或多个PCC规则实例中携带与第二实例标识对应的第一实例标识。In an embodiment, the second receiving module is configured to: the device further includes: a formulating module, configured to receive a second instance identifier allocated by the AF entity for the media component instance; and one or more according to the media component instance The PCC rule instance, wherein the first instance identifier corresponding to the second instance identifier is carried in one or more PCC rule instances.
在一实施方式中,分配模块设置为:若根据媒体组件实例制定一个PCC规则实例,则为媒体组件实例分配第二实例标识;或者,若根据一个或多个媒体子组件实例制定一个PCC规则实例,则为媒体子组件实例分配第二实例标识。In an embodiment, the allocation module is configured to: assign a second instance identifier to the media component instance if the PCC rule instance is formulated according to the media component instance; or if the PCC rule instance is formulated according to one or more media subcomponent instances , the second instance ID is assigned to the media subcomponent instance.
发送模块,还设置为:在所述分配模块为所述媒体组件实例分配所述第二实例标识之后,向AF返回第二实例标识,并提供媒体组件实例或媒体子组件实例的标识。The sending module is further configured to: after the assigning module allocates the second instance identifier to the media component instance, return a second instance identifier to the AF, and provide an identifier of the media component instance or the media subcomponent instance.
在一实施方式中,第一实例标识中携带有业务信息触发策略决策的指示信息或存在与第一实例标识对应的第二实例标识的指示信息。指示信息为第一实例标识取值中的标识位或特定的取值区间。In an embodiment, the first instance identifier carries the indication information of the service information triggering policy decision or the indication information of the second instance identifier corresponding to the first instance identifier. The indication information is an identifier bit or a specific value interval in the value of the first instance identifier.
在一实施方式中,第一消息还携带策略规则实例的规则标识,第二消息还携带媒体组件实例的标识或媒体子组件的标识,其中,规则标识用于确定媒体组件实例或媒体子组件实例。In an embodiment, the first message further carries a rule identifier of the policy rule instance, and the second message further carries an identifier of the media component instance or an identifier of the media subcomponent, wherein the rule identifier is used to determine the media component instance or the media subcomponent instance .
图5是根据本发明实施例的策略控制系统的结构框图,如图5所示,包括:FIG. 5 is a structural block diagram of a policy control system according to an embodiment of the present invention. As shown in FIG. 5, the method includes:
包括策略和计费规则功能PCRF实体50和AF实体52,Including the policy and charging rule function PCRF entity 50 and AF entity 52,
PCRF实体50包括:The PCRF entity 50 includes:
第一接收模块502,设置为接收用于指示资源分配结果的第一消息,并根据第一消息中的第一实例标识确定对应的第二实例标识,其中,第一实例标识为执行资源分配的策略规则实例对应的实例标识,第二实例标识为用于制定策略规则实例的媒体组件实例或媒体子组件实例更新对应的实例标识;The first receiving module 502 is configured to receive a first message for indicating a resource allocation result, and determine a corresponding second instance identifier according to the first instance identifier in the first message, where the first instance identifier is configured to perform resource allocation. An instance identifier corresponding to the policy rule instance, where the second instance identifier is an instance identifier corresponding to the media component instance or the media subcomponent instance update used to formulate the policy rule instance;
发送模块504,设置为向应用功能AF实体发送用于指示资源分配结果的第二消息,第二消息中携带第二实例标识; The sending module 504 is configured to send, to the application function AF entity, a second message that is used to indicate a resource allocation result, where the second message carries the second instance identifier.
AF实体52设置为:接收所述第二消息。The AF entity 52 is arranged to receive the second message.
在一实施方式中,AF实体52还设置为分配所述第二实例标识;或者PCRF实体50还设置为为媒体组件实例或媒体子组件实例分配第二实例标识。也即,第二实例标识可以通过AF实体52和PCRF实体50获得。In an embodiment, the AF entity 52 is further configured to assign the second instance identification; or the PCRF entity 50 is further configured to assign a second instance identification to the media component instance or the media subcomponent instance. That is, the second instance identification can be obtained by the AF entity 52 and the PCRF entity 50.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
实施例3Example 3
本实施例提出了一种策略控制的方法,可以使AF正确获知资源预留结果。This embodiment provides a method for policy control, so that the AF can correctly learn the resource reservation result.
本实施例提供的策略和计费控制的方法,包括:The method for policy and charging control provided in this embodiment includes:
PCRF为PCC规则分配第一实例标识,所述第一实例标识中携带指示所述第一实例标识对应第二实例标识,所述第二实例标识为用于定制所述PCC规则的业务信息的对应的实例标识。The PCRF allocates a first instance identifier to the PCC rule, where the first instance identifier carries a second instance identifier corresponding to the first instance identifier, and the second instance identifier is a corresponding service information used to customize the PCC rule. Instance ID.
当所述PCRF接收到承载绑定功能(BBERF/PCEF)发送的资源分配结果的消息后,根据消息中的第一实例标识,确定第二实例标识后,向AF发送资源分配结果的消息,携带所述第二实例标识。After receiving the message of the resource allocation result sent by the bearer binding function (BBERF/PCEF), the PCRF sends a message of the resource allocation result to the AF after determining the second instance identifier according to the first instance identifier in the message, and carries the message The second instance identifier.
所述第二个实例标识由应用功能分配或由PCRF分配。The second instance identifier is assigned by an application function or by a PCRF.
当所述第二实例标识由应用功能分配时,所述应用功能为业务信息中的每个媒体组件实例分配一个所述第二实例标识,所述PCRF根据所述媒体组件实例制定一个或多个PCC规则实例,并在所述PCC规则实例中携带相同取值的所述第一实例标识。When the second instance identifier is allocated by an application function, the application function allocates one of the second instance identifiers for each media component instance in the service information, and the PCRF formulates one or more according to the media component instance. The PCC rule instance carries the first instance identifier of the same value in the PCC rule instance.
当所述第二实例标识由PCRF分配时,所述PCRF为用于制定同一个PCC规则实例的媒体子组件实例分配相同取值的第二实例标识。When the second instance identifier is allocated by the PCRF, the PCRF is a second instance identifier for assigning the same value to the media subcomponent instance for formulating the same PCC rule instance.
下面结合实际的场景对本实施例进行详细的说明,包括以下4个实施例,需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The following is a detailed description of the present embodiment in conjunction with the actual scenario, including the following four embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
实施例一 Embodiment 1
图6为本发明实施例一策略控制的流程示意图,其中由PCRF分配Rx实例标识,且Rx实例标识和Gx实例标识是一一对应的。包括以下步骤:FIG. 6 is a schematic flowchart of a policy control according to an embodiment of the present invention, in which an Rx instance identifier is allocated by a PCRF, and the Rx instance identifier and the Gx instance identifier are in one-to-one correspondence. Includes the following steps:
步骤601:AF向PCRF提供业务信息,消息中携带业务信息,包括一个或多个媒体组件(携带在Media-Component-Description AVP中);Step 601: The AF provides service information to the PCRF, where the message carries service information, including one or more media components (carried in the Media-Component-Description AVP);
步骤602:PCRF根据网络策略,业务信息和用户签约信息等进行策略决策,制定PCC规则。这个过程中,PCRF可能需要与SPR交互,获取用户的签约信息。在PCRF制定PCC规则的过程中,PCRF可以根据一个媒体子组件(携带在Media-Sub-Component AVP)制定一个PCC规则(即若一个Media-Component-Description AVP中携带2个Media-Sub-Component AVP,则PCRF将制定2个PCC规则),PCRF也可能将一个Media Component中的多个Media Sub Component聚合后,生成一个PCC规则。若PCRF根据一个Media Sub Component制定了一个PCC规则,那么PCRF将为这个Media Sub Component分配一个Rx实例标识(Reference number)(这里表示为Rx实例标识a);若PCRF为2个或多个Media Sub Component 制定了一个PCC规则,则PCRF将为2个或多个Media Sub Component分配一个Rx实例标识(Reference number)(这里表示为Rx实例标识a);若PCRF为Media Component制定了一个PCC规则,则PCRF将为这个Media Component分配一个Rx实例标识(Reference number)(即相同于为Media Component中的所有Media Sub Component分配相同的Reference number)。Rx实例标识a标识Media Component或Media Sub Component的初始提供(可以认为是标识这个Media Component或Media Sub Component的初始提供实例)同时,在PCC规则中携带Gx实例标识,这里表示为Gx实例标识a。其中Gx实例标识取值可以跟Rx实例标识的取值相同,或是Gx实例标识的取值可以根据Rx实例标识的取值推导。即Gx实例标识和Rx实例标识是一一对应的。同样其中Gx实例标识中携带表示业务信息触发的策略决策的指示信息(也就表示该Gx实例标识对应一个Rx实例标识)。该指示信息在实际实现时,可以是在Gx实例标识取值中设置一个标识位,或是分配特定的取值区间。Gx实例标识a标识一个PCC规则的初始提供(可以认为是标识这个PCC规则的初始提供实例)。 Step 602: The PCRF makes a policy decision according to the network policy, service information, and user subscription information, and formulates a PCC rule. In this process, the PCRF may need to interact with the SPR to obtain the user's subscription information. In the process of formulating PCC rules by the PCRF, the PCRF may formulate a PCC rule according to a media subcomponent (carrying in the Media-Sub-Component AVP) (ie, if a Media-Component-Description AVP carries 2 Media-Sub-Component AVPs) The PCRF will formulate two PCC rules. The PCRF may also aggregate multiple Media Sub Components in a Media Component to generate a PCC rule. If the PCRF formulates a PCC rule based on a Media Sub Component, the PCRF will assign an Rx instance identifier (Reference number) to the Media Sub Component (here denoted as the Rx instance identifier a); if the PCRF is 2 or more Media Subs The Component has a PCC rule, and the PCRF will assign one Rx instance identifier (Reference number) to the two or more Media Sub Components (here denoted as the Rx instance identifier a); if the PCRF has a PCC rule for the Media Component, then The PCRF will assign an Rx instance number to the Media Component (ie, the same as assigning the same Reference number to all Media Sub Components in the Media Component). The Rx instance identifier a identifies the initial provision of the Media Component or Media Sub Component (which may be considered to be the initial provisioning instance identifying the Media Component or Media Sub Component). At the same time, the Gc instance identifier is carried in the PCC rule, here denoted as the Gx instance identifier a. The value of the Gx instance identifier can be the same as the value of the Rx instance identifier, or the value of the Gx instance identifier can be derived based on the value of the Rx instance identifier. That is, the Gx instance identifier and the Rx instance identifier are in one-to-one correspondence. Similarly, the Gx instance identifier carries the indication information indicating the policy decision triggered by the service information (that is, the Gx instance identifier corresponds to one Rx instance identifier). When the indication information is actually implemented, it may be that an identifier bit is set in the value of the Gx instance identifier, or a specific value interval is allocated. The Gx instance identifier a identifies the initial provision of a PCC rule (which may be considered to be the initial provisioning instance that identifies this PCC rule).
步骤603:PCRF返回确认消息,则消息中携带流标识(用Flows AVP携带)并在其中携带相应的Rx实例标识(这里是Rx实例标识a),用Reference-Number AVP携带。若PCRF为一个Media Component分配了相同的Reference Number,则Flows只需携带这个Media Component的Media Component Number(用Media-Component-Number AVP)和对应的Rx实例标识;若PCRF为一个Media Component中的不同Media Sub Component分配了不同的Reference Number,则Flows AVP中除了携带Media component的Media Component Number外,还要携带子Sub Component的Flow Number(用Flow-Number AVP携带)和对应的Reference Number。通过这个消息,AF便获知了每个Media Sub Component的Reference Number。Step 603: The PCRF returns an acknowledgement message, and the message carries the flow identifier (carried by the Flows AVP) and carries the corresponding Rx instance identifier (here, the Rx instance identifier a), and is carried by the Reference-Number AVP. If the PCRF assigns the same Reference Number to a Media Component, the Flow only needs to carry the Media Component Number of the Media Component (using Media-Component-Number AVP) and the corresponding Rx instance identifier; if the PCRF is different in a Media Component The Media Sub Component is assigned a different Reference Number. In addition to the Media Component Number carrying the Media component, the Flow AVP also carries the Flow Number of the Sub Sub Component (carryed by the Flow-Number AVP) and the corresponding Reference Number. Through this message, the AF knows the Reference Number of each Media Sub Component.
Figure PCTCN2017092081-appb-000010
Figure PCTCN2017092081-appb-000010
在一实施方式中,PCRF只要在为Media-Sub-Component AVP分配了Rx实例标识后,就可向AF返回携带Rx实例标识的应答消息,随后再制定PCC规则。In an embodiment, after the PCRF allocates the Rx instance identifier to the Media-Sub-Component AVP, the PCRF may return a response message carrying the Rx instance identifier to the AF, and then formulate a PCC rule.
步骤604:PCRF将策略决策后制定的PCC规则提供给PCEF;Step 604: The PCRF provides the PCC rule formulated after the policy decision to the PCEF.
步骤605:PCEF安装PCC规则后,返回确认消息。Step 605: After the PCEF installs the PCC rule, the PCEF returns an acknowledgement message.
步骤606:PCEF根据PCC规则发起资源预留过程;Step 606: The PCEF initiates a resource reservation process according to the PCC rule.
步骤607:在PCRF向PCEF提供给PCC规则后(即步骤S604后),PCRF又收到了更新的业务信息,携带更新的媒体组件(即之前提供的媒体组件的一个新的实例)。通常AF只发送需要更新的媒体组件。AF也可以 提供完整的业务信息(包括更新的媒体组件和未更新的媒体组件)Step 607: After the PCRF provides the PCEF to the PCC rule (ie, after step S604), the PCRF receives the updated service information, and carries the updated media component (ie, a new instance of the previously provided media component). Usually AF only sends media components that need to be updated. AF can also Provide complete business information (including updated media components and unupdated media components)
步骤608:PCRF根据网络策略,业务信息和用户签约信息等进行策略决策,更新之前的PCC规则。若携带更新的媒体组件,则还执行以下步骤:若新增Sub Component并且为其制定了新的PCC规则,则PCRF为PCC规则分配Gx实例标识b,并且为Sub Component分配Rx实例标识b;若新增了Sub Component并且根据新增的Sub Component更新了之前的PCC规则,则PCRF为该PCC规则分配新的Gx实例标识b,同时为PCC规则对应的所有Sub Component分配新的Rx实例标识b;若修改已有Sub Component并且更新了之前的PCC规则,则PCRF为该PCC规则分配新的Gx参考后号b,同时为该PCC规则对应的所有Sub Component分配新的Rx实例标识b。其中Gx实例标识b取值可以跟Rx实例标识b的取值相同,或是Gx实例标识b的取值和Rx实例标识b的取值是相互可推导。即Gx实例标识b和Rx实例标识b是一一对应的。同样其中Gx实例标识中携带表示业务信息触发的策略决策的指示信息(也就表示该Gx实例标识对应一个Rx实例标识)。该指示信息在实际实现时,可以是在Gx实例标识取值中设置一个标识位,或是分配特定的取值区间。Rx实例标识b标识这个Media Component或Media Sub Component的第一次更新(可以认为是标识这个Media Component或Media Sub Component的第一次更新实例)。Gx实例标识b标识这个PCC规则的第一次更新(可以认为是标识这个PCC规则的第一次更新实例)。Step 608: The PCRF performs policy decision according to the network policy, service information, and user subscription information, and updates the previous PCC rule. If the updated media component is carried, the following steps are also performed: if a new Sub Component is added and a new PCC rule is created for it, the PCRF assigns a Gx instance identifier b to the PCC rule, and assigns an Rx instance identifier b to the Sub Component; The Sub-Component is added and the previous PCC rule is updated according to the newly added Sub Component. The PCRF allocates a new Gx instance identifier b to the PCC rule, and assigns a new Rx instance identifier b to all Sub Components corresponding to the PCC rule. If the existing Sub Component is modified and the previous PCC rule is updated, the PCRF allocates a new Gx reference post number b to the PCC rule, and assigns a new Rx instance identifier b to all Sub Components corresponding to the PCC rule. The value of the Gx instance identifier b may be the same as the value of the Rx instance identifier b, or the value of the Gx instance identifier b and the value of the Rx instance identifier b may be derived from each other. That is, the Gx instance identifier b and the Rx instance identifier b are one-to-one correspondence. Similarly, the Gx instance identifier carries the indication information indicating the policy decision triggered by the service information (that is, the Gx instance identifier corresponds to one Rx instance identifier). When the indication information is actually implemented, it may be that an identifier bit is set in the value of the Gx instance identifier, or a specific value interval is allocated. The Rx instance identifier b identifies the first update of this Media Component or Media Sub Component (which can be thought of as the first update instance identifying this Media Component or Media Sub Component). The Gx instance identifier b identifies the first update of this PCC rule (which may be considered to be the first update instance identifying this PCC rule).
步骤609:PCRF返回确认消息,则消息中携带流标识(用Flows AVP携带)并在其中携带相应的Rx实例标识b,用Reference-Number AVP携带。若PCRF为一个Media Component分配了相同的Reference Number,则Flows只需携带这个Media Component的Media Component Number(用Media-Component-Number AVP)和对应的Rx实例标识b;若PCRF为一个Media Component中的不同Media Sub Component分配了不同的Rx实例标识a,则Flows AVP中除了携带Media component的Media Component Number外,还要携带子Sub Component的Flow Number(用Flow-Number AVP携带)和对应的Rx实例标识b。通过这个消息,AF便获知了每个Media Sub  Component的实例标识。Step 609: The PCRF returns an acknowledgement message, and the message carries the flow identifier (carried by the Flows AVP) and carries the corresponding Rx instance identifier b therein, and is carried by the Reference-Number AVP. If the PCRF allocates the same Reference Number to a Media Component, Flow only needs to carry the Media Component Number of the Media Component (with Media-Component-Number AVP) and the corresponding Rx instance to identify b; if the PCRF is a Media Component Different Media SubComponents are assigned different Rx instance identifiers a. In addition to the Media Component Number carrying the Media component, the Flows AVP also carries the Flow Number of the Sub Sub Component ( carried by the Flow-Number AVP) and the corresponding Rx instance identifier. b. Through this message, AF knows each Media Sub The instance ID of the Component.
Figure PCTCN2017092081-appb-000011
Figure PCTCN2017092081-appb-000011
在一实施方式中,PCRF只要在为Media-Sub-Component AVP分配了Rx实例标识后,就可向AF返回携带Rx实例标识的应答消息,随后再制定PCC规则。In an embodiment, after the PCRF allocates the Rx instance identifier to the Media-Sub-Component AVP, the PCRF may return a response message carrying the Rx instance identifier to the AF, and then formulate a PCC rule.
步骤610:PCRF向PCEF提供更新后的PCC规则,PCC规则中携带Gx实例标识b;Step 610: The PCRF provides the updated PCC rule to the PCEF, and the PCC rule carries the Gx instance identifier b.
步骤611:PCEF安装PCC规则后,返回确认消息;Step 611: After the PCEF installs the PCC rule, the PCEF returns an acknowledgement message.
步骤612:PCRF根据安装的PCC规则发起资源预留过程;Step 612: The PCRF initiates a resource reservation process according to the installed PCC rule.
步骤613:在步骤610后,PCRF可能因为某种原因需要进一步更新PCC规则(譬如网络策略发生改变,用户签约发生改变,接入网发生改变等),PCRF进行策略决策,更新PCC规则,并在PCC规则中携带新的Gx实例标识(这里表示为Gx实例标识’)。其中这是的Gx实例标识携带非业务信息触发的策略决策的指示信息(也就表示该Gx实例标识不对应一个Rx实例标识)。该指示信息在实际实现时,可以是在Gx实例标识取值中设置一个标识位,或是分配特定的取值区间(即与Rx实例标识对应的Gx实例标识和不与Rx实例标识对应的Gx实例标识属于不同的取值区间)。Gx实例标识’标识这个PCC规则的第二次更新(可以认为是标识这个PCC规则的第一次更新实例)Step 613: After step 610, the PCRF may need to further update the PCC rules for some reason (for example, the network policy changes, the user subscription changes, the access network changes, etc.), the PCRF makes policy decisions, updates the PCC rules, and The PCC rule carries a new Gx instance identifier (here denoted as a Gx instance identifier '). The Gx instance identifier indicates that the policy decision triggered by the non-service information is carried out (that is, the Gx instance identifier does not correspond to an Rx instance identifier). When the indication information is actually implemented, the identifier may be set in the value of the Gx instance identifier, or a specific value interval may be allocated (that is, the Gx instance identifier corresponding to the Rx instance identifier and the Gx corresponding to the Rx instance identifier). The instance IDs belong to different value ranges. The Gx instance identifier 'identifies the second update of this PCC rule (can be considered to be the first update instance identifying this PCC rule)
步骤614:PCRF向PCEF提供更新后的PCC规则,PCC规则中携带Gx 实例标识’;Step 614: The PCRF provides the updated PCC rule to the PCEF, and the PCC rule carries the Gx. Instance identification’;
步骤615:PCEF安装PCC规则后,返回确认消息;Step 615: After the PCEF installs the PCC rule, the PCEF returns a confirmation message.
步骤616:PCRF根据安装的PCC规则发起资源预留过程;Step 616: The PCRF initiates a resource reservation process according to the installed PCC rule.
步骤617:此后,PCEF收到资源预留过程的应答消息,显示资源预留失败;Step 617: After this, the PCEF receives the response message of the resource reservation process, indicating that the resource reservation fails.
步骤618:PCEF向PCRF发送事件通知,携带资源预留失败指示(用Event-Trigger AVP携带),以及对应的PCC规则(用Charging-Rule-Report AVP携带)。若在步骤617中,PCEF收到的失败指示是步骤606中PCEF发起的资源预留过程的应答,则PCEF向PCRF发送的消息中还携带Gx实例标识a(用Reference-Number AVP);若在步骤617中,PCEF收到的失败指示是步骤612中PCEF发起的资源预留过程的应答,则PCEF向PCRF发送的消息中还携带Gx实例标识b(用Reference-Number AVP);若在步骤617中,PCEF收到的失败指示是步骤616中PCEF发起的资源预留过程的应答,则PCEF向PCRF发送的消息中还携带Gx实例标识’(用Reference-Number AVP)。其中Reference-Number AVP携带在Charging-Rule-Report AVP中;Step 618: The PCEF sends an event notification to the PCRF, carrying a resource reservation failure indication (carried by the Event-Trigger AVP), and a corresponding PCC rule (carried by the Charging-Rule-Report AVP). If the failure indication received by the PCEF is the response of the resource reservation process initiated by the PCEF in step 606, the message sent by the PCEF to the PCRF further carries the Gx instance identifier a (using the Reference-Number AVP); In step 617, the failure indication received by the PCEF is the response of the resource reservation process initiated by the PCEF in step 612, and the message sent by the PCEF to the PCRF further carries the Gx instance identifier b (using the Reference-Number AVP); The failure indication received by the PCEF is the response of the resource reservation procedure initiated by the PCEF in step 616, and the message sent by the PCEF to the PCRF further carries the Gx instance identifier '(with Reference-Number AVP). The Reference-Number AVP is carried in the Charging-Rule-Report AVP;
Figure PCTCN2017092081-appb-000012
Figure PCTCN2017092081-appb-000012
步骤619:PCRF向PCEF返回确认消息;Step 619: The PCRF returns an acknowledgement message to the PCEF.
步骤620:若PCEF上报Gx实例标识为Gx实例标识a或Gx实例标识b,PCRF根据Gx实例标识a或Gx实例标识b确定Rx实例标识a或Rx实例标识b。(PCRF根据配置可以从Gx实例标识推导出Rx实例标识)。PCRF向AF发送事件通知,携带资源预留失败指示(用Specific-Action AVP携带)、流标识(用Flows AVP携带)。其中若在步骤614中,PCRF接收到的是Gx实例标识a,则Flows AVP携带对应的Rx实例标识a,若PCRF接收到的是Gx实例标识b,则Flows AVP中携带对应的Rx实例标识b。这样,根据Rx实例标识a或Rx实例标识b,AF就可以判断出是哪次提供的业务信息的资源分配失败了;(在此是以分配结果是分配失败进行说明)Step 620: If the PCEF reports that the Gx instance identifier is the Gx instance identifier a or the Gx instance identifier b, the PCRF determines the Rx instance identifier a or the Rx instance identifier b according to the Gx instance identifier a or the Gx instance identifier b. (The PCRF can derive the Rx instance ID from the Gx instance identifier according to the configuration). The PCRF sends an event notification to the AF, carrying a resource reservation failure indication (carried by the Specific-Action AVP), and a flow identifier (carried by the Flows AVP). If, in step 614, the PCRF receives the Gx instance identifier a, the Flows AVP carries the corresponding Rx instance identifier a. If the PCRF receives the Gx instance identifier b, the Flows AVP carries the corresponding Rx instance identifier b. . In this way, according to the Rx instance identifier a or the Rx instance identifier b, the AF can determine which resource information of the provided service information has failed to be allocated; (here, the allocation result is an allocation failure)
步骤621:AF向PCRF返回确认消息。Step 621: The AF returns an acknowledgement message to the PCRF.
上次实施例仅描述了当AF连续提供2次业务信息的场景,对于AF连续提供3次或3次以上场景,方案也是类似的。对于每次的业务更新,PCRF为根据Rx实例标识和Gx实例标识的分配原则进行分配。The last embodiment only describes a scenario in which the AF continuously provides 2 times of service information, and the scenario is similar for the case where the AF continuously provides 3 or more scenes. For each service update, the PCRF is allocated according to the allocation principle of the Rx instance identifier and the Gx instance identifier.
在上述实施例中,在AF初始提供业务信息的时候,PCRF分配了的Rx实例标识和Gx实例标识,并到初始提供业务信息的资源分配失败后,上报相应的Rx实例标识和Gx实例标识。在其他实施例中,也可以在初始提供业务信息的时候,不分配实例标识。这样,只要在上报的信息中没有携带实例标识,则表示是初始提供的业务信息的资源分配失败。In the foregoing embodiment, when the AF initially provides the service information, the Rx instance identifier and the Gx instance identifier are allocated by the PCRF, and after the resource allocation of the initial service information is failed, the corresponding Rx instance identifier and the Gx instance identifier are reported. In other embodiments, the instance identifier may not be assigned when the service information is initially provided. In this way, as long as the instance identifier is not carried in the reported information, it indicates that the resource allocation of the initially provided service information fails.
在上述实施例中,并不需要PCRF保存Gx实例标识和Rx实例标识实际的对应关系,而是PCRF根据配置的方法可以根据Gx实例标识推导出Rx实例标识。当然,PCRF也可以保存Gx参考号和Rx参考号的对应关系来实现相互之间的映射。In the foregoing embodiment, the PCRF is not required to save the actual correspondence between the Gx instance identifier and the Rx instance identifier, but the PCRF may derive the Rx instance identifier according to the Gx instance identifier according to the configured method. Of course, the PCRF can also save the correspondence between the Gx reference number and the Rx reference number to implement mapping between each other.
PCRF根据媒体组件或媒体子组件的新的实例更新已制定的PCC规则可以认为是根据媒体组件或媒体子组件的新的实例制定PCC规则的新的实例。 The PCRF updates the established PCC rules based on new instances of media components or media subcomponents that may be considered to be new instances of PCC rules based on new instances of media components or media subcomponents.
实施例二Embodiment 2
图7为本发明实施例二策略控制的流程示意图,包括以下步骤:FIG. 7 is a schematic flowchart of policy control according to Embodiment 2 of the present invention, including the following steps:
步骤401:AF向PCRF提供业务信息,消息中携带业务信息,包括一个或多个媒体组件(携带在Media-Component-Description AVP中);Step 401: The AF provides service information to the PCRF, where the message carries service information, including one or more media components (carried in the Media-Component-Description AVP);
步骤402:PCRF根据网络策略,业务信息和用户签约信息等进行策略决策,制定PCC规则。这个过程中,PCRF可能需要与SPR交互,获取用户的签约信息。在PCRF制定PCC规则的过程中,PCRF可以根据一个媒体子组件(携带在Media-Sub-Component AVP)制定一个PCC规则(即若一个Media-Component-Description AVP中携带2个Media-Sub-Component AVP,则PCRF将制定2个PCC规则),PCRF也可能将一个Media Component中的多个Media Sub Component聚合后,生成一个PCC规则。若PCRF根据一个Media Sub Component制定了一个PCC规则,那么PCRF将为这个Media Sub Component分配一个Rx实例标识(Reference number)(这里表示为Rx实例标识a);若PCRF为2个或多个Media Sub Component制定了一个PCC规则,则PCRF将为2个或多个Media Sub Component分配一个Rx实例标识(Reference number)(这里表示为Rx实例标识a);若PCRF为Media Component制定了一个PCC规则,则PCRF将为这个Media Component分配一个Rx实例标识(Reference number)(即相同于为Media Component中的所有Media Sub Component分配相同的Reference number)。同时,在PCC规则中携带Gx实例标识,这里表示为Gx实例标识a,在QoS规则中携带Gxx实例标识,表示为Gxx实例标识a。其中Gx实例标识和Gxx实例标识取值相同。其中Gx/Gxx实例标识取值可以跟Rx实例标识的取值相同,或是Gx/Gxx实例标识的取值可以根据Rx实例标识的取值推导。即Gx/Gxx实例标识和Rx实例标识是一一对应的。并且其中Gx/Gxx实例标识中携带表示业务信息触发的策略决策的指示信息(也就表示该Gx/Gxx实例标识对应一个Rx实例标识)。该指示信息在实际实现时,可以是在Gx实例标识取值中设置一个标识位,或是分配特定的取值区间。Rx实例标识a标识这个Media Component或Media Sub Component的初始提供(可以认为是标识这个Media Component或Media Sub Component的初始提 供实例)。Gx/Gxx实例标识a标识这个PCC/QoS规则的初始提供(可以认为是标识这个PCC/QoS规则的初始提供实例)。Step 402: The PCRF performs policy decision according to the network policy, service information, and user subscription information, and formulates a PCC rule. In this process, the PCRF may need to interact with the SPR to obtain the user's subscription information. In the process of formulating PCC rules by the PCRF, the PCRF may formulate a PCC rule according to a media subcomponent (carrying in the Media-Sub-Component AVP) (ie, if a Media-Component-Description AVP carries 2 Media-Sub-Component AVPs) The PCRF will formulate two PCC rules. The PCRF may also aggregate multiple Media Sub Components in a Media Component to generate a PCC rule. If the PCRF formulates a PCC rule based on a Media Sub Component, the PCRF will assign an Rx instance identifier (Reference number) to the Media Sub Component (here denoted as the Rx instance identifier a); if the PCRF is 2 or more Media Subs The Component has a PCC rule, and the PCRF will assign one Rx instance identifier (Reference number) to the two or more Media Sub Components (here denoted as the Rx instance identifier a); if the PCRF has a PCC rule for the Media Component, then The PCRF will assign an Rx instance number to the Media Component (ie, the same as assigning the same Reference number to all Media Sub Components in the Media Component). At the same time, the Gx instance identifier is carried in the PCC rule, which is represented as the Gx instance identifier a, and carries the Gxx instance identifier in the QoS rule, which is represented as the Gxx instance identifier a. The Gx instance ID and the Gxx instance ID have the same value. The value of the Gx/Gxx instance identifier may be the same as the value of the Rx instance identifier, or the value of the Gx/Gxx instance identifier may be derived according to the value of the Rx instance identifier. That is, the Gx/Gxx instance identifier and the Rx instance identifier are in one-to-one correspondence. And the Gx/Gxx instance identifier carries the indication information indicating the policy decision triggered by the service information (that is, the Gx/Gxx instance identifier corresponds to one Rx instance identifier). When the indication information is actually implemented, it may be that an identifier bit is set in the value of the Gx instance identifier, or a specific value interval is allocated. The Rx instance identifier a identifies the initial provision of this Media Component or Media Sub Component (which can be considered as the initial mention of identifying this Media Component or Media Sub Component). For example). The Gx/Gxx instance identification a identifies the initial provision of this PCC/QoS rule (which can be considered as an initial provisioning instance identifying this PCC/QoS rule).
步骤403:PCRF返回确认消息,则消息中携带流标识(用Flows AVP携带)并在其中携带相应的Rx实例标识,用Reference-Number AVP携带。若PCRF为一个Media Component分配了相同的Reference Number,则Flows只需携带这个Media Component的Media Component Number(用Media-Component-Number AVP)和对应的Rx实例标识;若PCRF为一个Media Component中的不同Media Sub Component分配了不同的Reference Number,则Flows AVP中除了携带Media component的Media Component Number外,还要携带子Sub Component的Flow Number(用Flow-Number AVP携带)和对应的Reference Number。通过这个消息,AF便获知了每个Media Sub Component的Reference Number。Step 403: The PCRF returns an acknowledgement message, and the message carries the flow identifier (carried by the Flows AVP) and carries the corresponding Rx instance identifier therein, and is carried by the Reference-Number AVP. If the PCRF assigns the same Reference Number to a Media Component, the Flow only needs to carry the Media Component Number of the Media Component (using Media-Component-Number AVP) and the corresponding Rx instance identifier; if the PCRF is different in a Media Component The Media Sub Component is assigned a different Reference Number. In addition to the Media Component Number carrying the Media component, the Flow AVP also carries the Flow Number of the Sub Sub Component (carryed by the Flow-Number AVP) and the corresponding Reference Number. Through this message, the AF knows the Reference Number of each Media Sub Component.
Figure PCTCN2017092081-appb-000013
Figure PCTCN2017092081-appb-000013
在一实施方式中,PCRF只要在为Media Sub Component分配了Rx实例标识后,就可向AF返回携带Rx实例标识的应答消息,随后再制定PCC/QoS规则。In an embodiment, after the PCRF allocates the Rx instance identifier to the Media Sub Component, the PCRF may return a response message carrying the Rx instance identifier to the AF, and then formulate a PCC/QoS rule.
步骤404:PCRF将策略决策后制定的PCC规则提供给PCEF;Step 404: The PCRF provides the PCC rule formulated after the policy decision to the PCEF.
步骤405:PCEF安装PCC规则后,返回确认消息。Step 405: After the PCEF installs the PCC rule, the PCEF returns an acknowledgement message.
步骤406:PCRF向BBERF提供QoS规则; Step 406: The PCRF provides a QoS rule to the BBERF.
步骤407:BBERF返回确认消息;Step 407: The BBERF returns an acknowledgement message.
步骤408:PCEF根据QoS规则发起资源预留过程;Step 408: The PCEF initiates a resource reservation process according to the QoS rule.
步骤409:在PCRF向BBERF提供给QoS规则后(即步骤S406后),PCRF又收到了更新的业务信息,携带更新的媒体组件(即之前提供的媒体组件的一个新的实例)。通常AF只发送需要更新的媒体描述组件。AF也可以提供完整的业务信息(包括更新的媒体组件和未更新的媒体组件)。Step 409: After the PCRF provides the BBERF to the QoS rule (ie, after step S406), the PCRF receives the updated service information, and carries the updated media component (ie, a new instance of the previously provided media component). Usually AF only sends media description components that need to be updated. AF can also provide complete business information (including updated media components and unupdated media components).
步骤410:PCRF根据网络策略,业务信息和用户签约信息等进行策略决策,更新之前的PCC规则。若携带更新的媒体组件,则还执行以下步骤:若新增Sub Component并且为其制定了新的PCC/QoS规则,则PCRF为PCC规则分配Gx实例标识b,为QoS规则分配Gxx实例标识b,并且为Sub Component分配Rx实例标识b;若新增了Sub Component并且根据新增的Sub Component更新了之前的PCC/QoS规则,则PCRF为该PCC/QoS规则分配新的Gx实例标识b/Gxx实例标识b,同时为PCC/QoS规则对应的所有Sub Component分配新的Rx实例标识b;若修改已有Sub Component并且更新了之前的PCC/QoS规则,则PCRF为该PCC/QoS规则分配新的Gx参考后号b/Gxx实例标识b,同时为该PCC/QoS规则对应的所有Sub Component分配新的Rx实例标识b。其中Gx实例标识b/Gxx实例标识b取值可以跟Rx实例标识b的取值相同,或是Gx实例标识b/Gxx实例标识b的取值和Rx实例标识b的取值是相互可推导。即Gx实例标识b/Gxx实例标识b和Rx实例标识b是一一对应的。同样其中Gx实例标识b/Gxx实例标识b中携带表示业务信息触发的策略决策的指示信息(也就表示该Gx实例标识对应一个Rx实例标识)。该指示信息在实际实现时,可以是在Gx实例标识取值中设置一个标识位,或是分配特定的取值区间。Rx实例标识b标识这个Media Component或Media Sub Component的第一次更新(可以认为是标识这个Media Component或Media Sub Component的第一次更新实例)。Gx/Gxx实例标识b标识这个PCC/QoS规则的第一次更新(可以认为是标识这个PCC/QoS规则的第一次更新实例)。Step 410: The PCRF performs policy decision according to the network policy, service information, and user subscription information, and updates the previous PCC rule. If the updated media component is carried, the following steps are also performed: if a new Sub Component is added and a new PCC/QoS rule is created for it, the PCRF assigns a Gx instance identifier b to the PCC rule, and assigns a Gxx instance identifier b to the QoS rule. And assigning the Rx instance identifier b to the Sub Component; if the Sub Component is added and the previous PCC/QoS rule is updated according to the newly added Sub Component, the PCRF allocates a new Gx instance identifier b/Gxx instance for the PCC/QoS rule. Identifying b, and assigning a new Rx instance identifier b to all Sub Components corresponding to the PCC/QoS rule; if modifying the existing Sub Component and updating the previous PCC/QoS rule, the PCRF assigns a new Gx to the PCC/QoS rule. Referring to the back number b/Gxx instance identifier b, a new Rx instance identifier b is assigned to all Sub Components corresponding to the PCC/QoS rule. The value of the Gx instance identifier b/Gxx instance identifier b may be the same as the value of the Rx instance identifier b, or the value of the Gx instance identifier b/Gxx instance identifier b and the value of the Rx instance identifier b may be deduced from each other. That is, the Gx instance identifier b/Gxx instance identifier b and the Rx instance identifier b are one-to-one correspondence. Similarly, the Gx instance identifier b/Gxx instance identifier b carries the indication information indicating the policy decision triggered by the service information (that is, the Gx instance identifier corresponds to one Rx instance identifier). When the indication information is actually implemented, it may be that an identifier bit is set in the value of the Gx instance identifier, or a specific value interval is allocated. The Rx instance identifier b identifies the first update of this Media Component or Media Sub Component (which can be thought of as the first update instance identifying this Media Component or Media Sub Component). The Gx/Gxx instance identification b identifies the first update of this PCC/QoS rule (which can be considered as the first update instance identifying this PCC/QoS rule).
步骤411:PCRF返回确认消息,则消息中携带流标识(用Flows AVP 携带)并在其中携带相应的Rx实例标识a,用Reference-Number AVP携带。若PCRF为一个Media Component分配了相同的Reference Number,则Flows只需携带这个Media Component的Media Component Number(用Media-Component-Number AVP)和对应的Rx实例标识b;若PCRF为一个Media Component中的不同Media Sub Component分配了不同的Rx实例标识b,则Flows AVP中除了携带Media component的Media Component Number外,还要携带子Sub Component的Flow Number(用Flow-Number AVP携带)和对应的Rx实例标识b。通过这个消息,AF便获知了每个Media Sub Component的实例标识。Step 411: The PCRF returns an acknowledgement message, and the message carries the flow identifier (using Flows AVP). Carrying and carrying the corresponding Rx instance identifier a, carried by the Reference-Number AVP. If the PCRF allocates the same Reference Number to a Media Component, Flow only needs to carry the Media Component Number of the Media Component (with Media-Component-Number AVP) and the corresponding Rx instance to identify b; if the PCRF is a Media Component Different Media Sub Components are assigned different Rx instance identifiers b. In addition to the Media Component Number carrying the Media component, the Flow AVP also carries the Flow Number of the Sub Sub Component ( carried by the Flow-Number AVP) and the corresponding Rx instance identifier. b. Through this message, the AF knows the instance ID of each Media Sub Component.
步骤412:PCRF向PCEF提供更新后的PCC规则,PCC规则中携带Gx实例标识a;Step 412: The PCRF provides the updated PCC rule to the PCEF, and the PCC rule carries the Gx instance identifier a;
步骤413:PCEF安装PCC规则后,返回确认消息;Step 413: After the PCEF installs the PCC rule, the PCEF returns a confirmation message.
步骤414:PCRF向BBERF提供QoS规则;Step 414: The PCRF provides a QoS rule to the BBERF.
步骤415:BBERF安装QoS规则后向PCRF返回确认消息;Step 415: After installing the QoS rule, the BBERF returns an acknowledgement message to the PCRF.
步骤416:PCRF根据安装的QoS规则发起资源预留过程;Step 416: The PCRF initiates a resource reservation process according to the installed QoS rule.
步骤417:在步骤414后,PCRF可能因为某种原因需要进一步更新PCC规则(譬如网络策略发生改变,用户签约发生改变,接入网发生改变等),PCRF进行策略决策,更新PCC/QoS规则,并在PCC规则中携带新的Gx实例标识(这里表示为Gx实例标识’),QoS规则中携带新的Gxx实例标识(这里表示为Gxx实例标识’)。其中这是的Gx/Gxx实例标识携带非业务信息触发的策略决策的指示信息(也就表示该Gx/Gxx实例标识不对应一个Rx实例标识)。该指示信息在实际实现时,可以是在Gx/Gxx实例标识取值中设置一个标识位,或是分配特定的取值区间(即与Rx实例标识对应的Gx/Gxx实例标识和不与Rx实例标识对应的Gx/Gxx实例标识属于不同的取值区间)。Gx/Gxx实例标识’标识这个PCC/QoS规则的第二次更新(可以认为是标识这个PCC/QoS规则的第二次更新实例)。Step 417: After step 414, the PCRF may need to further update the PCC rules for some reason (such as a change in the network policy, a change in the subscription of the user, a change in the access network, etc.), and the PCRF makes policy decisions and updates the PCC/QoS rules. And the new Gx instance identifier (here denoted as Gx instance identifier ') is carried in the PCC rule, and the QoS rule carries a new Gxx instance identifier (here denoted as Gxx instance identifier '). The Gx/Gxx instance identifier indicates that the policy decision triggered by the non-service information is triggered (that is, the Gx/Gxx instance identifier does not correspond to an Rx instance identifier). When the indication information is actually implemented, it may be that an identifier bit is set in the value of the Gx/Gxx instance identifier, or a specific value interval is allocated (that is, the Gx/Gxx instance identifier corresponding to the Rx instance identifier and the Rx instance are not associated with the Rx instance identifier. The corresponding Gx/Gxx instance identifiers belong to different value ranges. The Gx/Gxx instance identifies 'identifies the second update of this PCC/QoS rule (which can be considered as the second update instance identifying this PCC/QoS rule).
步骤418:PCRF向PCEF提供更新后的PCC规则,PCC规则中携带Gx实例标识’; Step 418: The PCRF provides the updated PCC rule to the PCEF, and the PCC rule carries the Gx instance identifier ';
步骤419:PCEF安装PCC规则后,返回确认消息;Step 419: After the PCEF installs the PCC rule, the PCEF returns a confirmation message.
步骤420:PCRF向BBERF提供QoS规则;Step 420: The PCRF provides a QoS rule to the BBERF.
步骤421:BBERF安装QoS规则后向PCRF返回确认消息;Step 421: After installing the QoS rule, the BBERF returns an acknowledgement message to the PCRF.
步骤422:PCRF根据安装的BBERF规则发起资源预留过程;Step 422: The PCRF initiates a resource reservation process according to the installed BBERF rule.
步骤423:此后,BBERF收到资源预留过程的应答消息,显示资源预留失败;Step 423: After that, the BBERF receives the response message of the resource reservation process, indicating that the resource reservation fails.
步骤424:BBERF向PCRF发送事件通知,携带资源预留失败指示(用Event-Trigger AVP携带),以及对应的QoS规则(用QoS-Rule-Report AVP携带)。若在步骤423中,BBERF收到的失败指示是步骤408中BBERF发起的资源预留过程的应答,则BBERF向PCRF发送的消息中还携带Gxx实例标识a(用Reference-Number AVP);若在步骤423中,BBERF收到的失败指示是步骤416中BBERF发起的资源预留过程的应答,则BBERF向PCRF发送的消息中还携带Gxx实例标识b(用Reference-Number AVP)。若在步骤423中,BBERF收到的失败指示是步骤422中BBERF发起的资源预留过程的应答,则BBERF向PCRF发送的消息中还携带Gx实例标识’(用Reference-Number AVP)其中Reference-Number AVP携带在QoS-Rule-Report AVP中;Step 424: The BBERF sends an event notification to the PCRF, carrying a resource reservation failure indication (carried by the Event-Trigger AVP), and a corresponding QoS rule (carried by the QoS-Rule-Report AVP). If the failure indication received by the BBERF is the response of the resource reservation procedure initiated by the BBERF in step 408, the message sent by the BBERF to the PCRF further carries the Gxx instance identifier a (using the Reference-Number AVP); In step 423, the failure indication received by the BBERF is the response of the resource reservation procedure initiated by the BBERF in step 416, and the message sent by the BBERF to the PCRF further carries the Gxx instance identifier b (using the Reference-Number AVP). If the failure indication received by the BBERF is the response of the resource reservation procedure initiated by the BBERF in step 422, the message sent by the BBERF to the PCRF further carries the Gx instance identifier '(with Reference-Number AVP) where Reference- The Number AVP is carried in the QoS-Rule-Report AVP.
Figure PCTCN2017092081-appb-000014
Figure PCTCN2017092081-appb-000014
步骤425:PCRF向BBERF返回确认消息; Step 425: The PCRF returns an acknowledgement message to the BBERF.
步骤426:若BBERF上报Gxx实例标识为Gxx实例标识a或Gxx实例标识b,PCRF根据Gxx实例标识a或Gxx实例标识b确定Rx实例标识a或Rx实例标识b。PCRF向AF发送事件通知,携带资源预留失败指示(用Specific-Action AVP携带)、流标识(用Flows AVP携带)。其中若在步骤424中,PCRF接收到的是Gxx实例标识a,则Flows AVP携带对应的Rx实例标识a,若PCRF接收到的是Gxx实例标识b,则Flows AVP中携带对应的Rx实例标识b。这样,根据Rx实例标识a和Rx实例标识b,AF就可以判断出是哪次提供的业务信息的资源分配失败了;Step 426: If the BBERF reports that the Gxx instance identifier is the Gxx instance identifier a or the Gxx instance identifier b, the PCRF determines the Rx instance identifier a or the Rx instance identifier b according to the Gxx instance identifier a or the Gxx instance identifier b. The PCRF sends an event notification to the AF, carrying a resource reservation failure indication (carried by the Specific-Action AVP), and a flow identifier (carried by the Flows AVP). If the PCRF receives the Gxx instance identifier a in step 424, the Flows AVP carries the corresponding Rx instance identifier a. If the PCRF receives the Gxx instance identifier b, the Flows AVP carries the corresponding Rx instance identifier b. . In this way, according to the Rx instance identifier a and the Rx instance identifier b, the AF can determine which resource information of the provided service information fails to be allocated;
步骤427:AF向PCRF返回确认消息。Step 427: The AF returns an acknowledgement message to the PCRF.
上次实施例仅描述了当AF连续提供2次业务信息的场景,对于AF连续提供3次或3次以上场景,方案也是类似的。对于每次的业务更新,PCRF为根据Rx实例标识和Gx实例标识的分配原则进行分配。The last embodiment only describes a scenario in which the AF continuously provides 2 times of service information, and the scenario is similar for the case where the AF continuously provides 3 or more scenes. For each service update, the PCRF is allocated according to the allocation principle of the Rx instance identifier and the Gx instance identifier.
在上述实施例中,在AF初始提供业务信息的时候,PCRF分配了的Rx实例标识和Gx实例标识/Gxx实例标识,并到初始提供业务信息的资源分配失败后,上报相应的Rx实例标识和Gx实例标识/Gxx实例标识。在其他实施例中,也可以在初始提供业务信息的时候,不分配实例标识。这样,只要在上报的信息中没有携带实例标识,则表示是初始提供的业务信息的资源分配失败。In the foregoing embodiment, when the AF initially provides the service information, the Rx instance identifier and the Gx instance identifier/Gxx instance identifier allocated by the PCRF, and after the resource allocation failure of the initial provision of the service information fails, the corresponding Rx instance identifier is reported and Gx instance ID / Gxx instance ID. In other embodiments, the instance identifier may not be assigned when the service information is initially provided. In this way, as long as the instance identifier is not carried in the reported information, it indicates that the resource allocation of the initially provided service information fails.
PCRF根据媒体组件或媒体子组件的新的实例更新已制定的PCC/QoS规则可以认为是根据媒体组件或媒体子组件的新的实例制定PCC/QoS规则的新的实例。The PCRF updates the established PCC/QoS rules based on new instances of media components or media subcomponents that may be considered to be new instances of PCC/QoS rules based on new instances of media components or media subcomponents.
实施例三Embodiment 3
图8为本发明实施例三策略控制的流程示意图,其中AF分配Rx实例标识,包括以下步骤:FIG. 8 is a schematic flowchart of a third policy control according to an embodiment of the present invention, where an AF assigns an Rx instance identifier, including the following steps:
步骤501:AF向PCRF提供业务信息,消息中携带业务信息,包括一个或多个媒体组件(携带在Media-Component-Description AVP中)。AF可以为一个媒体组件分配一个Rx实例标识,这里表示为Rx实例标识a; Step 501: The AF provides service information to the PCRF, where the message carries service information, including one or more media components (carried in the Media-Component-Description AVP). The AF can assign a Rx instance identifier to a media component, which is represented here as an Rx instance identifier a;
步骤502:PCRF保存业务信息后返回确认消息Step 502: The PCRF returns a confirmation message after saving the service information.
步骤503:PCRF根据网络策略,业务信息和用户签约信息等进行策略决策,制定PCC规则。这个过程中,PCRF可能需要与SPR交互,获取用户的签约信息。在PCRF制定PCC规则的过程中,PCRF可以根据一个媒体子组件(携带在Media-Sub-Component AVP)制定一个PCC规则(即若一个Media-Component-Description AVP中携带2个Media-Sub-Component AVP,则PCRF将制定2个PCC规则),PCRF也可能将一个Media Component中的多个Media Sub Component聚合后,生成一个PCC规则。同时,在PCC规则中携带Gx实例标识,这里表示为Gx实例标识a。若PCRF根据一个媒体组件制定了多个PCC规则,则PCRF在每个PCC规则中携带相同的Gx实例标识。其中Gx实例标识取值可以跟Rx实例标识的取值相同,或是Gx实例标识的取值可以根据Rx实例标识的取值推导。即Gx实例标识和Rx实例标识是一一对应的。同样其中Gx实例标识中携带表示业务信息触发的策略决策的指示信息(也就表示该Gx实例标识对应一个Rx实例标识)。该指示信息在实际实现时,可以是在Gx实例标识取值中设置一个标识位,或是分配特定的取值区间。Rx实例标识a标识这个Media Component的初始提供(可以认为是标识这个Media Component的初始提供实例)。Gx实例标识a标识这个PCC规则的初始提供(可以认为是标识这个PCC规则的初始提供实例)。Step 503: The PCRF makes a policy decision according to the network policy, service information, and user subscription information, and formulates a PCC rule. In this process, the PCRF may need to interact with the SPR to obtain the user's subscription information. In the process of formulating PCC rules by the PCRF, the PCRF may formulate a PCC rule according to a media subcomponent (carrying in the Media-Sub-Component AVP) (ie, if a Media-Component-Description AVP carries 2 Media-Sub-Component AVPs) The PCRF will formulate two PCC rules. The PCRF may also aggregate multiple Media Sub Components in a Media Component to generate a PCC rule. At the same time, the Gx instance identifier is carried in the PCC rule, which is represented as the Gx instance identifier a. If the PCRF formulates multiple PCC rules according to one media component, the PCRF carries the same Gx instance identifier in each PCC rule. The value of the Gx instance identifier can be the same as the value of the Rx instance identifier, or the value of the Gx instance identifier can be derived based on the value of the Rx instance identifier. That is, the Gx instance identifier and the Rx instance identifier are in one-to-one correspondence. Similarly, the Gx instance identifier carries the indication information indicating the policy decision triggered by the service information (that is, the Gx instance identifier corresponds to one Rx instance identifier). When the indication information is actually implemented, it may be that an identifier bit is set in the value of the Gx instance identifier, or a specific value interval is allocated. The Rx instance identifier a identifies the initial offer of this Media Component (which can be thought of as identifying the initial provider of this Media Component). The Gx instance identifier a identifies the initial provision of this PCC rule (which can be considered to be the initial provisioning instance that identifies this PCC rule).
步骤504:PCRF将策略决策后制定的PCC规则提供给PCEF;Step 504: The PCRF provides the PCC rule formulated after the policy decision to the PCEF.
步骤505:PCEF安装PCC规则后,返回确认消息。Step 505: After the PCEF installs the PCC rule, the PCEF returns a confirmation message.
步骤506:PCEF根据PCC规则发起资源预留过程;Step 506: The PCEF initiates a resource reservation process according to the PCC rule.
步骤507:在PCRF向PCEF提供给PCC规则后(即步骤S504后),PCRF又收到了更新的业务信息,携带更新的媒体组件。(即之前提供的媒体组件的一个新的实例)。通常AF只发送需要更新的媒体组件。AF可以为更新的媒体组件分配一个新的Rx实例标识,这里表示为Rx实例标识b。AF也可以提供完整的业务信息(包括更新的媒体组件和未更新的媒体组件)。Step 507: After the PCRF provides the PCEF to the PCC rule (ie, after step S504), the PCRF receives the updated service information and carries the updated media component. (ie a new instance of the media component provided previously). Usually AF only sends media components that need to be updated. The AF can assign a new Rx instance identifier to the updated media component, denoted here as the Rx instance identifier b. AF can also provide complete business information (including updated media components and unupdated media components).
步骤508:PCRF保存业务信息后,返回确认消息; Step 508: After the PCRF saves the service information, it returns an acknowledgement message.
步骤509:PCRF根据网络策略,业务信息和用户签约信息等进行策略决策,更新之前的PCC规则。若携带更新的媒体组件,则还执行以下步骤:若新增Sub Component并且为其制定了新的PCC规则,则PCRF为PCC规则分配Gx实例标识b;若新增了Sub Component并且根据新增的Sub Component更新了之前的PCC规则,则PCRF为该PCC规则分配新的Gx实例标识b;若修改已有Sub Component并且更新了之前的PCC规则,则PCRF为该PCC规则分配新的Gx参考后号b。同样,若PCRF根据更新的媒体组件制定了多个PCC规则,则PCC规则中携带相同的Gx实例标识。其中Gx实例标识b取值可以跟Rx实例标识b的取值相同,或是Gx实例标识b的取值和Rx实例标识b的取值是相互可推导。即Gx实例标识b和Rx实例标识b是一一对应的。同样其中Gx实例标识中携带表示业务信息触发的策略决策的指示信息(也就表示该Gx实例标识对应一个Rx实例标识)。该指示信息在实际实现时,可以是在Gx实例标识取值中设置一个标识位,或是分配特定的取值区间。Rx实例标识b标识这个Media Component的第一次更新(可以认为是标识这个Media Component的第一次更新实例)。Gx/Gxx实例标识b标识这个PCC规则的第一次更新(可以认为是标识这个PCC的第一次更新实例)。Step 509: The PCRF performs policy decision according to the network policy, service information, and user subscription information, and updates the previous PCC rule. If the updated media component is carried, the following steps are also performed: if a new Sub Component is added and a new PCC rule is created for it, the PCRF assigns a Gx instance identifier b to the PCC rule; if a new Sub Component is added and The Sub Component updates the previous PCC rule, and the PCRF assigns a new Gx instance identifier b to the PCC rule; if the existing Sub Component is modified and the previous PCC rule is updated, the PCRF assigns a new Gx reference to the PCC rule. b. Similarly, if the PCRF formulates multiple PCC rules according to the updated media component, the PCC rules carry the same Gx instance identifier. The value of the Gx instance identifier b may be the same as the value of the Rx instance identifier b, or the value of the Gx instance identifier b and the value of the Rx instance identifier b may be derived from each other. That is, the Gx instance identifier b and the Rx instance identifier b are one-to-one correspondence. Similarly, the Gx instance identifier carries the indication information indicating the policy decision triggered by the service information (that is, the Gx instance identifier corresponds to one Rx instance identifier). When the indication information is actually implemented, it may be that an identifier bit is set in the value of the Gx instance identifier, or a specific value interval is allocated. The Rx instance identifier b identifies the first update of this Media Component (which can be thought of as identifying the first update instance of this Media Component). The Gx/Gxx instance identifier b identifies the first update of this PCC rule (which can be considered to be the first update instance identifying this PCC).
步骤510:PCRF向PCEF提供更新后的PCC规则,PCC规则中携带Gx实例标识b;Step 510: The PCRF provides the updated PCC rule to the PCEF, and the PCC rule carries the Gx instance identifier b.
步骤511:PCEF安装PCC规则后,返回确认消息;Step 511: After the PCEF installs the PCC rule, the PCEF returns a confirmation message.
步骤512:PCRF根据安装的PCC规则发起资源预留过程;Step 512: The PCRF initiates a resource reservation process according to the installed PCC rule.
步骤513:在步骤510后,PCRF可能因为某种原因需要进一步更新PCC规则(譬如网络策略发生改变,用户签约发生改变,接入网发生改变等),PCRF进行策略决策,更新PCC规则,并在PCC规则中携带新的Gx实例标识(这里表示为Gx实例标识’)。其中这是的Gx实例标识携带非业务信息触发的策略决策的指示信息(也就表示该Gx实例标识不对应一个Rx实例标识)。该指示信息在实际实现时,可以是在Gx实例标识取值中设置一个标识位,或是分配特定的取值区间(即与Rx实例标识对应的Gx实例标识和不与Rx实例标识对应的Gx实例标识属于不同的取值区间)。Gx 实例标识’标识这个PCC规则的第二次更新(可以认为是标识这个PCC规则的第二次更新实例)。Step 513: After step 510, the PCRF may need to further update the PCC rules for some reason (for example, the network policy changes, the user subscription changes, the access network changes, etc.), the PCRF makes policy decisions, updates the PCC rules, and The PCC rule carries a new Gx instance identifier (here denoted as a Gx instance identifier '). The Gx instance identifier indicates that the policy decision triggered by the non-service information is carried out (that is, the Gx instance identifier does not correspond to an Rx instance identifier). When the indication information is actually implemented, the identifier may be set in the value of the Gx instance identifier, or a specific value interval may be allocated (that is, the Gx instance identifier corresponding to the Rx instance identifier and the Gx corresponding to the Rx instance identifier). The instance IDs belong to different value ranges. Gx The instance identification 'identifies the second update of this PCC rule (which can be considered as the second update instance identifying this PCC rule).
步骤514:PCRF向PCEF提供更新后的PCC规则,PCC规则中携带Gx实例标识’;Step 514: The PCRF provides the updated PCC rule to the PCEF, and the PCC rule carries the Gx instance identifier ';
步骤515:PCEF安装PCC规则后,返回确认消息;Step 515: After the PCEF installs the PCC rule, the PCEF returns a confirmation message.
步骤516:PCRF根据安装的PCC规则发起资源预留过程;Step 516: The PCRF initiates a resource reservation process according to the installed PCC rules.
步骤517:此后,PCEF收到资源预留过程的应答消息,显示资源预留失败;Step 517: After that, the PCEF receives the response message of the resource reservation process, indicating that the resource reservation fails.
步骤518:PCEF向PCRF发送事件通知,携带资源预留失败指示(用Event-Trigger AVP携带),以及对应的PCC规则(用Charging-Rule-Report AVP携带)。若在步骤517中,PCEF收到的失败指示是步骤506中PCEF发起的资源预留过程的应答,则PCEF向PCRF发送的消息中还携带Gx实例标识a(用Reference-Number AVP);若在步骤517中,PCEF收到的失败指示是步骤512中PCEF发起的资源预留过程的应答,则PCEF向PCRF发送的消息中还携带Gx实例标识b(用Reference-Number AVP);若在步骤517中,PCEF收到的失败指示是步骤516中PCEF发起的资源预留过程的应答,则PCEF向PCRF发送的消息中还携带Gx实例标识’(用Reference-Number AVP)。其中Reference-Number AVP携带在Charging-Rule-Report AVP中;Step 518: The PCEF sends an event notification to the PCRF, carrying a resource reservation failure indication (carried by the Event-Trigger AVP), and a corresponding PCC rule (carried by the Charging-Rule-Report AVP). If the failure indication received by the PCEF is the response of the resource reservation process initiated by the PCEF in step 506, the message sent by the PCEF to the PCRF further carries the Gx instance identifier a (using the Reference-Number AVP); In step 517, the failure indication received by the PCEF is the response of the resource reservation process initiated by the PCEF in step 512, and the message sent by the PCEF to the PCRF further carries the Gx instance identifier b (using the Reference-Number AVP); The failure indication received by the PCEF is the response of the resource reservation process initiated by the PCEF in step 516, and the message sent by the PCEF to the PCRF further carries the Gx instance identifier '(with Reference-Number AVP). The Reference-Number AVP is carried in the Charging-Rule-Report AVP;
Figure PCTCN2017092081-appb-000015
Figure PCTCN2017092081-appb-000015
Figure PCTCN2017092081-appb-000016
Figure PCTCN2017092081-appb-000016
步骤519:PCRF向PCEF返回确认消息;Step 519: The PCRF returns an acknowledgement message to the PCEF.
步骤520:若PCEF上报Gx实例标识为Gx实例标识a或Gx实例标识b,PCRF根据Gx实例标识a或Gx实例标识b确定Rx实例标识a或Rx实例标识b。PCRF向AF发送事件通知,携带资源预留失败指示(用Specific-Action AVP携带)、流标识(用Flows AVP携带)。其中若在步骤514中,PCRF接收到的是Gx实例标识a,则Flows AVP携带对应的Rx实例标识a,若PCRF接收到的是Gx实例标识b,则Flows AVP中携带对应的Rx实例标识b。这样,根据Rx实例标识a或Rx实例标识b,AF就可以判断出是哪次提供的业务信息的资源分配失败了;Step 520: If the PCEF reports that the Gx instance identifier is the Gx instance identifier a or the Gx instance identifier b, the PCRF determines the Rx instance identifier a or the Rx instance identifier b according to the Gx instance identifier a or the Gx instance identifier b. The PCRF sends an event notification to the AF, carrying a resource reservation failure indication (carried by the Specific-Action AVP), and a flow identifier (carried by the Flows AVP). If, in step 514, the PCRF receives the Gx instance identifier a, the Flows AVP carries the corresponding Rx instance identifier a. If the PCRF receives the Gx instance identifier b, the Flows AVP carries the corresponding Rx instance identifier b. . In this way, according to the Rx instance identifier a or the Rx instance identifier b, the AF can determine which resource information of the provided service information fails to be allocated;
步骤521:AF向PCRF返回确认消息。Step 521: The AF returns an acknowledgement message to the PCRF.
上次实施例仅描述了当AF连续提供2次业务信息的场景,对于AF连续提供3次或3次以上场景,方案也是类似的。对于每次的业务更新,PCRF为根据Rx实例标识和Gx实例标识的分配原则进行分配。The last embodiment only describes a scenario in which the AF continuously provides 2 times of service information, and the scenario is similar for the case where the AF continuously provides 3 or more scenes. For each service update, the PCRF is allocated according to the allocation principle of the Rx instance identifier and the Gx instance identifier.
在上述实施例中,在AF初始提供业务信息的时候,PCRF分配了的Rx实例标识和Gx实例标识,并到初始提供业务信息的资源分配失败后,上报相应的Rx实例标识和Gx实例标识。在其他实施例中,也可以在初始提供业务信息的时候,不分配实例标识。这样,只要在上报的信息中没有携带实例标识,则表示是初始提供的业务信息的资源分配失败。In the foregoing embodiment, when the AF initially provides the service information, the Rx instance identifier and the Gx instance identifier are allocated by the PCRF, and after the resource allocation of the initial service information is failed, the corresponding Rx instance identifier and the Gx instance identifier are reported. In other embodiments, the instance identifier may not be assigned when the service information is initially provided. In this way, as long as the instance identifier is not carried in the reported information, it indicates that the resource allocation of the initially provided service information fails.
在上述实施例中,并不需要PCRF保存Gx实例标识和Rx实例标识实际的对应关系,而是PCRF根据配置的方法可以根据Gx实例标识推导出Rx实例标识。当然,PCRF也可以保存Gx参考号和Rx参考号的对应关系来实现相互之间的映射。PCRF根据媒体组件或媒体子组件的新的实例更新已制定的PCC规则可以认为是根据媒体组件或媒体子组件的新的实例制定PCC规则的新的实例。 In the foregoing embodiment, the PCRF is not required to save the actual correspondence between the Gx instance identifier and the Rx instance identifier, but the PCRF may derive the Rx instance identifier according to the Gx instance identifier according to the configured method. Of course, the PCRF can also save the correspondence between the Gx reference number and the Rx reference number to implement mapping between each other. The PCRF updates the established PCC rules based on new instances of media components or media subcomponents that may be considered to be new instances of PCC rules based on new instances of media components or media subcomponents.
实施例四Embodiment 4
图9为本发明施例四策略控制的流程示意图,包括以下步骤:FIG. 9 is a schematic flowchart of a fourth policy control according to Embodiment 4 of the present invention, including the following steps:
步骤601:AF向PCRF提供业务信息,消息中携带业务信息,包括一个或多个媒体组件(携带在Media-Component-Description AVP中)。AF可以为一个媒体组件分配一个Rx实例标识,这里表示为Rx实例标识a;Step 601: The AF provides service information to the PCRF, where the message carries service information, including one or more media components (carried in the Media-Component-Description AVP). The AF can assign a Rx instance identifier to a media component, which is represented here as an Rx instance identifier a;
步骤602:PCRF保存业务信息后返回确认消息;Step 602: The PCRF returns a confirmation message after saving the service information.
步骤603:PCRF根据网络策略,业务信息和用户签约信息等进行策略决策,制定PCC规则。这个过程中,PCRF可能需要与SPR交互,获取用户的签约信息。在PCRF制定PCC规则的过程中,PCRF可以根据一个媒体子组件(携带在Media-Sub-Component AVP)制定一个PCC规则(即若一个Media-Component-Description AVP中携带2个Media-Sub-Component AVP,则PCRF将制定2个PCC规则),PCRF也可能将一个Media Component中的多个Media Sub Component聚合后,生成一个PCC规则。在PCC规则中携带Gx实例标识,这里表示为Gx实例标识a,在QoS规则中携带Gxx实例标识,表示为Gxx实例标识a。其中Gx实例标识和Gxx实例标识取值相同。若PCRF根据一个媒体组件制定了多个PCC规则,则PCRF在每个PCC规则中携带相同的Gx实例标识,QoS规则中携带相同的Gxx实例标识。其中Gx/Gxx实例标识取值可以跟Rx实例标识的取值相同,或是Gx/Gxx实例标识的取值可以根据Rx实例标识的取值推导。即Gx/Gxx实例标识和Rx实例标识是一一对应的。并且其中Gx/Gxx实例标识中携带表示业务信息触发的策略决策的指示信息(也就表示该Gx/Gxx实例标识对应一个Rx实例标识)。该指示信息在实际实现时,可以是在Gx实例标识取值中设置一个标识位,或是分配特定的取值区间。Rx实例标识a标识这个Media Component的初始提供(可以认为是标识这个Media Component的初始提供实例)。Gx/Gxx实例标识a标识这个PCC/QoS规则的初始提供(可以认为是标识这个PCC/QoS规则的初始提供实例)。Step 603: The PCRF makes a policy decision according to the network policy, service information, and user subscription information, and formulates a PCC rule. In this process, the PCRF may need to interact with the SPR to obtain the user's subscription information. In the process of formulating PCC rules by the PCRF, the PCRF may formulate a PCC rule according to a media subcomponent (carrying in the Media-Sub-Component AVP) (ie, if a Media-Component-Description AVP carries 2 Media-Sub-Component AVPs) The PCRF will formulate two PCC rules. The PCRF may also aggregate multiple Media Sub Components in a Media Component to generate a PCC rule. The Gx instance identifier is carried in the PCC rule, which is represented by the Gx instance identifier a, and carries the Gxx instance identifier in the QoS rule, which is represented as the Gxx instance identifier a. The Gx instance ID and the Gxx instance ID have the same value. If the PCRF has multiple PCC rules according to a media component, the PCRF carries the same Gx instance identifier in each PCC rule, and the QoS rule carries the same Gxx instance identifier. The value of the Gx/Gxx instance identifier may be the same as the value of the Rx instance identifier, or the value of the Gx/Gxx instance identifier may be derived according to the value of the Rx instance identifier. That is, the Gx/Gxx instance identifier and the Rx instance identifier are in one-to-one correspondence. And the Gx/Gxx instance identifier carries the indication information indicating the policy decision triggered by the service information (that is, the Gx/Gxx instance identifier corresponds to one Rx instance identifier). When the indication information is actually implemented, it may be that an identifier bit is set in the value of the Gx instance identifier, or a specific value interval is allocated. The Rx instance identifier a identifies the initial offer of this Media Component (which can be thought of as identifying the initial provider of this Media Component). The Gx/Gxx instance identification a identifies the initial provision of this PCC/QoS rule (which can be considered as an initial provisioning instance identifying this PCC/QoS rule).
步骤604:PCRF将策略决策后制定的PCC规则提供给PCEF; Step 604: The PCRF provides the PCC rule formulated after the policy decision to the PCEF.
步骤605:PCEF安装PCC规则后,返回确认消息。Step 605: After the PCEF installs the PCC rule, the PCEF returns an acknowledgement message.
步骤606:PCRF向BBERF提供QoS规则;Step 606: The PCRF provides a QoS rule to the BBERF.
步骤607:BBERF返回确认消息;Step 607: The BBERF returns a confirmation message.
步骤608:PCEF根据QoS规则发起资源预留过程;Step 608: The PCEF initiates a resource reservation process according to the QoS rule.
步骤609:在PCRF向BBERF提供给QoS规则后(即步骤S606后),PCRF又收到了更新的业务信息,携带更新的媒体组件。(即之前提供的媒体组件的一个新的实例)。通常AF只发送需要更新的媒体描述组件。AF为一个媒体组件分配一个Rx实例标识,这里表示为Rx实例标识b。AF也可以提供完整的业务信息(包括更新的媒体组件和未更新的媒体组件)。Step 609: After the PCRF provides the BBERF to the QoS rule (ie, after step S606), the PCRF receives the updated service information and carries the updated media component. (ie a new instance of the media component provided previously). Usually AF only sends media description components that need to be updated. AF assigns an Rx instance identifier to a media component, denoted here as the Rx instance identifier b. AF can also provide complete business information (including updated media components and unupdated media components).
步骤610:PCRF保存业务信息后返回确认消息Step 610: The PCRF returns a confirmation message after saving the service information.
步骤611:PCRF根据网络策略,业务信息和用户签约信息等进行策略决策,更新之前的PCC规则。若携带更新的媒体组件,则还执行以下步骤:若新增Sub Component并且为其制定了新的PCC/QoS规则,则PCRF为PCC规则分配Gx实例标识b,为QoS规则分配Gxx实例标识b;若新增了Sub Component并且根据新增的Sub Component更新了之前的PCC/QoS规则,则PCRF为该PCC/QoS规则分配新的Gx实例标识b/Gxx实例标识b;若修改已有Sub Component并且更新了之前的PCC/QoS规则,则PCRF为该PCC/QoS规则分配新的Gx参考后号b/Gxx实例标识b其中Gx实例标识b/Gxx实例标识b取值可以跟Rx实例标识b的取值相同,或是Gx实例标识b/Gxx实例标识b的取值和Rx实例标识b的取值是相互可推导。若PCRF根据一个媒体组件制定了多个PCC规则,则PCRF在每个PCC规则中携带相同的Gx实例标识,QoS规则中携带相同的Gxx实例标识。即Gx实例标识b/Gxx实例标识b和Rx实例标识b是一一对应的。同样其中Gx实例标识b/Gxx实例标识b中携带表示业务信息触发的策略决策的指示信息(也就表示该Gx实例标识对应一个Rx实例标识)。该指示信息在实现时,可以是在Gx实例标识取值中设置一个标识位,或是分配特定的取值区间。Rx实例标识b标识这个Media Component的第一次更新(可以认为是标识这个Media Component的第一次更新实例)。Gx/Gxx实例标识b标识这个PCC/QoS规则的第一次更新(可以认为是标识这个PCC/QoS规则的第一次 更新实例)。Step 611: The PCRF performs policy decision according to the network policy, service information, and user subscription information, and updates the previous PCC rule. If the updated media component is carried, the following steps are performed: if a new Sub Component is added and a new PCC/QoS rule is created for it, the PCRF allocates a Gx instance identifier b for the PCC rule and a Gxx instance identifier b for the QoS rule; If the Sub Component is added and the previous PCC/QoS rules are updated according to the newly added Sub Component, the PCRF assigns a new Gx instance identifier b/Gxx instance identifier b to the PCC/QoS rule; if the existing Sub Component is modified and After updating the previous PCC/QoS rules, the PCRF assigns a new Gx reference to the PCC/QoS rule. The b/Gxx instance identifier b. The value of the Gx instance identifier b/Gxx instance identifier b can be taken with the Rx instance identifier b. The value is the same, or the value of the Gx instance identifier b/Gxx instance identifier b and the value of the Rx instance identifier b are mutually derivable. If the PCRF has multiple PCC rules according to a media component, the PCRF carries the same Gx instance identifier in each PCC rule, and the QoS rule carries the same Gxx instance identifier. That is, the Gx instance identifier b/Gxx instance identifier b and the Rx instance identifier b are one-to-one correspondence. Similarly, the Gx instance identifier b/Gxx instance identifier b carries the indication information indicating the policy decision triggered by the service information (that is, the Gx instance identifier corresponds to one Rx instance identifier). When the indication information is implemented, it may be that an identifier bit is set in the value of the Gx instance identifier, or a specific value interval is allocated. The Rx instance identifier b identifies the first update of this Media Component (which can be thought of as identifying the first update instance of this Media Component). The Gx/Gxx instance identifier b identifies the first update of this PCC/QoS rule (can be considered the first time to identify this PCC/QoS rule) Update the instance).
步骤612:PCRF向PCEF提供更新后的PCC规则,PCC规则中携带Gx实例标识a;Step 612: The PCRF provides the updated PCC rule to the PCEF, and the PCC rule carries the Gx instance identifier a;
步骤613:PCEF安装PCC规则后,返回确认消息;Step 613: After the PCEF installs the PCC rule, the PCEF returns a confirmation message.
步骤614:PCRF向BBERF提供QoS规则;Step 614: The PCRF provides a QoS rule to the BBERF.
步骤615:BBERF安装QoS规则后向PCRF返回确认消息;Step 615: After installing the QoS rule, the BBERF returns an acknowledgement message to the PCRF.
步骤616:PCRF根据安装的QoS规则发起资源预留过程;Step 616: The PCRF initiates a resource reservation process according to the installed QoS rule.
步骤617:在步骤614后,PCRF可能因为某种原因需要进一步更新PCC规则(譬如网络策略发生改变,用户签约发生改变,接入网发生改变等),PCRF进行策略决策,更新PCC/QoS规则,并在PCC规则中携带新的Gx实例标识(这里表示为Gx实例标识’),QoS规则中携带新的Gxx实例标识(这里表示为Gxx实例标识’)。其中这是的Gx/Gxx实例标识携带非业务信息触发的策略决策的指示信息(也就表示该Gx/Gxx实例标识不对应一个Rx实例标识)。该指示信息在实际实现时,可以是在Gx/Gxx实例标识取值中设置一个标识位,或是分配特定的取值区间(即与Rx实例标识对应的Gx/Gxx实例标识和不与Rx实例标识对应的Gx/Gxx实例标识属于不同的取值区间)。Gx/Gxx实例标识’标识这个PCC/QoS规则的第二次更新(可以认为是标识这个PCC/QoS规则的第二次更新实例)。Step 617: After step 614, the PCRF may need to further update the PCC rules for some reason (for example, the network policy changes, the user subscription changes, the access network changes, etc.), and the PCRF makes policy decisions and updates the PCC/QoS rules. And the new Gx instance identifier (here denoted as Gx instance identifier ') is carried in the PCC rule, and the QoS rule carries a new Gxx instance identifier (here denoted as Gxx instance identifier '). The Gx/Gxx instance identifier indicates that the policy decision triggered by the non-service information is triggered (that is, the Gx/Gxx instance identifier does not correspond to an Rx instance identifier). When the indication information is actually implemented, it may be that an identifier bit is set in the value of the Gx/Gxx instance identifier, or a specific value interval is allocated (that is, the Gx/Gxx instance identifier corresponding to the Rx instance identifier and the Rx instance are not associated with the Rx instance identifier. The corresponding Gx/Gxx instance identifiers belong to different value ranges. The Gx/Gxx instance identifies 'identifies the second update of this PCC/QoS rule (which can be considered as the second update instance identifying this PCC/QoS rule).
步骤618:PCRF向PCEF提供更新后的PCC规则,PCC规则中携带Gx实例标识’;Step 618: The PCRF provides the updated PCC rule to the PCEF, and the PCC rule carries the Gx instance identifier ';
步骤619:PCEF安装PCC规则后,返回确认消息;Step 619: After the PCEF installs the PCC rule, the PCEF returns a confirmation message.
步骤620:PCRF向BBERF提供QoS规则;Step 620: The PCRF provides a QoS rule to the BBERF.
步骤621:BBERF安装QoS规则后向PCRF返回确认消息;Step 621: After the BBERF installs the QoS rule, it returns an acknowledgement message to the PCRF.
步骤622:PCRF根据安装的BBERF规则发起资源预留过程;Step 622: The PCRF initiates a resource reservation process according to the installed BBERF rule.
步骤623:此后,BBERF收到资源预留过程的应答消息,显示资源预留失败;Step 623: After that, the BBERF receives the response message of the resource reservation process, indicating that the resource reservation fails.
步骤624::BBERF向PCRF发送事件通知,携带资源预留失败指示 (用Event-Trigger AVP携带),以及对应的QoS规则(用QoS-Rule-Report AVP携带)。若在步骤623中,BBERF收到的失败指示是步骤608中BBERF发起的资源预留过程的应答,则BBERF向PCRF发送的消息中还携带Gxx实例标识a(用Reference-Number AVP);若在步骤623中,BBERF收到的失败指示是步骤616中BBERF发起的资源预留过程的应答,则BBERF向PCRF发送的消息中还携带Gxx实例标识b(用Reference-Number AVP)。若在步骤623中,BBERF收到的失败指示是步骤622中BBERF发起的资源预留过程的应答,则BBERF向PCRF发送的消息中还携带Gx实例标识’(用Reference-Number AVP)其中Reference-Number AVP携带在QoS-Rule-Report AVP中;Step 624: The BBERF sends an event notification to the PCRF, carrying a resource reservation failure indication. (carried with the Event-Trigger AVP) and the corresponding QoS rules (carried with the QoS-Rule-Report AVP). If the failure indication received by the BBERF is the response of the resource reservation process initiated by the BBERF in step 623, the message sent by the BBERF to the PCRF further carries the Gxx instance identifier a (using the Reference-Number AVP); In step 623, the failure indication received by the BBERF is the response of the resource reservation procedure initiated by the BBERF in step 616, and the message sent by the BBERF to the PCRF further carries the Gxx instance identifier b (using the Reference-Number AVP). If the failure indication received by the BBERF is the response of the resource reservation process initiated by the BBERF in step 622, the message sent by the BBERF to the PCRF further carries the Gx instance identifier '(with Reference-Number AVP) where Reference- The Number AVP is carried in the QoS-Rule-Report AVP.
Figure PCTCN2017092081-appb-000017
Figure PCTCN2017092081-appb-000017
步骤625:PCRF向BBERF返回确认消息;Step 625: The PCRF returns an acknowledgement message to the BBERF.
步骤626:若BBERF上报Gxx实例标识为Gxx实例标识a或Gxx实例标识b,PCRF根据Gxx实例标识a或Gxx实例标识b确定Rx实例标识a或Rx实例标识b。PCRF向AF发送事件通知,携带资源预留失败指示(用Specific-Action AVP携带)、流标识(用Flows AVP携带)。其中若在步骤424中,PCRF接收到的是Gxx实例标识a,则Flows AVP携带对应的Rx实例标识a,若PCRF接收到的是Gxx实例标识b,则Flows AVP中携带对应的Rx实例标识b。这样,根据Rx实例标识a和Rx实例标识b,AF就可以判断出是哪次提供的业务信息的资源分配失败了; Step 626: If the BBERF reports that the Gxx instance identifier is the Gxx instance identifier a or the Gxx instance identifier b, the PCRF determines the Rx instance identifier a or the Rx instance identifier b according to the Gxx instance identifier a or the Gxx instance identifier b. The PCRF sends an event notification to the AF, carrying a resource reservation failure indication (carried by the Specific-Action AVP), and a flow identifier (carried by the Flows AVP). If the PCRF receives the Gxx instance identifier a in step 424, the Flows AVP carries the corresponding Rx instance identifier a. If the PCRF receives the Gxx instance identifier b, the Flows AVP carries the corresponding Rx instance identifier b. . In this way, according to the Rx instance identifier a and the Rx instance identifier b, the AF can determine which resource information of the provided service information fails to be allocated;
步骤627:AF向PCRF返回确认消息。Step 627: The AF returns an acknowledgement message to the PCRF.
上次实施例仅描述了当AF连续提供2次业务信息的场景,对于AF连续提供3次或3次以上场景,方案也是类似的。对于每次的业务更新,PCRF为根据Rx实例标识和Gx实例标识的分配原则进行分配。The last embodiment only describes a scenario in which the AF continuously provides 2 times of service information, and the scenario is similar for the case where the AF continuously provides 3 or more scenes. For each service update, the PCRF is allocated according to the allocation principle of the Rx instance identifier and the Gx instance identifier.
在上述实施例中,在AF初始提供业务信息的时候,PCRF分配了的Rx实例标识和Gx实例标识/Gxx实例标识,并到初始提供业务信息的资源分配失败后,上报相应的Rx实例标识和Gx实例标识/Gxx实例标识。在其他实施例中,也可以在初始提供业务信息的时候,不分配实例标识。这样,只要在上报的信息中没有携带实例标识,则表示是初始提供的业务信息的资源分配失败。In the foregoing embodiment, when the AF initially provides the service information, the Rx instance identifier and the Gx instance identifier/Gxx instance identifier allocated by the PCRF, and after the resource allocation failure of the initial provision of the service information fails, the corresponding Rx instance identifier is reported and Gx instance ID / Gxx instance ID. In other embodiments, the instance identifier may not be assigned when the service information is initially provided. In this way, as long as the instance identifier is not carried in the reported information, it indicates that the resource allocation of the initially provided service information fails.
PCRF根据媒体组件或媒体子组件的新的实例更新已制定的PCC规则可以认为是根据媒体组件或媒体子组件的新的实例制定PCC规则的新的实例。The PCRF updates the established PCC rules based on new instances of media components or media subcomponents that may be considered to be new instances of PCC rules based on new instances of media components or media subcomponents.
在上述所有实施例中,由于Gx/Gxx实例标识携带了由业务信息触发策略决策的指示信息或存在与Gx/Gxx实例标识对应的Rx实例标识的指示信息,因此这些Gx/Gxx实例标识和其他由非业务信息触发的策略决策制定的PCC/QoS规则的Gx/Gxx实例标识是通过区分开来的(采用不同的标识为进行区分或采用不同的取值区间),因此由业务信息触发策略决策制定的PCC/QoS规则中携带Gx/Gxx实例标识可以PCRF配置的策略或算法由Rx实例标识确定,从而当PCRF接收到PCEF/BBERF上报的这些Gx/Gxx实例标识后,PCRF也可以根据相同的配置,确定对应的Rx实例标识。这样,PCRF就不需要保存一个Rx实例标识和Gx/Gxx实例标识的对应关系。In all of the above embodiments, since the Gx/Gxx instance identifier carries the indication information for triggering the policy decision by the service information or the indication information of the Rx instance identifier corresponding to the Gx/Gxx instance identifier, these Gx/Gxx instance identifiers and other The Gx/Gxx instance ID of the PCC/QoS rule that is determined by the policy decision triggered by the non-service information is differentiated (different identifiers are used for distinguishing or different value intervals are used), so the policy decision is triggered by the service information. The policy or algorithm that carries the Gx/Gxx instance identifier in the PCC/QoS rule that can be configured by the PCRF is determined by the Rx instance identifier. After the PCRF receives the Gx/Gxx instance identifiers reported by the PCEF/BBERF, the PCRF can also be based on the same Configure to determine the corresponding Rx instance ID. In this way, the PCRF does not need to save a correspondence between the Rx instance identifier and the Gx/Gxx instance identifier.
在上述所有实施例中,初始提供或后续每一次更新的媒体组件或媒体子组件可以认为是一个媒体组件实例或媒体子组件实例;初始提供或后续每一次更新的PCC规则或QoS规则可以认为是一个PCC规则实例或QoS规则实例。Rx参考号即为媒体组件实例标识或媒体子组件实例标识,Gx/Gxx参考号即为PCC/QoS规则实例标识。 In all of the above embodiments, the media component or media subcomponent that is initially provided or subsequently updated may be considered as a media component instance or a media subcomponent instance; the PCC rules or QoS rules initially provided or subsequently updated may be considered to be A PCC rule instance or QoS rule instance. The Rx reference number is the media component instance identifier or the media subcomponent instance identifier, and the Gx/Gxx reference number is the PCC/QoS rule instance identifier.
采用上述实例中中,仅Gx/Gxx接口(即PCRF和PCEF或PCRF和BBERF之间的交互)的流程,可以实现PCRF获取具体哪个PCC/QoS规则实例的执行失败的信息。可应用于PCC/QoS规则的制定不是由业务信息触发和由业务信息触发的场景两种场景。In the above example, only the flow of the Gx/Gxx interface (ie, the interaction between the PCRF and the PCEF or the PCRF and the BBERF) can implement the PCRF to obtain information on which PCC/QoS rule instance fails to execute. It can be applied to the scenario where the PCC/QoS rule is not triggered by the service information and the scenario triggered by the service information.
在上述所有实例中,描述了当PCRF接收到指示PCC/QoS规则实例执行失败(即资源分配失败)的第一指示消息后,并根据第一消息中的第一实例标识确定对应的用于制定PCC/QoS规则实例的媒体组件实例或媒体子组件实例的第二实例标识。进而PCRF向AF发送第二指示消息,用于向AF指示媒体组件实例或媒体子组件实例对应的业务实例资源分配失败,其中第二消息携带第二实例标识。In all of the above examples, after the PCRF receives the first indication message indicating that the PCC/QoS rule instance fails to execute (ie, the resource allocation fails), and determines, according to the first instance identifier in the first message, the corresponding A second instance identification of a media component instance or a media subcomponent instance of a PCC/QoS rule instance. The PCRF sends a second indication message to the AF, and is used to indicate that the service instance resource corresponding to the media component instance or the media sub-component instance fails to be allocated to the AF, where the second message carries the second instance identifier.
相应地,若AF向PCRF订阅了成功资源分配指示的特殊动作,进而PCRF向PCEF/BBERF定于成功资源分配的事件触发。那么当PCC/QoS规则实例执行成功后,BBERF/PCEF也采用类似的流程向PCRF发送第一消息,指示PCC/QoS规则实例执行成功(即资源分配成功),并根据第一消息中的第一实例标识确定对应的用于制定PCC/QoS规则实例的媒体组件实例或媒体子组件实例的第二实例标识。进而PCRF向AF发送第二指示消息,用于向AF指示媒体组件实例或媒体子组件实例对应的业务实例资源分配成功,其中第二消息携带第二实例标识。Correspondingly, if the AF subscribes to the PCRF for a special action of the successful resource allocation indication, the PCRF triggers the event for the successful resource allocation to the PCEF/BBERF. Then, after the PCC/QoS rule instance is successfully executed, the BBERF/PCEF also sends a first message to the PCRF by using a similar process, indicating that the PCC/QoS rule instance is successfully executed (ie, the resource allocation is successful), and according to the first in the first message. The instance identification determines a corresponding second instance identification of the media component instance or media subcomponent instance used to formulate the PCC/QoS rule instance. The PCRF sends a second indication message to the AF, and is used to indicate that the service instance resource corresponding to the media component instance or the media sub-component instance is successfully assigned to the AF, where the second message carries the second instance identifier.
综上所述,当PCRF接收到指示PCC/QoS规则实例的执行结果(资源分配结果)的第一指示消息后,并根据第一消息中的第一实例标识确定对应的用于制定PCC/QoS规则实例的媒体组件实例或媒体子组件实例的第二实例标识。进而PCRF向AF发送第二指示消息,用于向AF指示媒体组件实例或媒体子组件实例对应的业务实例资源分配结果,其中第二消息携带第二实例标识。In summary, after the PCRF receives the first indication message indicating the execution result (resource allocation result) of the PCC/QoS rule instance, and determines the corresponding PCC/QoS according to the first instance identifier in the first message. The second instance ID of the media component instance or media subcomponent instance of the rule instance. The PCRF sends a second indication message to the AF, and is used to indicate to the AF the service instance resource allocation result corresponding to the media component instance or the media sub-component instance, where the second message carries the second instance identifier.
在本发明所提供的几个实施例中,应该理解到,所揭露的方法和智能设备,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个 系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present invention, it should be understood that the disclosed method and smart device may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as: multiple units or components may be combined, or Can be integrated into another The system, or some features can be ignored or not executed. In addition, the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个第二处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one second processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
实施例4Example 4
本发明的实施例还提供了一种存储介质。在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. In this embodiment, the above storage medium may be configured to store program code for performing the following steps:
S1,接收用于指示资源分配结果的第一消息,并根据第一消息中的第一实例标识确定对应的第二实例标识,其中,第一实例标识为执行资源分配的策略规则更新对应的实例标识,第二实例标识为用于制定策略规则的媒体组件实例或媒体子组件实例对应的实例标识;S1: Receive a first message for indicating a resource allocation result, and determine a corresponding second instance identifier according to the first instance identifier in the first message, where the first instance identifier is an instance corresponding to the policy rule update for performing resource allocation. And the second instance identifier is an instance identifier corresponding to the media component instance or the media subcomponent instance used to formulate the policy rule;
S2,向应用功能AF实体发送用于指示资源分配结果的第二消息,第二消息中携带第二实例标识。S2. Send a second message to the application function AF entity to indicate a resource allocation result, where the second message carries the second instance identifier.
在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。In this embodiment, the foregoing storage medium may include, but not limited to, a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk. A variety of media that can store program code.
在一实施方式中,在本实施例中,处理器根据存储介质中已存储的程序代码执行接收用于指示资源分配结果的第一消息,并根据第一消息中的第一实例标识确定对应的第二实例标识,其中,第一实例标识为执行资源分配的策略规则更新对应的实例标识,第二实例标识为用于制定策略规则的媒体组件实例或媒体子组件实例对应的实例标识; In an embodiment, in this embodiment, the processor performs, according to the stored program code in the storage medium, receiving a first message for indicating a resource allocation result, and determining, according to the first instance identifier in the first message, the corresponding message. a second instance identifier, where the first instance identifier is an instance identifier corresponding to a policy rule that performs resource allocation, and the second instance identifier is an instance identifier corresponding to the media component instance or the media subcomponent instance used to formulate the policy rule;
在一实施方式中,在本实施例中,处理器根据存储介质中已存储的程序代码执行向应用功能AF实体发送用于指示资源分配结果的第二消息,第二消息中携带第二实例标识。In an embodiment, in the embodiment, the processor sends a second message for indicating a resource allocation result to the application function AF entity according to the stored program code in the storage medium, where the second message carries the second instance identifier. .
本实施例中的示例可以参考上述实施例及实施方式中所描述的示例,本实施例在此不再赘述。For examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and implementation manners, and details are not described herein again.
上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。The modules or steps of the above embodiments of the present invention may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices, which may be implemented by computing devices. The executed program code is implemented such that they can be stored in a storage device by a computing device, and in some cases, the steps shown or described can be performed in a different order than here, or they can be Each of the integrated circuit modules is fabricated separately, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
以上所述仅为本发明的实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only for the embodiments of the present invention, and is not intended to limit the present application, and various changes and modifications may be made by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application are intended to be included within the scope of the present application.
工业实用性Industrial applicability
通过本发明实施例,接收用于指示资源分配结果的第一消息,并根据所述第一消息中的第一实例标识确定对应的第二实例标识,其中,所述第一实例标识为执行资源分配的策略规则实例对应的实例标识,所述第二实例标识为用于制定所述策略规则实例的媒体组件实例或媒体子组件实例对应的实例标识;向应用功能AF实体发送用于指示资源分配结果的第二消息,所述第二消息中携带所述第二实例标识。通过本发明实施例,可以使AF正确获知资源预留结果。 According to the embodiment of the present invention, a first message for indicating a resource allocation result is received, and a corresponding second instance identifier is determined according to the first instance identifier in the first message, where the first instance identifier is an execution resource. An instance identifier corresponding to the assigned policy rule instance, where the second instance identifier is an instance identifier corresponding to the media component instance or the media subcomponent instance used to formulate the policy rule instance, and is sent to the application function AF entity to indicate resource allocation The second message of the second message carries the second instance identifier. Through the embodiment of the present invention, the AF can correctly learn the resource reservation result.

Claims (23)

  1. 一种策略控制方法,包括:A policy control method, including:
    接收用于指示资源分配结果的第一消息,并根据所述第一消息中的第一实例标识确定对应的第二实例标识,其中,所述第一实例标识为执行资源分配的策略规则实例对应的实例标识,所述第二实例标识为用于制定所述策略规则实例的媒体组件实例或媒体子组件实例对应的实例标识;Receiving a first message for indicating a resource allocation result, and determining a corresponding second instance identifier according to the first instance identifier in the first message, where the first instance identifier is a policy rule instance corresponding to performing resource allocation An instance identifier, where the second instance identifier is an instance identifier corresponding to a media component instance or a media subcomponent instance used to formulate the policy rule instance;
    向应用功能AF实体发送用于指示资源分配结果的第二消息,所述第二消息中携带所述第二实例标识。Sending, to the application function AF entity, a second message indicating a resource allocation result, where the second message carries the second instance identifier.
  2. 根据权利要求1所述的方法,其中,所述接收用于指示资源分配结果的第一消息包括:The method of claim 1, wherein the receiving the first message for indicating a resource allocation result comprises:
    接收到策略和计费执行功能PCEF实体发送的用于指示资源分配结果的第一消息;或者,Receiving a first message sent by the PCEF entity for indicating a resource allocation result by the policy and charging execution function; or
    接收到承载绑定和事件上报功能BBERF实体发送的用于指示资源分配结果的第一消息。Receiving a first message sent by the BBERF entity sent by the bearer binding and event reporting function to indicate the resource allocation result.
  3. 根据权利要求1所述的方法,其中,所述第一实例标识中携带有业务信息触发策略决策的指示信息或存在与所述第一实例标识对应的所述第二实例标识的指示信息。The method according to claim 1, wherein the first instance identifier carries indication information of a service information triggering policy decision or indication information of the second instance identifier corresponding to the first instance identifier.
  4. 根据权利要求3所述的方法,所述指示信息为所述第一实例标识取值中的标识位或特定的取值区间。The method according to claim 3, wherein the indication information is an identifier bit or a specific value interval in the value of the first instance identifier.
  5. 根据权利要求1所述的方法,其中,在根据所述第一消息中的所述第一实例标识确定所述第二实例标识之前,所述方法还包括以下之一:The method of claim 1, wherein the method further comprises one of: before determining the second instance identification according to the first instance identifier in the first message:
    接收由所述AF实体分配的所述第二实例标识;Receiving the second instance identifier assigned by the AF entity;
    为所述媒体组件实例或所述媒体子组件实例分配所述第二实例标识。Assigning the second instance identification to the media component instance or the media subcomponent instance.
  6. 根据权利要求5所述的方法,其中,所述接收由所述AF实体分配的所述第二实例标识包括:The method of claim 5, wherein the receiving the second instance identifier assigned by the AF entity comprises:
    接收所述AF实体为所述媒体组件实例分配的所述第二实例标识;Receiving, by the AF entity, the second instance identifier allocated by the media component instance;
    所述方法还包括: The method further includes:
    根据所述媒体组件实例制定一个或多个策略和计费控制PCC规则实例,其中,在所述一个或多个PCC规则实例中携带与所述第二实例标识对应的所述第一实例标识。Forming one or more policy and charging control PCC rule instances according to the media component instance, wherein the first instance identifier corresponding to the second instance identifier is carried in the one or more PCC rule instances.
  7. 根据权利要求6所述的方法,其中,所述根据所述媒体组件实例制定一个或多个PCC规则实例包括:The method of claim 6 wherein said formulating one or more PCC rules based on said media component instance comprises:
    根据所述媒体组件实例制定一个PCC规则实例时,当所述媒体组件实例中携带多个媒体子组件,则将所述多个媒体子组件聚合后制定一个PCC规则实例;或者,When the PCC rule instance is configured according to the media component instance, when the media component instance carries multiple media subcomponents, the multiple media subcomponents are aggregated to formulate a PCC rule instance; or
    据所述媒体组件实例制定多个PCC规则实例时,每个PCC规则实例中携带所述第一实例标识。The first instance identifier is carried in each PCC rule instance when the plurality of PCC rule instances are defined by the media component instance.
  8. 根据权利要求5所述的方法,其中,所述为所述媒体组件实例或媒体子组件实例分配所述第二实例标识包括:The method of claim 5, wherein the assigning the second instance identifier to the media component instance or the media subcomponent instance comprises:
    若根据媒体组件实例制定一个PCC规则实例,则为所述媒体组件实例分配所述第二实例标识;或者,Assigning the second instance identifier to the media component instance if the PCC rule instance is defined according to the media component instance; or
    若根据一个或多个媒体子组件实例制定一个PCC规则实例,则为所述媒体子组件实例分配所述第二实例标识。If the PCC rule instance is formulated according to one or more media subcomponent instances, the second instance identifier is assigned to the media subcomponent instance.
  9. 根据权利要求1所述的方法,其中,在接收用于指示资源分配结果的第一消息之前,还包括:The method of claim 1, wherein before receiving the first message indicating the resource allocation result, the method further comprises:
    为PCC规则实例分配第一实例标识,其中,根据所述第二实例标识确定所述第一实例标识。Assigning a first instance identifier to the PCC rule instance, wherein the first instance identifier is determined according to the second instance identifier.
  10. 根据权利要求1至9中任一项所述的方法,其中,所述第二实例标识与所述第一实例标识的关系满足以下之一:The method according to any one of claims 1 to 9, wherein the relationship between the second instance identifier and the first instance identifier satisfies one of the following:
    第二实例标识的取值与所述第一实例标识的取值相同;The value of the second instance identifier is the same as the value of the first instance identifier;
    第二实例标识的取值是依据所述第一实例标识的取值按照配置计算得到的;The value of the second instance identifier is calculated according to the value of the first instance identifier according to the configuration;
    第二实例标识的取值是依据PCRF保存的所述第一实例标识和第二实例标识的对应关系得到的。 The value of the second instance identifier is obtained according to the correspondence between the first instance identifier and the second instance identifier saved by the PCRF.
  11. 根据权利要求1所述的方法,其中,所述第一消息还携带所述策略规则实例的规则标识,所述第二消息还携带所述媒体组件实例的标识或所述媒体子组件实例的标识,其中,所述规则标识用于确定所述媒体组件实例或所述媒体子组件实例。The method according to claim 1, wherein the first message further carries a rule identifier of the policy rule instance, and the second message further carries an identifier of the media component instance or an identifier of the media subcomponent instance The rule identifier is used to determine the media component instance or the media subcomponent instance.
  12. 根据权利要求8所述的方法,其中,在为所述媒体组件实例分配所述第二实例标识之后,所述方法还包括:The method of claim 8, wherein after the assigning the second instance identifier to the media component instance, the method further comprises:
    向所述AF返回所述第二实例标识,并提供所述媒体组件实例或媒体子组件实例的标识。Returning the second instance identification to the AF and providing an identification of the media component instance or media subcomponent instance.
  13. 一种策略控制装置,包括:A policy control device comprising:
    第一接收模块,设置为接收用于指示资源分配结果的第一消息,并根据所述第一消息中的第一实例标识确定对应的第二实例标识,其中,所述第一实例标识为执行资源分配的策略规则实例对应的实例标识,所述第二实例标识为用于制定所述策略规则实例的媒体组件实例或媒体子组件实例对应的实例标识;The first receiving module is configured to receive a first message for indicating a resource allocation result, and determine a corresponding second instance identifier according to the first instance identifier in the first message, where the first instance identifier is performed An instance identifier corresponding to the policy rule instance of the resource allocation, where the second instance identifier is an instance identifier corresponding to the media component instance or the media subcomponent instance used to formulate the policy rule instance;
    发送模块,设置为向应用功能AF实体发送用于指示资源分配结果的第二消息,所述第二消息中携带所述第二实例标识。And a sending module, configured to send, to the application function AF entity, a second message that is used to indicate a resource allocation result, where the second message carries the second instance identifier.
  14. 根据权利要求13所述的装置,其中,所述第一接收模块包括:The apparatus of claim 13, wherein the first receiving module comprises:
    第一接收单元,设置为接收到策略和计费执行功能PCEF实体发送的用于指示资源分配结果的第一消息;或者,a first receiving unit, configured to receive a first message sent by the PCEF entity for indicating a resource allocation result by the policy and charging execution function; or
    第二接收单元,设置为接收到承载绑定和事件上报功能BBERF实体发送的用于指示资源分配结果的第一消息。The second receiving unit is configured to receive a first message sent by the BBERF entity sent by the bearer binding and event reporting function to indicate a resource allocation result.
  15. 根据权利要求13所述的装置,所述装置还包括:The apparatus of claim 13 further comprising:
    第二接收模块,设置为在第一接收模块根据所述第一消息中的所述第一实例标识确定所述第二实例标识之前,接收由所述AF实体分配的所述第二实例标识;或,The second receiving module is configured to receive, before the first receiving module determines the second instance identifier according to the first instance identifier in the first message, the second instance identifier that is allocated by the AF entity; or,
    分配模块,设置为为所述媒体组件实例或所述媒体子组件实例分配所述第二实例标识。An allocation module configured to assign the second instance identification to the media component instance or the media subcomponent instance.
  16. 根据权利要求15所述的装置,其中,在第二接收模块设置为:接收 所述AF实体为所述媒体组件实例分配的所述第二实例标识;The apparatus of claim 15, wherein the second receiving module is configured to: receive The second instance identifier assigned by the AF entity to the media component instance;
    所述装置还包括:The device also includes:
    制定规则模块,设置为根据所述媒体组件实例制定一个或多个PCC规则实例,其中,在所述一个或多个PCC规则实例中携带与所述第二实例标识对应的所述第一实例标识。a rule module, configured to: create one or more PCC rule instances according to the media component instance, where the one or more PCC rule instances carry the first instance identifier corresponding to the second instance identifier .
  17. 根据权利要求15所述的装置,其中,所述分配模块设置为:若根据媒体组件实例制定一个PCC规则实例,则为所述媒体组件实例分配所述第二实例标识;或者,若根据一个或多个媒体子组件实例制定一个PCC规则实例,则为所述媒体子组件实例分配所述第二实例标识。The apparatus according to claim 15, wherein said allocating module is configured to: assign a second instance identifier to said media component instance if said PCC rule instance is formulated according to a media component instance; or, if according to one or The plurality of media subcomponent instances formulate a PCC rule instance, and the second instance identifier is assigned to the media subcomponent instance.
  18. 根据权利要求13所述的装置,其中,所述第一实例标识中携带有业务信息触发策略决策的指示信息或存在与所述第一实例标识对应的所述第二实例标识的指示信息。The device according to claim 13, wherein the first instance identifier carries indication information of a service information triggering policy decision or indication information of the second instance identifier corresponding to the first instance identifier.
  19. 根据权利要求18所述的装置,所述指示信息为所述第一实例标识取值中的标识位或特定的取值区间。The apparatus according to claim 18, wherein the indication information is an identifier bit or a specific value interval in the value of the first instance identifier.
  20. 根据权利要求13所述的装置,其中,所述第一消息还携带所述策略规则实例的规则标识,所述第二消息还携带所述媒体组件实例的标识或所述媒体子组件实例的标识,其中,所述规则标识用于确定所述媒体组件实例或所述媒体子组件实例。The apparatus according to claim 13, wherein the first message further carries a rule identifier of the policy rule instance, and the second message further carries an identifier of the media component instance or an identifier of the media subcomponent instance The rule identifier is used to determine the media component instance or the media subcomponent instance.
  21. 根据权利要求17所述的装置,其中,所述发送模块,还设置为:在所述分配模块为所述媒体组件实例分配所述第二实例标识之后,向所述AF返回所述第二实例标识,并提供所述媒体组件实例或媒体子组件实例的标识。The apparatus according to claim 17, wherein the sending module is further configured to: after the assigning module assigns the second instance identifier to the media component instance, return the second instance to the AF Identify and provide an identification of the media component instance or media subcomponent instance.
  22. 一种策略控制系统,包括策略和计费规则功能PCRF实体和AF实体,其中,A policy control system includes a policy and charging rule function PCRF entity and an AF entity, wherein
    所述PCRF实体包括:The PCRF entity includes:
    第一接收模块,设置为接收用于指示资源分配结果的第一消息,并根据所述第一消息中的第一实例标识确定对应的第二实例标识,其中,所述第一实例标识为执行资源分配的策略规则实例对应的实例标识,所述第二实例标 识为用于制定所述策略规则实例的媒体组件实例或媒体子组件实例对应的实例标识;The first receiving module is configured to receive a first message for indicating a resource allocation result, and determine a corresponding second instance identifier according to the first instance identifier in the first message, where the first instance identifier is performed The instance identifier corresponding to the policy rule instance of the resource allocation, and the second instance identifier An instance identifier corresponding to a media component instance or a media subcomponent instance used to formulate the policy rule instance;
    发送模块,设置为向应用功能AF实体发送用于指示资源分配结果的第二消息,所述第二消息中携带所述第二实例标识;a sending module, configured to send, to the application function AF entity, a second message that is used to indicate a resource allocation result, where the second message carries the second instance identifier;
    AF实体设置为接收所述第二消息。The AF entity is arranged to receive the second message.
  23. 根据权利要求22所述的系统,其中,The system of claim 22 wherein
    AF实体还设置为分配所述第二实例标识;或者The AF entity is further configured to assign the second instance identifier; or
    所述PCRF实体还设置为为所述媒体组件实例或所述媒体子组件实例分配所述第二实例标识。 The PCRF entity is further configured to assign the second instance identification to the media component instance or the media subcomponent instance.
PCT/CN2017/092081 2016-07-18 2017-07-06 Policy control method, apparatus and system WO2018014740A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP17830374.9A EP3487257A4 (en) 2016-07-18 2017-07-06 Policy control method, apparatus and system
US16/318,274 US10630495B2 (en) 2016-07-18 2017-07-06 Policy control method, apparatus and system

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201610566487 2016-07-18
CN201610566487.9 2016-07-18
CN201610884609.9 2016-10-10
CN201610884609.9A CN107634838A (en) 2016-07-18 2016-10-10 Policy control method, apparatus and system

Publications (1)

Publication Number Publication Date
WO2018014740A1 true WO2018014740A1 (en) 2018-01-25

Family

ID=60992947

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/092081 WO2018014740A1 (en) 2016-07-18 2017-07-06 Policy control method, apparatus and system

Country Status (1)

Country Link
WO (1) WO2018014740A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101720112A (en) * 2009-04-28 2010-06-02 中兴通讯股份有限公司 Wireless source management method and device
CN102131296A (en) * 2010-01-15 2011-07-20 中兴通讯股份有限公司 Method and system for controlling resources in full service converged network
CN102136983A (en) * 2010-01-25 2011-07-27 中兴通讯股份有限公司 Method and system for controlling resource in full-service converged network
CN102404319A (en) * 2011-11-09 2012-04-04 大唐移动通信设备有限公司 Treatment method and device for AF (Audio Frequency) conversation
CN104620536A (en) * 2012-09-17 2015-05-13 瑞典爱立信有限公司 High-availability, scalable policy and charging control systems, and methods therefor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101720112A (en) * 2009-04-28 2010-06-02 中兴通讯股份有限公司 Wireless source management method and device
CN102131296A (en) * 2010-01-15 2011-07-20 中兴通讯股份有限公司 Method and system for controlling resources in full service converged network
CN102136983A (en) * 2010-01-25 2011-07-27 中兴通讯股份有限公司 Method and system for controlling resource in full-service converged network
CN102404319A (en) * 2011-11-09 2012-04-04 大唐移动通信设备有限公司 Treatment method and device for AF (Audio Frequency) conversation
CN104620536A (en) * 2012-09-17 2015-05-13 瑞典爱立信有限公司 High-availability, scalable policy and charging control systems, and methods therefor

Non-Patent Citations (1)

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

Similar Documents

Publication Publication Date Title
EP3664370B1 (en) Network function information management method and related device
US10567196B2 (en) Decision coordination method, execution apparatus, and decision coordinator
EP3800926B1 (en) Alarm method and device
US10481953B2 (en) Management system, virtual communication-function management node, and management method for managing virtualization resources in a mobile communication network
CN108370328B (en) Management method and device of NFV MANO policy descriptor
CN112468338B (en) Communication method, device and system
US10609225B2 (en) Charging method, apparatus, and system
US20150215228A1 (en) Methods, systems, and computer readable media for a cloud-based virtualization orchestrator
CN105765921A (en) Methods, systems, and computer readable media for DIAMETER routing using software defined network (SDN) functionality
JP2017503421A (en) Network function virtualized NFV failure management apparatus, device, and method
WO2019174000A1 (en) Method and apparatus for service management
US11470202B2 (en) Charging method, apparatus, and system
CN109417501B (en) Method and equipment for arranging network resources
WO2016127612A1 (en) Monitoring processing method and device
US9801229B2 (en) Method for processing service connection in a communication network and device thereof
EP3308500B1 (en) Method and apparatus for managing subscription to policy counters
CN111512594B (en) Virtual network function management method and device
US10630495B2 (en) Policy control method, apparatus and system
CN109547222A (en) The flow statistical method and device of network request
EP3101926A1 (en) Charging processing method, centralized network control node, function node and system
WO2017107563A1 (en) Method and device for processing access region monitoring
WO2018014740A1 (en) Policy control method, apparatus and system
EP3266152A1 (en) Method, apparatus and system of charging for a data flow in sdn network
US10412772B2 (en) Methods, systems, and computer readable media for using access point name (APN) independent subscriber bindings
EP3272065B1 (en) Method and apparatus for managing subscription to a policy counter

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017830374

Country of ref document: EP

Effective date: 20190218