CN102480363A - Charging method, device and system based on flow or conversation flow - Google Patents

Charging method, device and system based on flow or conversation flow Download PDF

Info

Publication number
CN102480363A
CN102480363A CN2010105682333A CN201010568233A CN102480363A CN 102480363 A CN102480363 A CN 102480363A CN 2010105682333 A CN2010105682333 A CN 2010105682333A CN 201010568233 A CN201010568233 A CN 201010568233A CN 102480363 A CN102480363 A CN 102480363A
Authority
CN
China
Prior art keywords
data
stream
session
quota
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010105682333A
Other languages
Chinese (zh)
Other versions
CN102480363B (en
Inventor
肖家幸
肖晓玲
李秀艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201010568233.3A priority Critical patent/CN102480363B/en
Publication of CN102480363A publication Critical patent/CN102480363A/en
Application granted granted Critical
Publication of CN102480363B publication Critical patent/CN102480363B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention discloses a charging method, device and system based on flow or conversation flow, relates to the field of communication, and realizes the respective charging in a distinguishing LR (local routing) and non-LR in same flow or conversation. The method comprises the following steps of: when the flow or the conversation is charged through a prepaid form, respectively distributing quotas corresponding to LR data and non-LR data through the flow or the conversation;or distributing a quota through the flow or the conversation, processing the flow or the conversation during or after the flow or the conversation, and realizing respective charging for the LR data and the non-LR data on the same flow or conversation; and when the flow or the conversation is charged through a post-paid form, realizing the respective charging for the LR data and the non-LR data in the same flow or the conversation by reporting service data record of information of the LR data and the non-LR data comprising the flow or the conversation. The embodiment of the invention is mainly used in a local route flow or conversation charging process.

Description

Charging method, Apparatus and system based on stream or session traffic
Technical field
The present invention relates to the communications field, relate in particular to a kind of charging method, Apparatus and system based on stream or session traffic.
Background technology
Microwave current insert global-intercommunication (Worldwide Interoperability for MicrowaveAccess, WiMAX) in the system, online charging is based on that stream or session charge; Stream or session are the granularities of chargeing; Wherein, stream is can be certain business or certain Business Stream or certain packet data streams or certain business data flow, and session can be agreement (the Internet Protocol that interconnects between certain network; IP) session or certain ether (Ethernet, ETH) session.For the situation based on stream or session charging, its allocation of quota is to each stream or session.
In the WiMAX network, when terminal and external network communication, the uplink message that send at the terminal is delivered to gateway through the base station, is delivered to the grappling IAD by gateway again, and (Home Agent HA) is sent in the external network to pass through home agent at last.Downlink message then is routed on the terminal through reciprocal bearer path.Two terminals that communicate with one another when needs are positioned under the same gateway; Gateway can directly send to the purpose terminal with the message that send at former terminal through local route technology, thereby reaches the purpose that reduces the message transmissions time delay, reduces the core net traffic load.Equally, when two users under same base station or same grappling IAD (Anchor ASN GW) following time, local route also can be in the base station or grappling IAD place realize.For the stream or the session of local route, operator need charge equally.
Have a kind of charging method to local route flow or session at present, comprising: local route is carried out entity the stream of subscriber's local route or the charging relevant information of session is added up, and obtains the first charging statistical information; Send the said first charging statistical information, accounting server is chargeed to the stream or the session of local route based on the said first charging statistical information.
State in realization in the process of charging of local route flow or session; At least have following problem: in stream or session, exist simultaneously be not transferred to core net and under base station or gateway by the LR of local route (Local Routing; Local route) data and do not adopt local route and when being transferred to the non-LR packet of core net; Said method can't distinguish the LR data and non-LR data are chargeed, and can't satisfy the demand of accurate flowmeter expense.
Summary of the invention
Embodiments of the invention provide a kind of charging method, Apparatus and system based on stream or session traffic, can work as when having LR data and non-LR data simultaneously in stream or the session, realize distinguishing the charging respectively of LR data and non-LR data.
For achieving the above object, embodiments of the invention adopt following technical scheme:
On the one hand, embodiments of the invention provide a kind of charging method based on stream or session traffic, comprising:
Prepaid server receives first quota request message that prepaid accounting equipment sends; The local route LR indication information that comprises stream or session in said first quota request message is used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities;
After confirming that according to said LR indication information said stream or session be to have the stream or session of supporting LR data and non-LR data transmission capabilities; According to the LR charging policy is that said stream or session distribute two quotas or a quota; A quota in said two quotas is the corresponding quota of LR data in said stream or the session; Another quota is the corresponding quota of non-LR data in said stream or the session; A said quota is any in the following quota, comprising: the corresponding total quota of quota, said stream or session that rate the higher person is corresponding in quota, said LR data and the non-LR data of said non-LR data correspondence;
Said two quotas or a quota of distributing are associated under said stream or the session; And send to said prepaid accounting equipment, so that said prepaid accounting equipment carries out accounting processing according to said two quotas or a quota to LR data in said stream or the session and non-LR data.
On the one hand, an alternative embodiment of the invention provides a kind of charging method based on stream or session traffic, comprising:
Prepaid accounting equipment sends first quota request message to prepaid server; The local route LR indication information that comprises stream or session in said first quota request message; Be used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities, so that prepaid server is stream or session allocated quotas based on said LR indication information;
Receive two quotas or a quota that said prepaid server is sent for said stream or session distribution; A quota in said two quotas is the corresponding quota of LR data in said stream or the session; Another quota is the corresponding quota of non-LR data in said stream or the session; A said quota is any in the following quota, comprising: the corresponding total quota of quota, said stream or session that rate the higher person is corresponding in quota, said LR data and the non-LR data of said non-LR data correspondence;
According to said two quotas or a quota non-LR data and LR data in said stream or the session data are carried out accounting processing.
On the other hand, embodiments of the invention provide a kind of charging method based on stream or session traffic, comprising:
The back pay stream or session statistics equipment backward payment server send stream or session charging begins request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session; Be used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities, so that said back payment server is sent as LR data and the corresponding charging coefficient of non-LR data in said stream or session distribution service stream identification or said stream or the session to said back paying stream or session statistics equipment;
Said back pays that stream or session statistics equipment receives that said back payment server sends be LR data and/or each self-corresponding charging coefficient of non-LR data in business datum traffic identifier or the said stream or the session of said stream or session distribution;
Said back paying stream or session statistics equipment are according to being the business datum traffic identifier that said stream or session distribute; Write down the information of LR data and non-LR data in said stream or the session; And generate the corresponding usage data record of said stream or session according to said data message; Perhaps according to LR data in said stream or the session and each self-corresponding charging coefficient of non-LR data; Calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, generate said stream or the corresponding usage data record of session according to said station message recording information;
Said usage data record is sent to said back payment server, so that said back payment server is carried out accounting processing according to said usage data record to LR data in said stream or the session and non-LR data.
On the other hand, an alternative embodiment of the invention provides a kind of charging method based on stream or session traffic, comprising:
Stream or session charging that back payment server receives back paying stream or the transmission of session statistics equipment begin request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session, are used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities;
Said back payment server based on said LR indication information confirm said stream or session be have the stream or session of supporting local route LR data and non-LR data transmission capabilities after; Send to said back pay stream or session statistics equipment for said stream or session distribution services stream identification and with said stream or session corresponding service stream identification; Stream or session statistics equipment are based on said stream or session corresponding service stream identification so that pay in said back; Write down the information of LR data and non-LR data in said stream or the session, and generate said stream or the corresponding usage data record of session based on said data message; Or LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data sent to said back pay stream or session statistics equipment; Stream or session statistics equipment are based on LR data in said stream or the session and each self-corresponding charging coefficient of non-LR data so that pay in said back; Calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, generate said stream or the corresponding usage data record of session based on said station message recording information;
Receive said stream or the corresponding usage data record of session that said back paying stream or session statistics equipment send, and LR data in said stream or the session and non-LR data are carried out accounting processing based on said usage data record.
On the one hand, embodiments of the invention provide a kind of prepaid server, comprising again:
First receiving element; Be used to receive first quota request message that prepaid accounting equipment sends; The local route LR indication information that comprises stream or session in said first quota request message is used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities;
First allocation units; Be used for after the said LR indication information that receives according to said first receiving element confirms that said stream or session are to have the stream or session of supporting LR data and non-LR data transmission capabilities; According to the LR charging policy is that said stream or session distribute two quotas or a quota; A quota in said two quotas is the corresponding quota of LR data in said stream or the session; Another quota is the corresponding quota of non-LR data in said stream or the session; A said quota is any in the following quota, comprising: the corresponding total quota of quota, said stream or session that rate the higher person is corresponding in quota, said LR data and the non-LR data of said non-LR data correspondence;
First transmitting element; Be used for said two quotas or a quota that said first allocation units distribute are associated under said stream or the session; And send to said prepaid accounting equipment, so that said prepaid accounting equipment carries out accounting processing according to said two quotas or a quota to LR data in said stream or the session and non-LR data.
On the one hand, an alternative embodiment of the invention provides a kind of prepaid accounting equipment, comprising again:
First transmitting element; Be used for sending first quota request message to prepaid server; The local route LR indication information that comprises stream or session in said first quota request message; Be used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities, so that prepaid server is stream or session allocated quotas according to said LR indication information;
First receiving element; Be used to receive two quotas or quota that said prepaid server is sent for said stream or session distribution; A quota in said two quotas is the corresponding quota of LR data in said stream or the session; Another quota is the corresponding quota of non-LR data in said stream or the session; A said quota is any in the following quota, comprising: the corresponding total quota of quota, said stream or session that rate the higher person is corresponding in quota, said LR data and the non-LR data of said non-LR data correspondence;
First processing unit is used for according to said two quotas or a quota that said first receiving element receives the non-LR data and the LR data of said stream or session data being carried out accounting processing.
Again on the one hand, another embodiment of the present invention provides a kind of payment system, comprising again:
Prepaid server; Be used to receive first quota request message that prepaid accounting equipment sends; The local route LR indication information that comprises stream or session in said first quota request message is used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities; After confirming that according to said LR indication information said stream or session be to have the stream or session of supporting LR data and non-LR data transmission capabilities; According to the LR charging policy is that said stream or session distribute two quotas or a quota; A quota in said two quotas is the corresponding quota of LR data in said stream or the session; Another quota is the corresponding quota of non-LR data in said stream or the session; A said quota is any in the following quota, comprising: the corresponding total quota of quota, said stream or session that rate the higher person is corresponding in quota, said LR data and the non-LR data of said non-LR data correspondence; Said two quotas or a quota of distributing are associated under said stream or the session; And send to said prepaid accounting equipment, so that said prepaid accounting equipment carries out accounting processing according to said two quotas or a quota to LR data in said stream or the session and non-LR data;
Prepaid accounting equipment; Be used for sending first quota request message to said prepaid server; The LR indication information that comprises said stream or session in said first quota request message is so that prepaid server is stream or session allocated quotas based on said LR indication information; Receive two quotas or a quota that said prepaid server is sent for said stream or session distribution; A quota in said two quotas is the corresponding quota of LR data in said stream or the session; Another quota is the corresponding quota of non-LR data in said stream or the session; A said quota is any in the following quota, comprising: the corresponding total quota of quota, said stream or session that rate the higher person is corresponding in quota, said LR data and the non-LR data of said non-LR data correspondence; Based on said two quotas or a quota non-LR data and LR data in said stream or the session data are carried out accounting processing.
Again more on the one hand, embodiments of the invention provide a kind of back paying stream or session statistics equipment, comprising:
First transmitting element; Be used for backward that payment server is sent stream or session charging begins request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session; Be used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities, so that said back payment server is sent as said stream or session distribution service stream identification to said back paying stream or session statistics equipment;
First receiving element is used to receive the business datum traffic identifier for said stream or session distribution that said back payment server is sent;
First processing unit; Be used for business datum traffic identifier for said stream or session distribution based on said first receiving element reception; Write down the information of LR data and non-LR data in said stream or the session, and generate said stream or the corresponding usage data record of session based on said data message;
Second transmitting element; The usage data record of the information that comprises said stream or session LR data and non-LR data that is used for said first processing unit is obtained sends to said back payment server, so that said back payment server is carried out accounting processing according to said usage data record to LR data in said stream or the session and non-LR data.
Again more on the one hand, an alternative embodiment of the invention provides a kind of back payment server, comprising:
First receiving element; Be used to receive stream or the session charging that the back paying is flowed or session statistics equipment sends and begin request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session, are used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities;
Allocation units, be used for according to the said LR indication information that said first receiving element receives confirm said stream or session be have the stream or session of supporting LR data and non-LR data transmission capabilities after, be said stream or session distribution service stream identification;
First transmitting element; Being used for said allocation units is that the business datum traffic identifier that said stream or session distribute sends to said back paying stream or session statistics equipment; Stream or session statistics equipment are based upon the business datum traffic identifier of said stream or session distribution so that pay in said back; Write down the information of LR data and non-LR data in said stream or the session, and generate said stream or the corresponding usage data record of session based on said data message;
Second receiving element is used to receive said back said stream or the corresponding usage data record of session that stream or session statistics equipment sends of paying, and said usage data record comprises the information of LR data and non-LR data in said stream or the session;
First charging processing unit is used for the said usage data record according to said second receiving element reception, and LR data in said stream or the session and non-LR data are carried out accounting processing.
Again more on the one hand, another embodiment of the present invention provides a kind of back charging system, comprising:
Pay and flow or session statistics equipment in the back; Be used for backward that payment server is sent stream or session charging begins request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session; Be used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities, so that said back payment server is sent as said stream or session distribution services stream identification to said back paying stream or session statistics equipment; What receive the payment server transmission of said back is the business datum traffic identifier that said stream or session distribute; Be based upon the business datum traffic identifier that said stream or session distribute, write down the information of LR data and non-LR data in said stream or the session, and generate said stream or the corresponding usage data record of session based on said data message; The usage data record of the information of LR data in said stream or the session and non-LR data is sent to said back payment server, so that said back payment server is carried out accounting processing based on said usage data record to LR data in said stream or the session and non-LR data;
Back payment server is used to receive stream or the session charging that the back paying is flowed or session statistics equipment sends and begins request message, and said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session; According to said LR indication information confirm said stream or session be have the stream or session of supporting LR data and non-LR data transmission capabilities after, be said stream or session distribution service stream identification; To send to said back paying stream or session statistics equipment for the business datum traffic identifier of said stream or session distribution; Stream or session statistics equipment are according to being the business datum traffic identifier that said stream or session distribute so that pay in said back; Write down the information of LR data and non-LR data in said stream or the session, and generate said stream or the corresponding usage data record of session according to said data message; Receive said back said stream or the corresponding usage data record of session that stream or session statistics equipment sends of paying, said usage data record comprises the information of LR data and non-LR data in said stream or the session; According to said usage data record LR data in said stream or the session and non-LR data are carried out accounting processing.
Again more on the one hand, embodiments of the invention provide a kind of back paying stream or session statistics equipment, comprising:
The 3rd transmitting element; Be used for backward that payment server is sent stream or session charging begins request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session; Be used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities, so that said back payment server is sent LR data and the corresponding charging coefficient of non-LR data in said stream or the session to said back paying stream or session statistics equipment;
Second receiving element is used for receiving said stream or session LR data and/or each self-corresponding charging coefficient of non-LR data that said back payment server is sent;
Second processing unit; Be used for based on said stream or session LR data and the corresponding charging coefficient of non-LR data; Calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, generate said stream or the corresponding usage data record of session based on said station message recording information;
The 4th transmitting element; Be used for the usage data record that comprises the corresponding station message recording information of said stream or session LR data and non-LR data that said second processing unit obtains is sent to said back payment server, so that said back payment server is carried out accounting processing according to said usage data record to LR data in said stream or the session and non-LR data.
Again more on the one hand, an alternative embodiment of the invention provides a kind of back payment server, comprising:
The 3rd receiving element; Be used to receive stream or the session charging that the back paying is flowed or session statistics equipment sends and begin request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session, are used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities;
Second transmitting element; Be used for based on the said LR indication information that said the 3rd receiving element receives confirm said stream or session be have the stream or session of supporting LR data and non-LR data transmission capabilities after; LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data are sent to said back paying stream or session statistics equipment; Stream or session statistics equipment are based on LR data in said stream or the session and the corresponding charging coefficient of non-LR data so that pay in said back; Calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, generate said stream or the corresponding usage data record of session based on said station message recording information;
The 4th receiving element is used to receive the said stream of said back paying stream or the transmission of session statistics equipment or the usage data record of session correspondence, and said usage data record comprises LR data and the corresponding station message recording information of non-LR data in said stream or the session;
Second charging processing unit is used for according to the said usage data record that said the 4th receiving element receives the LR data and the non-LR data of said stream or session being carried out accounting processing.
A kind of back charging system comprises:
Pay and flow or session statistics equipment in the back; Be used for backward that payment server is sent stream or session charging begins request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session; Be used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities, so that said back payment server is sent LR data and each self-corresponding charging coefficient of non-LR data in said stream or the session to said back paying stream or session statistics equipment; Receive LR data and/or each self-corresponding charging coefficient of non-LR data in said stream that said back payment server sends or the session; Based on LR data in said stream or the session and the corresponding charging coefficient of non-LR data, calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, generate said stream or the corresponding usage data record of session based on said station message recording information; The usage data record that will comprise the corresponding station message recording information of LR data and non-LR data in said stream or the session sends to said back payment server, so that said back payment server is carried out accounting processing based on said usage data record to LR data in said stream or the session and non-LR data.
Back payment server is used to receive stream or the session charging that the back paying is flowed or session statistics equipment sends and begins request message, and said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session; According to said LR indication information confirm said stream or session be have the stream or session of supporting LR data and non-LR data transmission capabilities after; LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data are sent to said back paying stream or session statistics equipment; Stream or session statistics equipment are according to LR data in said stream or the session and the corresponding charging coefficient of non-LR data so that pay in said back; Calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, generate said stream or the corresponding usage data record of session according to said station message recording information; Receive said stream or the corresponding usage data record of session that said back paying stream or session statistics equipment send, said usage data record comprises LR data and the corresponding station message recording information of non-LR data in said stream or the session; According to said usage data record LR data in said stream or the session and non-LR data are carried out accounting processing.
The technical scheme that the embodiment of the invention provides; For not only having the LR data but also having the stream or the session of non-LR data; When this stream of form through pre-payment or session are chargeed; Through distributing respectively and LR data and the corresponding quota of non-LR data for this stream or session; Be the corresponding quota of rate the higher person in the corresponding quota of said non-LR data or said LR data and the non-LR data perhaps, and the mode that the charging of convection current or session is handled when finishing stream or session charging, realize the processing that LR data and non-LR data are chargeed respectively in convection current or the session through distribute a quota for this stream or session; When the form of paying through the back is carried out accounting processing to said stream or session,, realize the processing that LR data in this stream or the session and non-LR data are chargeed respectively through reporting the usage data record of the information that comprises LR data and non-LR data in this stream or the session; In sum, the technical scheme that the embodiment of the invention provides can be worked as when having LR data and non-LR data simultaneously in stream or the session, realizes distinguishing in same stream or the session charging respectively of LR data and non-LR data.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the charging method flow chart based on stream or session traffic of prepaid server side in the embodiment of the invention 1;
Fig. 2 is the charging method flow chart based on stream or session traffic of prepaid accounting equipment side in the embodiment of the invention 1;
Fig. 3 be in the embodiment of the invention 2 pre-payment based on the stream or the charging method application drawing of session traffic;
Fig. 4 be in the embodiment of the invention 3 pre-payment based on the stream or the charging method application drawing of session traffic;
Fig. 5 be in the embodiment of the invention 4 pre-payment based on the stream or the charging method application drawing of session traffic;
Fig. 6 is the pay charging method flow chart based on stream or session traffic of stream or session statistics equipment side of back in the embodiment of the invention 5;
Fig. 7 is the charging method flow chart based on stream or session traffic of back payment server side in the embodiment of the invention 5;
Fig. 8 is that in the embodiment of the invention 6 pay based on the charging method application drawing of stream or session traffic in the back;
Fig. 9 is that in the embodiment of the invention 7 pay based on the charging method application drawing of stream or session traffic in the back;
Figure 10 is the composition frame chart of a kind of prepaid server in the embodiment of the invention 8;
Figure 11 is the composition frame chart of another kind of prepaid server in the embodiment of the invention 8;
Figure 12 is the composition frame chart of another kind of prepaid server in the embodiment of the invention 8;
Figure 13 is the composition frame chart of another kind of prepaid server in the embodiment of the invention 8;
Figure 14 is the composition frame chart of another kind of prepaid server in the embodiment of the invention 8;
Figure 15 is the composition frame chart of a kind of prepaid accounting equipment in the embodiment of the invention 8;
Figure 16 is the composition frame chart of another kind of prepaid accounting equipment in the embodiment of the invention 8;
Figure 17 is the composition frame chart of another kind of prepaid accounting equipment in the embodiment of the invention 8;
Figure 18 is the composition frame chart of another kind of prepaid accounting equipment in the embodiment of the invention 8;
Figure 19 is the composition frame chart of payment system in the embodiment of the invention 8;
Figure 20 is the composition frame chart of a kind of back pay stream or session statistics equipment in the embodiment of the invention 9;
Figure 21 is the pay composition frame chart of stream or session statistics equipment of another kind of back in the embodiment of the invention 9;
Figure 22 is the composition frame chart of back payment server in the embodiment of the invention 9;
Figure 23 is the composition frame chart of back charging system in the embodiment of the invention 9;
Figure 24 is the pay composition frame chart of stream or session statistics equipment of another kind of back in the embodiment of the invention 10;
Figure 25 is the composition frame chart of back payment server in the embodiment of the invention 10;
Figure 26 is the composition frame chart of back charging system in the embodiment of the invention 10.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Embodiment 1
The embodiment of the invention provides a kind of charging method based on stream or session traffic, and this method is the method for prepaid server side, and is as shown in Figure 1, and this method comprises:
101, prepaid server receives first quota request message that prepaid accounting equipment sends; The local route LR indication information that comprises stream or session in said first quota request message is used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities.
Wherein, said prepaid server can be PPS (Pay Per Server, prepaid server) in the WiMAX network time, can be in other networks for having the equipment of corresponding function, and the embodiment of the invention does not limit this.
Said LR indication information is the state that is used for indicating this stream or session, and its state comprises: only comprise stream or the session of LR data, only comprise the stream or the session of non-LR data and comprise the LR data and states such as the stream of non-LR data or session; The indication information of LR described in the embodiment of the invention is used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities.
102, after confirming that according to said LR indication information said stream or session have the stream or session of supporting LR data and non-LR data transmission capabilities; According to the LR charging policy is that said stream or session distribute two quotas or a quota; A quota in said two quotas is the corresponding quota of LR data in said stream or the session; Another quota is the corresponding quota of non-LR data in said stream or the session; A said quota is any in the following quota, comprising: the corresponding total quota of quota, said stream or session that rate the higher person is corresponding in quota, said LR data and the non-LR data of said non-LR data correspondence.
103, said two quotas or the quota that will distribute are associated under said stream or the session; And send to said prepaid accounting equipment, so that said prepaid accounting equipment carries out accounting processing according to said two quotas or a quota to LR data in said stream or the session and non-LR data.
The embodiment of the invention also provides a kind of charging method based on stream or session traffic, and this method is the method for prepaid accounting equipment side, and is as shown in Figure 2, and this method comprises:
201, prepaid accounting equipment sends first quota request message to prepaid server; The local route LR indication information that comprises stream or session in said first quota request message; Be used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities, so that prepaid server is stream or session allocated quotas according to said LR indication information.
Wherein, Said prepaid accounting equipment can be prepayment client or pre-payment agency, and the embodiment of the invention does not limit this, for example; In the time of in the WiMAX network; Said prepaid accounting equipment can be PPC (Pay Per Click, prepayment client) or PPA (Pay Per Agent, pre-payment agency).In addition, about the specific descriptions of said LR indication information, can be with reference to the corresponding description in the step 101 among the figure 1, the embodiment of the invention will repeat no more here.
202, receive two quotas or quota that said prepaid server is sent; A quota in said two quotas is the corresponding quota of LR data in said stream or the session; Another quota is the corresponding quota of non-LR data in said stream or the session; A said quota is any in the following quota, comprising: the corresponding total quota of quota, said stream or session that rate the higher person is corresponding in quota, said LR data and the non-LR data of said non-LR data correspondence.
203, according to said two quotas or a quota non-LR data and LR data in said stream or the session data are carried out accounting processing.
During the present invention implements; For not only having the LR data but also having the stream or the session of non-LR data; When this stream of form through pre-payment or session are chargeed; Through for this stream or session distribute respectively and LR data and the corresponding quota of non-LR data, be the corresponding quota of rate the higher person in the corresponding quota of said non-LR data or said LR data and the non-LR data perhaps through distributing a quota for this stream or session, realize the processing that LR data and non-LR data are chargeed respectively in convection current or the session; Realize distinguishing in same stream or the session charging respectively of LR data and non-LR data, thereby satisfy the demand of accurate flowmeter expense.
Embodiment 2
The embodiment of the invention provides a kind of prepaid accounting method based on stream or session traffic, and the embodiment of the invention is that said stream or two quotas of session distribution are example with prepaid server, specifically sets forth this charging method based on stream or session traffic; Prepaid server can be distributed two quotas to this stream or session according to the LR information in the pre-payment request message, and one is the quota of LR data in this stream or the session, and another one is the quota of non-LR data in this stream or the session.Prepaid server is issued prepaid accounting equipment with these two quotas subsequently, and this prepaid accounting equipment can be prepayment client or pre-payment agency, and for example, in the WiMAX network, this prepayment client is PPC, and the pre-payment agency is PPA; Allow prepaid accounting equipment carry out concrete charge information record and deduct fees based on the actual type of data in stream or the session.The embodiment of the invention is PPS with said prepaid server specifically, and said prepaid accounting equipment is that PPA is an example, specifically sets forth this charging method based on stream or session traffic; As shown in Figure 3, this method comprises:
301, PPA sends first quota request message to PPC, comprises the LR indication information of stream or session in said first quota request message, is used to indicate whether said stream or session are stream or the session of supporting LR data and non-LR data transmission capabilities.
Wherein, In LR stream or session foundation; Act on behalf of PPA with LREP (Local Routing EnhancementPoint, local route is carried out entity) pre-payment together and send first quota request message to prepayment client, i.e. the initial quota application of pre-payment request; Carry stream or session related information, as: LR indication etc.; Wherein, PPA is optional existence, and LREP, PPA can be positioned on the physical entity with PPC simultaneously, and the message between them just changes into inside story at this moment, the outside interaction message between only surplus PPC and PPS.In addition, about the specific descriptions of said LR indication information, can be with reference to the corresponding description in the step 101 among the figure 1, the embodiment of the invention will repeat no more here.In addition, also have LRCP (LocalRouting Control Point, local route controlled entity) in fact in the LR system, it is used for LR stream or session control, comprises that LR flows or the foundation of session and maintenance etc.
302, after PPC receives said first quota request message of said PPA transmission, said first quota request message is transmitted to said PPS.
Wherein, When said PPC is transmitted to said PPS with said first quota request message, can insert the request message realization through sending to said PPS, the embodiment of the invention does not limit this; Also can adopt other transmission means, said first quota request message is transmitted to said PPS.
303, after said PPS receives said first quota request message of prepayment client transmission; According to the LR indication information that comprises stream or session in said first quota request message; Confirm whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities; After confirming that according to said LR indication information said stream or session be to have the stream or session of supporting LR data and non-LR data transmission capabilities; According to the LR charging policy is that said stream or session distribute two quotas; A quota in said two quotas is the corresponding quota of LR data in said stream or the session, and another quota is the corresponding quota of non-LR data in said stream or the session.
Wherein, the data charging rate of LR data and non-LR data is different in the said predetermined charging policy, so prepaid server can be calculated these two quotas according to different rates and this user's remaining sum.The quota size can difference also can be identical.It is just only to divide a quota value and a property value in the assembling response message, occurs and indicate LR and the size of non-LR is the same that individual message assembling scheme is arranged in the time of identical in addition, and deducting fees in the backstage still is to take off according to two different event.
304, said two quotas that will distribute of said PPS are associated under this stream or the session; And send to said PPC; So that said PPC is transmitted to said PPA with said two quotas, so that said PPA carries out accounting processing according to said two quotas to LR data in said stream or the session and non-LR data.
Wherein, said two quotas that said PPS will distribute are associated under this stream or the session, and when sending to said PPC, can said two quotas be carried at same access and accept to feed back in the message said PPC; But embodiment of the invention contrast does not limit, and can said two quotas be sent to said PPC through other transmission means yet.
305, after PPC receives said two quotas, said two quotas are transmitted to said PPA, so that said PPA carries out accounting processing according to said two quotas to LR data in said stream or the session and non-LR data.
Wherein, When said PPC is transmitted to said PPA with said two quotas; Can realize through send the initial quota notification message of pre-payment to said PPC; But the embodiment of the invention does not limit this, and said PPC also can send to said PPA with said two quotas through other transmission means.
306, after said PPA receives said two quotas, safeguard two quotas separately, and add up the flow of LR data and non-LR data in said stream or the session.
Wherein, Here need to prove; After said PPA receives said two quotas; Add up the flow of LR data and non-LR data in said stream or the session respectively, when the flow of LR data in said stream or the session or non-LR data arrives each self-corresponding predetermined quota thresholding of said LR data or non-LR data, saidly send second quota request message to said prepaid server; Perhaps when arriving each self-corresponding predetermined quota thresholding of said LR data or non-LR data for one in the flow of the flow of LR data in said stream or the session and non-LR data, saidly send second quota request message to said prepaid server; In the specific implementation; Do not limit; After the embodiment of the invention received said two quotas with said PPA, when the flow of said LR data arrived the corresponding predetermined quota thresholding of said LR data, said to send second quota request message to said prepaid server be that example is specifically set forth.
307, after the flow of LR data in said stream or the session reaches the corresponding quota thresholding of said LR data; Send second quota request message to said PPC, comprise the corresponding quota request information of LR data in said stream or the session in said second quota request message.
Wherein, The corresponding quota thresholding of said LR data is an empirical value, is less than or equal to said stream or session allocated quota as the one of which, and it can send when said prepaid accounting equipment is sent as said stream or session allocated quota in prepaid server; Also can be provided with in this locality of prepaid accounting equipment; But the embodiment of the invention does not limit this, and any method that the corresponding quota threshold value of said LR data can be set all belongs to the scope that the present invention protects.Said quota request information can also comprise: Update-Reason (upgrading the quota reason is that the LR thresholding reaches), Service-ID (corresponding stream or session identification), and LR flag information information such as (sign this application are the application of LR related data quota).
308, after said PPC receives said second quota request message, said second quota request message is transmitted to said PPS.
Wherein, When said PPC is transmitted to said PPS with said second quota request message; Can said second quota request message be transmitted to said PPS through inserting request message; But the embodiment of the invention does not limit this, can also adopt other transmission method that said second quota request message is transmitted to said PPS.
309, after said PPS receives said second quota request message,, be the new quota of LR data allocations in said stream or the session according to user balance information and said LR charging policy.
310, said new quota is associated under said stream or the session; And said new quota sent to said PPC; So that said PPC is transmitted to said PPA with it, make said PPA carry out accounting processing to LR data in said stream or the session and non-LR data according to said new quota.
Wherein, Said PPS is with said when sending to said PPC for the new quota of LR data allocations in said stream or the session; Can be through accepting to send in the message said PPC for the new quota of LR data allocations in said stream or the session is carried at said; But the embodiment of the invention does not limit this, can also said new quota for LR data allocations in said stream or the session be sent to said PPC through other transmission means.
311, after said PPC has received the new quota for LR data allocations in said stream or the session, it is transmitted to said PPA, so that said PPA carries out accounting processing according to said new quota to LR data in said stream or the session and non-LR data.
312, said PPA receives and saidly upgrades local prepaid data for after the new quota of LR data allocations in said stream or the session, flows or the session data fee deduction treatment with new quota.
313, whether said PPA comes the remaining sum of judges to exhaust according to user's quota information and the corresponding quota thresholding of said quota, and whether said stream or session need to stop; When confirming to exhaust and needing to stop said stream or session, trigger the flow process that stops stream or session charging.
Wherein, Whether said PPA comes the remaining sum of judges to exhaust according to user's quota information and the corresponding quota thresholding of said quota; The concrete realization whether said stream or session need stop can be with reference to any way of the prior art, and the embodiment of the invention will repeat no more here.For example, when being the quota thresholding of said allocation of quota correspondence, if the user also has sufficient remaining sum; Then the allocated quota thresholding is generally less than said allocated quota; If user's remaining sum can only be carried out the distribution of last quota, then the allocated quota thresholding equals said allocated quota, therefore; PPA can know just whether user's remaining sum will exhaust according to the corresponding relation of the corresponding quota thresholding of user's quota information and said quota.When PPA knew that allocated quota and quota thresholding equate, when this quota that receives runs out, the remaining sum of then just obtaining the user ran out.
314, when confirming that remaining sum exhausts after promptly this user prepayment account number has not had the situation of remaining sum; Said PPA stops request message and stops the charging of this stream or session to said PPC request with chargeing, said charging stops comprising in the request message information of LR data and non-LR data in said stream or the session.
Wherein, The information of said LR data and non-LR data; Comprise LR data and non-LR the data actual flow, quota index, termination behavior indication, professional correlated identities etc. of corresponding data separately, quota index wherein can direct index to before the allocated quota value.
315, after said PPC receives that this charging stops request message, it is transmitted to said PPS.
Wherein, when said PPC stops said charging request message and is transmitted to said PPS, can send to said PPS, but the embodiment of the invention do not limit to this, can it be transmitted to said PPS yet through other message through inserting request message.
316, after said PPS receives that said charging stops request message; After confirming the user account number state; Confirm to stop charging and stream or session; And,, make said PPA stop accounting processing to said stream or session so that said PPC is transmitted to said PPA with it to the message that said PPC sends response this stream of termination or session; And, upgrade user balance information based on the information in said LR charging policy and the said charging termination request message.
Wherein, need explain here the time, can temporarily forward the user to one in this step and supplement the page with money, let the user supplement the back again with money and use professionally, not so after the time of setting, will stop user's business.
317, said PPC transmits the pre-payment notification message and acts on behalf of the termination charging before confirming and the request of stream or session to pre-payment.
Wherein, need to prove here, few when user balance in certain service billing when the practical implementation embodiment of the invention, can only be quota of this traffic assignments, the new quota of application in the middle of can not having so; In addition, if professional long enough and its account balance that the user uses are enough, be can have repeatedly to be the new quota of this traffic assignments in the so professional use, the flow process between the corresponding step 307~312 can repeat; During the practical implementation embodiment of the invention, can carry out corresponding step as the case may be, the embodiment of the invention does not limit this.
Further, need to prove here that above-mentioned steps is with receive said two quotas as PPA after, when LR data in said stream of statistics or session and non-LR data, the flow of only adding up LR data in said stream or the session is concrete this method set forth of example; After PPA receives said two quotas; When LR data in said stream of statistics or session and non-LR data; Add up LR data and the flow of non-LR data in said stream or the session respectively; With only add up said stream or session in the difference of flow of LR data be: trigger the first, that to send the trigger condition of second quota request message to said prepaid server different; It is for when each self-corresponding predetermined quota thresholding of one in the flow of the flow of said LR data and the non-LR data said LR data of arrival or non-LR data; Saidly send second quota request message, and comprise the new allocation of quota solicited message of the corresponding quota request information of non-LR data in the corresponding quota request of LR data in said stream or the session and said stream or the session in said second quota request message to said prepaid server; Second; After said prepaid server receives said second quota request message; For the new quota of said stream or session distribution is different, it is according to user balance information and said LR charging policy, is respectively LR data and the new quota of non-LR data allocations in said stream or the session.For the description of other parts, can be with reference to the corresponding description in the above-mentioned steps, the embodiment of the invention will repeat no more.
During the present invention implements; For not only having the LR data but also having the stream or the session of non-LR data; When this stream of form through pre-payment or session are chargeed, through distributing and LR data and the corresponding quota of non-LR data the processing that LR data and non-LR data are chargeed respectively in realization convection current or the session respectively for stream or session; Realize distinguishing in same stream or the session charging respectively of LR data and non-LR data, thereby satisfy the demand of accurate flowmeter expense.
Embodiment 3
The embodiment of the invention provides a kind of prepaid accounting method based on stream or session traffic, and the embodiment of the invention is that said stream or quota of session distribution are example with prepaid server, specifically sets forth this charging method based on stream or session traffic; A said quota is the corresponding quota of rate the higher person in the corresponding quota of said non-LR data or said LR data and the non-LR data.Wherein, Prepaid server is when being said stream or session allocated quotas; Only distribute a quota, after the actual total flow of follow-up said stream or session reached the quota thresholding, it triggered new quota application; In request message, carry the information of LR data, comprise interior single of this cycle or LR size of data or type etc. in this this stream that adds up or session.After prepaid server PPS receives quota request message, the charging in this stream or the session is handled according to charging policy.Continue again subsequently to carry out the distribution of next new quota according to the higher common rate of rate.The embodiment of the invention is PPS with said prepaid server specifically; Said prepaid accounting equipment is that PPA is an example, and PPA is the optional function entity, in addition; Prepaid accounting equipment is specifically set forth this charging method based on stream or session traffic for also being PPC; As shown in Figure 4, this method comprises:
401, PPA sends first quota request message to PPC, comprises the LR indication information of stream or session in said first quota request message, is used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities.
Wherein, In LR stream or session foundation, act on behalf of PPA with local route execution entity LREP pre-payment together and send first quota request message to prepayment client, i.e. the initial quota application of pre-payment request; Carry stream or session related information, as: LR indication etc.; Wherein, PPA is optional existence, and LREP, PPA can be positioned on the physical entity with PPC simultaneously, and the message between them just changes into inside story at this moment, the outside interaction message between only surplus PPC and PPS.In addition, about the specific descriptions of said LR indication information, can be with reference to the corresponding description in the step 101 among the figure 1, the embodiment of the invention will repeat no more here.
402, after PPC receives said first quota request message of said PPA transmission, said first quota request message is transmitted to said PPS.
Wherein, When said PPC is transmitted to said PPS with said first quota request message, can insert the request message realization through sending to said PPS, the embodiment of the invention does not limit this; Also can adopt other transmission means, said first quota request message is transmitted to said PPS.
403, after said PPS receives said first quota request message of prepayment client transmission; According to the LR indication information that comprises stream or session in said first quota request message; Confirm whether this stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities; After confirming that according to said LR indication information said stream or session be to have the stream or session of supporting LR data and non-LR data transmission capabilities; According to the LR charging policy is that said stream or session distribute a quota, and a said quota is the corresponding quota of rate the higher person in the corresponding quota of said non-LR data or said LR data and the non-LR data.
404, the said quota that will distribute of said PPS is associated under this stream or the session; And send to said PPC; So that said PPC is transmitted to said PPA with a said quota, so that said PPA carries out accounting processing according to a said quota to LR data in said stream or the session and non-LR data.
Wherein, the said quota that said PPS will distribute is associated under this stream or the session, and when sending to said PPC, can a said quota be carried at and accept to feed back in the message said PPC; But embodiment of the invention contrast does not limit, and can a said quota be sent to said PPC through other transmission means yet.
405, after PPC receives a said quota, a said quota is transmitted to said PPA, so that said PPA carries out accounting processing according to a said quota to LR data in said stream or the session and non-LR data.
Here need to prove that a said quota is the corresponding quota of rate the higher person in the corresponding quota of said non-LR data or said LR data and the non-LR data.After said PPA receives a said quota; Rough is the total flow quota of LR data and non-LR data in said stream or the session with a said quota, and in the flow of the flow of the total flow of statistics LR data and non-LR data, LR data and non-LR data any two.Because the flow of LR data adds that the flow of non-LR data is to equal its total flow, so when statistics, can only add up wherein two flows, the another one flow can be through calculating.Above any two flow informations that according to a said quota and when reporting; Realization is chargeed respectively to LR data in said stream or the session and non-LR data; And when sending intermediate quota request or stopping chargeing; By prepaid server said rough charging is handled, specifically seen step 409.
Wherein, When said PPC is transmitted to said PPA with a said quota; Can realize through send the initial quota notification message of pre-payment to said PPC; But the embodiment of the invention does not limit this, and said PPC also can send to said PPA with a said quota through other transmission means.
406, after said PPA receives a said quota, safeguard this quota separately, and add up the total flow of LR data and non-LR data in said stream or the session.
407, after the corresponding quota threshold value of the said total flow of LR data in said stream or the session and reaching of total flows non-LR data; Send second quota request message to said PPC; Comprise in the following information any in said second quota request message, comprising: the information of LR data and the information of non-LR data in corresponding quota request information, said stream or the session of the information of non-LR data and said stream or session total flow in corresponding quota request information, said stream or the session of the information of LR data and said stream or session total flow in said stream or the session.
Wherein, The corresponding quota threshold value of said total flow is an empirical value; Be provided with according to the quota of LR data and the quota sum of non-LR data as the one of which, so that less than the quota of said LR data and the quota sum of non-LR data, it can send when said prepaid accounting equipment is sent as said stream or session allocated quota in prepaid server; Also can be provided with in this locality of prepaid accounting equipment; But the embodiment of the invention does not limit this, and any method that the corresponding quota threshold value of said LR data can be set all belongs to the scope that the present invention protects.
408, after said PPC receives said second quota request message, said second quota request message is transmitted to said PPS.
Wherein, When said PPC is transmitted to said PPS with said second quota request message; Can said second quota request message be transmitted to said PPS through inserting request message; But the embodiment of the invention does not limit this, can also adopt other transmission method that said second quota request message is transmitted to said PPS.
409, after said PPS receives said second quota request message, according to the information in said LR charging policy and said second quota request message charging of said stream or session is handled, and upgraded user balance information.
Wherein, when according to said LR charging policy and said LR data message the charging of said stream or session being handled, specifically handle according to the rate of LR data and the rate of non-LR data, concrete comprises:
When a quota of said distribution is the corresponding quotas of non-LR data; If the corresponding rate of said non-LR data is lower than the rate of LR data; Then when the charging of said stream or session being handled, need to append deducting fees to said stream or session based on said LR charging policy and said LR data message; If the corresponding rate of said non-LR data is higher than the rate of LR data, when the charging of said stream or session being handled based on said LR charging policy and said LR data message, need compensation deducting fees to said stream or session; When if the corresponding rate of said non-LR data and LR data is equal, then need deduct fees or append processing the charging of said stream or session.
When a quota of said distribution is the corresponding quota of rate the higher person in LR data and the non-LR data, when then the charging of said stream or session being handled, need deducting fees of said stream of compensation or session according to said LR charging policy and said LR data message.According to the rate of LR data and non-LR data and be the quota that said stream or session distribute, specifically concrete processing is carried out in the charging of said stream or session at specific embodiment, the embodiment of the invention does not limit this.
Wherein, Said PPS is with said when sending to said PPC for new quota of LR data allocations in said stream or the session; Can be through accepting to send among the message AA said PPC for a new quota of LR data allocations in said stream or the session is carried at said; But the embodiment of the invention does not limit this, can also a said new quota for LR data allocations in said stream or the session be sent to said PPC through other transmission means.
410, judge whether the user balance information of upgrading can be said stream or session allocated quotas once more; If the user balance information of said renewal can be said stream or session allocated quotas once more, then user balance information and the said LR charging policy according to said renewal is that said stream or session distribute a new quota.
411, a new quota is associated under stream or the session, and a said new quota is sent to PPC; A new quota of said distribution is the corresponding quota of rate the higher person in the corresponding quota of non-LR data or LR data and the non-LR data.
412, after said PPC receives a new quota into said stream or session distribution; A said new quota is transmitted to said PPA, so that said PPA carries out accounting processing according to a said new quota to LR data in said stream or the session and non-LR data.
413, after said PPA receives a said new quota, upgrade local prepaid data, flow or the processing of session data real-time deduction with new quota.
414, whether said PPA comes the remaining sum of judges to exhaust according to user's quota information and the corresponding quota thresholding of said quota, and whether said stream or session need to stop; When affirmation exhausts and need to stop said stream or session, trigger the flow process of stream or session charging termination.
Wherein, Whether said PPA comes the remaining sum of judges to exhaust according to user's quota information and the corresponding quota thresholding of said quota; The concrete realization whether said stream or session need stop can be with reference to any way of the prior art, and the embodiment of the invention will repeat no more here.For example, when being the quota thresholding of said allocation of quota correspondence, if the user also has sufficient remaining sum; Then the allocated quota thresholding is generally less than said allocated quota; If user's remaining sum can only be carried out the distribution of last quota, then the allocated quota thresholding equals said allocated quota, therefore; PPA can know just whether user's remaining sum will exhaust according to the corresponding relation of the corresponding quota thresholding of user's quota information and said quota.When PPA knew that allocated quota and quota thresholding equate, when this quota that receives runs out, the remaining sum of then just obtaining the user ran out.
415, when confirming that remaining sum exhausts after promptly this user prepayment account number has not had the situation of remaining sum; Said PPA stops request message and stops the charging of this stream or session to said PPC request with chargeing, the flow that said charging stops carrying in the request message LR data in said stream in this cycle or the session and total flow information, or said stream or session in flow and total flow information, the perhaps flow of LR data and the flow information of non-LR data in said stream or the session of non-LR data.
416, after said PPC receives that this charging stops request message, it is transmitted to said PPS.
Wherein, when said PPC stops said charging request message and is transmitted to said PPS, can send to said PPS, but the embodiment of the invention do not limit to this, can it be transmitted to said PPS yet through other message through inserting request message.
417, after said PPS receives that said charging stops request message, handle according to the information convection current or the charging of session that stop according to said LR charging policy and said charging in the request message, and upgrade user balance information.
Wherein, when stopping the information in the request message based on said LR charging policy and said charging, the specific descriptions that the charging of said stream or session is handled, the corresponding description in can refer step 409, the embodiment of the invention will repeat no more here.
418, send termination charging response to said prepaid accounting equipment, confirm to stop this stream or session charging.
Wherein, need explain here the time, can temporarily forward the user to one in this step and supplement the page with money, let the user supplement the back again with money and use professionally, not so after the time of setting, will stop user's business.
419, said PPC transmits the pre-payment notification message and acts on behalf of the termination charging before confirming and the request of stream or session to pre-payment.
Wherein, need to prove here, few when user balance in certain service billing when the practical implementation embodiment of the invention, can only be quota of this traffic assignments, the new quota of application in the middle of can not having so; In addition, if professional long enough and its account balance that the user uses are enough, be can have repeatedly to be the new quota of this traffic assignments in the so professional use, the flow process between the corresponding step 407~412 can repeat; During the practical implementation embodiment of the invention, can carry out corresponding step as the case may be, the embodiment of the invention does not limit this.
During the present invention implements; For not only having the LR data but also having the stream or the session of non-LR data; When this stream of form through pre-payment or session were chargeed, through distributing a quota respectively for stream or session, this quota was the corresponding quota of rate the higher person in the corresponding quota of said non-LR data or said LR data and the non-LR data; And the mode that the charging of convection current or session is handled when finishing stream or session charging; The processing that LR data and non-LR data are chargeed respectively in realization convection current or the session realizes distinguishing in same stream or the session charging respectively of LR data and non-LR data, thereby satisfies the demand of accurate flowmeter expense.
Embodiment 4
One embodiment of the present of invention provide a kind of charging method based on stream or session traffic; The embodiment of the invention is that said stream or session distribute a quota with prepaid server; This quota is said stream or the corresponding total quota of session; And when issuing the said total quota of distributing for said stream or session; LR data in said stream or the session and each self-corresponding charging coefficient of non-LR data are also issued, so that the prepaid accounting equipment side is realized the accounting processing to LR data in said stream or the session and non-LR data according to said total quota and said charging coefficient; Wherein, this charge system is the charging discount factor of operator according to the type of data definition, and its value is generally less than or equals 1; The embodiment of the invention is PPS with said prepaid server specifically, and said prepaid accounting equipment is that PPC is an example, specifically sets forth this charging method based on stream or session traffic; As shown in Figure 5, this method comprises:
501, PPC sends first quota request message to PPS, comprises the LR indication information of stream or session in said first quota request message, is used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities.
Wherein, In LR stream or session foundation, act on behalf of PPC with local route execution entity LREP pre-payment together and send first quota request message to prepayment client, i.e. the initial quota application of pre-payment request; Carry stream or session related information, as: LR indication etc.; Wherein, PPA is optional existence, and LREP can be with PPA together, and this moment, PPA can be used as prepaid accounting equipment, and it also need carry the LR indication information with first quota request message between PPC.In addition, about the specific descriptions of said LR indication information, can be with reference to the corresponding description in the step 101 among the figure 1, the embodiment of the invention will repeat no more here.
502, after said PPS receives said first quota request message of prepayment client transmission; According to the LR indication information that comprises stream or session in said first quota request message; Confirm whether this stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities; After confirming that according to said LR indication information said stream or session be to have the stream or session of supporting LR data and non-LR data transmission capabilities; According to the LR charging policy is that said stream or session distribute a quota, and a said quota is said stream or the corresponding total quota of session.
503, the said total quota that will distribute of said PPS is associated under this stream or the session; And said total quota and said LR data and/or each self-corresponding charging coefficient of non-LR data are sent to said PPC; So that said PPC carries out accounting processing according to a said total quota and said LR data and each self-corresponding charging coefficient of non-LR data to LR data in said stream or the session and non-LR data.
Wherein, Here need to prove; When prepaid server with said stream or session in LR data and each self-corresponding charging coefficient of non-LR data when sending to said prepaid accounting equipment; Can adopt in the following method any; This method comprises: corresponding charging coefficient and the corresponding charging coefficient of non-LR data of LR data in said stream or session, and when not using as default, charging coefficient that LR data in said stream or the session are corresponding and the corresponding charging coefficient of non-LR data send to said prepaid accounting equipment together; When perhaps the corresponding charging coefficient of LR data uses as default in said stream or session, the corresponding charging coefficient of non-LR data in said stream or the session is sent to said prepaid accounting equipment; When perhaps the corresponding charging coefficient of non-LR data used as default in said stream or session, the charging coefficient that LR data in said stream or the session are corresponding sent to said prepaid accounting equipment.
Wherein, The said quota that said PPS will distribute is associated under this stream or the session; And when said total quota and said LR data and each self-corresponding charging coefficient of non-LR data sent to said PPC, can it be carried at and accept to feed back to said PPC in the message, but embodiment of the invention contrast does not limit; Also can a said quota be sent to said PPC through other transmission means.
504, after said PPC receives a said total quota and said LR data and/or each self-corresponding charging coefficient of non-LR data; Safeguard separately said total quota, and realize accounting processing LR data in said stream or the session and non-LR data according to LR data and each self-corresponding charging coefficient of non-LR data in the corresponding total quota of said stream or session and said stream or the session.
Wherein, Said according to LR data and each self-corresponding charging coefficient of non-LR data in the corresponding total quota of said stream or session and said stream or the session; Non-LR data and LR data in said stream or the session data are carried out accounting processing, can adopt following method, and this method comprises:
Add up the flow of LR data and non-LR data in said stream or the session, confirm the flow of transmission LR data and non-LR data; Flow with transmission LR data and non-LR data; Multiply by each self-corresponding charging coefficient of said LR data and non-LR data respectively; And, obtain the actual total flow of said stream or session with the results added that calculates, judge whether the actual total flow of said stream or session reaches predetermined quota thresholding; If the actual total flow of said stream or session reaches predetermined quota thresholding, then execution in step 505.
505, when the actual total flow of said stream or session reaches predetermined quota thresholding; Send second quota request message to said PPS, comprise actual total flow and the said stream or the corresponding total quota request information of session of said stream or session in said second quota request message.
Wherein, The corresponding quota threshold value of said total flow is an empirical value; Be provided with according to the quota of LR data and the quota sum of non-LR data as the one of which, so that less than the quota of said LR data and the quota sum of non-LR data, it can send when said prepaid accounting equipment is sent as said stream or session allocated quota in prepaid server; Also can be provided with in this locality of prepaid accounting equipment; But the embodiment of the invention does not limit this, and any method that the corresponding quota threshold value of said LR data can be set all belongs to the scope that the present invention protects.
506, after said PPS receives said second quota request message, be that a new total quota is redistributed in said stream or session according to user balance information and said LR charging policy.
507, will be associated under said stream or the session for the new total quota that said stream or session are redistributed; And said total quota and said LR data and each self-corresponding charging coefficient of non-LR data are sent to said PPC; So that said PPC carries out accounting processing according to a said total quota and said LR data and each self-corresponding charging coefficient of non-LR data to LR data in said stream or the session and non-LR data.
In addition; Here need to prove, should the charging coefficient if stored before the PPC in this embodiment, and also the charging coefficient not have under the situation of change; In the second quota response message, can not carry said charging coefficient, acquiescence prolong with before charging coefficient in the first quota response message.
508, after said PPC receives a said new total quota, upgrade local prepaid data, flow or the processing of session data real-time deduction with new quota.
Further; Need to prove, in the embodiment of the invention, about stopping the flow process of stream or session charging; Can reference implementation description between step 313 to the step 317 in the example 2; Difference is exactly, between embodiment of the invention PPC and the PPS between transfer of data, so the embodiment of the invention will repeat no more.
Wherein, need to prove here, few when user balance in certain service billing when the practical implementation embodiment of the invention, can only be quota of this traffic assignments, the new quota of application in the middle of can not having so; In addition, if professional long enough and its account balance that the user uses are enough, be can have repeatedly to be the new quota of this traffic assignments in the so professional use, the flow process between the corresponding step 505~508 can repeat; During the practical implementation embodiment of the invention, can carry out corresponding step as the case may be, the embodiment of the invention does not limit this.
During the present invention implements; For not only having the LR data but also having the stream or the session of non-LR data; When this stream of form through pre-payment or session were chargeed, through distributing a quota respectively for stream or session, this quota was said stream or the corresponding total quota of session; And at the prepaid accounting equipment side according to LR data and each self-corresponding charging coefficient of non-LR data in this total quota and said stream or the session; The processing that LR data and non-LR data are chargeed respectively in realization convection current or the session realizes distinguishing in same stream or the session charging respectively of LR data and non-LR data, thereby satisfies the demand of accurate flowmeter expense.
Embodiment 5
It is a kind of based on the stream or the charging method of session traffic that one embodiment of the present of invention provide, and this method be the back method that stream or session add up equipment side of paying in the payment methods of back, and as shown in Figure 6, this method comprises:
601, the back pay stream or session statistics equipment backward payment server send stream or session charging begins request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session; Be used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities, so that said back payment server is sent as LR data and the corresponding charging coefficient of non-LR data in said stream or session distribution service stream identification or said stream or the session to said back paying stream or session statistics equipment.
602, said back pays that stream or session statistics equipment receives that said back payment server sends be LR data and/or each self-corresponding charging coefficient of non-LR data in business datum traffic identifier or the said stream or the session of said stream or session distribution.
Wherein, the business datum traffic identifier for said stream or session distribution comprises a business datum traffic identifier or two business datum traffic identifier; It is two chargeable session corresponding service stream identification that said stream or session distribute that said two business data flows are designated said back payment server, and it is that the chargeable session corresponding service data that said stream or session distribute are failed to be sold at auction that a said business data flow is designated said back payment server.
Wherein, Said back paying stream or session statistics equipment can be back client with charge end or back paying agency, and the embodiment of the invention does not limit this, for example in the WiMAX network; This charging proxy can be ActAgt (Accounting Agent; Charging proxy), this Accounting Client can be AC (Accounting Client, Accounting Client); Said back paying stream or session statistics equipment can also be PCEF (Policy andCharging Enforcement Function, strategy and charge execution function), and the embodiment of the invention does not limit this.Said back payment server can be AAA Server (Authentication; Authorization; Accounting Server; Authentication and authorization charging server) or PCRF (Policy andCharging Rules Function, strategy and charging rule functions), the embodiment of the invention does not limit this; When other networks, can replace with the equipment that has this function in this network.
Wherein, when said back payment server is said stream or session when distributing two chargeable session, for said stream or session distribute corresponding two the business datum traffic identifier (SDFID, ServiceData Flow Identifier) of said two chargeable session; When said back payment server is said stream or chargeable session of session distribution, be that said stream or session distribute a business datum traffic identifier.Here need to prove that in this back paying technical scheme, corresponding stream or session session meeting generate a business datum traffic identifier on the back payment server; When the back payment server is said stream or business datum traffic identifier of session distribution; The associating information of LR data and non-LR data is under same business datum traffic identifier in said stream or the session; And distinguish the information of LR data and the information of non-LR data through two the grouped data traffic identifier (PDFID, Packet Data FlowIdentifier) that are subordinated to this business datum traffic identifier; When the back payment server is said stream or two business datum traffic identifier of session distribution; LR data and non-LR data are used the independently information of record traffic data of two business datum traffic identifier respectively in said stream or the session, and the associating information that these two business datum traffic identifier are corresponding networks at user's single and moves back under the charging identifier Acct-Multi-Session-Id of net granularity.Wherein, Be subordinated to two grouped data traffic identifier of this business datum traffic identifier; It can be that the back payment server is distributed; And be included in and send non-back pay stream or session statistics equipment in the beginning response message that charges, also can pay stream or session statistics equipment local distribution in the back, the embodiment of the invention does not limit this.
Here; Need to prove; Said back payment server will be a business datum traffic identifier of said stream or session distribution; Or two business datum traffic identifier send to said back when paying stream or session statistics equipment; Can also be simultaneously said stream or the corresponding LR strategy of session be sent to said back pay stream or session statistics equipment, but the embodiment of the invention do not limit to this, can be separately said stream or the corresponding LR strategy of session be sent pay stream or the session of non-said back yet and add up equipment; Said LR strategy comprises whether agreeing to carry out LR, whether distinguishes the LR charging, whether need produce indication informations such as two LR and independent station message recording of non-LR etc.
603, said back paying stream or session statistics equipment are according to being the business datum traffic identifier that said stream or session distribute; Write down the information of LR data and non-LR data in said stream or the session; And generate the corresponding usage data record of said stream or session according to said data message; Perhaps according to LR data in said stream or the session and each self-corresponding charging coefficient of non-LR data; Calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, generate said stream or the corresponding usage data record of session according to said station message recording information.
Wherein, Said back paying stream or session statistics equipment are according to being the business datum traffic identifier that said stream or session distribute; Write down the information of LR data and non-LR data in said stream or the session, and generate said stream or the corresponding usage data record of session, can comprise according to said data message:
When said afterwards pay stream or session statistics equipment receive business datum traffic identifier of said stream or session correspondence; The information of LR data and non-LR data in said back paying stream or session statistics said stream of equipment records or the session; Information according to said LR data and non-LR data; Generate a corresponding usage data record of said stream or session; Comprise LR data and the information of non-LR data in said stream or the session in the said usage data record, the information of said LR data and non-LR data is distinguished with two packet data streams signs respectively.
When said afterwards pay stream or session statistics equipment receive two business datum traffic identifier of said stream or session correspondence; The information of LR data and non-LR data in said back paying stream or session statistics said stream of equipment records or the session; Information according to said LR data and non-LR data; Generate and said LR data and two corresponding respectively usage data records of non-LR data, said two usage data records are distinguished with said two business data flows sign.
604, said usage data record is sent to said back payment server, so that said back payment server is carried out accounting processing according to said usage data record to LR data in said stream or the session and non-LR data.Wherein, when said data record being sent to said back payment server, can said data record be carried at and give said back payment server in the same message.
The embodiment of the invention also provides a kind of charging method based on stream or session traffic, and this method is the method for back payment server side in the payment methods of back, and as shown in Figure 7, this method comprises:
701, paying stream or session statistics equipment sent after the back payment server received stream or session charging begin request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session, are used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities.
702, said back payment server based on said LR indication information confirm said stream or session be have the stream or session of supporting local route LR data and non-LR data transmission capabilities after; Send to said back pay stream or session statistics equipment for said stream or session distribution services stream identification and with said stream or session corresponding service stream identification; Stream or session statistics equipment are based on said stream or session corresponding service stream identification so that pay in said back; Write down the information of LR data and non-LR data in said stream or the session, and generate said stream or the corresponding usage data record of session based on said data message; Or LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data sent to said back pay stream or session statistics equipment; Stream or session statistics equipment are based on LR data in said stream or the session and the corresponding charging coefficient of non-LR data so that pay in said back; Calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, generate said stream or the corresponding usage data record of session based on said station message recording information.
Wherein, Be said stream or session distribution service stream identification; Comprise: be said stream or session two business datum traffic identifier of distribution or a business datum traffic identifier; It is two chargeable session corresponding service stream identification that said stream or session distribute that said two business data flows are designated said back payment server, and it is the chargeable session corresponding service stream identification that said stream or session distribute that a said business data flow is designated said back payment server.
Wherein, about the specific descriptions of a said business datum traffic identifier and said two business datum traffic identifier, can be with reference to the corresponding description in the step 602 among the figure 6, the embodiment of the invention will repeat no more here.
Wherein, said LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data are sent to said back pay stream or session statistics equipment, comprising:
Corresponding charging coefficient and the corresponding charging coefficient of non-LR data of LR data in said stream or session; When not using as default, charging coefficient that LR data in said stream or the session are corresponding and the corresponding charging coefficient of non-LR data send to said back paying stream or session statistics equipment together; When perhaps the corresponding charging coefficient of LR data uses as default in said stream or session, the corresponding charging coefficient of non-LR data in said stream or the session is sent to said back pay stream or session statistics equipment; When perhaps the corresponding charging coefficient of non-LR data used as default in said stream or session, the charging coefficient that LR data in said stream or the session are corresponding sent to said back pay stream or session statistics equipment.
703, receive said stream or the corresponding usage data record of session that said back paying stream or session statistics equipment send, and LR data in said stream or the session and non-LR data are carried out accounting processing based on said usage data record.
During the present invention implements; For not only having the LR data but also having the stream or the session of non-LR data; When the form of paying through the back was carried out accounting processing to said stream or session, the usage data record of the information through reporting the LR data that comprise in this stream or the session and non-LR data was realized the processing that LR data and non-LR data are chargeed respectively in convection current or the session; Realize distinguishing in same stream or the session charging respectively of LR data and non-LR data, thereby satisfy the demand of accurate flowmeter expense.
Embodiment 6
The embodiment of the invention provides a kind of charging method based on stream or session traffic, and the way of paying that the embodiment of the invention is paid are later on specifically set forth this method.Back paying stream or session statistics equipment write down the information of LR data and the information of non-LR data respectively to this stream or session; And with the information of the information of LR data and non-LR data in the charging intermediary message or charge and send to the back payment server when finishing, with payment server after an action of the bowels according to information and the information of non-LR data and the accounting processing that corresponding charging policy carries out LR data and non-LR data of LR data; Said back paying stream or session statistics equipment can be charging proxy or Accounting Client; The embodiment of the invention does not for example limit this; In the WiMAX network, this charging proxy can be ActAgt (Accounting Agent, charging proxy); This Accounting Client can be AC (Accounting Client, Accounting Client).
In addition; When after payment server send a business datum traffic identifier or two business datum traffic identifier to pay stream or session statistics equipment of said back, whether specifically comprise a business datum traffic identifier and still be two business datum traffic identifier is that stream or session distribute two chargeable session to determine by said back payment server; The embodiment of the invention is designated routine this method of setting forth with payment server after said to said back paying stream or two business data flows of session statistics equipment transmission; Concrete, the embodiment of the invention serves as back paying stream or session statistics equipment with the ActAgt in the WiMAX network, AAA Server is this method of example elaboration for the back payment server; As shown in Figure 8, this method comprises:
801, the stream or the session that comprise LR data and non-LR data are set up, and trigger charging flow.
802, charging proxy ActAgt sends the beginning request message that charges to Accounting Client Accounting Client; Carry the LR indication information of this stream or session in this charging beginning request message, be used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities.
Here need to prove; Charging proxy ActAgt is optional existence; LREP, ActAgt can be positioned on the physical entity with Accounting Client Accounting Client simultaneously; Message between them just changes into inside story at this moment, the outside interaction message between only surplus Accounting Client and AAA.
803, after Accounting Client receives the beginning request message that charges, it is transmitted to AAA server AAA Server.
804, said AAA Server receives after said charging begins request, finds corresponding charging policy based on the LR indication that the charging that receives begins in the request message, and be two business datum traffic identifier that said stream or session distribute two chargeable session correspondences.
Wherein, Said two chargeable session are LR data chargeable session and non-LR data chargeable session; Two business datum traffic identifier that two sessions are corresponding are issued said AccountingClient in the beginning response message that charges, and let it carry out charging policy and two chargeable session processing.
Here; Need to prove; Said back payment server will be in the time will sending to said back paying stream or session statistics equipment for two business datum traffic identifier of said stream or session distribution; Can also be simultaneously said stream or the corresponding LR strategy of session be carried at and send to said back pay stream or session statistics equipment in the said charge response message; But the embodiment of the invention does not limit this, can separately said stream or the corresponding LR strategy of session be sent non-said back paying stream or session statistics equipment yet; Said LR strategy comprises whether agreeing to carry out LR, whether distinguishes the LR charging, whether need produce indication informations such as two LR and independent station message recording of non-LR etc.
805, said two business datum traffic identifier are carried at send to said back pay stream or session statistics equipment in the charge response message; Said two business data flows are designated two chargeable session corresponding service stream identification into said stream or session distribution.
806, said Accounting Client can transmit this charge response message and give said ActAgt.
807, after said ActAgt receives said charge response message; Write down the information of LR data and non-LR data in this stream or the session; And according to the information of said LR data and non-LR data; Generate and said LR data and corresponding respectively two UDR (Usage Data Record, usage data record) of non-LR data, said two usage data records are distinguished with said two business data flows sign.
808, said ActAgt triggers Intermediate Charging ICH according to charging policy and reports process, and sends the charging intermediate request message of carrying relevant UDR of LR or the relevant UDR of non-LR and give said Accounting Client.
Wherein, comprise the information of the LR data that this cycle writes down or the information of non-LR data in the said charging intermediate request message simultaneously.In addition, if repeatedly report Intermediate Charging ICH information, then it can report this cycle recorded information, if accumulative total reports, then reports the recorded information by the accumulation of this cycle.
809, after said Accounting Client receives said charging intermediate request message, give said AAA Server with this forwards.
810, after said AAA Server receives said Intermediate Charging ICH request message, record faithfully the charge information of LR data and the charge information of non-LR data, realize the accounting processing of LR data and non-LR data in said stream or the session according to the relevant information in the message.
811, after said AAA Server accomplishes the Intermediate Charging ICH processing, send charging intermediate response message and give said Accounting Client.
812, said Accounting Client transmits charging intermediate response message and gives said ActAgt.
813, said ActAgt receives the information that said charging intermediate response message continues LR data and non-LR data in this stream of record or the session; And according to the information of said LR data and non-LR data; Generate and said LR data and two corresponding respectively usage data records of non-LR data, said two usage data records are distinguished with said two business data flows sign.
814, in the time of this stream or conversation end, said ActAgt can be with the LR data of this cycle record or the UDR of non-LR data, or the UDR of LR data and non-LR data, and all being placed on charges stops offering said Accounting Client in the request message.
Wherein, need explain here the time, be that accumulative total reports if this reports, then report UDR by this cycle accumulation.
815, said Accounting Client transmits said charging and stops request message to said AAAServer.
816, after said AAA Server receives that said charging stops request message; The information of receiving is recorded faithfully the charge information of LR data in corresponding said stream or the session and the charge information of said non-LR data, realize accounting processing LR data in said stream or the session and non-LR data.
Wherein, realize can adopting correlation method of the prior art to the accounting processing of LR data in said stream or the session and non-LR data, the embodiment of the invention will repeat no more once more.
817, after accomplishing accounting processing, said AAA Server sends to charge and stops response message to said Accounting Client.
818, said Accounting Client transmits said charging and stops response message to said ActAgt.
Wherein, need to prove here that step 807 is optional or repeats to 811 execution, specifically will see charging policy and configuring condition.When according to network condition, operation requirement, need carry out the charge information real-time guard, charging intermediate request message then is provided in charging process, operate accordingly, otherwise do not carry out the operation of step 808 between 812.Wherein, This real-time guard meaning is in order to prevent that abnormal conditions from appearring in the user; If the use information and the charge of should the protection meeting not going back recording user after unusual; Angle sees it is irrational from the terminal like this, thus for fear of the unusual and extra non-reasonable charging that causes so needs are regularly reported charge information in real time, so that reduce non-reasonable expense for the user.
Here need to prove; The operating procedure of above-mentioned Fig. 8 correspondence is the handling process when being stream or two chargeable session of session distribution to said back payment server; Handling process when said back payment server AAA Server is not two chargeable session of stream or session distribution is; Concrete operation difference is: first; When after after payment server receives stream or session charging request, send charge response message to pay stream or session statistics device A ctAgt of said back, comprise a business datum traffic identifier in the said charge response message; Second; Pay after said after stream or session statistics equipment receives the charge response message that the back payment server sends; The information of LR data and non-LR data in said back paying stream or session statistics equipment records stream or the session; According to the information of said LR data and non-LR data, generate a usage data record of said stream or session, comprise LR data and the information of non-LR data in said stream or the session in the said usage data record; The information of said LR data and non-LR data is distinguished with two packet data streams signs respectively; And a said usage data record sent to said back payment server, from a said usage data record, distinguishes the information of said LR data and the information of non-LR data by said back payment server, and realization is to the accounting processing of said LR data and non-LR data.Other description can be with reference to the description of corresponding step among the figure 8, and the embodiment of the invention will repeat no more at this.
During the present invention implements; For not only having the LR data but also having the stream or the session of non-LR data; When the form of paying through the back is carried out accounting processing to said stream or session,, realize the processing that LR data and non-LR data are chargeed respectively in convection current or the session through reporting the usage data record of the information that comprises LR data and non-LR data; Realize distinguishing in same stream or the session charging respectively of LR data and non-LR data, thereby satisfy the demand of accurate flowmeter expense.
Embodiment 7
The embodiment of the invention provides a kind of charging method based on stream or session traffic, and the way of paying that the embodiment of the invention is paid are later on specifically set forth this method.Back paying stream or session statistics equipment write down the information of LR data and the information of non-LR data respectively to this stream or session; And the information of LR data and the information of non-LR data multiply by each self-corresponding charging coefficient; Obtain LR data and the corresponding station message recording information of non-LR data in said stream or the session; And generate the corresponding usage data record of said stream or session according to said station message recording information; To be somebody's turn to do in the charging intermediary message or when charge finishing according to said station message recording information and generate said stream or the corresponding usage data record of session sends to the back payment server, carry out the accounting processing of LR data and non-LR data with payment server after an action of the bowels according to the charging policy of the station message recording information of the information of LR data and non-LR data and correspondence; Said back paying stream or session statistics equipment can be charging proxy or Accounting Client, and the embodiment of the invention does not for example limit this, in the WiMAX network; This charging proxy can be ActAgt (Accounting Agent; Charging proxy), this Accounting Client can be AC (Accounting Client, Accounting Client); The embodiment of the invention serves as back paying stream or session statistics equipment with the AC in the WiMAX network, and AS is this method of example elaboration for the back payment server; As shown in Figure 9, this method comprises:
901, the stream or the session that comprise LR data and non-LR data are set up, and trigger charging flow.
902, Accounting Client AC sends the beginning request message that charges to accounting server AS; Carry the LR indication information of this stream or session in this charging beginning request message, be used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities.
903, said AS receive said charging begin the request after; Corresponding charging policy is found in LR indication according to the charging that receives begins in the request message, and LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data are sent to said AC.
Wherein, said LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data are sent to the specific descriptions of said AC, the corresponding description in the step 702 in can reference implementation example 6 will be repeated no more here.
904, after said AC receives said charge response message; Write down the information of LR data and non-LR data in this stream or the session; And according to said LR data and each self-corresponding charging coefficient of non-LR data; Calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, generate the information of the usage data record of said stream or session correspondence according to said station message recording information.
Wherein, said according to said LR data and each self-corresponding charging coefficient of non-LR data, calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, can adopt following method, this method comprises:
Add up the flow of LR data and non-LR data in said stream or the session, confirm the flow of transmission LR data and non-LR data; Flow with transmission LR data and non-LR data multiply by each self-corresponding charging coefficient of said LR data and non-LR data respectively, obtains LR data and each self-corresponding station message recording information of non-LR data in said stream or the session.
905, said AC triggers Intermediate Charging ICH according to charging policy and reports process, and the charging intermediate request message of sending the UDR of the station message recording information of carrying the station message recording information that comprises the LR data and non-LR data is given said AS.
Wherein, comprise the station message recording information of the LR data that this cycle writes down or the station message recording information of non-LR data in the said charging intermediate request message simultaneously.In addition, if repeatedly report Intermediate Charging ICH information, then it can report the station message recording information in this cycle, if accumulative total reports, then reports the station message recording information by the accumulation of this cycle.
906, after said AS receives said Intermediate Charging ICH request message,, realize the accounting processing of LR data and non-LR data in said stream or the session according to the station message recording information of the LR data in the said Intermediate Charging ICH request message and the station message recording information of non-LR data.
907, after said AS accomplishes the Intermediate Charging ICH processing, send charging intermediate response message and give said AC.
908, after said AC receives said charging intermediate response message; The information of LR data and non-LR data in continuation this stream of record or the session; And according to said LR data and each self-corresponding charging coefficient of non-LR data; Calculate the corresponding station message recording information of LR data and non-LR data in said stream or the session, generate the information of the corresponding usage data record of said stream or session according to said station message recording information, and 905 to 907 corresponding steps is carried out in circulation; When this stream or conversation end, execution in step 908.
Wherein, Here need to prove; In the time of this stream or conversation end, the operation of step 814 to 818 among the corresponding operating of the embodiment of the invention such as the embodiment 6, different is; The embodiment of the invention is that the direct information between Accounting Client AC and the accounting server AS is mutual, does not need the forward node of Accounting Client AC as charging proxy; And after said accounting server AS receives that said charging stops request message; Directly according to LR data in the said Intermediate Charging ICH request message and the corresponding effective total flow of non-LR data; Realize that the accounting processing of LR data and non-LR data gets final product in said stream or the session; Do not need accounting server AS again the information of receiving to be recorded faithfully the charge information of LR data in corresponding said stream or the session and the charge information of said non-LR data; And then, realize accounting processing to LR data in said stream or the session and non-LR data according to the charge information of LR data in said stream or the session and the charge information of said non-LR data.
During the present invention implements; For not only having the LR data but also having the stream or the session of non-LR data; When the form of paying through the back is carried out accounting processing to said stream or session,, realize the processing that LR data and non-LR data are chargeed respectively in convection current or the session through reporting the usage data record of the information that comprises LR data and non-LR data; Realize distinguishing in same stream or the session charging respectively of LR data and non-LR data, thereby satisfy the demand of accurate flowmeter expense.
Embodiment 8
The embodiment of the invention provides a kind of prepaid server, and is shown in figure 10, and this prepaid server comprises: first receiving element 1001, first allocation units 1002 and first transmitting element 1003.
First receiving element 1001; Be used to receive first quota request message that prepaid accounting equipment sends; The local route LR indication information that comprises stream or session in said first quota request message is used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities.
First allocation units 1002; Be used for after confirming that according to said LR indication information said stream or session comprise LR data and non-LR data; According to the LR charging policy is that said stream or session distribute two quotas or a quota; A quota in said two quotas is the corresponding quota of LR data in said stream or the session; Another quota is the corresponding quota of non-LR data in said stream or the session, and a said quota is any in the following quota, comprising: the corresponding total quota of quota, said stream or session that rate the higher person is corresponding in quota, said LR data and the non-LR data of said non-LR data correspondence.
First transmitting element 1003; Be used for said two quotas or a quota that said first allocation units 1002 distribute are associated under said stream or the session; And send to said prepaid accounting equipment, so that said prepaid accounting equipment carries out accounting processing according to said two quotas or a quota to LR data in said stream or the session and non-LR data.
Further; Here need to prove; When a quota for said stream or session distribution is total quota of said stream or session correspondence; Said first transmitting element 1003 also is used for said stream or session LR data and/or each self-corresponding charging coefficient of non-LR data are sent to said prepaid accounting equipment, so that said prepaid accounting equipment carries out accounting processing according to a said quota and said charging coefficient to LR data in said stream or the session and non-LR data.Said first transmitting element 1003 sends to said prepaid accounting equipment with LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data and comprises:
Corresponding charging coefficient and the corresponding charging coefficient of non-LR data of LR data in said stream or session; When not using as default, charging coefficient that LR data in said stream or the session are corresponding and the corresponding charging coefficient of non-LR data send to said prepaid accounting equipment together; Perhaps
When the corresponding charging coefficient of LR data uses as default in said stream or session, the corresponding charging coefficient of non-LR data in said stream or the session is sent to said prepaid accounting equipment; Perhaps
When the corresponding charging coefficient of non-LR data used as default in said stream or session, the charging coefficient that LR data in said stream or the session are corresponding sent to said prepaid accounting equipment.
Further, shown in figure 11, said prepaid server also comprises: second receiving element 1004, second allocation units 1005 and second transmitting element 1006.
Second receiving element 1004; Be used to receive second quota request message that said pre-payment equipment sends; Said second quota request message of said second quota request message is when the quota thresholding is scheduled in the flow arrival of LR data and/or non-LR data in the said stream of said prepaid accounting device statistics or the session; Or when the actual total flow of LR data and non-LR data in the said stream of said prepaid accounting device statistics or the session arrives said predetermined quota thresholding; Request message to said prepaid server transmission; Said second quota request message comprises any in the following information at least; This information comprises: the corresponding quota request information of LR data or non-LR data in said stream or the session; The corresponding quota request information of corresponding quota request information of LR data and non-LR data in said stream or the session, or said stream or session in the corresponding quota request information of information and said stream or the session total flow of non-LR data, or said stream or session in information and the information of non-LR data of LR data, total quota request information that the actual total flow of said stream or session and said stream or session are corresponding.
Wherein, When said pre-payment equipment receives said two quotas; And when the flow of said LR data or non-LR data arrives each self-corresponding predetermined quota thresholding of said LR data or non-LR data, comprise the corresponding quota request information of LR data or non-LR data in said second quota request message; Perhaps
When said pre-payment equipment receives said two quotas; And when arriving each self-corresponding predetermined quota thresholding of said LR data or non-LR data for one in the flow of the flow of said LR data and non-LR data, comprise corresponding quota request information of LR data and the corresponding quota request information of non-LR data in said second quota request message; Perhaps
When said pre-payment equipment receives a said quota when being the quota that rate the higher person is corresponding in the corresponding quota of non-LR data or said LR data and the non-LR data; And when the total flow of LR data and non-LR data arrives the corresponding predetermined quota threshold value of said total flow in said stream or the session; Comprise in the following information any in said second quota request message, comprising: the information of LR data and the information of non-LR data in corresponding quota request information, said stream or the session of the information of non-LR data and said stream or session total flow in corresponding quota request information, said stream or the session of the information of LR data and said stream or session total flow in said stream or the session; Perhaps
When said pre-payment equipment receives a said quota when being the corresponding total quota of said stream or session; And when the actual total flow of LR data and non-LR data arrives said predetermined quota thresholding in said stream or the session, comprise actual total flow and the said stream or the corresponding total quota request information of session of said stream or session in the said second quota request information.
Second allocation units 1005; Be used for said second quota request message that receives according to user balance information, said LR charging policy and said second receiving element 1004, be the new quota of non-LR data allocations in LR data in said stream or the session and/or said stream or the session.
Second transmitting element 1006; Be used for said new quota is associated under said stream or the session; And send to said prepaid accounting equipment, so that said prepaid accounting equipment carries out accounting processing according to said new quota to LR data in said stream or the session and non-LR data.
Further; Shown in figure 12; Said second allocation units 1005 comprise: in first distribution module 10051, second distribution module 10052, processing module 10053 and the 3rd distribution module 10054, the 4th distribution module 10055 one or multinomial arbitrarily, but said processing module 10053 and the 3rd distribution module 10054 occur with an integral body.
First distribution module 10051; Be used for when said second quota request message that said second receiving element 1004 receives comprises the corresponding quota request information of LR data in said stream or the session or non-LR data; According to user balance information and said LR charging policy, be LR data in said stream or the session or the new quota of non-LR data allocations.And/or
Second distribution module 10052; Be used for when said second quota request message that said second receiving element 1004 receives comprises the corresponding quota request information of the corresponding quota request information of LR data in said stream or the session and non-LR data; According to user balance information and said LR charging policy, for LR data in said stream or the session and non-LR data are distributed new quota respectively.And/or
Processing module 10053; Be used for when said second quota request message that said second receiving element 1004 receives comprises in the following information any; Information according in said LR charging policy and said second quota request message is handled the charging of said stream or session, and upgrades user balance information; Said information comprises: the information of LR data and the information of non-LR data in corresponding quota request information, said stream or the session of the information of non-LR data and said stream or session total flow in new quota request information, said stream or the session of the information of LR data and said stream or session total flow in said stream or the session; Wherein, when processing module 10053 is handled the charging of said stream or session according to said LR charging policy and said LR data message, specifically handle according to the rate of LR data and the rate of non-LR data, concrete comprises:
When a quota of said distribution is the corresponding quotas of non-LR data; If the corresponding rate of said non-LR data is lower than the rate of LR data; Then when the charging of said stream or session being handled, need to append deducting fees to said stream or session based on said LR charging policy and said LR data message; If the corresponding rate of said non-LR data is higher than the rate of LR data, when the charging of said stream or session being handled based on said LR charging policy and said LR data message, need compensation deducting fees to said stream or session; When if the corresponding rate of said non-LR data and LR data is equal, then need deduct fees or append processing the charging of said stream or session.
When a quota of said distribution is the corresponding quota of rate the higher person in LR data and the non-LR data, when then the charging of said stream or session being handled, need deducting fees of said stream of compensation or session according to said LR charging policy and said LR data message.According to the rate of LR data and non-LR data and be the quota that said stream or session distribute, specifically concrete processing is carried out in the charging of said stream or session at specific embodiment, the embodiment of the invention does not limit this.
The 3rd distribution module 10054; The user balance information of the renewal that is used for obtaining according to said processing module 10053 and said LR charging policy are that said stream or session distribute a new quota, and a new quota of said distribution is the corresponding quota of rate the higher person in the corresponding quota of non-LR data or non-LR data and the non-LR data.And/or
The 4th distribution module 10055; Be used for when said second quota request message that said second receiving element 1004 receives comprises the corresponding total quota request information of actual total flow and said stream or the session of said stream or session; According to user balance information and said LR charging policy, be said stream or new total quota of session distribution.
Further, shown in figure 13, when said second allocation units comprised said processing module 10053 and said the 3rd distribution module 10054, said second allocation units also comprised: judge module 10056.
Judge module 10056; Said user balance information and the said LR charging policy that is used in the renewal that said the 3rd distribution module 10054 is obtained according to said processing module is before said stream or session distribute a new quota, judges whether the user balance information of said renewal can be said stream or session allocated quotas once more; Said the 3rd distribution module 10054 also is used for; When said judge module 10056 judges that the user balance information of said renewal can be said stream or session allocated quotas once more, be that a quota is redistributed in said stream or session according to the user balance information and the said LR charging policy of said renewal.
Further, shown in figure 14, said prepaid server also comprises: the 3rd receiving element 1007, processing unit 1008 and the 3rd transmitting element 1009.
The 3rd receiving element 1007; Be used for when said stream or session termination or user balance deficiency; Receive the said stream of said prepaid accounting equipment transmission or the charging of session and stop request message; Said charging stops comprising in the request message any in the following information, comprising: the information of LR data and non-LR data in said stream or the session; The flow of LR data and total flow information in said stream or the session, or said stream or session in non-LR data flow and total flow information, or said stream or session in flow and the flow information of non-LR data of LR data, the total actual flow information of said stream or session.
Wherein, when being said stream or session when distributing two quotas, said charging stops comprising in the request message information of LR data and non-LR data in said stream or the session;
When a quota for said stream or session distribution is the quota that rate the higher person is corresponding in the corresponding quota of non-LR data or said LR data and the non-LR data; Said charging stops comprising in the request message in the following information any, comprising: the flow of LR data and the flow information of non-LR data in the flow of non-LR data and total flow information, said stream or the session in the flow of LR data and total flow information, said stream or the session in said stream or the session;
When a quota for said stream or session distribution was total quota of said stream or session correspondence, said charging stopped comprising said stream or the actual total flow information of session in the request message.
Processing unit 1008 is used for the information based on said LR charging policy and said charging termination request message, for the charging of said stream or session is handled, and upgrades user balance information.
The 3rd transmitting element 1009 is used for sending the termination response of chargeing to said prepaid accounting equipment.
The embodiment of the invention also provides a kind of prepaid accounting equipment, and is shown in figure 15, and this prepaid accounting equipment comprises: first transmitting element 1101, first receiving element 1102 and first processing unit 1103.
First transmitting element 1101; Be used for sending first quota request message to prepaid server; The local route LR indication information that comprises stream or session in said first quota request message; Be used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities, so that prepaid server is stream or session allocated quotas according to said LR indication information.
First receiving element 1102; Be used to receive two quotas or quota that said prepaid server is sent for said stream or session distribution; A quota in said two quotas is the corresponding quota of LR data in said stream or the session; Another quota is the corresponding quota of non-LR data in said stream or the session; A said quota is any in the following quota, comprising: the corresponding total quota of quota, said stream or session that rate the higher person is corresponding in quota, said LR data and the non-LR data of said non-LR data correspondence.
First processing unit 1103 is used for according to said two quotas or a quota that said first receiving element 1102 receives the non-LR data and the LR data of said stream or session data being carried out accounting processing.
Further; Said first receiving element 1102 also is used for; When a quota of distributing for said stream or session of sending when the said prepaid server that receives is the corresponding total quota of said stream or session, receive LR data and each self-corresponding charging coefficient of non-LR data in said stream that said prepaid server sends or the session.
Said first processing unit 1103 also is used for; According to LR data and each self-corresponding charging coefficient of non-LR data in the corresponding total quota of said stream or session and said stream or the session, non-LR data and LR data in said stream or the session data are carried out accounting processing.
Further; LR data and each self-corresponding charging coefficient of non-LR data in the said first processing unit 1103 total quota corresponding and said stream or session according to said stream or session; When the non-LR data in said stream or the session data and LR data are carried out accounting processing; Shown in figure 16, said first processing unit 1103 also comprises: statistical module 11031, computing module 11032, judge module 11033 and first sending module 11034.
Statistical module 11031 is used for adding up the flow of said stream or session LR data and non-LR data, confirms the flow of transmission LR data and non-LR data;
Computing module 11032; The said transmission LR data that are used for respectively said statistical module is obtained and the flow of non-LR data; Multiply by each self-corresponding charging coefficient of said LR data and non-LR data respectively, and, obtain the actual total flow of said stream or session the results added that calculates;
Judge module 11033 is used to judge whether the actual total flow of said stream or session reaches predetermined quota thresholding;
First sending module 11034; When being used for actual total flow in said stream or session and reaching predetermined quota thresholding; Send second quota request message to said prepaid server, comprise actual total flow and the said stream or the corresponding total quota request information of session of stream or session in said second quota request message.
Further, shown in figure 17, said prepaid accounting equipment also comprises: the statistic unit 1104 and second transmitting element 1105.
Statistic unit 1104 is used for adding up the flow of said stream or session LR data and/or non-LR data.
Second transmitting element 1105 when being used for flow when the said stream of said statistic unit 1104 statistics or session LR data and/or non-LR data and arriving predetermined quota thresholding, sends second quota request message to said prepaid server.
Further, shown in figure 18, said second transmitting element 1105 comprises: any in first sending module 11051, second sending module 11052 and the 3rd sending module 11053 or combination in any.
First sending module 11051; Be used for when said first receiving element 1101 receives said two quotas; Add up the flow of LR data in said stream or the session and the flow of non-LR data respectively; When the flow of the flow of said LR data or non-LR data arrive said LR data or or during each self-corresponding predetermined quota thresholding of non-LR data, send second quota request message that comprises LR data in said stream or the session or the corresponding quota request information of non-LR data to said prepaid server.Wherein, The corresponding quota threshold value of said LR data is an empirical value, and less than being said stream or session allocated quota, it can send when said prepaid accounting equipment is sent as said stream or session allocated quota in prepaid server as the one of which; Also can be provided with in this locality of prepaid accounting equipment; But the embodiment of the invention does not limit this, and any method that the corresponding quota threshold value of said LR data can be set all belongs to the scope that the present invention protects.Perhaps
Second sending module 11052; Be used for when said first receiving element 1101 receives said two quotas; Add up the flow of LR data in said stream or the session and the flow of non-LR data respectively; When arriving in said stream or the session each self-corresponding predetermined quota thresholding of LR data or non-LR data for one in the flow of the flow of said LR data and non-LR data, send to said prepaid server and to comprise corresponding quota request information of LR data in said stream or the session and second quota request message of the corresponding quota request information of non-LR data.Wherein, The corresponding quota threshold value of quota threshold value that said LR data are corresponding and non-LR data is an empirical value; As the one of which less than to the data type allocated quota; It can send when said prepaid accounting equipment is sent as said stream or session allocated quota in prepaid server, also can be provided with in this locality of prepaid accounting equipment, but the embodiment of the invention does not limit this; Any method that the corresponding quota threshold value of said LR data can be set all belongs to the scope that the present invention protects.
The 3rd sending module 11053; Be used for receiving a said quota when said first receiving element 1101; And when a said quota is the quota that rate the higher person is corresponding in the corresponding quota of said non-LR data or said LR data and the non-LR data; Add up the total flow of LR data and non-LR data in said stream or the session; When said total flow arrives the corresponding predetermined quota threshold value of said total flow, send second quota request message to said prepaid server, comprise information and said stream or the session total flow of LR data in said stream or the session corresponding quota request information in said second quota request message.Wherein, The corresponding quota threshold value of said total flow is an empirical value; Be provided with according to the quota of LR data and the quota sum of non-LR data as the one of which, so that less than the quota of said LR data and the quota sum of non-LR data, it can send when said prepaid accounting equipment is sent as said stream or session allocated quota in prepaid server; Also can be provided with in this locality of prepaid accounting equipment; But the embodiment of the invention does not limit this, and any method that the corresponding quota threshold value of said LR data can be set all belongs to the scope that the present invention protects.
The embodiment of the invention provides a kind of payment system, and is shown in figure 19, and this payment system comprises: prepaid server 1201 and prepaid accounting equipment 1202.
Prepaid server 1201; Be used to receive first quota request message that prepaid accounting equipment 1202 sends; The local route LR indication information that comprises stream or session in said first quota request message is used to indicate whether said stream or session are stream or the session of supporting LR data and non-LR data transmission capabilities; After confirming that according to said LR indication information said stream or session be to have the stream or session of supporting LR data and non-LR data transmission capabilities; According to the LR charging policy is that said stream or session distribute two quotas or a quota; A quota in said two quotas is the corresponding quota of LR data in said stream or the session; Another quota is the corresponding quota of non-LR data in said stream or the session; A said quota is any in the following quota, comprising: the corresponding total quota of quota, said stream or session that rate the higher person is corresponding in quota, said LR data and the non-LR data of said non-LR data correspondence; Said two quotas or a quota of distributing are associated under said stream or the session; And send to said prepaid accounting equipment 1202, so that said prepaid accounting equipment 1202 carries out accounting processing according to said two quotas or a quota to LR data in said stream or the session and non-LR data.
Prepaid accounting equipment 1202; Be used for sending first quota request message to said prepaid server 1201; The LR indication information that comprises said stream or session in said first quota request message is so that prepaid server 1201 is stream or session allocated quotas based on said LR indication information; Receive two quotas or a quota that said prepaid server 1201 is sent for said stream or session distribution; A quota in said two quotas is the corresponding quota of LR data in said stream or the session; Another quota is the corresponding quota of non-LR data in said stream or the session; A said quota is any in the following quota, comprising: the corresponding total quota of quota, said stream or session that rate the higher person is corresponding in quota, said LR data and the non-LR data of said non-LR data correspondence; Based on said two quotas or a quota non-LR data and LR data in said stream or the session data are carried out accounting processing.
Here need to prove; The specific descriptions of other functions of the function device in this payment system; Can reference implementation the corresponding description of apparatus among example 1, embodiment 2, embodiment 3, embodiment 4 and the embodiment 6, the embodiment of the invention will repeat no more to this.
During the present invention implements; For not only having the LR data but also having the stream or the session of non-LR data; When this stream of form through pre-payment or session are chargeed; Through distributing respectively and LR data and the corresponding quota of non-LR data for stream or session, be the corresponding quota of rate the higher person in the corresponding quota of said non-LR data or said LR data and the non-LR data perhaps through distribute a quota for this stream or session, and in the mode that finishes to flow or the charging of convection current or session is handled during session charging; The processing that LR data and non-LR data are chargeed respectively in realization convection current or the session; The processing that LR data and non-LR data are chargeed respectively in realization convection current or the session realizes distinguishing in same stream or the session charging respectively of LR data and non-LR data, thereby satisfies the demand of accurate flowmeter expense.
Embodiment 9
The embodiment of the invention provides a kind of back pay stream or session statistics equipment, and is shown in figure 20, and pay stream or session statistics equipment of said back comprises: first transmitting element 1301, first receiving element 1302, first processing unit 1303 and second transmitting element 1304.
First transmitting element 1301; Be used for backward that payment server is sent stream or session charging begins request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session; Be used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities, so that said back payment server is sent as said stream or session distribution service stream identification to said back paying stream or session statistics equipment.
First receiving element 1302 is used to receive the business datum traffic identifier for said stream or session distribution that said back payment server is sent; What said back payment server was sent is the business datum traffic identifier that said stream or session distribute, and comprises a business datum traffic identifier or two business datum traffic identifier; It is two chargeable session corresponding service stream identification that said stream or session distribute that said two business data flows are designated said back payment server, and it is the chargeable session corresponding service stream identification that said stream or session distribute that a said business data flow is designated said back payment server.
First processing unit 1303; Be used for business datum traffic identifier for said stream or session distribution according to 1302 receptions of said first receiving element; Write down the information of local route LR data and non-LR data in said stream or the session, and generate said stream or the corresponding usage data record of session according to said data message.
Second transmitting element 1304; The said usage data record of the information that comprises said stream or session LR data and non-LR data that is used for said first processing unit 1303 is obtained sends to said back payment server, so that said back payment server is carried out accounting processing according to said usage data record to LR data in said stream or the session and non-LR data.
Further, of Figure 21, said first processing unit 1303 comprises: first processing module 13031 and second processing module 13032.Said first processing module 13031 and second processing module 13032 can be distinguished individualism, also can exist simultaneously, and the embodiment of the invention does not limit this.
First processing module 13031; Be used for when said first receiving element 1302 receives business datum traffic identifier of said stream or session correspondence; Write down the information of LR data and non-LR data in said stream or the session; Information according to said LR data and non-LR data; Generate a corresponding usage data record of said stream or session, comprise LR data and the information of non-LR data in said stream or the session in the said usage data record, the information of said LR data and non-LR data is respectively with the differentiation of two packet data streams signs.Wherein, Said two packet data streams are designated two stream of packets signs that are subordinated to this business datum traffic identifier; It can be that the back payment server is distributed; And be included in and send non-back pay stream or session statistics equipment in the beginning response message that charges, also can pay stream or session statistics equipment local distribution in the back, the embodiment of the invention does not limit this.
Second processing module 13032; Be used for when said first receiving element 1302 receives two business datum traffic identifier of said stream or session correspondence; The information of LR data and non-LR data in recorded stream or the session; According to the information of said LR data and non-LR data, generate and said LR data and two corresponding respectively usage data records of non-LR data, said two usage data records are distinguished with said two business data flows sign.
The embodiment of the invention also provides a kind of back payment server, and is shown in figure 22, and said back payment server comprises: first receiving element 1401, allocation units 1402, first transmitting element 1403, second receiving element 1404 and first charging processing unit 1405.
First receiving element 1401; Be used to receive stream or the session charging that the back paying is flowed or session statistics equipment sends and begin request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session, are used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities.
Allocation units 1402; Be used for according to the said LR indication information that said first receiving element 1401 receives confirm said stream or session be have the stream or session of supporting LR data and non-LR data transmission capabilities after, be said stream or session distribution service stream identification; Saidly comprise two business datum traffic identifier or a business datum traffic identifier for said stream or session distribution service stream identification; It is two chargeable session corresponding service stream identification that said stream or session distribute that said two business data flows are designated said back payment server, and it is the chargeable session corresponding service stream identification that said stream or session distribute that a said business data flow is designated said back payment server.Wherein, Said allocation units 1401 are that said stream or session distribute a business datum traffic identifier or two business datum traffic identifier; Specifically can for: when said back payment server is said stream or session when distributing two chargeable session, be that said stream or session distribute two business datum traffic identifier; When said back payment server is said stream or chargeable session of session distribution, be that said stream or session distribute a business datum traffic identifier.
First transmitting element 1403; Be used for the business datum traffic identifier that said allocation units 1402 distribute for said stream or session is sent to said back pay stream or session statistics equipment; Stream or session statistics equipment are according to being the business datum traffic identifier that said stream or session distribute so that pay in said back; Write down the information of LR data and non-LR data in said stream or the session, and generate said stream or the corresponding usage data record of session according to said data message.
Second receiving element 1404 is used to receive said back said stream or the corresponding usage data record of session that stream or session statistics equipment sends of paying, and said usage data record comprises the information of LR data and non-LR data in said stream or the session.
First charging processing unit 1405 is used for the said usage data record according to 1404 receptions of said second receiving element, and LR data in said stream or the session and non-LR data are carried out accounting processing.
The embodiment of the invention also provides a kind of back charging system, and is shown in figure 23, and said back charging system comprises: pay and flow or session statistics equipment 1501 and back payment server 1502 in the back.
Pay and flow or session statistics equipment 1501 in the back; Be used for backward that payment server 1502 is sent stream or session charging begins request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session; Be used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities, so that said back payment server 1502 is sent as said stream or session distribution services stream identification to said back paying stream or session statistics equipment 1501; What receive payment server 1502 transmissions of said back is the business datum traffic identifier that said stream or session distribute; Be based upon the business datum traffic identifier that said stream or session distribute, write down the information of LR data and non-LR data in said stream or the session, and generate said stream or the corresponding usage data record of session based on said data message; The usage data record of the information of LR data in said stream or the session and non-LR data is sent to said back payment server 1502, so that said back payment server 1502 is carried out accounting processing based on said usage data record to LR data in said stream or the session and non-LR data;
Back payment server 1502 is used to receive stream or the session charging that the back paying is flowed or session statistics equipment 1501 sends and begins request message, and said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session; Based on said LR indication information confirm said stream or session be have the stream or session of supporting LR data and non-LR data transmission capabilities after, be said stream or session distribution services stream identification; To send to said back paying stream or session statistics equipment 1501 for the business datum traffic identifier of said stream or session distribution; Stream or session statistics equipment 1501 are based upon the business datum traffic identifier of said stream or session distribution so that pay in said back; Write down the information of LR data and non-LR data in said stream or the session, and generate said stream or the corresponding usage data record of session based on said data message; Receive said back said stream or the corresponding usage data record of session that stream or session statistics equipment 1501 sends of paying, said usage data record comprises the information of LR data and non-LR data in said stream or the session; Based on said usage data record LR data in said stream or the session and non-LR data are carried out accounting processing.
Here need to prove, the specific descriptions of other functions of the function device in this payment system, can reference implementation the corresponding description of apparatus among example 5, embodiment 6 and the embodiment 8, the embodiment of the invention will repeat no more to this.
During the present invention implements; For not only having the LR data but also having the stream or the session of non-LR data; When the form of paying through the back is carried out accounting processing to said stream or session,, realize the processing that LR data and non-LR data are chargeed respectively in convection current or the session through reporting the usage data record of the information that comprises LR data and non-LR data in this stream or the session; Realize distinguishing the charging respectively of LR data and non-LR data in logical stream or the session, thereby satisfy the demand of accurate flowmeter expense.
Embodiment 10
The embodiment of the invention provides a kind of back pay stream or session statistics equipment, and is shown in figure 24, and pay stream or session statistics equipment of said back comprises: the 3rd transmitting element 1601, second receiving element 1602, second processing unit 1603 and the 4th transmitting element 1604.
The 3rd transmitting element 1601; Be used for backward that payment server is sent stream or session charging begins request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session; Be used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities, so that said back payment server is sent LR data and the corresponding charging coefficient of non-LR data in said stream or the session to said back paying stream or session statistics equipment.
Second receiving element 1602 is used for receiving said stream or session LR data and/or each self-corresponding charging coefficient of non-LR data that said back payment server is sent.
Second processing unit 1603; Be used for according to said stream or session LR data and the corresponding charging coefficient of non-LR data; Calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, generate said stream or the corresponding usage data record of session according to said station message recording information.
The 4th transmitting element 1604; Be used for the usage data record that comprises the corresponding station message recording information of said stream or session LR data and non-LR data that said second processing unit 1603 obtains is sent to said back payment server, so that said back payment server is carried out accounting processing according to said usage data record to LR data in said stream or the session and non-LR data.
The embodiment of the invention provides a kind of back payment server, and shown in figure 25, this back payment server comprises: the 3rd receiving element 1701, second transmitting element 1702, the 4th receiving element 1703 and second charging processing unit 1704.
The 3rd receiving element 1701; Be used to receive stream or the session charging that the back paying is flowed or session statistics equipment sends and begin request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session, are used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities.
Second transmitting element 1702; Be used for according to the said LR indication information that said the 3rd receiving element 1701 receives confirm said stream or session be have the stream or session of supporting LR data and non-LR data transmission capabilities after; LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data are sent to said back paying stream or session statistics equipment; Stream or session statistics equipment are according to LR data in said stream or the session and the corresponding charging coefficient of non-LR data so that pay in said back; Calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, generate said stream or the corresponding usage data record of session according to said station message recording information.
Wherein, said second transmitting element 1702 sends to said back paying stream or session statistics equipment with LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data, comprising:
Corresponding charging coefficient and the corresponding charging coefficient of non-LR data of LR data in said stream or session; When not using as default, charging coefficient that LR data in said stream or the session are corresponding and the corresponding charging coefficient of non-LR data send to said back paying stream or session statistics equipment together; Perhaps
When the corresponding charging coefficient of LR data uses as default in said stream or session, the corresponding charging coefficient of non-LR data in said stream or the session is sent to said back pay stream or session statistics equipment; Perhaps
When the corresponding charging coefficient of non-LR data used as default in said stream or session, the charging coefficient that LR data in said stream or the session are corresponding sent to said back pay stream or session statistics equipment.
The 4th receiving element 1703 is used to receive the said stream of said back paying stream or the transmission of session statistics equipment or the usage data record of session correspondence, and said usage data record comprises LR data and the corresponding station message recording information of non-LR data in said stream or the session.
Second charging processing unit 1704 is used for according to the said usage data record that said the 4th receiving element 1703 receives the LR data and the non-LR data of said stream or session being carried out accounting processing.
An alternative embodiment of the invention also provides a kind of back charging system, and shown in figure 26, this system comprises: pay and flow or session statistics equipment 1801 and back payment server 1802 in the back.
Pay and flow or session statistics equipment 1801 in the back; Be used for backward that payment server 1802 is sent stream or session charging begins request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session; Be used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities, so that said back payment server 1802 is sent LR data and the corresponding charging coefficient of non-LR data in said stream or the session to said back paying stream or session statistics equipment; Receive LR data and/or each self-corresponding charging coefficient of non-LR data in said stream that said back payment server 1802 sends or the session; According to LR data in said stream or the session and the corresponding charging coefficient of non-LR data, calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, generate said stream or the corresponding usage data record of session according to said station message recording information; The usage data record that will comprise the corresponding station message recording information of LR data and non-LR data in said stream or the session sends to said back payment server 1802, so that said back payment server 1802 is carried out accounting processing according to said usage data record to LR data in said stream or the session and non-LR data.
Back payment server 1802 is used to receive stream or the session charging that the back paying is flowed or session statistics equipment 1801 sends and begins request message, and said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session; Based on said LR indication information confirm said stream or session be have the stream or session of supporting LR data and non-LR data transmission capabilities after; LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data are sent to said back paying stream or session statistics equipment 1801; Stream or session statistics equipment 1801 are based on LR data in said stream or the session and the corresponding charging coefficient of non-LR data so that pay in said back; Calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, generate said stream or the corresponding usage data record of session based on said station message recording information; Receive said back said stream or the corresponding usage data record of session that stream or session statistics equipment 1801 sends of paying, said usage data record comprises LR data and the corresponding station message recording information of non-LR data in said stream or the session; Based on said usage data record LR data in said stream or the session and non-LR data are carried out accounting processing.
Here need to prove, the specific descriptions of other functions of the function device in this payment system, can reference implementation the corresponding description of apparatus among example 5, embodiment 7 and the embodiment 9, the embodiment of the invention will repeat no more to this.
During the present invention implements; For not only having the LR data but also having the stream or the session of non-LR data; When the form of paying through the back was carried out accounting processing to said stream or session, the usage data record of the information through reporting the LR data that comprise in this stream or the session and non-LR data was realized the processing that LR data and non-LR data are chargeed respectively in convection current or the session; Realize distinguishing in same stream or the session charging respectively of LR data and non-LR data, thereby satisfy the demand of accurate flowmeter expense.
Wherein, Here need to prove; Because the embodiment of the invention all is the processing to the charge on traffic pattern, for the duration based accounting pattern, can provide some of the recommendations; For the duration based accounting pattern; Prepaid server or back payment server can be known the LR state that this is professional in first quota request message of chargeing, prepaid server can be according to this information of state recording and according to the direct allocated quotas of strategy, and these allocated quotas are to have considered to give distribution behind the LR; For example can with before the LR related streams that presets or the rate of session data handle, back payment server calculates at last customer charge according to last this LR related streams of record or session information and charging policy (being the special rate of LR service part).
Here need to prove that the embodiment of the invention can expand to other modular systems, like 3GPP/2 etc., only is the variation between physical name in other system, and other processing procedure can be used for reference.Other have carried out expansion based on this principle and have all belonged to the scope that the embodiment of the invention is protected.
Through the description of above execution mode, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product, and this computer software product is stored in the storage medium that can read, like the floppy disk of computer; Hard disk or CD etc.; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of said claim.

Claims (42)

1. the charging method based on stream or session traffic is characterized in that, comprising:
Prepaid server receives first quota request message that prepaid accounting equipment sends; The local route LR indication information that comprises stream or session in said first quota request message is used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities;
After confirming that according to said LR indication information said stream or session be to have the stream or session of supporting LR data and non-LR data transmission capabilities; According to the LR charging policy is that said stream or session distribute two quotas or a quota; A quota in said two quotas is the corresponding quota of LR data in said stream or the session; Another quota is the corresponding quota of non-LR data in said stream or the session; A said quota is any in the following quota, comprising: the corresponding total quota of quota, said stream or session that rate the higher person is corresponding in quota, said LR data and the non-LR data of said non-LR data correspondence;
Said two quotas or a quota of distributing are associated under said stream or the session; And send to said prepaid accounting equipment, so that said prepaid accounting equipment carries out accounting processing according to said two quotas or a quota to LR data in said stream or the session and non-LR data.
2. method according to claim 1; It is characterized in that, when a quota of distributing for said stream or session is the corresponding total quota of said stream or session, a quota of said distribution is associated under said stream or the session; And send to said prepaid accounting equipment, also comprise:
LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data are sent to said prepaid accounting equipment, so that said prepaid accounting equipment carries out accounting processing according to a said quota and said charging coefficient to LR data in said stream or the session and non-LR data.
3. method according to claim 2 is characterized in that, each self-corresponding charging coefficient of LR data and/or non-LR data sends to said prepaid accounting equipment in said stream or session, comprising:
Corresponding charging coefficient and the corresponding charging coefficient of non-LR data of LR data in said stream or session; When not using as default, charging coefficient that LR data in said stream or the session are corresponding and the corresponding charging coefficient of non-LR data send to said prepaid accounting equipment together; Perhaps
When the corresponding charging coefficient of LR data uses as default in said stream or session, the corresponding charging coefficient of non-LR data in said stream or the session is sent to said prepaid accounting equipment; Perhaps
When the corresponding charging coefficient of non-LR data used as default in said stream or session, the charging coefficient that LR data in said stream or the session are corresponding sent to said prepaid accounting equipment.
4. method according to claim 1 is characterized in that, this method also comprises:
Receive second quota request message that said pre-payment equipment sends; Said second quota request message is when the quota thresholding is scheduled in the flow arrival of LR data and/or non-LR data in the said stream of said prepaid accounting device statistics or the session; Or when the actual total flow of LR data and non-LR data in the said stream of said prepaid accounting device statistics or the session arrives predetermined quota thresholding, the request message that sends to said prepaid server;
According to user balance information, said LR charging policy and said second quota request message, be the new quota of non-LR data allocations in LR data in said stream or the session and/or said stream or the session;
Said new quota is associated under said stream or the session, and sends to said prepaid accounting equipment, so that said prepaid accounting equipment carries out accounting processing according to said new quota to LR data in said stream or the session and non-LR data.
5. method according to claim 4 is characterized in that, said second quota request message comprises any in the following information at least, and said information comprises:
The corresponding quota request information of LR data or non-LR data in said stream or the session; Corresponding quota request information and the corresponding quota request information of non-LR data of LR data in said stream or the session; The corresponding quota request information of the information of LR data and said stream or session total flow in said stream or the session, or said stream or session in the corresponding quota request information of information and said stream or the session total flow of non-LR data, or said stream or session in information and the information of non-LR data of LR data, total quota request information that the actual total flow of said stream or session and said stream or session are corresponding;
Wherein, When said pre-payment equipment receives said two quotas; And when the flow of said LR data or non-LR data arrives each self-corresponding predetermined quota thresholding of said LR data or non-LR data, comprise the corresponding quota request information of LR data or non-LR data in said second quota request message; Perhaps
When said pre-payment equipment receives said two quotas; And when arriving each self-corresponding predetermined quota thresholding of said LR data or non-LR data for one in the flow of the flow of said LR data and non-LR data, comprise corresponding quota request information of LR data and the corresponding quota request information of non-LR data in said second quota request message; Perhaps
When said pre-payment equipment receives a said quota when being the quota that rate the higher person is corresponding in the corresponding quota of non-LR data or said LR data and the non-LR data; And when the total flow of LR data and non-LR data arrives the corresponding predetermined quota threshold value of said total flow in said stream or the session; Comprise in the following information any in said second quota request message, comprising: the information of LR data and the information of non-LR data in corresponding quota request information, said stream or the session of the information of non-LR data and said stream or session total flow in corresponding quota request information, said stream or the session of the information of LR data and said stream or session total flow in said stream or the session; Perhaps
When said pre-payment equipment receives a said quota when being the corresponding total quota of said stream or session; And when the actual total flow of LR data and non-LR data arrives said predetermined quota thresholding in said stream or the session, comprise actual total flow and the said stream or the corresponding total quota request information of session of said stream or session in the said second quota request information.
6. method according to claim 5, said according to user balance information, said LR charging policy and said second quota request message, be the new quota of non-LR data allocations in LR data in said stream or the session and/or said stream or the session, comprising:
When comprising the corresponding quota request information of LR data in said stream or the session or non-LR data in said second quota request message,, be LR data in said stream or the session or the new quota of non-LR data allocations according to user balance information and said LR charging policy; Or
When comprising the corresponding quota request information of corresponding quota request information of LR data in said stream or the session and non-LR data in said second quota request message; According to user balance information and said LR charging policy, for LR data in said stream or the session and non-LR data are distributed new quota respectively; Or
When comprising in the following information any in said second quota request message; Information according in said LR charging policy and said second quota request message is handled the charging of said stream or session; And renewal user balance information; According to user balance information of upgrading and said LR charging policy is that said stream or session distribute a new quota, and a new quota of said distribution is the corresponding quota of rate the higher person in the corresponding quota of non-LR data or LR data and the non-LR data; Said information comprises: the information of LR data and the information of non-LR data in corresponding quota request information, said stream or the session of the information of non-LR data and said stream or session total flow in corresponding quota request information, said stream or the session of the information of LR data and said stream or session total flow in said stream or the session; Or
When the corresponding total quota request information of the actual total flow that comprises said stream or session in said second quota request message and said stream or session,, be that said stream or session distribute a new total quota based on user balance information and said LR charging policy.
7. method according to claim 6; It is characterized in that; At user balance information and said LR charging policy according to renewal; Be that said stream or session distribute a new quota, a new quota of said distribution is before the quota that rate the higher person is corresponding in the corresponding quota of non-LR data or LR data and the non-LR data, and this method also comprises:
Whether the user balance information of judging said renewal can be said stream or session allocated quotas once more;
If the user balance information of said renewal can be said stream or session allocated quotas once more, then carry out said user balance information and said LR charging policy, for a quota is redistributed in said stream or session according to said renewal.
8. according to each described method in the claim 1 to 7, it is characterized in that this method also comprises:
When said stream or session termination or user balance deficiency; Receive the stream of said prepaid accounting equipment transmission or the charging of session and stop request message; Said charging stops comprising in the request message any in the following information; Comprise: the information of LR data and non-LR data in said stream or the session; The flow of LR data and total flow information in said stream or the session, or said stream or session in non-LR data flow and total flow information, or said stream or session in flow and the flow information of non-LR data of LR data, the actual total flow information of said stream or session;
Wherein, when being said stream or session when distributing two quotas, said charging stops comprising in the request message information of LR data and non-LR data in said stream or the session;
When a quota for said stream or session distribution is the quota that rate the higher person is corresponding in the corresponding quota of non-LR data or said LR data and the non-LR data; Said charging stops comprising in the request message in the following information any, comprising: the flow of LR data and the flow information of non-LR data in the flow of non-LR data and total flow information, said stream or the session in the flow of LR data and total flow information, said stream or the session in said stream or the session;
When a quota for said stream or session distribution was total quota of said stream or session correspondence, said charging stopped comprising said stream or the actual total flow information of session in the request message;
Stop the information in the request message based on said LR charging policy and said charging, the charging of said stream or session is handled, and upgrade user balance information;
Send the termination response of chargeing to said prepaid accounting equipment.
9. the charging method based on stream or session traffic is characterized in that, comprising:
Prepaid accounting equipment sends first quota request message to prepaid server; The local route LR indication information that comprises stream or session in said first quota request message; Be used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities, so that prepaid server is stream or session allocated quotas based on said LR indication information;
Receive two quotas or a quota that said prepaid server is sent for said stream or session distribution; A quota in said two quotas is the corresponding quota of LR data in said stream or the session; Another quota is the corresponding quota of non-LR data in said stream or the session; A said quota is any in the following quota, comprising: the corresponding total quota of quota, said stream or session that rate the higher person is corresponding in quota, said LR data and the non-LR data of said non-LR data correspondence;
According to said two quotas or a quota non-LR data and LR data in said stream or the session data are carried out accounting processing.
10. based on the described method of claim 9, it is characterized in that when a quota for said stream or session distribution of the said prepaid server transmission that receives was total quota of said stream or session correspondence, this method also comprised:
Receive LR data and each self-corresponding charging coefficient of non-LR data in said stream that said prepaid server sends or the session;
According to LR data and each self-corresponding charging coefficient of non-LR data in the corresponding total quota of said stream or session and said stream or the session, non-LR data and LR data in said stream or the session data are carried out accounting processing.
11. method according to claim 10; It is characterized in that; Said according to LR data and each self-corresponding charging coefficient of non-LR data in the corresponding total quota of said stream or session and said stream or the session; Non-LR data and LR data in said stream or the session data are carried out accounting processing, comprising:
Add up the flow of LR data and non-LR data in said stream or the session, confirm the flow of transmission LR data and non-LR data;
Flow with transmission LR data and non-LR data multiply by each self-corresponding charging coefficient of said LR data and non-LR data respectively, and with the results added that calculates, obtains the actual total flow of said stream or session;
Whether the actual total flow of judging said stream or session reaches predetermined quota thresholding;
If the actual total flow of said stream or session reaches predetermined quota thresholding; Then send second quota request message, comprise actual total flow and the said stream or the corresponding total quota request information of session of stream or session in said second quota request message to said prepaid server.
12. method according to claim 9; It is characterized in that; When receiving two quotas or quota that said prepaid server is sent for said stream or session distribution; And when a said quota was the quota that rate the higher person is corresponding in the corresponding quota of said non-LR data or said LR data and the non-LR data, this method also comprised:
Add up the flow of LR data and non-LR data in said stream or the session;
When the quota thresholding is scheduled in the flow arrival of LR data and/or non-LR data in said stream of adding up or the session, send second quota request message to said prepaid server.
13. method according to claim 12; It is characterized in that; The flow of LR data and non-LR data in said stream of said statistics or the session; When the quota thresholding is scheduled in the flow arrival of LR data and/or non-LR data in said stream of adding up or the session, send second quota request message to said prepaid server, comprising:
When receiving said two quotas; Add up the flow of LR data in said stream or the session and the flow of non-LR data respectively; When the flow of said LR data or non-LR data arrives each self-corresponding predetermined quota thresholding of said LR data or non-LR data, saidly send second quota request message to said prepaid server and be: send second quota request message that comprises LR data in said stream or the session or the corresponding quota request information of non-LR data to said prepaid server; Perhaps
When receiving said two quotas; Add up the flow of LR data in said stream or the session and the flow of non-LR data respectively; When arriving each self-corresponding predetermined quota thresholding of said LR data or non-LR data for one in the flow of the flow of said LR data and non-LR data, saidly send second quota request message to said prepaid server and be: send to said prepaid server and comprise corresponding quota request information of LR data in said stream or the session and second quota request message of the corresponding quota request information of non-LR data; Perhaps
When receiving a said quota; Add up the total flow of LR data and non-LR data in said stream or the session; When said total flow arrives the corresponding predetermined quota threshold value of said total flow; Saidly send second quota request message to said prepaid server and be: send second quota request message to said prepaid server; Comprise in the following information any in said second quota request message, comprising: the information of LR data and the information of non-LR data in corresponding quota request information, said stream or the session of the information of non-LR data and said stream or session total flow in corresponding quota request information, said stream or the session of the information of LR data and said stream or session total flow in said stream or the session.
14. the charging method based on stream or session traffic is characterized in that, comprising:
The back pay stream or session statistics equipment backward payment server send stream or session charging begins request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session; Be used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities, so that said back payment server is sent as LR data and the corresponding charging coefficient of non-LR data in said stream or session distribution service stream identification or said stream or the session to said back paying stream or session statistics equipment;
Said back pays that stream or session statistics equipment receives that said back payment server sends be LR data and/or each self-corresponding charging coefficient of non-LR data in business datum traffic identifier or the said stream or the session of said stream or session distribution;
Said back paying stream or session statistics equipment are according to being the business datum traffic identifier that said stream or session distribute; Write down the information of LR data and non-LR data in said stream or the session; And generate the corresponding usage data record of said stream or session according to said data message; Perhaps according to LR data in said stream or the session and each self-corresponding charging coefficient of non-LR data; Calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, generate said stream or the corresponding usage data record of session according to said station message recording information;
Said usage data record is sent to said back payment server, so that said back payment server is carried out accounting processing according to said usage data record to LR data in said stream or the session and non-LR data.
15. method according to claim 14 is characterized in that, what said back payment server was sent is the business datum traffic identifier that said stream or session distribute, and comprises a business datum traffic identifier or two business datum traffic identifier;
It is two chargeable session corresponding service stream identification that said stream or session distribute that said two business data flows are designated said back payment server, and it is the chargeable session corresponding service stream identification that said stream or session distribute that a said business data flow is designated said back payment server.
16. method according to claim 15; It is characterized in that; Said back paying stream or session statistics equipment are according to being the business datum traffic identifier that said stream or session distribute; Write down the information of LR data and non-LR data in said stream or the session, and generate said stream or the corresponding usage data record of session, comprising according to said data message:
When pay stream or session statistics equipment of said back receives the business data flow that distributes for said stream or session when being designated a business datum traffic identifier; The information of LR data and non-LR data in said back paying stream or session statistics said stream of equipment records or the session; Information based on said LR data and non-LR data; Generate a corresponding usage data record of said stream or session; Comprise LR data and the information of non-LR data in said stream or the session in the said usage data record, the information of said LR data and non-LR data is distinguished with two packet data streams signs respectively;
When pay stream or session statistics equipment of said back receives the business data flow that distributes for said stream or session when being designated two business datum traffic identifier; The information of LR data and non-LR data in said back paying stream or session statistics said stream of equipment records or the session; Information according to said LR data and non-LR data; Generate and said LR data and two corresponding respectively usage data records of non-LR data, said two usage data records are distinguished with said two business data flows sign.
17. the charging method based on stream or session traffic is characterized in that, comprising:
Stream or session charging that back payment server receives back paying stream or the transmission of session statistics equipment begin request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session, are used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities;
Said back payment server based on said LR indication information confirm said stream or session be have the stream or session of supporting local route LR data and non-LR data transmission capabilities after; Send to said back pay stream or session statistics equipment for said stream or session distribution services stream identification and with said stream or session corresponding service stream identification; Stream or session statistics equipment are based on said stream or session corresponding service stream identification so that pay in said back; Write down the information of LR data and non-LR data in said stream or the session, and generate said stream or the corresponding usage data record of session based on said data message; Or LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data sent to said back pay stream or session statistics equipment; Stream or session statistics equipment are based on LR data in said stream or the session and each self-corresponding charging coefficient of non-LR data so that pay in said back; Calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, generate said stream or the corresponding usage data record of session based on said station message recording information;
Receive said stream or the corresponding usage data record of session that said back paying stream or session statistics equipment send, and LR data in said stream or the session and non-LR data are carried out accounting processing based on said usage data record.
18. method according to claim 17 is characterized in that, said LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data is sent to said back pay stream or session statistics equipment, comprising:
Corresponding charging coefficient and the corresponding charging coefficient of non-LR data of LR data in said stream or session; When not using as default, charging coefficient that LR data in said stream or the session are corresponding and the corresponding charging coefficient of non-LR data send to said back paying stream or session statistics equipment together; Perhaps
When the corresponding charging coefficient of LR data uses as default in said stream or session, only the corresponding charging coefficient of non-LR data in said stream or the session is sent to said back pay stream or session statistics equipment; Perhaps
When the corresponding charging coefficient of non-LR data used as default in said stream or session, only that LR data in said stream or the session are corresponding charging coefficient sent to said back pay stream or session statistics equipment.
19. method according to claim 17 is characterized in that, after said back payment server confirms that according to said LR indication information said stream or session comprise LR data and non-LR data, is said stream or session distribution service stream identification, comprising:
Be said stream or session two business datum traffic identifier of distribution or a business datum traffic identifier; It is two chargeable session corresponding service stream identification that said stream or session distribute that said two business data flows are designated said back payment server, and it is the chargeable session corresponding service stream identification that said stream or session distribute that a said business data flow is designated said back payment server.
20. a prepaid server is characterized in that, comprising:
First receiving element; Be used to receive first quota request message that prepaid accounting equipment sends; The local route LR indication information that comprises stream or session in said first quota request message is used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities;
First allocation units; Be used for after the said LR indication information that receives according to said first receiving element confirms that said stream or session are to have the stream or session of supporting LR data and non-LR data transmission capabilities; According to the LR charging policy is that said stream or session distribute two quotas or a quota; A quota in said two quotas is the corresponding quota of LR data in said stream or the session; Another quota is the corresponding quota of non-LR data in said stream or the session; A said quota is any in the following quota, comprising: the corresponding total quota of quota, said stream or session that rate the higher person is corresponding in quota, said LR data and the non-LR data of said non-LR data correspondence;
First transmitting element; Be used for said two quotas or a quota that said first allocation units distribute are associated under said stream or the session; And send to said prepaid accounting equipment, so that said prepaid accounting equipment carries out accounting processing according to said two quotas or a quota to LR data in said stream or the session and non-LR data.
21. prepaid server according to claim 20; It is characterized in that; Said first transmitting element also is used for; When a quota for said stream or session distribution is total quota of said stream or session correspondence; LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data are sent to said prepaid accounting equipment, so that said prepaid accounting equipment carries out accounting processing according to a said quota and said charging coefficient to LR data in said stream or the session and non-LR data.
22. prepaid server according to claim 21 is characterized in that, said first transmitting element sends to said prepaid accounting equipment with LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data and comprises:
Corresponding charging coefficient and the corresponding charging coefficient of non-LR data of LR data in said stream or session; When not using as default, charging coefficient that LR data in said stream or the session are corresponding and the corresponding charging coefficient of non-LR data send to said prepaid accounting equipment together; Perhaps
When the corresponding charging coefficient of LR data uses as default in said stream or session, the corresponding charging coefficient of non-LR data in said stream or the session is sent to said prepaid accounting equipment; Perhaps
When the corresponding charging coefficient of non-LR data used as default in said stream or session, the charging coefficient that LR data in said stream or the session are corresponding sent to said prepaid accounting equipment.
23. prepaid server according to claim 20 is characterized in that, also comprises:
Second receiving element; Be used to receive second quota request message that said pre-payment equipment sends; Said second quota request message is when the quota thresholding is scheduled in the flow arrival of LR data and/or non-LR data in the said stream of said prepaid accounting device statistics or the session; Or when the actual total flow of LR data and non-LR data in the said stream of said prepaid accounting device statistics or the session arrives said predetermined quota thresholding, the request message that sends to said prepaid server;
Second allocation units; Be used for said second quota request message that receives based on user balance information, said LR charging policy and said second receiving element, be the new quota of non-LR data allocations in LR data in said stream or the session and/or said stream or the session;
Second transmitting element; Be used for said new quota is associated under said stream or the session; And send to said prepaid accounting equipment, so that said prepaid accounting equipment carries out accounting processing according to said new quota to LR data in said stream or the session and non-LR data.
24. prepaid server according to claim 23 is characterized in that, comprises in the following information any in said second quota request message, said information comprises:
The corresponding quota request information of LR data or non-LR data in said stream or the session; Corresponding quota request information and the corresponding quota request information of non-LR data of LR data in said stream or the session; The corresponding quota request information of the information of LR data and said stream or session total flow in said stream or the session, or said stream or session in the corresponding quota request information of information and said stream or the session total flow of non-LR data, or said stream or session in information and the information of non-LR data of LR data, total quota request information that the actual total flow of said stream or session and said stream or session are corresponding;
Wherein, When said pre-payment equipment receives said two quotas; And when the flow of said LR data or non-LR data arrives each self-corresponding predetermined quota thresholding of said LR data or non-LR data, comprise the corresponding quota request information of LR data or non-LR data in said second quota request message; Perhaps
When said pre-payment equipment receives said two quotas; And when arriving each self-corresponding predetermined quota thresholding of said LR data or non-LR data for one in the flow of the flow of said LR data and non-LR data, comprise corresponding quota request information of LR data and the corresponding quota request information of non-LR data in said second quota request message; Perhaps
When said pre-payment equipment receives a said quota when being the quota that rate the higher person is corresponding in the corresponding quota of non-LR data or said LR data and the non-LR data; And when the total flow of LR data and non-LR data arrives the corresponding predetermined quota threshold value of said total flow in said stream or the session; Comprise in the following information any in said second quota request message, comprising: the information of LR data and the information of non-LR data in corresponding quota request information, said stream or the session of the information of non-LR data and said stream or session total flow in corresponding quota request information, said stream or the session of the information of LR data and said stream or session total flow in said stream or the session; Perhaps
When said pre-payment equipment receives a said quota when being the corresponding total quota of said stream or session; And when the actual total flow of LR data and non-LR data arrives said predetermined quota thresholding in said stream or the session, comprise actual total flow and the said stream or the corresponding total quota request information of session of said stream or session in the said second quota request information.
25. prepaid server according to claim 23 is characterized in that, said second allocation units comprise:
First distribution module; Be used for when said second quota request message that said second receiving element receives comprises the corresponding quota request information of LR data in said stream or the session or non-LR data; According to user balance information and said LR charging policy, be LR data in said stream or the session or the new quota of non-LR data allocations; And/or
Second distribution module; Be used for when said second quota request message that said second receiving element receives comprises the corresponding quota request information of the corresponding quota request information of LR data in said stream or the session and non-LR data; According to user balance information and said LR charging policy, for LR data in said stream or the session and non-LR data are distributed new quota respectively; And/or
Processing module; Be used for when said second quota request message that said second receiving element receives comprises in the following information any; Information according in said LR charging policy and said second quota request message is handled the charging of said stream or session, and upgrades user balance information; Said information comprises: the information of LR data and the information of non-LR data in corresponding quota request information, said stream or the session of the information of non-LR data and said stream or session total flow in corresponding quota request information, said stream or the session of the information of LR data and said stream or session total flow in said stream or the session;
The 3rd distribution module; The user balance information of the renewal that is used for obtaining according to said processing module and said LR charging policy are that said stream or session distribute a new quota, and a new quota of said distribution is the corresponding quota of rate the higher person in the corresponding quota of non-LR data or non-LR data and the non-LR data; And/or
The 4th distribution module; Be used for when said second quota request message that said second receiving element receives comprises the corresponding total quota request information of actual total flow and said stream or the session of said stream or session; According to user balance information and said LR charging policy, be said stream or new total quota of session distribution.
26. prepaid server according to claim 25 is characterized in that, when said second allocation units comprised said processing module and said the 3rd distribution module, said second allocation units also comprised:
Judge module; Said user balance information and the said LR charging policy that is used in the renewal that said the 3rd distribution module is obtained based on said processing module is before said stream or session distribute a new quota, judges whether the user balance information of said renewal can be said stream or session allocated quotas once more;
Said the 3rd distribution module also is used for; Judging that at said judge module the user balance information of said renewal can be once more during for said stream or session allocated quotas, is that a quota is redistributed in said stream or session according to the user balance information and the said LR charging policy of said renewal.
27. according to each described prepaid server in the claim 20 to 26, it is characterized in that, also comprise:
The 3rd receiving element; Be used for when said stream or session termination or user balance deficiency; Receive the said stream of said prepaid accounting equipment transmission or the charging of session and stop request message; Said charging stops comprising in the request message any in the following information, comprising: the information of LR data and non-LR data in said stream or the session; The flow of LR data and total flow information in said stream or the session, or said stream or session in non-LR data flow and total flow information, or said stream or session in flow and the flow information of non-LR data of LR data, the total actual flow information of said stream or session;
Wherein, when being said stream or session when distributing two quotas, said charging stops comprising in the request message information of LR data and non-LR data in said stream or the session;
When a quota for said stream or session distribution is the quota that rate the higher person is corresponding in the corresponding quota of non-LR data or said LR data and the non-LR data; Said charging stops comprising in the request message in the following information any, comprising: the flow of LR data and the flow information of non-LR data in the flow of non-LR data and total flow information, said stream or the session in the flow of LR data and total flow information, said stream or the session in said stream or the session;
When a quota for said stream or session distribution was total quota of said stream or session correspondence, said charging stopped comprising said stream or the actual total flow information of session in the request message;
Processing unit is used for the information based on said LR charging policy and said charging termination request message, the charging of said stream or session is handled, and upgraded user balance information;
The 3rd transmitting element is used for sending the termination response of chargeing to said prepaid accounting equipment.
28. a prepaid accounting equipment is characterized in that, comprising:
First transmitting element; Be used for sending first quota request message to prepaid server; The local route LR indication information that comprises stream or session in said first quota request message; Be used to indicate whether said stream or session are to have stream or the session of supporting LR data and non-LR data transmission capabilities, so that prepaid server is stream or session allocated quotas according to said LR indication information;
First receiving element; Be used to receive two quotas or quota that said prepaid server is sent for said stream or session distribution; A quota in said two quotas is the corresponding quota of LR data in said stream or the session; Another quota is the corresponding quota of non-LR data in said stream or the session; A said quota is any in the following quota, comprising: the corresponding total quota of quota, said stream or session that rate the higher person is corresponding in quota, said LR data and the non-LR data of said non-LR data correspondence;
First processing unit is used for according to said two quotas or a quota that said first receiving element receives the non-LR data and the LR data of said stream or session data being carried out accounting processing.
29. prepaid accounting equipment according to claim 28 is characterized in that,
Said first receiving element also is used for; When a quota of distributing for said stream or session of sending when the said prepaid server that receives is the corresponding total quota of said stream or session, receive LR data and each self-corresponding charging coefficient of non-LR data in said stream that said prepaid server sends or the session;
Said first processing unit also is used for, and according to LR data and each self-corresponding charging coefficient of non-LR data in the corresponding total quota of said stream or session and said stream or the session, non-LR data and LR data in said stream or the session data is carried out accounting processing.
30. prepaid accounting equipment according to claim 29 is characterized in that, said first processing unit comprises:
Statistical module is used for adding up the flow of said stream or session LR data and non-LR data, confirms the flow of transmission LR data and non-LR data;
Computing module; The said transmission LR data that are used for respectively said statistical module is obtained and the flow of non-LR data; Multiply by each self-corresponding charging coefficient of said LR data and non-LR data respectively, and, obtain the actual total flow of said stream or session the results added that calculates;
Judge module is used to judge whether the actual total flow of said stream or session reaches predetermined quota thresholding;
First sending module; When being used for actual total flow in said stream or session and reaching predetermined quota thresholding; Send second quota request message to said prepaid server, comprise actual total flow and the said stream or the corresponding total quota request information of session of stream or session in said second quota request message.
31. prepaid accounting equipment according to claim 28 is characterized in that, also comprises:
Statistic unit is used for adding up the flow of said stream or session LR data and non-LR data;
Second transmitting element when being used for flow when the said stream of said statistic unit statistics or session LR data and/or non-LR data and arriving predetermined quota thresholding, sends second quota request message to said prepaid server.
32. prepaid accounting equipment according to claim 31 is characterized in that, said second transmitting element comprises:
First sending module; Be used for when said first receiving element receives said two quotas; Said statistic unit is added up the flow of LR data in said stream or the session and the flow of non-LR data; When the flow of the flow of said LR data or non-LR data arrives each self-corresponding predetermined quota thresholding of said LR data or non-LR data, send second quota request message that comprises LR data in said stream or the session or the corresponding quota request information of non-LR data to said prepaid server; Perhaps
Second sending module; Be used for when said first receiving element receives said two quotas; Said statistic unit is added up the flow of LR data in said stream or the session and the flow of non-LR data; When arriving in said stream or the session each self-corresponding predetermined quota thresholding of LR data or non-LR data for one in the flow of the flow of said LR data and non-LR data, send to said prepaid server and to comprise corresponding quota request information of LR data in said stream or the session and second quota request message of the corresponding quota request information of non-LR data;
The 3rd sending module; Be used for receiving a said quota when said first receiving element; And when a said quota is the quota that rate the higher person is corresponding in the corresponding quota of said non-LR data or said LR data and the non-LR data; Said statistic unit is added up any two flows in the flow of flow and non-LR data of total flow, LR data of LR data and non-LR data in said stream or the session; When said total flow arrives the corresponding predetermined quota threshold value of said total flow; Send second quota request message to said prepaid server; Comprise in the following information any in said second quota request message, comprising: in said stream or the session the corresponding quota request information of the information of LR data and said stream or session total flow, the information of LR data and the information of non-LR data in corresponding quota request information, said stream or the session of information and said stream or the session total flow of non-LR data in said stream or the session.
Stream or session statistics equipment is characterized in that 33. pay after one kind, comprising:
First transmitting element; Be used for backward that payment server is sent stream or session charging begins request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session; Be used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities, so that said back payment server is sent as said stream or session distribution service stream identification to said back paying stream or session statistics equipment;
First receiving element is used to receive the business datum traffic identifier for said stream or session distribution that said back payment server is sent;
First processing unit; Be used for business datum traffic identifier for said stream or session distribution based on said first receiving element reception; Write down the information of LR data and non-LR data in said stream or the session, and generate said stream or the corresponding usage data record of session based on said data message;
Second transmitting element; The usage data record of the information that comprises said stream or session LR data and non-LR data that is used for said first processing unit is obtained sends to said back payment server, so that said back payment server is carried out accounting processing according to said usage data record to LR data in said stream or the session and non-LR data.
Stream or session statistics equipment is characterized in that 34. pay in back according to claim 33, and what said back payment server was sent is the business datum traffic identifier that said stream or session distribute, and comprises a business datum traffic identifier or two business datum traffic identifier;
It is two chargeable session corresponding service stream identification that said stream or session distribute that said two business data flows are designated said back payment server, and it is the chargeable session corresponding service stream identification that said stream or session distribute that a said business data flow is designated said back payment server.
Stream or session statistics equipment 35. pay in back according to claim 34 is characterized in that said first processing unit comprises:
First processing module; Be used for receiving the business data flow that distributes for said stream or session when being designated a business datum traffic identifier when said first receiving element; Write down the information of LR data and non-LR data in said stream or the session; Information according to said LR data and non-LR data; Generate a corresponding usage data record of said stream or session, comprise LR data and the information of non-LR data in said stream or the session in the said usage data record, the information of said LR data and non-LR data is respectively with the differentiation of two packet data streams signs;
Second processing module; Be used for receiving the business data flow that distributes for said stream or session when being designated two business datum traffic identifier when said first receiving element; The information of LR data and non-LR data in recorded stream or the session; According to the information of said LR data and non-LR data, generate and said LR data and two corresponding respectively usage data records of non-LR data, said two usage data records are distinguished with said two business data flows sign.
36. payment server after a kind is characterized in that, comprising:
First receiving element; Be used to receive stream or the session charging that the back paying is flowed or session statistics equipment sends and begin request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session, are used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities;
Allocation units, be used for according to the said LR indication information that said first receiving element receives confirm said stream or session be have the stream or session of supporting LR data and non-LR data transmission capabilities after, be said stream or session distribution service stream identification;
First transmitting element; Being used for said allocation units is that the business datum traffic identifier that said stream or session distribute sends to said back paying stream or session statistics equipment; Stream or session statistics equipment are based upon the business datum traffic identifier of said stream or session distribution so that pay in said back; Write down the information of LR data and non-LR data in said stream or the session, and generate said stream or the corresponding usage data record of session based on said data message;
Second receiving element is used to receive said back said stream or the corresponding usage data record of session that stream or session statistics equipment sends of paying, and said usage data record comprises the information of LR data and non-LR data in said stream or the session;
First charging processing unit is used for the said usage data record according to said second receiving element reception, and LR data in said stream or the session and non-LR data are carried out accounting processing.
37. back according to claim 36 payment server is characterized in that, after said back payment server confirms that according to said LR indication information said stream or session comprise LR data and non-LR data, is said stream or session distribution service stream identification, comprising:
Be said stream or session two business datum traffic identifier of distribution or a business datum traffic identifier; It is two chargeable session corresponding service stream identification that said stream or session distribute that said two business data flows are designated said back payment server, and it is the chargeable session corresponding service stream identification that said stream or session distribute that a said business data flow is designated said back payment server.
Stream or session statistics equipment is characterized in that 38. pay after one kind, comprising:
The 3rd transmitting element; Be used for backward that payment server is sent stream or session charging begins request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session; Be used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities, so that said back payment server is sent LR data and the corresponding charging coefficient of non-LR data in said stream or the session to said back paying stream or session statistics equipment;
Second receiving element is used for receiving said stream or session LR data and/or each self-corresponding charging coefficient of non-LR data that said back payment server is sent;
Second processing unit; Be used for based on said stream or session LR data and the corresponding charging coefficient of non-LR data; Calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, generate said stream or the corresponding usage data record of session based on said station message recording information;
The 4th transmitting element; Be used for the usage data record that comprises the corresponding station message recording information of said stream or session LR data and non-LR data that said second processing unit obtains is sent to said back payment server, so that said back payment server is carried out accounting processing according to said usage data record to LR data in said stream or the session and non-LR data.
39. payment server after a kind is characterized in that, comprising:
The 3rd receiving element; Be used to receive stream or the session charging that the back paying is flowed or session statistics equipment sends and begin request message; Said stream or session charging begin to comprise in the request message the local route LR indication information of stream or session, are used to indicate whether said stream or session are to have stream or the session of supporting local route LR data and non-LR data transmission capabilities;
Second transmitting element; Be used for based on the said LR indication information that said the 3rd receiving element receives confirm said stream or session be have the stream or session of supporting LR data and non-LR data transmission capabilities after; LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data are sent to said back paying stream or session statistics equipment; Stream or session statistics equipment are based on LR data in said stream or the session and the corresponding charging coefficient of non-LR data so that pay in said back; Calculate LR data and the corresponding station message recording information of non-LR data in said stream or the session, generate said stream or the corresponding usage data record of session based on said station message recording information;
The 4th receiving element is used to receive the said stream of said back paying stream or the transmission of session statistics equipment or the usage data record of session correspondence, and said usage data record comprises LR data and the corresponding station message recording information of non-LR data in said stream or the session;
Second charging processing unit is used for according to the said usage data record that said the 4th receiving element receives the LR data and the non-LR data of said stream or session being carried out accounting processing.
40., it is characterized in that said second transmitting element sends to said back paying stream or session statistics equipment with LR data in said stream or the session and/or each self-corresponding charging coefficient of non-LR data, comprising according to the described back of claim 39 payment server:
Corresponding charging coefficient and the corresponding charging coefficient of non-LR data of LR data in said stream or session; When not using as default, charging coefficient that LR data in said stream or the session are corresponding and the corresponding charging coefficient of non-LR data send to said back paying stream or session statistics equipment together; Perhaps
When the corresponding charging coefficient of LR data uses as default in said stream or session, the corresponding charging coefficient of non-LR data in said stream or the session is sent to said back pay stream or session statistics equipment; Perhaps
When the corresponding charging coefficient of non-LR data used as default in said stream or session, the charging coefficient that LR data in said stream or the session are corresponding sent to said back pay stream or session statistics equipment.
41. a payment system is characterized in that, comprising:
Like each described prepaid server in the claim 20 to 27; With
Like each described prepaid accounting equipment in the claim 28 to 32.
42. charging system after a kind is characterized in that, comprising:
Like each described back paying stream or session statistics equipment in the claim 33 to 35; With like claim 36 or 37 described back payment server; Perhaps
Pay and flow or session statistics equipment in back as claimed in claim 38; With like claim 39 or 40 described back payment server.
CN201010568233.3A 2010-11-30 2010-11-30 Charging method, device and system based on flow or conversation flow Active CN102480363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010568233.3A CN102480363B (en) 2010-11-30 2010-11-30 Charging method, device and system based on flow or conversation flow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010568233.3A CN102480363B (en) 2010-11-30 2010-11-30 Charging method, device and system based on flow or conversation flow

Publications (2)

Publication Number Publication Date
CN102480363A true CN102480363A (en) 2012-05-30
CN102480363B CN102480363B (en) 2014-07-09

Family

ID=46092850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010568233.3A Active CN102480363B (en) 2010-11-30 2010-11-30 Charging method, device and system based on flow or conversation flow

Country Status (1)

Country Link
CN (1) CN102480363B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324801A (en) * 2018-03-30 2019-10-11 华为技术有限公司 The method and apparatus of charging

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798040A (en) * 2004-12-22 2006-07-05 华为技术有限公司 Charging method in communication system
US20060291643A1 (en) * 2005-06-09 2006-12-28 John Pfaff Dial plan generator
CN101257394A (en) * 2008-04-14 2008-09-03 北京首信科技有限公司 Method of on-line real time content charging

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798040A (en) * 2004-12-22 2006-07-05 华为技术有限公司 Charging method in communication system
US20060291643A1 (en) * 2005-06-09 2006-12-28 John Pfaff Dial plan generator
CN101257394A (en) * 2008-04-14 2008-09-03 北京首信科技有限公司 Method of on-line real time content charging

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘宏春: "WiMAX组网技术与解决方案", 《中兴通讯技术》 *
陈萍: "IP计费几种常用技术比较及对IP统计数据的进一步分析", 《2000年CERNET第七届学术会议论文集》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324801A (en) * 2018-03-30 2019-10-11 华为技术有限公司 The method and apparatus of charging

Also Published As

Publication number Publication date
CN102480363B (en) 2014-07-09

Similar Documents

Publication Publication Date Title
US11881957B2 (en) Method for delivering dynamic policy rules to an end user, according on his/her account balance and service subscription level, in a telecommunication network
KR100945351B1 (en) Charging in a communication system
CN101212532B (en) Combined billing system and method
US9826103B2 (en) Offload of service charging from an online charging system
KR101558115B1 (en) Sy based integrated policy and charging control
CN103477587A (en) Method and device for controlling QoS and/or policy and charging control of a guest user
CN104378749A (en) Billing method and system based on SDN EPC network
WO2009100669A1 (en) Charging method, control device, charging device and charging system
CN101232385B (en) System and method for charging for microwave to switch in global intercommunication system
CN102144372A (en) Online charging correlation in IMS networks
US20130040685A1 (en) Method and apparatus for controlling quality of service of user equipment
EP1627522B1 (en) Method and system for controlling prepaid data services
CN101959166B (en) Method and system for controlling online charging
CN102480363B (en) Charging method, device and system based on flow or conversation flow
CN101442733A (en) Processing method, apparatus and system for charging communication network
KR101006275B1 (en) Method and system for providing prepaid service using subdivision of prepaid account
CN102238513B (en) Service billing system, device and system
KR101024725B1 (en) Method for monitoring and controlling a central ?p budget available to the subscriber in a packet-based communication network during online charge assessment with monitoring limit of data transmissions
Sou et al. Reducing credit re-authorization cost in UMTS online charging system
CN101203036A (en) Tactics coordination system and tactics coordination method
Sou Performance analysis of credit re-authorization schemes in UMTS online charging system

Legal Events

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