CN102685709B - Method and device for auditing charging - Google Patents

Method and device for auditing charging Download PDF

Info

Publication number
CN102685709B
CN102685709B CN201210193429.8A CN201210193429A CN102685709B CN 102685709 B CN102685709 B CN 102685709B CN 201210193429 A CN201210193429 A CN 201210193429A CN 102685709 B CN102685709 B CN 102685709B
Authority
CN
China
Prior art keywords
file
statistic
classification
online charging
inventory
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
CN201210193429.8A
Other languages
Chinese (zh)
Other versions
CN102685709A (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.)
Telefonaktiebolaget LM Ericsson AB
Original Assignee
SUNRISE TECHNOLOGY 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 SUNRISE TECHNOLOGY Co Ltd filed Critical SUNRISE TECHNOLOGY Co Ltd
Priority to CN201210193429.8A priority Critical patent/CN102685709B/en
Publication of CN102685709A publication Critical patent/CN102685709A/en
Application granted granted Critical
Publication of CN102685709B publication Critical patent/CN102685709B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a method and a device for auditing charging. The method for auditing charging comprises the following steps of: acquiring an online charging list, wherein the online charging list comprises the current online list record of a user, and the list record comprises service types and traffic and charges; acquiring a general packet radio service (GPRS) bill of current online of the user, which is generated by a charging gateway; performing rating and charging on the GPRS bill, and acquiring a rating result file, wherein the rating result file comprises the current online bill record of the user, and the bill record comprises the service types and the traffic and charges; and performing auditing on the online charging list and the rating result file which are acquired in a preset audit period, and outputting an audit file. By the technical scheme, the reliability of a GPRS online charging system can be effectively improved, and the income of an operator can be ensured.

Description

Device is checked in a kind of charging auditing method and charging
Technical field
The present invention relates to charging field, relate in particular to a kind of charging auditing method and charging and check device.
Background technology
Along with the development of mobile network's technology and popularizing of 3G business, more and more users bring into use mobile Internet business, have greatly promoted the flourish of data service and data increment business.The instant feature of 3G network and mobile Internet business makes user expect that they can obtain the most real-time account information, mobile operator and affiliate thereof expect can by inquiry and analysis communication service data in real time understand market development dynamically, to can really promptly service be introduced to the market according to user's demand, strengthen its market competitiveness and improve income.Therefore the functional requirement that, the general packet radio service technology of supported data business real time billing (GPRS, General Packet Radio Service) Online Charging System becomes the focus of studying in charge system field and is badly in need of realizing.
For instructing better the construction of charging support system under 3G environment, third generation partner program (3GPP, The 3rd Generation Partnership Project) tissue has proposed the reference configuration of Online Charging System (OCS, Online Charging System).OCS comprises: online charging module, wholesale price module and account balance administration module, wherein, online charging module is supported session-based charging and content-based event charging, online charging module comprises conversation-based billing function (SBCF, Session Based Charging Function) and the billing function (EBCF based on event, Event Based Charging Function), SBCF can realize interactive event (as talk business, business of networking etc.) carry out the function of batched valuation, EBCF can realize the function of disposable event (as short message service) being carried out to batched valuation.Wholesale price module is calculated for expense, supports just calculating and two kinds of account forms of inverse.Account balance administration module is responsible for that the various account remaining sums such as user's free resource, basic account, Free Account are carried out to maintenance and management interface is provided, so that other modules are called this interface, completes inquiry into balance and upgrades operation.General packet radio service (GPRS, General Packet Radio Service) online charging technical scheme is by GGSN (GGSN, Gateway GPRS Support Node) and OCS jointly coordinated, GGSN utilizes attaching position register (HLR, Home Location Register) user signing contract information (CC in, Charging Characteristics) field judgement user uses online charging mode or uses offline charging mode, CC field will be inserted into GPRS serving GPRS support node (SGSN by HLR when user adheres to, Serving GPRS Support Node) in, SGSN is by creating packet data protocol (PDP, Packet Data Protocol) context message passes to GGSN by this parameter, GGSN is as online charging and service control point, by CC field judged whether to initiate online charging flow process.The Diameter(DCC controlling by credit between GGSN and OCS, Diameter Credit Control) protocol interface carries out alternately, to realize, user's business is used and is controlled.
Be illustrated in figure 1 existing GPRS online charging handling process: user uses on gprs service in network process, the PDP conversation message of SGSN and GGSN meeting recording user, generate respectively SGSN ticket core GGSN ticket and send to charging gateway (CG, Charging Gateway) merge processing, obtain GPRS ticket, simultaneously, because user is provided with GPRS online charging sign, therefore when user uses gprs service online, GGSN can trigger GPRS online charging flow process, by DCC protocol message and online charging module, undertaken alternately, the DCC protocol message being sent according to GGSN by online charging module carries out session management to user, the operations such as charging authentication, and use according to the service that operating result is controlled user, for example, if the operating result of charging authentication is that Sorry, your ticket has not enough value for user, online charging module forbids that user uses service, if the operating result of charging authentication is enough remaining sums for user has, online charging module allows user to continue to use service.After user offline, the cost information that the session information of this online of user that online charging module can send over according to GGSN and this session information is carried out obtains after batched valuation processing, generates online keep cost order file and carries out charging processing.Yet, because online charging module is that the business that user is used is carried out real time billing and On-line Control, therefore, if user uses the control that is not subject to online charging module in the process of business, by the situation that causes leaking being appearred in this user meter, wrong meter, existing GPRS Online Charging System lacks effective monitoring mechanism, cannot know whether user occurs leaking the situation of meter, wrong meter, poor reliability, cannot be protected the income of operator.
Summary of the invention
The embodiment of the present invention provides a kind of charging auditing method and charging to check device, for improving the reliability of GPRS Online Charging System, ensures the income of operator.
For solving the problems of the technologies described above, the embodiment of the present invention provides following technical scheme:
A charging auditing method, is applied to GPRS Online Charging System, comprising:
Obtain online charging inventory, wherein, above-mentioned online charging inventory by the online charging module of above-mentioned GPRS Online Charging System after this online of user is rolled off the production line, according to the session information of above-mentioned this online of user of GGSN record and to above-mentioned session information, carry out the cost information generation obtaining after batched valuation processing, wherein, above-mentioned online charging inventory comprises the inventory record of above-mentioned this online of user, wherein, above-mentioned inventory record comprises type of service, business use traffic and expense;
Obtain the GPRS ticket of above-mentioned this online of user of charging gateway generation, above-mentioned GPRS ticket is carried out to batched valuation processing, obtain wholesale price destination file, wherein, the ticket writing that above-mentioned wholesale price destination file comprises above-mentioned this online of user, wherein, above-mentioned ticket writing comprises type of service, business use traffic and expense;
To checking that default the above-mentioned online charging inventory and the above-mentioned wholesale price destination file that obtain in the cycle check processing, file is checked in output, wherein, above-mentioned at least one of checking in the following file of file including: statistic of classification file, differential file and check report file.
A device is checked in charging, is applied to GPRS Online Charging System, comprising:
The first acquiring unit, be used for obtaining online charging inventory, wherein, above-mentioned online charging inventory by the online charging module of above-mentioned GPRS Online Charging System after this online of user is rolled off the production line, according to the session information of above-mentioned this online of user of GGSN record and to above-mentioned session information, carry out the cost information generation obtaining after batched valuation processing, wherein, above-mentioned online charging inventory comprises the inventory record of above-mentioned this online of user, wherein, above-mentioned inventory record comprises type of service, business use traffic and expense;
Second acquisition unit, for obtaining the GPRS ticket of above-mentioned this online of user of charging gateway generation;
Batched valuation processing unit, for the GPRS ticket that above-mentioned second acquisition unit is obtained, carry out batched valuation processing, obtain wholesale price destination file, wherein, the ticket writing that above-mentioned wholesale price destination file comprises above-mentioned this online of user, wherein, above-mentioned ticket writing comprises type of service, business use traffic and expense;
Check processing unit, be used for checking in the cycle default, above-mentioned online charging inventory and above-mentioned wholesale price destination file that above-mentioned the first acquiring unit and above-mentioned batched valuation processing unit obtain are checked processing, file is checked in output, wherein, above-mentioned at least one of checking in the following file of file including: statistic of classification file, differential file and check report file.
Therefore, the embodiment of the present invention is by obtaining online charging inventory and obtaining GPRS ticket, and the online charging inventory obtaining and the GPRS ticket after batched valuation is processed are checked, and file is checked in output, realized GPRS online charging handling process has been monitored, made staff to find in time the Lou problem such as meter, wrong meter according to the file of checking of output, improved the reliability of GPRS Online Charging System, meanwhile, also ensured the income of operator.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is existing GPRS online charging handling process schematic diagram;
Embodiment schematic flow sheet of a kind of charging auditing method that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet that a kind of business sorts and data merge that Fig. 3 provides for the embodiment of the present invention;
A kind of processing schematic flow sheet of checking that Fig. 4 provides for the embodiment of the present invention;
Example structure schematic diagram of device is checked in a kind of charging that Fig. 5 provides for the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of charging auditing method and charging to check device.
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, but not whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
A kind of charging the auditing method below embodiment of the present invention being provided is described, and refers to Fig. 2, and a kind of charging auditing method in the embodiment of the present invention comprises:
201, obtain online charging inventory;
As shown in Figure 1, when user uses gprs service online, GGSN can trigger GPRS online charging flow process, by the online charging module of DCC protocol message and GPRS Online Charging System, is undertaken alternately.After user offline, the cost information that the session information of this online of user that online charging module can send over according to GGSN and this session information is carried out obtains after batched valuation processing, generates online keep cost order file.
In embodiments of the present invention, charging checks that device obtains the above-mentioned online charging inventory that above-mentioned online charging module generates, wherein, charging checks that the mode that device obtains above-mentioned online charging inventory can be: by above-mentioned online charging module, send to charging to check device in above-mentioned online charging inventory, or, also can after other device obtains above-mentioned online charging inventory from above-mentioned online charging module, be transmitted to charging and check device, be not construed as limiting herein.
Wherein, above-mentioned online charging inventory comprises the inventory record of above-mentioned this online of user, and wherein, above-mentioned inventory record comprises type of service, business use traffic and expense.Above-mentioned type of service can be indicated by service code.
In embodiments of the present invention, user in the flow process of once surfing the Net corresponding to a PDP session, GGSN can distribute unduplicated Charging-Id as rates ground for each PDP session, therefore, the combination of GGSN address and Charging-Id can PDP session of unique identification, because GGSN may carry out cutting to business use procedure when realizing online charging control function, therefore, a PDP session may be divided into many online charging inventories, certainly, a PDP session also may a corresponding online charging inventory.
202, obtain the GPRS ticket of above-mentioned this online of user of CG generation;
In embodiments of the present invention, when user surfs the Net by gprs service, SGSN and GGSN get off the PDP conversation recording this online of user, generate respectively SGSN ticket and GGSN ticket and send to CG to merge processing, obtain GPRS ticket.
The above-mentioned user's that device Real-time Obtaining CG generates GPRS ticket is checked in charging, wherein, above-mentioned charging checks that the mode that device obtains GPRS can be: by CG, in real time above-mentioned user's GPRS single transmit is checked to device to charging, or, also can from CG, after the above-mentioned user's of Real-time Obtaining GPRS ticket, be transmitted to charging by other device and check device, be not construed as limiting herein.
While generating GPRS ticket due to CG, to business use procedure GGSN, when realizing online charging control function, to business use procedure, may carry out cutting, therefore, a PDP session may be divided into many GPRS tickets, and certainly, a PDP session also may a corresponding GPRS ticket.
203, above-mentioned GPRS ticket is carried out to batched valuation processing, obtain wholesale price destination file;
Charging checks that device carries out batched valuation processing (according to GPRS ticket computational costs, and calculating the expense that deduct according to this user situation) to the GPRS ticket getting, and obtains wholesale price destination file.
Wherein, the ticket writing that above-mentioned wholesale price destination file comprises above-mentioned this online of user, wherein, above-mentioned ticket writing comprises type of service, business use traffic and expense.
204, to checking that default the online charging inventory and the wholesale price destination file that obtain in the cycle check processing, file is checked in output;
In embodiments of the present invention, charging checks that device setting checks the cycle, to checking that default the online charging inventory and the wholesale price destination file that obtain in the cycle check processing, file is checked in output, the 00:00 that for example can be arranged on every day divides the 00:00 in the previous day is divided to all online charging inventories and the wholesale price destination file that obtain during 23:59 divides and checks processing, and file is checked in output.
Wherein, above-mentioned at least one of checking in the following file of file including: statistic of classification file, differential file and check report file.
In embodiments of the present invention, while the cutting of business use procedure and CG being generated to GPRS ticket due to GGSN when realizing online charging and control function, the cutting of business use procedure is not necessarily consistent, likely for the PDP session with once, online charging inventory is divided into 3, and GPRS ticket is divided into 2.Therefore, in embodiments of the present invention, charging checks that device first carries out the preliminary treatment of business sorting and data merging to the online charging inventory obtaining and wholesale price destination file, to can obtain respectively log-on count, business use traffic and the expense of the various types of traffic of different user from above-mentioned online charging inventory and in above-mentioned wholesale price destination file.In embodiments of the present invention, charging checks that device can carry out business sorting and data merging to the online charging inventory obtaining and wholesale price destination file according to GGSN address, Charging-Id and service code.
Under a kind of application scenarios, when above-mentioned while checking file including statistic of classification file, above-mentionedly check that the process of processing comprises: to checking that default the above-mentioned pretreated all online charging inventories of the process obtaining in the cycle add up, generate the statistic of classification file of online keep cost order; To checking that default the above-mentioned pretreated all wholesale price destination files of the process obtaining in the cycle add up, generate the statistic of classification file of wholesale price destination file.Further, charging checks that device can also extract the data in the statistic of classification file of above-mentioned online charging inventory and the statistic of classification file of above-mentioned wholesale price destination file according to preset statement form, generates and checks report file output.Further, when above-mentioned while checking file including differential file, above-mentionedly check that the process of processing also can comprise: the statistic of classification file of above-mentioned online charging inventory and the statistic of classification file of above-mentioned wholesale price destination file that generate are compared, due in actual applications, the statistic of classification file of above-mentioned online charging inventory should be consistent with the record in the statistic of classification file of above-mentioned wholesale price destination file, therefore, when comparing the statistic of classification file of above-mentioned online charging inventory and the statistic of classification file of above-mentioned wholesale price destination file and exist data inconsistent, may there is error of omission, the situation of incorrect posting, now, charging checks that device can find out the inconsistent record of data, generate differential file.In actual applications, for same type of service, if the total log-on count (or total flow) recording in the statistic of classification file of the total log-on count (or total flow) recording in the statistic of classification file of online charging inventory and wholesale price destination file is inconsistent, can judge and occur that error of omission situation, charging check that device can further carry in above-mentioned differential file and be used to indicate the error of omission indication information that occurs error of omission situation; And for same type of service, if the total log-on count and the total flow that record in the statistic of classification file of the total log-on count recording in the statistic of classification file of online charging inventory and total flow and institute's wholesale price destination file are consistent, but the total cost recording in the total cost recording in the statistic of classification file of online charging inventory and the statistic of classification file of wholesale price destination file is inconsistent, can judge and occur that incorrect posting situation, charging check that device can further carry in above-mentioned differential file and be used to indicate the incorrect posting indication information that occurs incorrect posting situation.Certainly, in embodiments of the present invention, first threshold, Second Threshold and the 3rd threshold value also can be set respectively, when the difference of the total log-on count (or total flow) recording in the total log-on count (or total flow) recording and the statistic of classification file of wholesale price destination file is greater than first threshold (or Second Threshold), just judge the error of omission situation that occurs in comparing the statistic of classification file of online charging inventory; The difference of the total log-on count (or total flow) recording in the total log-on count (or total flow) recording in comparing the statistic of classification file of online charging inventory and the statistic of classification file of wholesale price destination file is less than or equal to first threshold (or Second Threshold), but when the difference of the total cost recording in the total cost recording in the statistic of classification file of online charging inventory and the statistic of classification file of wholesale price destination file is greater than the 3rd threshold value, just judge the incorrect posting situation that occurs.First threshold, Second Threshold and the 3rd threshold value can be set according to the actual requirements, and first threshold, Second Threshold and the 3rd threshold value may equate, also may be unequal, be not construed as limiting herein.
Therefore, the embodiment of the present invention is by obtaining online charging inventory and obtaining GPRS ticket, and the online charging inventory obtaining and the GPRS ticket after batched valuation is processed are checked, and file is checked in output, realized GPRS online charging handling process has been monitored, made staff to find in time the Lou problem such as meter, wrong meter according to the file of checking of output, improved the reliability of GPRS Online Charging System, meanwhile, also ensured the income of operator.
For ease of understanding better technical solution of the present invention, with a concrete application scenarios, charging in the embodiment of the present invention is checked to the preprocessing process that device merges business sorting and the data of online charging inventory is described in detail below, in the embodiment of the present invention, with the record that memory table is independently stored pretreated online charging inventory, refer to Fig. 3, comprising:
301, scan one by one the record of online charging inventory.
Whether the affiliated PDP session service of record that 302, judges current scanning registers in above-mentioned memory table;
Because same PDP session may comprise a plurality of PDP session services, the different PDP session services of same PDP session are distinguished by service code, and same PDP session service may be divided into many records, therefore, check that processing unit can determine the PDP session service under this record by GGSN address, Charging-Id and the service code of the record of current scanning, and judge whether this PDP session service registers in memory table.
If register, perform step 303, if not, perform step 304.
303, by the data accumulation in the record of current scanning to the data with existing of the PDP session service under this record in above-mentioned memory table;
Due to the data that existed in memory table by the definite PDP session service of GGSN address, Charging-Id and service code, therefore, charging processing module is added to the data in the record of current scanning (as business use traffic and expense) respectively on the data with existing (as business use traffic and the expense of having stored) of the PDP session service under this record in memory table.
304, in above-mentioned memory table, increase this record;
Charging checks that device is stored in the data in the record of current scanning in above-mentioned memory table, further, can determine the PDP session under this record by GGSN address, Charging-Id and the service code of this record, be the data of this PDP session service by the Data Identification of this record of storage in memory table.
305, judge whether to also have the not record of scanning;
Charging checks that device judges whether online charging inventory also has the not record of scanning, if having, reads next record not scanning and scans, and returns to step 302, if full scan is complete, performs step 306.
306, finish the preprocessing process to this online charging inventory.
It should be noted that, the embodiment of the present invention adopts two kinds of different memory tables to store respectively the record of pretreated online charging inventory and the record of wholesale price destination file, wherein, charging checks that device carries out pretreated process to the record in wholesale price destination file and can, with reference to the flow process shown in Fig. 3, repeat no more herein.In embodiments of the present invention, charging checks that device carries out pretreated process to the record in online charging inventory and wholesale price destination file and can carry out simultaneously, certainly, also can after the record in the complete online charging inventory of preliminary treatment, to the record in wholesale price destination file, carry out preliminary treatment again, or, also can after the record in the complete wholesale price destination file of preliminary treatment, to the record in online charging inventory, carry out preliminary treatment again, be not construed as limiting herein.
Further, the embodiment based on shown in Fig. 3, the processing procedure of checking in the embodiment of the present invention can as shown in Figure 4, comprise:
401, default in two memory tables checked to the data in the cycle add up respectively;
Wherein, in above-mentioned two memory tables, store respectively the record of pretreated online charging inventory and the record of pretreated wholesale price destination file.
Charging checks that device adds up the data in two memory tables respectively, calculates total log-on count, total flow and the total cost of each PDP session service.
402, generate and export the statistic of classification file of online charging inventory and the statistic of classification file of wholesale price destination file, and check report file;
Charging checks that module is after adding up above-mentioned two memory tables, generate and export the statistic of classification file of online charging inventory and the statistic of classification file of wholesale price destination file, simultaneously, according to preset statement form, extract the data in the statistic of classification file of online charging inventory and the statistic of classification file of wholesale price destination file, generate and check report file.
For ease of describing, in embodiments of the present invention, by the statistic of classification short title of online charging inventory, be online charging statistic of classification inventory, by the statistic of classification short title of wholesale price destination file, be offline charging statistic of classification ticket.
403, relatively online charging statistic of classification inventory counts total log-on count and total flow, whether the total log-on count counting with offline charging statistic of classification ticket and the difference of total flow be in specified scope;
Total log-on count and the total flow of the same type of service counting in device comparison online charging statistic of classification and inventory line charging statistic of classification ticket checked in charging, the total log-on count counting in the total log-on count counting in online charging statistic of classification inventory and total flow and inventory line charging statistic of classification ticket and the difference of total flow are in specified scope, perform step 404, otherwise, execution step 405.
In the embodiment of the present invention, charging checks that device can determine a type of service by GGSN address, Charging-Id and service code.
404, the total cost that relatively online charging statistic of classification inventory counts, whether the difference of the total cost counting with offline charging statistic of classification ticket is in specified scope;
The total cost of the same type of service counting in device comparison online charging statistic of classification and inventory line charging statistic of classification ticket is checked in charging, the difference of the total cost counting in the total cost counting in online charging statistic of classification inventory and inventory line charging statistic of classification ticket is in specified scope, perform step 407, otherwise, execution step 406.
In the embodiment of the present invention, charging checks that device can determine a type of service by GGSN address, Charging-Id and service code.
405, generate and export differential file, and in differential file, carry and be used to indicate the error of omission indication information that occurs error of omission situation;
Wherein, the type of service corresponding record of the difference that comprises total log-on count and total flow in above-mentioned differential file outside specified scope.
406, generate and export differential file, and in differential file, carry and be used to indicate the incorrect posting indication information that occurs incorrect posting situation;
Wherein, the type of service corresponding record of the difference that comprises total cost in above-mentioned differential file outside specified scope.
407, finish this flow process.
Therefore, the embodiment of the present invention is by obtaining online charging inventory and obtaining GPRS ticket, and the online charging inventory obtaining and the GPRS ticket after batched valuation is processed are checked, and file is checked in output, realized GPRS online charging handling process has been monitored, made staff to find in time the Lou problem such as meter, wrong meter according to the file of checking of output, improved the reliability of GPRS Online Charging System, meanwhile, also ensured the income of operator.
Charging in the embodiment of the present invention is checked to device is described below, refer to Fig. 5, device 500 is checked in the charging in the embodiment of the present invention, comprising:
The first acquiring unit 501, be used for obtaining online charging inventory, wherein, above-mentioned online charging inventory by the online charging module of GPRS Online Charging System after this online of user is rolled off the production line, according to the session information of above-mentioned this online of user of GGSN record and to above-mentioned session information, carry out the cost information generation obtaining after batched valuation processing, wherein, above-mentioned online charging inventory comprises the inventory record of above-mentioned this online of user, wherein, above-mentioned inventory record comprises type of service, business use traffic and expense;
Second acquisition unit 502, for obtaining the GPRS ticket of above-mentioned this online of user of charging gateway generation;
Batched valuation processing unit 503, for the GPRS ticket that second acquisition unit 502 is obtained, carry out batched valuation processing, obtain wholesale price destination file, wherein, the ticket writing that above-mentioned wholesale price destination file comprises above-mentioned this online of user, wherein, above-mentioned ticket writing comprises type of service, business use traffic and expense;
Check processing unit 504, be used for checking in the cycle default, above-mentioned online charging inventory and above-mentioned wholesale price destination file that the first acquiring unit 501 and batched valuation processing unit 503 obtain are checked processing, file is checked in output, wherein, above-mentioned at least one of checking in the following file of file including: statistic of classification file, differential file and check report file.
Under a kind of application scenarios, when above-mentioned while checking file including statistic of classification file; Charging checks that device 400 also can comprise: the first pretreatment unit and the second pretreatment unit; The preliminary treatment that above-mentioned the first pretreatment unit merges for the above-mentioned online charging inventory obtaining being carried out to business sorting and data, to obtain log-on count, business use traffic and the expense of the various types of traffic of different user from above-mentioned online charging inventory; Above-mentioned the second pretreatment unit, the preliminary treatment merging for wholesale price destination file obtained above being carried out to business sorting and data, to obtain log-on count, business use traffic and the expense of the various types of traffic of different user from above-mentioned wholesale price destination file; Check that processing unit 504 specifically can comprise: the first statistic of classification unit and the second statistic of classification unit; Above-mentioned the first statistic of classification unit, for to checking in the cycle default, all online charging inventories after above-mentioned the first pretreatment unit is processed are added up, and generate the statistic of classification file of online keep cost order; Above-mentioned the second statistic of classification unit, for to checking in the cycle default, all wholesale price destination files after above-mentioned the second pretreatment unit is processed are added up, and generate the statistic of classification file of wholesale price destination file.
Under another kind of application scenarios, when above-mentioned, while checking file including differential file, check that processing unit 504 also comprises: comparing unit, for the statistic of classification file of online charging inventory and the statistic of classification file of wholesale price destination file of more above-mentioned generation; Generation unit, while existing data inconsistent for compare the statistic of classification file of above-mentioned online charging inventory and the statistic of classification file of above-mentioned wholesale price destination file when above-mentioned comparing unit, generate differential file, wherein, above-mentioned differential file comprises the inconsistent record of data, wherein, above-mentioned at least one being recorded as in above-mentioned inventory record and above-mentioned ticket writing.Further, above-mentioned generation unit also for: for same type of service, if it is inconsistent that above-mentioned comparing unit compares the total log-on count recording in the statistic of classification file of total log-on count of recording in the statistic of classification file of above-mentioned online charging inventory and above-mentioned wholesale price destination file, in the differential file of above-mentioned generation, carry and be used to indicate the error of omission indication information that occurs error of omission situation; Or, for same type of service, if it is inconsistent that above-mentioned comparing unit compares the total flow recording in the statistic of classification file of the total flow that records in the statistic of classification file of above-mentioned online charging inventory and above-mentioned wholesale price destination file, in the differential file of above-mentioned generation, carry and be used to indicate the error of omission indication information that occurs error of omission situation; Or, for same type of service, if it is consistent that above-mentioned comparing unit compares the total log-on count and the total flow that record in the statistic of classification file of total log-on count of recording in the statistic of classification file of above-mentioned online charging inventory and total flow and above-mentioned wholesale price destination file, but the total cost recording in the total cost recording in the statistic of classification file of above-mentioned online charging inventory and the statistic of classification file of above-mentioned wholesale price destination file is inconsistent, in the differential file of above-mentioned generation, carries and be used to indicate the error of omission indication information that occurs error of omission situation.
In another kind of application scenarios, when above-mentioned while checking that file including is checked report file, charging checks that device 400 also can comprise: report generation unit, be used for according to preset statement form, extract the data in the statistic of classification file of above-mentioned online charging inventory, the statistic of classification file of above-mentioned wholesale price destination file and above-mentioned differential file, generate and check report file.
It should be noted that, the charging of the embodiment of the present invention checks that device 400 can check device as the charging in said apparatus embodiment, and its specific implementation process can, with reference to the associated description in above-described embodiment, repeat no more herein.
Above a kind of charging auditing method provided by the present invention and charging are checked to device is described in detail, for one of ordinary skill in the art, thought according to the embodiment of the present invention, all will change in specific embodiments and applications, to sum up, this description should not be construed as limitation of the present invention.

Claims (8)

1. a charging auditing method, is applied to general packet radio service GPRS Online Charging System, it is characterized in that, comprising:
Obtain online charging inventory, wherein, described online charging inventory by the online charging module of described GPRS Online Charging System after this online of user is rolled off the production line, according to the session information of described this online of user of GGSN record and to described session information, carry out the cost information generation obtaining after batched valuation processing, wherein, described online charging inventory comprises the inventory record of described this online of user, wherein, described inventory record comprises type of service, business use traffic and expense;
Obtain the GPRS ticket of described this online of user of charging gateway generation, described GPRS ticket is carried out to batched valuation processing, obtain wholesale price destination file, wherein, the ticket writing that described wholesale price destination file comprises described this online of user, wherein, described ticket writing comprises type of service, business use traffic and expense;
To checking that default the described online charging inventory and the described wholesale price destination file that obtain in the cycle check processing, file is checked in output, wherein, described in, check at least one in the following file of file including: statistic of classification file, differential file and check report file;
When described while checking file including statistic of classification file:
Described to default check that the described online charging inventory that obtains in the cycle and described wholesale price destination file are checked processing before, comprising:
The described online charging inventory obtaining is carried out to the preliminary treatment of business sorting and data merging, to obtain log-on count, business use traffic and the expense of the various types of traffic of different user from described online charging inventory;
The described wholesale price destination file obtaining is carried out to the preliminary treatment of business sorting and data merging, to obtain log-on count, business use traffic and the expense of the various types of traffic of different user from described wholesale price destination file;
Described to checking that default the described online charging inventory and the described wholesale price destination file that obtain in the cycle check processing, comprising:
To checking that default the described pretreated all online charging inventories of the process obtaining in the cycle add up, generate the statistic of classification file of online keep cost order;
To checking that default the described pretreated all wholesale price destination files of the process obtaining in the cycle add up, generate the statistic of classification file of wholesale price destination file.
2. method according to claim 1, is characterized in that, when described while checking file including differential file:
Described to checking that default the described online charging inventory and the described wholesale price destination file that obtain in the cycle check processing, also comprise:
The statistic of classification file of the online charging inventory of more described generation and the statistic of classification file of wholesale price destination file;
If compare the statistic of classification file of described online charging inventory and the statistic of classification file of described wholesale price destination file exists data inconsistent, generate differential file, wherein, described differential file comprises the inconsistent record of data, wherein, described in, be recorded as at least one in described inventory record and described ticket writing.
3. method according to claim 2, is characterized in that,
If described, compare the statistic of classification file of described online charging inventory and the statistic of classification file of described wholesale price destination file exists data inconsistent, generate differential file, comprising:
For same type of service, if the total log-on count recording in the statistic of classification file of the total log-on count recording in the statistic of classification file of described online charging inventory and described wholesale price destination file is inconsistent:
Generate differential file, and in described differential file, carry and be used to indicate the error of omission indication information that occurs error of omission situation;
Or,
For same type of service, if the total flow recording in the statistic of classification file of the total flow recording in the statistic of classification file of described online charging inventory and described wholesale price destination file is inconsistent:
Generate differential file, and in described differential file, carry and be used to indicate the error of omission indication information that occurs error of omission situation;
Or,
For same type of service, if the total log-on count and the total flow that record in the statistic of classification file of the total log-on count recording in the statistic of classification file of described online charging inventory and total flow and described wholesale price destination file are consistent, but the total cost recording in the total cost recording in the statistic of classification file of described online charging inventory and the statistic of classification file of described wholesale price destination file is inconsistent:
Generate differential file, and in described differential file, carry and be used to indicate the incorrect posting indication information that occurs incorrect posting situation.
4. according to the method described in claims 1 to 3 any one, it is characterized in that,
When described while checking that file including is checked report file:
Described to checking that default the described online charging inventory and the described wholesale price destination file that obtain in the cycle check processing, also comprise:
According to preset statement form, extract the data in the statistic of classification file of described online charging inventory and the statistic of classification file of described wholesale price destination file, generate and check report file.
5. a device is checked in charging, is applied to general packet radio service GPRS Online Charging System, it is characterized in that, comprising:
The first acquiring unit, be used for obtaining online charging inventory, wherein, described online charging inventory by the online charging module of described GPRS Online Charging System after this online of user is rolled off the production line, according to the session information of described this online of user of GGSN record and to described session information, carry out the cost information generation obtaining after batched valuation processing, wherein, described online charging inventory comprises the inventory record of described this online of user, wherein, described inventory record comprises type of service, business use traffic and expense;
Second acquisition unit, for obtaining the GPRS ticket of described this online of user of charging gateway generation;
Batched valuation processing unit, for the GPRS ticket that described second acquisition unit is obtained, carry out batched valuation processing, obtain wholesale price destination file, wherein, the ticket writing that described wholesale price destination file comprises described this online of user, wherein, described ticket writing comprises type of service, business use traffic and expense;
Check processing unit, be used for checking in the cycle default, described online charging inventory and described wholesale price destination file that described the first acquiring unit and described batched valuation processing unit obtain are checked processing, file is checked in output, wherein, described in, check at least one in the following file of file including: statistic of classification file, differential file and check report file;
When described while checking file including statistic of classification file;
Described charging checks that device also comprises: the first pretreatment unit and the second pretreatment unit;
The preliminary treatment that described the first pretreatment unit merges for the described online charging inventory obtaining being carried out to business sorting and data, to obtain log-on count, business use traffic and the expense of the various types of traffic of different user from described online charging inventory;
Described the second pretreatment unit, the preliminary treatment merging for the described wholesale price destination file obtaining being carried out to business sorting and data, to obtain log-on count, business use traffic and the expense of the various types of traffic of different user from described wholesale price destination file;
Describedly check that processing unit comprises: the first statistic of classification unit and the second statistic of classification unit;
Described the first statistic of classification unit, for to checking in the cycle default, all online charging inventories after described the first pretreatment unit is processed are added up, and generate the statistic of classification file of online keep cost order;
Described the second statistic of classification unit, for to checking in the cycle default, all wholesale price destination files after described the second pretreatment unit is processed are added up, and generate the statistic of classification file of wholesale price destination file.
6. device is checked in charging according to claim 5, it is characterized in that,
When described while checking file including differential file, described in check that processing unit also comprises:
Comparing unit, for the statistic of classification file of online charging inventory and the statistic of classification file of wholesale price destination file of more described generation;
Generation unit, while existing data inconsistent for compare the statistic of classification file of described online charging inventory and the statistic of classification file of described wholesale price destination file when comparing unit, generate differential file, wherein, described differential file comprises the inconsistent record of data, wherein, described in, be recorded as at least one in described inventory record and described ticket writing.
7. device is checked in charging according to claim 6, it is characterized in that,
Described generation unit also for: for same type of service, if it is inconsistent that described comparing unit compares the total log-on count recording in the statistic of classification file of total log-on count of recording in the statistic of classification file of described online charging inventory and described wholesale price destination file, in the differential file of described generation, carry and be used to indicate the error of omission indication information that occurs error of omission situation; Or, for same type of service, if it is inconsistent that described comparing unit compares the total flow recording in the statistic of classification file of the total flow that records in the statistic of classification file of described online charging inventory and described wholesale price destination file, in the differential file of described generation, carry and be used to indicate the error of omission indication information that occurs error of omission situation; Or, for same type of service, if it is consistent that described comparing unit compares the total log-on count and the total flow that record in the statistic of classification file of total log-on count of recording in the statistic of classification file of described online charging inventory and total flow and described wholesale price destination file, but the total cost recording in the total cost recording in the statistic of classification file of described online charging inventory and the statistic of classification file of described wholesale price destination file is inconsistent, in the differential file of described generation, carries and be used to indicate the error of omission indication information that occurs error of omission situation.
8. according to the charging described in claim 5~7 any one, check device, it is characterized in that,
When described while checking that file including is checked report file, described charging checks that device also comprises: report generation unit, be used for according to preset statement form, extract the data in the statistic of classification file of described online charging inventory, the statistic of classification file of described wholesale price destination file and described differential file, generate and check report file.
CN201210193429.8A 2012-06-12 2012-06-12 Method and device for auditing charging Expired - Fee Related CN102685709B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210193429.8A CN102685709B (en) 2012-06-12 2012-06-12 Method and device for auditing charging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210193429.8A CN102685709B (en) 2012-06-12 2012-06-12 Method and device for auditing charging

