Charge accounting for multiparty communication implementation method based on mobile intelligent net
Technical field
The present invention relates to provide to the prepaid user field of MultiParty Service based on mobile intelligent net, specifically, relate to a kind of in mobile intelligent net when pre-payment calling and called side user provides MultiParty Service, can calculate cost of the phone call in time, exactly, and its account balance of notifying prepayment user technology that whether can continue to converse.
Background technology
Along with the development of mobile intelligent net and the demand of intelligent network user, to the diversification, complicated of IN service demand trend.At present, operator just proposes to make existing prepayment service can support MPTY and Call Waiting conversation.
Prepaid user's MPTY is meant that the prepaid user does caller, call out one called enter talking state after, it is called that this prepaid user dials another one again, keeping entering the talking state called with another under the prerequisite of calling out previously.
It is called that prepaid user's Call Waiting is meant that the prepaid user does, and after calling entered talking state, this prepaid user was put through by the another one caller again, keeping entering the talking state with second caller under the prerequisite of calling out previously.
MPTY in the prepayment service is identical with calling is set up in the Call Waiting conversation in realization process right and wrong prepaid user, but exists difference on chargeing.Charging in the non-prepayment service is to charge according to conversation rate behind end of conversation, and its expense is to pay in the back, does not have expense overdraw problem, and only needing charge according to basic charging method for MPTY and Call Waiting gets final product; And in prepayment service, owing to do not allow user's cost of the phone call to surpass institute's advanced charges, so need control user's the duration of call according to the remaining sum of prepaying in the user account, and in implementation procedure in order to improve the treatment effeciency of system, the duration of call is to calculate according to conversation rate before the conversation beginning, and adopts timer that the duration of call is controlled, so for MPTY and Call Waiting, when second call setup, need to adopt special charging implementation.If processing scheme is not good, charge system will take a large amount of system resource, and indexs such as efficient of chargeing and reliability all can descend.So need not influence under the prerequisite of efficient as far as possible, in time the duration of call timer to the user upgrades.
The main distinction of prepaid user's MPTY and Call Waiting is in addition, the prepaid user sets up with the pattern of caller in setting up new process of calling out, the prepaid user sets up with called pattern to call out in the Call Waiting conversation, so the charging process of the two is identical, just rate is different, below just the charging of these two kinds of conversations is realized being referred to as the charging implementation method of MPTY.
Summary of the invention
The technical problem that the present invention solves be a kind of in mobile intelligent net when the prepaid user provides MultiParty Service, make charge system can carry out the implementation method of flexible charging in time, effectively to the prepaid user.But allow the prepaid user understand the air time, avoid overdraw to use the pre-payment expense in time.
The prepayment service charge accounting for multiparty communication implementation method that the present invention proposes based on mobile intelligent net, the step of realization is as follows:
One, be that caller or called new calling add fashionable charging processing with prepaid user
Step 1, if contain the MPTY mark, prepayment service is according to the account number of using in the new call flow in the new call flow response message of receiving, the prepaid user's of described account number all-calls and charge information used in the location in service control point;
Step 2 according to the calling and the charge information of the described step 1 that obtains, but recomputates all prepaid users' the duration of call by accounting routine, the corresponding duration of call timer of calling out of change;
Step 3, the new calling enters talking state, calls out to keep;
Step 4 is that caller or called new calling add if having with prepaid user again, and then repeating step 1,2,3;
Two, be that the charging that caller or called conversation are withdrawed from when calling out is handled with prepaid user
Step 5, the prepaid user who is in MPTY finishes conversation, and prepayment service is according to the account number that finishes to use before the conversation, and still call out and charge information all prepaid users that use described account number the location in this service control point;
Step 6, according to the calling that obtains, but accounting routine recomputates the duration of call that there is the prepaid user in all, and the corresponding duration of call timer of change;
Step 7, other conversation relevant with the prepaid user in the conversation continues to keep;
Step 8 is that caller or called conversation are withdrawed from if also have with prepaid user, and then repeating step 5,6,7.
Described calling adds conversation and withdraws from the conversation, when the prepaid user carry out be MPTY the time, the prepaid user adds with the caller pattern and withdraws from conversation in the calling.
Described calling adds conversation and withdraws from the conversation, when the prepaid user carry out be the Call Waiting conversation time, the prepaid user adds with called pattern and withdraws from conversation in the calling.
The described charge information that obtains the prepaid user according to account number comprises: the zero-time of calling, calling/called number, position, billing scheme.
For the conversation of tax-free call, the duration of call of this calling is not limited by timer.
For the mobile intelligent net system can be provided the MPTY of prepayment service and the support of Call Waiting conversation, in prepaid user's MPTY process, need but user's the duration of call is changed in time, when the calling that promptly needs (to comprise second) after second enters talking state, but recomputate the duration of call that each is called out, accurately control prepaid user's air time.As a same reason, when being in many ways obedient a certain end of calling conversation, there is the duration of call of calling out, avoids producing the overdraw situation of expense of prepaid user but also should recomputate each.
Adopt charge accounting for multiparty communication implementation method of the present invention, operation manufacturer can provide MultiParty Service to the prepaid user, thereby has improved the service quality of operation manufacturer.Simultaneously since adopted new call out to add and exist to call out withdraw from two time points and charge, thereby control user's the duration of call exactly, improved the operational efficiency of program effectively, reduce cost the final investment repayment that improves operation manufacturer.
Description of drawings
Fig. 1 is a prepayment service charge accounting for multiparty communication implementation method schematic flow sheet of the present invention, wherein:
Fig. 1 a is that the new calling relevant with the prepaid user adds fashionable charging handling process schematic diagram;
Fig. 1 b is that the charging handling process schematic diagram when conversing is withdrawed from the calling relevant with the prepaid user;
Fig. 2 adopts the inventive method to realize that in the cdma wireless intelligent network charging of Three-Way Calling realizes schematic diagram.
Embodiment
Add and withdraw from charging handling process when calling out with reference to prepaid user's shown in Figure 1 calling.When prepaid user's (as caller or called) and the other side have set up calling, the duration length of timer of this moment is that the conversation rate by this calling calculates, the caller (Call Waiting) that (comprises second) after second or called (MPTY) are when entering, because this prepaid user has set up a plurality of callings simultaneously, change has taken place in its conversation rate, for air time and the overtime calling of cut-out in time that can accurately control this prepaid user, when the calling that need (comprise second) after second enters talking state, can in service control point, locate the prepaid user's who uses described account number all-calls according to the account number of using in the call flow, but recomputate the duration of call that each is called out, the corresponding duration of call timer of calling out of change keeps calling out when not overtime always.
As a same reason, when a certain end of calling that is in MPTY is conversed, prepayment service will be called out all prepaid users that use described account number according to using account to locate in this service control point still, but and recomputate the duration of call that there is the prepaid user in all by accounting routine, and the corresponding duration of call timer of change, finally prevent the overdraw of user to the pre-payment expense.
All be suitable for from of the MPTY and the Call Waiting conversation of top explanation method of the present invention as can be seen the prepaid user.
Method principle of the present invention has versatility in intelligent network, not only be suitable in mobile intelligent net, and is also suitable for the prepayment service of fixed network.Below just have particular application as example and described in detail principle of the present invention with one in cdma wireless intelligent network (mobile intelligent net a kind of).
The charging that realizes Three-Way Calling with reference to employing the inventive method shown in Figure 2 in the cdma wireless intelligent network realizes principle.User A is the prepaid user, based on the Three-Way Calling implementation procedure of user A for being that a call conversation process has been set up in caller with prepaid user A, user A need insert the call conversation process of user B in keeping this communication process, user A is with caller call by pattern user B, realize the Three-Way Calling of prepaid user A, the communication process FEFO of user A and user B then, user A continues maintenance and last user's communication process, the A of end user finishes the communication process with last user, finishes all processes of the foundation and the releasing of Three-Way Calling.Because charging implementation method of the present invention, be to handle when withdrawing from having new calling to add and have connecting to call out, just specify the process how to handle below:
When prepaid user A in certain communication process, need calling party B; Reply in caller (user A) and to contain MPTY indication, expression has the adding (calling out B adds) of new calling, handles according to the following steps:
The prepayment service is at first called out mid-MPTY mark at this, and in this service control point, locate the user A that uses account according to its account number, and obtain charge information (like this zero-time of calling out of this calling, called number, position, billing scheme etc.), put user A MPTY mark simultaneously;
calls accounting routine in many ways by prepayment service, but obtains the duration of call, and the corresponding duration of call timer of calling out of change;
If prepaid user A and user B finish conversation,, press following step process because the MPTY mark of this calling is put:
locatees in this service control point still at the user A that uses this account number according to the account number of user B, and obtains its required information of chargeing;
The prepayment service is called accounting routine in many ways, but obtains the user A duration of call;
The duration of call timer of change user A;
keeps prepaid user A and last user's communication process.
Last prepaid user A finishes the communication process with last user, and the actual duration of call to user A of the duration timer of user A is revised the account's of user A prepayment information.
Because the present invention adopts the cdma wireless intelligent net system, its best implementation method is to increase following program module in the service logic program SLP of service control point, and uses in order by following, can realize the MPTY function:
searches this service control point according to user account number, and all use the calling of account
In this service control point, according to user account number, search the calling that all use account, in order to charge, need return the required information of chargeing simultaneously at this, as: the zero-time of this calling, called number, position, billing scheme etc.
charge accounting for multiparty communication program module
According to all charge informations that need charge and call out, but calculate the unification duration of call of all-calls.Here the duration of call for tax-free call is without limits.
resets duration of call timer program module
Talking state according to the requirement of prepayment service, is carved when needed, but is reset the duration of call timer that changes calling.
The invention provides the implementation method that MultiParty Service is provided to the prepaid user, its main main points be have MPTY call out to add (beginning conversation) and exist call out withdraw from (finishing to converse) time, the account balance that calculates the prepaid user can be kept the duration of conversation, reach the state of effective controlling call, prevent user's overdraw.