CN101431422A - Accounting method, accounting apparatus, accounting gateway and accounting system - Google Patents

Accounting method, accounting apparatus, accounting gateway and accounting system Download PDF

Info

Publication number
CN101431422A
CN101431422A CNA200810218382XA CN200810218382A CN101431422A CN 101431422 A CN101431422 A CN 101431422A CN A200810218382X A CNA200810218382X A CN A200810218382XA CN 200810218382 A CN200810218382 A CN 200810218382A CN 101431422 A CN101431422 A CN 101431422A
Authority
CN
China
Prior art keywords
message
reported
charging gateway
switching
allowing
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.)
Pending
Application number
CNA200810218382XA
Other languages
Chinese (zh)
Inventor
庞长春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNA200810218382XA priority Critical patent/CN101431422A/en
Publication of CN101431422A publication Critical patent/CN101431422A/en
Priority to PCT/CN2009/074929 priority patent/WO2010066157A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

An embodiment of the invention provides an accounting method, accounting device, accounting gate and accounting system wherein the accounting method comprises the following procedures: receiving FA switching information which includes IP address after FA switch from accounting gate when external agent FA switches; determining UE rate for FA network accessing after switch and transmitting quota to accounting gate according to determined UE rate and accounting according to FA switch information and UE rate of user terminal in accounting device. UE rate of FA network accessing after switch can be acquired on time by accounting device when FA switches to realize accurate accounting through the method described in the embodiment of the invention.

Description

Charging method, message accounting, charging gateway and charge system
Technical field
The present invention relates to communication field, relate in particular to a kind of charging method, message accounting, charging gateway and charge system.
Background technology
Along with becoming increasingly abundant of 3G data service, the charge mode of simple flow and duration can't adapt to the develop rapidly of wireless data service, in order to expand bigger professional profit, conformity of business operation operation scheme, operator is just progressively to abundant more granularity with dynamically based on the billing model development that is worth, and content-based charging is one step of key based on the billing model that is worth of marching toward.Content charging makes operator except that collecting access fee, can also charge to various contents and application, thereby obtain extra profit.
Content charging gateway (Content Charging Gateway, CCG) be the Gateway Network Element of realizing content charging, be used to solve the access of present mobile communication network data carried by data business, professional control, functions such as charging support, it can support the charging of various typical data business, as: the HTTP(Hypertext Transport Protocol) business, WAP (wireless application protocol) (Wireless Application Protocol, WAP) business, MMS (Multimedia Message Service) (Multimedia Messaging Service, MMS), streaming media service, mail class business, text transfer protocol (File Transfer Protocol, FTP) business etc.
To the content charging of user equipment (UE) can (Home Agent carries out on HA), if charge on HA, then the data message of UE will send to HA by reverse tunnel, and HA, charges to the message accounting quota application by CCG at home agent.
External agent (Foreign Agent, FA) be a router on the link between UE and the HA, transmit the data message between HA and the UE, the data of UE send to HA by FA, if UE is in roaming or other states, when causing the pairing FA of UE to switch, the rate of UE also tends to change.
The inventor finds in realizing process of the present invention: when FA switches, variation also may take place in the rate of the UE that networks by this FA, can cause charging inaccurate in the above-mentioned charging way.
Summary of the invention
The embodiment of the invention provides a kind of charging method, message accounting, charging gateway and charge system, and when FA switches, message accounting can in time obtain by switching the rate of the UE that back FA networks, realizes accurate billing.
A kind of charging method when external agent FA switches, comprising:
Receive the FA switching message that charging gateway sends, described FA switches the IP address after message comprises the FA switching;
According to the rate of described FA switching message and the user terminal UE on message accounting, determine rate, and send quota to charging gateway according to the rate of the described UE that determines by the UE of the networking of the FA after the described switching, charge.
A kind of message accounting comprises:
Receiving element is used to receive the FA switching message that charging gateway sends, and described FA switches the IP address after message comprises the FA switching;
Determining unit is used for the rate according to receiving element FA switching message and the user terminal UE on message accounting, determines the rate by the UE of the networking of the FA after the described switching;
Transmitting element is used for asking quota according to the rate of the definite described UE of determining unit to the charging gateway transmission.
A kind of charging gateway comprises:
Acquiring unit is used to obtain the IP address after FA switches;
First judging unit is used to judge whether allow to send FA to message accounting and switches message;
Transmitting element is used for determining that at first judging unit permission when message accounting sends FA switching message, sends to message accounting with described FA switching message that described FA switches the IP address after message comprises the FA switching.
A kind of charge system comprises charging gateway and message accounting, wherein
Charging gateway is used to obtain the IP address after FA switches, and sends FA to message accounting and switches message, and described FA switches the IP address after message comprises the FA switching;
Message accounting is used to receive described FA and switches message, according to the rate of described FA switching message and the UE on message accounting, determines the rate by the user terminal UE of described FA networking, and sends quota according to the rate of described UE to charging gateway, charges.
Use the method that the embodiment of the invention provided, when FA switches, message accounting can be according to the switching message of the timely acquisition of reporting of charging gateway FA, and switch the IP address of the FA that comprises in the message and the rate of the UE that on message accounting, is provided with according to FA, in time obtain the rate that FA switches back UE, the rate of switching back UE according to described FA sends quota to charging gateway, has realized accurate billing.
Description of drawings
Fig. 1 is the first pass figure of a kind of charging method of providing of the embodiment of the invention;
Fig. 2 is second flow chart of a kind of charging method of providing of the embodiment of the invention;
Fig. 3 is the 3rd flow chart of a kind of charging method of providing of the embodiment of the invention;
Fig. 4 is the 4th flow chart of a kind of charging method of providing of the embodiment of the invention;
Fig. 5 is first schematic diagram of a kind of message accounting of providing of the embodiment of the invention;
Fig. 6 a is second schematic diagram of a kind of message accounting of providing of the embodiment of the invention;
Fig. 6 b is the 3rd schematic diagram of a kind of message accounting of providing of the embodiment of the invention;
Fig. 7 a is first schematic diagram of a kind of charging gateway of providing of the embodiment of the invention;
Fig. 7 b is second schematic diagram of a kind of charging gateway of providing of the embodiment of the invention;
Fig. 8 a is the 3rd schematic diagram of a kind of charging gateway of providing of the embodiment of the invention;
Fig. 8 b is the 4th schematic diagram of a kind of charging gateway of providing of the embodiment of the invention;
Fig. 9 is the schematic diagram of a kind of charge system of providing of the embodiment of the invention.
Embodiment
With reference to accompanying drawing 1, the embodiment of the invention provides a kind of charging method, when external agent FA switches, comprising:
101, receive the FA switching message that charging gateway sends, described switching message comprises the IP address after FA switches;
102, switch message and the setting on message accounting according to described FA, determine rate, and send quota to charging gateway, charge according to the rate of the described UE that determines by the user terminal UE of the networking of the FA after the described switching.
The method that the embodiment of the invention provided, when FA switches, message accounting can in time obtain the IP address after FA switches, and according to the rate of determining the UE after FA switches in the UE rate that is provided with on the message accounting, the rate of the UE after switching according to described FA sends quota to charging gateway, charges, realized accurate billing, the charging gateway here can be CCG, also can be for having comprised the HA of content charging gateway function, i.e. HA/CCG; Message accounting can (Online charging System OCS), also can be a CAMEL system etc. for Online Charging System.
With reference to accompanying drawing 2, a kind of charging method that the embodiment of the invention provides is HA/CCG with the charging gateway, and message accounting is that OCS is that example describes, and comprising:
201, the rate of UE and the order of " allowing the FA handover event is reported " are set on OCS, can be based on the rate that UE is set on the OCS that is identified at of FA, the sign of described FA comprises the IP address of FA or the IP group of addresses of FA, comprising:
The order of " allowing the FA handover event is reported " is set on OCS, and OCS sends to HA/CCG with this order; Concrete, OCS sends authentication control to HA/CCG and replys (Credit Control Request, CCA) message, comprise the order of " allowing the FA handover event is reported " in this CCA message, can in the trigger-type of CCA message attribute, comprise the CHANGE_IN_FA_IP_ADDRESS sign, expression allows the FA handover event is reported, and is as shown in table 1
Message Direction Parameters
CCA OCS-->CCG trigger-type= CHANGE_IN_FA_IP_ADDRESS
Table 1
On OCS, for the UE that networks by this FA a rate is set based on the IP address of FA, as: the rate of UE was x1 when the IP address that FA is set was 192.168.1.1; The rate of UE was x2 when the IP address of FA was 192.168.1.2; The rate of UE was x3 when the IP address of FA was 192.168.1.3; Also can divide into groups the IP address of FA, be set to an IP group of addresses as 192.168.1.1,192.168.1.2,192.168.1.3, in this IP group of addresses, the rate of UE is X or the like.
202, alternatively, the order of " allowing the FA handover event is reported " is set on HA/CCG, also can be provided with on the HA/CCG based on being identified at of FA needs the FA that reports after the switching, and the sign of FA comprises the IP address of FA or the IP group of addresses of FA, comprising:
The order of " allowing the FA handover event is reported " is set on HA/CCG.
The IP address or the IP group of addresses that also can after on the HA/CCG switching being set, need the FA that reports to OCS,
Concrete: as when IP address after FA switches being set being 192.168.1.2, need to report to OCS; When the IP address after FA switches is 192.168.1.3, do not need to report or the like to OCS; Whether needs report to OCS in the time of also can determining that FA switches according to the IP group of addresses of FA, when being 192.168.1.1,192.168.1.2,192.168.1.3 as the IP address of FA, constitute an IP group of addresses, when the IP address after FA switches becomes in this IP group of addresses any one, need report or the like to OCS.
This step is an optional step, if there is not this step, and then direct execution in step 203.
203, HA/CCG obtains the IP address after FA switches, and judges whether to allow the FA handover event is reported, and comprising:
The user is in networking process, if switching has taken place in FA, FA after the switching sets up the tunnel with HA/CCG again and is connected, UE need be to registering to HA again, UE sends register requirement Registration Request message to FA, FA gives HA with this forwards, the IP address that comprises FA in the Registration Request message, perhaps FA initiates the registration of UE, FA sends Registration Request message to HA, the IP address after switching and FA switching have taken place FA is known in the IP address that comprises FA, the Registration Request message that the HA/CCG basis receives.HA/CCG judges whether to receive or preserve the order of OCS transmission " allowing the FA handover event is reported ", if having then execution in step 205, if do not have then execution in step 204;
204, HA/CCG judges from the order that whether is provided with " allowing the FA handover event is reported " on one's body, if having then execution in step 205, if do not have, then still charges according to the original rate of UE.
Wherein, the setting in step 201 and the step 202 does not have sequencing, can carry out simultaneously, can be provided with respectively yet.In step 203 and step 204, can be simultaneously in the order that " allowing the FA handover event is reported " is set on the OCS and on the HA/CCG, also can be respectively in the order that " allowing the FA handover event is reported " is set on the OCS or on the HA/CCG, the priority of " allowing the FA handover event is reported " order that is provided with on OCS is higher than the priority that HA/CCG goes up " allowing the FA handover event is reported " order that is provided with, when HA/CCG receives " allowing the FA handover event is reported " order that OCS issues, report according to the order of receiving, when HA/CCG did not receive " allowing the FA handover event is reported " order that OCS issues, the order of going up " allowing the FA handover event is reported " of being provided with according to HA/CCG reported.
205, need IP address or the IP group of addresses of the FA that reports to judge after the IP address after HA/CCG switches according to the FA that obtains and the switching of setting, if this FA need report after determining to switch, IP reporting address after then FA being switched is given OCS, if do not need to report, then still charge according to the original rate of UE.Concrete:
HA/CCG sends authentication control request (Credit Control Request to OCS, CCR) sign of the IP address after comprising FA in the message and switching, FA IP Address sign can comprised in the PDSN-Address of CCR message attribute, this sign includes the IP address after FA switches, and is as shown in table 2:
Message Direction Parameters
CCR CCG-->OCS trigger-type= CHANGE_IN_FA_IP_ADDRESS PDSN-Address= FA IP Address
Table 2
Alternatively, the message that HA/CCG also can FA take place to switch sends to OCS, specifically comprise: in CCR message, carry the FA handover event, the sign that can in the trigger of CCR message attribute, comprise CHANGE_IN_FA_IP_ADDRESS, switching has taken place in this sign expression FA, and is as shown in table 2.
In step 205 are optional steps, HA/CCG also can be in the order of determining to preserve " allowing the FA handover event is reported " that OCS sends, when determining that perhaps HA/CCG is provided with the order of " allowing the FA handover event is reported ", give OCS with the IP reporting address after the FA switching, and need not be again determine according to being arranged on the IP address that HA/CCG goes up the FA that needs report after the switching that is provided with whether needs report described FA, concrete reports process with reference to step 205.
206, OCS switches IP address, back according to the FA that receives and the UE rate that is provided with compares on OCS, determines whether the rate that FA switches back UE changes, and sends quota according to the rate that FA switches back UE to HA/CCG, and is concrete:
OCS resolves the CCR message that receives, obtain the IP address after FA switches, compare, determine whether the rate of UE changes according to the IP address of the FA that obtains and the UE rate that is arranged on the OCS, if the rate of UE changes, then send quota to HA/CCG according to new rate;
If the rate of UE does not change, then OCS sends quota according to original rate to HA/CCG equally.
The service traffics of HA/CCG statistics UE, and and the quota that receives compare, when flow during, continue to the OCS quota application, if the quota of application then allows UE to continue visit, if application less than quota, then stops the business of UE visit more than or equal to quota.
The charging method that the embodiment of the invention provided, when on HA/CCG, chargeing, when switching has taken place FA, IP address after HA/CCG can switch FA timely sends to OCS, OCS determines that FA switches the corresponding UE rate in back, and sends quota according to the rate of determining to HA/CCG according to the IP address of FA and the UE rate that is provided with on OCS in advance, charge, make that charging is more accurate.
In embodiments of the present invention, action is set occurs in before FA switches, when FA switches, carry out the operation that FA switches between back charging gateway and the message accounting according to being provided with in advance and get final product.
In embodiments of the present invention, charging gateway is HA/CCG, and certainly HA and CCG also can be used as independent network element and be arranged in the system, and promptly charging gateway is CCG, and realize billing function this moment on HA, realize statistic flow information on CCG, and function such as E-Packet.The order of " allowing the FA handover event is reported " can be arranged on the CCG, also after being set on the CCG, the FA switching whether reports simultaneously, its charging flow and the embodiment of the invention are similar, when only FA switches, HA can in time obtain the IP address after switching and FA switching have taken place FA, and the IP address after FA switched sends to CCG, and whether CCG reports OCS according to decision is set.
With reference to accompanying drawing 3, the embodiment of the invention also provides a kind of charging method, when charging gateway is CCG, when message accounting is OCS, the IP address that needs the FA that reports after on the CCG switching being set is provided with the order of " allowing the FA handover event is reported " on OCS, comprising:
301, the rate of UE and the order of " allowing the FA handover event is reported " are set on OCS, comprise:
The order of " allowing the FA handover event is reported " is set on OCS, and OCS sends to CCG with this order, and concrete process of transmitting is with reference to step 201;
The rate of UE was x1 when the IP address that FA is set on OCS was 192.168.1.1; The rate of UE was x2 when the IP address of FA was 192.168.1.2.
302, after on the CCG switching being set, need the FA that reports, comprising:
When the IP address after FA is set on CCG switches was 192.168.1.2, the IP address after FA switched sent to OCS;
When FA switches,, carry out the following step with reference to Fig. 3:
303, CCG obtains the IP address after FA switches, and comprises
When FA switches, the IP address of FA is when 192.168.1.1 switches to 192.168.1.2, FA after the switching sets up the tunnel with HA again and is connected, FA comprises the IP address after FA switches in the Registration Request message that HA sends, HA obtains the IP address after FA has taken place to switch and switch, and the IP address after the FA switching is sent to CCG.
304, CCG judges whether to allow the FA handover event is reported;
CCG determines to receive the order of " allowing the FA handover event is reported " that OCS issues, allows the FA handover event to be reported execution in step 305.
305, need the IP address of the FA that reports after the IP address after CCG switches according to the FA that obtains and the switching of setting, this FA need report after determining to switch;
CCG receives that the IP address after the FA of HA transmission switches is 192.168.1.2, and according to the FA that on CCG, is provided with switch IP address, back when becoming 192.168.1.2 needs report, determining needs to report after this FA switches, therefore the IP address 192.168.1.2 after CCG switches FA sends OCS by CCR message, and concrete process of transmitting is with reference to step 205.
306, the rate of IP address after OCS switches according to FA and the UE that on OCS, is provided with, determine that the rate of switching back UE according to FA sends quota to CCG, comprising by the rate of the UE of the FA networking after this switching:
After OCS receives CCR message, CCR message is resolved, draw FA switching has taken place, and the IP address that obtains after FA switches is 192.168.1.2, compare with the rate of the UE that is provided with, the rate of UE was x2 when the IP address of acquisition FA was 192.168.1.2, and variation has taken place the rate of UE, therefore OCS sends quota according to new rate x2 to CCG, charges.
The service traffics of CCG statistics UE, and and the quota that receives compare, when flow during, continue to the OCS quota application, if the quota of application then allows UE to continue visit, if application less than quota, then stops the business of UE visit more than or equal to quota.
For example: CCG receives the quota of the 1M flow of OCS transmission, then allow UE to continue ongoing business, and the flow of statistics UE access service, when the flow that counts on during more than or equal to 1M, CCG continues to the OCS quota application, if this user's of OCS quota also has 200K, then continue to issue the quota of 200K, and stop the order of the business that the user visited when in the CCA message that issues, comprising quota and exhausting to CCG.
Adopt the method that the embodiment of the invention provided, when FA switches, IP address after HA has taken place that FA switch and switch sends to CCG, the IP address of the FA that the order of " allowing the FA handover event is reported " that CCG sends according to OCS and needing after the switching that is provided with on the CCG reports, determine the IP address after the FA switching is sent to OCS, OCS can in time obtain the IP address after FA switches, and determine rate by the UE of described FA networking, the rate of switching the described UE in back according to FA makes charging more accurate to the transmission quota.
With reference to accompanying drawing 4, the embodiment of the invention also provides a kind of charging method, and wherein charging gateway is HA/CCG, and the order of " allowing the FA handover event is reported " when message accounting is OCS, is set on HA/CCG, comprising:
401, the rate of UE is set on OCS, comprises:
Constitute No. 0 IP group of addresses when the IP address that FA is set on OCS is 192.168.1.1,192.168.1.2,192.168.1.3, the rate of its pairing UE is x, and when the IP address of FA was 192.168.1.0, the rate of UE was y.
The order of " allowing the FA handover event is reported " 402, is set on HA/CCG, and is provided with and needs the FA that reports after the switching; Comprise:
The order of " allowing the FA handover event is reported " is set on HA/CCG;
When the IP address being set on HA/CCG being 192.168.1.1,192.168.1.4,192.168.1.5, constitute No. 1 the IP group of addresses, when the IP address of FA became in No. 1 IP group of addresses any one, the IP reporting address after FA need being switched was given OCS.
When FA switches,, carry out the following step with reference to Fig. 4:
403, HA/CCG obtains the IP address after FA switches, and comprising:
When FA switches, FA after the switching sets up the tunnel with HA/CCG again and is connected, FA includes the IP address after FA switches in the Registration Request message that HA/CCG sends, the Registration Request message that HA/CCG receives obtains the IP address after switching and FA switching have taken place FA.
404, HA/CCG judges whether to allow handover event to report;
The definite order of not receiving " allowing the FA handover event is reported " that OCS sends of HA/CCG; Therefore need execution in step 405.
405, HA/CCG determines that HA/CCG is provided with the order of " allowing the FA handover event is reported ", then allows the IP reporting address after the FA switching, execution in step 406;
406, the IP group of addresses of the FA that needs report after the IP address after HA/CCG switches according to FA and the switching of setting determines whether report after this FA switches;
The IP address that HA/CCG obtains after FA switches is 192.168.1.1, and 192.168.1.1 is arranged on an address in No. 1 IP group of addresses on the HA/CCG, and determining needs to report after this FA switches.Therefore the IP address sent to OCS by CCR message after HAA/CCG FA switched, and concrete process of transmitting is with reference to step 205.
407, the rate of the IP address after OCS switches according to FA and the UE of setting determines that FA switches the rate of back UE, sends quota according to the rate of described UE to HA/CCG.
After OCS receives CCR message, CCR message is resolved, the IP address that obtains after FA switches is 192.168.1.1; Compare with the IP group of addresses of the FA that on OCS, is provided with, IP address after FA switches becomes in No. 0 IP group of addresses, the rate of determining the UE that inserts by this FA becomes x, and variation has taken place the rate of UE, so OCS sends quota according to new rate x to HA/CCG.
The service traffics of HA/CCG statistics UE, and and the quota that receives compare, when flow during, continue to the OCS quota application, if the quota of application then allows UE to continue visit, if application less than quota, then stops the business of UE visit more than or equal to quota.
Adopt the method that the embodiment of the invention provided, an IP group of addresses can be set on HA/CCG, determine to be provided with the order of " allowing the FA handover event is reported " as HA/CCG, and when the IP address after FA switches was No. 1 address in the IP group of addresses, the IP reporting address after allowing FA switched was given OCS; OCS determines according to the rate of the UE of the IP address that receives and setting, and variation has taken place the rate of the UE that networks by the FA after this switchings, charges according to the rate after the variation.The rate of the pairing UE of FA in same IP group of addresses is identical simultaneously, make when UE roams in the IP of this FA group of addresses The corresponding area, charge according to freight all kind rate, in the time of outside roaming into this zone, then, make charging more accurately, flexibly according to new rate accounting.
With reference to accompanying drawing 5, the embodiment of the invention provides a kind of message accounting 500, comprising:
Receiving element 501 is used to receive the FA switching message that charging gateway sends, and described FA switches the IP address after message comprises the FA switching;
Determining unit 502 is used for switching message and the rate of the UE that is provided with according to receiving element 501 FA on message accounting, determines the rate by the UE of described FA networking;
Transmitting element 503 is used for sending quota according to the rate of 502 kinds of definite described UE of determining unit to charging gateway.
The message accounting that the embodiment of the invention provided, the IP address after in time obtaining FA and switching, and determine that according to being provided with in advance the rate of the UE that networks by the FA after switching charges, make charging more accurate.
With reference to accompanying drawing 6, the embodiment of the invention also provides a kind of message accounting 600, comprises that receiving element 601, transmitting element 602, first are provided with unit 603 and determining unit 604, wherein
Receiving element 601 is used to receive the FA switching message that charging gateway sends, and described FA switches the IP address after message comprises the FA switching;
First is provided with unit 603, is used for being provided with based on the sign of FA on message accounting 600 rate of UE, and the sign of described FA can be the IP address of FA or the IP group of addresses of FA;
Determining unit 604 is used for switching message and in first rate that the UE that is provided with on the unit 603 is set, determining the rate by the UE of described FA networking according to the FA of receiving element 601;
Transmitting element 602, the rate that is used for the UE that determines according to determining unit 604 sends to charging gateway asks quota.
In embodiments of the present invention, can also comprise:
Second is provided with unit 605, is used for being provided with on the message accounting 600 order of " allowing the FA handover event is reported ";
Transmitting element 602 also is used for second order that unit 603 settings " permission reports the FA handover event " are set is sent to charging gateway.
The message accounting that the embodiment of the invention provided is provided with the order of " allowing the FA handover event is reported " and sends to charging gateway on message accounting, allow to report after the FA switching; IP address after this message accounting can in time obtain FA and switches simultaneously, and determine the rate of the terminal that networks by the FA after switching according to being provided with in advance, charge according to the terminal rate of determining, make charging more accurate.
With reference to accompanying drawing 7, the embodiment of the invention provides a kind of charging gateway 700, comprises acquiring unit 701, first judging unit 702 and transmitting element 703, wherein
Acquiring unit 701 is used to obtain the IP address after FA switches;
First judging unit 702 is used to determine whether allow to send FA to message accounting and switches message;
Transmitting element 703 is used for determining to allow when message accounting sends FA switching message described switching message to be sent to message accounting at first judging unit 702, and described switching message comprises the IP address after FA switches.
Wherein,
Acquiring unit 701 also is used to receive the order of " allowing the FA handover event is reported " that message accounting sends;
First judging unit 702 determines that according to the order of " allowing the FA handover event is reported " of receiving in the acquiring unit 701 need send FA to message accounting switches message.
In embodiments of the present invention, can also comprise:
The 4th is provided with unit 704, needing after on the charging gateway 700 switching being set to be used for the sign of the FA that reports;
Second judging unit 705, be used for when acquiring unit 701 determines to receive the order of " allowing the FA handover event is reported " that message accounting sends, the sign that needs the FA that reports after the switching that is provided with is set in the unit 704 according to the 4th, determines whether and described FA need be switched information reporting.
The charging gateway that the embodiment of the invention provided, can in time obtain the IP address after switching and FA switching have taken place FA, and send to message accounting according to the IP address that is provided with after FA switched in advance, make the IP address after message accounting can in time obtain the FA switching, and then determine to make charging more accurate by the rate of the terminal of the networking of the FA after the described switching.
With reference to accompanying drawing 8, the embodiment of the invention provides a kind of charging gateway, comprising: acquiring unit 801, first judging unit 802, transmitting element 803 and the 3rd are provided with unit 804, wherein:
Acquiring unit 801 is used to obtain the IP address after FA switches, and obtains the order of message accounting transmission " allowing the FA handover event is reported ";
The 3rd is provided with unit 804, is used for being provided with on charging gateway 800 order of " allowing the FA handover event is reported ";
First judging unit 802, determine not have in the acquiring unit 801 to receive the order of " allowing the FA handover event is reported ", determine that the 3rd is provided with in the unit 804 order that is provided with " allowing the FA handover event is reported ", determine that need send FA to message accounting switches message;
Transmitting element 803 is used for determining to allow when message accounting sends FA switching message described switching message to be sent to message accounting at first judging unit 802, and described switching message comprises the IP address after FA switches.
In embodiments of the present invention, can also comprise:
The 4th is provided with unit 805, needing after on the charging gateway 800 switching being set to be used for the sign of the FA that reports;
Second judging unit 806, be used for determining to receive the order of " allowing the FA handover event is reported " that message accounting sends or when first is provided with in the unit 804 order that is provided with " allowing the FA handover event is reported " when acquiring unit 801, the sign that needs the FA that reports after the switching that is provided with is set in the unit 805 according to second, determines whether and described FA need be switched information reporting.
Whether the charging gateway that the embodiment of the invention provided is under the situation that allows the FA handover event to report, according to needing to report after the further FA of judgement switches being provided with on the charging gateway in advance, for charging provides diversified selection.
With reference to accompanying drawing 9, the embodiment of the invention provides a kind of charge system, comprises charging gateway 902 and message accounting 901,
Charging gateway 902 is used to obtain the IP address after FA switches, and sends FA to message accounting and switches message, and described FA switches the IP address after message comprises the FA switching;
Message accounting 901, be used to receive described FA and switch message, according to described FA switch message and on message accounting 901 rate of UE, determine rate by the user terminal UE of described FA networking, and send quotas to charging gateway 902 according to the rate of described UE, charge.
In the charge system that the embodiment of the invention provided,
Charging gateway 902 also is used for being provided with the order of " allowing the FA handover event is reported ";
Message accounting 901 also is used for being provided with the order of " allowing the FA handover event is reported ";
Charging gateway 902 is according to the order of message accounting 901 transmissions " allowing the FA handover event is reported ", perhaps, determine that FA need be switched message sends to message accounting 901 according to the order that is arranged on " allowing the FA handover event is reported " on the charging gateway 902.
Wherein,
Charging gateway 902 also is used to be provided with the sign that needs the FA that reports after the switching;
Charging gateway 902 obtains the IP address after FA switches, and the order of " allowing the FA handover event is reported " of sending according to message accounting 901, perhaps according to the order that is arranged on " allowing the FA handover event is reported " on the charging gateway 902, IP address after switching according to FA simultaneously and the sign of the FA that needs report after the switching that is provided with on the charging gateway 802 determine whether that allowing that FA is switched message sends to message accounting 901.
In the charge system that the embodiment of the invention provided, charging gateway obtains that FA switches and the IP address of FA after switching, IP address after in time FA being switched sends to message accounting, message accounting is according in advance setting, determine rate, and send quota to charging gateway according to described definite rate by the terminal of the networking of the FA after the described switching.The charge system that the embodiment of the invention provided can in time be adjusted the rate of terminal, makes charging more accurate.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (20)

1, a kind of charging method is characterized in that, when external agent FA switches, comprising:
Receive the FA switching message that charging gateway sends, described FA switches the IP address after message comprises the FA switching;
According to the rate of described FA switching message and the user terminal UE on message accounting, determine rate, and send quota to charging gateway according to the rate of the described UE that determines by the UE of the networking of the FA after the described switching, charge.
2, a kind of charging method as claimed in claim 1 is characterized in that, also comprises:
The rate of UE is set based on the sign of FA on message accounting.
3, a kind of charging method as claimed in claim 2 is characterized in that, also comprises:
The order of " allowing the FA handover event is reported " is set on message accounting; Perhaps
The order of " allowing the FA handover event is reported " is set on charging gateway; Perhaps
The order of " allowing the FA handover event is reported " is set on message accounting and charging gateway.
4, a kind of charging method as claimed in claim 3, it is characterized in that, the order of " allowing the FA handover event is reported " is set on message accounting, the order of " allowing the FA handover event is reported " perhaps is set on message accounting and charging gateway, also comprise:
Described message accounting sends to charging gateway with the order of described " allowing the FA handover event is reported ".
5, a kind of charging method as claimed in claim 4 is characterized in that, also comprises:
Described charging gateway obtains the IP address after FA switches;
Determine to preserve on the charging gateway order of " allowing the FA handover event is reported " that message accounting sends;
Send described FA to message accounting and switch message, described FA switches the IP address after message comprises the FA switching.
6, as claim 4 or 5 arbitrary described a kind of charging methods, it is characterized in that, when charging gateway is content charging gateway CCG or the home agent HA/CCG that has realized the content charging function, when message accounting is Online Charging System OCS, described message accounting sends to charging gateway with described " allowing the FA handover event is reported " order, comprising:
OCS sends authentication control to charging gateway and replys CCA message, and described CCA message comprises the order of " allowing the FA handover event is reported ".
7, a kind of charging method as claimed in claim 3 is characterized in that, the order of " allowing the FA handover event is reported " is set on charging gateway, also comprises:
Described charging gateway obtains the IP address after FA switches;
Determine not preserve on the charging gateway order of " allowing the FA handover event is reported " that message accounting sends;
Determine that charging gateway is provided with the order of " allowing the FA handover event is reported ";
Send FA to message accounting and switch message, described FA switches the IP address after message comprises the FA switching.
As claim 5 or 7 arbitrary described a kind of charging methods, it is characterized in that 8, charging gateway is provided with the sign that needs the FA that reports after the switching, describedly send FA to message accounting and also comprise before switching message:
Determine and described FA need be switched information reporting according to the IP address that is arranged on after sign that needs the FA that reports on the charging gateway and the FA that obtains are switched.
9, a kind of charging method as claimed in claim 8 is characterized in that,
When charging gateway is CCG or HA/CCG, when message accounting was OCS, described charging gateway switched message with FA and sends to OCS, comprising:
Charging gateway sends authentication control request CCR message to OCS, and described CCR message comprises the IP address after FA switches.
As claim 2 or 8 arbitrary described a kind of charging methods, it is characterized in that 10, the sign of described FA is the IP address of FA or the IP group of addresses of FA.
11, a kind of message accounting is characterized in that, comprising:
Receiving element is used to receive the FA switching message that charging gateway sends, and described FA switches the IP address after message comprises the FA switching;
Determining unit is used for the rate according to receiving element FA switching message and the user terminal UE on message accounting, determines the rate by the UE of the networking of the FA after the described switching;
Transmitting element is used for asking quota according to the rate of the definite described UE of determining unit to the charging gateway transmission.
12, a kind of message accounting as claimed in claim 11 is characterized in that, also comprises:
First is provided with the unit, is used for being provided with based on the sign of FA on message accounting the rate of UE.
13, a kind of message accounting as claimed in claim 12 is characterized in that, also comprises:
Second is provided with the unit, is used for being provided with on message accounting the order of " allowing the FA handover event is reported ";
Transmitting element also sends to charging gateway with the order that will " allow the FA handover event is reported ".
14, a kind of charging gateway is characterized in that, comprising:
Acquiring unit is used to obtain the IP address after FA switches;
First judging unit is used to judge whether allow to send FA to message accounting and switches message;
Transmitting element is used for determining that at first judging unit permission when message accounting sends FA switching message, sends to message accounting with described FA switching message that described FA switches the IP address after message comprises the FA switching.
15, a kind of charging gateway as claimed in claim 14 is characterized in that, also comprises:
Acquiring unit also is used to receive the order of " allowing the FA handover event is reported " that message accounting sends;
First judging unit determines that according to the order of " allowing the FA handover event is reported " of receiving in the acquiring unit need send FA to message accounting switches message.
16, a kind of charging gateway as claimed in claim 14 is characterized in that, also comprises:
The 3rd is provided with the unit, is used for being provided with on charging gateway the order of " allowing the FA handover event is reported ";
First judging unit determines not receive in the acquiring unit order of " allowing the FA handover event is reported ", determines that first is provided with in the unit order that is provided with " allowing the FA handover event is reported ", determines that need send FA to message accounting switches message.
17, as claim 15 or 16 described a kind of charging gateways, it is characterized in that, also comprise:
The 4th is provided with the unit, needing after on the charging gateway switching being set to be used for the sign of the FA that reports;
Second judging unit, be used for determining to receive the order of " allowing the FA handover event is reported " that message accounting sends or when first is provided with in the unit order that is provided with " allowing the FA handover event is reported " when acquiring unit, the sign that needs the FA that reports after the switching that is provided with in the unit is set according to second, determines whether and described FA need be switched information reporting.
18, a kind of charge system is characterized in that, comprises charging gateway and message accounting, wherein
Charging gateway is used to obtain the IP address after FA switches, and sends FA to message accounting and switches message, and described FA switches the IP address after message comprises the FA switching;
Message accounting is used to receive described FA and switches message, according to the rate of described FA switching message and the UE on message accounting, determines the rate by the user terminal UE of described FA networking, and sends quota according to the rate of described UE to charging gateway, charges.
19, a kind of charge system as claimed in claim 18 is characterized in that,
Message accounting also is used for being provided with the order of " allowing the FA handover event is reported ";
Charging gateway also is used for being provided with the order of " allowing the FA handover event is reported ";
Charging gateway perhaps according to the order that is arranged on " allowing the FA handover event is reported " on the charging gateway, determines that FA need be switched message sends to message accounting according to the order of message accounting transmission " allowing the FA handover event is reported ".
20, a kind of charge system as claimed in claim 19 is characterized in that,
Charging gateway also is used to be provided with the sign that needs the FA that reports after the switching;
Charging gateway obtains the IP address after FA switches, and the order of " allowing the FA handover event is reported " of sending according to message accounting, perhaps according to the order that is arranged on " allowing the FA handover event is reported " on the charging gateway, IP address after switching according to FA simultaneously and the sign of the FA that needs report after the switching that is provided with on the charging gateway determine whether that FA need be switched message sends to message accounting.
CNA200810218382XA 2008-12-12 2008-12-12 Accounting method, accounting apparatus, accounting gateway and accounting system Pending CN101431422A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNA200810218382XA CN101431422A (en) 2008-12-12 2008-12-12 Accounting method, accounting apparatus, accounting gateway and accounting system
PCT/CN2009/074929 WO2010066157A1 (en) 2008-12-12 2009-11-13 Charging method, charging device, charging gateway and charging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA200810218382XA CN101431422A (en) 2008-12-12 2008-12-12 Accounting method, accounting apparatus, accounting gateway and accounting system

Publications (1)

Publication Number Publication Date
CN101431422A true CN101431422A (en) 2009-05-13

Family

ID=40646601

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA200810218382XA Pending CN101431422A (en) 2008-12-12 2008-12-12 Accounting method, accounting apparatus, accounting gateway and accounting system

Country Status (2)

Country Link
CN (1) CN101431422A (en)
WO (1) WO2010066157A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010066157A1 (en) * 2008-12-12 2010-06-17 华为技术有限公司 Charging method, charging device, charging gateway and charging system
CN102571368A (en) * 2010-12-27 2012-07-11 中兴通讯股份有限公司 Charging method and access device
CN105493441A (en) * 2013-08-29 2016-04-13 瑞典爱立信有限公司 A node and method for service usage reporting and quota establishment
CN105792161A (en) * 2014-12-22 2016-07-20 中国移动通信集团公司 Online charging method and system and SIM (Subscriber Identity Module) card device
CN108024023A (en) * 2016-10-28 2018-05-11 维布络有限公司 System and method for online charging in a communication network

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6973309B1 (en) * 2002-03-14 2005-12-06 Utstarcom, Inc. Method and system for re-direction and handoff for pre-paid mobile services in third generation networks
CN100496154C (en) * 2005-11-03 2009-06-03 华为技术有限公司 Method for realizing prepayment
CN101060703B (en) * 2006-04-21 2011-09-14 华为技术有限公司 User equipment switching policy and charging control method
US8489096B2 (en) * 2006-06-01 2013-07-16 Nokia Corporation Inter-access handover with access specific policy control functions
CN101431422A (en) * 2008-12-12 2009-05-13 华为技术有限公司 Accounting method, accounting apparatus, accounting gateway and accounting system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010066157A1 (en) * 2008-12-12 2010-06-17 华为技术有限公司 Charging method, charging device, charging gateway and charging system
CN102571368A (en) * 2010-12-27 2012-07-11 中兴通讯股份有限公司 Charging method and access device
CN102571368B (en) * 2010-12-27 2016-01-20 中兴通讯股份有限公司 A kind of charging method and access device
CN105493441A (en) * 2013-08-29 2016-04-13 瑞典爱立信有限公司 A node and method for service usage reporting and quota establishment
CN105493441B (en) * 2013-08-29 2019-06-28 瑞典爱立信有限公司 For servicing the node established using report and quota and method
CN105792161A (en) * 2014-12-22 2016-07-20 中国移动通信集团公司 Online charging method and system and SIM (Subscriber Identity Module) card device
CN108024023A (en) * 2016-10-28 2018-05-11 维布络有限公司 System and method for online charging in a communication network
CN108024023B (en) * 2016-10-28 2021-03-12 维布络有限公司 System, method and readable storage medium for online charging in a communication network

Also Published As

Publication number Publication date
WO2010066157A1 (en) 2010-06-17

Similar Documents

Publication Publication Date Title
EP1983787B1 (en) Transmission and distribution of position- and/or network-related information from access networks
CN100536401C (en) Subscriber contract information processing method and apparatus in strategy and charging control
CN101183958A (en) Charging control method, charging center and related equipment
CN100387093C (en) A method and system for implementing roaming charging
CN101808307B (en) Method and device for controlling strategy
CN100486382C (en) Aging processing apparatus and method in communications system
CN101064936B (en) Method and system for accessing home zone of roaming users
CN100459734C (en) Decision method for service information in mobile communication network
CN101374055A (en) Method for processing charging and network system, packet data network gateway and charging system
CN101577935B (en) Method for transmitting and installing event trigger
CN101127652B (en) A method, device and system for identifying access anchor of user terminal to external network
JP2011521522A (en) Billing in LTE / EPC communication networks
CN104509171A (en) Communication system, node apparatus, method and program
EP2416525A1 (en) Method and system for obtaining access information and accounting in multimedia broadcast/multicast service
CN101668325A (en) Admission control method, admission control device and admission control system
CN104301890A (en) Method and system for controlling sharing of wireless network access flow
CN101667920A (en) Charging method and system and ticket generating device
CN103428731B (en) Routing optimization method and system, gateway
CN101431422A (en) Accounting method, accounting apparatus, accounting gateway and accounting system
WO2019128709A1 (en) Traffic charging control method, device and system, and computer readable storage medium
CN104955013A (en) Usage monitoring method, apparatus and system
CN102238511B (en) Method and system for selecting policy and charging rule function
CN103748921A (en) Capacity allocation in communications
EP3211926B1 (en) Method and apparatus for interacting information in on-line charging
CN103209449A (en) Method and device for switching and network accessing of users through access network discovery and selection function (ANDSF) unit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090513