CN101800967A - Method, gateway and mobile terminal for realizing strategy and charging control - Google Patents

Method, gateway and mobile terminal for realizing strategy and charging control Download PDF

Info

Publication number
CN101800967A
CN101800967A CN200910261819A CN200910261819A CN101800967A CN 101800967 A CN101800967 A CN 101800967A CN 200910261819 A CN200910261819 A CN 200910261819A CN 200910261819 A CN200910261819 A CN 200910261819A CN 101800967 A CN101800967 A CN 101800967A
Authority
CN
China
Prior art keywords
address
equipment
pcc
pcc rule
filter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910261819A
Other languages
Chinese (zh)
Other versions
CN101800967B (en
Inventor
郭�东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2009102618192A priority Critical patent/CN101800967B/en
Publication of CN101800967A publication Critical patent/CN101800967A/en
Priority to PCT/CN2010/080384 priority patent/WO2011079782A1/en
Priority to EP10840570.5A priority patent/EP2521385B1/en
Application granted granted Critical
Publication of CN101800967B publication Critical patent/CN101800967B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1453Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network
    • H04L12/1457Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network using an account
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/20Traffic policing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0252Traffic management, e.g. flow control or congestion control per individual bearer or channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2408Traffic characterised by specific attributes, e.g. priority or QoS for supporting different services, e.g. a differentiated services [DiffServ] type of service

Abstract

The embodiment of the invention discloses a method, a gateway and a mobile terminal for realizing strategy and charging control. The method comprises the following steps: receiving an uplink message which is forwarded by the mobile terminal and sent by a device in the local network in the mobile terminal agent, and after the uplink message is matched with the TFT packet filter corresponding to the IP address of the device in the uplink message by the mobile terminal, forwarding the uplink massage through a bearer corresponding to the TFT packet filter; and matching a uplink PPC packet filter corresponding to the IP address of the device in the uplink message, and carrying out policy and charging control (PCC) on the uplink message according to a uplink PCC rule corresponding to the uplink PCC packet filter. By matching the source IP address attributes in the uplink PCC packet with the IP address of the device in the local network transmitting the uplink message, the invention realizes the purpose of accurate PCC on the device in the local network.

Description

A kind of implementation strategy and the method, gateway and the portable terminal that charge and control
Technical field
The present invention relates to the mobile communication technology field, particularly relate to a kind of implementation strategy and the method, gateway and the portable terminal that charge and control.
Background technology
Mobile communication is experiencing the evolution to complete IP network, need to consider (Gateway from the portable terminal to GW on the one hand, gateway) QoS (Quality of Service end to end, service quality) problem is to provide the service quality that makes customer satisfaction (particularly real-time class business such as voice, video); On the other hand, IP network can provide the business (as multi-media communication, file download, web page browsing etc.) of many types, needs GW can discern different Business Streams also difference statistic flow, duration information, reports the charging center.Above-mentioned based on relevant issues such as stream QoS and chargings in order to solve, 3GPP has defined PCC (Policyand Charging Control, the strategy and the control of chargeing) logical architecture.
As shown in Figure 1, the PCC logical architecture comprises GW, PCRF (Policy and Charging RuleFunction, "Policy and Charging Rules Function), PCEF (Policy and Charging EnforcementFunction, strategy and charge execution function), AF (Application Function, application function), SPR functional entitys such as (Subscription Profile Repository, CAMEL-Subscription-Information knowledge bases).Wherein, AF according to and the user between service negotiation, the session information (as SDP) of application layer dynamically is provided to PCRF; Business information in the session information that PCRF provides according to AF, in conjunction with user signing contract information and local carrier policy, make PCC (Policy and Charging Control, the strategy and the control of chargeing) rule, PCRF gives PCEF among the GW with described PCC rule downloading; Because dispose user signing contract information on the SPR, the PCC rule on the described PCRF also can be to obtain to SPR, promptly the PCC rule is pre-configured on PCRF and/or the SPR; PCEF carries out the PCC rule.
At present, use IP filter (Packet Filter) that Business Stream is selected control usually, IP filter comprises PCC IP filter, TFT IP filter etc.PCC agreement regulation: each IP session comprises a plurality of carryings, and each carrying comprises many PCC rules; Each PCC rule comprises a PCC IP filter at least, and at the qos parameter and the charging requirement of this PCC IP filter.Every the PCC rule has priority, if PCC IP filter corresponding many PCC rules, just think that unique PCC rule of limit priority of PCC IP filter correspondence comes into force.Described PCC rule comprises up PCC rule and descending PCC rule, and the PCC IP filter comprises up PCC IP filter and descending PCC IP filter, and in the up PCC rule is up PCC IP filter, and in the descending PCC rule is descending PCC IP filter.So-called PCC carries out the QoS control and the control etc. of chargeing exactly.
3GPP (3rd Generation Partnership Project, third generation partner program) GPRS related protocol regulation: carrying, QoS file (Quality of Service Profile), TFT (Traffic FlowTemplate, flow template) is associated together, comprises at least one TFT IP filter among the TFT.The TFT IP filter is the IP filter that portable terminal uses, and is converted to according to the up PCC IP filter in the up PCC rule by GW.Each TFT IP filter comprises following attribute:
-Remote?Address?and?Subnet?Mask.
-Protocol?Number(IPv4)/Next?Header(IPv6).
-Local?Port?Range.
-Remote?Port?Range.
-IPSec?Security?Parameter?Index(SPI).
-Type?of?Service(TOS)(IPv4)/Traffic?class(IPv6)and?Mask.
-Flow?Label(IPv6)
After GW changes the qos parameter among the PCC and IP filter information, form with QoS file, TFT is issued on the portable terminal, by portable terminal message and the TFT IP filter that self sends mated, to be tied in the corresponding carrying with the Business Stream of certain TFT IP filter coupling, guarantee the QoS that this Business Stream is required; PCEF among the GW mates Business Stream and PCC IP filter, and then realizes policy control (for example whether allow to pass through, whether need the fields such as IP address in the message are revised) and charging to this mobile terminal service stream.Make network side thus after detecting different Business Streams, carry out operations such as policy control, the statistics of chargeing at Business Stream.
In implementing process of the present invention, the inventor finds to exist at least in the prior art following problem:
Rate reduction and bandwidth raising along with mobile communication, be about to occur a kind of new application model, promptly the public portable terminal of a plurality of equipment in the localized network (Local Area Network) connects external network, the localized network here refers to the internet in a specific physics place, for example public Internet bar, campus network, residential quarters, office building etc., external network refers to Internet or other localized network.In this application, portable terminal plays the function of routing forwarding, and the phenomenon that different business stream matches identical IP filter can appear in the Business Stream for the distinct device in its agency's the localized network sends, and can't carry out PCC to described equipment.
Summary of the invention
The purpose of the embodiment of the invention provides a kind of implementation strategy and the method, gateway and the portable terminal that charge and control, connects under the situation of network to be implemented in the public portable terminal of a plurality of equipment, and equipment is carried out strategy and charging control PCC.
The embodiment of the invention provides the method for a kind of implementation strategy with the control of chargeing, and comprising:
The uplink message that the equipment by the localized network that is arranged in described portable terminal agency that mobile terminal receive is transmitted sends, described uplink message is transmitted by the carrying corresponding with described TFT IP filter after matching the flow template TFT IP filter corresponding with the Internet protocol IP address of equipment in the described uplink message by portable terminal;
Match with described uplink message in the corresponding up strategy and the charging control PCC IP filter in IP address of equipment, according to the up PCC rule of described up PCC IP filter correspondence, described uplink message is carried out strategy and charging control PCC.
The embodiment of the invention also provides the method for a kind of implementation strategy with the control of chargeing, and comprising:
Receive purpose Internet protocol IP address that external network sends and be the downlink message of IP address of equipment in portable terminal agency's the localized network, match and corresponding descending strategy and the charging control PCC IP filter of IP address of equipment in the described downlink message, according to the descending PCC rule of described descending PCC IP filter correspondence, described downlink message is carried out PCC
The embodiment of the invention also provides a kind of gateway, and described gateway comprises:
Receiver module, be used for the uplink message that the equipment by the localized network that is positioned at described portable terminal agency that mobile terminal receive transmits sends, after described uplink message matches the flow template TFT IP filter corresponding with the Internet protocol IP address of equipment in the described uplink message by portable terminal, transmit by the carrying corresponding, and/or the purpose IP address that the reception external network sends is the downlink message of IP address of equipment in the described localized network with described TFT IP filter;
Control module, be used for matching corresponding up strategy and the charging control PCC IP filter in IP address with the equipment of described uplink message, according to the up PCC rule of described up PCC IP filter correspondence, described uplink message is carried out strategy and charging control PCC; And/or match and the corresponding descending PCC IP filter of IP address of equipment in the described downlink message, according to the descending PCC rule of described descending PCC IP filter correspondence, described downlink message is carried out PCC.
The embodiment of the invention also provides a kind of portable terminal, and described portable terminal comprises:
Receiver module is used for receiving the uplink message that the equipment of the localized network of being acted on behalf of sends;
Matching module is used for matching the flow template TFT IP filter corresponding with the Internet protocol IP address of described uplink message equipment;
Sending module is used for by the carrying corresponding with described TFT IP filter to the described uplink message of gateway forwards.
The implementation strategy of the embodiment of the invention and the method, gateway and the portable terminal that charge and control, by the TFT IP filter being increased mobile terminal side IP address of equipment attribute, make when portable terminal mates uplink message by the TFT IP filter, can match and the corresponding qos parameter of described equipment, satisfy the qos requirement of distinct device; Simultaneously, GW by the IP matching addresses with source IP address attribute in the up PCC IP filter and described equipment, finds corresponding up PCC rule that described uplink message is carried out PCC when receiving the uplink message of portable terminal forwarding; When GW receives the downlink message of external network transmission, by with purpose IP address properties in the descending PCC IP filter and the IP address of equipment coupling that receives the external network downlink message, can realize the equipment in portable terminal agency's the localized network is carried out the purpose of accurate PCC.
Description of drawings
Fig. 1 is the networking schematic diagram of existing P CC framework;
Fig. 2 is the implementation strategy of the embodiment of the invention and the schematic flow sheet of first embodiment of the method for the control of chargeing;
Fig. 3 is the networking schematic diagram that embodiment of the invention common moving terminal divides into groups to insert;
Fig. 4 is the implementation strategy of the embodiment of the invention and the schematic flow sheet of second embodiment of the method for the control of chargeing;
Fig. 5 is the implementation strategy of the embodiment of the invention and the schematic flow sheet of the 3rd embodiment of the method for the control of chargeing;
Fig. 6 is the implementation strategy of the embodiment of the invention and the schematic flow sheet of the 4th embodiment of the method for the control of chargeing;
Fig. 7 is the implementation strategy of the embodiment of the invention and the schematic flow sheet of the 5th embodiment of the method for the control of chargeing;
Fig. 8 is the structural representation of the gateway of the embodiment of the invention;
Fig. 9 is the structural representation of the portable terminal of the embodiment of the invention.
Embodiment
For above-mentioned purpose, the feature and advantage that make the embodiment of the invention can become apparent more, the embodiment of the invention is described in further detail below in conjunction with the drawings and specific embodiments.
The inventor is through discovering, has RemoteAddress and Subnet Mask attribute in the TFT IP filter among the existing TFT, be external network entity (external network entity) address and subnet mask, because prior art thinks that the initiator of service request is a portable terminal, the IP address of therefore giving tacit consent to portable terminal is fixing one.But the situation that connects external network for the public portable terminal of a plurality of equipment in the localized network, just the Business Stream of the uplink message that the equipment in the localized network can't be sent is tied in the suitable carrying, guarantee the QoS that this Business Stream is required, can't realize thus the uplink message that each described equipment sends is carried out PCC.The embodiment of the invention is by mating the IP address of the equipment in the localized network of source IP address attribute in the up PCC IP filter and transmission uplink message, the IP address of the equipment in the localized network of purpose IP address properties in the descending PCC IP filter and reception downlink message is mated, realized the equipment in the localized network is carried out the purpose of accurate PCC.
Embodiment one
Present embodiment provides the method for a kind of implementation strategy with the control of chargeing, and as shown in Figure 2, comprises the steps:
The uplink message that the equipment by the localized network that is arranged in described portable terminal agency that S101, mobile terminal receive transmit sends; Described uplink message is transmitted by the carrying corresponding with described TFT IP filter after matching the TFT IP filter corresponding with the IP address of equipment in the described uplink message by portable terminal.
Described uplink message is gone out the TFT IP filter and is tied in the carrying corresponding with described TFT IP filter to be transmitted to GW by the IP matching addresses of portable terminal according to described equipment.
The embodiment of the invention has increased mobile terminal side IP address of equipment attribute (certainly realizing by other attributes of expansion or newly-increased attribute) in the TFT IP filter, be used for and the IP matching addresses that sends the equipment of uplink message to portable terminal, make external network can identify this equipment in the localized network thus by the uplink message that this portable terminal is transmitted; When portable terminal was not acted on behalf of localized network, this mobile terminal side IP address of equipment attribute just was used for the IP matching addresses with portable terminal, so the scheme of the embodiment of the invention can not act on behalf of the scene of localized network well compatible with existing portable terminal.
Portable terminal in the embodiment of the invention is the agency who connects network as equipment in the localized network, and the uplink message that equipment in the localized network is sent is transmitted to GW.
Consider the problem of treatment effeciency, the quantity of IP filter is limited, therefore, and the corresponding continuous address field of the mobile terminal side IP address of equipment attribute in the TFT IP filter or certain host address.
S102, match with described uplink message in the corresponding up PCC IP filter in IP address of equipment, according to the up PCC rule of described up PCC IP filter correspondence, described uplink message is carried out strategy and charging control PCC.
Each PCC rule comprises a PCC IP filter (Packet Filter) at least, and at the qos parameter and the charging requirement of this PCC IP filter.The PCC rule is divided into up PCC rule and descending PCC rule, and the PCC IP filter basis wherein difference of attribute value is divided into up PCC IP filter and descending PCC IP filter; In the up PCC rule is up PCC IP filter, and in the descending PCC rule is descending PCC IP filter.Every the PCC rule has priority, if PCC IP filter corresponding many PCC rules, just think that unique PCC rule of limit priority of PCC IP filter correspondence comes into force.So match the PCC IP filter, promptly found corresponding PCC rule.
Present embodiment is by increasing mobile terminal side IP address of equipment attribute to the IP filter among the TFT, make portable terminal can go out the TFT IP filter and transmit, satisfy the qos requirement of distinct device by the carrying corresponding with described TFT IP filter according to the Internet protocol IP matching addresses of described equipment; Simultaneously, GW is when receiving the uplink message of portable terminal forwarding, by IP matching addresses with source IP address attribute in the up PCC IP filter and described equipment, can be according to the IP address of described equipment, described equipment is carried out accurate policy control and charging, thereby reach the purpose of a plurality of equipment of common moving terminal connection network being carried out PCC.
In the another embodiment of the present invention, can also further may further comprise the steps on the basis of embodiment one: the purpose IP address that receives the external network transmission is the downlink message of IP address of equipment in the described localized network, obtain with described downlink message in the descending strategy and the charging control PCC IP filter of IP matching addresses of equipment, according to the descending PCC rule of described descending PCC IP filter correspondence, described downlink message is carried out PCC.
Receive purpose IP address that external network sends when being the downlink message of described IP address of equipment at GW, the corresponding descending PCC rule of descending PCC IP filter that needs basis and described downlink message to mate, described downlink message is carried out PCC, for example: check some webpage or use some business if limit this equipment in the descending PCC rule of the IP address correspondence of this equipment, can forbid that then the corresponding service of this equipment uses request.
Present embodiment is compared with embodiment one, increased GW carries out PCC to the downlink message that sends to equipment in the localized network process, the downlink message that returns to described equipment by uplink message that described equipment is sent and external network carries out PCC respectively, has realized each equipment in portable terminal agency's the localized network is carried out the purpose of accurate PCC.
Embodiment two
As shown in Figure 3, the networking schematic diagram that divides into groups to insert for the common moving terminal of the embodiment of the invention.A plurality of equipment (equipment 1, equipment 2......) that portable terminal is acted on behalf of in the localized network carry out data interaction by wireless access network and GW, GW can carry out data interaction by IP backbone and external network (main office network and Internet), GW can obtain the PCC rule of equipment in the localized network from PCRF, and the PCC rule on the PCRF also can be obtained from SPR.
The implementation strategy of present embodiment and the method for chargeing and controlling as shown in Figure 4, comprise the steps:
S301, GW obtain the network segment address of described portable terminal agency's localized network.
When connection of mobile terminal into network, gateway GW can return to portable terminal to the IP address that this portable terminal itself uses, and this IP address can be the IPv4 address, or the IPv6 address prefix.
GW can obtain the network segment address of portable terminal agency's localized network with Radius (Remote Authentication Dial-In User Service, remote authentication dial-in customer service) server interaction.Described network segment address is signatory in advance predetermined by the client of tissue local network, is configured on the Radius server together with mobile terminal identification.When portable terminal connects wireless access network, after the Radius server is received the mobile terminal identification (as information such as mobile terminal user name, telephone number or IMSI numbers) of GW transmission, network segment address that can will be corresponding with this sign returns to GW together with the IP address of portable terminal use itself, and GW will be handed down to portable terminal to the IP address of portable terminal use itself.
GW also can obtain the network segment address of portable terminal agency's localized network alternately with portable terminal by dynamic routing protocol.Particularly, the network segment address of its agency's of configured in advance localized network on the portable terminal, the sign (for example IMSI) of the described portable terminal of the last configured in advance of GW and be used for directly being the local pool of portable terminal distributing IP address.When portable terminal is connected to wireless network, after the GW identification mobile terminal identification, directly from local pool, distributes the IP address of a portable terminal use itself, and return to portable terminal.GW uses another IP address with the IP address same network segment of distributing to portable terminal use itself to move dynamic routing protocol afterwards, portable terminal is the same dynamic routing protocol of IP address operation of use itself also, for example, OSPF (Open Shortest Path First, Open Shortest Path First) or RIP (Routing information Protocol, RIP).Afterwards, it is adjacent node each other that GW and portable terminal will be found respectively, and then can carry out the mutual of routing iinformation each other.
According to existing dynamic routing protocol, portable terminal is the information of the IP address of portable terminal use itself in the next hop address of the IP message of the network segment address scope of carrying the localized network that purpose IP address is positioned at its agency in the dynamic routing protocol message that GW sends, GW receives and resolves this dynamic routing protocol message, can obtain the network segment address of portable terminal agency's localized network.
Above under two kinds of situations, for the IPv4 network, described network segment address is IPv4 address field information and mask information; For the IPv6 network, described network segment address is the IPv6 address prefix information.
S302, GW obtain the up PCC rule of equipment in the described localized network from PCRF.
The PCC rule of the last management of PCRF can be the business information in the session information that provides according to AF, dynamically generates in conjunction with user signing contract information and local carrier policy, also can be that the CAMEL-Subscription-Information etc. according to the user is pre-configured.
In the PCC rule of prior art, have the attribute corresponding (the purpose IP address properties in source IP address attribute in the up PCC IP filter and the descending PCC IP filter) in the PCC IP filter with the mobile terminal IP address, but the corresponding attribute of IP address of equipment in the localized network that does not have to act on behalf of with portable terminal; Therefore, can't be suitable for the applicable cases that portable terminal is acted on behalf of localized network.
And in the PCC IP filter in the embodiment of the invention, source IP address attribute in the up PCC IP filter is used for and sends the IP address of equipment coupling of uplink message, purpose IP address properties in the descending PCC IP filter is used for and receives the IP address of equipment coupling of external network downlink message, thereby can realize the equipment in portable terminal agency's the localized network is carried out certainly realizing the purpose of accurate PCC by other attributes of expansion or newly-increased attribute.
GW obtains from PCRF that the up PCC rule of equipment can be in the described localized network, obtains the up PCC rule of equipment all in the localized network or the up PCC rule (for example some equipment does not dispose the PCC rule) of equipment component.And GW also can obtain descending PCC rule simultaneously from PCRF, so that follow-uply can carry out PCC when receiving downlink message.
The embodiment of the invention provides two kinds of described GW to obtain the mode of the up PCC rule of equipment in the localized network from PCRF:
1) GW sends to PCRF with the network segment address of described localized network; PCRF returns to described GW with the up PCC rule of described network segment address correspondence.
GW uploads for the IPv4 address of portable terminal distribution or by Framed-IPv6-Prefix to PCRF by the Framed-IP-Address in the CC-Request message and uploads the IPv6 address prefix that distributes into portable terminal in the prior art, and the response message of this order carries the PCC rule of described portable terminal.
In the embodiment of the invention, can be to (the Attribute Value Pair of the AVP in the CC-Request message, a pair of attribute and value) expand, carry the employed network segment address of a plurality of equipment that public described portable terminal divides into groups to insert by the cell of expanding.
For example, increase IPv4 address field information that Framed-Subnet-IP-Address describes the equipment that the common moving terminal divides into groups to insert, increase the IPv4 mask information that Framed-Subnet-IP-Netmask describes the equipment that the common moving terminal divides into groups to insert.Wherein Framed-Subnet-IP-Address is identical with type and the length of Framed-IP-Address, and Framed-Subnet-IP-Netmask is identical with type and the length of Framed-IP-Netmask, specifically can be with reference to the definition among the RFC4005.Equally, can increase the IPv6 address prefix information that Framed-Subnet-IPv6-Prefix describes the equipment that the common moving terminal divides into groups to insert, Framed-Subnet-IPv6-Prefix is identical with type and the length of Framed-IPv6-Prefix, specifically can be with reference to the definition among the RFC4005.
PCRF finds out the source IP address attribute up PCC IP filter corresponding with described network segment address earlier, more described up PCC IP filter is returned to GW.Perhaps, PCRF can find out source IP address attribute up PCC IP filter corresponding with described network segment address and the purpose IP address descending PCC IP filter corresponding with described network segment address simultaneously, PCC rule with described up PCC IP filter and downstream packets filter correspondence returns to GW again, comprises the PCC IP filter in the PCC rule.
2) GW sends to PCRF with the sign of the portable terminal in the described uplink message (can be telephone number or IMSI number or GW are information such as portable terminal IP address allocated one of at least); PCRF obtains the up PCC rule of equipment the localized network with the sign corresponding mobile terminal of described portable terminal agency from SPR; PCRF returns to described GW with described up PCC rule.
More excellent, GW sends to PCRF with the sign (comprising that telephone number, IMSI number and GW are the portable terminal IP address allocated) of the portable terminal in the described uplink message; PCRF obtains the up PCC rule of equipment in the localized network that telephone number, IMSI number or GW the sign with described portable terminal is the some corresponding mobile terminal agencies in the portable terminal IP address allocated from SPR; PCRF returns to described GW with described up PCC rule.
The situation of the manner correspondence is not have pre-configured PCC rule on the PCRF, and then PCRF can obtain the up PCC rule corresponding with described mobile terminal identification that prestores according to the mobile terminal identification of GW transmission from SPR.
In the manner, the CC-request message that GW sends to PCRF can be same as the prior art, all is that the sign of portable terminal sends to PCRF.Certainly, the CC-request message that GW sends to PCRF in the manner also can be identical with mode one, promptly can the AVP in the CC-Request message be expanded.CC-request message is carried the sign of portable terminal, can also carry the employed network segment address of a plurality of equipment that public described portable terminal divides into groups to insert by the cell of expansion; When not having pre-configured PCC rule on the PCRF, PCRF just handles according to the sign that CC-request message is carried portable terminal.
PCRF earlier obtains the up PCC rule of equipment the localized network with the sign corresponding mobile terminal agency of described portable terminal from SPR, more described up PCC rule is returned to GW.Perhaps in the manner, PCRF also can be simultaneously obtains up PCC rule of equipment and descending PCC rule the localized network with the sign corresponding mobile terminal agency of described portable terminal from SPR, and regular and descending PCC rule returns to GW with described up PCC again.Comprise the PCC IP filter in the PCC rule.
S303 changes out the TFT IP filter according to the up PCC IP filter in the described up PCC rule; And qos parameter and the described TFT IP filter in each described up PCC rule be issued to described portable terminal, so that portable terminal is set up corresponding relation for carrying and the TFT IP filter corresponding with described qos parameter.
After GW obtains the PCC rule of localized network by aforesaid dual mode, GW changes out the TFT IP filter according to the up PCC IP filter in the up PCC rule of obtaining, then can be by GW by GTP (GPRSTunnel Protocol with qos parameter in the described up PCC rule and described TFT IP filter, GPRS Tunnel Protocol) message is issued to portable terminal with the form of QoS file and TFT, specifically can be that GW is carrying described qos parameter and TFT IP filter for the cell by expansion in the response message of portable terminal distributing IP address.As in GPRS network, GW is GGSN (Gateway GPRS Supporting Node, GGSN), GGSN responds CreatePDP Context Response message and gives SGSN (Serving GPRS Supporting Node, the GPRS serving GPRS support node), and final notice comprises qos parameter and TFT IP filter information that portable terminal once activates the equipment that obtains behind the PDPContext to portable terminal in the message.
Because qos parameter and TFT IP filter all are arranged in the message at carrying, therefore, after portable terminal receives qos parameter and TFT IP filter, can set up the corresponding relation of carrying and TFT IP filter, be convenient to follow-up use.
Aforesaid TFT IP filter comprises mobile terminal side IP address of equipment attribute, for example can be Local Address and Subnet Mask, and type and length are identical with RemoteAddress and Subnet Mask in the prior art packet filtering.The concrete value of mobile terminal side IP address of equipment attribute is in the network segment of Framed-Subnet-IP-Address and Framed-Subnet-IP-Netmask or Framed-Subnet-IPv6-Prefix sign, and mobile terminal side IP address of equipment attribute is used for the IP matching addresses with the equipment that sends message.
Optionally, also comprise step S304, PCRF carries out related to the IP address of described portable terminal with described network segment address.
PCRF obtains network segment address two kinds of ways of realization: i) GW sends to PCRF with the network segment address of described localized network when sending mobile terminal identification, ii) SPR sends to PCRF with the network segment address corresponding with mobile terminal identification simultaneously when returning the PCC rule to PCRF.Described network segment address can carry by the cell of expansion.
If PCRF does not carry out related to the IP address of portable terminal with described network segment address, when the PCC rule under being summarised in mobile terminal identification changes, need the PCC rule of each equipment of portable terminal agency's localized network be refreshed, then can't find the PCC rule of each equipment of portable terminal agency's localized network to refresh.Therefore, preferred, PCRF carries out related to the IP address of described portable terminal and described network segment address, like this when refreshing the PCC rule according to mobile terminal identification, and can the Synchronous Processing PCC rule relevant with described network segment address.For example the charging of whole localized network may be summarised under the mobile terminal identification, if arrearage, then need the strategy in the relevant PCC rule of described network segment address all is revised as and forbid sending message to external network.
Further, GW can also carry out related with described network segment address to the IP address of described portable terminal.Wherein, GW can also carry out related with described network segment address to the IP address of described portable terminal, be when preventing that the described equipment of subsequent network side direction from sending downlink message, GW thinks according to the IP address of described equipment and causes professional use unusual by the not portable terminal of management and this downlink message is abandoned to one's name of this equipment.If certainly just can confirm according to the IP address of equipment that for GW the IP address that just need not to carry out described portable terminal is carried out related with described network segment address under the situation of the scope of to one's name managing.
In the present embodiment, the effect of portable terminal mainly is that session is set up and carrying is set up, so that each equipment in its agency's the localized network, uses session that portable terminal sets up and carrying and network side to carry out business exchange jointly.To the IP address of portable terminal and network segment address carry out related after, GW can put on an equal footing the IP address of described equipment and the IP address of portable terminal.And, when session is deleted, can thoroughly remove with the PCC rule of each equipment in the network segment address of the IP address correlation of the portable terminal of setting up this session, discharge the storage resources on the GW, guarantee the effective operation of GW.
Because GW is before the PCC rule of obtaining each equipment in the described localized network from PCRF, just obtained the network segment address of localized network, therefore, GW to the IP address of portable terminal and facility network sector address carry out related can be before sending CC-request to PCRF.
The uplink message that the equipment by the localized network that is arranged in described portable terminal agency that S305, GW mobile terminal receive transmit sends.
Described uplink message is transmitted by the carrying corresponding with described TFT IP filter after matching the TFT IP filter corresponding with the IP address of equipment in the described uplink message by portable terminal.
After the uplink message that portable terminal sends equipment was transmitted to GW, GW will carry out PCC to this uplink message according to the up PCC rule of this equipment correspondence, for example whether allow by, whether need the fields such as IP address in the message are revised and charging etc.
TFT IP filter in the embodiment of the invention has increased mobile terminal side IP address of equipment attribute, is used for and sends the IP matching addresses of the equipment of uplink message.When portable terminal is not acted on behalf of localized network and when initiating the equipment of uplink message, described mobile terminal side IP address of equipment attribute just is used for the IP matching addresses with portable terminal.
Portable terminal carries out the coupling of TFT IP filter to described uplink message, then by the carrying of storing on the portable terminal and the corresponding relation of TFT IP filter, obtain and the corresponding carrying of described TFT IP filter, and this uplink message is bundled in the described carrying is transmitted to GW.
Wherein, coupling be meant the field information (as each field of IP heading and TCP/UDP) of determining the uplink data messages that gets access to and the Business Stream information (the corresponding attribute in the IP filter as described) that writes down is identical respectively or each field value lay respectively at as described in the span of each attribute of TFT IP filter.
For example, the protocol type in the uplink message is 6 (being TCP), and source port number is 1000, and the destination slogan is 1200, and purpose IP address is 201.2.2.1.(the bracket front is the IP address field and the content of the Remote Address andSubnet Mask attribute in IP filter is for { 201.2.2.0[255.255.255.0] }, bracket inside is netmask), the content of Protocol Number attribute is 6 (expression TCP), the following of Local Port Range attribute is limited to 900, on be limited to 1100, the value of Remote Port Range attribute is 1200.Because purpose IP address 201.2.2.1 belongs to the represented network segment scope of Remote Address and SubnetMask attribute in the uplink message, source port number 1000 belongs to Local Port Range attribute bound scope, and other field in the uplink message is identical with other corresponding attribute value in the TFT IP filter, so this uplink message and this TFT IP filter mate.If uplink message and existing any one TFT IP filter all do not match, in order to guarantee professional normal use, portable terminal and GW can be tied to this uplink message on the default bearer.
The source IP address that is appreciated that the equipment that divides into groups to insert for the common moving terminal should be an address in Framed-Subnet-IP-Address and the Framed-Subnet-IP-Netmask or the Framed-Subnet-IPv6-Prefix sign network segment.
S306, GW match with described uplink message in the corresponding up PCC IP filter in IP address of equipment, according to the up PCC rule of described up PCC IP filter correspondence, described uplink message is carried out PCC.
After GW receives the described uplink message of portable terminal forwarding, mate by up PCC IP filter described uplink message and self storage, find corresponding up PCC rule, described uplink message is carried out policy control and charging, thereby realize PCC described equipment.
Optionally, present embodiment also comprises: the purpose IP address that receives the external network transmission is the downlink message of IP address of equipment in the described localized network, obtain with described downlink message in the descending PCC IP filter of IP matching addresses of equipment, according to the descending PCC rule of described descending PCC IP filter correspondence, described downlink message is carried out PCC.
Wherein, descending PCC rule can be obtained simultaneously with above-mentioned up PCC rule, also can use and the identical acquiring way of up PCC rule, specifically can be referring to step 302.
For the equipment that accurately the common moving terminal is divided into groups to insert carries out PCC, in the PCC IP filter of PCC rule, the source IP address attribute of up PCC IP filter and the purpose IP address properties of descending PCC IP filter can accurately match concrete IP address of equipment, as long as value is in the network segment of Framed-Subnet-IP-Address and Framed-Subnet-IP-Netmask or Framed-Subnet-IPv6-Prefix sign.
For portable terminal, in the whole life after online, safeguard TFT IP filter information among the TFT according to signaling message, just can be tied to the uplink message of these TFT IP filters of coupling in the corresponding carrying, transmit to the GW side.For GW, safeguard PCC IP filter information, just the IP message of the equipment that can divide into groups to insert with the common moving terminal mates, and utilizes the flow process of prior art to realize PCC based on stream.
Present embodiment is by increasing mobile terminal side IP address of equipment attribute to the TFT IP filter, make when portable terminal mates uplink message by the TFT IP filter, can match and the corresponding qos parameter of described equipment, satisfy the qos requirement of distinct device; Simultaneously, GW is when receiving the uplink message of portable terminal forwarding, by IP matching addresses with source IP address attribute in the up PCC IP filter and described equipment, find corresponding up PCC rule that described uplink message is carried out PCC, reach the purpose of a plurality of equipment of common moving terminal connection network being carried out PCC.
Embodiment three
Implementation strategy that present embodiment provides and the method for chargeing and controlling as shown in Figure 5, comprising:
The uplink message that the equipment by the localized network that is arranged in described portable terminal agency that S401, GW mobile terminal receive transmit sends.
Described uplink message is transmitted by the carrying corresponding with described TFT IP filter after matching the TFT IP filter corresponding with the IP address of equipment in the described uplink message by portable terminal.
S402, GW discerns the type of service of described uplink message, if the qos parameter in the up PCC rule of described uplink message correspondence satisfies the parameter request of described type of service, then execution in step S403:GW basis and the corresponding up PCC rule of up PCC IP filter that described uplink message mates are carried out PCC to described equipment; If the qos parameter in the up PCC rule of described uplink message correspondence does not satisfy the parameter request of described type of service, then before step S403, comprise that also step S402a:GW obtains the up PCC rule of described equipment from PCRF, use new up PCC rule to substitute original up PCC rule, the conversion TFT IP filter that makes new advances according to the up PCC IP filter in the new up PCC rule, and qos parameter and described TFT IP filter in the new up PCC rule be issued to described portable terminal, so that portable terminal rebulids corresponding relation for carrying and the TFT IP filter corresponding with described qos parameter.
GW in the present embodiment opens DPI (Deep Packet Inspection, deep message detects) function, can discern the type of service of the uplink message that receives, and detect the qos requirement whether qos parameter in the up PCC rule of described uplink message correspondence satisfies described type of service.
Concrete, for example GGSN initiates the PDP context modification flow process to portable terminal, and the qos parameter and the TFT IP filter of described equipment sent to portable terminal.Described TFT IP filter information also comprises as that describe among the embodiment two and the mobile terminal side IP address of equipment attribute IP address of equipment coupling.
GW is specifically as follows from the new up PCC rule that PCRF obtains described equipment: GW sends to PCRF with the IP address of described equipment; PCRF returns to described GW with the up PCC rule corresponding with the up PCC IP filter of described IP address of equipment coupling.
GW has the DPI function, can detect the PCC rule of having stored in real time and whether be applicable to the uplink message that portable terminal is transmitted up, if the PCC rule of having stored is not suitable for described uplink message, then obtain the PCC rule again, use new PCC rule to substitute original PCC rule, change out the TFT IP filter according to the up PCC IP filter in the new up PCC rule, and the qos parameter in the new PCC rule and described TFT IP filter be handed down to portable terminal with the form of QoS file and TFT, make the portable terminal can be according to described qos parameter, TFT IP filter and the carrying related with described qos parameter, regenerate the corresponding relation of described carrying and TFT IP filter, for described uplink message provides QoS more accurately.
After GW gets access to new PCC rule, can use new PCC rule that described equipment is carried out PCC.
In the present embodiment, GW obtains the PCC rule of described equipment from PCRF, can be by sending session modification request to PCRF, this session modification request can be carried the IP address of described equipment, and PCRF gives GW by the session modification response with the PCC rule downloading of described equipment then.
Present embodiment is by increasing mobile terminal side IP address of equipment attribute to the IP filter among the TFT, make when portable terminal mates uplink message by the TFT IP filter, can match and the corresponding qos parameter of described equipment, satisfy the qos requirement of distinct device; Simultaneously, GW is when receiving the uplink message of portable terminal forwarding, by IP matching addresses with source IP address attribute in the up PCC IP filter and described equipment, find corresponding up PCC rule that described uplink message is carried out PCC, reach the purpose of a plurality of equipment of common moving terminal connection network being carried out PCC.GW has the DPI function, can detect the PCC rule of having stored in real time and whether be applicable to the uplink message that portable terminal is transmitted up, if the inapplicable PCC rule of then obtaining again, use new PCC rule to substitute original PCC rule, change out the TFT IP filter according to the up PCC IP filter in the new up PCC rule, and the qos parameter in the new up PCC rule and described TFT IP filter be handed down to portable terminal with the form of QoS file and TFT, so that the corresponding relation of mobile terminal to update carrying and TFT IP filter can carry out PCC more accurately to the equipment in portable terminal agency's the localized network.Owing to can carry out PCC to a plurality of equipment that the common moving terminal connects network, therefore, provide the application scenarios of service as server for external network for the equipment in the localized network, the method for present embodiment can be suitable for too.
Embodiment four
Implementation strategy that present embodiment provides and the method for chargeing and controlling as shown in Figure 6, comprising:
S501, portable terminal receive the uplink message that the equipment in the localized network of being acted on behalf of sends.
S502, portable terminal is discerned the type of service of described uplink message, give AF with the IP address notification of the equipment in described type of service and the described uplink message, AF provides the business information that comprises current uplink message type of service at least and the IP address of the equipment in the described uplink message to PCRF, PCRF dynamically generates up PCC rule according to described business information; Described up PCC IP address of equipment regular and in the described uplink message is corresponding.
Portable terminal in the present embodiment has been opened the DPI function, can identify the type of service of described uplink message.Portable terminal is given AF with the IP address notification of the type of service that identifies and the equipment in the described uplink message, AF provides the business information of current uplink message and the IP address of the equipment in the described uplink message to PCRF, PCRF can also be further combined with user signing contract information and local carrier policy, dynamically generate the PCC rule, the IP address of the equipment in described up PCC rule and the described uplink message is corresponding.
S503, PCRF sends to GW with new up PCC rule, and GW uses new up PCC rule to substitute original up PCC rule; Change out the TFT IP filter according to the up PCC IP filter in the new up PCC rule, and qos parameter and described TFT IP filter in the described new up PCC rule be issued to described portable terminal, so that portable terminal rebulids corresponding relation for carrying and the TFT IP filter corresponding with described qos parameter.
In this step, PCRF initiatively is handed down to GW with newly-generated PCC rule.
S504, portable terminal transmit described uplink message by the carrying corresponding with described TFT IP filter after matching the TFT IP filter corresponding with the IP address of equipment in the described uplink message.
The uplink message of the described TFT IP filter of coupling that S505, GW mobile terminal receive transmit, according to the corresponding up PCC rule of up PCC IP filter of described uplink message coupling, described uplink message is carried out PCC.
Wherein, after portable terminal receives the uplink message that equipment sends in the localized network of being acted on behalf of, can carry out buffer memory to this above-mentioned message according to said sequence, standby communication terminal also can mate uplink message according to default corresponding relation earlier and transmit from carrying out the matching operation of TFT IP filter after GW obtains up-to-date qos parameter of this equipment and TFT IP filter again.Therefore, order before and after step S504 and S505 can be regardless of.
Present embodiment is by increasing mobile terminal side IP address of equipment attribute to the IP filter among the TFT, make when portable terminal mates uplink message by the TFT IP filter, can match and the corresponding qos parameter of described equipment, satisfy the qos requirement of distinct device; Simultaneously, GW is when receiving the uplink message of portable terminal forwarding, by IP matching addresses with source IP address attribute in the up PCC IP filter and described equipment, find corresponding up PCC rule that described uplink message is carried out PCC, reach the purpose of a plurality of equipment of common moving terminal connection network being carried out PCC.Portable terminal has the DPI function, can identify the type of service of the uplink message that equipment sends in the localized network of being acted on behalf of, and with this type of service notice AF, trigger PCC rule dynamic refresh process, GW obtains and corresponding qos parameter of this Business Stream and PCC IP filter, and described uplink message is carried out PCC more accurately.Owing to can carry out PCC to a plurality of equipment that the common moving terminal connects network, therefore, provide the application scenarios of service as server for external network for the equipment in the localized network, the method for present embodiment can be suitable for too.
Embodiment three, embodiment four are more to the similar content among the embodiment two, and that therefore describes is simpler, specifically can be referring to the related content of embodiment two.
Embodiment five
Implementation strategy that present embodiment provides and the method for chargeing and controlling as shown in Figure 7, comprising:
S601, GW receives the downlink message of IP address of equipment in the localized network that purpose IP address that external network sends is the portable terminal agency, match and the corresponding descending PCC IP filter of IP address of equipment in the described downlink message, according to the descending PCC rule of described descending PCC IP filter correspondence, described downlink message is carried out PCC.
Before the downlink message that receives the external network transmission, described method comprises that also step S601a:GW obtains the descending PCC rule of equipment in the described localized network from PCRF.
Optionally, before step S601, comprise that also step S601b:GW carries out related to the IP address of described portable terminal with described network segment address.
GW carries out related to the IP address of described portable terminal with described network segment address, be when preventing that the described equipment of subsequent network side direction from sending downlink message, GW thinks according to the IP address of described equipment and causes professional use unusual by the not portable terminal of management and this downlink message is abandoned to one's name of this equipment.If certainly just can confirm according to the IP address of equipment that for GW the IP address that just need not to carry out described portable terminal is carried out related with described network segment address under the situation of the scope of to one's name managing.
In the present embodiment, the effect of portable terminal mainly is that session is set up and carrying is set up, so that a plurality of equipment in its agency's the localized network, uses session that portable terminal sets up and carrying and network side to carry out business exchange jointly.To the IP address of portable terminal and network segment address carry out related after, GW can put on an equal footing the IP address of described equipment and the IP address of portable terminal.And, when session is deleted, can thoroughly remove with the PCC rule of equipment in the network segment address of the IP address correlation of the portable terminal of setting up this session, discharge the storage resources on the GW, guarantee the effective operation of GW.
Because GW is before the PCC rule of obtaining equipment in the described localized network from PCRF, just obtained the network segment address of localized network, therefore, GW to the IP address of portable terminal and facility network sector address carry out related can be before sending CC-request to PCRF.
Optionally, can also comprise: PCRF carries out related to the IP address of described portable terminal with described network segment address.PCRF carries out related to the IP address of described portable terminal and described network segment address, when refreshing the PCC rule according to mobile terminal identification, and can the Synchronous Processing PCC rule relevant with described network segment address.For example the control law to localized network is summarised under the mobile terminal identification, if the rule corresponding with this mobile terminal identification is for banning use of instant communication software, then the strategy in the descending PCC rule that can described network segment address is relevant all is revised as the downlink message of forbidding external network and passes through, and is convenient to refreshing and managing of descending PCC rule.
Describedly obtain from PCRF that the descending PCC rule of equipment can comprise following two kinds of implementations in the localized network:
1) GW sends to PCRF with the network segment address of described localized network; PCRF returns to described GW with the descending PCC rule of described network segment address correspondence.
2) GW sends to PCRF with the sign of described portable terminal; PCRF obtains the descending PCC rule of equipment the localized network with the sign corresponding mobile terminal of described portable terminal agency from SPR; PCRF returns to described GW with described descending PCC rule.
This mode can also comprise: PCRF obtains the network segment address of localized network from SPR; PCRF carries out related to the IP address of described portable terminal with described network segment address.
GW obtains descending PCC rule and can obtain simultaneously with the up PCC rule among the embodiment two, also can obtain simultaneously with the up PCC rule among embodiment three, the embodiment four.
Before step S601, the GW for having opened the DPI function can also comprise: GW discerns the type of service of described downlink message, if the qos parameter in the descending PCC rule of described downlink message correspondence does not satisfy the parameter request of described type of service; Then obtain the new descending PCC rule of described equipment from PCRF; Use new descending PCC rule to substitute original descending PCC rule.
Those skilled in the art in conjunction with the embodiments two, embodiment three and embodiment four disclosed contents, can easily technical scheme among these embodiment and embodiment five be carried out cross coupled, derive the scheme of more downlink message being carried out PCC, the embodiment of the invention is not enumerated one by one to this.
The implementation strategy of present embodiment and the method for chargeing and controlling, be applicable to network side according to the response downlink message that the uplink message of equipment in the localized network returns, be applicable to that also network side is initiatively to the downlink message (for example advertisement, notice etc.) of each device broadcasts of mobile terminal side.
In the PCC IP filter in the present embodiment, purpose IP address properties in the descending PCC IP filter is used for and receives the IP address of equipment coupling of external network downlink message, thereby can realize the equipment in portable terminal agency's the localized network is carried out the purpose of accurate PCC.
Embodiment six
The embodiment of the invention also provides a kind of gateway, as shown in Figure 8, comprising:
Receiver module 10, be used for the uplink message that the equipment by the localized network that is positioned at described portable terminal agency that mobile terminal receive transmits sends, described uplink message is transmitted by the carrying corresponding with described TFT IP filter after matching the TFT IP filter corresponding with the IP address of equipment in the described uplink message by portable terminal;
Control module 20 is used for matching the corresponding up PCC IP filter in IP address with the equipment of described uplink message, according to the up PCC rule of described up PCC IP filter correspondence, described uplink message is carried out PCC.
Preferably, described receiver module 10 also is used for: the purpose IP address that receives the external network transmission is the downlink message of described localized network IP address of equipment;
Described control module 20 also is used for: match the descending PCC IP filter corresponding with the IP address of equipment of described downlink message, according to the descending PCC rule of described descending PCC IP filter correspondence, described downlink message is carried out PCC.
Described gateway can also comprise:
Acquisition module 30 is used for before the message that described receiver module 10 mobile terminal receives are transmitted, and obtains the up PCC rule and/or the descending PCC rule of equipment in the described localized network from PCRF;
Modular converter 40 is used for changing out the TFT IP filter according to the up PCC IP filter of described up PCC rule;
Sending module 50 is used for the qos parameter and the described TFT IP filter of each described up PCC rule are issued to described portable terminal, so that portable terminal is set up corresponding relation for carrying and the TFT IP filter corresponding with described qos parameter.
Described acquisition module 30 can also be used for: the network segment address that obtains described localized network; Described acquisition module 30 can comprise: transmitting element is used for the network segment address of described localized network is sent to PCRF; Receiving element is used to receive the interior PCC rule of described network segment address that PCRF returns.
Described gateway can also comprise: relating module 60 is used for carrying out related to the IP address of described portable terminal with described network segment address.
Described gateway can also comprise:
Type of service identification module 70 is used to discern the type of service of described uplink message or downlink message;
Detection module 80, whether the qos parameter that is used for detecting the up PCC rule of described uplink message correspondence satisfies the parameter request of described type of service; If described testing result is then called described acquisition module 30 obtains described equipment from PCRF new up PCC rule for not; Or detect the parameter request whether qos parameter in the descending PCC rule of described downlink message correspondence satisfies described type of service; If described testing result is then called described acquisition module obtains described equipment from PCRF new descending PCC rule for not;
Replace module 90, be used to use the new alternative original up PCC rule of up PCC rule and use new descending PCC rule to substitute original descending PCC rule.Can also be after described modular converter 40 be changed out the TFT IP filter according to the up PCC IP filter in the described up PCC rule, call described sending module 50 qos parameter in the new up PCC rule and described TFT IP filter are issued to portable terminal with the form of QoS file and TFT, so that portable terminal rebulids corresponding relation for carrying and the TFT IP filter corresponding with described qos parameter.
Present embodiment is by increasing mobile terminal side IP address properties to the TFT IP filter, make that the gateway of present embodiment can be according to the IP address of described equipment, described equipment is carried out accurate policy control and charging, reach the purpose of a plurality of equipment of common moving terminal connection network being carried out PCC; And the gateway of present embodiment can be discerned the type of service of uplink message, judges whether accord with Q oS demand of carrying that described type of service uses, if do not meet the PCC rule of then obtaining this equipment again, realizes described equipment and message PCC more accurately.
Embodiment seven
The embodiment of the invention also provides a kind of portable terminal, as shown in Figure 9, comprising:
Receiver module 11 is used for receiving the uplink message that the equipment of the localized network of being acted on behalf of sends;
Matching module 22 is used for matching the flow template TFT IP filter corresponding with the Internet protocol IP address of described uplink message equipment;
Sending module 33 is used for by the carrying corresponding with described TFT IP filter to the described uplink message of gateway forwards.
Preferably, described receiver module 11 also is used for: receive qos parameter and TFT IP filter that gateway issues; Then described portable terminal also comprises generation module 44: be used to carrying corresponding with described qos parameter and TFT IP filter to set up corresponding relation.
Preferred, described portable terminal also comprises identification module 55: the type of service that is used to discern described uplink message; Then described sending module 33 also is used for: give application function AF with the Internet protocol IP address notification of the equipment of described type of service and described uplink message.
Present embodiment is by increasing mobile terminal side IP address properties to the TFT IP filter, when making the portable terminal of present embodiment mate uplink message by the TFT IP filter, can match and the corresponding qos parameter of described equipment, satisfy the qos requirement of distinct device; Simultaneously, portable terminal can be discerned the type of service of uplink message, can be dynamically from GW obtain the equipment correspondence qos parameter and TFT IP filter, make the uplink message that described equipment is sent that QoS more accurately is provided.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer-readable recording medium, this program is when carrying out, comprise the steps: the uplink message that the equipment by the localized network that is arranged in described portable terminal agency that mobile terminal receive is transmitted sends, described uplink message is transmitted by the carrying corresponding with described TFT IP filter after matching the TFT IP filter corresponding with the IP address of equipment in the described uplink message by portable terminal; Match with described uplink message in the corresponding up PCC IP filter in IP address of equipment, according to the up PCC rule of described up PCC IP filter correspondence, described uplink message is carried out PCC.Described storage medium, as: ROM/RAM, magnetic disc, CD etc.
Need to prove, in this article, relational terms such as first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint and have the relation of any this reality or in proper order between these entities or the operation.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make and comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as this process, method, article or equipment intrinsic key element.Do not having under the situation of more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
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, be equal to replacement, improvement etc., all be included in protection scope of the present invention.

Claims (24)

1. the method for an implementation strategy and the control of chargeing is characterized in that, comprising:
The uplink message that the equipment by the localized network that is arranged in described portable terminal agency that mobile terminal receive is transmitted sends, described uplink message is transmitted by the carrying corresponding with described TFT IP filter after matching the flow template TFT IP filter corresponding with the Internet protocol IP address of equipment in the described uplink message by portable terminal;
Match with described uplink message in the corresponding up strategy and the charging control PCC IP filter in IP address of equipment, according to the up PCC rule of described up PCC IP filter correspondence, described uplink message is carried out strategy and charging control PCC.
2. as claim 1, described method is characterized in that, before the message that mobile terminal receive is transmitted, described method also comprises:
Obtain the up PCC rule of equipment in the described localized network from "Policy and Charging Rules Function PCRF.
3. method as claimed in claim 2 is characterized in that, described method also comprises:
Change out the TFT IP filter according to the up PCC IP filter in the described up PCC rule;
Service quality QoS parameter and described TFT IP filter in each described up PCC rule are issued to described portable terminal, so that portable terminal is set up corresponding relation for carrying and the TFT IP filter corresponding with described qos parameter.
4. method as claimed in claim 2 is characterized in that, describedly obtains from PCRF that the up PCC rule of equipment is specially in the localized network:
Gateway GW sends to PCRF with the network segment address of described localized network;
PCRF returns to described GW with the up PCC rule of described network segment address correspondence.
5. method as claimed in claim 2 is characterized in that, describedly obtains from PCRF that the up PCC rule of equipment is specially in the localized network:
Gateway GW sends to PCRF with the sign of the portable terminal in the described uplink message;
PCRF obtains the up PCC rule of equipment the localized network with the sign corresponding mobile terminal of described portable terminal agency from CAMEL-Subscription-Information knowledge base SPR;
PCRF returns to described GW with described up PCC rule.
6. method as claimed in claim 5 is characterized in that, described method also comprises:
Described PCRF obtains the network segment address of described localized network from described SPR;
Described PCRF carries out related to the IP address of described portable terminal with described network segment address.
7. the method for claim 1 is characterized in that, behind the uplink message that receives the portable terminal forwarding, described method also comprises:
Discern the type of service of described uplink message, if the qos parameter in the up PCC rule of described uplink message correspondence does not satisfy the parameter request of described type of service;
Then obtain the new up PCC rule of described equipment from "Policy and Charging Rules Function PCRF;
Use new up PCC rule to substitute original up PCC rule.
8. method as claimed in claim 7, it is characterized in that, described method also comprises: the conversion TFT IP filter that makes new advances according to the up PCC IP filter in the new up PCC rule, and service quality QoS parameter in the new up PCC rule and described new TFT IP filter be issued to described portable terminal.
9. method as claimed in claim 7 is characterized in that, the described new up PCC rule of obtaining described equipment from PCRF is specially:
GW sends to PCRF with the IP address of described equipment;
PCRF returns to described GW with the up PCC rule corresponding with the up PCC IP filter of described IP address of equipment coupling.
10. the method for claim 1 is characterized in that, before described portable terminal was to uplink message and TFT IP filter coupling, described method also comprised:
Described portable terminal is discerned the type of service of described uplink message, give application function AF with the IP address notification of the equipment in described type of service and the described uplink message, AF provides the business information that comprises current uplink message type of service at least and the IP address of the equipment in the described uplink message to "Policy and Charging Rules Function PCRF, and PCRF generates up PCC rule; Described up PCC IP address of equipment regular and in the described uplink message is corresponding, and PCRF sends to gateway GW with described up PCC rule.
11. the method for claim 1 is characterized in that, described method also comprises:
The purpose IP address that receives the external network transmission is the downlink message of IP address of equipment in the described localized network,
Obtain with described downlink message in the descending strategy and the charging control PCC IP filter of IP matching addresses of equipment, according to the descending PCC rule of described descending PCC IP filter correspondence, described downlink message is carried out PCC.
12. the method for an implementation strategy and the control of chargeing is characterized in that, comprising:
Receive purpose Internet protocol IP address that external network sends and be the downlink message of IP address of equipment in portable terminal agency's the localized network, match and corresponding descending strategy and the charging control PCC IP filter of IP address of equipment in the described downlink message, according to the descending PCC rule of described descending PCC IP filter correspondence, described downlink message is carried out PCC.
13. method as claimed in claim 12 is characterized in that, before the downlink message that receives the external network transmission, described method also comprises:
Obtain the descending PCC rule of equipment in the described localized network from "Policy and Charging Rules Function PCRF.
14. method as claimed in claim 13 is characterized in that, describedly obtains from PCRF that the descending PCC rule of equipment is specially in the localized network:
Gateway GW sends to PCRF with the network segment address of described localized network;
PCRF returns to described GW with the descending PCC rule of described network segment address correspondence.
15. method as claimed in claim 13 is characterized in that, describedly obtains from PCRF that the descending PCC rule of equipment is specially in the localized network:
Gateway GW sends to PCRF with the sign of described portable terminal;
PCRF obtains the descending PCC rule of equipment the localized network with the sign corresponding mobile terminal of described portable terminal agency from CAMEL-Subscription-Information knowledge base SPR;
PCRF returns to described GW with described descending PCC rule.
16. method as claimed in claim 15 is characterized in that, described method also comprises:
Described PCRF obtains the network segment address of described localized network from described SPR;
Described PCRF carries out related to the IP address of described portable terminal with described network segment address.
17. method as claimed in claim 12 is characterized in that, the downlink message of IP address of equipment in receiving the localized network that purpose Internet protocol IP address that external network sends is the portable terminal agency, and described method also comprises:
Discern the type of service of described downlink message, if the qos parameter in the descending PCC rule of described downlink message correspondence does not satisfy the parameter request of described type of service;
Then obtain the new descending PCC rule of described equipment from "Policy and Charging Rules Function PCRF;
Use new descending PCC rule to substitute original descending PCC rule.
18. method as claimed in claim 12 is characterized in that, described method comprises that also described GW carries out related to the IP address of described portable terminal and the network segment address of described localized network.
19. a gateway is characterized in that, described gateway comprises:
Receiver module, be used for the uplink message that the equipment by the localized network that is positioned at described portable terminal agency that mobile terminal receive transmits sends, after described uplink message matches the flow template TFT IP filter corresponding with the Internet protocol IP address of equipment in the described uplink message by portable terminal, transmit by the carrying corresponding, and/or the purpose IP address that the reception external network sends is the downlink message of IP address of equipment in the described localized network with described TFT IP filter;
Control module, be used for matching corresponding up strategy and the charging control PCC IP filter in IP address with the equipment of described uplink message, according to the up PCC rule of described up PCC IP filter correspondence, described uplink message is carried out strategy and charging control PCC; And/or match and the corresponding descending PCC IP filter of IP address of equipment in the described downlink message, according to the descending PCC rule of described descending PCC IP filter correspondence, described downlink message is carried out PCC.
20. gateway as claimed in claim 19 is characterized in that, described gateway also comprises:
Acquisition module is used for before the message that described receiver module mobile terminal receive is transmitted, and obtains the up PCC rule and/or the descending PCC rule of equipment in the described localized network from "Policy and Charging Rules Function PCRF.
21. gateway as claimed in claim 19 is characterized in that, described gateway also comprises:
Relating module is used for carrying out related to the IP address of described portable terminal with described network segment address.
22. gateway as claimed in claim 19 is characterized in that, described gateway also comprises:
The type of service identification module is used to discern the type of service of described uplink message or downlink message;
Detection module, whether the qos parameter that is used for detecting the up PCC rule of described uplink message correspondence satisfies the parameter request of described type of service; If described testing result is then called described acquisition module obtains described equipment from PCRF new up PCC rule for not; Or detect the parameter request whether qos parameter in the descending PCC rule of described downlink message correspondence satisfies described type of service; If described testing result is then called described acquisition module obtains described equipment from PCRF new descending PCC rule for not;
Replace module, be used to use new up PCC rule to substitute original up PCC rule; Or use new descending PCC rule to substitute original descending PCC rule.
23. a portable terminal is characterized in that, described portable terminal comprises:
Receiver module is used for receiving the uplink message that the equipment of the localized network of being acted on behalf of sends;
Matching module is used for matching the flow template TFT IP filter corresponding with the Internet protocol IP address of described uplink message equipment;
Sending module is used for by the carrying corresponding with described TFT IP filter to the described uplink message of gateway forwards.
24. portable terminal as claimed in claim 23 is characterized in that, described portable terminal also comprises:
Identification module: the type of service that is used to discern described uplink message;
Then described sending module also is used for: give application function AF with the Internet protocol IP address notification of the equipment of described type of service and described uplink message.
CN2009102618192A 2009-12-30 2009-12-30 Method, gateway and mobile terminal for realizing strategy and charging control Active CN101800967B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN2009102618192A CN101800967B (en) 2009-12-30 2009-12-30 Method, gateway and mobile terminal for realizing strategy and charging control
PCT/CN2010/080384 WO2011079782A1 (en) 2009-12-30 2010-12-28 Policy and charging control method, gateway and mobile terminal thereof
EP10840570.5A EP2521385B1 (en) 2009-12-30 2010-12-28 Policy and charging control method, gateway and mobile terminal thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102618192A CN101800967B (en) 2009-12-30 2009-12-30 Method, gateway and mobile terminal for realizing strategy and charging control

Publications (2)

Publication Number Publication Date
CN101800967A true CN101800967A (en) 2010-08-11
CN101800967B CN101800967B (en) 2012-12-12

Family

ID=42596403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102618192A Active CN101800967B (en) 2009-12-30 2009-12-30 Method, gateway and mobile terminal for realizing strategy and charging control

Country Status (3)

Country Link
EP (1) EP2521385B1 (en)
CN (1) CN101800967B (en)
WO (1) WO2011079782A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977239A (en) * 2010-11-11 2011-02-16 华为技术有限公司 Method for making strategy, strategy server and gateway
WO2011079782A1 (en) * 2009-12-30 2011-07-07 华为技术有限公司 Policy and charging control method, gateway and mobile terminal thereof
CN102726077A (en) * 2011-12-31 2012-10-10 华为技术有限公司 Method and device for processing message in PCC architecture
CN102726115A (en) * 2011-11-25 2012-10-10 华为技术有限公司 Filter processing method based on Gx interface, and PGW and PCRF
WO2013116978A1 (en) * 2012-02-06 2013-08-15 华为技术有限公司 Method, device and system for processing user resource request
CN103856983A (en) * 2012-11-30 2014-06-11 中兴通讯股份有限公司 Data filtering control processing method and device
WO2014183716A1 (en) * 2013-11-11 2014-11-20 中兴通讯股份有限公司 Strategy control method and device, gateway device and storage medium
WO2015000136A1 (en) * 2013-07-02 2015-01-08 华为技术有限公司 Application stream detecting method, entity, and system
CN104754657A (en) * 2013-12-30 2015-07-01 中兴通讯股份有限公司 Strategy control method, strategy executing and transmitting device
WO2017075781A1 (en) * 2015-11-05 2017-05-11 华为技术有限公司 Method, apparatus, and system for processing data packets
CN116996332A (en) * 2023-09-28 2023-11-03 无锡沐创集成电路设计有限公司 Network message filter, filtering method and network message filter set

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6216452B2 (en) * 2013-07-18 2017-10-18 コンヴィーダ ワイヤレス, エルエルシー Billing for relay devices

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1129272C (en) * 2000-12-15 2003-11-26 华为技术有限公司 Virtual local area network access method in ethernet access network
KR100886551B1 (en) * 2003-02-21 2009-03-02 삼성전자주식회사 Apparatus for traffic flow template packet filtering according to internet protocol version in mobile communication system and method thereof
CN100466783C (en) * 2006-04-06 2009-03-04 华为技术有限公司 Method and device for managing multi-users of mobile terminal
CN101128040A (en) * 2006-08-18 2008-02-20 华为技术有限公司 Wireless communication network and its service control method
CN101582777B (en) * 2008-05-16 2013-08-07 华为技术有限公司 Method and device for acquiring policy and charging control rule
CN101800967B (en) * 2009-12-30 2012-12-12 华为技术有限公司 Method, gateway and mobile terminal for realizing strategy and charging control

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011079782A1 (en) * 2009-12-30 2011-07-07 华为技术有限公司 Policy and charging control method, gateway and mobile terminal thereof
US9391846B2 (en) 2010-11-11 2016-07-12 Huawei Technologies Co., Ltd. Policy formulating method, policy server, and gateway
US9954737B2 (en) 2010-11-11 2018-04-24 Huawei Technologies Co., Ltd. Policy formulating method, policy server, and gateway
CN101977239B (en) * 2010-11-11 2015-04-22 华为技术有限公司 Method for making strategy, strategy server and gateway
CN101977239A (en) * 2010-11-11 2011-02-16 华为技术有限公司 Method for making strategy, strategy server and gateway
CN102726115B (en) * 2011-11-25 2014-09-03 华为技术有限公司 Filter processing method based on Gx interface, and PGW and PCRF
CN102726115A (en) * 2011-11-25 2012-10-10 华为技术有限公司 Filter processing method based on Gx interface, and PGW and PCRF
CN102726077B (en) * 2011-12-31 2014-09-03 华为技术有限公司 Method and device for processing message in PCC architecture
WO2013097251A1 (en) * 2011-12-31 2013-07-04 华为技术有限公司 Message processing method and device under pcc architecture
CN102726077A (en) * 2011-12-31 2012-10-10 华为技术有限公司 Method and device for processing message in PCC architecture
CN103503513B (en) * 2012-02-06 2017-05-24 华为技术有限公司 Method, device and system for processing user resource request
CN103503513A (en) * 2012-02-06 2014-01-08 华为技术有限公司 Method, device and system for processing user resource request
WO2013116978A1 (en) * 2012-02-06 2013-08-15 华为技术有限公司 Method, device and system for processing user resource request
CN103856983A (en) * 2012-11-30 2014-06-11 中兴通讯股份有限公司 Data filtering control processing method and device
WO2015000136A1 (en) * 2013-07-02 2015-01-08 华为技术有限公司 Application stream detecting method, entity, and system
WO2014183716A1 (en) * 2013-11-11 2014-11-20 中兴通讯股份有限公司 Strategy control method and device, gateway device and storage medium
CN104754657A (en) * 2013-12-30 2015-07-01 中兴通讯股份有限公司 Strategy control method, strategy executing and transmitting device
WO2017075781A1 (en) * 2015-11-05 2017-05-11 华为技术有限公司 Method, apparatus, and system for processing data packets
US10778470B2 (en) 2015-11-05 2020-09-15 Huawei Technologies Co., Ltd. Packet processing method, apparatus, and system
CN116996332A (en) * 2023-09-28 2023-11-03 无锡沐创集成电路设计有限公司 Network message filter, filtering method and network message filter set
CN116996332B (en) * 2023-09-28 2023-12-26 无锡沐创集成电路设计有限公司 Network message filter, filtering method and network message filter set

