Background technology
Development along with wireless communication system, at third generation partner program stage 7 (3GPP Release7,3rd Generation Partnership Project Release7) in the standards system, strategy and billing function are realized by the strategy and control (PCC, the Policy and Charging Control) framework that charges.The PCC framework is a functional framework that can be applied to multiple access technology, for example, the PCC framework can be applied to universal mobile telecommunications system (UMTS, Universal Mobile Telecommunications System) land radio access web (UTRAN, UMTS Terrestrial Radio Access Network), global system for mobile communications (GSM, Global system for Mobile Communication)/GSM data strengthen evolution (EDGE) wireless access network and intercommunicated wireless local area network (I-WLAN) or the like.
At present, the PCC framework is mainly realized two big functions: policy control functions and billing function, Fig. 1 is that the integral body of PCC framework in the 3GPP stage 8 (Release 8) is formed structural representation, below with reference to shown in Figure 1 each logical functional entity and interface function thereof in the PCC framework is described.
As shown in Figure 1, PCC framework among the 3GPP Release 8 comprises Application Function (AF, Application Function), policy control and charging regulation function entity (PCRF, Policy andCharging Rules Function), strategy and charging execution function entity (PCEF, Policy and ChargingEnforcement Function)/gateway (GW, Gate-Way), user-subscribed database (SPR, Subscription Profile Repository), bearing binding and event reporting function entity (BBERF, BearerBinding and Event Reporting Function), Online Charging System (OCS, Online ChargingSystem) and off-line accounting system (OFCS, Offline Charging System); Wherein,
AF provides the access point of service application, and the employed Internet resources of each service application need carry out dynamic policy control.When service surface was carried out parameter negotiation, AF passed to PCRF with related service information, if related service information and PCRF's is tactful consistent, then PCRF accepts current negotiation; Otherwise, the negotiation that the PCRF refusal is current, and in feedback, provide the acceptable service parameter of PCRF simultaneously.Afterwards, AF can return to these parameters subscriber equipment (UE, User Equipment).Wherein, connect and interactive information by Rx interface between AF and the PCRF.
PCRF is the core of PCC framework, is responsible for the formulation of strategic decision-making and charging regulation; PCRF provides the network control rule based on business data flow, described network control comprises detection, gate (Gating Control), service quality (QoS, the Quality of Service) control of business data flow and at least based on the charging regulation of data flow etc.; PCRF sends to the PCEF execution with the strategy and the charging regulation of its formulation, and simultaneously, PCRF needs also to guarantee that the rule of being formulated is consistent with user signing contract information.Usually, PCRF generates strategy and comprises with the foundation of charging regulation: obtain and professional relevant information from AF; Obtain and subscriber policy and billing control and subscription information from SPR; Obtain and carry the relevant network information from PCEF.
PCEF, be usually located on the GW of network, as: GGSN (GGSN) in the GPRS (GPRS) and the packet data gateway among the I-WLAN (PDG, Packet DataGateway), carry out strategy and the charging regulation that PCRF formulated at loading end; PCEF detects business data flow according to the business datum flow filter in the rule that PCRF sent, and then these business data flows are carried out strategy and the charging regulation that PCRF formulated.When carrying was set up, the rule that PCEF sends according to PCRF was carried out the QoS mandate, and carried out gate control according to the execution of AF; According to the charging regulation that PCRF sends, PCEF carries out corresponding business data flow billing operation, and chargeing both can be online charging, also can be offline charging.If online charging, then PCEF need carry out credit management with OCS; If offline charging, exchange correlation charge information between PCEF needs and the OFCS.Adopt the Gx interface between PCEF and the PCRF, adopt the Gy interface between PCEF and the OCS, adopt the Gz interface between PCEF and the OFCS.
SPR stores policy control and relevant subscriber policy and the billing control and subscription information of chargeing; Adopt the Sp interface between SPR and the PCRF.
OCS carries out the control and the management of user credit under the online charging mode with PCEF.
OFCS finishes billing operation under the offline charging mode with PCEF.
PCRF issues IP by the Gxx interface to BBERF and connects the relevant QoS rule of Access Network (IP-CAN) session, issues the relevant PCC rule of IP-CAN session by the Gx interface to PCEF.The BBERF function comprises the checking and the event report of bearing binding, up bearing binding, BBERF is present in the gateway usually, as: evolved packet system (EPS, Evolved Packet System) gateway (SGW in, Serving Gateway), the packet data gateway of evolution (ePDG, Evolved Packet Data Gateway) and be used to non-3 GPP access network pass of inserting the EPS system etc.When the user inserts EPC by non-3GPP or E-UTRAN inserts EPC, and when adopting the PMIP agreement between SGW and the packet gateway (PGW), the PCC framework needs the BBERF functional entity.
Based on PCC framework shown in Figure 1, the implementation procedure of the IP-CAN session modification flow process that PCRF initiates as shown in Figure 2, flow process by Fig. 2, when PCRF receives service request, PCRF is according to the user signing contract information that obtains from SPR at the IP-CAN establishment stage, authorize and strategic decision-making at this user, and this decision information is handed down to PCEF, carry out by PCEF.Referring to shown in Figure 2, the IP-CAN session modification flow process that PCRF initiates may further comprise the steps:
Step 201~202:PCRF carries out the mandate of PCC rule and formulates the PCC strategic decision-making at current customer service, and afterwards, the PCEF of PCRF in GW issues the strategic decision-making content of formulation;
Here, if the PCC of customer service rule authorization failure, as: not signatory related service, PCC detect back this business of refusal etc. in SPR, and PCRF can send the message of request authorization failure and process ends to GW;
Step 203~204, PCEF carry out the GW strategic decision-making after receiving the strategic decision-making that PCRF sends; After the implementation strategy decision-making, PCEF returns response message to PCRF.
Before PCRF formulated the PCC strategic decision-making, this flow process can comprise further that step 200:AF sends the customer service request to PCRF; PCRF returns the customer service response to AF.
According to above-mentioned flow process as can be seen, there are the following problems at least for the IP-CAN session modification flow process that existing PCRF initiates: 1) common, during at the rule of the professional PCC in IP-CAN session modification flow process authorization failure, be included in not signatory related service among the SPR, or PCC detects situations such as back this business of refusal, PCRF just sends the message of request authorization failure simply to GW, so, can cause user's session to be refused simply, carry out display alarm by the mode that is redirected to the user thereby can't be rejected situation, more can't make GW that user's session redirection is arrived other servers business.
2) successfully set up at session after, if for a certain reason, for example user's consumption of contracting arrives situations such as signatory value, local timing information triggering, need carry out redirect operation to user conversation, that is: the session redirection with the user arrives other servers, user's subsequent operation is waited as continuing to pay dues when carrying out display reminding realizing, also nobody proposes the redirected implementation of being correlated with at present.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of reorientation method and device based on the strategy and the control of chargeing, and can realize being redirected user conversation.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of reorientation method, comprising: the corresponding relation that redirection list and indication information are set based on the strategy and the control of chargeing; This method also comprises:
PCRF detects in the time of need being redirected user conversation, sends the indication information of Redirect Server correspondence to GW/PCEF;
After GW/PCEF receives described indication information, determine the address of Redirect Server according to the redirection list of this locality, and the user conversation that will be redirected is redirected to described address corresponding server.
Wherein, described redirection list is arranged at GW/PCEF, and described redirection list stores the address of Redirect Server and the corresponding relation of indication information.
In the such scheme, described need the situation that user conversation is redirected being comprised: PCC rule authorization failure, satisfied default trigger condition.
In the such scheme, described PCRF to the indication information that GW/PCEF sends the Redirect Server correspondence is: described indication information is carried on to send in the re-authentication authorization request message or described indication information is carried in the Credit Control Answer message sends.
The present invention also provides a kind of redirection device based on the strategy and the control of chargeing, and comprises unit, transmitting element, reception and redirected unit are set; Wherein,
The unit is set, is used to be provided with the corresponding relation of redirection list and indication information;
Transmitting element is used for detecting need be redirected user conversation the time at PCRF, sends the indication information of Redirect Server correspondence to GW/PCEF;
Receive and redirected unit, after being used for GW/PCEF and receiving described indication information, determine the address of Redirect Server according to the redirection list of this locality, and the user conversation that will be redirected is redirected to described address corresponding server.
Provided by the present invention based on reorientation method and the device of strategy with the control of chargeing, the corresponding relation of redirection list and indication information is set; When PCRF detects need be redirected user conversation the time, PCRF sends the indication information of Redirect Server correspondence to GW/PCEF, GW/PCEF receives the address of determining Redirect Server behind the indication information according to the redirection list of this locality, and the user conversation that will be redirected is redirected.So, can be when PCC rule authorization failure or session be successfully set up the back but are needed for a certain reason session is redirected, can support PCRF to finish redirected to user conversation.
Embodiment
Basic thought of the present invention is: the corresponding relation that redirection list and indication information are set, when PCRF detects need be redirected user conversation the time, PCRF sends the indication information of Redirect Server correspondence to GW/PCEF, after GW/PCEF receives indication information, determine the address of Redirect Server according to the redirection list of this locality, and the user conversation that will be redirected is redirected to determined address corresponding server.
Here, described redirection list is generally positioned on the GW/PCEF, store the address of the Redirect Server that can be used for being redirected and the corresponding relation of indication information in the redirection list, that is to say, can for each server an indication information be set in advance, this indication information is used for server of unique identification, and sets up the corresponding relation between indication information and the redirection list.Wherein, described indication information can be the index value in the redirection list or generate or directly set according to index value; For the indication information of each server setting can be that GW and PCRF make an appointment or consult, GW, PCRF all can discern respective server according to indication information, or provide corresponding indication information according to server.
Among the present invention, user conversation refers to IP-CAN sessions of users, and described PCRF detects and need be redirected IP-CAN sessions of users, i.e. the triggering reason of Chong Dingxianging mainly comprises two kinds of situations:
A kind ofly be, when the rule of the professional PCC in IP-CAN session modification flow process authorization failure, be included in situation such as signatory related service or PCC detection back this business of refusal among the SPR, PCRF will issue the indication information of Redirect Server correspondence to PCEF, to realize being redirected user conversation;
Another kind is, after session is successfully set up, for a certain reason, the consumption of contracting as the user arrives situations such as signatory threshold value or local timing information triggering, need carry out display reminding as continuing to pay dues etc. to user's subsequent operation, in the time of need being redirected the user, PCRF will issue the indication information of Redirect Server correspondence to PCEF, to realize being redirected user conversation.
The present invention is based on the tactful reorientation method of controlling with charging as shown in Figure 3, may further comprise the steps:
Step 300: the corresponding relation between redirection list and the indication information is set;
Here, redirection list is arranged on the GW/PCEF; Corresponding indication information can generate by the index value according to redirection list on PCRF, and wherein, indication information can directly adopt index value, as use 1,2,3...... represents; Perhaps, indication information generates according to index value, is 1 as index value, and corresponding indication information is a, and index value is 2, and corresponding indication information is b or the like; Certainly, indication information also can directly be set, as: the indication information that server 1 directly is set is a, and the indication information that server 2 directly is set is b or the like.
Step 301:PCRF detects need be to user's session redirection the time, and PCRF sends the indication information of Redirect Server correspondence to GW/PCEF;
Here, described PCRF transmission indication information is: PCRF sends the message of the indication information that carries the Redirect Server correspondence to GW/PCEF.
After step 302:GW/PCEF receives this indication information, determine the address of Redirect Server according to the redirection list of the indication information of receiving and self storage, and the user conversation that will be redirected is redirected to determined address corresponding server.
For instance, suppose that the server that PCRF will be redirected to user conversation is a server 3, the indication information of server 3 correspondences is c, and server 3 corresponding server addresses are 100.0.0.10; So, PCRF sends the message that carries indication information c to GW/PCEF, after GW/PCEF receives, according to the corresponding relation between indication information c that stores in the redirection list and the server address 100.0.0.10, the server address of determining Redirect Server is 100.0.0.10, then with active user's session redirection on the 100.0.0.10 corresponding server.
Below in conjunction with drawings and Examples the concrete processing procedure that the present invention is based on the strategy and the reorientation method of the control of chargeing is further described.
Embodiment one:
In the present embodiment, redirection list is arranged on the PCEF among the GW, the triggering reason that is redirected is: PCC rule authorization failure and the PCRF based on business information that causes triggers is redirected, concrete, since active user's service profile not in the user signing contract information that obtains or the local policy of PCRF decision-making use for having no right, make the regular authorization failure of PCC.
The reorientation method of controlling based on strategy and charging in the present embodiment may further comprise the steps as shown in Figure 4:
Step 400: the corresponding relation between redirection list and the indication information is set;
Here, redirection list is arranged on the PCEF; And this step is finished when system start-up usually.
Step 401:AF sends user business request information to PCRF, and PCRF stores user service information, and returns the customer service response message to AF;
In the practical application, this step is optionally, and AF can not initiate the customer service request to PCRF.
Step 402: when PCRF detect from the user signing contract information that SPR obtains this service profile not or should business according to the local policy decision-making of PCRF when having no right to use, PCRF will be redirected this user conversation;
Step 403:PCRF sends re-authentication authorization request message Diameter RAR (Re-Auth-Request) to PCEF, carries the indication information of Redirect Server correspondence in the message;
After step 404:PCEF receives indication information,, obtain the address of Redirect Server, then user conversation is redirected to the server that resulting address is pointed to according to the redirection list of the indication information of receiving and self storage;
Step 405:PCEF sends re-authentication authorization response message Diameter RAA (Re-Auth-Answer) to PCRF and confirms.
When present embodiment has solved in the prior art PCC rule authorization failure, the problem that can't be redirected user conversation.
Embodiment two:
In the present embodiment, redirection list is arranged on the PCEF among the GW, and the triggering reason that is redirected is: PCR-based F local policy and triggering satisfies certain preset trigger condition that is:.
The reorientation method of controlling based on strategy and charging in the present embodiment may further comprise the steps as shown in Figure 5:
Step 500: the corresponding relation between redirection list and the indication information is set;
Here, redirection list is arranged on the PCEF; And this step is finished when system start-up usually.
Step 501: successfully set up User IP-CAN session between user and the AF based on service request;
Step 502:PCRF detects local certain default condition and is triggered, and for example arrives certain default time point, and PCRF triggers the PCC strategy and makes a strategic decision again, and User IP-CAN session is redirected;
Step 503:PCRF sends re-authentication authorization request message Diameter RAR to PCEF, carries the indication information of Redirect Server correspondence in the message;
After step 504:PCEF receives indication information,, obtain the address of Redirect Server, then user conversation is redirected to the server that resulting address is pointed to according to the redirection list of the indication information of receiving and self storage;
Step 505:PCEF sends re-authentication authorization response message Diameter RAA to PCRF and confirms.
Present embodiment has solved the problem that PCR-based F local policy in the prior art can't be redirected user conversation.
Embodiment three:
In the present embodiment, redirection list is arranged on the PCEF among the GW, and the triggering reason that is redirected is: based on event information, that is: satisfy certain preset condition and produce and specify trigger event.
The reorientation method of controlling based on strategy and charging in the present embodiment may further comprise the steps as shown in Figure 6:
Step 600: the corresponding relation between redirection list and the indication information is set;
Here, redirection list is arranged on the PCEF; And this step is finished when system start-up usually.
Step 601: successfully set up the IP-CAN session between user and the AF, and PCRF has set event trigger (Event Trigger) to PCEF;
Here, described event trigger is: the consumption to user's period is added up, and consumption reports when arriving a certain predetermined threshold value, i.e. trigger event.
Step 602:PCEF detects allocate event and takes place, that is: detect user's accumulative total consumption and reached predetermined threshold value;
Step 603:PCEF reports detected incident by credit control request information Diameter CCR (Credit-Control-Request) to PCRF, and promptly PCEF sends event report to PCRF;
Step 604:PCRF user's consumption that this reports with PCEF and this user's historical consumption adds up, and accumulated value and the signatory consumption of user are compared, if accumulated value meets or exceeds the signatory consumption of user, then PCRF will be redirected session;
Step 605:PCRF sends Credit Control Answer message Diameter CCA (Credit-Control-Answer) to PCEF, carries the indication information of Redirect Server correspondence in the message;
After step 606:PCEF receives indication information,, obtain the address of Redirect Server, then user conversation is redirected to the server that resulting address is pointed to according to the redirection list of the indication information of receiving and self storage.
Present embodiment has solved in the prior art problem that can't be redirected user conversation based on event information.
For realizing said method, the present invention also provides a kind of redirection device based on the strategy and the control of chargeing, and comprising: unit, transmitting element, reception and redirected unit are set; Wherein,
The described unit that is provided with is used to be provided with the corresponding relation of redirection list and indication information;
Described transmitting element is used for detecting need be redirected user conversation the time at PCRF, sends the indication information of Redirect Server correspondence to GW/PCEF;
Described reception and redirected unit after being used for GW/PCEF and receiving described indication information, determine the address of Redirect Server according to the redirection list of this locality, and the user conversation that will be redirected are redirected to described address corresponding server.
Here, in the time of can being PCC rule authorization failure during described need being redirected, also can be when satisfying certain default trigger condition to user conversation, can also be when satisfying certain pre-conditioned generation and specifying trigger event; Described PCRF to the indication information that GW/PCEF sends the Redirect Server correspondence is: described indication information is carried on send among the re-authentication authorization request message Diameter RAR or described indication information is carried among the Credit Control Answer message Diameter CCA and sends.
Here, redirection list is generally positioned on the GW/PCEF.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.