CN103826214B - Intelligent fee counting method and server - Google Patents
Intelligent fee counting method and server Download PDFInfo
- Publication number
- CN103826214B CN103826214B CN201410076325.8A CN201410076325A CN103826214B CN 103826214 B CN103826214 B CN 103826214B CN 201410076325 A CN201410076325 A CN 201410076325A CN 103826214 B CN103826214 B CN 103826214B
- Authority
- CN
- China
- Prior art keywords
- call
- callee
- calling party
- server
- telephone expenses
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 230000000977 initiatory effect Effects 0.000 claims description 7
- 206010011469 Crying Diseases 0.000 claims description 6
- 230000032683 aging Effects 0.000 abstract description 8
- 235000012054 meals Nutrition 0.000 description 7
- 230000006854 communication Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Meter Arrangements (AREA)
- Telephonic Communication Services (AREA)
Abstract
The present invention provides a kind of intelligent fee counting method and server, and this method is:Server receives the call request that caller direction callee initiates, the calling number of calling party and the called number of callee are carried wherein in call request, the call that server is set up between calling party and callee according to call request is connected, obtain the first telephone expenses that calling party produces for the call respectively after end of conversation, and it regard callee as the second telephone expenses produced during the caller of the call for the call, judge whether the first telephone expenses are higher than the second telephone expenses, if it is judged that being yes, server sends inquiry request to callee, wherein inquiry request is used to inquire whether callee agrees to undertake this cost of the phone call, server deducts the second telephone expenses after callee agrees to undertake this cost of the phone call from callee's account.Server of the present invention realizes the relatively low side of cost of the phone call produced during by both call sides as caller and directly takes on cost of the phone call, improves double-talk ageing.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of intelligent fee counting method and server.
Background technology
It is many using undertaking cost of the phone call by calling part user in most communication process, and in minority communication process
Centralized charging can be used(That is 800- speech businesses)Mode, cost of the phone call is undertaken by called subscriber.
The voice set meal of general different user's customization is different so that the call expenses standard between different user is not yet
Together.After user A is being connected to user B phone, when knowing that itself call expenses standard is less than user B, often select first
Hang user B calling, then clawback gives user B, the problem of there is complex operation again.And may user in the process of clawback
B dials user A again, is thus likely to occur both call sides while continuing the situation that the line is busy so that between user A and user B
Call can not handle in time so that the call between user is ageing poor.
The content of the invention
The present invention provides a kind of intelligent fee counting method and server, for solving to save call by clawback in order to existing
The complex operation that exists during expense, the problem of converse ageing poor.
To achieve these goals, a kind of intelligent fee counting method that the present invention is provided, including:
Server receives in the call request that caller direction callee initiates, the call request and carries the calling party's
Calling number and the called number of the callee;
The call that the server is set up between the calling party and the callee according to the call request is connected;
The server obtains the first telephone expenses that the calling party produces for the call in end of conversation respectively, and
It regard the called number as the second telephone expenses produced during the caller of the call for the call;
The server judges whether first telephone expenses are higher than second telephone expenses;
If it is judged that being yes, the server sends inquiry request to the callee, the inquiry request is used for
Inquire whether the callee agrees to undertake the expense of this time call;
The server deducts institute after callee agreement undertakes this cost of the phone call from callee's account
State the second telephone expenses.
To achieve these goals, a kind of server that the present invention is provided, including:
Carry described in receiver module, the call request for receiving caller direction callee initiation, the call request
The calling number of calling party and the called number of the callee;
Module is set up, is connected for setting up the call between the calling party and the callee according to the call request
Connect;
Accounting module, for obtaining the first telephone expenses that the calling party produces for the call respectively in end of conversation,
And it regard the called number as the second telephone expenses produced during the caller of the call for the call;
Whether judge module, be higher than second telephone expenses for first telephone expenses;
Module is inquired, for after judging that first telephone expenses are higher than second telephone expenses, sending and asking to the callee
Request is asked, the inquiry request is used for the expense for inquiring whether the callee agrees to undertake this time call;
Deduct fees module, for being deducted after the callee agrees to undertake this cost of the phone call from callee's account
Second telephone expenses.
Intelligent fee counting method and server that the present invention is provided, the call that server receives caller direction callee initiation please
Ask, the calling number of calling party and the called number of callee are carried wherein in call request, server is built according to call request
Vertical call connection between calling party and callee, calling party produces for the call first is obtained in end of conversation respectively
Telephone expenses, and called number is judged into the first telephone expenses as the second telephone expenses produced during the caller of the call for the call
Whether the second telephone expenses are higher than, if it is judged that being yes, server sends inquiry request to callee, wherein inquiry request is used for
Whether inquiry callee agrees to undertake this cost of the phone call, from callee's account after callee's agreement undertakes this cost of the phone call
It is middle to deduct second telephone expenses.Server in the present invention obtains calling party after end of conversation, respectively and undertaken for this call
Cost of the phone call, and using callee as the cost of the phone call undertaken during caller, realize cost of the phone call by making in both call sides
The relatively low side of produced cost of the phone call undertakes during for caller, no longer saves cost of the phone call by clawback mode, overcomes
The problem of complex operation that clawback mode is present, the call for improving both sides is ageing.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet for intelligent fee counting method that the embodiment of the present invention one is provided;
Fig. 2 is the schematic flow sheet for another intelligent fee counting method that the embodiment of the present invention two is provided;
Fig. 3 is a kind of structural representation for server that the embodiment of the present invention three is provided;
Fig. 4 is the structural representation for another server that the embodiment of the present invention four is provided.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.
Embodiment one
Fig. 1 is the schematic flow sheet for the intelligent fee counting method that the embodiment of the present invention one is provided, as shown in figure 1, this is intelligently counted
Charging method comprises the following steps:
101st, server receives the call request that caller direction callee initiates.
Wherein, the calling number of the calling party and the called number of the callee are carried in the call request.
When calling party attempts to be conversed with callee, calling party uses the mobile terminal of itself, called by dialing
The called number of side sends a call request to server, and request is set up call with callee and is connected, to realize that both sides' is logical
Words.Wherein, the calling number of calling party and the called number of callee are carried in call request.
102nd, the call that server is set up between calling party and callee according to call request is connected.
After call request is received, calling number and called number of the server in call request, are that both sides build
Vertical call connection, so that both sides carry out speech business in call connection.
103rd, server obtains the first telephone expenses that calling party produces for the call in end of conversation respectively, and will be by
The side of crying as the call caller when for it is described call produce the second telephone expenses.
In the present embodiment, server carries out Secondary accounting after this end of conversation for the call.Server is obtained first
It is the first telephone expenses that this time call is generated to calling party, then server gets the caller being used as callee in this call
When the second telephone expenses for producing.
104th, server judges whether the first telephone expenses are higher than the second telephone expenses.
After the first telephone expenses and the second telephone expenses are got, the first telephone expenses and the second telephone expenses are compared by server, are judged
Whether the first telephone expenses are higher than the second telephone expenses.If it is judged that being yes, server performs step 105;If it is judged that be it is no,
Server performs step 107.
105th, server is sent for asking whether to agree to the inquiry for undertaking this cost of the phone call to callee to callee
Request.
When judging that the first telephone expenses are higher than the second telephone expenses, in order to realize the purpose for saving cost of the phone call, server is to quilt
The side of crying sends inquiry request, to inquire whether callee undertakes this cost of the phone call.Wherein described inquiry request is used for called
Side asks whether that agreement undertakes this cost of the phone call.
If callee agrees to undertake this cost of the phone call, server performs step 106;If inquiry result is callee
Disagree and undertake this cost of the phone call, server performs step 107.
106th, server deducts the second telephone expenses after callee agrees to undertake this cost of the phone call from callee's account.
Specifically, if callee agrees to undertake this cost of the phone call, a response message can be returned to server, with
Indicate that callee agrees to undertake this cost of the phone call.Server determines that callee agrees to after the response message is received
This cost of the phone call is undertaken, the second telephone expenses are deducted from callee's account after end of conversation, the second telephone expenses are led to as this
The cost of the phone call of words.
107th, server is determined to undertake this cost of the phone call by calling party, and the first telephone expenses are deducted from calling party account.
Specifically, at step 104 if it is judged that when the first telephone expenses are below or equal to the second telephone expenses, server is logical
Words directly deduct the first telephone expenses after terminating from calling party account, the cost of the phone call that the first telephone expenses are conversed as this.
Further, if callee disagrees and undertakes this cost of the phone call in step 105, it can be returned to server
One response message, this cost of the phone call is undertaken to indicate that callee disagrees.Server after the response message is received,
Determine that callee disagrees and undertake this cost of the phone call, in order to realize to this call meters, deducted from calling party's account
The cost of the phone call that first telephone expenses are conversed as this.
The intelligent fee counting method that the present embodiment is provided, the call for receiving caller direction callee initiation by server please
Ask, the calling number of calling party and the called number of callee are carried wherein in call request, server is built according to call request
Vertical call connection between calling party and callee, calling party produces for the call first is obtained in end of conversation respectively
Telephone expenses, and callee is judged that the first telephone expenses are as the second telephone expenses produced during the caller of the call for the call
It is no to be higher than the second telephone expenses, if it is judged that being yes, server sends inquiry request to callee, wherein inquiry request is used to ask
Ask whether callee agrees to undertake this cost of the phone call, server is after callee's agreement undertakes this cost of the phone call from callee
The second telephone expenses are deducted in account.Server obtains calling party after end of conversation, respectively and undertaken for this call in the present embodiment
Cost of the phone call, and using callee as the cost of the phone call undertaken during caller, in the case where calling party is costly, really
It is fixed that call rate produced when this cost of the phone call realizes cost of the phone call by both call sides as caller is undertaken by callee
Undertaken with a relatively low side, it is no longer necessary to which clawback mode saves cost of the phone call, overcomes the complex operation that clawback mode is present
The problem of, the call for improving both sides is ageing.
Embodiment two
Fig. 2 is the schematic flow sheet for the intelligent fee counting method that the embodiment of the present invention two is provided, as shown in Fig. 2 this is intelligently counted
Charging method comprises the following steps:
201st, server receives the instruction message for opening smart charge business that calling party is sent by terminal.
Wherein, the mark for indicating to carry user specified by calling party in message.
Herein it should be noted that:If user attempts the intelligent fee counting method that provides using the present embodiment to realize saving
Cost of the phone call, user needs to open smart charge business at operator.
In the present embodiment, calling party with callee before being conversed, it is necessary to open intelligence in the terminal at operator
Energy call charge service, the terminal to server sends one and indicates that calling party opens the instruction message of the smart charge business.Typically
Calling party can choose at least one contact person as specified user from address list, that is to say, that for the smart charge industry
The specified user being engaged in bound in calling party.The mark of the specified user that carrying calling party chooses in message is indicated in the present embodiment.
Wherein, the phone number for being designated specified user of user is specified.
202nd, server receives the call request that caller direction callee initiates.
When calling party attempts to be conversed with callee, calling party is by dialing the called number of callee to server
A call request is sent, request is set up call with callee and is connected, to realize the call of both sides.Wherein, taken in call request
The called number of calling number and callee with calling party.
203rd, the call that server is set up between calling party and callee according to call request is connected.
204th, server inquires about whether calling party is the user that opens smart charge business according to calling number.
If the 205, calling party is the user of the smart charge business, server is described called according to called number inquiry
Side whether be calling party specified user.
Server is received after call request, can get the calling number of calling party from call request, and by
The called number for the side of crying.Whether server lookup calling number opens smart charge business, if calling party is smart charge industry
Be engaged in user, server can inquire about called number whether be calling party specified user.
If the 206, callee is to specify user, server is respectively calling party and callee's wholesale price, obtains calling party's
First expenses standard is used as the second expenses standard during the call caller with callee.
If it is judged that callee is the specified user of calling party, server is according to calling number and called number, difference
For calling party and callee's wholesale price, making as the first expenses standard during this time call caller and callee for calling party is got
The second expenses standard during for this call caller.
Herein it is to be appreciated that when obtaining the second expenses standard of the first expenses standard of calling party and callee, servicing
Device needs to judge whether calling party and callee contain set meal, and judges whether calling party and callee are in roaming state.
207th, the duration of call and the first expenses standard that server is conversed according to this generate the first telephone expenses.
In the present embodiment, server can get the duration of call after end of conversation.During end of conversation, server according to
This time the duration of call of call and the first expenses standard got produce the first telephone expenses.
208th, the duration of call and the second expenses standard that server is conversed according to this generate the second telephone expenses.
Server is conversed according to this after end of conversation the duration of call and the second expenses standard production the got
Two telephone expenses.
209th, server judges whether the first telephone expenses are higher than the first telephone expenses.
Further, whether the first telephone expenses are compared by server with the second telephone expenses, to judge the first telephone expenses higher than the
Two telephone expenses.If it is judged that being yes, step 210 is performed;If it is judged that being no, step 212 is performed.
210th, server is sent for asking whether to agree to the inquiry for undertaking this cost of the phone call to callee to callee
Request.
When the expenses standard for judging calling party is higher than the expenses standard of callee, cost of the phone call is saved in order to realize
Purpose, server sends inquiry request to callee, to inquire whether callee undertakes this cost of the phone call.Wherein described inquiry
Ask to be used to ask whether that agreement undertakes this cost of the phone call to callee.
If callee agrees to undertake this cost of the phone call, step 211 is performed, if callee, which disagrees, undertakes this time logical
Telephone expenses are used, and perform step 212.
211st, server deducts the second telephone expenses after callee agrees to undertake this cost of the phone call from callee's account.
Agree to undertake this cost of the phone call in callee, a response message is returned to server, to indicate callee
Agreement undertakes this cost of the phone call.Server is determined that callee agrees to undertake and this time conversed after the response message is received
Expense, deducts the cost of the phone call that the second telephone expenses are conversed as this after end of conversation from callee's account.
212nd, server is determined to undertake this cost of the phone call by calling party, and this time the first words are deducted from calling party account
Take.
In step 209 if it is judged that when the first telephone expenses of calling party are less than or equal to the second telephone expenses of callee, saying
Bright calling party more saves telephone expenses to undertake this cost of the phone call, and in order to realize the purpose for saving cost of the phone call, server will be main
The side of crying is defined as undertaking the user of this cost of the phone call, and further server deducts this after end of conversation from calling party account
The cost of the phone call that secondary first telephone expenses are conversed as this.
Further, if callee disagrees and undertakes this cost of the phone call in step 210, in order to complete to realize to this
The charging of secondary call, server deducts this time the first cost of the phone call conversed as this from calling party account.
For example, when user A dials local telephone network to user B, if user A has set meal, first words of the server to user A
Take for 0 yuan, when user B does not open set meal, server to the telephone expenses of user B second be according to speech business per minute rate with
The duration of call is obtained, and now the first telephone expenses are below or equal to the second telephone expenses, then this time cost of the phone call is undertaken by user A.If B
When user also opens set meal, the second telephone expenses that server is obtained are 0 yuan, are still held in the case of expense identical by calling subscribe A
Telephone expenses are carried on a shoulder pole, but the duration of call in set meal is deducted from user A.
For example, user A dials local telephone network to user B, if user A and user B are without set meal, user A the first telephone expenses
Obtained with by rate per minute during user's A speech businesses with the duration of call, by user B as caller dials to user A when
Rate per minute are obtained with the duration of call when two telephone expenses are user's B speech businesses, if the first telephone expenses are less than or equal to the second words
Take, then this cost of the phone call is undertaken by user A, this time call rate user is the first telephone expenses.If the first telephone expenses are higher than the second words
Take, then this call rate expense is undertaken by user B, this time cost of the phone call is the second telephone expenses.
If have in user A or user B a side be in roaming state, by the expense of speech business plus by
The expense produced is roamed, the first telephone expenses and the second telephone expenses are obtained.For example, user A dialed to user B it is long-distance, and user A be in it is unrestrained
Swim shape.The telephone expenses of user A first obtain to dial long-distance cost plus roaming charges.User B as caller dials to user A when produce
The second expense dial long-distance cost for user B, it is not necessary to increase wandering fee.Compare the first telephone expenses and the second telephone expenses, select
A relatively low side undertakes this cost of the phone call.
Whether the server in the present embodiment judges the first telephone expenses of calling party higher than called after call request is received
Second telephone expenses of side, higher than in the case of, it is determined that undertaking this cost of the phone call by callee, realize cost of the phone call by conversing
When in both sides as caller the relatively low side of produced cost of the phone call undertakes, it is no longer necessary to which clawback mode saves call rate
With, the problem of overcoming the complex operation that clawback mode is present, and it is ageing to improve the call of both sides.
Embodiment three
Fig. 3 is the structural representation for the server that the embodiment of the present invention three is provided, as shown in figure 3, the server includes:Connect
Receive module 31, set up module 32, accounting module 33, judge module 34, inquiry module 35 and module 36 of deducting fees.
Wherein, taken in receiver module 31, the call request for receiving caller direction callee initiation, the call request
Calling number with the calling party and the called number of the callee.
With the establishment of connection module 32 of receiver module 31, for according to the call request set up the calling party with it is described
Call connection between callee.
It is described for obtaining the calling party respectively in end of conversation with setting up the accounting module 33 that module 32 is connected
The first telephone expenses that call is produced, and the called number is used as to second produced during the caller of the call for the call
Telephone expenses.
Be connected with accounting module 33 with judge module 34, for judge first telephone expenses whether higher than described second words
Take.
The inquiry module 35 being connected with judge module 34, for judging first telephone expenses higher than second telephone expenses
Send inquiry to the callee afterwards to ask, the inquiry request is used to inquire whether the callee agrees to undertake this time call
Expense.
The module 36 of deducting fees being connected with inquiry module 35, for being built after the callee agrees to undertake this cost of the phone call
Cost of the phone call is deducted from callee's account.
Specifically, when calling party attempts to be conversed with callee, calling party uses the mobile terminal of itself, by dialling
Beat callee called number into server receiver module 31 send a call request, request with callee set up call connect
Connect, to realize the call of both sides.Wherein, the calling number of calling party and the called number of callee are carried in call request.
After call request is received, it is calling party to set up module 32 according to calling number in call request and called number
Call is set up with callee to be connected, so that both call sides carry out speech business in call connection.
In the present embodiment, accounting module 33 carries out Secondary accounting after this end of conversation for the call, gets first
Calling party is the first telephone expenses of this time call generation, then gets second produced during the caller that callee converses as this
Telephone expenses.
Further, judge module 34 judges whether the first telephone expenses are higher than the second telephone expenses.Judging the first of calling party
When telephone expenses are higher than the second telephone expenses of callee, in order to realize the purpose for saving cost of the phone call, inquiry module 35 is sent to callee
Inquiry request, to inquire whether callee undertakes this cost of the phone call.Wherein described inquiry request is used for
No agreement undertakes this cost of the phone call.
If callee agrees to undertake this cost of the phone call, receiver module 31 that can be into server returns to a response
Message, to indicate that callee agrees to undertake this cost of the phone call.Receiver module 31 is after the response message is received, mould of deducting fees
Block 36 determines that callee agrees to undertake after this cost of the phone call, and this time call is produced second is deducted from the account of callee
Telephone expenses.
In the present embodiment, server receives the call request that caller direction callee initiates, and is carried wherein in call request
The calling number of calling party and the called number of callee, server are set up between calling party and callee according to call request
Call connection, obtained respectively in end of conversation calling party for it is described call produce the first telephone expenses, and using callee as
The second telephone expenses produced during the caller of the call for the call, judge whether the first telephone expenses are higher than the second telephone expenses, if sentenced
Disconnected result is yes, and server sends inquiry request to callee, wherein inquiry request is used to inquire whether callee agrees to undertake
This cost of the phone call, server deducts the second telephone expenses after callee agrees to undertake this cost of the phone call from callee's account.
Server in the present embodiment obtains the call rate that calling party undertakes for this call after end of conversation, respectively
With, and using callee as the cost of the phone call undertaken during caller, in the case where calling party is costly, it is determined that by being called
Side undertakes this cost of the phone call, and produced cost of the phone call is relatively low when realizing cost of the phone call by both call sides as caller
One side undertakes, it is no longer necessary to which clawback mode saves cost of the phone call, and the problem of overcoming the complex operation that clawback mode is present carry
The call of high both sides is ageing.
Example IV
Fig. 4 is the structural representation for the server that the embodiment of the present invention four is provided, as shown in figure 3, the server is including upper
State the receiver module 31 in embodiment three, set up module 32, accounting module 33, judge module 34, inquiry module 35 and mould of deducting fees
Block 36.
A kind of optional structural implementations of accounting module 33 include in the present embodiment:Wholesale price unit 331 and charging list
Member 332.
Wherein, wholesale price unit 331, for the server according to the communication request be respectively the calling party with it is described
Callee's wholesale price, the first expenses standard and the callee for obtaining the calling party is provided as second during the call caller
Take standard.
Further, the wholesale price unit 331 specifically for according to the calling number inquire about the calling party whether be
The user for opening smart charge business, and when the calling party is to open the user of smart charge business, according to the quilt
Cry callee described in number inquiry whether be the calling party specified user, and the callee be the specified user
When, respectively described calling party and callee's wholesale price obtain first expenses standard and second expenses standard.
The Charging Detail Record unit 332 being connected with wholesale price unit 331, for the duration of call according to the call and the calling party
Expenses standard generate first telephone expenses, and generated according to the duration of call and the expenses standard of the callee
Second telephone expenses.
Further, the receiver module 31, is additionally operable to receiving described in callee's initiation described in the caller direction
Before call request, the instruction message for opening the smart charge business that the calling party is sent by terminal is received, it is described
The mark of the specified user is carried in instruction message.
Further, the module 36 of deducting fees is additionally operable to judging first telephone expenses less than or equal to the described second words
Fei Hou, it is determined that undertaking this cost of the phone call by the calling party, deducts first telephone expenses from the calling party account.
Further, inquiry module 35 is connected with module 36 of deducting fees, and still mould is inquired higher than the second telephone expenses in the first telephone expenses
Block 35 determines that callee is disagreed when undertaking this cost of the phone call, and module of deducting fees 36 deducts the first telephone expenses from calling party account
It is used as the cost of the phone call of this call.
Whether the server in the present embodiment judges the first telephone expenses of calling party higher than called after call request is received
Second telephone expenses of side, higher than in the case of, it is determined that undertaking this cost of the phone call by callee, realize cost of the phone call by conversing
When both sides are as caller the relatively low side of produced cost of the phone call undertakes, it is no longer necessary to which clawback mode saves cost of the phone call,
The problem of overcoming the complex operation that clawback mode is present, the call for improving both sides is ageing.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered
Row equivalent;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.
Claims (6)
1. a kind of intelligent fee counting method, it is characterised in that including:
Server receives the caller that the calling party is carried in the call request that caller direction callee initiates, the call request
Number and the called number of the callee;
The call that the server is set up between the calling party and the callee according to the call request is connected;
The server obtains the first telephone expenses that the calling party produces for the call respectively after end of conversation, and by institute
State callee as the call caller when for it is described call produce the second telephone expenses;
The server judges whether first telephone expenses are higher than second telephone expenses;
If it is judged that being yes, the server sends inquiry request to the callee, the inquiry request is used to inquire
Whether the callee agrees to undertake this cost of the phone call;
The server is agreed to undertake in the callee deducted from callee's account after this cost of the phone call described the
Two telephone expenses;
The server obtains the first telephone expenses that the calling party produces for the call in end of conversation respectively, and by institute
State called number as the call caller when for it is described call produce the second telephone expenses, including:
The server is respectively the calling party and callee's wholesale price according to the call request, obtains the calling party
The second expenses standard when being used as the call caller of the first expenses standard and the callee;
The server generates first telephone expenses according to the duration of call of the call and first expenses standard;
The server generates second telephone expenses according to the duration of call and second expenses standard;
The server is respectively the calling party and callee's wholesale price according to the call request, obtains the calling party
The first expenses standard and the callee include as the second expenses standard during the call caller:
The server inquires about whether the calling party is the user that opens smart charge business according to the calling number;
If the calling party is the user of the smart charge business, the server is according to being inquired about the called number
Callee whether be the calling party specified user;
If the callee is the specified user, the server is respectively the calling party and callee's wholesale price,
Obtain first expenses standard and second expenses standard.
2. intelligent fee counting method according to claim 1, it is characterised in that the server receives caller direction callee
Carried in the call request of initiation, the call request calling party calling number and the callee called number it
Before, also include:
The server receives the instruction message for opening the smart charge business that the calling party is sent by terminal, described
The mark of the specified user is carried in instruction message.
3. intelligent fee counting method according to claim 1, it is characterised in that also include:
If it is judged that being no, the server determines to undertake this cost of the phone call by the calling party, from the calling party
First telephone expenses are deducted in account.
4. a kind of server, it is characterised in that including:
The caller is carried in receiver module, the call request for receiving caller direction callee initiation, the call request
The calling number of side and the called number of the callee;
Module is set up, for being that the calling party is connected with callee foundation call according to the call request;
Accounting module, for obtaining the first telephone expenses that the calling party produces for the call respectively in end of conversation, and
It regard the called number as the second telephone expenses produced during the caller of the call for the call;
Judge module, for judging whether first telephone expenses are higher than second telephone expenses;
Module is inquired, for when first telephone expenses are higher than first telephone expenses, inquiry request, institute to be sent to the callee
Stating inquiry request is used to inquire whether the callee agrees to undertake this cost of the phone call;
Deduct fees module, for deducting described from callee's account after the callee agrees to undertake this cost of the phone call
Second telephone expenses;
The accounting module includes:
Wholesale price unit, according to the call request is respectively the calling party and callee's wholesale price for the server,
The first expenses standard of the calling party is obtained with the callee as the second expenses standard during the call caller;
Charging Detail Record unit, for the duration of call according to the call and the generation of the expenses standard of the calling party first words
Take, and second telephone expenses are generated according to the duration of call and the expenses standard of the callee;
The wholesale price unit according to the calling number specifically for inquiring about whether the calling party is to open smart charge business
User, and when the calling party is to open the user of smart charge business, the quilt is inquired about according to the called number
The side of crying whether be the calling party specified user, and the callee be the specified user when, respectively described master
The side of crying and callee's wholesale price, obtain first expenses standard and second expenses standard.
5. server according to claim 4, it is characterised in that the receiver module, is additionally operable to receiving the caller
Before the call request that callee described in direction initiates, receive the calling party and open the intelligence by what terminal was sent
The mark of the specified user is carried in the instruction message of call charge service, the instruction message.
6. server according to claim 4, it is characterised in that also include:
The module of deducting fees, is additionally operable to after judging that first telephone expenses are less than or equal to second telephone expenses, it is determined that by institute
State calling party and undertake this cost of the phone call, first telephone expenses are deducted from the calling party account.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410076325.8A CN103826214B (en) | 2014-03-04 | 2014-03-04 | Intelligent fee counting method and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410076325.8A CN103826214B (en) | 2014-03-04 | 2014-03-04 | Intelligent fee counting method and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103826214A CN103826214A (en) | 2014-05-28 |
CN103826214B true CN103826214B (en) | 2017-07-14 |
Family
ID=50760993
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410076325.8A Active CN103826214B (en) | 2014-03-04 | 2014-03-04 | Intelligent fee counting method and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103826214B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107547762A (en) * | 2016-06-29 | 2018-01-05 | 中兴通讯股份有限公司 | A kind of charging method and charge system |
CN108206994B (en) * | 2016-12-16 | 2021-06-18 | 展讯通信(上海)有限公司 | Method and device for modifying charging mode, mobile terminal and network side equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1905596A (en) * | 2006-08-10 | 2007-01-31 | 华为技术有限公司 | Method and system for implementing called payment service and called payment processor |
CN101610489A (en) * | 2009-07-08 | 2009-12-23 | 中兴通讯股份有限公司 | A kind of freephone implementation method and system based on OCS |
CN101754154A (en) * | 2008-11-28 | 2010-06-23 | 爱思开电讯投资(中国)有限公司 | Method and device for realizing telecom payment selection |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1561321A4 (en) * | 2002-11-14 | 2008-04-02 | Ey-Taeg Kwon | Method for collect call service based on voip technology and system thereof |
-
2014
- 2014-03-04 CN CN201410076325.8A patent/CN103826214B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1905596A (en) * | 2006-08-10 | 2007-01-31 | 华为技术有限公司 | Method and system for implementing called payment service and called payment processor |
CN101754154A (en) * | 2008-11-28 | 2010-06-23 | 爱思开电讯投资(中国)有限公司 | Method and device for realizing telecom payment selection |
CN101610489A (en) * | 2009-07-08 | 2009-12-23 | 中兴通讯股份有限公司 | A kind of freephone implementation method and system based on OCS |
Also Published As
Publication number | Publication date |
---|---|
CN103826214A (en) | 2014-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102014358B (en) | Telephone agent device based on voice over internet protocol (VoIP) technology and call making and answering method by telephone agent device | |
US20070049245A1 (en) | Cellular-internet communication system and method | |
CN101227302B (en) | Charging method, control apparatus, charging device and charging system | |
CN101499911B (en) | Fee charging system, apparatus and method | |
CN103905674A (en) | Device and method applied to dual-network communication of Internet and telecommunication network | |
US20090225975A1 (en) | Method for charging in one number links you service | |
CN101483849A (en) | Call fee charging method based on on-line fee-charging system and communication system | |
EP2046008A1 (en) | A method, system, switch device and service control point for implementing call forward | |
CN102215470A (en) | Pay per call processing method and system of communication equipment | |
CN103826214B (en) | Intelligent fee counting method and server | |
CN1867018B (en) | Digital mobile terminal charge instantly prompting method | |
CN101150869B (en) | A method and device for realizing intelligent communication of mobile terminal | |
CN105337956A (en) | Communication system based on call forwarding and VoIP/IM and method for answering call at roaming region | |
CN101848447A (en) | Call processing method and device in communication process | |
CN103888923A (en) | Call proceeding method, system and device applied to virtual private mobile network | |
CN105827846B (en) | The method and communication terminal of communication terminal call and control communication terminal call | |
CN100466830C (en) | System and method for realizing time slot sharing fixed price communication payment by service number | |
CN102014359B (en) | VoIP technology based phone agency device and method for making and answering call by using the same | |
CN102014186A (en) | Method for automatically adding IP (Internet Protocol) number when mobile phone dials | |
CN102694927A (en) | Method and system for switching identities of calling and called parties | |
CN104506409A (en) | Router and method for controlling voice communication in instant messaging tool of router | |
CN101068286B (en) | Advance payment network telephone calling method and system | |
CN101588563B (en) | Implementation method of advanced wireless fixed telephone service system | |
CN102137378A (en) | Call charging method, service control equipment and call control system | |
CN103781042A (en) | Method for carrying out service charging on prepaid called user in roaming state |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |