Background technology
One, policy control and charging framework (Policy Control and Charging PCC).
3GPP has defined the PCC framework, satisfies with this different business is carried out different QoS (Qualityof Service service quality) control and charging demand.Among the 3GPP TS 23.203 the PCC framework is defined, referring to shown in Figure 1, wherein the functional description of each entity is as follows:
AF (Application Function): Application Function.Be mainly PCRF (Policy Controland Charging Rules Function policy control and charging regulation function entity) formulation strategy and charging control rule application layer conversation information dynamically is provided, for example: the P-CSCF among the IMS just belongs to AF.
PCRF: policy control and charging controlled function entity.According to the current ongoing applied business information of restriction, the user of user access network, the configuration of local operator and user signing contract information, work out corresponding strategy, and strategy is offered PCEF (Policy and Charging Enforcement Function strategy and charging execution function entity) execution.Strategy comprises: business data flow detection, QoS control, gate and based on the charging of stream etc.
PCEF: the strategy and the execution entity that charges.Carry out that PCRF issues or the strategy of appointment, promptly finish detection to business data flow, guarantee business data flow QoS, gate, finish the functions such as session of on-line charging and triggering and chain of command.For example: the GGSN entity (Gateway GPRS Support Node GGSN) among the GPRS (General Packet Radio Service GPRS).
Each interface function is described below:
Rx: this reference point is used for AF and issues the application layer conversation relevant information, comprises the required bandwidth information of IP filter, Business Stream that is used for the identification services data flow, and this interface uses the Diameter of ietf definition.
Gx: this reference point is used for PCRF and dynamically controls the PCC rule that PCEF carries out.Possesses following function: set up, safeguard and stop the IP-CAN session; PCEF is to PCRF request PCC rule; PCRF provides PCC rule to PCEF; Consult the IP-CAN carrying and set up pattern etc.This reference point is used the Diameter of ietf definition.
All the other entities (SPR (Subscription Profile Repository CAMEL-Subscription-Information storehouse), OCS (Online Charging System Online Charging System), OFCS (Offline Charging System off-line accounting system)) and interface (Sp, Gy, Gz) are irrelevant with content of the present invention, repeat no more here.
In order to be more readily understood following flow process, set forth several terms earlier:
IP-CAN (IP connects Access Network IP Connectivity Access Network), when roaming (during position change) in access network, the user still can preserve IP operation continuity (non-interrupting service), access network with such character is called IP-CAN, such as GPRS network, I-WLAN network etc.;
IP-CAN bearer:IP-CAN carrying has clear and definite speed, the IP transmission path (this path refers to Access Network between the GW) of delay and bit error rate, the corresponding PDP Context of IP-CAN bearer for GPRS;
IP-CAN session:IP-CAN session refers to the annexation between UE and PDN (Packet Data Network is such as the internet) sign, and this annexation is discerned by the IP address of UE and the sign of UE.As long as UE has distributed the IP address and can have been discerned by IP network, then IP-CAN exists.The IP-CAN session can comprise one or more IP-CAN carryings.
Business data flow: a business data flow is made of a plurality of IP messages that comprise five-tuple (source address, source port number, destination address, destination slogan, agreement).The business that the user carries out can be made up of a plurality of business data flows, and for example the user carries out in the multimedia conversation, and a video flowing is exactly a business data flow.
Dynamic PCC rule: dynamically the PCC rule be by PCRF when receiving the trigger message of rule downloading, generate according to applied business information, user signing contract information, carrier policy or other tactful contextual informations, the regular content such as five-tuple, QoS, gate, charging that has comprised business data flow is by the dynamic PCC rule of rule name unique identification.By PCRF rule downloading is carried out to PCEF.
Predefine PCC rule: predefine PCC rule is pre-configured to be on the PCEF, and on PCRF, preserve corresponding rule name, when PCRF received the trigger message of rule activation, the activation instruction that will be comprised this rule name by PCRF issued PCEF, and indication PCEF activates predefine PCC rule.
Two, about IP-CAN session and IP-CAN carrying
Referring to Figure 2 shows that the IP-CAN session sets up flow chart, comprise the following steps:
1, GW receives the IP-CAN session that UE initiates and sets up request message (distributing one in the visible IP of PDN network address), and specifically message format is relevant with access network type, for GPRS, promptly sets up first PDP Context;
2, GW notice PCRF IP-CAN session is set up, and GW creates a new DCC (control of Diameter credit) session, sends CCR message to PCRF, comprises UE sign and IP address.If PCRF carries out IP-CAN carrying and rule binding, then GW also will report IP-CAN bearing identification (can set up default IP-CAN when generally speaking, UE sets up the IP-CAN session and carry transmitting control layer signaling);
3, the information in the PCRF storage CCR message;
4, the PCRF signatory relevant information of user is if desired then asked to SPR;
5, SPR returns user signing contract information, comprises the current signatory business of user, information such as charge mode;
6, PCRF generates new PCC rule;
7, PCRF storage PCC rule if PCRF carries out IP-CAN carrying and rule binding, then also will write down the binding relationship of PCC rule and IP-CAN bearing identification;
8, PCRF returns to GW by CCA message with the PCC rule, if PCRF carries out IP-CAN carrying and rule binding, then indicates the binding relationship (promptly carrying out corresponding rule in that IP-CAN carrying) of PCC rule and IP-CAN bearing identification;
9, GW installation rule, and open or close the corresponding service data flow according to rule, guarantee corresponding QoS, if GW carries out P-CAN carrying and rule binding, then select a suitable IP-CAN carrying according to rule request by GW, otherwise GW is according to the PCC rule of PCRF and the binding relationship of IP-CAN bearing identification, executing rule in the IP-CAN of correspondence carrying;
10, GW returns the IP-CAN session to UE and sets up response message.
Set up flow chart referring to the IP-CAN carrying that Figure 3 shows that the user side initiation, comprise the following steps:
1, GW receives the IP-CAN carrying that UE initiates and sets up request message, for GPRS, promptly sets up first PDP Context;
2, GW notice PCRF IP-CAN carrying is set up, and GW creates a new DCC (control of Diameter credit) session, sends CCR message to PCRF, comprises UE sign and IP address.If PCRF carries out IP-CAN carrying and rule binding, then GW also will report the IP-CAN bearing identification;
3, the information in the PCRF storage CCR message;
4, PCRF carries out binding session, realizes the binding of IP-CAN session and AF session;
5, the PCRF signatory relevant information of user is if desired then asked to SPR;
6, SPR returns user signing contract information, comprises the current signatory business of user, information such as charge mode;
7, PCRF current application business information is if desired then asked to AF;
8, AF returns applied business information;
9, PCRF generates new PCC rule;
10, PCRF storage PCC rule if PCRF carries out IP-CAN carrying and rule binding, then also will write down the binding relationship of PCC rule and IP-CAN bearing identification;
11, PCRF returns to GW by CCA message with the PCC rule, if PCRF carries out IP-CAN carrying and rule binding, then indicates the binding relationship (promptly carrying out corresponding rule in that IP-CAN carrying) of PCC rule and IP-CAN bearing identification;
12, GW installation rule, and open or close the corresponding service data flow according to rule, guarantee corresponding QoS, if GW carries out P-CAN carrying and rule binding, then select a suitable IP-CAN carrying according to rule request by GW, otherwise GW is according to the PCC rule of PCRF and the binding relationship of IP-CAN bearing identification, executing rule in the IP-CAN of correspondence carrying;
13, GW returns the IP-CAN carrying to UE and sets up response message.
The flow process of setting up of above-mentioned IP-CAN session and IP-CAN carrying is mainly used in explanation: after the user has set up the IP-CAN session, just can commence business.Each business data flow that business comprises is because distinct on specifications such as QoS or charging, therefore need set up different IP-CAN and carry and transmit different business data flows under User IP-CAN session; And need the PCC framework to set up strategy respectively, and be applied in the corresponding IP-CAN carrying for each business data flow.And because different users has different IP-CAN sessions, if therefore a plurality of users commence business, the PCC framework need be respectively each user and set up independently policy control mechanism.
The inventor finds in realizing process of the present invention, when existing PCC mechanism has stipulated that the user commences business, for each user sets up independently policy control mechanism.And in actual applications, exist the situation that the business that a plurality of users are carried out is taked same policy control.For example: in the business of networking restricted web site is needed disable access, when PCC detects Any user visit restricted web site, will take identical tactful refusing user's to carry out this business; And for example: the mode experience data applied business that a lot of users take monthly payment to pay, the paying customer commences business for monthly payment, and PCC can take identical charging policy; For another example: for the signatory identical user of specification of Virtual network operator, PCC can adopt identical QoS control strategy.
To sum up, existing PCC mechanism has realized that the business that each user is carried out sets up independently policy control mechanism respectively, if when satisfying above-mentioned applicable cases with current mechanism, problems such as policy control inefficiency, tactful maintenance and management complexity will be caused, the demand that same policy control multi-user commences business can't be satisfied.
Embodiment
Can take the demand of identical control strategy when commencing business at the multi-user, the invention provides a kind of method, Apparatus and system of applying control strategy, make and to share control strategy, simplify control, improve control efficiency, reduce tactical management and safeguard the purpose of complexity thereby reach to the identical user of policy requirement.
The method of a kind of application strategy control that the embodiment of the invention provides referring to shown in Figure 4, comprises following key step:
S1, PCEF obtain the applicability information of control strategy;
S2, PCEF use this control strategy according to the applicability information of control strategy in the range of application of this control strategy.
Concrete, comprise following content:
Described control strategy range of application refers to that specifically multi-user's IP inserts session.Described multi-user can refer to that the user organizes interior user, also can refer to the user in the network system.If the indication of the information of control strategy range of application is applied to user's group, the identical control strategy of service implementation that all or part user carries out in then the user being organized; If the indication of the information of control strategy range of application is applied to network system, the then identical control strategy of service implementation that all or part user in the PCEF map network system is carried out.
Based on the PCC framework, the mode that described PCEF obtains the applicability information of control strategy is one of following:
Mode one: adopt predefine PCC rule description control strategy.
Predefine PCC rule on PCEF at first, but do not set the range of application of this predefine PCC rule.Afterwards when PCRF receives the trigger message that issues control strategy, PCRF issues the indication information (being the range of application indication information of predefine control strategy) that activates predefine PCC rule to PCEF, the applicability information that comprises this predefine PCC rule in the described indication information is used to specify predefine PCC rule application and still is applied to network system in user's group.An example is as follows:
Charging-Rule-Install::=<AVP?Header:1001>
*[Charging-Rule-Name]
[Rule-Regulate-Info]
......
Rule-Regulate-Info::=<AVP?Header:×××>
[Usergroup-Requirement]
[System-Requirement]
Rule-Regulate-InfoAVP represents the applicability information of PCC rule, the Grouped type.If in Charging-Rule-Install AVP, do not comprise Rule-Regulate-Info AVP, represent that then this application of policies is in single user.
Usergroup-Requirement AVP represents that the PCC rule application organizes the OctetString type in the user; The value of this AVP can be user's group id, or all or part user of user under organizing address list.
System-Requirement AVP represents the PCC rule application in network system, the OctetString type.
Mode two: adopt dynamic PCC rule description strategy.
When PCRF receives the trigger message of distributing policy, according to carrier policy, user signing contract information and/or other tactful contextual informations, PCRF generates dynamic PCC rule and issues to PCEF, and also issue the range of application indication information of this PCC rule with this PCC rule, in this indication information, comprise the applicability information of this PCC rule.Its example can be with reference to the description of example in the mode one.
Mode three, adopt predefine PCC rule description control strategy, and set the range of application of this control strategy.
Predefine PCC rule on PCEF at first, and set the applicability information of this predefine PCC rule.When PCRF received the trigger message that issues control strategy, PCRF issued the indication information that activates predefine PCC rule to PCEF afterwards, and described indication information comprises rule name, only is used to activate specific PCC rule.Owing to set the range of application of PCC rule, so when this PCC rule is activated, also just define the range of application of this PCC rule.
In above-mentioned three kinds of modes, if the applicability information of described PCC rule indication is applied to user's group, then described control strategy is applied to the user organize in the IP-CAN session of all or part user correspondence; If the information of described control strategy range of application indication is applied to network system, then in the IP-CAN session with application of policies all or part user correspondence in the network system.
Concrete corresponded manner one, PCEF be according to the applicability information of PCC rule, predefine PCC rule need be activated be applied in the corresponding IP-CAN session.
Concrete corresponded manner two, PCEF be according to the applicability information of PCC rule, dynamic PCC rule need be installed be applied in the corresponding IP-CAN session.
Concrete corresponded manner three, PCEF need activate predefine PCC rule and be applied in the pairing IP-CAN session of setting into this predefine PCC rule of range of application.
The embodiment of the invention also provides a kind of strategy and charging execution function entity (PCEF), and referring to shown in Figure 5, it comprises: obtain unit and performance element.
Further, obtain described in the embodiment of a PCEF to comprise in the unit that first receives the subelement and the first acquisition subelement referring to shown in Figure 6.
Further, obtain described in the embodiment of a PCEF to comprise in the unit that second receives the subelement and the second acquisition subelement referring to shown in Figure 7.
Further, obtain described in the embodiment of a PCEF to comprise the setting subelement in the unit referring to shown in Figure 8.
Obtain the unit, be used to obtain the applicability information of control strategy.
Performance element is used for the applicability information according to the control strategy that obtains the unit acquisition, uses this control strategy in the range of application of this control strategy.
First receives subelement, is used to receive the range of application indication information of predefine control strategy; First obtains subelement, is used for obtaining from the range of application indication information of this predefine control strategy of receiving the applicability information of this predefine control strategy, to determine that this predefine control strategy is applied to user's group and still is applied to network system.
Second receives subelement, is used to receive control strategy (PCRF generates according to carrier policy, user signing contract information and/or other tactful contextual informations), and the described indication information of sending with control strategy; Second obtains subelement, is used for from receiving that the range of application indication information of sending with control strategy obtains the applicability information of this control strategy, to determine that this predefine control strategy is applied to user's group and still is applied to network system.
Set subelement, be used to set the range of application of predefine control strategy.When PCRF received the trigger message that issues control strategy, PCRF issued the indication information that activates the predefine control strategy to PCEF afterwards, and described indication information comprises the control strategy name, only is used to activate specific control strategy.After PCEF receives the indication information of this activation predefine control strategy, activate corresponding predefine control strategy.Owing to set the range of application of predefine control strategy by setting subelement, so when this predefine control strategy is activated, also just define the range of application of this predefine control strategy.
The embodiment of the invention has also been put forward a kind of system of application strategy control, comprising: PCRF and PCEF.
Policy control and charging regulation function entity PCRF are used to issue the activation of pointing at least one control strategy or indication information are installed.
PCEF (being the PCEF that the embodiment of the invention provides) is used to obtain the applicability information of control strategy; And when receiving the activation of pointing at least one control strategy or indication information is installed, in the range of application of this control strategy, use this control strategy.
Below further describe by 4 embodiment.
Embodiment one: utilize the control of network system irrespective of size strategy implementation strategy.
For the visit restricted web site, PCC takes identical strategy to all users.Specific implementation can comprise the address information of restricted web site by be all system-level policing rules of IP-CAN carrying configuration network that uses User IP-CAN session correspondence of this PCEF on PCEF in this rule.In case Any user is visited this restricted web site, the business data flow that comprises the restricted web site address information need use IP-CAN to carry when transmitting, be applied to the network system irrespective of size PCC rule of IP-CAN carrying, detect this business data flow and this rule match, then take the gate strategy of " closing ", forbid user capture.This tactful realization mechanism has obviously been simplified the control complexity, avoids the decline that brings control efficiency for each user's independence generation strategy.Use network system irrespective of size strategy that customer service is carried out the flow process of policy control, comprise the following steps: referring to shown in Figure 9
1, the predefined PCC rule of configuration on PCEF, and preserve the rule name of correspondence at PCRF; Destination address information in the predefine PCC rule is ABCD (http://www.abcd.com).
2, PCRF receives the triggering message that activates predefine PCC rule;
3, the PCRF Charging-Rule-Install AVP that will comprise predefine PCC rule name is handed down to PCEF with DiameterCCR or RAR message, and indication activates the predefine rule of appointment; Comprise application of policies scope indication information among the Charging-Rule-Install AVP simultaneously, the form of distributing policy and application of policies scope indication information is as follows:
Charging-Rule-Install::=<AVP?Header:1001>
*[Charging-Rule-Name]
[Rule-Regulate-Info]
[System-Requirement]
......
Wherein Charging-Rule-Name AVP is used to represent predefine PCC rule name to be activated; The System-Requirement AVP that Rule-Regulate-Info AVP comprises is used to indicate predefine PCC rule application to be activated in network system, all can share identical gate strategy to all users in the network system.
4, according to application of policies scope indication information, PCEF activates predefine PCC rule and is applied in the network system on all IP-CAN sessions of users;
5, the user commences business, the visit restricted web site.The business data flow that comprises station address information (http://www.abcd.com) transfers to PCEF;
6, PCEF is according to network system irrespective of size PCC rule, business data flow is detected, the address information (ABCD) that comprises in destination address information in the perception service data flow (http://www.abcd.com) and the network system irrespective of size PCC rule is identical, carries out the gate strategy of " closing ".
7, PCEF refusing user's business.
Embodiment two: utilize the user to organize the tactful implementation strategy control of level (user's group is represented by user's group id)
The mode that numerous users use data service to take monthly payment to pay, PCC can adopt identical charging policy when these monthly payments paying customer is commenced business.Specific implementation can (such as all monthly payment paying customers be user's group according to the strategy of operator by PCRF, operator gives a group id for this user group) generate dynamic user and organize grade PCC rule and be handed down to PCEF, PCEF organizes grade PCC rule application to the IP-CAN session of all user's correspondences of user's group id indication with this user.When the user commences business in the group, just can take corresponding charging way.Use the user to organize the level strategy customer service is carried out the flow process of policy control, comprise the following steps: referring to shown in Figure 10
1, PCRF receives the triggering message that issues the PCC rule;
2, according to tactful contextual informations such as carrier policy, PCRF generates the user and organizes a grade dynamic PCC rule;
3, the PCRF Charging-Rule-Install AVP that will comprise dynamic PCC Rule Information is handed down to PCEF with DiameterCCR or RAR message; Comprise application of policies scope indication information among the Charging-Rule-Install AVP simultaneously, the form of distributing policy and application of policies scope indication information is as follows:
Charging-Rule-Install::=<AVP?Header:1001>
*[Charging-Rule-Name]
[Charging-Rule-Definition]
[Rule-Regulate-Info]
[Usergroup-Requirement]
......
Wherein Charging-Rule-Name AVP is used to represent the PCC rule name that issues; Charging-Rule-Definition AVP is used to represent the PCC Rule Information; The Usergroup-Requirement AVP that Rule-Regulate-Info AVP comprises is used to indicate the PCC rule application that issues to organize in the user, represent that with user's group id (12345678) all users in the user is organized commence business and implement identical charging policy.
4, according to application of policies scope indication information, PCEF organizes grade PCC rule application to the IP-CAN session of all user's correspondences of user's group (12345678) indication with the user;
5, the user commences business, and business data flow transfers to PCEF;
6, PCEF organizes a grade PCC rule according to the user who is applied to the user, business data flow is detected, for the business data flow that mates starts corresponding charging policy.The user begins business.
Embodiment three: utilize the user to organize the tactful implementation strategy control of level (user's group is represented by user group list)
Operator can be divided into the user of same grade user's group, and all users under this user is organized commence business and implement identical QoS control strategy.Specific implementation can generate corresponding user according to carrier policy by PCRF and organize grade PCC rule downloading to PCEF, and PCEF organizes grade PCC rule application on all IP-CAN sessions of users of user group list indication with this user.Use the user to organize the level strategy customer service is carried out the flow process of policy control, comprise the following steps: referring to shown in Figure 11
1, PCRF receives the triggering message that issues the PCC rule;
2, according to tactful contextual informations such as carrier policy, PCRF generates the user and organizes a grade dynamic PCC rule;
3, the PCRF Charging-Rule-Install AVP that will comprise dynamic PCC Rule Information is handed down to PCEF with DiameterCCR or RAR message; Comprise application of policies scope indication information among the Charging-Rule-Install AVP simultaneously, the form of distributing policy and application of policies scope indication information is as follows:
Charging-Rule-Install::=<AVP?Header:1001>
*[Charging-Rule-Name]
[Charging-Rule-Definition]
[Rule-Regulate-Info]
[Usergroup-Requirement]
......
Wherein Charging-Rule-Name AVP is used to represent the PCC rule name that issues; Charging-Rule-Definition AVP is used to represent the PCC Rule Information; The Usergroup-Requirement AVP that Rule-Regulate-Info AVP comprises is used to indicate the PCC rule application that issues to organize in the user, with user list (such as A.B.C.D, a.b.c.d......) expression, all users in the user organized commence business and implement identical qos policy.
4, according to application of policies scope indication information, PCEF organizes grade PCC rule application with the user and organizes in the IP-CAN session of all interior user's correspondences to the user;
5, the user commences business, and business data flow transfers to PCEF;
6, PCEF organizes a grade PCC rule according to the user, business data flow is detected, for the business data flow that mates starts corresponding QoS control strategy.The user begins business.
Embodiment four: the pre-configured strategy that is applied to the multi-user on PCEF, described strategy comprise the predefine strategy that is applied to user group and the predefine strategy that is applied to network system (promptly on PCEF predefine the range of application of various control strategies and each control strategy).PCRF receives that when policy distribution triggered message, distributing policy activated indication; Activate indication according to this, PCEF is applied to corresponding strategy in the IP-CAN session of respective user.This scheme flow process comprises the following steps: referring to shown in Figure 12
1, on PCEF, disposes the predefine PCC rule that is applied to the multi-user, comprise that the user organizes a grade predefine PCC rule, network system irrespective of size predefine PCC rule.These two kinds of predefine PCC rules identify with different rule names, and preserve rule name at PCRF;
2, PCRF receives the triggering message of rule downloading;
3, predefine PCC rule name to be activated is included in down sends instructions, be handed down to PCEF with Diameter CCR or RAR message;
4, according to the rule name that comprises in sending instructions down, PCEF is applied to the predefine PCC rule activation of correspondence in the IP-CAN session of indication user correspondence.
In sum, in the method for the embodiment of the invention, the Apparatus and system, PCEF obtains the applicability information of control strategy; This PCEF uses this control strategy according to the applicability information of control strategy in the range of application of this control strategy.So can satisfy the demand that to take identical control strategy when commencing business, can reach and simplify control, improve control efficiency, reduce tactical management and safeguard the effect of complexity at the multi-user.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.