WO2012126245A1 - Method and system for switching identities of calling and called parties - Google Patents

Method and system for switching identities of calling and called parties Download PDF

Info

Publication number
WO2012126245A1
WO2012126245A1 PCT/CN2011/081685 CN2011081685W WO2012126245A1 WO 2012126245 A1 WO2012126245 A1 WO 2012126245A1 CN 2011081685 W CN2011081685 W CN 2011081685W WO 2012126245 A1 WO2012126245 A1 WO 2012126245A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
network element
identity
request
replacement
Prior art date
Application number
PCT/CN2011/081685
Other languages
French (fr)
Chinese (zh)
Inventor
鞠红兵
乔海荣
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012126245A1 publication Critical patent/WO2012126245A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/08Metering calls to called party, i.e. B-party charged for the communication

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and system for principal and called identity replacement. Background technique
  • the calling party usually pays for the call.
  • the called Free Phone (FPH) business appeared.
  • the business users of the FPH service can provide free calls to the calling users, and the calling charges generated by the calling users are paid by the business users.
  • a service user using the FPH service needs to apply for a national unified FPH service number.
  • the number consists of a service access code, a database identifier, and a 4-digit service user code.
  • 800 is the service access code
  • KN2N2 is the database identification code
  • 6666 is the service user code. It can be seen from the structure of the FPH service number that the subsequent number of the service access code is not a real called user number, but a number corresponding to the user who needs to open the FPH service, and the maximum number of users applying for the above FPH service is limited. Therefore, the FPH service cannot be opened for every ordinary user.
  • the object of the present invention is to provide a method and system for calling a called party to replace the identity of the called party to overcome the defect that the user who uses the ordinary user to call the calling service cannot enjoy the preferential fee of the called user. .
  • the present invention provides a method for principal and called identity replacement, including: in a process in which a first terminal calls a second terminal, the second network element learns that the calling party and the called party are to undergo identity replacement. a network element sends a request; wherein, the second network element is a network element that provides a service for the second terminal, and the first network element is a network element that provides a service for the first terminal;
  • the first network element After receiving the request, the first network element replies to the second network element with a response;
  • the second network element After receiving the response, the second network element sends an acknowledgement to the first network element, and performs charging on the second terminal as the calling identity during charging;
  • the first network element receives the acknowledgement, and performs charging on the first terminal with the called identity when charging.
  • the foregoing method further includes:
  • the second terminal When the second terminal receives the call request sent by the first terminal by using the second network element, the second terminal prompts the user whether identity replacement is required; Receiving, by the second terminal, the identity replacement request to the second network element, when receiving the identity replacement command sent by the user;
  • the second network element When the second network element receives the identity replacement request, it is learned that both the calling party and the called party are to be replaced.
  • the foregoing method further includes:
  • the foregoing method further includes:
  • the second network element is pre-set with number information customized by the user using the second terminal for identity replacement;
  • the second network element determines, according to the number information of the first terminal carried in the call request, whether identity replacement is required; if necessary, the master is informed Call the two sides to undergo an identity replacement.
  • the foregoing method further includes:
  • the second terminal reserves a call resource for the call, in addition to sending the identity replacement request to the second network element;
  • the second network element After receiving the response, the second network element sends an identity replacement confirmation to the second terminal; after receiving the identity replacement confirmation, the second terminal receives the current call, and the first The terminal starts talking.
  • the step of the second network element sending a request to the first network element after the master and the called party are to be replaced by the identity includes:
  • the second network element learns that the calling party and the called party want to perform identity replacement, first sends a request to the second terminal to confirm whether to answer by the calling identity; After the identity is confirmed to be answered, the request is sent to the first network element.
  • the present invention also provides a system for calling a called party identity, comprising: a first network element serving the first terminal, and a second network element serving the second terminal;
  • the first network element includes a first device and a second device
  • the second network element includes a third device and a fourth device, where:
  • the third device is configured to: when the first terminal calls the second terminal, send a request to the first network element after learning that the calling party and the called party are to be replaced by the identity;
  • the first device is configured to: reply to the second network element after receiving the request;
  • the fourth device is configured to: after receiving the response, send an acknowledgement to the first network element, and Charging the second terminal with the calling identity during charging;
  • the second device is configured to: receive the acknowledgement, and charge the first terminal with the called identity when charging.
  • the third device is further configured to: when receiving the identity replacement request sent by the second terminal, know that both the calling party and the called party are to be replaced;
  • the identity replacement request is that when the second terminal receives the call request sent by the first terminal by using the second network element, the second terminal prompts the user whether identity replacement is required, and receives the user When the incoming identity replacement command is sent to the second network element.
  • the third device is further configured to: when receiving the identity replacement request sent by the second terminal, know that both the calling party and the called party are to be replaced;
  • the identity replacement request is that when the second terminal receives the call request sent by the first terminal by using the second network element, it is determined that the terminal stores the first terminal carried in the call request.
  • the number information is sent to the second network element when the identification information of the identity replacement is set for the number information.
  • the third device is pre-configured with a user-customized use of the second terminal for identity replacement. Number information
  • the third device is further configured to:
  • the fourth device is further configured to: after receiving the response, send an identity replacement confirmation to the second terminal.
  • the third device is configured to send a request to the first network element after learning that the calling party and the called party are to be physically replaced:
  • the first device in the second network element is configured to send, to the second terminal, a request for confirming whether to answer by the calling identity after obtaining the identity replacement of the calling and called parties; After the second terminal replies with the confirmation of the caller identity, the request is sent to the first network element.
  • FIG. 1 is a flowchart of a method for calling a called party in the embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a system for calling a called party in an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for calling a primary called identity in the application example 1 of the present invention
  • FIG. 4 is a schematic diagram of a ringing interface of a called terminal according to an application example of the present invention. Preferred embodiment of the invention
  • PSTN Public Switched Telephone Network
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • a method for replacing a principal and a called identity includes: when the first terminal calls the second terminal, the second network element learns that the calling party and the called party are to be replaced each other. Sending a request to the first network element, where the first network element is a network side network element for providing a service for the first terminal, and the second network element is a network side network element for providing a service for the second terminal; After receiving the above request, the network element returns a response to the second network element;
  • the second network element After receiving the foregoing response, the second network element sends an acknowledgement to the first network element, and performs charging on the second terminal by using the calling identity during charging;
  • the first network element receives the foregoing acknowledgement, and performs charging on the called identity of the first terminal at the time of charging. It should be noted that, in a specific implementation, the first network element and the second network element may be implemented on the same device.
  • the second network element learns that the identity of the calling party and the called party is to be replaced, and may be implemented in any one of the following three manners:
  • the second terminal When receiving the call request sent by the first terminal by using the second network element, the second terminal prompts the user whether the identity replacement is required; when receiving the identity replacement command sent by the user, the second terminal sends the second network element to the second network element. Sending an identity replacement request; the second network element receives the identity replacement request, that is, the master and the called party are required to undergo identity replacement.
  • the second terminal determines whether the terminal saves the call request. Carrying the number information of the first terminal and setting the foregoing identification information for the number information; if yes, sending an identity replacement request to the second network element; the second network element receiving the identity replacement request, that is, both the calling party and the called party are to be generated Identity replacement. If the second terminal determines that the main called identity replacement is not required, the processing is performed according to the existing procedure.
  • Method three The second network element is pre-set with number information customized by the user using the second terminal for identity replacement;
  • the second network element determines, according to the number information of the first terminal carried in the call request, whether identity replacement is required; if necessary, it is known that both the calling party and the called party are to be identified. Replacement. If it is determined that identity replacement is not required, it is processed according to the existing process.
  • the system of the primary and called identity replacement in this embodiment includes: a first network element and a second network element; the first network element includes a first device and a second device, and the second network The unit includes a third device and a fourth device;
  • the third device of the second network element is configured to: when the first terminal calls the second terminal, send a request to the first network element after learning that the calling party and the called party are to be replaced by the second network element; wherein, the second network
  • the first network element is a network element used to provide services for the first terminal, where the element is a network element that provides a service for the second terminal.
  • the first device in the first network element is configured to respond to the second network element after receiving the request;
  • the fourth device in the second network element is configured to send a confirmation to the first network element after receiving the response, and perform charging on the second terminal by using the calling identity during charging;
  • the second device in the first network element is configured to receive the acknowledgement, and charge the first terminal with the called identity when charging.
  • the third device in the second network element learns that the identity of the calling party and the called party is to be replaced, and the specific device includes: when the third device in the second network element receives the identity replacement request sent by the second terminal, Knowing that the calling and called parties are subject to identity replacement;
  • the identity replacement request is that when the second terminal receives the call request sent by the first terminal by using the second network element, the second terminal prompts the user whether identity replacement is required, and receives the user When the incoming identity replacement command is sent to the second network element.
  • the third device in the second network element learns that the calling party and the called party are to be replaced by an identity, which specifically includes: When the third device in the second network element receives the identity replacement request sent by the second terminal, it is known that the calling party and the called party are to undergo identity replacement;
  • the identity replacement request is that when the second terminal receives the call request sent by the first terminal by using the second network element, it is determined that the terminal stores the first terminal carried in the call request.
  • the number information is sent to the second network element when the identification information of the identity replacement is set for the number information.
  • the third device in the second network element is pre-set with number information customized by the user using the second terminal to perform identity replacement;
  • the third device in the second network element learns that the identity of the calling party and the called party is to be replaced, and the specific device includes: when the third device in the second network element receives the call request sent by the first terminal, Determining whether identity replacement is required according to the number information of the first terminal carried in the call request; if necessary, it is known that the calling party and the called party are to be replaced.
  • the fourth device in the second network element is further configured to, after receiving the response, send an identity replacement acknowledgement to the second terminal.
  • the third device in the second network element is configured to send a request to the first network element after the master and the called party are to be identifiable, including:
  • the third device in the second network element is configured to send, to the second terminal, a request for confirming whether to answer by the calling identity after obtaining the identity replacement of the calling party and the called party; After the second terminal replies with the confirmation of the caller identity, the request is sent to the first network element.
  • the calling user is the terminal A
  • the called user is the terminal B
  • the network element that provides the service for the terminal A is called the server A
  • the network element that provides the service for the terminal B is called Server B.
  • Step 201 Terminal A initiates a call request to call terminal B to server A.
  • Step 202 server A sends the above call request to server B;
  • Step 203 The server B initiates a call request of the terminal A to the terminal B to the terminal B.
  • the process proceeds to step 205; when the user chooses to answer by the calling identity, the process proceeds to step 207; when the rejection is selected, the process proceeds to step 206;
  • Step 205 the terminal B enters the normal answering process; when any one of the terminal A and the terminal B hangs up, step 206 is performed;
  • Step 206 the call is terminated
  • Step 207 The terminal B sends an identity replacement request to the server B, and reserves the call resource.
  • Step 209 Server A returns a response to server B.
  • Step 210 After receiving the response of the server A, the server B sends an acknowledgement to the server A.
  • Step 212 The terminal B sends a receiving call response to the terminal A through the server A and the server B, and receives the current call, and the call starts.
  • Step 213 Any party hangs up the call, and the call ends.
  • terminal A participates in charging as a called identity
  • terminal B participates in charging as a calling identity.
  • Step 301 The user stores the phone number of the terminal A in the terminal B, and sets the answering property for the number to answer whether the caller is answered by the calling identity or the called identity. In this example, the number for which the attribute is not set defaults to answering as the called identity;
  • Step 302 The terminal A initiates a call request of the call B to the server A.
  • Step 303 server A sends the above call request to server B;
  • Step 304 The server B initiates a call request of the terminal A to the terminal B to the terminal B.
  • Step 305 After receiving the foregoing call request, the terminal B performs matching according to the number carried in the request to the communication book to find the answering attribute of the number.
  • Step 306 The user presses the answer button on the terminal B.
  • Step 307 The terminal B performs a corresponding operation according to the found answering attribute. If the answering attribute is answered as the called identity, proceed to step 308, otherwise proceed to step 309;
  • Step 308 terminal B enters the normal answering process, and then step 315 is performed;
  • Step 309 The terminal B sends an identity replacement request to the server B, and reserves the call resource.
  • Step 311 Server A replies to server B;
  • Step 312 After receiving the response of the server A, the server B sends an acknowledgement to the server A.
  • Step 313 The server B sends an identity replacement response to the terminal B.
  • Step 314 The terminal B sends a call response to the terminal A through the server A and the server B, and receives the current call, and the call starts.
  • Step 315 If any party hangs up the call, the call ends.
  • terminal A participates in charging as a called identity
  • terminal B participates in charging as a calling identity.
  • the method of the primary called identity replacement includes the following steps:
  • Step 401 The user using the terminal B registers with the server B the answering attribute of the telephone number of the terminal A as the calling identity answering.
  • the default is to answer as the called party;
  • Step 402 Terminal A initiates a call request for call B to server A.
  • Step 403 the server A sends the above call request to the server B;
  • Step 405 The server B sends an identity replacement request to the server A.
  • Step 406 After receiving the response of the server A, the server B sends an acknowledgement message to the server A, and sends a call request to the terminal B.
  • Step 407 The terminal B presses the answer key, and sends a call response to the terminal A through the server A and the server B, and connects to the call: the current call, and the call starts;
  • Step 408 Any party hangs up and the call ends.
  • terminal A participates in charging as a called identity
  • terminal B participates in charging as a calling identity.
  • the server B may also send a message to the terminal B, so that the user can confirm whether the call is answered by the calling identity, and the user is confirmed to answer the call as the calling identity. After the call, an identity replacement request is sent to server A.
  • each module/unit in the above embodiment may be implemented in the form of hardware or in the form of a software function module.
  • the present invention is not limited to any particular form of combination of hardware and software, as long as the caller pays in the called identity and the called party pays as the calling identity in one call.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Disclosed are a method and system for switching identities of calling and called parties. The method comprises: during the process of a first terminal calling a second terminal, a second network element sends a request to a first network element after being informed that the calling and called parties desire their identities be switched, said second network element being a network element for providing services for the second terminal, and the first network element being a network element for providing services for the first terminal; after receiving the request, the first network element returns a response to the second network element; after receiving the response, the second network element sends an acknowledgement to the first network element and bills the second terminal as the calling party; after receiving the acknowledgement, the first network element bills the first terminal as the called party.

Description

一种主被叫身份置换的方法及系统  Method and system for calling and calling identity replacement
技术领域 Technical field
本发明涉及通信领域, 尤其涉及一种主被叫身份置换的方法及系统。 背景技术  The present invention relates to the field of communications, and in particular, to a method and system for principal and called identity replacement. Background technique
在呼叫业务中, 通常由主叫用户支付通话费用。 随着业务的发展, 被叫 集中付费(Free Phone, 简称为 FPH )业务出现了。 FPH业务的业务用户可以 为主叫用户提供免费电话, 主叫用户拨打电话产生的通话费用由业务用户支 付。  In the call service, the calling party usually pays for the call. With the development of the business, the called Free Phone (FPH) business appeared. The business users of the FPH service can provide free calls to the calling users, and the calling charges generated by the calling users are paid by the business users.
使用 FPH业务的业务用户需要申请一个全国统一的 FPH业务号码,该号 码由业务接入码、 数据库标志码及长度为 4位业务用户码组成。 如 FPH业务 号码 800-KN2N2-6666中, 800是业务接入码, KN2N2是数据库标志码, 6666 是业务用户码。 从 FPH业务号码的结构可以看出, 业务接入码的后续号码不 是一个真实的被叫用户号码, 而是与需要开通 FPH业务的用户对应的号码, 申请上述 FPH业务的最大用户数受到限制, 因此不能为每个普通用户都开通 FPH业务。  A service user using the FPH service needs to apply for a national unified FPH service number. The number consists of a service access code, a database identifier, and a 4-digit service user code. For example, in the FPH service number 800-KN2N2-6666, 800 is the service access code, KN2N2 is the database identification code, and 6666 is the service user code. It can be seen from the structure of the FPH service number that the subsequent number of the service access code is not a real called user number, but a number corresponding to the user who needs to open the FPH service, and the maximum number of users applying for the above FPH service is limited. Therefore, the FPH service cannot be opened for every ordinary user.
在这种情况下, 一些为普通用户提供被叫付费业务的方法产生了。 但现 有的普通用户被叫付费业务流程都比较复杂, 且不能为越来越多的业务类型 提供更好的服务。  In this case, some methods for providing a called user with a paid service are generated. However, existing ordinary users are called to pay for business processes are more complex, and can not provide better services for more and more types of services.
如: 父母和子女之间的通话。 子女因选择了某些业务, 给父母打电话比 较优惠或者相对免费 (如釆用了包月服务, 长途定向等等) , 而父母根据自 身的情况不需要定制类似业务, 或者制定类似服务不合算。 此时父母打电话 给子女, 为了达到优惠, 在现有的系统中, 子女只能选择拒接, 然后回拨。 这显然是比较繁瑣的一个操作, 而且还可能出现意外的情况, 在子女拒接和 回拨期间内, 如父母收到了第三方电话, 那子女和父母的联系就得搁置一段 时间, 这当然是双方都不愿看到的。 在此场景模式中, 如果子女开通了现有 的普通用户被叫付费业务, 则子女只是为父母付了费用, 但通话费用并没有 享受到优惠: 假设子女打给父母 1分钟 2毛钱(接听免费) , 父母打给子女 一分钟 8毛钱(接听免费) , 如果子女开通的是普通用户被叫付费业务, 则 父母给子女打电话一分钟, 子女需要付 8毛钱; 而如果子女选择拒接回拨, 则子女每分钟只需要付 2毛钱, 父母不需要付钱。 Such as: Calls between parents and children. Because children choose certain businesses, they call their parents more preferential or relatively free (such as using monthly service, long-distance orientation, etc.), and parents do not need to customize similar services according to their own situation, or it is not economical to make similar services. At this time, the parents call the children. In order to achieve the discount, in the existing system, the children can only choose to reject and then call back. This is obviously a cumbersome operation, and there may be unexpected situations. During the period of child rejection and callback, if the parent receives a third-party call, the child’s contact with the parent has to be put on hold for a while, which is of course The two sides are not willing to see. In this scene mode, if the child opens the existing ordinary user called pay service, the child only pays the parents, but the call charge is not Enjoy the discount: Assume that the child calls the parents 1 cent 2 cents (free of charge), the parents call the child 8 cents a minute (free of charge), if the child opens the ordinary user called pay service, then the parents give the children For one minute, the child needs to pay 8 cents; if the child chooses to refuse to call back, the child only needs to pay 2 cents per minute, and the parents do not need to pay.
再如: 假设某用户开通了市话优惠服务。 那当他在本市的亲朋好友打电 话给他时, 他希望这些通话的市话费用由他来承担。 如果他开通了现有的普 通用户被叫付费业务, 则当这些朋友在漫游区给他打电话的时候, 他不但要 承担市话费用, 还要承担漫游费用, 这可不是他所希望的。  Another example: Suppose a user has opened a local call service. When he gave him a message to friends and relatives in the city, he hoped that the cost of the local calls for these calls would be borne by him. If he opens an existing normal user called pay service, when these friends call him in the roaming area, he will not only bear the cost of local calls, but also bear the cost of roaming, which is not what he hopes.
从上述例子可以看出, 在使用现有的普通用户被叫付费业务系统中, 被 叫用户只是按照主叫用户的资费为本次通话缴费, 并不能享受该被叫用户的 优惠的资费。 发明内容  As can be seen from the above example, in the existing ordinary user called paying service system, the called user only pays the call according to the calling user's tariff, and cannot enjoy the preferential fee of the called user. Summary of the invention
本发明的目的是提供一种主被叫身份置换的方法及系统, 通过置换被叫 主叫的身份以克服现有使用普通用户被叫付费业务的用户不能享受被叫用户 的优惠的资费的缺陷。  The object of the present invention is to provide a method and system for calling a called party to replace the identity of the called party to overcome the defect that the user who uses the ordinary user to call the calling service cannot enjoy the preferential fee of the called user. .
为解决上述问题, 本发明提供了一种主被叫身份置换的方法, 包括: 在第一终端呼叫第二终端的过程中, 第二网元在获知主被叫双方要发生 身份置换后向第一网元发送请求; 其中, 所述第二网元是为所述第二终端提 供服务的网元, 所述第一网元是为所述第一终端提供服务的网元;  In order to solve the above problem, the present invention provides a method for principal and called identity replacement, including: in a process in which a first terminal calls a second terminal, the second network element learns that the calling party and the called party are to undergo identity replacement. a network element sends a request; wherein, the second network element is a network element that provides a service for the second terminal, and the first network element is a network element that provides a service for the first terminal;
所述第一网元在收到所述请求后向所述第二网元回复响应;  After receiving the request, the first network element replies to the second network element with a response;
所述第二网元收到所述响应后向第一网元发送确认, 在计费时对第二终 端以主叫身份进行计费; 以及  After receiving the response, the second network element sends an acknowledgement to the first network element, and performs charging on the second terminal as the calling identity during charging;
所述第一网元接收所述确认, 在计费时对所述第一终端以被叫身份进行 计费。  The first network element receives the acknowledgement, and performs charging on the first terminal with the called identity when charging.
可选的, 上述方法还包括:  Optionally, the foregoing method further includes:
所述第二终端在通过所述第二网元收到所述第一终端发来的呼叫请求 时, 向用户提示是否需要进行身份置换; 在收到用户发来的身份置换命令时, 所述第二终端向所述第二网元发送 所述身份置换请求; When the second terminal receives the call request sent by the first terminal by using the second network element, the second terminal prompts the user whether identity replacement is required; Receiving, by the second terminal, the identity replacement request to the second network element, when receiving the identity replacement command sent by the user;
所述第二网元收到所述身份置换请求时, 获知主被叫双方要发生身份置 换。  When the second network element receives the identity replacement request, it is learned that both the calling party and the called party are to be replaced.
可选的, 上述方法还包括:  Optionally, the foregoing method further includes:
在所述第二终端中为需要进行身份置换的号码信息预设一标识信息; 所述第二终端在通过所述第二网元收到所述第一终端发来的呼叫请求 时, 判断本终端是否保存有该呼叫请求中携带的第一终端的号码信息且已为 该号码信息设置所述标识信息; 若是, 则向所述第二网元发送身份置换请求; 所述第二网元收到所述身份置换请求时, 获知主被叫双方要发生身份置 换。  Determining, in the second terminal, an identifier information for the number information that needs to be used for identity replacement; the second terminal determining the present when receiving the call request sent by the first terminal by using the second network element Whether the terminal saves the number information of the first terminal carried in the call request and sets the identifier information for the number information; if yes, sends an identity replacement request to the second network element; Upon the identity replacement request, it is known that both the calling party and the called party are to be replaced.
可选的, 上述方法还包括:  Optionally, the foregoing method further includes:
所述第二网元中预设有使用第二终端的用户定制的需要进行身份置换的 号码信息;  The second network element is pre-set with number information customized by the user using the second terminal for identity replacement;
所述第二网元在收到所述第一终端发来的呼叫请求时, 根据所述呼叫请 求中携带的第一终端的号码信息, 判断是否需要进行身份置换; 若需要, 即 获知主被叫双方要发生身份置换。  When receiving the call request sent by the first terminal, the second network element determines, according to the number information of the first terminal carried in the call request, whether identity replacement is required; if necessary, the master is informed Call the two sides to undergo an identity replacement.
可选的, 上述方法还包括:  Optionally, the foregoing method further includes:
所述第二终端除向所述第二网元发送身份置换请求之外, 还为本次呼叫 保留通话资源;  The second terminal reserves a call resource for the call, in addition to sending the identity replacement request to the second network element;
所述第二网元在收到所述响应后, 向所述第二终端发送身份置换确认; 所述第二终端在收到所述身份置换确认后, 接收本次通话, 与所述第一 终端开始通话。  After receiving the response, the second network element sends an identity replacement confirmation to the second terminal; after receiving the identity replacement confirmation, the second terminal receives the current call, and the first The terminal starts talking.
可选的, 所述第二网元在获知主被叫双方要发生身份置换后向第一网元 发送请求的步骤包括:  Optionally, the step of the second network element sending a request to the first network element after the master and the called party are to be replaced by the identity includes:
所述第二网元在获知主被叫双方要发生身份置换后, 先向所述第二终端 发送确认是否以主叫身份进行接听的请求; 在收到所述第二终端回复的以主 叫身份进行接听的确认后, 再向所述第一网元发送所述请求。 After the second network element learns that the calling party and the called party want to perform identity replacement, first sends a request to the second terminal to confirm whether to answer by the calling identity; After the identity is confirmed to be answered, the request is sent to the first network element.
本发明还提供一种主被叫身份置换的系统, 其包括: 为第一终端服务的 第一网元, 及为第二终端服务的第二网元;  The present invention also provides a system for calling a called party identity, comprising: a first network element serving the first terminal, and a second network element serving the second terminal;
所述第一网元包括第一装置和第二装置, 所述第二网元包括第三装置和 第四装置, 其中:  The first network element includes a first device and a second device, and the second network element includes a third device and a fourth device, where:
所述第三装置设置为: 在所述第一终端呼叫所述第二终端的过程中, 在 获知主被叫双方要发生身份置换后向所述第一网元发送请求;  The third device is configured to: when the first terminal calls the second terminal, send a request to the first network element after learning that the calling party and the called party are to be replaced by the identity;
所述第一装置设置为: 在收到所述请求后向所述第二网元回复响应; 所述第四装置设置为: 收到所述响应后向所述第一网元发送确认, 并在 计费时对所述第二终端以主叫身份进行计费;  The first device is configured to: reply to the second network element after receiving the request; the fourth device is configured to: after receiving the response, send an acknowledgement to the first network element, and Charging the second terminal with the calling identity during charging;
所述第二装置设置为: 接收所述确认, 在计费时对所述第一终端以被叫 身份进行计费。  The second device is configured to: receive the acknowledgement, and charge the first terminal with the called identity when charging.
可选的,  Optional,
所述第三装置还设置为: 在收到所述第二终端发来的身份置换请求时, 获知主被叫双方要发生身份置换;  The third device is further configured to: when receiving the identity replacement request sent by the second terminal, know that both the calling party and the called party are to be replaced;
其中, 所述身份置换请求是所述第二终端在通过所述第二网元收到所述 第一终端发来的呼叫请求时, 向用户提示是否需要进行身份置换, 并在收到 用户发来的身份置换命令时, 向所述第二网元发送的。  The identity replacement request is that when the second terminal receives the call request sent by the first terminal by using the second network element, the second terminal prompts the user whether identity replacement is required, and receives the user When the incoming identity replacement command is sent to the second network element.
可选的,  Optional,
所述第三装置还设置为: 在收到所述第二终端发来的身份置换请求时, 获知主被叫双方要发生身份置换;  The third device is further configured to: when receiving the identity replacement request sent by the second terminal, know that both the calling party and the called party are to be replaced;
其中, 所述身份置换请求是所述第二终端在通过所述第二网元收到所述 第一终端发来的呼叫请求时, 判断出本终端保存有该呼叫请求中携带的第一 终端的号码信息且已为该号码信息设置需要进行身份置换的标识信息时向所 述第二网元发送的。  The identity replacement request is that when the second terminal receives the call request sent by the first terminal by using the second network element, it is determined that the terminal stores the first terminal carried in the call request. The number information is sent to the second network element when the identification information of the identity replacement is set for the number information.
可选的,  Optional,
所述第三装置中预设有使用第二终端的用户定制的需要进行身份置换的 号码信息; The third device is pre-configured with a user-customized use of the second terminal for identity replacement. Number information
所述第三装置还设置为:  The third device is further configured to:
在收到所述第一终端发来的呼叫请求时, 根据所述呼叫请求中携带的第 一终端的号码信息, 判断是否需要进行身份置换; 若需要, 即获知主被叫双 方要发生身份置换。  When receiving the call request sent by the first terminal, determining, according to the number information of the first terminal carried in the call request, whether identity replacement is required; if necessary, knowing that the calling party and the called party are to undergo identity replacement .
可选的, 所述第四装置还设置为: 在收到所述响应后, 向所述第二终端 发送身份置换确认。  Optionally, the fourth device is further configured to: after receiving the response, send an identity replacement confirmation to the second terminal.
可选的, 所述第三装置是设置为以如下方式在获知主被叫双方要发生身 份置换后向第一网元发送请求:  Optionally, the third device is configured to send a request to the first network element after learning that the calling party and the called party are to be physically replaced:
所述第二网元中的第一装置用于在获知主被叫双方要发生身份置换后, 先向所述第二终端发送确认是否以主叫身份进行接听的请求; 在收到所述第 二终端回复的以主叫身份进行接听的确认后, 再向所述第一网元发送所述请 求。  The first device in the second network element is configured to send, to the second terminal, a request for confirming whether to answer by the calling identity after obtaining the identity replacement of the calling and called parties; After the second terminal replies with the confirmation of the caller identity, the request is sent to the first network element.
釆用上述方案后, 对于个人用户来说, 实现了真正的以被叫用户的资费 标准进行被叫付费的方式, 且操作简单易行。 附图概述 After using the above scheme, for the individual user, the real way of paying the called party with the called user's tariff standard is realized, and the operation is simple and easy. BRIEF abstract
图 1为本发明实施例中主被叫身份置换的方法流程图;  1 is a flowchart of a method for calling a called party in the embodiment of the present invention;
图 2为本发明实施例中主被叫身份置换的系统的结构示意图;  2 is a schematic structural diagram of a system for calling a called party in an embodiment of the present invention;
图 3为本发明应用示例一中主被叫身份置换的方法的流程图;  3 is a flowchart of a method for calling a primary called identity in the application example 1 of the present invention;
图 4为本发明应用示例一被叫终端的振铃界面示意图。 本发明的较佳实施方式  FIG. 4 is a schematic diagram of a ringing interface of a called terminal according to an application example of the present invention. Preferred embodiment of the invention
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。  Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
在本示例中, 对该方法应用的承载网类型不做限制, PSTN ( Public Switched Telephone Network, 公共交换电话网络) 、 GSM ( Global System of Mobile communication, 全球移动通讯系统) 、 GPRS ( General Packet Radio Service, 通用分组无线服务) 以及核心网皆可。 In this example, there is no restriction on the type of bearer network to be applied to the method, PSTN ( Public Switched Telephone Network, GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), and core network.
本实施例中, 如图 1所示, 一种主被叫身份置换的方法, 包括: 在第一终端呼叫第二终端的过程中, 第二网元在获知主被叫双方要发生 身份置换时, 向第一网元发送请求; 其中, 第一网元为用于为第一终端提供 服务的网络侧网元; 第二网元为用于为第二终端提供服务的网络侧网元; 第一网元收到上述请求后, 向第二网元回复响应;  In this embodiment, as shown in FIG. 1, a method for replacing a principal and a called identity includes: when the first terminal calls the second terminal, the second network element learns that the calling party and the called party are to be replaced each other. Sending a request to the first network element, where the first network element is a network side network element for providing a service for the first terminal, and the second network element is a network side network element for providing a service for the second terminal; After receiving the above request, the network element returns a response to the second network element;
第二网元收到上述响应后向第一网元发送确认, 在计费时对第二终端以 主叫身份进行计费;  After receiving the foregoing response, the second network element sends an acknowledgement to the first network element, and performs charging on the second terminal by using the calling identity during charging;
第一网元接收上述确认, 在计费时对第一终端以被叫身份进行计费。 需要说明的是, 在具体实现时, 第一网元和第二网元可以在同一设备上 实现。  The first network element receives the foregoing acknowledgement, and performs charging on the called identity of the first terminal at the time of charging. It should be noted that, in a specific implementation, the first network element and the second network element may be implemented on the same device.
在本发明的另一实施例中, 第二网元获知主被叫双方要发生身份置换, 可通过以下三种方式中的任意一种方式实现:  In another embodiment of the present invention, the second network element learns that the identity of the calling party and the called party is to be replaced, and may be implemented in any one of the following three manners:
方式一:  method one:
第二终端在通过第二网元收到第一终端发来的呼叫请求时, 向用户提示 是否需要进行身份置换; 在收到用户发来的身份置换命令时, 第二终端向第 二网元发送身份置换请求; 第二网元收到身份置换请求, 即获知主被叫双方 要发生身份置换。  When receiving the call request sent by the first terminal by using the second network element, the second terminal prompts the user whether the identity replacement is required; when receiving the identity replacement command sent by the user, the second terminal sends the second network element to the second network element. Sending an identity replacement request; the second network element receives the identity replacement request, that is, the master and the called party are required to undergo identity replacement.
方式二:  Method 2:
在第二终端中为需要进行身份置换的号码信息预设一标识信息; 第二终 端在通过第二网元收到第一终端发来的呼叫请求时, 判断本终端是否保存有 该呼叫请求中携带的第一终端的号码信息且已为该号码信息设置上述标识信 息; 若是, 则向第二网元发送身份置换请求; 第二网元收到身份置换请求, 即获知主被叫双方要发生身份置换。 若第二终端判断出不需要进行主被叫身 份置换, 按现有流程进行处理。  Determining, in the second terminal, an identification information for the number information that needs to be replaced by the identity; when receiving the call request sent by the first terminal by using the second network element, the second terminal determines whether the terminal saves the call request. Carrying the number information of the first terminal and setting the foregoing identification information for the number information; if yes, sending an identity replacement request to the second network element; the second network element receiving the identity replacement request, that is, both the calling party and the called party are to be generated Identity replacement. If the second terminal determines that the main called identity replacement is not required, the processing is performed according to the existing procedure.
方式三: 所述第二网元中预设有使用第二终端的用户定制的需要进行身份置换的 号码信息; Method three: The second network element is pre-set with number information customized by the user using the second terminal for identity replacement;
第二网元在收到第一终端发来的呼叫请求时, 根据该呼叫请求中携带的 第一终端的号码信息, 判断是否需要进行身份置换; 若需要, 即获知主被叫 双方要发生身份置换。 若判断出不需要进行身份置换, 按现有流程进行处理。  When receiving the call request sent by the first terminal, the second network element determines, according to the number information of the first terminal carried in the call request, whether identity replacement is required; if necessary, it is known that both the calling party and the called party are to be identified. Replacement. If it is determined that identity replacement is not required, it is processed according to the existing process.
相应地, 如图 2所示, 本实施例中的主被叫身份置换的系统, 包括: 第 一网元及第二网元; 第一网元包括第一装置和第二装置, 第二网元包括第三 装置和第四装置;  Correspondingly, as shown in FIG. 2, the system of the primary and called identity replacement in this embodiment includes: a first network element and a second network element; the first network element includes a first device and a second device, and the second network The unit includes a third device and a fourth device;
第二网元的第三装置用于在第一终端呼叫第二终端的过程中, 在获知主 被叫双方要发生身份置换后向所述第一网元发送请求; 其中, 所述第二网元 为用于为所述第二终端提供服务的网元, 所述第一网元为用于为所述第一终 端提供服务的网元;  The third device of the second network element is configured to: when the first terminal calls the second terminal, send a request to the first network element after learning that the calling party and the called party are to be replaced by the second network element; wherein, the second network The first network element is a network element used to provide services for the first terminal, where the element is a network element that provides a service for the second terminal.
所述第一网元中的第一装置设置为在收到所述请求后向所述第二网元回 复响应;  The first device in the first network element is configured to respond to the second network element after receiving the request;
所述第二网元中的第四装置设置为收到所述响应后向第一网元发送确 认, 在计费时对第二终端以主叫身份进行计费;  The fourth device in the second network element is configured to send a confirmation to the first network element after receiving the response, and perform charging on the second terminal by using the calling identity during charging;
所述第一网元中的第二装置设置为接收所述确认, 在计费时对所述第一 终端以被叫身份进行计费。  The second device in the first network element is configured to receive the acknowledgement, and charge the first terminal with the called identity when charging.
较优地,  More preferably,
所述第二网元中的第三装置获知主被叫双方要发生身份置换,具体包括: 所述第二网元中的第三装置收到所述第二终端发来的身份置换请求时, 获知主被叫双方要发生身份置换;  The third device in the second network element learns that the identity of the calling party and the called party is to be replaced, and the specific device includes: when the third device in the second network element receives the identity replacement request sent by the second terminal, Knowing that the calling and called parties are subject to identity replacement;
其中, 所述身份置换请求是所述第二终端在通过所述第二网元收到所述 第一终端发来的呼叫请求时, 向用户提示是否需要进行身份置换, 并在收到 用户发来的身份置换命令时, 向所述第二网元发送的。  The identity replacement request is that when the second terminal receives the call request sent by the first terminal by using the second network element, the second terminal prompts the user whether identity replacement is required, and receives the user When the incoming identity replacement command is sent to the second network element.
较优地,  More preferably,
所述第二网元中的第三装置获知主被叫双方要发生身份置换,具体包括: 所述第二网元中的第三装置收到所述第二终端发来的身份置换请求时, 获知主被叫双方要发生身份置换; The third device in the second network element learns that the calling party and the called party are to be replaced by an identity, which specifically includes: When the third device in the second network element receives the identity replacement request sent by the second terminal, it is known that the calling party and the called party are to undergo identity replacement;
其中, 所述身份置换请求是所述第二终端在通过所述第二网元收到所述 第一终端发来的呼叫请求时, 判断出本终端保存有该呼叫请求中携带的第一 终端的号码信息且已为该号码信息设置需要进行身份置换的标识信息时向所 述第二网元发送的。  The identity replacement request is that when the second terminal receives the call request sent by the first terminal by using the second network element, it is determined that the terminal stores the first terminal carried in the call request. The number information is sent to the second network element when the identification information of the identity replacement is set for the number information.
较优地,  More preferably,
所述第二网元中的第三装置中预设有使用第二终端的用户定制的需要进 行身份置换的号码信息;  The third device in the second network element is pre-set with number information customized by the user using the second terminal to perform identity replacement;
所述第二网元中的第三装置获知主被叫双方要发生身份置换,具体包括: 所述第二网元中的第三装置在收到所述第一终端发来的呼叫请求时, 根 据所述呼叫请求中携带的第一终端的号码信息,判断是否需要进行身份置换; 若需要, 即获知主被叫双方要发生身份置换。  The third device in the second network element learns that the identity of the calling party and the called party is to be replaced, and the specific device includes: when the third device in the second network element receives the call request sent by the first terminal, Determining whether identity replacement is required according to the number information of the first terminal carried in the call request; if necessary, it is known that the calling party and the called party are to be replaced.
较优地,  More preferably,
所述第二网元中的第四装置还设置为在收到所述响应后, 向所述第二终 端发送身份置换确认。  The fourth device in the second network element is further configured to, after receiving the response, send an identity replacement acknowledgement to the second terminal.
较优地,  More preferably,
所述第二网元中的第三装置用于在获知主被叫双方要发生身份置换后向 第一网元发送请求, 具体包括:  The third device in the second network element is configured to send a request to the first network element after the master and the called party are to be identifiable, including:
所述第二网元中的第三装置用于在获知主被叫双方要发生身份置换后, 先向所述第二终端发送确认是否以主叫身份进行接听的请求; 在收到所述第 二终端回复的以主叫身份进行接听的确认后, 再向所述第一网元发送所述请 求。  The third device in the second network element is configured to send, to the second terminal, a request for confirming whether to answer by the calling identity after obtaining the identity replacement of the calling party and the called party; After the second terminal replies with the confirmation of the caller identity, the request is sent to the first network element.
下面用本发明的几个应用示例对本发明进行进一步说明。  The invention will now be further illustrated by several application examples of the invention.
需要说明的是, 在下述各示例中, 主叫用户即为终端 A, 被叫用户即为 终端 B, 为终端 A提供服务的网元称为服务器 A, 为终端 B提供服务的网元 称为服务器 B。 应用示例一 It should be noted that, in the following examples, the calling user is the terminal A, and the called user is the terminal B. The network element that provides the service for the terminal A is called the server A, and the network element that provides the service for the terminal B is called Server B. Application example one
如图 3所示, 包括以下步骤:  As shown in Figure 3, the following steps are included:
步骤 201、 终端 A向服务器 A发起呼叫终端 B的呼叫请求;  Step 201: Terminal A initiates a call request to call terminal B to server A.
步骤 202、 服务器 A将上述呼叫请求发送到服务器 B;  Step 202, server A sends the above call request to server B;
步骤 203、 服务器 B向终端 B发起终端 A呼叫终端 B的呼叫请求; 步骤 204、 终端 B收到上述呼叫请求后振铃, 并根据来电提示进行选择, 如图 4所示, 提示选项包括: 接听、 我为主叫 (以主叫身份接听) 、 拒接。 当用户选择接听时进入步骤 205; 当用户选择以主叫身份接听时进入步骤 207; 选择拒接时进入步骤 206;  Step 203: The server B initiates a call request of the terminal A to the terminal B to the terminal B. Step 204: After receiving the call request, the terminal B rings and selects according to the incoming call prompt. As shown in FIG. 4, the prompting options include: I am calling (calling as the caller) and rejecting it. When the user chooses to answer, the process proceeds to step 205; when the user chooses to answer by the calling identity, the process proceeds to step 207; when the rejection is selected, the process proceeds to step 206;
步骤 205、 终端 B进入正常的接听流程; 当终端 A及终端 B中任意一方 挂机时, 执行步骤 206;  Step 205, the terminal B enters the normal answering process; when any one of the terminal A and the terminal B hangs up, step 206 is performed;
步骤 206、 本次呼叫终止;  Step 206, the call is terminated;
步骤 207、 终端 B向服务器 B发送身份置换请求, 并保留通话资源; 步骤 208、 服务器 B向服务器 A转发上述身份置换请求;  Step 207: The terminal B sends an identity replacement request to the server B, and reserves the call resource. Step 208: The server B forwards the identity replacement request to the server A.
步骤 209、 服务器 A向服务器 B返回响应;  Step 209: Server A returns a response to server B.
步骤 210、 服务器 B收到服务器 A的响应后向服务器 A发送确认; 步骤 211、 服务器 B向终端 B发送身份置换响应;  Step 210: After receiving the response of the server A, the server B sends an acknowledgement to the server A. Step 211: The server B sends an identity replacement response to the terminal B.
步骤 212、终端 B通过服务器 A、服务器 B向终端 A发送接收通话响应, 接收本次通话, 通话开始; 步骤 213、 任何一方挂断电话, 通话结束。 在进行计费时, 终端 A以被 叫身份参加计费, 终端 B以主叫身份参加计费。  Step 212: The terminal B sends a receiving call response to the terminal A through the server A and the server B, and receives the current call, and the call starts. Step 213: Any party hangs up the call, and the call ends. When charging is performed, terminal A participates in charging as a called identity, and terminal B participates in charging as a calling identity.
应用示例二 主被叫身份置换的方法, 包括以下步骤:  Application Example 2 The method of the primary and called identity replacement includes the following steps:
步骤 301、 用户在终端 B中存储终端 A的电话号码, 并为该号码设置接 听属性为以主叫身份接听还是以被叫身份接听。 在本示例中, 对没有设置该 属性的号码默认为以被叫身份接听; 步骤 302、 终端 A向服务器 A发起呼叫 B的呼叫请求; Step 301: The user stores the phone number of the terminal A in the terminal B, and sets the answering property for the number to answer whether the caller is answered by the calling identity or the called identity. In this example, the number for which the attribute is not set defaults to answering as the called identity; Step 302: The terminal A initiates a call request of the call B to the server A.
步骤 303、 服务器 A将上述呼叫请求发送到服务器 B;  Step 303, server A sends the above call request to server B;
步骤 304、 服务器 B向终端 B发起终端 A呼叫 B的呼叫请求;  Step 304: The server B initiates a call request of the terminal A to the terminal B to the terminal B.
步骤 305、 终端 B收到上述呼叫请求后, 根据该请求中携带的号码到通 讯簿中进行匹配, 查找出该号码的接听属性;  Step 305: After receiving the foregoing call request, the terminal B performs matching according to the number carried in the request to the communication book to find the answering attribute of the number.
步骤 306、 用户按终端 B上的接听键;  Step 306: The user presses the answer button on the terminal B.
步骤 307、 终端 B根据查找出的接听属性执行相应操作。 如果接听属性 为以被叫身份接听, 进入步骤 308, 否则进入步骤 309;  Step 307: The terminal B performs a corresponding operation according to the found answering attribute. If the answering attribute is answered as the called identity, proceed to step 308, otherwise proceed to step 309;
步骤 308、 终端 B进入正常的接听流程, 然后执行步骤 315;  Step 308, terminal B enters the normal answering process, and then step 315 is performed;
步骤 309、 终端 B向服务器 B发送身份置换请求, 并保留通话资源; 步骤 310、 服务器 B向服务器 A转发上述身份置换请求;  Step 309: The terminal B sends an identity replacement request to the server B, and reserves the call resource. Step 310: The server B forwards the identity replacement request to the server A.
步骤 311、 服务器 A向服务器 B回复响应;  Step 311: Server A replies to server B;
步骤 312、 服务器 B收到服务器 A的响应后向服务器 A发送确认; 步骤 313、 服务器 B向终端 B发送身份置换响应;  Step 312: After receiving the response of the server A, the server B sends an acknowledgement to the server A. Step 313: The server B sends an identity replacement response to the terminal B.
步骤 314、终端 B通过服务器 A、服务器 B向终端 A发送接收通话响应, 接收本次通话, 通话开始; 步骤 315、 任何一方挂断电话, 通话结束。 在进行计费时, 终端 A以被 叫身份参加计费, 终端 B以主叫身份参加计费。  Step 314: The terminal B sends a call response to the terminal A through the server A and the server B, and receives the current call, and the call starts. Step 315: If any party hangs up the call, the call ends. When charging is performed, terminal A participates in charging as a called identity, and terminal B participates in charging as a calling identity.
应用示例三 Application example three
主被叫身份置换的方法, 包括以下步骤:  The method of the primary called identity replacement includes the following steps:
步骤 401、 使用终端 B的用户向服务器 B登记终端 A的电话号码的接听 属性为主叫身份接听。 在本示例中, 对于未登记的号码, 默认为以被叫身份 接听;  Step 401: The user using the terminal B registers with the server B the answering attribute of the telephone number of the terminal A as the calling identity answering. In this example, for unregistered numbers, the default is to answer as the called party;
步骤 402、 终端 A向服务器 A发起呼叫 B的呼叫请求;  Step 402: Terminal A initiates a call request for call B to server A.
步骤 403、 服务器 A将上述呼叫请求发送到服务器 B; 步骤 404、 服务器 B收到呼叫请求后, 根据终端 B的信息分析终端 A的 号码: 如果终端 B对终端 A的号码是以被叫身份接听, 则不做额外处理, 按 照正常流程处理, 结束; 如果终端 B对终端 A的号码是以主叫身份接听, 则 执行下述步骤; Step 403, the server A sends the above call request to the server B; Step 404: After receiving the call request, the server B analyzes the number of the terminal A according to the information of the terminal B: If the number of the terminal A is answered by the called party, the terminal B does not perform additional processing, and processes according to the normal process, and ends; If the number of the terminal B is answered by the calling identity, the following steps are performed;
步骤 405、 服务器 B向服务器 A发送身份置换请求;  Step 405: The server B sends an identity replacement request to the server A.
步骤 406、服务器 B收到服务器 A的响应后,向服务器 A发送确认消息, 并向终端 B发送呼叫请求;  Step 406: After receiving the response of the server A, the server B sends an acknowledgement message to the server A, and sends a call request to the terminal B.
步骤 407、 终端 B按接听键, 通过服务器 A、 服务器 B向终端 A发送接 4丈通话响应, 接^:本次通话, 通话开始;  Step 407: The terminal B presses the answer key, and sends a call response to the terminal A through the server A and the server B, and connects to the call: the current call, and the call starts;
步骤 408、 任何一方挂断电话, 通话结束。 在进行计费时, 终端 A以被 叫身份参加计费, 终端 B以主叫身份参加计费。  Step 408: Any party hangs up and the call ends. When charging is performed, terminal A participates in charging as a called identity, and terminal B participates in charging as a calling identity.
在步骤 405中, 服务器 B向服务器 A发送身份置换请求之前, 还可以发 送消息给终端 B, 以使用户确认是否以主叫身份接听本次通话, 在收到用户 确认以主叫身份接听本次通话之后, 再向服务器 A发送身份置换请求。  In step 405, before sending the identity replacement request to the server A, the server B may also send a message to the terminal B, so that the user can confirm whether the call is answered by the calling identity, and the user is confirmed to answer the call as the calling identity. After the call, an identity replacement request is sent to server A.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合, 只要是一次通话中呼叫方以被叫身份付费 且被叫方以主叫身份付费都属于本专利的保护范围。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program instructing the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware or in the form of a software function module. The present invention is not limited to any particular form of combination of hardware and software, as long as the caller pays in the called identity and the called party pays as the calling identity in one call.
以上所述仅为本发明的优选实施例而已, 并非用于限定本发明的保护范 围。 根据本发明的发明内容, 还可有其他多种实施例, 在不背离本发明精神 改变和变形, 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 工业实用性 The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. In view of the present invention, various other modifications, equivalents, improvements, etc., should be made without departing from the spirit and scope of the invention. It is included in the scope of protection of the present invention. Industrial applicability
釆用上述实施方式后, 对于个人用户来说, 实现了真正的以被叫用户的 资费标准进行被叫付费的方式, 且操作简单易行。  With the above embodiment, for the individual user, the real way of paying the called party with the called user's tariff standard is realized, and the operation is simple and easy.

