Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer,, the present invention is described in further details below in conjunction with execution mode and accompanying drawing.At this, exemplary embodiment of the present invention and explanation thereof are used to explain the present invention, but not as a limitation of the invention.
Embodiment 1
Shown in Figure 1 is the flow chart of the access network policy authorization method of the embodiment of the invention 1, and as shown in Figure 1, the strategy authorizing method of the embodiment of the invention 1 comprises:
S101: receive the conversation request that comprises described policy execution entity ability information that policy execution entity sends;
S102: according to described ability information generation strategy rule;
S103: described policing rule is sent to described policy execution entity.
In a specific embodiment, policy execution entity sends to strategy authorization entity with self-ability information in business foundation or business modification request.Policy execution entity can be carried out entity (Access Policy Charging Enforcement Function:A-PCEF) or core net policy and charging enforcement entity (C-PCEF) for access network policy charges, and strategy authorization entity can be policy charging rule functional entity (Policy Charging Rule Function:PCRF).
Strategy authorization entity is according to described ability information generation strategy rule, promptly the policy execution entity with different abilities is generated different policing rules, and this policing rule sent to described policy execution entity, authorize this policy execution entity to carry out its function corresponding with described policing rule.
In a specific embodiment, be local hPCRF with strategy authorization entity, policy execution entity is that A-PCEF or C-PCEF are that example describes, but the embodiment of the invention is not limited to this.
For example, local hPCRF carries out policy authorization according to the ability information of A-PCEF or C-PCEF, also can be with reference to other information, at least a as following information: terminal unit contractual information, business information, network configuration strategy etc., promptly according to above-mentioned information generation strategy rule, described policing rule can comprise policy control and the control of chargeing, and this policy control comprises gate (Gating Control) and QoS control, this charging control is meant the charging (Flow Based Charging:FBC) based on stream, and with the policing rule (Policy and Charging Control) that generates, be that the PCC rule sends to described A-PCEF or C-PCEF, make described A-PCEF or C-PCEF carry out function corresponding, promptly provide corresponding service to terminal according to this policing rule.
In the embodiment of the invention 1, local hPCRF can be known each policy execution entity PCEF ability, and generates suitable policing rule according to different policy execution entity PCEF abilities, realizes flexible and suitable policy control, provides service for terminal better.
In the embodiment of the invention 1, because strategy authorization entity can generate corresponding policing rule according to the ability of policy execution entity, make policy execution entity carry out function corresponding, thereby provide more practical, service more easily for terminal according to this policing rule.
Embodiment 2
Shown in Figure 2 is the signaling diagram of the access network policy authorization method of the embodiment of the invention 2, as shown in Figure 2, and in the embodiment of the invention 2,
Set up request 201.C-PCEF receive the IP-CAN session;
202.C-PCEF after receiving that request is set up in above-mentioned IP-CAN (IP Access Network) session, send the IP-CAN session and set up request to (the visited Policy DistributionFunction of the vPDF in the roaming network, visit ground strategy distribution entity)/vPCRF (visited Policy Charging RuleFunction, policy charging rule functional entity), vPCRF is transmitted to local PCRF (hPCRF) entity with above-mentioned IP-CAN session request of setting up; C-PCEF sets up in above-mentioned IP-CAN session and carries self-ability information in the request and give hPCRF, and this ability information can comprise one or more: whether support QoS control, the QoS control that QoS control is based on stream still is the QoS control of IP layer; Support is chargeed, and charging is online charging pattern or offline charging pattern, and the charging that is based on stream also is based on the charging of IP session (IP Session) etc.;
203.hPCRF carry out policy authorization generation strategy rule, i.e. PCC rule according to described C-PCEF ability information; The generation strategy rule also can be with reference to following information: other information such as terminal unit contractual information, business information, network configuration strategy.
Set up response 204.hPCRF send the IP-CAN session to C-PCEF, and the above-mentioned PCC rule that is generated is sent to described C-PCEF by vPDF/vPCRF;
205.C-PCEF the above-mentioned PCC rule of receiving is carried out this PCC rule, and returns the IP-CAN session and build response.
Wherein, in above-mentioned 203, after hPCRF receives described IP-CAN session foundation request, set up ability information and following one or more information of extracting C-PCEF the request from this session: terminal unit contractual information, business information, other information such as network configuration strategy, and according to these information generations PCC rule, for example hPCRF can be in advance according to the ability information of different policy execution entity, terminal unit contractual information, business information, other information stores such as network configuration strategy are overlapped the PCC rule more, select corresponding PCC rule when receiving after request is set up in session from the PCC rule of having stored.
In the embodiment of the invention 2, because hPCRF can generate different PCC according to the ability of C-PCEF, make C-PCEF carry out function corresponding according to this PCC, make policy authorization more flexible, thereby provide more practical, service more easily for terminal.
Embodiment 3
Shown in Figure 3 is the signaling diagram of the access network policy authorization method of the embodiment of the invention 3, as shown in Figure 3, and in the embodiment of the invention 3,
Set up request 301.A-PCEF receive the IP-CAN carrying;
302.A-PCEF after receiving that above-mentioned IP-request is set up in the CAN carrying, send gateway control session and set up request message to the vPDF/vPCRF in the roaming network, vPCRF gives the hPCRF entity with forwards; A-PCEF carries self-ability information and can comprise one or more for hPCRF, this ability information in message: whether support QoS control, the QoS control that QoS control is based on stream still is the QoS control of IP layer; Support is chargeed, and charging is online charging pattern or offline charging pattern, and the charging that is based on stream also is based on the charging of IP session (IP Session) etc.;
303.hPCRF ability information and other information (as terminal unit contractual information, business information, network configuration strategy etc.) according to A-PCEF are carried out policy authorization, generation strategy rule;
Set up response message to A-PCEF 304.hPCRF transmit the transmission gateway control session, and the policing rule that generates is sent to A-PCEF by vPDF/vPCRF;
Receive policing rule 305.A-PCEF carry out, and send IP-CAN carrying foundation response.
The process (A-PCEF sets up conversation procedure) that the process of the invention described above embodiment 2 (being that C-PCEF sets up the IP-CAN conversation procedure) can occur in the embodiment of the invention 3 afterwards.Be after embodiment 3 processes are finished, may trigger the process of embodiment 2, after embodiment 2 finishes, not only the policing rule that generates is issued C-PCEF, also policing rule might be issued A-PCEF.
In the embodiment of the invention 3, because hPCRF can carry out different policy authorization according to the ability of A-PCEF, make A-PCEF carry out function corresponding, thereby provide more practical, service more easily for terminal according to this policy authorization.
Embodiment 4
The signaling diagram that carries out the access network policy mandate during the switching of the embodiment of the invention 4 that shown in Figure 4 is.As shown in Figure 4, this method comprises:
401., switch to new A-PCEF for the A-PCEF of Terminal Service switches;
402. new A-PCEF after switching is finished, sends gateway control session and sets up request message to the vPDF/vPCRF in the roaming network, vPCRF sets up request message with this gateway control session and is transmitted to local hPCRF entity; A-PCEF sets up in above-mentioned gateway control session and carries self-ability information in the request message to hPCRF, this ability information for example comprises: this ability information can comprise one or more: whether support QoS control, the QoS control that QoS control is based on stream still is the QoS control of IP layer; Support is chargeed, and charging is online charging pattern or offline charging pattern, and the charging that is based on stream also is based on the charging of IP session (IP Session) etc.;
Generate new policing rule 403.hPCRF carry out policy authorization, for example when A-PCEF switches, according to the new policing rule of ability information generation of the A-PCEF after the expression switching according to aforementioned capabilities information;
Set up response message to A-PCEF 404.hPCRF transmit gateway control session, and the new policing rule that is generated is sent to A-PCEF by vPCRF; If A-PCEF receives new policing rule, then A-PCEF carries out new policing rule;
405.hPCRF send the IP-CAN session modification request to C-PCEF, new strategy rule downloading to be carried out to C-PCEF, described new policing rule is transmitted through vPDF/vPCRF;
406.C-PCEF carry out the new policing rule of receiving, and carry out described new policing rule, and send IP-CAN session modification response message to hPCRF, described modification response message is transmitted through vPDF/vPCRF.
In the embodiment of the invention 4,405,406 is optional step, above-mentioned A-PCEF and C-PCEF are Terminal Service, just be positioned on the different network elements, for example: in the WIMAX network, A-PCEF is positioned at gateway, and C-PCEF is positioned at home agent HA (Home Agent), borde gateway or independent network element.Therefore, in above-mentioned 403: when A-PCEF switches, hPCRF can be at the new policing rule of A-PCEF generation, and might not generate new policing rule for C-PCEF, only the initial conditions when strategic decision-making changes before and after A-PCEF switches, thereby when causing the policing rule that generates for A-PCEF different, just need be for C-PCEF also regenerate policing rule, otherwise need not to regenerate.And, in above-mentioned 405, have only when having regenerated new policing rule just to send the IP-CAN session modification request to C-PCEF.
In the embodiment of the invention 4,, therefore avoided unnecessary operation because the policing rule that generates when policing rule that will generate and last time does not just generate new policing rule simultaneously, and sends the IP-CAN session modification request.
Embodiment 5
Shown in Figure 5 is the structured flowchart of the access network policy authorization device of the embodiment of the invention 5.As shown in Figure 5, the access network policy authorization device of the embodiment of the invention 5 comprises: receiverequest unit 501, be used to receive the session foundation request that comprises described policy execution entity ability information that policy execution entity sends; Policingrule generation unit 502 is used for according to described ability information generation strategy rule; Policingrule transmitting element 503 is used for described policing rule is sent to described policy execution entity.
In the embodiment of the invention 5, receiverequest unit 501 and receive the conversation request that comprises described policy execution entity ability information that sends by policy execution entity, for example IP-CAN session foundation/modification request, and include the ability information of representing described policy execution entity ability in this IP-CAN session foundation/modification request, policingrule generation unit 502 carries out policy authorization according to described ability information, the generation strategy rule, by policingrule transmitting element 503 above-mentioned policing rule is sent to described policy execution entity at last, make this policing rule of strategy execution, provide corresponding service to terminal.
This policy authorization device can be PCRF, and policy execution entity can be A-PCEF or C-PCEF, and described conversation request can be set up request or gateway control session foundation request for the IP-CAN session.
In the embodiment of the invention 5, because strategy authorization entity can generate different policing rules according to the different abilities of policy execution entity, make policy execution entity carry out function corresponding, thereby provide more practical, service more easily for terminal according to this policing rule.
Embodiment 6
Shown in Figure 6 is the structured flowchart of the access network policy authorization device of the embodiment of the invention 6.
As shown in Figure 6, as A-PCEF during for the A-PCEF after switching, the access network policy authorization device of the embodiment of the invention 6 is compared with the foregoing description 5, described policing rule transmitting element, be used for that described policing rule is sent to described access network policy and carry out entity A-PCEF, comprise that also policing rule is revised unit 604, also is used for described policing rule is sent to core net policy execution entity C-PCEF.Other structure is identical with the access network policy authorization device of the invention described above embodiment 5, does not therefore repeat them here.In the embodiment of the invention 6, for example switch for the A-PCEF of Terminal Service, switch to new A-PCEF, this stylish A-PCEF is after switching is finished, send gateway control session and set up request message to access network policy authorization device PCRF, A-PCEF sets up the ability information of carrying A-PCEF in the request message in this gateway control session, this ability information for example comprises: the online charging indication information, offline charging indication information and charging capability indication information, and should the charging capability indication information comprise the indication information that do not charge, based on the flow based charging indication information and based on IP session charging indication information.
The access network policy authorization device is set up response message with gateway control session and is given A-PCEF, and carries the new policy authorization that is generated and give A-PCEF in message; If A-PCEF receives new policy information, then A-PCEF carries out new strategy and initiates IP-CAN bearing modification process.
And policing rule is revised unit 604 and is sent the IP-CAN session modification request to C-PCEF, and amended strategy rule downloading is carried out to C-PCEF, and C-PCEF just can carry out described new policing rule after receiving.
In the embodiment of the invention 6, only the initial conditions when strategic decision-making changes before and after A-PCEF switches, thereby when causing the policing rule that generates for A-PCEF different, just need also regenerate policing rule for C-PCEF, and send the IP-CAN session modification request, therefore avoided unnecessary operation.
The embodiment of the invention also discloses a kind of policy authorization system, comprising:
Policy execution entity: the conversation request that comprises described policy execution entity ability information that is used to send;
Strategy authorization entity: receive the conversation request that comprises described policy execution entity ability information that described policy execution entity sends; According to described ability information generation strategy rule; Described policing rule is sent to described policy execution entity.
Described policy execution entity can be PCEF, and described strategy authorization entity can be PCRF.
Embodiment of the invention realization PCRF entity can be known Access Network PCEF ability, and generates suitable policing rule according to the policy execution entity ability of Access Network PCEF entity, realizes flexible and suitable policy control, provides service for terminal better.
Above-described embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is the specific embodiment of the present invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.