Embodiment
Can not issue to local gateway the problem of PCC rule for PCRF in prior art, gateway device sends PCC rule request message to PCRF, receive and preserve the PCC rule that PCRF returns, so that the business of asking for terminal is carried out corresponding PCC rule, realized the IP on local gateway is connected and carries out policy control.
Below in conjunction with the accompanying drawing in the present invention, the technical scheme in the present invention is carried out to clear, complete description, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiment.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work, belong to the scope of protection of the invention.
Embodiment mono-
Below in conjunction with Fig. 1, a kind of PCC regulation obtaining method that the embodiment of the present invention one is provided elaborates, and the method comprises:
Step 101, gateway device sends PCC rule request message to PCRF.
Concrete, gateway device sends PCC rule request message to PCRF when initialization, in this PCC rule request message, can carry home network identification.When gateway device is regular to PCRF request PCC, can show which local network is the PCC rule request come from by home network identification.Home network identification can be LHN ID(Local H (e) NB Network, local home base station network sign), access point identity (the Access Point Name that local network is corresponding, or known other sign that can be used in the sign local network of the those skilled in the art such as CAMEL-Subscription-Information sign corresponding to local network APN).
Under the application scenarios of Home eNodeB, gateway device can directly send PCC rule request message to PCRF by interface, or also can send PCC rule request message to intermediate node, and by this intermediate node, this PCC rule request message is sent to PCRF.
Under the application scenarios of broadband wireless network, due to defined interface between gateway device (wideband network gateway) and PCRF, gateway device can send PCC rule request message to PCRF by existing interface.
Step 102, PCRF returns to the PCC rule to gateway device.
Concrete, PCRF can return to the PCC rule to gateway device, described PCC rule comprises one or more traffic stream identifier, and described traffic stream identifier is for identifying the applied business of PCC rule, the parameter that described traffic stream identifier is business datum flow template or new definition.PCC in embodiment of the present invention rule is with the difference of the existing PCC rule based on terminal, and the PCC rule of the embodiment of the present invention is based on the PCC rule of business, can comprise the QoS information corresponding to information word of identification service.Wherein, traffic stream identifier, for the relevant business data flow of identification service, can be the parameter of new definition, also can use the existing specific business data flow of parameter-definition, for example business datum flow template.In the PCC rule, also comprise: charging relevant information and policy control related information, the charging relevant information is that business data flow is carried out to the required parameter of charging, policy control information comprises the required parameters such as QoS control.
Defined the content of PCC rule in 3GPP23.203, as shown in table 1:
Table 1
PCRF obtains the PCC rule can be by following two kinds of modes:
1, the corresponding relation of PCC rule and home network identification and PCC rule can be pre-configured in PCRF, when gateway device sends PCC rule request message to PCRF, PCRF determines corresponding local network according to the home network identification of carrying in request message, and sends corresponding PCC rule to the gateway device of this local network.
2, user signing contract information can be stored in SPR, when gateway device sends PCC rule request message to PCRF, PCRF asks CAMEL-Subscription-Information according to the home network identification in PCC rule request message to SPR, SPR returns to CAMEL-Subscription-Information corresponding to PCRF home network identification, PCRF obtains the PCC rule according to this CAMEL-Subscription-Information, and returns to gateway device.
Step 103, gateway device receives and preserves the PCC rule that PCRF returns.
Step 104, after terminal and gateway device are set up IP and be connected, terminal sends the bearing resource request to gateway device.Terminal and gateway device set up that IP is connected and the process that sends the bearing resource request belongs to prior art, do not repeat them here.
Step 105, gateway device judges whether to inquire the PCC rule corresponding to business of asking with terminal, if inquire, performs step 106; Otherwise, perform step 107.
Concrete, gateway device sends the bearing resource request according to terminal, whether applicable type of service corresponding to this bearing resource request of the existing PCC rule of inquiry.
Step 106, gateway device is carried out this PCC rule.
Concrete, when the applicable corresponding type of service of this bearing resource request of existing PCC rule, according to existing PCC rule, terminal is carried out to policy control.
Step 107, gateway device sends PCC rule request message to PCRF.
Concrete, when the corresponding type of service of existing PCC inapplicable this bearing resource request of rule, gateway device sends PCC rule request message to PCRF, and this PCC rule request message is carried the traffic stream identifier corresponding to business of request to some extent.
In current standard, when PGW is regular to PCRF request PCC, IMSI(International Mobile Subscriber Identity need to be provided, IMSI International Mobile Subscriber Identity) information, in order to marking terminal, because LGW is not the entity in operator's core net, the IMSI information of terminal is passed to LGW potential security threat will be arranged, therefore, in local network, probably do not adopt IMSI to carry out marking terminal, in this case, when the LGW when terminal by local network sets up PDN and connects, can't realize the rule to PCRF request PCC.Existing PCC rule is based on terminal, and the embodiment of the present invention is carried traffic stream identifier corresponding to asked business in PCC rule request message, this PCC rule is based on business, therefore, the embodiment of the present invention has been evaded local gateway and has not been known terminal IMSI, can't be to the problem of PCRF requesting terminal PCC rule, and can solve due to terminal and set up or discharge PDN and connect the PWG that causes and PCRF Signalling exchange problem frequently, Signalling exchange burden effectively reduced.
Step 108, gateway device receives the PCC rule corresponding with this traffic stream identifier that PCRF returns.
Step 109, gateway device is carried out this PCC rule.
PCRF returns to the PCC rule except the PCC rule request sent according to gateway device, during PCC Policy Updates that can also be in PCRF, PCC rule (without the request based on gateway device, sending the PCC rule) after the renewal sent to gateway device, so that gateway device upgrades local PCC rule of preserving.
Embodiment bis-
A kind of PCC regulation obtaining method that the embodiment of the present invention provides, can be applied to by the scene of the local network associated with Home eNodeB, as shown in Figure 2, for the network architecture schematic diagram under the Home eNodeB scene, in the existing network architecture, can, by between gateway device and PCRF, increasing intermediate node, local gateway and PCRF be undertaken alternately by this intermediate node, that is, local gateway can obtain the PCC rule from PCRF.
Shown in Fig. 2,3, the PCC regulation obtaining method that the embodiment of the present invention two provides comprises:
Step 31, during the local gateway initialization, initiate strategy request (PCC rule request message) to PCRF, wherein carries home network identification LHN 1.
Step 32, PCRF obtains the local network CAMEL-Subscription-Information according to home network identification LHN 1 to SPR.
Step 33, PCRF returns to policy response to local gateway, comprises the PCC rule in this response message, and this PCC rule can comprise one or more traffic stream identifier.
Step 34, terminal from home node B access local network, and request activates LIPA(Local IP access, local IP access), Mobility Management Entity access control success.
Concrete, utilize the LIPA technology, terminal can be by the local gateway access local network associated with Home eNodeB, and this access procedure is that PDN connects process of establishing.
Step 35, Mobility Management Entity sends and creates conversation request message to local gateway by gateway S-GW.
Step 36, the carrying application PCC rule of local gateway to current request.
In the present embodiment, the applicable existing PCC rule of the business of terminal request carrying, therefore, local gateway can directly be applied existing PCC rule to the carrying of current request.
Step 37, carry out PDN and connect the subsequent process of setting up.This process, according to existing techniques in realizing, does not repeat them here.
Embodiment tri-
Under the scene of Home eNodeB, if the inapplicable existing PCC rule of the business that terminal is asked, gateway device need to obtain new PCC rule to PCRF, for this application scenarios, shown in Fig. 2,4, the PCC regulation obtaining method that the embodiment of the present invention three provides comprises:
Step 41, during the local gateway initialization, initiate the PCC rule request to PCRF, wherein carries home network identification APN information, and PCRF returns PCC rule that should APN information subsequently.
Step 42, terminal request activates LIPA, completes PDN and connects foundation.This PDN link process of establishing, referring to the step 34-37 of embodiment bis-, does not repeat them here.
Step 43, terminal is initiated the bearing resource request to MME, is the service data request resource.For example, the request of data resource that is 21 for tcp port number.
Step 44, MME sends to local gateway by gateway by the bearing resource order.Wherein, the bearing resource order carries the traffic stream identifier of terminal.
Step 45, if local gateway is found the inapplicable existing PCC rule of business that terminal is asked, send PCC rule request message to PCRF, and obtain the PCC rule of applicable this type of service.
Concrete, local gateway judges in existing PCC rule whether comprise this traffic stream identifier, to determine whether to apply existing PCC rule.If existing PCC rule does not comprise this traffic stream identifier, local gateway needs the PCC rule that please look for novelty.
Carry the packet filter information of home network identification APN and institute's requested service in the PCC rule request message that local gateway sends, for example, in new PCC rule, can carry out the identification service data flow for " port numbers=21 " with the business datum flow template.
When PCRF receives the request of gateway device, obtain the PCC rule corresponding with traffic stream identifier, and return to this PCC rule to local gateway.In the present embodiment, PCRF the is pre-configured policy information of this APN, PCRF can, according to APN information, directly return and the corresponding PCC rule of institute's requested service to local gateway.
Step 46, local gateway is carried out the PCC rule.
Concrete, local gateway can be carried out the operation that carrying is relevant with QoS, as sets up dedicated bearer etc.According to existing protocol, if the bearing resource distributed can not meet the service resources demand, may initiate the foundation of new bearer.
Step 47, carry out bearing resource request subsequent process.This process, according to existing techniques in realizing, does not repeat them here.
Embodiment tetra-
A kind of PCC regulation obtaining method that the embodiment of the present invention four provides, be applied to by the scene of broadband wireless network core network access.Terminal is by WLANAP, home gateway RG(Residential Gateway) and wideband network gateway BNG(Broadband Network Gateway) core network access.For this application scenarios, as shown in Figure 5, the PCC regulation obtaining method that the embodiment of the present invention four provides comprises:
Step 51, BNG sends IP-CAN to PCRF and sets up request message, and comprising home network identification, in the present embodiment, home network identification is made as Subscription-ID, and this Subscription-ID can identify for line attachment.
Step 52, PCRF obtains CAMEL-Subscription-Information according to Subscription-ID to SPR.
Step 53, PCRF returns to IP-CAN to BNG and sets up response, comprises the PCC rule in response message, the rule that this PCC rule comprises corresponding Internet business.
Step 54, terminal access band wireless network.
Step 55, the PCC rule of BNG based on receiving, shunted the partial data of terminal, realizes this partial data is carried out to policy control.
Concrete, when having terminal to access and the Internet data are arranged, these data are carried out to PCC control, that is, BNG branches to local network by the Internet business datum of terminal (port number=80).
Step 56, the subsequent process of execution access band wireless network.This process is carried out according to prior art, does not repeat them here.
In embodiments of the present invention, gateway device sends PCC rule request message to PCRF, receive and preserve the PCC rule that PCRF returns, so that the business of asking for terminal is carried out corresponding PCC rule, solved PCRF and can not issue the problem of PCC rule to local gateway, realized the IP on local gateway is connected and carries out policy control.
Design based on identical, the embodiment of the present invention five also provides a kind of gateway device, and as shown in Figure 6, this gateway device comprises: the first processing module 61, sending module 62, the first receiver module 63 and memory module 64;
The first processing module 61, for sending the instruction of PCC rule request message to sending module 62;
Sending module 62, send PCC rule request message for the instruction according to the first processing module 61 to policy control and charging regulation function entity PCRF;
The first receiver module 63, the PCC rule of returning for receiving PCRF;
Memory module 64, the PCC rule received for preserving the first receiver module 63, so that the business of asking for terminal is carried out corresponding PCC rule.
This gateway device also comprises the second receiver module 65 and the second processing module 66;
The second receiver module 65, for the bearing resource request of receiving terminal;
The first processing module 61, also for when the second receiver module 65 receives the bearing resource request of terminal, judge in memory module 64 and whether have the PCC rule corresponding to business of asking with terminal, when there be not PCC rule corresponding to the business of asking with terminal in judgement, send the instruction of PCC rule request message to sending module 62;
Sending module 62, also send PCC rule request message for the instruction according to the first processing module 61 to PCRF, and this PCC rule request message is carried the traffic stream identifier corresponding to business of request to some extent;
The first receiver module 63, the PCC rule corresponding with traffic stream identifier of also returning for receiving PCRF;
The second processing module 66, be used to the business that terminal is asked to carry out the PCC rule that the first receiver module 63 receives.
This gateway device also comprises update module 67, after the PCC rule after the renewal that receives the PCRF transmission at the first receiver module 63, upgrades the PCC rule that memory module 64 is preserved, and this PCC rule sends while being the PCC Policy Updates in PCRF.
The second processing module 66, also for after receiving the bearing resource request of terminal when the second receiver module 65, carry out the PCC rule corresponding to business of asking with terminal.
Concrete, carry home network identification in the PCC rule request message that sending module 62 sends; The PCC rule that the first module 63 receives is the PCC rule corresponding with home network identification.
Home network identification comprises: local home base station network sign, access point identity or CAMEL-Subscription-Information sign corresponding to local network that local network is corresponding.
The first processing module 61, specifically for sending the instruction of PCC rule request message when the initialization to sending module 62.
This PCC rule comprises one or more traffic stream identifier, and this traffic stream identifier is for identifying the applied business of PCC rule, the parameter that this traffic stream identifier is business datum flow template or new definition.
Carry out Signalling exchange by direct interface or by intermediate node between gateway device and PCRF.
Design based on identical, the embodiment of the present invention six also provides a kind of PCRF, as shown in Figure 7, comprising: receiver module 71, acquisition module 72 and sending module 73, wherein:
Receiver module 71, the PCC rule request message sent for receiving gateway device.
Acquisition module 72, obtain the PCC rule for the PCC rule request message received according to receiver module 71.
Sending module 73, send to gateway device for the PCC rule that acquisition module 72 is obtained, so that gateway device is the business that terminal is asked, carries out corresponding PCC rule.
This PCRF also comprises update module 74, for upgrading the PCC rule;
Sending module 73, also send to gateway device for the PCC rule by after upgrading, so that gateway device upgrades local PCC rule of preserving.
Acquisition module 72, obtain pre-configured PCC rule specifically for the PCC rule request message received according to receiver module 71; Perhaps, the home network identification in the PCC rule request message received according to receiver module 71, from user information store, SPR obtains CAMEL-Subscription-Information, obtains the PCC rule.
This PCC rule comprises one or more traffic stream identifier for the identification service data, and this traffic stream identifier is for identifying the applied business of PCC rule, the parameter that this traffic stream identifier is business datum flow template or new definition.
Carry out Signalling exchange by direct interface or by intermediate node between PCRF and gateway device.
It will be appreciated by those skilled in the art that the module in the device in embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential general hardware platform by software and realize, can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a station terminal equipment (can be mobile phone, personal computer, server, or the network equipment etc.) the described method of execution each embodiment of the present invention.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.