Summary of the invention
The embodiment of the present invention provides a kind of strategy and charging control rule delivery method and equipment, issues the defect that other users caused can not change policy control in real time, raising policy control effect to avoid carrying out PCC rule in units of user.
First aspect, the embodiment of the present invention provides a kind of strategy and charging control rule delivery method, comprising:
Convergence Billing System OCS receives the first credit control request information that "Policy and Charging Rules Function PCRF entity sends, and wherein, carries user ID in described first credit control request information;
Described OCS sends first according to described user ID to described PCRF entity and controls credit response message, wherein, described first controls to carry the first strategy and charging control rule PCC rule in credit response message, a described PCC rule comprises group mark, and described group of mark is in order to indicate the group belonging to the user indicated by described user ID;
Described OCS receives the second credit control request information that general packet radio service technical support node GGSN sends;
If according to described second credit control request information, described OCS judges to know that meeting preset strategy changes condition, then obtain the 2nd PCC rule, wherein, described 2nd PCC rule comprises described group of mark;
The 3rd credit control request information carrying described 2nd PCC rule that described OCS sends to described PCRF entity, carries out charging control according to described 2nd PCC rule to the online user belonging to described group to make described PCRF entity.
In the implementation that the first is possible, in described second credit control request information, carry use traffic information;
Correspondingly, if according to described second credit control request information, described OCS judges to know that meeting preset strategy changes condition, then obtain the 2nd PCC rule, be specially:
If according to described use traffic information, described OCS judges to know that meeting preset strategy changes condition, then obtain the 2nd PCC rule.
In the implementation that the second is possible, described user ID is mobile subscriber's international number.
In conjunction with the implementation that first or the second of first aspect or first aspect are possible, in the implementation that the third is possible, described OCS according to described user ID to described PCRF entity send first control credit response message after, before described OCS receives the second credit control request information of general packet radio service technical support node GGSN transmission, described method also comprises:
Described OCS receives the 4th credit control request information that described GGSN sends, and wherein, carries requested service amount information in described 4th credit control request information;
Described OCS sends second to described GGSN and controls credit response message.
Second aspect, the embodiment of the present invention provides a kind of strategy and charging control rule delivery method, comprising:
"Policy and Charging Rules Function PCRF entity sends the first credit control request information to Convergence Billing System OCS, wherein, carries user ID in described first credit control request information;
Described PCRF entity receives the first control credit response message that described OCS sends according to described user ID, wherein, described first controls to carry the first strategy and charging control rule PCC rule in credit response message, a described PCC rule comprises group mark, and described group of mark is in order to indicate the group belonging to the user indicated by described user ID;
Described PCRF entity carries out charging control according to a described PCC rule to the user indicated by described user ID;
Described PCRF entity receives the 3rd credit control request information carrying the 2nd PCC rule that described OCS sends, and wherein, described 2nd PCC rule comprises described group of mark;
Described PCRF entity carries out charging control according to described 2nd PCC rule to the online user belonging to described group.
In the implementation that the first is possible, described user ID is mobile subscriber's international number.
The third aspect, the embodiment of the present invention provides a kind of Convergence Billing System, comprising:
Receiving element, for receiving the first credit control request information that "Policy and Charging Rules Function PCRF entity sends, wherein, carries user ID in described first credit control request information;
Transmitting element, credit response message is controlled for sending first according to described user ID to described PCRF entity, wherein, described first controls to carry the first strategy and charging control rule PCC rule in credit response message, a described PCC rule comprises group mark, and described group of mark is in order to indicate the group belonging to the user indicated by described user ID;
Described receiving element, also for receiving the second credit control request information that general packet radio service technical support node GGSN sends;
Processing unit, if for judging to know that meeting preset strategy changes condition according to described second credit control request information, then obtain the 2nd PCC rule, wherein, described 2nd PCC rule comprises described group of mark;
Described transmitting element, the 3rd credit control request information carrying described 2nd PCC rule also for sending to described PCRF entity, carries out charging control according to described 2nd PCC rule to the online user belonging to described group to make described PCRF entity.
In the implementation that the first is possible, described processing unit specifically for, if judge to know that meeting preset strategy changes condition according to described use traffic information, then obtain the 2nd PCC rule.
In the implementation that the second is possible, described user ID is mobile subscriber's international number.
In conjunction with the implementation that first or the second of the third aspect or the third aspect are possible, in the implementation that the third is possible, described receiving element, also for receiving the 4th credit control request information that described GGSN sends, wherein, requested service amount information is carried in described 4th credit control request information;
Described transmitting element, also controls credit response message for sending second to described GGSN.
Fourth aspect, the embodiment of the present invention provides a kind of "Policy and Charging Rules Function entity, comprising:
Transmitting element, for sending the first credit control request information to Convergence Billing System OCS, wherein, carries user ID in described first credit control request information;
Receiving element, for receiving the first control credit response message that described OCS sends according to described user ID, wherein, described first controls to carry the first strategy and charging control rule PCC rule in credit response message, a described PCC rule comprises group mark, and described group of mark is in order to indicate the group belonging to the user indicated by described user ID;
Processing unit, for carrying out charging control according to a described PCC rule to the user indicated by described user ID;
Described receiving element, also for receiving the 3rd credit control request information carrying the 2nd PCC rule that described OCS sends, wherein, described 2nd PCC rule comprises described group of mark;
Described processing unit, also for carrying out charging control according to described 2nd PCC rule to the online user belonging to described group.
In the implementation that the first is possible, described user ID is mobile subscriber's international number.
As shown from the above technical solution, the strategy that the embodiment of the present invention provides and charging control rule delivery method and equipment, due to when user's initial access network, OCS notifies the group at this user place of PCRF entity, and when meeting preset strategy and changing condition, group mark is comprised at new PCC rule, in units of group, charging control can be carried out to online user to make PCRF entity, avoid and in units of user, carry out PCC rule issue the defect that other users caused can not change policy control in real time, improve policy control effect.
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 one strategy that Fig. 1 provides for the embodiment of the present invention and charging control rule delivery method flow chart.As shown in Figure 1, the strategy that the present embodiment provides and charging control rule (Policy and Charging Control rule, being called for short PCC rule) the delivery method PCC rule that specifically can be applied to OCS and PCRF in communication system issues handling process, other network elements such as gateway general packet radio service technical support node (Gateway GPRS Support Node, GGSN) can also be provided with in this communication system.
The strategy that the present embodiment provides and charging control rule delivery method, specifically comprise:
Steps A 10, Convergence Billing System OCS receive the first credit control request information that "Policy and Charging Rules Function PCRF entity sends, and wherein, carry user ID in described first credit control request information;
Steps A 20, described OCS send first according to described user ID to described PCRF entity and control credit response message, wherein, described first controls to carry the first strategy and charging control rule PCC rule in credit response message, a described PCC rule comprises group mark, and described group of mark is in order to indicate the group belonging to the user indicated by described user ID;
Steps A 30, described OCS receive the second credit control request information that described general packet radio service technical support node GGSN sends;
If according to described second credit control request information, steps A 40, described OCS judge to know that meeting preset strategy changes condition, then obtain the 2nd PCC rule, wherein, described 2nd PCC rule comprises described group of mark;
The 3rd credit control request information carrying described 2nd PCC rule that steps A 50, described OCS send to described PCRF entity, carries out charging control according to described 2nd PCC rule to the online user belonging to described group to make described PCRF entity.
Particularly, a group or one family network can as groups, and each group has unique group mark, and the user in this group or home network is as the member of this group, and each user has a user ID.This user ID can be such as mobile subscriber's international number (Mobile Subscriber International ISDN is called for short MSISDN).A user can have one or more UE.When user ID is MSISDN, its application can show as user use be provided with SIM(Subscriber Identity Module, subscriber identification module) UE that blocks online, this SIM card is corresponding with this MSISDN.When handling data service set meal in units of a group or home network, operator is that this group or home network distribute unique group identity, and set up the corresponding relation of this group mark and the user ID of all users in group or home network, and this corresponding relation is stored in advance in OCS.The PCC rule of this group or home network is also stored in OCS.
As a subscriber equipment (User Equipment, be called for short UE) when needing access network, UE sends user to GGSN and to reach the standard grade request message, this user request message of reaching the standard grade is specifically as follows block data protocol context request to create (PDP context create request) message, and GGSN sends block data protocol context to UE and creates response (PDP context create response) message.GGSN sends initial authentication request message to PCRF entity, this initial authentication request message is the first credit control request (Credit Control Request-Initial, be called for short CCR-I) message, carry user ID in this first credit control request information.PCRF entity sends this first credit control request information to OCS, OCS determines according to the user ID of carrying in this first credit control request information the group mark that this user ID is corresponding, and obtaining a PCC rule of this group, a PCC rule comprises group mark.One PCC rule is carried in initial authentication response message and sends to PCRF entity by OCS, knows group belonging to the user of access network to make PCRF entity.This initial authentication response message can be the first diameter credit control response (Credit Control Answer-Initial is called for short CCA-I) message.
After PCRF entity receives this first diameter credit control response message, charging control is carried out according to a PCC rule, this process is specifically as follows, PCRF entity obtains charging regulation (Charging Rule) according to a PCC rule, and this charging regulation is sent to GGSN by diameter credit control response (CCA-I).Such as, the data service set meal that certain group handles is flow 50GB, bandwidth 2Mbps, and this user belongs to this group, then the charging regulation that obtains according to a PCC rule of PCRF entity, and this charging regulation is, for this user provides the network service of 2Mbps bandwidth.
Next, GGSN can send traffic carrying capacity request message for this user's requested service amount to OCS, traffic carrying capacity request message can be CCR-I message, requested service amount (Request Service-Specific-Unit is carried in this CCR-I message, be called for short RSU) information, in order to the traffic carrying capacity of instruction request.OCS authorizes traffic carrying capacity, send traffic carrying capacity authorization messages to GGSN, this traffic carrying capacity authorization messages can be CCA-I message, carries and authorize traffic carrying capacity (Grant Service-Specific-Unit in this CCA-I message, be called for short GSU) information, GGSN provides services on the Internet for this user.After the traffic carrying capacity of request uses by user, GGSN can report by traffic carrying capacity request message the traffic carrying capacity used again to OCS, and the traffic carrying capacity that please look for novelty, this traffic carrying capacity request message can be the second credit control request (Credit Control Request-Update, be called for short CCR-U) message, can carry in this CCR-U message and use traffic carrying capacity (Used Service-Specific-Unit, be called for short USU) information and RSU information, this USU information is in order to indicate the traffic carrying capacity used.OCS authorizes traffic carrying capacity, sends traffic carrying capacity authorization messages to GGSN, and this traffic carrying capacity authorization messages can respond for diameter credit control (Credit Control Answer-Update is called for short CCA-U message), carries GSU information in this CCA-U message.
According to the second credit control request information that GGSN sends, OCS judges whether that meeting preset strategy changes condition, such as, in a kind of application scenarios, the data service set meal that certain group handles is flow 50GB, bandwidth 2Mbps, when the integrated flow of all users of this group is more than 50GB, be adjusted to 512Kbps by under bandwidth.The traffic carrying capacity used of this user reported as GGSN causes the integrated flow of this group more than 50GB, then meet preset strategy and change condition.In another kind of application scenarios, certain group changes data service set meal, then corresponding PCC rule also can change.OCS can trigger issuing of new PCC rule when receiving this second credit control request information, namely meets preset strategy and changes condition.OCS obtains the 2nd PCC rule of this group's place group, the 3rd credit control request information is sent to PCRF entity, 3rd credit control request information can be CCR-U message, carries the 2nd PCC rule in the 3rd credit control request information, and the 2nd PCC rule comprises group mark.PCRF entity just can carry out charging control according to the 2nd PCC rule to the online user belonging to the indicated group of group mark, this process is specifically as follows, PCRF entity obtains charging regulation according to the 2nd PCC rule, this charging regulation is sent to GGSN by CCR-U message, such as this charging regulation is, the online user for this group provides the network service of 512Kbps bandwidth.
The strategy that the present embodiment provides and charging control rule delivery method, OCS receives the first credit control request information that PCRF entity sends, wherein, user ID is carried in first credit control request information, send first according to user ID to PCRF entity and control credit response message, wherein, first controls to carry a PCC rule in credit response message, one PCC rule comprises group mark, group mark is in order to the group belonging to the user indicated by indicating user mark, receive the second credit control request information that GGSN sends, wherein, use traffic information is carried in second credit control request information, if judge to know that meeting preset strategy changes condition according to use traffic information, then obtain the 2nd PCC rule, wherein, 2nd PCC rule comprises group mark, to the 3rd credit control request information carrying the 2nd PCC rule that PCRF entity sends, according to the 2nd PCC rule, charging control is carried out to the online user belonging to group to make PCRF entity.Due to when user's initial access network, OCS notifies the group at this user place of PCRF entity, and when meeting preset strategy and changing condition, group mark is comprised at new PCC rule, in units of group, charging control can be carried out to online user to make PCRF entity, avoid and in units of user, carry out PCC rule issue the defect that other users caused can not change policy control in real time, improve policy control effect.
In the present embodiment, use traffic information is carried in described second credit control request information.Correspondingly, if according to described second credit control request information, OCS described in steps A 40 judges to know that meeting preset strategy changes condition, then obtain the 2nd PCC rule, be specifically as follows:
If according to described use traffic information, described OCS judges to know that meeting preset strategy changes condition, then obtain the 2nd PCC rule.
In the present embodiment, described user ID is mobile subscriber's international number.
The another kind strategy that Fig. 2 provides for the embodiment of the present invention and charging control rule delivery method flow chart.As shown in Figure 2, further, the present embodiment is on basis embodiment illustrated in fig. 1, in steps A 20, described OCS according to described user ID to described PCRF entity send first control credit response message after, steps A 30, before described OCS receives the second credit control request information of described general packet radio service technical support node GGSN transmission, described method also comprises the steps:
Steps A 60, described OCS receive the 4th credit control request information that described GGSN sends, and wherein, carry requested service amount information in described 4th credit control request information;
Steps A 70, described OCS send second to described GGSN and control credit response message.
Particularly, the 4th credit control request information is specifically as follows CCR-I message, and second controls credit response message is specifically as follows CCA-I message.
The another kind strategy that Fig. 3 provides for the embodiment of the present invention and charging control rule delivery method flow chart.As shown in Figure 3, the strategy that the present embodiment provides and charging control rule delivery method specifically can coordinate with the method being applied to OCS and realize, and specific implementation process, does not repeat them here.
The strategy that the present embodiment provides and charging control rule delivery method, specifically comprise:
Step B10, "Policy and Charging Rules Function PCRF entity send the first credit control request information to Convergence Billing System OCS, wherein, carry user ID in described first credit control request information;
Step B20, described PCRF entity receive the first control credit response message that described OCS sends according to described user ID, wherein, described first controls to carry the first strategy and charging control rule PCC rule in credit response message, a described PCC rule comprises group mark, and described group of mark is in order to indicate the group belonging to the user indicated by described user ID;
Step B30, described PCRF entity carry out charging control according to a described PCC rule to the user indicated by described user ID;
Step B40, described PCRF entity receive the 3rd credit control request information carrying the 2nd PCC rule that described OCS sends, and wherein, described 2nd PCC rule comprises described group of mark;
Step B50, described PCRF entity carry out charging control according to described 2nd PCC rule to the online user belonging to described group.
The strategy that the present embodiment provides and charging control rule delivery method, due to when user's initial access network, OCS notifies the group at this user place of PCRF entity, and when meeting preset strategy and changing condition, group mark is comprised at new PCC rule, to make PCRF entity can carry out charging control to online user in units of group, avoid and in units of user, carry out PCC rule issue the defect that other users caused can not change policy control in real time, improve policy control effect.
In the present embodiment, described user ID is mobile subscriber's international number.
A kind of Convergence Billing System structural representation that Fig. 4 provides for the embodiment of the present invention.As shown in Figure 4, the Convergence Billing System that the present embodiment provides specifically can realize being applied to the strategy of Convergence Billing System and each step of charging control rule delivery method, and specific implementation process, does not repeat them here.
The Convergence Billing System that the present embodiment provides comprises receiving element 11, transmitting element 12 and processing unit 13.The first credit control request information that described receiving element 11 sends for receiving "Policy and Charging Rules Function PCRF entity, wherein, carries user ID in described first credit control request information.Described transmitting element 12 controls credit response message for sending first according to described user ID to described PCRF entity, wherein, described first controls to carry the first strategy and charging control rule PCC rule in credit response message, a described PCC rule comprises group mark, and described group of mark is in order to indicate the group belonging to the user indicated by described user ID.Described receiving element 11 is also for receiving the second credit control request information that general packet radio service technical support node GGSN sends.If described processing unit 13 is for judging to know that meeting preset strategy changes condition according to described second credit control request information, then obtain the 2nd PCC rule, wherein, described 2nd PCC rule comprises described group of mark.Three credit control request information that carry described two PCC rule of described transmitting element 12 also for sending to described PCRF entity, carries out charging control according to described 2nd PCC rule to the online user belonging to described group to make described PCRF entity.
The OCS that the present embodiment provides, due to when user's initial access network, OCS notifies the group at this user place of PCRF entity, and when meeting preset strategy and changing condition, group mark is comprised at new PCC rule, to make PCRF entity can carry out charging control to online user in units of group, avoid and in units of user, carry out PCC rule issue the defect that other users caused can not change policy control in real time, improve policy control effect.
In the present embodiment, if described processing unit 13 specifically may be used for judging to know that meeting preset strategy changes condition according to described use traffic information, then the 2nd PCC rule is obtained.
In the present embodiment, described user ID is mobile subscriber's international number.
In the present embodiment, described receiving element 11 can also be used for the 4th credit control request information receiving described GGSN transmission, wherein, carries requested service amount information in described 4th credit control request information.Described transmitting element 12 also controls credit response message for sending second to described GGSN.
A kind of "Policy and Charging Rules Function entity structure schematic diagram that Fig. 5 provides for the embodiment of the present invention.As shown in Figure 5, the "Policy and Charging Rules Function entity that the present embodiment provides specifically can realize each step of the strategy being applied to "Policy and Charging Rules Function entity that any embodiment of the present invention provides and charging control rule delivery method, specific implementation process, does not repeat them here.
The "Policy and Charging Rules Function entity that the present embodiment provides specifically comprises transmitting element 21, receiving element 22 and processing unit 23.Described transmitting element 21, for sending the first credit control request information to Convergence Billing System OCS, wherein, carries user ID in described first credit control request information.The first control credit response message that described receiving element 22 sends according to described user ID for receiving described OCS, wherein, described first controls to carry the first strategy and charging control rule PCC rule in credit response message, a described PCC rule comprises group mark, and described group of mark is in order to indicate the group belonging to the user indicated by described user ID.Described processing unit 23 is for carrying out charging control according to a described PCC rule to the user indicated by described user ID.Described receiving element 22 is also for receiving the 3rd credit control request information carrying the 2nd PCC rule that described OCS sends, and wherein, described 2nd PCC rule comprises described group of mark.Described processing unit 23 is also for carrying out charging control according to described 2nd PCC rule to the online user belonging to described group.
The PCRF entity that the present embodiment provides, due to when user's initial access network, OCS notifies the group at this user place of PCRF entity, and when meeting preset strategy and changing condition, group mark is comprised at new PCC rule, to make PCRF entity can carry out charging control to online user in units of group, avoid and in units of user, carry out PCC rule issue the defect that other users caused can not change policy control in real time, improve policy control effect.
In the present embodiment, described user ID is mobile subscriber's international number.
The another kind of Convergence Billing System structural representation that Fig. 6 provides for the embodiment of the present invention.As shown in Figure 6, the Convergence Billing System that the present embodiment provides specifically can realize being applied to the strategy of Convergence Billing System and each step of charging control rule delivery method, and specific implementation process, does not repeat them here.
The Convergence Billing System that the present embodiment provides comprises receiver 31, transmitter 32 and processor 33.The first credit control request information that described receiver 31 sends for receiving "Policy and Charging Rules Function PCRF entity, wherein, carries user ID in described first credit control request information.Described transmitter 32 controls credit response message for sending first according to described user ID to described PCRF entity, wherein, described first controls to carry the first strategy and charging control rule PCC rule in credit response message, a described PCC rule comprises group mark, and described group of mark is in order to indicate the group belonging to the user indicated by described user ID.Described receiver 31 is also for receiving the second credit control request information that general packet radio service technical support node GGSN sends.If described processor 33 is for judging to know that meeting preset strategy changes condition according to described second credit control request information, then obtain the 2nd PCC rule, wherein, described 2nd PCC rule comprises described group of mark.Three credit control request information that carry described two PCC rule of described transmitter 32 also for sending to described PCRF entity, carries out charging control according to described 2nd PCC rule to the online user belonging to described group to make described PCRF entity.
The another kind of "Policy and Charging Rules Function entity structure schematic diagram that Fig. 7 provides for the embodiment of the present invention.As shown in Figure 7, the "Policy and Charging Rules Function entity that the present embodiment provides specifically can realize each step of the strategy being applied to "Policy and Charging Rules Function entity that any embodiment of the present invention provides and charging control rule delivery method, specific implementation process, does not repeat them here.
The "Policy and Charging Rules Function entity that the present embodiment provides specifically comprises transmitter 41, receiver 42 and processor 43.Described transmitter 41, for sending the first credit control request information to Convergence Billing System OCS, wherein, carries user ID in described first credit control request information.The first control credit response message that described receiver 42 sends according to described user ID for receiving described OCS, wherein, described first controls to carry the first strategy and charging control rule PCC rule in credit response message, a described PCC rule comprises group mark, and described group of mark is in order to indicate the group belonging to the user indicated by described user ID.Described processor 43 is for carrying out charging control according to a described PCC rule to the user indicated by described user ID.Receiver 42 described in general packet radio service technical support node GGSN transmitter 41 is also for receiving the 3rd credit control request information carrying the 2nd PCC rule that described OCS sends, and wherein, described 2nd PCC rule comprises described group of mark.Described processor 43 is also for carrying out charging control according to described 2nd PCC rule to the online user belonging to described group.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.