CN100364268C - Charging method - Google Patents

Charging method Download PDF

Info

Publication number
CN100364268C
CN100364268C CNB2005100642822A CN200510064282A CN100364268C CN 100364268 C CN100364268 C CN 100364268C CN B2005100642822 A CNB2005100642822 A CN B2005100642822A CN 200510064282 A CN200510064282 A CN 200510064282A CN 100364268 C CN100364268 C CN 100364268C
Authority
CN
China
Prior art keywords
access code
service
character
rate
section
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
CNB2005100642822A
Other languages
Chinese (zh)
Other versions
CN1848737A (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 CNB2005100642822A priority Critical patent/CN100364268C/en
Publication of CN1848737A publication Critical patent/CN1848737A/en
Application granted granted Critical
Publication of CN100364268C publication Critical patent/CN100364268C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention discloses a method of charging, which comprises a record which is collocated in a charging list and comprises an access code number section and corresponding charging rate, and only one record is collocated for the multiple items of services containing the same access code number section and the same charging rate. When the charging system receives the charging request at least containing a service access code, maximum routing matching is carried out between the service access code and the access code number section in the charging list. Corresponding charging rate is obtained when the matching is successful, and the charging is carried out according to the charging rate. The present invention can be used for simplifying business collocation and enhancing the search efficiency of the charging list.

Description

A kind of charging method
Technical field
The present invention relates to the communications field, relate to a kind of charging method or rather.
Background technology
Along with the arrival of whole telecommunications industry low tide, the competition between the operator also increasingly sharpens.The basic business price is subjected to all multifactor impacts to continue to descend, and therefore respectively run the commercial city and strengthened the dynamics of expanding new business, and the emphasis of value-added service as operator's profit.Each operator has strengthened the input to value-added service when traditional main equipment is invested progressively atrophy.
Voice value-added service is of a great variety, and form and content all change very fast.1258/1259 speech business from 160,168 voice value-added services of telecom operators to mobile operator, and 10158/10159 voice value-added service of operator of UNICOM, the value-added service that these are a series of all has following common characteristic:
L, service access code are numerous, and business tine changes frequent.
2, service access code has all carried out Classification Management, and it is basic identical to charge.Table one is the partial service classification taximeter of telecommunications XX company:
Table one
With number unit 168A B ?CDE Professional rate
XX economizes the business program section 1682 0 ?000-999 0.00 unit/minute
2 ?000-999 0.10 unit/minute
4 ?000-999 0.40 unit/minute
6 ?000-999
8 ?000-999
Districts and cities' program number section that XX economizes 1 ?000-999 O.10 first/minute
3 ?000-999
5 ?000-999
1682 7 ?000-999 0.40 unit/minute
9 ?000-999
XX economizes the business program section ? 1684 0 ?000-999 0.40 unit/minute
2 ?000-999
4 ?000-999
6 ?000-999
8 ?000-999
Districts and cities' program number section that XX economizes ? 1684 1 ?000-999 0.40 unit/minute
It can be seen from the table, business tine is more, needs the professional rate of configuration also more accordingly.Therefore all there is the complicated and huge shortcoming of data of configuration management in the charging of present system from the Business Processing of access code to access code.
For voice value-added service, the billing scheme of authentication AAA (Authentication, Authorization and Accounting) system is more flexible.AAA system is finished user's authentication, mandate, billing function, and the most crucial function of this system is that the user is chargeed.Because voice value-added service is many, the strategy of the service billing of a lot of same types is similar substantially, and as 125902XX requesting song class business, chargeing substantially all is 1 yuan/time.The charging implementation of at present general value added voice service system is as follows:
The general billing scheme of the AAA charge system in present telecommunication voice value-added business field is as shown in Figure 1:
(1) transaction processing system is to AAA charge system transmission user's charging request, and this charging request comprises user name, service access code and professional service time;
(2) the AAA charge system is searched the rate that taximeter determines to ask with this charging correspondence according to user type and service access code, and charges according to this rate.The described complete matched and searched mode that adopts of searching.Comprise [user type, access code, time] three parameters as a certain service billing request, wherein user type is the category-A user, and access code is 168123456.If the relevant parameter of a certain record of taximeter is [category-A user, 168123456,2 yuan of per minutes], then meet complete matching principle, extract 2 yuan of rate per minutes, charge according to this rate, return the charging success response.
From the industry universal scheme as can be seen, utilize the element [user in the taximeter, access code, rate] when coupling is chargeed, the common treatment scheme is to adopt complete matching way, must the category-A user and all characters of 168123456 numbers respective field in Fee Schedule exist successively and could charge, otherwise can't charge.Even the rate of a certain like this class business is identical, as 125902XX requesting song class business, chargeing substantially all is 1 yuan/time, also must all professional rates of configuration at AAA system.As can be seen, there is significant disadvantages in this scheme on the technical Analysis of top general scheme:
1, the business configuration maintenance is complicated, workload is bigger;
2, the taximeter data of AAA are huge, and search efficiency is low.
Be that all underactions are handled in business configuration or AAA charging, can't adapt to various variation of voice value-added service.
Summary of the invention
Main purpose of the present invention is to provide a kind of charging method, to simplify business configuration, improves the charging disposal ability.
For reaching above purpose, the invention provides following technical scheme:
A kind of charging method, this method comprises the steps:
Configuration comprises the record of access code section and corresponding rate in taximeter, and only disposes a record to having the identical access code section multinomial business identical with rate;
When charge system receives the charging request that comprises service access code at least, utilize the access code section in this service access code and the taximeter to carry out maximum matched routings, be that described service access code mates with described access code section respectively, and the longest access code section of definite matching length, when the match is successful, obtain corresponding rate and by this rate accounting.
Also comprise user type in described taximeter and the described charging request, when user type is obtained corresponding rate when also the match is successful.
If obtain a plurality of rates after the coupling, then obtain the longest intrarecord rate of access code section in the pairing record of these rates.
The present invention also discloses another kind of charging method, comprises the steps:
The record of configuration access code section and corresponding type of service, and in taximeter the record of the configuration service type rate corresponding with it, and only dispose a record to having the identical access code section multinomial business identical with rate;
When charge system receives the charging request that comprises service access code at least, utilize this service access code and the access code section in the record to carry out maximum matched routings, be that described service access code mates with described access code section respectively, and the longest access code section of definite matching length, when the match is successful, obtain the corresponding service type, and
From described taximeter, obtain corresponding rate according to type of service, and by this rate accounting.
If obtain a plurality of types of service after the coupling, then select the longest intrarecord type of service of access code section in the pairing record of these types of service.
Also comprise the professional duration that uses in the described charging request, charge system is chargeed according to this duration and the rate that obtains.
The described access code section of such scheme includes cuts character, wherein:
If cut the afterbody of character in the access code section, maximum matched routings is meant judges whether the preceding character of section character appears at the stem of described service access code successively;
If cut the stem of character in the access code section, maximum matched routings is meant whether the character behind the judgement section character appears at the afterbody of described service access code successively;
If cut stem and the afterbody of character in the access code section, maximum matched routings is meant judges whether two characters that cut between the character appear at the middle part of described service access code successively.
The present invention handles by the charging of maximum being mated the route querying rate and applying to the telecommunication voice value-added business field, has realized: a plurality of business that a certain service numbers section is identical only need the business datum of an access code section+% of configuration.The AAA taximeter is supported maximum matched routings, for the professional rate 1 of 16820XXX, needs to dispose the data of 1000 identical rates in the past, now as long as data of configuration just can be calculated rate fully.Owing to supported maximum routing algorithm to carry out the coupling that access code charges, reduced the workload that business configuration is safeguarded naturally, service operation is safeguarded easily, has increased professional flexibility, improves the charging disposal ability of charge system.
Description of drawings
Fig. 1 is the schematic flow sheet of the method for the invention
Fig. 2 is the charging schematic diagram of first embodiment of the invention;
Fig. 3 is the charging schematic diagram of third embodiment of the invention.
Embodiment
Though voice value-added service is many, the data of the taximeter that need dispose are also very many, but the strategy of the service billing of a lot of same types is similar substantially, as 125902XX requesting song class business, chargeing substantially all is 1 yuan/time, and the access code rate of jack per line section or same class business is basic identical.
All there is the complicated and huge shortcoming of data of configuration management in order to solve the charging of prior art from the Business Processing of access code to access code, the present invention realizes chargeing by setting up corresponding relation between access code section and the rate, and access code is had the also identical or essentially identical multinomial business item of duplicate numbers section, rate only need dispose a record in taximeter; Perhaps realize chargeing by the mapping relations of setting up between access code section and type of service and type of service and the rate, the multinomial business also identical to same No. section, type of service only need dispose a record.
The config. number section can the number of employing section word add and cuts a character mode under the access code item, as " 1681234% ", and " 1681234 " be number section word wherein, " % " is a section character.If this number section appears at the access code prefix, then add at number section suffix during the config. number section and cut a character mode; If this number section appears at the access code suffix, adopting the character plus sige section word mode of cutting when then disposing the access code section; If this number section appears in the middle of the access code, adopt a section character plus sige section word to add when then disposing the access code section and cut a character mode.Described section character can be %, space,? Deng the symbol that can be different from Number character.
Behind configuring charging table in a manner described, charging processing procedure of the present invention as shown in Figure 1:
Send the charging request that comprises service access code by transaction processing system; Charge system is searched taximeter according to described service access code with maximum routing mode after accepting described charging request, determines and this corresponding rate of request of chargeing; Charge by the rate that finds at last.
Charge system can be an AAA system.Transaction processing system can be 1258 mobile secretary operation systems, 160 telecommunications manual service systems, 168 telecommunications automatic service systems, beautiful sound business system of 10157 UNICOMs or other operation systems.
Consult shown in Figure 2ly, as the first embodiment of the present invention, also comprised user type in the record in the taximeter, mate to determine final charging rate by the maximum matched routings and the user type of access code section, its processing procedure is as follows:
1, transaction processing system sends the request of charging, and described request comprises parameter: user type, service access code, as [category-A user, 16812345]; For business charged according to time, also comprise chargeable time in the request of chargeing, as 2 minutes.
2, AAA system is accepted described charging request, searches taximeter according to described input parameter with maximum routing mode, output [category-A user, 1681234%, 1 yuan/minute].
3, according to chargeing the service time (charged according to time) of carrying in this rate and the request of chargeing and returning the charging success response to transaction processing system, promptly 2 minutes expense is 2 yuans.
When main road mode is searched taximeter, retrieve taximeter article one record earlier, determine whether user type is consistent with the user type of this record, and whether the character that the access code of this record cuts before the character all appears in the corresponding section of the entrained service access code of the request of charging successively, if, the rate of then output correspondence, and comply with this rate and charge, the charging success response returned to transaction processing system; If inconsistent, then enter next bar record and compare.Check all records in the whether relatively intacter taximeter, if return the charging failure response.Comprise [user type, service access code, time] three parameters as a certain service billing request, wherein user type is the category-A user, and service access code is 168123456.If the relevant parameter of a certain record of taximeter is [category-A user, 168123%, 1 yuan of a per minute], then meet maximum match principle, extract 1 yuan of rate per minute, charge according to this rate, return the charging success response.
If rate is identical or the total number section of the access code of essentially identical multinomial business appears at the access code suffix, and access code is configured to cut a character and adds this number section word in the taximeter, this moment when adopting maximum match principle to search then, whether the access code of judging a certain record of taximeter cuts character behind the character and all appears at successively to charge and ask in the corresponding section of entrained service access code; If this number section appears in the middle of the access code, and access code adds a section character for a section character adds this number section in the configuring charging table, this moment when adopting maximum match principle to search then, whether the access code of judging a certain record of taximeter cuts intercharacter character and all appears at successively to charge and ask in the corresponding section of entrained service access code.
As the second embodiment of the present invention, compared to embodiment one, the described mode of searching of step 2 can also be:
21, retrieval taximeter article one record;
22, determine whether user type is consistent with the user type of this record, and whether the character of the access code config. number section of this record all appears in the corresponding section of the entrained service access code of the request of charging successively, if, after then choosing this record, enter step 23, otherwise, directly enter step 23;
23, judge whether to travel through all records of taximeter, if, judge whether to exist many records of choosing, from described many records of choosing, get the longest record of access code coupling in this way, export this and write down corresponding rate, according to chargeing the service time of carrying in this rate and the request of chargeing and returning the charging success response to transaction processing system; The record of if there is no having chosen then stops searching, and AAA system returns charging failure response, process ends to transaction processing system.Otherwise, extract next bar record and enter step 22.
Consult shown in Figure 3, as the third embodiment of the present invention, to having the same No. section, the multinomial business that type of service is also identical only need dispose a record, the access code item of this record disposes this number section or this number section down and adds a section character, this type of service of configuration under the type of service item.At this moment, be provided with the type of service item in the taximeter.A table can be arranged to separately in the corresponding relation record of access code and type of service, perhaps incorporates taximeter into.When incorporating taximeter into, only need this same No. section is inserted under the access code item of taximeter, type of service is inserted in the type of service of taximeter.The processing procedure of its charging is as follows:
1, transaction processing system sends the request of charging, and described request comprises parameter: service access code, and as 16812345.
2, AAA system is accepted described charging request, examines the corresponding relation record that formula is searched access code and type of service according to described service access code input parameter with maximum route, determines this service access code corresponding service type, as: the requesting song class.
3, search taximeter according to this type of service, determine the rate corresponding, 1 yuan/minute with this type of service; Charge and return the charging success response to transaction processing system the service time that extraction is carried in chargeing and asking.
If for the corresponding relation record of access code and type of service is provided with a table separately, then step 2 comprises:
According to the service access code retrieval access code entrained in the request of chargeing and the corresponding relation record sheet of type of service, determine access code with its coupling according to maximum match principle, and this access code corresponding service type, with this type of service retrieval taximeter article one record, determine whether this type of service is consistent with the type of service of this record of taximeter, if, the rate of then output correspondence, and comply with this rate and charge, return the charging success response to transaction processing system; If inconsistent, then enter next bar record and compare.Check all records in the whether relatively intacter taximeter, if return the charging failure response.For example, set up the corresponding relation record of access code and type of service, this record comprises access code 168123%, and type of service is the requesting song class.Charge system is received a charging request, and this charging request comprises [user type, service access code, time] three parameters, and wherein user type is the category-A user, and service access code is 168123456.Search the corresponding relation record sheet of access code and type of service according to this service access code 168123456, obtaining this service access code corresponding service type is the requesting song class.As type of service, the retrieval taximeter is if the relevant parameter of a certain record of taximeter is [category-A user with this requesting song class, the requesting song class, 1 yuan of per minute], then meet matching condition, extract 1 yuan of rate per minute kind, charge, return the charging success response according to this rate.
Retrieve the corresponding relation record sheet of access code and type of service in the step 2 according to service access code entrained in the request of chargeing, when determining access code with its coupling according to maximum match principle, after retrieving article one matched record, promptly extract this access code corresponding service type, with this type of service retrieval taximeter, after promptly utilizing maximum match principle to determine the access code of coupling, extract this access code corresponding service type, and determine rate according to the type of service that extracts.Or, travel through the corresponding relation record sheet of whole access code and type of service, if obtain a plurality of rates after the coupling, then obtain the longest intrarecord rate of access code section in the pairing record of these rates, after promptly utilizing maximum match principle to determine the access code of coupling, obtain the rate of this access code correspondence, and charge by this rate of obtaining.
If taximeter incorporated in the corresponding relation of this access code and type of service record, then step 2 is described comprises:
Retrieval taximeter article one record, determine that whether the entrained service access code of the request of chargeing is with the number unanimity in the access code corresponding section of this record, if, then search this service access code corresponding service type, search rate according to described type of service, the rate that output is corresponding, and comply with this rate and charge, the charging success response returned to transaction processing system; If inconsistent, then enter next bar record and compare.Check all records in the whether relatively intacter taximeter, if return the charging failure response.
By method of the present invention, the access code that has satisfied operator has the demand of the same charging policy of a plurality of business of same section, reduced the relevant data of rate to greatest extent, improved the handling property of system, general PC server just can satisfy the charging demand at 200 general-purpose families.The configuration of Business Processing is oversimplified, and has reduced the regular maintenance cost.

Claims (9)

1. a charging method is characterized in that, this method comprises the steps:
Configuration comprises the record of access code section and corresponding rate in taximeter, and only disposes a record to having the identical access code section multinomial business identical with rate;
When charge system receives the charging request that comprises service access code at least, utilize the access code section in this service access code and the taximeter to carry out maximum matched routings, be that described service access code mates with described access code section respectively, and the longest access code section of definite matching length, when the match is successful, obtain corresponding rate and by this rate accounting.
2. the method for claim 1 is characterized in that, also comprises user type in described taximeter and the described charging request, when user type is obtained corresponding rate when also the match is successful.
3. the method for claim 1 is characterized in that, if charge system does not get access to rate in taximeter, then returns the charging failure response.
4. as each described method of claim 1 to 3, it is characterized in that described access code section includes cuts character, wherein:
If cut the afterbody of character in the access code section, maximum matched routings is meant judges whether the preceding character of section character appears at the stem of described service access code successively;
If cut the stem of character in the access code section, maximum matched routings is meant whether the character behind the judgement section character appears at the afterbody of described service access code successively;
If cut stem and the afterbody of character in the access code section, maximum matched routings is meant judges whether two characters that cut between the character appear at the middle part of described service access code successively.
5. method as claimed in claim 4 is characterized in that, also comprises the professional duration that uses in the described charging request, and charge system is chargeed according to this duration and the rate that obtains.
6. a charging method is characterized in that, this method comprises the steps:
The record of configuration access code section and corresponding type of service, and in taximeter the record of the configuration service type rate corresponding with it, and only dispose a record to having the identical access code section multinomial business identical with rate;
When charge system receives the charging request that comprises service access code at least, utilize this service access code and the access code section in the record to carry out maximum matched routings, be that described service access code mates with described access code section respectively, and the longest access code section of definite matching length, when the match is successful, obtain the corresponding service type, and
From described taximeter, obtain corresponding rate according to type of service, and by this rate accounting.
7. method as claimed in claim 6 is characterized in that, if charge system does not get access to type of service or rate in taximeter, then returns the charging failure response.
8. as claim 6,7 each described methods, it is characterized in that described access code section includes cuts character, wherein:
If cut the afterbody of character in the access code section, maximum matched routings is meant judges whether the preceding character of section character appears at the stem of described service access code successively;
If cut the stem of character in the access code section, maximum matched routings is meant whether the character behind the judgement section character appears at the afterbody of described service access code successively;
If cut stem and the afterbody of character in the access code section, maximum matched routings is meant judges whether two characters that cut between the character appear at the middle part of described service access code successively.
9. method as claimed in claim 8 is characterized in that, also comprises the professional duration that uses in the described charging request, and charge system is chargeed according to this duration and the rate that obtains.
CNB2005100642822A 2005-04-14 2005-04-14 Charging method Expired - Fee Related CN100364268C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100642822A CN100364268C (en) 2005-04-14 2005-04-14 Charging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100642822A CN100364268C (en) 2005-04-14 2005-04-14 Charging method

Publications (2)

Publication Number Publication Date
CN1848737A CN1848737A (en) 2006-10-18
CN100364268C true CN100364268C (en) 2008-01-23

Family

ID=37078117

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100642822A Expired - Fee Related CN100364268C (en) 2005-04-14 2005-04-14 Charging method

Country Status (1)

Country Link
CN (1) CN100364268C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100466830C (en) * 2007-03-16 2009-03-04 侯万春 System and method for realizing time slot sharing fixed price communication payment by service number
CN101296272B (en) * 2008-06-10 2011-01-12 腾讯科技(深圳)有限公司 Charging management method
CN101977276A (en) * 2010-10-20 2011-02-16 中兴通讯股份有限公司 Value added service charging method and device
CN103490909B (en) * 2012-06-13 2018-03-27 中兴通讯股份有限公司 Charge processing method and device
CN106936601B (en) * 2015-12-31 2020-02-14 华为技术有限公司 Service charging method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1395391A (en) * 2001-07-09 2003-02-05 深圳市中兴通讯股份有限公司 Charging method for connecting wideband into network
CN1466308A (en) * 2002-06-15 2004-01-07 华为技术有限公司 Method for realizing content fee-conunting process
CN1501684A (en) * 2002-11-12 2004-06-02 ��Ϊ�������޹�˾ Method for implementing prepayment multimedia message service
WO2004084563A1 (en) * 2003-03-20 2004-09-30 T-Mobile Deutschland Gmbh Method for determining charges in real time for value-added services in a telecommunication network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1395391A (en) * 2001-07-09 2003-02-05 深圳市中兴通讯股份有限公司 Charging method for connecting wideband into network
CN1466308A (en) * 2002-06-15 2004-01-07 华为技术有限公司 Method for realizing content fee-conunting process
CN1501684A (en) * 2002-11-12 2004-06-02 ��Ϊ�������޹�˾ Method for implementing prepayment multimedia message service
WO2004084563A1 (en) * 2003-03-20 2004-09-30 T-Mobile Deutschland Gmbh Method for determining charges in real time for value-added services in a telecommunication network

Also Published As

Publication number Publication date
CN1848737A (en) 2006-10-18

Similar Documents

Publication Publication Date Title
CN101102528B (en) A SMS signature method and system
CN102880956B (en) Paying server and payment channel integration method
CN100364268C (en) Charging method
CA2395241A1 (en) Data linking system and method using tokens
CN101957857A (en) Automatic information push method and server
CN105138541A (en) Audio fingerprint matching query method and device
CN101650717A (en) Method and system for saving storage space of database
CN101159755A (en) Mobile search system and mobile search method
CN104618410B (en) Resource supplying method and apparatus
CN101334880A (en) Securities information service system and method
CN102694895A (en) Method for determining call incoming reason and device thereof
CN101957860A (en) Method and device for releasing and searching information
CN101360159B (en) Implementing method and apparatus for independent VC system accommodating different charging cards
CN100419762C (en) Freely-inputted wireless short message matching and search engine information processing method, and apparatus therefor
CN108494977B (en) Method, device and system for identifying short signal code
CN101201839A (en) Universal navigation service method and system for internet application
CN105339914A (en) Method and system for exchanging messages on the basis of current position
CN102547678B (en) Number portability short message log analysis method, system and device
CN101217385B (en) A method and system for the temporary storage and treatment of charging bill
CN101459746A (en) Phone bill decoding method and apparatus
CN102143471A (en) Processing method and device of unusual telephone charge
CN106326408A (en) Method, system and terminal for generating record through retrieval and analysis
CN106156087A (en) Data processing method and device
CN110472019A (en) Public sentiment searching method and device
CN101489208A (en) Intelligent fee counting method for mobile terminal

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

Granted publication date: 20080123

Termination date: 20130414