Embodiment
The embodiment of the present invention provides a kind of QoS control method, adopt the technical scheme of being applied for QoS and then acquisition Qos control information by Radius server to PCRF, dynamic QoS can be realized obtain and control ability in authentication and accounting process, and, Radius server possesses the protocol adaptation ability of various routine, effectively can identify the QoS information as various network equipments such as PDSN, BRAS, ASN GW, thus good QoS service can be provided.The embodiment of the present invention also provides corresponding device to comprise Radius server and PCRF and system.Be described in detail respectively below in conjunction with accompanying drawing.
Technical solution of the present invention is applied to one and comprises Radius server, "Policy and Charging Rules Function entity (Policy and Charging Rules Function, PCRF), and tactful and charging execution function entity (Policy and Charging Enforcement Function, PCEF) communication system, this system can also comprise charge system.Wherein, Radius network in charge account authentication and authorization function; Charge system is responsible for pre-authorization and billing function; PCRF is strategy and the charging control strategy decision point of business data flow and IP bearing resource, selects and provide available strategy and charging control decision for PCEF; The detection of PCEF primary responsibility business data flow, strategy execution and the billing function based on stream.
In above-mentioned communication system, Radius server sets up session connection by DCC interface and charge system, is connected by CCR interface and PCRF.In session service, Radius server and charge system and the mutual message of PCRF comprise the credit control request (Credit-Control-Request that Radius server sends, CCR) message, Credit Control Answer (Credit-Control-Answer, CCA) message is returned with charge system or PCRF; Different by the mutual stage, three kinds can be further divided into, respectively: CCR(CCA) initial (Initial) message, CCR(CCA) upgrade (Update) message and CCR(CCA) stop (Termination) message.For the reciprocal process of Radius server and charge system, the conversation initialization message that time Initial message is session establishment, Radius server sends to charge system, major function is inquiring user state, application business use amount; Message mutual in Update message session process, major function is after the use amount of a upper burst of user is finished, and again to charge system application business use amount, and reports and uses traffic carrying capacity; Termination message is mainly used in releasing session, and end session connects.
Please refer to Fig. 1, the embodiment of the present invention provides a kind of QoS control method, and the method comprises:
100, Radius server pre-defines Qos information, and described Qos information comprises at least two kinds of Qos control informations and the Qos identification information corresponding with often kind of Qos control information; Whole Qos identification information is sent to described PCRF.
In the embodiment of the present invention, Radius server can arrange requirement according to the QOS of mobile operator demand and PCEF manufacturer, carries out Qos information configuration.The Qos information of configuration comprises at least two kinds of Qos control informations and the Qos identification information (ID) corresponding with often kind of Qos control information, and optionally, this Qos information can also comprise the Qos descriptor corresponding with often kind of Qos control information.The QoS information be stored in after having configured in Radius server comprises the corresponding relation between Qos control information, Qos identification information and Qos descriptor and three.Wherein, QoS control information defines the Service control mode that different user should adopt under different application scene, such as, under a kind of application scenarios, allow user to use 1M bandwidth, allow user to use 2M bandwidth under another kind of application scenarios; QoS identification information is a simple character, for representing corresponding QoS control information, such as, represents 1M bandwidth with 1, represents 2M bandwidth with 2; QoS descriptor is then the explanation to QoS control information, with the implication and the effect that help related personnel or equipment to understand described Qos control information.
In a kind of execution mode, the QoS information configured can be stored in Radius server by list mode, as shown in table 1:
Table 1
In practical application, different PCEF equipment supports different Qos attributes, such as:
CDMA(Code Division Multiple Access, code division multiple access) the Qos attribute supported of access device PDSN is: 3GPP2-AN-Qos.The Qos attribute that fixed network access device BRAS supports may comprise: Input-Average-Rate, Input-Peak-rate, Output-Average-rate, Output-Peak-rate etc.The Qos attribute that Wimax access device ASNGW supports may comprise: the maximum continuous rate of Maximum SustainedTraffic Rate(), Traffic Priority etc.Therefore, the support to described various PCEF equipment should be considered when Radius server definition Qos information.
After Radius server completes Qos information configuration, the QoS identification information all to major general issues PCRF, or, also QoS identification information can be sent to PCRF together with corresponding QoS descriptor, or, whole QoS information can also be sent to PCRF together.In a kind of execution mode, the QoS identification information etc. of configuration can be saved as a file by Radius server, this file is passed to PCRF; In other embodiment, also can adopt alternate manner, such as directly by artificial, the QoS identification information etc. that Radius server configures to be input in PCRF.
110, Radius server applies for QoS to PCRF, receives the QoS identification information that described PCRF returns.
In this step, Radius server, by DCC interface and mutual CCR, CCA message of PCRF, applies for QoS.PCRF is provided with the Fair Usage Policy of user side, is that user configures different QoS ID according to different scene.Described Fair Usage Policy defines the QoS ID using the user side of different communication set meal should use under different application scene.In a kind of execution mode, PCRF can be that each user side is bound respectively at the QOS ID that different application scene uses, and the corresponding relation of user side and QOS ID can be arranged by man-machine interface on PCRF by operator.
This step specifically can comprise: Radius server sends a CCR message to PCRF, is used for applying for QoS; Receive the CCA message that described PCRF returns, obtain the QoS identification information of the described PCRF distribution of carrying in described CCA message.Described for applying for that a CCR message of QoS identification information can be CCR Initial message or CCR Update message.Accordingly, a described CCA message is CCA Initial message or CCA Update message.
A described CCR message can adopt existing CCR message frame, without the need to expansion, can pre-set in PCRF, is defaulted as the CCR message that receives exactly for applying for QoS; The CCA message that PCRF returns needs to expand on existing CCA message frame basis, part reserved field is defined as QoS id field or in addition increases QoS id field, and this QoS id field is used for carrying the QoS identification information that PCRF distributes.
In the present embodiment, after the DCC:CCA Interface Expanding that PCRF uses, comprise following AVP group:
[QoS ID]: the QoS identification information that the QoS control information that Radius server defines is corresponding, for issuing QoS ID to Radius server;
[Qos_Revalidation-Time]: Qos switching time, switches the entry-into-force time for issuing Qos control information.
120, the QoS control information corresponding with described QoS identification information is obtained.
In the present embodiment, owing to storing the corresponding relation of predefined QoS identification information and QoS control information in described Radius server.Therefore, after Radius server application to QoS identification information, by inquiring about the corresponding relation of predefined QoS identification information and QoS control information, the QoS control information corresponding with the QoS identification information of applying for arriving can be obtained.
130, described QoS control information is sent to PCEF, so that described PCEF carries out QoS control according to described QoS control information to user side.
Radius server can according to current RFC(Request For Comments) definition QoS characteristic in standard, QoS control information is carried in Radius message and sends to PCEF, so that PCEF controls user side according to described QoS control information.Such as, be 1M according to the current operable bandwidth of QoS control information determination user side.
In practical application, embodiment of the present invention method can be applied in the charge system based on Radius server, then, described method also comprises:
140, described Radius server sends the 2nd CCR message to charge system, to apply for user's pre-authorization use amount; Receive the 2nd CCA message that described charge system returns, obtain user's pre-authorization use amount of the described charge system distribution of carrying in described 2nd CCA message.This step can perform before step 110.
In the present embodiment, described for applying for that the CCR message of user's pre-authorization use amount can be CCRInitial message or CCR Update message.Then, described Radius server transmission the 2nd CCR message can comprise to charge system: described Radius server receives user's access request that described PCEF sends, and carries out certification to user side; After certification is passed through, send CCR initial message to charge system; Or after user's access, described Radius server receives user's quota update request that described PCEF sends, and carries out certification to user side; After certification is passed through, send CCR updating message to charge system.
150, described user's pre-authorization use amount of applying for is sent to described PCEF, so that described PCEF authorizes user side.This step can perform with step 130 simultaneously, that is, QoS control information and user's pre-authorization use amount are carried in same Radius message and send to PCEF by Radius server.This step also can perform before step 130 or afterwards.
Above, the embodiment of the invention discloses a kind of QoS control method, adopt and pre-define QoS information by Radius server, the QoS distributed to PCRF application and then the technical scheme obtaining corresponding Qos control information, make in authentication and accounting process, achieve dynamic QoS to obtain and control ability, and, Radius server possesses the protocol adaptation ability of various routine, effectively can identify the QoS information as various network equipments such as PDSN, BRAS, WiMAX Access Service Network Gateway (ASN GW), thus good QoS service can be provided.
In order to more detailed description technical scheme of the present invention, below, for user's initial access phase and later stage on-line stage, how to apply embodiment of the present invention technical scheme and be described in further details.
First to user's initial access phase, how to obtain initial Q os control information and be described:
When user side access authentication, Radius server can utilize the CCR interface between PCRF, report CCR-Initial message to apply for QoS ID to PCRF, when reaching trigger condition, QoS ID is issued to Radius server by CCA-Initial message by PCRF.Radius server inquires about corresponding Qos control information according to Qos ID, by Radius message, Qos control information is issued to PCEF.Wherein, Radius server can pre-set QoS information and the corresponding relation of QoS ID and Qos descriptor is sent to PCRF, so that after PCRF receives CCR-Initial message, configuration preset rules, set meal for different user end requires and current application scene, for user side distributes the current Qos ID that should use.
Please refer to Fig. 2, the interaction flow between Radius server and PCRF is specific as follows:
201, the Qos controlled attribute supported according to various PCEF equipment of Radius server, predefine Qos control information and the Qos ID corresponding with every bar Qos control information, each Qos ID has different independent numberings, and all QoS ID are supplied to PCRF with forms such as lists.Preferably, corresponding Qos descriptor can be set for every bar Qos control information, with the implication and the effect that help related personnel or equipment to understand described Qos control information, providing QoS ID list to while to PCRF, Qos descriptor corresponding for each QoS ID is also supplied to PCRF.
202, PCRF arranges the Fair Usage Policy of user side, is that user configures different QoS ID according to different scene.Described Fair Usage Policy defines the QoS ID using the user side of different communication set meal should use under different application scene.In a kind of execution mode, PCRF can be that each user side is bound respectively at the QOS ID that different application scene uses, and the corresponding relation of user side and QOS ID can be arranged by man-machine interface on PCRF by operator.
203, Radius server is when user side accesses, send CCR-Initial message application QoSID to PCRF, after PCRF receives CCR-Initial message, judge the use strategy of user side, return CCA-Initial message to Radius server, carry the QoS ID into user side configuration.The Qos control information that Radius server is corresponding according to QoSID inquiry, is then issued to PCEF by Qos control information.The Qos control information that PCEF issues according to Radius server carries out Qos policy control to user side.
When technical solution of the present invention is used for charging verification process, Radius server, charge system, and the interaction flow between PCRF and PCEF, as shown in Figure 3, comprising:
300, Radius server is based on the network equipment predefine QOS control information accessed and QoS ID, can only issue QoS ID to PCRF.
301, PCRF(such as PDSN) report of user access request (Radius Access Request) message is to Radius server;
302, Radius server carries out local authentication to user;
303, after the local authentication of Radius server is passed through, report DCC:CCR-Initial message to charge system application user pre-authorization use amount;
304, charge system is to user's pre-authorization use amount;
305, user's pre-authorization use amount is sent to Radius server by DCC:CCA-Initial message by charge system;
306, Radius server reports CCR-Initial message to apply for user initial Q os ID to PCRF;
307, PCRF judges the current QoS ID that should use of user;
308, PCRF issues to Radius server the QosID that user initially should use by CCA-Initial message;
309, Radius server inquires about corresponding Qos control information by Qos ID;
310, Radius server accesses response (Radius Access Response) message by user and issues user's pre-authorization use amount and Qos control information to PCEF.
Below, by an embody rule scene example, said method flow process is described further, comprises:
Assuming that the set meal that user orders is: wrap 24 hours, in 1000M flow, bandwidth is the above bandwidth of 2M, 1000M flow is 1M.On Radius server, the QoS ID of predefine 2M bandwidth is the QoSID of 1,1M bandwidth is 2.And use 980M when supposing that user reaches the standard grade.
First, PCRF(such as PDSN) report of user access request (Radius Access Request) is to Radius server;
Radius server carries out local authentication to user, by rear, reports DCC:CCR-Initial message to charge system application user pre-authorization use amount;
Charge system is to user's pre-authorization use traffic 20M; By DCC:CCA-Initial message, pre-authorization amount 20M is sent to Radius server;
Radius server reports CCR-Initial message to apply for user initial Q os control information to PCRF;
PCRF judges that user is current should use 2M bandwidth, configuration QoSID=1; Issue user by CCA-Initial message to Radius server and initially use QosID=1;
Radius server accesses response (Radius Access Response) message by user and issues user's pre-authorization use amount 20M to PCEF and represent that bandwidth is the QoS control information of 2M.PCEF authorized user this can use traffic 20M, bandwidth is 2M.
Below to user's on-line stage, how to obtain the Qos control information after change and be described:
User's on-line stage, when receiving user side quota renewal application, Radius server can utilize the CCR interface between PCRF, reports CCR-Update message to apply for QoS ID to PCRF.QoS ID after change is issued to Radius server by CCA-Update message by PCRF.Radius server inquires about corresponding Qos control information according to Qos ID, by Radius message, Qos control information is issued to PCEF.Wherein, whole QoS ID and corresponding Qos descriptor are pre-defined by Radius server and send to PCRF, so that after PCRF receives CCR-Update message, configuration preset rules, set meal for different user end requires and current application scene, for user side distributes the current Qos ID that should use.
Please refer to Fig. 4, the interaction flow between Radius server and PCRF is specific as follows:
401, the Qos controlled attribute supported according to various PCEF equipment of Radius server, predefine Qos control information and the Qos ID corresponding with every bar Qos control information, each Qos ID has different independent numberings, and all QoS ID are supplied to PCRF with forms such as lists.Preferably, corresponding Qos descriptor can be set for every bar Qos control information, with the implication and the effect that help related personnel or equipment to understand described Qos control information, providing QoS ID list to while to PCRF, Qos descriptor corresponding for each QoS ID is also supplied to PCRF.
402, PCRF arranges the Fair Usage Policy of user side, is that user configures different QoSID according to different scene.Described Fair Usage Policy defines the QoS ID using the user side of different communication set meal should use under different application scene.In a kind of execution mode, PCRF can be that each user side is bound respectively at the QOS ID that different application scene uses, and the corresponding relation of user side and QOS ID can be arranged by man-machine interface on PCRF by operator.
403, Radius server is when receiving user side quota and upgrading application, CCR-Update message application QoS ID is sent to PCRF, after PCRF receives CCR-Update message, judge the use strategy of user side, return CCA-Update message to Radius server, carry as user configured QoS ID.Radius server inquires about corresponding Qos control information according to QoS ID, then Qos control information is issued to PCEF.PCEF carries out Qos policy control according to Qos control information to user side.
When technical solution of the present invention is used for charging verification process, Radius server, charge system, and the interaction flow between PCRF and PCEF, as shown in Figure 5, comprising:
500, the network equipment predefine QOS control information of Radius server based on access and the QoSID of correspondence, issue QoS ID to PCRF.
501, PCRF(such as PDSN) report of user asks (Radius Online Request) to Radius server online;
502, Radius server reports DCC:CCR-Update message to charge system application user pre-authorization use amount;
503, charge system is to user's pre-authorization use amount;
504, user's pre-authorization use amount is sent to Radius server by DCC:CCA-Update message by charge system;
505, Radius server reports CCR-Update message to apply for the Qos control information after user's change to PCRF;
506, PCRF judges the current QoS ID that should use of user;
507, PCRF issues to Radius server the QosID that user should use by CCA-Update message;
508, Radius server is by the Qos control information of QosID inquiry correspondence, to user's pre-authorization;
509, Radius server is replied (Radius Online Response) message online by user and is issued pre-authorization use amount and Qos control information to PCEF.
Below, by an embody rule scene example, said method flow process is described further, comprises:
Assuming that the set meal that user orders is: wrap 24 hours, in 1000M flow, bandwidth is the above bandwidth of 2M, 1000M flow is 1M.On Radius server, the QoS ID of predefine 2M bandwidth is the QoS ID of 1,1M bandwidth is 2.And use 1000M when supposing that report of user quota upgrades application.
First, PCRF(is PDSN such as) report Radius Access Request to Radius server, report user use traffic 1000M simultaneously;
Radius server reports DCC:CCR-Update message to charge system application user pre-authorization use amount;
Charge system is to user's pre-authorization use traffic 20M; By DCC:CCA-Update message, pre-authorization amount 20M is sent to Radius Server;
Radius server reports CCR-Update message to apply for the Qos control information after user's change to PCRF;
PCRF judges the current 1M bandwidth that should use of user, configuration QoSID=2; Issue user by CCA-Update message to Radius server and initially use QosID=2;
Radius server issues user's pre-authorization use amount 20M by Radius Online Response message to PCEF and represents that bandwidth is the QoS control information of 1M.PCEF authorized user this can use traffic 20M, bandwidth is 1M.
Please refer to Fig. 6, take PCRF as executive agent, and the QoS control method that the embodiment of the present invention provides comprises:
610, PCRF receives the message for applying for QoS that Radius server sends.
620, the QoS that should use is determined according to Fair Usage Policy, the QoS identification information of correspondence is sent to described Radius server, so that Radius server obtains the QoS control information corresponding with described QoS identification information, and described QoS control information is sent to PCEF, according to described QoS control information, qos policy is carried out to user side by PCEF and control.
Wherein, described for applying for that the message of QoS is specially CCR message; The described QoS identification information by correspondence sends to described Radius server to comprise: the QoS identification information of correspondence be carried in CCA message and send to described Radius server.
Described PCRF receive that Radius server sends for apply for QoS message before can also comprise: obtain the predefined whole Qos identification information of described Radius server; Arrange Fair Usage Policy, described Fair Usage Policy defines the QoS that each user side should use in different application scene, sets up the binding relationship of user side and QOS identification information;
Accordingly, describedly determine that the QoS that should use comprises according to Fair Usage Policy:
The binding relationship of the user side set up according to described Fair Usage Policy and QoS identification information, determines the QoS identification information that described user side should use in current application scene.
Above, done simple declaration from the angle of PCRF to embodiment of the present invention method, more detailed description please refer to the description in Fig. 1 to Fig. 5 embodiment.
Above, the embodiment of the invention discloses a kind of QoS control method, adopt the technical scheme of being applied for QoS and then acquisition Qos control information by Radius server to PCRF, make in authentication and accounting process, achieve dynamic QoS to obtain and control ability, and, Radius server possesses the protocol adaptation ability of various routine, effectively can identify the QoS information as various network equipments such as PDSN, BRAS, WiMAX Access Service Network Gateway (ASN GW), thus can provide good QoS service.
Please refer to Fig. 7, the embodiment of the present invention provides a kind of Radius server, comprising:
First sending module 701, for applying for QoS to "Policy and Charging Rules Function entity PCRF;
First receiver module 702, for receiving the QOS identification information that described PCRF returns;
Acquisition module 703, for obtaining the QoS control information corresponding with described QoS identification information;
Second sending module 704, for described QoS control information being sent to strategy and charging execution function entity PCEF, so that described PCEF carries out QoS control according to described QoS control information to user side.
Optionally, described first sending module 701, specifically may be used for transmission first credit control request CCR message to PCRF; Described first receiver module 702, specifically may be used for receiving the first Credit Control Answer CCA message that described PCRF returns, and obtaining the described PCRF carried in a described CCA message is the QoS identification information that user side distributes.
Optionally, described Radius server can also comprise: definition module, and for pre-defined Qos information, described Qos information comprises at least two kinds of Qos control informations and the Qos identification information corresponding with often kind of Qos control information; Accordingly, described first sending module 701, also for whole Qos identification information is sent to described PCRF.
Optionally, described acquisition module 703, specifically may be used for the corresponding relation by inquiring about predefined QoS identification information and QoS control information, obtains the QoS control information corresponding with QoS identification information.
Above, done simple declaration to the Radius server that the embodiment of the present invention provides, more detailed description please refer to the description in Fig. 1 to Fig. 5 embodiment.
Above, the embodiment of the invention discloses a kind of Radius server, this Radius server can by applying for QoS and then obtaining Qos control information to PCRF, make in authentication and accounting process, achieve dynamic QoS to obtain and control ability, and, Radius server possesses the protocol adaptation ability of various routine, effectively can identify the QoS information as various network equipments such as PDSN, BRAS, WiMAX Access Service Network Gateway (ASN GW), thus can provide good QoS service.
Please refer to Fig. 8, the embodiment of the present invention provides a kind of "Policy and Charging Rules Function entity (PCRF), and this PCRF comprises:
Receiver module 801, for receiving the message for applying for QoS that Radius server sends;
Determination module 802, for determining the QoS that should use according to Fair Usage Policy;
Sending module 803, the QoS identification information that the QoS determined for just described determination module is corresponding sends to described Radius server, so that described Radius server obtains the QoS control information corresponding with described QoS identification information, and described QoS control information is sent to strategy and charging execution function entity PCEF, according to described QoS control information, QoS is carried out to user side by described PCEF and control.
Optionally, described PCRF can also comprise: arrange module; Then:
Described receiver module, can also be used for obtaining the predefined whole Qos identification information of described Radius server;
Describedly arrange module, for arranging Fair Usage Policy, described Fair Usage Policy defines the QoS that each user side should use in different application scene, sets up the binding relationship of user side and QOS identification information;
Accordingly, described determination module, specifically may be used for the binding relationship of user side and the QoS identification information set up according to described Fair Usage Policy, determines the QoS identification information that described user side should use in current application scene.
Above, done simple declaration to the PCRF server that the embodiment of the present invention provides, more detailed description please refer to the description in Fig. 1 to Fig. 6 embodiment.
Above, the embodiment of the invention discloses a kind of PCRF, this PCRF can provide QoS identification information to Radius server according to the application of Radius server, so that Radius server obtains Qos control information, make in authentication and accounting process, achieve dynamic QoS to obtain and control ability, and, Radius server possesses the protocol adaptation ability of various routine, effectively can identify the QoS information as various network equipments such as PDSN, BRAS, WiMAX Access Service Network Gateway (ASN GW), thus good QoS service is provided.
Please refer to Fig. 9, the embodiment of the present invention provides a kind of Radius server, comprise: input unit 901, output device 902, memory 903 and processor 904, described input unit 901, output device 902, memory 903 can be connected by bus with processor 904, and described processor 904 can perform following steps:
QoS is applied for "Policy and Charging Rules Function entity PCRF; Receive the QoS identification information that described PCRF returns; Obtain the QoS control information corresponding with described QoS identification information; Described QoS control information is sent to strategy and charging execution function entity PCEF, so that described PCEF carries out QoS control according to described QoS control information to user side.
Wherein: to "Policy and Charging Rules Function entity PCRF, described Radius server applies for that QoS can comprise: described Radius server sends the first credit control request CCR message to PCRF; Accordingly, the QOS identification information that the described PCRF of described reception returns can comprise: receive the first Credit Control Answer CCA message that described PCRF returns, and obtaining the described PCRF carried in a described CCA message is the QoS identification information that user side distributes.
Described Radius server can also comprise before "Policy and Charging Rules Function entity PCRF applies for QoS: described Radius server pre-defines Qos information, and described Qos information comprises at least two kinds of Qos control informations and the Qos identification information corresponding with often kind of Qos control information; Whole Qos identification information is sent to described PCRF.Thus the described acquisition QoS control information corresponding with described QoS identification information can comprise: by inquiring about the corresponding relation of predefined QoS identification information and QoS control information, obtain the QoS control information corresponding with described QoS identification information.
Optionally, described processor 904 can also perform following steps: described Radius server sends the 2nd CCR message to charge system, to apply for user's pre-authorization use amount; Receive the 2nd CCA message that described charge system returns, obtain user's pre-authorization use amount of the described charge system distribution of carrying in described 2nd CCA message; Described user's pre-authorization use amount of applying for is sent to described PCEF, so that described PCEF authorizes user side.
Wherein, described Radius server transmission the 2nd CCR message can comprise to charge system: described Radius server receives user's access request that described PCEF sends, and carries out certification to user side; After certification is passed through, send CCR initial message to charge system; Or described Radius server receives user's quota update request that described PCEF sends, and carries out certification to user side; After certification is passed through, send CCR updating message to charge system.
Above, done simple declaration to the Radius server that the embodiment of the present invention provides, more detailed description please refer to the description in Fig. 1 to Fig. 6 embodiment.
Above, the embodiment of the invention discloses a kind of Radius server, this Radius server can by applying for QoS and then obtaining Qos control information to PCRF, make in authentication and accounting process, achieve dynamic QoS to obtain and control ability, and, Radius server possesses the protocol adaptation ability of various routine, effectively can identify the QoS information as various network equipments such as PDSN, BRAS, WiMAX Access Service Network Gateway (ASN GW), thus can provide good QoS service.
Please refer to Figure 10, the embodiment of the present invention provides a kind of "Policy and Charging Rules Function entity (PCRF), this PCRF comprises: input unit 1001, output device 1002, memory 1003 and processor 1004, described input unit 1001, output device 1002, memory 1003 can be connected by bus with processor 1004, and described processor 1004 can perform following steps:
Receive the message for applying for QoS that Radius server sends; The QoS that should use is determined according to Fair Usage Policy, the QoS identification information of correspondence is sent to described Radius server, so that described Radius server obtains the QoS control information corresponding with described QoS identification information, and described QoS control information is sent to strategy and charging execution function entity PCEF, according to described QoS control information, QoS is carried out to user side by described PCEF and control.
Wherein: described PCRF receive that Radius server sends for apply for QoS message before can also perform following steps: obtain the predefined whole Qos identification information of described Radius server; Arrange Fair Usage Policy, described Fair Usage Policy defines the QoS that each user side should use in different application scene, sets up the binding relationship of user side and QOS identification information;
Accordingly, describedly determine that the QoS that should use comprises according to Fair Usage Policy:
The binding relationship of the user side set up according to described Fair Usage Policy and QoS identification information, determines the QoS identification information that described user side should use in current application scene.
Described for applying for that the message of QoS identification information is specifically as follows CCR message; The described QoS identification information by correspondence sends to described Radius server to comprise: described QoS identification information be carried in CCA message and send to described Radius server.
Above, done simple declaration to the PCRF server that the embodiment of the present invention provides, more detailed description please refer to the description in Fig. 1 to Fig. 6 embodiment.
Above, the embodiment of the invention discloses a kind of PCRF, this PCRF can provide QoS identification information to Radius server according to the application of Radius server, so that Radius server obtains Qos control information, make in authentication and accounting process, achieve dynamic QoS to obtain and control ability, and, Radius server possesses the protocol adaptation ability of various routine, effectively can identify the QoS information as various network equipments such as PDSN, BRAS, WiMAX Access Service Network Gateway (ASN GW), thus good QoS service can be provided.
Please refer to Figure 11, the embodiment of the present invention also provides a kind of communication system, and this system comprises: Radius server 1101, PCRF1102, and PCEF1103;
Wherein, described Radius server can be the Radius server described in Fig. 7 embodiment, and described PCRF can be the PCRF described in figure Fig. 8 embodiment; Concrete,
Described Radius server can comprise: the first sending module, for applying for QoS to described PCRF; First receiver module, for receiving the QOS identification information that described PCRF returns; Acquisition module, for obtaining the QoS control information corresponding with described QoS identification information; Second sending module, for sending to described PCEF by described QoS control information;
Described PCRF can comprise: receiver module, for receiving the message for applying for QoS that described Radius server sends; Determination module, for determining the QoS that should use according to Fair Usage Policy; Sending module, the QoS identification information that the QoS determined for just described determination module is corresponding sends to described Radius server;
Described PCEF, for receiving the QoS control information that described Radius server sends, carries out QoS control according to described QoS control information to user side.
Optionally, described Radius server can also comprise: definition module; Described PCRF can also comprise: arrange module;
Describedly arrange module, for pre-defined Qos information, described Qos information comprises at least two kinds of Qos control informations and the Qos identification information corresponding with often kind of Qos control information; Accordingly, described first sending module, also for whole Qos identification information is sent to described PCRF;
Described receiver module, also for obtaining the predefined whole Qos identification information of described Radius server; Describedly arrange module, for arranging Fair Usage Policy, described Fair Usage Policy defines the QoS that each user side should use in different application scene, sets up the binding relationship of user side and QOS identification information; Accordingly, described determination module, specifically for the binding relationship of the user side set up according to described Fair Usage Policy and QoS identification information, determines the QoS identification information that described user side should use in current application scene.
Or in other execution mode, described Radius server can be the Radius server described in Fig. 9 embodiment, and described PCRF can be the PCRF described in Figure 10 embodiment.
Above, the embodiment of the invention discloses a kind of communication system, PCRF in this system can provide QoS identification information to Radius server according to the application of Radius server, so that Radius server obtains Qos control information, make in authentication and accounting process, achieve dynamic QoS to obtain and control ability, and, Radius server possesses the protocol adaptation ability of various routine, effectively can identify the QoS information as various network equipments such as PDSN, BRAS, WiMAX Access Service Network Gateway (ASN GW), thus good QoS service can be provided.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can have been come by hardware, also can have been come by the hardware that program command is relevant, this program can be stored in a computer-readable recording medium, and storage medium can comprise: read-only memory, random-access memory, disk or CD etc.
Above to the QoS control method that the embodiment of the present invention provides, Radius server, PCRF and communication system are described in detail, but the explanation of above embodiment just understands method of the present invention and core concept thereof for helping, and should not be construed as limitation of the present invention.Those skilled in the art are in the technical scope that the present invention discloses, and the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.