Also Published As

Publication number Publication date
EP2521385A4 (en) 2012-11-28
EP2521385B1 (en) 2016-10-05
EP2521385A1 (en) 2012-11-07
CN101800967B (en) 2012-12-12
WO2011079782A1 (en) 2011-07-07

Similar Documents

Publication Publication Date Title
CN101800967B (en) Method, gateway and mobile terminal for realizing strategy and charging control
CN101163091B (en) Resource admission control system and method
CN101227391B (en) method for selecting function entity of tactics and charging rules under non-roaming condition
CN102075894B (en) Selection method and system for policy and charging rules function entity
CN101442428B (en) Application method, system and equipment for end-to-end QoS
US20060072595A1 (en) System and method for service tagging for enhanced packet processing in a network environment
CN102131296A (en) Method and system for controlling resources in full service converged network
CN103119981B (en) Method for controlling quality of service and equipment
CN102958029B (en) Method and device for managing and controlling charging and quality of service (QoS) strategies
CN103796246A (en) Data distribution method, data distribution device and data distribution system
CN102123035A (en) Policy and charging rules function (PCRF) entity selection method, device and system
CN101267656A (en) Transfer method and system for PCC rule and QoS message
CN101969629B (en) Charging method and system
CN103313431A (en) TDF (Traffic Detection Function) processing method and PCRF (Policy and Charging Rules Function)
CN102791042B (en) Method and system for establishing S9 subsession and policy and charging rules function (PCRF)
CN101360097B (en) Method, network and network element for forwarding packet
CN101998515B (en) The implementation method of control PCRF load balancing and realize system
CN105376174B (en) Execute the method and apparatus of the strategy based on service chaining in LTE/EPC
CN103813409A (en) Policy control method, apparatus, and system of fixed network mobile convergence
CN103037408A (en) Method and terminal for switching Internet protocol (IP) service flow and corresponding functional entity
CN106507382A (en) A kind of Diameter message method for routing and route agent's node
CN101316176B (en) Service quality policy based charging method and resource admission control subsystem
CN103188657B (en) A kind of method and system for distributing IP address for UE
CN101959258A (en) Session association method as well as policy and charging rule function (PCRF) entity
CN105282775A (en) Multi-session binding method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant