







技术领域technical field
本发明涉及通信领域,尤其涉及一种通信过程中的呼叫处理方法和装置。The present invention relates to the communication field, in particular to a call processing method and device in the communication process.
背景技术Background technique
目前,很多用户在实际通话中,可能存在如下情况:当用户A拨打用户B的时候,可能因为各种原因,例如用户B拨打用户A的资费更加便宜,存在用户B拒接电话,再重新拨打用户A的情况。在这种情况下,网络提供的有效服务还是用户B拨打用户A,因此用户A拨打用户B的一个接续是不提供服务的,也就是不给运营商和客户创造价值,造成网络容量的浪费。At present, many users may have the following situations during actual calls: when user A calls user B, there may be various reasons, such as the cheaper rate for user B to call user A, and user B refuses to answer the call and then dials again The case of user A. In this case, the effective service provided by the network is still that user B calls user A, so a connection made by user A to user B does not provide service, that is, it does not create value for operators and customers, resulting in a waste of network capacity.
发明内容Contents of the invention
本发明实施例提供一种通信过程中的呼叫处理方法和装置,以为用户提供更加有资费优势的服务,同时避免网络资源浪费。Embodiments of the present invention provide a call processing method and device in a communication process, so as to provide users with more cost-effective services while avoiding waste of network resources.
当本发明实施例的通信过程中的呼叫处理方法和装置应用于网络侧,且主叫终端设备和被叫终端设备的交换中心和计费中心都为同一个时:When the call processing method and device in the communication process of the embodiment of the present invention are applied to the network side, and the switching center and billing center of the calling terminal device and the called terminal device are the same:
一方面,本发明实施例提供了一种通信过程中的呼叫处理方法,所述方法包括:接收被叫终端设备发送的被叫号码消息,所述被叫号码消息包括本次呼叫的主叫终端设备的电话号码;根据所述被叫号码消息将本次呼叫的所述被叫终端设备切换为主叫方,将本次呼叫的所述主叫终端设备切换为被叫方;向所述主叫终端设备发送主叫号码消息,以使所述主叫终端设备根据所述主叫号码消息进行主被叫的重新设置,所述主叫号码消息中包括所述被叫终端设备的电话号码。On the one hand, an embodiment of the present invention provides a call processing method during a communication process, the method comprising: receiving a called number message sent by a called terminal device, and the called number message includes the number of the calling terminal for this call. The phone number of the device; switch the called terminal device of this call to the calling party according to the called number message, and switch the calling terminal device of this call to the called party; The calling terminal device sends a calling number message, so that the calling terminal device resets the calling party and called party according to the calling number message, and the calling number message includes the phone number of the called terminal device.
另一方面,本发明实施例还提供了一种通信过程中的呼叫处理装置,所述装置包括:接收单元,用于接收被叫终端设备发送的被叫号码消息,所述被叫号码消息包括本次呼叫的主叫终端设备的电话号码;切换单元,用于根据所述被叫号码消息将本次呼叫的所述被叫终端设备切换为主叫方,将本次呼叫的所述主叫终端设备切换为被叫方;发送单元,用于向所述主叫终端设备发送主叫号码消息,以使所述主叫终端设备根据所述主叫号码消息进行主被叫的重新设置,所述主叫号码消息中包括所述被叫终端设备的电话号码。On the other hand, an embodiment of the present invention also provides a call processing device in a communication process, the device includes: a receiving unit, configured to receive a called number message sent by a called terminal device, and the called number message includes The phone number of the calling terminal device of this call; a switching unit, configured to switch the called terminal device of this call to the calling party according to the called number message, and switch the calling terminal device of this call The terminal device is switched to the called party; the sending unit is configured to send a calling number message to the calling terminal device, so that the calling terminal device resets the calling and called party according to the calling number message, so The calling number message includes the phone number of the called terminal device.
当本发明实施例的通信过程中的呼叫处理方法和装置应用于网络侧,且主叫终端设备和被叫终端设备的交换中心和计费中心都不是同一个时:When the call processing method and device in the communication process of the embodiment of the present invention are applied to the network side, and the switching centers and billing centers of the calling terminal equipment and the called terminal equipment are not the same:
一方面,本发明实施例提供了一种通信过程中的呼叫处理方法,所述方法应用于被叫终端设备的交换中心,所述方法包括:接收被叫终端设备发送的被叫号码消息,所述被叫号码消息包括本次呼叫的主叫终端设备的电话号码;根据所述被叫号码消息将本次呼叫的所述被叫终端设备切换为主叫方;向主叫终端设备的交换中心发送被叫号码消息,以便主叫终端设备的交换中心将本次呼叫的所述主叫终端设备切换为被叫方。On the one hand, an embodiment of the present invention provides a call processing method in a communication process, the method is applied to a switching center of a called terminal device, and the method includes: receiving a called number message sent by the called terminal device; The called number message includes the telephone number of the calling terminal equipment of this call; according to the called number message, the called terminal equipment of this call is switched to the calling party; the switching center of the calling terminal equipment The called number message is sent, so that the switching center of the calling terminal device switches the calling terminal device of this call to the called party.
另一方面,本发明实施例还提供了一种通信过程中的呼叫处理装置,所述装置包含于被叫终端设备的交换中心,所述装置包括:接收单元,用于接收被叫终端设备发送的被叫号码消息,所述被叫号码消息包括本次呼叫的主叫终端设备的电话号码;切换单元,用于根据所述被叫号码消息将本次呼叫的所述被叫终端设备切换为主叫方;发送单元,用于向主叫终端设备的交换中心发送被叫号码消息,以便主叫终端设备的交换中心将本次呼叫的所述主叫终端设备切换为被叫方。On the other hand, the embodiment of the present invention also provides a call processing device in the communication process, the device is included in the switching center of the called terminal equipment, and the device includes: a receiving unit, configured to receive the call processing device sent by the called terminal device The called number message, the called number message includes the phone number of the calling terminal device for this call; the switching unit is configured to switch the called terminal device for this call according to the called number message to The calling party; the sending unit, configured to send the called number message to the switching center of the calling terminal device, so that the switching center of the calling terminal device switches the calling terminal device of this call to the called party.
一方面,本发明实施例提供了一种通信过程中的呼叫处理方法,所述方法应用于主叫终端设备的交换中心,所述方法包括:接收被叫终端设备的交换中心发送的被叫号码消息,所述被叫号码消息包括本次呼叫的主叫终端设备的电话号码;根据所述被叫号码消息将本次呼叫的所述主叫终端设备切换为被叫方;向主叫终端设备发送主叫号码消息,以使所述主叫终端设备根据所述主叫号码消息进行主被叫的重新设置,所述主叫号码消息中包括所述被叫终端设备的电话号码。On the one hand, the embodiment of the present invention provides a call processing method in the communication process, the method is applied to the switching center of the calling terminal device, and the method includes: receiving the called number sent by the switching center of the called terminal device message, the called number message includes the phone number of the calling terminal device of this call; according to the called number message, the calling terminal device of this call is switched to the called party; Sending a calling number message, so that the calling terminal device resets the calling party and called party according to the calling number message, and the calling number message includes the phone number of the called terminal device.
另一方面,本发明实施例还提供了一种通信过程中的呼叫处理装置,所述装置包含于主叫终端设备的交换中心,所述装置包括:接收单元,用于接收被叫终端设备的交换中心发送的被叫号码消息,所述被叫号码消息包括本次呼叫的主叫终端设备的电话号码;切换单元,用于根据所述被叫号码消息将本次呼叫的所述主叫终端设备切换为被叫方;发送单元,用于向主叫终端设备发送主叫号码消息,以使所述主叫终端设备根据所述主叫号码消息进行主被叫的重新设置,所述主叫号码消息中包括所述被叫终端设备的电话号码。On the other hand, the embodiment of the present invention also provides a call processing device in the communication process, the device is included in the switching center of the calling terminal equipment, and the device includes: a receiving unit, used to receive the called terminal equipment The called number message sent by the switching center, the called number message includes the phone number of the calling terminal device of this call; the switching unit is used to transfer the calling terminal device of this call to the phone number of the calling terminal device according to the called number message The device is switched to the called party; the sending unit is configured to send a calling number message to the calling terminal device, so that the calling terminal device resets the calling and called party according to the calling number message, and the calling terminal device The number message includes the phone number of the called terminal device.
当本发明实施例的通信过程中的呼叫处理方法和装置应用于被叫终端设备时:When the call processing method and device in the communication process of the embodiment of the present invention are applied to the called terminal device:
一方面,本发明实施例提供了一种通信过程中的呼叫处理方法,所述方法包括:在一次呼叫中,如果进行主被叫切换,则被叫终端设备向网络侧发送被叫号码消息,所述被叫号码消息中包含有本次呼叫的主叫终端设备的电话号码,以使网络侧根据所述被叫号码消息将本次呼叫的所述被叫终端设备切换为主叫方,将本次呼叫的所述主叫终端设备切换为被叫方;所述被叫终端设备将自身设置为主叫方,将本次呼叫的主叫终端设备设置为被叫方。On the one hand, an embodiment of the present invention provides a call processing method during a communication process, the method comprising: in a call, if calling and called switching is performed, the called terminal device sends a called number message to the network side, The called number message includes the phone number of the calling terminal device of this call, so that the network side switches the called terminal device of this call to the calling party according to the called number message, and the The calling terminal device of this call is switched to the called party; the called terminal device sets itself as the calling party, and sets the calling terminal device of this call as the called party.
另一方面,本发明实施例还提供了一种通信过程中的呼叫处理装置,所述装置包括:发送单元,用于在一次呼叫中,进行主被叫切换时,向网络侧发送被叫号码消息,所述被叫号码消息中包含有主叫终端设备的电话号码,以使网络侧根据所述被叫号码消息将本次呼叫的所述被叫终端设备切换为主叫方,将本次呼叫的所述主叫终端设备切换为被叫;设置单元,用于将所述装置设置为主叫方,将本次呼叫的所述主叫终端设备设置为被叫方。On the other hand, the embodiment of the present invention also provides a call processing device in the communication process, the device includes: a sending unit, configured to send the called number to the network side when switching between the calling party and the called party during a call. message, the called number message contains the phone number of the calling terminal device, so that the network side switches the called terminal device of this call to the calling party according to the called number message, and the The calling terminal device of the call is switched to the called party; a setting unit is configured to set the device as the calling party, and set the calling terminal device of this call as the called party.
当本发明实施例的通信过程中的呼叫处理方法和装置应用于主叫终端设备时:When the call processing method and device in the communication process of the embodiment of the present invention are applied to the calling terminal device:
一方面,本发明实施例提供了一种通信过程中的呼叫处理方法,所述方法包括:在一次呼叫中,主叫终端设备接收网络侧发送的主叫号码消息,所述主叫号码消息中包含有本次呼叫的被叫终端设备的电话号码;所述主叫终端设备根据所述主叫号码消息将本次呼叫的被叫终端设备设置为主叫方,将自身设置为被叫方。On the one hand, an embodiment of the present invention provides a call processing method during communication, the method comprising: in a call, the calling terminal device receives a calling number message sent by the network side, and the calling number message in the calling number message Contains the phone number of the called terminal device of this call; the calling terminal device sets the called terminal device of this call as the calling party and sets itself as the called party according to the calling number message.
另一方面,本发明实施例还提供了一种通信过程中的呼叫处理装置,所述装置包括:接收单元,用于在一次呼叫中,接收网络侧发送的主叫号码消息,所述主叫号码消息中包含有本次呼叫的被叫终端设备的电话号码;设置单元,用于根据所述主叫号码消息将本次呼叫的被叫终端设备设置为主叫方,将所述装置设置为被叫方。On the other hand, an embodiment of the present invention also provides a call processing device in a communication process, the device includes: a receiving unit, configured to receive a calling number message sent by the network side during a call, and the calling party The number message contains the telephone number of the called terminal equipment of this call; the setting unit is used to set the called terminal equipment of this call as the calling party according to the calling number message, and set the device to called party.
通过本发明实施例提供的通信过程中的呼叫处理方法和装置,可以在主被叫通话过程中,也即一次呼叫中自动进行主被叫身份的切换,而不需要结束一个旧的接续再启动一个新的接续,这样既直接为客户提供了服务,又节省了网络资源。Through the call processing method and device in the communication process provided by the embodiment of the present invention, the identity of the calling party and the called party can be automatically switched during the calling process, that is, in a call, without ending an old connection and restarting. A new connection, which not only directly provides services to customers, but also saves network resources.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,并不构成对本发明的限定。在附图中:The drawings described here are used to provide further understanding of the present invention, constitute a part of the application, and do not limit the present invention. In the attached picture:
图1为现有的通话网络的组成示意图;FIG. 1 is a schematic diagram of the composition of an existing communication network;
图2为本发明实施例应用到网络侧的方法流程图;FIG. 2 is a flowchart of a method applied to the network side according to an embodiment of the present invention;
图3为本发明实施例应用到网络侧的装置组成框图;FIG. 3 is a block diagram of a device composition applied to the network side according to an embodiment of the present invention;
图4为本发明实施例应用到被叫的移动交换中心的方法流程图;Fig. 4 is the method flowchart that the embodiment of the present invention is applied to the called mobile switching center;
图5为本发明实施例应用到被叫的移动交换中心的装置组成框图;Fig. 5 is a block diagram of the device composition of the embodiment of the present invention applied to the called mobile switching center;
图6为本发明实施例应用到主叫的移动交换中心的方法流程图;Fig. 6 is the flow chart of the method of the embodiment of the present invention applied to the calling mobile switching center;
图7为本发明实施例应用到主叫的移动交换中心的装置组成框图;Fig. 7 is a block diagram of the device composition of the embodiment of the present invention applied to the calling mobile switching center;
图8为本发明实施例应用到被叫移动设备的方法流程图;FIG. 8 is a flow chart of a method applied to a called mobile device according to an embodiment of the present invention;
图9为本发明实施例应用到被叫移动设备的装置组成框图;FIG. 9 is a block diagram of a device composition applied to a called mobile device according to an embodiment of the present invention;
图10为本发明实施例应用到主叫移动设备的方法流程图;FIG. 10 is a flowchart of a method applied to a calling mobile device according to an embodiment of the present invention;
图11为本发明实施例应用到主叫移动设备的装置组成框图;FIG. 11 is a block diagram of a device composition applied to a calling mobile device according to an embodiment of the present invention;
图12为本发明实施例一个具体实施方式的流程图。Fig. 12 is a flow chart of a specific implementation of the embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚明白,下面结合实施例和附图,对本发明实施例做进一步详细说明。在此,本发明的示意性实施例及其说明用于解释本发明,但并不作为对本发明的限定。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the embodiments and the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.
图1为现有的通话网络的组成示意图,请参照图1,在现有的通话网络中,包括:主叫终端设备11、主叫终端设备的交换中心12、被叫终端设备13以及被叫终端设备的交换中心14,其中,主叫终端设备的交换中心12和被叫终端设备的交换中心14统称为网络侧。Figure 1 is a schematic diagram of the composition of the existing call network, please refer to Figure 1, in the existing call network, including: calling
其中,在图1所示的通话网络中,网络侧还可以包括主叫终端设备的计费中心15和被叫终端设备的计费中心16,该计费中心15和16用于确认主被叫,以进行相应的计费。Wherein, in the call network shown in FIG. 1 , the network side may also include a
其中,主叫终端设备的移动交换中心12和被叫终端设备的交换中心14可以为同一个,也可以不同;另外,主叫终端设备的计费中心15和被叫终端设备的计费中心16可以为同一个,也可以不同,本实施例并不以此作为限制。Wherein, the
其中,主叫终端设备和被叫终端设备可以是移动终端设备,例如手机,也可以是有线终端设备,例如家用固定电话,或者一个是移动终端设备一个是有线终端设备,本实施例并不以此作为限制,相应的,该终端设备的交换中心也可以为移动交换中心MSC或者PSTN交换机。在以下的实施例中,以主叫终端设备和被叫终端设备都为移动设备,且其交换中心都为移动交换中心为例进行说明。Wherein, the calling terminal device and the called terminal device may be mobile terminal devices, such as mobile phones, or wired terminal devices, such as home fixed telephones, or one is a mobile terminal device and the other is a wired terminal device. As a limitation, correspondingly, the switching center of the terminal device may also be a mobile switching center MSC or a PSTN switch. In the following embodiments, both the calling terminal device and the called terminal device are mobile devices, and their switching centers are mobile switching centers as an example for illustration.
图2为本发明实施例提供的一种通信过程中的呼叫处理方法的流程图,该方法应用于网络侧的移动交换中心,在本实施例中,主叫移动设备的移动交换中心与被叫移动设备的移动交换中心为同一个,相应的,主叫移动设备的计费中心和被叫移动设备的计费中心也为同一个,请参照图2,该方法包括:Fig. 2 is a flowchart of a call processing method in a communication process provided by an embodiment of the present invention. The method is applied to a mobile switching center on the network side. In this embodiment, the mobile switching center of the calling mobile device and the called party The mobile switching center of the mobile device is the same, and correspondingly, the billing center of the calling mobile device and the billing center of the called mobile device are also the same, please refer to Figure 2, the method includes:
步骤201:在一次呼叫中,网络侧的移动交换中心接收到被叫移动设备发送的被叫号码(called party number)消息,所述被叫号码消息包括本次呼叫的主叫移动设备的电话号码;Step 201: During a call, the mobile switching center on the network side receives a called party number (called party number) message sent by the called mobile device, and the called party number message includes the phone number of the calling mobile device for this call ;
其中,当某一用户要发起呼叫时,作为主叫,该用户的移动设备发出的呼叫请求消息传送到网络侧的移动交换中心,该呼叫请求消息中包括了被叫移动设备的电话号码,网络侧的移动交换中心根据该呼叫请求消息,将该主叫移动设备的电话号码通过主叫号码(calling party number)消息发送到被叫移动设备,被叫移动设备上会显示该主叫移动设备的电话号码,提示被叫用户有来电信息。至此,网络侧为主叫用户设备和被叫用户设备建立了通话链接,也即完成了一个呼叫的接续。Wherein, when a certain user wants to initiate a call, as the calling party, the call request message sent by the user's mobile device is transmitted to the mobile switching center on the network side, and the call request message includes the phone number of the called mobile device, and the network According to the call request message, the mobile switching center on the side sends the phone number of the calling mobile device to the called mobile device through a calling number (calling party number) message, and the called mobile device will display the phone number of the calling mobile device. Phone number, prompting the called user to have incoming call information. So far, the network side has established a call connection between the calling user equipment and the called user equipment, that is, a call connection is completed.
其中,如果被叫移动设备支持主被叫切换的功能,则在本次呼叫过程中,例如呼叫一开始或者呼叫中间,通过被叫用户对该功能的选择,而使得该被叫移动设备启动主被叫切换的流程。此时,被叫移动设备向网络侧的移动交换中心发送被叫号码消息,通过网络侧的移动交换中心进行主被叫的切换,其中,该被叫号码消息中包括了主叫移动设备的电话号码。并且,该被叫移动设备还可以重新设置此次呼叫的主被叫,这将在以下的实施例中加以说明。Wherein, if the called mobile equipment supports the function of calling and called switching, then in the current call process, for example, at the beginning of the call or in the middle of the call, the called user selects the function to make the called mobile equipment start the calling The called handover process. At this time, the called mobile device sends a called number message to the mobile switching center on the network side, and the calling and called party are switched through the mobile switching center on the network side, wherein the called number message includes the phone number of the calling mobile device Number. Moreover, the called mobile device can also reset the caller and called party of this call, which will be described in the following embodiments.
步骤202:网络侧的移动交换中心根据所述被叫号码消息将本次呼叫的所述被叫移动设备切换为主叫方,将本次呼叫的所述主叫移动设备切换为被叫方;Step 202: The mobile switching center on the network side switches the called mobile device of this call to the calling party according to the called number message, and switches the calling mobile device of this call to the called party;
其中,网络侧的移动交换中心在本次呼叫中接收到这一被叫号码消息,则说明被叫用户请求切换成主叫,网络侧随即进行此次呼叫的主被叫的切换。Wherein, when the mobile switching center on the network side receives the called number message in this call, it means that the called user requests to be switched to the calling party, and the network side immediately switches between the calling party and the called party of this call.
在一个实施例中,网络侧通过移动交换中心向计费中心发送主被叫切换消息来完成此次呼叫的主被叫切换。In one embodiment, the network side completes the calling and calling switching of this call by sending a calling and calling switching message to the billing center through the mobile switching center.
其中,该主被叫切换消息可以仅包括所述被叫移动设备呼叫所述主叫移动设备的信息,还可以进一步包括结束所述主叫移动设备呼叫所述被叫移动设备的信息,以告知计费中心主叫移动设备呼叫被叫移动设备的流程已经结束。Wherein, the calling and called switching message may only include information that the called mobile device calls the calling mobile device, and may further include information that the calling mobile device ends calling the called mobile device, so as to inform The process in which the calling mobile device calls the called mobile device in the billing center has ended.
其中,该主被叫切换消息可以通过现有的话单来实现,本实施例并不以此作为限制。Wherein, the switching message of the calling party and the called party can be realized through the existing bill, which is not limited in this embodiment.
步骤203:网络侧的移动交换中心向所述主叫移动设备发送主叫号码消息,以使所述主叫移动设备根据所述主叫号码消息进行主被叫的重新设置,所述主叫号码消息中包括所述被叫移动设备的电话号码。Step 203: The mobile switching center on the network side sends a calling number message to the calling mobile device, so that the calling mobile device resets the calling and called party according to the calling number message, and the calling number The message includes the phone number of the called mobile device.
其中,网络侧在该主被叫切换的过程中,还将被叫移动设备的电话号码通过主叫号码消息发送到主叫移动设备,以便主叫移动设备对此次呼叫的主被叫进行重新设置,这将在以下的实施例中加以说明。Wherein, the network side also sends the phone number of the called mobile device to the calling mobile device through the calling number message in the process of the calling and called party handover, so that the calling mobile device can reconnect the calling and called parties of this call. settings, which will be described in the following examples.
通过本发明实施例提供的通信过程中的呼叫处理方法,在一次呼叫中,如果被叫用户拨打主叫用户更加有资费优势,可以在主叫用户拨打被叫用户的时候,通过该方法切换主被叫,为用户提供更加有资费优势的服务,同时节省网络资源。Through the call processing method in the communication process provided by the embodiment of the present invention, in a call, if the called user dials the calling user, there is a tariff advantage. When the calling user dials the called user, the method can be used to switch the call Called, to provide users with more cost-effective services, while saving network resources.
图3为本发明实施例提供的通信过程中的呼叫处理装置的组成框图,该装置包含于移动交换中心,请参照图3,该装置包括:Fig. 3 is a composition block diagram of the call processing device in the communication process provided by the embodiment of the present invention, the device is included in the mobile switching center, please refer to Fig. 3, the device includes:
接收单元31,用于接收被叫移动设备发送的被叫号码消息时,所述被叫号码消息包括本次呼叫的所述主叫移动设备的电话号码;The receiving
切换单元32,用于根据所述被叫号码消息将本次呼叫的所述被叫移动设备切换为主叫方,将本次呼叫的所述主叫移动设备切换为被叫方;A switching
在一个实施例中,该切换单元32包括:In one embodiment, the switching
发送模块321,用于向计费中心发送主被叫切换消息,所述主被叫切换消息包括被叫移动设备呼叫主叫移动设备的信息,或者所述主被叫切换消息包括结束主叫移动设备呼叫被叫移动设备的信息以及所述被叫移动设备呼叫主叫移动设备的信息。The sending
发送单元33,用于向所述主叫移动设备发送主叫号码消息,以使所述主叫移动设备根据所述主叫号码消息进行主被叫的重新设置,所述主叫号码消息中包括所述被叫移动设备的电话号码。A sending
本实施例的装置的各组成部分分别用于实现前述通信过程中的呼叫处理方法的各步骤,由于在图2所示的方法实施例中,已经对该通信过程中的呼叫处理方法进行了详细说明,在此不再赘述。The components of the device in this embodiment are respectively used to implement the steps of the call processing method in the aforementioned communication process, since in the method embodiment shown in Figure 2, the call processing method in the communication process has been described in detail description and will not be repeated here.
通过本实施例的通信过程中的呼叫处理装置,在网络侧的移动交换中心收到被叫移动设备发送的包含有主叫移动设备的电话号码的被叫号码消息之后,进行主被叫切换,为用户提供更加有资费优势的服务。Through the call processing device in the communication process of this embodiment, after the mobile switching center on the network side receives the called number message containing the phone number of the calling mobile device sent by the called mobile device, switching between the calling party and the called party is performed. Provide users with more cost-effective services.
图4为本发明实施例提供的一种通信过程中的呼叫处理方法的流程图,该方法应用于网络侧的被叫移动设备的移动交换中心,在本实施例中,主叫移动设备的移动交换中心与被叫移动设备的以及交换中心不是同一个,相应的,主叫移动设备的计费中心和被叫移动设备的计费中心也不是同一个,请参照图4,该方法包括:FIG. 4 is a flow chart of a call processing method in a communication process provided by an embodiment of the present invention. The method is applied to the mobile switching center of the called mobile device on the network side. In this embodiment, the mobile of the calling mobile device The switching center is not the same as that of the called mobile device and the switching center. Correspondingly, the billing center of the calling mobile device is not the same as the billing center of the called mobile device. Please refer to Figure 4. The method includes:
步骤401:被叫移动设备的移动交换中心接收被叫移动设备发送的被叫号码消息,所述被叫号码消息包括本次呼叫的主叫移动设备的电话号码;Step 401: The mobile switching center of the called mobile device receives the called number message sent by the called mobile device, and the called number message includes the phone number of the calling mobile device for this call;
其中,当被叫移动设备的移动交换中心接收到被叫移动设备发送的被叫号码消息后,确认需要进行主被叫的切换,启动主被叫切换流程。Wherein, when the mobile switching center of the called mobile device receives the called number message sent by the called mobile device, it confirms that it is necessary to switch between the calling party and the called party, and starts the handover process of the calling party and the called party.
其中,本实施例的方法与图2所示实施例的方法大致相同,相同部分的技术内容不再赘述。Wherein, the method in this embodiment is substantially the same as the method in the embodiment shown in FIG. 2 , and the technical content of the same parts will not be repeated here.
步骤402:被叫移动设备的移动交换中心根据所述被叫号码消息将本次呼叫的所述被叫移动设备切换为主叫方;Step 402: The mobile switching center of the called mobile device switches the called mobile device of this call to the calling party according to the called number message;
其中,被叫移动设备的移动交换中心可以通过向被叫移动设备的计费中心发送主被叫切换消息来完成上述被叫到主叫的切换,而对于主叫到被叫的切换,则需要主叫移动设备的移动交换中心完成。其中,该主被叫切换消息可以仅包括被叫移动设备呼叫主叫移动设备的信息,也可以同时包括结束主叫移动设备呼叫被叫移动设备的信息以及被叫移动设备呼叫主叫移动设备的信息,本实施例并不以此作为限制。Wherein, the mobile switching center of the called mobile equipment can complete the above-mentioned handover from the called to the calling party by sending the calling and called handover message to the billing center of the called mobile equipment, and for the handover from the calling to the called, then need The mobile switching center for the calling mobile unit is complete. Wherein, the calling and called switching message may only include the information that the called mobile equipment calls the calling mobile equipment, and may also include the information that the calling mobile equipment calls the called mobile equipment and the information that the called mobile equipment calls the calling mobile equipment. Information, this embodiment is not limited by it.
步骤403:被叫移动设备的移动交换中心向主叫移动设备的移动交换中心发送被叫号码消息,以便主叫移动设备的移动交换中心将本次呼叫的所述主叫移动设备切换为被叫方。Step 403: The mobile switching center of the called mobile device sends a called number message to the mobile switching center of the calling mobile device, so that the mobile switching center of the calling mobile device switches the calling mobile device of this call to the called party. square.
其中,被叫移动设备的移动交换中心完成了被叫到主叫的切换,则通过向主叫移动设备的移动交换中心传递这一被叫号码消息,使得主叫移动设备的移动交换中心进行主叫到被叫的切换。具体的主叫移动设备的移动交换中心的处理过程将在以下的实施例中加以说明。Wherein, the mobile switching center of the called mobile equipment has completed the switching from the called to the calling party, and then transmits the called number message to the mobile switching center of the calling mobile equipment, so that the mobile switching center of the calling mobile equipment performs the calling. Switching from called to called. The specific processing procedure of the mobile switching center of the calling mobile device will be described in the following embodiments.
本实施例的通信过程中的呼叫处理方法与图2所示实施例的方法大致相同,不同的是,主叫移动设备的移动交换中心和被叫移动设备的移动交换中心分属于两个实体,因此,两个移动交换中心要分别进行主被叫的重新设置和信息交换。The call processing method in the communication process of the present embodiment is substantially the same as the method of the embodiment shown in FIG. 2, the difference is that the mobile switching center of the calling mobile device and the mobile switching center of the called mobile device belong to two entities Therefore, the two mobile switching centers have to reset and exchange information for the calling and called respectively.
通过本实施例的通信过程中的呼叫处理方法,被叫移动设备的移动交换中心在收到被叫移动设备发送的包含有主叫移动设备的电话号码的被叫号码消息之后,进行被叫到主叫的切换,并通过传递被叫号码消息使得主叫移动设备的移动交换中心完成主叫到被叫的切换,为用户提供更加有资费优势的服务。According to the call processing method in the communication process of this embodiment, the mobile switching center of the called mobile device performs the calling process after receiving the called number message containing the phone number of the calling mobile device sent by the called mobile device. Caller switching, and by passing the called number message to make the mobile switching center of the calling mobile device complete the switching from the calling party to the called party, providing users with more cost-effective services.
图5为本发明实施例提供的一种通信过程中的呼叫处理装置的组成框图,该装置包含于被叫移动设备的移动交换中心,请参照图5,该装置包括:FIG. 5 is a block diagram of a call processing device in a communication process provided by an embodiment of the present invention. The device is included in the mobile switching center of the called mobile device. Please refer to FIG. 5. The device includes:
接收单元51,用于接收被叫移动设备发送的被叫号码消息,所述被叫号码消息包括本次呼叫的主叫移动设备的电话号码;The receiving
切换单元52,用于根据所述被叫号码消息将本次呼叫的所述被叫移动设备切换为主叫方;A switching
在一个实施例中,该切换单元52包括:In one embodiment, the switching
发送模块521,用于向被叫移动设备的计费中心发送主被叫切换消息,所述主被叫切换消息包括被叫移动设备呼叫主叫移动设备的信息;或者所述主被叫切换消息包括结束主叫移动设备呼叫被叫移动设备的信息以及被叫移动设备呼叫主叫移动设备的信息。The sending
发送单元53,用于向主叫移动设备的移动交换中心发送被叫号码消息,以便主叫移动设备的移动交换中心将本次呼叫的所述主叫移动设备切换为被叫方。The sending
本实施例的装置的各组成部分分别用于实现前述通信过程中的呼叫处理方法的各步骤,由于在图4所示的方法实施例中,已经对该通信过程中的呼叫处理方法进行了详细说明,在此不再赘述。The components of the device in this embodiment are respectively used to implement the steps of the call processing method in the aforementioned communication process, since in the method embodiment shown in Figure 4, the call processing method in the communication process has been described in detail description and will not be repeated here.
通过本实施例的通信过程中的呼叫处理装置,被叫移动设备的移动交换中心在收到被叫移动设备发送的包含有主叫移动设备的电话号码的被叫号码消息之后,进行被叫到主叫的切换,并通过传递该被叫号码消息使得主叫移动设备的移动交换中心进行主叫到被叫的切换,可以为用户提供更加有资费优势的服务。Through the call processing device in the communication process of this embodiment, after the mobile switching center of the called mobile equipment receives the called number message containing the telephone number of the calling mobile equipment sent by the called mobile equipment, it performs the calling process. The switching of the calling party, and passing the called number message to make the mobile switching center of the calling mobile device perform the switching from the calling party to the called party, can provide the user with a service with a more advantageous tariff.
图6为本发明实施例提供的一种通信过程中的呼叫处理方法的流程图,该方法应用于网络侧的主叫移动设备的移动交换中心,在本实施例中,主叫移动设备的移动交换中心与被叫移动设备的以及交换中心不是同一个,相应的,主叫移动设备的计费中心和被叫移动设备的计费中心也不是同一个,请参照图6,该方法包括:FIG. 6 is a flow chart of a call processing method in a communication process provided by an embodiment of the present invention. The method is applied to the mobile switching center of the calling mobile device on the network side. In this embodiment, the mobile switching center of the calling mobile device The switching center is not the same as the called mobile device and the switching center. Correspondingly, the billing center of the calling mobile device is not the same as the billing center of the called mobile device. Please refer to Figure 6. The method includes:
步骤601:主叫移动设备的移动交换中心接收被叫移动设备的移动交换中心发送的被叫号码消息,所述被叫号码消息包括本次呼叫的主叫移动设备的电话号码;Step 601: The mobile switching center of the calling mobile device receives the called number message sent by the mobile switching center of the called mobile device, and the called number message includes the phone number of the calling mobile device for this call;
其中,当一次呼叫中的被叫移动设备启动主被叫切换功能时,通过发送被叫号码消息到被叫移动设备的移动交换中心,被叫移动设备的移动交换中心通过向被叫移动设备的计费中心发送主被叫切换消息完成被叫到主叫的切换,另外通过传递该被叫号码消息到主叫移动设备的移动交换中心,来使得主叫移动设备的移动交换中心进行主叫到被叫的切换。Wherein, when the called mobile equipment in a call starts the caller-called switching function, by sending the called number message to the mobile switching center of the called mobile equipment, the mobile switching center of the called mobile equipment sends the called mobile equipment to the mobile switching center of the called mobile equipment. The billing center sends the calling and called switching message to complete the switching from the called to the calling party. In addition, by passing the called number message to the mobile switching center of the calling mobile device, the mobile switching center of the calling mobile device makes the call to the calling party. Called toggle.
步骤602:主叫移动设备的移动交换中心根据所述被叫号码消息将本次呼叫的所述主叫移动设备切换为被叫方;Step 602: The mobile switching center of the calling mobile device switches the calling mobile device of this call to the called party according to the called number message;
其中,主叫移动设备的移动交换中心可以通过向主叫移动设备的计费中心发送主被叫切换消息来完成上述主叫到被叫的切换。该主被叫切换消息可以仅包括被叫移动设备呼叫主叫移动设备的信息,也可以同时包括结束主叫移动设备呼叫被叫移动设备的信息以及被叫移动设备呼叫主叫移动设备的信息,本实施例并不以此作为限制。Wherein, the mobile switching center of the calling mobile device can complete the switching from the calling party to the called party by sending a caller-to-called handover message to the billing center of the calling mobile device. The calling and called switching message may only include the information that the called mobile equipment calls the calling mobile equipment, and may also include the information that the calling mobile equipment calls the called mobile equipment and the information that the called mobile equipment calls the calling mobile equipment at the same time, This embodiment is not limited thereto.
步骤603:主叫移动设备的移动交换中心向主叫移动设备发送主叫号码消息,以使所述主叫移动设备根据所述主叫号码消息进行主被叫的重新设置,所述主叫号码消息中包括所述被叫移动设备的电话号码。Step 603: The mobile switching center of the calling mobile device sends a calling number message to the calling mobile device, so that the calling mobile device resets the calling and called party according to the calling number message, and the calling number The message includes the phone number of the called mobile device.
其中,主叫移动设备的移动交换中心在完成了主叫到被叫的切换后,通过主叫号码消息告知主叫移动设备进行主被叫的重新设置,具体设置方法将在以下的实施例中加以说明。Wherein, after the mobile switching center of the calling mobile device completes the handover from the calling party to the called party, it informs the calling mobile device to reset the calling party and the called party through the calling number message. The specific setting method will be described in the following embodiments To illustrate.
通过本实施例的通信过程中的呼叫处理方法,主叫移动设备的移动交换中心在收到被叫移动设备的移动交换中心发送的包含有主叫移动设备的电话号码的被叫号码消息之后,进行主叫到被叫的切换,并通过主叫号码消息使得主叫移动设备进行主被叫的重新设置,可以为用户提供更加有资费优势的服务。Through the call processing method in the communication process of this embodiment, after the mobile switching center of the calling mobile device receives the called number message containing the phone number of the calling mobile device sent by the mobile switching center of the called mobile device, Switching from the calling party to the called party, and enabling the calling mobile device to reset the calling party and the called party through the calling number message can provide the user with a more advantageous service.
图7为本发明实施例提供的一种通信过程中的呼叫处理装置的组成框图,该装置包含于主叫移动设备的移动交换中心,请参照图7,该装置包括:FIG. 7 is a block diagram of a call processing device in a communication process provided by an embodiment of the present invention. The device is included in the mobile switching center of the calling mobile device. Please refer to FIG. 7. The device includes:
接收单元71,用于接收被叫移动设备的移动交换中心发送的被叫号码消息,所述被叫号码消息包括本次呼叫的主叫移动设备的电话号码;The receiving unit 71 is configured to receive a called number message sent by the mobile switching center of the called mobile device, the called number message including the phone number of the calling mobile device for this call;
切换单元72,用于根据所述被叫号码消息将本次呼叫的所述主叫移动设备切换为被叫方;A switching unit 72, configured to switch the calling mobile device of this call to the called party according to the called number message;
在一个实施例中,该切换单元72包括:In one embodiment, the switching unit 72 includes:
发送模块721,用于向主叫移动设备的计费中心发送主被叫切换消息,所述主被叫切换消息包括被叫移动设备呼叫主叫移动设备的信息;或者所述主被叫切换消息包括结束主叫移动设备呼叫被叫移动设备的信息以及被叫移动设备呼叫主叫移动设备的信息。The sending module 721 is configured to send a calling and called switching message to the billing center of the calling mobile device, where the calling and called switching message includes information that the called mobile device calls the calling mobile device; or the calling and called switching message It includes the information of ending the call from the calling mobile device to the called mobile device and the information of calling the calling mobile device from the called mobile device.
发送单元73,用于向主叫移动设备发送主叫号码消息,以使所述主叫移动设备根据所述主叫号码消息进行主被叫的重新设置,所述主叫号码消息中包括所述被叫移动设备的电话号码。The sending unit 73 is configured to send a calling number message to the calling mobile device, so that the calling mobile device performs calling and called party reset according to the calling number message, and the calling number message includes the The phone number of the called mobile device.
本实施例的装置的各组成部分分别用于实现前述通信过程中的呼叫处理方法的各步骤,由于在图6所示的方法实施例中,已经对该通信过程中的呼叫处理方法进行了详细说明,在此不再赘述。The various components of the device in this embodiment are respectively used to implement the steps of the call processing method in the aforementioned communication process. Since in the method embodiment shown in FIG. 6, the call processing method in the communication process has been described in detail description and will not be repeated here.
通过本实施例的通信过程中的呼叫处理装置,主叫移动设备的移动交换中心在收到被叫移动设备的移动交换中心发送的包含有主叫移动设备的电话号码的被叫号码消息之后,进行主叫到被叫的切换,并通过主叫号码消息使得主叫移动设备进行主被叫的重新设置,可以为用户提供更加有资费优势的服务。Through the call processing device in the communication process of this embodiment, after the mobile switching center of the calling mobile device receives the called number message containing the telephone number of the calling mobile device sent by the mobile switching center of the called mobile device, Switching from the calling party to the called party, and enabling the calling mobile device to reset the calling party and the called party through the calling number message can provide the user with a more advantageous service.
图8为本发明实施例提供的一种通信过程中的呼叫处理方法的流程图,该方法应用于一次呼叫中的被叫移动设备,该被叫移动设备具有主被叫切换的功能,请参照图8,该方法包括:Fig. 8 is a flow chart of a call processing method in a communication process provided by an embodiment of the present invention, the method is applied to a called mobile device in a call, and the called mobile device has the function of calling and called switching, please refer to Figure 8, the method includes:
步骤801:在一次呼叫中,如果被叫移动设备进行主被叫切换,则被叫移动设备向网络侧发送被叫号码消息,所述被叫号码消息中包含有本次呼叫的主叫移动设备的电话号码,以使网络侧根据所述被叫号码消息将本次呼叫的所述被叫移动设备切换为主叫方,将本次呼叫的所述主叫移动设备切换为被叫方;Step 801: During a call, if the called mobile device switches between the calling party and the called party, the called mobile device sends a called number message to the network side, and the called number message includes the calling mobile device of this call phone number, so that the network side switches the called mobile device of this call to the calling party according to the called number message, and switches the calling mobile device of this call to the called party;
其中,该被叫移动设备作为一次呼叫中的被叫,在接收到网络侧下发的主叫号码消息后,与主叫移动设备建立通话链接,该被叫移动设备上可以显示主叫移动设备的电话号码。如果本实施例的被叫移动设备的用户在此次呼叫开始或者中间选择主被叫切换的功能,则该被叫移动设备向网络侧发送含有主叫移动设备的电话号码的被叫号码消息,以启动网络侧的主被叫切换的流程。Wherein, the called mobile device, as the called party in a call, establishes a call link with the calling mobile device after receiving the calling number message issued by the network side, and the called mobile device may display the calling mobile device phone number. If the user of the called mobile device in this embodiment selects the function of calling and called switching at the beginning or during the call, the called mobile device sends a called number message containing the phone number of the calling mobile device to the network side, In order to start the flow of calling and called switching on the network side.
在一个实施例中,被叫移动设备向被叫移动设备的移动交换中心发送该被叫号码消息,该被叫移动设备的移动交换中心一方面将该被叫号码消息发送到主叫移动设备的移动交换中心,另一方面向该被叫移动设备的计费中心发送主被叫切换消息,通过该主被叫切换消息,切换此次呼叫中的主被叫。同样的,主叫移动设备的移动交换中心在接收到该被叫号码消息后,一方面向主叫移动设备发送包含被叫移动设备的电话号码的主叫号码消息,另一方面向主叫移动设备的计费中心发送主被叫切换消息,通过该主被叫切换消息,切换此次呼叫中的主被叫。具体切换流程已经在前述实施例中作了详细说明,在此不再赘述。In one embodiment, the called mobile equipment sends the called number message to the mobile switching center of the called mobile equipment, and the mobile switching center of the called mobile equipment sends the called number message to the calling mobile equipment's mobile switching center on the one hand. The mobile switching center, on the other hand, sends a calling and called switching message to the billing center of the called mobile device, and switches the calling and called parties in this call through the calling and calling switching message. Similarly, after receiving the called number message, the mobile switching center of the calling mobile device sends the calling number message containing the phone number of the called mobile device to the calling mobile device on the one hand, and sends the calling number message to the calling mobile device on the other hand. The billing center of the device sends a calling and called switching message, and the calling and called parties in this call are switched through the calling and calling switching message. The specific handover process has been described in detail in the foregoing embodiments, and will not be repeated here.
步骤802:被叫移动设备将自身,也即本次呼叫的被叫移动设备设置为主叫方,将本次呼叫的主叫移动设备设置为被叫方。Step 802: The called mobile device sets itself, that is, the called mobile device of this call as the calling party, and sets the calling mobile device of this call as the called party.
其中,如果本实施例的被叫移动设备的用户选择主被叫切换的功能,则该被叫移动设备还要进行主被叫的重新设置。Wherein, if the user of the called mobile device in this embodiment selects the function of switching between calling and calling, the called mobile device also needs to reset calling and calling.
在一个实施例中,该被叫移动设备通过创建本地呼叫历史记录来完成此次呼叫的主被叫的重新设置,例如,创建一条主叫移动设备呼叫被叫移动设备的呼入历史记录,另创建一条被叫移动设备呼叫主叫移动设备的呼出历史记录。上述只是举例说明,本实施例并不以此作为限制,在一次呼叫中,任何与主被叫相关的设置,都可以在被叫移动设备启动主被叫切换的流程后,进行相应的重新设置。In one embodiment, the called mobile device completes the reset of the caller and called party of this call by creating a local call history record, for example, creating an incoming call history record of the calling mobile device calling the called mobile device, and Create an outgoing call history record of the called mobile device calling the calling mobile device. The above is just an example, and this embodiment is not limited by it. In a call, any setting related to the calling party can be reset accordingly after the called mobile device starts the process of switching between the calling party and the called party. .
通过本实施例的通信过程中的呼叫处理方法,在一次呼叫中,如果被叫用户拨打主叫用户更加有资费优势,可以在主叫用户拨打被叫用户的时候,通过该方法切换主被叫,计费中心在接收到主被叫切换消息后,即可根据切换后的主被叫的计费策略进行相应的计费,如此即可为主被叫用户提供更加有资费优势的服务,同时节省网络资源。Through the call processing method in the communication process of this embodiment, in a call, if the called user dials the calling user to have a tariff advantage, it is possible to switch between the calling user and the called party by this method when the calling user dials the called user. , after the billing center receives the switching message of the calling party and the called party, it can perform corresponding billing according to the billing policy of the calling party and the called party after switching, so that the calling party and the called party can be provided with a service with more tariff advantages, and at the same time Save network resources.
图9为本发明实施例提供的一种通信过程中的呼叫处理装置的组成框图,该装置包含于被叫移动设备中,请参照图9,该装置包括:Fig. 9 is a block diagram of a call processing device in a communication process provided by an embodiment of the present invention, the device is included in the called mobile device, please refer to Fig. 9, the device includes:
发送单元91,用于在一次呼叫中,进行主被叫切换时,向网络侧发送被叫号码消息,所述被叫号码消息中包含有主叫移动设备的电话号码,以使网络侧根据所述被叫号码消息将本次呼叫的所述被叫移动设备切换为主叫方,将本次呼叫的所述主叫移动设备切换为被叫;The sending
设置单元92,用于将包含所述装置的移动设备设置为主叫方,将本次呼叫的主叫移动设备设置为被叫方。The setting
在一个实施例中,设置单元92可以包括:In one embodiment, the setting
呼叫记录模块921,用于创建本地呼叫历史记录,所述本地呼叫历史记录包括主叫移动设备呼叫包含所述装置的移动设备的呼入历史,以及包含所述装置的移动设备呼叫主叫移动设备的呼出历史。The
本实施例的装置的各组成部分分别用于实现前述通信过程中的呼叫处理方法的各步骤,由于在图8所示的方法实施例中,已经对该通信过程中的呼叫处理方法进行了详细说明,在此不再赘述。The components of the device in this embodiment are respectively used to implement the steps of the call processing method in the aforementioned communication process. Since in the method embodiment shown in FIG. 8 , the call processing method in the communication process has been described in detail description and will not be repeated here.
通过本实施例的通信过程中的呼叫处理装置,在决定进行主被叫切换后,通过向网络侧发送被叫号码消息启动主被叫切换流程,通过重新设置主被叫,为用户提供更加有资费优势的服务。Through the call processing device in the communication process of this embodiment, after deciding to switch between the calling party and the called party, the caller and called party switching process is started by sending a called number message to the network side, and by resetting the calling party and the called party, more effective services are provided for the user. Tariff advantage service.
图10为本发明实施例提供的一种通信过程中的呼叫处理方法的流程图,该方法应用于一次呼叫中的主叫移动设备,该主叫移动设备具有主被叫切换的功能,请参照图10,该方法包括:Fig. 10 is a flow chart of a call processing method in a communication process provided by an embodiment of the present invention. The method is applied to a calling mobile device in a call. The calling mobile device has the function of calling and called switching. Please refer to Figure 10, the method includes:
步骤1001:在一次呼叫中,主叫移动设备接收网络侧发送的主叫号码消息,所述主叫号码消息中包含有本次呼叫的被叫移动设备的电话号码;Step 1001: During a call, the calling mobile device receives a calling number message sent by the network side, and the calling number message includes the phone number of the called mobile device in this call;
其中,该主叫移动设备作为一次呼叫中的主叫,首先向网络侧发送呼叫请求消息,以通过网络侧为主叫移动设备和被叫移动设备建立通话链接。如果被叫移动设备在此次呼叫的开始或中间启动了主被叫切换的功能,则本实施例的主叫移动设备会接收到网络侧发送的主叫号码消息。Wherein, the calling mobile device, as the calling party in a call, first sends a call request message to the network side, so as to establish a call connection between the calling mobile device and the called mobile device through the network side. If the called mobile device activates the function of calling and called switching at the beginning or during the call, the calling mobile device in this embodiment will receive the calling number message sent by the network side.
步骤1002:主叫移动设备根据所述主叫号码消息将本次呼叫的被叫移动设备设置为主叫方,将自身,也即本次呼叫的主叫移动设备设置为被叫方。Step 1002: The calling mobile device sets the called mobile device of this call as the calling party according to the calling number message, and sets itself, that is, the calling mobile device of this call as the called party.
其中,如果根据步骤1001接收到网络侧发送的主叫号码消息,则说明被叫移动设备已经启动主被叫切换的功能,则本实施例的主叫移动设备还要对主被叫进行重新设置。Wherein, if the calling number message sent by the network side is received according to
在一个实施例中,该主叫移动设备通过创建本地呼叫历史记录来完成此次呼叫的主被叫的重新设置,例如,创建一条主叫移动设备呼叫被叫移动设备的呼出历史记录,再创建一条被叫移动设备呼叫主叫移动设备的呼入历史记录。上述只是举例说明,本实施例并不以此作为限制,在一次呼叫中,任何与主被叫相关的设置,都可以在主叫移动设备确认被叫移动设备已经启动主被叫切换的流程后,也即该主叫移动设备接收到主叫号码消息后,进行相应的重新设置。In one embodiment, the calling mobile device completes the resetting of the calling and called parties of this call by creating a local call history record, for example, creating an outgoing call history record of the calling mobile device calling the called mobile device, and then creating An incoming call history record of the called mobile device calling the calling mobile device. The above is just an example, and this embodiment is not limited by it. In a call, any settings related to the calling and called can be set after the calling mobile device confirms that the called mobile device has started the process of calling and calling. , that is, the calling mobile device performs corresponding reset after receiving the calling number message.
通过本实施例的通信过程中的呼叫处理方法,在一次呼叫中,如果被叫用户拨打主叫用户更加有资费优势,可以在主叫用户拨打被叫用户的时候,通过该方法切换主被叫,计费中心在接收到主被叫切换消息后,即可根据切换后的主被叫的计费策略进行相应的计费,如此即可为主被叫用户提供更加有资费优势的服务,同时节省网络资源。Through the call processing method in the communication process of this embodiment, in a call, if the called user dials the calling user to have a tariff advantage, it is possible to switch between the calling user and the called party by this method when the calling user dials the called user. , after the billing center receives the switching message of the calling party and the called party, it can perform corresponding billing according to the billing policy of the calling party and the called party after switching, so that the calling party and the called party can be provided with a service with more tariff advantages, and at the same time Save network resources.
图11为本发明实施例提供的一种通信过程中的呼叫处理装置的组成框图,该装置包含于主叫移动设备中,请参照图11,该装置包括:Fig. 11 is a block diagram of a call processing device in a communication process provided by an embodiment of the present invention. The device is included in the calling mobile device. Please refer to Fig. 11. The device includes:
接收单元111,用于在一次呼叫中,接收网络侧发送的主叫号码消息,所述主叫号码消息中包含有本次呼叫的被叫移动设备的电话号码;The receiving unit 111 is configured to receive a calling number message sent by the network side during a call, and the calling number message includes the phone number of the called mobile device for this call;
设置单元112,用于将本次呼叫的被叫移动设备设置为主叫,将包含所述装置的移动设备设置为被叫。The setting unit 112 is configured to set the called mobile device of this call as the calling party, and set the mobile device including the device as the called party.
在一个实施例中,该设置单元112可以包括:In one embodiment, the setting unit 112 may include:
呼叫记录模块1121,用于创建本地呼叫历史记录,所述本地呼叫历史记录包括包含所述装置的移动设备呼叫被叫移动设备的呼出历史,以及被叫移动设备呼叫包含所述装置的移动设备的呼入历史。The call recording module 1121 is configured to create a local call history record, the local call history record including the outgoing call history of the mobile device containing the device calling the called mobile device, and the call history of the called mobile device calling the mobile device containing the device Call in history.
本实施例的装置的各组成部分分别用于实现前述通信过程中的呼叫处理方法的各步骤,由于在图10所示的方法实施例中,已经对该通信过程中的呼叫处理方法进行了详细说明,在此不再赘述。The components of the device in this embodiment are respectively used to implement the steps of the call processing method in the aforementioned communication process, since in the method embodiment shown in Figure 10, the call processing method in the communication process has been described in detail description and will not be repeated here.
通过本实施例的通信过程中的呼叫处理装置,在被叫移动设备决定进行主被叫切换后,通过接收网络侧下发的主叫号码消息确认主被叫切换,通过重新设置主被叫,为用户提供更加有资费优势的服务。Through the call processing device in the communication process of this embodiment, after the called mobile device decides to switch between calling and calling, it confirms the switching between calling and calling by receiving the calling number message issued by the network side, and by resetting the calling and calling, Provide users with more cost-effective services.
为使本实施例的通信过程中的呼叫处理方法和装置更加清楚易懂,以下结合附图对一个具体实例进行说明,与前述实施例相同部分不再赘述。In order to make the call processing method and device in the communication process of this embodiment clearer and easier to understand, a specific example will be described below with reference to the accompanying drawings, and the parts that are the same as those in the previous embodiment will not be described again.
图12为本发明实施例的通信过程中的呼叫处理方法的交互流程图,在该实施例中,ME_A为主叫,包括图11所示实施例的通信过程中的呼叫处理装置;ME_B为被叫,包括图9所示实施例的通信过程中的呼叫处理装置;MSC_A为ME_A的移动交换中心为,MSC_B为ME_B的移动交换中心,MSC_A和MSC_B统称为网络侧;计费中心A为ME_A的计费中心,计费中心B为ME_B的计费中心,请参照图12,该流程包括:Fig. 12 is an interaction flowchart of a call processing method in the communication process according to an embodiment of the present invention. In this embodiment, ME_A is the calling party, and includes the call processing device in the communication process of the embodiment shown in Fig. 11; Call, including the call processing device in the communication process of the embodiment shown in Figure 9; MSC_A is the mobile switching center of ME_A, MSC_B is the mobile switching center of ME_B, and MSC_A and MSC_B are collectively referred to as the network side; billing center A is the mobile switching center of ME_A Billing center, billing center B is the billing center of ME_B, please refer to Figure 12, the process includes:
首先,用户A拨打用户B的电话号码,启动用户A呼叫用户B的流程。First, user A dials the phone number of user B to start the process of user A calling user B.
步骤1201:ME_A向MSC_A发送被叫号码消息called party number,该被叫号码消息中包含了ME_B的电话号码;Step 1201: ME_A sends a called party number message to MSC_A, the called party number message includes the phone number of ME_B;
步骤1202:MSC_A向计费中心A发送话单,该话单中包含A呼叫B的信息;Step 1202: MSC_A sends a bill to billing center A, which contains the information that A calls B;
其中,A所在的MSC向A所在的计费中心发送该话单。Wherein, the MSC where A is located sends the bill to the billing center where A is located.
步骤1203:MSC_A将所述被叫号码消息called party number转发给MSC_B;Step 1203: MSC_A forwards the called party number message to MSC_B;
其中,本实施例并不限制步骤1202和步骤1203的前后顺序。Wherein, this embodiment does not limit the order of steps 1202 and 1203.
步骤1204:MSC_B向计费中心B发送话单,该话单中包含A呼叫B的信息;Step 1204: MSC_B sends a bill to billing center B, which contains the information that A calls B;
其中,B所在的MSC也要向B所在的计费中心发送该话单。Wherein, the MSC where B is located also sends the bill to the billing center where B is located.
步骤1205:MSC_B向ME_B发送主叫号码消息calling party number,该主叫号码消息中包含了ME_A的电话号码;Step 1205: MSC_B sends a calling party number message to ME_B, the calling party number message includes the phone number of ME_A;
其中,本实施例并不限制步骤1204和步骤1205的前后顺序。Wherein, this embodiment does not limit the sequence of step 1204 and step 1205 .
然后,在此次呼叫开始或者中间,B请求进行主被叫切换,启动用户B呼叫用户A的流程。Then, at the beginning or in the middle of the call, B requests to switch between the calling party and the called party, and starts the process for user B to call user A.
步骤1206:ME_B向MSC_B发送被叫号码消息called party number,该被叫号码消息中包含了ME_A的电话号码;Step 1206: ME_B sends a called party number message to MSC_B, the called party number message includes the phone number of ME_A;
其中,用户B的移动设备ME_B向网络侧发送called party number消息,启动主被叫切换功能,消息中携带用户A的电话号码,也即表明被叫为A,同时MS_B将本次呼叫中的移动设备MS_B设置成主叫,MS_A设置成被叫。Among them, the mobile device ME_B of user B sends a called party number message to the network side to start the switching function of calling party and called party. The message carries the phone number of user A, which means that the called party is A. Device MS_B is set as the calling party, and MS_A is set as the called party.
其中,设置方法如前所述,在此不再赘述。Wherein, the setting method is as described above, and will not be repeated here.
步骤1207:MSC_B向计费中心B发送主被叫切换消息,该主被叫切换消息中包括结束A呼叫B的信息以及B呼叫A的信息,以完成主被叫的切换;Step 1207: MSC_B sends a calling and called switching message to billing center B, the calling and calling switching message includes the information of ending A's call to B and the information of B calling A, so as to complete the calling and called switching;
其中,该主被叫切换消息同样可以通过话单来实现,本实施例并不以此作为限制。Wherein, the calling and called switching message can also be realized through the bill, which is not limited in this embodiment.
其中,B所在的MSC通过话单向B所在的计费中心发送结束A呼叫B的信息以及B呼叫A的信息。以便该计费中心更改本次呼叫的主被叫信息,以便根据更改后的主被叫信息进行相应计费。Wherein, the MSC where B is located sends the information of ending A's call to B and the information of B's call to A to the billing center where B is located. So that the billing center can change the calling and called information of this call, so as to perform corresponding charging according to the changed calling and called information.
步骤1208:MSC_B将所述被叫号码消息called party number转发给MSC_A;Step 1208: MSC_B forwards the called party number message to MSC_A;
在本实施例中,MSC_B收到ME_B的called party number之后,将本次呼叫的MS_B切换成主叫,也即向计费中心B发送主被叫切换消息,另外向用户MSC_A转发上述called party number消息。In this embodiment, after MSC_B receives the called party number of ME_B, it switches the MS_B of this call to be the calling party, that is, sends a calling and called party switching message to billing center B, and forwards the above called party number to user MSC_A information.
其中,本实施例并不限制步骤1207和步骤1208的前后顺序。Wherein, this embodiment does not limit the order of steps 1207 and 1208 .
步骤1209:MSC_A向计费中心A发送主被叫切换消息,该主被叫切换消息中包括结束A呼叫B的信息以及B呼叫A的信息,以完成主被叫的切换;Step 1209: MSC_A sends a calling and called switching message to billing center A, the calling and calling switching message includes the information of ending A's call to B and the information of B calling A, so as to complete the calling and called switching;
其中,该主被叫切换消息同样可以通过话单来实现,本实施例并不以此作为限制。Wherein, the calling and called switching message can also be realized through the bill, which is not limited in this embodiment.
其中,A所在的MSC通过话单向A所在的计费中心发送结束A呼叫B的信息以及B呼叫A的信息。以便该计费中心更改本次呼叫的主被叫信息,以便根据更改后的主被叫信息进行相应计费。Wherein, the MSC where A is located sends the information of ending A's call to B and the information of B's call to A to the billing center where A is located. So that the billing center can change the calling and called information of this call, so as to perform corresponding charging according to the changed calling and called information.
步骤1210:MSC_A向ME_A发送主叫号码消息calling party number,该主叫号码消息中包含了ME_B的电话号码;Step 1210: MSC_A sends a calling party number message to ME_A, the calling party number message includes the phone number of ME_B;
在本实施例中,MSC_A收到MSC_B发送的called party number之后,将本次呼叫中MS_A切换成被叫,也即向计费中心A发送主被叫切换消息,另外向MS_A发送calling party number消息,消息中带有用户B的电话号码,也即表明,此次呼叫主叫为用户B。In this embodiment, after MSC_A receives the called party number sent by MSC_B, it switches MS_A to the called party in this call, that is, sends a calling party switching message to billing center A, and sends a calling party number message to MS_A , the phone number of user B is included in the message, which means that the caller of this call is user B.
在本实施例中,MS_A在收到calling party number消息之后,对于本次呼叫,将MS_B设置成主叫,将MS_A设置成被叫。其中,设置方法如前所述,在此不再赘述。In this embodiment, after MS_A receives the calling party number message, for this call, MS_B is set as the calling party, and MS_A is set as the called party. Wherein, the setting method is as described above, and will not be repeated here.
其中,本实施例并不限制步骤1209和步骤1210的前后顺序。Wherein, this embodiment does not limit the sequence of steps 1209 and 1210.
根据上述流程,完成了此次呼叫的主被叫切换。According to the above process, the caller-to-caller switching of this call is completed.
在本实施例中,网络侧将主叫用户A的电话号码通过calling partynumber(主叫号码)消息发送到被叫用户B,ME_B会显示A的电话号码,提示用户B有来电信息。由于ME_B提供了主被叫切换的功能,如果用户B希望切换主被叫,则ME_B会将用户A的电话号码,打包到called partynumber(被叫号码)消息里面发送到网络侧,向网络侧请求切换主被叫的功能。如果在通话过程中,网络侧收到用户B发送的called party number,则说明用户B请求切换成主叫,网络侧启动主被叫切换流程。In this embodiment, the network side sends the phone number of calling user A to called user B through a calling partynumber (calling number) message, and ME_B will display A's phone number, prompting user B to have incoming call information. Because ME_B provides the function of calling and called party switching, if user B wants to switch the calling party and called party, ME_B will pack the phone number of user A into the called partynumber (called party number) message and send it to the network side, and request to the network side Switch the function of calling and calling. If during the call, the network side receives the called party number sent by user B, it means that user B requests to be switched to be the calling party, and the network side starts the calling party switching process.
至此,通过本发明实施例提供的通信过程中的呼叫处理方法和装置,当用户A拨打用户B的时候,如果用户B拨打用户A的资费有优势,则可以直接切换成用户B拨打用户A的呼叫,避免了重复接续带来的网络资源浪费。So far, through the call processing method and device in the communication process provided by the embodiment of the present invention, when user A dials user B, if user B has an advantage in calling user A, then it can be directly switched to user B calling user A. call, avoiding the waste of network resources caused by repeated connections.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.
以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the scope of the present invention. Protection scope, within the spirit and principles of the present invention, any modification, equivalent replacement, improvement, etc., shall be included in the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 201010182026CN101848447B (en) | 2010-05-24 | 2010-05-24 | Call processing method and device in communication process |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 201010182026CN101848447B (en) | 2010-05-24 | 2010-05-24 | Call processing method and device in communication process |
| Publication Number | Publication Date |
|---|---|
| CN101848447Atrue CN101848447A (en) | 2010-09-29 |
| CN101848447B CN101848447B (en) | 2013-11-06 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 201010182026Expired - Fee RelatedCN101848447B (en) | 2010-05-24 | 2010-05-24 | Call processing method and device in communication process |
| Country | Link |
|---|---|
| CN (1) | CN101848447B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104580708A (en)* | 2014-12-24 | 2015-04-29 | 深圳市金立通信设备有限公司 | Terminal |
| CN104601830A (en)* | 2014-12-24 | 2015-05-06 | 深圳市金立通信设备有限公司 | Call state switching method |
| CN104602305A (en)* | 2014-12-24 | 2015-05-06 | 深圳市金立通信设备有限公司 | Call state switching method |
| CN104601831A (en)* | 2014-12-24 | 2015-05-06 | 深圳市金立通信设备有限公司 | Server |
| CN108206994A (en)* | 2016-12-16 | 2018-06-26 | 展讯通信(上海)有限公司 | Change method and device, mobile terminal and the network side equipment of charging mode |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2007022677A1 (en)* | 2005-08-24 | 2007-03-01 | Huawei Technologies Co., Ltd. | Calling process system, device and method |
| CN101483851A (en)* | 2009-02-06 | 2009-07-15 | 中兴通讯股份有限公司 | Call back implementing method and system |
| CN101505469A (en)* | 2009-03-03 | 2009-08-12 | 中兴通讯股份有限公司 | Callback service implementing system and method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2007022677A1 (en)* | 2005-08-24 | 2007-03-01 | Huawei Technologies Co., Ltd. | Calling process system, device and method |
| CN101483851A (en)* | 2009-02-06 | 2009-07-15 | 中兴通讯股份有限公司 | Call back implementing method and system |
| CN101505469A (en)* | 2009-03-03 | 2009-08-12 | 中兴通讯股份有限公司 | Callback service implementing system and method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104580708A (en)* | 2014-12-24 | 2015-04-29 | 深圳市金立通信设备有限公司 | Terminal |
| CN104601830A (en)* | 2014-12-24 | 2015-05-06 | 深圳市金立通信设备有限公司 | Call state switching method |
| CN104602305A (en)* | 2014-12-24 | 2015-05-06 | 深圳市金立通信设备有限公司 | Call state switching method |
| CN104601831A (en)* | 2014-12-24 | 2015-05-06 | 深圳市金立通信设备有限公司 | Server |
| CN108206994A (en)* | 2016-12-16 | 2018-06-26 | 展讯通信(上海)有限公司 | Change method and device, mobile terminal and the network side equipment of charging mode |
| Publication number | Publication date |
|---|---|
| CN101848447B (en) | 2013-11-06 |
| Publication | Publication Date | Title |
|---|---|---|
| JP5486055B2 (en) | Calling method and system for videophone | |
| US8244229B2 (en) | Mobile video call response | |
| CN101848447B (en) | Call processing method and device in communication process | |
| CN109041220A (en) | Method of calling and calling system | |
| WO2009033423A1 (en) | A method, an exchange and a device for conversation handover between the terminals | |
| WO2009062403A1 (en) | A method for realizing the caller name presentation service and a caller information service device | |
| CN101009739A (en) | Implementation method and system for call front forward and its switching device and service control point | |
| JP2006287930A (en) | Repeat dialing in wireless networks to called parties that are powered off | |
| CN101325742A (en) | Handling method of flexible ringing group busy under multi-user type | |
| WO2010048877A1 (en) | Method and system for realizing called confirmation paying service | |
| CN101924837A (en) | Incoming call reminding method, system and business platform | |
| CN100542194C (en) | A method and system for transmitting user terminal number in ECT service | |
| CN101365173A (en) | A currently used number notification method, system and number notification server | |
| WO2012151858A1 (en) | Call connection method and application server | |
| CN102131163A (en) | Method and device for exchanging control information between a circuit domain access terminal and an AS | |
| EP2723053B1 (en) | Transfer inquiry method, application server, service terminal, and system | |
| CN102497622B (en) | Method for leaving message of voice/video service and device thereof | |
| KR101179485B1 (en) | Roaming system for reduction of roaming charge and roaming control method for reduction of roaming charge | |
| CN101500205B (en) | Multimedia Service Billing Method and System | |
| KR100908355B1 (en) | How to handle calls during a call on the cellular network | |
| US9148909B2 (en) | Mobile terminal | |
| US20140378096A1 (en) | Unestablished communication links in communication systems | |
| CN102025962B (en) | Method and device for triggering charging of falling voice call of video call | |
| WO2012083788A1 (en) | Method, device and system for processing explicit call transfer service | |
| CN101489001B (en) | Method and corresponding equipment for realizing ring back tone service based on non-bridge technology |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20171030 Address after:Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop Patentee after:Huawei terminal (Dongguan) Co.,Ltd. Address before:518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No. Patentee before:HUAWEI DEVICE Co.,Ltd. | |
| CP01 | Change in the name or title of a patent holder | ||
| CP01 | Change in the name or title of a patent holder | Address after:523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province Patentee after:HUAWEI DEVICE Co.,Ltd. Address before:523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province Patentee before:Huawei terminal (Dongguan) Co.,Ltd. | |
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20131106 |