Claims

权 利 要 求 书 Claim
1、 一种主被叫身份置换的方法, 其包括:  A method for replacing a principal and a called identity, comprising:
在第一终端呼叫第二终端的过程中, 第二网元在获知主被叫双方要发生 身份置换后向第一网元发送请求; 其中, 所述第二网元是为所述第二终端提 供服务的网元, 所述第一网元是为所述第一终端提供服务的网元;  In the process of the first terminal calling the second terminal, the second network element sends a request to the first network element after the master and the called party are to be identifiable; wherein the second network element is the second terminal a network element that provides a service, where the first network element is a network element that provides a service for the first terminal;
所述第一网元在收到所述请求后向所述第二网元回复响应;  After receiving the request, the first network element replies to the second network element with a response;
所述第二网元收到所述响应后向第一网元发送确认, 在计费时对第二终 端以主叫身份进行计费; 以及  After receiving the response, the second network element sends an acknowledgement to the first network element, and performs charging on the second terminal as the calling identity during charging;
所述第一网元接收所述确认, 在计费时对所述第一终端以被叫身份进行 计费。  The first network element receives the acknowledgement, and performs charging on the first terminal with the called identity when charging.
2、 如权利要求 1所述的方法, 其还包括:  2. The method of claim 1 further comprising:
所述第二终端在通过所述第二网元收到所述第一终端发来的呼叫请求 时, 向用户提示是否需要进行身份置换;  When the second terminal receives the call request sent by the first terminal by using the second network element, the second terminal prompts the user whether identity replacement is required;
在收到用户发来的身份置换命令时, 所述第二终端向所述第二网元发送 所述身份置换请求;  Receiving, by the second terminal, the identity replacement request to the second network element, when receiving the identity replacement command sent by the user;
所述第二网元收到所述身份置换请求时, 获知主被叫双方要发生身份置 换。  When the second network element receives the identity replacement request, it is learned that both the calling party and the called party are to be replaced.
3、 如权利要求 1所述的方法, 其还包括:  3. The method of claim 1 further comprising:
在所述第二终端中为需要进行身份置换的号码信息预设一标识信息; 所述第二终端在通过所述第二网元收到所述第一终端发来的呼叫请求 时, 判断本终端是否保存有该呼叫请求中携带的第一终端的号码信息且已为 该号码信息设置所述标识信息; 若是, 则向所述第二网元发送身份置换请求; 所述第二网元收到所述身份置换请求时, 获知主被叫双方要发生身份置 换。  Determining, in the second terminal, an identifier information for the number information that needs to be used for identity replacement; the second terminal determining the present when receiving the call request sent by the first terminal by using the second network element Whether the terminal saves the number information of the first terminal carried in the call request and sets the identifier information for the number information; if yes, sends an identity replacement request to the second network element; Upon the identity replacement request, it is known that both the calling party and the called party are to be replaced.
4、 如权利要求 1所述的方法, 其还包括:  4. The method of claim 1 further comprising:
所述第二网元中预设有使用第二终端的用户定制的需要进行身份置换的 号码信息; 所述第二网元在收到所述第一终端发来的呼叫请求时, 根据所述呼叫请 求中携带的第一终端的号码信息, 判断是否需要进行身份置换; 若需要, 即 获知主被叫双方要发生身份置换。 The second network element is pre-set with number information customized by the user using the second terminal for identity replacement; When receiving the call request sent by the first terminal, the second network element determines, according to the number information of the first terminal carried in the call request, whether identity replacement is required; if necessary, the master is informed Call the two sides to undergo an identity replacement.
5、 如权利要求 2或 3所述的方法, 其还包括:  5. The method of claim 2 or 3, further comprising:
所述第二终端除向所述第二网元发送身份置换请求之外, 还为本次呼叫 保留通话资源;  The second terminal reserves a call resource for the call, in addition to sending the identity replacement request to the second network element;
所述第二网元在收到所述响应后, 向所述第二终端发送身份置换确认; 所述第二终端在收到所述身份置换确认后, 接收本次通话, 与所述第一 终端开始通话。  After receiving the response, the second network element sends an identity replacement confirmation to the second terminal; after receiving the identity replacement confirmation, the second terminal receives the current call, and the first The terminal starts talking.
6、 如权利要求 4所述的方法, 其中:  6. The method of claim 4, wherein:
所述第二网元在获知主被叫双方要发生身份置换后向第一网元发送请求 的步骤包括:  The step of the second network element sending a request to the first network element after learning that the calling party and the called party are to be replaced by the identity includes:
所述第二网元在获知主被叫双方要发生身份置换后, 先向所述第二终端 发送确认是否以主叫身份进行接听的请求; 在收到所述第二终端回复的以主 叫身份进行接听的确认后, 再向所述第一网元发送所述请求。  After the second network element learns that the calling and called parties want to perform identity replacement, first sends a request to the second terminal to confirm whether to answer by the calling identity; and when the second terminal receives the reply, the calling party After the identity is acknowledged, the request is sent to the first network element.
7、 一种主被叫身份置换的系统, 其包括: 为第一终端服务的第一网元, 及为第二终端服务的第二网元;  7. A system for primary and called identity replacement, comprising: a first network element serving a first terminal, and a second network element serving a second terminal;
所述第一网元包括第一装置和第二装置, 所述第二网元包括第三装置和 第四装置, 其中:  The first network element includes a first device and a second device, and the second network element includes a third device and a fourth device, where:
所述第三装置设置为: 在所述第一终端呼叫所述第二终端的过程中, 在 获知主被叫双方要发生身份置换后向所述第一网元发送请求;  The third device is configured to: when the first terminal calls the second terminal, send a request to the first network element after learning that the calling party and the called party are to be replaced by the identity;
所述第一装置设置为: 在收到所述请求后向所述第二网元回复响应; 所述第四装置设置为: 收到所述响应后向所述第一网元发送确认, 并在 计费时对所述第二终端以主叫身份进行计费;  The first device is configured to: reply to the second network element after receiving the request; the fourth device is configured to: after receiving the response, send an acknowledgement to the first network element, and Charging the second terminal with the calling identity during charging;
所述第二装置设置为: 接收所述确认, 在计费时对所述第一终端以被叫 身份进行计费。  The second device is configured to: receive the acknowledgement, and charge the first terminal with the called identity when charging.
8、 如权利要求 7所述的系统, 其中:  8. The system of claim 7 wherein:
所述第三装置还设置为: 在收到所述第二终端发来的身份置换请求时, 获知主被叫双方要发生身份置换; The third device is further configured to: when receiving an identity replacement request sent by the second terminal, Knowing that the calling and called parties are subject to identity replacement;
其中, 所述身份置换请求是所述第二终端在通过所述第二网元收到所述 第一终端发来的呼叫请求时, 向用户提示是否需要进行身份置换, 并在收到 用户发来的身份置换命令时, 向所述第二网元发送的。  The identity replacement request is that when the second terminal receives the call request sent by the first terminal by using the second network element, the second terminal prompts the user whether identity replacement is required, and receives the user When the incoming identity replacement command is sent to the second network element.
9、 如权利要求 7所述的系统, 其中:  9. The system of claim 7 wherein:
所述第三装置还设置为: 在收到所述第二终端发来的身份置换请求时, 获知主被叫双方要发生身份置换;  The third device is further configured to: when receiving the identity replacement request sent by the second terminal, know that both the calling party and the called party are to be replaced;
其中, 所述身份置换请求是所述第二终端在通过所述第二网元收到所述 第一终端发来的呼叫请求时, 判断出本终端保存有该呼叫请求中携带的第一 终端的号码信息且已为该号码信息设置需要进行身份置换的标识信息时向所 述第二网元发送的。  The identity replacement request is that when the second terminal receives the call request sent by the first terminal by using the second network element, it is determined that the terminal stores the first terminal carried in the call request. The number information is sent to the second network element when the identification information of the identity replacement is set for the number information.
10、 如权利要求 7所述的系统, 其中:  10. The system of claim 7 wherein:
所述第三装置中预设有使用第二终端的用户定制的需要进行身份置换的 号码信息;  The third device is pre-set with number information customized by the user using the second terminal for identity replacement;
所述第三装置还设置为:  The third device is further configured to:
在收到所述第一终端发来的呼叫请求时, 根据所述呼叫请求中携带的第 一终端的号码信息, 判断是否需要进行身份置换; 若需要, 即获知主被叫双 方要发生身份置换。  When receiving the call request sent by the first terminal, determining, according to the number information of the first terminal carried in the call request, whether identity replacement is required; if necessary, knowing that the calling party and the called party are to undergo identity replacement .
11、 如权利要求 8或 9所述的系统, 其中:  11. The system of claim 8 or 9, wherein:
所述第四装置还设置为: 在收到所述响应后, 向所述第二终端发送身份 置换确认。  The fourth device is further configured to: after receiving the response, send an identity replacement confirmation to the second terminal.
12、 如权利要求 10所述的系统, 其中:  12. The system of claim 10, wherein:
所述第三装置是设置为以如下方式在获知主被叫双方要发生身份置换后 向第一网元发送请求:  The third device is configured to send a request to the first network element after learning that the calling party and the called party are to undergo identity replacement in the following manner:
所述第二网元中的第一装置用于在获知主被叫双方要发生身份置换后, 先向所述第二终端发送确认是否以主叫身份进行接听的请求; 在收到所述第 二终端回复的以主叫身份进行接听的确认后, 再向所述第一网元发送所述请 求。  The first device in the second network element is configured to send, to the second terminal, a request for confirming whether to answer by the calling identity after obtaining the identity replacement of the calling and called parties; After the second terminal replies with the confirmation of the caller identity, the request is sent to the first network element.
PCT/CN2011/081685 2011-03-24 2011-11-02 Method and system for switching identities of calling and called parties WO2012126245A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011100719603A CN102694927A (en) 2011-03-24 2011-03-24 Method and system for switching identities of calling and called parties
CN201110071960.3 2011-03-24

Publications (1)

Publication Number Publication Date
WO2012126245A1 true WO2012126245A1 (en) 2012-09-27

Family

ID=46860202

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/081685 WO2012126245A1 (en) 2011-03-24 2011-11-02 Method and system for switching identities of calling and called parties

Country Status (2)

Country Link
CN (1) CN102694927A (en)
WO (1) WO2012126245A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103987010A (en) * 2014-05-15 2014-08-13 蒋斌 Control method of calling-called combination conversation in mobile terminal and control devices

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660811A (en) * 2015-02-09 2015-05-27 深圳市艾优尼科技有限公司 Terminal and system
CN108206994B (en) * 2016-12-16 2021-06-18 展讯通信(上海)有限公司 Method and device for modifying charging mode, mobile terminal and network side equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1157681A (en) * 1994-07-14 1997-08-20 英国电讯公司 Flexible rating of telecommunication calls
WO2004098211A1 (en) * 2003-05-02 2004-11-11 Ari Kahn Method of operating a telephony network
CN1692613A (en) * 2002-11-14 2005-11-02 权义泽 Method for collect call service based on voip technology and system thereof
CN101730025A (en) * 2008-10-27 2010-06-09 华为技术有限公司 Method and system for realizing called party confirmed payment service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1157681A (en) * 1994-07-14 1997-08-20 英国电讯公司 Flexible rating of telecommunication calls
CN1692613A (en) * 2002-11-14 2005-11-02 权义泽 Method for collect call service based on voip technology and system thereof
WO2004098211A1 (en) * 2003-05-02 2004-11-11 Ari Kahn Method of operating a telephony network
CN101730025A (en) * 2008-10-27 2010-06-09 华为技术有限公司 Method and system for realizing called party confirmed payment service

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103987010A (en) * 2014-05-15 2014-08-13 蒋斌 Control method of calling-called combination conversation in mobile terminal and control devices

Also Published As

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

Similar Documents

Publication Publication Date Title
US20070201646A1 (en) Callback Service
US20040249649A1 (en) Payment method and system for telecommunications
US20050190902A1 (en) Network support for billing customer calls according to tailored billing lists
CN1863252B (en) Method and system for adding special purpose number for user
JP5878180B2 (en) Service broker to prevent voicemail tromboning
JP2005218113A (en) Interruption of active call of mobile communication instrument
CN106470194A (en) Networking telephone connection processing method and device
US20140341364A1 (en) Systems and methods of providing communications services
JP4814300B2 (en) Connection control method and communication system
WO2012126245A1 (en) Method and system for switching identities of calling and called parties
EP2986040B1 (en) Call service method and system, system terminal
US20080102805A1 (en) Method and system for service provider awareness
Lin et al. Charging for Mobile All-IP Telecommunications
US20050025296A1 (en) Wireless terminal priority call alerting
US10973059B2 (en) Systems and methods of providing communications services
WO2016155251A1 (en) Call control method and service control apparatus
JP5596737B2 (en) Call rejection service provision system
JP2008147724A (en) International communication call notification system for overseas roaming terminal
EP3160118B1 (en) System and method for setting up a group call
US8019062B2 (en) Method and system for transferring an administrator and associated charges during a multi-way call
US20130114590A1 (en) Systems and methods of providing communications services
CN102387263A (en) Method and system for making debit card service call as called party, and application server (AS)
JP2002320263A (en) Service unsubscribing radio telephone set
US11870821B1 (en) Conferencing
KR20050082882A (en) Collect call service for register calling subscribers

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11861876

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11861876

Country of ref document: EP

Kind code of ref document: A1