CN104769978B - Charging method and equipment - Google Patents
Charging method and equipment Download PDFInfo
- Publication number
- CN104769978B CN104769978B CN201380004532.6A CN201380004532A CN104769978B CN 104769978 B CN104769978 B CN 104769978B CN 201380004532 A CN201380004532 A CN 201380004532A CN 104769978 B CN104769978 B CN 104769978B
- Authority
- CN
- China
- Prior art keywords
- application
- charging
- entity
- mark
- tdf
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0894—Policy-based network configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Meter Arrangements (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the present invention provides a kind of charging method and equipment.A kind of method includes: that the determination of PCRF entity needs the first of charging apply, and distributes charging identifier for the first application;PCRF entity is sent respectively to UE, PCEF entity and TDF entity by the mark of the first application and for the charging identifier of the first application distribution, so that the UE and the TDF entity are sent to PCEF entity after adding charging identifier in the data packet of the first application, the mark for applying PCEF entity based on first and the charging identifier distributed for first application carry out independent charging to the data packet for carrying charging identifier from UE and TDF entity respectively.The charging based on application may be implemented in technical solution of the present invention.
Description
Technical field
The present embodiments relate to the communication technology more particularly to a kind of charging methods and equipment.
Background technique
Cordless communication network mainly includes two parts, i.e. access net and core net.Core net mainly includes mobile management
Network element, gateway and strategy and charging control (Policy and Charging Control, referred to as PCC) function are real
Body.PCC functional entity is divided into policy control and charging regulation control function (Policy Control and Charging again
Rules Function, referred to as PCRF) entity and strategy and charge execution function (Policy and Charging
Enforcement Function) entity.Wherein, PCRF entity is mainly according to carrier policy, to user access network
Limitation, user contracting data and user currently ongoing server data stream (Service Data flow, referred to as
The factors such as business information SDF) formulate corresponding strategy, and it is regular (PCC rule) which is known as PCC;PCEF entity is main
It is the PCC rule for executing PCRF entity and formulating, the business datum of user equipment (User Equipment, referred to as UE) is executed
Traffic statistics and charging.
Currently, carrying out charging to the business datum of user is to execute the charging based on SDF granularity by PCEF entity.Current
3GPP tissue in the charging based on application data stream is being discussed, but there is no corresponding solutions at present.
Summary of the invention
The embodiment of the present invention provides a kind of charging method and equipment, to realize the charging based on application data stream.
First aspect provides a kind of charging method, comprising:
Policy control and the determination of charging rule functions PCRF entity need the first of charging to apply, and are first application
Charging identifier is distributed, the charging identifier needs to carry out independent charging to first application for identifying;
The PCRF entity is sent out respectively by the mark that described first applies and for the charging identifier of the first application distribution
Give user equipment (UE), strategy and charging execute PCEF entity and business detection function TDF entity so that the UE and described
TDF entity is sent to the PCEF entity after adding the charging identifier in the data packet of first application, makes described
The mark and apply the charging identifier of distribution respectively to from the UE for described first that PCEF entity is applied based on described first
Independent charging is carried out with the data packet for carrying the charging identifier of the TDF entity.
With reference to first aspect, in the first possible implementation of the first aspect, the PCRF entity is by described
The mark of one application and the charging identifier distributed for first application are sent respectively to UE and PCEF entity, comprising:
The PCRF entity sends internet connected reference network IP-CAN session and establish to respond to the PCEF entity to disappear
Breath, the IP-CAN session establishment response message include the mark of first application and the meter of the distribution for first application
Take mark, so that the PCEF entity passes through the mark that service gateway device is applied described first and divides for first application
The charging identifier matched is sent to the UE.
The possible implementation of with reference to first aspect the first, in second of possible implementation of first aspect
In, the PCRF entity is sent to the PCEF entity before IP-CAN session establishment response message, further includes:
The PCRF entity receives the IP-CAN session establishment request message that the PCEF entity is sent.
With reference to first aspect or second of the first possible implementation of first aspect or first aspect possible
Implementation, in a third possible implementation of the first aspect, the mark that the PCRF entity is applied described first
With the charging identifier TDF entity for the first application distribution, comprising:
The PCRF entity sends TDF session establishment request message, the TDF session establishment request to the TDF entity
Message includes the mark of first application and the charging identifier for the first application distribution.
The third possible implementation with reference to first aspect, in the 4th kind of possible implementation of first aspect
In, the PCRF entity is sent to the TDF entity after TDF session establishment request message, further includes:
The PCRF entity receives the TDF session establishment response message that the TDF entity is sent.
With reference to first aspect, in the fifth possible implementation of the first aspect, the PCRF entity, which determines, needs
First application of charging, comprising:
The PCRF entity receives the Business Stream detection event that the TDF entity is sent, and the Business Stream detection event is
It is sent after the TDF entity detection to the data packet for first application for needing charging, and the Business Stream detects event
Mark including first application;
The PCRF entity determines first application according to the mark of first application.
The 5th kind of possible implementation with reference to first aspect, in the 6th kind of possible implementation of first aspect
In, the PCRF entity is sent respectively to UE by the mark that described first applies and for the charging identifier of the first application distribution
With PCEF entity, comprising:
The PCRF entity disappears to the PCEF entity sending strategy and charging regulation message, the strategy with charging regulation
Breath includes the mark of first application and the charging identifier for the first application distribution, so that the PCEF entity passes through clothes
Business gateway is sent to the UE by the mark that described first applies and for the charging identifier of the first application distribution.
6th kind of possible implementation of the 5th kind of possible implementation or first aspect with reference to first aspect,
In 7th kind of possible implementation of first aspect, mark and be described first that the PCRF entity is applied described first
Using the charging identifier TDF entity of distribution, comprising:
The PCRF entity sends modification application detection control ADC Rules Message, the modification ADC to the TDF entity
Rules Message includes the mark of first application and the charging identifier for the first application distribution.
Second aspect provides a kind of charging method, comprising:
Strategy and charging execution PCEF entity reception policy control and charging rule functions PCRF entity send described
The mark of first application of the independent charging of needs that PCRF entity determines and the charging identifier distributed for first application;
The PCEF entity passes through clothes by the mark that described first applies and for the charging identifier of the first application distribution
Business gateway is sent to user equipment (UE), so that the UE adds the charging in the upstream data packet of first application
It is sent after mark to the PCEF entity;
The PCEF entity receives the upstream data packet for carrying the charging identifier that the UE is sent, and according to described
Charging identifier carries out independent charging to the upstream data packet for carrying the charging identifier.
In conjunction with second aspect, in the first possible implementation of the second aspect, the method also includes: it is described
PCEF entity receives the downlink data packet for carrying the charging identifier that business detection function TDF entity is sent, and according to institute
It states charging identifier and independent charging is carried out to the downlink data packet for carrying the charging identifier.
In conjunction with the possible implementation of the first of second aspect or second aspect, second in second aspect is possible
In implementation, the PCEF entity receives the first of the independent charging of needs that the PCRF entity that PCRF entity is sent determines
The mark of application and the charging identifier distributed for first application, comprising:
The PCEF entity, which receives the internet connected reference network IP-CAN session that the PCRF entity is sent and establishes, to be rung
Message is answered, the IP-CAN session establishment response message includes the mark of first application and the distribution for first application
Charging identifier;Or
The PCEF entity receives the strategy and charging regulation message that the PCRF entity is sent, and the strategy is advised with charging
Then message includes the mark of first application and the charging identifier for the first application distribution.
In conjunction with second of possible implementation of second aspect, in the third possible implementation of second aspect
In, the PCEF entity receives before the IP-CAN session establishment response message that the PCRF entity is sent, further includes:
The PCEF entity sends IP-CAN session establishment request message to the PCRF entity.
Second in conjunction with the possible implementation of the first of second aspect or second aspect or second aspect is possible
The possible implementation of the third of implementation or second aspect, in the fourth possible implementation of the second aspect,
The PCEF entity is set by the mark that described first applies and for the charging identifier of the first application distribution by gateway
Preparation gives UE, comprising:
The PCEF entity sends IP-CAN carrying to the service gateway device and establishes response message, and the IP-CAN is held
It carries and establishes the mark that response message includes first application and the charging identifier for the first application distribution, so that the clothes
Business gateway is sent to the UE by the mark that described first applies and for the charging identifier of the first application distribution.
In conjunction with the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation of second aspect
In, the PCEF entity sends IP-CAN carrying to the service gateway device and establishes before response message, further includes:
The PCEF entity receives the IP-CAN carrying that the service gateway device is sent and establishes request message, the IP-
The mark that request message includes the UE is established in CAN carrying.
The third aspect provides a kind of charging method, comprising:
The PCRF reality that business detection function TDF entity receives policy control and charging rule functions PCRF entity is sent
The mark of first application of the independent charging of needs that body determines and the charging identifier distributed for first application;
The TDF entity determines the downlink data packet of first application according to the mark of first application, described
The charging identifier is added in the downlink data packet of first application;
The downlink data packet for adding the charging identifier is sent to strategy to the TDF entity and charging executes PCEF reality
Body, so that the PCEF entity carries out independent charging based on downlink data packet of the charging identifier to first application.
In conjunction with the third aspect, in the first possible implementation of the third aspect, it is real that the TDF entity receives PCRF
The mark of first application of the independent charging of needs that the PCRF entity that body is sent determines and be the first application distribution
Charging identifier, comprising:
The TDF entity receives the TDF session establishment request message that the PCRF entity is sent, the TDF session establishment
Request message includes the mark of first application and the charging identifier for the first application distribution.
In conjunction with the first possible implementation of the third aspect, in second of possible implementation of the third aspect
In, the TDF entity receives after the TDF session establishment request message that the PCRF entity is sent, further includes:
The TDF entity sends TDF session establishment response message to the PCRF entity.
In conjunction with the third aspect, in the third possible implementation of the third aspect, it is real that the TDF entity receives PCRF
The mark of first application of the independent charging of needs that the PCRF entity that body is sent determines and be the first application distribution
Before charging identifier, further includes:
The TDF entity detection needs the data packet of first application of independent charging, and is detecting described first
After the data packet of application, Business Stream being sent to the PCRF entity and detects event, Business Stream detection event includes described the
The mark of one application needs to carry out first application so that the PCRF entity is determined according to the mark of first application
Independent charging.
In conjunction with the third possible implementation of the third aspect, in the 4th kind of possible implementation of the third aspect
In, the TDF entity receives the mark of the first application of the independent charging of needs that the PCRF entity that PCRF entity is sent determines
The charging identifier known and distributed for first application, comprising:
The TDF entity receives the modification application detection control ADC Rules Message that the PCRF entity is sent, the modification
ADC Rules Message includes the mark of first application and the charging identifier for the first application distribution.
Fourth aspect provides a kind of charging method, comprising:
The strategy and charging control that policy control and charging rule functions PCRF entity are sent to business detection function TDF entity
PCC rule mark and/or server data stream SDF template processed, so that the TDF entity determines that controlling policy and charging execute PCEF
The flow of the data packet of the mark and the first application of the first affiliated SDF of application of charging result of the entity based on SDF granularity;
The PCRF entity receives determining according to PCC rule mark and/or SDF template for the TDF entity transmission
It is described first application affiliated SDF mark and it is described first application data packet flow;
The flow for the data packet that the PCRF entity applies the mark of the affiliated SDF of first application and described first
It is sent to the PCEF entity, so that mark and described first of the PCEF entity based on the affiliated SDF of first application
The flow of the data packet of application is adjusted the upstream data packet from user equipment (UE) based on the charging result of SDF granularity;
Wherein, the data packet of first application belongs to the upstream data packet from the UE.
In conjunction with fourth aspect, in the first possible implementation of the fourth aspect, the PCRF entity is to TDF entity
The PCC rule of transmission identifies and/or SDF template, comprising:
The PCRF entity sends TDF session establishment request message, the TDF session establishment request to the TDF entity
Message includes the PCC rule mark and/or SDF template.
In conjunction with the first possible implementation of fourth aspect, in second of possible implementation of fourth aspect
In, the PCRF entity is sent to the TDF entity after TDF session establishment request message, further includes:
The PCRF entity receives the TDF session establishment response message that the TDF entity is sent.
Second in conjunction with the possible implementation of the first of fourth aspect or fourth aspect or fourth aspect is possible
Implementation, in the third possible implementation of the fourth aspect, the PCRF entity are affiliated by first application
The flow of the mark of SDF and the data packet of first application is sent to the PCEF entity, comprising:
The PCRF entity sends the modification request of internet connected reference network IP-CAN session to the PCEF entity and disappears
Breath, the IP-CAN session modification request message include the mark and first application of the affiliated SDF of first application
The flow of data packet.
5th aspect provides a kind of charging method, comprising:
Strategy and charging execute the influence institute that PCEF entity receives policy control and charging rule functions PCRF entity is sent
State the mark and described first of the first affiliated SDF of application of charging result of the PCEF entity based on server data stream SDF granularity
The flow of the data packet of application;Wherein, the stream of the mark of the affiliated SDF of first application and the data packet of first application
The strategy that amount, which is business detection function TDF entity, to be sent according to the PCRF entity and charging control PCC rule mark and/or
SDF template is determining and is sent to the PCRF entity;
The stream for the data packet that the PCEF entity is applied according to the mark of the affiliated SDF of first application and described first
Amount, the upstream data packet from user equipment (UE) is adjusted based on the charging result of SDF granularity, wherein described first answers
Data packet belongs to the upstream data packet from the UE.
In conjunction with the 5th aspect, in the first possible implementation of the 5th aspect, the PCEF entity receives PCRF
The mark of the first affiliated SDF of application of the influence charging result of the PCEF entity based on SDF granularity that entity is sent and institute
Before the flow for stating the data packet of the first application, further includes:
The PCEF entity carries out the charging based on SDF granularity to the upstream data packet from the UE.
In conjunction with the first possible implementation of the 5th aspect or the 5th aspect, second at the 5th aspect is possible
In implementation, the PCEF entity receives the influence charging knot of the PCEF entity based on SDF granularity that PCRF entity is sent
The flow of the data packet of the mark and first application of the first affiliated SDF of application of fruit, comprising:
The PCEF entity receives the internet connected reference network IP-CAN session modification that the PCRF entity is sent and asks
Message is sought, the IP-CAN session modification request message includes that the mark and described first of the affiliated SDF of first application is answered
The flow of data packet.
6th aspect provides a kind of charging method, comprising:
Business detection function TDF entity receives strategy and the charging of policy control and the transmission of charging rule functions PCRF entity
Control PCC rule mark and/or server data stream SDF template;
The TDF entity is identified according to the PCC rule and/or SDF template, determines that controlling policy and charging execute PCEF
The stream of the data packet of the mark and first application of the first affiliated SDF of application of charging result of the entity based on SDF granularity
Amount;
The flow for the data packet that the TDF entity applies the mark of the affiliated SDF of first application and described first
It is sent to the PCEF entity by the PCRF entity, so that the PCEF entity applies affiliated SDF based on described first
Mark and it is described first application data packet flow to the upstream data packet from user equipment (UE) based on SDF granularity
Expense result is adjusted;Wherein, the data packet of first application belongs to the upstream data packet from the UE.
In conjunction with the 6th aspect, in the first possible implementation of the 6th aspect, it is real that the TDF entity receives PCRF
The PCC rule mark and/or SDF template that body is sent, comprising:
The TDF entity receives the TDF session establishment request message that the PCRF entity is sent, the TDF session establishment
Request message includes the PCC rule mark and/or SDF template.
In conjunction with the first possible implementation of the 6th aspect, in second of possible implementation of the 6th aspect
In, the TDF entity receives after the TDF session establishment request message that the PCRF entity is sent, further includes:
The TDF entity sends TDF session establishment response message to the PCRF entity.
Second in conjunction with the first possible implementation or the 6th aspect of the 6th aspect or the 6th aspect is possible
Implementation, the 6th aspect the third possible implementation in, the TDF entity according to the PCC rule mark and/
Or SDF template, determine the mark for influencing the first affiliated SDF of application of charging result of the PCEF entity based on SDF granularity and institute
State the flow of the data packet of the first application, comprising:
The TDF entity is determined according to the PCC rule of PCC rule mark instruction because executing the flow control based on application
And apply belonging to the data packet being dropped and applied as described first, the flow for the data packet being dropped described in determination is as institute
The flow of the data packet of the first application is stated, and determines that described first applies affiliated SDF;Or
The TDF entity detects according to the SDF template and does not need to have in the upstream data packet of the UE
When all data packets of identical IP address information carry out charging, from all data packets with identical IP address information, determine
Application belonging to the data packet of charging is actually needed as first application, determines the flow of the data packet of actual needs charging
The flow of data packet as first application, and determine that described first applies affiliated SDF;Alternatively,
TDF entity detected according to the SDF template do not need in the upstream data packet of the UE have it is identical
When all data packets of IP address information carry out charging, from all data packets with identical IP address information, determine to be not required to
It wants application belonging to the data packet of charging as first application, determines described in the flow conduct for the data packet for not needing charging
The flow of the data packet of first application, and determine that described first applies affiliated SDF.
7th aspect provides a kind of charging method, comprising:
After business detection function TDF entity receives the upstream data packet that strategy and charging execution PCEF entity are sent, really
Surely flow back data, and adds charging identifier for the reflux data, and the reflux data refer to be influenced in the upstream data packet
The data packet of charging result of the PCEF entity to the upstream data packet based on server data stream SDF granularity;
The reflux data for carrying the charging identifier are sent to the PCEF entity by the TDF entity, so that described
PCEF entity is according to the reflux data for carrying the charging identifier, to the charging result of the upstream data packet based on SDF granularity
It is adjusted.
In conjunction with the 7th aspect, in the first possible implementation of the 7th aspect, the TDF entity receives PCEF
Entity send upstream data packet after, determine reflux data, and for the reflux data addition charging identifier before, further includes:
It is described that the TDF entity, which receives policy control and the PCRF entity of charging rule functions PCRF entity transmission,
The charging identifier of the data that flow back distribution.
In conjunction with the first possible implementation of the 7th aspect, in second of possible implementation of the 7th aspect
In, the TDF entity receives the charging identifier that the PCRF entity that PCRF entity is sent is the reflux data distribution,
Include:
The TDF entity receives the TDF session establishment request message that the PCRF entity is sent, the TDF session establishment
Request message includes the charging identifier.
In conjunction with second of possible implementation of the 7th aspect, in the third possible implementation of the 7th aspect
In, the TDF entity receives after the TDF session establishment request message that the PCRF entity is sent, further includes:
The TDF entity sends TDF session establishment response message to the PCRF entity.
Eighth aspect provides a kind of charging method, comprising:
Strategy and charging execute PCEF entity to upstream data packet carry out the charging based on server data stream SDF granularity it
Afterwards, the reflux data for carrying charging identifier that business detection function TDF entity is sent are received, the reflux data are described
The PCEF entity is influenced in the upstream data packet that TDF entity determines to the upstream data packet based on SDF granularity
The data packet of charging result;
The PCEF entity determines that the data received are the reflux data according to the charging identifier, determines described return
SDF belonging to flow data is adjusted the charging result of the SDF of the determination.
In conjunction with eighth aspect, in the first possible implementation of eighth aspect, it is real that the PCEF entity receives TDF
Before the reflux data for carrying charging identifier that body is sent, comprising:
It is institute that the PCEF entity, which receives policy control and the PCRF entity of charging rule functions PCRF entity transmission,
State the charging identifier of reflux data distribution.
In conjunction with the first possible implementation of eighth aspect, in second of possible implementation of eighth aspect
In, the PCEF entity receives the charging mark that the PCRF entity that PCRF entity is sent is the reflux data distribution
Know, comprising:
The PCEF entity, which receives the internet connected reference network IP-CAN session that the PCRF entity is sent and establishes, to be rung
Message is answered, the IP-CAN session establishment response message includes the charging identifier.
In conjunction with second of possible implementation of eighth aspect, in the third possible implementation of eighth aspect
In, the PCEF entity receives before the IP-CAN session establishment response message that the PCRF entity is sent, further includes:
The PCEF entity sends IP-CAN session establishment request message to the PCRF entity.
9th aspect provides a kind of charging method, comprising:
Policy control and charging rule functions PCRF entity determine the charging identifier for needing to distribute to reflux data packet, described
Reflux data refer to that controlling policy and charging execute PCEF entity to the upstream data packet based on service in upstream data packet
The data packet of the charging result of data flow SDF granularity;
The charging identifier is sent to business detection function TDF entity and the PCEF entity by the PCRF entity, with
It is determined from from the upstream data packet of the PCEF entity for the TDF entity after the reflux data at described time
It is sent after adding the charging identifier in flow data to the PCEF entity, keeps the PCEF entity true according to the charging identifier
The fixed reflux data simultaneously adjust the charging result based on SDF granularity of the upstream data packet based on the reflux data
It is whole.
In conjunction with the 9th aspect, in the first possible implementation of the 9th aspect, the PCRF entity is by the meter
Expense mark is sent to TDF entity, comprising:
The PCRF entity sends TDF session establishment request message, the TDF session establishment request to the TDF entity
Message includes the charging identifier.
In conjunction with the first possible implementation of the 9th aspect, in second of possible implementation of the 9th aspect
In, the PCRF entity is sent to the TDF entity after TDF session establishment request message, further includes:
The PCRF entity receives the TDF session establishment response message that the TDF entity is sent.
Second in conjunction with the first possible implementation or the 9th aspect of the 9th aspect or the 9th aspect is possible
Implementation, in the third possible implementation of the 9th aspect, the charging identifier is sent to by the PCRF entity
The PCEF entity, comprising:
The PCRF entity sends internet connected reference network IP-CAN session and establish to respond to the PCEF entity to disappear
Breath, the IP-CAN session establishment response message includes the charging identifier.
In conjunction with the third possible implementation of the 9th aspect, in the 4th kind of possible implementation of the 9th aspect
In, the PCRF entity is sent to the PCEF entity before IP-CAN session establishment response message, further includes:
The PCRF entity receives the IP-CAN session establishment request message that the PCEF entity is sent.
Tenth aspect provides a kind of policy control and charging rule functions PCRF entity, comprising:
Determining module needs the first of charging to apply for determination;
Distribution module, for distributing charging identifier for first application, the charging identifier is needed for identifying to institute
It states the first application and carries out independent charging;
Sending module, the mark and the distribution module of first application for determining the determining module are institute
The charging identifier for stating the first application distribution is sent respectively to user equipment (UE), strategy and charging and executes PCEF entity and business detection
Function TDF entity, so that after the UE and the TDF entity add the charging identifier in the data packet of first application
Be sent to the PCEF entity, make the PCEF entity based on it is described first application mark and for it is described first application distribution
Charging identifier respectively individually counts the data packet for carrying the charging identifier from the UE and the TDF entity
Take.
In conjunction with the tenth aspect, in the first possible implementation of the tenth aspect, the sending module is used for institute
It states the mark of the first application and is sent respectively to UE and PCEF entity for the charging identifier of the first application distribution, comprising:
The sending module is specifically used for building to PCEF entity transmission internet connected reference network IP-CAN session
Vertical response message, the IP-CAN session establishment response message include the mark of first application and apply for described first
The charging identifier of distribution, so that mark that the PCEF entity is applied described first by service gateway device and be described the
The charging identifier of one application distribution is sent to the UE.
In conjunction with the first possible implementation of the tenth aspect or the tenth aspect, second at the tenth aspect is possible
In implementation, the mark that the sending module is applied described first and the charging identifier TDF for the first application distribution
Entity, comprising:
The sending module is specifically used for sending TDF session establishment request message, the TDF session to the TDF entity
Establish the mark that request message includes first application and the charging identifier for the first application distribution.
In conjunction with the tenth aspect, in the third possible implementation of the tenth aspect, the determining module is specifically used for
Receive the Business Stream detection event that the TDF entity is sent, the Business Stream detection event is the TDF entity detection to needs
It is sent after the data packet of first application of charging, and Business Stream detection event includes the mark of first application
Know;First application is determined according to the mark of first application.
In conjunction with the third possible implementation of the tenth aspect, in the 4th kind of possible implementation of the tenth aspect
In, the sending module is used to send respectively by mark that described first applies and for the charging identifier of the first application distribution
Give UE and PCEF entity, comprising:
The sending module is specifically used for the PCEF entity sending strategy and charging regulation message, the strategy and meter
Expense Rules Message includes the mark of first application and the charging identifier for the first application distribution, so that the PCEF is real
Body is sent to institute by service gateway device by mark that described first applies and for the charging identifier of the first application distribution
State UE.
In conjunction with the tenth aspect the third possible implementation or the tenth aspect the 4th kind of possible implementation,
In 5th kind of possible implementation of the tenth aspect, mark and be described that the sending module is used to apply described first
The charging identifier TDF entity of first application distribution, comprising:
The sending module is specifically used for sending modification application detection control ADC Rules Message to the TDF entity, described
Modification ADC Rules Message includes the mark of first application and the charging identifier for the first application distribution.
Tenth one side provides a kind of tactful and charging execution PCEF entity, comprising:
Receiving module, the PCRF entity for receiving policy control and the transmission of charging rule functions PCRF entity determine
The independent charging of needs the first application mark and charging identifier for the first application distribution;
Sending module, for dividing by the mark of received first application of the receiving module and for first application
The charging identifier matched is sent to user equipment (UE) by service gateway device, so that upper line number of the UE in first application
It is sent to the PCEF entity after the charging identifier according to being added in packet;
The receiving module is also used to receive the upstream data packet for carrying the charging identifier that the UE is sent;
Accounting module, for carrying the charging identifier according to the charging identifier is received to the receiving module
Upstream data packet carries out independent charging.
On the one hand in conjunction with the tenth, in the first possible implementation of the tenth one side, the receiving module is also used
In the downlink data packet for carrying the charging identifier for receiving the transmission of business detection function TDF entity;
The accounting module is also used to carry the charging according to the charging identifier is received to the receiving module
The downlink data packet of mark carries out independent charging.
In conjunction with the first possible implementation of the tenth one side or the tenth one side, at second of the tenth one side
In possible implementation, the needs that the PCRF entity that the receiving module is used to receive the transmission of PCRF entity determines are independent
The mark of first application of charging and the charging identifier distributed for first application, comprising:
The receiving module is specifically used for receiving the internet connected reference network IP-CAN meeting that the PCRF entity is sent
Words establish response message, and the IP-CAN session establishment response message includes the mark of first application and answers for described first
The charging identifier of distribution;Or
The receiving module is specifically used for receiving the strategy and charging regulation message that the PCRF entity is sent, the strategy
The charging identifier for including the mark of first application with charging regulation message and being distributed for first application.
In conjunction with second of the first possible implementation or the tenth one side of the tenth one side or the tenth one side
Possible implementation, in the third possible implementation of the tenth one side, the sending module is used for described the
The mark of one application and the charging identifier distributed for first application are sent to UE by service gateway device, comprising:
The sending module is specifically used for establishing response message to service gateway device transmission IP-CAN carrying, described
The mark that response message includes first application and the charging identifier for the first application distribution are established in IP-CAN carrying, with
Make the service gateway device by mark that described first applies and is sent to institute for the charging identifier of the first application distribution
State UE.
12nd aspect provides a kind of business detection function TDF entity, comprising:
Receiving module, the PCRF entity for receiving policy control and the transmission of charging rule functions PCRF entity determine
The independent charging of needs the first application mark and charging identifier for the first application distribution;
Adding module is determined, for determining described first according to the mark of received first application of the receiving module
The downlink data packet of application adds the received charging mark of the receiving module in the downlink data packet of first application
Know;
Sending module, for the downlink data packet for adding the charging identifier to be sent to strategy and charging execution PCEF reality
Body, so that the PCEF entity carries out independent charging based on downlink data packet of the charging identifier to first application.
In conjunction with the 12nd aspect, in the first possible implementation of the 12nd aspect, the receiving module is used for
Receive the first mark applied for needing independent charging and be described first that the PCRF entity that PCRF entity is sent determines
Using the charging identifier of distribution, comprising:
The receiving module is specifically used for receiving the TDF session establishment request message that the PCRF entity is sent, the TDF
Session establishment request message includes the mark of first application and the charging identifier for the first application distribution.
In conjunction with the 12nd aspect, in second of possible implementation of the 12nd aspect, the TDF entity is also wrapped
It includes: detecting module, for detecting the data packet for needing first application of independent charging;
The sending module is also used to after the data packet that the detecting module detects first application, to described
PCRF entity sends Business Stream and detects event, and the Business Stream detection event includes the mark of first application, so that described
PCRF entity is determined according to the mark of first application to need to carry out independent charging to first application.
In conjunction with second of possible implementation of the 12nd aspect, in the third possible realization side of the 12nd aspect
In formula, the first of the independent charging of needs that the PCRF entity that the receiving module is used to receive the transmission of PCRF entity determines is answered
Mark and the charging identifier distributed for first application, comprising:
The modification application detection control ADC rule that the receiving module is specifically used for receiving the PCRF entity transmission disappears
Breath, the modification ADC Rules Message include the mark of first application and the charging identifier for the first application distribution.
13rd aspect provides a kind of policy control and charging rule functions PCRF entity, comprising:
Processor needs the first of charging to apply for determination, and is the first application distribution charging identifier, the meter
Take mark to need to carry out independent charging to first application for identifying;
Transmitter, the mark of first application for determining the processor and the processor are described first
User equipment (UE), strategy and charging, which are sent respectively to, using the charging identifier of distribution executes PCEF entity and business detection function
TDF entity, so that the UE and the TDF entity are sent after adding the charging identifier in the data packet of first application
To the PCEF entity, make mark of the PCEF entity based on first application and the charging for the first application distribution
Mark carries out independent charging to the data packet for carrying the charging identifier from the UE and the TDF entity respectively.
Fourteenth aspect provides a kind of tactful and charging execution PCEF entity, comprising:
Receiver, what the PCRF entity for receiving policy control and the transmission of charging rule functions PCRF entity determined
Need the first mark applied of independent charging and the charging identifier for the first application distribution;
Transmitter, for by the receiver it is received it is described first application mark and be it is described first application distribution
Charging identifier is sent to user equipment (UE) by service gateway device, so that upstream data packet of the UE in first application
It is sent after the middle addition charging identifier to the PCEF entity;
The receiver is also used to receive the upstream data packet for carrying the charging identifier that the UE is sent;
Processor, for according to the charging identifier uplink for carrying the charging identifier received to the receiver
Data packet carries out independent charging.
15th aspect provides a kind of business detection function TDF entity, comprising:
Receiver, what the PCRF entity for receiving policy control and the transmission of charging rule functions PCRF entity determined
Need the first mark applied of independent charging and the charging identifier for the first application distribution;
Processor, for being determined under first application according to the mark of received first application of the receiver
Row data packet adds the received charging identifier of the receiver in the downlink data packet of first application;
Transmitter, for the downlink data packet for adding the charging identifier to be sent to strategy and charging execution PCEF reality
Body, so that the PCEF entity carries out independent charging based on downlink data packet of the charging identifier to first application.
16th aspect provides a kind of policy control and charging rule functions PCRF entity, comprising:
Sending module, for sent to business detection function TDF entity strategy with charging control PCC rule mark and/
Or server data stream SDF template, so that the TDF entity determines that controlling policy and charging execute PCEF entity and be based on SDF granularity
Charging result first application affiliated SDF mark and first application data packet flow;
Receiving module, for receiving determining according to PCC rule mark and/or SDF template for the TDF entity transmission
It is described first application affiliated SDF mark and it is described first application data packet flow;
The sending module is also used to the data of the mark of the affiliated SDF of first application and first application
The flow of packet is sent to the PCEF entity so that the PCEF entity based on it is described first application affiliated SDF mark and
It is described first application data packet flow to charging result of the upstream data packet based on SDF granularity from user equipment (UE) into
Row adjustment;Wherein, the data packet of first application belongs to the upstream data packet from the UE.
In conjunction with the 16th aspect, in the first possible implementation of the 16th aspect, the sending module is used for
The PCC rule mark and/or SDF template sent to TDF entity, comprising:
The sending module is specifically used for sending TDF session establishment request message, the TDF session to the TDF entity
Establishing request message includes the PCC rule mark and/or SDF template.
In conjunction with the first possible implementation of the 16th aspect or the 16th aspect, at second of the 16th aspect
In possible implementation, the sending module is used for the mark of the affiliated SDF of first application and first application
The flow of data packet be sent to the PCEF entity, comprising:
The sending module is specifically used for repairing to PCEF entity transmission internet connected reference network IP-CAN session
Change request message, the IP-CAN session modification request message includes the mark and described the of the affiliated SDF of first application
The flow of the data packet of one application.
17th aspect provides a kind of tactful and charging execution PCEF entity, comprising:
Receiving module, for receiving the influence PCEF entity of policy control and the transmission of charging rule functions PCRF entity
The mark of the first affiliated SDF of application of the charging result based on server data stream SDF granularity and the data of first application
The flow of packet;Wherein, the flow of the mark of the affiliated SDF of first application and the data packet of first application is business inspection
The strategy that brake TDF entity is sent according to the PCRF entity is determined with charging control PCC rule mark and/or SDF template
And it is sent to the PCRF entity;
Charging adjusts module, for according to the mark of the affiliated SDF of first application and the data of first application
The flow of packet is adjusted the upstream data packet from user equipment (UE) based on the charging result of SDF granularity, wherein described
The data packet of first application belongs to the upstream data packet from the UE.
In conjunction with the 17th aspect, in the first possible implementation of the 17th aspect, the PCEF entity is also wrapped
It includes: accounting module, for receiving the mark of the first affiliated SDF of application and the data of first application in the receiving module
Before the flow of packet, the charging based on SDF granularity is carried out to the upstream data packet from the UE.
In conjunction with the first possible implementation of the 17th aspect or the 17th aspect, at second of the 17th aspect
In possible implementation, the influence PCEF entity that the receiving module is used to receive the transmission of PCRF entity is based on SDF
The flow of the data packet of the mark and first application of the first affiliated SDF of application of the charging result of degree, comprising:
The receiving module is specifically used for receiving the internet connected reference network IP-CAN meeting that the PCRF entity is sent
Words modification request message, the IP-CAN session modification request message include mark and the institute of the affiliated SDF of first application
State the flow of the data packet of the first application.
18th aspect provides a kind of business detection function TDF entity, comprising:
Receiving module, for receiving the strategy and charging control of policy control and the transmission of charging rule functions PCRF entity
PCC rule mark and/or server data stream SDF template;
Determining module, for determining shadow according to the received PCC rule mark of the receiving module and/or SDF template
It rings strategy and charging executes the first application mark of affiliated SDF of charging result of the PCEF entity based on SDF granularity and described
The flow of the data packet of first application;
Sending module, the mark and described the of the affiliated SDF of first application for determining the determining module
The flow of the data packet of one application is sent to the PCEF entity by the PCRF entity, so that the PCEF entity is based on institute
The flow of the mark of the first affiliated SDF of application and the data packet of first application is stated to the upper line number from user equipment (UE)
It is adjusted according to charging result of the packet based on SDF granularity;Wherein, the data packet of first application belongs to from the upper of the UE
Row data packet.
In conjunction with the 18th aspect, in the first possible implementation of the 18th aspect, the receiving module is used for
Receive the PCC rule mark and/or SDF template that PCRF entity is sent, comprising:
The receiving module is specifically used for receiving the TDF session establishment request message that the PCRF entity is sent, the TDF
Session establishment request message includes the PCC rule mark and/or SDF template.
In conjunction with the first possible implementation of the 18th aspect or the 18th aspect, at second of the 18th aspect
In possible implementation, the determining module be used for according to the received PCC rule mark of the receiving module and/or
SDF template determines the first application mark of affiliated SDF for influencing charging result of the PCEF entity based on SDF granularity and described
The flow of the data packet of first application, comprising:
The determining module is specifically used for being advised according to the PCC of the received PCC rule mark instruction of the receiving module
Then, determine that application belonging to the data packet being dropped because executing the flow control based on application as first application, determines institute
The flow of the flow of the data packet being dropped as the data packet of first application is stated, and determines that first application is affiliated
SDF;Or
The determining module, which is specifically used for being detected according to the received SDF template of the receiving module, not to be needed to next
When all data packets from the upstream data packet of the UE with identical IP address information carry out charging, from identical IP
In all data packets of location information, determine that application belonging to the data packet of actual needs charging as first application, determines
Flow of the flow of the data packet of actual needs charging as the data packet of first application, and determine that described first applies institute
The SDF of category;Alternatively,
The determining module, which is specifically used for being detected according to the received SDF template of the receiving module, not to be needed to next
When all data packets from the upstream data packet of the UE with identical IP address information carry out charging, from identical IP
All data packets of location information are determined not needing application belonging to the data packet of charging as first application, are determined not
It needs the flow of the data packet of charging as the flow of the data packet of first application, and determines that first application is affiliated
SDF。
19th aspect provides a kind of policy control and charging rule functions PCRF entity, comprising:
Transmitter, for sent to business detection function TDF entity strategy with charging control PCC rule mark and/or
Server data stream SDF template, so that the TDF entity determines that controlling policy and charging execute PCEF entity based on SDF granularity
The flow of the data packet of the mark and the first application of the first affiliated SDF of application of charging result;
Receiver, for being determined according to PCC rule mark and/or SDF template of receiving that the TDF entity sends
The flow of the mark of the affiliated SDF of first application and the data packet of first application;
The transmitter is also used to the data packet of the mark of the affiliated SDF of first application and first application
Flow be sent to the PCEF entity so that the PCEF entity based on it is described first application affiliated SDF mark and institute
The flow for stating the data packet of the first application carries out the upstream data packet from user equipment (UE) based on the charging result of SDF granularity
Adjustment;Wherein, the data packet of first application belongs to the upstream data packet from the UE.
20th aspect provides a kind of tactful and charging execution PCEF entity, comprising:
Receiver, for receiving the influence PCEF entity base of policy control and the transmission of charging rule functions PCRF entity
In the mark of the first affiliated SDF of application of the charging result of server data stream SDF granularity and the data packet of first application
Flow;Wherein, the flow of the mark of the affiliated SDF of first application and the data packet of first application is business detection
The strategy that function TDF entity is sent according to the PCRF entity determines simultaneously with charging control PCC rule mark and/or SDF template
It is sent to the PCRF entity;
Processor, the stream of the data packet for being applied according to the mark of the affiliated SDF of first application and described first
Amount, the upstream data packet from user equipment (UE) is adjusted based on the charging result of SDF granularity, wherein described first answers
Data packet belongs to the upstream data packet from the UE.
20th one side provides a kind of business detection function TDF entity, comprising:
Receiver, for receiving the strategy and charging control PCC of policy control and the transmission of charging rule functions PCRF entity
Rule mark and/or server data stream SDF template;
Processor, for according to the received PCC rule mark of the receiver and/or SDF template, determining to influence plan
The mark and described first of the first affiliated SDF of application of charging result of the PCEF entity based on SDF granularity is slightly executed with charging
The flow of the data packet of application;
The mark and described first of transmitter, the affiliated SDF of first application for determining the processor is answered
The flow of data packet is sent to the PCEF entity by the PCRF entity, so that the PCEF entity is based on described the
The flow of the mark of the one affiliated SDF of application and the data packet of first application is to the upstream data packet from user equipment (UE)
Charging result based on SDF granularity is adjusted;Wherein, the data packet of first application belongs to the upper line number from the UE
According to packet.
22nd aspect provides a kind of business detection function TDF entity, comprising:
Receiving module executes the upstream data packet of PCEF entity transmission for receiving strategy and charging;
Determine adding module, for after the receiving module receives the upstream data packet, determining reflux data,
And charging identifier is added for the reflux data, the reflux data, which refer to, influences the PCEF entity in the upstream data packet
The data packet of charging result to the upstream data packet based on server data stream SDF granularity;
Sending module, for the reflux data for carrying the charging identifier to be sent to the PCEF entity, so that described
PCEF entity is according to the reflux data for carrying the charging identifier, to the charging result of the upstream data packet based on SDF granularity
It is adjusted.
In conjunction with the 22nd aspect, in the first possible implementation of the 22nd aspect, the receiving module
It is also used in the determining adding module be before the reflux data add charging identifier, to receive policy control and charging regulation
The PCRF entity that function PCRF entity is sent is the charging identifier of the reflux data distribution.
In conjunction with the first possible implementation of the 22nd aspect, in second of possible reality of the 22nd aspect
In existing mode, the receiving module is used to receive the PCRF entity of PCRF entity transmission as the institute of the reflux data distribution
State charging identifier, comprising:
The receiving module is specifically used for receiving the TDF session establishment request message that the PCRF entity is sent, the TDF
Session establishment request message includes the charging identifier.
23rd aspect provides a kind of tactful and charging execution PCEF entity, comprising:
Receiving module, for receiving industry after carrying out the charging based on server data stream SDF granularity to upstream data packet
The reflux data for carrying charging identifier that business detection function TDF entity is sent, the reflux data are that the TDF entity determines
The upstream data packet in influence the PCEF entity to the number of the charging result based on SDF granularity of the upstream data packet
According to packet;
Charging adjusts module, for determining that the data that the receiving module receives are described time according to the charging identifier
Flow data determines SDF belonging to the reflux data, is adjusted to the charging result of the SDF of the determination.
In conjunction with the 23rd aspect, in the first possible implementation of the 23rd aspect, the receiving module
It is also used to before receiving the reflux data for carrying charging identifier that the TDF entity is sent, receives policy control and charging
The PCRF entity that rule functional PCRF entity is sent is the charging identifier of the reflux data distribution.
In conjunction with the first possible implementation of the 23rd aspect, in second of possible reality of the 23rd aspect
In existing mode, the receiving module is used to receive the PCRF entity of PCRF entity transmission as the institute of the reflux data distribution
State charging identifier, comprising:
The receiving module is specifically used for receiving the internet connected reference network IP-CAN meeting that the PCRF entity is sent
Words establish response message, and the IP-CAN session establishment response message includes the charging identifier.
Twenty-fourth aspect provides a kind of policy control and charging rule functions PCRF entity, comprising:
Determining module, for determining that needs distribute to the charging identifier of reflux data packet, the reflux data refer to uplink
Controlling policy and charging execute PCEF entity to the upstream data packet based on server data stream SDF granularity in data packet
Take the data packet of result;
Sending module, for the charging identifier to be sent to business detection function TDF entity and the PCEF entity, with
It is determined from from the upstream data packet of the PCEF entity for the TDF entity after the reflux data at described time
It is sent after adding the charging identifier in flow data to the PCEF entity, keeps the PCEF entity true according to the charging identifier
The fixed reflux data simultaneously adjust the charging result based on SDF granularity of the upstream data packet based on the reflux data
It is whole.
In conjunction with twenty-fourth aspect, in the first possible implementation of twenty-fourth aspect, the sending module
For the charging identifier to be sent to TDF entity, comprising:
The sending module is specifically used for sending TDF session establishment request message, the TDF session to the TDF entity
Establishing request message includes the charging identifier.
In conjunction with the possible implementation of the first of twenty-fourth aspect or twenty-fourth aspect, in twenty-fourth aspect
In second of possible implementation, the sending module is used to the charging identifier being sent to the PCEF entity, comprising:
The sending module is specifically used for building to PCEF entity transmission internet connected reference network IP-CAN session
Vertical response message, the IP-CAN session establishment response message includes the charging identifier.
25th aspect provides a kind of business detection function TDF entity, comprising:
Receiver executes the upstream data packet of PCEF entity transmission for receiving strategy and charging;
Processor for after the receiver receives the upstream data packet, determining reflux data, and is described
The data that flow back add charging identifier, and the reflux data, which refer to, influences the PCEF entity on described in the upstream data packet
The data packet of charging result of the row data packet based on server data stream SDF granularity;
Transmitter, for the reflux data for carrying the charging identifier to be sent to the PCEF entity, so that described
PCEF entity is according to the reflux data for carrying the charging identifier, to the charging result of the upstream data packet based on SDF granularity
It is adjusted.
26th aspect provides a kind of tactful and charging execution PCEF entity, comprising:
Receiver, for receiving business after carrying out the charging based on server data stream SDF granularity to upstream data packet
The reflux data for carrying charging identifier that detection function TDF entity is sent, the reflux data are that the TDF entity determines
The PCEF entity is influenced in the upstream data packet to the data of the charging result based on SDF granularity of the upstream data packet
Packet;
Processor, for determining that the data that the receiver receives are the reflux data according to the charging identifier,
It determines SDF belonging to the reflux data, the charging result of the SDF of the determination is adjusted.
27th aspect provides a kind of policy control and charging rule functions PCRF entity, comprising:
Processor, for determining that needs distribute to the charging identifier of reflux data packet, the reflux data refer to line number
Charging based on server data stream SDF granularity of the PCEF entity to the upstream data packet is executed according to controlling policy in packet and charging
As a result data packet;
Transmitter, for the charging identifier to be sent to business detection function TDF entity and the PCEF entity, for
The TDF entity is determined after the reflux data from from the upstream data packet of the PCEF entity in the reflux
It is sent after adding the charging identifier in data to the PCEF entity, determines the PCEF entity according to the charging identifier
The reflux data simultaneously adjust the charging result based on SDF granularity of the upstream data packet based on the reflux data
It is whole.
Charging method and equipment provided in an embodiment of the present invention are used for the application distribution charging identifier for needing independent charging
In realizing the mark to the application for needing independent charging, the independent charging to the application is realized based on the charging identifier.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with
It obtains other drawings based on these drawings.
Fig. 1 is that the system architecture that three kinds of access technologies are constituted in Current wireless communication network provided in an embodiment of the present invention is shown
It is intended to;
Fig. 2 is the data of control plane and user face during wireless communication system provided in an embodiment of the present invention is controlled and managed
The schematic diagram of stream interface and direction;
Fig. 3 is a kind of flow chart of charging method provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another charging method provided in an embodiment of the present invention;
Fig. 5 is the flow chart of another charging method provided in an embodiment of the present invention;
Fig. 6 is the flow chart of another charging method provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of PCRF entity provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another kind PCRF entity provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of PCEF entity provided in an embodiment of the present invention;
Figure 10 is the structural schematic diagram of another kind PCEF entity provided in an embodiment of the present invention;
Figure 11 is a kind of structural schematic diagram of TDF entity provided in an embodiment of the present invention;
Figure 12 is the structural schematic diagram of another kind TDF entity provided in an embodiment of the present invention;
Figure 13 is the structural schematic diagram of another PCRF entity provided in an embodiment of the present invention;
Figure 14 is the structural schematic diagram of another PCRF entity provided in an embodiment of the present invention;
Figure 15 is the structural schematic diagram of another PCEF entity provided in an embodiment of the present invention;
Figure 16 is the structural schematic diagram of another PCEF entity provided in an embodiment of the present invention;
Figure 17 is the structural schematic diagram of another TDF entity provided in an embodiment of the present invention;
Figure 18 is the structural schematic diagram of another TDF entity provided in an embodiment of the present invention;
Figure 19 is the structural schematic diagram of another TDF entity provided in an embodiment of the present invention;
Figure 20 is the structural schematic diagram of another TDF entity provided in an embodiment of the present invention;
Figure 21 is the structural schematic diagram of another PCEF entity provided in an embodiment of the present invention;
Figure 22 is the structural schematic diagram of another PCEF entity provided in an embodiment of the present invention;
Figure 23 is the structural schematic diagram of another PCRF entity provided in an embodiment of the present invention;
Figure 24 is the structural schematic diagram of another PCRF entity provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
There are three types of access technologies for current cordless communication network, and one is global system for mobile communications (Global System
Of Mobile communication, referred to as GSM), commonly referred to as 2G;One is Universal Mobile Communication System
(Universal Mobile Telecommunications System, referred to as UMTS), commonly referred to as 3G;And it drills for a long time
Into (Long Term Evolved, referred to as LTE) system, commonly referred to as 4G.System architecture such as Fig. 1 under three kinds of access technologies
It is shown.
The network architecture either under which kind of access technology can be divided into two parts, and one is to access mesh portions, and one
Core network part.Core network part is divided into mobile management network element, gateway and the part PCC again.Access mesh portions are mainly born
Radio access layer signaling and user data transmission are blamed, specifically, in gsm, access mesh portions are primarily referred to as in Fig. 1
GERAN (English are as follows: GSM EDGE Radio Access Network), including BTS and BSC;In umts, mesh portions are accessed
The UTRAN being primarily referred to as in Fig. 1, including RNC and NodeB;In LTE system, access mesh portions are primarily referred to as the E- in Fig. 1
UTRAN, including eNodeB.Other parts in framework shown in Fig. 1 in addition to accessing mesh portions are core network part, wherein GSM
It is referred to as mobile management network element with the MME in the SGSN and LTE system of UMTS, is mainly used for obtaining the signing number of user
According to, responsible NAS signaling and the functions such as NAS signaling encryption and roaming, tracking, distributing user temporary identifications, security function
Deng.The PGW in GGSN and LTE system in GSM and UMTS is gateway, is mainly responsible for strategy execution and charging and conjunction
Method monitors correlation function.In addition, in core net there are one important component be the part PCC comprising PCRF entity and
PCEF entity, usually and gateway, such as GGSN or PGW conjunction is set PCEF entity, and and user-subscribed database
(Subscription Profile Repository, referred to as SPR), application function (Application Function, letter
Referred to as AF) entity etc. realizes the effect of the part PCC together.SPR is not shown in Fig. 1.
PCRF entity is mainly according to carrier policy, the limitation to user access network, user contracting data and use
The current factors such as business information of ongoing SDF in family, formulate corresponding strategy, which is known as PCC rule;PCEF entity
The PCC rule that PCRF entity is formulated mainly is executed, such as according to PCC rule, SDF is detected and is measured, guarantees business
Service quality (Quality of Service, referred to as QoS), user face flow detection and triggering control plane session management
Etc..It further illustrates, for the QoS for guaranteeing business, all Internet protocols (Internet Protocol, the abbreviation that UE is issued
It needs for IP) data packet or all IP data packets to be received by PCEF, number will be serviced according to the qos parameter of SDF by PCEF
It is assisted according to stream and bearing binding, such as by QoS classification mark (QoS Class Identifier, referred to as QCI) and address resolution
The identical server data stream of view (Address Resolution Protocol, referred to as ARP) is bundled in the same carrying,
Flow control is executed in order to which other network elements in core net are based on carrying.In addition, the charging policy that PCEF can also be issued according to PCRF
With charging mode etc., to the server data stream etc. received.
Currently, carrying out charging to the business datum of user is to execute the charging based on SDF granularity by PCEF entity.Current
The charging based on application data stream is being discussed in 3GPP tissue.For current 3GPP tissue discussing based on using data
The charging of stream, the embodiment of the invention provides following two solutions.One is in business detection function (Traffic
Detection Function, referred to as TDF) physically execute the billing scheme based on application data stream, another kind be
PCEF physically executes the billing scheme based on application data stream.
Wherein, TDF entity is one kind of deep-packet detection (Deep Packet Inspection, referred to as DPI) equipment
Functional entity, what can be issued according to PCRF entity executes detection to data packet to the detection rule of data packet, such as detects certain
The data packet of class application (QQ), or uniform resource locator (Uniform Resource Locator, abbreviation that detection is specified
The data packet event is reported to PCRF entity after detecting the application data packet of the condition of satisfaction for the data packet etc. of URL).Separately
Outside, TDF entity may also execute flow control, such as the Maximum Bit Rate limitation of uplink and downlink to the application data packet detected.Fig. 2 institute
In being shown as wireless communication system control and managing, the data stream interface and direction in control plane and user face.Band arrow in as shown in Figure 2
Shown in the dotted line of head, the upstream data packet that UE is sent will first pass through PCEF entity, get to network side using TDF entity,
Correspondingly, the downlink data packet that network side is sent will first pass through TDF entity as with the arrow shown in solid in Fig. 2, using
PCEF entity gets to UE.
In the first solution, for upstream data packet, it is possible to by PCEF entity based on SDF granularity
After charging, and pass through charging of the TDF entity based on application data stream, there are repetition chargings to cause charging inaccurate;For downlink
For data flow, since PCEF entity will execute the qos policy of SDF, the data of TDF entity charging may be discarded in
Packet also results in charging inaccuracy.
In second of solution, after application belonging to TDF entity detection to downlink data packet, this lower line number is identified
According to packet, in order to the application according to belonging to mark identification downlink data packet of PCEF entity, and charging is carried out to it, realization is based on
The charging of application data stream, but for upstream data packet, PCEF entity can not identify application belonging to upstream data packet, only
After having executed the charging based on SDF granularity, upstream data packet is sent into TDF entity, upstream data packet institute is detected by TDF entity
The application of category, and PCEF entity is fed back to, PCEF entity carries out charging to the upstream data packet again at this time, realizes based on using number
According to the charging of stream, the problem of this there is repetition charging, charging inaccuracy is also resulted in.
For discussing the charging based on application data stream in current 3GPP tissue, and the solution that the present invention is provided above
Certainly scheme there are the problem of, following embodiment of the present invention gives solution perfect in further detail.
The main thought of the first charging method provided by the invention is: being determined by PCRF entity and needs the first of charging to answer
With, and charging identifier is distributed for the first application, it needs to carry out independent charging to the first application by charging identifier mark;So
PCRF entity is sent respectively to TDF entity, PCEF reality by the mark of the first application and for the charging identifier of the first application distribution afterwards
Body and UE;In this way, before UE sends the upstream data packet of the first application to PCEF entity, in the upstream data packet of the first application
The charging identifier is added, the upstream data packet for adding the charging identifier is then sent to PCEF entity, PCEF entity is just
Independent charging can be carried out to the upstream data packet for carrying the charging identifier received, realized in up direction to first
The independent charging of application, and because the problem of the upstream data packet of the first application can be identified therefore repetition charging is not present;
Similarly, TDF entity is before the downlink data packet for sending the first application to PCEF entity, in the downlink data packet of the first application
The charging identifier is added, the upstream data packet for adding the charging identifier is then sent to PCEF entity, PCEF entity is just
Independent charging can be carried out to the downlink data packet for carrying the charging identifier received, realized in the downstream direction to the
The independent charging of one application, because the downlink data packet of the first application can be identified the problem of there is no repetition chargings.
Main thought based on the first charging method, separately below from PCRF entity, PCEF entity, TDF entity and
The process of the first charging method is described in detail in the angle of UE.
The method flow being described from the angle of PCRF entity includes:
The determination of PCRF entity needs the first of charging to apply, and distributes charging identifier, the charging identifier for the first application
It needs individually to carry out charging to first application for identifying;
PCRF entity is sent respectively to by the mark that described first applies and for the charging identifier of the first application distribution
UE, PCEF entity and TDF entity, so that UE the and TDF entity adds the charging in the data packet of first application
It is sent to the PCEF entity after mark, applies the PCEF entity according to the mark of first application and for described first
The charging identifier of distribution carries out independent charging to the data packet for carrying the charging identifier from UE and TDF entity respectively,
To realize the independent charging to the first application.
In an optional embodiment, mark and be the first application distribution that PCRF entity is applied described first
Charging identifier is sent to UE, comprising:
PCRF entity sends IP-CAN session establishment response message to the PCEF entity, and the IP-CAN session establishment is rung
Answering message includes the mark of first application and the charging identifier of the distribution for first application, so that the PCEF entity
It is sent to by service gateway device by mark that described first applies and for the charging identifier of the first application distribution described
UE。
Based on above-mentioned, PCRF entity is sent to the PCEF entity before IP-CAN session establishment response message, further includes:
PCRF entity receives the IP-CAN session establishment request message that PCEF entity is sent.
In an optional embodiment, mark and be the first application distribution that PCRF entity is applied described first
Charging identifier is sent to TDF entity, comprising:
PCRF entity sends TDF session establishment request message, the TDF session establishment request message to the TDF entity
Mark including first application and the charging identifier for the first application distribution.
Further alternative, PCRF entity is sent to the TDF entity after TDF session establishment request message, further includes:
PCRF entity receives the TDF session establishment response message that the TDF entity is sent.
In an optional embodiment, the determination of PCRF entity needs the first of charging to apply, comprising: PCRF entity receives
The Business Stream that TDF entity is sent detects event, and Business Stream detection event is the TDF entity detection to the institute for needing charging
It states and sends after the data packet of the first application, and Business Stream detection event includes the mark of first application, it is described
PCRF entity determines first application according to the mark of first application.
The first scheme applied of charging is needed based on above-mentioned TDF entity detection, what PCRF entity was applied described first
Mark and the charging identifier distributed for first application are sent to UE and PCEF entity, comprising:
PCRF entity is to the PCEF entity sending strategy and charging regulation message, the strategy and charging regulation message package
The mark of first application and the charging identifier for the first application distribution are included, so that the PCEF entity passes through service network
Pass equipment is sent to the UE by the mark that described first applies and for the charging identifier of the first application distribution.
The first scheme applied of charging is needed based on above-mentioned TDF entity detection, what PCRF entity was applied described first
Mark and the charging identifier distributed for first application are sent to TDF entity, comprising:
PCRF entity sends modification application detection control (Application Detection to the TDF entity
Control, referred to as ADC) Rules Message, it is described to modify the mark and be described that ADC Rules Message includes first application
The charging identifier of first application distribution.
The method flow being described from the angle of PCEF entity includes:
PCEF entity receives the first application of the independent charging of needs that the PCRF entity that PCRF entity is sent determines
Mark and the charging identifier distributed for first application;
PCEF entity passes through service network by the mark that described first applies and for the charging identifier of the first application distribution
It closes equipment and is sent to UE, so as to described after adding the charging identifier in the upstream data packet that the UE is applied described first
PCEF entity is sent;
PCEF entity receives the upstream data packet for carrying the charging identifier that the UE is sent, and according to the charging
It identifies and independent charging is carried out to the upstream data packet for carrying the charging identifier.
In an optional embodiment, the method also includes:
PCEF entity receives the downlink data packet for carrying the charging identifier that TDF entity is sent, and according to the meter
Expense mark carries out independent charging to the downlink data packet for carrying the charging identifier.
In an optional embodiment, what the PCRF entity that PCEF entity receives the transmission of PCRF entity determined needs list
The mark of first application of only charging and the charging identifier distributed for first application, comprising:
PCEF entity receives the IP-CAN session establishment response message that the PCRF entity is sent, and the IP-CAN session is built
Vertical response message includes the mark of first application and the charging identifier of the distribution for first application.
Based on above-mentioned, before PCEF entity receives the IP-CAN session establishment response message that the PCRF entity is sent, also
Including: PCEF entity sends IP-CAN session establishment request message to the PCRF entity.
In an optional embodiment, what the PCRF entity that CEF entity receives the transmission of PCRF entity determined needs list
The mark of first application of only charging and the charging identifier distributed for first application, comprising:
PCEF entity receives the strategy that the PCRF entity is sent and charging regulation message, the strategy disappear with charging regulation
Breath includes the mark of first application and the charging identifier for the first application distribution.
In an optional embodiment, mark and be the first application distribution that PCEF entity is applied described first
Charging identifier is sent to UE by service gateway device, comprising:
PCEF entity sends IP-CAN carrying to the service gateway device and establishes response message, and the IP-CAN carrying is built
Vertical response message includes the mark of first application and the charging identifier for the first application distribution, so that the service network
Pass equipment is sent to the UE by the mark that described first applies and for the charging identifier of the first application distribution.
Based on above-mentioned, PCEF entity is sent before IP-CAN carrying establishes response message to the service gateway device, also
It include: that PCEF entity receives the IP-CAN carrying that the service gateway device is sent and establishes request message, the IP-CAN carrying
Establish the mark that request message includes the UE.
The method flow being described from the angle of TDF entity includes:
TDF entity receives the mark of the first application of the independent charging of needs that the PCRF entity that PCRF entity is sent determines
The charging identifier known and distributed for first application;
TDF entity determines the downlink data packet of first application according to the mark of first application, described first
The charging identifier is added in the downlink data packet of application;
The downlink data packet for adding the charging identifier is sent to PCEF entity by TDF entity, so that the PCEF entity
Independent charging is carried out based on downlink data packet of the charging identifier to first application.
In an optional embodiment, what the PCRF entity that TDF entity receives the transmission of PCRF entity determined needs list
The mark of first application of only charging and the charging identifier distributed for first application, comprising:
TDF entity receives the TDF session establishment request message that the PCRF entity is sent, the TDF session establishment request
Message includes the mark of first application and the charging identifier for the first application distribution.
It is further alternative, after TDF entity receives the TDF session establishment request message that the PCRF entity is sent, also
Including: TDF entity sends TDF session establishment response message to the PCRF entity.
In an optional embodiment, what the PCRF entity that TDF entity receives the transmission of PCRF entity determined needs list
Before the mark of first application of only charging and the charging identifier distributed for first application, further includes:
TDF entity detection needs the data packet of first application of independent charging, and is detecting first application
Data packet after, send Business Stream to the PCRF entity and detect event, Business Stream detection event includes described first answering
Mark needs to count first application so that the PCRF entity is determined according to the mark of first application
Take.
Based on above-mentioned, TDF entity receives the of the independent charging of needs that the PCRF entity that PCRF entity is sent determines
The mark of one application and the charging identifier distributed for first application, comprising:
TDF entity receives the modification ADC Rules Message that the PCRF entity is sent, and the modification ADC Rules Message includes
The mark of first application and the charging identifier distributed for first application.
The method flow being described from the angle of UE includes:
UE receives the mark for the first application that service gateway device is sent and the charging identifier for the first application distribution;
Wherein, the charging identifier needs individually to carry out charging to first application for identifying;
UE determines the upstream data packet of first application according to the mark of first application, in first application
The charging identifier is added in upstream data packet;
The upstream data packet for adding the charging identifier is sent to PCEF entity by UE, so that the PCEF entity is based on institute
It states charging identifier and independent charging is carried out to the upstream data packet of first application.
Below from the angle of more network elements interaction, further the process of the first charging method provided by the invention is carried out detailed
Thin description.
Fig. 3 is a kind of flow chart of charging method provided in an embodiment of the present invention.As shown in Figure 3, which comprises
11, PCEF entity receives the internet connected reference network (IP-Connectivity that service gateway device is sent
Access Network, referred to as IP-CAN) it carries and establishes request message.
Specifically, PCEF entity receives service gateway device, such as request message is established in the IP-CAN carrying that SGW is sent,
It includes the information such as the mark of UE that request message is established in the IP-CAN carrying, for establishing carrying.
12, PCEF entity sends IP-CAN session establishment request message to PCRF entity.
13, PCRF entity determination needs the first of charging to apply, and the first application distribution charging identifier to need charging,
It needs to carry out independent charging to the first application with mark.
Illustrating herein, the first application here can be any required application for carrying out charging, for ease of description, titled with
" first ", but there is no the meanings that number limits.
For example, PCRF can distribute corresponding differentiated services code points (Differentiated for the first application
Services Code Point, referred to as DSCP) value, in order to which the position DSCP in the IP of data packet head is using corresponding value
Mark needs to carry out charging to the first application.
14, PCRF entity sends TDF session establishment request message to TDF entity, which includes
The mark (APPLICATION ID) and charging identifier of first application, such as DSCP value.
15, TDF entity sends TDF session establishment response message to PCRF entity.
Optionally, method provided in this embodiment can also include: that TDF entity receives the mark of the first application and for first
After the charging identifier of distribution, the charging identifier is added in the downlink data packet of the first application, and charging identifier will be added
First application downlink data packet be sent to PCEF entity;PCEF entity receive TDF entity transmission carry charging identifier
Downlink data packet when, to such data packet execute charging.
After PCRF entity is the first application distribution charging identifier, TDF session establishment process is initiated to TDF entity, by the
The mark of one application and be supplied to TDF entity for the charging identifier of the first application distribution, in order to TDF down direction to this
One application is identified according to the charging identifier (such as DSCP value), so that PCEF entity receives the downlink data of TDF transmission
It can recognize that downlink data packet belongs to the first application for needing to carry out charging after packet, to realized in the downstream direction to first
Application independent charging, and be not present repetition charging the problem of.
16, PCRF entity sends IP-CAN session establishment response message, IP-CAN session establishment response to PCEF entity
Message includes the mark of the first application and the charging identifier for the first application distribution, such as DSCP value.
Wherein, the mark of the first application namely needs the mark (Charged-application of the application of charging
identifier)。
On the one hand PCRF entity is applied after for the first application distribution charging identifier by the mark of the first application and for first
The charging identifier of distribution is supplied to TDF entity, on the other hand also needs to distribute by the mark of the first application and for the first application
Charging identifier is supplied to PCEF entity, in order to which PCEF entity is based on the two information, to the uplink and downlink number of the first application
Charging is carried out according to packet.
17, PCEF entity sends IP-CAN carrying to service gateway device and establishes response message, and IP-CAN carrying is established
Response message includes the mark of the first application and the charging identifier for the first application distribution.
Optionally, PCEF entity can be added to by the mark of the first application and for the charging identifier of the first application distribution
IP-CAN carrying establish in response message protocol configuration option (Protocol Configuration Options, referred to as
PCO in), it is supplied to service gateway device.
In addition, the realization for the mark that the present embodiment is applied to first is without limitation.For example, if necessary to Sina
(Sina) the application data packet charging of webpage, it would be possible that being included in PCO for www.sina.com as the mark of the first application
In, but not limited to this.
18, service gateway device receives after IP-CAN carrying establishes response message, by mobile management network element to UE
The mark that transparent transmission first is applied and the charging identifier for the first application distribution, such as can carry to establish to UE transparent transmission IP-CAN and ring
Answer the PCO in message.
19, after UE receives the mark of the first application and the charging identifier for the first application distribution, in the uplink of the first application
The charging identifier is added in data packet, and the upstream data packet for adding the first application of charging identifier is sent to PCEF entity.
20, when PCEF entity receives the upstream data packet for carrying charging identifier of UE transmission, to the data packet received
Execute independent charging.
Method through this embodiment after PCEF entity receives the upstream data packet of UE transmission, can be carried by it
Charging identifier knows that the upstream data packet belongs to the first application for needing to carry out charging, to realize in the upstream direction to first
The independent charging of application.In addition, its meter carried can be passed through after PCEF entity receives the downlink data packet that TDF entity is sent
Expense mark knows that the downlink data packet belongs to the first application for needing to carry out charging, answers in the downstream direction first to realize
Independent charging.In addition, charging method provided in this embodiment is physically realized in PCEF, and it is based on SDF in the prior art
Charging execute on the same device, thus, there is no the problems of the inaccuracy of charging caused by repetition charging.
Fig. 4 is the flow chart of another charging method provided in an embodiment of the present invention.As shown in Figure 4, which comprises
41, TDF entity detection physically reports Business Stream to detect thing to when needing data packet that the first of charging applies to PCRF
Part, it includes the information such as the mark of the first application which, which detects event,.
Specifically, TDF entity can be according to the detection rule to data packet issued before PCRF entity, to what is received
Data packet is detected.Based on this, the data packet which application TDF entity can detect needs to carry out independent charging.Specifically
Needing to carry out which application individually to carry out charging can be depending on the requirement of operator.Wherein, the first application, which can be, appoints
It what is the need for and want the application of charging.The first of charging is needed in application, TDF entity physically reports Business Stream to detect to PCRF when detecting
Event, so that PCRF entity is the first application distribution charging identifier and determines modification ADC rule.
42, after PCRF entity receives Business Stream detection event, the first application is determined according to the mark of the wherein first application, and
It can be DSCP value for the first application distribution charging identifier, such as the charging identifier distributed.
Wherein, the data packet that charging identifier is mainly used for that mark needs to apply to first carries out charging, such as UE is come
It says, needs to add the charging identifier in the upstream data packet of the first application, for PCEF entity, need based on the charging
Mark determines the upstream data packet of the first application and the first application that need charging;And for TDF entity, need
The charging identifier is added in the downlink data packet of one application, for PCEF entity, is needed based on the charging identifier, determining needs
Want the first application of charging and the downlink data packet of the first application.
43, PCRF entity sends modification ADC Rules Message to TDF entity, which includes the mark of the first application
(APPLICATION ID) and the charging identifier distributed for the first application, such as DSCP value.
Optionally, method provided in this embodiment can also include: that TDF entity receives the mark of the first application and for first
After the charging identifier of distribution, the charging identifier is added in the downlink data packet of the first application, and charging identifier will be added
First application downlink data packet be sent to PCEF entity;PCEF entity receive TDF entity transmission carry charging identifier
Downlink data packet when, to such data packet execute charging.
PCRF entity by the mark of the first application and is the first application distribution after for the first application distribution charging identifier
Charging identifier provides TDF entity, and TDF entity is identified between the first application and the charging identifier for distributing to the first application
Corresponding relationship, and then convenient for TDF down direction to this first application according to the charging identifier (such as DSCP value) carry out
Mark, so that PCEF entity can recognize that downlink data packet belongs to and counted after receiving the downlink data packet of TDF transmission
Take first application, thus realize in the downstream direction to first application independent charging, and be not present repetition charging the problem of.
44, for PCRF entity to PCEF entity sending strategy and charging regulation message, which includes the mark of the first application
With the charging identifier for the first application distribution.
Wherein, the mark of the first application namely needs the mark (Charged-application of the application of charging
identifier)。
On the one hand PCRF entity is applied after for the first application distribution charging identifier by the mark of the first application and for first
The charging identifier of distribution is supplied to TDF entity, on the other hand also needs to distribute by the mark of the first application and for the first application
Charging identifier is supplied to PCEF entity, in order to which PCEF entity is based on the two information, to the uplink and downlink number of the first application
Charging is carried out according to packet.
45, PCEF entity sends IP-CAN carrying to service gateway device and establishes request message, and IP-CAN carrying is established
Request message includes the mark of the first application and the charging identifier for the first application distribution.
Optionally, PCEF entity can be added to by the mark of the first application and for the charging identifier of the first application distribution
IP-CAN carrying is established in the PCO in request message, and service gateway device is supplied to.
In addition, the realization for the mark that the present embodiment is applied to first is without limitation.For example, if necessary to Sina
(Sina) the application data packet charging of webpage, it would be possible that being included in PCO for www.sina.com as the mark of the first application
In, but not limited to this.
46, service gateway device receives after IP-CAN carrying establishes request message, by mobile management network element to UE
The mark that transparent transmission first is applied and the charging identifier for the first application distribution, such as can carry to establish to UE transparent transmission IP-CAN and ask
Seek the PCO in message.
47, after UE receives the mark of the first application and the charging identifier for the first application distribution, in the uplink of the first application
The charging identifier is added in data packet, and the upstream data packet for adding the first application of charging identifier is sent to PCEF entity.
48, when PCEF entity receives the upstream data packet for carrying charging identifier of UE transmission, to the data packet received
Execute independent charging.
Method through this embodiment after PCEF entity receives the upstream data packet of UE transmission, can be carried by it
Charging identifier knows that the upstream data packet belongs to the first application for needing to carry out charging, to realize in the upstream direction to first
The independent charging of application.In addition, its meter carried can be passed through after PCEF entity receives the downlink data packet that TDF entity is sent
Expense mark knows that the downlink data packet belongs to the first application for needing to carry out charging, answers in the downstream direction first to realize
Independent charging.In addition, charging method provided in this embodiment is physically realized in PCEF, and it is based on SDF in the prior art
Charging execute on the same device, thus, there is no the problems of the inaccuracy of charging caused by repetition charging.
Second of charging method provided by the invention executes the charging based on SDF granularity mainly in PCEF entity, when
After data packet reaches TDF entity, since TDF entity may cause the data packet quilt of certain applications to certain application execution flow controls
The problem of charging inaccuracy is abandoned and caused, or beats like-identified for the identical data packet of uplink and downlink IP address and is counted
The possibility taken, but charging is actually needed is only the problem of partial data packet of the IP address causes the excess charging and proposes.
The main thought of second of charging method is: after PCEF entity executes the charging based on SDF granularity to data packet,
When data packet reaches TDF entity, the PCC rule mark and/or SDF template that TDF entity is provided according to PCRF entity determine shadow
The flow of the data packet of first application affiliated SDF and first application of the PCEF entity based on SDF granularity charging result is rung, then
The flow of the mark of the first affiliated SDF of application and the data packet of the first application is sent to PCEF entity by PCRF entity,
So that the PCEF entity is based on according to the flow adjustment of the mark of the first affiliated SDF of application and the data packet of the first application
The charging result of SDF granularity.
Based on the main thought of second of charging method, separately below from PCRF entity, PCEF entity and TDF entity
The process of second of charging method is described in detail in angle.
The method flow being described from the angle of PCRF entity includes:
The PCC rule mark and/or SDF template that PCRF entity is sent to TDF entity, influence so that TDF entity determines
The stream of the data packet of the mark and the first application of the first affiliated SDF of application of charging result of the PCEF entity based on SDF granularity
Amount;
PCRF entity receives described the determined according to PCC rule mark and/or SDF template that TDF entity is sent
The flow of the mark of the one affiliated SDF of application and the data packet of first application;
PCRF entity sends the flow of the mark of the affiliated SDF of first application and the data packet of first application
PCEF entity is given, so that the number of mark and first application of the PCEF entity based on the affiliated SDF of first application
The charging result based on SDF granularity of the upstream data packet from UE is adjusted according to the flow of packet;Wherein, first application
Data packet belongs to the upstream data packet from the UE.
In an optional embodiment, the PCC rule mark and/or SDF template that PCRF entity is sent to TDF entity, packet
It includes:
PCRF entity sends TDF session establishment request message to TDF entity, and the TDF session establishment request message includes
The PCC rule mark and/or SDF template.
Based on above-mentioned, PCRF entity is sent to TDF entity after TDF session establishment request message, further includes: PCRF entity
Receive the TDF session establishment response message that TDF entity is sent.
In an optional embodiment, PCRF entity answers the mark and described first of the affiliated SDF of first application
The flow of data packet is sent to PCEF entity, comprising:
PCRF entity sends IP-CAN session modification request message to PCEF entity, and the IP-CAN session modification request disappears
Breath includes the flow of the mark of the affiliated SDF of first application and the data packet of first application.
The method flow being described from the angle of PCEF entity includes:
PCEF entity receives the first application of influence charging result of the PCEF entity based on SDF granularity that PCRF entity is sent
The flow of the mark of affiliated SDF and the data packet of first application;Wherein, the mark of the affiliated SDF of first application
Flow with the data packet of first application is TDF entity identified according to the PCC rule that the PCRF entity is sent and/or
SDF template is determining and is sent to the PCRF entity;
The flow pair for the data packet that PCEF entity is applied according to the mark of the affiliated SDF of first application and described first
Charging result based on SDF granularity is adjusted;Wherein, the data packet of the first application belongs to the upstream data from the UE
Packet.
In an optional embodiment, PCEF entity receives the influence PCEF entity that PCRF entity is sent and is based on SDF granularity
Charging result first application affiliated SDF mark and it is described first application data packet flow before, further includes:
PCEF entity carries out the charging based on SDF granularity to all data packets of arrival.
In an optional embodiment, PCEF entity receives the influence PCEF entity that PCRF entity is sent and is based on SDF granularity
Charging result first application affiliated SDF mark and it is described first application data packet flow, comprising:
PCEF entity receives the IP-CAN session modification request message that PCRF entity is sent, and the IP-CAN session modification is asked
Seeking message includes the flow of the mark of the affiliated SDF of first application and the data packet of first application.
The method flow being described from the angle of TDF entity includes:
TDF entity receives the PCC rule mark and/or SDF template that PCRF entity is sent;
TDF entity is identified according to the PCC rule and/or SDF template, and determining influences PCEF entity based on SDF granularity
The flow of the data packet of the mark and the first application of the first affiliated SDF of application of charging result;
TDF entity passes through the flow of the mark of the affiliated SDF of first application and the data packet of first application
The PCRF entity is sent to the PCEF entity, so that mark of the PCEF entity based on the affiliated SDF of first application
Know and the flow of the data packet of first application adjusts the upstream data packet from UE based on the charging result of SDF granularity
It is whole;Wherein, the data packet of first application belongs to the upstream data packet from the UE.
In an optional embodiment, TDF entity receives the PCC rule mark and/or SDF template that PCRF entity is sent,
Include:
TDF entity receives the TDF session establishment request message that PCRF entity is sent, the TDF session establishment request message
Including PCC rule mark and/or SDF template.
Based on above-mentioned, optionally, after TDF entity receives the TDF session establishment request message that PCRF entity is sent, also wrap
Include: TDF entity sends TDF session establishment response message to the PCRF entity.
In an optional embodiment, TDF entity is identified according to the PCC rule and/or SDF template, and determining influences
The stream of the data packet of the mark and the first application of the first affiliated SDF of application of charging result of the PCEF entity based on SDF granularity
Amount, comprising:
TDF entity according to the PCC rule of PCC rule mark instruction, determine due to executing flow control based on application by
Application belonging to the data packet of discarding as first application, determine described in the flow of data packet that is dropped as described the
The flow of the data packet of one application, and determine that described first applies affiliated SDF;Or
TDF entity detected according to the SDF template do not need in the upstream data packet of the UE have it is identical
When all data packets of IP address information carry out charging, from all data packets with identical IP address information, determine practical
It needs application belonging to the data packet of charging as first application, determines the flow conduct of the data packet of actual needs charging
The flow of the data packet of first application, and determine that described first applies affiliated SDF;Alternatively,
TDF entity detected according to the SDF template do not need in the upstream data packet of the UE have it is identical
When all data packets of IP address information carry out charging, from all data packets with identical IP address information, determine to be not required to
It wants application belonging to the data packet of charging as first application, determines described in the flow conduct for the data packet for not needing charging
The flow of the data packet of first application, and determine that described first applies affiliated SDF.
Below from the angle of more network elements interaction, further the process of second of charging method provided by the invention is carried out detailed
Thin description.
Fig. 5 is the flow chart of another charging method provided in an embodiment of the present invention.As shown in Figure 5, which comprises
51, PCRF entity sends TDF session establishment request message to TDF entity, which includes
PCC rule identifies (PCC rule id) and/or SDF template.
Wherein, PCC rule mark is used to indicate PCC rule, which includes many information, for executing Business Stream
Control and charging regulation etc..In the present embodiment, the charging regulation can indicate specifically to count which or which application
Take.SDF template is exactly one group of five-tuple information, is used to indicate using flowing walked carrying, it is popular for be exactly that instruction application is flowed
Which should walk in carrying.
52, TDF entity sends TDF session establishment response message to PCRF entity.
53, when data packet reaches TDF entity, TDF entity is identified according to PCC rule and/or SDF template, determines first
Using the flow of affiliated SDF and the data packet of first application, in order to which PCEF entity applies affiliated SDF according to first
The charging result based on SDF granularity is adjusted with the flow of the data packet of the first application.
In the present embodiment, the TDF entity PCC rule and/or SDF template indicated according to PCC rule mark, can obtain
Know and needs the first of charging to apply affiliated SDF.First application, which refers to, influences charging result of the PCEF entity based on SDF granularity
Using, such as can be what application belonging to the data packet that TDF entity is abandoned because executing flow control or TDF entity determined
The application for needing independent charging can also be the application for not needing independent charging that TDF entity determines.
Specifically, determination will execute the stream based on application if TDF entity is regular according to the PCC of PCC rule mark instruction
Control, for example the partial data packet of certain application is abandoned, it is abandoned then TDF entity can be determined according to information such as the IP address of the application
Data packet belonging to SDF;At this point, application belonging to packet discard is the first application.
It does not need if TDF entity is detected according to SDF template to all data packets with identical IP address information
When carrying out charging, from all data packets with identical IP address information, the data packet of the application of actual needs charging is determined,
And determine need charging using affiliated SDF;At this point, the application of actual needs charging is first application.Alternatively,
TDF entity can also determine the application for being not belonging to actual needs charging from all data packets with identical IP address information
Data packet, and determine these do not need SDF belonging to the data packet of charging;At this point, the data packet institute for not needing charging
The application of category is the first application.
54, the flow of the mark of the first affiliated SDF of application and the data packet of the first application is sent to PCRF by TDF entity
Entity.
55, PCRF entity sends IP-CAN session modification request message to PCEF entity, and the IP-CAN session modification is asked
Seeking message includes the flow of the mark of the first affiliated SDF of application and the data packet of the first application.
56, the flow for the data packet that PCEF entity is applied according to the mark of the first affiliated SDF of application and first, to first
It is adjusted using the charging result of affiliated SDF, to achieve the purpose that accurate billing.
In the present embodiment, after PCEF entity executes the charging based on SDF granularity, TDF entity executes the data flow
Detection, by the way that the flow for executing the data packet of the mark and discarding of the affiliated SDF of data packet that flow control abandons is passed through PCRF
Entity notifies PCEF entity, so that PCEF entity is adjusted the charging result based on the SDF, or with will having identical IP
In the data of location information, be actually needed charging using affiliated SDF and flow, or do not need charging using affiliated SDF
It is sent to PCEF entity by PCRF entity with flow, in order to which PCEF entity adjusts the charging result based on SDF granularity
It is whole, to achieve the purpose that accurate billing, solve the problems, such as charging inaccuracy.
The third charging method provided by the invention executes the charging based on SDF granularity mainly in PCEF entity, when
After data packet reaches TDF entity, since TDF entity may cause the data packet quilt of certain applications to certain application execution flow controls
The problem of charging inaccuracy is abandoned and caused, or beats like-identified for the identical data packet of uplink and downlink IP address and is counted
The possibility taken, but charging is actually needed is only the problem of partial data packet of the IP address causes the excess charging and proposes.
The main thought of the third charging method is: firstly, PCRF entity, PCEF entity and TDF entity are determined as flowing back
The charging identifier of data distribution, the charging identifier is for identifying reflux data.PCEF entity executes data packet and is based on SDF granularity
Charging after, when data packet reach TDF entity when, TDF entity determine reflux data, and will reflux data stamp charging identifier
After retransmit and give PCEF entity so that PCEF entity determines reflux data based on the charging identifier, and according to reflux data
Charging result based on SDF granularity is adjusted, to achieve the purpose that accurate billing.Wherein, the reflux data refer to shadow
Ring the data of charging result of the PCEF entity based on SDF granularity.
Main thought based on the third charging method, separately below from TDF entity, PCEF entity and PCRF entity
The process of second of charging method is described in detail in angle.
The method flow being described from the angle of TDF entity includes:
After TDF entity receives the upstream data packet of PCEF entity transmission, reflux data are determined, and be the reflux data
Charging identifier is added, the reflux data, which refer to, influences the PCEF entity to the upstream data packet in the upstream data packet
The data packet of charging result based on SDF granularity;
The reflux data for carrying the charging identifier are sent to PCEF entity by TDF entity, so that the PCEF entity root
According to the reflux data for carrying the charging identifier, the upstream data packet is adjusted based on the charging result of SDF granularity.
In an optional embodiment, after TDF entity receives upstream data packet, reflux data are determined, and return to be described
Flow data adds before charging identifier, further includes:
TDF entity receives the charging mark that the PCRF entity that PCRF entity is sent is the reflux data distribution
Know.
Further alternative, TDF entity receives the PCRF entity that PCRF entity is sent as reflux data distribution
The charging identifier, comprising:
TDF entity receives the TDF session establishment request message that the PCRF entity is sent, the TDF session establishment request
Message includes the charging identifier.
Based on above-mentioned, TDF entity is received after the TDF session establishment request message that the PCRF entity is sent, further includes:
TDF entity sends TDF session establishment response message to the PCRF entity.
The method flow being described from the angle of PCEF entity includes:
PCEF entity receives the carrying that TDF entity is sent after carrying out the charging based on SDF granularity to upstream data packet
Have a reflux data of charging identifier, the reflux data be influenced in the upstream data packet that the TDF entity determines described in
Data packet of the PCEF entity to the charging result based on SDF granularity of the upstream data packet;
PCEF entity according to the charging identifier determine receive be reflux data, determine belonging to the reflux data
SDF is adjusted the charging result of the SDF of the determination.
In an optional embodiment, PCEF entity receives the reflux data for carrying charging identifier that TDF entity is sent
Before, further includes:
PCEF entity receives the charging mark that the PCRF entity that PCRF entity is sent is the reflux data distribution
Know.
Further alternative, PCEF entity receives the PCRF entity that PCRF entity is sent as reflux data distribution
The charging identifier, comprising:
PCEF entity receives the IP-CAN session establishment response message that PCRF entity is sent, and the IP-CAN session establishment is rung
Answering message includes the charging identifier.
Based on above-mentioned, PCEF entity is received before the IP-CAN session establishment response message that PCRF entity is sent, further includes:
PCEF entity sends IP-CAN session establishment request message to PCRF entity.
The method flow being described from the angle of PCRF entity includes:
PCRF entity determines the charging identifier for needing to distribute to reflux data packet, and the reflux data refer to upstream data packet
The middle PCEF entity that influences is to the data packet of the charging result based on SDF granularity of the upstream data packet;
The charging identifier is sent to TDF entity and the PCEF entity by PCRF entity, always for the TDF entity
The charging is added in the reflux data after determining the reflux data from the upstream data packet of PCEF entity
It is sent after mark to the PCEF entity, so that the PCEF entity is determined the reflux data according to the charging identifier and be based on
The reflux data are adjusted the charging result based on SDF granularity of the upstream data packet.
In an optional embodiment, the charging identifier is sent to TDF entity by PCRF entity, comprising:
PCRF entity sends TDF session establishment request message to TDF entity, and the TDF session establishment request message includes
The charging identifier.
Based on above-mentioned, PCRF entity is sent to TDF entity after TDF session establishment request message, further includes: PCRF entity
Receive the TDF session establishment response message that the TDF entity is sent.
In an optional embodiment, the charging identifier is sent to PCEF entity by PCRF entity, comprising:
PCRF entity sends IP-CAN session establishment response message to PCEF entity, and the IP-CAN session establishment response disappears
Breath includes the charging identifier.
Based on above-mentioned, PCRF entity is sent to PCEF entity before IP-CAN session establishment response message, further includes: PCRF
Entity receives the IP-CAN session establishment request message that PCEF entity is sent.
Below from the angle of more network elements interaction, further the process of the third charging method provided by the invention is carried out detailed
Thin description.
Fig. 6 is the flow chart of another charging method provided in an embodiment of the present invention.As shown in Figure 6, which comprises
61, request message is established in the IP-CAN carrying that PCEF entity receives that service gateway device is sent.
62, PCEF entity sends IP-CAN session establishment request message to PCRF entity.
63, PCRF entity determines the charging identifier for needing to distribute to reflux data.
Illustrate herein, the reflux data in the present embodiment refer to influence billing accuracy, for for PCEF entity to being based on
The data that the charging result of SDF granularity is adjusted are to return to PCEF entity by TDF entity, such as can be TDF entity
The data for carrying out the data after charging or TDF entity execution flow control based on application data stream and abandoning.
Wherein, PCRF entity be reflux data distribute charging identifier, purpose first is that for TDF entity identifier flow back data, two
It is that PCEF entity is made to identify reflux data from the downlink data received based on charging identifier.PCRF entity distributes to reflux
The charging identifier of data can be DSCP value, in order to which the position DSCP in the IP of data packet head identifies this time using corresponding value
Flow data.
64, PCRF entity sends TDF session establishment request message to TDF entity, which includes
Distribute to the charging identifier of reflux data, such as DSCP value.
65, TDF entity sends TDF session establishment response message to PCRF entity.
66, PCRF entity sends IP-CAN session establishment response message, IP-CAN session establishment response to PCEF entity
Message includes distributing to the charging identifier of reflux data, such as DSCP value.So far, PCRF entity and TDF entity and PCEF entity
It matches, charging identifier is assigned with for reflux data, and be respectively supplied to TDF entity and PCEF entity, in order to subsequent TDF
The charging identifier of entity and PCEF entity based on the reflux data carries out more accurate billing operation.
67, after TDF entity receives upstream data packet, determine that reflux data, such as TDF entity can execute flow control plan
Slightly, determine that the upstream data packet for needing to abandon is used as reflux data or TDF entity by the application based on application data stream charging
Upstream data packet as reflux data.
68, TDF entity gives identified reflux data forwarding to PCEF entity, and gives back in reflux data comprising distribution
Charging identifier of flow data, such as DSCP value etc. can recognize that and receive when receiving reflux data in order to PCEF entity
Be reflux data, be TDF entity abandon upstream data packet or TDF entity based on application data stream carry out charging uplink
Data packet.
Specifically, TDF entity can invert the information such as outer layer IP IP address of the data that flow back, then forward
Give PCEF entity.
69, after PCEF entity receives reflux data, according to the charging identifier in reflux data, what determination received is reflux
Data then determine SDF belonging to the reflux data according to the IP information, such as IP address etc. of reflux data packet internal layer, and adjust
To the charging result of the SDF, in order to accurate billing.
Specifically, PPCEF entity can count reflux data flow, and from reflux data belonging to SDF charging knot
The expense generated by the flow of the reflux data is deducted in fruit, to achieve the purpose that accurate billing.
In the present embodiment, negotiate the corresponding charging identifier of reflux data in advance, and define the charging identifier and be used to indicate
PCEF entity is adjusted the charging result based on SDF granularity, then after the completion of PCEF entity is based on the charging of SDF granularity, number
TDF entity is reached after TDF entity executes the operation such as the flow control based on application or the charging based on application data stream according to packet to determine
The data packet of operation is as reflux data and carries charging identifier wherein, is then forwarded to PCEF entity, in order to PCEF reality
Body determines reflux data based on the charging identifier in reflux data, then SDF and adjusts the SDF's according to belonging to reflux data
Charging result achievees the purpose that accurate billing.
Illustrate herein, in the embodiment shown in fig. 6, is illustrated by taking upstream data packet as an example, for downlink data packet
It can be handled by the way of embodiment similar to Figure 6.
Fig. 7 is a kind of structural schematic diagram of PCRF entity provided in an embodiment of the present invention.As shown in fig. 7, the PCRF is real
Body comprises determining that module 71, distribution module 72 and sending module 73.
Determining module 71 needs the first of charging to apply for determination.
Distribution module 72 is connect with determining module 71, based on the first application distribution determined for determining module 71
Take mark, the charging identifier needs to carry out independent charging to first application for identifying.
Sending module 73 is connect with determining module 71 and distribution module 72, described for determining determining module 71
One application mark and distribution module 72 be it is described first application distribution charging identifier be sent respectively to UE, PCEF entity and
TDF entity, so that the UE and the TDF entity are sent after adding the charging identifier in the data packet of first application
To the PCEF entity, make mark of the PCEF entity based on first application and the charging for the first application distribution
Mark carries out independent charging to the data packet for carrying the charging identifier from the UE and the TDF entity respectively.
In an optional embodiment, mark and be first application that sending module 73 is used to apply described first
The charging identifier of distribution is sent respectively to UE and PCEF entity, comprising:
Sending module 73 is specifically used for sending IP-CAN session establishment response message, the IP-CAN to the PCEF entity
Session establishment response message includes the mark of first application and the charging identifier of the distribution for first application, so that institute
State the mark and the charging identifier distributed for first application that PCEF entity is applied by service gateway device by described first
It is sent to the UE.
In an optional embodiment, mark and be the first application distribution that sending module 73 is applied described first
Charging identifier TDF entity, comprising:
Sending module 73 is specifically used for sending TDF session establishment request message to the TDF entity, and the TDF session is built
Vertical request message includes the mark of first application and the charging identifier for the first application distribution.
In an optional embodiment, determining module 71 is specifically used for receiving the Business Stream detection that the TDF entity is sent
Event, Business Stream detection event are sent out after the TDF entity detection arrives the described first data packet applied for needing charging
It send, and Business Stream detection event includes the mark of first application;Institute is determined according to the mark of first application
State the first application.
On the basis of above-mentioned Business Stream detection event, mark and be institute that sending module 73 is used to apply described first
The charging identifier for stating the first application distribution is sent respectively to UE and PCEF entity, comprising:
Sending module 73 is specifically used for the PCEF entity sending strategy and charging regulation message, the strategy and charging
Rules Message includes the mark of first application and the charging identifier for the first application distribution, so that the PCEF entity
It is sent to by service gateway device by mark that described first applies and for the charging identifier of the first application distribution described
UE。
On the basis of above-mentioned Business Stream detection event, mark and be institute that sending module 73 is used to apply described first
State the charging identifier TDF entity of the first application distribution, comprising:
Sending module 73 is specifically used for sending modification ADC Rules Message to the TDF entity, and the modification ADC rule disappears
Breath includes the mark of first application and the charging identifier for the first application distribution.
Further alternative, the PCEF entity can also include: receiving module.The receiving module can be used for sending mould
Before block 73 sends IP-CAN session establishment response message to the PCEF entity, receives the PCEF entity and send IP-CAN meeting
Words establish request message.It is asked alternatively, receiving module is also used to send TDF session establishment to the TDF entity in sending module 73
After seeking message, the TDF session establishment response message that the TDF entity is sent is received.
Each functional module of PCRF entity provided in this embodiment can be used for executing the first in above method embodiment and count
The process of charging method, concrete operating principle repeat no more, and are detailed in the description of embodiment of the method.
PCRF entity provided in this embodiment, determination need the first of charging to apply, and distribute charging mark for the first application
Know, need to carry out independent charging to the first application by charging identifier mark, then by the mark of the first application and be the
The charging identifier of one application distribution is sent respectively to TDF entity, PCEF entity and UE, so that UE and TDF entity is being sent to
The charging identifier is added in the data packet of first application of PCEF entity, and PCEF entity can be carried to what is received
The data packet of the charging identifier carries out independent charging, realizes the independent charging in up direction to the first application.In addition, this reality
The PCRF entity of example offer is applied by being the first application distribution charging identifier because of the data packet of the first application can be identified,
The problem of there is no repetition chargings.
Fig. 8 is the structural schematic diagram of another kind PCRF entity provided in an embodiment of the present invention.As shown in figure 8, the PCRF
Entity includes: processor 81, transmitter 82 and memory 83.
Memory 83 may include read-only memory and random access memory, and provide instruction sum number to processor 81
According to.The a part of of memory 83 can also include nonvolatile RAM (NVRAM).
Memory 83 stores following element, executable modules or data structures perhaps their subset or it
Superset:
Operational order: including various operational orders, for realizing various operations.
Operating system: including various system programs, for realizing various basic businesses and the hardware based task of processing.
In embodiments of the present invention, (operational order can by calling the operational order of the storage of memory 83 for processor 81
Storage is in an operating system), it performs the following operations:
Determination needs the first of charging to apply, and is the first application distribution charging identifier, and the charging identifier is used for
Mark needs to carry out independent charging to first application.
Transmitter 82, the mark and processor 81 of first application for determining processor 81 are answered for described first
It is sent respectively to UE, PCEF entity and TDF entity with the charging identifier of distribution, so that the UE and the TDF entity are described
It is sent to the PCEF entity after adding the charging identifier in the data packet of first application, is based on the PCEF entity described
The mark of first application and the charging identifier distributed for first application are taken to from the UE and the TDF entity respectively
Data packet with the charging identifier carries out independent charging.
Further, as shown in figure 8, the PCRF entity can also include: receiver 84.
Processor 81 controls the operation of PCRF entity, and processor 81 can also be known as central processing unit (Central
Processing Unit, referred to as CPU).Memory 83 may include read-only memory and random access memory, and to place
It manages device 81 and instruction and data is provided.The a part of of memory 83 can also include nonvolatile RAM (NVRAM).
In specific application, the various components of PCRF entity are coupled by bus system 85, and wherein bus system 85, which is removed, includes
It can also include power bus, control bus and status signal bus in addition etc. except data/address bus.But illustrate in order to clear
See, various buses are all designated as bus system 85 in figure.
The method that the embodiments of the present invention disclose can be applied in processor 81, or be realized by processor 81.Place
Managing device 81 may be a kind of IC chip, the processing capacity with signal.During realization, each step of the above method
It can be completed by the integrated logic circuit of the hardware in processor 81 or the instruction of software form.Above-mentioned processor 81 can
To be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable gate array (FPGA)
Either other programmable logic device, discrete gate or transistor logic, discrete hardware components.General processor can be
Microprocessor or the processor are also possible to any conventional processor etc..The method in conjunction with disclosed in the embodiment of the present invention
Step can be embodied directly in hardware decoding processor and execute completion, or with the hardware and software module group in decoding processor
Conjunction executes completion.Software module can be located at random access memory, flash memory, read-only memory, programmable read only memory or electricity
In the storage medium of this fields such as erasable programmable memory, register maturation.The storage medium is located at memory 83, processing
The step of device 81 reads the information in memory 83, completes the above method in conjunction with its hardware.
In an optional embodiment, mark and be first application point that transmitter 82 is used to apply described first
The charging identifier matched is sent respectively to UE and PCEF entity, comprising:
Transmitter 82 is specifically used for sending IP-CAN session establishment response message, the IP-CAN meeting to the PCEF entity
Words establish the charging identifier of the mark that response message includes first application and the distribution for first application, so that described
The mark and sent out for the charging identifier of the first application distribution that PCEF entity is applied by service gateway device by described first
Give the UE.
In an optional embodiment, mark and be the first application distribution that transmitter 82 is applied described first
Charging identifier TDF entity, comprising:
Transmitter 82 is specifically used for sending TDF session establishment request message, the TDF session establishment to the TDF entity
Request message includes the mark of first application and the charging identifier for the first application distribution.
In an optional embodiment, processor 81 is specifically used for receiving what the TDF entity was sent by receiver 84
Business Stream detects event, and Business Stream detection event is that the TDF entity detection arrives and needs described the first of charging to apply
It is sent after data packet, and Business Stream detection event includes the mark of first application;Then it is connect according to receiver 84
The mark for first application received determines first application.
On the basis of above-mentioned Business Stream detection event, mark and be described that transmitter 82 is used to apply described first
The charging identifier of first application distribution is sent respectively to UE and PCEF entity, comprising:
Transmitter 82 is specifically used for the PCEF entity sending strategy and charging regulation message, and the strategy is advised with charging
Then message includes the mark of first application and the charging identifier for the first application distribution, so that the PCEF entity is logical
It crosses service gateway device and is sent to the UE by mark that described first applies and for the charging identifier of the first application distribution.
On the basis of above-mentioned Business Stream detection event, mark and be described that transmitter 82 is used to apply described first
The charging identifier TDF entity of first application distribution, comprising:
Transmitter 82 is specifically used for sending modification ADC Rules Message, the modification ADC Rules Message to the TDF entity
Mark including first application and the charging identifier for the first application distribution.
Further alternative, receiver 84 can be used for sending IP-CAN session establishment to the PCEF entity in transmitter 82
Before response message, receives the PCEF entity and send IP-CAN session establishment request message.Alternatively, receiver 84 is also used to
After transmitter 82 sends TDF session establishment request message to the TDF entity, the TDF session that the TDF entity is sent is received
Establish response message.
PCRF entity provided in this embodiment can be used for executing the process of the first charging method in above method embodiment,
Its concrete operating principle repeats no more, and is detailed in the description of embodiment of the method.
PCRF entity provided in this embodiment, determination need the first of charging to apply, and distribute charging mark for the first application
Know, need to carry out independent charging to the first application by charging identifier mark, then by the mark of the first application and be the
The charging identifier of one application distribution is sent respectively to TDF entity, PCEF entity and UE, so that UE and TDF entity is being sent to
The charging identifier is added in the data packet of first application of PCEF entity, and PCEF entity can be carried to what is received
The data packet of the charging identifier carries out independent charging, realizes the independent charging in up direction to the first application.In addition, this reality
The PCRF entity of example offer is applied by being the first application distribution charging identifier because of the data packet of the first application can be identified,
The problem of there is no repetition chargings.
Fig. 9 is a kind of structural schematic diagram of PCEF entity provided in an embodiment of the present invention.As shown in figure 9, the PCEF is real
Body includes: receiving module 91, sending module 92 and accounting module 93.
Receiving module 91, the first of the independent charging of needs that the PCRF entity for receiving the transmission of PCRF entity determines
The mark of application and the charging identifier distributed for first application.
Sending module 92 is connect with receiving module 91, the mark for applying receiving module 91 received described first
UE is sent to by service gateway device with the charging identifier for the first application distribution, so that the UE is answered described first
It is sent after adding the charging identifier in upstream data packet to the PCEF entity.
Receiving module 91 is also used to receive the upstream data packet for carrying the charging identifier that the UE is sent.
Accounting module 93 is connect with receiving module 91, for being docked according to the received charging identifier of receiving module 91
It receives the received upstream data packet for carrying the charging identifier of module 91 and carries out independent charging.
In an optional embodiment, receiving module 91 be also used to receive TDF entity transmission carry the charging mark
The downlink data packet of knowledge.
Correspondingly, accounting module 93, is also used to according to the received charging identifier of receiving module 91 to receiving module 91
The received downlink data packet for carrying the charging identifier carries out independent charging.
In an optional embodiment, what the PCRF entity that receiving module 91 is used to receive the transmission of PCRF entity determined
Need the first mark applied of independent charging and the charging identifier for the first application distribution, comprising:
Receiving module 91 is specifically used for receiving the IP-CAN session establishment response message that the PCRF entity is sent, described
IP-CAN session establishment response message includes the mark of first application and the charging identifier of the distribution for first application;
Or
Receiving module 91 is specifically used for receiving the strategy and charging regulation message that the PCRF entity is sent, the strategy with
Charging regulation message includes the mark of first application and the charging identifier for the first application distribution.
Optionally, sending module 92 is also used to receive the IP-CAN session that the PCRF entity is sent in receiving module 91 and build
Before vertical response message, IP-CAN session establishment request message is sent to the PCRF entity.
In an optional embodiment, mark and be first application that sending module 92 is used to apply described first
The charging identifier of distribution is sent to UE by service gateway device, comprising:
Sending module 92 is specifically used for establishing response message to service gateway device transmission IP-CAN carrying, described
The mark that response message includes first application and the charging identifier for the first application distribution are established in IP-CAN carrying, with
Make the service gateway device by mark that described first applies and is sent to institute for the charging identifier of the first application distribution
State UE.
Optionally, receiving module 91 is also used to send IP-CAN carrying to the service gateway device in sending module 92 and build
Before vertical response message, receives the IP-CAN carrying that the service gateway device is sent and establish request message.
Each functional module of PCEF entity provided in this embodiment can be used for executing the first in above method embodiment and count
The process of charging method, concrete operating principle repeat no more, and are detailed in the description of embodiment of the method.
PCEF entity provided in this embodiment receives the mark of the first application of the independent charging of needs determined by PCRF entity
Knowledge and the charging identifier distributed for the first application according to the mark of the first application and are the charging identifier that the first application distributes, right
From the independent charging of data packet progress of the first application for carrying the charging identifier of UE or TDF entity, and due to
The problem of data packet that the first application can be identified by the charging identifier is not in repetition charging.
Figure 10 is the structural schematic diagram of another kind PCEF entity provided in an embodiment of the present invention.As described in Figure 10, described
PCEF entity includes: receiver 1001, transmitter 1002, processor 1003 and memory 1004.
Receiver 1001, the first of the independent charging of needs that the PCRF entity for receiving the transmission of PCRF entity determines
The mark of application and the charging identifier distributed for first application.
Transmitter 1002, for dividing by the mark of received first application of receiver 1001 and for first application
The charging identifier matched is sent to UE by service gateway device, so that the UE adds in the upstream data packet of first application
It is sent after adding the charging identifier to the PCEF entity.
Receiver 1001 is also used to receive the upstream data packet for carrying the charging identifier that the UE is sent.
Memory 1004 may include read-only memory and random access memory, and to processor 1003 provide instruction and
Data.The a part of of memory 1004 can also include nonvolatile RAM (NVRAM).
Memory 1004 stores following element, executable modules or data structures perhaps their subset or
Their superset:
Operational order: including various operational orders, for realizing various operations.
Operating system: including various system programs, for realizing various basic businesses and the hardware based task of processing.
In embodiments of the present invention, by calling the operational order of the storage of memory 1004, (operation refers to processor 1003
Order is storable in operating system), it performs the following operations:
The charging identifier is carried according to the received charging identifier of receiver 1001 is received to receiver 1001
Upstream data packet carry out independent charging.
Processor 1003 controls the operation of PCEF entity, and processor 1003 can also be known as CPU.Memory 1004 can wrap
Read-only memory and random access memory are included, and provides instruction and data to processor 1003.A part of memory 1004
Can also include nonvolatile RAM (NVRAM).In specific application, the various components of PCEF entity pass through total
Linear system system 1005 is coupled, and wherein bus system 1005 can also include power bus, control in addition to including data/address bus
Bus and status signal bus in addition processed etc..But for the sake of clear explanation, various buses are all designated as bus system in figure
1005。
The method that the embodiments of the present invention disclose can be applied in processor 1003, or real by processor 1003
It is existing.Processor 1003 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1003 or software form.Above-mentioned
Processor 1003 can be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable
Gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 1004, processor 1003 reads the information in memory 1004, completes the above method in conjunction with its hardware.
In an optional embodiment, receiver 1001 be also used to receive TDF entity transmission carry the charging mark
The downlink data packet of knowledge.
Correspondingly, processor 1003, is also used to according to the received charging identifier of receiver 1001 to receiver 1001
The received downlink data packet for carrying the charging identifier carries out independent charging.
In an optional embodiment, what the PCRF entity that receiver 1001 is used to receive the transmission of PCRF entity determined
Need the first mark applied of independent charging and the charging identifier for the first application distribution, comprising:
Receiver 1001 is specifically used for receiving the IP-CAN session establishment response message that the PCRF entity is sent, described
IP-CAN session establishment response message includes the mark of first application and the charging identifier of the distribution for first application;
Or
Receiver 1001 is specifically used for receiving the strategy and charging regulation message that the PCRF entity is sent, the strategy with
Charging regulation message includes the mark of first application and the charging identifier for the first application distribution.
Optionally, transmitter 1002 is also used to receive the IP-CAN session that the PCRF entity is sent in receiver 1001 and build
Before vertical response message, IP-CAN session establishment request message is sent to the PCRF entity.
In an optional embodiment, mark and be first application that transmitter 1002 is used to apply described first
The charging identifier of distribution is sent to UE by service gateway device, comprising:
Transmitter 1002 is specifically used for establishing response message to service gateway device transmission IP-CAN carrying, described
The mark that response message includes first application and the charging identifier for the first application distribution are established in IP-CAN carrying, with
Make the service gateway device by mark that described first applies and is sent to institute for the charging identifier of the first application distribution
State UE.
Optionally, receiver 1001 is also used to send IP-CAN carrying to the service gateway device in transmitter 1002 and build
Before vertical response message, receives the IP-CAN carrying that the service gateway device is sent and establish request message.
PCEF entity provided in this embodiment can be used for executing the process of the first charging method in above method embodiment,
Its concrete operating principle repeats no more, and is detailed in the description of embodiment of the method.
PCEF entity provided in this embodiment receives the mark of the first application of the independent charging of needs determined by PCRF entity
Knowledge and the charging identifier distributed for the first application according to the mark of the first application and are the charging identifier that the first application distributes, right
From the independent charging of data packet progress of the first application for carrying the charging identifier of UE or TDF entity, and due to
The problem of data packet that the first application can be identified by the charging identifier is not in repetition charging.
Figure 11 is a kind of structural schematic diagram of TDF entity provided in an embodiment of the present invention.As shown in figure 11, the TDF is real
Body includes: receiving module 1101, determines adding module 1102 and sending module 1103.
Receiving module 1101, the of the independent charging of needs that the PCRF entity for receiving the transmission of PCRF entity determines
The mark of one application and the charging identifier distributed for first application.
It determines adding module 1102, is connect with receiving module 1101, for according to receiving module 1101 received described the
The mark of one application determines the downlink data packet of first application, adds and receives in the downlink data packet of first application
The received charging identifier of module 1101.
Sending module 1103 is connect, for that will add the downlink data of the charging identifier with adding module 1102 is determined
Packet be sent to PCEF entity so that the PCEF entity based on the charging identifier to it is described first application downlink data packet into
The independent charging of row.
In an optional embodiment, the PCRF entity that receiving module 1101 is used to receive the transmission of PCRF entity is determined
The independent charging of needs the first application mark and charging identifier for the first application distribution, comprising:
Receiving module 1101 is specifically used for receiving the TDF session establishment request message that the PCRF entity is sent, the TDF
Session establishment request message includes the mark of first application and the charging identifier for the first application distribution.
Optionally, sending module 1103 is also used to receive the TDF session that the PCRF entity is sent in receiving module 1101
It establishes after request message, sends TDF session establishment response message to PCRF entity.
In an optional embodiment, the PCEF entity further include: detecting module needs independent charging for detecting
The data packet of first application.
Based on above-mentioned detecting module, sending module 1103 is also used to detect the number of first application in detecting module
After packet, Business Stream is sent to the PCRF entity and detects event, the Business Stream detection event includes first application
Mark needs individually to count first application so that the PCRF entity is determined according to the mark of first application
Take.
Based on above-mentioned detecting module, in an optional embodiment, receiving module 1101 is for receiving the transmission of PCRF entity
The mark of the first application of the independent charging of needs that determines of the PCRF entity and charging mark for the first application distribution
Know, comprising:
Receiving module 1101 is specifically used for receiving the modification ADC Rules Message that the PCRF entity is sent, the modification ADC
Rules Message includes the mark of first application and the charging identifier for the first application distribution.
Each functional module of TDF entity provided in this embodiment can be used for executing the first charging in above method embodiment
The process of method, concrete operating principle repeat no more, and are detailed in the description of embodiment of the method.
TDF entity provided in this embodiment receives the mark of the first application of the independent charging of needs determined by PCRF entity
Knowledge and the charging identifier distributed for the first application according to the mark of the first application and are the charging identifier that the first application distributes,
First application downlink data packet in add the charging identifier after be sent to PCEF entity, allow PCEF entity according to
The mark for the first application that PCRF entity is sent and the charging identifier distributed for the first application, carry to from TDF entity
The downlink data packet of the charging identifier carries out independent charging, realizes the independent charging to the first application, and be not in weight
The problem of multiple charging.
Figure 12 is the structural schematic diagram of another kind TDF entity provided in an embodiment of the present invention.As shown in figure 12, the TDF
Entity includes: receiver 1201, processor 1202, transmitter 1203 and memory 1204.
Receiver 1201, the first of the independent charging of needs that the PCRF entity for receiving the transmission of PCRF entity determines
The mark of application and the charging identifier distributed for first application.
Memory 1204 may include read-only memory and random access memory, and to processor 1202 provide instruction and
Data.The a part of of memory 1204 can also include nonvolatile RAM (NVRAM).
Memory 1204 stores following element, executable modules or data structures perhaps their subset or
Their superset:
Operational order: including various operational orders, for realizing various operations.
Operating system: including various system programs, for realizing various basic businesses and the hardware based task of processing.
In embodiments of the present invention, by calling the operational order of the storage of memory 1204, (operation refers to processor 1202
Order is storable in operating system), it performs the following operations:
The downlink data packet that first application is determined according to the mark of received first application of receiver 1201,
The received charging identifier of the receiver is added in the downlink data packet of first application.
Transmitter 1203, for the downlink data packet for adding the charging identifier to be sent to PCEF entity, so that described
PCEF entity carries out independent charging based on downlink data packet of the charging identifier to first application.
Processor 1202 controls the operation of TDF entity, and processor 1202 can also be known as CPU.Memory 1204 can wrap
Read-only memory and random access memory are included, and provides instruction and data to processor 1202.A part of memory 1204
Can also include nonvolatile RAM (NVRAM).In specific application, the various components of TDF entity pass through total
Linear system system 1205 is coupled, and wherein bus system 1205 can also include power bus, control in addition to including data/address bus
Bus and status signal bus in addition processed etc..But for the sake of clear explanation, various buses are all designated as bus system in figure
1205。
The method that the embodiments of the present invention disclose can be applied in processor 1202, or real by processor 1202
It is existing.Processor 1202 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1202 or software form.Above-mentioned
Processor 1202 can be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable
Gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 1204, processor 1202 reads the information in memory 1204, completes the above method in conjunction with its hardware.
In an optional embodiment, what the PCRF entity that receiver 1201 is used to receive the transmission of PCRF entity determined
Need the first mark applied of independent charging and the charging identifier for the first application distribution, comprising:
Receiver 1201 is specifically used for receiving the TDF session establishment request message that the PCRF entity is sent, the TDF meeting
Words establish the mark that request message includes first application and the charging identifier for the first application distribution.
Optionally, transmitter 1203 is also used to receive the TDF session establishment that the PCRF entity is sent in receiver 1201
After request message, TDF session establishment response message is sent to PCRF entity.
In an optional embodiment, processor 1202 is also used to detect the number for needing first application of independent charging
According to packet.
Based on above-mentioned, transmitter 1203, it is also used to after the data packet that processor 1202 detects first application, to
The PCRF entity sends Business Stream and detects event, and the Business Stream detection event includes the mark of first application, so that
The PCRF entity is determined according to the mark of first application to need to carry out independent charging to first application.
Based on above-mentioned, in an optional embodiment, receiver 1201 is used to receive the PCRF of PCRF entity transmission
The mark of first application of the independent charging of needs that entity determines and the charging identifier distributed for first application, comprising:
Receiver 1201 is specifically used for receiving the modification ADC Rules Message that the PCRF entity is sent, the modification ADC rule
Then message includes the mark of first application and the charging identifier for the first application distribution.
TDF entity provided in this embodiment can be used for executing the process of the first charging method in above method embodiment,
Its concrete operating principle repeats no more, and is detailed in the description of embodiment of the method.
TDF entity provided in this embodiment receives the mark of the first application of the independent charging of needs determined by PCRF entity
Knowledge and the charging identifier distributed for the first application according to the mark of the first application and are the charging identifier that the first application distributes,
First application downlink data packet in add the charging identifier after be sent to PCEF entity, allow PCEF entity according to
The mark for the first application that PCRF entity is sent and the charging identifier distributed for the first application, carry to from TDF entity
The downlink data packet of the charging identifier carries out independent charging, realizes the independent charging to the first application, and be not in weight
The problem of multiple charging.
Figure 13 is the structural schematic diagram of another PCRF entity provided in an embodiment of the present invention.As shown in figure 13, described
PCRF entity includes: sending module 1301 and receiving module 1302.
Sending module 1301, PCC rule mark and/or SDF template for being sent to TDF entity, so that the TDF is real
Body determines the mark and the first application for influencing the first affiliated SDF of application of charging result of the PCEF entity based on SDF granularity
The flow of data packet.
Receiving module 1302, for receiving that the TDF entity sends according to PCC rule mark and/or SDF template
The flow of the data packet of the mark and first application of the determining affiliated SDF of first application.
Sending module 1301 is connect with receiving module 1302, is also used to answer receiving module 1302 received described first
It is sent to the PCEF entity with the flow of the mark of affiliated SDF and the data packet of first application, so that the PCEF
The flow of the data packet of mark and first application of the entity based on the affiliated SDF of first application is to the uplink from UE
Data packet is adjusted based on the charging result of SDF granularity;Wherein, the data packet of first application belongs to from the UE's
Upstream data packet.
In an optional embodiment, PCC rule mark and/or SDF that sending module 1301 is used to send to TDF entity
Template, comprising:
Sending module 1301 is specifically used for sending TDF session establishment request message, the TDF session to the TDF entity
Establishing request message includes the PCC rule mark and/or SDF template.
Optionally, receiving module 1302 is also used to send TDF session establishment to the TDF entity in sending module 1301 and ask
After seeking message, the TDF session establishment response message that TDF entity is sent is received.
In an optional embodiment, sending module 1301 is used for the mark of the affiliated SDF of first application and institute
The flow for stating the data packet of the first application is sent to the PCEF entity, comprising:
Sending module 1301 is specifically used for sending IP-CAN session modification request message, the IP- to the PCEF entity
CAN session modification request message includes the stream of the mark of the affiliated SDF of first application and the data packet of first application
Amount.
Each functional module of PCRF entity provided in this embodiment can be used for executing second of meter in above method embodiment
The process of charging method, concrete operating principle repeat no more, and are detailed in the description of embodiment of the method.
PCRF entity provided in this embodiment sends PCC rule mark and/or SDF template to TDF entity, so that TDF is real
Body determines the flow of the mark for the first application for needing independent charging and the data packet of the first application and returns to the present embodiment
The flow of the mark of first application and the data packet of the first application is sent to PCEF by the PCRF entity of PCRF entity, the present embodiment
Entity makes PCEF entity according to the flow of the mark of the first application and the data packet of the first application again to based on SDF granularity
Charging result is adjusted, to realize accurate billing.
Figure 14 is the structural schematic diagram of another PCRF entity provided in an embodiment of the present invention.As shown in figure 14, described
PCRF entity includes: transmitter 1401, receiver 1402, processor 1403 and memory 1404.
Transmitter 1401, PCC rule mark and/or SDF template for being sent to TDF entity, for the TDF entity
Determine the number of the mark and the first application that influence the first affiliated SDF of application of charging result of the PCEF entity based on SDF granularity
According to the flow of packet.
Receiver 1402, for receiving the true according to PCC rule mark and/or SDF template of the TDF entity transmission
The flow of the data packet of the mark and first application of the fixed affiliated SDF of first application.
Transmitter 1401 is also used to the data packet of the mark of the affiliated SDF of first application and first application
Flow be sent to the PCEF entity so that the PCEF entity based on it is described first application affiliated SDF mark and institute
The flow for stating the data packet of the first application is adjusted the upstream data packet from UE based on the charging result of SDF granularity;Its
In, the data packet of first application belongs to the upstream data packet from the UE.
In the present embodiment, memory 1404 may include read-only memory and random access memory, and to processor
1403 provide instruction and data.The a part of of memory 1404 can also include nonvolatile RAM (NVRAM).
Memory 1404 stores following element, executable modules or data structures perhaps their subset or
Their superset:
Operational order: including various operational orders, for realizing various operations.
Operating system: including various system programs, for realizing various basic businesses and the hardware based task of processing.
In embodiments of the present invention, by calling the operational order of the storage of memory 1404, (operation refers to processor 1403
Order is storable in operating system), corresponding operating is executed, to control the operation of PCRF entity.
Processor 1403 controls the operation of PCRF entity, and processor 1403 can also be known as CPU.Memory 1404 can wrap
Read-only memory and random access memory are included, and provides instruction and data to processor 1403.A part of memory 1404
Can also include nonvolatile RAM (NVRAM).In specific application, the various components of PCRF entity pass through total
Linear system system 1405 is coupled, and wherein bus system 1405 can also include power bus, control in addition to including data/address bus
Bus and status signal bus in addition processed etc..But for the sake of clear explanation, various buses are all designated as bus system in figure
1405。
The method that the embodiments of the present invention disclose can be applied in processor 1403, or real by processor 1403
It is existing.Processor 1403 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1403 or software form.Above-mentioned
Processor 1403 can be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable
Gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 1404, processor 1403 reads the information in memory 1404, completes the above method in conjunction with its hardware.
In an optional embodiment, PCC rule mark and/or SDF mould that transmitter 1401 is used to send to TDF entity
Plate, comprising:
Transmitter 1401 is specifically used for sending TDF session establishment request message to the TDF entity, and the TDF session is built
Vertical request message includes the PCC rule mark and/or SDF template.
Optionally, receiver 1402 is also used to send the request of TDF session establishment to the TDF entity in transmitter 1401 and disappear
After breath, the TDF session establishment response message that TDF entity is sent is received.
In an optional embodiment, transmitter 1401 is used for the first application mark of affiliated SDF and described
The flow of the data packet of first application is sent to the PCEF entity, comprising:
Transmitter 1401 is specifically used for sending IP-CAN session modification request message, the IP-CAN to the PCEF entity
Session modification request message includes the flow of the mark of the affiliated SDF of first application and the data packet of first application.
PCRF entity provided in this embodiment can be used for executing the process of second of charging method in above method embodiment,
Its concrete operating principle repeats no more, and is detailed in the description of embodiment of the method.
PCRF entity provided in this embodiment sends PCC rule mark and/or SDF template to TDF entity, so that TDF is real
Body determines the flow of the mark for the first application for needing independent charging and the data packet of the first application and returns to the present embodiment
The flow of the mark of first application and the data packet of the first application is sent to PCEF by the PCRF entity of PCRF entity, the present embodiment
Entity makes PCEF entity according to the flow of the mark of the first application and the data packet of the first application again to based on SDF granularity
Charging result is adjusted, to realize accurate billing.
Figure 15 is the structural schematic diagram of another PCEF entity provided in an embodiment of the present invention.As shown in figure 15, described
PCEF entity includes: receiving module 1501 and charging adjustment module 1502.
Receiving module 1501, for receiving the influence charging of the PCEF entity based on SDF granularity of PCRF entity transmission
As a result the flow of the data packet of the mark and first application of the first affiliated SDF of application;Wherein, described first institute is applied
The flow of the mark of the SDF of category and the data packet of first application is that TDF entity is advised according to the PCC that the PCRF entity is sent
It then identifies and/or SDF template is determining and is sent to the PCRF entity.
Charging adjusts module 1502, connect with receiving module 1501, is used for according to receiving module 1501 received described the
The flow of the mark of the one affiliated SDF of application and the data packet of first application, is based on SDF to the upstream data packet from UE
The charging result of granularity is adjusted, wherein the data packet of first application belongs to the upstream data packet from the UE.
In an optional embodiment, the PCEF entity further include: accounting module, for being received in receiving module 1501
Before the flow of the mark of the first affiliated SDF of application and the data packet of first application, to the upper line number from the UE
The charging based on SDF granularity is carried out according to packet.
In an optional embodiment, receiving module 1501 is used to receive the influence PCEF entity of PCRF entity transmission
The flow of the data packet of the mark and first application of the first affiliated SDF of application of the charging result based on SDF granularity, packet
It includes:
Receiving module 1501 is specifically used for receiving the IP-CAN session modification request message that the PCRF entity is sent, described
IP-CAN session modification request message includes the mark of the affiliated SDF of first application and the data packet of first application
Flow.
Optionally, the PCEF entity of the present embodiment can also include: sending module, for receiving institute in receiving module 1501
After the IP-CAN session modification request message for stating the transmission of PCRF entity, IP-CAN session modification is sent to the PCRF entity and is rung
Answer message.
Each functional module of PCEF entity provided in this embodiment can be used for executing second of meter in above method embodiment
The process of charging method, concrete operating principle repeat no more, and are detailed in the description of embodiment of the method.
PCEF entity provided in this embodiment receives the needs determined by TDF entity that PCRF entity is sent and individually counts
The flow of the data packet of the mark and the first application of the first application taken, according to the data of the mark of the first application and the first application
The flow of packet readjusts the charging result based on SDF granularity, realizes accurate billing.
Figure 16 is the structural schematic diagram of another PCEF entity provided in an embodiment of the present invention.As shown in figure 16, described
PCEF entity includes: receiver 1601, processor 1602 and memory 1603.
Receiver 1601, for receiving the influence charging knot of the PCEF entity based on SDF granularity of PCRF entity transmission
The flow of the data packet of the mark and first application of the first affiliated SDF of application of fruit;Wherein, belonging to first application
SDF mark and first application data packet the flow PCC that be TDF entity sends according to the PCRF entity it is regular
Mark and/or the determination of SDF template are simultaneously sent to the PCRF entity.
Memory 1603 may include read-only memory and random access memory, and to processor 1602 provide instruction and
Data.The a part of of memory 1603 can also include nonvolatile RAM (NVRAM).
Memory 1603 stores following element, executable modules or data structures perhaps their subset or
Their superset:
Operational order: including various operational orders, for realizing various operations.
Operating system: including various system programs, for realizing various basic businesses and the hardware based task of processing.
In embodiments of the present invention, by calling the operational order of the storage of memory 1603, (operation refers to processor 1602
Order is storable in operating system), it performs the following operations:
According to the data packet of the mark of the affiliated SDF of received first application of receiver 1601 and first application
Flow, the upstream data packet from UE is adjusted based on the charging result of SDF granularity, wherein it is described first application
Data packet belongs to the upstream data packet from the UE.
Further alternative, the PCEF entity can also include: transmitter 1604.
Processor 1602 controls the operation of PCEF entity, and processor 1602 can also be known as CPU.Memory 1603 can wrap
Read-only memory and random access memory are included, and provides instruction and data to processor 1602.A part of memory 1603
Can also include nonvolatile RAM (NVRAM).In specific application, the various components of PCEF entity pass through total
Linear system system 1605 is coupled, and wherein bus system 1605 can also include power bus, control in addition to including data/address bus
Bus and status signal bus in addition processed etc..But for the sake of clear explanation, various buses are all designated as bus system in figure
1605。
The method that the embodiments of the present invention disclose can be applied in processor 1602, or real by processor 1602
It is existing.Processor 1602 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1602 or software form.Above-mentioned
Processor 1602 can be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable
Gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 1603, processor 1602 reads the information in memory 1603, completes the above method in conjunction with its hardware.
In an optional embodiment, processor 1602 is also used to receive first in receiver 1601 and applies affiliated SDF
Mark and first application data packet flow before, the upstream data packet from the UE is carried out based on SDF
The charging of degree.
In an optional embodiment, receiver 1601 is used to receive the influence PCEF entity base of PCRF entity transmission
In the flow of the data packet of the mark and first application of the first affiliated SDF of application of the charging result of SDF granularity, packet
It includes:
Receiver 1601 is specifically used for receiving the IP-CAN session modification request message that the PCRF entity is sent, described
IP-CAN session modification request message includes the mark of the affiliated SDF of first application and the data packet of first application
Flow.
Optionally, transmitter 1604 can be used for receiving the IP-CAN session that the PCRF entity is sent in receiver 1601 and repair
After changing request message, IP-CAN session modification response message is sent to the PCRF entity.
PCEF entity provided in this embodiment can be used for executing the process of second of charging method in above method embodiment,
Its concrete operating principle repeats no more, and is detailed in the description of embodiment of the method.
PCEF entity provided in this embodiment receives the needs determined by TDF entity that PCRF entity is sent and individually counts
The flow of the data packet of the mark and the first application of the first application taken, according to the data of the mark of the first application and the first application
The flow of packet readjusts the charging result based on SDF granularity, realizes accurate billing.
Figure 17 is the structural schematic diagram of another TDF entity provided in an embodiment of the present invention.As shown in figure 17, the TDF
Entity includes: receiving module 1701, determining module 1702 and sending module 1703.
Receiving module 1701, for receiving the PCC rule mark and/or SDF template of the transmission of PCRF entity.
Determining module 1702 is connect with receiving module 1701, for according to the received PCC rule of receiving module 1701
Mark and/or SDF template determine the mark for influencing the first affiliated SDF of application of charging result of the PCEF entity based on SDF granularity
Know the flow with the data packet of first application.
Sending module 1703 is connect with determining module 1702, first application for determining determining module 1702
The flow of the mark of affiliated SDF and the data packet of first application is sent to the PCEF reality by the PCRF entity
Body, so that the stream of the data packet of mark and first application of the PCEF entity based on the affiliated SDF of first application
Amount is adjusted the upstream data packet from UE based on the charging result of SDF granularity;Wherein, the data packet of first application
Belong to the upstream data packet from the UE.
In an optional embodiment, receiving module 1701 be used for receive PCRF entity transmission PCC rule mark and/or
SDF template, comprising:
Receiving module 1701 is specifically used for receiving the TDF session establishment request message that the PCRF entity is sent, the TDF
Session establishment request message includes the PCC rule mark and/or SDF template.
Optionally, sending module 1703 can also be used to receive the TDF meeting that the PCRF entity is sent in receiving module 1701
Words are established after request message, send TDF session establishment response message to PCRF entity.
In an optional embodiment, determining module 1702 is used for according to the received PCC rule of receiving module 1701
Mark and/or SDF template determine the mark for influencing the first affiliated SDF of application of charging result of the PCEF entity based on SDF granularity
Know the flow with the data packet of first application, comprising:
Determining module 1702 is specifically used for being advised according to the PCC of the received PCC rule mark instruction of receiving module 1701
Then, determine that application belonging to the data packet being dropped because executing the flow control based on application as first application, determines institute
The flow of the flow of the data packet being dropped as the data packet of first application is stated, and determines that first application is affiliated
SDF;Or
Determining module 1702, which is specifically used for being detected according to the received SDF template of receiving module 1701, not to be needed to next
When all data packets from the upstream data packet of the UE with identical IP address information carry out charging, from identical IP
In all data packets of location information, determine that application belonging to the data packet of actual needs charging as first application, determines
Flow of the flow of the data packet of actual needs charging as the data packet of first application, and determine that described first applies institute
The SDF of category;Alternatively,
Determining module 1702, which is specifically used for being detected according to the received SDF template of receiving module 1701, not to be needed to next
When all data packets from the upstream data packet of the UE with identical IP address information carry out charging, from identical IP
All data packets of location information are determined not needing application belonging to the data packet of charging as first application, are determined not
It needs the flow of the data packet of charging as the flow of the data packet of first application, and determines that first application is affiliated
SDF。
Each functional module of TDF entity provided in this embodiment can be used for executing second of charging in above method embodiment
The process of method, concrete operating principle repeat no more, and are detailed in the description of embodiment of the method.
TDF entity provided in this embodiment, the PCC rule for receiving the transmission of PCRF entity identifies and/or SDF template, and according to
This determines the flow for needing the data packet of the first of the independent charging mark applied and the first application, then passes through PCRF entity
It is sent to PCEF entity, allows PCEF entity according to the flow of the mark of the first application and the data packet of the first application, weight
New charging result of the adjustment based on SDF granularity, realizes accurate billing.
Figure 18 is the structural schematic diagram of another TDF entity provided in an embodiment of the present invention.As shown in figure 18, the TDF
Entity includes: receiver 1801, processor 1802, transmitter 1803 and memory 1804.
Receiver 1801, for receiving the PCC rule mark and/or SDF template of the transmission of PCRF entity.
Memory 1804 may include read-only memory and random access memory, and to processor 602 provide instruction and
Data.The a part of of memory 1804 can also include nonvolatile RAM (NVRAM).
Memory 1804 stores following element, executable modules or data structures perhaps their subset or
Their superset:
Operational order: including various operational orders, for realizing various operations.
Operating system: including various system programs, for realizing various basic businesses and the hardware based task of processing.
In embodiments of the present invention, by calling the operational order of the storage of memory 1804, (operation refers to processor 1802
Order is storable in operating system), it performs the following operations:
According to the received PCC rule mark of receiver 1801 and/or SDF template, determining, which influences PCEF entity, is based on
The flow of the data packet of the mark and first application of the first affiliated SDF of application of the charging result of SDF granularity.
Transmitter 1803, the mark and described the of the affiliated SDF of first application for determining processor 1802
The flow of the data packet of one application is sent to the PCEF entity by the PCRF entity, so that the PCEF entity is based on institute
The flow for stating the mark of the first affiliated SDF of application and the data packet of first application is based on the upstream data packet from UE
The charging result of SDF granularity is adjusted;Wherein, the data packet of first application belongs to the upstream data from the UE
Packet.
Wherein, processor 1802 controls the operation of TDF entity, and processor 1802 can also be known as CPU.Memory 1804 can
To include read-only memory and random access memory, and instruction and data is provided to processor 1802.The one of memory 1804
Part can also include nonvolatile RAM (NVRAM).In specific application, the various components of TDF entity are logical
It crosses bus system 1805 to be coupled, wherein bus system 1805 can also include that power supply is total in addition to including data/address bus
Line, control bus and status signal bus in addition etc..But for the sake of clear explanation, various buses are all designated as total linear system in figure
System 1805.
The method that the embodiments of the present invention disclose can be applied in processor 1802, or real by processor 1802
It is existing.Processor 1802 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1802 or software form.Above-mentioned
Processor 1802 can be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable
Gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 1804, processor 1802 reads the information in memory 1804, completes the above method in conjunction with its hardware.
In an optional embodiment, receiver 1801 be used for receive PCRF entity transmission PCC rule mark and/or
SDF template, comprising:
Receiver 1801 is specifically used for receiving the TDF session establishment request message that the PCRF entity is sent, the TDF meeting
It includes the PCC rule mark and/or SDF template that words, which establish request message,.
Optionally, the TDF session that transmitter 1803 can also be used to receive the PCRF entity transmission in receiver 1801 is built
After vertical request message, TDF session establishment response message is sent to PCRF entity.
In an optional embodiment, processor 1802 is used to be identified according to the received PCC rule of receiver 1801
And/or SDF template, determine influence charging result of the PCEF entity based on SDF granularity first application affiliated SDF mark and
The flow of the data packet of first application, comprising:
Processor 1802 is specifically used for the PCC rule according to the received PCC rule mark instruction of receiver 1801, really
Application belonging to the fixed data packet being dropped because executing the flow control based on application determines described lost as first application
Flow of the flow of the data packet of abandoning as the data packet of first application, and determine that described first applies affiliated SDF;Or
Person
Processor 1802, which is specifically used for being detected according to the received SDF template of receiver 1801, not to be needed to from institute
When stating all data packets progress charging in the upstream data packet of UE with identical IP address information, believe from identical IP address
In all data packets of breath, determine that application belonging to the data packet of actual needs charging as first application, determines practical
It needs the flow of the data packet of charging as the flow of the data packet of first application, and determines that first application is affiliated
SDF;Alternatively,
Processor 1802, which is specifically used for being detected according to the received SDF template of receiver 1801, not to be needed to from institute
When stating all data packets progress charging in the upstream data packet of UE with identical IP address information, believe from identical IP address
All data packets of breath determine not needing application belonging to the data packet of charging as first application, and determination does not need
Flow of the flow of the data packet of charging as the data packet of first application, and determine that described first applies affiliated SDF.
TDF entity provided in this embodiment can be used for executing the process of second of charging method in above method embodiment,
Its concrete operating principle repeats no more, and is detailed in the description of embodiment of the method.
TDF entity provided in this embodiment, the PCC rule for receiving the transmission of PCRF entity identifies and/or SDF template, and according to
This determines the flow for needing the data packet of the first of the independent charging mark applied and the first application, then passes through PCRF entity
It is sent to PCEF entity, allows PCEF entity according to the flow of the mark of the first application and the data packet of the first application, weight
New charging result of the adjustment based on SDF granularity, realizes accurate billing.
Figure 19 is the structural schematic diagram of another TDF entity provided in an embodiment of the present invention.As shown in figure 19, the TDF
Entity includes: receiving module 1901, determines adding module 1902 and sending module 1903.
Receiving module 1901, for receiving the upstream data packet of PCEF entity transmission.
It determines adding module 1902, is connect with receiving module 1901, for receiving the uplink in receiving module 1901
After data packet, reflux data are determined, and add charging identifier for the reflux data, the reflux data refer to the uplink
The PCEF entity is influenced in data packet to the data packet of the charging result of the upstream data packet based on SDF granularity.
Sending module 1903 is connect, the carrying determined for that will determine adding module 1902 with adding module 1902 is determined
The reflux data of the charging identifier are sent to the PCEF entity, so that the PCEF entity is according to the carrying charging identifier
Reflux data, the upstream data packet is adjusted based on the charging result of SDF granularity.
In an optional embodiment, receiving module 1901 is also used to determining that adding module 1902 is the reflux data
Before adding charging identifier, the charging mark that the PCRF entity that PCRF entity is sent is the reflux data distribution is received
Know.Optionally, receiving module 1901 is also connect with adding module 1902 is determined, described for providing to determining adding module 1902
Charging identifier.
In an optional embodiment, the PCRF entity that receiving module 1901 is used to receive the transmission of PCRF entity is institute
State the charging identifier of reflux data distribution, comprising:
Receiving module 1901 is specifically used for receiving the TDF session establishment request message that the PCRF entity is sent, the TDF
Session establishment request message includes the charging identifier.
Optionally, sending module 1903 is also used to receive the TDF session that the PCRF entity is sent in receiving module 1901
It establishes after request message, sends TDF session establishment response message to the PCRF entity.
Each functional module of TDF entity provided in this embodiment can be used for executing the third charging in above method embodiment
The process of method, concrete operating principle repeat no more, and are detailed in the description of embodiment of the method.
TDF entity provided in this embodiment determines the reflux data in the upstream data packet of PCEF entity, and will
PCEF entity is returned to after reflux data addition charging identifier, PCEF entity is allowed to determine TDF entity according to charging identifier
What is sent is reflux data, and readjusts the charging result based on SDF granularity based on the flow of the reflux data, and it is accurate to realize
Charging.
Figure 20 is the structural schematic diagram of another TDF entity provided in an embodiment of the present invention.As shown in figure 20, the TDF
Entity includes: receiver 2001, processor 2002, transmitter 2003 and memory 2004.
Wherein, receiver 2001, for receiving the upstream data packet of PCEF entity transmission.
Memory 2004 may include read-only memory and random access memory, and to processor 2002 provide instruction and
Data.The a part of of memory 2004 can also include nonvolatile RAM (NVRAM).
Memory 2004 stores following element, executable modules or data structures perhaps their subset or
Their superset:
Operational order: including various operational orders, for realizing various operations.
Operating system: including various system programs, for realizing various basic businesses and the hardware based task of processing.
In embodiments of the present invention, by calling the operational order of the storage of memory 2004, (operation refers to processor 2002
Order is storable in operating system), it performs the following operations:
After receiver 2001 receives the upstream data packet, reflux data are determined, and add for the reflux data
Add charging identifier, the reflux data, which refer to, influences the PCEF entity to the upstream data Bao Ji in the upstream data packet
In the data packet of the charging result of SDF granularity.
Transmitter 2003, for the reflux data for carrying the charging identifier to be sent to the PCEF entity, so that institute
State charging knot of the PCEF entity according to the reflux data for carrying the charging identifier, to the upstream data packet based on SDF granularity
Fruit is adjusted.
Wherein, processor 2002 controls the operation of TDF entity, and processor 2002 can also be known as CPU.Memory 2004 can
To include read-only memory and random access memory, and instruction and data is provided to processor 2002.The one of memory 2004
Part can also include nonvolatile RAM (NVRAM).In specific application, the various components of TDF entity are logical
It crosses bus system 2005 to be coupled, wherein bus system 2005 can also include that power supply is total in addition to including data/address bus
Line, control bus and status signal bus in addition etc..But for the sake of clear explanation, various buses are all designated as total linear system in figure
System 2005.
The method that the embodiments of the present invention disclose can be applied in processor 2002, or real by processor 2002
It is existing.Processor 2002 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 2002 or software form.Above-mentioned
Processor 2002 can be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable
Gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 2004, processor 2002 reads the information in memory 2004, completes the above method in conjunction with its hardware.
In an optional embodiment, receiver 2001 is also used in processor 2002 be that the reflux data add charging
Before mark, receive PCRF entity send the PCRF entity be it is described reflux data distribution the charging identifier, with to
Processor 2002 provides the charging identifier.
In an optional embodiment, the PCRF entity that receiver 2001 is used to receive the transmission of PCRF entity is described
The charging identifier of the data that flow back distribution, comprising:
Receiver 2001 is specifically used for receiving the TDF session establishment request message that the PCRF entity is sent, the TDF meeting
It includes the charging identifier that words, which establish request message,.
Optionally, transmitter 2003 is also used to receive the TDF session establishment that the PCRF entity is sent in receiver 2001
After request message, TDF session establishment response message is sent to the PCRF entity.
TDF entity provided in this embodiment can be used for executing the process of the third charging method in above method embodiment,
Its concrete operating principle repeats no more, and is detailed in the description of embodiment of the method.
TDF entity provided in this embodiment determines the reflux data in the upstream data packet of PCEF entity, and will
PCEF entity is returned to after reflux data addition charging identifier, PCEF entity is allowed to determine TDF entity according to charging identifier
What is sent is reflux data, and readjusts the charging result based on SDF granularity based on the flow of the reflux data, and it is accurate to realize
Charging.
Figure 21 is the structural schematic diagram of another PCEF entity provided in an embodiment of the present invention.As shown in figure 21, described
PCEF entity includes: receiving module 2101 and charging adjustment module 2102.
Receiving module 2101, for receiving TDF entity after carrying out the charging based on SDF granularity to upstream data packet
The reflux data for carrying charging identifier sent, the reflux data are the upstream data packets that the TDF entity determines
It is middle to influence the PCEF entity to the data packet of the charging result based on SDF granularity of the upstream data packet.
Charging adjusts module 2102, connect with receiving module 2101, for determining receiving module according to the charging identifier
2101 data received are the reflux data, SDF belonging to the reflux data are determined, to the meter of the SDF of the determination
Expense result is adjusted.
In an optional embodiment, receiving module 2101 is also used to carry meter what the reception TDF entity was sent
Before the reflux data for taking mark, the meter that the PCRF entity that PCRF entity is sent is the reflux data distribution is received
Take mark.
In an optional embodiment, the PCRF entity that receiving module 2101 is used to receive the transmission of PCRF entity is institute
State the charging identifier of reflux data distribution, comprising:
Receiving module 2101 is specifically used for receiving the IP-CAN session establishment response message that the PCRF entity is sent, described
IP-CAN session establishment response message includes the charging identifier.
Optionally, the PCEF entity of the present embodiment can also include: sending module, for receiving institute in receiving module 2101
Before the IP-CAN session establishment response message for stating the transmission of PCRF entity, IP-CAN session establishment is sent to the PCEF entity and is asked
Seek message.
Each functional module of PCEF entity provided in this embodiment can be used for executing the third in above method embodiment and count
The process of charging method, concrete operating principle repeat no more, and are detailed in the description of embodiment of the method.
PCEF entity provided in this embodiment receives the reflux data for carrying charging identifier that TDF entity is sent, in root
After determining that the data that receive are reflux data according to the charging identifier, determine SDF belonging to reflux data, then to really
The charging result of fixed SDF is adjusted, and realizes accurate billing.
Figure 22 is the structural schematic diagram of another PCEF entity provided in an embodiment of the present invention.As shown in figure 22, described
PCEF entity includes: receiver 2201, processor 2202 and memory 2203.
Receiver 2201, for after carrying out the charging based on SDF granularity to upstream data packet, receiving TDF entity hair
The reflux data for carrying charging identifier sent, the reflux data are in the upstream data packet that the TDF entity determines
The PCEF entity is influenced to the data packet of the charging result based on SDF granularity of the upstream data packet.
Memory 2203 may include read-only memory and random access memory, and to processor 2202 provide instruction and
Data.The a part of of memory 2203 can also include nonvolatile RAM (NVRAM).
Memory 2203 stores following element, executable modules or data structures perhaps their subset or
Their superset:
Operational order: including various operational orders, for realizing various operations.
Operating system: including various system programs, for realizing various basic businesses and the hardware based task of processing.
In embodiments of the present invention, by calling the operational order of the storage of memory 2203, (operation refers to processor 2202
Order is storable in operating system), it performs the following operations:
It determines that the data that receiver 2201 receives are the reflux data according to the charging identifier, determines the reflux
SDF belonging to data is adjusted the charging result of the SDF of the determination.
Optionally, the PCEF entity of the present embodiment further include: transmitter 2204.
Processor 2202 controls the operation of PCEF entity, and processor 2202 can also be known as CPU.Memory 2203 can wrap
Read-only memory and random access memory are included, and provides instruction and data to processor 2202.A part of memory 2203
Can also include nonvolatile RAM (NVRAM).In specific application, the various components of PCEF entity pass through total
Linear system system 2205 is coupled, and wherein bus system 2205 can also include power bus, control in addition to including data/address bus
Bus and status signal bus in addition processed etc..But for the sake of clear explanation, various buses are all designated as bus system in figure
2205。
The method that the embodiments of the present invention disclose can be applied in processor 2202, or real by processor 2202
It is existing.Processor 2202 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 2202 or software form.Above-mentioned
Processor 2202 can be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable
Gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 2203, processor 2202 reads the information in memory 2203, completes the above method in conjunction with its hardware.
In an optional embodiment, receiver 2201 is also used to carry charging what the reception TDF entity was sent
Before the reflux data of mark, the charging that the PCRF entity that PCRF entity is sent is the reflux data distribution is received
Mark.
In an optional embodiment, the PCRF entity that receiver 2201 is used to receive the transmission of PCRF entity is described
The charging identifier of the data that flow back distribution, comprising:
Receiver 2201 is specifically used for receiving the IP-CAN session establishment response message that the PCRF entity is sent, described
IP-CAN session establishment response message includes the charging identifier.
Optionally, transmitter 2204 can be used for receiving the IP-CAN session that the PCRF entity is sent in receiver 2201 and build
Before vertical response message, IP-CAN session establishment request message is sent to the PCEF entity.
PCEF entity provided in this embodiment can be used for executing the process of the third charging method in above method embodiment,
Its concrete operating principle repeats no more, and is detailed in the description of embodiment of the method.
PCEF entity provided in this embodiment receives the reflux data for carrying charging identifier that TDF entity is sent, in root
After determining that the data that receive are reflux data according to the charging identifier, determine SDF belonging to reflux data, then to really
The charging result of fixed SDF is adjusted, and realizes accurate billing.
Figure 23 is the structural schematic diagram of another PCRF entity provided in an embodiment of the present invention.As shown in figure 23, described
PCRF entity comprises determining that module 2301 and sending module 2302.
Determining module 2301, for determining that needs distribute to the charging identifier of reflux data packet, the reflux data refer to
PCEF entity is influenced in upstream data packet to the data packet of the charging result based on SDF granularity of the upstream data packet.
Sending module 2302 is connect with determining module 2301, the charging identifier for determining determining module 2301
It is sent to TDF entity and the PCEF entity, for the TDF entity from the upstream data packet from the PCEF entity
In determine to send after adding the charging identifier after the reflux data in the reflux data to the PCEF entity, make
The PCEF entity determines the reflux data and based on the reflux data to the upstream data according to the charging identifier
The charging result based on SDF granularity of packet is adjusted.
In an optional embodiment, sending module 2302 is used to the charging identifier being sent to TDF entity, comprising:
Sending module 2302 is specifically used for sending TDF session establishment request message, the TDF session to the TDF entity
Establishing request message includes the charging identifier.
Optionally, the PCRF entity can also include: receiving module, for real to the TDF in sending module 2302
After body sends TDF session establishment request message, receives the TDF entity and send TDF session establishment response message.
In an optional embodiment, sending module 2302 is used to the charging identifier being sent to the PCEF entity,
Include:
Sending module 2302 is specifically used for sending IP-CAN session establishment response message, the IP- to the PCEF entity
CAN session establishment response message includes the charging identifier.
The receiving module is also used to send the response of IP-CAN session establishment to the PCEF entity in sending module 2302
Before message, the IP-CAN session establishment request message that the PCEF entity is sent is received.
Each functional module of PCRF entity provided in this embodiment can be used for executing the third in above method embodiment and count
The process of charging method, concrete operating principle repeat no more, and are detailed in the description of embodiment of the method.
PCRF entity provided in this embodiment determines the charging identifier for distributing to reflux data, and is sent respectively to TDF reality
Body and PCEF entity, so that TDF entity is sent to PCEF entity after adding the charging identifier in the reflux data determined,
And PCEF entity determines that the data from TDF entity are reflux data based on the charging identifier, and then determines reflux data
Affiliated SDF is adjusted the charging result of the SDF determined, realizes accurate billing.
Figure 24 is the structural schematic diagram of another PCRF entity provided in an embodiment of the present invention.As shown in figure 24, described
PCRF entity includes: processor 2401, transmitter 2402 and memory 2403.
Memory 2403 may include read-only memory and random access memory, and to processor 2401 provide instruction and
Data.The a part of of memory 2403 can also include nonvolatile RAM (NVRAM).
Memory 2403 stores following element, executable modules or data structures perhaps their subset or
Their superset:
Operational order: including various operational orders, for realizing various operations.
Operating system: including various system programs, for realizing various basic businesses and the hardware based task of processing.
In embodiments of the present invention, by calling the operational order of the storage of memory 2403, (operation refers to processor 2401
Order is storable in operating system), it performs the following operations:
Determine the charging identifier for needing to distribute to reflux data packet, the reflux data refer to be influenced in upstream data packet
Data packet of the PCEF entity to the charging result based on SDF granularity of the upstream data packet.
Transmitter 2402, for the charging identifier to be sent to TDF entity and the PCEF entity, for the TDF
Entity is determined after the reflux data from from the upstream data packet of the PCEF entity in the reflux data
It is sent after adding the charging identifier to the PCEF entity, the PCEF entity is made to determine described return according to the charging identifier
Flow data is simultaneously adjusted the charging result based on SDF granularity of the upstream data packet based on the reflux data.
Optionally, as shown in figure 24, the PCRF entity can also include: receiver 2404.
Processor 2401 controls the operation of PCRF entity, and processor 2401 can also be known as CPU.Memory 2403 can wrap
Read-only memory and random access memory are included, and provides instruction and data to processor 2401.A part of memory 2403
Can also include nonvolatile RAM (NVRAM).In specific application, the various components of PCRF entity pass through total
Linear system system 2405 is coupled, and wherein bus system 2405 can also include power bus, control in addition to including data/address bus
Bus and status signal bus in addition processed etc..But for the sake of clear explanation, various buses are all designated as bus system in figure
2405。
The method that the embodiments of the present invention disclose can be applied in processor 2401, or real by processor 2401
It is existing.Processor 2401 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 2401 or software form.Above-mentioned
Processor 2401 can be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable
Gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 2403, processor 2401 reads the information in memory 2403, completes the above method in conjunction with its hardware.
In an optional embodiment, transmitter 2402 is used to the charging identifier being sent to TDF entity, comprising:
Transmitter 2402 is specifically used for sending TDF session establishment request message to the TDF entity, and the TDF session is built
Vertical request message includes the charging identifier.
Optionally, receiver 2404 can be used for sending the request of TDF session establishment to the TDF entity in transmitter 2402 and disappear
After breath, receives the TDF entity and send TDF session establishment response message.
In an optional embodiment, transmitter 2402 is used to the charging identifier being sent to the PCEF entity, wraps
It includes:
Transmitter 2402 is specifically used for sending IP-CAN session establishment response message, the IP-CAN to the PCEF entity
Session establishment response message includes the charging identifier.
Receiver 2404 is also used to send IP-CAN session establishment response message to the PCEF entity in transmitter 2402
Before, the IP-CAN session establishment request message that the PCEF entity is sent is received.
PCRF entity provided in this embodiment can be used for executing the process of the third charging method in above method embodiment,
Its concrete operating principle repeats no more, and is detailed in the description of embodiment of the method.
PCRF entity provided in this embodiment determines the charging identifier for distributing to reflux data, and is sent respectively to TDF reality
Body and PCEF entity, so that TDF entity is sent to PCEF entity after adding the charging identifier in the reflux data determined,
And PCEF entity determines that the data from TDF entity are reflux data based on the charging identifier, and then determines reflux data
Affiliated SDF is adjusted the charging result of the SDF determined, realizes accurate billing.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light
The various media that can store program code such as disk.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (36)
1. a kind of charging method characterized by comprising
Policy control and the determination of charging rule functions PCRF entity need the first of charging to apply, and are the first application distribution
Charging identifier, the charging identifier need to carry out independent charging to first application for identifying;
The PCRF entity is sent respectively to by the mark that described first applies and for the charging identifier of the first application distribution
User equipment (UE), strategy and charging execute PCEF entity and business detection function TDF entity, so that the UE and TDF is real
Body is sent to the PCEF entity after adding the charging identifier in the data packet of first application, makes the PCEF entity
Based on it is described first application mark and for it is described first application distribution charging identifier respectively to come from the UE and TDF
The data packet for carrying the charging identifier of entity carries out independent charging.
2. the method according to claim 1, wherein the PCRF entity is by the mark that described first applies and is
The charging identifier of the first application distribution is sent respectively to UE and PCEF entity, comprising:
The PCRF entity sends internet connected reference network IP-CAN session to the PCEF entity and establishes response message, institute
Stating IP-CAN session establishment response message includes the mark of first application and the charging mark for the distribution applied for described first
Know, so that the PCEF entity passes through the mark that service gateway device is applied described first and for described first using distribution
Charging identifier is sent to the UE.
3. according to the method described in claim 2, it is characterized in that, the PCRF entity sends IP-CAN to the PCEF entity
Before session establishment response message, further includes:
The PCRF entity receives the IP-CAN session establishment request message that the PCEF entity is sent.
4. method according to claim 1-3, which is characterized in that the PCRF entity was applied described first
Mark and the charging identifier TDF entity distributed for first application, comprising:
The PCRF entity sends TDF session establishment request message, the TDF session establishment request message to the TDF entity
Mark including first application and the charging identifier for the first application distribution.
5. according to the method described in claim 4, it is characterized in that, the PCRF entity sends TDF session to the TDF entity
It establishes after request message, further includes:
The PCRF entity receives the TDF session establishment response message that the TDF entity is sent.
6. need the first of charging to apply the method according to claim 1, wherein the PCRF entity is determining,
Include:
The PCRF entity receives the Business Stream detection event that the TDF entity is sent, and the Business Stream detection event is described
It is sent after TDF entity detection to the data packet for first application for needing charging, and Business Stream detection event includes
The mark of first application;
The PCRF entity determines first application according to the mark of first application.
7. according to the method described in claim 6, it is characterized in that, the PCRF entity is by the mark that described first applies and is
The charging identifier of the first application distribution is sent respectively to UE and PCEF entity, comprising:
The PCRF entity is to the PCEF entity sending strategy and charging regulation message, the strategy and charging regulation message package
The mark of first application and the charging identifier for the first application distribution are included, so that the PCEF entity passes through service network
Pass equipment is sent to the UE by the mark that described first applies and for the charging identifier of the first application distribution.
8. method according to claim 6 or 7, which is characterized in that the mark that the PCRF entity is applied described first
With the charging identifier TDF entity for the first application distribution, comprising:
The PCRF entity sends modification application detection control ADC Rules Message, the modification ADC rule to the TDF entity
Message includes the mark of first application and the charging identifier for the first application distribution.
9. a kind of charging method characterized by comprising
Strategy and charging execute PCEF entity reception policy control and the PCRF of charging rule functions PCRF entity transmission is real
The mark of first application of the independent charging of needs that body determines and the charging identifier distributed for first application;
The PCEF entity passes through service network by the mark that described first applies and for the charging identifier of the first application distribution
It closes equipment and is sent to user equipment (UE), so that the UE adds the charging identifier in the upstream data packet of first application
It is sent afterwards to the PCEF entity;
The PCEF entity receives the upstream data packet for carrying the charging identifier that the UE is sent, and according to the charging
It identifies and independent charging is carried out to the upstream data packet for carrying the charging identifier.
10. according to the method described in claim 9, it is characterized by further comprising:
The PCEF entity receives the downlink data packet for carrying the charging identifier that business detection function TDF entity is sent,
And independent charging is carried out to the downlink data packet for carrying the charging identifier according to the charging identifier.
11. according to the method described in claim 9, it is characterized in that, the PCEF entity receives the described of PCRF entity transmission
The mark of first application of the independent charging of needs that PCRF entity determines and the charging identifier distributed for first application, packet
It includes:
The PCEF entity, which receives the internet connected reference network IP-CAN session that the PCRF entity is sent and establishes to respond, to disappear
Breath, the IP-CAN session establishment response message include the mark of first application and the meter of the distribution for first application
Take mark;Or
The PCEF entity receives the strategy that the PCRF entity is sent and charging regulation message, the strategy disappear with charging regulation
Breath includes the mark of first application and the charging identifier for the first application distribution.
12. according to the method for claim 11, which is characterized in that the PCEF entity receives what the PCRF entity was sent
Before IP-CAN session establishment response message, further includes:
The PCEF entity sends IP-CAN session establishment request message to the PCRF entity.
13. according to the described in any item methods of claim 9-12, which is characterized in that the PCEF entity is applied described first
Mark and for it is described first application distribution charging identifier UE is sent to by service gateway device, comprising:
The PCEF entity sends IP-CAN carrying to the service gateway device and establishes response message, and the IP-CAN carrying is built
Vertical response message includes the mark of first application and the charging identifier for the first application distribution, so that the service network
Pass equipment is sent to the UE by the mark that described first applies and for the charging identifier of the first application distribution.
14. according to the method for claim 13, which is characterized in that the PCEF entity is sent to the service gateway device
IP-CAN carrying is established before response message, further includes:
The PCEF entity receives the IP-CAN carrying that the service gateway device is sent and establishes request message, and the IP-CAN is held
Load establishes the mark that request message includes the UE.
15. a kind of charging method characterized by comprising
Business detection function TDF entity receives policy control and the PCRF entity of charging rule functions PCRF entity transmission is true
The mark of first application of the fixed independent charging of needs and the charging identifier distributed for first application;
The TDF entity determines the downlink data packet of first application according to the mark of first application, described first
The charging identifier is added in the downlink data packet of application;
The downlink data packet for adding the charging identifier is sent to strategy to the TDF entity and charging executes PCEF entity, with
The PCEF entity is set to carry out independent charging based on downlink data packet of the charging identifier to first application.
16. according to the method for claim 15, which is characterized in that the TDF entity receives the described of PCRF entity transmission
The mark of first application of the independent charging of needs that PCRF entity determines and the charging identifier distributed for first application, packet
It includes:
The TDF entity receives the TDF session establishment request message that the PCRF entity is sent, the TDF session establishment request
Message includes the mark of first application and the charging identifier for the first application distribution.
17. according to the method for claim 16, which is characterized in that the TDF entity receives what the PCRF entity was sent
After TDF session establishment request message, further includes:
The TDF entity sends TDF session establishment response message to the PCRF entity.
18. according to the method for claim 15, which is characterized in that the TDF entity receives the described of PCRF entity transmission
Before the mark of first application of the independent charging of needs that PCRF entity determines and the charging identifier distributed for first application,
Further include:
The TDF entity detection needs the data packet of first application of independent charging, and is detecting first application
Data packet after, send Business Stream to the PCRF entity and detect event, Business Stream detection event includes described first answering
Mark, so that the PCRF entity determines that needs are independent to the first application progress according to the mark of first application
Charging.
19. according to the method for claim 18, which is characterized in that the TDF entity receives the described of PCRF entity transmission
The mark of first application of the independent charging of needs that PCRF entity determines and the charging identifier distributed for first application, packet
It includes:
The TDF entity receives the modification application detection control ADC Rules Message that the PCRF entity is sent, the modification ADC
Rules Message includes the mark of first application and the charging identifier for the first application distribution.
20. a kind of policy control and charging rule functions PCRF entity characterized by comprising
Determining module needs the first of charging to apply for determination;
Distribution module, for for the first application distribution charging identifier, the charging identifier to be needed for identifying to described the
One application carries out independent charging;
Sending module, the mark and the distribution module of first application for determining the determining module are described the
The charging identifier of one application distribution is sent respectively to user equipment (UE), strategy and charging and executes PCEF entity and business detection function
TDF entity, so that the UE and the TDF entity are sent after adding the charging identifier in the data packet of first application
To the PCEF entity, make mark of the PCEF entity based on first application and the charging for the first application distribution
Mark carries out independent charging to the data packet for carrying the charging identifier from the UE and the TDF entity respectively.
21. PCRF entity according to claim 20, which is characterized in that the sending module by described first for applying
Mark and for it is described first application distribution charging identifier be sent respectively to UE and PCEF entity, comprising:
The sending module is specifically used for sending internet connected reference network IP-CAN session to the PCEF entity and establishing ringing
Message is answered, the IP-CAN session establishment response message includes the mark of first application and the distribution for first application
Charging identifier so that the PCEF entity is answered by service gateway device by mark that described first applies and for described first
The UE is sent to the charging identifier of distribution.
22. the PCRF entity according to claim 20 or 21, which is characterized in that the sending module is applied described first
Mark and for it is described first application distribution charging identifier TDF entity, comprising:
The sending module is specifically used for sending TDF session establishment request message, the TDF session establishment to the TDF entity
Request message includes the mark of first application and the charging identifier for the first application distribution.
23. PCRF entity according to claim 20, which is characterized in that the determining module is specifically used for described in reception
The Business Stream that TDF entity is sent detects event, and Business Stream detection event is the TDF entity detection to the institute for needing charging
It states and sends after the data packet of the first application, and Business Stream detection event includes the mark of first application;According to institute
The mark for stating the first application determines first application.
24. PCRF entity according to claim 23, which is characterized in that the sending module by described first for applying
Mark and for it is described first application distribution charging identifier be sent respectively to UE and PCEF entity, comprising:
The sending module is specifically used for the PCEF entity sending strategy and charging regulation message, and the strategy is advised with charging
Then message includes the mark of first application and the charging identifier for the first application distribution, so that the PCEF entity is logical
It crosses service gateway device and is sent to the UE by mark that described first applies and for the charging identifier of the first application distribution.
25. the PCRF entity according to claim 23 or 24, which is characterized in that the sending module is used for described first
The mark of application and the charging identifier TDF entity distributed for first application, comprising:
The sending module is specifically used for sending modification application detection control ADC Rules Message, the modification to the TDF entity
ADC Rules Message includes the mark of first application and the charging identifier for the first application distribution.
26. a kind of strategy and charging execute PCEF entity characterized by comprising
Receiving module, the need that the PCRF entity for receiving policy control and the transmission of charging rule functions PCRF entity determines
Want the first mark applied of independent charging and the charging identifier for the first application distribution;
Sending module, for by the receiving module it is received it is described first application mark and be it is described first application distribution
Charging identifier is sent to user equipment (UE) by service gateway device, so that upstream data packet of the UE in first application
It is sent after the middle addition charging identifier to the PCEF entity;
The receiving module is also used to receive the upstream data packet for carrying the charging identifier that the UE is sent;
Accounting module, for according to the charging identifier uplink for carrying the charging identifier received to the receiving module
Data packet carries out independent charging.
27. PCEF entity according to claim 26, which is characterized in that the receiving module is also used to receive business detection
The downlink data packet for carrying the charging identifier that function TDF entity is sent;
The accounting module is also used to carry the charging identifier according to the charging identifier is received to the receiving module
Downlink data packet carry out independent charging.
28. PCEF entity according to claim 26, which is characterized in that the receiving module is for receiving PCRF entity hair
The mark of first application of the independent charging of needs that the PCRF entity sent determines and the charging distributed for first application
Mark, comprising:
The internet connected reference network IP-CAN session that the receiving module is specifically used for receiving the PCRF entity transmission is built
Vertical response message, the IP-CAN session establishment response message include the mark of first application and apply for described first
The charging identifier of distribution;Or
The receiving module is specifically used for receiving the strategy and charging regulation message that the PCRF entity is sent, the strategy and meter
Expense Rules Message includes the mark of first application and the charging identifier for the first application distribution.
29. according to the described in any item PCEF entities of claim 26-28, which is characterized in that the sending module is used for institute
It states the mark of the first application and UE is sent to by service gateway device for the charging identifier of the first application distribution, comprising:
The sending module is specifically used for establishing response message, the IP- to service gateway device transmission IP-CAN carrying
The mark that response message includes first application and the charging identifier for the first application distribution are established in CAN carrying, so that
The service gateway device is sent to described by the mark that described first applies and for the charging identifier of the first application distribution
UE。
30. a kind of business detection function TDF entity characterized by comprising
Receiving module, the need that the PCRF entity for receiving policy control and the transmission of charging rule functions PCRF entity determines
Want the first mark applied of independent charging and the charging identifier for the first application distribution;
Adding module is determined, for determining first application according to the mark of received first application of the receiving module
Downlink data packet, it is described first application downlink data packet in add the received charging identifier of the receiving module;
Sending module, for the downlink data packet for adding the charging identifier to be sent to strategy and charging execution PCEF entity,
So that the PCEF entity carries out independent charging based on downlink data packet of the charging identifier to first application.
31. TDF entity according to claim 30, which is characterized in that the receiving module is for receiving PCRF entity hair
The mark of first application of the independent charging of needs that the PCRF entity sent determines and the charging distributed for first application
Mark, comprising:
The receiving module is specifically used for receiving the TDF session establishment request message that the PCRF entity is sent, the TDF session
Establish the mark that request message includes first application and the charging identifier for the first application distribution.
32. TDF entity according to claim 30, which is characterized in that further include:
Detecting module, for detecting the data packet for needing first application of independent charging;
The sending module is also used to after the data packet that the detecting module detects first application, to the PCRF
Entity sends Business Stream and detects event, and the Business Stream detection event includes the mark of first application, so that the PCRF
Entity is determined according to the mark of first application to need to carry out independent charging to first application.
33. TDF entity according to claim 32, which is characterized in that the receiving module is for receiving PCRF entity hair
The mark of first application of the independent charging of needs that the PCRF entity sent determines and the charging distributed for first application
Mark, comprising:
The receiving module is specifically used for receiving the modification application detection control ADC Rules Message that the PCRF entity is sent, institute
State the mark that modification ADC Rules Message includes first application and the charging identifier for the first application distribution.
34. a kind of policy control and charging rule functions PCRF entity characterized by comprising
Processor needs the first of charging to apply for determination, and is the first application distribution charging identifier, the charging mark
Know and needs to carry out independent charging to first application for identifying;
Transmitter, the mark of first application for determining the processor and the processor are first application
The charging identifier of distribution is sent respectively to user equipment (UE), strategy and charging and executes PCEF entity and business detection function TDF reality
Body, so that the UE and the TDF entity are sent to institute after adding the charging identifier in the data packet of first application
PCEF entity is stated, mark of the PCEF entity based on first application and the charging identifier for the first application distribution are made
Independent charging is carried out to the data packet for carrying the charging identifier from the UE and the TDF entity respectively.
35. a kind of strategy and charging execute PCEF entity characterized by comprising
Receiver, the needs that the PCRF entity for receiving policy control and the transmission of charging rule functions PCRF entity determines
The mark of first application of independent charging and the charging identifier distributed for first application;
Transmitter, for by the receiver it is received it is described first application mark and be it is described first application distribution charging
Mark is sent to user equipment (UE) by service gateway device, so that the UE adds in the upstream data packet of first application
It is sent after adding the charging identifier to the PCEF entity;
The receiver is also used to receive the upstream data packet for carrying the charging identifier that the UE is sent;
Processor, for according to the charging identifier upstream data for carrying the charging identifier received to the receiver
Packet carries out independent charging.
36. a kind of business detection function TDF entity characterized by comprising
Receiver, the needs that the PCRF entity for receiving policy control and the transmission of charging rule functions PCRF entity determines
The mark of first application of independent charging and the charging identifier distributed for first application;
Processor, for determining the lower line number of first application according to the mark of received first application of the receiver
According to packet, the received charging identifier of the receiver is added in the downlink data packet of first application;
Transmitter, for the downlink data packet for adding the charging identifier to be sent to strategy and charging execution PCEF entity, with
The PCEF entity is set to carry out independent charging based on downlink data packet of the charging identifier to first application.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2013/083780 WO2015039307A1 (en) | 2013-09-18 | 2013-09-18 | Charging method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104769978A CN104769978A (en) | 2015-07-08 |
CN104769978B true CN104769978B (en) | 2019-02-19 |
Family
ID=52688100
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201380004532.6A Active CN104769978B (en) | 2013-09-18 | 2013-09-18 | Charging method and equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104769978B (en) |
WO (1) | WO2015039307A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108696363B (en) * | 2017-02-25 | 2022-03-08 | 华为技术有限公司 | Charging method and device |
CN110620748B (en) * | 2018-06-20 | 2021-12-21 | 中国电信股份有限公司 | Data packet identification method, device, system and computer readable storage medium |
CN117859298A (en) * | 2022-08-09 | 2024-04-09 | 北京小米移动软件有限公司 | Charging processing method and device, communication equipment and storage medium |
CN117859295A (en) * | 2022-08-09 | 2024-04-09 | 北京小米移动软件有限公司 | Charging correction method, device, communication equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102131172A (en) * | 2010-01-18 | 2011-07-20 | 中兴通讯股份有限公司 | Traffic processing method and system |
CN102137367A (en) * | 2010-01-26 | 2011-07-27 | 中兴通讯股份有限公司 | Enhanced policy and charging control method and system and PCC (Policy Charge Control) system |
CN102625272A (en) * | 2011-01-31 | 2012-08-01 | 中兴通讯股份有限公司 | Usage monitoring method supporting traffic detection function and usage monitoring system |
CN103220651A (en) * | 2012-01-21 | 2013-07-24 | 阿尔卡特朗讯 | Method and equipment for carrying out charging control on application layer data |
-
2013
- 2013-09-18 CN CN201380004532.6A patent/CN104769978B/en active Active
- 2013-09-18 WO PCT/CN2013/083780 patent/WO2015039307A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102131172A (en) * | 2010-01-18 | 2011-07-20 | 中兴通讯股份有限公司 | Traffic processing method and system |
CN102137367A (en) * | 2010-01-26 | 2011-07-27 | 中兴通讯股份有限公司 | Enhanced policy and charging control method and system and PCC (Policy Charge Control) system |
CN102625272A (en) * | 2011-01-31 | 2012-08-01 | 中兴通讯股份有限公司 | Usage monitoring method supporting traffic detection function and usage monitoring system |
CN103220651A (en) * | 2012-01-21 | 2013-07-24 | 阿尔卡特朗讯 | Method and equipment for carrying out charging control on application layer data |
Also Published As
Publication number | Publication date |
---|---|
CN104769978A (en) | 2015-07-08 |
WO2015039307A1 (en) | 2015-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6025926B2 (en) | Method, apparatus and system for controlling services | |
EP2824951B1 (en) | Method, device and system for marking service data packet | |
JP5269980B2 (en) | Billing in LTE / EPC communication networks | |
CN101431423B (en) | Reduction method and apparatus for user service flow accounting | |
EP2611234A1 (en) | Systems and methods for managing quality of service | |
KR101655641B1 (en) | Temporarily disable out-of-credit pcc rule | |
US20160164752A1 (en) | Node and method for service usage reporting and quota establishment | |
WO2021036441A1 (en) | Method and apparatus for collecting statistics about service traffic | |
WO2014094228A1 (en) | Method and device for handling dropped data packets | |
CN104769978B (en) | Charging method and equipment | |
CN105532012B (en) | Method of video distribution, equipment and system | |
WO2014187227A1 (en) | Data flow transmission control method and apparatus | |
WO2011134319A1 (en) | Policy control method for packet service and packet service system | |
US20150256454A1 (en) | Method for informing a node in a radio access network (ran) about a type of service associated with an ip packet | |
EP3510726B1 (en) | Methods and nodes for managing charging of a user equipment by enabling management of traffic steering policy | |
WO2012129992A1 (en) | Sponsored data connectivity processing method, and policy and charging rules function | |
CN110858957B (en) | Information pushing system, method, device, medium and equipment | |
WO2011157137A2 (en) | Policy control method, apparatus and communication system | |
CN104284319B (en) | A kind of policy control method based on congestion control, device and system | |
CN103945359B (en) | A kind of processing method of business datum, device and system | |
CN104380783A (en) | Method, device and system for flow monitoring | |
CN103929756B (en) | A kind of web information processing method, device and system | |
US10237418B2 (en) | Methods, systems, and computer readable media for charging based on radio congestion in mobile networks | |
WO2015048992A1 (en) | Handling overload of a network node | |
EP3170283B1 (en) | Method for enhanced policy and charging control in telecommunications networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |