[go: up one dir, main page]

CN103826214A - Intelligent charging method and server - Google Patents

Intelligent charging method and server Download PDF

Info

Publication number
CN103826214A
CN103826214A CN201410076325.8A CN201410076325A CN103826214A CN 103826214 A CN103826214 A CN 103826214A CN 201410076325 A CN201410076325 A CN 201410076325A CN 103826214 A CN103826214 A CN 103826214A
Authority
CN
China
Prior art keywords
call
server
calling party
party
called party
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.)
Granted
Application number
CN201410076325.8A
Other languages
Chinese (zh)
Other versions
CN103826214B (en
Inventor
常成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201410076325.8A priority Critical patent/CN103826214B/en
Publication of CN103826214A publication Critical patent/CN103826214A/en
Application granted granted Critical
Publication of CN103826214B publication Critical patent/CN103826214B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Meter Arrangements (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明提供一种智能计费方法及服务器,该方法为:服务器接收主叫方向被叫方发起的通话请求,其中通话请求中携带主叫方的主叫号码和被叫方的被叫号码,服务器根据通话请求建立主叫方与被叫方之间的通话连接,在通话结束后分别获取主叫方为所述通话产生的第一话费,以及将被叫方作为所述通话的主叫时为所述通话产生的第二话费,判断第一话费是否高于第二话费,如果判断结果为是,服务器向被叫方发送询问请求,其中询问请求用于询问被叫方是否同意承担此次通话费用,服务器在被叫方同意承担此次通话费用后从被叫方账户中扣除第二话费。本发明服务器实现了由通话双方中作为主叫时所产生的通话费用较低的一方直接承担通话费用,提高了双方通话时效性。

The present invention provides an intelligent billing method and server. The method is as follows: the server receives a call request from the calling party to the called party, wherein the call request carries the calling number of the calling party and the called number of the called party, The server establishes a call connection between the calling party and the called party according to the call request, and obtains the first call fee generated by the calling party for the call after the call ends, and when the called party is used as the caller of the call For the second call fee generated by the call, it is judged whether the first call fee is higher than the second call fee, and if the judgment result is yes, the server sends an inquiry request to the called party, wherein the inquiry request is used to ask whether the called party agrees to undertake this call. The call fee, the server deducts the second call fee from the account of the called party after the called party agrees to bear the call fee. The server of the present invention realizes that the party with the lower call cost generated when the calling party is the caller directly bears the call cost, thereby improving the timeliness of the call between the two parties.

Description

Intelligent fee counting method and server
Technical field
The present invention relates to the communications field, relate in particular to a kind of intelligent fee counting method and server.
Background technology
In most communication process, adopt born cost of the phone call by calling part user more, and (the being 800-speech business) mode that also can adopt centralized charging in minority communication process is born cost of the phone call by called subscriber.
The voice set meal difference of general different customization, makes the call expenses standard between different user also different.When user A is receiving after the phone of user B, knowing that self call expenses standard is while being less than user B, tend to select the calling of first hanging user B, and then clawback is to user B, has the problem of complicated operation.And may again dial user A by user B in the process of clawback, and so just may occur that both call sides continues the situation that the line is busy simultaneously, the call between user A and user B can not be processed in time, make the call between user ageing poor.
Summary of the invention
The invention provides a kind of intelligent fee counting method and server, for solving the complicated operation, the ageing poor problem of conversing that exist while saving cost of the phone call by clawback for existing.
To achieve these goals, a kind of intelligent fee counting method provided by the invention, comprising:
Server receives the call request that calling party initiates to callee, carries described calling party's calling number and described callee's called number in described call request;
The call that described server is set up between described calling party and described callee according to described call request is connected;
Described server obtains respectively the first telephone expenses that described calling party produces for described call in the time of end of conversation, and is the second telephone expenses that described call produces when caller using described called number as described call;
Described server judges that whether described the first telephone expenses are higher than described the second telephone expenses;
If judged result is yes, described server sends inquiry request to described callee, and described inquiry request is for inquiring whether described callee agrees to bear this time expense of call;
Described server is deducted described the second telephone expenses after described callee agrees to bear this cost of the phone call from described callee's account.
To achieve these goals, a kind of server provided by the invention, comprising:
Receiver module, the call request of initiating to callee for receiving calling party, carries described calling party's calling number and described callee's called number in described call request;
Set up module, be connected for the call of setting up between described calling party and described callee according to described call request;
Accounting module, the first telephone expenses that produce for described call for obtaining respectively described calling party when the end of conversation, and be the second telephone expenses that described call produces when caller using described called number as described call;
Judge module, for described the first telephone expenses whether higher than described the second telephone expenses;
Inquiry module, for after judging that described the first telephone expenses are higher than described the second telephone expenses, sends inquiry request to described callee, and described inquiry request is for inquiring whether described callee agrees to bear this time expense of call;
The module of deducting fees is deducted described the second telephone expenses from described callee's account after agreeing to bear this cost of the phone call described callee.
Intelligent fee counting method provided by the invention and server, server receives the call request that calling party initiates to callee, wherein in call request, carry calling party's calling number and callee's called number, the call that server is set up between calling party and callee according to call request is connected, in the time of end of conversation, obtain respectively the first telephone expenses that calling party produces for described call, and be the second telephone expenses that described call produces when caller using called number as described call, judge that whether the first telephone expenses are higher than the second telephone expenses, if judged result is yes, server sends inquiry request to callee, wherein inquiry request is used for inquiring whether callee agrees to bear this cost of the phone call, after agreeing to bear this cost of the phone call, callee from callee's account, deducts described the second telephone expenses.Server in the present invention is after end of conversation, obtain respectively the cost of the phone call that calling party bears for this call, and the cost of the phone call of bearing during using callee as caller, having realized cost of the phone call is born by a cost of the phone call lower side who produces during as caller in both call sides, no longer save cost of the phone call by clawback mode, the problem that has overcome the complicated operation that clawback mode exists, the call that has improved both sides is ageing.
Accompanying drawing explanation
The schematic flow sheet of a kind of intelligent fee counting method that Fig. 1 provides for the embodiment of the present invention one;
The schematic flow sheet of the another kind of intelligent fee counting method that Fig. 2 provides for the embodiment of the present invention two;
The structural representation of a kind of server that Fig. 3 provides for the embodiment of the present invention three;
The structural representation of the another kind of server that Fig. 4 provides for the embodiment of the present invention four.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.
Embodiment mono-
The schematic flow sheet of the intelligent fee counting method that Fig. 1 provides for the embodiment of the present invention one, as shown in Figure 1, this intelligent fee counting method comprises the following steps:
101, server receives the call request that calling party initiates to callee.
Wherein, in described call request, carry described calling party's calling number and described callee's called number.
In the time that calling party attempts to converse with callee, calling party uses the mobile terminal of self, sends a call request by the called number of dialing callee to server, and request is set up call with callee and is connected, to realize both sides' call.Wherein, in call request, carry calling party's calling number and callee's called number.
102, the call that server is set up between calling party and callee according to call request is connected.
Receiving after call request, server, according to the calling number in call request and called number, connects for both sides set up call, so that both sides connect enterprising lang sound business in this call.
103, server obtains respectively the first telephone expenses that calling party produces for described call in the time of end of conversation, and is the second telephone expenses that described call produces when caller using callee as described call.
In the present embodiment, server after this end of conversation for Secondary accounting is carried out in this call.First server gets the first telephone expenses that calling party generates for this call, the second telephone expenses of producing when then server gets using callee the caller in this call.
104, server judges that whether the first telephone expenses are higher than the second telephone expenses.
Getting after the first telephone expenses and the second telephone expenses, server compares the first telephone expenses and the second telephone expenses, judges that whether the first telephone expenses are higher than the second telephone expenses.If judged result is yes, server execution step 105; If judged result is no, server execution step 107.
105, server sends the inquiry request for whether agree to bear this cost of the phone call to callee's inquiry to callee.
In the time judging the first telephone expenses higher than the second telephone expenses, in order to realize the object of saving cost of the phone call, server sends inquiry request to callee, to inquire whether callee bears this cost of the phone call.Whether wherein said inquiry request is for agreeing to bear this cost of the phone call to callee's inquiry.
If callee agrees to bear this cost of the phone call, server execution step 106; If inquiry result is born this cost of the phone call for callee disagrees with, server execution step 107.
106, server is deducted the second telephone expenses after callee agrees to bear this cost of the phone call from callee's account.
Particularly, if callee agrees to bear this cost of the phone call, can return to a response message to server, agree to bear this cost of the phone call to indicate callee.Server is receiving after this response message, determines callee and agrees to bear this cost of the phone call, deducts the second telephone expenses, the cost of the phone call using the second telephone expenses as this call after end of conversation from callee's account.
107, server is definite bears this cost of the phone call by calling party, deducts the first telephone expenses from calling party's account.
Particularly, if in step 104, judge the first telephone expenses lower than or while equaling the second telephone expenses, server is directly deducted the first telephone expenses, the cost of the phone call using the first telephone expenses as this call after end of conversation from calling party's account.
Further, if callee disagrees with and bears this cost of the phone call in step 105, can return to a response message to server, disagree with and bear this cost of the phone call to indicate callee.Server is receiving after this response message, determines callee and disagrees with and bear this cost of the phone call, in order to realize this call meters, deducts the cost of the phone call of the first telephone expenses as this call from calling party's account.
The intelligent fee counting method that the present embodiment provides, receive by server the call request that calling party initiates to callee, wherein in call request, carry calling party's calling number and callee's called number, the call that server is set up between calling party and callee according to call request is connected, in the time of end of conversation, obtain respectively the first telephone expenses that calling party produces for described call, and be the second telephone expenses that described call produces when caller using callee as described call, judge that whether the first telephone expenses are higher than the second telephone expenses, if judged result is yes, server sends inquiry request to callee, wherein inquiry request is used for inquiring whether callee agrees to bear this cost of the phone call, server is deducted the second telephone expenses after callee agrees to bear this cost of the phone call from callee's account.In the present embodiment, server is after end of conversation, obtain respectively the cost of the phone call that calling party bears for this call, and the cost of the phone call of bearing during using callee as caller, in the situation that calling party's cost of the phone call is high, determine that bearing this cost of the phone call by callee has realized cost of the phone call and born by a cost of the phone call lower side who produces during as caller in both call sides, no longer need clawback mode to save cost of the phone call, the problem that has overcome the complicated operation that clawback mode exists, the call that has improved both sides is ageing.
Embodiment bis-
The schematic flow sheet of the intelligent fee counting method that Fig. 2 provides for the embodiment of the present invention two, as shown in Figure 2, this intelligent fee counting method comprises the following steps:
201, server receives the Indication message of opening smart charge business that calling party sends by terminal.
Wherein, in described Indication message, carry the specified user's of calling party mark.
It should be noted that: if the intelligent fee counting method that user attempts to provide with the present embodiment is realized saving cost of the phone call, user need to open smart charge business at place of operator herein.
In the present embodiment, calling party, before conversing with callee, need to open smart charge business in the terminal at place of operator, and this terminal to server sends an Indication message of indicating calling party to open this smart charge business.General calling party can choose at least one contact person as designated user from address list, that is to say the designated user of binding for this smart charge server call side.In the present embodiment, in Indication message, carry the mark of the designated user that calling party chooses.Wherein, the phone number that is designated designated user of designated user.
202, server receives the call request that calling party initiates to callee.
In the time that calling party attempts to converse with callee, calling party sends a call request by the called number of dialing callee to server, and request is set up call with callee and is connected, to realize both sides' call.Wherein, in call request, carry calling party's calling number and callee's called number.
203, the call that server is set up between calling party and callee according to call request is connected.
204, whether server is the user who opens smart charge business according to calling number inquiry calling party.
If 205 calling partys are the user of described smart charge business, whether server is inquired about described callee according to called number is calling party's designated user.
Server receives after call request, can from call request, get calling party's calling number, and callee's called number.Whether server lookup calling number opens smart charge business, if calling party is smart charge service-user, whether server can be inquired about called number is calling party's designated user.
If 206 callees are designated user, server is respectively calling party and callee's wholesale price, the second expenses standard while obtaining the first expenses standard of calling party and callee as described call caller.
If judge the designated user that callee is calling party, server is according to calling number and called number, be respectively calling party and callee's wholesale price, the first expenses standard while getting this time call caller of conduct of calling party and callee the second expenses standard during as this call caller.
Need explanation herein, in the time obtaining the first expenses standard of calling party and the second expenses standard of callee, server need to judge whether calling party and callee contain set meal, and judges that whether calling party and callee are in roaming state.
207, server generates the first telephone expenses according to the duration of call of this call and the first expenses standard.
In the present embodiment, after end of conversation, server can get the duration of call.When end of conversation, server is produced the first telephone expenses according to the duration of call of this call and the first expenses standard getting.
208, server generates the second telephone expenses according to the duration of call of this call and the second expenses standard.
After end of conversation, server is produced the second telephone expenses according to the duration of call of this call and the second expenses standard getting.
209, server judges that whether the first telephone expenses are higher than the first telephone expenses.
Further, server compares the first telephone expenses and the second telephone expenses, to judge that whether the first telephone expenses are higher than the second telephone expenses.If judged result is yes, execution step 210; If judged result is no, execution step 212.
210, server sends the inquiry request for whether agree to bear this cost of the phone call to callee's inquiry to callee.
In the expenses standard of judging calling party, during higher than callee's expenses standard, in order to realize the object of saving cost of the phone call, server sends inquiry request to callee, to inquire whether callee bears this cost of the phone call.Whether wherein said inquiry request is for agreeing to bear this cost of the phone call to callee's inquiry.
If callee agrees to bear this cost of the phone call, execution step 211, bears this cost of the phone call if callee disagrees with, execution step 212.
211, server is deducted the second telephone expenses after callee agrees to bear this cost of the phone call from callee's account.
Agree to bear this cost of the phone call callee, return to a response message to server, agree to bear this cost of the phone call to indicate callee.Server is receiving after this response message, determines callee and agrees to bear this cost of the phone call, deducts the cost of the phone call of the second telephone expenses as this call after end of conversation from callee's account.
212, server is definite bears this cost of the phone call by calling party, this time first telephone expenses of deduction from calling party's account.
If when judging the first telephone expenses of calling party be less than or equal to the second telephone expenses of callee in step 209, illustrate that calling party bears this cost of the phone call and more saves telephone expenses, in order to realize the object of saving cost of the phone call, server is defined as calling party to bear the user of this cost of the phone call, and further server is deducted the cost of the phone call of these first telephone expenses as this call after end of conversation from calling party's account.
Further, if callee disagrees with and bears this cost of the phone call in step 210, in order to complete the charging realizing this call, server deduct this first cost of the phone call as this call from calling party's account.
For example, in the time that user A dials local telephone network to user B, if user A has set meal, server is 0 yuan to the first telephone expenses of user A, in the time that user B does not open set meal, server is to obtain according to the rate of speech business per minute and the duration of call to user B the second telephone expenses, now the first telephone expenses lower than or equal the second telephone expenses, this time cost of the phone call is born by user A.If when party B-subscriber also opens set meal, the second telephone expenses that server obtains are 0 yuan, in the situation that expense is identical, still bear telephone expenses by calling subscriber A, but deduct the duration of call in set meal from user A.
For example, user A dials local telephone network to user B, if user A and user B are all without set meal, when the first telephone expenses of user A are used by user A speech business, rate per minute and the duration of call obtain, when the second telephone expenses while dialing to user A by user B as caller are user B speech business, rate per minute and the duration of call obtain, if the first telephone expenses are less than or equal to the second telephone expenses, bear this cost of the phone call by user A, this time call rate user is the first telephone expenses.If the first telephone expenses, higher than the second telephone expenses, are born this call rate expense by user B, this time cost of the phone call is the second telephone expenses.
If have a side in roaming state in user A or user B, by the expense of speech business add by roaming produce expense, obtain the first telephone expenses and the second telephone expenses.For example, user A dials long-distance to user B, and user A is in roaming shape.User A the first telephone expenses add that for dialing long-distance cost roaming charges obtain.The second expense that user B produces while dialing to user A as caller, for user B dials long-distance cost, does not need to increase wandering fee.Relatively the first telephone expenses and the second telephone expenses, select a lower side to bear this cost of the phone call.
Server in the present embodiment is receiving after call request, whether the first telephone expenses that judge calling party are higher than the second telephone expenses of callee, higher than in the situation that, determine and bear this cost of the phone call by callee, having realized cost of the phone call is born by a cost of the phone call lower side who produces during as caller in both call sides, no longer need the clawback mode to save cost of the phone call, overcome the problem of the complicated operation that clawback mode exists, and it is ageing to have improved both sides' call.
Embodiment tri-
The structural representation of the server that Fig. 3 provides for the embodiment of the present invention three, as shown in Figure 3, this server comprises: receiver module 31, set up module 32, accounting module 33, judge module 34, inquiry module 35 and the module 36 of deducting fees.
Wherein, receiver module 31, the call request of initiating to callee for receiving calling party, carries described calling party's calling number and described callee's called number in described call request.
With receiver module 31 establishment of connection modules 32, be connected for the call of setting up between described calling party and described callee according to described call request.
With the accounting module 33 of setting up module 32 and being connected, for obtaining respectively the first telephone expenses that described calling party produces for described call when the end of conversation, and be the second telephone expenses that described call produces when caller using described called number as described call.
With accounting module 33 that be connected with judge module 34, for judging that whether described the first telephone expenses are higher than described the second telephone expenses.
The inquiry module 35 being connected with judge module 34, for sending inquiry request to described callee after higher than described the second telephone expenses judging described the first telephone expenses, described inquiry request is used for inquiring whether described callee agrees to bear this cost of the phone call.
The module 36 of deducting fees being connected with inquiry module 35, deducts cost of the phone call for building from callee's account after agreeing to bear this cost of the phone call described callee.
Particularly, in the time that calling party attempts to converse with callee, calling party uses the mobile terminal of self, and the called number by dialing callee sends a call request to receiver module 31 in server, request is set up call with callee and is connected, to realize both sides' call.Wherein, in call request, carry calling party's calling number and callee's called number.
Receiving after call request, setting up module 32 and be connected for calling party and callee set up call with called number according to calling number in call request, so that both call sides connects enterprising lang sound business in this call.
In the present embodiment, accounting module 33 carries out Secondary accounting for this call after this end of conversation, first gets the first telephone expenses that calling party generates for this call, then the second telephone expenses that produce while getting the caller using callee as this call.
Further, judge module 34 judges that whether the first telephone expenses are higher than the second telephone expenses.In the first telephone expenses of judging calling party, during higher than the second telephone expenses of callee, in order to realize the object of saving cost of the phone call, inquiry module 35 sends inquiry request to callee, to inquire whether callee bears this cost of the phone call.Whether wherein said inquiry request is for agreeing to bear this cost of the phone call to callee's inquiry.
If callee agrees to bear this cost of the phone call, can return to a response message to the receiver module 31 in server, agree to bear this cost of the phone call to indicate callee.Receiver module 31 is receiving after this response message, and the module of deducting fees 36 is determined callee's agreement and born after this cost of the phone call, deduction second telephone expenses that this time call produces from callee's account.
In the present embodiment, server receives the call request that calling party initiates to callee, wherein in call request, carry calling party's calling number and callee's called number, the call that server is set up between calling party and callee according to call request is connected, in the time of end of conversation, obtain respectively the first telephone expenses that calling party produces for described call, and be the second telephone expenses that described call produces when caller using callee as described call, judge that whether the first telephone expenses are higher than the second telephone expenses, if judged result is yes, server sends inquiry request to callee, wherein inquiry request is used for inquiring whether callee agrees to bear this cost of the phone call, server is deducted the second telephone expenses after callee agrees to bear this cost of the phone call from callee's account.
Server in the present embodiment is after end of conversation, obtain respectively the cost of the phone call that calling party bears for this call, and the cost of the phone call of bearing during using callee as caller, in the situation that calling party's cost of the phone call is high, determine and bear this cost of the phone call by callee, having realized cost of the phone call is born by a cost of the phone call lower side who produces during as caller in both call sides, no longer need clawback mode to save cost of the phone call, the problem that has overcome the complicated operation that clawback mode exists, the call that has improved both sides is ageing.
Embodiment tetra-
The structural representation of the server that Fig. 4 provides for the embodiment of the present invention four, as shown in Figure 3, this server comprises receiver module 31 in above-described embodiment three, sets up module 32, accounting module 33, judge module 34, inquiry module 35 and the module 36 of deducting fees.
In the present embodiment, the optional structure implementation of the one of accounting module 33 comprises: wholesale price unit 331 and Charging Detail Record unit 332.
Wherein, wholesale price unit 331, is respectively described calling party and described callee's wholesale price for described server according to described communication request, the second expenses standard while obtaining the first expenses standard of described calling party and described callee as described call caller.
Further, whether described wholesale price unit 331 is the user who opens smart charge business specifically for inquire about described calling party according to described calling number, and be while opening the user of smart charge business described calling party, whether inquire about described callee according to described called number is described calling party's designated user, and in the time that described callee is described designated user, be respectively described calling party and described callee's wholesale price, obtain described the first expenses standard and described the second expenses standard.
The Charging Detail Record unit 332 being connected with wholesale price unit 331, for generating described the first telephone expenses according to the duration of call of described call and described calling party's expenses standard, and generate described the second telephone expenses according to the described duration of call and described callee's expenses standard.
Further, described receiver module 31, also, for before the described call request of initiating to described callee the described calling party of reception, receive the Indication message of opening described smart charge business that described calling party sends by terminal, the mark of carrying described designated user in described Indication message.
Further, described in deduct fees module 36 also for judge described the first telephone expenses less than or equal to described the second telephone expenses after, determine bear this cost of the phone call by described calling party, from described calling party's account, deduct described the first telephone expenses.
Further, inquiry module 35 is connected with the module 36 of deducting fees, in the first telephone expenses higher than the second telephone expenses but inquire that module 35 determines callee and disagree with that while bearing this cost of the phone call, the module of deducting fees 36 is deducted the cost of the phone call of the first telephone expenses as this call from calling party's account.
Server in the present embodiment is receiving after call request, whether the first telephone expenses that judge calling party are higher than the second telephone expenses of callee, higher than in the situation that, determine and bear this cost of the phone call by callee, having realized the cost of the phone call lower side that cost of the phone call produces during as caller by both call sides bears, no longer need the clawback mode to save cost of the phone call, overcome the problem of the complicated operation that clawback mode exists, the call that has improved both sides is ageing.
Finally it should be noted that: above each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1.一种智能计费方法,其特征在于,包括:1. An intelligent billing method, characterized in that, comprising: 服务器接收主叫方向被叫方发起的通话请求,所述通话请求中携带所述主叫方的主叫号码和所述被叫方的被叫号码;The server receives a call request from the calling party to the called party, and the call request carries the calling number of the calling party and the called number of the called party; 所述服务器根据所述通话请求建立所述主叫方与所述被叫方之间的通话连接;The server establishes a call connection between the calling party and the called party according to the call request; 所述服务器在通话结束后分别获取所述主叫方为所述通话产生的第一话费,以及将所述被叫方作为所述通话的主叫时为所述通话产生的第二话费;After the call ends, the server separately obtains the first call fee generated by the calling party for the call, and the second call fee generated for the call when the called party is used as the caller of the call; 所述服务器判断所述第一话费是否高于所述第二话费;The server judges whether the first call charge is higher than the second call charge; 如果判断结果为是,所述服务器向所述被叫方发送询问请求,所述询问请求用于询问所述被叫方是否同意承担此次通话费用;If the judgment result is yes, the server sends an inquiry request to the called party, and the inquiry request is used to ask whether the called party agrees to bear the call fee; 所述服务器在所述被叫方同意承担此次通话费用后从所述被叫方账户中扣除所述第二话费。The server deducts the second call fee from the called party's account after the called party agrees to bear the call fee. 2.根据权利要求1所述的智能计费方法,其特征在于,所述服务器在通话结束时分别获取所述主叫方为所述通话产生的第一话费,以及将所述被叫号码作为所述通话的主叫时为所述通话产生的第二话费,包括:2. The intelligent billing method according to claim 1, characterized in that, when the call ends, the server respectively obtains the first call fee generated by the calling party for the call, and uses the called number as The second call fee generated for the call when the caller of the call includes: 所述服务器根据所述通话请求分别为所述主叫方与所述被叫方批价,获取所述主叫方的第一资费标准与所述被叫方作为所述通话主叫时的第二资费标准;The server appraises prices for the calling party and the called party respectively according to the call request, and obtains the first charging standard of the calling party and the first charging standard when the called party is the calling party of the call. 2 Tariff standards; 所述服务器根据所述通话的通话时长和所述第一资费标准生成所述第一话费;The server generates the first call fee according to the call duration of the call and the first tariff standard; 所述服务器根据所述通话时长和所述第二资费标准生成所述第二话费。The server generates the second call fee according to the call duration and the second tariff standard. 3.根据权利要求2所述的智能计费方法,其特征在于,所述服务器根据所述通话请求分别为所述主叫方与所述被叫方批价,获取所述主叫方的第一资费标准与所述被叫方作为所述通话主叫时的第二资费标准包括:3. The intelligent billing method according to claim 2, wherein the server approves prices for the calling party and the called party respectively according to the call request, and acquires the calling party's first A tariff standard and the second tariff standard when the called party is the calling party include: 所述服务器根据所述主叫号码查询所述主叫方是否为开通智能计费业务的用户;The server inquires according to the calling number whether the calling party is a user who has subscribed to a smart billing service; 如果所述主叫方为所述智能计费业务的用户,所述服务器根据所述被叫号码查询所述被叫方是否为所述主叫方的指定用户;If the calling party is a user of the smart billing service, the server queries whether the called party is a designated user of the calling party according to the called number; 如果所述被叫方为所述指定用户,所述服务器分别为所述主叫方与所述被叫方批价,获取所述第一资费标准与所述第二资费标准。If the called party is the designated user, the server approves prices for the calling party and the called party respectively, and obtains the first charging standard and the second charging standard. 4.根据权利要求3所述的智能计费方法,其特征在于,所述服务器接收主叫方向被叫方发起的通话请求,所述通话请求中携带所述主叫方的主叫号码和所述被叫方的被叫号码之前,还包括:4. The intelligent billing method according to claim 3, wherein the server receives a call request from the calling party to the called party, and the call request carries the calling number and the called party number of the calling party. Before the called number of the called party, also include: 所述服务器接收所述主叫方通过终端发送的开通所述智能计费业务的指示消息,所述指示消息中携带所述指定用户的标识。The server receives an instruction message for activating the smart charging service sent by the calling party through the terminal, and the instruction message carries the identifier of the designated user. 5.根据权利要求1所述的智能计费方法,其特征在于,还包括:5. The intelligent billing method according to claim 1, further comprising: 如果判断结果为否,所述服务器确定由所述主叫方承担此次通话费用,从所述主叫方账户中扣除所述第一话费。If the judging result is no, the server determines that the calling party bears the call fee, and deducts the first call fee from the calling party's account. 6.一种服务器,其特征在于,包括:6. A server, characterized in that, comprising: 接收模块,用于接收主叫方向被叫方发起的通话请求,所述通话请求中携带所述主叫方的主叫号码和所述被叫方的被叫号码;A receiving module, configured to receive a call request from the calling party to the called party, the call request carrying the calling number of the calling party and the called number of the called party; 建立模块,用于根据所述通话请求为所述主叫方与所述被叫方建立通话连接;An establishment module, configured to establish a call connection between the calling party and the called party according to the call request; 计费模块,用于在通话结束时分别获取所述主叫方为所述通话产生的第一话费,以及将所述被叫号码作为所述通话的主叫时为所述通话产生的第二话费;The billing module is used to respectively obtain the first call fee generated by the calling party for the call when the call ends, and the second charge generated for the call when the called number is used as the caller of the call. telephone charges; 判断模块,用于判断所述第一话费是否高于所述第二话费;A judging module, configured to judge whether the first call charge is higher than the second call charge; 询问模块,用于在所述第一话费高于所述第一话费时,向所述被叫方发送询问请求,所述询问请求用于询问所述被叫方是否同意承担此次通话费用;An inquiry module, configured to send an inquiry request to the called party when the first call fee is higher than the first call fee, and the inquiry request is used to ask whether the called party agrees to bear the call fee; 扣费模块,用于在所述被叫方同意承担此次通话费用后从所述被叫方账户中扣除所述第二话费。A fee deduction module, configured to deduct the second call fee from the called party's account after the called party agrees to bear the call fee. 7.根据权利要求6所述的服务器,其特征在于,所述计费模块包括:7. The server according to claim 6, wherein the billing module comprises: 批价单元,用于所述服务器根据所述通信请求分别为所述主叫方与所述被叫方批价,获取所述主叫方的第一资费标准与所述被叫方作为所述通话主叫时的第二资费标准;A rating unit, configured for the server to rate the calling party and the called party respectively according to the communication request, and acquire the first charging standard of the calling party and the called party as the The second tariff standard when making a call; 计费单元,用于根据所述通话的通话时长和所述主叫方的资费标准生成所述第一话费,以及根据所述通话时长和所述所述被叫方的资费标准生成所述第二话费。A billing unit, configured to generate the first call fee according to the call duration and the charging standard of the calling party, and generate the first call fee according to the call duration and the charging standard of the called party Two calls. 8.根据权利要求7所述的服务器,其特征在于,所述批价单元具体用于根据所述主叫号码查询所述主叫方是否为开通智能计费业务的用户,以及在所述主叫方为开通智能计费业务的用户时,根据所述被叫号码查询所述被叫方是否为所述主叫方的指定用户,以及在所述被叫方为所述指定用户时,分别为所述主叫方与所述被叫方批价,获取所述第一资费标准与所述第二资费标准。8. The server according to claim 7, wherein the rating unit is specifically configured to inquire whether the calling party is a user who subscribes to a smart billing service according to the calling number, and When the calling party is a user who subscribes to the smart billing service, query whether the called party is the designated user of the calling party according to the called number, and when the called party is the designated user, respectively Approve prices for the calling party and the called party, and acquire the first tariff standard and the second tariff standard. 9.根据权利要求8所述的服务器,其特征在于,所述接收模块,还用于在接收所述主叫方向所述被叫方发起的所述通话请求之前,接收所述主叫方通过终端发送的开通所述智能计费业务的指示消息,所述指示消息中携带所述指定用户的标识。9. The server according to claim 8, wherein the receiving module is further configured to, before receiving the call request initiated by the calling party to the called party, receive the An instruction message for activating the smart charging service sent by the terminal, where the instruction message carries the identifier of the specified user. 10.根据权利要求6所述的服务器,其特征在于,还包括:10. The server according to claim 6, further comprising: 所述扣费模块,还用于在判断出所述第一话费低于或等于所述第二话费后,确定由所述主叫方承担此次通话费用,从所述主叫方账户中扣除所述第一话费。The fee deduction module is also used to determine that the calling party will bear the call fee after judging that the first call fee is lower than or equal to the second call fee, and deduct it from the calling party account The first call charge.
CN201410076325.8A 2014-03-04 2014-03-04 Intelligent fee counting method and server Active CN103826214B (en)

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 true CN103826214A (en) 2014-05-28
CN103826214B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547762A (en) * 2016-06-29 2018-01-05 中兴通讯股份有限公司 A kind of charging method and charge system
CN108206994A (en) * 2016-12-16 2018-06-26 展讯通信(上海)有限公司 Change method and device, mobile terminal and the network side equipment of charging mode

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004045174A1 (en) * 2002-11-14 2004-05-27 Ey-Taeg Kwon Method for collect call service based on voip technology and system thereof
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004045174A1 (en) * 2002-11-14 2004-05-27 Ey-Taeg Kwon Method for collect call service based on voip technology and system thereof
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547762A (en) * 2016-06-29 2018-01-05 中兴通讯股份有限公司 A kind of charging method and charge system
CN108206994A (en) * 2016-12-16 2018-06-26 展讯通信(上海)有限公司 Change method and device, mobile terminal and the network side equipment of charging mode

Also Published As

Publication number Publication date
CN103826214B (en) 2017-07-14

Similar Documents

Publication Publication Date Title
CN101119410B (en) Method and system for implementing fee prompting supplementary service
CN101499911B (en) Fee charging system, apparatus and method
CN102014358B (en) Method for making and answering calls using telephone proxy equipment based on VoIP technology
CN103905674A (en) Device and method applied to dual-network communication of Internet and telecommunication network
CN101483849A (en) Call fee charging method based on on-line fee-charging system and communication system
KR101089709B1 (en) Call connection device and method for connecting communication line of mobile terminal with application for call connection
CN101848447B (en) Call processing method and device in communication process
CN103826214A (en) Intelligent charging method and server
CN1874390B (en) Implementation method for charging between number of 'one number through' and ringing number at same time
CN102857898B (en) The method of a kind of mobile subscriber strange land number of taking transfer and business support system
KR100782052B1 (en) International Roaming System and Method using SM Callback Server
CN103888923A (en) Call proceeding method, system and device applied to virtual private mobile network
WO2014166184A1 (en) Call service method and system, system terminal, and calling terminal
CN1964573A (en) Charging method and system for prepaid subscriber in the course of across-network roaming
CN101572754B (en) Fixed wireless phone system based on improved fixed phone terminal and applications thereof
CN100589648C (en) Calling control method for fixed network user access mobile core network
CN104780250A (en) Method of selecting calling number and mobile terminal
CN102014359B (en) VoIP technology based phone agency device and method for making and answering call by using the same
US20070190972A1 (en) Method and system for implementing wireless intelligent services
WO2012126245A1 (en) Method and system for switching identities of calling and called parties
MX2023000415A (en) Provision of different network usage advance services to different categories of subscribers.
CN101754154A (en) Method and device for realizing telecom payment selection
CN101547420B (en) System and method for implementing number switching inform by intelligent network mode
CN104363571B (en) The display methods and device of post and telecommunication tariff
CN101588563B (en) Implementation method of advanced wireless fixed telephone service system

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