Publications (2)

Publication Number Publication Date
CN102685709A CN102685709A (en) 2012-09-19
CN102685709B true CN102685709B (en) 2014-10-29

Family

ID=46816950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210193429.8A Expired - Fee Related CN102685709B (en) 2012-06-12 2012-06-12 Method and device for auditing charging

Country Status (1)

Country Link
CN (1) CN102685709B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530767A (en) * 2013-09-10 2014-01-22 潘之凯 Method for information security of metered amount charging system
CN105068978A (en) * 2015-08-07 2015-11-18 北京思特奇信息技术股份有限公司 Method and system for automatically auditing daily statement and monthly statement based on database
CN107085757B (en) * 2016-02-16 2021-06-29 中国移动通信集团江苏有限公司 Method and device for determining risk type user
CN111340606B (en) * 2018-11-30 2024-03-22 中国移动通信集团湖南有限公司 Whole-flow income auditing method and device
CN113645050B (en) * 2020-05-11 2024-02-23 中国移动通信集团湖北有限公司 Large-traffic user ticket gradient merging method and device and computing equipment
CN112134714B (en) * 2020-08-04 2023-04-21 北京思特奇信息技术股份有限公司 Real-time online charging auditing system and method
CN112073926B (en) * 2020-09-30 2022-02-01 北京思特奇信息技术股份有限公司 Flow auditing method and system based on message charging
CN112770008A (en) * 2020-11-30 2021-05-07 北京思特奇信息技术股份有限公司 Intelligent dialing and testing ticket auditing method and system
CN112822650B (en) * 2020-12-23 2022-08-05 北京思特奇信息技术股份有限公司 Method and system for auditing accounting accuracy of MAS (Multi-agent System) service
CN115150763A (en) * 2021-03-30 2022-10-04 中国移动通信集团江苏有限公司 Call bill charging method and device
CN113823005A (en) * 2021-09-16 2021-12-21 北京北大千方科技有限公司 Roadside parking charging system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431580A (en) * 2008-10-24 2009-05-13 中国移动通信集团山东有限公司 Voice service charging method and apparatus thereof
EP2101442A1 (en) * 2007-01-22 2009-09-16 Huawei Technologies Co., Ltd. Charging processing method, service network element and charging system thereof
CN102075897A (en) * 2009-11-20 2011-05-25 中国移动通信集团江苏有限公司 Method and system for charging mobile data service

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2101442A1 (en) * 2007-01-22 2009-09-16 Huawei Technologies Co., Ltd. Charging processing method, service network element and charging system thereof
CN101431580A (en) * 2008-10-24 2009-05-13 中国移动通信集团山东有限公司 Voice service charging method and apparatus thereof
CN102075897A (en) * 2009-11-20 2011-05-25 中国移动通信集团江苏有限公司 Method and system for charging mobile data service

Also Published As

Publication number Publication date
CN102685709A (en) 2012-09-19

Similar Documents

Publication Publication Date Title
CN102685709B (en) Method and device for auditing charging
CN101959168B (en) Billing statistical method and device
CN100389561C (en) Charge network and charge agency device and charge method
CN101479989B (en) Charging of GPRS traffic for roaming mobiles by performing traffic counting at the user terminal
CN102388634B (en) A kind of flow charging method, device and system
CN103220651A (en) Method and equipment for carrying out charging control on application layer data
CN103220158A (en) Method and equipment for carrying out charging control on sponsorship data
JP7343561B2 (en) Method and device for information exchange in online billing
CN105050068B (en) A kind of charging bill record detection bearing calibration, device and ticket processing system
CN101277203A (en) Implementation of rate timer control in beforehand bookkeeping unit to support on-line and off-line charge
CN103997724A (en) Method, device and system used for aggregate charging information
US20150079926A1 (en) Modifying a quality of a connection between a terminal and an application server
WO2013060387A1 (en) Processing usage information for machine-to-machine communication
CN101188505B (en) content type recognition method and device
CN101005384A (en) Processing method, system and device in charging process
CN101860838B (en) Method and system for charging prepayment
US8838488B1 (en) Maintaining a common identifier for a user session on a communication network
CN103237299A (en) Billing control method, strategy control method and equipment based on network sharing
CN101262647A (en) Processing method, system and device for billing service
CN102355650B (en) A kind of method for processing business and system
CN106936603A (en) A kind of data service billing method, device and system
CN102395117B (en) Method and device for identifying content type
CN101150416A (en) Third-party billing method and system
CN111542005B (en) Charging method, device, equipment and storage medium
CN102075386A (en) Identification method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 19, building 368, 510300 South Guangzhou Avenue, Guangdong, Guangzhou

Applicant after: Sunrise Technology Co., Ltd.

Address before: 19, building 368, 510300 South Guangzhou Avenue, Guangdong, Guangzhou

Applicant before: Snrise Corporation

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SNRISE CORPORATION TO: CONGXING TECHNOLOGY CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: HONGKONG SHIYE DEVELOPMENT CO., LTD.

Free format text: FORMER OWNER: CONGXING TECHNOLOGY CO., LTD.

Effective date: 20150728

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150728

Address after: Room 32, building 3205, Bank of America, 12 Cecil Harcourt Road, central, Hongkong, China

Patentee after: Hongkong world industry development Co., Ltd.

Address before: 19, building 368, 510300 South Guangzhou Avenue, Guangdong, Guangzhou

Patentee before: Sunrise Technology Co., Ltd.

ASS Succession or assignment of patent right

Owner name: TELEFON AB L.M. ERICSSON (SE)

Free format text: FORMER OWNER: HONGKONG SHIYE DEVELOPMENT CO., LTD.

Effective date: 20150909

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150909

Address after: Stockholm

Patentee after: Telefon AB L.M. Ericsson [SE]

Address before: Room 32, building 3205, Bank of America, 12 Cecil Harcourt Road, central, Hongkong, China

Patentee before: Hongkong world industry development Co., Ltd.

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

Granted publication date: 20141029

Termination date: 20170612

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