CN109767201A - Online charging method, apparatus, computer equipment and storage medium - Google Patents
Online charging method, apparatus, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109767201A CN109767201A CN201811535573.9A CN201811535573A CN109767201A CN 109767201 A CN109767201 A CN 109767201A CN 201811535573 A CN201811535573 A CN 201811535573A CN 109767201 A CN109767201 A CN 109767201A
- Authority
- CN
- China
- Prior art keywords
- charging
- scene
- bill
- current charge
- rule
- 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.)
- Pending
Links
- 238000007600 charging Methods 0.000 title claims abstract description 355
- 238000000034 method Methods 0.000 title claims abstract description 39
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims abstract description 50
- 238000004590 computer program Methods 0.000 claims description 29
- 238000013461 design Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 abstract description 9
- 230000008901 benefit Effects 0.000 abstract description 5
- 238000005516 engineering process Methods 0.000 abstract description 3
- 238000012545 processing Methods 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 6
- 238000007405 data analysis Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
This application involves big data processing technology fields, applied to online charging industry, a kind of online charging method, apparatus, computer equipment and storage medium are provided, identify current charge scene, charging regulation is corresponded to according to current charge scene and default scene, configuration generates the pricing rule of flowing water and generates the bill rule of bill, it obtains to metering data, according to described to metering data and the configured pricing rule, generate charging flowing water, according to charging flowing water and configured bill rule, billing invoice is generated.In whole process, on the one hand independently of operation system, it is based on the corresponding charging regulation of current charge scene configuration, avoids operation system excessive interference;On the other hand, charging regulation includes pricing rule and bill create-rule, can generate two levels from price and bill and realize accurate billing, bring advantage to the user.
Description
Technical field
This application involves online charging technical fields, more particularly to a kind of online charging method, apparatus, computer equipment
And storage medium.
Background technique
With the development of internet technology, there is on-line payment technology, online charging is very heavy in on-line payment
The ring wanted.
Billing function provides collection of charges needed for business service for calculating this, and both charge system and operation system are
There are the systems of correlation, and when traditional business system completes current business, charge system starting calculates epicycle business required cost.
Therefore, billing function is mostly in conventional industry and operation system coupling, charge system cannot achieve independent counting, causes final
Charging result may be interfered by operation system, cannot achieve accurate online charging.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of online clearing that can be realized accurate online charging
Method, apparatus, computer equipment and storage medium.
A kind of online charging method, which comprises
Identify current charge scene;
Charging regulation is corresponded to according to current charge scene and default scene, configuration generates pricing rule and the generation of flowing water
The bill rule of bill;
It obtains to metering data, according to described to metering data and the configured pricing rule, generates charging stream
Water;
According to charging flowing water and configured bill rule, billing invoice is generated.
The identification current charge scene includes: in one of the embodiments,
Receive the business datum that operation system is sent;
According to the business datum, current charge scene is identified.
It is described according to the business datum in one of the embodiments, identify that current charge scene includes:
According to the business datum, current charge object identity is identified;
The business service for being supplied to current charge object and minimum charging subject are obtained from the business datum;
According to charging object identity, the business service and minimum charging subject, current charge scene is identified.
It is described according to charging object identity, the business service and minimum charging subject in one of the embodiments,
Identify that current charge scene includes:
Default charging scene set is obtained, includes multiple charging scenes and each meter in the default charging scene set
Take the corresponding charging object identity of scene, business service and minimum charging subject;
According to the charging object identity, have been provided to charging object business service and minimum charging subject, in institute
State progress charging scene type matching in default charging scene set;
The corresponding charging scene of matching degree highest is searched, using the highest charging scene of the matching degree found as current meter
Take scene.
In one of the embodiments, it is described according to the charging object identity, have been provided to charging object business take
Business and minimum charging subject, in the default charging scene set before progress charging scene type matching, further includes:
According to the charging scene, charging object identity, call charge service service and most carried in default charging scene set
Small charging subject constructs charging model of place;
It is described according to the charging object identity, have been provided to charging object business service and minimum charging subject,
The matching of charging scene type is carried out in the default charging scene set includes:
By the charging object identity, have been provided to the business service of charging object and minimum charging subject is input to institute
Charging model of place is stated to be matched.
It is described in one of the embodiments, that charging regulation is corresponded to according to current charge scene and default scene, configuration
The pricing rule for generating flowing water and the bill rule for generating bill include:
Charging regulation is corresponded to according to current charge scene and default scene, configuration single provides service and collects the charges, exempts from
Take and service times, billing settlement number and bill generation number are provided;
Service, which is provided, according to configured single collects the charges and provide free service times generation pricing rule, according to
Configured billing settlement number and bill generate number and generate bill rule.
Described obtain to metering data includes: in one of the embodiments,
Calling platform data acquisition interface;
By the platform data acquisition interface, obtain from operation system to metering data.
A kind of online charging device, described device include:
Scene Recognition module, for identification current charge scene;
Charging regulation configuration module, for corresponding to charging regulation, configuration life according to current charge scene and default scene
At the pricing rule of flowing water and the bill rule of generation bill;
Charging flowing water generation module, for obtaining to metering data, according to described to metering data and configured institute
Pricing rule is stated, charging flowing water is generated;
Bill generation module, for generating billing invoice according to charging flowing water and configured bill rule.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing
Device is realized when executing the computer program such as the step of the above method.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
It realizes when row such as the step of above-mentioned method.
Above-mentioned online charging method, apparatus, computer equipment and storage medium identify current charge scene, according to current
Charging scene and default scene correspond to charging regulation, and configuration generates the pricing rule of flowing water and generates the bill rule of bill,
It obtains to metering data, according to described to metering data and the configured pricing rule, charging flowing water is generated, according to meter
Take flowing water and configured bill rule, generates billing invoice.In whole process, on the one hand independently of operation system, base
In the corresponding charging regulation of current charge scene configuration, operation system excessive interference is avoided;On the other hand, charging regulation includes
Pricing rule and bill create-rule can generate two levels from price and bill and realize accurate billing, bring just to user
Benefit.
Detailed description of the invention
Fig. 1 is the applied environment figure of online charging method in one embodiment;
Fig. 2 is the flow diagram of online charging method in one embodiment;
Fig. 3 is the flow diagram of online charging method in another embodiment;
Fig. 4 is the structural block diagram of online charging device in one embodiment;
Fig. 5 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Online charging method provided by the present application, can be applied in application environment as shown in Figure 1.Wherein, business system
System server 102 is communicated with charge system server 104 by network by network.Charge system 104 identifies current meter
Take scene, charging regulation is corresponded to according to current charge scene and default scene, configuration generates pricing rule and the generation of flowing water
The bill rule of bill, obtains from business system server 102 to metering data, according to metering data and configured
Pricing rule generates charging flowing water, according to charging flowing water and configured bill rule, generates billing invoice, pushes charging account
Singly to business system server 102.Business system server 102 and charge system server 104 are that there are data between the two
Two interactive and relatively independent servers, two servers highly integrated can also can be arranged in a distributed manner.
As shown in Fig. 2, a kind of online charging method, method include:
S200: identification current charge scene.
Charge system server identifies that current charge scene, identification process can be peripheral operation person and manually select, confirm
Current charge scene, such as user click charge system man machine operation interface, and current charge field is selected in charging scene to be selected
Scape is A, then charge system server identification current charge scene is A;It can also be charge system based on the data intelligence received
It can identify current charge scene.Specifically, the process of identification can be based on big data analysis, analyze in the historical data each
The corresponding data of a charging scene receive or the analysis of collected data obtains current charge scene further according to current.
S400: charging regulation is corresponded to according to current charge scene and default scene, configuration generates the pricing rule of flowing water
With the bill rule for generating bill.
Charging regulation includes pricing rule and bill rule, wherein pricing rule price provides the price of service every time, exempts from
Take and the number etc. of business service is provided.Such as pricing rule be every time provide service (such as message forwarding services) collect 1 dime,
Monthly provide free 10 services (10 message forwarding services).Bill rule provide bill generate frequency, clearing frequency and
Push frequency etc..Such as bill monthly generates 1 time, clearing 1 time and push 1 time.It is to be based on going through that default scene, which corresponds to charging regulation,
The preset rule of history empirical data, specifically can empirical data based on various industries and expert data for it is each not
Same scene reasonable set charging regulation.In practical applications, charging scene includes the charging of intelligent authentication function, payment channel generation
Receipt and payment charging and loan turn a pair private and raise.When business scenario is the charging of intelligent authentication function, pricing rule successfully calls for 1 time
0.5 yuan of charge;Annual free calling 30,000 times;It monthly presses billing settlement 1 time, bill rule is monthly to generate 1 bill;Work as industry
Business scene be payment channel withhold pay charging when, pricing rule is 10,000 chargings for withholding transaction amount, pays out the ten thousand of transaction amount
4 chargings are quarterly settled accounts respectively by withholding, pay out bill, and bill rule is quarterly to withhold, pay out 2 bills.When business field
Scape is that loan turns to pay a private when raising, and pricing rule be that the loan assets packet repayment amount of table out need to be given to private and raise, and bill rule is every
The moon generates 1 bill.More specifically, it can also be that the corresponding charging regulation of charging scene by history acquisition is pooled to list
In a database, then big data analysis is carried out to the data in the database and show that each scene corresponds to charging regulation.Big data
It specifically can be in analytic process and extract the corresponding scene characteristic of each charging scene, scene characteristic includes charging object, provides
Business service class, billing frequency, charging duration etc., parse the corresponding scene characteristic of each charging scene and charging scene is corresponding
Charging regulation, big data analysis is carried out to the data that parse, analyzes corresponding relationship between charging regulation and scene characteristic,
To analyze when the corresponding charging regulation of charging scene.
S600: it obtains to metering data, according to metering data and configured pricing rule, generates charging flowing water.
It can be to metering data from operation system acquisition, it specifically can be with calling platform data acquisition interface, by flat
Platform data acquisition interface is obtained from operation system to metering data.Charging flowing water refers to the industry as time goes by and having been provided
Business service, generates the account current for valuation, when recording billing entry, charging rate and charging in the account current
Between etc..In simple terms, charging flowing water can be understood as the valuation data not summarized.
S800: according to charging flowing water and configured bill rule, billing invoice is generated.
Billing invoice, which refers to, to summarize charging flowing water according to configured bill rule, arranges the account generated later
It is single, total cost can be carried in the bill, the data such as service listings and corresponding time are always provided.Billing invoice can be with
User is pushed to, push process, which can be, directly pushes to subscriber mailbox by charge system, can also be and is sent by charge system
User terminal etc. is forwarded to operation system, then by operation system.
Above-mentioned online charging method identifies current charge scene, according to current charge scene and default scene to accrued
Take rule, configuration generates the pricing rule of flowing water and generates the bill rule of bill, obtains to metering data, according to charging number
Accordingly and configured pricing rule, generation charging flowing water generate charging account according to charging flowing water and configured bill rule
It is single.In whole process, on the one hand independently of operation system, it is based on the corresponding charging regulation of current charge scene configuration, avoids industry
Business system excessive interference;On the other hand, charging regulation includes pricing rule and bill create-rule, can be from price and bill
It generates two levels and realizes accurate billing, bring advantage to the user.
As shown in figure 3, step S200 includes: in one of the embodiments,
S220: the business datum that operation system is sent is received.
S240: according to business datum, current charge scene is identified.
This can be carried in business datum, and the numbers such as business service, offer business object and offer charging subject are provided
According to these data are identified current charge scene as mark data or characteristic.
In one of the embodiments, according to business datum, identify that current charge scene includes:
According to business datum, current charge object identity is identified;It is obtained from business datum and is supplied to current charge object
Business service and minimum charging subject;It is current according to charging object identity, business service and minimum charging subject, identification
Charging scene.
Charging object identity may include two levels, and one is identification charging object identity, such as it is public for charging object
Department, enterprise be not still personal;The other is identification epicycle charging is whom to be directed to, such as when charging object identity is company, know
Which company other current charge object is, can specifically be identified based on the organization mechanism code of company;When charging object body
Part is individual, which individual identification current charge object is, can specifically be identified based on personal account etc..In practical application
In, recognition of face mode can be directly used, identification charging object identity is personal object.Business service refers to this charging
The service of corresponding offer, different business services correspond to different expense ratios, and minimum charging subject is for determining this charging most
Small project can be matched to after charging object identity, this charging provide business service and minimum charging project determines
Current charge scene.
It is current according to charging object identity, business service and minimum charging subject, identification in one of the embodiments,
Charging scene includes: to obtain default charging scene set, and it includes multiple charging scenes and each for presetting in charging scene set
The corresponding charging object identity of charging scene, business service and minimum charging subject;According to charging object identity, mention
The business service and minimum charging subject for supplying charging object, carry out charging scene type in default charging scene set
Match;The corresponding charging scene of matching degree highest is searched, using the highest charging scene of the matching degree found as current charge field
Scape.
It in practical applications, can be according to charging object identity, business service and minimum charging subject, with default charging
Each charging scene matching in scene set searches matching to highest charging scene, as current charge scene.Matched mistake
Journey can be realized by big data analysis.Specifically, it obtains and extracts the corresponding object identity feature of each charging scene, business
Service features and minimum charging subject feature, these features are stored with corresponding charging scene relating, when needing to carry out industry
When business scene matching, big data analysis is based on by existing object identity, business service and minimum charging subject and storage object
Identity characteristic, business service feature and minimum charging subject feature are matched, and search matching to highest charging scene, i.e.,
For current charge scene.
In one of the embodiments, according to charging object identity, have been provided to the business service and most of charging object
Small charging subject, in default charging scene set before progress charging scene type matching, further includes:
According to the charging scene, charging object identity, call charge service service and most carried in default charging scene set
Small charging subject constructs charging model of place;According to charging object identity, have been provided to the business service and most of charging object
Small charging subject carries out the matching of charging scene type in default charging scene set and includes: by charging object identity, has been provided
Business service and minimum charging subject to charging object are input to charging model of place and are matched.
In charging model of place for characterizing charging scene and charging object identity, call charge service service and minimum charging
Corresponding relationship between subject three.The building of the model can be based on historical empirical data, be constructed using machine learning method
Model, in the historical record collected charging scene and corresponding charging object identity, call charge service service with most
Small charging subject data are constantly learnt by machine learning method, update and obtain charging model of place, defeated in charging model of place
Enter charging object identity, the business service for having been provided to charging object and minimum charging subject you can get it matched charging field
Scape.
Charging regulation is corresponded to according to current charge scene and default scene in one of the embodiments, configuration generates
The pricing rule of flowing water includes: to correspond to charging rule according to current charge scene and default scene with the bill rule for generating bill
Then, configuration single provides service and collects the charges, provides free service times, billing settlement number and bill generation number;Root
Service is provided according to configured single and collects the charges and provide free service times generation pricing rule, according to configured account
Unijunction calculates number and bill generates number and generates bill rule.
In practical applications, charging scene includes that the charging of intelligent authentication function, payment channel are withheld and pay charging and a loan
Turn a pair private to raise.When business scenario is the charging of intelligent authentication function, pricing rule successfully calls 0.5 yuan of charge for 1 time;Whole year exempts from
Take calling 30,000 times;It monthly presses billing settlement 1 time, bill rule is monthly to generate 1 bill;When business scenario is payment channel
Withhold pay charging when, pricing rule is 10,000 chargings for withholding transaction amount, pay out 10,000 chargings of transaction amount, quarterly press generation
It receives, pay out bill and settle accounts respectively, bill rule is quarterly to withhold, pay out 2 bills.When business scenario is that a loan turn pair private is raised
When, pricing rule is the loan assets packet repayment amount of table to be given to private and raise, and bill rule is monthly to generate 1 bill.
It should be understood that although each step in the flow chart of Fig. 2-3 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-3
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
As shown in figure 4, a kind of online charging device, device include:
Scene Recognition module 200, for identification current charge scene;
Charging regulation configuration module 400 is configured for corresponding to charging regulation according to current charge scene and default scene
It generates the pricing rule of flowing water and generates the bill rule of bill;
Charging flowing water generation module 600, for obtaining to metering data, according to metering data and configured price
Rule generates charging flowing water;
Bill generation module 800, for generating billing invoice according to charging flowing water and configured bill rule.
Above-mentioned online charging device, scene Recognition module 200 identify current charge scene, charging regulation configuration module 400
Charging regulation is corresponded to according to current charge scene and default scene, configuration generates the pricing rule of flowing water and generates the account of bill
Then, charging flowing water generation module 600 is obtained to metering data single gauge, according to metering data and configured pricing rule,
Charging flowing water is generated, bill generation module 80 generates billing invoice according to charging flowing water and configured bill rule.Entire mistake
Cheng Zhong is based on the corresponding charging regulation of current charge scene configuration, avoids operation system excessive on the one hand independently of operation system
Interference;On the other hand, charging regulation includes pricing rule and bill create-rule, can generate two layers from price and bill
Accurate billing is realized in face, is brought advantage to the user.
Scene Recognition module 200 is also used to receive the business datum of operation system transmission in one of the embodiments,;Root
According to business datum, current charge scene is identified.
Scene Recognition module 200 is also used to identify current charge object according to business datum in one of the embodiments,
Identity;The business service for being supplied to current charge object and minimum charging subject are obtained from business datum;According to charging pair
As identity, business service and minimum charging subject, current charge scene is identified.
Scene Recognition module 200 is also used to obtain default charging scene set in one of the embodiments, presets charging
Include in scene set multiple charging scenes and the corresponding charging object identity of each charging scene, business service and
Minimum charging subject;According to charging object identity, have been provided to charging object business service and minimum charging subject, pre-
The matching of charging scene type is carried out in design charges scene set;The corresponding charging scene of matching degree highest is searched, by what is found
The highest charging scene of matching degree is as current charge scene.
Above-mentioned online charging device further includes model construction module in one of the embodiments, for according to pre-designed
Charging scene, charging object identity, call charge service service and the minimum charging subject carried in expense scene set, constructs charging
Model of place;Scene Recognition module 200 is also used to by charging object identity, have been provided to the business service and most of charging object
Small charging subject is input to charging model of place and is matched.
Charging regulation configuration module 400 is also used to according to current charge scene and presets in one of the embodiments,
Scene corresponds to charging regulation, and configuration single provides service and collects the charges, provides free service times, billing settlement number and account
It is single to generate number;Service, which is provided, according to configured single collects the charges and provide free service times generation pricing rule,
Number, which is generated, according to configured billing settlement number and bill generates bill rule.
Charging flowing water generation module 600 is also used to calling platform data acquisition interface in one of the embodiments,;Pass through
Platform data acquisition interface is obtained from operation system to metering data.
Specific about online charging device limits the restriction that may refer to above for online charging method, herein not
It repeats again.Modules in above-mentioned online charging device can be realized fully or partially through software, hardware and combinations thereof.On
Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form
In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 5.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The database of machine equipment is for storing the data such as history charging scene and charging regulation and default charging regulation.The computer is set
Standby network interface is used to communicate with external terminal by network connection.To realize when the computer program is executed by processor
A kind of online charging method.
It will be understood by those skilled in the art that structure shown in Fig. 5, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, processor perform the steps of when executing computer program
Identify current charge scene;
Charging regulation is corresponded to according to current charge scene and default scene, configuration generates pricing rule and the generation of flowing water
The bill rule of bill;
It obtains to metering data, according to metering data and configured pricing rule, generates charging flowing water;
According to charging flowing water and configured bill rule, billing invoice is generated.
In one embodiment, it is also performed the steps of when processor executes computer program
Receive the business datum that operation system is sent;According to business datum, current charge scene is identified.
In one embodiment, it is also performed the steps of when processor executes computer program
According to business datum, current charge object identity is identified;It is obtained from business datum and is supplied to current charge object
Business service and minimum charging subject;It is current according to charging object identity, business service and minimum charging subject, identification
Charging scene.
In one embodiment, it is also performed the steps of when processor executes computer program
Default charging scene set is obtained, presetting includes multiple charging scenes and each charging field in charging scene set
The corresponding charging object identity of scape, business service and minimum charging subject;According to charging object identity, have been provided to meter
The business service and minimum charging subject for taking object, carry out the matching of charging scene type in default charging scene set;It looks into
The corresponding charging scene of matching degree highest is looked for, using the highest charging scene of the matching degree found as current charge scene.
In one embodiment, it is also performed the steps of when processor executes computer program
According to the charging scene, charging object identity, call charge service service and most carried in default charging scene set
Small charging subject constructs charging model of place;By charging object identity, have been provided to the business service and minimum of charging object
Charging subject is input to charging model of place and is matched.
In one embodiment, it is also performed the steps of when processor executes computer program
Charging regulation is corresponded to according to current charge scene and default scene, configuration single provides service and collects the charges, exempts from
Take and service times, billing settlement number and bill generation number are provided;Service is provided according to configured single to collect the charges
And provide free service times and generate pricing rule, number is generated according to configured billing settlement number and bill and is generated
Bill rule.
In one embodiment, it is also performed the steps of when processor executes computer program
Calling platform data acquisition interface;By platform data acquisition interface, obtain from operation system to metering data.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
Identify current charge scene;
Charging regulation is corresponded to according to current charge scene and default scene, configuration generates pricing rule and the generation of flowing water
The bill rule of bill;
It obtains to metering data, according to metering data and configured pricing rule, generates charging flowing water;
According to charging flowing water and configured bill rule, billing invoice is generated.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Receive the business datum that operation system is sent;According to business datum, current charge scene is identified.
In one embodiment, it is also performed the steps of when computer program is executed by processor
According to business datum, current charge object identity is identified;It is obtained from business datum and is supplied to current charge object
Business service and minimum charging subject;It is current according to charging object identity, business service and minimum charging subject, identification
Charging scene.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Default charging scene set is obtained, presetting includes multiple charging scenes and each charging field in charging scene set
The corresponding charging object identity of scape, business service and minimum charging subject;According to charging object identity, have been provided to meter
The business service and minimum charging subject for taking object, carry out the matching of charging scene type in default charging scene set;It looks into
The corresponding charging scene of matching degree highest is looked for, using the highest charging scene of the matching degree found as current charge scene.
In one embodiment, it is also performed the steps of when computer program is executed by processor
According to the charging scene, charging object identity, call charge service service and most carried in default charging scene set
Small charging subject constructs charging model of place;By charging object identity, have been provided to the business service and minimum of charging object
Charging subject is input to charging model of place and is matched.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Charging regulation is corresponded to according to current charge scene and default scene, configuration single provides service and collects the charges, exempts from
Take and service times, billing settlement number and bill generation number are provided;Service is provided according to configured single to collect the charges
And provide free service times and generate pricing rule, number is generated according to configured billing settlement number and bill and is generated
Bill rule.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Calling platform data acquisition interface;By platform data acquisition interface, obtain from operation system to metering data.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Instruct relevant hardware to complete by computer program, computer program to can be stored in a non-volatile computer readable
It takes in storage medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, this Shen
Please provided by any reference used in each embodiment to memory, storage, database or other media, may each comprise
Non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
Above embodiments only express the several embodiments of the application, and the description thereof is more specific and detailed, but can not
Therefore it is construed as limiting the scope of the patent.It should be pointed out that for those of ordinary skill in the art,
Under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the protection scope of the application.
Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of online charging method, which comprises
Identify current charge scene;
Charging regulation is corresponded to according to current charge scene and default scene, configuration generates the pricing rule of flowing water and generates bill
Bill rule;
It obtains to metering data, according to described to metering data and the configured pricing rule, generates charging flowing water;
According to charging flowing water and configured bill rule, billing invoice is generated.
2. the method according to claim 1, wherein the identification current charge scene includes:
Receive the business datum that operation system is sent;
According to the business datum, current charge scene is identified.
3. according to the method described in claim 2, it is characterized in that, described according to the business datum, identification current charge field
Scape includes:
According to the business datum, current charge object identity is identified;
The business service for being supplied to current charge object and minimum charging subject are obtained from the business datum;
According to charging object identity, the business service and minimum charging subject, current charge scene is identified.
4. according to the method described in claim 3, it is characterized in that, it is described according to charging object identity, the business service with
And minimum charging subject, identification current charge scene include:
Default charging scene set is obtained, includes multiple charging scenes and each charging field in the default charging scene set
The corresponding charging object identity of scape, business service and minimum charging subject;
According to the charging object identity, have been provided to charging object business service and minimum charging subject, described pre-
The matching of charging scene type is carried out in design charges scene set;
The corresponding charging scene of matching degree highest is searched, using the highest charging scene of the matching degree found as current charge field
Scape.
5. according to the method described in claim 4, it is characterized in that, it is described according to the charging object identity, have been provided to meter
The business service and minimum charging subject for taking object, carry out the matching of charging scene type in the default charging scene set
Before, further includes:
According to charging scene, charging object identity, call charge service service and the most subtotal carried in default charging scene set
Take subject, constructs charging model of place;
It is described according to the charging object identity, have been provided to charging object business service and minimum charging subject, in institute
Stating progress charging scene type matching in default charging scene set includes:
By the charging object identity, have been provided to the business service of charging object and minimum charging subject is input to the meter
Expense model of place is matched.
6. the method according to claim 1, wherein described corresponding according to current charge scene and default scene
Charging regulation, configuration generates the pricing rule of flowing water and the bill rule of generation bill includes:
Charging regulation is corresponded to according to current charge scene and default scene, configuration single provides service and collects the charges, freely mentions
Number is generated for service times, billing settlement number and bill;
Service is provided according to configured single collect the charges and provide free service times and generate pricing rule, according to having matched
The billing settlement number and bill set generate number and generate bill rule.
7. the method according to claim 1, wherein the acquisition includes: to metering data
Calling platform data acquisition interface;
By the platform data acquisition interface, obtain from operation system to metering data.
8. a kind of online charging device, which is characterized in that described device includes:
Scene Recognition module, for identification current charge scene;
Charging regulation configuration module, for corresponding to charging regulation according to current charge scene and default scene, configuration generates stream
The pricing rule of water and the bill rule for generating bill;
Charging flowing water generation module, for obtaining to metering data, according to described to metering data and configured described fixed
Valence rule, generates charging flowing water;
Bill generation module, for generating billing invoice according to charging flowing water and configured bill rule.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811535573.9A CN109767201A (en) | 2018-12-14 | 2018-12-14 | Online charging method, apparatus, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811535573.9A CN109767201A (en) | 2018-12-14 | 2018-12-14 | Online charging method, apparatus, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109767201A true CN109767201A (en) | 2019-05-17 |
Family
ID=66451892
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811535573.9A Pending CN109767201A (en) | 2018-12-14 | 2018-12-14 | Online charging method, apparatus, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109767201A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110458611A (en) * | 2019-07-24 | 2019-11-15 | 阿里巴巴集团控股有限公司 | Method, apparatus and calculating equipment for processing of fixing a price |
CN110472961A (en) * | 2019-08-15 | 2019-11-19 | 中国银行股份有限公司 | Business is deducted fees the execution method and device of operation |
CN110705978A (en) * | 2019-08-30 | 2020-01-17 | 深圳壹账通智能科技有限公司 | Interface service method and device |
CN112613288A (en) * | 2020-12-26 | 2021-04-06 | 杭州搜车网科技有限公司 | Bill generation method and device, computer equipment and storage medium |
CN112637793A (en) * | 2020-11-30 | 2021-04-09 | 北京思特奇信息技术股份有限公司 | Scene charging method, system, electronic equipment and storage medium based on 5G |
CN113362002A (en) * | 2021-06-07 | 2021-09-07 | 北京京东振世信息技术有限公司 | Logistics charging information generation method and device, electronic equipment and storage medium |
CN113628025A (en) * | 2021-08-26 | 2021-11-09 | 深圳市易流科技股份有限公司 | Bill generation method and device, computer equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108009806A (en) * | 2017-12-18 | 2018-05-08 | 深圳市快付通金融网络科技服务有限公司 | Charging regulation collocation method, data system for settling account and computer-readable recording medium |
CN108280626A (en) * | 2018-01-30 | 2018-07-13 | 深圳壹账通智能科技有限公司 | Contract dataset processing method, device, computer equipment and storage medium |
-
2018
- 2018-12-14 CN CN201811535573.9A patent/CN109767201A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108009806A (en) * | 2017-12-18 | 2018-05-08 | 深圳市快付通金融网络科技服务有限公司 | Charging regulation collocation method, data system for settling account and computer-readable recording medium |
CN108280626A (en) * | 2018-01-30 | 2018-07-13 | 深圳壹账通智能科技有限公司 | Contract dataset processing method, device, computer equipment and storage medium |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110458611A (en) * | 2019-07-24 | 2019-11-15 | 阿里巴巴集团控股有限公司 | Method, apparatus and calculating equipment for processing of fixing a price |
CN110472961A (en) * | 2019-08-15 | 2019-11-19 | 中国银行股份有限公司 | Business is deducted fees the execution method and device of operation |
CN110705978A (en) * | 2019-08-30 | 2020-01-17 | 深圳壹账通智能科技有限公司 | Interface service method and device |
CN112637793A (en) * | 2020-11-30 | 2021-04-09 | 北京思特奇信息技术股份有限公司 | Scene charging method, system, electronic equipment and storage medium based on 5G |
CN112637793B (en) * | 2020-11-30 | 2022-06-03 | 北京思特奇信息技术股份有限公司 | Scene charging method, system, electronic equipment and storage medium based on 5G |
CN112613288A (en) * | 2020-12-26 | 2021-04-06 | 杭州搜车网科技有限公司 | Bill generation method and device, computer equipment and storage medium |
CN112613288B (en) * | 2020-12-26 | 2024-01-26 | 杭州搜车网科技有限公司 | Method, device, computer equipment and storage medium for generating bill |
CN113362002A (en) * | 2021-06-07 | 2021-09-07 | 北京京东振世信息技术有限公司 | Logistics charging information generation method and device, electronic equipment and storage medium |
CN113628025A (en) * | 2021-08-26 | 2021-11-09 | 深圳市易流科技股份有限公司 | Bill generation method and device, computer equipment and storage medium |
CN113628025B (en) * | 2021-08-26 | 2024-04-09 | 深圳市易流科技股份有限公司 | Bill generation method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109767201A (en) | Online charging method, apparatus, computer equipment and storage medium | |
CN109787781A (en) | Online charging method, apparatus, computer equipment and storage medium | |
US5978780A (en) | Integrated bill consolidation, payment aggregation, and settlement system | |
US7995723B2 (en) | Methods and systems to connect consumers to information | |
US20130195263A1 (en) | System And Method For Identifying Billing Errors | |
US11514513B2 (en) | Systems and methods for management of financial transactions associated with a funding agreement | |
CN112270580B (en) | Invoice issuing method, invoice issuing device, invoice issuing equipment and storage medium | |
CN110458611A (en) | Method, apparatus and calculating equipment for processing of fixing a price | |
CN110147440A (en) | Information push method, device, computer equipment and storage medium | |
CN108595579A (en) | Contact person's cohesion evaluation method, device, computer equipment and storage medium | |
CN109359955A (en) | Transaction processing method, device, computer equipment and storage medium | |
CN112529687A (en) | Loan and repayment bookkeeping method and device, equipment and storage medium thereof | |
US20130013495A1 (en) | Transaction information routing | |
CN110458633A (en) | Invoice data generation method, system and computer equipment based on block chain technology | |
JP2018022230A (en) | Payment management device and payment management method | |
CN109858959A (en) | Credit card recommended method, device, computer equipment and storage medium | |
CN110443599A (en) | Production payment processing method, device, computer equipment and storage medium | |
CN112734543A (en) | Accounting processing method and device, computer equipment and storage medium | |
KR20110095603A (en) | Giro service system using mobile | |
CN112561518A (en) | Information identification method, device and storage medium | |
CN109685494A (en) | Payable by installment method, apparatus, computer equipment and storage medium | |
KR101039731B1 (en) | Method for Managing Customer's Information | |
JP2008210283A (en) | Payment processing system, payment processing method, and payment processing program | |
CN101515854B (en) | On-line charging method | |
KR20230166303A (en) | Recurring payment system using e-money and method for providing recurring payment service using thereof |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190517 |