CN102932769B - Policy control method, entity and system - Google Patents

Policy control method, entity and system Download PDF

Info

Publication number
CN102932769B
CN102932769B CN201210485346.6A CN201210485346A CN102932769B CN 102932769 B CN102932769 B CN 102932769B CN 201210485346 A CN201210485346 A CN 201210485346A CN 102932769 B CN102932769 B CN 102932769B
Authority
CN
China
Prior art keywords
entity
user
information
ccr
pcrf
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201210485346.6A
Other languages
Chinese (zh)
Other versions
CN102932769A (en
Inventor
胡达
程志
刘恒
马春燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210485346.6A priority Critical patent/CN102932769B/en
Publication of CN102932769A publication Critical patent/CN102932769A/en
Application granted granted Critical
Publication of CN102932769B publication Critical patent/CN102932769B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a kind of policy control method, entity and system, the method comprises: during the first link failure between PCEF entity and a PCRF entity, will be switched to the second link between PCEF entity and the 2nd PCRF entity; PCEF entity sends the first diameter credit control update request CCR-U to the 2nd PCRF entity, carries user conversation mark in a CCR-U, and user's extend information; After the 2nd PCRF entity and PCEF entity set up session, receive the CCA-U that the 2nd PCRF sends, a CCA-U carries the second policy control information; According to the second policy control information, policy control is carried out to user.Therefore, the business that present invention achieves the carrying of PCRF1 entity can be taken over by PCRF2 entity, also substantially increases the reliability of system.

Description

Policy control method, entity and system
Technical field
The present invention relates to communication technical field, particularly relate to a kind of policy control method, entity and system.
Background technology
Along with the development of the communication technology, the strategy of G mobile communication (3rd-generation, 3G) network and charging control (PolicyandChargingControl, PCC) system obtain and use widely.In order to promote the reliability of PCC system, in 3G network, usually can configure two or more "Policy and Charging Rules Function (PolicyandChargingRuleFunction, PCRF) entity, carrying out networking that is active and standby or load balancing mode.When one of them PCRF entity breaks down, business can be taken over by other PCRF entity, and business can be continued.
At present, the classical group net mode of PCC system can be divided into two kinds: first, Diameter route agent (DiameterRoutingAgent is there is in PCC system, DRA), i.e. DRA networking, in DRA networking, network element comprises general packet radio service (GeneralPacketRadioService, GPRS) gateway supports node (GatewayGPRSSupportNode, GGSN), DRA, with PCRF entity, wherein the quantity of PCRF entity decides according to the networks trategy of reality, at this, be only primary PCRF entity with PCRF1 entity, PCRF2 entity is PCRF entity for subsequent use is that example illustrates.
When user reaches the standard grade, after GGSN sets up session by DRA to the application of PCRF1 entity, receive the policy control information of PCRF1 entity transmission and carry out policy control according to this policy control information; When the use traffic of GGSN monitor user ' and duration exceed the policy control threshold value in policy control information, by DRA to the new policy control information of PCRF1 entity application, after GGSN receives new policy control information, the policy control information utilizing this new carries out policy control; When user offline, GGSN sends user offline request by DRA to PCRF1 entity, after GGSN receives the response of PCRF1 entity, and GGSN releasing session.
But after PCRF1 entity breaks down, DRA automatically switches to the above-mentioned business of PCRF2 entity handles, the route corresponding relation simultaneously between recording conversation mark and PCRF2 entity.When PCRF2 entity receives credit control request (CreditControlRequest, CCR) after, find that the session identification received does not exist, return the Credit Control Answer (CreditControlAnswer of failure, CCA) to DRA, this CCA message is turned back to GGSN by DRA, and after GGSN receives the response message of failure, force users rolls off the production line.
There is not Diameter route agent in the second, PCC system, namely without DRA networking, without in DRA networking, comprise GGSN and PCRF entity.Its workflow is substantially identical with DRA networking, has just lacked the forwarding capability of DRA.
At present, no matter PCC system adopts DRA networking, or DRA networking, when PCRF1 entity breaks down, when the customer service of this PCRF1 entity carrying switches to PCRF2 entity, customer service can be interrupted, not only reduce PCC system reliability, go back the complexity that adding users uses.
Summary of the invention
Given this, the many aspects of the application provide policy control method, entity and system, solve in prior art when PCRF1 entity breaks down, and when the customer service of this PCRF1 entity carrying switches to PCRF2 entity, the problem of interrupting can occur customer service.
The one side of the application, a kind of policy control method is provided, comprise: when detecting strategy and the first link failure between charge execution function PCEF entity and the first "Policy and Charging Rules Function PCRF entity, described PCEF entity is switched to the second link between the 2nd PCRF entity; Described PCEF entity sends the first diameter credit control update request CCR-U by the 2nd PCRF entity described in described second chain road direction, user conversation mark is carried in a described CCR-U, and user's extend information, described user's extend information is used for, when described 2nd PCRF entity judges that described user conversation mark does not exist, setting up session according to described user's extend information and described PCEF entity; After described 2nd PCRF entity and described PCEF entity set up session, receive the first diameter credit control renewal response CCA-U that described 2nd PCRF sends, a described CCA-U carries the second policy control information; Policy control is carried out according to described second policy control information.
In the implementation that the first is possible, described when detecting strategy and the first link failure between charge execution function PCEF entity and the first "Policy and Charging Rules Function PCRF entity, described PCEF entity is switched to the second link between the 2nd PCRF entity, comprise: the state value of reaching the standard grade going out user when described PCEF entity detection exceedes the policy control threshold value in the first policy control information that a described PCRF entity issues, and when detecting the first link failure between described PCEF entity and a described PCRF entity, described PCEF entity sets up the second link between the 2nd PCRF entity.
In conjunction with the implementation that the first is possible, in the implementation that the second is possible, described PCEF entity sends the first diameter credit control update request CCR-U by the 2nd PCRF entity described in described second chain road direction, user conversation mark is carried in a described CCR-U, and user's extend information, described user's extend information is used for when described 2nd PCRF entity judges that described user conversation mark does not exist, session is set up according to described user's extend information and described PCEF entity, comprise: described PCEF entity sends the 2nd CCR-U by the 2nd PCRF entity described in described second chain road direction, user conversation mark is carried in described 2nd CCR-U, described 2nd PCRF entity is identified the described user conversation carried in described 2nd CCR-U, when described 2nd PCRF Entity recognition go out described user conversation mark do not exist time, described PCEF entity receives the 2nd CCA-U that described 2nd PCRF entity sends, and described 2nd CCA-U carries described user conversation and identifies non-existent information, described user conversation identifies by described PCEF entity, and user's extend information is added in a CCR-U, a described CCR-U is sent to described 2nd PCRF entity, when making described 2nd PCRF entity judge that described user conversation mark does not exist, set up session according to described user's extend information and described PCEF entity.
In the implementation that the third is possible, described when detecting strategy and the first link failure between charge execution function PCEF entity and the first "Policy and Charging Rules Function PCRF entity, described PCEF entity is switched to the second link between the 2nd PCRF entity, comprise: the state value of reaching the standard grade going out user when described PCEF entity detection exceedes the described policy control threshold value in described first policy control information, described PCEF entity sends the 2nd CCR-U to Diameter route agent DRA, carries user conversation mark in described 2nd CCR-U; After described DRA receives described 2nd CCR-U, and when detecting the first link failure between described DRA and a described PCRF entity, described DRA sets up the second link between the 2nd PCRF entity.
In conjunction with the implementation that the third is possible, in the 4th kind of possible implementation, described PCEF entity sends the first diameter credit control update request CCR-U by the 2nd PCRF entity described in described second chain road direction, user conversation mark is carried in a described CCR-U, and user's extend information, described user's extend information is used for when described 2nd PCRF entity judges that described user conversation mark does not exist, session is set up according to described user's extend information and described PCEF entity, comprise: described DRA forwards described 2nd CCR-U by the 2nd PCRF entity described in described second chain road direction, described 2nd PCRF entity is identified the described user conversation carried in described 2nd CCR-U, when described 2nd PCRF Entity recognition go out described user conversation mark do not exist time, described PCEF entity receive described DRA forward described 2nd PCRF entity send the 2nd CCA-U, described 2nd CCA-U carries described user conversation and identifies non-existent information, described user conversation identifies by described PCEF entity, and user's extend information is added in a CCR-U, and send a described CCR-U by described DRA to described 2nd PCRF entity, when making described 2nd PCRF entity judge that described user conversation mark does not exist, set up session according to described user's extend information and described PCEF entity.
The another aspect of the application, provides a kind of policy control method, comprising: the first diameter credit control update request CCR-U receiving strategy and the transmission of charge execution function PCEF entity, carries user conversation mark in a described CCR-U, and user's extend information; Carry out judging self whether to there is described user conversation mark according to described user conversation mark; When described user conversation mark does not exist, session is set up according to described user's extend information and described PCEF entity, and send the first diameter credit control renewal response CCA-U to described PCEF entity, a described CCA-U carries the second policy control information, makes described PCEF entity carry out policy control according to described second policy control information.
In the implementation that the first is possible, also comprise before the first diameter credit control update request CCR-U that described reception strategy and charge execution function PCEF entity send: receive described PCEF entity and send the 2nd CCR-U, in described 2nd CCR-U, carry user conversation mark; Carry out judging self whether to there is described user conversation mark according to described user conversation mark; When described user conversation mark does not exist, send the 2nd CCA-U to described PCEF entity, described 2nd CCA-U carries described user conversation and identifies non-existent information.
In the implementation that the second is possible, also comprise before the first diameter credit control update request CCR-U that described reception strategy and charge execution function PCEF entity send: receive the 2nd CCR-U that described PCEF entity is forwarded by route agent DRA, in described 2nd CCR-U, carry user conversation mark; Carry out judging self whether to there is described user conversation mark according to described user conversation mark; When described user conversation mark does not exist, send the 2nd CCA-U by described DRA to described PCEF entity, described 2nd CCA-U carries described user conversation and identifies non-existent information.
In conjunction with the implementation that the second is possible, in the implementation that the third is possible, described the first diameter credit control update request CCR-U receiving strategy and the transmission of charge execution function PCEF entity specifically comprises the CCR-U receiving described PCEF entity and sent by DRA; And, described to described PCEF entity send first diameter credit control upgrade response CCA-U specifically comprise by described DRA to described PCEF entity send first diameter credit control upgrade response CCA-U.
The another aspect of the application, a kind of PCEF entity is provided, comprise: switch unit, for when detecting strategy and the first link failure between charge execution function PCEF entity and the first "Policy and Charging Rules Function PCRF entity, described PCEF entity is switched to the second link between the 2nd PCRF entity; Transmitting element, the first diameter credit control update request CCR-U is sent by the 2nd PCRF entity described in described second chain road direction for described PCEF entity, user conversation mark is carried in a described CCR-U, and user's extend information, described user's extend information is used for, when described 2nd PCRF entity judges that described user conversation mark does not exist, setting up session according to described user's extend information and described PCEF entity; Receiving element, for after described 2nd PCRF entity and described PCEF entity set up session, receive the first diameter credit control renewal response CCA-U that described 2nd PCRF sends, a described CCA-U carries the second policy control information, and described second policy control information is transferred to strategy control unit; Strategy control unit, for receiving described second policy control information from described receiving element, carries out policy control according to described second policy control information.
In the implementation that the first is possible, the reach the standard grade state value of described switch unit also for going out user when described PCEF entity detection exceedes the policy control threshold value in the first policy control information that a described PCRF entity issues, and when detecting the first link failure between described PCEF entity and a described PCRF entity, described PCEF entity sets up the second link between the 2nd PCRF entity.
In conjunction with the implementation that the first is possible, in the implementation that the second is possible, described transmitting element specifically comprises: first sends subelement, the 2nd CCR-U is sent by the 2nd PCRF entity described in described second chain road direction for described PCEF entity, carry user conversation mark in described 2nd CCR-U, described 2nd PCRF entity is identified the described user conversation carried in described 2nd CCR-U; First receives subelement, for go out when described 2nd PCRF Entity recognition described user conversation mark do not exist time, described PCEF entity receives the 2nd CCA-U that described 2nd PCRF entity sends, and described 2nd CCA-U carries described user conversation and identifies non-existent information; Second sends subelement, for described PCEF entity, described user conversation is identified, and user's extend information is added in a CCR-U, a described CCR-U is sent to described 2nd PCRF entity, when making described 2nd PCRF entity judge that described user conversation mark does not exist, set up session according to described user's extend information and described PCEF entity.
In the implementation that the third is possible, the reach the standard grade state value of described switch unit also for going out user when described PCEF entity detection exceedes the described policy control threshold value in described first policy control information, described PCEF entity sends the 2nd CCR-U to Diameter route agent DRA, carries user conversation mark in described 2nd CCR-U; After described DRA receives described 2nd CCR-U, and when detecting the first link failure between described DRA and a described PCRF entity, described DRA sets up the second link between the 2nd PCRF entity.
In conjunction with in the implementation that the third is possible, in the 4th kind of possible implementation, described transmitting element specifically comprises: the 3rd sends subelement, forward described 2nd CCR-U for described DRA by the 2nd PCRF entity described in described second chain road direction, described 2nd PCRF entity is identified the described user conversation carried in described 2nd CCR-U; Second receives subelement, for go out when described 2nd PCRF Entity recognition described user conversation mark do not exist time, described PCEF entity receives the 2nd CCA-U of the described 2nd PCRF entity transmission that described DRA forwards, and described 2nd CCA-U carries described user conversation and identifies non-existent information; 4th sends subelement, for described PCEF entity, described user conversation is identified, and user's extend information is added in a CCR-U, and send a described CCR-U by described DRA to described 2nd PCRF entity, when making described 2nd PCRF entity judge that described user conversation mark does not exist, set up session according to described user's extend information and described PCEF entity.
The another aspect of the application, a kind of "Policy and Charging Rules Function PCRF entity is provided, comprise: the first receiving element, for receiving the first diameter credit control update request CCR-U of strategy and the transmission of charge execution function PCEF entity, user conversation mark is carried in a described CCR-U, and user's extend information, and described user conversation mark and described user's extend information are transferred to described first judging unit and processing unit; First judging unit, for carrying out judging self whether to there is described user conversation mark according to described user conversation mark, thus obtains judged result, and described judged result is transferred to processing unit; First transmitting element, for described judged result be described user conversation mark do not exist time, session is set up according to described user's extend information and described PCEF entity, and send the first diameter credit control renewal response CCA-U to described PCEF entity, a described CCA-U carries the second policy control information, carries out policy control in order to described PCEF entity according to described second policy control information.
In the implementation that the first is possible, described PCRF entity also comprises: the second receiving element, for receiving the 2nd CCR-U that described PCEF entity sends, in described 2nd CCR-U, carry user conversation mark, and described user conversation mark is transferred to described second judging unit; Second judging unit, carries out judging self whether to there is described user conversation mark according to described user conversation mark, thus obtains judged result, and described judged result is transferred to the second transmitting element; Second transmitting element, for described judged result be described user conversation mark do not exist time, send the 2nd CCA-U to described PCEF entity, described 2nd CCA-U carries described user conversation and identifies non-existent information.
In the implementation that the second is possible, described second receiving element, also for receiving the 2nd CCR-U that described PCEF entity is forwarded by Diameter route agent DRA, carries user conversation mark in described 2nd CCR-U; And described second transmitting element is not also for when described user conversation mark exists, and send the 2nd CCA-U by described DRA to described PCEF entity, described 2nd CCA-U carries described user conversation and identifies non-existent information.
In conjunction with the implementation that the second is possible, in the implementation that the third is possible, described first receiving element is also for receiving the CCR-U that described PCEF entity is sent by described DRA; And described first transmitting element also upgrades response CCA-U for sending the first diameter credit control by described DRA to described PCEF entity.
The another aspect of the application, provides a kind of policy controlling system, comprising: according to claim 13 to PCEF entity described in 19 any one, PCRF entity according to any one of claim 20 to 24 and Diameter route agent DRA.
Policy control method provided by the invention, entity and system, by extension standards agreement, send the quota update request information of carrying user's extend information to stand-by equipment under active link or host apparatus are in malfunction, stand-by equipment is made to rebuild session information, achieve PCRF1 entity carrying business can by PCRF2 entity in customer service at unbroken situation lower linking tube, not only increase the reliability of system, also improve Consumer's Experience simultaneously.
Accompanying drawing explanation
The Organization Chart of the PCC system that Fig. 1 provides for the embodiment of the present invention one;
The Organization Chart of the PCC system that Fig. 2 provides for the embodiment of the present invention two;
The flow chart of the policy control method that Fig. 3 provides for the embodiment of the present invention three;
The flow chart of the policy control method that Fig. 4 provides for the embodiment of the present invention four;
The flow chart of the policy control method that Fig. 5 provides for the embodiment of the present invention five;
The flow chart of the policy control method that Fig. 6 provides for the embodiment of the present invention six;
The structural representation of the PCEF entity that Fig. 7 provides for the embodiment of the present invention seven;
The structural representation of the PCRF entity that Fig. 8 provides for the embodiment of the present invention eight
The structural representation of the PCEF entity that Fig. 9 provides for the embodiment of the present invention nine;
The structural representation of the PCRF entity that Figure 10 provides for the embodiment of the present invention ten.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The invention discloses a kind of policy control method, PCEF entity, PCRF entity and system, when detecting strategy and the first link failure between charge execution function PCEF entity and the first "Policy and Charging Rules Function PCRF entity, PCEF entity is switched to the second link between the 2nd PCRF entity; PCEF entity sends the first diameter credit control update request CCR-U by the second chain road direction the 2nd PCRF entity, user conversation mark is carried in one CCR-U, and user's extend information, described user's extend information is used for, when described 2nd PCRF entity judges that described user conversation mark does not exist, setting up session according to described user's extend information and PCEF entity; After the 2nd PCRF entity and PCEF entity set up session, receive the first diameter credit control renewal response CCA-U that the 2nd PCRF sends, a CCA-U carries the second policy control information; Carry out policy control according to described second policy control information, thus under achieving and nonserviceabling, by adding the method for user's extend information, achieving and continuing to carry out policy control to the business of user, also improving the reliability of this system.
The Organization Chart of the PCC system that Fig. 1 provides for the embodiment of the present invention one.As shown in the figure, this PCC system is without DRA networking mode.The embodiment of the present invention specifically comprises: strategy and charge execution function (PolicyandChargingEnforcementFunction, PCEF) entity 11, a PCRF entity 12 and a PCRF entity 13.Wherein, PCEF entity 11 can be positioned at the GGSN gateway of GPRS, also can be positioned at WLAN (WirelessLocalAreaNetworks, WLAN), can also independently dispose.The function of PCEF entity 11 mainly comprises the detection of business data flow, strategy execution and the billing function based on stream.
In this system, the operation principle of each several part is divided into three processes:
The first, when user reaches the standard grade, PCEF entity 11 initiation session activation process.
First, PCEF entity 11 sends initial credit control request (CreditControlRequest-Initial to a PCRF entity 12, CCR-I) ask, session is set up in application, carries the key message of session identification, user ID in this solicited message.
Again, a PCRF entity 12 sets up session after receiving CCR-I request, returns the response message of initial credit control response (CreditControlAnswer-Initial, CCR-I) to PCEF entity 11.The first policy control information issued is carried in this response message.Wherein, the flow allowing user to use in the first policy control information, can be comprised, or the policy control threshold value of the user's online hours allowed.
Finally, PCEF entity 11 carries out policy control according to the first policy control information received.
The second, when use traffic and the duration of PCEF entity 11 monitor user ', during the policy control threshold value issued before exceeding, initiate quota more new technological process, namely adopt the policy control method that any one embodiment of the following embodiment of the present invention three to five provides.
3rd, when user offline, PCEF entity 11 initiates to roll off the production line flow process.This part is common technology of the prior art, here no longer describes in detail.
The Organization Chart of the PCC system that Fig. 2 provides for the embodiment of the present invention two.As shown in the figure, this PCC system is for there being DRA networking mode.The embodiment of the present invention specifically comprises: PCEF entity 11, DRA14, a PCRF entity 12 and a PCRF entity 13.
In this system, the operation principle of each several part is divided into three processes:
The first, when user reaches the standard grade, PCEF entity 11 initiation session activation process.
First, PCEF entity 11 sends initial credit control request (CreditControlRequest-Initial, CCR-I) request to DRA14, and session is set up in application, carries the key message of session identification, user ID in this solicited message.
Then, message is transmitted to a PCRF entity 12 according to the strategy of polling or priority by DRA14, preserves a PCRF entity 12 corresponding to session identification simultaneously.
Again, a PCRF entity 12 sets up session after receiving CCR-I request, returns the response message of initial credit control response (CreditControlAnswer-Initial, CCR-I) to DRA14.The first policy control information issued is carried in this response message.Wherein, the flow allowing user to use in policy control information, can be comprised, or the policy control threshold value of the user's online hours allowed.
Finally, CCA-I message is transmitted to PCEF entity 11 by DRA14.PCEF entity 11 carries out policy control according to the content received.
The second, when use traffic and the duration of PCEF entity 11 monitor user ', during the policy control threshold value issued before exceeding, initiate quota more new technological process, namely adopt the policy control method that any one embodiment of the following embodiment of the present invention six to eight provides.
3rd, when user offline, PCEF entity 11 initiates to roll off the production line flow process.This part is common technology of the prior art, here no longer describes in detail.
The flow chart of the policy control method that Fig. 3 provides for the embodiment of the present invention three.In the process that the method upgrades for the quota of PCC system.As shown in the figure, the present embodiment specifically comprises the following steps:
Step 310, when PCEF entity detection goes out the first link failure between PCEF entity and the first "Policy and Charging Rules Function PCRF entity, will be switched to the second link between PCEF entity and the 2nd PCRF entity.
Particularly, a PCRF entity is primary PCRF entity, and the 2nd PCRF entity is PCRF entity for subsequent use, and primary PCRF entity and PCRF entity for subsequent use lead a standby work pattern with one.During the first link failure between PCEF entity and primary PCRF entity, at this moment just need to enable the business that PCRF entity for subsequent use carries to carry primary PCRF entity, this business can be continued.
Or a PCRF entity and the 2nd PCRF entity work in the mode of load sharing simultaneously.One PCRF entity may be the more PCRF entity of duty ratio, also may be the less PCRF entity of duty ratio, but during the first link failure between PCEF entity and a PCRF entity, at this moment the business needing the 2nd PCRF entity on the second link to carry a PCRF entity to carry, makes this business to continue.
In addition, the policy control threshold value in the first policy control information for allowing the threshold value of the flow of user's use, or can allow the threshold value of user's online hours.State value of reaching the standard grade is the flow value that user uses, or user's online hours value.When PCEF entity detection goes out the state value of reaching the standard grade of user more than the policy control threshold value in the first policy control information, PCEF entity initiates quota more new technological process.
Alternatively, policy control threshold value in the first policy control information that the state value of reaching the standard grade going out user when PCEF entity detection issues more than a PCRF entity, and when detecting the first link failure between PCEF entity and a PCRF entity, PCEF entity sets up the second link between the 2nd PCRF entity.
Step 320, PCEF entity sends the first diameter credit control update request (CreditControlRequest-Update, CCR-U) by the second chain road direction the 2nd PCRF entity, carries user conversation mark in a CCR-U, and user's extend information.This user's extend information is used for, when described 2nd PCRF entity judges that described user conversation mark does not exist, setting up session according to described user's extend information and PCEF entity.Wherein, user's extend information is session multidate information; Agreement (InternetProtocol, the IP) address information that session multidate information comprises user totem information, interconnects between access style information and user network.
Particularly, if the first link does not break down, PCEF entity should send a CCR-U, a CCR-U to a PCRF entity and only include user conversation mark, this user conversation mark is user when reaching the standard grade, and PCEF entity partitioning is to user session identification.Meanwhile, on user in line process, a PCRF entity establishes session with PCEF entity according to user conversation mark and user totem information.Now, if PCEF entity detection goes out the state value of reaching the standard grade of user more than after the policy control threshold value in the first policy control information, need to obtain new policy control information from a PCRF entity, because PCEF entity the with one PCRF entity establishes session, and a PCRF entity has saved all information with this user, so when PCEF entity is again with a PCRF entity communication, only need user conversation to identify.
But, when after PCEF entity detection to the first link failure, then when sending the first letter CCR-U to the 2nd PCRF entity, automatically can add user's extend information in a CCR-U.Because on user in line process, PCEF entity establishes session with a PCRF entity, do not set up session with the 2nd PCRF entity, so the 2nd PCRF entity does not exist any information of this user.When PCEF entity and the 2nd PCRF entity communication, if user conversation mark in a CCR-U, and user's extend information, 2nd PCRF entity is inquired about and is identified relevant information record less than to this user conversation in the stored data base of self, then according to user's extend information automatic Reconstruction session information.Its process setting up session information is as follows: be kept in the 2nd PCRF entity by the user totem information in user's extend information, access style information and IP address information etc., rebuilding session information is process in the inside of the 2nd PCRF, and then returns the second policy control information to PCEF entity.This second policy control information returned with the first policy control information function logic is identical, just along with user is to the use procedure of network, partial parameters has renewal.
Step 330, after the 2nd PCRF entity and PCEF entity set up session, PCEF entity receives the first diameter credit control renewal response (CreditControlAnswer-Update, CCA-U) that the 2nd PCRF sends.Wherein, a CCA-U carries the second policy control information;
Step 340, PCEF entity carries out policy control according to the second policy control information to user.
Therefore, the policy control method that the embodiment of the present invention provides, when PCEF entity detection goes out the state value of reaching the standard grade of user more than the policy control threshold value in the first policy control information, and during the first link failure between PCEF entity and the first "Policy and Charging Rules Function PCRF entity, the second link between PCEF entity and the 2nd PCRF entity will be switched to, and the first diameter credit control update request of carrying user's extend information is sent by the second chain road direction the 2nd PCRF entity, after the 2nd PCRF entity and PCEF entity set up session, the first diameter credit control receiving the second policy control information carried that the 2nd PCRF sends upgrades response, and according to the second policy control information, policy control is carried out to user, thus under achieving and nonserviceabling, by adding the method for user's extend information, the business achieving user continues to carry out, also improve the reliability of policy control.
The flow chart of the policy control method that Fig. 4 provides for the embodiment of the present invention four.In the process that the method upgrades for the quota of PCC system.As shown in the figure, the present embodiment specifically comprises the following steps:
Step 410, PCRF entity receives the CCR-U that PCEF entity sends, and carries user conversation mark in a CCR-U, and user's extend information.Wherein, user's extend information is session multidate information; The Protocol IP address information that session multidate information comprises user totem information, interconnects between access style information and user network.
Particularly, PCRF entity can be primary PCRF entity, also can be PCRF entity for subsequent use, also can for the arbitrary PCRF entity worked in the mode of load sharing simultaneously.
Step 420, carries out judging self whether to there is user conversation mark according to user conversation mark.
Particularly, the 2nd PCRF entity is inquired about and is identified relevant information record to this user conversation in the stored data base of self, when inquiring about not then, then thinks that this user conversation mark does not exist.
Step 430, when user conversation mark does not exist, session is set up according to user's extend information and PCEF entity, and send the first diameter credit control renewal response CCA-U to PCEF entity, one CCA-U carries the second policy control information, carries out policy control in order to PCEF entity according to the second policy control information to user.
Therefore, the policy control method that the embodiment of the present invention provides, the user conversation that carries that PCRF entity receives the transmission of PCEF entity identifies, and a CCR-U of user's extend information, carry out judging self whether to there is user conversation mark according to user conversation mark, when user conversation mark does not exist, session is set up according to user's extend information and PCEF entity, and send the first diameter credit control renewal response CCA-U to PCEF entity, one CCA-U carries the second policy control information, according to the second policy control information, policy control is carried out to user in order to PCEF entity, thus under achieving and nonserviceabling, user's extend information is utilized to re-establish the session with PCEF entity, achieve and continue to carry out policy control to the business of user, also improve the reliability of policy control.
The flow chart of the policy control method that Fig. 5 provides for the embodiment of the present invention five.In the process that the method upgrades for the quota of PCC system.As shown in the figure, the present embodiment specifically comprises the following steps:
Step 510, when PCEF entity detection goes out the state value of reaching the standard grade of user more than the policy control threshold value in the first policy control information, route agent DRA receives the 2nd CCR-U that PCEF entity sends, and carries user conversation mark in the 2nd CCR-U.
Particularly, the threshold value of the flow that the policy control threshold value in the first policy control information can use for permission user, or the threshold value of the user's online hours allowed.State value of reaching the standard grade is the flow value that user uses, or user's online hours value.
User conversation mark is that user reaches the standard grade is that PCEF entity partitioning is to the session identification of user.When PCEF entity detection goes out the state value of reaching the standard grade of user more than the policy control threshold value in the first policy control information, PCEF entity initiates quota more new technological process, and sends the 2nd CCR-U by route agent DRA, carries user conversation mark in the 2nd CCR-U.
Step 520, after DRA receives the 2nd CCR-U, and when detecting the first link failure between DRA and a PCRF entity, DRA sets up the second link between the 2nd PCRF entity.Wherein, a PCRF entity is primary PCRF entity, and the 2nd PCRF entity is PCRF entity for subsequent use, and primary PCRF entity and PCRF entity for subsequent use lead a standby work pattern with one.Or a PCRF entity and the 2nd PCRF entity work in the mode of load sharing simultaneously.
Particularly, a PCRF entity is primary PCRF entity, and the 2nd PCRF entity is PCRF entity for subsequent use, and primary PCRF entity and PCRF entity for subsequent use lead a standby work pattern with one.During the first link failure between DRA and primary PCRF entity, at this moment just need to enable the business that PCRF entity for subsequent use carries to carry primary PCRF entity, this business can be continued.
Or a PCRF entity and the 2nd PCRF entity work in the mode of load sharing simultaneously.One PCRF entity may be the more PCRF entity of duty ratio, also may be the less PCRF entity of duty ratio, but during the first link failure between DRA and a PCRF entity, at this moment the business needing the 2nd PCRF entity on the second link to carry a PCRF entity to carry, makes this business to continue.
Step 530, DRA forwards the 2nd CCR-U by the first chain road direction the 2nd PCRF entity, identifies the user conversation in the 2nd CCR-U in order to the 2nd PCRF entity.
Particularly, user conversation mark is only carried in the 2nd CCR-U.Because PCEF entity is by the 2nd CCR-U sending value DRA, when the first link between DRA and a PCRF entity does not break down, 2nd CCR-U should be transmitted to a PCRF entity by DRA, on user in line process, one PCRF entity establishes session with PCEF entity, and preserves all information of this user.But DRA detects the first link failure between itself and a PCRF entity, then the 2nd CCR-U is transmitted to the 2nd PCRF entity, but the 2nd PCRF entity does not set up session with PCEF entity, does not preserve all information of this user yet.So when the 2nd PCRF entity receives the 2nd CCR-U carrying user conversation mark, the any relevant information identified less than this user conversation is inquired about in the database of self, then think that the 2nd CCR-U is error message, and think that this user conversation mark does not exist.
Step 540, when the 2nd PCRF Entity recognition go out user conversation mark do not exist time, PCEF entity by DRA receive the 2nd PCRF entity send the 2nd CCA-U, the 2nd CCA-U carries user conversation and identifies non-existent information.
Particularly, user conversation identifies non-existent information and illustrates, the 2nd PCRF entity thinks that the 2nd CCR-U that PCEF entity sends is error message.
Step 550, user conversation identifies by PCEF entity, and user's extend information is added in a CCR-U, and forward a CCR-U by DRA to the 2nd PCRF entity, when judging that user conversation mark does not all exist in order to the 2nd PCRF entity, and set up session according to user's extend information and PCEF entity.Wherein, user's extend information is session multidate information; The Protocol IP address information that session multidate information comprises user totem information, interconnects between access style information and user network.
Particularly, if user conversation mark in a CCR-U, and user's extend information, 2nd PCRF entity is inquired about and is identified relevant information record less than to this user conversation in the stored data base of self, then the user totem information in user's extend information, access style information and IP address information etc. are kept in the 2nd PCRF entity, automatic Reconstruction session information, and then return the second policy control information to PCEF entity.This second policy control information returned with the first policy control information function logic is identical, just along with user is to the use procedure of network, partial parameters has renewal.
Step 560, after the 2nd PCRF entity and PCEF entity set up session, the first diameter credit control that PCEF entity receives the 2nd PCRF transmission by DRA upgrades response CCA-U, and a CCA-U carries the second policy control information.
Step 570, carries out policy control according to the second policy control information to user.
Therefore, the policy control method that the embodiment of the present invention provides, when PCEF entity detection goes out the state value of reaching the standard grade of user more than the policy control threshold value in the first policy control information, and DRA is when detecting the first link failure between itself and the first "Policy and Charging Rules Function PCRF entity, the second link between itself and the 2nd PCRF entity will be switched to, and the first diameter credit control update request of carrying user's extend information is sent by the second chain road direction the 2nd PCRF entity, after the 2nd PCRF entity and PCEF entity set up session, the first diameter credit control being received the second policy control information carried that the 2nd PCRF sends by DRA upgrades response, and according to the second policy control information, policy control is carried out to user, thus under achieving and nonserviceabling, by adding the method for user's extend information, the business achieving user continues to carry out, also improve the reliability of policy control.
The flow chart of the policy control method that Fig. 6 provides for the embodiment of the present invention six.In the process that the method upgrades for the quota of PCC system.As shown in the figure, the embodiment of the present invention specifically comprises the following steps:
Step 610, PCRF entity receives the 2nd CCR-U that PCEF entity is forwarded by route agent DRA, carries user conversation mark in the 2nd CCR-U.
Particularly, PCRF entity can be primary PCRF entity, also can be PCRF entity for subsequent use, also can for the arbitrary PCRF entity worked in the mode of load sharing simultaneously.
Step 620, carries out judging self whether to there is user conversation mark according to user conversation mark.
Particularly, the 2nd PCRF entity is inquired about and is identified relevant information record to this user conversation in the stored data base of self, when inquiring about not then, then thinks that this user conversation mark does not exist.
Step 630, when user conversation mark does not exist, send the 2nd CCA-U by DRA to PCEF entity, the 2nd CCA-U carries user conversation and identifies non-existent information.
Particularly, user conversation identifies non-existent information and illustrates, the 2nd PCRF entity thinks that the 2nd CCR-U that PCEF entity sends is error message.
Step 640, receives the CCR-U that PCEF entity is forwarded by route agent DRA, and a CCR-U carries user conversation mark, and user's extend information.Wherein, user's extend information is session multidate information; The Protocol IP address information that session multidate information comprises user totem information, interconnects between access style information and user network.
Step 650, when user conversation mark does not exist, session is set up according to user's extend information and PCEF entity, and send the first diameter credit control renewal response CCA-U by DRA to PCEF entity, one CCA-U carries the second policy control information, carries out policy control in order to PCEF entity according to the second policy control information to user.
Particularly, the 2nd PCRF entity is inquired about and is identified relevant information record less than to this user conversation in the stored data base of self, then automatic Reconstruction session information.
Therefore, the policy control method that the embodiment of the present invention provides, the user conversation that carries that PCRF entity receives the transmission of PCEF entity by DRA identifies, and a CCR-U of user's extend information, carry out judging self whether to there is user conversation mark according to user conversation mark, when user conversation mark does not exist, session is set up according to user's extend information and PCEF entity, and send the first diameter credit control renewal response CCA-U by DRA to PCEF entity, one CCA-U carries the second policy control information, according to the second policy control information, policy control is carried out to user in order to PCEF entity, thus under achieving and nonserviceabling, user's extend information is utilized to re-establish the session with PCEF entity, achieve and continue to carry out policy control to the business of user, also improve the reliability of policy control.
The structural representation of the PCEF entity that Fig. 7 provides for the embodiment of the present invention seven.The policy control method that this entity provides for performing any one embodiment of the embodiment of the present invention three to six.As shown in the figure, the present embodiment specifically comprises: switch unit 21, transmitting element 22, receiving element 23 and strategy control unit 24.
PCEF entity, for when detecting strategy and the first link failure between charge execution function PCEF entity and the first "Policy and Charging Rules Function PCRF entity, is switched to the second link between the 2nd PCRF entity by switch unit 21; Transmitting element 22 sends the first diameter credit control update request CCR-U for PCEF entity by the second chain road direction the 2nd PCRF entity, user conversation mark is carried in one CCR-U, and user's extend information, user's extend information is used for, when the 2nd PCRF entity judges that user conversation mark does not exist, setting up session according to user's extend information and PCEF entity; Receiving element 23 is for after the 2nd PCRF entity and PCEF entity set up session, receive the first diameter credit control renewal response CCA-U that the 2nd PCRF sends, one CCA-U carries the second policy control information, and the second policy control information is transferred to strategy control unit 24; Strategy control unit 24, for receiving the second policy control information from receiving element 23, carries out policy control according to the second policy control information.Wherein, user's extend information is session multidate information; Session multidate information comprises user totem information, access style information and IP address information.One PCRF entity is primary PCRF entity, and the 2nd PCRF entity is PCRF entity for subsequent use, and primary PCRF entity and PCRF entity for subsequent use lead a standby work pattern with one.Or a PCRF entity and the 2nd PCRF entity work in the mode of load sharing simultaneously.
Further, policy control threshold value in the first policy control information that in the embodiment of the present invention, switch unit 21 also issues more than a PCRF entity for the state value of reaching the standard grade going out user when PCEF entity detection, and when detecting the first link failure between PCEF entity and a PCRF entity, PCEF entity sets up the second link between the 2nd PCRF entity.
Further, in the embodiment of the present invention, transmitting element 22 comprises: first sends subelement is used for PCEF entity by the second chain road direction the 2nd PCRF entity transmission the 2nd CCR-U, carry user conversation mark in 2nd CCR-U, the 2nd PCRF entity is identified the user conversation carried in the 2nd CCR-U; When first reception subelement does not exist for going out user conversation mark when the 2nd PCRF Entity recognition, PCEF entity receives the 2nd CCA-U that the 2nd PCRF entity sends, and the 2nd CCA-U carries user conversation and identifies non-existent information; Second sends subelement identifies user conversation for PCEF entity, and user's extend information is added in a CCR-U, a CCR-U is sent to the 2nd PCRF entity, when making the 2nd PCRF entity judge that user conversation mark does not exist, set up session according to user's extend information and PCEF entity.
Further, in the embodiment of the present invention, switch unit 21 is also for going out the state value of reaching the standard grade of user more than the policy control threshold value in the first policy control information when PCEF entity detection, PCEF entity sends the 2nd CCR-U to Diameter route agent DRA, carries user conversation mark in the 2nd CCR-U; After DRA receives the 2nd CCR-U, and when detecting the first link failure between DRA and a PCRF entity, DRA sets up the second link between the 2nd PCRF entity.
Further, in the embodiment of the present invention, transmitting element 22 comprises: the 3rd sends subelement, forwards the 2nd CCR-U, the 2nd PCRF entity is identified the user conversation carried in the 2nd CCR-U for DRA by the second chain road direction the 2nd PCRF entity; Second receive subelement, for go out when the 2nd PCRF Entity recognition user conversation mark do not exist time, PCEF entity receive DRA forward the 2nd PCRF entity transmission the 2nd CCA-U, the 2nd CCA-U carries user conversation and identifies non-existent information; 4th sends subelement, for PCEF entity, user conversation is identified, and user's extend information is added in a CCR-U, and send a CCR-U by DRA to the 2nd PCRF entity, when making the 2nd PCRF entity judge that user conversation mark does not exist, set up session according to user's extend information and PCEF entity.
Further, in the embodiment of the present invention, receiving element 23 is also for after the 2nd PCRF entity and PCEF entity set up session, the first diameter credit control that PCEF entity receives the 2nd PCRF transmission that DRA forwards upgrades response CCA-U, and a CCA-U carries the second policy control information.
Therefore, the PCEF entity that the embodiment of the present invention provides, when PCEF entity detection goes out the state value of reaching the standard grade of user more than the policy control threshold value in the first policy control information, and during the first link failure between itself and the first "Policy and Charging Rules Function PCRF entity, or when DRA detects the first link failure between itself and the first "Policy and Charging Rules Function PCRF entity, the second link between the 2nd PCRF entity will be switched to, and the first diameter credit control update request of carrying user's extend information is sent by the second chain road direction the 2nd PCRF entity, after the 2nd PCRF entity and PCEF entity set up session, directly or by the first diameter credit control of second policy control information carried of DRA reception the 2nd PCRF transmission upgrade response, and according to the second policy control information, policy control is carried out to user, thus under achieving and nonserviceabling, by adding the method for user's extend information, achieve and continue to carry out policy control to the business of user, also improve the reliability of this policy control.
The structural representation of the PCRF entity that Fig. 8 provides for the embodiment of the present invention eight.The policy control method that this entity provides for performing any one embodiment of the embodiment of the present invention three to six.As shown in the figure, the present embodiment specifically comprises: the first receiving element 31, first judging unit 32 and the first transmitting element 33.
First receiving element 31 is for receiving the first diameter credit control update request CCR-U of strategy and the transmission of charge execution function PCEF entity, user conversation mark is carried in one CCR-U, and user's extend information, and user conversation mark and user's extend information are transferred to the first judging unit 32 and the first transmitting element 33; First judging unit 32 judges self whether to there is user conversation mark for carrying out according to user conversation mark, thus obtains judged result, and judged result is transferred to processing unit; It is that user conversation mark is not when existing that first transmitting element is used for judged result, session is set up according to user's extend information and PCEF entity, and send the first diameter credit control renewal response CCA-U to PCEF entity, one CCA-U carries the second policy control information, carries out policy control in order to PCEF entity according to the second policy control information to user.Wherein, user's extend information is session multidate information; Session multidate information comprises user totem information, access style information and IP address information.PCRF entity is primary PCRF entity or PCRF entity for subsequent use.
Further, the embodiment of the present invention also comprises: the second receiving element 34, second judging unit 35 and the second transmitting element 36.
The 2nd CCR-U that second receiving element 34 sends for receiving PCEF entity, carries user conversation mark in the 2nd CCR-U, and user conversation mark is transferred to the second judging unit; Second judging unit 35 judges self whether to there is user conversation mark for carrying out according to user conversation mark, thus obtains judged result, and judged result is transferred to the second transmitting element 36; Second transmitting element 36 for judged result be user conversation mark do not exist time, to PCEF entity send the 2nd CCA-U, the 2nd CCA-U carries user conversation and identifies non-existent information.
Further, the embodiment of the present invention second receiving element 34, also for receiving the 2nd CCR-U that PCEF entity is forwarded by route agent DRA, carries user conversation mark in the 2nd CCR-U; And second transmitting element 36 also for when user conversation mark do not exist time, by DRA to PCEF entity send the 2nd CCA-U, the 2nd CCA-U carries user conversation and identifies non-existent information.
Further again, in the embodiment of the present invention, the first receiving element 31 is also for receiving the CCR-U that PCEF entity is sent by DRA; And processing unit 33 also upgrades response CCA-U for sending the first diameter credit control by DRA to PCEF entity.
Therefore, the PCRF entity that the embodiment of the present invention provides, PCRF entity directly or by the user conversation that carries that DRA reception PCEF entity sends identifies, and a CCR-U of user's extend information, carry out judging self whether to there is user conversation mark according to user conversation mark, when user conversation mark does not exist, session is set up according to user's extend information and PCEF entity, and directly or by DRA send the first diameter credit control renewal response CCA-U to PCEF entity, one CCA-U carries the second policy control information, according to the second policy control information, policy control is carried out to user in order to PCEF entity, thus under achieving and nonserviceabling, user's extend information is utilized to re-establish the session with PCEF entity, achieve and continue to carry out policy control to the business of user, also improve the reliability of this policy control.
The structural representation of the PCEF entity that Fig. 9 provides for the embodiment of the present invention nine.The policy control method that this entity provides for performing any one embodiment of the embodiment of the present invention three to six.As shown in the figure, the present embodiment specifically comprises: network interface 41, processor 42, memory 43 and entity bus 44.
Physical store application program in which memory, described application program comprises and can be used for making described processor and described entity perform the instruction of following process:
When detecting strategy and the first link failure between charge execution function PCEF entity and the first "Policy and Charging Rules Function PCRF entity, described PCEF entity is switched to the second link between the 2nd PCRF entity; Described PCEF entity sends the first diameter credit control update request CCR-U by the 2nd PCRF entity described in described second chain road direction, user conversation mark is carried in a described CCR-U, and user's extend information, described user's extend information is used for, when described 2nd PCRF entity judges that described user conversation mark does not exist, setting up session according to described user's extend information and described PCEF entity; After described 2nd PCRF entity and described PCEF entity set up session, receive the first diameter credit control renewal response CCA-U that described 2nd PCRF sends, a described CCA-U carries the second policy control information; Policy control is carried out according to described second policy control information.
Wherein, described user's extend information is session multidate information; The Protocol IP address information that described session multidate information comprises user totem information, interconnects between access style information and user network.
Further, described application program can be used for described processor and described entity are performed when detecting strategy and the first link failure between charge execution function PCEF entity and the first "Policy and Charging Rules Function PCRF entity, the instruction described PCEF entity being switched to the second link process between the 2nd PCRF entity is: the state value of reaching the standard grade going out user when described PCEF entity detection exceedes the policy control threshold value in the first policy control information that a described PCRF entity issues, and when detecting the first link failure between described PCEF entity and a described PCRF entity, described PCEF entity sets up the second link between the 2nd PCRF entity.
Further, described application program can be used for making described processor and described entity perform PCEF entity and sends the first diameter credit control update request CCR-U by the 2nd PCRF entity described in described second chain road direction, user conversation mark is carried in a described CCR-U, and user's extend information, described user's extend information is used for when described 2nd PCRF entity judges that described user conversation mark does not exist, the instruction of setting up conversation procedure according to described user's extend information and described PCEF entity for: described PCEF entity sends the 2nd CCR-U by the 2nd PCRF entity described in described second chain road direction, user conversation mark is carried in described 2nd CCR-U, described 2nd PCRF entity is identified the described user conversation carried in described 2nd CCR-U, when described 2nd PCRF Entity recognition go out described user conversation mark do not exist time, described PCEF entity receives the 2nd CCA-U that described 2nd PCRF entity sends, and described 2nd CCA-U carries described user conversation and identifies non-existent information, described user conversation identifies by described PCEF entity, and user's extend information is added in a CCR-U, a described CCR-U is sent to described 2nd PCRF entity, when making described 2nd PCRF entity judge that described user conversation mark does not exist, set up session according to described user's extend information and described PCEF entity.
Further, described application program can be used for described processor and described entity are performed when detecting strategy and the first link failure between charge execution function PCEF entity and the first "Policy and Charging Rules Function PCRF entity, the instruction described PCEF entity being switched to the second link process between the 2nd PCRF entity is: the state value of reaching the standard grade going out user when described PCEF entity detection exceedes the described policy control threshold value in described first policy control information, described PCEF entity sends the 2nd CCR-U to Diameter route agent DRA, user conversation mark is carried in described 2nd CCR-U, after described DRA receives described 2nd CCR-U, and when detecting the first link failure between described DRA and a described PCRF entity, described DRA sets up the second link between the 2nd PCRF entity.
Further, described application program can be used for making described processor and described entity perform PCEF entity and sends the first diameter credit control update request CCR-U by the 2nd PCRF entity described in described second chain road direction, user conversation mark is carried in a described CCR-U, and user's extend information, described user's extend information is used for when described 2nd PCRF entity judges that described user conversation mark does not exist, the instruction of setting up conversation procedure according to described user's extend information and described PCEF entity for: described DRA forwards described 2nd CCR-U by the 2nd PCRF entity described in described second chain road direction, described 2nd PCRF entity is identified the described user conversation carried in described 2nd CCR-U, when described 2nd PCRF Entity recognition go out described user conversation mark do not exist time, described PCEF entity receive described DRA forward described 2nd PCRF entity send the 2nd CCA-U, described 2nd CCA-U carries described user conversation and identifies non-existent information, described user conversation identifies by described PCEF entity, and user's extend information is added in a CCR-U, and send a described CCR-U by described DRA to described 2nd PCRF entity, when making described 2nd PCRF entity judge that described user conversation mark does not exist, set up session according to described user's extend information and described PCEF entity.
Further, described application program can be used for described processor and described entity are performed after described 2nd PCRF entity and described PCEF entity set up session, receive the first diameter credit control renewal response CCA-U that described 2nd PCRF sends, the instruction that a described CCA-U carries the second policy control information process is: after described 2nd PCRF entity and described PCEF entity set up session, the first diameter credit control that described PCEF entity receives the described 2nd PCRF transmission that described DRA forwards upgrades response CCA-U, and a described CCA-U carries the second policy control information.
Therefore, the PCEF entity that the embodiment of the present invention provides, when PCEF entity detection goes out the state value of reaching the standard grade of user more than the policy control threshold value in the first policy control information, and during the first link failure between itself and the first "Policy and Charging Rules Function PCRF entity, or when DRA detects the first link failure between itself and the first "Policy and Charging Rules Function PCRF entity, the second link between the 2nd PCRF entity will be switched to, and the first diameter credit control update request of carrying user's extend information is sent by the second chain road direction the 2nd PCRF entity, after the 2nd PCRF entity and PCEF entity set up session, directly or by the first diameter credit control of second policy control information carried of DRA reception the 2nd PCRF transmission upgrade response, and according to the second policy control information, policy control is carried out to user, thus under achieving and nonserviceabling, by adding the method for user's extend information, achieve and continue to carry out policy control to the business of user, also improve the reliability of this policy control.
The structural representation of the PCRF entity that Figure 10 provides for the embodiment of the present invention ten.The policy control method that this entity provides for performing any one embodiment of the embodiment of the present invention three to six.As shown in the figure, the present embodiment specifically comprises: network interface 51, processor 52, memory 53 and entity bus 54.
Physical store application program in which memory, described application program comprises and can be used for making described processor and described entity perform the instruction of following process:
Receive the first diameter credit control update request CCR-U of strategy and the transmission of charge execution function PCEF entity, in a described CCR-U, carry user conversation mark, and user's extend information; Carry out judging self whether to there is described user conversation mark according to described user conversation mark; When described user conversation mark does not exist, session is set up according to described user's extend information and described PCEF entity, and send the first diameter credit control renewal response CCA-U to described PCEF entity, a described CCA-U carries the second policy control information, makes described PCEF entity carry out policy control according to described second policy control information.
Wherein, described user's extend information is session multidate information; Described session multidate information comprises user totem information, access style information and IP address information.
Further, the instruction that described application program also comprises before can be used for the first diameter credit control update request CCR-U process that described processor and described entity execution reception strategy and charge execution function PCEF entity are sent is: receive described PCEF entity and send the 2nd CCR-U, carry user conversation and identify in described 2nd CCR-U; Carry out judging self whether to there is described user conversation mark according to described user conversation mark; When described user conversation mark does not exist, send the 2nd CCA-U to described PCEF entity, described 2nd CCA-U carries described user conversation and identifies non-existent information.
Further, the instruction that described application program also comprises before can be used for the first diameter credit control update request CCR-U process that described processor and described entity execution reception strategy and charge execution function PCEF entity are sent is: receive the 2nd CCR-U that described PCEF entity is forwarded by route agent DRA, carry user conversation mark in described 2nd CCR-U; Carry out judging self whether to there is described user conversation mark according to described user conversation mark; When described user conversation mark does not exist, send the 2nd CCA-U by described DRA to described PCEF entity, described 2nd CCA-U carries described user conversation and identifies non-existent information.
Further, the instruction that described application program can be used for making described processor and described entity perform the first diameter credit control update request CCR-U process receiving strategy and the transmission of charge execution function PCEF entity is: receive the CCR-U that described PCEF entity is sent by DRA; And the instruction that described application program can be used for making described processor and the execution of described entity send the first diameter credit control renewal response CCA-U process to described PCEF entity is: send the first diameter credit control by described DRA to described PCEF entity and upgrade response CCA-U.
Therefore, the PCRF entity that the embodiment of the present invention provides, PCRF entity directly or by the user conversation that carries that DRA reception PCEF entity sends identifies, and a CCR-U of user's extend information, carry out judging self whether to there is user conversation mark according to user conversation mark, when user conversation mark does not exist, session is set up according to user's extend information and PCEF entity, and directly or by DRA send the first diameter credit control renewal response CCA-U to PCEF entity, one CCA-U carries the second policy control information, according to the second policy control information, policy control is carried out to user in order to PCEF entity, thus under achieving and nonserviceabling, user's extend information is utilized to re-establish the session with PCEF entity, achieve and continue to carry out policy control to the business of user, also improve the reliability of this policy control.
The embodiment of the present invention additionally provides a kind of policy controlling system, and this system comprises: PCEF entity 11, a PCRF entity 12 and a PCRF entity 13, as shown in Figure 1.Or this system comprises: PCEF entity 11, DRA14, a PCRF entity 12 and a PCRF entity 13, as shown in Figure 2.
Professional should recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; be understood that; the foregoing is only the specific embodiment of the present invention; the protection range be not intended to limit the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (21)

1. a policy control method, is characterized in that, described method comprises:
When detecting strategy and the first link failure between charge execution function PCEF entity and the first "Policy and Charging Rules Function PCRF entity, described PCEF entity is switched to the second link between the 2nd PCRF entity;
Described PCEF entity sends the first diameter credit control update request CCR-U by the 2nd PCRF entity described in described second chain road direction, user conversation mark is carried in a described CCR-U, and user's extend information, described user's extend information is used for, when described 2nd PCRF entity judges that described user conversation mark does not exist, setting up session according to described user's extend information and described PCEF entity; Described user's extend information is session multidate information; The Protocol IP address information that described session multidate information comprises user totem information, interconnects between access style information and user network;
After described 2nd PCRF entity and described PCEF entity set up session, receive the first diameter credit control renewal response CCA-U that described 2nd PCRF sends, a described CCA-U carries the second policy control information;
Policy control is carried out according to described second policy control information.
2. policy control method according to claim 1, it is characterized in that, described when detecting strategy and the first link failure between charge execution function PCEF entity and the first "Policy and Charging Rules Function PCRF entity, described PCEF entity is switched to the second link between the 2nd PCRF entity, comprises:
The state value of reaching the standard grade going out user when described PCEF entity detection exceedes the policy control threshold value in the first policy control information that a described PCRF entity issues, and when detecting the first link failure between described PCEF entity and a described PCRF entity, described PCEF entity sets up the second link between the 2nd PCRF entity.
3. policy control method according to claim 2, it is characterized in that, described PCEF entity sends the first diameter credit control update request CCR-U by the 2nd PCRF entity described in described second chain road direction, user conversation mark is carried in a described CCR-U, and user's extend information, described user's extend information is used for, when described 2nd PCRF entity judges that described user conversation mark does not exist, setting up session, comprising according to described user's extend information and described PCEF entity:
Described PCEF entity sends the 2nd CCR-U by the 2nd PCRF entity described in described second chain road direction, carry user conversation mark in described 2nd CCR-U, described 2nd PCRF entity is identified the described user conversation carried in described 2nd CCR-U;
When described 2nd PCRF Entity recognition go out described user conversation mark do not exist time, described PCEF entity receives the 2nd CCA-U that described 2nd PCRF entity sends, and described 2nd CCA-U carries described user conversation and identifies non-existent information;
Described user conversation identifies by described PCEF entity, and user's extend information is added in a CCR-U, a described CCR-U is sent to described 2nd PCRF entity, when making described 2nd PCRF entity judge that described user conversation mark does not exist, set up session according to described user's extend information and described PCEF entity.
4. policy control method according to claim 1, it is characterized in that, described when detecting strategy and the first link failure between charge execution function PCEF entity and the first "Policy and Charging Rules Function PCRF entity, described PCEF entity is switched to the second link between the 2nd PCRF entity, comprises:
The state value of reaching the standard grade going out user when described PCEF entity detection exceedes the described policy control threshold value in described first policy control information, described PCEF entity sends the 2nd CCR-U to Diameter route agent DRA, carries user conversation mark in described 2nd CCR-U;
After described DRA receives described 2nd CCR-U, and when detecting the first link failure between described DRA and a described PCRF entity, described DRA sets up the second link between the 2nd PCRF entity.
5. policy control method according to claim 4, it is characterized in that, described PCEF entity sends the first diameter credit control update request CCR-U by the 2nd PCRF entity described in described second chain road direction, user conversation mark is carried in a described CCR-U, and user's extend information, described user's extend information is used for, when described 2nd PCRF entity judges that described user conversation mark does not exist, setting up session, comprising according to described user's extend information and described PCEF entity:
Described DRA forwards described 2nd CCR-U by the 2nd PCRF entity described in described second chain road direction, and described 2nd PCRF entity is identified the described user conversation carried in described 2nd CCR-U;
When described 2nd PCRF Entity recognition go out described user conversation mark do not exist time, described PCEF entity receive described DRA forward described 2nd PCRF entity send the 2nd CCA-U, described 2nd CCA-U carries described user conversation and identifies non-existent information;
Described user conversation identifies by described PCEF entity, and user's extend information is added in a CCR-U, and send a described CCR-U by described DRA to described 2nd PCRF entity, when making described 2nd PCRF entity judge that described user conversation mark does not exist, set up session according to described user's extend information and described PCEF entity.
6. policy control method according to claim 5, it is characterized in that, after described 2nd PCRF entity and described PCEF entity set up session, receive the first diameter credit control renewal response CCA-U that described 2nd PCRF sends, a described CCA-U carries the second policy control information, comprising:
After described 2nd PCRF entity and described PCEF entity set up session, the first diameter credit control that described PCEF entity receives the described 2nd PCRF transmission that described DRA forwards upgrades response CCA-U, and a described CCA-U carries the second policy control information.
7. a policy control method, is characterized in that, described method comprises:
Receive the first diameter credit control update request CCR-U of strategy and the transmission of charge execution function PCEF entity, in a described CCR-U, carry user conversation mark, and user's extend information; Described user's extend information is session multidate information; The Protocol IP address information that described session multidate information comprises user totem information, interconnects between access style information and user network;
Carry out judging self whether to there is described user conversation mark according to described user conversation mark;
When described user conversation mark does not exist, session is set up according to described user's extend information and described PCEF entity, and send the first diameter credit control renewal response CCA-U to described PCEF entity, a described CCA-U carries the second policy control information, makes described PCEF entity carry out policy control according to described second policy control information.
8. policy control method according to claim 7, is characterized in that, also comprises before the first diameter credit control update request CCR-U that described reception strategy and charge execution function PCEF entity send:
Receive described PCEF entity and send the 2nd CCR-U, in described 2nd CCR-U, carry user conversation mark;
Carry out judging self whether to there is described user conversation mark according to described user conversation mark;
When described user conversation mark does not exist, send the 2nd CCA-U to described PCEF entity, described 2nd CCA-U carries described user conversation and identifies non-existent information.
9. policy control method according to claim 7, is characterized in that, also comprises before the first diameter credit control update request CCR-U that described reception strategy and charge execution function PCEF entity send:
Receive the 2nd CCR-U that described PCEF entity is forwarded by route agent DRA, in described 2nd CCR-U, carry user conversation mark;
Carry out judging self whether to there is described user conversation mark according to described user conversation mark;
When described user conversation mark does not exist, send the 2nd CCA-U by described DRA to described PCEF entity, described 2nd CCA-U carries described user conversation and identifies non-existent information.
10. policy control method according to claim 9, is characterized in that, described the first diameter credit control update request CCR-U receiving strategy and the transmission of charge execution function PCEF entity specifically comprises the CCR-U receiving described PCEF entity and sent by DRA;
And, described to described PCEF entity send first diameter credit control upgrade response CCA-U specifically comprise by described DRA to described PCEF entity send first diameter credit control upgrade response CCA-U.
11. 1 kinds of strategies and charge execution function PCEF entity, it is characterized in that, described entity comprises:
Switch unit, for when detecting strategy and the first link failure between charge execution function PCEF entity and the first "Policy and Charging Rules Function PCRF entity, is switched to the second link between the 2nd PCRF entity by described PCEF entity;
Transmitting element, the first diameter credit control update request CCR-U is sent by the 2nd PCRF entity described in described second chain road direction for described PCEF entity, user conversation mark is carried in a described CCR-U, and user's extend information, described user's extend information is used for, when described 2nd PCRF entity judges that described user conversation mark does not exist, setting up session according to described user's extend information and described PCEF entity; Described user's extend information is session multidate information; The Protocol IP address information that described session multidate information comprises user totem information, interconnects between access style information and user network;
Receiving element, for after described 2nd PCRF entity and described PCEF entity set up session, receive the first diameter credit control renewal response CCA-U that described 2nd PCRF sends, a described CCA-U carries the second policy control information, and described second policy control information is transferred to strategy control unit;
Strategy control unit, for receiving described second policy control information from described receiving element, carries out policy control according to described second policy control information.
12. PCEF entities according to claim 11, it is characterized in that, the reach the standard grade state value of described switch unit also for going out user when described PCEF entity detection exceedes the policy control threshold value in the first policy control information that a described PCRF entity issues, and when detecting the first link failure between described PCEF entity and a described PCRF entity, described PCEF entity sets up the second link between the 2nd PCRF entity.
13. PCEF entities according to claim 12, it is characterized in that, described transmitting element specifically comprises:
First sends subelement, the 2nd CCR-U is sent by the 2nd PCRF entity described in described second chain road direction for described PCEF entity, carry user conversation mark in described 2nd CCR-U, described 2nd PCRF entity is identified the described user conversation carried in described 2nd CCR-U;
First receives subelement, for go out when described 2nd PCRF Entity recognition described user conversation mark do not exist time, described PCEF entity receives the 2nd CCA-U that described 2nd PCRF entity sends, and described 2nd CCA-U carries described user conversation and identifies non-existent information;
Second sends subelement, for described PCEF entity, described user conversation is identified, and user's extend information is added in a CCR-U, a described CCR-U is sent to described 2nd PCRF entity, when making described 2nd PCRF entity judge that described user conversation mark does not exist, set up session according to described user's extend information and described PCEF entity.
14. PCEF entities according to claim 11, it is characterized in that, the reach the standard grade state value of described switch unit also for going out user when described PCEF entity detection exceedes the described policy control threshold value in described first policy control information, described PCEF entity sends the 2nd CCR-U to Diameter route agent DRA, carries user conversation mark in described 2nd CCR-U; After described DRA receives described 2nd CCR-U, and when detecting the first link failure between described DRA and a described PCRF entity, described DRA sets up the second link between the 2nd PCRF entity.
15. PCEF entities according to claim 14, it is characterized in that, described transmitting element specifically comprises:
3rd sends subelement, forwards described 2nd CCR-U, described 2nd PCRF entity is identified the described user conversation carried in described 2nd CCR-U for described DRA by the 2nd PCRF entity described in described second chain road direction;
Second receives subelement, for go out when described 2nd PCRF Entity recognition described user conversation mark do not exist time, described PCEF entity receives the 2nd CCA-U of the described 2nd PCRF entity transmission that described DRA forwards, and described 2nd CCA-U carries described user conversation and identifies non-existent information;
4th sends subelement, for described PCEF entity, described user conversation is identified, and user's extend information is added in a CCR-U, and send a described CCR-U by described DRA to described 2nd PCRF entity, when making described 2nd PCRF entity judge that described user conversation mark does not exist, set up session according to described user's extend information and described PCEF entity.
16. PCEF entities according to claim 15, it is characterized in that, described receiving element is also for after described 2nd PCRF entity and described PCEF entity set up session, the first diameter credit control that described PCEF entity receives the described 2nd PCRF transmission that described DRA forwards upgrades response CCA-U, and a described CCA-U carries the second policy control information.
17. 1 kinds of "Policy and Charging Rules Function PCRF entities, is characterized in that, described PCRF entity comprises:
First receiving element, for receiving the first diameter credit control update request CCR-U of strategy and the transmission of charge execution function PCEF entity, user conversation mark is carried in a described CCR-U, and user's extend information, and described user conversation mark and described user's extend information are transferred to the first judging unit and processing unit; Described user's extend information is session multidate information; The Protocol IP address information that described session multidate information comprises user totem information, interconnects between access style information and user network;
First judging unit, for carrying out judging self whether to there is described user conversation mark according to described user conversation mark, thus obtains judged result, and described judged result is transferred to processing unit;
First transmitting element, for described judged result be described user conversation mark do not exist time, session is set up according to described user's extend information and described PCEF entity, and send the first diameter credit control renewal response CCA-U to described PCEF entity, a described CCA-U carries the second policy control information, carries out policy control in order to described PCEF entity according to described second policy control information.
18. PCRF entities according to claim 17, it is characterized in that, described entity also comprises:
Second receiving element, for receiving the 2nd CCR-U that described PCEF entity sends, carries user conversation mark in described 2nd CCR-U, and described user conversation mark is transferred to the second judging unit;
Second judging unit, carries out judging self whether to there is described user conversation mark according to described user conversation mark, thus obtains judged result, and described judged result is transferred to the second transmitting element;
Second transmitting element, for described judged result be described user conversation mark do not exist time, send the 2nd CCA-U to described PCEF entity, described 2nd CCA-U carries described user conversation and identifies non-existent information.
19. PCRF entities according to claim 17, is characterized in that, the second receiving element, also for receiving the 2nd CCR-U that described PCEF entity is forwarded by Diameter route agent DRA, carries user conversation mark in described 2nd CCR-U;
And the second transmitting element is not also for when described user conversation mark exists, and send the 2nd CCA-U by described DRA to described PCEF entity, described 2nd CCA-U carries described user conversation and identifies non-existent information.
20. PCRF entities according to claim 19, is characterized in that, described first receiving element is also for receiving the CCR-U that described PCEF entity is sent by described DRA;
And described first transmitting element also upgrades response CCA-U for sending the first diameter credit control by described DRA to described PCEF entity.
21. 1 kinds of policy controlling systems, is characterized in that, described system comprises: the PCEF entity according to claim 11 to 16 any one, the PCRF entity according to claim 17 to 20 any one and Diameter route agent DRA.
CN201210485346.6A 2012-11-26 2012-11-26 Policy control method, entity and system Active CN102932769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210485346.6A CN102932769B (en) 2012-11-26 2012-11-26 Policy control method, entity and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210485346.6A CN102932769B (en) 2012-11-26 2012-11-26 Policy control method, entity and system

Publications (2)

Publication Number Publication Date
CN102932769A CN102932769A (en) 2013-02-13
CN102932769B true CN102932769B (en) 2015-11-25

Family

ID=47647451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210485346.6A Active CN102932769B (en) 2012-11-26 2012-11-26 Policy control method, entity and system

Country Status (1)

Country Link
CN (1) CN102932769B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109450655A (en) * 2012-12-06 2019-03-08 华为技术有限公司 Session restoration methods, equipment and system
CN103856968B (en) * 2014-03-07 2017-05-24 大唐移动通信设备有限公司 PCC rule obtaining method and device after Gx interfaces break down
CN106470196B (en) * 2015-08-21 2019-08-27 南京中兴新软件有限责任公司 A kind of restoration methods, the device and system of diameter credit control session
EP3512223B1 (en) 2016-10-12 2021-07-28 Huawei Technologies Co., Ltd. Session management method and network element
CN110519824B (en) * 2018-05-22 2021-10-26 中国移动通信有限公司研究院 Method and device for updating terminal routing strategy
CN110650026A (en) * 2018-06-26 2020-01-03 中国电信股份有限公司 Communication method, system, PGW and computer readable storage medium
CN111756592B (en) * 2019-03-28 2022-03-08 中国移动通信有限公司研究院 Policy processing method and entity

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902721A (en) * 2010-07-30 2010-12-01 中国联合网络通信集团有限公司 Time-based strategy control implementing method and device thereof
CN102238511A (en) * 2010-04-30 2011-11-09 中兴通讯股份有限公司 Method and system for selecting policy and charging rule function
CN102487323A (en) * 2010-12-02 2012-06-06 中兴通讯股份有限公司 Online charging service processing method, gateway and system
CN102612011A (en) * 2012-03-22 2012-07-25 中兴通讯股份有限公司 Method and system for switching charging control policies at real time

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238511A (en) * 2010-04-30 2011-11-09 中兴通讯股份有限公司 Method and system for selecting policy and charging rule function
CN101902721A (en) * 2010-07-30 2010-12-01 中国联合网络通信集团有限公司 Time-based strategy control implementing method and device thereof
CN102487323A (en) * 2010-12-02 2012-06-06 中兴通讯股份有限公司 Online charging service processing method, gateway and system
CN102612011A (en) * 2012-03-22 2012-07-25 中兴通讯股份有限公司 Method and system for switching charging control policies at real time

Also Published As

Publication number Publication date
CN102932769A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
CN102932769B (en) Policy control method, entity and system
CN107919969A (en) Policy control method and device
CN102265555B (en) Conversion method between an main communicational equipment and a spare communicational equipment, the communicational equipments and a service request equipment
CN108011737A (en) A kind of failure switching method, apparatus and system
CN104410526B (en) A kind of calling-control method, Diameter forwarding unit and system
US20190182104A1 (en) Method and device for processing communication path
CN104412560B (en) Network collocating method, apparatus and system based on SDN
CN106034038A (en) Method and device for preventing multi-conflict stacking
JP6114835B2 (en) Session recovery method, device and system
CN114363928A (en) XN interface interaction method and system
US10027820B2 (en) Charging system switching method and apparatus
CN101217420B (en) A linkage processing method and device
CN103229569B (en) Reporting user location information method and the network equipment
CN102594696B (en) A kind of method and device managing network device link aggregation group
CN103051484A (en) Method and system for processing session service and session border controller
US20170099221A1 (en) Service packet distribution method and apparatus
CN103533525B (en) The method, apparatus and system of the regular transmission that policy control is relevant with charging
WO2018014882A1 (en) Method and device for acquiring router information, and router addressing apparatus and system
CN103501276B (en) The method and device that a kind of server communicates with sensor node
CN103701943B (en) The control method and device of MAC Address
CN106357532A (en) Message response method and device
CN103516662A (en) Session backup method, device and system
CN105187236B (en) A kind of method of network flow migration
CN103237327A (en) Terminal and network witching method
EP2320697B1 (en) Method for switching msc-pool inter offices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant