[go: up one dir, main page]

CN102694661B - On-time charging service monitoring method based on charging server - Google Patents

On-time charging service monitoring method based on charging server Download PDF

Info

Publication number
CN102694661B
CN102694661B CN201210212640.XA CN201210212640A CN102694661B CN 102694661 B CN102694661 B CN 102694661B CN 201210212640 A CN201210212640 A CN 201210212640A CN 102694661 B CN102694661 B CN 102694661B
Authority
CN
China
Prior art keywords
business
periodic metering
server
service
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210212640.XA
Other languages
Chinese (zh)
Other versions
CN102694661A (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.)
CHONGQING SUNTEL TECHNOLOGY Co Ltd
Original Assignee
CHONGQING SUNTEL 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 CHONGQING SUNTEL TECHNOLOGY Co Ltd filed Critical CHONGQING SUNTEL TECHNOLOGY Co Ltd
Priority to CN201210212640.XA priority Critical patent/CN102694661B/en
Publication of CN102694661A publication Critical patent/CN102694661A/en
Application granted granted Critical
Publication of CN102694661B publication Critical patent/CN102694661B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides an on-time charging service monitoring method based on a charging server, which comprises the following steps: a service server executes a running operation of an on-time charging service according to a service request sent by a user; and a charging server obtains the executing state of the on-time charging service in real time through carrying out real-time communication interaction with the service server, and monitors the running operation that the service server executes the on-time charging service, and executes the charging processing of the on-time charging service. Therefore, the charging server can obtain the executing state of the on-time charging service in real time, so that the running of the on-time charging service is correspondingly monitored in time according to the specific service management demand, so that a third party completely monitors and manages the on-time charging service by virtue of the charging server and possibly realizes on-time charging control; and meanwhile, the cost input of a third party operator for performing the on-time charging service management is greatly reduced.

Description

Based on the periodic metering business monitoring method of accounting server
Technical field
The present invention relates to communication network technology and service server technical field, be specifically related to a kind of periodic metering business monitoring method based on accounting server.
Background technology
Along with the development of communication network technology and service server technology, in communication network, diversified business service continues to bring out, as long as people use terminal equipment to be connected in communication network, just by paying the business service needed for obtaining, can all bring a lot of facilities to the work of people, life.
A lot of business service in current communication network are all periodic metering business, with certain expenses standard, use the duration of business to carry out computing service service fee according to user, such as voice calling service, information browing business, audio-visual service etc.; This kind of periodic metering form of service is various, business covering scope is extensive, and because its expenses standard is open and clear, user freely can determine that business uses duration and pays corresponding expense according to demand, there is the advantage that user's independence is strong, easily be easily accepted by a user, make periodic metering business become the larger a kind of type service of user group.In the monitoring operation of periodic metering business, due to business and time relationship close, the monitoring process that the operation such as business procedure supervision, business operation control, service tariff charging control in periodic metering business is relevant all has very strong real-time and ageing, therefore, these monitoring process all need by providing the service server of periodic metering service operation ability to perform in service operation.
But service server platform technology resource and network user's resource of current China periodic metering business all mainly concentrate on several large common carrier.For temporarily not possessing the third-party operator of periodic metering service operation technical capability, carry out periodic metering business and perform comprehensive monitoring management, its difficulty is larger.Reason is: if 1. third-party operator builds the service server possessing periodic metering service operation control ability voluntarily, to realize operation and the monitoring process of periodic metering business, need to drop into larger technical research and equipment construction cost separately, its technical threshold is high, fund input is large.2. as another kind of approach, third-party operator can with existing common carrier cooperation, the operation of periodic metering business industry of going forward side by side is provided to be engaged in the relevant monitoring process of the service operations such as process supervision, business operation control, service tariff charging control by the service server of common carrier, then after service operation terminates, monitoring processing result information is returned to third-party operator, so that third-party operator recognizes the traffic-operating period of periodic metering business according to monitoring processing result information, and then carry out certain follow-up operation management work, utilize this approach, although third-party operator builds service server technology platform without the need to input cost voluntarily, but because the acquisition monitoring processing result information has hysteresis quality compared to service operation, therefore in fact third-party operator is merely able to after periodic metering service operation terminates, some very limited follow-up monitoring process operations are performed according to monitoring processing result information, autonomous monitoring range is narrow, authority is little, and the business procedure supervision in periodic metering service operation, business operation controls, the main monitoring process that the operation such as service tariff charging control is relevant, third-party operator cannot be able to real-time control, be difficult to really reach and overall monitor management carried out to periodic metering business and realizes the object of real time billing.
Summary of the invention
For above shortcomings in prior art, the object of the present invention is to provide a kind of periodic metering business monitoring method based on accounting server, implement that technical threshold existing for the process of periodic metering business monitoring is high, fund input large to solve third party in prior art, the problem that monitoring and real time billing in real time require cannot be met.
For achieving the above object, present invention employs following technological means:
Based on the periodic metering business monitoring method of accounting server, it is characterized in that, service server performs the operation of periodic metering business according to the business service request that user sends; Accounting server is by carrying out real-time communication interaction with service server, the business executing state of real-time acquisition periodic metering business, and monitoring process is carried out to the operation of service server execution periodic metering business, and then perform the charging process of periodic metering business.
Above-mentioned based in the periodic metering business monitoring method of accounting server, further, it is described that " accounting server is by carrying out real-time communication interaction with service server, the business executing state of real-time acquisition periodic metering business, and monitoring process is carried out to the operation of service server execution periodic metering business, and then perform the charging process of periodic metering business " be specially, accounting server real-time reception is or/and the business initial state mark that brings into operation from the expression periodic metering business of service server of inquiry, in reception or/and carry out business monitoring process to the operation of periodic metering business after inquiring business initial state mark, until receive or/and winding-up monitoring process when inquiring the business state of termination mark from the expression periodic metering business termination operation of service server, and business service expense is deducted from the account working of business institute service-user.
Above-mentioned based in the periodic metering business monitoring method of accounting server, can selection scheme as one, accounting server " real-time reception is or/and the business initial state mark that brings into operation from the expression periodic metering business of service server of inquiry " is specially, when service server starts the operation performing periodic metering business, send the business initial state mark representing that periodic metering business brings into operation immediately to accounting server; The business initial state that accounting server receives from service server identifies.
Above-mentioned based in the periodic metering business monitoring method of accounting server, can selection scheme as one, accounting server " real-time reception is or/and the business initial state mark that brings into operation from the expression periodic metering business of service server of inquiry " is specially, the current traffic state of accounting server real-time query service server end business executing state list, when service server starts the operation performing periodic metering business, the business executing state that accounting server inquires current business server is initial state.
Above-mentioned based in the periodic metering business monitoring method of accounting server, can selection scheme as one, accounting server " real-time reception is or/and the business initial state mark that brings into operation from the expression periodic metering business of service server of inquiry " is specially, and accounting server can receive simultaneously and inquire about the business initial state mark that the expression periodic metering business from service server brings into operation; When service server starts the operation performing periodic metering business, accounting server is while receiving the business initial state mark from service server, also by the current traffic state of inquiry business server end business executing state list, can know that the business executing state of current business server is business initial state.
Above-mentioned based in the periodic metering business monitoring method of accounting server, can selection scheme as one, the concrete handling process of accounting server " in reception or/and carry out business monitoring process to the operation of periodic metering business after inquiring business initial state mark, until receive or/and winding-up monitoring process when inquiring the business state of termination mark from the expression periodic metering business termination operation of service server " is:
B1) accounting server is after receiving business initial state mark, the operation of the business of monitoring periodic metering in real time; If business meets the condition continuing to run, then continue to wait for, until when service server receives business termination request, perform step b3); If do not meet, then perform step b2 immediately);
B2) accounting server sends business command for stopping to service server; When service server receives the business command for stopping from accounting server, perform step b3);
B3) service server stops running periodic metering business, and sends the business state of termination mark representing that periodic metering business stops running to accounting server; When accounting server receives the business state of termination mark from service server, terminate the business monitoring to periodic metering business.
Above-mentioned based in the periodic metering business monitoring method of accounting server, can selection scheme as one, the concrete handling process of accounting server " in reception or/and carry out business monitoring process to the operation of periodic metering business after inquiring business initial state mark, until receive or/and winding-up monitoring process when inquiring the business state of termination mark from the expression periodic metering business termination operation of service server " is:
C1) accounting server is after the initial running status of the business that inquires, the operation of the business of monitoring periodic metering in real time; If business meets the condition continuing to run, then continue to wait for, period accounting server by the business executing state of real-time query service server end confirm current business whether continue perform, until service server receive business stop request time, perform step c3); If do not meet, then perform step c2 immediately);
C2) accounting server sends business command for stopping to service server; When service server receives the business command for stopping from accounting server, perform step c3);
C3) service server stops running periodic metering business, the current traffic state of accounting server real-time query service server end business executing state list, when the business current state of inquiring is the business state of termination of periodic metering business termination operation, terminate the business monitoring to periodic metering business.
Above-mentioned based in the periodic metering business monitoring method of accounting server, can selection scheme as one, the business initial state mark that the described accounting server expression periodic metering business from service server that can receive simultaneously and inquire about brings into operation and represent the business state of termination mark that periodic metering business stops running; The concrete handling process of accounting server " in reception or/and carry out business monitoring process to the operation of periodic metering business after inquiring business initial state mark, until receive or/and winding-up monitoring process when inquiring the business state of termination mark from the expression periodic metering business termination operation of service server " is:
D1) accounting server is after while the business that receives initial running status mark, also to inquire business current state be initial running status, the operation of Real-Time Monitoring periodic metering business; If business meets the condition continuing to run, then continue to wait for, until when service server receives business termination request, perform steps d 3); If do not meet, then perform steps d 2 immediately);
D2) accounting server sends business command for stopping to service server; When service server receives the business command for stopping from accounting server, perform steps d 3);
D3) service server stops running periodic metering business, and the business state of termination mark representing that periodic metering business stops running is sent to accounting server, when accounting server receives the business state of termination mark from service server, terminate the business monitoring to periodic metering business; Or the current traffic state of accounting server real-time query service server end business executing state list, when the business current state of inquiring is the business state of termination of periodic metering business termination operation, terminates the business monitoring to periodic metering business.
Above-mentioned based in the periodic metering business monitoring method of accounting server, further, the concrete handling process that accounting server " deducts business service expense " from the account working of business institute service-user is: accounting server receiving or/and when inquiring business initial state mark, estimation business initial time; In reception or/and when inquiring business state of termination mark, the estimation business termination time, the total run time of periodic metering business is calculated according to the business initial time estimated and the time difference of business termination time, calculate business service expense according to described total run time with the expenses standard of timely call charge service, and deduct business service expense from the account working of business institute service-user.
Above-mentioned based in the periodic metering business monitoring method of accounting server, further, accounting server " estimation business initial time " is specially, and accounting server is to receive or/and inquire the business initial time of time as estimation of business initial state mark; Accounting server " estimation business termination time " is specially, and accounting server is to receive or/and inquire the business termination time of time as estimation of business state of termination mark.
Compared to prior art, the present invention has following beneficial effect:
1, utilize the periodic metering business monitoring method that the present invention is based on accounting server, accounting server is by carrying out real-time communication interaction with service server, make the business executing state of the acquisition periodic metering business that accounting server can be real-time, thus can according to concrete service management needs, timely accordingly process is monitored to the operation of periodic metering business, make third party rely on accounting server to carry out comprehensive monitoring management to periodic metering business and become possibility, and greatly save the cost input that third-party operator carries out periodic metering service management work.
2, the periodic metering business monitoring method that the present invention is based on accounting server is utilized, accounting server can by real-time reception, inquiry or mode that both walk abreast, obtain business initial state mark and business state of termination mark that service server performs periodic metering business, so that accounting server implements the policer operation to periodic metering business in different ways under different application scenarios and communication environment, realize real time billing to control, promote the broad applicability energy of the method.
3, the present invention is based on the periodic metering business monitoring method of accounting server, accounting server can also when business meet the condition continuing to run, stopping service operation by initiatively sending business command for stopping to service server, strengthening the initiative of business monitoring.
Accompanying drawing explanation
Fig. 1 is the FB(flow block) of the periodic metering business monitoring method that the present invention is based on accounting server;
Fig. 2 is the FB(flow block) that in the embodiment of the present invention one, accounting server carries out monitoring process and charging process to periodic metering business;
Fig. 3 is the FB(flow block) that in the embodiment of the present invention two, accounting server carries out monitoring process and charging process to periodic metering business;
Fig. 4 is the FB(flow block) that in the embodiment of the present invention three, accounting server carries out monitoring process and charging process to periodic metering business.
Embodiment
In the prior art, service server platform technology resource and network user's resource of current China periodic metering business all mainly concentrate on several large common carrier, and temporarily do not possess the third-party operator of periodic metering service operation technical capability to carry out the monitoring management work of periodic metering business, then the problem that face that threshold is high, fund input is large, real-time monitoring requirement cannot be met.For this reason, the invention provides a kind of periodic metering business monitoring method based on accounting server, as shown in Figure 1, service server performs the operation of periodic metering business according to the business service request that user sends to the method flow process; Accounting server is by carrying out real-time communication interaction with service server, the business executing state of real-time acquisition periodic metering business, and monitoring process is carried out to the operation of service server execution periodic metering business, and then perform the charging process of periodic metering business.Service server described in the inventive method, refers to the server possessing periodic metering service operation control ability.In the methods of the invention, although still performed the operation of periodic metering business by service server, but accounting server is by carrying out real-time communication interaction with service server, the business executing state of periodic metering business can be obtained in real time, thus after business is initial, in service operation process before termination, accounting server just can carry out omnidistance by the real time communication with service server alternately to the operation of periodic metering business, real-time monitoring process, and accounting server can independently be deducted fees according to the expenses standard of periodic metering business and the account working of business total run time to described user when business stops, thus third party only needs to build accounting server, set up accounting server and service server carries out real-time communication interaction, just can realize managing the overall monitor of periodic metering business.Thus, third-party operator is without the need to dropping into the cost of great number more voluntarily for building service server technology platform, and only need constructing technology threshold and cost to drop into relatively low accounting server for performing the operation monitoring operation of periodic metering business, common carrier existing service server platform technology resource is assembled by cooperating with common carrier, third-party operator just can realize carrying out monitoring process operation to periodic metering service operation process according to the needs of monitoring management, and its monitoring process operation whole process can be carried out in real time in periodic metering service operation process, meet the real-time of periodic metering business monitoring management, ageing requirement, make third party carry out various real-time monitoring to the operation of periodic metering business and be treated as possibility, really reach third party carries out overall monitor process object to periodic metering business, and greatly save the cost input that the 3rd operator carries out periodic metering service management work.
Below by embodiment, periodic metering business monitoring method of the present invention is described further.
embodiment one:
For periodic metering business, control to be all the importance in the operation of operation associated monitoring to the qualification of the service authority of user and service tariff charging.Such as, certain third-party operator needs to carry out a cross-domain talk business, this cross-domain talk business periodic metering, expenses standard is 0.2 yuan/minute, the initial expenses standard of use business is 0.2 yuan, use the carry of business to round the number of minutes with user (per minutely to have suffered the last discontented 60 seconds, all be designated as next minute) to user's charging, user just has business rights of using after needing request to open this cross-domain talk business, and for the ease of management, this cross-domain talk business is not supported that user account is overdrawed and is used, namely active termination service operation is then needed when user account can support the remaining sum of continuation call still less than 0.2 yuan.The present embodiment, then illustrate third party and utilize the periodic metering business monitoring method that the present invention is based on accounting server, realize the process controlled the service tariff charging of periodic metering business; The flow process of this monitor procedure as shown in Figure 2, specifically comprises the steps:
A) the business initial state mark that brings into operation from the expression periodic metering business of service server of accounting server real-time reception.
This step is specially, and when service server starts the operation performing periodic metering business, sends the business initial state mark representing that periodic metering business brings into operation immediately to accounting server; The business initial state that accounting server receives from service server identifies.
Pass through steps A), as long as under accounting server and the normal situation of service server communication, accounting server can be identified to the business initial state from service server by real-time reception, know periodic metering business current state business initial state, be convenient to the monitoring process that accounting server prepares to carry out periodic metering business hereafter running.
B) accounting server carries out business monitoring process to the operation of periodic metering business after receiving business initial state mark, until winding-up monitoring process when receiving the business state of termination mark from the expression periodic metering business termination operation of service server.
This step is specially:
B1) after accounting server receives business initial state mark, the operation of the business of monitoring periodic metering in real time; If business meets the condition continuing to run, then continue to wait for, until when service server receives business termination request, perform step b3); If do not meet, then perform step b2 immediately);
B2) accounting server sends business command for stopping to service server; When service server receives the business command for stopping from accounting server, perform step b3);
B3) service server stops running periodic metering business, and sends the business state of termination mark representing that periodic metering business stops running to accounting server; When accounting server receives the business state of termination mark from service server, terminate the business monitoring to periodic metering business.
By step B), as long as under accounting server and the normal situation of service server communication, accounting server just can according to business monitoring requirement, to be supervised, control operation by communicating with service server to the operation of periodic metering business.Such as, in the cross-domain talk business described in the present embodiment, this cross-domain talk business is by service server operation, the monitoring requirement of accounting server to periodic metering business is concrete condition according to service tariff charging and user account remaining sum and carries out service tariff charging control treatment to periodic metering business, do not support that user account is overdrawed to use, namely when user account can support the remaining sum of continuation call still less than 0.2 yuan, then judge that it does not meet and continue service conditions, need active termination service operation.Suppose, user's first and user's second asked and run use cross-domain talk business, user's first and user's second when bringing into use this cross-domain talk business its separately account balance be respectively 10 yuan and 1.9 yuan; Accounting server then Real-Time Monitoring user first and user's second running time of cross-domain talk business of using respectively.At the end of service operation was to the 9th minute, use owing to not supporting that user account is overdrawed, accounting server is according to the expenses standard 0.2 yuan/minute of cross-domain talk business and judged 9 minutes running times, if the remaining sum 1.9 of user's second account deducts the service tariff 1.8 yuan produced, only remaining 0.1 yuan, cannot meet and continue to use cross-domain talk business, then judge not meet continuation service conditions, send the business command for stopping to user's second to service server; Service server then stops running the cross-domain talk business to user's second according to this business command for stopping, and sends the business termination mark to user's second to accounting server; When accounting server receives the business state of termination mark from service server, terminate the business monitoring to the cross-domain talk business that user's second uses.And for user's first, accounting server judges that service operation is at the end of the 9th minute, the account balance of user's first meets the requirement continuing use business, therefore continue to monitor the operation of the cross-domain talk business that user's first uses, suppose until the business that service operation to the 17th point of 30 seconds service server receives user's first stops request, now service server stops its business operation, and sends the business termination mark to user's first to accounting server; When accounting server receives the business state of termination mark from service server, terminate the business monitoring to the cross-domain talk business that user's first uses.Can see, accounting server in execution periodic metering service operation process, by the communication with service server, initiatively achieve supervision to periodic metering service operation process and control.Certainly, the present embodiment, just by the service tariff accounting control process of accounting server to periodic metering business, illustrates the real-time monitoring process operating process of accounting server to periodic metering business; Accounting server, to the monitoring process of periodic metering business, is not limited only to service tariff charging control treatment, can also be the monitoring process operation of other side.
C) accounting server deducts business service expense from the account working of business institute service-user.
The concrete operations mode realizing this step has a lot; Such as, can estimation business initial time and business termination time be passed through, utilize the total run time of the time difference computing service of described business initial time and business termination time, and then carry out charging process; Again such as, also can by following the tracks of the running time of each periodic metering business, running time corresponding when periodic metering business being stopped running as the total run time of business, and then carries out charging process; Certainly, can also adopt and well known to a person skilled in the art alternate manner.In the present embodiment, adopt the first above-mentioned charging process execution mode because this mode in the operation of charging process without the need to being followed the tracks of the running time of each periodic metering business, operate convenient; The step C of the present embodiment) be specially: accounting server receiving or/and when inquiring business initial state mark, estimation business initial time; In reception or/and when inquiring business state of termination mark, the estimation business termination time, the total run time of periodic metering business is calculated according to the business initial time estimated and the time difference of business termination time, calculate business service expense according to described total run time with the expenses standard of timely call charge service, and deduct business service expense from the account working of business institute service-user.
By step C), independently perform the charging of periodic metering business and the operation of deducting fees to user account by accounting server.Such as, in the cross-domain talk business described in the present embodiment, the cross-domain talk business that above-mentioned user's first and user's second use, user's first use the total run time of business be 17 points 30 seconds, the expenses standard of cross-domain talk business 0.2 yuan/minute, use the carry of business to round the number of minutes charging with user's first, should be designated as 18 points, therefore the account working of accounting server to user's first deducts fees 3.6 yuan; And user's second because terminating service operation by accounting server ACTIVE CONTROL at the end of service operation was to the 9th minute, the account working of expenses standard 0.2 yuan of/minute accounting server to user's second of therefore periodic metering business deducts fees 1.8 yuan.
As for accounting server estimation business initial time and the concrete processing mode of business termination time, under normal circumstances, accounting server can directly using receive business initial state mark time as estimation business initial time, directly using receive business state of termination mark time as estimation the business business termination time, such estimation mode, although compare with the business termination time with real business initial time, the network delay difference of business origin identification transmission may be there is, but because the time shorter (usually within 2 seconds) of network delay, and there is network delay all equally when estimating business initial time and estimation business termination time, for difference computing time, the total run time of business will be used to produce substantial influence to calculating user, therefore the error of network delay is for use the method estimation business initial time and business termination time, complete acceptable in actual applications.If in order to business initial time and business termination time accurately can be estimated, record the actual initial time of periodic metering business in can identifying in the business initial state from service server, in the business state of termination from service server identifies, record the actual termination time of periodic metering business; Accounting server is by being resolved business initial state mark and business state of termination mark, obtain the actual initial time and actual termination time that wherein record, just can using this actual initial time as the business initial time estimated, the business business termination time using this actual termination time as estimation, ensure the charging process accuracy to periodic metering business.
embodiment two:
In embodiment one, accounting server really can by mutual with the real time communication of service server, realize the real-time monitoring process to periodic metering business, but need using good communication environment as technical guarantee, if the communication environment between accounting server and service server is not so good, occur the possibility of the network failures such as the provisional communication interruption of short time, if such network temporary break by chance occurs in service server sends business initial state mark or moment from business state of termination mark to accounting server, accounting server then will be caused cannot to obtain initial state mark or the state of termination mark of periodic metering business, thus cause the monitoring misoperation of accounting server appearance to periodic metering business, charging processes the adverse consequencess such as completely wrong mistake.
For this situation, present invention also offers the another kind of periodic metering business monitoring method based on accounting server.The present embodiment, then still for the cross-domain talk business described in embodiment one, illustrate third party and utilize this based on the periodic metering business monitoring method of accounting server, realize the process controlled the service tariff charging of periodic metering business; The flow process of this monitor procedure as shown in Figure 3, specifically comprises the steps:
1) the business initial state mark that brings into operation from the expression periodic metering business of service server of accounting server real-time query.
This step is specially, the current traffic state of accounting server real-time query service server end business executing state list, when service server starts the operation performing periodic metering business, the business executing state that accounting server inquires current business server is initial state.
Pass through step 1), accounting server can be identified by the business initial state of real-time query from service server, know the business initial state of periodic metering business, be convenient to the monitoring process that accounting server prepares to carry out periodic metering business hereafter running, even and if between accounting server and service server, there is the network failures such as provisional communication interruption, when communication recovery connects, accounting server also can know the current business executing state of periodic metering business in time by real-time query, the estimation of the business that affects initial time that so only can be slight, cause service billing process may there is small size deviation, but the monitoring misoperation to periodic metering business can not be caused, charging processes the adverse consequencess such as completely wrong mistake.
2) accounting server carries out business monitoring process to the operation of periodic metering business after inquiring business initial state mark, until winding-up monitoring process when inquiring the business state of termination mark from the expression periodic metering business termination operation of service server.
This step is specially:
21) accounting server is after inquiring initial running status, the operation of the business of monitoring periodic metering in real time; If business meets the condition continuing to run, then continue to wait for, period accounting server by the business executing state of real-time query service server end confirm current business whether continue perform, until service server receive business stop request time, perform step c3); If do not meet, then perform step 22 immediately);
22) accounting server sends business command for stopping to service server; When service server receives the business command for stopping from accounting server, perform step 23);
23) service server stops running periodic metering business, the current traffic state of accounting server real-time query service server end business executing state list, when the business current state of inquiring is the business state of termination of periodic metering business termination operation, terminate the business monitoring to periodic metering business.
By step 2), accounting server just can according to business monitoring requirement, by communicating with service server the operation of periodic metering business supervised, control operation, and by the business executing state of real-time query service server end, monitoring period accounting server confirms whether current business continues to perform, to adjust accordingly monitoring process.Equally, by real-time query service server current business executing state, even if because network failure fails to inquire business current execution state in time, but after network recovery is normal, also business current execution state can be inquired, the charging result of the periodic metering business that has influence on that so only can be slight.Such as, in the cross-domain talk business described in the present embodiment, this cross-domain talk business is by service server operation, accounting server is concrete condition according to service tariff charging and user account remaining sum equally to the monitoring requirement of periodic metering business and carries out service tariff charging control treatment to periodic metering business, do not support that user account is overdrawed to use, namely when user account can support the remaining sum of continuation call still less than 0.2 yuan, then judge that it does not meet and continue service conditions, need active termination service operation.Suppose, user's first and user's second asked and run use cross-domain talk business, user's first and user's second when bringing into use this cross-domain talk business its separately account balance be respectively 10 yuan and 1.9 yuan; Accounting server then Real-Time Monitoring user first and user's second running time of cross-domain talk business of using respectively.At the end of service operation was to the 9th minute, use owing to not supporting that user account is overdrawed, accounting server is according to the expenses standard 0.2 yuan/minute of cross-domain talk business and judged 9 minutes running times, if the remaining sum 1.9 of user's second account deducts the service tariff 1.8 yuan produced, only remaining 0.1 yuan, cannot meet and continue to use cross-domain talk business, then judge not meet continuation service conditions, send the business command for stopping to user's second to service server; Service server then stops running the cross-domain talk business to user's second according to this business command for stopping, and now accounting server just inquires business current state is business state of termination, terminates the business monitoring to the cross-domain talk business that user's second uses.And for user's first, accounting server judges that service operation is at the end of the 9th minute, the account balance people of user's first meets the requirement continuing use business, therefore continue to monitor the operation of the cross-domain talk business that user's first uses, suppose until the business that service operation to the 17th point of 30 seconds service server receives user's first stops request, now service server stops its service operation, it is business state of termination that accounting server inquires business current state, terminates the business monitoring to the cross-domain talk business that user's first uses.Can see, accounting server is in execution periodic metering service operation process, by the communication with service server, initiatively achieve supervision to periodic metering service operation process and control, and because accounting server adopts the mode of real-time query to confirm, whether current business continues to perform, like this, even if there is the network failures such as provisional communication interruption between accounting server and service server, when communication recovery connects, accounting server also can know the business current execution state of periodic metering business in time by real-time query, the so only slight business that the affects initial time of meeting or the estimation of termination time, cause service billing process may there is small size deviation, but the monitoring misoperation to periodic metering business can not be caused, charging processes the adverse consequencess such as completely wrong mistake.
3) accounting server deducts business service expense from the account working of business institute service-user.
In the present embodiment, this step can adopt a kind of step C of embodiment completely) described in charging processing mode, just do not repeating at this.
embodiment three:
Be directed to the deficiency that technical scheme described in embodiment one exists, another kind of concrete operations mode can also be adopted, namely while adopting the technical scheme described in embodiment one, combine the technical scheme adopting above-described embodiment 2 in the lump, to make the communication interaction between accounting server and service server more fully be ensured, and then promote accounting server carries out monitoring process and charging process real-time, accuracy to periodic metering business as far as possible.Based on this, this enforcement proposes another embodiment based on the periodic metering business monitoring method of accounting server of the present invention, and the flow process of the monitor procedure of this embodiment as shown in Figure 4, specifically comprises the steps:
I) the business initial state mark that brings into operation from the expression periodic metering business of service server of accounting server real-time reception and inquiry.
This step is specially, the business initial state mark that the accounting server expression periodic metering business from service server that can receive simultaneously and inquire about brings into operation; When service server starts the operation performing periodic metering business, accounting server is while receiving the business initial state mark from service server, also by the current traffic state of inquiry business server end business executing state list, can know that the business executing state of current business server is business initial state.
II) accounting server can also receive simultaneously and inquire about the business state of termination mark of the expression periodic metering business termination operation from service server; Accounting server carries out business monitoring process in reception with after inquiring business initial state mark to the operation of periodic metering business, until winding-up monitoring process when receiving and inquire the business state of termination mark from the expression periodic metering business termination operation of service server.
This step is specially:
I) accounting server is after while the business that receives initial running status mark, also to inquire business current state be initial running status, the operation of Real-Time Monitoring periodic metering business; If business meets the condition continuing to run, then continue to wait for, until when service server receives business termination request, perform step I ii); If do not meet, then perform step I i immediately);
Ii) accounting server sends business command for stopping to service server; When service server receives the business command for stopping from accounting server, perform step I ii);
Iii) service server stops running periodic metering business, and the business state of termination mark representing that periodic metering business stops running is sent to accounting server, when accounting server receives the business state of termination mark from service server, terminate the business monitoring to periodic metering business; Or the current traffic state of accounting server real-time query service server end business executing state list, when the business current state of inquiring is the business state of termination of periodic metering business termination operation, terminates the business monitoring to periodic metering business.
III) accounting server deducts business service expense from the account working of business institute service-user.
In the present embodiment, this step can adopt a kind of step C of embodiment completely) described in charging processing mode, just do not repeating at this.
In the program, accounting server is by real-time reception simultaneously and the running status of inquiring about periodic metering business, as long as when receiving or inquire the running status of periodic metering business, all can monitor process accordingly, thus decrease the probability of makeing mistakes of periodic metering service operation state acquisition, contribute to promoting accounting server carries out monitoring process and charging process real-time and accuracy to periodic metering business.Third party adopts this execution mode, can realize the cross-domain talk business monitoring process operation described in above-described embodiment equally, and possess the advantage of above-mentioned two embodiments simultaneously; To exist with aforementioned two embodiments cross-domain talk business monitoring process operation concrete steps owing to adopting the present embodiment scheme and duplicate significantly, at this just not at this treatment step of detailed description of illustrating.
Comprehensively above-mentioned three embodiments can be seen, utilize the periodic metering business monitoring method that the present invention is based on accounting server, accounting server is by carrying out real-time communication interaction with service server, make the business executing state of the acquisition periodic metering business that accounting server can be real-time, thus can according to concrete service management needs, timely accordingly process is monitored to the operation of periodic metering business, make third party rely on accounting server to carry out comprehensive monitoring management to periodic metering business and realize real time billing to control to become possibility, and greatly save the cost input that third-party operator carries out periodic metering service management work.Above-mentioned three embodiments all using to the monitoring process of cross-domain talk business as embodiment, the inventive method is illustrated.In fact, the application of the inventive method is not limited to the cross-domain talk business mentioned in above-described embodiment; For different classes of periodic metering business, as long as performed the operation of periodic metering business by service server, need to utilize accounting server to carry out monitoring process to the operation of periodic metering business, can be processed by the inventive method and realize.
What finally illustrate is, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not departing from aim and the scope of technical solution of the present invention, it all should be encompassed in the middle of right of the present invention.

Claims (9)

1. based on the periodic metering business monitoring method of accounting server, it is characterized in that, service server performs the operation of periodic metering business according to the business service request that user sends; Accounting server is by carrying out real-time communication interaction with service server, the business executing state of real-time acquisition periodic metering business, and monitoring process is carried out to the operation of service server execution periodic metering business, and then perform the charging process of periodic metering business;
Described accounting server is by carrying out real-time communication interaction with service server, the business executing state of real-time acquisition periodic metering business, and monitoring process is carried out to the operation of service server execution periodic metering business, and then the charging process performing periodic metering business is specially, accounting server real-time reception is or/and the business initial state mark that brings into operation from the expression periodic metering business of service server of inquiry, in reception or/and carry out business monitoring process to the operation of periodic metering business after inquiring business initial state mark, until receive or/and winding-up monitoring process when inquiring the business state of termination mark from the expression periodic metering business termination operation of service server, and business service expense is deducted from the account working of business institute service-user.
2. periodic metering business monitoring method according to claim 1, it is characterized in that, accounting server real-time reception is or/and the business initial state mark that inquiry brings into operation from the expression periodic metering business of service server is specially, when service server starts the operation performing periodic metering business, send the business initial state mark representing that periodic metering business brings into operation immediately to accounting server; The business initial state that accounting server receives from service server identifies.
3. periodic metering business monitoring method according to claim 1, it is characterized in that, accounting server real-time reception is or/and the business initial state mark that inquiry brings into operation from the expression periodic metering business of service server is specially, the current traffic state of accounting server real-time query service server end business executing state list, when service server starts the operation performing periodic metering business, the business executing state that accounting server inquires current business server is business initial state.
4. periodic metering business monitoring method according to claim 1, it is characterized in that, accounting server real-time reception is or/and the business initial state mark that inquiry brings into operation from the expression periodic metering business of service server is specially, and accounting server can receive simultaneously and inquire about the business initial state mark that the expression periodic metering business from service server brings into operation; Or when service server starts the operation performing periodic metering business, accounting server is while receiving the business initial state mark from service server, by the current traffic state of inquiry business server end business executing state list, know that the business executing state of current business server is business initial state.
5. periodic metering business monitoring method according to claim 1, it is characterized in that, accounting server reception or/and inquire business initial state mark after business monitoring process is carried out to the operation of periodic metering business, until receive or/and inquire from service server expression periodic metering business stop run business state of termination mark time winding-up monitoring process concrete handling process be:
B1) accounting server is after receiving business initial state mark, the operation of the business of monitoring periodic metering in real time; If business meets the condition continuing to run, then continue to wait for, until when service server receives business termination request, perform step b3); If do not meet, then perform step b2 immediately);
B2) accounting server sends business command for stopping to service server; When service server receives the business command for stopping from accounting server, perform step b3);
B3) service server stops running periodic metering business, and sends the business state of termination mark representing that periodic metering business stops running to accounting server; When accounting server receives the business state of termination mark from service server, terminate the business monitoring to periodic metering business.
6. periodic metering business monitoring method according to claim 1, it is characterized in that, accounting server reception or/and inquire business initial state mark after business monitoring process is carried out to the operation of periodic metering business, until receive or/and inquire from service server expression periodic metering business stop run business state of termination mark time winding-up monitoring process concrete handling process be:
C1) accounting server is after the initial running status of the business that inquires, the operation of the business of monitoring periodic metering in real time; If business meets the condition continuing to run, then continue to wait for, period accounting server by the business executing state of real-time query service server end confirm current business whether continue perform, until service server receive business stop request time, perform step c3); If do not meet, then perform step c2 immediately);
C2) accounting server sends business command for stopping to service server; When service server receives the business command for stopping from accounting server, perform step c3);
C3) service server stops running periodic metering business, the current traffic state of accounting server real-time query service server end business executing state list, when the business current state of inquiring is the business state of termination of periodic metering business termination operation, terminate the business monitoring to periodic metering business.
7. periodic metering business monitoring method according to claim 1, it is characterized in that, the business initial state mark that the described accounting server expression periodic metering business from service server that can receive simultaneously and inquire about brings into operation and represent the business state of termination mark that periodic metering business stops running; Accounting server reception or/and inquire business initial state mark after business monitoring process is carried out to the operation of periodic metering business, until receive or/and inquire from service server expression periodic metering business stop run business state of termination mark time winding-up monitoring process concrete handling process be:
D1) accounting server is after while receiving initial running status mark, also to inquire business current state be initial running status, the operation of Real-Time Monitoring periodic metering business; If business meets the condition continuing to run, then continue to wait for, until when service server receives business termination request, perform steps d 3); If do not meet, then perform steps d 2 immediately);
D2) accounting server sends business command for stopping to service server; When service server receives the business command for stopping from accounting server, perform steps d 3);
D3) service server stops running periodic metering business, and the business state of termination mark representing that periodic metering business stops running is sent to accounting server, when accounting server receives the business state of termination mark from service server, terminate the business monitoring to periodic metering business; Or the current traffic state of accounting server real-time query service server end business executing state list, when the business current state of inquiring is the business state of termination of periodic metering business termination operation, terminates the business monitoring to periodic metering business.
8. periodic metering business monitoring method according to claim 1, it is characterized in that, the concrete handling process that accounting server deducts business service expense from the account working of business institute service-user is: accounting server receiving or/and when inquiring business initial state mark, estimation business initial time; In reception or/and when inquiring business state of termination mark, the estimation business termination time, the total run time of periodic metering business is calculated according to the business initial time estimated and the time difference of business termination time, calculate business service expense according to described total run time with the expenses standard of timely call charge service, and deduct business service expense from the account working of business institute service-user.
9. periodic metering business monitoring method according to claim 8, is characterized in that, accounting server estimation business initial time is specially, and accounting server is to receive or/and inquire the business initial time of time as estimation of business initial state mark; The accounting server estimation business termination time is specially, and accounting server is to receive or/and inquire the business termination time of time as estimation of business state of termination mark.
CN201210212640.XA 2012-06-26 2012-06-26 On-time charging service monitoring method based on charging server Expired - Fee Related CN102694661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210212640.XA CN102694661B (en) 2012-06-26 2012-06-26 On-time charging service monitoring method based on charging server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210212640.XA CN102694661B (en) 2012-06-26 2012-06-26 On-time charging service monitoring method based on charging server

Publications (2)

Publication Number Publication Date
CN102694661A CN102694661A (en) 2012-09-26
CN102694661B true CN102694661B (en) 2014-12-24

Family

ID=46859953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210212640.XA Expired - Fee Related CN102694661B (en) 2012-06-26 2012-06-26 On-time charging service monitoring method based on charging server

Country Status (1)

Country Link
CN (1) CN102694661B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533043B (en) * 2013-10-11 2016-04-06 北京邮电大学 A kind of charging method of the cloud stores service based on REST

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700650A (en) * 2004-05-21 2005-11-23 华为技术有限公司 Method of billing according to content service
CN101674587A (en) * 2009-10-14 2010-03-17 成都市华为赛门铁克科技有限公司 Method and system for realizing business monitoring and authentication agent server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2003280873A1 (en) * 2002-11-13 2004-06-03 Ktfreetel Co., Ltd. Apparatus for analyzing the packet data on mobile communication network and method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700650A (en) * 2004-05-21 2005-11-23 华为技术有限公司 Method of billing according to content service
CN101674587A (en) * 2009-10-14 2010-03-17 成都市华为赛门铁克科技有限公司 Method and system for realizing business monitoring and authentication agent server

Also Published As

Publication number Publication date
CN102694661A (en) 2012-09-26

Similar Documents

Publication Publication Date Title
EP3524559B1 (en) Maintenance monitoring of passenger carrying system
Chen et al. Optimal deadline scheduling with commitment
CN108092731B (en) A kind of method of clocking error when accurate school
CN109462637A (en) MR expert's remote collaboration method and system based on power equipment 3D model library
CN108924168A (en) A kind of service scheduling system and business interlock method of Intelligent Mobile Robot
CN108199861B (en) Computer room management method and device
CN103810552A (en) Snack industry meal serving scheduling system
CN106373278A (en) Cross-operation-platform charging method for electric vehicles
CN106356863A (en) Under-frequency load shedding system and under-frequency load shedding method on basis of panoramic information of regional power grids
CN206077454U (en) Safeguard and information integrated system a kind of charging pile rear end
CN102694661B (en) On-time charging service monitoring method based on charging server
CN109747475A (en) Team control charging pile distribution capacity time-sharing multiplex guides system and its management method
CN106411592A (en) Internet of things real-time communication system
CN105471107B (en) A kind of timesharing task acquisition method of electric power over power network metering system
CN103731319B (en) Distribution scheduling platform remote control trouble intelligent diagnosing method
CN105657065A (en) Remote elevator monitoring system
CN102708008B (en) Implementation method of linking download strategy
CN206331274U (en) A kind of equipment long-distance service system
CN109299915A (en) A kind of scaffold operational method
CN107732947A (en) A kind of demand response system and method for energy internet
CN107424077B (en) A multi-level intraday power generation plan and synchronous safety check design method for complex power grids
CN108297808A (en) A kind of vehicle-state and power threshold monitoring method
CN103118354A (en) Method and system of terminal automatic routing inspection and automatic downloading
CN105262224B (en) A kind of monitoring in real time of electric network fault and protection system and its method of work
CN101634850A (en) Isolated gateway

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20141224

Termination date: 20160626

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