CN101778366B - Method, device and system for improving content billing accuracy - Google Patents

Method, device and system for improving content billing accuracy Download PDF

Info

Publication number
CN101778366B
CN101778366B CN 200910000509 CN200910000509A CN101778366B CN 101778366 B CN101778366 B CN 101778366B CN 200910000509 CN200910000509 CN 200910000509 CN 200910000509 A CN200910000509 A CN 200910000509A CN 101778366 B CN101778366 B CN 101778366B
Authority
CN
China
Prior art keywords
business
rate
service
professional
backup
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.)
Expired - Fee Related
Application number
CN 200910000509
Other languages
Chinese (zh)
Other versions
CN101778366A (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 CN 200910000509 priority Critical patent/CN101778366B/en
Publication of CN101778366A publication Critical patent/CN101778366A/en
Application granted granted Critical
Publication of CN101778366B publication Critical patent/CN101778366B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method, a device and a system for improving content billing accuracy. The method is as follows: matching the 5-tuple information of the service after service processing equipment is switched; if the matching is successful, taking the back-up rate of the service as the billing criteria of the service; and if the matching fails and the billing criteria can not be determined according to the data message of the service, determining the corresponding rate of the service according to the connection type of the service. In this way, the billing criteria of the service can be accurately determined and the accuracy of the billing based on service content is improved.

Description

A kind of method, Apparatus and system that improves content billing accuracy
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method, Apparatus and system that improves content billing accuracy.
Background technology
Along with becoming increasingly abundant of 3G (Third Generation) Moblie technology (3G:3rd Generation) data service, simply can't adapt to the develop rapidly of wireless data service based on the charge mode of flow and duration, in order to expand larger operating income, conformity of business operation operation scheme, operator is just progressively to more abundant granularity with dynamically based on the billing model development that is worth, and content-based charging is one step of key based on the billing model that is worth of marching toward.
Content charging makes operator except collecting access fee, can also charge to various contents and application, thereby obtain extra profit.
Under the traditional mode, determining of user's charging rate is IP and the port information of using three or four layers on network, and which business the impalpable user has used on earth, can only do simple charging.And under the pattern of content charging, except using three or four layers IP, port information, also seven layer protocols are resolved, use seven layers of information, such as uniform resource locator (URL:Uniform Resource Locator) information, the rule of mating charging, thereby more accurate definite corresponding professional rate.
So, after former slave board upgraded to mainboard, and former mainboard is downgraded to slave board (being that active and standby plate is switched), the mainboard after switching can't according to the business datum message that receives, be determined the rate information of this business correspondence and the situation of the state information of business.And according to present realization mechanism, for the business that can't obtain related prices information after switching, all add up according to default rate, cause occurring the inaccurate problem of charging.
Summary of the invention
The technical problem underlying that the embodiment of the invention will solve provides a kind of method, Apparatus and system that improves content billing accuracy, to improve the billing accuracy of service based content.
The embodiment of the invention provides a kind of method that improves content billing accuracy, comprising:
After service processing equipment is switched, the five-tuple information that coupling is professional;
If the match is successful, then with the rate of the described business of backup as the rates ground of described business;
If it fails to match, and can't determine professional rates ground according to the business datum message time, determine described professional corresponding rate according to the connection type of business.
The embodiment of the invention also provides a kind of device that improves content billing accuracy, comprising:
Matching module is used for after service processing equipment is switched the five-tuple information that coupling is professional;
The rate determination module, be used at described matching module when the match is successful, with the rate of backup as the rates ground of described business, it fails to match at described matching module, and in the time of can't determining professional rates ground according to the business datum message, determine described professional corresponding rate according to the connection type of business.
The embodiment of the invention also provides a kind of system that improves content billing accuracy, comprising:
Rate is determined device, be used for after service processing equipment is switched, the five-tuple information that coupling is professional, if the match is successful, then with the rate of backup as the rates ground of described business, if it fails to match, and can't determine professional rates ground according to the business datum message time, determine described professional corresponding rate according to the connection type of business;
Message accounting is used for determining the rate that device is determined according to described rate, and described business is carried out charging.
Can be found out by the technical scheme that the invention described above embodiment provides, in the embodiment of the invention, after switching at service processing equipment, the five-tuple information that coupling is professional; If the match is successful, then with the rate of the described business of backup as the rates ground of described business; If it fails to match, and can't determine professional rates ground according to the business datum message time, determine described professional corresponding rate according to the connection type of business, thereby accurately determine this professional rates ground, improved the accuracy of the charging of service based content.
Description of drawings
Fig. 1 realizes one of schematic diagram for the raising content billing accuracy method that the embodiment of the invention provides;
Fig. 2 realizes two of schematic diagram for the raising content billing accuracy method that the embodiment of the invention provides;
One of raising content billing accuracy apparatus structure schematic diagram that Fig. 3 provides for the embodiment of the invention;
Two of the raising content billing accuracy apparatus structure schematic diagram that Fig. 4 provides for the embodiment of the invention;
One of raising content billing accuracy system configuration schematic diagram that Fig. 5 provides for the embodiment of the invention;
Two of the raising content billing accuracy system configuration schematic diagram that Fig. 6 provides for the embodiment of the invention.
Embodiment
The embodiment of the invention one provides a kind of method that improves content billing accuracy, after switching at service processing equipment, and the five-tuple information that coupling is professional; If the match is successful, then with the rate of the described business of backup as the rates ground of described business; If it fails to match, and can't determine professional rates ground according to the business datum message time, determine described professional corresponding rate according to the connection type of business, thereby accurately determine this professional rates ground, improved the accuracy of the charging of service based content.
By analyze finding that the business of carrying out seven layers of parsing from the angle of rate match information, can be divided three classes, comprise rate continual and steady professional, rate is stable in short-term has connection business and rate to stablize in short-term connectionless service.
Rate is professional continually and steadily, and its characteristics are that the professional time that continues is long, and the frequency of corresponding five-tuple information and uniform resource locator (URL:Uniform Resource Locator) information change is low, and rate is continual and steady.
The continual and steady business of rate specifically can comprise file downloading service and streaming media service, such as VOD service.
Rate is stable in short-term to have connection professional, and its characteristics are to connect based on transmission control protocol (TCP:Transmission Control Protocol), and the professional time weak point that continues, the URL frequent updating.
Rate in short-term stable have connect professionally specifically can comprise the class business of browsing, the mail class is professional and based on the instant messaging of TCP, such as web page browsing.
Rate is stablized connectionless service in short-term, its characteristics are to connect based on User Datagram Protoco (UDP) (UDP:UserDatagram Protocol), and the professional time that continues is short, and is typical professional such as QQ message, TFTP (TFTP:Trivial File Transfer Protocol).
Because the quantity of professional five-tuple node is very large, usually more than 1,000,000 grades, and upgrade very fast, such as the URL frequent updating in Hypertext Transport Protocol (HTTP:Hyper Text Transfer Protocol), the WAP (wireless application protocol) (WAP:Wireless Application Protocol), therefore, all professional five-tuples of full backup device processes are to central processing unit (CPU:Central ProcessingUnit) resource, the communication bandwidth, and implementation complexity has very large challenge.
And the continual and steady professional because longer duration of rate, so device switching is large on the impact of its rate, and since rate in short-term stable have connect professional and rate is stablized connectionless service duration weak point in short-term, so device switching is little on the impact of its rate.
Therefore, an embodiment of the method for the raising content billing accuracy that the embodiment of the invention provides can as shown in Figure 1, specifically can comprise:
Step 101, backup rate continual and steady professional corresponding rate and five-tuple information.
Concrete, the embodiment of the invention need to be before service processing equipment be switched, set up the continual and steady professional corresponding rate of rate and the incidence relation between the five-tuple information, and with the continual and steady professional five-tuple information of this rate, the rate of correspondence and incidence relation between the two, back up on the slave board.
Five-tuple information specifically can comprise: source IP, source port number, purpose IP, destination slogan, transport protocol type etc.
Step 102 arranges and switches level and smooth sign, starts timer.
After service processing equipment is switched, at first need to arrange and switch level and smooth sign, and start timer.
Need to prove, the reason of switching level and smooth sign is set is, because connectionless service does not obviously show the message (for example have and connect professional link building messages) of professional beginning, also can't notify the user to restart business.Switch impact on the connectionless service billing accuracy in order to reduce service processing equipment, therefore, the method of the raising content billing accuracy that the embodiment of the invention provides, after service processing equipment is switched, level and smooth sign is switched in setting, and will switch level and smooth sign and be set to " level and smooth in ", shows the smoothing processing process after carrying out service processing equipment this moment switches, and the startup timer, be used for the time of smoothing processing process is monitored.
Before timer expiry, be before smoothing process is finished, that receives can't determine rate, namely can't determine the connectionless service message of rates ground, can be regarded as that this business information causes because service processing equipment has been lost when switching, this connectionless service is carried out charging by special rate.In the embodiment of the invention, special rate refers to except professional corresponding accurate rate, and outside the default rate that arranges of user, by the user for because service processing equipment is switched the business that can't confirm rate, the rates ground of special appointment.
Behind timer expiry, when namely smoothing process is finished, need to switch level and smooth sign and be set to " smoothly finishing ", show that this moment, the equipment smoothing process was finished.So, the connectionless service message that behind timer expiry, receives, after can seeing service processing equipment as and switching, new service message of initiating.
If the connectionless service for new initiation, can't determine the rate that this connectionless service is corresponding equally, even think that then service processing equipment do not switch the rate that can not determine that this connectionless service is corresponding, so, this connectionless service carried out charging by default rate.In the embodiment of the invention, default rate refers to that the user is the acquiescence rates ground that can't confirm the business setting of rate.
Be understandable that related timer duration in the embodiment of the invention i.e. the time of smoothing process, can continue duration and adjust according to the business of actual operation.
Step 103, the five-tuple information that coupling is professional.
Again the business that receives after switching for service processing equipment need to be carried out the operation of five-tuple information matches.
Owing to the continual and steady professional corresponding rate of rate and five-tuple information are backed up, therefore, in this step, business that can the match is successful must be that rate is professional continually and steadily, so, professional continually and steadily for the rate that the match is successful, can be according to the incidence relation between this business five-tuple information of backup rate corresponding with this business, determine the continual and steady professional corresponding rate of this rate, be the rate of backup, follow-up execution in step 109 is carried out charging according to the rate of correspondence to the continual and steady business of this rate.
And for the unsuccessful business of coupling, need execution in step 104, according to the business datum message that receives, determine professional corresponding rate.
If can determine professional corresponding rate according to the business datum message that receives, then execution in step 109, by the rate of determining business carried out charging.
If can not determine professional corresponding rate according to the business datum message that receives, namely None-identified goes out this business and is specially any business, and then execution in step 105, judge this business whether for have connect professional.
In the step 105, specifically can by the network layer protocol type of judging that this business adopts, determine that whether this business is for there being the business of connection.
Certainly, step 105 can also adopt other technical scheme to carry out business connectionless judgement, and the embodiment of the invention does not limit this.
If professional for the business of connection is arranged, follow-up execution in step 106 then, have by this that judge to receive and to connect whether professional first data message is link building messages, determine that this has the business of connection is the new business that service processing equipment is switched rear initiation, or service processing equipment is switched the front old service that has just existed.
To connect professional first data message be link building messages if this has, then this connection business is arranged is new business.For what can't confirm corresponding rate connection new business arranged so, can carry out charging (embodiment of the invention does not limit for the default rate of user's how to confirm and special rate) according to the default rate of the prior appointment of user.
To connect professional first data message be not link building messages if this has, then this connection business is arranged is old service.The so follow-up execution in step 107 that needs has the connection business to tear chain open to this and processes.
Need to prove, tear the purpose that chain processes open and be that forcing the user to resend this has and connect professional whole message informations, so that according to whole message informations of business, identification is determined that this has and is connected professional concrete type of service and corresponding rate.
If business is connectionless service, then follow-up execution in step 108 judges whether the timer of setting was overtime, needs namely to judge whether smoothing process finishes when service processing equipment received this connectionless service.
If before timer expiry, receive this connectionless service, then described in step 102, this connectionless service then carries out charging by the special rate of the prior appointment of user;
If behind timer expiry, receive this connectionless service, then same described in step 102, this connectionless service carries out charging by the default rate of the prior appointment of user.
Follow-up execution in step 109, the rates ground according to having determined carries out charging to business.
Foregoing description can be found out, the raising content billing accuracy method that the embodiment of the invention provides, by backup rate continual and steady professional corresponding rate and five-tuple information, and after service processing equipment is switched, with the rate of backup as the foundation of the continual and steady service billing of rate, and can't determine other business of rates ground after switching for service processing equipment, then by judging that this business is for there being connectionless service, and tear the operations such as chain and overtime judgement open, thereby accurately determine professional corresponding rate, improved the accuracy of the charging of service based content.
The raising content billing accuracy method that the embodiment of the invention provides, in order to reduce backup operation, the backup switch can also be set, and in the situation of backup switch open, backup rate continual and steady professional corresponding rate and five-tuple information, in the situation that the backup switch cuts out, all professional corresponding rate and five-tuple information do not back up.
In the situation of backup switch open, the specific operation process of the method for the raising content billing accuracy that the embodiment of the invention provides can be with reference to flow process as shown in Figure 1.
In the situation that the backup switch cuts out, the implementation procedure of the method for the raising content billing accuracy that the embodiment of the invention provides can as shown in Figure 2, specifically can comprise:
Step 201 arranges and switches level and smooth sign, starts timer.
After service processing equipment is switched, at first need to arrange and switch level and smooth sign, and start timer.
This is switched, and related in level and smooth sign and the step 102 to switch level and smooth sign identical, specifically please refer to the associated description of step 102.
Step 202 is mated professional five-tuple information.
For the match is successful, can determine rates ground, follow-up execution in step 208 is carried out charging according to the rates ground of determining to business.
Because in the embodiment of the invention, any professional corresponding rate and five-tuple information are not backed up, therefore, generally this process all is that it fails to match.
And for the business that it fails to match, need execution in step 203, according to the business datum message that receives, determine professional corresponding rate.
If can determine professional corresponding rate according to the business datum message that receives, then execution in step 208, by the rates ground of determining business carried out charging.
If can not determine professional corresponding rate according to the business datum message that receives, then execution in step 204, judge that whether this business is for there being connection professional.
In the step 204, specifically can by the network layer protocol type of judging that this business adopts, determine that whether this business is for there being the business of connection.
Certainly, step 204 can also adopt other technical scheme to carry out business connectionless judgement, and the embodiment of the invention does not limit this.
If professional for the business of connection is arranged, then follow-up execution in step 205 judge that this has the business of connection is the new business that service processing equipment is switched rear initiation, or service processing equipment is switched the front old service that has just existed.
Concrete, can connect whether professional first data message is link building messages by judging that this that receive has, determine that this has the connection business is new business, or old service.
To connect professional first data message be link building messages if this has, then this connection business is arranged is new business.For what can't confirm corresponding rate connection new business arranged so, can carry out charging according to the default rate of the prior appointment of user.
To connect professional first data message be not link building messages if this has, then this connection business is arranged is old service.The so follow-up execution in step 206 that needs has the connection business to tear chain open to this and processes.
Need to prove, tear the purpose that chain processes open and be that forcing the user to resend this has and connect professional whole message informations, so that according to whole message informations of business, identification is determined that this has and is connected professional concrete type of service and corresponding rate.
If business is connectionless service, then follow-up execution in step 207 judges whether the timer of setting is overtime, needs namely to judge whether smoothing process finishes when receiving this connectionless service.
If before timer expiry, receive this connectionless service, then described in step 102, this connectionless service then carries out charging by the special rate of the prior appointment of user;
If behind timer expiry, receive this connectionless service, then same described in step 102, this connectionless service carries out charging by the default rate of the prior appointment of user.
Follow-up execution in step 208, the rates ground according to having determined carries out charging to business.
Foregoing description can be found out, the service based content charging method that the embodiment of the invention provides, in the situation of any business not being carried out the backup of five-tuple information and rate, after switching at service processing equipment, according to business whether for have connect professional, and business torn open the operations such as chain and overtime judgement, thereby accurately determine professional corresponding rate, improved the accuracy of the charging of service based content, and, because the embodiment of the invention does not back up any business information, therefore reduced system burden, realized improving the accuracy of content charging and the balance between the reduction system burden.
The embodiment of the invention two provides a kind of device that improves content billing accuracy, as shown in Figure 3, this device by by matching module 310 after service processing equipment is switched, the five-tuple information that coupling is professional; At matching module 310 when the match is successful, then rate determination module 320 is determined with the rate of the backup module 330 backups rates ground as business, it fails to match at matching module 310, and in the time of can't determining professional rates ground according to the business datum message, rate determination module 320 is determined the rate of this business correspondence according to the connection type of business.
Related backup module 330 in the embodiment of the invention, specifically can be before service processing equipment be switched, set up the continual and steady professional corresponding rate of rate and the incidence relation between the five-tuple information, and the continual and steady professional corresponding rate of rate, five-tuple information and incidence relation are between the two backed up on the slave board.
Need to prove that the related business of device of the raising content billing accuracy that the embodiment of the invention provides comprises the continual and steady business of rate, rate is stable in short-term has connection business and rate to stablize in short-term connectionless service.
Rate is professional continually and steadily, and its characteristics are that the professional time that continues is long, and the frequency of corresponding five-tuple information and uniform resource locator (URL:Uniform Resource Locator) information change is low, and rate is continual and steady.
The continual and steady business of rate specifically can comprise file downloading service and streaming media service, such as VOD service.
Rate is stable in short-term to have connection professional, and its characteristics are to connect based on transmission control protocol (TCP:Transmission Control Protocol), and the professional time weak point that continues, the URL frequent updating.
Rate in short-term stable have connect professionally specifically can comprise the class business of browsing, the mail class is professional and based on the instant messaging of TCP, such as web page browsing.
Rate is stablized connectionless service in short-term, its characteristics are to connect based on User Datagram Protoco (UDP) (UDP:UserDatagram Protocol), and the professional time that continues is short, and is typical professional such as QQ message, TFTP (TFTP:Trivial File Transfer Protocol).
Also it should be noted that, in another specific embodiment of the raising content billing accuracy device that the embodiment of the invention provides, also the backup switch can be set, and in the situation that the backup switch cuts out, backup module 330 does not back up any professional corresponding rate and five-tuple information.
The embodiment of the invention provides the concrete structure schematic diagram that improves the content billing accuracy device can be as shown in Figure 4.
Matching module 310 in the device of the raising content billing accuracy that the embodiment of the invention provides specifically can be with the five-tuple information of backup module 330 backup, and the five-tuple information of the business that again receives after switching with service processing equipment is mated.
If the match is successful, the first determining unit 321 of the rate in the rate determination module 320 then, according to the five-tuple information of business, obtain the information of backup module 330 backup, and determine with the rate of the backup module 330 backups foundation as the continual and steady service billing of rate.
If mate unsuccessfully, then matching module 310 triggers rate the second determining unit 322 in the rate determination modules 320.
As shown in Figure 4, rate the second determining unit 322 interiorly specifically can comprise data message recognition unit 3221, service connection type judging unit 3222, first data message judging unit 3223, tear chain element 3224, timer units 3225 open.
Data message recognition unit 3221 is used for when matching module 310 couplings are unsuccessful the data message of business being identified.
If data message recognition unit 3221 can't identify professional type and corresponding rate according to the data message of business, then trigger service connection type judging unit 3222.
If data message recognition unit 3221 can identify professional type and corresponding rate according to the data message of business, then by the rate that data message recognition unit 3221 identifies business is carried out charging.
Service connection type judging unit 3222 is used under the triggering of data message recognition unit 3221 connection type of business being judged.
Service connection type judging unit 3222 can be by the network layer protocol type of judging that this business adopts, determine this business for have connect professional, or connectionless service.Certainly, service connection type judging unit 3222 can also adopt other technical scheme to carry out business connectionless judgement, and the embodiment of the invention does not limit this.
Judge professionally when the business of connection is arranged when service connection type judging unit 3222, trigger first data message judging unit 3223.
When service connection type judging unit 3222 judges that business is connectionless service, when rate the second determining unit 322 is judged this business of reception, whether the time that timer units 3225 arranges is overtime, if do not have overtime, then rate the second determining unit 322 determines that this professional rates ground is special rate, if overtime, then rate the second determining unit 322 determines that this professional rates ground is default rate.The related default rate of special rate meter in the embodiment of the invention can be specified in advance by the user, and the embodiment of the invention does not limit this.
Need to prove, timer units 3225 can be after service processing equipment be switched, level and smooth sign and setup times are switched in setting, determine the foundation of rates as rate the second determining unit 322, and the time that timer units 3225 arranges is the time that service processing equipment is switched rear smoothing processing process.
In addition, the meaning of switching level and smooth sign and time and purposes that timer units 3225 arranges specifically please refer to the description in the step 102.
First data message judging unit 3223 is used under the triggering of service connection type judging unit 3222, judges whether professional first data message is link building messages.
If first data message judging unit 3223 judges that professional first data message is link building messages, should business be new business then, rate that so should the business correspondence is default rate;
If first data message judging unit 3223 judges that professional first data message is non-link building messages, should business be old service then, so first data message judging unit 3223 is torn triggering open chain element 3224.
Tear chain element 3224 open, be used under the triggering of first data message judging unit 3223, business is torn open the chain operation.
Need to prove, the purpose of tearing the chain processing open is, forcing the user to resend this has the whole message informations that connect business, determines that this has the rate that connects professional concrete type of service and correspondence so that rate the second determining unit 322 according to whole message informations of business, is identified.
Foregoing description can be found out, among the embodiment of the raising content billing accuracy device that the embodiment of the invention provides, by backup rate continual and steady professional corresponding rate and five-tuple information, and after service processing equipment is switched, with the rate of backup as the foundation of the continual and steady service billing of rate, and can't determine other business of rates ground after switching for service processing equipment, then professional for connectionless service is arranged by judging, and tear the operations such as chain and overtime judgement open, thereby accurately determine professional corresponding rate, improved the accuracy of the charging of service based content.In addition, among another embodiment of the service based content charging device that the embodiment of the invention provides, in the situation of any business not being carried out the backup of five-tuple information and rate, after switching at service processing equipment, according to business for connectionless service is arranged, and business torn open the operations such as chain and overtime judgement, thereby accurately determine professional corresponding rate, improved the accuracy of the charging of service based content, and, because the embodiment of the invention does not back up any business information, therefore reduced system burden, realized improving the accuracy of content charging and the balance between the reduction system burden.
The embodiment of the invention three provides a kind of system that improves content billing accuracy, as shown in Figure 5, this system is by being determined that by rate device 520 is after service processing equipment is switched, the five-tuple information that coupling is professional, if the match is successful, then with the rate of the back-up device 510 backup rates ground as described business, if it fails to match, and in the time of can't determining professional rates ground according to the business datum message, determine professional corresponding rate according to the connection type of business, and determine the rate that device is determined by message accounting 530 according to described rate, described business is carried out charging.
As shown in Figure 6, the raising content billing accuracy system that provides of the embodiment of the invention can comprise that specifically back-up device 510, rate determine device 520 and message accounting 530.
Back-up device 510 is used for backup rate continual and steady professional corresponding rate and five-tuple information.
Back-up device 510 specifically can be before service processing equipment be switched, set up the continual and steady professional corresponding rate of rate and the incidence relation between the five-tuple information, and the continual and steady professional corresponding rate of rate, five-tuple information and incidence relation are between the two backed up on the slave board.
Need to prove that the related business of the device of the raising content billing accuracy that the embodiment of the invention provides can comprise the continual and steady business of rate equally, rate is stable in short-term has connection business and rate to stablize in short-term connectionless service.
Rate is determined device 520, be used for after service processing equipment is switched, the five-tuple information that coupling is professional, if the match is successful, then with the rate of backup as the rates ground of described business, if it fails to match, and can't determine professional rates ground according to the business datum message time, determine described professional corresponding rate according to the connection type of business.
The related rate of the embodiment of the invention is determined device 520, specifically can comprise matching module 521 and rate determination module 522.
Matching module 521 specifically can be with the five-tuple information of back-up device 510 backup, and the five-tuple information of the business that again receives after switching with service processing equipment is mated.
If the match is successful, the first determining unit 5221 of the rate in the rate determination module 522 then, according to the five-tuple information of business, obtain the information of back-up device 510 backup, and determine with the rate of the back-up device 510 backups foundation as the continual and steady service billing of rate.
If mate unsuccessfully, then matching module 521 triggers rate the second determining unit 5222 in the rate determination modules 522.
Rate the second determining unit 5222 is interior specifically can to comprise data message recognition unit 52221, service connection type judging unit 52222, first data message judging unit 52223, tear chain element 52224, timer units 52225 open.
Data message recognition unit 52221 is used for when matching module 521 couplings are unsuccessful the data message of business being identified.
If data message recognition unit 52221 can't identify professional type and corresponding rate according to the data message of business, then trigger service connection type judging unit 52222.
If data message recognition unit 52221 can identify professional type and corresponding rate according to the data message of business, then by the rate that data message recognition unit 52221 identifies business is carried out charging.
Service connection type judging unit 52222 is used under the triggering of data message recognition unit 52221 connection type of business being judged.
Service connection type judging unit 52222 can be by the network layer protocol type of judging that this business adopts, determine this business for have connect professional, or connectionless service.Certainly, service connection type judging unit 52222 can also adopt other technical scheme to carry out business connectionless judgement, and the embodiment of the invention does not limit this.
Judge professionally when the business of connection is arranged when service connection type judging unit 52222, trigger first data message judging unit 52223.
When service connection type judging unit 52222 judges that business is connectionless service, when rate the second determining unit 5222 is judged this business of reception, whether the time that timer units 52225 arranges is overtime, if do not have overtime, then rate the second determining unit 5222 determines that this professional rates ground is special rate, if overtime, then rate the second determining unit 5222 determines that this professional rates ground is default rate.The related default rate of special rate meter in the embodiment of the invention can be specified in advance by the user, and the embodiment of the invention does not limit this.
Need to prove, timer units 52225 can be after service processing equipment be switched, level and smooth sign and setup times are switched in setting, determine the foundation of rates as rate the second determining unit 5222, and the time that timer units 52225 arranges is the time that service processing equipment is switched rear smoothing processing process.
In addition, the meaning of switching level and smooth sign and time and purposes that timer units 52225 arranges specifically please refer to the description in the step 102.
First data message judging unit 52223 is used under the triggering of service connection type judging unit 52222, judges whether professional first data message is link building messages.
If first data message judging unit 52223 judges that professional first data message is link building messages, should business be new business then, rate that so should the business correspondence is default rate;
If first data message judging unit 52223 judges that professional first data message is non-link building messages, should business be old service then, so first data message judging unit 52223 is torn triggering open chain element 52224.
Tear chain element 52224 open, be used under the triggering of first data message judging unit 52223, business is torn open the chain operation.
Need to prove, the purpose of tearing the chain processing open is, forcing the user to resend this has the whole message informations that connect business, determines that this has the rate that connects professional concrete type of service and correspondence so that rate the second determining unit 5222 according to whole message informations of business, is identified.
Message accounting 530 is used for determining the rate that device 520 is determined according to rate, and business is carried out charging.
Need to prove, the back-up device 510 that the embodiment of the invention is related, rate is determined device 520 and message accounting 530, can be arranged at simultaneously on the mainboard or slave board of service processing equipment, also can arrange respectively on the active and standby plate with service processing equipment.
Foregoing description can be found out, among the embodiment of the raising content billing accuracy system that the embodiment of the invention provides, by backup rate continual and steady professional corresponding rate and five-tuple information, and after service processing equipment is switched, with the rate of backup as the foundation of the continual and steady service billing of rate, and can't determine other business of rates ground after switching for service processing equipment, then professional for connectionless service is arranged by judging, and tear the operations such as chain and overtime judgement open, thereby accurately determine professional corresponding rate, improved the accuracy of the charging of service based content.In addition, among another embodiment of the service based content accounting system that the embodiment of the invention provides, in the situation of any business not being carried out the backup of five-tuple information and rate, after switching at service processing equipment, according to business for connectionless service is arranged, and business torn open the operations such as chain and overtime judgement, thereby accurately determine professional corresponding rate, improved the accuracy of the charging of service based content, and, because the embodiment of the invention does not back up any business information, therefore reduced system burden, realized improving the accuracy of content charging and the balance between the reduction system burden.
In fact, the continual and steady professional ratio in typical traffic model of rate approximately is 20%, rate is stable in short-term that to connect professional ratio in typical traffic model approximately be 75%, it approximately is 5% that rate is stablized the ratio of connectionless service in typical traffic model in short-term, this explanation, after the charging method and device of carrying out the service based content that the embodiment of the invention provides, can improve in the typical traffic model billing accuracy of 95% business, client's satisfaction significantly is provided.
Need to prove, method, the Apparatus and system of the service based content charging that the embodiment of the invention provides, except can being applied to various Access Network gateways, between all right application core net, and the network equipment of core net inside.As long as carry out the equipment of charging according to degree of depth protocol analysis (DPI:Deep ProtocolInspect) technology, can use this programme; In addition, for non-charging scene, also can use this programme; For may switching, and need to use the scene of switching front state information after switching, this programme is all applicable.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential hardware platform, can certainly all implement by hardware, but the former is better execution mode in a lot of situation.Based on such understanding, technical scheme of the present invention is to can embodying with the form of software product in whole or in part that background technology contributes, this computer software product can be stored in the storage medium, such as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
The above; only for the better embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily 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 claim.

Claims (20)

1. method that improves content billing accuracy is characterized in that:
After service processing equipment is switched, the five-tuple information that coupling is professional;
If the match is successful, then with the rate of the described business of backup as the rates ground of described business;
If it fails to match, and can't determine professional rates ground according to the business datum message time, determine described professional corresponding rate according to the connection type of business, wherein, the connection type of described business includes and connects type of service and connectionless service type;
Described connection type according to business is determined described professional corresponding rate, comprising:
If described business is for there being the business of connection, judge that receive described has whether the first data message that connects business is link building messages, if so, carries out charging according to the default rate of the prior appointment of user, if not, then there is the connection business to tear the chain processing open to described;
If described business is connectionless service, then judge when service processing equipment receives described connectionless service, whether the timer that arranges is overtime, need namely to judge whether smoothing process finishes, if do not have overtime, then described connectionless service carries out charging by the special rate of user's appointment, if overtime, then described connectionless service carries out charging by the special default rate of the prior appointment of user.
2. method according to claim 1 is characterized in that, described method also comprised before service processing equipment is switched: backup rate continual and steady professional corresponding rate and five-tuple information.
3. method according to claim 2 is characterized in that, the rate of described described business with backup comprises as the rates ground of described business: with the rate of the backup foundation as the continual and steady service billing of rate.
4. method according to claim 1 is characterized in that, if described it fails to match, and can't determine professional rates ground according to the business datum message time, determines that according to the connection type of business described professional corresponding rate comprises:
If described business is for there being the business of connection, then by judging that receive described has whether the first data message that connects business is link building messages, determining describedly has that to connect business be the new business that service processing equipment is switched rear initiation, or service processing equipment switch before old service with regard to having existed;
If described have that to connect professional first data message be link building messages, it is then described that the connection business is arranged is new business, default rate according to the prior appointment of user is carried out charging, if described have that to connect professional first data message be not link building messages, then described the connection business is arranged is old service, then has the connection business to tear chain open to process to described.
5. according to claim 1 or 4 described methods, it is characterized in that, if described it fails to match, and can't determine professional rates ground according to the business datum message time, determine that according to the connection type of business described professional corresponding rate comprises:
If described business is connectionless service, then judge when receiving described business, whether default timer is overtime, if do not have overtime, determine that then described professional corresponding rate is special rate, if overtime, determine that then described professional corresponding rate is default rate, the time that described timer is set is the time that described business device is switched rear smoothing processing process.
6. method according to claim 4 is characterized in that, described method also comprises after described business being torn open the chain processing:
According to the business information that the user resends, determine type of service and the corresponding rate of described business.
7. according to claim 1 to 4 each described methods, it is characterized in that described method also comprised before service processing equipment is switched:
The backup switch is set, and in the backup switch situation of closing, not corresponding rate and the five-tuple information of backup traffic.
8. a device that improves content billing accuracy is characterized in that, comprising:
Matching module is used for after service processing equipment is switched the five-tuple information that coupling is professional;
The rate determination module, be used at described matching module when the match is successful, with the rate of backup as the rates ground of described business, it fails to match at described matching module, and in the time of can't determining professional rates ground according to the business datum message, determine described professional corresponding rate according to the connection type of business;
Described connection type according to business is determined described professional corresponding rate, comprising:
If described business is for there being the business of connection, judge that receive described has whether the first data message that connects business is link building messages, if so, carries out charging according to the default rate of the prior appointment of user, if not, then there is the connection business to tear the chain processing open to described;
If described business is connectionless service, then judge when service processing equipment receives described connectionless service, whether the timer that arranges is overtime, need namely to judge whether smoothing process finishes, if do not have overtime, then described connectionless service carries out charging by the special rate of user's appointment, if overtime, then described connectionless service carries out charging by the special default rate of the prior appointment of user.
9. device according to claim 8 is characterized in that, described device also comprises:
Backup module is used for backup rate continual and steady professional corresponding rate and five-tuple information.
10. device according to claim 9 is characterized in that, described rate determination module comprises:
Rate the first determining unit is used for when the match is successful, according to the five-tuple information of described business, obtaining the information of described backup module backup at described matching module, and with the rate of the described backup rates ground as described business;
Rate the second determining unit is used for that it fails to match at described matching module, and can't determine professional rates ground according to the business datum message time, determines described professional corresponding rate according to the connection type of business.
11. device according to claim 10 is characterized in that, described rate the second determining unit comprises:
The data message recognition unit is used at described matching module when it fails to match, the data message of identification services, and when recognition failures, trigger service connection type judging unit,
Service connection type judging unit is used under described data message recognition unit triggers the connection type of described business being judged, if judge that described business for the business of connection is arranged, then triggers first data message judging unit,
First data message judging unit, be used for judging under the unit triggers in described service connection type, whether the first data message of judging described business is link building messages, and when the first data message of judging described business is non-link building messages, chain element is torn in triggering open, when the first data message of judging described business was link building messages, the rates ground of determining described business was default rate
Tear chain element open, be used under described first data message judging unit triggers, described business being torn open the chain operation;
And described rate the second determining unit is determined described described professional corresponding rate of tearing open after chain element is torn the chain processing open also for the business information that resends according to the user.
12. device according to claim 11 is characterized in that, described rate the second determining unit also comprises:
Timer units, be used for after service processing equipment is switched, level and smooth sign and setup times are switched in setting, determine the foundation of rate as described rate the second determining unit, and the time of described set timer is the time that described service processing equipment is switched rear smoothing processing process;
And described rate the second determining unit also is used for, when described service connection type judgment unit judges business is connectionless service, and when receiving described business, the time of described timer units setting does not have overtime, then described rate the second determining unit determines that the rates ground of described business is special rate, if when receiving described business, the time that described timer units arranges is overtime, and then described rate the second determining unit determines that the rates ground of described business is default rate.
13. each described device is characterized in that according to claim 9-11, described device also is provided with the backup switch, and when the backup switch cut out, described backup module is corresponding rate and the five-tuple information of backup traffic not.
14. a system that improves content billing accuracy is characterized in that, comprising:
Rate is determined device, be used for after service processing equipment is switched, the five-tuple information that coupling is professional, if the match is successful, then with the rate of backup as the rates ground of described business, if it fails to match, and can't determine professional rates ground according to the business datum message time, determine described professional corresponding rate according to the connection type of business;
Message accounting is used for determining the rate that device is determined according to described rate, and described business is carried out charging;
Described connection type according to business is determined described professional corresponding rate, comprising:
If described business is for there being the business of connection, judge that receive described has whether the first data message that connects business is link building messages, if so, carries out charging according to the default rate of the prior appointment of user, if not, then there is the connection business to tear the chain processing open to described;
If described business is connectionless service, then judge when service processing equipment receives described connectionless service, whether the timer that arranges is overtime, need namely to judge whether smoothing process finishes, if do not have overtime, then described connectionless service carries out charging by the special rate of user's appointment, if overtime, then described connectionless service carries out charging by the special default rate of the prior appointment of user.
15. system according to claim 14 is characterized in that, described system also comprises:
Back-up device is used for backup rate continual and steady professional corresponding rate and five-tuple information.
16. system according to claim 15 is characterized in that, described rate determines that device comprises:
Matching module is used for after service processing equipment is switched the five-tuple information that coupling is professional;
The rate determination module, be used at described matching module when the match is successful, with the rate of backup as the rates ground of described business, it fails to match at described matching module, and in the time of can't determining professional rates ground according to the business datum message, determine described professional corresponding rate according to the connection type of business.
17. system according to claim 16 is characterized in that, described rate determination module comprises:
Rate the first determining unit is used for when the match is successful, according to the five-tuple information of described business, obtaining the information of described back-up device backup at described matching module, and with the rate of the described backup rates ground as described business;
Rate the second determining unit is used for that it fails to match at described matching module, and can't determine professional rates ground according to the business datum message time, determines described professional corresponding rate according to the connection type of business.
18. system according to claim 17 is characterized in that, described rate the second determining unit comprises:
The data message recognition unit is used at described matching module when it fails to match, the data message of identification services, and when recognition failures, trigger service connection type judging unit,
Service connection type judging unit is used under described data message recognition unit triggers the connection type of described business being judged, if judge that described business for the business of connection is arranged, then triggers first data message judging unit,
First data message judging unit, be used for judging under the unit triggers in described service connection type, whether the first data message of judging described business is link building messages, and when the first data message of judging described business is non-link building messages, chain element is torn in triggering open, when the first data message of judging described business was link building messages, the rates ground of determining described business was default rate
Tear chain element open, be used under described first data message judging unit triggers, described business being torn open the chain operation;
And described rate the second determining unit is determined described described professional corresponding rate of tearing open after chain element is torn the chain processing open also for the business information that resends according to the user.
19. system according to claim 18 is characterized in that, described rate the second determining unit also comprises:
Timer units, be used for after service processing equipment is switched, level and smooth sign and setup times are switched in setting, determine the foundation of rate as described rate the second determining unit, and the time of described set timer is the time that described service processing equipment is switched rear smoothing processing process;
And described rate the second determining unit also is used for, when described service connection type judgment unit judges business is connectionless service, and when receiving described business, the time of described timer units setting does not have overtime, then described rate the second determining unit determines that the rates ground of described business is special rate, if when receiving described business, the time that described timer units arranges is overtime, and then described rate the second determining unit determines that the rates ground of described business is default rate.
20. each described system is characterized in that according to claim 15-18, described system also is provided with the backup switch, and when the backup switch cut out, described back-up device is corresponding rate and the five-tuple information of backup traffic not.
CN 200910000509 2009-01-14 2009-01-14 Method, device and system for improving content billing accuracy Expired - Fee Related CN101778366B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910000509 CN101778366B (en) 2009-01-14 2009-01-14 Method, device and system for improving content billing accuracy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910000509 CN101778366B (en) 2009-01-14 2009-01-14 Method, device and system for improving content billing accuracy

Publications (2)

Publication Number Publication Date
CN101778366A CN101778366A (en) 2010-07-14
CN101778366B true CN101778366B (en) 2013-03-27

Family

ID=42514650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910000509 Expired - Fee Related CN101778366B (en) 2009-01-14 2009-01-14 Method, device and system for improving content billing accuracy

Country Status (1)

Country Link
CN (1) CN101778366B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113065860A (en) * 2021-04-09 2021-07-02 支付宝(杭州)信息技术有限公司 Method and device for processing commission charge service through block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859137A (en) * 2006-03-30 2006-11-08 华为技术有限公司 Charging device and method
CN1859128A (en) * 2005-05-16 2006-11-08 华为技术有限公司 Method for content charging of data service
CN101188505A (en) * 2007-12-11 2008-05-28 华为技术有限公司 Content type recognition method and device
CN101335630A (en) * 2008-04-30 2008-12-31 北京邮电大学 Charge associated method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859128A (en) * 2005-05-16 2006-11-08 华为技术有限公司 Method for content charging of data service
CN1859137A (en) * 2006-03-30 2006-11-08 华为技术有限公司 Charging device and method
CN101188505A (en) * 2007-12-11 2008-05-28 华为技术有限公司 Content type recognition method and device
CN101335630A (en) * 2008-04-30 2008-12-31 北京邮电大学 Charge associated method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵大海、李晓峰.内容计费模型探讨.《电信技术》.2005,第12卷(第12期),第59页至第62页. *

