CN101425908A - Service fee charging method, application server and fee charging system - Google Patents
Service fee charging method, application server and fee charging system Download PDFInfo
- Publication number
- CN101425908A CN101425908A CNA2007101680820A CN200710168082A CN101425908A CN 101425908 A CN101425908 A CN 101425908A CN A2007101680820 A CNA2007101680820 A CN A2007101680820A CN 200710168082 A CN200710168082 A CN 200710168082A CN 101425908 A CN101425908 A CN 101425908A
- Authority
- CN
- China
- Prior art keywords
- metering data
- application server
- charging
- professional
- association identification
- 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
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a business charging method, an application server thereof and a charging system thereof. During business suspension, the application server sends out the charging requirements of business suspension to the charging system, and the charging system receives the charging requirements of business suspension for charging treatment, and records charging data before suspension. When the business is recovered, the application server reports the charging requirements of business recovery to the charging system, and the requirements comprise associated marks of the charging data. The charging system obtains the charging data before suspension according to the associated marks of the charging data, and continues to carry out charging treatment so as to realize the association of the business and the charging data. After the business is recovered from interruption, the business is still charged on the base of original charging data. Compared with the prior art, the invention avoids the situation that loss is caused for users because of repeated charging, can not cause charging confusion, saves the treatment sources of the application server and the charging system, and improves the running performance of the system.
Description
Technical field
The present invention relates to the communication charge technical field, be specifically related to method and the application server and the charge system of service billing.
Background technology
Along with the progress of network technology, emerge in large numbers increasing business in the field of telecommunications.In some professional processes of paying, owing to user's roaming, user terminal is closed or the reason such as network failure, professional can the appearance interrupts, and is in suspended state in a period of time; After user's business of getting back to makes the normal state of land used, user terminal or network recovery, professional can the payment in the continuation of the breakpoint place of last time.Current, this type of professional kind is more and more, greatly enriched the scope of Operator Specific Service operation, improved ARPU (the Average Revenue Per User of operator, every user's average income) value, for example, data sync business, DCD business (Dynamic Content Delivery, dynamic content transport service).Different with common business payment failure, the interruption of this type of business is controlled.When user's business of getting back to makes land used, after user terminal or the network recovery normal condition, application server can allow professional hang-up from last time continue to pay.
For example: the user uses mobile phone terminal to watch a film that issues by DCD Server (dynamic content issues server), and the film duration is 60 minutes.When the user watches 30 minutes, because radio network problems causes sending down service to interrupt.DCD Server monitors such situation, initiatively hangs up the DCD business.After wireless network recovered, user terminal initiated to reuse the request of DCD business, and DCDServer issues from 30 minutes hang-up point recovery film.
If adopt existing charging way that above-mentioned business is chargeed, when after professional the hang-up taken place in the middle process, recovering again:
Existing first kind of charging way is: produce two or more chargeable session in application server and charge system, wholesale price process in the chargeable session of back does not have with reference to the metering data in the chargeable session before, only carry out charging according to the metering data in this chargeable session, and previous chargeable session and a rear chargeable session be each other do not have associated.
Existing second charging way: be in application server and charge system, only to produce a chargeable session, business hang up with business recovery during this period of time in, chargeable session is not interrupted.
In the research and practice process to prior art, the inventor finds that there is following problem in prior art:
For existing first kind of charging way, since in have no progeny, business is identified as a new business when continuing identification, and do not have related with metering data before, cause having carried out twice charging for same business, caused the charging confusion, the faulty operations such as repetition charging occur probably the user carried out, cause damage to the user, affect service image.
And for existing second charging way, because professional the hang-up with business recovery can not be expected during this period of time, sometimes can continue long time, chargeable session can be wasted the ample resources of application server and charge system for a long time, reduces operational efficiency and the disposal ability of system.
Summary of the invention
The technical problem that the embodiment of the invention solves provides method and the application server and the charge system of service billing, and it is chaotic to avoid chargeing, conserve system resources.
The method of a kind of service billing that the embodiment of the invention provides comprises:
During professional the hang-up, application server sends the professional request of charging of hanging up to charge system;
Described charge system receives described professional hang-up charging and asks to charge processing, and preceding metering data hung up in record;
During business recovery, application server recovers accounting request to the charge system reporting service, comprises the metering data association identification in this request;
Charge system is obtained the metering data before the described hang-up according to described metering data association identification and is proceeded charging and process.
The embodiment of the invention provides a kind of application server, comprising: condition monitoring unit and charge trigger;
The condition monitoring unit is used for monitoring and uses professional state for the user; And the reporting service state is given charge trigger;
Charge trigger is used for sending the professional accounting request of hanging up to charge system when the result of described condition monitoring unit monitors is professional the hang-up; When the result of described condition monitoring unit monitors is business recovery, recover accounting request to the charge system reporting service, comprise the metering data association identification in this request.
The embodiment of the invention provides a kind of charge system, comprising: message sink unit and charging processing unit;
The message sink unit is for the accounting request that receives application server;
Charging processing unit is for the type of the accounting request of identifying the reception of described message sink unit; If the type of described accounting request is the professional accounting request of hanging up, then hang up accounting request according to described business and carry out the charging processing, and front metering data is hung up in record; If the type of accounting request is the business recovery accounting request, then obtains metering data corresponding to described metering data association identification according to the metering data association identification in this business recovery accounting request and proceed the charging processing.
Adopt technique scheme, embodiment of the invention beneficial technical effects is:
In the embodiment of the invention, during professional the hang-up, application server sends the professional accounting request of hanging up to charge system; Described charge system receives the described professional accounting request of hanging up and carries out the charging processing, and records the metering data before hanging up; During business recovery, application server recovers accounting request to the charge system reporting service, comprises the metering data association identification in this request; Charge system is obtained the metering data before the described hang-up according to described metering data association identification and is proceeded charging and process.Realized professional related with metering data, after service disconnection arrives recovery, still proceed charging on the basis of original metering data, compared with prior art, avoided the repetition charging to the damnous situation of user, can not cause the charging confusion, and save the processing resource of application server and charge system, improve the performance of system's operation.
Description of drawings
Fig. 1 is the flow chart of the embodiment of the invention one business charging method;
Fig. 2 is the signaling process figure of the embodiment of the invention two online charging methods;
Fig. 3 is the signaling process figure of the embodiment of the invention three off-line accounting methods;
Fig. 4 is the system architecture diagram of DCD business in the embodiment of the invention;
Fig. 5 is that the terminal of DCD business in the embodiment of the invention is hung up flow chart;
Fig. 6 is the signaling process figure of the embodiment of the invention four online charging methods;
Fig. 7 is the signaling process figure of the embodiment of the invention five off-line accounting methods;
Fig. 8 is the structural representation of the embodiment of the invention six application servers;
Fig. 9 is the structural representation of the embodiment of the invention seven application servers;
Figure 10 is the structural representation of the embodiment of the invention eight charge systems.
Embodiment
The embodiment of the invention provides a kind of method and application server and charge system of service billing, is used for the communication charge technical field, below the method for service billing provided by the invention and application server and charge system is described in detail.
Embodiment one, a kind of method of service billing, and flow chart comprises as shown in Figure 1:
101, during professional the hang-up, application server sends the professional request of charging of hanging up to charge system;
In the embodiment of the invention, described application server is an enabler of having disposed miscellaneous service, and provides the functional entity of miscellaneous service to the user, as: short message servers, multimedia server, multimedia message server, ordering server etc.Be understandable that the described professional accounting request of hanging up can be accounting request, comprises the professional sign of hanging up in this accounting request, is used for notice charge system business and is suspended.
Described charge system is received described accounting request, then is designated metering data according to this business hang-up and stamps the hang-up mark.The business datum of hanging up is carried out special sort,, continue billing operation so that during business recovery.The workload of searching metering data when reducing business recovery.
102, described charge system receives the described professional accounting request of hanging up and carries out the charging processing, and records the metering data before hanging up.
The process that charge system reception accounting request is carried out the charging processing can adopt existing multiple conventional implementation, and concrete implementation is not construed as limiting the invention.
In the embodiment of the invention, the metering data before the described hang-up is distinguished to some extent for online charging mode and offline charging mode.
For the online charging mode, metering data comprises professional use information and the information etc. of deducting fees.And for the offline charging mode, described metering data refers to the corresponding data of preserving on " ticket " and this ticket.
103, during business recovery, application server recovers accounting request to the charge system reporting service, comprises the metering data association identification in this request;
In the embodiment of the invention, described reporting service recovers accounting request and can be: described application server sends accounting request to described charge system, comprises the sign that indicating services recovers in the described accounting request.
Described metering data association identification can be that charge system is distributed, and also can be the existing sign of application server, and present embodiment emphasizes that described metering data association identification can the related metering data of hanging up, in order to after proceed the usefulness that association is processed in charging.
The metering data sign can identify for chargeable session (ID);
The present embodiment method also comprises: application server is preserved the corresponding relation of hanging up professional delivery information and chargeable session sign, during in order to business recovery, according to this chargeable session of service interaction information acquisition ID.
During business recovery, application server recovers to comprise before the accounting request to the charge system reporting service:
Application server obtains the professional corresponding chargeable session sign of recovery according to described corresponding relation.
The obtain manner of the session id of application server and charge system can obtain by the existing conventional implementation, repeats no more herein.What emphasize is that session id can be related with metering data herein.
Be understandable that the described charge system of described step 102 receives described professional hang-up accounting request and carries out the charging processing, and the metering data that records before hanging up comprises afterwards:
Described charge system generates the metering data association identification of described metering data correspondence and described metering data association identification is sent to described application server.
Describedly described metering data association identification is sent to described application server can be:
Described charge system is returned to charge to described application server and is replied, and comprises described charge associated sign during described charging is replied.
Be understandable that if described metering data is user's ticket, then described metering data association identification is user's ticket sequence number.Described metering data association identification can also be other signs, and related with metering data as long as this sign can realize user's professional delivery information, concrete sign is not construed as limiting the invention.
Be understandable that the association identification of metering data described in the embodiment of the invention can also be that described application server generates, concrete process comprises:
Described application server generates the metering data association identification;
Described step 101 application server sends the professional accounting request of hanging up to charge system and comprises described metering data association identification; Described application server is preserved described metering data association identification and the corresponding relation of hanging up professional delivery information;
Metering data before described charge system record is hung up and the corresponding relation of described metering data association identification;
During business recovery, application server recovers to comprise before the accounting request to the charge system reporting service:
Application server obtains the professional corresponding metering data association identification of recovery according to described corresponding relation.
104, charge system is obtained the metering data before the described hang-up according to described metering data association identification and is proceeded charging and process.
For the situation of offline charging and online charging, it is different that operation is processed in charging.
Based on the characteristic of chargeing, online charging mainly be to prepaid user's account reserve, wholesale price, operation such as deduct fees.And offline charging mainly is that ticket is upgraded and the operation such as preservation, so that term settlement etc.
Be understandable that, after the described step 104, comprise further that described charge system is returned to charge to described application server to reply.
In the embodiment of the invention, during professional the hang-up, application server sends the professional accounting request of hanging up to charge system; Described charge system receives the described professional accounting request of hanging up and carries out the charging processing, and records the metering data before hanging up; During business recovery, application server recovers accounting request to the charge system reporting service, comprises the metering data association identification in this request; Charge system is obtained the metering data before the described hang-up according to described metering data association identification and is proceeded charging and process.Realized professional related with metering data, after service disconnection arrives recovery, still proceed charging on the basis of original metering data, compared with prior art, avoided the repetition charging to the damnous situation of user, can not cause the charging confusion, and save the processing resource of application server and charge system, improve the performance of system's operation.
One of ordinary skill in the art will appreciate that all or part of step that realizes in above-described embodiment method is to come the relevant hardware of instruction to finish by program, described program can be stored in a kind of computer-readable recording medium, this program comprises the steps: when carrying out at least
Described charge system receives the business hang-up charging of application server transmission and asks to charge processing, and the preceding metering data of record hang-up;
If charge system is received the business recovery accounting request that application server reports, comprise the metering data association identification in this request;
Then charge system is obtained the metering data before the described hang-up according to described metering data association identification and is proceeded charging and process.
The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
Respectively online charging and two kinds of situations of offline charging are described in detail below by embodiment two and embodiment three.
Embodiment two, a kind of online charging method, and signaling process comprises as shown in Figure 2:
A1, user terminal send service request to application server, the payment of requested service;
A2, application server send accounting request to Online Charging System, and the request quota is reserved;
A3 after Online Charging System is received accounting request, carries out wholesale price to business, and user account is reserved;
A4, Online Charging System returns charging to application server and replys, and comprises the quota number of mandate in replying;
A5, application server is to the user terminal delivery service;
In the professional delivery process, because that the quota number of authorizing soon uses up or authorizes is soon expired, application server sends the request of charging once more to Online Charging System; Steps A 2-A4 can repeat;
A6, owing to user roaming or user terminal such as close at the reason, the professional payment interrupted;
A7, application server stop the user terminal delivered service after receiving the request that the business of user terminal suspend to pay; And the corresponding relation of this professional delivery information of record and this chargeable session sign;
A8 sends accounting request to Online Charging System, comprises former because professional time-out that accounting request reports in the request;
A9, Online Charging System is deducted fees to user account, and record traffic uses the information and the information of deducting fees, and this information of giving is stamped hang-up (Suspend) mark;
A10, Online Charging System return to charge to application server and reply, and finish chargeable session;
A11, when the user got back to ownership place or user terminal recovery normal condition, application server continued to carry out professional payment to the user from breakpoint;
A12, application server finds related chargeable session sign according to professional delivery information from the corresponding relation that writes down before;
A13, application server send accounting request to Online Charging System, comprise the reason " business recovery " of chargeable session initiation and related chargeable session sign in the request;
A14 after Online Charging System receives message, finds previous professional use information and the information of deducting fees according to the session setup reason " business recovery " in the message and related chargeable session sign, and carries out wholesale price, reservation according to it;
A15, Online Charging System returns charging to application server and replys, and comprises the quota number of mandate in replying;
In the professional delivery process, because that the quota number of authorizing soon uses up or authorizes is soon expired, application server sends accounting request again to Online Charging System; Steps A 11-A13 can be repeated several times;
A16, application server carry out business and pay.
A17, the professional payment when finishing, application server sends accounting request to Online Charging System, and request is deducted fees;
A18, Online Charging System carries out wholesale price to the business of using, and user account is deducted fees;
A19, Online Charging System return to charge to application server and reply, and finish chargeable session;
In above flow process, if professional the recovery in official hour will be charged to the business of using according to the strategy of operator; And the business in the removing Online Charging System is used information and the recording of information or utilize its to generate ticket of deducting fees.
Embodiment three, and a kind of off-line accounting method, signaling process comprise as shown in Figure 3:
B1, user terminal send service request to application server, the payment of requested service;
B2, application server are to the user terminal delivery service;
B3, application server send the offline charging request message to charge system, wherein comprise professional metering data;
After B4, charge system were received charging request message, monitoring was the beginning message of chargeing, and opens a new ticket, the use information of record traffic;
B5, charge system are returned the offline charging response message to application server, may comprise the time interval that reports charge information in the response;
B6, report the time interval of charge information or specific charging event takes place when arrival, application server sends the Intermediate Charging ICH request message to charge system again, wherein comprises last charge information and is reported to current business to use information;
After B7, charge system received charging request message, the business of upgrading in the ticket was used information;
B8, charge system are returned charge response message to application server; Step 6-8 can repeat repeatedly;
B9, owing to user roaming or user terminal such as close at the reason, the professional payment interrupted;
B10, because professional the payment interrupted, and application server sends the request of charging to charge system, report conversation end former because " the professional hang-up ";
B11, charge system are carried out last renewal to ticket, close ticket, and what record traffic stopped on ticket is former because " the professional hang-up "; And ticket is stored in the zone of a special use.
B12, charge system are returned the charging response message to application server, comprise the sequence number of the ticket that has generated in the response, as " related CDR sequence number ", for the association of ticket behind the business recovery;
B13, application server record the corresponding relation of related CDR sequence number and this professional delivery information;
B14, when the user gets back to ownership place or user terminal and recovers normal condition, application server continues to carry out professional payment to the user from breakpoint;
B15, application server find related CDR sequence number according to professional delivery information from corresponding relation;
B16, application server send accounting request to charge system, carry the reason Resume " business recovery " of session setup in the message, show it is the chargeable session that produces because continue beginning again after the service disconnection; The sequence number of the ticket that is associated before also carrying in the message is used for finding the ticket that produces before the service disconnection;
After B17, charge system are received accounting request, determine to need the ticket of associated services before interrupting according to the Resume information in the message, and find corresponding ticket by related CDR sequence number, reopen ticket after, upgrade the information in the ticket;
B18, charge system are returned the charging request responding to application server;
B19, report the time interval of charge information or specific charging event takes place when arrival, application server sends offline charging message to charge system again;
Information is used in the service that B20, charge system are upgraded in the ticket;
B21, charge system are returned the response of accounting request to application server; Step 18-20 can be repeated several times;
B22, the professional payment are finished;
B23, because professional the payment finished, and application server sends accounting request to charge system, the user finishes chargeable session;
B24, charge system are carried out last renewal to ticket, close ticket; And ticket is delivered in the follow-up network element;
B25, charge system are returned the charging request responding to application server;
In above flow process, if professional the recovery in official hour will be cleared up hanging up the professional ticket that produces, and charge according to only ticket at set intervals according to the strategy of operator.
Below with dynamic content transmission (Dynamic Content Delivery, DCD) business is an example, the charging method that the embodiment of the invention is provided is described in detail.
As shown in Figure 4, be the system architecture diagram of DCD business.
Comprise DCD content provider server (DCD Content ProviderServer) 401, DCD server (DCD Server) 402, DCD client (DCD Client) 403, DCD client application module 404 (DCD Enabled Client Application) in the DCD business structure.
DCD content provider server 401:, provide content for DCD serves by to DCD server registration channel and content distributed.
DCD server 402: the channel registration, the content release that are used to receive, handle the DCD content provider server; Receive, handle the channel subscription and the content requests of DCD client; The content of user request is carried out adaptive, and to DCD client distributing contents
DCD client 403: be installed in the user terminal, mutual with DCD server and DCD EnabledClient Application.
DCD client application module 404: be the application module that is based upon on the DCD client, call the function of DCD client, the DCD service is provided and shows content in a kind of specific mode to the user.
As shown in Figure 5, be the user when receiving the content of DCD service, because roaming or user terminal are closed etc. former thereby are caused the flow process that channel is hung up, content delivery is interrupted:
C1, DCD service server carry out the transmission of certain content of certain channel to the DCD client;
C2, DCD Client are forwarded to DCD Enabled Client Application to the content that receives;
C3, when user roaming or user terminal are closed, DCD Enabled Client Application sends the Suspend order to DCD Client, and channel is hung up.
C4, DCD Client are forwarded to DCD Server to the Suspend order.After DCD Server receives the Suspend order, the channel of correspondence is hung up, and stopped the transmission of current content.
C5, after the user gets back to ownership place or user terminal and recovers normal condition, DCD EnabledClient Application sends to DCD Client and recovers (Resume) order, recovers the channel of having hung up.
C6, DCD Client are forwarded to DCD Server to the Resume order.After DCD Server receives Resume order, the channel of having hung up is recovered, and according to the contextual information of content delivery, continue the transmission of non-delivery complete content.
C7, DCD Server arrive DCD Client with non-delivery intact content delivery.
C8, DCD Client are forwarded to DCD Enabled Client Application with non-delivery intact content, and DCD Enabled Client Application gives the user with content displaying.
Be the charging flow of the example explanation embodiment of the invention below with the DCD business.
Embodiment four, a kind of online charging method, and signaling process figure comprises as shown in Figure 6:
D1, DCD Server to Online Charging System send the credit control request (Credit ControlRequest, CCR);
In the present embodiment, described charging request is the credit control request, charges to reply to be Credit Control Answer.
D2, described Online Charging System is reserved quota then according to the channel identication in the described charging request, content identification, wholesale price.
D3, charge system is returned Credit Control Answer (Credit Control AnswerCCA) to DCD Server, and described Credit Control Answer comprises the service quota of mandate.
D4 carries out content delivery, and idiographic flow is hung up flow process C1~C2 referring to above-mentioned DCD.
D5, service quota number is used up DCD Server and is resend the credit control request.
D6, Online Charging System carry out quota again and reserve.
D7, Online Charging System returns the quota number of authorizing.
D8, in the professional transmission course, when user roaming or user terminal were closed, DCD EnabledClient Application sent request, and channel is hung up.
D9, DCD Server record the corresponding relation of this chargeable session sign and this service offering.
D10, DCD Server is sent in credit control request to Online Charging System, comprises the professional sign of hanging up in the described accounting request.
D11, the Online Charging System usefulness of deducting fees, and call charge service uses the information and the information of deducting fees, and stamp the Suspend sign.
D12, Online Charging System returns Credit Control Answer.
D13, after the user got back to ownership place or user terminal recovery normal condition, DCD EnabledClient Application sent and recovers the channel that the recovery of (Resume) command request has been hung up.
Related chargeable session sign once before D14, DCD Server find according to the corresponding relation of record.
D15, DCD Server sends credit control request to Online Charging System; Described accounting request comprises the sign of described chargeable session;
D16, described Online Charging System finds previous professional use information and the information of deducting fees to proceed wholesale price and reservation by the sign of described chargeable session.
D17, Online Charging System returns Credit Control Answer, comprises the quota of reservation.
D18, DCD Server continuation business provides.
In order to realize above-mentioned scheme, provide a kind of mode to expanding in existing credit control request (CCR):
Newly-increased AVP DCD-Info parameter, that is:
[DCD-Info]
[Service-Status]
[Correlation-Session-ld]
Service-Status is the AVP of an enumeration type, increases by two value: Suspend of suspend and resume for it: expression is professional to be hung up; Resume: expression business recovery.
Correlation-Session-Id represents the sign of the chargeable session before the business hang-up related with this chargeable session, is used to find the professional preceding business use information and the information of deducting fees hung up.
Embodiment five, a kind of off-line accounting method, and signaling process figure comprises as shown in Figure 7:
In the present embodiment, accounting request is the request of keeping accounts (Accounting Request, ACR), and charging is replied to record keeping and replied (Accouting Answer, ACA).
E1, DCD Server sends the request of record keeping to online off-line accounting system;
E2 opens a ticket; Record traffic uses information.
E3, off-line accounting system return to keep accounts to DCD Server and reply; Comprise the time interval that reports charge information.
E4 carries out content delivery, and idiographic flow is hung up flow process C1~C2 referring to above-mentioned DCD.
E5 when reaching the described time interval that issues, or triggers specific charging event, record keeping message in the middle of DCDserver sends;
E6, off-line accounting system is to upgrading the information in the ticket;
E7, it is corresponding that off-line accounting system returns record keeping to DCD Servier.
E8, in the professional transmission course, when user roaming or user terminal were closed, DCD EnabledClient Application sent request, and channel is hung up.
E9, DCD Server sends the request of record keeping to off-line accounting system, and described record keeping request comprises the professional sign of hanging up;
E10, off-line accounting system upgrades ticket, ticket is stamped " hang-up " mark, and is closed ticket.
E11, off-line accounting system returns the sequence number of described ticket.
E12, DCD server write down the sequence number of described ticket and the corresponding relation of professional delivery information.
E13, after the user got back to ownership place or user terminal recovery normal condition, DCD EnabledClient Application sent and recovers the channel that the recovery of (Resume) command request has been hung up.
E14, DCD Server continuation business provides.
The sequence number of E15, DCD Server once related ticket before finding according to the corresponding relation of record.And this sequence number sent to off-line accounting system by record keeping message.
E16, off-line accounting system reopens the ticket lastest imformation according to the ticket before the described sequence number association.
In order to realize above-mentioned offline charging scheme, provide a reference mode that existing ACR message is expanded:
In the newly-increased DCD-Info AVP parameter of existing on-line charging request ACR, that is:
[DCD-Info]
[Service-Status]
[Correlation-CDR-SN]
Service-Status is the AVP of an enumeration type, increases by two value: Suspend of suspend and resume for it: expression is professional to be hung up; Resume: expression business recovery.
Correlation-CDR-SN represents the sign of the ticket that produces before professional the hang-up, need to be the offline charging session association behind this ticket and the business recovery, with the ticket of the whole professional delivery process of generation description.
To expanding in existing ACA message:
Newly-increased DCD-InfoAVP, pass the sign of the ticket that produces before the business hang-up back application server:
[DCD-Info]
[Correlation-CDR-SN]
Embodiment six, a kind of application server 700, and structural representation comprises as shown in Figure 8: condition monitoring unit 710, charge trigger 720, preservation unit 730, association identification receiving element 740 and related control unit 750;
Association identification acquiring unit 740 is used for when business recovery, obtains the professional corresponding metering data association identification of recovery and is notified to charge trigger 720.
Association identification receiving element 750 is used to receive the metering data association identification that charge system is returned;
The inter-process flow process of the application server of embodiment six when operation embodiment one method is:
710 monitoring of condition monitoring unit are used professional state for the user; When the monitored results in the condition monitoring unit was professional the hang-up, charge trigger 720 sent the professional accounting request of hanging up to charge system; The association identification receiving element receives the metering data association identification that charge system is returned; The delivery information that related control module is professional with described hang-up and the corresponding relation of described metering data association identification are saved in the storage unit 730.
When the result of condition monitoring unit 710 monitoring was business recovery, association identification acquiring unit 740 obtained the related expression of professional corresponding metering data and the notice charge trigger 720 of described recovery; Charge trigger 720 is recovered accounting request to the charge system reporting service, comprises the metering data association identification in this accounting request.After charge system is received described business recovery accounting request, then can find corresponding metering data to proceed charging according to described metering data association identification.
Described metering data association identification can be sign or the ticket sequence number of chargeable session.
Embodiment seven, a kind of application server 800, and structural representation comprises as shown in Figure 9: condition monitoring unit 810, charge trigger 820, preservation unit 830, association identification generation unit 840 and related control unit 850;
Association identification acquiring unit 840 is used for when business recovery, obtains the professional corresponding metering data association identification of recovery and is notified to charge trigger 820.
Association identification generation unit 850 is used to generate the metering data association identification;
The inter-process flow process of the application server of embodiment seven when operation embodiment one method is:
810 monitoring of condition monitoring unit are used professional state for the user; When the monitored results in the condition monitoring unit was professional the hang-up, association identification generation unit 850 generated the metering data association identification; Charge trigger 720 sends the professional accounting request of hanging up to charge system, comprises the metering data association identification of described generation in this request.Related control unit 860 reports the described corresponding relation of hanging up professional delivery information and described metering data association identification and preserves in the unit 830.
When the result of condition monitoring unit 810 monitoring was business recovery, association identification acquiring unit 840 obtained the related expression of professional corresponding metering data and the notice charge trigger 820 of described recovery; Charge trigger 720 is recovered accounting request to the charge system reporting service, comprises the metering data association identification in this accounting request.After charge system is received described business recovery accounting request, then can find corresponding metering data to proceed charging according to described metering data association identification.
Described metering data association identification can be sign or the ticket sequence number of chargeable session.
Embodiment eight, a kind of charge system 900, and structural representation comprises as shown in figure 10: message sink unit 910, charging processing unit 920.
Message sink unit 910 is for the accounting request that receives application server;
Charging processing unit 920 is for the type of the accounting request of identifying the reception of described message sink unit; If the type of described accounting request is the professional accounting request of hanging up, then hang up accounting request according to described business and carry out the charging processing, and front metering data is hung up in record; If the type of accounting request is the business recovery accounting request, then obtains metering data corresponding to described metering data association identification according to the metering data association identification in this business recovery accounting request and proceed the charging processing.
Be understandable that described charge system can also comprise: charge associated sign generation unit 930.
Described charge associated sign generation unit 930 when being used for receiving the hang-up request of application server in message sink unit 810, generating charge associated sign and is handed down to described application server.
The inter-process flow process of the charge system of embodiment eight when operation embodiment one method is:
Message sink unit 910, the accounting request of reception application server; The type of the accounting request that the described message sink of charging processing unit 920 identifications unit receives; If the type of described accounting request is the professional accounting request of hanging up, then hang up accounting request according to described business and carry out the charging processing, and front metering data is hung up in record; If the type of accounting request is the business recovery accounting request, then obtains metering data corresponding to described metering data association identification according to the metering data association identification in this business recovery accounting request and proceed the charging processing.
Be understandable that, described metering data association identification may be in the charge system by charge associated sign generation unit 9930, when being used for receiving the hang-up request of application server in message sink unit 910, generating charge associated sign and be handed down to described application server.When standby service recovered, application server sent the accounting request of carrying this charge associated sign, and charge system then can find the metering data of the business of hang-up and proceed charging.
More than a kind of business charging method provided by the present invention and application server and charge system are described in detail, wherein:
In one embodiment of the invention, during professional the hang-up, application server sends the professional accounting request of hanging up to charge system; Described charge system receives the described professional accounting request of hanging up and carries out the charging processing, and records the metering data before hanging up; During business recovery, application server recovers accounting request to the charge system reporting service, comprises the metering data association identification in this request; Charge system is obtained the metering data before the described hang-up according to described metering data association identification and is proceeded charging and process.Realized professional related with metering data, after service disconnection arrives recovery, still proceed charging on the basis of original metering data, compared with prior art, avoided the repetition charging to the damnous situation of user, can not cause the charging confusion, and save the processing resource of application server and charge system, improve the performance of system's operation.
In another embodiment of the present invention, described charge system is received described accounting request, then is designated metering data according to this business hang-up and stamps the on-hook mark.The business datum of hanging up is carried out special sort,, continue billing operation so that during business recovery.The workload of searching metering data when reducing business recovery.
For one of ordinary skill in the art, according to the thought of the embodiment of the invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (16)
1. the method for a service billing is characterized in that, comprising:
During professional the hang-up, application server sends the professional request of charging of hanging up to charge system;
Described charge system receives described professional hang-up charging and asks to charge processing, and preceding metering data hung up in record;
During business recovery, application server recovers accounting request to the charge system reporting service, comprises the metering data association identification in this request;
Charge system is obtained the metering data before the described hang-up according to described metering data association identification and is proceeded charging and process.
2. the method for claim 1 is characterized in that, described application server sends professional the hang-up to charge system and comprises the sign that indicating services is hung up in the accounting request.
3. method as claimed in claim 2 is characterized in that, described metering data association identification is the sign of chargeable session;
Described method further comprises: application server is preserved this corresponding relation of hanging up professional delivery information and chargeable session sign;
During business recovery, application server recovers to comprise before the accounting request to the charge system reporting service:
Application server obtains the professional corresponding chargeable session sign of recovery according to the described corresponding relation of hanging up professional delivery information and chargeable session sign.
4. method as claimed in claim 2 is characterized in that, described method also comprises:
Described application server generates the metering data association identification;
The business that described application server sends to charge system is hung up in the accounting request and is comprised described metering data association identification, and described application server is preserved described professional delivery information and the corresponding relation of metering data association identification hung up;
Metering data before described charge system record is hung up and the corresponding relation of described metering data association identification;
During business recovery, application server recovers to comprise before the accounting request to the charge system reporting service:
Application server obtains the professional corresponding metering data association identification of recovery according to the described delivery information of hanging up business with the corresponding relation of metering data association identification.
5. method as claimed in claim 2 is characterized in that,
Described charge system receives described business hang-up charging and asks to charge processing, and the preceding metering data of record hang-up comprises afterwards:
Described charge system generates the metering data association identification of the metering data correspondence before the described hang-up and described metering data association identification is returned to described application server;
Application server is preserved and is hung up professional delivery information and the corresponding relation of described metering data association identification;
During business recovery, application server recovers to comprise before the accounting request to the charge system reporting service:
Application server obtains the professional corresponding metering data association identification of recovery according to the described corresponding relation of hanging up professional delivery information and described metering data association identification.
6. method as claimed in claim 5 is characterized in that, describedly described metering data association identification is returned to described application server comprises:
Described charge system is returned to charge to described application server and is replied, and comprises described charge associated sign during described charging is replied.
7. method as claimed in claim 5 is characterized in that, the metering data before the described hang-up is user's ticket, and described metering data associated data is designated user's ticket sequence number.
8. such as the described method of claim 2 to 7 any one, it is characterized in that, when described charge system is received described professional hang-up accounting request, be designated metering data according to this business hang-up and stamp the hang-up mark.
9. method as claimed in claim 8 is characterized in that, described application server recovers to comprise in the accounting request sign that indicating services recovers to the charge system reporting service.
10. method as claimed in claim 9 is characterized in that, charge system is obtained the metering data before the described hang-up according to described metering data association identification and proceeded to charge and comprises after handling:
Described charge system is returned to charge to described application server and is replied.
11. an application server is characterized in that, comprising: condition monitoring unit and charge trigger;
The condition monitoring unit is used for supervisory user and uses professional state, and the reporting service state is given charge trigger;
Charge trigger is used for sending the professional accounting request of hanging up to charge system when the result of described condition monitoring unit monitors is professional the hang-up; When the result of described condition monitoring unit monitors is business recovery, recover accounting request to the charge system reporting service, comprise the metering data association identification in this request.
12. application server as claimed in claim 11 is characterized in that, also comprises:
Storage unit is used for preserving described professional delivery information and the corresponding relation of described metering data association identification hung up;
The association identification acquiring unit is used for when business recovery, obtains the professional corresponding metering data association identification of recovery and is notified to charge trigger.
13. application server as claimed in claim 12 is characterized in that, also comprises:
The association identification receiving element is used to receive the metering data association identification that charge system is returned;
Related control module is used for hanging up professional delivery information and the corresponding relation of described metering data association identification reports storage unit.
14. application server as claimed in claim 12 is characterized in that, also comprises:
The association identification generation unit is used to generate the metering data association identification;
Related control module is used for hanging up professional delivery information and the corresponding relation of described metering data association identification is saved in storage unit;
The business that described charge trigger sends is hung up accounting request and is comprised described metering data association identification.
15. a charge system is characterized in that, comprising: message sink unit and charging processing unit;
The message sink unit is for the accounting request that receives application server;
Charging processing unit is for the type of the accounting request of identifying the reception of described message sink unit; If the type of described accounting request is the professional accounting request of hanging up, then hang up accounting request according to described business and carry out the charging processing, and front metering data is hung up in record; If the type of accounting request is the business recovery accounting request, then obtains metering data corresponding to described metering data association identification according to the metering data association identification in this business recovery accounting request and proceed the charging processing.
16. charge system as claimed in claim 15 is characterized in that, also comprises:
Charge associated sign generation unit when being used for receiving the hang-up request of application server in the message sink unit, generating charge associated sign and is handed down to described application server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007101680820A CN101425908A (en) | 2007-11-01 | 2007-11-01 | Service fee charging method, application server and fee charging system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007101680820A CN101425908A (en) | 2007-11-01 | 2007-11-01 | Service fee charging method, application server and fee charging system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101425908A true CN101425908A (en) | 2009-05-06 |
Family
ID=40616263
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2007101680820A Pending CN101425908A (en) | 2007-11-01 | 2007-11-01 | Service fee charging method, application server and fee charging system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101425908A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101860838A (en) * | 2010-06-28 | 2010-10-13 | 中兴通讯股份有限公司 | Method and system for charging prepayment |
CN102201922A (en) * | 2010-03-22 | 2011-09-28 | 阿里巴巴集团控股有限公司 | Data charging method and relevant apparatus |
CN102802143A (en) * | 2011-05-26 | 2012-11-28 | 华为软件技术有限公司 | Service restoring method, relevant device and system |
CN105790975A (en) * | 2014-12-22 | 2016-07-20 | 阿里巴巴集团控股有限公司 | Service processing operation execution method and device |
CN111277720A (en) * | 2017-11-16 | 2020-06-12 | 华为技术有限公司 | A billing method, device and system |
-
2007
- 2007-11-01 CN CNA2007101680820A patent/CN101425908A/en active Pending
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102201922A (en) * | 2010-03-22 | 2011-09-28 | 阿里巴巴集团控股有限公司 | Data charging method and relevant apparatus |
CN102201922B (en) * | 2010-03-22 | 2013-11-13 | 阿里巴巴集团控股有限公司 | Data charging method and relevant apparatus |
CN101860838A (en) * | 2010-06-28 | 2010-10-13 | 中兴通讯股份有限公司 | Method and system for charging prepayment |
CN101860838B (en) * | 2010-06-28 | 2015-01-28 | 中兴通讯股份有限公司 | Method and system for charging prepayment |
CN102802143A (en) * | 2011-05-26 | 2012-11-28 | 华为软件技术有限公司 | Service restoring method, relevant device and system |
CN102802143B (en) * | 2011-05-26 | 2015-05-27 | 华为软件技术有限公司 | Service restoring method, relevant device and system |
CN105790975A (en) * | 2014-12-22 | 2016-07-20 | 阿里巴巴集团控股有限公司 | Service processing operation execution method and device |
CN111277720A (en) * | 2017-11-16 | 2020-06-12 | 华为技术有限公司 | A billing method, device and system |
CN112398662A (en) * | 2017-11-16 | 2021-02-23 | 华为技术有限公司 | Charging method, device and system |
US10958794B2 (en) | 2017-11-16 | 2021-03-23 | Huawei Technologies Co., Ltd. | Charging method, apparatus, and system |
US11489969B2 (en) | 2017-11-16 | 2022-11-01 | Huawei Technologies Co., Ltd. | Charging method, apparatus, and system |
CN111277720B (en) * | 2017-11-16 | 2023-08-04 | 华为技术有限公司 | Billing method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200112641A1 (en) | System and method for monitoring account usage on a platform | |
US11582351B2 (en) | Method for minimizing financial risk for wireless services | |
US8275354B2 (en) | Methods, systems, and computer-readable-mediums for managing rollover usage units of communication services | |
CN101132289B (en) | Integrated billing method, billing system, application server and integrated billing system | |
JP2004072202A (en) | Separate billing method of communication utility charge and apparatus therefor | |
US6058170A (en) | Telephone billing with summary information | |
KR20080113411A (en) | Method of providing integrated prepaid and postpaid charging for communication network, subscriber and charging selection system of communication network | |
JP2002528807A (en) | Service control of telecommunications network | |
US8195566B2 (en) | Web service interfaces used in providing a billing service | |
US20160150396A1 (en) | System and method for tracking communications network resources and utilizing non-reusable, obligated network resources to support the communications network resources | |
CN110381455B (en) | Flow monitoring processing method and related device and system | |
JP2002517054A (en) | Service provision support system | |
EP2026551B1 (en) | A method and system of charging and an account period switching module | |
CN101425908A (en) | Service fee charging method, application server and fee charging system | |
US8341044B1 (en) | System, method, and computer program product for rating and re-rating events | |
US8630397B2 (en) | Method and system for enabling charging of non-charging controlled services | |
CN103581458A (en) | Automatic updating method and device for service package | |
CN101159911B (en) | Added-value service implementing method and service control point | |
CN109474902A (en) | Message charging device, method, terminal and system | |
US7194432B1 (en) | Billing process and system in a telecommunication network | |
CN101431745A (en) | Account resource reservation and distribution method used for IMS multi-service on-line charging | |
WO2020048532A1 (en) | Method and device for processing gx session exception | |
CN102694660B (en) | A kind of method and apparatus for carrying out restatement expense to prepaid user | |
CN100442697C (en) | Billing method and system thereof | |
WO2011088664A1 (en) | Method and system for implementing rent-deduction of prepaid services |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20090506 |