CN101778366A - 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
CN101778366A
CN101778366A CN200910000509A CN200910000509A CN101778366A CN 101778366 A CN101778366 A CN 101778366A CN 200910000509 A CN200910000509 A CN 200910000509A CN 200910000509 A CN200910000509 A CN 200910000509A CN 101778366 A CN101778366 A CN 101778366A
Authority
CN
China
Prior art keywords
rate
business
professional
backup
data message
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
CN200910000509A
Other languages
Chinese (zh)
Other versions
CN101778366B (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 bigger professional profit, conformity of business operation operation scheme, operator is just progressively to abundant more granularity with dynamically based on the billing model development that is worth, and content-based charging is one step of key based on the billing model that is worth of marching toward.
Content charging makes operator except that collecting access fee, can also charge to various contents and application, thereby obtain extra profit.
Under the traditional mode, determining of user's charging rate is IP and the port information of using three or four layers on network, is difficult to distinguish which business the 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, 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 be determined the rate information of this business correspondence and the situation of the state information of business according to the business datum message that receives.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 chargeing.
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 based on business tine.
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 rates ground as 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 chargeed.
The technical scheme that provides by the invention described above embodiment as can be seen, 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 rates ground as 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 accuracy based on the charging of business tine.
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 rates ground as 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 accuracy based on the charging of business tine.
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 connectionless service in short-term.
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 is stable in short-term 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 as QQ message, TFTP (TFTP:Trivial File Transfer Protocol).
Because the quantity of professional five-tuple node is very big, 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 all has very big challenge.
And the continual and steady professional because longer duration of rate, so device switching is big to the influence of its rate, and since rate stable in short-term have connect professional and rate is stablized connectionless service duration weak point in short-term, so device switching is little to the influence of its rate.
Therefore, an embodiment of the method for the raising content billing accuracy that the embodiment of the invention provides can specifically can comprise as shown in Figure 1:
Step 101, backup rate continual and steady professional corresponding rate and five-tuple information.
Concrete, the embodiment of the invention need be before service processing equipment be switched, set up continual and steady professional corresponding rate of rate and the incidence relation between the five-tuple information, and, back up on the slave board the continual and steady professional five-tuple information of this rate, the rate of correspondence and incidence relation between the two.
Five-tuple information specifically can comprise: source IP, source port number, purpose IP, destination slogan, transport protocol type etc.
Step 102 is provided with and switches level and smooth sign, starts timer.
After service processing equipment is switched, at first need to be provided with and switch level and smooth sign, and start timer.
Need to prove, the reason of switching level and smooth sign is set is,, also can't notify the user to restart business because connectionless service does not obviously show the message (for example have and connect professional link building messages) of professional beginning.Switch influence in order to reduce service processing equipment to the connectionless service billing accuracy, 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 changed 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 is received can't determine rate, promptly 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 chargeed by special rate.In the embodiment of the invention, special rate is meant removes professional corresponding accurate rate, and outside the default rate that is provided with 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 promptly smoothing process is finished, need to switch level and smooth sign and be changed 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 connectionless service for new initiation, can't determine the rate of this connectionless service correspondence equally, even think that then service processing equipment do not switch the rate that can not determine this connectionless service correspondence, so, this connectionless service chargeed by default rate.In the embodiment of the invention, default rate is meant 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 be carried out the operation of five-tuple information matches.
Owing to 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 chargeed to the continual and steady business of this rate according to the rate of correspondence.
And, need execution in step 104 for the unsuccessful business of coupling, 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 chargeed.
If can not determine professional corresponding rate according to the business datum message that receives, promptly can't identify this business and be specially any business, then execution in step 105, judge that whether this business is for there being connection professional.
In the step 105, specifically can determine that whether this business is for there being the business of connection by the network layer protocol type of judging that this business adopts.
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 it is professional for the business of connection is arranged, then follow-up execution in step 106, have by this that judge to receive and to connect whether professional first data message is link building messages, determine that this has the connection business is that service processing equipment is switched the new business that initiate the back, or service processing equipment is switched the preceding 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, (how the embodiment of the invention determines that for the user default rate and special rate do not limit) can charge 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 handles.
Need to prove, tear the purpose that chain handles 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 a connectionless service, then follow-up execution in step 108 judges whether the timer of setting was overtime, needs promptly 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 charges 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 charges by the default rate of the prior appointment of user.
Follow-up execution in step 109, the rates ground according to having determined charges to business.
Foregoing description as can be seen, 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 operations such as chain and overtime judgement open, thereby accurately determine professional corresponding rate, improved accuracy based on the charging of business tine.
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 under the situation of backup switch open, backup rate continual and steady professional corresponding rate and five-tuple information, under the situation that the backup switch cuts out, all professional corresponding rate and five-tuple information do not back up.
Under 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.
Under 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 specifically can comprise as shown in Figure 2:
Step 201 is provided with and switches level and smooth sign, starts timer.
After service processing equipment is switched, at first need to be provided with 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 chargeed to business according to the rates ground of determining.
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, need execution in step 203 for the business that it fails to match, 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 chargeed.
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 determine that whether this business is for there being the business of connection by the network layer protocol type of judging that this business adopts.
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 there being connection professional, then follow-up execution in step 205 judge that this has the connection business is that service processing equipment is switched the new business that initiate the back, or service processing equipment is switched the preceding 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 charge 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 handles.
Need to prove, tear the purpose that chain handles 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 a connectionless service, then follow-up execution in step 207 judges whether the timer of setting is overtime, needs promptly 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 charges 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 charges by the default rate of the prior appointment of user.
Follow-up execution in step 208, the rates ground according to having determined charges to business.
Foregoing description as can be seen, the embodiment of the invention provide based on method for charging service content, under 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 operations such as chain and overtime judgement, thereby accurately determine professional corresponding rate, improved accuracy based on the charging of business tine, 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 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 connectionless service in short-term.
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 is stable in short-term 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 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 under 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 receives again after switching with service processing equipment is mated.
If the match is successful, 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 backup module 330 backups foundation as the continual and steady service billing of rate.
Get nowhere if mate, then rate second determining unit 322 in the matching module 310 triggering rate determination modules 320.
As shown in Figure 4, specifically can comprise in rate second determining unit 322 data message recognition unit 3221, professional 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 discerned.
If data message recognition unit 3221 can't identify professional type and corresponding rate according to the data message of business, then trigger professional 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 the rate that identifies by data message recognition unit 3221 is chargeed to business.
Professional connection type judging unit 3222 is used under the triggering of data message recognition unit 3221 connection type of business being judged.
Professional connection type judging unit 3222 can be by the network layer protocol type of judging that this business adopts, determines this business for the business of connection is arranged, or connectionless service.Certainly, professional 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 professional connection type judging unit 3222, trigger first data message judging unit 3223.
When professional connection type judging unit 3222 judges that business is connectionless service, when rate second determining unit 322 is judged this business of reception, whether the time that timer units 3225 is provided with is overtime, if do not have overtime, then rate second determining unit 322 determines that this professional rates ground is special rate, if overtime, then rate 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, setting is switched level and smooth sign and the time is set, determine the foundation of rates as rate second determining unit 322, and the time that timer units 3225 is provided with is the time that service processing equipment is switched back smoothing processing process.
In addition, meaning of switching level and smooth sign and time and purposes that timer units 3225 is provided with specifically please refer to the description in the step 102.
First data message judging unit 3223 is used under the triggering of professional 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 a 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 second determining unit 322 according to whole message informations of business, is discerned.
Foregoing description as can be seen, 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 operations such as chain and overtime judgement open, thereby accurately determine professional corresponding rate, improved accuracy based on the charging of business tine.In addition, among another embodiment that the embodiment of the invention provides based on the business tine message accounting, under 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 operations such as chain and overtime judgement, thereby accurately determine professional corresponding rate, improved accuracy based on the charging of business tine, 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 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 according to described rate by message accounting 530, described business is chargeed.
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 to back up 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 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 connectionless service in short-term.
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 receives again after switching with service processing equipment is mated.
If the match is successful, 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 back-up device 510 backups foundation as the continual and steady service billing of rate.
Get nowhere if mate, then rate second determining unit 5222 in the matching module 521 triggering rate determination modules 522.
Specifically can comprise data message recognition unit 52221, professional connection type judging unit 52222, first data message judging unit 52223 in rate second determining unit 5222, 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 discerned.
If data message recognition unit 52221 can't identify professional type and corresponding rate according to the data message of business, then trigger professional 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 the rate that identifies by data message recognition unit 52221 is chargeed to business.
Professional connection type judging unit 52222 is used under the triggering of data message recognition unit 52221 connection type of business being judged.
Professional connection type judging unit 52222 can be by the network layer protocol type of judging that this business adopts, determines this business for the business of connection is arranged, or connectionless service.Certainly, professional 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 professional connection type judging unit 52222, trigger first data message judging unit 52223.
When professional connection type judging unit 52222 judges that business is connectionless service, when rate second determining unit 5222 is judged this business of reception, whether the time that timer units 52225 is provided with is overtime, if do not have overtime, then rate second determining unit 5222 determines that this professional rates ground is special rate, if overtime, then rate 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, setting is switched level and smooth sign and the time is set, determine the foundation of rates as rate second determining unit 5222, and the time that timer units 52225 is provided with is the time that service processing equipment is switched back smoothing processing process.
In addition, meaning of switching level and smooth sign and time and purposes that timer units 52225 is provided with specifically please refer to the description in the step 102.
First data message judging unit 52223 is used under the triggering of professional 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 a 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 second determining unit 5222 according to whole message informations of business, is discerned.
Message accounting 530 is used for determining the rate that device 520 is determined according to rate, and business is chargeed.
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 be provided with respectively on the active and standby plate with service processing equipment.
Foregoing description as can be seen, 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 operations such as chain and overtime judgement open, thereby accurately determine professional corresponding rate, improved accuracy based on the charging of business tine.In addition, among another embodiment that the embodiment of the invention provides based on the business tine charge system, under 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 operations such as chain and overtime judgement, thereby accurately determine professional corresponding rate, improved accuracy based on the charging of business tine, 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 carrying out the charging method and device that the embodiment of the invention provides based on business tine, can improve in the typical traffic model billing accuracy of 95% business, client's satisfaction significantly is provided.
Need to prove, method, Apparatus and system that the embodiment of the invention provides based on the business tine charging, except that 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, can use this programme according to the equipment that degree of depth protocol analysis (DPI:Deep ProtocolInspect) technology is chargeed; In addition, for non-charging scene, also can use this programme; For may switching, and need after switching to use switch before the scene of state information, 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, but the former is better execution mode under a lot of situation by hardware.Based on such understanding, all or part of can the embodying that technical scheme of the present invention contributes to background technology with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be a 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 preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and 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 rates ground as 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.
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, described described business with backup
Rate comprises as the rates ground of described business: with the rate of backup as the foundation of the continual and steady service billing of rate.
4. method according to claim 1 is characterized in that, and is described if 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 judges then for the business of connection is arranged whether the first data message of described business is link building messages, if, then described business is torn open chain and handle, if not, determine that then described professional corresponding rate is default rate.
5. according to claim 1 or 4 described methods, it is characterized in that, described if 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 a connectionless service, then judge to receive described when professional, 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 back smoothing processing process.
6. method according to claim 5 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 the type of service and the corresponding rate of described business.
7. according to each described method of claim 1 to 4, it is characterized in that described method also comprised before service processing equipment is switched:
The backup switch is set, and under the backup switch situation of closing, not the rate of backup traffic correspondence and five-tuple information.
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.
9. device according to claim 8 is characterized in that, described device also comprises:
Backup module is used to back up 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 first determining unit is used at described matching module when the match is successful, according to the five-tuple information of described business, obtains the information of described backup module backup, and with the rate of the described backup rates ground as described business;
Rate 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 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 professional connection type judging unit,
Professional 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 there being connection professional, then triggers first data message judging unit,
First data message judging unit, be used under described professional connection type judging unit triggers, 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 second determining unit also is used for the business information that resends according to the user, determines described described professional corresponding rate after tearing chain element open and tearing chain open and handle.
12., it is characterized in that described rate second determining unit also comprises according to claim 10 or 11 described devices:
Timer units, be used for after service processing equipment is switched, setting is switched level and smooth sign and the time is set, and determines the foundation of rate as described rate second determining unit, and the time of described timer setting is the time that described service processing equipment is switched back smoothing processing process;
And described rate second determining unit also is used for, when described professional connection type judgment unit judges business is a connectionless service, and receive described when professional, the time of described timer units setting does not have overtime, then described rate second determining unit determines that the rates ground of described business is special rate, during as if the described business of reception, the time that described timer units is provided with is overtime, and then described rate second determining unit determines that the rates ground of described business is default rate.
13. according to each described device of claim 9-11, it is characterized in that described device also is provided with the backup switch, and when the backup switch cut out, described backup module is the rate and the five-tuple information of backup traffic correspondence 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 chargeed.
15. system according to claim 14 is characterized in that, described system also comprises:
Back-up device is used to back up 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 first determining unit is used at described matching module when the match is successful, according to the five-tuple information of described business, obtains the information of described back-up device backup, and with the rate of the described backup rates ground as described business;
Rate 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 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 professional connection type judging unit,
Professional 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 there being connection professional, then triggers first data message judging unit,
First data message judging unit, be used under described professional connection type judging unit triggers, 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 second determining unit also is used for the business information that resends according to the user, determines described described professional corresponding rate after tearing chain element open and tearing chain open and handle.
19., it is characterized in that described rate second determining unit also comprises according to claim 17 or 18 described systems:
Timer units, be used for after service processing equipment is switched, setting is switched level and smooth sign and the time is set, and determines the foundation of rate as described rate second determining unit, and the time of described timer setting is the time that described service processing equipment is switched back smoothing processing process;
And described rate second determining unit also is used for, when described professional connection type judgment unit judges business is a connectionless service, and receive described when professional, the time of described timer units setting does not have overtime, then described rate second determining unit determines that the rates ground of described business is special rate, during as if the described business of reception, the time that described timer units is provided with is overtime, and then described rate second determining unit determines that the rates ground of described business is default rate.
20. according to each described system of claim 15-18, it is characterized in that described system also is provided with the backup switch, and when the backup switch cut out, described back-up device is the rate and the five-tuple information of backup traffic correspondence 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 true CN101778366A (en) 2010-07-14
CN101778366B 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)

Cited By (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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401676C (en) * 2005-05-16 2008-07-09 华为技术有限公司 Method for content charging of data service
CN100420191C (en) * 2006-03-30 2008-09-17 华为技术有限公司 Charging device and method
CN101188505B (en) * 2007-12-11 2011-12-07 华为技术有限公司 content type recognition method and device
CN101335630B (en) * 2008-04-30 2011-09-14 北京邮电大学 Charge associated method and device

Cited By (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

Also Published As

Publication number Publication date
CN101778366B (en) 2013-03-27

Similar Documents

Publication Publication Date Title
CN108712485B (en) Resource subscription method and device for Internet of things equipment
KR100898522B1 (en) Methods and apparatus to integrate mobile communications device management with web browsing
CN102638417B (en) The communication means of information, Apparatus and system
EP2381361A1 (en) Apparatus and method for firmware update in a portable terminal
US20150205881A1 (en) Remote management and access of databases, services and devices associated with a mobile terminal
CN103269479B (en) A kind of call bill processing method, device and system
EP1959652A1 (en) Telephone background screensaver with live internet content
CN101237466A (en) Network configuration method, device and system for terminal
JP2008510207A (en) Software program synchronization method
CN103634689A (en) Method and device for installing application program into smart television through mobile communication terminal
CN110708696A (en) Network data recovery method and device, storage medium and electronic equipment
RU2520326C2 (en) Network analysis and monitoring tool
EP3641222B1 (en) Method, apparatus and system for monitoring data traffic
CN104426960B (en) A kind of trial method and device of payment applications
CN112566078A (en) Device connection method and apparatus, storage medium, and electronic apparatus
CN107508746B (en) Good friend's adding method, device and electronic equipment
CN108462734B (en) Message receiving method and device
US7805136B1 (en) Automated form-based feedback of wireless user experiences accessing content, e.g., web content
US10412778B2 (en) Data transmission method and apparatus for data service
US20040040022A1 (en) Method and apparatus for just-in-time provisioning application-related information at a communication device
CN101778366B (en) Method, device and system for improving content billing accuracy
CN100391168C (en) Method, system and terminal for synchronously marking language terminal equipment of terminal management
CN104301419A (en) Non-local-machine remote download control system and method
US8451993B2 (en) Dial-up connection method and device of mobile data terminal
CN101232386A (en) Method for counting MMS flow quantity

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

Granted publication date: 20130327