Also Published As

Publication number Publication date
CN101778366A (en) 2010-07-14

Similar Documents

Publication Publication Date Title
EP1704746B1 (en) Remote management and access of databases, services and devices associated with a mobile terminal
CN108712485B (en) Resource subscription method and device for Internet of things equipment
EP1959652A1 (en) Telephone background screensaver with live internet content
EP2381361A1 (en) Apparatus and method for firmware update in a portable terminal
CN104935744A (en) Verification code display method, verification code display device and mobile terminal
JP2008510207A (en) Software program synchronization method
CN101237466A (en) Network configuration method, device and system for terminal
CN102891874A (en) Method, device and system for providing search prompt message based on conversation
CN110990228A (en) Data interface monitoring method and device
CN101621812A (en) Method and system for realizing restoration updating of mobile terminal
CN104426960B (en) A kind of trial method and device of payment applications
RU2520326C2 (en) Network analysis and monitoring tool
CN108462734B (en) Message receiving method and device
US7805136B1 (en) Automated form-based feedback of wireless user experiences accessing content, e.g., web content
CN101778366B (en) Method, device and system for improving content billing accuracy
EP3641222B1 (en) Method, apparatus and system for monitoring data traffic
EP1499086B1 (en) Internet service synchronization method for mobile communication terminal
CN112118600B (en) Flow traction system under 5G independent networking SA architecture
CN101232386B (en) Method for counting MMS flow quantity
CN101551758B (en) System and method for implementing paralleling work of device management and tasks
CN100391168C (en) Method, system and terminal for synchronously marking language terminal equipment of terminal management
CN103609193B (en) The method and wireless access network equipment of identification terminal type
US8451993B2 (en) Dial-up connection method and device of mobile data terminal
RU2532875C2 (en) Service presentation method, device and system
CN103873527A (en) Data processing method, electronic equipment and server

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130327

CF01 Termination of patent right due to non-payment of annual fee