A kind of PCC regulation obtaining methods and equipment
Technical field
The present invention relates to communication technical field, more particularly to a kind of PCC regulation obtaining methods and equipment.
Background technology
As the development of mobile Internet, the user of mobile data services are more and more, flow is increasing, also occurs in that
How many new problems, such as, ensure the Consumer's Experience of VIP client, there is provided differentiated service;How instant message is rationally controlled
Business takes etc. to the long-time of Radio Resource.3GPP (The 3rd Generation Partnership Project, the
Third generation partnership project) in PCC (Policy Control and Charging, policy control and charging) can be used to
Solve the above problems.
PCC frameworks include PCRF (Policy Control and Charging Rules Function, policy control and
Charging regulation function entity) and PCEF (Policy and Charging Enforcement Function, it is tactful to hold with charging
Row functional entity) etc. functional entity.In LTE (Long Term Evolution, Long Term Evolution) core net, PCEF functions exist
Realize on PGW (PDN GW, Packet Data Network Gateway, grouped data network gateway).PCRF to PGW is issued
PCC is regular, and within the vital stage of PDN connections, PCRF can repeatedly issue that PCC is regular, and PGW can also ask the PCC for looking for novelty regular.
PCRF issues the regular flow processs of PCC to PGW:After PDN connection establishments, PGW sends to PCRF and creates IP-CAN (IP
Connectivity Access Network, IP connect access network) conversation request message;PCRF carries out strategic decision-making, and PCRF can
With to SPR (Subscription Profile Repository, user information store) request CAMEL-Subscription-Information etc.;PCRF is returned
IP-CAN session establishment response messages are returned, it is regular including PCC.
For the IP network of non-operator deployment, i.e. local network (such as home network, enterprise network), user data is not
Through core network, so as to obtain preferably data route path.In LTE system, LGW (local gateway) and HeNB
It is connected by Sxx interfaces between (Home evolved NodeB, evolved Home eNodeB), LGW and HeNB is by optional
SeGW (Security Gateway, security gateway) core network access, it is regular that PCRF provides dynamic PCC to PGW.In above-mentioned framework
In, terminal can access local network by the LGW associated with HeNB, that is, the PDN connections of LIPA are set up, as MME (Mobility
Management Entity, Mobility Management Entity) will be that the PDN that terminal is set up to LGW connects after Access Control success.
The content of the invention
Embodiments provide a kind of PCC regulation obtaining methods and equipment, to solve prior art in PCRF not
The problem of PCC rules can be issued to local gateway.
The embodiment of the present invention provides a kind of PCC regulation obtaining methods, comprises the following steps:
Gateway device to policy control and charging regulation function entity PCRF send PCC rule request messages;
It is regular that the gateway device receives and preserve the PCC that the PCRF returns.
The embodiment of the present invention also provides a kind of PCC regulation obtaining methods, comprises the following steps:
Policy control and charging regulation function entity PCRF receive the PCC rule request messages that gateway device sends;
The PCRF is regular according to PCC rule request messages acquisition PCC, and returns to the gateway device.
The embodiment of the present invention also provides a kind of gateway device, including:First processing module, sending module, first receive mould
Block and memory module;
The first processing module, for sending the instruction of PCC rule request messages to the sending module;
The sending module, for according to the instruction of the first processing module to policy control and charging rule functions reality
Body PCRF sends PCC rule request messages;
First receiver module, the PCC for receiving the PCRF returns is regular;
The memory module, the PCC for preserving the first receiver module reception is regular.
The embodiment of the present invention also provides a kind of policy control and charging regulation function entity PCRF, including:
Receiver module, for receiving the PCC rule request messages of gateway device transmission;
Acquisition module, it is regular that the PCC rule request messages for being received according to the receiver module obtain PCC;
Sending module, for the PCC rules that the acquisition module is obtained to be sent to into the gateway device.
Compared with prior art, the above embodiment of the present invention has following Advantageous Effects:
In embodiments of the present invention, gateway device sends PCC rule request messages to PCRF, receives and preserve PCRF returns
PCC it is regular, solve the problems, such as that PCRF can not issue that PCC is regular to local gateway, realize and the IP on local gateway connected
Tap into row policy control.
Description of the drawings
Fig. 1 is the PCC Rule schematic flow sheets that the embodiment of the present invention one is provided;
Fig. 2 is the network architecture schematic diagram in the Home eNodeB scene of the embodiment of the present invention two;
Fig. 3 is the PCC Rule schematic flow sheets that the embodiment of the present invention two is provided;
Fig. 4 is the PCC Rule schematic flow sheets that the embodiment of the present invention three is provided;
Fig. 5 is the PCC Rule schematic flow sheets that the embodiment of the present invention four is provided;
Fig. 6 is the structural representation of the gateway device that the embodiment of the present invention five is provided;
Fig. 7 is the structural representation of the PCRF that the embodiment of the present invention six is provided.
Specific embodiment
The problem of PCC rules can not be issued to local gateway for PCRF in prior art, gateway device to PCRF sends
PCC rule request messages, the PCC for receiving and preserving PCRF returns is regular, so that the business asked by terminal performs corresponding PCC
Rule, realize carries out policy control to the IP connections on local gateway.
Below in conjunction with the accompanying drawing in the present invention, clear, complete description is carried out to the technical scheme in the present invention, shown
So, described embodiment is a part of embodiment of the present invention, rather than the embodiment of whole.Based on the enforcement in the present invention
Example, the every other embodiment that those of ordinary skill in the art are obtained on the premise of creative work is not made all belongs to
In the scope of protection of the invention.
Embodiment one
Below in conjunction with Fig. 1, a kind of PCC regulation obtaining methods that the embodiment of the present invention one is provided are elaborated, the party
Method includes:
Step 101, gateway device to PCRF sends PCC rule request messages.
Specifically, gateway device sends PCC rule request messages, the PCC rule request messages in initialization to PCRF
In can carry home network identification.When gateway device is regular to PCRF request PCC, can be shown by home network identification
Which local network is PCC rule requests come from.Home network identification can for LHN ID (Local H (e) NB Network,
Local home base station network mark), the corresponding access point identity of local network (Access Point Name, APN), Huo Zheben
Ground network corresponding CAMEL-Subscription-Information mark etc. skilled person will appreciate that can be used in identify other marks of local network.
Under the application scenarios of Home eNodeB, gateway device directly can send PCC rule requests by interface to PCRF
Message, or PCC rule request messages can also be sent to intermediate node, and the PCC rule requests are disappeared by the intermediate node
Breath is sent to PCRF.
Under the application scenarios of broadband wireless network, due to gateway device (wideband network gateway) it is defined and PCRF between
Interface, gateway device can send PCC rule request messages by existing interface to PCRF.
Step 102, it is regular that PCRF returns PCC to gateway device.
Specifically, PCRF can be regular to gateway device return PCC, and the PCC rules include one or more Business Streams
Mark, the traffic stream identifier is used to identify the business that PCC rules are applied, and the traffic stream identifier is business datum flow template
Or the parameter of new definition.The regular difference with the existing PCC rules based on terminal of PCC in the embodiment of the present invention is, this
The PCC rules of inventive embodiments are that the PCC based on business is regular, can include the corresponding QoS information of information word of identification service.
Wherein, traffic stream identifier is used for the related business data flow of identification service, can be the parameter of new definition, it is also possible to using existing
Parameter defines specific business data flow, such as business datum flow template.Also include during PCC is regular:Accounting-related information and plan
Relevant information is slightly controlled, accounting-related information is that the parameter needed for charging is carried out to business data flow, and policy control information includes
Parameter needed for QoS controls etc..
The content of PCC rules defined in 3GPP23.203, as shown in table 1:
Table 1
PCRF obtains PCC rules can be by following two modes:
1st, the corresponding relation of PCC rules and home network identification and PCC rules can be pre-configured in PCRF, work as net
When pass equipment is to PCRF transmission PCC rule request messages, it is right that PCRF determines according to the home network identification carried in request message
The local network answered, and it is regular to send corresponding PCC to the gateway device of the local network.
2nd, user signing contract information can be stored in SPR, when gateway device sends PCC rule request messages to PCRF,
Home network identifications of the PCRF in PCC rule request messages to SPR asks CAMEL-Subscription-Information, SPR to return to PCRF LANs
Network identifies corresponding CAMEL-Subscription-Information, and it is regular that PCRF obtains PCC according to the CAMEL-Subscription-Information, and returns to gateway device.
Step 103, gateway device receive and preserve PCRF return PCC it is regular.
Step 104, terminal and gateway device are set up after IP is connected, and terminal to gateway device sends bearing resource request.Eventually
End with gateway device set up IP be connected and send bearing resource ask process belong to prior art, will not be described here.
Step 105, gateway device judge whether to inquire PCC corresponding with the business that terminal is asked it is regular, if inquiry
Arrive, execution step 106;Otherwise, execution step 107.
Specifically, gateway device sends bearing resource request according to terminal, inquires about whether existing PCC rules are suitable for the carrying
The corresponding type of service of resource request.
Step 106, it is regular that gateway device performs the PCC.
Specifically, when existing PCC rules are suitable for the corresponding type of service of the bearing resource request, then according to existing
PCC rule policy control is carried out to terminal.
Step 107, gateway device to PCRF sends PCC rule request messages.
Specifically, when existing PCC rules do not apply to the corresponding type of service of the bearing resource request, gateway device
PCC rule request messages are sent to PCRF, the PCC rule request messages carry the corresponding business of business asked and fail to be sold at auction
Know.
In current specification, when PGW is regular to PCRF request PCC, it is desirable to provide IMSI (International
Mobile Subscriber Identity, IMSI International Mobile Subscriber Identity) information, to identify terminal, because LGW is not operation
Entity in business's core net, the IMSI information of terminal is passed to into LGW will potential security threat, therefore, in local network
In probably do not adopt IMSI to identify terminal, in this case, when terminal by the LGW of local network set up PDN connect
When connecing, it is impossible to realize regular to PCRF request PCC.Existing PCC rules are based on terminal, and the embodiment of the present invention is in PCC
Rule request message carries the asked corresponding traffic stream identifier of business, i.e. the PCC rules based on business, therefore,
Inventive embodiments have been evaded local gateway and have not been known terminal IMSI, it is impossible to the problem of PCRF requesting terminals PCC rules, and also
Can solve the problem that because terminal is set up or discharges PDN connections and caused PWG and PCRF Signalling exchanges frequently problem, effectively reduce
Signalling exchange is born.
Step 108, the PCC corresponding with the traffic stream identifier that gateway device receives PCRF returns is regular.
Step 109, it is regular that gateway device performs the PCC.
PCRF is regular except the PCC rule requests return PCC sent according to gateway device, can be with the PCC in PCRF
During Policy Updates, (request for being not necessarily based on gateway device sends PCC rule to the PCC rules after the renewal sent to gateway device
Then), so that the local PCC for preserving of gateway device renewal is regular.
Embodiment two
A kind of PCC regulation obtaining methods provided in an embodiment of the present invention, can apply to by associating with Home eNodeB
The scene of local network, as shown in Fig. 2 for the network architecture schematic diagram under Home eNodeB scene, in the existing network architecture,
By increasing intermediate node between gateway device and PCRF local gateway and PCRF can be made to be handed over by the intermediate node
Mutually, i.e. it is regular that local gateway can obtain PCC from PCRF.
With reference to shown in Fig. 2,3, the PCC regulation obtaining methods that the embodiment of the present invention two is provided include:
Step 31, when local gateway is initialized, initiates strategy request (PCC rule request messages), wherein carrying to PCRF
Home network identification LHN 1.
Step 32, PCRF obtains local network CAMEL-Subscription-Information according to home network identification LHN 1 to SPR.
Step 33, PCRF to local gateway returns policy response, and regular comprising PCC in the response message, the PCC rules can
With comprising one or more traffic stream identifier.
Step 34, terminal from home node B access local network, and ask activate LIPA (Local IP access, locally
IP is accessed), Mobility Management Entity Access Control success.
Specifically, using LIPA technologies, terminal can access local network by the local gateway associated with Home eNodeB,
The access procedure is PDN connection establishment processes.
Step 35, Mobility Management Entity is sent to local gateway by gateway S-GW and creates conversation request message.
Step 36, local gateway is regular to the carrying application PCC of current request.
In the present embodiment, it is regular that the business that terminal request is carried is suitable for existing PCC, therefore, local gateway can be straight
Connecing the carrying to current request applies existing PCC regular.
Step 37, performs the subsequent process of PDN connection establishments.The process is realized according to prior art, will not be described here.
Embodiment three
Under the scene of Home eNodeB, if the business that terminal is asked does not apply to existing PCC regular, gateway device
Need to obtain new PCC to PCRF regular, for this application scenarios, with reference to shown in Fig. 2,4, the offer of the embodiment of the present invention three
PCC regulation obtaining methods include:
Step 41, when local gateway is initialized, to PCRF PCC rule requests is initiated, wherein carrying home network identification APN
Information, subsequent PCRF return to should APN information PCC it is regular.
Step 42, terminal requests activation LIPA completes PDN connection establishments.The PDN links set up process referring to embodiment two
The step of 34-37, will not be described here.
Step 43, terminal to MME initiates bearing resource request, is service data request resource.For example, it is tcp port number
For 21 request of data resource.
Bearing resource order is sent to local gateway by step 44, MME by gateway.Wherein, bearing resource order
Carry the traffic stream identifier of terminal.
Step 45, if to find that the business asked of terminal does not apply to existing PCC regular for local gateway, to PCRF transmissions
PCC rule request messages, and obtain be suitable for the type of service PCC it is regular.
Specifically, local gateway judges whether include the traffic stream identifier during existing PCC is regular, to determine whether application
Existing PCC is regular.If existing PCC rules do not include the traffic stream identifier, local gateway needs the PCC that please be looked for novelty regular.
Home network identification APN and institute's requested service are carried in the PCC rule request messages that local gateway sends
Packet filter information, for example, during new PCC is regular can with business datum flow template be " port numbers=21 " come identification service number
According to stream.
When PCRF receives the request of gateway device, PCC corresponding with traffic stream identifier is regular for acquisition, and to local gateway
Return the PCC regular.In the present embodiment, PCRF has been pre-configured with the policy information of the APN, PCRF can according to APN information,
It is regular PCC corresponding with institute requested service to be returned directly to local gateway.
Step 46, it is regular that local gateway performs PCC.
Specifically, local gateway can be performed and carry the operation related to QoS, such as set up dedicated bearer.According to existing
Agreement, if the bearing resource of distribution can not meet service resources demand, may initiate the foundation of new bearer.
Step 47, performs bearing resource request subsequent process.The process is realized according to prior art, will not be described here.
Example IV
A kind of PCC regulation obtaining methods that the embodiment of the present invention four is provided, are applied to access core by broadband wireless network
The scene of heart net.Terminal passes through WLAN AP, 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 embodiment of the present invention
The four PCC regulation obtaining methods for providing include:
Step 51, BNG sends IP-CAN and sets up request message to PCRF, including home network identification, in this enforcement
In example, home network identification is set to Subscription-ID, and the Subscription-ID can be identified for line attachment.
Step 52, PCRF obtains CAMEL-Subscription-Information according to Subscription-ID to SPR.
Step 53, PCRF returns IP-CAN and sets up response to BNG, regular comprising PCC in response message, the PCC rule bags
The rule of the business of the Internet containing correspondence.
Step 54, terminal access band wireless network.
Step 55, BNG is regular based on the PCC for receiving, and the partial data of terminal is shunted, and realizes to the partial data
Carry out policy control.
Specifically, when having terminal to access and there are Internet data, PCC controls are carried out to these data, i.e. BNG will
The Internet business datums (port number=80) of terminal branch to local network.
Step 56, performs the subsequent process of access band wireless network.The process is performed according to prior art, and here is no longer
Repeat.
In embodiments of the present invention, gateway device sends PCC rule request messages to PCRF, receives and preserve PCRF returns
PCC it is regular, so that the business asked by terminal is performed, corresponding PCC is regular, and solving PCRF can not issue to local gateway
The problem of PCC rules, realize carries out policy control to the IP connections on local gateway.
Conceived based on identical, the embodiment of the present invention five also provides a kind of gateway device, as shown in fig. 6, the gateway device
Including:First processing module 61, sending module 62, the first receiver module 63 and memory module 64;
First processing module 61, for sending the instruction of PCC rule request messages to sending module 62;
Sending module 62, for according to the instruction of first processing module 61 to policy control and charging regulation function entity
PCRF sends PCC rule request messages;
First receiver module 63, the PCC for receiving PCRF returns is regular;
Memory module 64, the PCC for preserving the reception of the first receiver module 63 is regular, so as to the business asked by terminal
Perform corresponding PCC regular.
The gateway device also includes the second receiver module 65 and Second processing module 66;
Second receiver module 65, the bearing resource for receiving terminal is asked;
First processing module 61, is additionally operable to, when the bearing resource that the second receiver module 65 receives terminal is asked, judge
It is regular with the presence or absence of PCC corresponding with the business that terminal is asked in memory module 64, asked with terminal when judgement is not present
The corresponding PCC of business it is regular when, to sending module 62 send PCC rule request messages instruction;
Sending module 62, is additionally operable to send PCC rule request messages to PCRF according to the instruction of first processing module 61, should
PCC rule request messages carry the corresponding traffic stream identifier of business asked;
First receiver module 63, the PCC corresponding with traffic stream identifier for being additionally operable to receive PCRF returns is regular;
Second processing module 66, the business for being asked by terminal performs the PCC rule that the first receiver module 63 is received
Then.
The gateway device also includes update module 67, for after the renewal that the first receiver module 63 receives PCRF transmissions
PCC it is regular after, update that the PCC that memory module 64 preserves is regular, PCC rule for PCC Policy Updates in PCRF when transmission
's.
Second processing module 66, is additionally operable to after the bearing resource that the second receiver module 65 receives terminal is asked, perform
PCC corresponding with the business that terminal is asked is regular.
Specifically, home network identification is carried in the PCC rule request messages that sending module 62 sends;First receiver module
The 63 PCC rules for receiving are that PCC corresponding with home network identification is regular.
Home network identification includes:Local home base station network mark, the corresponding access point identity of local network or local
The corresponding CAMEL-Subscription-Information mark of network.
First processing module 61, the finger specifically for sending PCC rule request messages to sending module 62 in initialization
Order.
The PCC rules include one or more traffic stream identifier, and the traffic stream identifier is used to identify what PCC rules were applied
Business, the traffic stream identifier is the parameter of business datum flow template or new definition.
Signalling exchange is carried out between gateway device and PCRF by direct interface or by intermediate node.
Conceived based on identical, the embodiment of the present invention six also provides a kind of PCRF, as shown in fig. 7, comprises:Receiver module
71st, acquisition module 72 and sending module 73, wherein:
Receiver module 71, for receiving the PCC rule request messages of gateway device transmission.
Acquisition module 72, it is regular that the PCC rule request messages for being received according to receiver module 71 obtain PCC.
Sending module 73, the PCC rules for acquisition module 72 to be obtained are sent to gateway device, so that gateway device is
It is regular that the business that terminal is asked performs corresponding PCC.
The PCRF also includes update module 74, regular for updating PCC;
Sending module 73, is additionally operable to for the PCC rules after renewal to be sent to gateway device, so that gateway device updates local
The PCC of preservation is regular.
Acquisition module 72, the PCC rule request messages specifically for being received according to receiver module 71 obtain pre-configured PCC
Rule;Or, according to the home network identification in the PCC rule request messages that receiver module 71 is received, from user profile storage
Device SPR obtains CAMEL-Subscription-Information, obtains PCC regular.
The PCC rules are used for the traffic stream identifier of identification service data comprising one or more, and the traffic stream identifier is used for
The business that mark PCC rules are applied, the traffic stream identifier is the parameter of business datum flow template or new definition.
Signalling exchange is carried out between PCRF and gateway device by direct interface or by intermediate node.
It will be appreciated by those skilled in the art that the module in the device in embodiment can be carried out point according to embodiment description
In being distributed in the device of embodiment, it is also possible to carry out respective change and be disposed other than in one or more devices of the present embodiment.On
Stating the module of embodiment can merge into a module, it is also possible to be further split into multiple submodule.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by
Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but in many cases the former is more
Good embodiment.Based on such understanding, what technical scheme substantially contributed in other words to prior art
Part can be embodied in the form of software product, and the computer software product is stored in a storage medium, if including
Dry instruction is used so that a station terminal equipment (can be mobile phone, personal computer, server, or network equipment etc.) performs sheet
Invent the method described in each embodiment.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
Depending on protection scope of the present invention.