[go: up one dir, main page]

CN108805632A - A kind of charging method and device - Google Patents

A kind of charging method and device Download PDF

Info

Publication number
CN108805632A
CN108805632A CN201810425537.0A CN201810425537A CN108805632A CN 108805632 A CN108805632 A CN 108805632A CN 201810425537 A CN201810425537 A CN 201810425537A CN 108805632 A CN108805632 A CN 108805632A
Authority
CN
China
Prior art keywords
product
information
charging
module
usage record
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810425537.0A
Other languages
Chinese (zh)
Other versions
CN108805632B (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201810425537.0A priority Critical patent/CN108805632B/en
Publication of CN108805632A publication Critical patent/CN108805632A/en
Application granted granted Critical
Publication of CN108805632B publication Critical patent/CN108805632B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing

Landscapes

  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of charging method and devices, are related to field of computer technology.One specific implementation mode of this method includes:The information for obtaining all charging objects executes following step respectively for each charging object:Obtain the Freight Basis information of usage record and current charge object corresponding all products of the corresponding all products of current charge object in first time period;According to the information of current charge object, the usage record of its corresponding all product and Freight Basis information, bill information of the current charge object in the first time period is generated.The embodiment can be cost-effective, improves efficiency and accuracy.

Description

A kind of charging method and device
Technical field
The present invention relates to field of computer technology more particularly to a kind of charging method and devices.
Background technology
With the development of computer networking technology, service provider provides various services to the user by network.Service carries Server is set up in a network for quotient, and server provides access interface to the user, meets the various of user using interface service Demand, for example, the services such as recognition of face, identity veritification, optical character identification, person veritification.Currently, for the meter of interface service Expense is by manually lower operation is completed online.
In realizing process of the present invention, inventor has found that at least there are the following problems in the prior art:By under boostrap Interface service charging is completed in operation, and human cost and operation cost are huge, less efficient.First, the information of client and contract For papery version information, not easy care.Secondly, by the statistics for the calling situation for being accomplished manually interface, charging, settle accounts, issue hair Ticket and verify bill etc. link, manpower operation cost is big, accuracy it is difficult to ensure that, also cannot achieve and situation called to interface Statistical analysis, lack the perfect tracking of statement life cycle.
Therefore, there is an urgent need for one kind can be cost-effective, improves the charging method and device of the automation of efficiency and accuracy.
Invention content
In view of this, a kind of charging method of offer of the embodiment of the present invention and device, it can be cost-effective, improve efficiency and standard True property.
To achieve the above object, one side according to the ... of the embodiment of the present invention provides a kind of charging method, including:
The information for obtaining all charging objects executes following step respectively for each charging object:
Obtain usage record and current charge object of the corresponding all products of current charge object in first time period The Freight Basis information of corresponding all products;
It is raw according to the information of current charge object, the usage record of its corresponding all product and Freight Basis information At bill information of the current charge object in the first time period.
Charging method provided in an embodiment of the present invention further includes:
It obtains and specifies all bill informations of the charging object in second time period, specify charging object second to generate Statement in period.
Optionally, the statement includes:Clearing state and state of making out an invoice;
Charging method provided in an embodiment of the present invention further includes:
The statement is sent to settlement module, and after receiving the checkout result that the settlement module is beamed back, more The new clearing state;
The statement and checkout result are sent to billing module, and made out an invoice receive that the billing module beams back As a result after, state of making out an invoice described in update.
Charging method provided in an embodiment of the present invention further includes::
Use information of the user to product for recording charging object, to generate the usage record of appointed product;
Record client's essential information, the product of client uses contract information and product to use the usable production of contract engagement Product information;
The usage record of inquiring customer information and corresponding product, to obtain the usage record of customer information and corresponding product Related information, customer information include combination one or more in following information:The product use of client's essential information, client is closed The usable product information of contract engagement is used with information and product;
The report for generating the related information of the customer information and the usage record of corresponding product, to be shown.
Charging method provided in an embodiment of the present invention further includes:
The usable product inventory of the user of charging object is recorded in the first memory module;
Before the user of charging object uses appointed product, can be used for the charging object is read from the first memory module Whether product inventory judges in the usable product inventory to include the appointed product, if so, the user is allowed using this to refer to Otherwise fixed output quota product do not allow the user to use the appointed product.
To achieve the above object, other side according to the ... of the embodiment of the present invention additionally provides a kind of message accounting, packet It includes:
Charging module, the information for obtaining all charging objects execute following steps respectively for each charging object Suddenly:
Obtain usage record and current charge object of the corresponding all products of current charge object in first time period The Freight Basis information of corresponding all products;
It is raw according to the information of current charge object, the usage record of its corresponding all product and Freight Basis information At bill information of the current charge object in the first time period.
Message accounting provided in an embodiment of the present invention further includes:
Bill management module, for obtaining all bill informations of the specified charging object in second time period, to generate Specified statement of the charging object in second time period.
Optionally, the statement includes:Clearing state and state of making out an invoice;
The bill management module is additionally operable to the statement being sent to settlement module, and is receiving the clearing mould After the checkout result that block is beamed back, the clearing state is updated;
The statement and checkout result are sent to billing module, and made out an invoice receive that the billing module beams back As a result after, state of making out an invoice described in update.
Message accounting provided in an embodiment of the present invention further includes:
Product module, use information of the user to product for recording charging object, to generate the use of appointed product Record;
Customer management module, the product for recording client's essential information, client are used using contract information and product The usable product information of contract engagement;
Service management module, be used for inquiring customer information and corresponding product usage record, with obtain customer information with it is right Answer the related information of the usage record of product, customer information includes combination one or more in following information:Client believes substantially It ceases, the product of client uses contract information and product uses the usable product information of contract engagement;Generate client's letter The report of breath and the related information of the usage record of corresponding product, to be shown.
Further, customer management module is additionally operable to the usable product inventory of the user of charging object being recorded first In memory module;
Product module is additionally operable to before the user of charging object uses appointed product, and the meter is read from the first memory module Whether the usable product inventory for taking object judges in the usable product inventory to include the appointed product, if so, allowing The user uses the appointed product, and the user is not otherwise allowed to use the appointed product.
To achieve the above object, other side according to the ... of the embodiment of the present invention additionally provides a kind of charging electronic equipment, Including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processing Device realizes charging method provided in an embodiment of the present invention.
To achieve the above object, other side according to the ... of the embodiment of the present invention additionally provides a kind of computer-readable Jie Matter, is stored thereon with computer program, and charging method provided in an embodiment of the present invention is realized when described program is executed by processor.
Charging method provided by the invention and device provide the information management of unified client, contract and Related product, just It runs and safeguards in administrative staff.Product service condition statistical function is provided, realizes the displaying of product use information under more granularities And report form statistics analytic function.Formulate unified interface service charge type and corresponding expense computation rule.It provides with the account phase For the automatic charging function of Charging Detail Record unit, manpower operation cost is largely reduced.Provide complete bill management system, including knot The functions such as calculation state and invoice status tracking.Push reconciliation single function is provided, service management personnel and client's statement is facilitated to believe The verification of breath reduces human cost.
Further effect possessed by above-mentioned non-usual optional mode adds hereinafter in conjunction with specific implementation mode With explanation.
Description of the drawings
Attached drawing does not constitute inappropriate limitation of the present invention for more fully understanding the present invention.Wherein:
Fig. 1 is the schematic diagram of the main flow of charging method provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram of statement provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of customer information provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram that product provided in an embodiment of the present invention uses contract information;
Fig. 5 is the schematic diagram of product information provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram one of related information provided in an embodiment of the present invention;
Fig. 7 is the schematic diagram two of related information provided in an embodiment of the present invention;
Fig. 8 is the schematic diagram of the application flow of charging method provided in an embodiment of the present invention;
Fig. 9 is the schematic diagram of the main modular of message accounting provided in an embodiment of the present invention;
Figure 10 is the schematic diagram of the application module of message accounting provided in an embodiment of the present invention;
Figure 11 is that the embodiment of the present invention can be applied to exemplary system architecture figure therein;
Figure 12 is adapted for the structural schematic diagram of the computer system of the electronic equipment for realizing the embodiment of the present invention.
Specific implementation mode
It explains to the exemplary embodiment of the present invention below in conjunction with attached drawing, including the various of the embodiment of the present invention Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize It arrives, various changes and modifications can be made to the embodiments described herein, without departing from scope and spirit of the present invention.Together The description to known function and structure is omitted for clarity and conciseness in sample in following description.
The embodiment of the present invention provides a kind of charging method, as shown in Figure 1, this method includes:Step S101, step S102 and Step S103.In step S101, the information of all charging objects is obtained, following steps are executed respectively for each charging object Rapid S102 and step S103.Wherein charging object refers to the generation range of institute's charging.For example, when the expense calculated is a certain visitor The expense that family is generated using all products that it can be used, then charging object is the client, when the expense of calculating is a certain visitor Portioned product in all products that family can be used using it is (as agreement can use in a certain contract that the client signs Product) caused by expense, then charging object can be the contract.Involved product, refers to tangible in the embodiment of the present invention Article, invisible service, tissue, idea or combination thereof, for example, can be online service class product:Interface service (people Face identification, identity veritification, optical character identification and person veritification etc.).
In step s 102, usage record of the corresponding all products of current charge object in first time period is obtained, The Freight Basis information of all products corresponding with current charge object, then in step s 103, according to current charge object Information, the usage record and Freight Basis information of its corresponding all product, generate current charge object this first when Between bill information in section.Wherein, bill information may include the relevant information for having charging object, the starting of first time period, Expiration information, the unit price (price is intended for single use) of product and the expense of total etc. information.
Wherein, may include the charge type for having product in the Freight Basis information of product, for example, when the charging class of product When type is the access times charging by product, the total expense i.e. corresponding product of charging object in the bill being finally calculated The total degree used in first time period and the product that price is intended for single use.
In one embodiment of the invention, step S101 can be executed according to the preset period, for example, daily or every Zhou Zhihang is primary, i.e., daily or weekly calculates the bill of primary all charging objects.When executing every time, at preset first Between the expense that is generated in charging object range in section calculated.The above-mentioned preset period can be according to specific with first time period Application scenarios configured.For example, when the account phase, (generating the calculating cycle of expense, the chronomere of clearing) was one month, The preset period can be daily, and when daily zero executes step S101, executes step S101 every time, first time period is Date of start of calculation account phase, to when the period between the day before yesterday, the bill of proxima luce (prox. luc) was updated with the bill that current day generates, it can be realized that The daily situation of change of bill expense, when the day before yesterday is settlement for account day, the bill of this day is the consolidated bill of an account phase.
In one embodiment of the invention, charging method provided by the invention further includes that following statements generate step Suddenly:It obtains and specifies all bill informations of the charging object in second time period, specify charging object in the second time to generate Statement in section.Charging method provided by the invention is under specified conditions triggering, to the institute of charging object in second time period There is bill to carry out summarizing the statement for generating charging object, such as second time period is 1 year, it is meter that above-mentioned steps, which generate bill, Take the bill of object each account phase, then the bill of centralized charging object account phase all within this year, generates the reconciliation in 1 year It is single.Statement can be pushed to customer by way of mail and be confirmed.
In one embodiment of the invention, statement includes:Clearing state and state of making out an invoice.Meter provided by the invention Charging method further includes following processes:After customer, which completes the verification to statement, to be confirmed, statement is sent to clearing mould Block.Settlement module can realize that settlement platform completes related industry after receiving statement information by related settlement function platform Then business logic verify work contacts customer rs responsibility people and settles accounts, and checkout result is returned.Receiving settlement module hair After the checkout result returned, the clearing state of statement is updated.
After completing to settle accounts, statement and checkout result are sent to billing module.Billing module can be from having to visitor The function platform that the corresponding invoice that reckons up the bill is issued at family realizes that platform of making out an invoice completes related service logic verification after receiving information Work, carries out operation of making out an invoice, and invoice is mailed to client.After receiving the result of making out an invoice that billing module is beamed back, update pair The state of making out an invoice of bill.
The statement example that the method for the present invention as shown in Figure 2 generates, in this example, charging product are that person veritification connects Oral business, the charging object of the statement are the contract that number is GZT, and the second time period of the statement is from 2017 6 Include using the every month in above-mentioned second time period as account phase (first time period) in the statement month in January, 2018 Bill, wherein each bill has corresponding, production unit cost, deals with volume, invoice status and clearing state.
In one embodiment of the invention, charging method provided by the invention further includes following verification steps:Record The usable product inventory of the user of charging object.Before the user of charging object uses appointed product, the charging object is read Usable product inventory, whether include the appointed product, if so, the user is allowed to use if judging can be used in product inventory Otherwise the appointed product does not allow the user to use the appointed product.
In one embodiment of the invention, charging method provided by the invention further includes:Record the use of charging object Family is to the use information of product, to generate the usage record of appointed product.And the product of record customer information, client uses conjunction The usable product information of contract engagement is used with information and product.
As shown in figure 3, customer information can be recorded and be shown by form web page, the customer information of record can wrap Client's essential information and financial information are included, financial information is for use of settling accounts and draw a bill.Under essential information includes but not limited to State content:Customer name, customer contact, fax, enterprise location, department or agency title, telephone number and postcode etc., wealth Information of being engaged in includes but not limited to following the description:Bank of deposit's title, bank of deposit's account, registration phone, registered address, taxpayer's identification Number and content of making out an invoice etc..
As shown in figure 4, product can be recorded and shown by form web page using contract information, the product of record makes Following the description is can include but is not limited to contract information:Contract number, contract title, responsible person, contact person, contact method, Contact mailbox, billing cycle, contract Start Date and contract Close Date etc..
As shown in figure 5, product information can be recorded and be shown by form web page, the product information of record can wrap It includes but is not limited to following the description:Name of product, charge type, payment type, Start Date, Close Date and unit price etc..
The usage record of inquiring customer information and corresponding product, to obtain the usage record of customer information and corresponding product Related information, customer information include combination one or more in following information:The product use of client's essential information, client is closed The usable product information of contract engagement is used with information and product.I.e. the method for the present invention is supported using client as granularity, with visitor Family signs a contract as granularity, signed a contract using client in product as three kinds of granularities of granularity under displaying product usage record statistics Information.Then the report for generating the related information of customer information and the usage record of corresponding product is transported with being shown for correlation Battalion personnel use.
May include that calling interface is total in the usage record of product in the application scenarios that charging product is interface service Number, call result, calls the essential informations such as duration at allocating time.
It is illustrated in figure 6 customer name, contract number, service product, charge type and the state of query generation, with product Usage record (call state, accumulative portfolio and surplus lines amount occurs) related information.
It is illustrated in figure 7 the customer name, contract number and service product of query generation, (is adjusted with the usage record of product With the time, call state, IP and url) related information.
It is described further with reference to the charging method provided invention with concrete application scene.In this application scene In, charging product is interface service, and multiple contracts can be corresponding with by leading to a client, each contract can correspond to have an agreement can With the multiple interface services used.
Assuming that client A has signed the use contract of interface B with interface service platform.In the present invention by the basic of client A Information, contract information and product information are recorded, and product information includes charge type and standard.
The present invention provides three kinds of interface service charge types, is pay-per-use, set meal charging and ladder charging respectively.Its In.It is the product of unit price and call number that pay-per-use, which needs regulation interface calling unit price in contract, all-in charge,.Set meal charging It is the set meal amount of money to need the specified set meal amount of money and set meal quantity, expense rule, will not when call number is more than set meal quantity Again interface service is provided for called side.Ladder charging needs specified ladder unit price and corresponding calling quantity section, such as ladder Unit price is:4 yuan, 3 yuan, 2 yuan, 1 yuan;Quantity section is 0-100,101-200,201-300,301-400;Charging regulation is when tune With number between 0-100 times, according to monovalent 4 yuan of chargings, when call number is between 101-200 times, the part more than 100 times According to monovalent 3 yuan of chargings, when call number is between 201-300, calling is worked as in the part more than 200 times according to monovalent 2 yuan of chargings Test is between 300-400 time or 400 times or more, and the part more than 300 times is according to 1 yuan of charging of unit price.For example, working as some account phase Interior call number is 350 times, then corresponding all-in charge is:100 × 4+100 × 3+100 × 2+50 × 1=950 members.
In this application scene, the charge type of interface B is pay-per-use, and unit price is 1 yuan.Client's A information is stored in Mysql databases obtain the sample data (only listing critical data) such as the following table 1:
id Customer name Contact person Telephone number Enterprise location ……
A Zhang San …… Beijing ……
Table 1 (table of customer's information)
Client A is stored in Mysql databases using contract information, obtains (only listing key such as the sample data of the following table 2 Data):
Contracts card:
id Client id Contract number Telephone number Responsible person Start Date Close Date
…… …… Li Si 2018-2-1 2018-12-31
Table 2 (Contract Information Form)
The information of the interface B services provided for client A is stored in Mysql databases, obtains the sample data such as the following table 3 (only listing critical data):
id Client id Contract id Interface Charge type Unit price Start Date Close Date
B Pay-per-use 1 2018-2-1 2018-12-31
Table 3 (product information table)
Recalls information is stored in Hbase tables by the interface B of client's A calling interface service platforms, interface service platform.
By reading the data in Mysql databases and HBase databases, can obtain customer information, contract information and Product information, the related information table with interface recalls information.
In charging process, as shown in figure 8, charging object be contract, obtain the contract information of all clients, one by one for The following charging steps of each contract execution:First, it is determined that whether the contract life includes current time account phase, if it is not, then tying The charging step of Shu Dangqian contracts.If so, in acquisition contract corresponding interface service charge type, then obtain corresponding visitor Family, contract, the information (obtaining the information stored in MySQL database) of interface product and calling record (are deposited in Hbase databases The data of storage), in conjunction with above-mentioned acquisition information complete current contract each interface product expense calculating, finally with contract The bill information that the current account phase is encapsulated for unit is stored in the corresponding MySQL database table of bill.When all chargings of all contracts After the completion of processing, terminate charging process.
For example, bill information table shown in the following table 4,2 months 2018 total calling interfaces 1000 times, then it is 1000 to correspond to the amount of money Member.
Table 4
Then according to the bill information of preservation, service management personnel can trigger the reconciliation for the contract for generating 2018 It is single, and according to the statement, service management personnel can be by clicking the triggering " clearing " configured and " making out an invoice " button, and triggering corresponds to Clearing and business operation of making out an invoice.
For example, it is to have settled accounts to settle accounts Status Change after the completion of settlement operations, in bill information table shown in the following table 5.
id Client id Contract id Product id Unit price Period Call number The corresponding amount of money Clearing state It makes out an invoice state
1 2018-2 1000 1000 It has settled accounts It does not make out an invoice
Table 5
In this application scene, the mode of settlement module and billing module push result is that relevant information is first pushed to stream In processing platform Kafka, present system consumes the data in Kafka.
The embodiment of the present invention also provides a kind of message accounting, as shown in figure 9, the device 900 includes:Charging module 901.Meter Expense module 901 is used to obtain the information of all charging objects, and following step is executed respectively for each charging object:
Obtain usage record and current charge object of the corresponding all products of current charge object in first time period The Freight Basis information of corresponding all products;
It is raw according to the information of current charge object, the usage record of its corresponding all product and Freight Basis information At bill information of the current charge object in the first time period.
In the present invention, message accounting provided by the invention further includes:Bill management module, for obtaining specified charging pair As all bill informations in second time period, statement of the charging object in second time period is specified to generate.
In the present invention, statement includes:Clearing state and state of making out an invoice.
Bill management module is additionally operable to statement being sent to settlement module, and in the clearing for receiving settlement module and beaming back As a result after, clearing state is updated.
Statement and checkout result are sent to billing module, and after receiving the result of making out an invoice that billing module is beamed back, Update state of making out an invoice.
In the present invention, message accounting provided by the invention further includes:
Product module, use information of the user to product for recording charging object, to generate the use of appointed product Record.
Customer management module, the product for recording client's essential information, client are used using contract information and product The usable product information of contract engagement.
Service management module, be used for inquiring customer information and corresponding product usage record, with obtain customer information with it is right Answer the related information of the usage record of product, customer information includes combination one or more in following information:Client believes substantially It ceases, the product of client uses contract information and product uses the usable product information of contract engagement;Generate customer information with The report of the related information of the usage record of corresponding product, to be shown.
In the present invention, customer management module is additionally operable to the usable product inventory of the user of charging object being recorded In one memory module.
Product module is additionally operable to before the user of charging object uses appointed product, and the meter is read from the first memory module Take the usable product inventory of object, whether include the appointed product, if so, allowing the use if judging can be used in product inventory Family uses the appointed product, and the user is not otherwise allowed to use the appointed product.
As shown in Figure 10, during the concrete application of message accounting provided in an embodiment of the present invention, charging product is to connect For oral business, service management personnel sign interface product service with client and use contract.Service management personnel are based on contract interior Hold in the maintenances of information to customer management module such as client's essential information, interface product information and interface product Freight Basis, Customer management module will be in these information preservations to Mysql databases.
Client sends to product module and asks, calling interface.Product module obtains the conjunction of signed client from customer account management Same and corresponding product information, judges whether the client can be with calling interface service with this.Meanwhile interface is called and is remembered by product module Record is saved in Hbase databases.
Service management module obtains client and contract information from Mysql databases respectively, is obtained from Hbase databases Interface product calls record information, arranges as business information.Business information refers to:It supports using client as granularity, signed and closed with client Be all granularity, signed a contract using client in interface product as three kinds of granularities of granularity under show its interface call record statistics letter The essential informations such as breath, including calling interface sum, allocating time, call result, calling duration.It realizes simultaneously with report form exhibition Show that interface service condition is used for product module operation personnel.
Charging module obtains contract, interface product and Freight Basis information from Mysql databases respectively, from Hbase numbers Record information is called according to interface product is obtained in library, completes, using the account phase of each contract as the calculating of the cost information of granularity, to be formed Bill information.Calculated bill information is sent to bill management module by charging module.Bill management module is detailed by bill Finish message is statement, and is pushed to customer in a manner of mail and confirms.When client completes the verification to statement After confirmation, bill information to be settled accounts is submitted to settlement module by bill management, and the clearing stream in later stage is pushed by settlement module Journey.After client completes settlement process, the invoice managing detailed catalogue needed for client is pushed to billing module by bill management, by opening Ticket module pushes the flow to issue invoice.Checkout result information is pushed in Kafka by settlement module.Billing module will issue hair Ticket result information is pushed in Kafka.Message in bill management module consumption Kafka obtains billing settlement result information and opens Has invoice result information.
Charging method provided by the invention and device provide the information management of unified client, contract and Related product, just It runs and safeguards in administrative staff;Product service condition statistical function is provided, realizes the displaying of product use information under more granularities And report form statistics analytic function.Formulate unified interface service charge type and corresponding expense computation rule.It provides with the account phase For the automatic charging function of Charging Detail Record unit, manpower operation cost is largely reduced.Provide complete bill management system, including knot The functions such as calculation state and invoice status tracking.Push reconciliation single function is provided, service management personnel and client's statement is facilitated to believe The verification of breath reduces human cost.
Figure 11, which is shown, can apply the charging method of the embodiment of the present invention or the exemplary system architecture of message accounting 1100。
As shown in figure 11, system architecture 1100 may include terminal device 1101,1102,1103, network 1104 and service Device 1105.Network 1104 between terminal device 1101,1102,1103 and server 1105 provide communication link Jie Matter.Network 1104 may include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted by network 1104 with server 1105 with using terminal equipment 1101,1102,1103, to receive Or send message etc..Various telecommunication customer end applications can be installed on terminal device 1101,1102,1103.
Terminal device 1101,1102,1103 can be the various electronic equipments with display screen and supported web page browsing, Including but not limited to smart mobile phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 1105 can be to provide the server of various services, such as provide the server of billing of services.
It should be noted that the charging method that the embodiment of the present invention is provided generally is executed by server 1105, correspondingly, Message accounting is generally positioned in server 1105.
It should be understood that the number of the terminal device, network and server in Figure 11 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
Below with reference to Figure 12, it illustrates the computer systems suitable for the terminal device for realizing the embodiment of the present invention 1200 structural schematic diagram.Terminal device shown in Figure 12 is only an example, should not to the function of the embodiment of the present invention and Use scope brings any restrictions.
As shown in figure 12, computer system 1200 include central processing unit (CPU) 1201, can according to be stored in only It reads the program in memory (ROM) 1202 or is loaded into random access storage device (RAM) 1203 from storage section 1208 Program and execute various actions appropriate and processing.In RAM1203, also it is stored with system 1200 and operates required various programs And data.CPU1201, ROM1202 and RAM1203 are connected with each other by bus 1204.Input/output (I/O) interface 1205 It is also connected to bus 1204.
It is connected to I/O interfaces 1205 with lower component:Importation 1206 including keyboard, mouse etc.;Including such as cathode The output par, c 1207 of ray tube (CRT), liquid crystal display (LCD) etc. and loud speaker etc.;Storage section including hard disk etc. 1208;And the communications portion 1209 of the network interface card including LAN card, modem etc..Communications portion 1209 passes through Communication process is executed by the network of such as internet.Driver 1210 is also according to needing to be connected to I/O interfaces 1205.It is detachable to be situated between Matter 1211, such as disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on driver 1210 as needed, so as to In being mounted into storage section 1208 as needed from the computer program read thereon.
Particularly, it according to embodiment disclosed by the invention, may be implemented as counting above with reference to the process of flow chart description Calculation machine software program.For example, embodiment disclosed by the invention includes a kind of computer program product comprising be carried on computer Computer program on readable medium, the computer program include the program code for method shown in execution flow chart.? In such embodiment, which can be downloaded and installed by communications portion 1209 from network, and/or from can Medium 1211 is dismantled to be mounted.When the computer program is executed by central processing unit (CPU) 1201, execute the present invention is The above-mentioned function of being limited in system.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two arbitrarily combines.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or arbitrary above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to:Electrical connection with one or more conducting wires, just It takes formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type and may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the present invention, can be any include computer readable storage medium or storage journey The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.And at this In invention, computer-readable signal media may include in a base band or as the data-signal that a carrier wave part is propagated, Wherein carry computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By instruction execution system, device either device use or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc. or above-mentioned Any appropriate combination.
Flow chart in attached drawing and block diagram, it is illustrated that according to the system of various embodiments of the invention, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part for a part for one module, program segment, or code of table, above-mentioned module, program segment, or code includes one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depended on the functions involved.Also it wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
Being described in module involved in the embodiment of the present invention can be realized by way of software, can also be by hard The mode of part is realized.Described module can also be arranged in the processor, for example, can be described as:A kind of processor packet Include charging module, bill management module, product module, customer management module and service management module.Wherein, the name of these modules Claim not constituting the restriction to the module itself under certain conditions, for example, charging module is also described as " obtaining all The module of the information of charging object ".
As on the other hand, the present invention also provides a kind of computer-readable medium, which can be Included in equipment described in above-described embodiment;Can also be individualism, and without be incorporated the equipment in.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the equipment, makes Obtaining the equipment includes:
The information for obtaining all charging objects executes following step respectively for each charging object:
Obtain usage record and current charge object of the corresponding all products of current charge object in first time period The Freight Basis information of corresponding all products;
It is raw according to the information of current charge object, the usage record of its corresponding all product and Freight Basis information At bill information of the current charge object in the first time period.
Above-mentioned specific implementation mode, does not constitute limiting the scope of the invention.Those skilled in the art should be bright It is white, design requirement and other factors are depended on, various modifications, combination, sub-portfolio and replacement can occur.It is any Modifications, equivalent substitutions and improvements made by within the spirit and principles in the present invention etc., should be included in the scope of the present invention Within.

Claims (12)

1. a kind of charging method, which is characterized in that including:
The information for obtaining all charging objects executes following step respectively for each charging object:
Usage record and current charge object of the corresponding all products of current charge object in first time period is obtained to correspond to All products Freight Basis information;
Worked as according to the information of current charge object, the usage record of its corresponding all product and Freight Basis information, generation Bill information of the preceding charging object in the first time period.
2. according to the method described in claim 1, it is characterized in that, further including:
It obtains and specifies all bill informations of the charging object in second time period, specify charging object in the second time to generate Statement in section.
3. according to the method described in claim 2, it is characterized in that, the statement includes:Clearing state and state of making out an invoice;
The method further includes:
The statement is sent to settlement module, and after receiving the checkout result that the settlement module is beamed back, updates institute State clearing state;
The statement and checkout result are sent to billing module, and in the result of making out an invoice for receiving the billing module and beaming back Afterwards, it makes out an invoice described in update state.
4. according to the method described in claim 1, it is characterized in that, further including:
Use information of the user to product for recording charging object, to generate the usage record of appointed product;
Record client's essential information, the product of client is believed using contract information and product using the usable product of contract engagement Breath;
The usage record of inquiring customer information and corresponding product, to obtain being associated with for customer information and the usage record of corresponding product Information, customer information include combination one or more in following information:Client's essential information, client product believed using contract Breath and product use the usable product information of contract engagement;
The report for generating the related information of the customer information and the usage record of corresponding product, to be shown.
5. according to the method described in claim 1, it is characterized in that, further including:
The usable product inventory of the user of charging object is recorded in the first memory module;
Before the user of charging object uses appointed product, the usable product of the charging object is read from the first memory module Whether inventory judges in the usable product inventory to include the appointed product, if so, the user is allowed to use the specified production Otherwise product do not allow the user to use the appointed product.
6. a kind of message accounting, which is characterized in that including:
Charging module, the information for obtaining all charging objects execute following step respectively for each charging object:
Usage record and current charge object of the corresponding all products of current charge object in first time period is obtained to correspond to All products Freight Basis information;
Worked as according to the information of current charge object, the usage record of its corresponding all product and Freight Basis information, generation Bill information of the preceding charging object in the first time period.
7. device according to claim 6, which is characterized in that further include:
Bill management module, it is specified to generate for obtaining all bill informations of the specified charging object in second time period Statement of the charging object in second time period.
8. device according to claim 7, which is characterized in that the statement includes:Clearing state and state of making out an invoice;
The bill management module is additionally operable to the statement being sent to settlement module, and is receiving the settlement module hair After the checkout result returned, the clearing state is updated;
The statement and checkout result are sent to billing module, and in the result of making out an invoice for receiving the billing module and beaming back Afterwards, it makes out an invoice described in update state.
9. device according to claim 6, which is characterized in that further include:
Product module, use information of the user to product for recording charging object, to generate the usage record of appointed product;
Customer management module, the product for recording client's essential information, client use contract using contract information and product The usable product information of agreement;
Service management module is used for the usage record of inquiring customer information and corresponding product, to obtain customer information and corresponding production The related information of the usage record of product, customer information include combination one or more in following information:Client's essential information, visitor The product at family uses the usable product information of contract engagement using contract information and product;Generate the customer information with it is right The report for answering the related information of the usage record of product, to be shown.
10. device according to claim 6, which is characterized in that
Customer management module is additionally operable to the usable product inventory of the user of charging object being recorded in the first memory module;
Product module is additionally operable to before the user of charging object uses appointed product, and the charging pair is read from the first memory module Whether the usable product inventory of elephant judges in the usable product inventory to include the appointed product, if so, allowing the use Family uses the appointed product, and the user is not otherwise allowed to use the appointed product.
11. a kind of charging electronic equipment, which is characterized in that including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processors are real The now method as described in any in claim 1-5.
12. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is held by processor The method as described in any in claim 1-5 is realized when row.
CN201810425537.0A 2018-05-07 2018-05-07 Charging method and device Active CN108805632B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810425537.0A CN108805632B (en) 2018-05-07 2018-05-07 Charging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810425537.0A CN108805632B (en) 2018-05-07 2018-05-07 Charging method and device

Publications (2)

Publication Number Publication Date
CN108805632A true CN108805632A (en) 2018-11-13
CN108805632B CN108805632B (en) 2022-03-04

Family

ID=64091060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810425537.0A Active CN108805632B (en) 2018-05-07 2018-05-07 Charging method and device

Country Status (1)

Country Link
CN (1) CN108805632B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109787781A (en) * 2018-12-17 2019-05-21 深圳壹账通智能科技有限公司 Online charging method, apparatus, computer equipment and storage medium
CN110059119A (en) * 2019-03-13 2019-07-26 深圳壹账通智能科技有限公司 A kind of bill generation method, device, computer equipment and readable storage medium storing program for executing
CN110134346A (en) * 2019-04-15 2019-08-16 杭州瑾信科技有限公司 The method and device of automatically generated data report
CN111198816A (en) * 2019-12-26 2020-05-26 中国平安人寿保险股份有限公司 Abnormal algorithm identification method and equipment
CN111309758A (en) * 2020-01-19 2020-06-19 北京金堤科技有限公司 Charging data verification and comparison method and device
CN113129123A (en) * 2021-05-12 2021-07-16 上海递道信息技术有限公司 Express logistics settlement method and system
CN114189461A (en) * 2020-09-11 2022-03-15 北京金山云网络技术有限公司 Bandwidth bill generation method and device, electronic equipment and medium
CN114581069A (en) * 2022-03-03 2022-06-03 百融至信(北京)征信有限公司 Minimum bill amount charging method and system based on API call amount
CN114612091A (en) * 2022-03-17 2022-06-10 北京市商汤科技开发有限公司 Automatic reconciliation method and device, electronic device and storage medium
CN116192542A (en) * 2022-12-06 2023-05-30 中国联合网络通信集团有限公司 Charging method and device for data traffic and storage medium
WO2024104379A1 (en) * 2022-11-18 2024-05-23 北京字跳网络技术有限公司 Fee calculation method and apparatus, and electronic device, storage medium and product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887553A (en) * 2010-08-12 2010-11-17 深圳市五巨科技有限公司 Automatic data settlement processing method and system
US20140081857A1 (en) * 2004-07-01 2014-03-20 American Express Travel Related Services Company, Inc. System and method of a smartcard transaction with biometric scan recognition
CN106339933A (en) * 2016-08-24 2017-01-18 明算科技(北京)股份有限公司 Accounting document generating method and accounting document generating system
CN107301595A (en) * 2017-07-12 2017-10-27 百望电子发票数据服务有限公司 A kind of electronic invoice account checking method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140081857A1 (en) * 2004-07-01 2014-03-20 American Express Travel Related Services Company, Inc. System and method of a smartcard transaction with biometric scan recognition
CN101887553A (en) * 2010-08-12 2010-11-17 深圳市五巨科技有限公司 Automatic data settlement processing method and system
CN106339933A (en) * 2016-08-24 2017-01-18 明算科技(北京)股份有限公司 Accounting document generating method and accounting document generating system
CN107301595A (en) * 2017-07-12 2017-10-27 百望电子发票数据服务有限公司 A kind of electronic invoice account checking method and system

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109787781A (en) * 2018-12-17 2019-05-21 深圳壹账通智能科技有限公司 Online charging method, apparatus, computer equipment and storage medium
CN110059119A (en) * 2019-03-13 2019-07-26 深圳壹账通智能科技有限公司 A kind of bill generation method, device, computer equipment and readable storage medium storing program for executing
CN110134346A (en) * 2019-04-15 2019-08-16 杭州瑾信科技有限公司 The method and device of automatically generated data report
CN111198816A (en) * 2019-12-26 2020-05-26 中国平安人寿保险股份有限公司 Abnormal algorithm identification method and equipment
CN111309758A (en) * 2020-01-19 2020-06-19 北京金堤科技有限公司 Charging data verification and comparison method and device
CN111309758B (en) * 2020-01-19 2024-02-13 北京金堤科技有限公司 Charging data verification comparison method and device
CN114189461A (en) * 2020-09-11 2022-03-15 北京金山云网络技术有限公司 Bandwidth bill generation method and device, electronic equipment and medium
CN113129123A (en) * 2021-05-12 2021-07-16 上海递道信息技术有限公司 Express logistics settlement method and system
CN114581069A (en) * 2022-03-03 2022-06-03 百融至信(北京)征信有限公司 Minimum bill amount charging method and system based on API call amount
CN114612091A (en) * 2022-03-17 2022-06-10 北京市商汤科技开发有限公司 Automatic reconciliation method and device, electronic device and storage medium
WO2024104379A1 (en) * 2022-11-18 2024-05-23 北京字跳网络技术有限公司 Fee calculation method and apparatus, and electronic device, storage medium and product
CN116192542A (en) * 2022-12-06 2023-05-30 中国联合网络通信集团有限公司 Charging method and device for data traffic and storage medium
CN116192542B (en) * 2022-12-06 2024-06-04 中国联合网络通信集团有限公司 Charging method and device for data traffic and storage medium

Also Published As

Publication number Publication date
CN108805632B (en) 2022-03-04

Similar Documents

Publication Publication Date Title
CN108805632A (en) A kind of charging method and device
CN111833169B (en) A method and device for managing split accounts
CN112258306B (en) Account information checking method, device, electronic equipment and storage medium
CN107464169A (en) Information output method and device
CN113806400A (en) Financial data processing method and device, storage medium and electronic equipment
CN109831501A (en) Information dispensing method and system based on block chain
CN113393219A (en) Logistics service data processing method and device, electronic equipment and storage medium
CN111882386A (en) Freight quotation method and device
CN110473036A (en) A kind of method and apparatus generating order number
CN109005208A (en) Method and apparatus for pushed information
CN111221855A (en) Data processing method and device
CN113450231A (en) Processing method and device for social security payment service
CN113627922B (en) Logistics data processing method and device, storage medium and electronic equipment
CN111429251A (en) Method and device for processing data under multiple modes
CN114997977B (en) Data processing method, device, electronic equipment and computer readable medium
CN112181817B (en) Test method and test device for SOA architecture platform
CN115953138A (en) Rights and interests management method, device and system
CN115600969A (en) Service processing method and device, electronic equipment and computer readable medium
CN115564415A (en) Order payment and settlement method and device
CN115879778A (en) Contract signing and fund returning service information management method, device, equipment and storage medium
CN114445128A (en) Card ticket management method and device, electronic equipment and computer readable medium
CN114154973A (en) Method and device for remotely extracting accumulation fund, electronic equipment and computer readable medium
CN109388785A (en) The method and apparatus for screening text
KR102447568B1 (en) Credit Card Merchant Agreement System and Method
CN111415244B (en) Method and device for processing data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant