CN105721174B - A kind of charging method, charge system and billing terminal - Google Patents
A kind of charging method, charge system and billing terminal Download PDFInfo
- Publication number
- CN105721174B CN105721174B CN201610262580.0A CN201610262580A CN105721174B CN 105721174 B CN105721174 B CN 105721174B CN 201610262580 A CN201610262580 A CN 201610262580A CN 105721174 B CN105721174 B CN 105721174B
- Authority
- CN
- China
- Prior art keywords
- user
- ticket
- charging
- information
- different types
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 74
- 230000008569 process Effects 0.000 claims abstract description 38
- 230000003068 static effect Effects 0.000 claims abstract description 31
- 238000009826 distribution Methods 0.000 claims abstract description 20
- 230000007246 mechanism Effects 0.000 claims abstract description 20
- 230000002452 interceptive effect Effects 0.000 claims abstract description 11
- 238000004364 calculation method Methods 0.000 claims description 19
- 230000001186 cumulative effect Effects 0.000 claims description 9
- 238000009825 accumulation Methods 0.000 claims description 2
- 230000010354 integration Effects 0.000 abstract description 7
- 238000000926 separation method Methods 0.000 abstract description 7
- 235000012054 meals Nutrition 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000000605 extraction Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1403—Architecture for metering, charging or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1442—Charging, metering or billing arrangements for data wireline or wireless communications at network operator level
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention provides a kind of charging method, charge system and billing terminal.The charging method includes: to store the Original CDR of acquisition to distribution open source file system;Interactive management level static data will be needed to store to PostgreSQL database in charging process;Based on distribution open source file system and PostgreSQL database, charging is carried out to Original CDR using the mechanism that multiple task parallelisms are handled;Wherein, a process definition is to carry out charging processing to whole tickets of a user.The charging method realizes the separation of product and rate in charging process, so that substantially reducing with flow ticket is the leading epoch, original flow ticket is increased sharply in a short time to pressure caused by charge system, simultaneously, distributed integration is also achieved, to substantially increase the charging efficiency after number of users increases significantly;In addition, the charging method also realizes the quick support of business scenario by the flexible combination to charging element.
Description
Technical field
The present invention relates to fields of communication technology, and in particular, to a kind of charging method, charge system and billing terminal.
Background technique
Currently, telecommunication service reduces and the transition of mixed service that flow takes place frequently from single voice service to voice, flexibly
Management style be the commercial outcome that major telecom operators are pursued main handgrip.
It is hard mostly that the traditional charge mode and charge system of telecom operators, which are based on 97 systems as technology develops,
Part part carries out in dilatation or data set, but intrinsic charging thinking and charge mode can not achieve and supported building flexible
The means of management tactics, therefore, searching adapts to the charging method that flow takes place frequently and technical support method is extremely urgent.
Traditional charging mode based on 97 charge systems is realized as shown in Figure 1, the charging method includes the current generation of acquisition
Ticket, ticket is pre-processed, expense calculating and wholesale price are carried out to every ticket, it is then that every ticket input is main single in detail
Library finally carries out tired account to the ticket in main library single in detail.In entire charging process, the CRM system of management level,
Billing accounting system, Product Management System and products configuration the system required data in charging will share to internal storage data
Library, the charging processing of every ticket will load the data of needs from memory database, i.e., need in charging process frequently
With memory database interaction data, such as pretreated call bill data and the tariff rule data in memory database.
Above-mentioned charging method in the prior art carries out the meter of string type to the every ticket generated over time
Take processing, charging mode is cumbersome, is difficult to ensure efficiency after user volume increases sharply to hundreds of millions ranks;Meanwhile existing charging method produces
Product and rate bundle, and to existing charge system cause enormous pressure becoming the flow leading epoch from voice.
Summary of the invention
The present invention is directed to the above-mentioned technical problems in the prior art, provides a kind of charging method, charge system and meter
Take terminal.The charging method realizes the separation of product and rate in charging process, to substantially reduce and be with flow ticket
Leading epoch, original flow ticket are increased sharply in a short time to pressure caused by charge system, meanwhile, also achieve distribution
Charging, to substantially increase the charging efficiency after number of users increases significantly;In addition, the charging method is also by charging element
Flexible combination realize the quick support of business scenario.
The present invention provides a kind of charging method, comprising:
The Original CDR of acquisition is stored to distribution open source file system;
Interactive management level static data will be needed to store to PostgreSQL database in charging process;
Based on the distributed open source file system and the PostgreSQL database, the mechanism handled using multiple task parallelisms
Charging is carried out to Original CDR;
Wherein, a process definition is to carry out charging processing to whole tickets of a user.
Preferably, described based on the distributed open source file system and the PostgreSQL database, simultaneously using multiple processes
The mechanism of row processing carries out charging to Original CDR
The Original CDR is grouped, whole tickets correspondence of same user is distributed into a processing node;Its
In, the processing node include it is multiple, the user include it is multiple, each processing node is corresponding to distribute multiple use
Family;
Measure the ticket cumulant of each user;The ticket cumulant is the different types of of each user
The respective cumulative amount of ticket writing;
According to the ticket cumulant and the management level static data to the different types of ticket of each user
Record carries out calculation expense respectively.
Preferably, the management level static data includes: the subscriber information message of CRM system offer, charging
User's ordering products information of user's account data information, Product Management System offer that billing and accounting system provides and products configuration system
The product service configuration information that system provides.
Preferably, it is described according to the ticket cumulant and the management level static data to the difference of each user
The ticket writing of type carries out calculating expense respectively
The subscriber information message of each user is read from the PostgreSQL database, user's account data information, is used
Family ordering products information and product service configuration information;
According to the subscriber information message of each user, user's account data information, user's ordering products information and production
Product service configuration information carries out monovalent inquiry and package query to its different types of ticket writing respectively;
Each user is calculated according to the result and the ticket cumulant of the unit price inquiry and the package query
The respective total cost of different types of ticket writing.
Preferably, described based on the distributed open source file system and the PostgreSQL database, simultaneously using multiple processes
The mechanism of row processing carries out charging to Original CDR further include:
The different types of ticket writing of each user and its input of respective expense is main single in detail;
Add up the total cost of whole tickets of each user in the detailed list of the master.
The present invention also provides a kind of charge systems, including the first memory module, the second memory module and accounting module;
First memory module is used to store the Original CDR of acquisition to distribution open source file system;
Second memory module is for will need interactive management level static data to store to open source number in charging process
According to library;
The accounting module is used for based on the distributed open source file system and the PostgreSQL database, using it is multiple into
The mechanism of journey parallel processing carries out charging to Original CDR;
Wherein, a process definition is to carry out charging processing to whole tickets of a user.
Preferably, the accounting module includes grouped element, metering units and calculation expense unit;
The grouped element distributes to whole tickets correspondence of same user for being grouped to the Original CDR
One processing node;Wherein, the processing node includes multiple, and the user includes multiple, each processing node correspondence
Distribute multiple users;
The metering units are used to measure the ticket cumulant of each user;The ticket cumulant is each described
The respective cumulative amount of different types of ticket writing of user;
The calculation takes unit and is used for according to the ticket cumulant and the management level static data to each user
Different types of ticket writing carry out calculation expense respectively.
Preferably, the management level static data includes: the subscriber information message of CRM system offer, charging
User's ordering products information of user's account data information, Product Management System offer that billing and accounting system provides and products configuration system
The product service configuration information that system provides;
The calculation expense unit includes reading subunit, wholesale price subelement and computation subunit;
The reading subunit is used to read the subscriber information message of each user from the PostgreSQL database, uses
Family account data information, user's ordering products information and product service configuration information;
The wholesale price subelement is used for according to the subscriber information message of each user, user's account data information, uses
Family ordering products information and product service configuration information carry out monovalent inquiry and set meal to its different types of ticket writing respectively
Inquiry;
The computation subunit is used for result and ticket accumulation according to the unit price inquiry and the package query
Amount calculates the respective total cost of different types of ticket writing of each user.
Preferably, the accounting module further includes input unit and tired bill member;
The input unit is used to input the different types of ticket writing of each user and its respective expense
It is main single in detail;
The tired bill member is used to add up the total cost of whole tickets of each user in the detailed list of the master.
The present invention also provides a kind of billing terminals, including above-mentioned charge system.
Beneficial effects of the present invention: charging method provided by the present invention is opened by storing Original CDR to distribution
Source file system, and management level static data is stored to PostgreSQL database, realize point of product and rate in charging process
From so that substantially reducing with flow ticket is the leading epoch, original flow ticket is increased sharply in a short time to charge system
Caused by pressure, meanwhile, by using multiple task parallelisms handle mechanism to Original CDR carry out charging, realize distribution
Charging, to substantially increase the charging efficiency after number of users increases significantly;In addition, the charging method is also by charging element
Flexible combination realize the quick support of business scenario.
Charge system provided by the present invention realizes charging by the first memory module of setting and the second memory module
The separation of product and rate in the process, so that substantially reducing with flow ticket is the leading epoch, original flow ticket is short
It increases sharply in time to pressure caused by charge system, meanwhile, by the way that accounting module is arranged, distributed integration is realized, thus greatly
The charging efficiency after number of users increases significantly is improved greatly;In addition, the charging method also passes through the flexible combination to charging element
Realize the quick support of business scenario.
Billing terminal provided by the present invention makes the billing terminal realize distribution by using above-mentioned charge system
Charging, to substantially increase charging efficiency of the billing terminal after number of users substantial increase.
Detailed description of the invention
Fig. 1 is the charge mode schematic diagram of charging method in the prior art;
Fig. 2 is the flow chart of charging method in the embodiment of the present invention 1;
Fig. 3 is the charge mode schematic diagram of charging method in the embodiment of the present invention 1;
Fig. 4 is the specific implementation flow chart of step 12 in the embodiment of the present invention 2;
Fig. 5 is the schematic diagram of the multiple processes of parallel processing in a processing node in the embodiment of the present invention 2;
Fig. 6 is the schematic diagram of the multiple processes of parallel processing in multiple processing nodes in the embodiment of the present invention 2;
Fig. 7 is the functional block diagram of charge system in the embodiment of the present invention 3.
Description of symbols therein:
1. the first memory module;2. the second memory module;3. accounting module;31. grouped element;32. metering units;33.
Calculation takes unit;331. reading subunit;332. wholesale price subelements;333. computation subunit;34. input unit;35. tired bill
Member.
Specific embodiment
To make those skilled in the art more fully understand technical solution of the present invention, with reference to the accompanying drawing and it is embodied
Mode is described in further detail a kind of charging method provided by the present invention, charge system and billing terminal.
Embodiment 1:
The present embodiment provides a kind of charging methods, as shown in Figures 2 and 3, comprising:
Step 10: the Original CDR of acquisition is stored to distribution open source file system.
It before this step further include being acquired to Original CDR.
Step 11: interactive management level static data will be needed to store to PostgreSQL database in charging process.
Wherein, management level include CRM system, Billing accounting system, Product Management System and products configuration system
System.Management level static data includes: the use of subscriber information message, Billing accounting system offer that CRM system provides
The product business that the user's ordering products information and products configuration system that family account data information, Product Management System provide provide
Configuration information.
Compared with the existing technology, this step avoids the frequent loads to memory database, to substantially increase charging
The extraction rate of interactive management level static data is needed in the process.
Step 12: based on distributed open source file system and PostgreSQL database, the mechanism handled using multiple task parallelisms
Charging is carried out to Original CDR.
Wherein, a process definition is to carry out charging processing to whole tickets of a user.Multiple task parallelism processing
Mechanism be that parallel charging processing is carried out to the ticket of multiple users, compared with the existing technology in serial billing mechanism, this is simultaneously
Row treatment mechanism substantially increases the charging efficiency after number of users increases significantly.
The charging method is deposited management level static data by storing Original CDR to distribution open source file system
Storage realizes the separation of product and rate in charging process, to substantially reduce based on flow ticket to PostgreSQL database
The epoch led, original flow ticket are increased sharply in a short time to pressure caused by charge system, meanwhile, by using multiple processes
The mechanism of parallel processing carries out charging to Original CDR, realizes distributed integration, largely increases to substantially increase number of users
Charging efficiency after adding;In addition, the charging method also realizes the quick of business scenario by the flexible combination to charging element
Support.
Embodiment 2:
The present embodiment provides a kind of charging methods, comprising:
Step 10: the Original CDR of acquisition is stored to distribution open source file system.
It before this step further include being acquired to Original CDR.Original words were such as acquired by 3 minutes acquisition interchangers
It is single, and generate original bill files.
Original bill files are stored by linux order such as Cron job order to distribution open source file system, from
And distributed data base service ability is provided for subsequent realization distributed integration.Wherein, Cron job order is used to when specified
Interior some task of execution.
Step 11: interactive management level static data will be needed to store to PostgreSQL database in charging process.
Wherein, management level include CRM system, Billing accounting system, Product Management System and products configuration system
System.Management level static data includes: the use of subscriber information message, Billing accounting system offer that CRM system provides
The product business that the user's ordering products information and products configuration system that family account data information, Product Management System provide provide
Configuration information.
Compared with the existing technology, this step avoids the frequent loads to memory database, while also avoiding to management
The multilist of layer static data is read and General query, and interactive management level static number is needed in charging process to substantially increase
According to extraction rate.
Step 12: based on distributed open source file system and PostgreSQL database, the mechanism handled using multiple task parallelisms
Charging is carried out to Original CDR.
Wherein, a process definition is to carry out charging processing to whole tickets of a user.In the step, pass through OLTP
Engine (i.e. Transaction Processing mechanism) carries out charging to Original CDR, so can be realized quick charging.
As shown in figure 4, the step specifically includes:
Step 121: Original CDR being grouped, whole tickets of same user are corresponded to and distribute to a processing section
Point.
Wherein, processing node includes multiple, and user includes multiple, the corresponding multiple users of distribution of each processing node.
In the step, as shown in figure 5, if each processing node can start the multiple users of multiple task parallelisms processing
It is single, increase ticket rule of classification in each process, i.e., whole tickets of the same user is divided into one group in a process,
A process for guaranteeing that the ticket of the same user can only be handled in node by one is handled.
In addition, as shown in fig. 6, multiple processing nodes are capable of the ticket of the multiple users of parallel processing.
Parallel charging processing so is carried out to the ticket of multiple users, realizes distributed charge mode, relative to existing
There is the serial billing mechanism in technology, substantially increases the charging efficiency after number of users increases significantly.
Step 122: measuring the ticket cumulant of each user.
Wherein, ticket cumulant is the respective cumulative amount of different types of ticket writing of each user, as user A is sent out
3 short messages, have used 10M data, then the cumulative amount of the ticket writing of short message type is 3, if data traffic type
The cumulative amount of unirecord is 10M.
In the metrology steps, ticket writing only records cumulative amount, is not matched and is calculated with standard rate, therefore
The separation of product and rate is realized, so that substantially reducing with flow ticket is the leading epoch, original flow ticket is short
It increases sharply in time to pressure caused by charge system.
Step 123: according to ticket cumulant and management level static data to the different types of ticket writing of each user
Calculation expense is carried out respectively.
The step specifically includes:
Step 1231: reading the subscriber information message of each user from PostgreSQL database, user's account data information, use
Family ordering products information and product service configuration information.
Wherein, subscriber information message includes the production that the data of opening an account of user, the account balance of user and user are bought
Title and type of product etc..User's account data information includes the standard rate of the bought product of user (such as short message in product
Unit price, unit price of flow etc.), preferential rule (the preferential amount of short message, the preferential amount of flow in such as product set meal) etc..User orders
Product information includes name of product and attribute of user's purchase etc..Product service configuration information includes the package name of product, rises
Only date, price, the voice for including in set meal and flow quantity etc..
By being read out to the management level static data in PostgreSQL database, avoids and the frequent of memory database is added
It carries, to substantially increase the extraction rate for needing interactive management level static data in charging process.
Step 1232: according to the subscriber information message of each user, user's account data information, user's ordering products information
Carry out monovalent inquiry and package query respectively to its different types of ticket writing with product service configuration information.
In the step, such as: user A has subscribed the set meal of 100 short messages, in the ticket of user A, has sent out 3 short messages,
The unit price of every short message is 0.1 yuan;10M data traffic, 1 yuan of every million data traffic are used;Meanwhile 3 short messages are included in and use
Within the scope of the short message set meal of family A;10M data traffic is not included within the scope of the flow package of user A.In this example embodiment, user A
Data of opening an account, the account balance of user and the information such as the package name of user and type read from subscriber information message;
The unit price of monovalent, the every megastream amount of the short message of user A, whether 3 short messages are included within the scope of the short message set meal of user A and 10M
Whether flow is included within the scope of flow package is read from user's account data information;The short message set meal range of user A is from production
It is read in product service configuration information.
Step 1233: the inhomogeneity of each user is calculated according to the result and ticket cumulant of unit price inquiry and package query
The respective total cost of the ticket writing of type.
In the step, according to the ticket cumulant and query result in step 1231 and step 1232, such as: the 3 of user A
Short message is included within the scope of its short message set meal, then it is 0 that short-message fee, which is calculated,;The 10M data traffic of user A is not included in its flow
Within the scope of set meal, then it is 10 × 1=10 member that 10M data traffic expense, which is calculated,;The total of user A short message ticket writing is obtained to calculate
The total cost of expense and data traffic ticket writing.
Calculation expense is carried out by different type ticket writing of the step 1231-1233 to each user, simplifies Original CDR
Calculation expense process complexity, improve the calculation expense speed of Original CDR.
In the present embodiment, step 12 further include:
Step 124: the different types of ticket writing of each user and its input of respective expense is main single in detail.
Wherein, it is main it is single in detail be the ticket writing of each user and its detail of expense, it is main in detail it is single convenient for user to oneself
Message registration carries out inquiry and understands in detail.
Step 125: the total cost of whole tickets of each user in accumulative main detailed list.
The also referred to as tired account of the step, after adding up the whole ticket total costs for each user, generates tired account file, tires out account text
Part carries out inquiry to the whole ticket total costs of oneself convenient for user and understands in detail.
Embodiment 1-2's the utility model has the advantages that charging method provided by embodiment 1-2, by by Original CDR store to point
Cloth open source file system, and management level static data is stored to PostgreSQL database, realize product and money in charging process
The separation taken, so that substantially reducing with flow ticket is the leading epoch, original flow ticket is increased sharply in a short time to meter
Pressure caused by charge system, meanwhile, charging is carried out to Original CDR by using the mechanism that multiple task parallelisms are handled, is realized
Distributed integration, to substantially increase the charging efficiency after number of users increases significantly;In addition, the charging method is also by meter
The flexible combination of expense element realizes the quick support of business scenario.
Embodiment 3:
The present embodiment provides a kind of charge systems, as shown in fig. 7, comprises the first memory module 1,2 and of the second memory module
Accounting module 3.First memory module 1 is used to store the Original CDR of acquisition to distribution open source file system.Second storage
Module 2 is for will need interactive management level static data to store to PostgreSQL database in charging process.Accounting module 3 is used for base
In distribution open source file system and PostgreSQL database, Original CDR is counted using the mechanism that multiple task parallelisms are handled
Take.Wherein, a process definition is to carry out charging processing to whole tickets of a user.
Wherein, accounting module 3 includes that grouped element 31, metering units 32 and calculation take unit 33.Grouped element 31 for pair
Original CDR is grouped, and whole tickets correspondence of same user is distributed to a processing node.Wherein, processing node includes
Multiple, user includes multiple, the corresponding multiple users of distribution of each processing node.Metering units 32 are for if measuring each user
Single cumulant.Ticket cumulant is the respective cumulative amount of different types of ticket writing of each user.Calculation takes the use of unit 33
In carrying out calculation expense respectively to the different types of ticket writing of each user according to ticket cumulant and management level static data.
In the present embodiment, management level static data includes: the subscriber information message of CRM system offer, charging
User's ordering products information of user's account data information, Product Management System offer that billing and accounting system provides and products configuration system
The product service configuration information that system provides.Calculation takes unit 33 and includes reading subunit 331, wholesale price subelement 332 and calculate sub single
Member 333.Reading subunit 331 is used to read subscriber information message, the user's account data of each user from PostgreSQL database
Information, user's ordering products information and product service configuration information.Wholesale price subelement 332 is used to be provided according to the user of each user
Expect information, user's account data information, user's ordering products information and product service configuration information to its different types of ticket
Record carries out monovalent inquiry and package query respectively.Computation subunit 333 is used for the result according to unit price inquiry and package query
The respective total cost of different types of ticket writing of each user is calculated with ticket cumulant.
In the present embodiment, accounting module 3 further includes input unit 34 and tired bill member 35.Input unit 34 is used for will be each
The different types of ticket writing of user and its input of respective expense are main single in detail.Tired bill member 35 is for each in accumulative main detailed list
The total cost of whole tickets of a user.
Embodiment 3 the utility model has the advantages that charge system provided in embodiment 3, pass through the first memory module of setting and the
Two memory modules, realize the separation of product and rate in charging process, so that it is leading for substantially reducing with flow ticket
Epoch, original flow ticket are increased sharply in a short time to pressure caused by charge system, meanwhile, it is real by the way that accounting module is arranged
Distributed integration is showed, to substantially increase the charging efficiency after number of users increases significantly;In addition, the charging method also passes through
The quick support of business scenario is realized to the flexible combination of charging element.
Embodiment 4:
The present embodiment provides a kind of billing terminals, including the charge system in embodiment 3.
By using the charge system in embodiment 3, the billing terminal is made to realize distributed integration, to greatly improve
The charging efficiency of the billing terminal after number of users substantial increase.
It is understood that the principle that embodiment of above is intended to be merely illustrative of the present and the exemplary implementation that uses
Mode, however the present invention is not limited thereto.For those skilled in the art, essence of the invention is not being departed from
In the case where mind and essence, various changes and modifications can be made therein, these variations and modifications are also considered as protection scope of the present invention.
Claims (10)
1. a kind of charging method characterized by comprising
The Original CDR of acquisition is stored to distribution open source file system;
Interactive management level static data will be needed to store to PostgreSQL database in charging process;
Based on the distributed open source file system and the PostgreSQL database, the mechanism handled using multiple task parallelisms is to original
Beginning ticket carries out charging;
Wherein, a process definition is to carry out charging processing to whole tickets of a user.
2. charging method according to claim 1, which is characterized in that it is described based on the distributed open source file system and
The PostgreSQL database, the mechanism handled using multiple task parallelisms are carried out charging to Original CDR and include:
The Original CDR is grouped, whole tickets correspondence of same user is distributed into a processing node;Wherein, institute
State processing node include it is multiple, the user includes multiple, the corresponding multiple users of distribution of each processing node;
Measure the ticket cumulant of each user;The ticket cumulant is the different types of ticket of each user
Record respective cumulative amount;
According to the ticket cumulant and the management level static data to the different types of ticket writing of each user
Calculation expense is carried out respectively.
3. charging method according to claim 2, which is characterized in that the management level static data includes: customer relationship
User's account data information, the Product Management System of subscriber information message, Billing accounting system offer that management system provides mention
The product service configuration information that the user's ordering products information and products configuration system of confession provide.
4. charging method according to claim 3, which is characterized in that described according to the ticket cumulant and the management
Layer static data carries out calculating expense respectively to the different types of ticket writing of each user
The subscriber information message, user's account data information, user that each user is read from the PostgreSQL database are ordered
Purchase product information and product service configuration information;
According to the subscriber information message of each user, user's account data information, user's ordering products information and product industry
Business configuration information carries out monovalent inquiry and package query to its different types of ticket writing respectively;
Each user is calculated not according to the result and the ticket cumulant of the unit price inquiry and the package query
The respective total cost of the ticket writing of same type.
5. according to charging method described in claim 2-4 any one, which is characterized in that described based on the distributed open source
File system and the PostgreSQL database carry out charging to Original CDR using the mechanism that multiple task parallelisms are handled further include:
The different types of ticket writing of each user and its input of respective expense is main single in detail;
Add up the total cost of whole tickets of each user in the detailed list of the master.
6. a kind of charge system, which is characterized in that including the first memory module, the second memory module and accounting module;
First memory module is used to store the Original CDR of acquisition to distribution open source file system;
Second memory module is for will need interactive management level static data to store to PostgreSQL database in charging process;
The accounting module is used for based on the distributed open source file system and the PostgreSQL database, simultaneously using multiple processes
The mechanism of row processing carries out charging to Original CDR;
Wherein, a process definition is to carry out charging processing to whole tickets of a user.
7. charge system according to claim 6, which is characterized in that the accounting module includes grouped element, metering list
Member and calculation take unit;
The grouped element distributes to one for being grouped to the Original CDR, by whole tickets correspondence of same user
Handle node;Wherein, the processing node includes multiple, and the user includes multiple, each corresponding distribution of the processing node
Multiple users;
The metering units are used to measure the ticket cumulant of each user;The ticket cumulant is each user
The respective cumulative amount of different types of ticket writing;
It is described calculation take unit be used for according to the ticket cumulant and the management level static data to each user not
The ticket writing of same type carries out calculation expense respectively.
8. charge system according to claim 7, which is characterized in that the management level static data includes: customer relationship
User's account data information, the Product Management System of subscriber information message, Billing accounting system offer that management system provides mention
The product service configuration information that the user's ordering products information and products configuration system of confession provide;
The calculation expense unit includes reading subunit, wholesale price subelement and computation subunit;
The reading subunit is used to read subscriber information message, the user's account of each user from the PostgreSQL database
Business data information, user's ordering products information and product service configuration information;
The wholesale price subelement according to the subscriber information message, user's account data information, user of each user for ordering
Purchase product information and product service configuration information carry out monovalent inquiry and package query to its different types of ticket writing respectively;
The computation subunit is used for result and ticket accumulation meter according to the unit price inquiry and the package query
Calculate the respective total cost of different types of ticket writing of each user.
9. charge system according to claim 7 or 8, which is characterized in that the accounting module further include input unit and
Tired bill member;
The input unit is used for the different types of ticket writing of each user and its input of respective expense is main detailed
It is single;
The tired bill member is used to add up the total cost of whole tickets of each user in the detailed list of the master.
10. a kind of billing terminal, which is characterized in that including charge system described in claim 6-9 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610262580.0A CN105721174B (en) | 2016-04-25 | 2016-04-25 | A kind of charging method, charge system and billing terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610262580.0A CN105721174B (en) | 2016-04-25 | 2016-04-25 | A kind of charging method, charge system and billing terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105721174A CN105721174A (en) | 2016-06-29 |
CN105721174B true CN105721174B (en) | 2019-02-15 |
Family
ID=56162245
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610262580.0A Active CN105721174B (en) | 2016-04-25 | 2016-04-25 | A kind of charging method, charge system and billing terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105721174B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108074086A (en) * | 2016-11-14 | 2018-05-25 | 咪咕音乐有限公司 | Charge system |
CN110662188B (en) * | 2018-06-28 | 2021-09-07 | 中国电信股份有限公司 | Charging method and system |
CN112448823B (en) * | 2019-08-30 | 2023-06-27 | 天翼云科技有限公司 | Charging method, system and storage medium |
CN111787497B (en) * | 2020-07-01 | 2021-07-09 | 北京长焜科技有限公司 | Method for storing original charging call ticket by using database cluster |
CN112631768A (en) * | 2020-11-23 | 2021-04-09 | 北京思特奇信息技术股份有限公司 | Resource sharing method and system based on asynchronous mechanism |
CN112637793B (en) * | 2020-11-30 | 2022-06-03 | 北京思特奇信息技术股份有限公司 | Scene charging method, system, electronic equipment and storage medium based on 5G |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030080107A (en) * | 2002-04-03 | 2003-10-11 | 주식회사 애버커스 | Processing method of packet data in imt-2000 system |
CN1859136A (en) * | 2006-02-27 | 2006-11-08 | 华为技术有限公司 | Charging system and charging method |
CN101409877A (en) * | 2008-11-28 | 2009-04-15 | 中兴通讯股份有限公司 | Method for generating call ticket |
CN102595364A (en) * | 2011-01-06 | 2012-07-18 | 中国移动通信集团广东有限公司 | Charging system, device and method |
CN103414577A (en) * | 2013-08-19 | 2013-11-27 | 北京高森明晨信息科技有限公司 | Accounting system and method for Hadoop platform |
-
2016
- 2016-04-25 CN CN201610262580.0A patent/CN105721174B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030080107A (en) * | 2002-04-03 | 2003-10-11 | 주식회사 애버커스 | Processing method of packet data in imt-2000 system |
CN1859136A (en) * | 2006-02-27 | 2006-11-08 | 华为技术有限公司 | Charging system and charging method |
CN101409877A (en) * | 2008-11-28 | 2009-04-15 | 中兴通讯股份有限公司 | Method for generating call ticket |
CN102595364A (en) * | 2011-01-06 | 2012-07-18 | 中国移动通信集团广东有限公司 | Charging system, device and method |
CN103414577A (en) * | 2013-08-19 | 2013-11-27 | 北京高森明晨信息科技有限公司 | Accounting system and method for Hadoop platform |
Non-Patent Citations (1)
Title |
---|
基于分布式计算的电信联机采集系统设计;康尚钦等;《计算机与现代化》;20130321(第1期);第91-94页 |
Also Published As
Publication number | Publication date |
---|---|
CN105721174A (en) | 2016-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105721174B (en) | A kind of charging method, charge system and billing terminal | |
CA2227914C (en) | Billing for communications usage | |
Balintfy | On a basic class of multi-item inventory problems | |
CN103106585B (en) | The real-time repetition removal method and apparatus of product information | |
CN109873873A (en) | A kind of flight data delivery system, flight variation and message treatment method | |
CN108805632B (en) | Charging method and device | |
CN110233741A (en) | Service charging method, device, equipment and storage medium | |
US9374475B1 (en) | System for processing customer records | |
WO2012135163A2 (en) | Systems and methods for improved billing and ordering | |
CN109996202B (en) | Flow charging method and device | |
CN109472643A (en) | Product price calculation method and device | |
CN112270580B (en) | Invoice issuing method, invoice issuing device, invoice issuing equipment and storage medium | |
CN108632047A (en) | A kind of determination method and device of tariff data | |
CN110717754A (en) | Commodity transaction method, server, user side, laboratory side and system | |
CN111144963A (en) | Automatic billing method and system | |
CN102208061A (en) | Data cancel after verification processing device and method | |
SE514994C2 (en) | Method and apparatus for extracting data from a group of data | |
CN101232538A (en) | Apparatus and method for merging business data | |
CN1953490A (en) | A method to extract and provide the charging data with the technology of ETL | |
CN110135975A (en) | A kind of customized information sending method, device, system and the recording medium of credit product | |
CN110442585A (en) | Data-updating method, data update apparatus, computer equipment and storage medium | |
CN112862584A (en) | Method and system for distributing financial cost and income to households based on big data technology | |
CN107169855A (en) | A kind of settlement method and device for warehouse enterprise | |
CN103095469A (en) | Communication cost copayment method and device | |
CN110032574A (en) | The processing method and processing device of SQL statement |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |