[go: up one dir, main page]

CN114615647A - Call control method, device and storage medium - Google Patents

Call control method, device and storage medium Download PDF

Info

Publication number
CN114615647A
CN114615647A CN202210239584.2A CN202210239584A CN114615647A CN 114615647 A CN114615647 A CN 114615647A CN 202210239584 A CN202210239584 A CN 202210239584A CN 114615647 A CN114615647 A CN 114615647A
Authority
CN
China
Prior art keywords
virtual call
party application
terminal
added service
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210239584.2A
Other languages
Chinese (zh)
Other versions
CN114615647B (en
Inventor
孙祥
周腾腾
刘山荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202210239584.2A priority Critical patent/CN114615647B/en
Publication of CN114615647A publication Critical patent/CN114615647A/en
Application granted granted Critical
Publication of CN114615647B publication Critical patent/CN114615647B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

本公开涉及一种通话控制方法、装置及存储介质。通话控制方法应用于终端,所述终端的应用层设置有具有虚拟通话功能的第三方应用,所述方法包括:在所述终端通过与之通信连接的IOT设备执行所述第三方应用的虚拟通话功能的过程中,获取所述IOT设备发送的挂断虚拟通话指令;将所述挂断虚拟通话指令发送至虚拟通话增值服务;根据所述挂断虚拟通话指令,所述虚拟通话增值服务向所述第三方应用发送挂断虚拟通话的通知消息,以使所述第三方应用根据所述通知消息,执行挂断虚拟通话的操作。

Figure 202210239584

The present disclosure relates to a call control method, device and storage medium. The call control method is applied to a terminal, and an application layer of the terminal is provided with a third-party application with a virtual call function. In the process of the function, obtain the hang-up virtual call instruction sent by the IOT device; send the hang-up virtual call instruction to the virtual call value-added service; according to the hang-up virtual call instruction, the virtual call value-added service is sent to the The third-party application sends a notification message for hanging up the virtual call, so that the third-party application performs an operation of hanging up the virtual call according to the notification message.

Figure 202210239584

Description

通话控制方法、装置及存储介质Call control method, device and storage medium

技术领域technical field

本公开涉及终端技术领域,尤其涉及一种通话控制方法、装置及存储介质。The present disclosure relates to the technical field of terminals, and in particular, to a call control method, device and storage medium.

背景技术Background technique

目前,通过物联网(Internet of Things,IoT)设备例如耳机或者车载执行第三方应用的虚拟通话功能的过程中,当用户通过IOT设备挂断虚拟通话时,只是断开IOT设备和终端之间的连接,使得虚拟通话在终端中处于语音外放的状态。At present, in the process of executing the virtual call function of a third-party application through an Internet of Things (Internet of Things, IoT) device such as a headset or a vehicle, when the user hangs up the virtual call through the IOT device, only the connection between the IOT device and the terminal is disconnected. connection, so that the virtual call is in the state of voice broadcasting in the terminal.

由此容易给用户造成一种明明已经执行了挂断操作,但是为什么虚拟通话还在继续的错觉,降低用户使用终端的体验感。As a result, it is easy to create an illusion for the user that the hang-up operation has been performed, but why the virtual call continues, which reduces the user's experience of using the terminal.

发明内容SUMMARY OF THE INVENTION

为克服相关技术中存在的问题,本公开提供一种通话控制方法、装置及存储介质。In order to overcome the problems existing in the related art, the present disclosure provides a call control method, device and storage medium.

根据本公开实施例的第一方面,提供一种通话控制方法,应用于终端,所述终端的应用层设置有具有虚拟通话功能的第三方应用,所述方法包括:According to a first aspect of the embodiments of the present disclosure, there is provided a call control method, which is applied to a terminal, where an application layer of the terminal is provided with a third-party application with a virtual call function, and the method includes:

在所述终端通过与之通信连接的IOT设备执行所述第三方应用的虚拟通话功能的过程中,获取所述IOT设备发送的挂断虚拟通话指令;In the process that the terminal executes the virtual call function of the third-party application through the IOT device that is communicatively connected to it, acquiring a hang-up virtual call instruction sent by the IOT device;

将所述挂断虚拟通话指令发送至虚拟通话增值服务,其中,所述虚拟通话增值服务为预先设置在所述终端中、与所述第三方应用处于绑定关系的服务,所述虚拟通话增值服务具有在虚拟通话的过程中,接收所述第三方应用发送的通知消息,以及向所述第三方应用发送所述终端的通知消息的能力;Sending the instruction to hang up the virtual call to a virtual call value-added service, wherein the virtual call value-added service is a service preset in the terminal and in a binding relationship with the third-party application, and the virtual call value-added service is The service has the capability of receiving the notification message sent by the third-party application and sending the notification message of the terminal to the third-party application during the virtual call;

根据所述挂断虚拟通话指令,所述虚拟通话增值服务向所述第三方应用发送挂断虚拟通话的通知消息,以使所述第三方应用根据所述通知消息,执行挂断虚拟通话的操作。According to the instruction to hang up the virtual call, the virtual call value-added service sends a notification message of hanging up the virtual call to the third-party application, so that the third-party application performs the operation of hanging up the virtual call according to the notification message .

可选地,所述方法还包括:Optionally, the method further includes:

所述第三方应用通过所述终端建立虚拟通话时,监听所述终端的连接状态;When the third-party application establishes a virtual call through the terminal, monitor the connection status of the terminal;

在监听到所述终端通信连接有所述IOT设备时,所述第三方应用绑定所述虚拟通话增值服务。When monitoring that the terminal is communicatively connected to the IOT device, the third-party application binds the virtual call value-added service.

可选地,所述第三方应用绑定所述虚拟通话增值服务后,所述方法还包括:Optionally, after the third-party application is bound to the virtual call value-added service, the method further includes:

将预先设置的第一接口和第二接口注册到所述虚拟通话增值服务中,其中,所述第三方应用能够调用所述第一接口,向所述虚拟通话增值服务发送表征所述第三方应用的运行状态的通知消息,所述虚拟通话增值服务能够通过所述第二接口,向所述第三方应用发送所述终端的通知消息;Registering the preset first interface and the second interface in the virtual call value-added service, wherein the third-party application can call the first interface, and send the third-party application to the virtual call value-added service The notification message of the running state of the virtual call value-added service can send the notification message of the terminal to the third-party application through the second interface;

所述根据所述挂断虚拟通话指令,所述虚拟通话增值服务向所述第三方应用发送挂断虚拟通话的通知消息,包括:The virtual call value-added service sends a notification message of hanging up the virtual call to the third-party application according to the instruction to hang up the virtual call, including:

根据所述挂断虚拟通话指令,所述虚拟通话增值服务通过所述第二接口向所述第三方应用发送挂断虚拟通话的通知消息。According to the instruction to hang up the virtual call, the virtual call value-added service sends a notification message of hanging up the virtual call to the third-party application through the second interface.

可选地,在所述终端确定所述第三方应用绑定成功后,所述方法还包括:Optionally, after the terminal determines that the third-party application is successfully bound, the method further includes:

将第三接口注册到所述虚拟通话增值服务中;registering the third interface in the virtual call value-added service;

所述方法还包括:The method also includes:

所述第三方应用调用所述第三接口,向所述虚拟通话增值服务发送对注册的接口解除注册的通知消息。The third-party application invokes the third interface, and sends a notification message for deregistering the registered interface to the virtual call value-added service.

可选地,所述IOT设备为与所述终端通信连接的蓝牙耳机、与所述终端通信连接的车载终端中的任一者。Optionally, the IOT device is any one of a Bluetooth headset communicatively connected to the terminal and a vehicle-mounted terminal communicatively connected to the terminal.

根据本公开实施例的第二方面,提供一种通话控制装置,应用于终端,所述终端的应用层设置有具有虚拟通话功能的第三方应用,所述装置包括:According to a second aspect of the embodiments of the present disclosure, there is provided a call control apparatus, which is applied to a terminal, where an application layer of the terminal is provided with a third-party application with a virtual call function, and the apparatus includes:

获取模块,用于在所述终端通过与之通信连接的IOT设备执行所述第三方应用的虚拟通话功能的过程中,获取所述IOT设备发送的挂断虚拟通话指令;an acquisition module, configured to acquire a hang-up virtual call instruction sent by the IOT device during the process that the terminal executes the virtual call function of the third-party application through the IOT device that is communicatively connected to it;

发送模块,用于将所述挂断虚拟通话指令发送至虚拟通话增值服务,其中,所述虚拟通话增值服务为预先设置在所述终端中、与所述第三方应用处于绑定关系的服务,所述虚拟通话增值服务具有在虚拟通话的过程中,接收所述第三方应用发送的通知消息,以及向所述第三方应用发送所述终端的通知消息的能力;a sending module, configured to send the instruction to hang up the virtual call to a virtual call value-added service, wherein the virtual call value-added service is a service preset in the terminal and in a binding relationship with the third-party application, The virtual call value-added service has the capability of receiving a notification message sent by the third-party application and sending a notification message of the terminal to the third-party application during a virtual call;

提示模块,用于根据所述挂断虚拟通话指令,所述虚拟通话增值服务向所述第三方应用发送挂断虚拟通话的通知消息,以使所述第三方应用根据所述通知消息,执行挂断虚拟通话的操作。a prompt module, configured to send a notification message of hanging up the virtual call to the third-party application according to the instruction to hang up the virtual call, so that the third-party application executes the hang-up operation according to the notification message. The operation of disconnecting the virtual call.

可选地,所述装置还包括:Optionally, the device further includes:

监听模块,用于所述第三方应用通过所述终端建立虚拟通话时,监听所述终端的连接状态;在监听到所述终端通信连接有所述IOT设备时,所述第三方应用绑定所述虚拟通话增值服务。The monitoring module is used for monitoring the connection status of the terminal when the third-party application establishes a virtual call through the terminal; when monitoring that the terminal is communicatively connected to the IOT device, the third-party application binds the terminal. The virtual call value-added services described above.

可选地,所述装置还包括:Optionally, the device further includes:

注册模块,用于所述第三方应用绑定所述虚拟通话增值服务后,将预先设置的第一接口和第二接口注册到所述虚拟通话增值服务中,其中,所述第三方应用能够调用所述第一接口,向所述虚拟通话增值服务发送表征所述第三方应用的运行状态的通知消息,所述虚拟通话增值服务能够通过所述第二接口,向所述第三方应用发送所述终端的通知消息;A registration module, configured to register the preset first interface and the second interface in the virtual call value-added service after the third-party application is bound to the virtual call value-added service, wherein the third-party application can call The first interface sends a notification message representing the running state of the third-party application to the virtual call value-added service, and the virtual call value-added service can send the third-party application the third-party application through the second interface. Terminal notification message;

所述提示模块采用如下方式根据所述挂断虚拟通话指令,所述虚拟通话增值服务向所述第三方应用发送挂断虚拟通话的通知消息,包括:The prompt module adopts the following method to send a notification message of hanging up the virtual call to the third-party application according to the instruction to hang up the virtual call, including:

根据所述挂断虚拟通话指令,所述虚拟通话增值服务通过所述第二接口向所述第三方应用发送挂断虚拟通话的通知消息。According to the instruction to hang up the virtual call, the virtual call value-added service sends a notification message of hanging up the virtual call to the third-party application through the second interface.

可选地,所述注册模块还用于:Optionally, the registration module is also used for:

在所述终端确定所述第三方应用绑定成功后,将第三接口注册到所述虚拟通话增值服务中;After the terminal determines that the third-party application is successfully bound, the third interface is registered in the virtual call value-added service;

所述提示模块还用于:The prompt module is also used to:

所述第三方应用调用所述第三接口,向所述虚拟通话增值服务发送对注册的接口解除注册的通知消息。The third-party application invokes the third interface, and sends a notification message for deregistering the registered interface to the virtual call value-added service.

可选地,所述IOT设备为与所述终端通信连接的蓝牙耳机、与所述终端通信连接的车载终端中的任一者。Optionally, the IOT device is any one of a Bluetooth headset communicatively connected to the terminal and a vehicle-mounted terminal communicatively connected to the terminal.

根据本公开实施例的第三方面,提供一种通话控制装置,包括:According to a third aspect of the embodiments of the present disclosure, there is provided a call control device, including:

处理器;processor;

用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;

其中,所述处理器被配置为:通过执行所述指令,执行前述第一方面或者第一方面中任意一示例中通话控制方法。Wherein, the processor is configured to execute the call control method in the first aspect or any example of the first aspect by executing the instruction.

根据本公开实施例的第四方面,提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现本公开第一方面所提供的通话控制方法的步骤。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having computer program instructions stored thereon, the program instructions implementing the steps of the call control method provided in the first aspect of the present disclosure when the program instructions are executed by a processor.

本公开的实施例提供的技术方案可以包括以下有益效果:在终端通过与之通信连接的IOT设备执行第三方应用的虚拟通话功能的过程中,获取IOT设备发送的挂断虚拟通话指令,将挂断虚拟通话指令发送至预先设置在终端中、与第三方应用处于绑定关系的虚拟通话增值服务,通过虚拟通话增值服务向第三方应用发送挂断虚拟通话的通知消息,可使得第三方应用根据通知消息,自动挂断虚拟通话,提升用户对终端的使用体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: in the process that the terminal executes the virtual call function of the third-party application through the IOT device communicatively connected with it, the terminal acquires the hang-up virtual call instruction sent by the IOT device, and then hangs up the virtual call. The command to disconnect the virtual call is sent to the virtual call value-added service that is preset in the terminal and is bound to the third-party application. The virtual call value-added service sends a notification message of hanging up the virtual call to the third-party application, which can make the third-party application according to Notification messages, automatically hang up virtual calls, improve the user experience of the terminal.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是根据一示例性实施例示出的一种通话控制方法的流程图。Fig. 1 is a flow chart of a method for call control according to an exemplary embodiment.

图2是根据一示例性实施例示出的一种通话控制方法的流程图。Fig. 2 is a flow chart of a call control method according to an exemplary embodiment.

图3是根据一示例性实施例示出的应用本公开的通话控制方法的示意流程图。FIG. 3 is a schematic flow chart illustrating a call control method applying the present disclosure according to an exemplary embodiment.

图4是根据一示例性实施例示出的一种通话控制装置的框图。Fig. 4 is a block diagram of a call control apparatus according to an exemplary embodiment.

图5是根据一示例性实施例示出的一种用于通话控制的装置的框图。Fig. 5 is a block diagram of an apparatus for call control according to an exemplary embodiment.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.

图1是根据一示例性实施例示出的一种通话控制方法的流程图,如图1所示,通话控制方法用于终端中,包括以下步骤。Fig. 1 is a flowchart of a call control method according to an exemplary embodiment. As shown in Fig. 1 , the call control method used in a terminal includes the following steps.

在步骤S11中,在终端通过与之通信连接的IOT设备执行第三方应用的虚拟通话功能的过程中,获取IOT设备发送的挂断虚拟通话指令。In step S11, in the process of executing the virtual call function of the third-party application through the IOT device that is communicatively connected to the terminal, the terminal acquires an instruction to hang up the virtual call sent by the IOT device.

其中,本公开中的第三方应用为具有虚拟通话功能的应用。IOT设备例如可以是与所述终端通信连接的蓝牙耳机,或者是与所述终端通信连接的车载终端。Wherein, the third-party application in the present disclosure is an application with a virtual call function. The IOT device may be, for example, a Bluetooth headset communicatively connected to the terminal, or a vehicle-mounted terminal communicatively connected to the terminal.

本公开中,当用户对与终端通信连接的IOT设备执行了挂断虚拟通话指令后,IOT设备根据与终端的通信协议,将挂断虚拟通话指令发送至终端,终端获取到IOT设备发送的挂断虚拟通话指令后,断开与IOT设备的虚拟通话,并将挂断虚拟通话指令发送至虚拟通话增值服务。In the present disclosure, after the user executes the instruction to hang up the virtual call on the IOT device that is communicatively connected to the terminal, the IOT device sends the instruction to hang up the virtual call to the terminal according to the communication protocol with the terminal, and the terminal obtains the hang-up instruction sent by the IOT device. After disconnecting the virtual call instruction, disconnect the virtual call with the IOT device, and send the virtual call hanging up instruction to the virtual call value-added service.

在步骤S12中,将挂断虚拟通话指令发送至虚拟通话增值服务。In step S12, an instruction to hang up the virtual call is sent to the virtual call value-added service.

其中,虚拟通话增值服务为预先设置在所述终端中,与所述第三方应用处于绑定关系的服务,且虚拟通话增值服务具有在虚拟通话的过程中,接收所述第三方应用发送的通知消息,以及向所述第三方应用发送所述终端的通知消息的能力。The virtual call value-added service is a service that is preset in the terminal and is in a binding relationship with the third-party application, and the virtual call value-added service has the ability to receive a notification sent by the third-party application during the virtual call. message, and the ability to send notification messages of the terminal to the third-party application.

在步骤S13中,根据挂断虚拟通话指令,虚拟通话增值服务向第三方应用发送挂断虚拟通话的通知消息,以使第三方应用根据通知消息,执行挂断虚拟通话的操作。In step S13, according to the instruction to hang up the virtual call, the virtual call value-added service sends a notification message of hanging up the virtual call to the third-party application, so that the third-party application performs the operation of hanging up the virtual call according to the notification message.

在本公开的示例性实施例中,在终端通过与之通信连接的IOT设备执行第三方应用的虚拟通话功能的过程中,获取IOT设备发送的挂断虚拟通话指令,将挂断虚拟通话指令发送至预先设置在终端中、与第三方应用处于绑定关系的虚拟通话增值服务,通过虚拟通话增值服务向第三方应用发送挂断虚拟通话的通知消息,可使得第三方应用根据通知消息,自动挂断虚拟通话,提升用户对终端的使用体验。In the exemplary embodiment of the present disclosure, in the process of executing the virtual call function of the third-party application through the IOT device that is communicatively connected to the terminal, the terminal obtains a hang-up virtual call instruction sent by the IOT device, and sends the hang-up virtual call instruction To the virtual call value-added service preset in the terminal and bound to the third-party application, the notification message of hanging up the virtual call is sent to the third-party application through the virtual call value-added service, so that the third-party application can automatically hang up according to the notification message. Cut off virtual calls and improve user experience of using the terminal.

图2是根据一示例性实施例示出的一种通话控制方法的流程图,如图2所示,通话控制方法用于终端中,包括以下步骤。Fig. 2 is a flowchart of a call control method according to an exemplary embodiment. As shown in Fig. 2 , the call control method used in a terminal includes the following steps.

在步骤S21中,第三方应用通过终端建立虚拟通话时,监听终端的连接状态,在监听到终端通信连接有IOT设备时,第三方应用绑定虚拟通话增值服务。In step S21, when the third-party application establishes a virtual call through the terminal, it monitors the connection status of the terminal, and when monitoring that the terminal is connected to an IOT device in communication, the third-party application binds the value-added service of the virtual call.

在步骤S22中,将预先设置的第一接口和第二接口注册到所述虚拟通话增值服务中。In step S22, the preset first interface and second interface are registered into the virtual call value-added service.

其中,所述第三方应用能够调用所述第一接口,向所述虚拟通话增值服务发送表征所述第三方应用的运行状态的通知消息,所述虚拟通话增值服务能够通过所述第二接口,向所述第三方应用发送所述终端的通知消息。Wherein, the third-party application can call the first interface, and send a notification message representing the running state of the third-party application to the virtual call value-added service, and the virtual call value-added service can pass the second interface, Send a notification message of the terminal to the third-party application.

在步骤S23中,在终端通过与之通信连接的IOT设备执行第三方应用的虚拟通话功能的过程中,获取IOT设备发送的挂断虚拟通话指令。In step S23, in the process of executing the virtual call function of the third-party application through the IOT device that is communicatively connected to the terminal, the terminal acquires an instruction to hang up the virtual call sent by the IOT device.

在步骤S24中,将挂断虚拟通话指令发送至虚拟通话增值服务。In step S24, an instruction to hang up the virtual call is sent to the virtual call value-added service.

在步骤S25中,根据挂断虚拟通话指令,虚拟通话增值服务向第三方应用发送挂断虚拟通话的通知消息,以使第三方应用根据通知消息,执行挂断虚拟通话的操作。In step S25, according to the instruction to hang up the virtual call, the virtual call value-added service sends a notification message of hanging up the virtual call to the third-party application, so that the third-party application performs the operation of hanging up the virtual call according to the notification message.

本公开中,可预先设置一个服务,即虚拟通话增值服务,并设置调用接口的接口标准,在第三方应用监听到终端通信连接有IOT设备时,第三方应用绑定虚拟通话增值服务。In the present disclosure, a service, that is, a virtual call value-added service, can be preset, and an interface standard for calling an interface can be set. When a third-party application monitors that the terminal communication is connected to an IOT device, the third-party application binds the virtual call value-added service.

进而,在所述终端通过与之通信连接的IOT设备执行所述第三方应用的虚拟通话功能的过程中,获取所述IOT设备发送的挂断虚拟通话指令,将所述挂断虚拟通话指令发送至预先设置在所述终端中、与所述第三方应用处于绑定关系的虚拟通话增值服务,通过虚拟通话增值服务向第三方应用发送挂断虚拟通话的通知消息,可使得第三方应用根据所述通知消息,自动挂断虚拟通话,提升用户对终端的使用体验。Further, in the process that the terminal executes the virtual call function of the third-party application through the IOT device that is communicatively connected to it, acquires a hang-up virtual call instruction sent by the IOT device, and sends the hang-up virtual call instruction To the virtual call value-added service that is preset in the terminal and is in a binding relationship with the third-party application, sending a notification message to hang up the virtual call to the third-party application through the virtual call value-added service enables the third-party application to The notification message is displayed, the virtual call is automatically hung up, and the user experience of the terminal is improved.

本公开以下以IOT设备为车载终端为例,对应用本公开的通话控制方法进行说明。In the present disclosure, the call control method applying the present disclosure will be described below by taking the IOT device as an in-vehicle terminal as an example.

例如,车载终端与终端基于蓝牙通信连接,可预先在终端的蓝牙模块中设置虚拟通话增值服务,例如该服务例如可以是HeadsetExtService.java,并设置两个aidl文件,一个是IBluetoothVirtualCall.aidl,用于存放第一接口registerVirtualVoiceCallBack和第三接口unregisterVirtualVoiceCallBack。另一个是为IBluetoothVirtualCallCallback.aidl,用于存放第二接口onhangupcallstate。For example, the vehicle terminal and the terminal are connected based on Bluetooth communication, and a virtual call value-added service can be set in the Bluetooth module of the terminal in advance. For example, the service can be HeadsetExtService.java, and two aidl files are set, one is IBluetoothVirtualCall.aidl, which is used for Store the first interface registerVirtualVoiceCallBack and the third interface unregisterVirtualVoiceCallBack. The other is IBluetoothVirtualCallCallback.aidl, which is used to store the second interface onhangupcallstate.

图3是根据一示例性实施例示出的应用本公开的通话控制方法的示意流程图。在图3中,第三方应用通过终端建立语音链路进行虚拟通话时,监听终端的连接状态,在监听到终端通信连接有IOT设备时,第三方应用绑定虚拟通话增值服务(HeadsetExtService.java)。终端确认第三方应用绑定成功后,将第一接口(registerVirtualVoiceCallBack)、第二接口(onhangupcallstate)和第三接口(unregisterVirtualVoiceCallBack)注册到虚拟通话增值服务(HeadsetExtService.java)中。FIG. 3 is a schematic flow chart illustrating a call control method applying the present disclosure according to an exemplary embodiment. In Figure 3, when a third-party application establishes a voice link through the terminal to conduct a virtual call, it monitors the connection status of the terminal. When monitoring the terminal communication connection with an IOT device, the third-party application binds the virtual call value-added service (HeadsetExtService.java) . After confirming that the third-party application is successfully bound, the terminal registers the first interface (registerVirtualVoiceCallBack), the second interface (onhangupcallstate) and the third interface (unregisterVirtualVoiceCallBack) in the virtual call value-added service (HeadsetExtService.java).

进而,当用户在车载终端的屏幕上针对第三方应用的通话界面进行挂断操作后,车载终端根据与终端的通信协议,将挂断虚拟通话指令发送至终端,终端获取到车载终端发送的挂断虚拟通话指令后,断开与车载终端的虚拟通话,并将挂断虚拟通话指令发送至虚拟通话增值服务(HeadsetExtService.java)。虚拟通话增值服务(HeadsetExtService.java)接收终端发送的挂断虚拟通话指令后,根据挂断虚拟通话指令,通过第二接口(onhangupcallstate)向第三方应用发送挂断虚拟通话的通知消息,以使第三方应用根据通知消息,执行挂断虚拟通话的操作。Furthermore, after the user performs a hang-up operation on the call interface of the third-party application on the screen of the vehicle-mounted terminal, the vehicle-mounted terminal sends a virtual call hang-up instruction to the terminal according to the communication protocol with the terminal, and the terminal obtains the hang-up message sent by the vehicle-mounted terminal. After disconnecting the virtual call instruction, disconnect the virtual call with the in-vehicle terminal, and send the hanging up virtual call instruction to the virtual call value-added service (HeadsetExtService.java). After receiving the virtual call hanging up command sent by the terminal, the virtual call value-added service (HeadsetExtService.java) sends a notification message of hanging up the virtual call to the third-party application through the second interface (onhangupcallstate) according to the hanging virtual call instruction, so that the first The three-party application performs the operation of hanging up the virtual call according to the notification message.

第三方应用在接收到挂断虚拟通话的通知消息后,执行挂断虚拟通话的操作,并调用第三接口(unregisterVirtualVoiceCallBack),向虚拟通话增值服务(HeadsetExtService.java)发送对注册的接口解除注册的通知消息。虚拟通话增值服务(HeadsetExtService.java)接收到第三方应用发送的对注册的接口解除注册的通知消息后,对第一接口、第二接口和第三接口解除注册,第三方应用解除与虚拟通话增值服务(HeadsetExtService.java)的绑定关系。After receiving the notification message of hanging up the virtual call, the third-party application executes the operation of hanging up the virtual call, and calls the third interface (unregisterVirtualVoiceCallBack) to send the virtual call value-added service (HeadsetExtService.java) to unregister the registered interface. notification message. After the virtual call value-added service (HeadsetExtService.java) receives the notification message sent by the third-party application to unregister the registered interface, it unregisters the first interface, the second interface and the third interface, and the third-party application cancels the virtual call value-added service. The binding relationship of the service (HeadsetExtService.java).

图4是根据一示例性实施例示出的一种通话控制装置400的框图。参照图4,通话控制装置应用于终端,所述终端的应用层设置有具有虚拟通话功能的第三方应用,所述装置包括:FIG. 4 is a block diagram of a call control apparatus 400 according to an exemplary embodiment. Referring to FIG. 4 , the call control apparatus is applied to a terminal, and the application layer of the terminal is provided with a third-party application with a virtual call function, and the apparatus includes:

获取模块401,用于在所述终端通过与之通信连接的IOT设备执行所述第三方应用的虚拟通话功能的过程中,获取所述IOT设备发送的挂断虚拟通话指令;The obtaining module 401 is configured to obtain a hang-up virtual call instruction sent by the IOT device in the process that the terminal executes the virtual call function of the third-party application through the IOT device communicated with it;

发送模块402,用于将所述挂断虚拟通话指令发送至虚拟通话增值服务,其中,所述虚拟通话增值服务为预先设置在所述终端中、与所述第三方应用处于绑定关系的服务,所述虚拟通话增值服务具有在虚拟通话的过程中,接收所述第三方应用发送的通知消息,以及向所述第三方应用发送所述终端的通知消息的能力;A sending module 402, configured to send the instruction to hang up the virtual call to a virtual call value-added service, wherein the virtual call value-added service is a service preset in the terminal and in a binding relationship with the third-party application , the virtual call value-added service has the capability of receiving a notification message sent by the third-party application and sending a notification message of the terminal to the third-party application during the virtual call;

提示模块403,用于根据所述挂断虚拟通话指令,所述虚拟通话增值服务向所述第三方应用发送挂断虚拟通话的通知消息,以使所述第三方应用根据所述通知消息,执行挂断虚拟通话的操作。The prompt module 403 is configured to send, according to the instruction to hang up the virtual call, the value-added virtual call service to the third-party application to send a notification message of hanging up the virtual call, so that the third-party application executes the notification message according to the notification message. The operation to hang up the virtual call.

可选地,所述装置还包括:Optionally, the device further includes:

监听模块404,用于所述第三方应用通过所述终端建立虚拟通话时,监听所述终端的连接状态;在监听到所述终端通信连接有所述IOT设备时,所述第三方应用绑定所述虚拟通话增值服务。The monitoring module 404 is used for monitoring the connection status of the terminal when the third-party application establishes a virtual call through the terminal; when monitoring that the terminal is communicatively connected to the IOT device, the third-party application binds The virtual call value-added service.

可选地,所述装置还包括:Optionally, the device further includes:

注册模块405,用于所述第三方应用绑定所述虚拟通话增值服务后,将预先设置的第一接口和第二接口注册到所述虚拟通话增值服务中,其中,所述第三方应用能够调用所述第一接口,向所述虚拟通话增值服务发送表征所述第三方应用的运行状态的通知消息,所述虚拟通话增值服务能够通过所述第二接口,向所述第三方应用发送所述终端的通知消息;The registration module 405 is used to register the preset first interface and the second interface in the virtual call value-added service after the third-party application is bound to the virtual call value-added service, wherein the third-party application can Invoke the first interface to send a notification message representing the running state of the third-party application to the virtual call value-added service, and the virtual call value-added service can send the third-party application through the second interface. the notification message of the terminal;

所述提示模块403采用如下方式根据所述挂断虚拟通话指令,所述虚拟通话增值服务向所述第三方应用发送挂断虚拟通话的通知消息:The prompting module 403 adopts the following method to send a notification message of hanging up the virtual call to the third-party application according to the instruction to hang up the virtual call:

根据所述挂断虚拟通话指令,所述虚拟通话增值服务通过所述第二接口向所述第三方应用发送挂断虚拟通话的通知消息。According to the instruction to hang up the virtual call, the virtual call value-added service sends a notification message of hanging up the virtual call to the third-party application through the second interface.

可选地,所述注册模块405还用于:Optionally, the registration module 405 is also used for:

在所述终端确定所述第三方应用绑定成功后,将第三接口注册到所述虚拟通话增值服务中;After the terminal determines that the third-party application is successfully bound, the third interface is registered in the virtual call value-added service;

所述提示模块403还用于:The prompting module 403 is also used for:

所述第三方应用调用所述第三接口,向所述虚拟通话增值服务发送对注册的接口解除注册的通知消息。The third-party application invokes the third interface, and sends a notification message for deregistering the registered interface to the virtual call value-added service.

可选地,所述IOT设备为与所述终端通信连接的蓝牙耳机、与所述终端通信连接的车载终端中的任一者。Optionally, the IOT device is any one of a Bluetooth headset communicatively connected to the terminal and a vehicle-mounted terminal communicatively connected to the terminal.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.

本公开还提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现本公开提供的通话控制方法的步骤。The present disclosure also provides a computer-readable storage medium on which computer program instructions are stored, and when the program instructions are executed by a processor, implement the steps of the call control method provided by the present disclosure.

图5是根据一示例性实施例示出的一种用于通话控制的装置800的框图。例如,装置800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 5 is a block diagram of an apparatus 800 for call control according to an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.

参照图5,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电力组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。5, the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and communication component 816.

处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的通话控制方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned call control method. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.

存储器804被配置为存储各种类型的数据以支持在装置800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 804 is configured to store various types of data to support operations at device 800 . Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and the like. Memory 804 may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电力组件806为装置800的各种组件提供电力。电力组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。Power component 806 provides power to various components of device 800 . Power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to device 800 .

多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当装置800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。Multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 808 includes a front-facing camera and/or a rear-facing camera. When the apparatus 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。Audio component 810 is configured to output and/or input audio signals. For example, audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when device 800 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 804 or transmitted via communication component 816 . In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.

传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到装置800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of device 800 . For example, the sensor assembly 814 can detect the open/closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect a change in the position of the device 800 or a component of the device 800 , the presence or absence of user contact with the device 800 , the orientation or acceleration/deceleration of the device 800 and the temperature change of the device 800 . Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 816 is configured to facilitate wired or wireless communication between apparatus 800 and other devices. Device 800 may access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述通话控制方法。In an exemplary embodiment, apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components are implemented for implementing the above-mentioned call control method.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述通话控制方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 804 including instructions, is also provided, and the instructions can be executed by the processor 820 of the apparatus 800 to complete the above call control method. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

在另一示例性实施例中,还提供一种计算机程序产品,该计算机程序产品包含能够由可编程的装置执行的计算机程序,该计算机程序具有当由该可编程的装置执行时用于执行上述的通话控制方法的代码部分。In another exemplary embodiment, there is also provided a computer program product comprising a computer program executable by a programmable apparatus, the computer program having, when executed by the programmable apparatus, for performing the above The code section of the call control method.

本领域技术人员在考虑说明书及实践本公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1.一种通话控制方法,其特征在于,应用于终端,所述终端的应用层设置有具有虚拟通话功能的第三方应用,所述方法包括:1. A call control method, characterized in that it is applied to a terminal, and an application layer of the terminal is provided with a third-party application with a virtual call function, the method comprising: 在所述终端通过与之通信连接的IOT设备执行所述第三方应用的虚拟通话功能的过程中,获取所述IOT设备发送的挂断虚拟通话指令;In the process that the terminal executes the virtual call function of the third-party application through the IOT device that is communicatively connected to it, acquiring a hang-up virtual call instruction sent by the IOT device; 将所述挂断虚拟通话指令发送至虚拟通话增值服务,其中,所述虚拟通话增值服务为预先设置在所述终端中、与所述第三方应用处于绑定关系的服务,所述虚拟通话增值服务具有在虚拟通话的过程中,接收所述第三方应用发送的通知消息,以及向所述第三方应用发送所述终端的通知消息的能力;Sending the instruction to hang up the virtual call to a virtual call value-added service, wherein the virtual call value-added service is a service preset in the terminal and in a binding relationship with the third-party application, and the virtual call value-added service is The service has the capability of receiving the notification message sent by the third-party application and sending the notification message of the terminal to the third-party application during the virtual call; 根据所述挂断虚拟通话指令,所述虚拟通话增值服务向所述第三方应用发送挂断虚拟通话的通知消息,以使所述第三方应用根据所述通知消息,执行挂断虚拟通话的操作。According to the instruction to hang up the virtual call, the virtual call value-added service sends a notification message of hanging up the virtual call to the third-party application, so that the third-party application performs the operation of hanging up the virtual call according to the notification message . 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, wherein the method further comprises: 所述第三方应用通过所述终端建立虚拟通话时,监听所述终端的连接状态;When the third-party application establishes a virtual call through the terminal, monitor the connection status of the terminal; 在监听到所述终端通信连接有所述IOT设备时,所述第三方应用绑定所述虚拟通话增值服务。When monitoring that the terminal is communicatively connected to the IOT device, the third-party application binds the virtual call value-added service. 3.根据权利要求2所述的方法,其特征在于,所述第三方应用绑定所述虚拟通话增值服务后,所述方法还包括:3. The method according to claim 2, wherein after the third-party application is bound to the virtual call value-added service, the method further comprises: 将预先设置的第一接口和第二接口注册到所述虚拟通话增值服务中,其中,所述第三方应用能够调用所述第一接口,向所述虚拟通话增值服务发送表征所述第三方应用的运行状态的通知消息,所述虚拟通话增值服务能够通过所述第二接口,向所述第三方应用发送所述终端的通知消息;Registering the preset first interface and the second interface in the virtual call value-added service, wherein the third-party application can call the first interface, and send the third-party application to the virtual call value-added service The notification message of the running state of the virtual call value-added service can send the notification message of the terminal to the third-party application through the second interface; 所述根据所述挂断虚拟通话指令,所述虚拟通话增值服务向所述第三方应用发送挂断虚拟通话的通知消息,包括:The virtual call value-added service sends a notification message of hanging up the virtual call to the third-party application according to the instruction to hang up the virtual call, including: 根据所述挂断虚拟通话指令,所述虚拟通话增值服务通过所述第二接口向所述第三方应用发送挂断虚拟通话的通知消息。According to the instruction to hang up the virtual call, the virtual call value-added service sends a notification message of hanging up the virtual call to the third-party application through the second interface. 4.根据权利要求3所述的方法,其特征在于,在所述终端确定所述第三方应用绑定成功后,所述方法还包括:4. The method according to claim 3, wherein after the terminal determines that the third-party application is successfully bound, the method further comprises: 将第三接口注册到所述虚拟通话增值服务中;registering the third interface in the virtual call value-added service; 所述方法还包括:The method also includes: 所述第三方应用调用所述第三接口,向所述虚拟通话增值服务发送对注册的接口解除注册的通知消息。The third-party application invokes the third interface, and sends a notification message for deregistering the registered interface to the virtual call value-added service. 5.根据权利要求1-4任意一项所述的方法,其特征在于,所述IOT设备为与所述终端通信连接的蓝牙耳机、与所述终端通信连接的车载终端中的任一者。5 . The method according to claim 1 , wherein the IOT device is any one of a Bluetooth headset communicatively connected to the terminal and a vehicle-mounted terminal communicatively connected to the terminal. 6 . 6.一种通话控制装置,其特征在于,应用于终端,所述终端的应用层设置有具有虚拟通话功能的第三方应用,所述装置包括:6. A call control device, characterized in that it is applied to a terminal, and an application layer of the terminal is provided with a third-party application with a virtual call function, the device comprising: 获取模块,用于在所述终端通过与之通信连接的IOT设备执行所述第三方应用的虚拟通话功能的过程中,获取所述IOT设备发送的挂断虚拟通话指令;an acquisition module, configured to acquire a hang-up virtual call instruction sent by the IOT device during the process that the terminal executes the virtual call function of the third-party application through the IOT device that is communicatively connected to it; 发送模块,用于将所述挂断虚拟通话指令发送至虚拟通话增值服务,其中,所述虚拟通话增值服务为预先设置在所述终端中、与所述第三方应用处于绑定关系的服务,所述虚拟通话增值服务具有在虚拟通话的过程中,接收所述第三方应用发送的通知消息,以及向所述第三方应用发送所述终端的通知消息的能力;a sending module, configured to send the instruction to hang up the virtual call to a virtual call value-added service, wherein the virtual call value-added service is a service preset in the terminal and in a binding relationship with the third-party application, The virtual call value-added service has the capability of receiving a notification message sent by the third-party application and sending a notification message of the terminal to the third-party application during a virtual call; 提示模块,用于根据所述挂断虚拟通话指令,所述虚拟通话增值服务向所述第三方应用发送挂断虚拟通话的通知消息,以使所述第三方应用根据所述通知消息,执行挂断虚拟通话的操作。a prompting module, configured to send, according to the instruction to hang up the virtual call, the value-added service for the virtual call to the third-party application a notification message for hanging up the virtual call, so that the third-party application executes the hang-up operation according to the notification message The operation of disconnecting the virtual call. 7.根据权利要求6所述的装置,其特征在于,所述装置还包括:7. The apparatus of claim 6, wherein the apparatus further comprises: 监听模块,用于所述第三方应用通过所述终端建立虚拟通话时,监听所述终端的连接状态;在监听到所述终端通信连接有所述IOT设备时,所述第三方应用绑定所述虚拟通话增值服务。The monitoring module is used for monitoring the connection status of the terminal when the third-party application establishes a virtual call through the terminal; when monitoring that the terminal is communicatively connected to the IOT device, the third-party application binds the terminal. Describe the virtual call value-added service. 8.根据权利要求7所述的装置,其特征在于,所述装置还包括:8. The apparatus according to claim 7, wherein the apparatus further comprises: 注册模块,用于所述第三方应用绑定所述虚拟通话增值服务后,将预先设置的第一接口和第二接口注册到所述虚拟通话增值服务中,其中,所述第三方应用能够调用所述第一接口,向所述虚拟通话增值服务发送表征所述第三方应用的运行状态的通知消息,所述虚拟通话增值服务能够通过所述第二接口,向所述第三方应用发送所述终端的通知消息;The registration module is used to register the preset first interface and the second interface into the virtual call value-added service after the third-party application is bound to the virtual call value-added service, wherein the third-party application can call The first interface sends a notification message representing the running state of the third-party application to the virtual call value-added service, and the virtual call value-added service can send the third-party application the third-party application through the second interface. Terminal notification message; 所述提示模块采用如下方式根据所述挂断虚拟通话指令,所述虚拟通话增值服务向所述第三方应用发送挂断虚拟通话的通知消息:The prompting module adopts the following method to send a notification message of hanging up the virtual call to the third-party application according to the instruction to hang up the virtual call: 根据所述挂断虚拟通话指令,所述虚拟通话增值服务通过所述第二接口向所述第三方应用发送挂断虚拟通话的通知消息。According to the instruction to hang up the virtual call, the virtual call value-added service sends a notification message of hanging up the virtual call to the third-party application through the second interface. 9.一种通话控制装置,其特征在于,包括:9. A call control device, comprising: 处理器;processor; 用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions; 其中,所述处理器被配置为:实现权利要求1~5中任一项所述方法的步骤。Wherein, the processor is configured to: implement the steps of the method of any one of claims 1-5. 10.一种计算机可读存储介质,其上存储有计算机程序指令,其特征在于,该程序指令被处理器执行时实现权利要求1~5中任一项所述方法的步骤。10 . A computer-readable storage medium having computer program instructions stored thereon, characterized in that, when the program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
CN202210239584.2A 2022-03-11 2022-03-11 Call control method, device and storage medium Active CN114615647B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210239584.2A CN114615647B (en) 2022-03-11 2022-03-11 Call control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210239584.2A CN114615647B (en) 2022-03-11 2022-03-11 Call control method, device and storage medium

Publications (2)

Publication Number Publication Date
CN114615647A true CN114615647A (en) 2022-06-10
CN114615647B CN114615647B (en) 2024-11-05

Family

ID=81862410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210239584.2A Active CN114615647B (en) 2022-03-11 2022-03-11 Call control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN114615647B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116016750A (en) * 2022-12-13 2023-04-25 北京小米移动软件有限公司 Call control method and device, storage medium and chip

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6829474B1 (en) * 1999-08-30 2004-12-07 Nec Corporation System for providing multimedia value-added services
KR20060106328A (en) * 2005-04-07 2006-10-12 주식회사 인티큐브 Virtual mobile communication service providing system and method
CN1852466A (en) * 2005-09-02 2006-10-25 华为技术有限公司 Method and system for realizing virtual-number-like voice increment business
US20150079961A1 (en) * 2013-09-13 2015-03-19 Facebook, Inc. Techniques for phone number and data management
CN104869258A (en) * 2015-06-09 2015-08-26 张维秀 Automatic hang-up method and device for mobile terminal
CN110536000A (en) * 2018-05-23 2019-12-03 中国移动通信集团浙江有限公司 A kind of call recording method and system
CN110620969A (en) * 2019-09-29 2019-12-27 歌尔科技有限公司 Voice call control method and device, wireless earphone and storage medium
WO2020107491A1 (en) * 2018-11-30 2020-06-04 华为技术有限公司 Wireless audio system, and audio communication method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6829474B1 (en) * 1999-08-30 2004-12-07 Nec Corporation System for providing multimedia value-added services
KR20060106328A (en) * 2005-04-07 2006-10-12 주식회사 인티큐브 Virtual mobile communication service providing system and method
CN1852466A (en) * 2005-09-02 2006-10-25 华为技术有限公司 Method and system for realizing virtual-number-like voice increment business
US20150079961A1 (en) * 2013-09-13 2015-03-19 Facebook, Inc. Techniques for phone number and data management
CN104869258A (en) * 2015-06-09 2015-08-26 张维秀 Automatic hang-up method and device for mobile terminal
CN110536000A (en) * 2018-05-23 2019-12-03 中国移动通信集团浙江有限公司 A kind of call recording method and system
WO2020107491A1 (en) * 2018-11-30 2020-06-04 华为技术有限公司 Wireless audio system, and audio communication method and device
CN110620969A (en) * 2019-09-29 2019-12-27 歌尔科技有限公司 Voice call control method and device, wireless earphone and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116016750A (en) * 2022-12-13 2023-04-25 北京小米移动软件有限公司 Call control method and device, storage medium and chip

Also Published As

Publication number Publication date
CN114615647B (en) 2024-11-05

Similar Documents

Publication Publication Date Title
CN105159672B (en) Remote Assistance Methods and Clients
WO2016192323A1 (en) Video communication method and device
EP3062487A1 (en) Method and apparatus for detecting smart device
CN109451877B (en) Unmanned aerial vehicle control method and device, unmanned aerial vehicle and remote control equipment
CN109669730B (en) Process keep-alive method, device, electronic equipment and medium
EP3125512A1 (en) Silent ring indication while listening music over a headset
CN107222391A (en) Group's based reminding method, device and equipment
CN106792937B (en) Method and device for processing call request
US20180091328A1 (en) Prompting method, prompting device and prompting system
CN106412481B (en) Reminding method, device and terminal based on VoLTE video calling
CN112640569A (en) Connection establishment method and device
CN104881342B (en) terminal test method and device
CN114615647B (en) Call control method, device and storage medium
EP3280217A1 (en) Method and device for establishing service connection
CN107277422B (en) Video call method, device and system
CN107959974B (en) Communication processing method, terminal and storage medium
CN113726905B (en) Data acquisition method, device and equipment based on home terminal equipment
CN110213531B (en) Monitoring video processing method and device
CN107181669A (en) The display methods and equipment of the transmission time of chat messages
CN116419057A (en) Shooting method, shooting device and storage medium
CN115348570A (en) Search method, device and storage medium for terminal equipment
CN106170038B (en) Recording method and device
CN113114863B (en) Voice communication method, device, equipment and storage medium
WO2022147764A1 (en) Method and apparatus for accessing unlicensed channel, and device and storage medium
EP3276929B1 (en) Method and device for obtaining a call record

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant