CN114449093A - Device control method, incoming call processing device, device and medium - Google Patents

Device control method, incoming call processing device, device and medium Download PDF

Info

Publication number
CN114449093A
CN114449093A CN202210003067.5A CN202210003067A CN114449093A CN 114449093 A CN114449093 A CN 114449093A CN 202210003067 A CN202210003067 A CN 202210003067A CN 114449093 A CN114449093 A CN 114449093A
Authority
CN
China
Prior art keywords
incoming call
terminal device
mode
wearable device
connection
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
CN202210003067.5A
Other languages
Chinese (zh)
Other versions
CN114449093B (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.)
Anhui Huami Health Technology Co Ltd
Original Assignee
Anhui Huami Information Technology 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 Anhui Huami Information Technology Co Ltd filed Critical Anhui Huami Information Technology Co Ltd
Priority to CN202210003067.5A priority Critical patent/CN114449093B/en
Publication of CN114449093A publication Critical patent/CN114449093A/en
Application granted granted Critical
Publication of CN114449093B publication Critical patent/CN114449093B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

本说明书提供一种设备控制方法、来电处理方法、装置、设备及介质,可穿戴设备接收终端设备发送的模式设置信息,模式设置信息用于指示可穿戴设备处理终端设备的来电呼叫的多种工作模式中的目标工作模式,并按照模式设置信息所指示的目标工作模式,对终端设备的来电呼叫进行处理。通过终端设备来设置可穿戴设备的工作模式,使得用户可以根据自己的需求,来对可穿戴设备的工作模式进行设置和调整,从而可以提高可穿戴设备的模式设置的灵活性,提高用户使用体验。

Figure 202210003067

This specification provides a device control method, an incoming call processing method, device, device and medium. The wearable device receives mode setting information sent by a terminal device, and the mode setting information is used to instruct the wearable device to handle various tasks of incoming calls from the terminal device. The target working mode in the mode, and the incoming call of the terminal device is processed according to the target working mode indicated by the mode setting information. The working mode of the wearable device is set through the terminal device, so that the user can set and adjust the working mode of the wearable device according to their own needs, thereby improving the flexibility of the mode setting of the wearable device and improving the user experience. .

Figure 202210003067

Description

设备控制方法、来电处理方法、装置、设备及介质Device control method, incoming call processing method, device, device and medium

技术领域technical field

本说明书涉及无线通信技术领域,尤其涉及一种设备控制方法、来电处理方法、装置、设备及介质。This specification relates to the field of wireless communication technologies, and in particular, to a device control method, an incoming call processing method, an apparatus, a device, and a medium.

背景技术Background technique

随着计算机技术的发展,可穿戴设备作为一种可以直接穿戴在用户身上,或者可以整合到用户的衣服或配件中的一种便携式设备,给用户的使用带来了极大的便利。然而,可穿戴设备对终端设备接收到的来电呼叫的处理仅支持来电提醒模式或蓝牙电话模式,灵活性较差,从而使得用户体验较差。With the development of computer technology, a wearable device, as a portable device that can be directly worn on the user's body or integrated into the user's clothes or accessories, brings great convenience to the user's use. However, the processing of the incoming call received by the terminal device by the wearable device only supports the incoming call reminder mode or the Bluetooth phone mode, which is less flexible and thus makes the user experience poor.

发明内容SUMMARY OF THE INVENTION

为克服相关技术中存在的问题,本说明书提供了一种设备控制方法、来电处理方法、装置、设备及介质。In order to overcome the problems existing in the related art, this specification provides a device control method, an incoming call processing method, an apparatus, a device and a medium.

根据本说明书实施例的第一方面,提供一种设备控制方法,应用于可穿戴设备,该方法包括:According to a first aspect of the embodiments of this specification, a device control method is provided, applied to a wearable device, the method includes:

接收终端设备发送的模式设置信息,模式设置信息用于指示目标工作模式,目标工作模式为可穿戴设备支持的多种工作模式的一种,多种工作模式用于可穿戴设备处理终端设备的来电呼叫;Receive the mode setting information sent by the terminal device. The mode setting information is used to indicate the target working mode. The target working mode is one of the multiple working modes supported by the wearable device. The multiple working modes are used by the wearable device to handle incoming calls from the terminal device. call;

按照目标工作模式对终端设备的来电呼叫进行处理。The incoming call of the terminal equipment is processed according to the target working mode.

通过终端设备来设置可穿戴设备的工作模式,使得用户可以根据自己的需求,来对可穿戴设备的工作模式进行设置,从而可以提高可穿戴设备的模式设置过程的灵活性。The working mode of the wearable device is set by the terminal device, so that the user can set the working mode of the wearable device according to their own needs, thereby improving the flexibility of the mode setting process of the wearable device.

在本说明书的一些实施例中,多种工作模式包括蓝牙电话模式、来电提醒模式和勿扰模式。In some embodiments of the present specification, the multiple working modes include a Bluetooth phone mode, an incoming call alert mode, and a do not disturb mode.

在本说明书的一些实施例中,目标工作模式为蓝牙电话模式;In some embodiments of this specification, the target operating mode is a Bluetooth phone mode;

按照目标工作模式对终端设备的来电呼叫进行处理,包括:Handle incoming calls from terminal equipment according to the target working mode, including:

响应于接收到终端设备的来电通知消息,与终端设备建立免提模式HFP连接,来电通知消息用于指示终端设备接收到来电呼叫;In response to receiving an incoming call notification message from the terminal device, establish a hands-free mode HFP connection with the terminal device, and the incoming call notification message is used to indicate that the terminal device receives an incoming call;

通过HFP连接,对终端设备的来电呼叫进行处理。Through HFP connection, incoming calls to terminal equipment are processed.

在本说明书的一些实施例中,响应于接收到终端设备的来电通知消息,与终端设备建立免提模式HFP连接,包括:In some embodiments of this specification, in response to receiving an incoming call notification message from the terminal device, establishing a hands-free mode HFP connection with the terminal device includes:

响应于通过与终端设备之间的低功耗蓝牙BLE连接接收到终端设备的来电通知消息,与终端设备建立免提模式HFP连接。In response to receiving an incoming call notification message from the terminal device through the Bluetooth low energy BLE connection with the terminal device, a hands-free mode HFP connection is established with the terminal device.

在本说明书的一些实施例中,来电通知消息包括通知类型信息和事件信息;In some embodiments of this specification, the incoming call notification message includes notification type information and event information;

该方法还包括:The method also includes:

根据接收到的来电通知消息中包括的通知类型信息和事件信息,确定与终端设备建立HFP连接。According to the notification type information and event information included in the received incoming call notification message, it is determined to establish an HFP connection with the terminal device.

在本说明书的一些实施例中,根据接收到的来电通知消息中包括的通知类型信息和事件信息,确定与终端设备建立HFP连接,包括:In some embodiments of this specification, according to the notification type information and event information included in the received incoming call notification message, it is determined to establish an HFP connection with the terminal device, including:

在通知类型信息指示新增通知,且事件信息指示来电呼叫的情况下,确定与终端设备建立HFP连接。In the case that the notification type information indicates a new notification, and the event information indicates an incoming call, it is determined to establish an HFP connection with the terminal device.

在本说明书的一些实施例中,与终端设备建立HFP连接,包括:In some embodiments of this specification, establishing an HFP connection with a terminal device includes:

向终端设备发送经典蓝牙BT连接建立请求,以与终端设备建立BT连接;Send a classic Bluetooth BT connection establishment request to the terminal device to establish a BT connection with the terminal device;

通过与终端设备建立的BT连接,与终端设备建立HFP连接。The HFP connection is established with the terminal device through the BT connection established with the terminal device.

在本说明书的一些实施例中,通过与终端设备建立的BT连接,与终端设备建立HFP连接,包括:In some embodiments of this specification, the HFP connection is established with the terminal device through the BT connection established with the terminal device, including:

通过BT连接向终端设备发起HFP连接建立请求,以与终端设备建立HFP连接。An HFP connection establishment request is initiated to the terminal device through the BT connection to establish an HFP connection with the terminal device.

在本说明书的一些实施例中,通过HFP连接,对终端设备所接收到的来电呼叫事件进行处理,包括:In some embodiments of this specification, the incoming call event received by the terminal device is processed through the HFP connection, including:

通过HFP连接,获取终端设备的来电呼叫的来电信息;Obtain the incoming call information of the incoming call of the terminal device through the HFP connection;

向用户展示来电呼叫界面,来电呼叫界面包括来电信息和多个用户操作选项。The incoming call interface is displayed to the user, and the incoming call interface includes incoming call information and multiple user operation options.

在本说明书的一些实施例中,向用户展示来电呼叫界面之后,该方法还包括:In some embodiments of this specification, after displaying the incoming call interface to the user, the method further includes:

响应于用户对来电呼叫的接听输入,与终端设备建立面向同步连接SCO链接;In response to the user's input of answering the incoming call, establish a synchronous connection-oriented SCO link with the terminal device;

通过SCO链接,获取终端设备所接收到的语音数据。Obtain the voice data received by the terminal device through the SCO link.

在本说明书的一些实施例中,该方法还包括:In some embodiments of this specification, the method further includes:

基于从终端设备获取到的编码译码器Codec参数,确定可穿戴设备在当前来电呼叫的处理中所使用的来电铃声;Determine the incoming ringtone used by the wearable device in processing the current incoming call based on the codec Codec parameter obtained from the terminal device;

在确定可穿戴设备在当前来电呼叫的处理中使用终端设备的来电铃声的情况下,建立SCO链接;In the case of determining that the wearable device uses the incoming ringtone of the terminal device in the processing of the current incoming call, establish a SCO link;

通过SCO链接,获取终端设备的来电铃声。Obtain the ringtone of the terminal device through the SCO link.

在本说明书的一些实施例中,该方法还包括:In some embodiments of this specification, the method further includes:

响应于接收到终端设备发送的模式切换信息,切换可穿戴设备的目标工作模式。In response to receiving the mode switching information sent by the terminal device, the target working mode of the wearable device is switched.

根据本说明书的第二方面,提供一种设备控制方法,应用于终端设备,该方法包括:According to a second aspect of this specification, a device control method is provided, applied to a terminal device, and the method includes:

响应于接收到用户对多个工作模式中的目标工作模式的选择输入,向可穿戴设备发送模式设置信息,多个工作模式用于可穿戴设备处理终端设备的来电呼叫,模式设置信息用于指示目标工作模式;In response to receiving the user's selection input for a target work mode among the plurality of work modes, send mode setting information to the wearable device, the plurality of work modes are used for the wearable device to process incoming calls from the terminal device, and the mode setting information is used to indicate target working mode;

响应于接收到来电呼叫,按照目标工作模式与可穿戴设备进行信息传输。In response to receiving an incoming call, information is communicated with the wearable device according to the target operating mode.

通过提供用户可以在多个工作模式中进行选择输入的功能,终端设备即可响应于接收到用户对多个工作模式中目标工作模式的选择输入,向可穿戴设备发送指示目标工作模式的模式设置信息,从而可以通过终端设备将可穿戴设备的工作模式设置为目标工作模式,使得用户可以根据自己的需求,来对可穿戴设备的工作模式进行设置,进而可以提高可穿戴设备的模式设置过程的灵活性,使得在终端设备接收到来电呼叫的情况下,可以按照目标工作模式与可穿戴设备进行信息传输。By providing the function that the user can select input in multiple working modes, the terminal device can send the mode setting indicating the target working mode to the wearable device in response to receiving the user's selection input on the target working mode among the multiple working modes information, so that the working mode of the wearable device can be set to the target working mode through the terminal device, so that the user can set the working mode of the wearable device according to their own needs, which can improve the mode setting process of the wearable device. Flexibility, so that when the terminal device receives an incoming call, it can transmit information with the wearable device according to the target working mode.

在本说明书的一些实施例中,多个工作模式包括蓝牙电话模式、来电提醒模式和勿扰模式。In some embodiments of this specification, the plurality of working modes include a Bluetooth phone mode, an incoming call reminder mode, and a do not disturb mode.

在本说明书的一些实施例中,目标工作模式为蓝牙电话模式;In some embodiments of this specification, the target operating mode is a Bluetooth phone mode;

响应于接收到来电呼叫,按照目标工作模式与可穿戴设备进行信息传输,包括:In response to receiving an incoming call, transmit information with the wearable device according to the target working mode, including:

响应于接收到来电呼叫,向可穿戴设备发送来电通知消息,来电通知消息包括通知类型信息和事件信息;In response to receiving an incoming call, send an incoming call notification message to the wearable device, where the incoming call notification message includes notification type information and event information;

接收可穿戴设备基于来电通知消息发送的连接建立请求,连接建立请求用于请求与终端设备建立免提模式HFP连接。A connection establishment request sent by the wearable device based on the incoming call notification message is received, and the connection establishment request is used to request to establish a hands-free mode HFP connection with the terminal device.

在本说明书的一些实施例中,接收可穿戴设备基于来电通知消息发送的连接建立请求,包括:In some embodiments of this specification, receiving a connection establishment request sent by the wearable device based on the incoming call notification message includes:

通过与可穿戴设备之间的低功耗蓝牙BLE连接,接收可穿戴设备基于来电通知消息发送的经典蓝牙BT连接建立请求;Receive the classic Bluetooth BT connection establishment request sent by the wearable device based on the incoming call notification message through the low-power Bluetooth BLE connection with the wearable device;

基于BT连接建立请求,与可穿戴设备建立BT连接;Based on the BT connection establishment request, establish a BT connection with the wearable device;

通过与可穿戴设备之间的BT连接接收可穿戴设备发送的HFP连接建立请求。Receive the HFP connection establishment request sent by the wearable device through the BT connection with the wearable device.

在本说明书的一些实施例中,响应于接收到来电呼叫,向可穿戴设备发送来电通知消息,包括:In some embodiments of the present specification, in response to receiving an incoming call, sending an incoming call notification message to the wearable device includes:

响应于接收到来电呼叫,通过与可穿戴设备的BLE连接向可穿戴设备发送来电通知消息。In response to receiving an incoming call, an incoming call notification message is sent to the wearable device through the BLE connection with the wearable device.

在本说明书的一些实施例中,接收可穿戴设备基于来电通知消息发送的连接建立请求之后,该方法还包括:In some embodiments of this specification, after receiving the connection establishment request sent by the wearable device based on the incoming call notification message, the method further includes:

响应于用户在可穿戴设备上的接听输入,与可穿戴设备建立面向同步连接SCO链接;In response to the user's answering input on the wearable device, establish a synchronous connection SCO link with the wearable device;

通过SCO链接,向可穿戴设备发送终端设备所接收到的语音数据。Through the SCO link, the voice data received by the terminal device is sent to the wearable device.

在本说明书的一些实施例中,接收可穿戴设备基于来电通知消息发送的连接建立请求之后,该方法还包括:In some embodiments of this specification, after receiving the connection establishment request sent by the wearable device based on the incoming call notification message, the method further includes:

在基于终端设备中的Codec参数确定可穿戴设备在当前来电呼叫的处理中使用终端设备的来电铃声的情况下,建立SCO链接;In the case that the wearable device uses the incoming ringtone of the terminal device in the processing of the current incoming call based on the Codec parameter in the terminal device, establish the SCO link;

通过SCO链接,向可穿戴设备发送终端设备的来电铃声。Send the ringtone of the terminal device to the wearable device through the SCO link.

在本说明书的一些实施例中,该方法还包括:In some embodiments of this specification, the method further includes:

响应于接收到用户对目标工作模式的切换输入,向可穿戴设备发送模式切换信息,模式切换信息用于指示可穿戴设备切换目标工作模式。In response to receiving the user's switching input for the target working mode, mode switching information is sent to the wearable device, where the mode switching information is used to instruct the wearable device to switch the target working mode.

根据本说明书的第三方面,提供一种来电处理方法,应用于可穿戴设备,该方法包括:According to a third aspect of the present specification, a method for processing incoming calls is provided, applied to a wearable device, the method comprising:

在可穿戴设备处于蓝牙电话模式的状态下,与终端设备保持低功耗蓝牙BLE连接;When the wearable device is in the Bluetooth phone mode, maintain a low-power Bluetooth BLE connection with the terminal device;

响应于通过BLE连接接收到终端设备的来电通知消息,与终端设备建立免提模式HFP连接;In response to receiving an incoming call notification message from the terminal device through the BLE connection, establish a hands-free mode HFP connection with the terminal device;

通过HFP连接,对终端设备的来电呼叫进行处理。Through HFP connection, incoming calls to terminal equipment are processed.

通过在可穿戴设备处于蓝牙电话模式的状态下,与终端设备保持低功耗蓝牙BLE连接,从而使得可穿戴设备和终端设备之间,可以通过BLE连接实现来电通知消息的传输,从而使得可穿戴设备可以在接收到终端设备的来电通知消息后,即可响应于接收到来电通知消息,来与终端设备建立HFP连接,简化了终端设备与可穿戴设备之间的交互过程,从而可以实现终端设备和可穿戴设备之间的连接的快速建立,以便可穿戴设备可以在HFP连接下,获取终端设备所接收到的来电呼叫,从而实现通过可穿戴设备,来对终端设备所接收到的来电呼叫进行处理,从而能够提高来电处理效率。By maintaining a low-power Bluetooth BLE connection with the terminal device when the wearable device is in the bluetooth phone mode, the wearable device and the terminal device can realize the transmission of incoming call notification messages through the BLE connection, so that the wearable device and the terminal device can be connected. After receiving the incoming call notification message from the terminal device, the device can establish an HFP connection with the terminal device in response to receiving the incoming call notification message, which simplifies the interaction process between the terminal device and the wearable device, so that the terminal device can be realized. The connection between the wearable device and the wearable device is quickly established, so that the wearable device can obtain the incoming call received by the terminal device under the HFP connection, so as to realize the incoming call received by the terminal device through the wearable device. processing, so as to improve the efficiency of incoming call processing.

在本说明书的一些实施例中,来电通知消息包括通知类型信息和事件信息;In some embodiments of this specification, the incoming call notification message includes notification type information and event information;

响应于通过BLE连接接收到终端设备的来电通知消息,与终端设备建立HFP连接,包括:In response to receiving an incoming call notification message from the terminal device through the BLE connection, establish an HFP connection with the terminal device, including:

基于来电通知消息中包括的通知类型信息和事件信息,确定与终端设备建立HFP连接。Based on the notification type information and event information included in the incoming call notification message, it is determined to establish an HFP connection with the terminal device.

在本说明书的一些实施例中,基于来电通知消息中包括的通知类型信息和事件信息,确定与终端设备建立HFP连接,包括:In some embodiments of this specification, based on the notification type information and event information included in the incoming call notification message, determining to establish an HFP connection with the terminal device includes:

在通知类型信息指示新增通知,且事件信息指示来电呼叫的情况下,确定与终端设备建立HFP连接。In the case that the notification type information indicates a new notification, and the event information indicates an incoming call, it is determined to establish an HFP connection with the terminal device.

在本说明书的一些实施例中,与终端设备建立HFP连接,包括:In some embodiments of this specification, establishing an HFP connection with a terminal device includes:

向终端设备发送经典蓝牙BT连接建立请求,以与终端设备建立BT连接;Send a classic Bluetooth BT connection establishment request to the terminal device to establish a BT connection with the terminal device;

通过与终端设备建立的BT连接,与终端设备建立HFP连接。The HFP connection is established with the terminal device through the BT connection established with the terminal device.

在本说明书的一些实施例中,与终端设备建立HFP连接,包括:In some embodiments of this specification, establishing an HFP connection with a terminal device includes:

通过BT连接向终端设备发起HFP连接建立请求,以与终端设备建立HFP连接。An HFP connection establishment request is initiated to the terminal device through the BT connection to establish an HFP connection with the terminal device.

在本说明书的一些实施例中,该方法还包括:In some embodiments of this specification, the method further includes:

响应于检测到终端设备,与终端设备建立BLE连接;或者,In response to detecting the end device, establish a BLE connection with the end device; or,

响应于接收到终端设备发送的模式设置信息,控制可穿戴设备处于蓝牙电话模式,其中,模式设置信息用于设置可穿戴设备处理终端设备的来电呼叫的工作模式为蓝牙电话模式;或者,In response to receiving the mode setting information sent by the terminal device, the wearable device is controlled to be in the Bluetooth phone mode, wherein the mode setting information is used to set the working mode of the wearable device for processing incoming calls from the terminal device to the Bluetooth phone mode; or,

响应于接收到终端设备发送的模式切换信息,控制可穿戴设备从蓝牙电话模式切换为来电提醒模式或勿扰模式。In response to receiving the mode switching information sent by the terminal device, the wearable device is controlled to switch from the Bluetooth phone mode to the incoming call reminder mode or the do not disturb mode.

根据本说明书实施例的第四方面,提供一种设备控制装置,该装置包括:According to a fourth aspect of the embodiments of the present specification, there is provided a device control device, the device comprising:

接收模块,用于接收终端设备发送的模式设置信息,模式设置信息用于指示目标工作模式,目标工作模式为可穿戴设备支持的多种工作模式的一种,多种工作模式用于可穿戴设备处理终端设备的来电呼叫;The receiving module is used to receive the mode setting information sent by the terminal device. The mode setting information is used to indicate the target working mode. The target working mode is one of the multiple working modes supported by the wearable device, and the multiple working modes are used for the wearable device. Handle incoming calls from terminal equipment;

处理模块,用于按照目标工作模式对终端设备的来电呼叫进行处理。The processing module is used to process the incoming call of the terminal device according to the target working mode.

在本说明书的一些实施例中,多种工作模式包括蓝牙电话模式、来电提醒模式和勿扰模式。In some embodiments of the present specification, the multiple working modes include a Bluetooth phone mode, an incoming call alert mode, and a do not disturb mode.

在本说明书的一些实施例中,目标工作模式为蓝牙电话模式;In some embodiments of this specification, the target operating mode is a Bluetooth phone mode;

该处理模块,在用于按照目标工作模式对终端设备的来电呼叫进行处理时,包括第一建立子模块和处理子模块;The processing module, when used to process the incoming call of the terminal device according to the target working mode, includes a first establishment submodule and a processing submodule;

该第一建立子模块,用于响应于接收到终端设备的来电通知消息,与终端设备建立免提模式HFP连接,来电通知消息用于指示终端设备接收到来电呼叫;The first establishment submodule is configured to establish a hands-free mode HFP connection with the terminal device in response to receiving an incoming call notification message from the terminal device, and the incoming call notification message is used to instruct the terminal device to receive an incoming call;

该处理子模块,用于通过HFP连接,对终端设备的来电呼叫进行处理。The processing sub-module is used for processing incoming calls of terminal equipment through HFP connection.

在本说明书的一些实施例中,该第一建立子模块,在用于响应于接收到终端设备的来电通知消息,与终端设备建立免提模式HFP连接时,用于:In some embodiments of this specification, the first establishment sub-module, when used to establish a hands-free mode HFP connection with the terminal device in response to receiving an incoming call notification message from the terminal device, is configured to:

响应于通过与终端设备之间的低功耗蓝牙BLE连接接收到终端设备的来电通知消息,与终端设备建立免提模式HFP连接。In response to receiving an incoming call notification message from the terminal device through the Bluetooth low energy BLE connection with the terminal device, a hands-free mode HFP connection is established with the terminal device.

在本说明书的一些实施例中,来电通知消息包括通知类型信息和事件信息;In some embodiments of this specification, the incoming call notification message includes notification type information and event information;

该处理模块还包括第一确定子模块,该第一确定子模块,用于根据接收到的来电通知消息中包括的通知类型信息和事件信息,确定与终端设备建立HFP连接。The processing module further includes a first determination submodule, which is configured to determine, according to the notification type information and event information included in the received incoming call notification message, to establish an HFP connection with the terminal device.

在本说明书的一些实施例中,该第一确定子模块,在用于根据接收到的来电通知消息中包括的通知类型信息和事件信息,确定与终端设备建立HFP连接时,用于:In some embodiments of this specification, when the first determining submodule is used to determine to establish an HFP connection with the terminal device according to the notification type information and event information included in the received incoming call notification message, it is used to:

在通知类型信息指示新增通知,且事件信息指示来电呼叫的情况下,确定与终端设备建立HFP连接。In the case that the notification type information indicates a new notification, and the event information indicates an incoming call, it is determined to establish an HFP connection with the terminal device.

在本说明书的一些实施例中,该第一建立子模块,在用于与终端设备建立HFP连接时,包括第一建立单元和第二建立单元;In some embodiments of this specification, the first establishment submodule, when used to establish an HFP connection with a terminal device, includes a first establishment unit and a second establishment unit;

该第一建立单元,用于向终端设备发送经典蓝牙BT连接建立请求,以与终端设备建立BT连接;The first establishment unit is used to send a classic Bluetooth BT connection establishment request to the terminal device to establish a BT connection with the terminal device;

该第二建立单元,用于通过与终端设备建立的BT连接,与终端设备建立HFP连接。The second establishing unit is configured to establish an HFP connection with the terminal device through the BT connection established with the terminal device.

在本说明书的一些实施例中,该第二建立单元,在用于通过与终端设备建立的BT连接,与终端设备建立HFP连接时,用于:In some embodiments of this specification, the second establishing unit, when used to establish an HFP connection with the terminal device through the BT connection established with the terminal device, is used for:

通过BT连接向终端设备发起HFP连接建立请求,以与终端设备建立HFP连接。An HFP connection establishment request is initiated to the terminal device through the BT connection to establish an HFP connection with the terminal device.

在本说明书的一些实施例中,该处理模块,在用于通过HFP连接,对终端设备所接收到的来电呼叫事件进行处理时,用于:In some embodiments of this specification, when the processing module is used to process the incoming call event received by the terminal device through the HFP connection, it is used to:

通过HFP连接,获取终端设备的来电呼叫的来电信息;Obtain the incoming call information of the incoming call of the terminal device through the HFP connection;

向用户展示来电呼叫界面,来电呼叫界面包括来电信息和多个用户操作选项。The incoming call interface is displayed to the user, and the incoming call interface includes incoming call information and multiple user operation options.

在本说明书的一些实施例中,该处理模块还包括第二建立子模块,该第二建立子模块,用于响应于用户对来电呼叫的接听输入,与终端设备建立面向同步连接SCO链接;In some embodiments of this specification, the processing module further includes a second establishment sub-module, and the second establishment sub-module is configured to establish a synchronous connection-oriented SCO link with the terminal device in response to the user's input of answering the incoming call;

通过SCO链接,获取终端设备所接收到的语音数据。Obtain the voice data received by the terminal device through the SCO link.

在本说明书的一些实施例中,该处理模块还包括第二确定子模块、第三建立子模块和获取子模块:In some embodiments of this specification, the processing module further includes a second determination submodule, a third establishment submodule, and an acquisition submodule:

该第二确定模块,用于基于从终端设备获取到的编码译码器Codec参数,确定可穿戴设备在当前来电呼叫的处理中所使用的来电铃声;The second determining module is configured to determine the incoming ringtone used by the wearable device in processing the current incoming call based on the codec Codec parameter obtained from the terminal device;

该第三建立子模块,用于在确定可穿戴设备在当前来电呼叫的处理中使用终端设备的来电铃声的情况下,建立SCO链接;The third establishment sub-module is used to establish a SCO link when it is determined that the wearable device uses the incoming ringtone of the terminal device in the processing of the current incoming call;

该获取子模块,用于通过SCO链接,获取终端设备的来电铃声。The obtaining submodule is used to obtain the ringtone of the terminal device through the SCO link.

在本说明书的一些实施例中,该装置还包括:In some embodiments of this specification, the device further comprises:

切换模块,用于响应于接收到终端设备发送的模式切换信息,切换可穿戴设备的目标工作模式。The switching module is used for switching the target working mode of the wearable device in response to receiving the mode switching information sent by the terminal device.

根据本说明书的第五方面,提供一种设备控制装置,应用于终端设备,该装置包括:According to a fifth aspect of the present specification, there is provided a device control device, which is applied to a terminal device, the device comprising:

发送模块,用于响应于接收到用户对多个工作模式中的目标工作模式的选择输入,向可穿戴设备发送模式设置信息,多个工作模式用于可穿戴设备处理终端设备的来电呼叫,模式设置信息用于指示目标工作模式;The sending module is used for sending the mode setting information to the wearable device in response to receiving the user's selection input of the target working mode in the multiple working modes, and the multiple working modes are used for the wearable device to process the incoming call of the terminal device, and the mode The setting information is used to indicate the target working mode;

传输模块,用于响应于接收到来电呼叫,按照目标工作模式与可穿戴设备进行信息传输。The transmission module is used to transmit information with the wearable device according to the target working mode in response to receiving an incoming call.

在本说明书的一些实施例中,多个工作模式包括蓝牙电话模式、来电提醒模式和勿扰模式。In some embodiments of this specification, the plurality of working modes include a Bluetooth phone mode, an incoming call reminder mode, and a do not disturb mode.

在本说明书的一些实施例中,目标工作模式为蓝牙电话模式;In some embodiments of this specification, the target operating mode is a Bluetooth phone mode;

该传输模块,在用于响应于接收到来电呼叫,按照目标工作模式与可穿戴设备进行信息传输时,包括发送子模块和接收子模块;The transmission module, when used to transmit information with the wearable device according to the target working mode in response to receiving an incoming call, includes a sending sub-module and a receiving sub-module;

该发送子模块,用于响应于接收到来电呼叫,向可穿戴设备发送来电通知消息,来电通知消息包括通知类型信息和事件信息;The sending submodule is configured to send an incoming call notification message to the wearable device in response to receiving an incoming call, where the incoming call notification message includes notification type information and event information;

该接收子模块,用于接收可穿戴设备基于来电通知消息发送的连接建立请求。The receiving sub-module is configured to receive a connection establishment request sent by the wearable device based on the incoming call notification message.

在本说明书的一些实施例中,该接收子模块,在用于接收可穿戴设备基于来电通知消息发送的连接建立请求时,用于:In some embodiments of this specification, the receiving sub-module, when used to receive a connection establishment request sent by the wearable device based on the incoming call notification message, is used to:

通过与可穿戴设备之间的低功耗蓝牙BLE连接,接收可穿戴设备基于来电通知消息发送的经典蓝牙BT连接建立请求;Receive the classic Bluetooth BT connection establishment request sent by the wearable device based on the incoming call notification message through the low-power Bluetooth BLE connection with the wearable device;

基于BT连接建立请求,与可穿戴设备建立BT连接;Based on the BT connection establishment request, establish a BT connection with the wearable device;

通过与可穿戴设备之间的BT连接接收可穿戴设备发送的HFP连接建立请求。Receive the HFP connection establishment request sent by the wearable device through the BT connection with the wearable device.

在本说明书的一些实施例中,该发送子模块,在用于响应于接收到来电呼叫,向可穿戴设备发送来电通知消息时,用于:In some embodiments of this specification, the sending submodule, when used to send an incoming call notification message to the wearable device in response to receiving an incoming call, is used to:

响应于接收到来电呼叫,通过与可穿戴设备的BLE连接向可穿戴设备发送来电通知消息。In response to receiving an incoming call, an incoming call notification message is sent to the wearable device through the BLE connection with the wearable device.

在本说明书的一些实施例中,该传输模块,还包括第一建立子模块;In some embodiments of this specification, the transmission module further includes a first establishment sub-module;

该第一建立子模块,用于响应于用户在可穿戴设备上的接听输入,与可穿戴设备建立面向同步连接SCO链接;The first establishment submodule is used to establish a synchronous connection SCO link with the wearable device in response to the user's answering input on the wearable device;

该发送子模块,还用于通过SCO链接,向可穿戴设备发送终端设备所接收到的语音数据。The sending sub-module is also used to send the voice data received by the terminal device to the wearable device through the SCO link.

在本说明书的一些实施例中,该传输模块,还包括第二建立子模块;In some embodiments of this specification, the transmission module further includes a second establishment sub-module;

该第二建立子模块,用于在基于终端设备中的Codec参数确定可穿戴设备在当前来电呼叫的处理中使用终端设备的来电铃声的情况下,建立SCO链接;The second establishment sub-module is used to establish a SCO link when it is determined based on the Codec parameter in the terminal device that the wearable device uses the incoming call ringtone of the terminal device in the processing of the current incoming call;

该发送子模块,还用于通过SCO链接,向可穿戴设备发送终端设备的来电铃声。The sending submodule is also used to send the ringtone of the terminal device to the wearable device through the SCO link.

在本说明书的一些实施例中,该发送模块,还用于响应于接收到用户对目标工作模式的切换输入,向可穿戴设备发送模式切换信息,模式切换信息用于指示可穿戴设备切换目标工作模式。In some embodiments of this specification, the sending module is further configured to send mode switching information to the wearable device in response to receiving the user's switching input to the target working mode, where the mode switching information is used to instruct the wearable device to switch the target working mode model.

根据本说明书的第六方面,提供一种来电处理装置,应用于可穿戴设备,该装置包括:According to a sixth aspect of the present specification, an incoming call processing apparatus is provided, applied to a wearable device, the apparatus comprising:

保持模块,用于在可穿戴设备处于蓝牙电话模式的状态下,与终端设备保持低功耗蓝牙BLE连接;A hold module, used to maintain a low-power bluetooth BLE connection with the terminal device when the wearable device is in the bluetooth phone mode;

建立模块,用于响应于通过BLE连接接收到终端设备的来电通知消息,与终端设备建立免提模式HFP连接;The establishment module is used to establish a hands-free mode HFP connection with the terminal device in response to receiving an incoming call notification message from the terminal device through the BLE connection;

处理模块,用于通过HFP连接,对终端设备的来电呼叫进行处理。The processing module is used to process the incoming call of the terminal device through the HFP connection.

在本说明书的一些实施例中,来电通知消息包括通知类型信息和事件信息;In some embodiments of this specification, the incoming call notification message includes notification type information and event information;

该建立模块,在用于响应于通过BLE连接接收到终端设备的来电通知消息,与终端设备建立HFP连接时,包括确定子模块;The establishment module, when used to establish an HFP connection with the terminal device in response to receiving an incoming call notification message from the terminal device through the BLE connection, includes a determination submodule;

该确定子模块,用于基于来电通知消息中包括的通知类型信息和事件信息,确定与终端设备建立HFP连接。The determining submodule is configured to determine, based on the notification type information and event information included in the incoming call notification message, to establish an HFP connection with the terminal device.

在本说明书的一些实施例中,该确定子模块,在用于基于来电通知消息中包括的通知类型信息和事件信息,确定与终端设备建立HFP连接时,用于:In some embodiments of this specification, the determining submodule, when used for determining to establish an HFP connection with the terminal device based on the notification type information and event information included in the incoming call notification message, is configured to:

在通知类型信息指示新增通知,且事件信息指示来电呼叫的情况下,确定与终端设备建立HFP连接。In the case that the notification type information indicates a new notification, and the event information indicates an incoming call, it is determined to establish an HFP connection with the terminal device.

在本说明书的一些实施例中,该建立模块,在用于与终端设备建立HFP连接时,包括发送子模块和建立子模块;In some embodiments of this specification, the establishing module, when used to establish an HFP connection with a terminal device, includes a sending sub-module and a establishing sub-module;

该发送子模块,用于向终端设备发送经典蓝牙BT连接建立请求,以与终端设备建立BT连接;The sending submodule is used to send a classic Bluetooth BT connection establishment request to the terminal device to establish a BT connection with the terminal device;

该建立子模块,用于通过与终端设备建立的BT连接,与终端设备建立HFP连接。The establishment submodule is used to establish an HFP connection with the terminal device through the BT connection established with the terminal device.

在本说明书的一些实施例中,该建立子模块,在用于与终端设备建立HFP连接时,用于:In some embodiments of this specification, the establishment submodule, when used to establish an HFP connection with a terminal device, is used to:

通过BT连接向终端设备发起HFP连接建立请求,以与终端设备建立HFP连接Initiate an HFP connection establishment request to the terminal device through the BT connection to establish an HFP connection with the terminal device

在本说明书的一些实施例中,该建立模块,还用于响应于检测到终端设备,与终端设备建立BLE连接;In some embodiments of this specification, the establishing module is further configured to establish a BLE connection with the terminal device in response to detecting the terminal device;

该装置还包括:The device also includes:

控制模块,用于响应于接收到终端设备发送的模式设置信息,控制可穿戴设备处于蓝牙电话模式,其中,模式设置信息用于设置可穿戴设备处理终端设备的来电呼叫的工作模式为蓝牙电话模式;The control module is used to control the wearable device to be in the Bluetooth phone mode in response to receiving the mode setting information sent by the terminal device, wherein the mode setting information is used to set the working mode of the wearable device to process the incoming call of the terminal device as the Bluetooth phone mode ;

该控制模块,还用于响应于接收到终端设备发送的模式切换信息,控制可穿戴设备从蓝牙电话模式切换为来电提醒模式或勿扰模式。The control module is further configured to control the wearable device to switch from the Bluetooth phone mode to the incoming call reminder mode or the do not disturb mode in response to receiving the mode switching information sent by the terminal device.

根据本说明书实施例的第七方面,提供一种可穿戴设备,该可穿戴设备包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,处理器执行计算机程序时实现上述第一方面以及第一方面的任一个可选实施例所提供的设备控制方法所执行的操作。According to a seventh aspect of the embodiments of the present specification, a wearable device is provided, the wearable device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program The operations performed by the first aspect and the device control method provided by any optional embodiment of the first aspect are implemented.

根据本说明书实施例的第八方面,提供一种终端设备,该终端设备包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,处理器执行计算机程序时实现上述第二方面以及第二方面的任一个可选实施例所提供的设备控制方法所执行的操作。According to an eighth aspect of the embodiments of this specification, a terminal device is provided, the terminal device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above when executing the computer program The operations performed by the device control method provided in the second aspect and any optional embodiment of the second aspect.

根据本说明书实施例的第九方面,提供一种可穿戴设备,该可穿戴设备包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,处理器执行计算机程序时实现上述第三方面以及第三方面的任一个可选实施例所提供的来电处理方法所执行的操作。According to a ninth aspect of the embodiments of the present specification, a wearable device is provided, the wearable device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program The operations performed by the third aspect and the incoming call processing method provided by any optional embodiment of the third aspect are implemented.

根据本说明书实施例的第十方面,提供一种计算机可读存储介质,计算机可读存储介质上存储有程序,程序被处理器执行上述第一方面以及第一方面的任一个可选实施例所提供的设备控制方法所执行的操作。According to a tenth aspect of the embodiments of this specification, a computer-readable storage medium is provided, where a program is stored on the computer-readable storage medium, and the program is executed by a processor to execute the first aspect and any optional embodiment of the first aspect. The operation performed by the provided device control method.

根据本说明书实施例的第十一方面,提供一种计算机可读存储介质,计算机可读存储介质上存储有程序,程序被处理器执行上述第二方面以及第二方面的任一个可选实施例所提供的设备控制方法所执行的操作。According to an eleventh aspect of the embodiments of this specification, a computer-readable storage medium is provided, where a program is stored on the computer-readable storage medium, and the program is executed by a processor in the second aspect and any optional embodiment of the second aspect The operation performed by the provided device control method.

根据本说明书实施例的第十二方面,提供一种计算机可读存储介质,计算机可读存储介质上存储有程序,程序被处理器执行上述第三方面以及第三方面的任一个可选实施例所提供的来电处理方法所执行的操作。According to a twelfth aspect of the embodiments of this specification, a computer-readable storage medium is provided, where a program is stored on the computer-readable storage medium, and the program is executed by a processor in the third aspect and any optional embodiment of the third aspect The operation performed by the provided call handling method.

根据本说明书实施例的第十三方面,提供一种计算机程序产品,包括计算机程序,计算机程序被处理器执行时实现上述第一方面以及第一方面的任一个可选实施例所提供的设备控制方法所执行的操作。According to a thirteenth aspect of the embodiments of the present specification, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the device control provided by the first aspect and any optional embodiment of the first aspect can be implemented. The action performed by the method.

根据本说明书实施例的第十四方面,提供一种计算机程序产品,包括计算机程序,计算机程序被处理器执行时实现上述第二方面以及第二方面的任一个可选实施例所提供的设备控制方法所执行的操作。According to a fourteenth aspect of the embodiments of this specification, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, implements the device control provided by the second aspect and any optional embodiment of the second aspect The action performed by the method.

根据本说明书实施例的第十五方面,提供一种计算机程序产品,包括计算机程序,计算机程序被处理器执行时实现上述第三方面以及第三方面的任一个可选实施例所提供的来电处理方法所执行的操作。According to a fifteenth aspect of the embodiments of this specification, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the third aspect and the incoming call processing provided by any optional embodiment of the third aspect are implemented. The action performed by the method.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本说明书。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 specification.

附图说明Description of drawings

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

图1是本申请实施例的一种应用场景示例的示意图。FIG. 1 is a schematic diagram of an example of an application scenario of an embodiment of the present application.

图2是本申请根据一示例性实施例示出的一种设备控制方法的流程图。Fig. 2 is a flowchart of a device control method according to an exemplary embodiment of the present application.

图3是本申请根据一示例性实施例示出的一种设备控制方法的流程图。FIG. 3 is a flowchart of a device control method according to an exemplary embodiment of the present application.

图4是本申请根据一示例性实施例示出的一种来电处理方法的流程图。FIG. 4 is a flowchart of a method for processing an incoming call according to an exemplary embodiment of the present application.

图5是本申请根据一示例性实施例示出的一种来电处理方法的流程图。Fig. 5 is a flowchart of a method for processing an incoming call according to an exemplary embodiment of the present application.

图6是本申请根据一示例性实施例示出的一种设备控制方法的流程图。FIG. 6 is a flowchart of a device control method according to an exemplary embodiment of the present application.

图7是本申请根据一示例性实施例示出的一种设备控制装置的框图。Fig. 7 is a block diagram of a device control apparatus according to an exemplary embodiment of the present application.

图8是本申请根据一示例性实施例示出的一种设备控制装置的框图。Fig. 8 is a block diagram of a device control apparatus according to an exemplary embodiment of the present application.

图9是本申请根据一示例性实施例示出的一种来电处理装置的框图。FIG. 9 is a block diagram of an incoming call processing apparatus according to an exemplary embodiment of the present application.

图10是本申请根据一示例性实施例示出的一种可穿戴设备的结构示意图。FIG. 10 is a schematic structural diagram of a wearable device according to an exemplary embodiment of the present application.

图11是本申请根据一示例性实施例示出的一种终端设备的结构示意图。FIG. 11 is a schematic structural diagram of a terminal device according to an exemplary embodiment of the present application.

具体实施方式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 specification. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present specification as detailed herein.

在本说明书使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本说明书。在本申请中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terms used in this specification are for the purpose of describing particular embodiments only and are not intended to limit the specification. As used in this application, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

应当理解,尽管在本说明书可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本说明书范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information, without departing from the scope of the present specification. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determining."

本申请实施例提供了一种设备控制技术,从而使得用户可以通过终端设备,来设置可穿戴设备处理来电呼叫的工作模式。参见图1,图1是本申请实施例的一种应用场景示例的示意图,该无线通信系统包括:终端设备101和可穿戴设备102。The embodiment of the present application provides a device control technology, so that a user can set a working mode of a wearable device for processing incoming calls through a terminal device. Referring to FIG. 1 , FIG. 1 is a schematic diagram of an example of an application scenario of an embodiment of the present application. The wireless communication system includes: a terminal device 101 and a wearable device 102 .

终端设备101可以为智能手机、智能平板或便携式电脑等,可选地,终端设备101还可以为其他类型的终端设备,本申请对终端设备101的设备类型和设备数量均不加以限定。可穿戴设备102可以为智能手表、智能手环、智能戒指、智能眼镜、智能头戴式设备、智能耳机等,可选地,可穿戴设备102还可以为其他类型的可穿戴设备,本申请对可穿戴设备102的设备类型和设备数量也不加以限定。The terminal device 101 can be a smart phone, a smart tablet or a portable computer, etc. Optionally, the terminal device 101 can also be other types of terminal devices. The application does not limit the device type and device quantity of the terminal device 101 . The wearable device 102 can be a smart watch, a smart bracelet, a smart ring, smart glasses, a smart head-mounted device, a smart headset, etc. Optionally, the wearable device 102 can also be other types of wearable devices. The device type and number of the wearable device 102 are also not limited.

通过本申请所提供的设备控制技术,用户可以通过终端设备101来进行工作模式的选择,来将可穿戴设备102的工作模式设置为被选中的目标工作模式,从而使得可穿戴设备102可以按照目标工作模式,来与终端设备101进行交互,从而使得可穿戴设备102可以对终端设备101所接收到的来电呼叫进行处理。Through the device control technology provided in this application, the user can select the working mode through the terminal device 101 to set the working mode of the wearable device 102 to the selected target working mode, so that the wearable device 102 can follow the target working mode. The working mode is used to interact with the terminal device 101 , so that the wearable device 102 can process the incoming call received by the terminal device 101 .

下面结合图1所示的实施环境和应用场景,来描述本申请所提供的设备控制方法和来电处理方法。The device control method and the incoming call processing method provided by the present application will be described below with reference to the implementation environment and application scenario shown in FIG. 1 .

参见图2,图2是本申请根据一示例性实施例示出的一种设备控制方法的流程图,该方法应用于终端设备,可以包括以下步骤:Referring to FIG. 2, FIG. 2 is a flowchart of a device control method shown in the present application according to an exemplary embodiment. The method is applied to a terminal device and may include the following steps:

S201、响应于接收到用户对多个工作模式中的目标工作模式的选择输入,向可穿戴设备发送模式设置信息,多个工作模式用于可穿戴设备处理终端设备的来电呼叫,模式设置信息用于指示目标工作模式。S201. In response to receiving a user's selection input of a target working mode among the multiple working modes, send mode setting information to the wearable device, the multiple working modes are used by the wearable device to process incoming calls from the terminal device, and the mode setting information is used for the wearable device. to indicate the target working mode.

S202、响应于接收到来电呼叫,按照目标工作模式与可穿戴设备进行信息传输。S202. In response to receiving the incoming call, perform information transmission with the wearable device according to the target working mode.

通过提供用户可以在多个工作模式中进行选择输入的功能,终端设备即可响应于接收到用户对多个工作模式中目标工作模式的选择输入,向可穿戴设备发送指示目标工作模式的模式设置信息,从而可以通过终端设备将可穿戴设备的工作模式设置为目标工作模式,使得用户可以根据自己的需求,来对可穿戴设备的工作模式进行设置,进而可以提高可穿戴设备的模式设置过程的灵活性,使得在终端设备接收到来电呼叫的情况下,可以按照目标工作模式与可穿戴设备进行信息传输。By providing the function that the user can select input in multiple working modes, the terminal device can send the mode setting indicating the target working mode to the wearable device in response to receiving the user's selection input on the target working mode among the multiple working modes information, so that the working mode of the wearable device can be set to the target working mode through the terminal device, so that the user can set the working mode of the wearable device according to their own needs, which can improve the mode setting process of the wearable device. Flexibility, so that when the terminal device receives an incoming call, it can transmit information with the wearable device according to the target working mode.

在介绍了终端设备侧的基本实现过程之后,下面具体介绍终端设备侧的各种非限制性实施方式。After the basic implementation process on the terminal device side is introduced, various non-limiting implementation manners on the terminal device side are specifically described below.

对于上述S201中所提到的多种工作模式,该多种工作模式可以包括蓝牙电话模式、来电提醒模式和勿扰模式,相应地,该目标工作模式可以为蓝牙电话模式、来电提醒模式和勿扰模式中的任一项。For the multiple working modes mentioned in the above S201, the multiple working modes may include a Bluetooth phone mode, an incoming call reminder mode, and a do not disturb mode, and correspondingly, the target working mode may be a Bluetooth phone mode, an incoming call reminder mode, and a do not disturb mode. any of the scrambling modes.

其中,蓝牙电话模式用于提供通过可穿戴设备代替终端设备接听来电呼叫的功能;来电提醒模式用于提供通过可穿戴设备显示终端设备所接收到的来电呼叫的来电信息的功能;勿扰模式用于提供在接收到终端设备的通知的情况下,对所接收到的通知做静默处理的功能。Among them, the Bluetooth phone mode is used to provide the function of answering incoming calls through the wearable device instead of the terminal device; the incoming call reminder mode is used to provide the function of displaying the incoming call information of the incoming call received by the terminal device through the wearable device; In the case of receiving a notification from a terminal device, the function of silently processing the received notification is provided.

在一些实施例中,对于上述S201,在响应于接收到用户对多个工作模式中的目标工作模式的选择输入,向可穿戴设备发送模式设置信息时,可以通过如下步骤实现:In some embodiments, for the above S201, when the mode setting information is sent to the wearable device in response to receiving the user's selection input for the target work mode among the plurality of work modes, the following steps can be implemented:

S2011、显示模式设置界面,模式设置界面包括多个模式选项。S2011 , displaying a mode setting interface, where the mode setting interface includes multiple mode options.

可选地,该模式设置界面可以为目标应用程序中的界面,该目标应用程序可以为用于控制可穿戴设备的应用程序。Optionally, the mode setting interface may be an interface in a target application, and the target application may be an application for controlling the wearable device.

在一种可能的实现方式中,可以在终端设备的可视化界面中显示目标应用程序的图标,用户触发该目标应用程序的图标,终端设备即可以响应于对图标的触发操作,显示目标应用程序中的模式设置界面,并在模式设置界面中显示多个模式选项,或者,用户可以通过特定手势或触控方式触发模式设置界面的显示,或者,终端设备可以在接收到可穿戴设备发送的模式设置请求后,显示模式设置界面,等等,本申请实施例对此不做限定。In a possible implementation manner, the icon of the target application can be displayed on the visual interface of the terminal device, and the user triggers the icon of the target application, and the terminal device can respond to the triggering operation on the icon and display the target application. and display multiple mode options in the mode setting interface, or the user can trigger the display of the mode setting interface through a specific gesture or touch method, or the terminal device can receive the mode setting interface sent by the wearable device. After the request is made, a mode setting interface is displayed, etc., which is not limited in this embodiment of the present application.

在一些实施例中,该多个模式选项可以包括蓝牙电话模式选项、来电提醒模式选项和勿扰模式选项。或者,多个模式选项也可以包括用户自定义或者其他类型的模式选项,本申请实施例对此不做限定。In some embodiments, the plurality of mode options may include a Bluetooth phone mode option, an incoming call alert mode option, and a do not disturb mode option. Alternatively, the multiple mode options may also include user-defined or other types of mode options, which are not limited in this embodiment of the present application.

可选地,目标应用程序可以为终端设备上的预装应用程序,该预装应用程序可以由终端设备制作厂商预先下载,并预先安装在终端设备中;可选地,目标应用程序还可以为用户自行下载并安装的应用程序,本申请对目标应用程序的类型不加以限定。Optionally, the target application may be a preinstalled application on the terminal device, and the preinstalled application may be pre-downloaded by the manufacturer of the terminal device and pre-installed in the terminal device; optionally, the target application may also be The application program downloaded and installed by the user, and the type of the target application program is not limited in this application.

S2022、响应于接收到用户对多个工作模式选项中的目标工作模式选项的选择输入,将目标工作模式选项对应的工作模式确定为目标工作模式,并向可穿戴设备发送指示目标工作模式的模式设置信息。S2022. In response to receiving the user's selection input on the target work mode option in the plurality of work mode options, determine the work mode corresponding to the target work mode option as the target work mode, and send the mode indicating the target work mode to the wearable device Set information.

可选地,目标工作模式选项可以为蓝牙电话模式选项,终端设备可以响应于接收到用户对蓝牙电话模式选项的触发操作,例如响应于接收到用户对蓝牙电话模式选项的选择输入,将蓝牙电话模式设置为目标工作模式,并向可穿戴设备发送指示目标工作模式为蓝牙电话模式的模式设置信息,以将可穿戴设备的工作模式设置为蓝牙电话模式。Optionally, the target working mode option may be a Bluetooth phone mode option, and the terminal device may respond to receiving a triggering operation for the Bluetooth phone mode option from the user, for example, in response to receiving a user's selection input for the Bluetooth phone mode option, turn the Bluetooth phone mode option. The mode is set as the target working mode, and mode setting information indicating that the target working mode is the Bluetooth phone mode is sent to the wearable device, so as to set the working mode of the wearable device as the Bluetooth phone mode.

可选地,目标工作模式选项还可以为来电提醒模式选项,终端设备可以响应于接收到用户对来电提醒模式选项的触发操作,例如响应于接收到用户对来电提醒模式选项的选择输入,将来电提醒模式设置为目标工作模式,并向可穿戴设备发送指示目标工作模式为来电提醒模式的模式设置信息,以将可穿戴设备的工作模式设置为来电提醒模式。Optionally, the target working mode option may also be an incoming call alert mode option, and the terminal device may respond to receiving a triggering operation of the incoming call alert mode option from the user, for example, in response to receiving a user's selection input for the incoming incoming call alert mode option, send the incoming call alert mode option. The reminder mode is set as the target work mode, and mode setting information indicating that the target work mode is the incoming call reminder mode is sent to the wearable device, so as to set the work mode of the wearable device as the incoming call reminder mode.

可选地,目标工作模式选项还可以为勿扰模式选项,终端设备可以响应于接收到用户对勿扰模式选项的触发操作,例如响应于接收到用户对勿扰模式选项的选择输入,将勿扰模式设置为目标工作模式,并向可穿戴设备发送指示目标工作模式为勿扰模式的模式设置信息,以将可穿戴设备的工作模式设置为勿扰模式。Optionally, the target working mode option may also be a Do Not Disturb mode option, and the terminal device may respond to receiving a triggering operation for the Do Not Disturb mode option from the user, for example, in response to receiving a user selection input for the Do Not Disturb mode option, to The disturbing mode is set to the target working mode, and mode setting information indicating that the target working mode is the do not disturb mode is sent to the wearable device, so as to set the working mode of the wearable device to the do not disturb mode.

需要说明的是,关于S202响应于接收到来电呼叫,按照目标工作模式与可穿戴设备进行信息传输的过程将在下述实施例中进行介绍,此处不再赘述。It should be noted that the process of performing information transmission with the wearable device according to the target working mode in response to receiving an incoming call in S202 will be introduced in the following embodiments, and will not be repeated here.

上述内容介绍了终端设备侧的设备控制过程,下面对可穿戴设备侧的设备控制过程进行说明。The above content introduces the device control process on the terminal device side, and the device control process on the wearable device side is described below.

参见图3,图3是本申请根据一示例性实施例示出的一种设备控制方法的流程图,该方法应用于可穿戴设备,可以包括如下步骤:Referring to FIG. 3, FIG. 3 is a flowchart of a device control method according to an exemplary embodiment of the present application. The method is applied to a wearable device and may include the following steps:

S301、接收终端设备发送的模式设置信息,模式设置信息用于指示目标工作模式,目标工作模式为可穿戴设备支持的多种工作模式的一种,多种工作模式用于可穿戴设备处理终端设备的来电呼叫。S301. Receive mode setting information sent by a terminal device, where the mode setting information is used to indicate a target working mode, where the target working mode is one of multiple working modes supported by the wearable device, and the multiple working modes are used by the wearable device to process the terminal device incoming calls.

其中,该模式设置信息可以基于用户在终端设备上的操作生成。The mode setting information may be generated based on the user's operation on the terminal device.

在一种可能的实现方式中,可穿戴设备可以基于接收到的终端设备所发送的模式设置信息,将可穿戴设备的工作模式设置为模式设置信息所指示的目标工作模式。In a possible implementation manner, the wearable device may set the working mode of the wearable device to the target working mode indicated by the mode setting information based on the received mode setting information sent by the terminal device.

S302、按照目标工作模式对终端设备的来电呼叫进行处理。S302. Process the incoming call of the terminal device according to the target working mode.

本申请通过终端设备来设置可穿戴设备的工作模式,使得用户可以根据自己的需求,来对可穿戴设备的工作模式进行设置,从而可以提高可穿戴设备的模式设置过程的灵活性。The present application sets the working mode of the wearable device through the terminal device, so that the user can set the working mode of the wearable device according to their own needs, thereby improving the flexibility of the mode setting process of the wearable device.

在介绍了可穿戴设备侧的基本实现过程之后,下面具体介绍可穿戴设备侧的各种非限制性实施方式。After the basic implementation process on the wearable device side is introduced, various non-limiting implementations on the wearable device side are specifically described below.

在一种可能的实现方式中,在通过上述S301接收到终端设备的模式设置信息后,可穿戴设备即可将模式设置信息所指示的工作模式确定为目标工作模式,并将自身的工作模式设置为该目标工作模式。In a possible implementation manner, after receiving the mode setting information of the terminal device through the above S301, the wearable device can determine the working mode indicated by the mode setting information as the target working mode, and set its own working mode to working mode for this target.

例如,响应于接收到终端设备发送的模式设置信息,控制可穿戴设备处于蓝牙电话模式,其中,模式设置信息用于设置可穿戴设备处理终端设备的来电呼叫的工作模式为蓝牙电话模式。For example, in response to receiving the mode setting information sent by the terminal device, the wearable device is controlled to be in the Bluetooth phone mode, wherein the mode setting information is used to set the working mode of the wearable device for processing incoming calls from the terminal device to the Bluetooth phone mode.

再例如,响应于接收到终端设备发送的模式设置信息,控制可穿戴设备处于来电提醒模式,其中,模式设置信息用于设置可穿戴设备处理终端设备的来电呼叫的工作模式为来电提醒模式。For another example, in response to receiving the mode setting information sent by the terminal device, the wearable device is controlled to be in an incoming call alert mode, wherein the mode setting information is used to set the wearable device's working mode for processing incoming calls from the terminal device to an incoming call alert mode.

再例如,响应于接收到终端设备发送的模式设置信息,控制可穿戴设备处于勿扰模式,其中,模式设置信息用于设置可穿戴设备处理终端设备的来电呼叫的工作模式为勿扰模式。For another example, in response to receiving the mode setting information sent by the terminal device, the wearable device is controlled to be in the do not disturb mode, wherein the mode setting information is used to set the working mode of the wearable device for processing incoming calls from the terminal device to the do not disturb mode.

需要说明的是,关于S302按照目标工作模式对终端设备的来电呼叫进行处理的过程将在下述实施例中进行介绍,此处不再赘述。It should be noted that the process of processing the incoming call of the terminal device according to the target working mode in S302 will be introduced in the following embodiments, and will not be repeated here.

在通过上述过程实现可穿戴设备的工作模式的设置后,即可按照目标工作模式,来实现终端设备和可穿戴设备的信息传输,从而使得可穿戴设备可以按照目标工作模式,来对终端设备所接收到的来电呼叫进行处理。After the setting of the working mode of the wearable device is realized through the above process, the information transmission between the terminal device and the wearable device can be realized according to the target working mode, so that the wearable device can use the target working mode. Incoming calls received are processed.

下面分别对目标工作模式为蓝牙电话模式的情况下、目标工作模式为来电提醒模式的情况下以及目标工作模式为勿扰模式的情况下的来电处理过程进行示例性说明。The following is an exemplary description of the incoming call processing process when the target working mode is the Bluetooth phone mode, when the target working mode is the incoming call reminder mode, and when the target working mode is the do not disturb mode.

情况一、目标工作模式为蓝牙电话模式Situation 1. The target working mode is Bluetooth phone mode

参见图4,图4是本申请根据一示例性实施例示出的一种来电处理方法的流程图,可以包括如下步骤:Referring to FIG. 4, FIG. 4 is a flowchart of an incoming call processing method according to an exemplary embodiment of the present application, which may include the following steps:

S401、可穿戴设备与终端设备保持低功耗蓝牙BLE连接。S401, the wearable device and the terminal device maintain a low-power Bluetooth BLE connection.

需要说明的是,在未接收到来电呼叫的情况下,终端设备与可穿戴设备之间通过低功耗蓝牙(Bluetooth Low Energy,BLE)连接进行信息传输。可选地,在保持终端设备与可穿戴设备之间的BLE连接时,可以通过配对的方式,也可以通过APP保活的方式,还可以通过其他方式,以实现BLE连接的保持,本申请对具体采用哪种保持方式不加以限定。It should be noted that, in the case where no incoming call is received, information is transmitted between the terminal device and the wearable device through a Bluetooth Low Energy (BLE) connection. Optionally, when maintaining the BLE connection between the terminal device and the wearable device, the BLE connection can be maintained through pairing, APP keep-alive, or other methods. The specific holding method is not limited.

S402、响应于通过BLE连接接收到终端设备的来电通知消息,可穿戴设备与终端设备建立免提模式HFP连接。S402. In response to receiving an incoming call notification message from the terminal device through the BLE connection, the wearable device establishes a hands-free mode HFP connection with the terminal device.

在一种可能的实现方式中,终端设备在接收到来电呼叫后,可以生成来电通知消息,并将所生成的来电通知消息发送给可穿戴设备。In a possible implementation manner, after receiving the incoming call, the terminal device may generate an incoming call notification message, and send the generated incoming call notification message to the wearable device.

在一些实施例中,可穿戴设备接收到来电通知消息后,可基于来电通知消息确定终端设备收到新的来电呼叫,并直接向终端设备发送HFP连接建立请求消息,以与终端设备建立HFP连接。In some embodiments, after receiving the incoming call notification message, the wearable device may determine that the terminal device has received a new incoming call based on the incoming call notification message, and directly send an HFP connection establishment request message to the terminal device to establish an HFP connection with the terminal device .

在另一些实施例中,可穿戴设备在基于来电通知消息确定终端设备收到新的来电呼叫后,可首先向终端设备发送BT连接建立请求,并在与终端设备建立起BT连接后,通过BT连接与终端设备建立HFP连接,本申请实施例不限于此。In other embodiments, after determining that the terminal device has received a new incoming call based on the incoming call notification message, the wearable device may first send a BT connection establishment request to the terminal device, and after establishing a BT connection with the terminal device, send a BT connection The connection establishes an HFP connection with a terminal device, and the embodiment of the present application is not limited to this.

S403、可穿戴设备通过HFP连接,对终端设备的来电呼叫进行处理。S403, the wearable device is connected through the HFP, and processes the incoming call of the terminal device.

相关技术中,可穿戴设备和终端设备在蓝牙电话模式下通过经典蓝牙BT连接进行信息传输,耗电量较大,且在接收到来电呼叫后,可穿戴设备和终端设备需进行多次信息交互才能建立HFP连接,导致可穿戴设备和终端设备的HFP连接建立时间较长,来电处理效率较低。In the related art, the wearable device and the terminal device perform information transmission through the classic Bluetooth BT connection in the Bluetooth phone mode, which consumes a large amount of power, and after receiving an incoming call, the wearable device and the terminal device need to perform multiple information exchanges. Only then can the HFP connection be established, resulting in a long time for the establishment of the HFP connection between the wearable device and the terminal device, and lower call processing efficiency.

而在本申请实施例中,通过在可穿戴设备处于蓝牙电话模式的状态下,可穿戴设备与终端设备保持低功耗蓝牙BLE连接,降低终端设备和可穿戴设备的功耗,且可穿戴设备可以在接收到终端设备的来电通知消息后,即可响应于接收到来电通知消息,来与终端设备建立HFP连接,简化了终端设备与可穿戴设备之间的交互过程,从而可以实现终端设备和可穿戴设备之间的连接的快速建立,提高来电处理效率。In the embodiment of the present application, when the wearable device is in the Bluetooth phone mode, the wearable device and the terminal device maintain a low-power Bluetooth BLE connection, so as to reduce the power consumption of the terminal device and the wearable device, and the wearable device After receiving the incoming call notification message from the terminal device, it can establish an HFP connection with the terminal device in response to receiving the incoming call notification message, which simplifies the interaction process between the terminal device and the wearable device, so that the terminal device and the wearable device can be realized. The rapid establishment of connections between wearable devices improves the efficiency of incoming call processing.

在一些实施例中,在S401之前,该方法还可以包括:In some embodiments, before S401, the method may further include:

S400、响应于检测到终端设备,可穿戴设备与终端设备建立BLE连接。S400. In response to detecting the terminal device, the wearable device establishes a BLE connection with the terminal device.

通过在检测到终端设备的情况下,与终端设备建立BLE连接,从而使得可穿戴设备和终端设备之间,可以通过BLE连接实现来电通知消息的传输。By establishing a BLE connection with the terminal device when the terminal device is detected, the wearable device and the terminal device can realize the transmission of the incoming call notification message through the BLE connection.

在一些实施例中,来电通知消息可以包括通知类型信息和事件信息,通知类型信息可以指示来电通知消息所对应的来电呼叫事件是否为新增事件,事件信息可以指示来电通知消息所对应事件的事件类型。In some embodiments, the incoming call notification message may include notification type information and event information, the notification type information may indicate whether the incoming call event corresponding to the incoming call notification message is a new event, and the event information may indicate the event of the event corresponding to the incoming call notification message type.

以终端设备所搭载的操作系统为苹果操作系统(iPhone OS,iOS)为例,来电通知消息可以为系统通知(Notification)消息,但本申请实施例对来电通知消息的实现不做限定。来电通知消息可以包括事件类型信息(也即是Category信息)和事件信息(也即是Event信息)。Taking the operating system carried by the terminal device as an Apple operating system (iPhone OS, iOS) as an example, the incoming call notification message may be a system notification (Notification) message, but the implementation of the incoming call notification message is not limited in this embodiment of the present application. The incoming call notification message may include event type information (ie, Category information) and event information (ie, Event information).

基于此,对于上述S402,可穿戴设备可以基于来电通知消息中包括的通知类型信息和事件信息,确定与终端设备建立HFP连接。Based on this, for the above S402, the wearable device may determine to establish an HFP connection with the terminal device based on the notification type information and event information included in the incoming call notification message.

在一种可能的实现方式中,在通知类型信息指示新增通知,且事件信息指示来电呼叫的情况下,确定与终端设备建立HFP连接。In a possible implementation manner, when the notification type information indicates a new notification, and the event information indicates an incoming call, it is determined to establish an HFP connection with the terminal device.

通过在接收到终端设备发送的来电通知消息时,直接基于来电通知消息所包括的通知类型信息和事件信息,综合判断终端设备所接收的事件是否是新增的来电呼叫事件,使得可穿戴设备与终端设备之间无需额外交互通知消息和应用程序的信息,即可进行HFP连接的建立,简化了终端设备和可穿戴设备之间的交互过程,提高了终端设备和可穿戴设备的交互效率和交互速度,降低来电呼叫的处理时延。By comprehensively judging whether the event received by the terminal device is a new incoming call event based on the notification type information and event information included in the incoming call notification message when receiving the incoming call notification message sent by the terminal device, the wearable device can be connected to the The HFP connection can be established without additional interaction of notification messages and application information between the terminal devices, which simplifies the interaction process between the terminal device and the wearable device, and improves the interaction efficiency and interaction between the terminal device and the wearable device. speed, reducing the processing delay of incoming calls.

在一些实施例中,在与终端设备建立HFP连接时,可以包括如下步骤:In some embodiments, when establishing an HFP connection with a terminal device, the following steps may be included:

步骤一、可穿戴设备向终端设备发送BT连接建立请求,以与终端设备建立BT连接。Step 1: The wearable device sends a BT connection establishment request to the terminal device to establish a BT connection with the terminal device.

通过由可穿戴设备在发起BT连接建立请求,而无需确认对端的HFP模式状态,从而简化了BT连接建立时的交互过程,从而可以提高BT连接的建立速度和建立效率。By initiating the BT connection establishment request by the wearable device without confirming the HFP mode status of the opposite end, the interaction process when the BT connection is established is simplified, and the establishment speed and efficiency of the BT connection can be improved.

可选地,在可穿戴设备与终端设备建立BT连接时,可以保持BLE连接,也可以断开BLE连接。在一些实施例中,对于上述步骤一,在与终端设备建立BT连接时,可以有下述两种实现方式:Optionally, when the wearable device establishes the BT connection with the terminal device, the BLE connection can be maintained, or the BLE connection can be disconnected. In some embodiments, for the above step 1, when establishing a BT connection with a terminal device, there may be the following two implementation manners:

在一种可能的实现方式中,在与终端设备保持BLE连接的基础上,建立BT连接,也即是,保持可穿戴设备与终端设备之间的BLE连接,进而在已建立的BLE连接的基础上,建立BT连接。In a possible implementation manner, the BT connection is established on the basis of maintaining the BLE connection with the terminal device, that is, the BLE connection between the wearable device and the terminal device is maintained, and then on the basis of the established BLE connection , establish a BT connection.

通过在保持BLE连接的情况下进行BT连接的建立,使得可穿戴设备处理完终端设备的来电呼叫后,即可通过BLE连接,来保持与终端设备之间的无线连接,而无需重新与终端设备建立BLE连接,减少终端设备与可穿戴设备之间的交互成本。By establishing the BT connection while maintaining the BLE connection, after the wearable device has processed the incoming call from the terminal device, it can maintain the wireless connection with the terminal device through the BLE connection without reconnecting with the terminal device. Establish a BLE connection to reduce the interaction cost between the terminal device and the wearable device.

在另一种可能的实现方式中,可穿戴设备与终端设备断开BLE连接,建立BT连接。In another possible implementation manner, the wearable device disconnects the BLE connection from the terminal device and establishes the BT connection.

通过在断开BLE连接的情况下进行BT连接的建立,使得可穿戴设备在进行BT连接的建立时,无需划分处理资源来维持BLE连接,从而减小可穿戴设备的处理压力,降低可穿戴设备的功耗。By establishing the BT connection when the BLE connection is disconnected, the wearable device does not need to allocate processing resources to maintain the BLE connection when establishing the BT connection, thereby reducing the processing pressure of the wearable device and reducing the wearable device. power consumption.

需要说明的是,上述两种实现方式各有优势,在应用过程中,可以根据需求进行选择,本申请对具体采用哪种方式不加以限定。It should be noted that the above two implementation manners have their own advantages, and can be selected according to requirements during the application process, and this application does not limit which manner to be adopted.

步骤二、可穿戴设备通过与终端设备建立的BT连接,与终端设备建立HFP连接。Step 2: The wearable device establishes an HFP connection with the terminal device through the BT connection established with the terminal device.

在一种可能的实现方式中,可穿戴设备通过BT连接向终端设备发起HFP连接建立请求,以与终端设备建立HFP连接。In a possible implementation manner, the wearable device initiates an HFP connection establishment request to the terminal device through the BT connection, so as to establish an HFP connection with the terminal device.

其中,在终端设备与可穿戴设备之间通过BT连接的方式实现蓝牙连接的情况下,可穿戴设备可以实现对终端设备所接收到的来电呼叫的处理,包括接听、挂断、拒接、语音拨号等蓝牙电话功能。而在通过可穿戴设备处理来电呼叫时,可以在HFP连接下实现,HFP连接模式是BT连接模式下,实现接听、挂断、拒接、语音拨号等蓝牙电话功能的一种模式。Among them, in the case where a Bluetooth connection is implemented between the terminal device and the wearable device through a BT connection, the wearable device can process incoming calls received by the terminal device, including answering, hanging up, rejecting, voice Bluetooth phone functions such as dialing. When processing incoming calls through a wearable device, it can be implemented under HFP connection. HFP connection mode is a mode that realizes Bluetooth phone functions such as answering, hanging up, rejecting, and voice dialing under BT connection mode.

在一些实施例中,对于上述S403,在可穿戴设备通过HFP连接,对终端设备的来电呼叫进行处理时,可以包括如下步骤:In some embodiments, for the above S403, when the wearable device is connected through HFP, and the incoming call from the terminal device is processed, the following steps may be included:

S4031、通过HFP连接,获取终端设备的来电呼叫的来电信息。S4031. Acquire the incoming call information of the incoming call of the terminal device through the HFP connection.

其中,来电信息至少包括来电号码。在更多可能的实现方式中,来电信息还可以包括来电号码所属的运营商、来电号码所属的地区,等等。此外,若来电号码为终端设备或可穿戴设备的通讯录中所存储的号码,则来电信息还可以包括来电号码对应的用户名称,该用户名称为终端设备或可穿戴设备的通讯录中所存储的用户名称。Wherein, the caller information includes at least the caller number. In more possible implementation manners, the caller information may further include the operator to which the caller number belongs, the region to which the caller number belongs, and the like. In addition, if the incoming call number is a number stored in the address book of the terminal device or the wearable device, the incoming call information may also include the user name corresponding to the incoming call number, and the user name is stored in the address book of the terminal device or the wearable device. user name.

S4032、向用户展示来电呼叫界面,来电呼叫界面包括来电信息和多个用户操作选项。S4032. Display an incoming call interface to the user, where the incoming call interface includes incoming call information and multiple user operation options.

可选地,可穿戴设备在在通过来电呼叫界面展示来电信息和多个用户操作选项的同时,还可以通过内置于可穿戴设备中的喇叭等硬件,播放来电铃声,以便对用户进行提示。可选地,该来电铃声可以为终端的来电铃声,还可以为可穿戴设备的来电铃声。另外,可穿戴设备还可以通过震动的方式,来对用户进行提示,本申请对具体采用哪种提示方式不加以限定。例如,可以通过播放来电铃声进行提示,或者,可以通过可穿戴设备震动进行提示,又或者,可以通过播放来电铃声和可穿戴设备震动这两种方式,同时进行提示,等等,本申请实施例对可穿戴设备展示来电呼叫信息的方式不做限定。Optionally, the wearable device, while displaying the incoming call information and multiple user operation options through the incoming call interface, can also play an incoming call ringtone through hardware such as a speaker built into the wearable device, so as to prompt the user. Optionally, the ringtone may be the ringtone of the terminal or the ringtone of the wearable device. In addition, the wearable device can also prompt the user by means of vibration, and this application does not limit which prompting method is specifically adopted. For example, it can be prompted by playing the ringtone of the incoming call, or it can be prompted by the vibration of the wearable device, or it can be prompted by playing the ringtone of the incoming call and the vibration of the wearable device at the same time, and so on. There is no limitation on the manner in which the wearable device displays incoming call information.

其中,可穿戴设备所播放的来电铃声,可以为终端设备的来电铃声,也可以为可穿戴设备的内置来电铃声,具体播放哪种铃声,根据终端设备上的Codec参数确定。The ringtone played by the wearable device may be the ringtone of the terminal device or the built-in ringtone of the wearable device. The specific ringtone to be played is determined according to the Codec parameter on the terminal device.

在一些实施例中,在通过S402与终端设备建立HFP连接之后,该方法还包括以下实现方式:In some embodiments, after establishing the HFP connection with the terminal device through S402, the method further includes the following implementations:

可穿戴设备基于从终端设备获取到的编码译码器Codec参数,确定可穿戴设备在当前来电呼叫的处理中所使用的来电铃声。The wearable device determines the incoming ringtone used by the wearable device in processing the current incoming call based on the codec Codec parameter obtained from the terminal device.

其中,Codec参数的值可以指示可穿戴设备使用的来电铃声的类型,例如,用户自定义的来电铃声,或者使用终端设备的来电铃声,等等,本申请实施例对此不做限定。The value of the Codec parameter may indicate the type of ringtone used by the wearable device, for example, a user-defined ringtone, or the ringtone of a terminal device, etc., which is not limited in this embodiment of the present application.

在确定可穿戴设备在当前来电呼叫的处理中使用终端设备的来电铃声的情况下,可穿戴设备可以与终端设备建立SCO链接,并通过SCO链接,获取终端设备的来电铃声。In the case where it is determined that the wearable device uses the ringtone of the terminal device in the processing of the current incoming call, the wearable device can establish a SCO link with the terminal device, and obtain the ringtone of the terminal device through the SCO link.

在一些实施例中,可穿戴设备可以在与终端设备建立HFP连接之后获取终端设备的Codec参数,或者可穿戴设备也可以预先获取终端设备的Codec参数并进行存储,本申请实施例对此不做限定。In some embodiments, the wearable device may acquire the Codec parameters of the terminal device after establishing the HFP connection with the terminal device, or the wearable device may also acquire and store the Codec parameters of the terminal device in advance, which is not done in this embodiment of the present application limited.

在一些实施例中,终端设备还可以包括多种类型其他参数,如终端设备是否支持三方通话功能的参数、终端设备是否内置铃声功能的参数、终端设备是否内置音量控制功能的参数等,可穿戴设备可以获取这些参数中的部分或全部,或无需获取这些参数而直接使用可穿戴设备默认的参数,本申请实施例对此不做限定。In some embodiments, the terminal device may also include other parameters of various types, such as parameters of whether the terminal device supports a three-way call function, parameters of whether the terminal device has a built-in ringtone function, parameters of whether the terminal device has a built-in volume control function, etc. The device may acquire some or all of these parameters, or directly use the default parameters of the wearable device without acquiring these parameters, which is not limited in this embodiment of the present application.

例如,可穿戴设备无需支持三方通话功能,因而无需获取终端设备是否支持三方通话功能的参数;可穿戴设备可以直接以可穿戴设备当前所使用的铃声,作为来电铃声,而无需获取终端设备是否内置铃声功能的参数;可穿戴设备可以直接通过内置于可穿戴设备上的硬件或可穿戴设备的可视化界面,来调整来电铃声的音量,而无需获取终端设备是否内置音量控制功能的参数。For example, the wearable device does not need to support the three-way calling function, so there is no need to obtain the parameters of whether the terminal device supports the three-way calling function; the wearable device can directly use the ringtone currently used by the wearable device as the ringtone for incoming calls, without obtaining whether the terminal device is built-in or not. Parameters of the ringtone function; the wearable device can directly adjust the volume of the ringtone of the incoming call through the hardware built into the wearable device or the visual interface of the wearable device, without obtaining the parameters of whether the terminal device has a built-in volume control function.

面向同步连接(Synchronous Connection Oriented,SCO)链接可以用于传输音频数据(包括语音数据和来电铃声等),SCO链接在传输音频数据时,可以采用SCO数据包的形式。A synchronous connection (Synchronous Connection Oriented, SCO) link can be used to transmit audio data (including voice data and ringtones, etc.), and the SCO link can use the form of SCO data packets when transmitting audio data.

可选地,在Codec参数指示可穿戴设备在当前来电呼叫的处理中使用可穿戴设备的来电铃声的情况下,则可穿戴设备无需在接收到用户在可穿戴设备上的接听输入前与终端设备建立SCO链接,也无需通过SCO链接获取终端设备的来电铃声,而直接通过HFP连接,进行来电信息的获取即可。Optionally, in the case where the Codec parameter indicates that the wearable device uses the wearable device's ringtone in the processing of the current incoming call, the wearable device does not need to communicate with the terminal device before receiving the user's answer input on the wearable device. To establish a SCO link, it is not necessary to obtain the ringtone of the terminal device through the SCO link, but to obtain the incoming call information directly through the HFP connection.

上述过程通过获取终端设备的来电铃声,使得可穿戴设备可以对获取到的终端设备的来电铃声进行播放,从而对用户进行提示,以便用户及时获知终端设备接收到来电呼叫的情况,从而提高用户体验。The above process enables the wearable device to play the acquired ringtone of the terminal device by acquiring the ringtone of the terminal device, thereby prompting the user, so that the user can know the situation of the incoming call received by the terminal device in time, thereby improving the user experience. .

需要说明的是,在蓝牙电话模式下,来电呼叫界面所展示的多个用户操作选项可以包括接听选项和拒接选项,以便用户根据所显示的来电信息,决定自己是否要接听来电呼叫,从而通过接听选项或拒接选项,来对来电呼叫进行接听或挂断。It should be noted that in the Bluetooth phone mode, the multiple user operation options displayed on the incoming call interface may include an answer option and a reject option, so that the user can decide whether to answer the incoming call according to the displayed incoming call information, so as to pass the Answer Option or Reject Option to answer or hang up incoming calls.

在一些实施例中,若用户想要接听来电呼叫,则用户可以在可穿戴设备上触发接听选项,可穿戴设备即可响应于获取到的用户对来电呼叫的接听输入,通过可穿戴设备接听来电呼叫。In some embodiments, if the user wants to answer the incoming call, the user can trigger the answer option on the wearable device, and the wearable device can answer the incoming call through the wearable device in response to the obtained user's answering input for the incoming call call.

在通过可穿戴设备接听来电呼叫时,若可穿戴设备所使用的来电铃声是终端设备的来电铃声,则此时终端设备与可穿戴设备之间已经建立了SCO链接,则可以直接通过SCO链接,获取终端设备所接收到的语音数据。When answering an incoming call through the wearable device, if the incoming ringtone used by the wearable device is the incoming ringtone of the terminal device, then a SCO link has been established between the terminal device and the wearable device, and the SCO link can be directly used. Acquire the voice data received by the terminal device.

而若可穿戴设备所使用的来电铃声是可穿戴设备内置的来电铃声,则此时终端设备与可穿戴设备之间还未建立SCO链接,在这种情况下,可穿戴设备先响应于用户对来电呼叫的接听输入,建立SCO链接,再通过SCO链接,获取终端设备所接收到的语音数据。If the ringtone used by the wearable device is the built-in ringtone of the wearable device, then the SCO link has not been established between the terminal device and the wearable device. In this case, the wearable device first responds to the user's Answer input of incoming calls, establish a SCO link, and then obtain the voice data received by the terminal device through the SCO link.

需要说明的是,若用户不想接听来电呼叫,则用户可以在可穿戴设备上触发拒接选项,智能设备响应于用户对来电呼叫的拒接输入,拒接接听来电呼叫。It should be noted that if the user does not want to answer the incoming call, the user can trigger the reject option on the wearable device, and the smart device rejects the incoming call in response to the user's rejection input for the incoming call.

下面结合图5所示的终端设备与可穿戴设备之间的交互过程,来对本申请所提供的来电处理方法进行进一步说明。The method for processing incoming calls provided by the present application will be further described below with reference to the interaction process between the terminal device and the wearable device shown in FIG. 5 .

S501、在可穿戴设备处于蓝牙电话模式的状态下,与终端设备保持BLE连接。S501, when the wearable device is in the Bluetooth phone mode, maintain a BLE connection with the terminal device.

S502、终端设备响应于接收到来电呼叫,通过BLE连接向可穿戴设备发送来电通知消息。S502. In response to receiving the incoming call, the terminal device sends an incoming call notification message to the wearable device through the BLE connection.

S503、可穿戴设备响应于通过BLE连接接收到终端设备的来电通知消息,通过BLE连接向终端设备发送BT连接建立请求,以与终端设备建立BT连接。S503 , in response to receiving the incoming call notification message of the terminal device through the BLE connection, the wearable device sends a BT connection establishment request to the terminal device through the BLE connection, so as to establish a BT connection with the terminal device.

S505、终端设备通过与可穿戴设备之间的BLE连接接收可穿戴设备基于来电通知消息发送的BT连接建立请求。S505 , the terminal device receives, through the BLE connection with the wearable device, a BT connection establishment request sent by the wearable device based on the incoming call notification message.

S506、终端设备基于BT连接建立请求,与可穿戴设备建立BT连接。S506, the terminal device establishes a BT connection with the wearable device based on the BT connection establishment request.

S507、可穿戴设备通过与终端设备建立的BT连接,向终端设备发送HFP连接建立请求,以与终端设备建立HFP连接。S507 , the wearable device sends an HFP connection establishment request to the terminal device through the BT connection established with the terminal device, so as to establish an HFP connection with the terminal device.

S508、终端设备通过与可穿戴设备之间的BT连接,接收可穿戴设备发送的HFP连接建立请求。S508 , the terminal device receives an HFP connection establishment request sent by the wearable device through the BT connection with the wearable device.

S509、终端设备基于HFP连接建立请求,与可穿戴设备建立HFP连接。S509, the terminal device establishes an HFP connection with the wearable device based on the HFP connection establishment request.

S510、可穿戴设备通过HFP连接,对终端设备的来电呼叫进行处理。S510, the wearable device is connected through the HFP, and processes the incoming call of the terminal device.

需要说明的是,S501至S505仅为本申请所提供的来电处理方法的流程性说明,关于各个步骤的具体实现过程,可以参见图4所对应的各个可选实施例,此处不再赘述。It should be noted that S501 to S505 are only flow descriptions of the incoming call processing method provided by the present application. For the specific implementation process of each step, reference may be made to each optional embodiment corresponding to FIG. 4 , which will not be repeated here.

在本申请实施例中,在蓝牙电话模式下,可穿戴设备与终端设备无需始终保持BT连接和HFP连接,而是在未接收到来电呼叫时保持BLE连接,以降低可穿戴设备和终端设备的功耗。在接收到来电呼叫后,可穿戴设备能够通过终端设备发送的来电通知消息来确定终端设备接收到新的来电呼叫,并触发与终端设备的BT连接和HFP连接的建立流程,从而能够在较短时间内建立起与终端设备之间的HFP连接,从而降低来电呼叫的处理时延,提高来电呼叫的处理效率。In the embodiment of the present application, in the Bluetooth phone mode, the wearable device and the terminal device do not need to maintain the BT connection and the HFP connection all the time, but maintain the BLE connection when no incoming call is received, so as to reduce the wearable device and the terminal device. power consumption. After receiving an incoming call, the wearable device can determine that the terminal device has received a new incoming call through the incoming call notification message sent by the terminal device, and trigger the establishment of a BT connection and an HFP connection with the terminal device. The HFP connection with the terminal device is established within a short time, thereby reducing the processing delay of incoming calls and improving the processing efficiency of incoming calls.

情况二、目标工作模式为来电提醒模式Situation 2. The target working mode is the call reminder mode

在目标工作模式为来电提醒模式的情况下,在按照目标工作模式,来实现终端设备和可穿戴设备的信息传输,从而使得可穿戴设备可以按照目标工作模式,来对终端设备所接收到的来电呼叫进行处理时,可以包括以下步骤:When the target working mode is the incoming call reminder mode, the information transmission between the terminal device and the wearable device is realized according to the target working mode, so that the wearable device can respond to the incoming call received by the terminal device according to the target working mode. When a call is processed, the following steps can be included:

步骤A、可穿戴设备获取终端设备的来电呼叫的来电信息。Step A, the wearable device acquires the incoming call information of the incoming call of the terminal device.

其中,关于可穿戴设备在来电提醒模式下的来电信息的介绍,可以参见可穿戴设备处于蓝牙电话模式下的来电信息的介绍,此处不再赘述。For the introduction of the incoming call information of the wearable device in the incoming call reminder mode, reference may be made to the introduction of the incoming call information of the wearable device in the Bluetooth phone mode, which will not be repeated here.

步骤B、可穿戴设备向用户展示来电呼叫界面,来电呼叫界面包括来电信息和多个用户操作选项。Step B, the wearable device displays an incoming call interface to the user, and the incoming call interface includes incoming call information and multiple user operation options.

可选地,可穿戴设备在通过可视化界面显示来电信息的同时,还可以通过内置于可穿戴设备中的喇叭等硬件,播放来电铃声,以便对用户进行提示。此外,可穿戴设备还可以通过震动的方式,来对用户进行提示,本申请对具体采用哪种提示方式不加以限定。例如,可以通过播放来电铃声进行提示,或者,可以通过可穿戴设备震动进行提示,又或者,可以通过播放来电铃声和可穿戴设备震动这两种方式,同时进行提示。Optionally, while the wearable device displays incoming call information through a visual interface, it can also play an incoming call ringtone through hardware such as a speaker built into the wearable device, so as to prompt the user. In addition, the wearable device can also prompt the user by means of vibration, and this application does not limit which prompting method is specifically adopted. For example, the notification may be given by playing the ringtone of the incoming call, or the notification may be given by the vibration of the wearable device, or, the notification may be simultaneously performed by playing the ringtone of the incoming call and the vibration of the wearable device.

其中,关于可穿戴设备在来电提醒模式下的来电铃声的介绍,可以参见可穿戴设备处于蓝牙电话模式下的来电铃声的介绍,此处不再赘述。For the introduction of the ringtone of the wearable device in the incoming call reminder mode, please refer to the introduction of the ringtone of the wearable device in the Bluetooth phone mode, which will not be repeated here.

需要说明的是,在来电提醒模式下,来电呼叫界面所展示的多个用户操作选项可以包括拒接选项和静音选项。It should be noted that, in the incoming call reminder mode, the multiple user operation options displayed on the incoming call interface may include a reject option and a mute option.

在一种可能的实现方式中,若用户不想接听来电呼叫,则用户可以在可穿戴设备所展示的来电呼叫界面中触发拒接选项,可穿戴设备可以响应于用户的拒接输入(也即是用户对拒接选项的触发操作),拒接接听来电呼叫。In a possible implementation manner, if the user does not want to answer the incoming call, the user can trigger the reject option in the incoming call interface displayed by the wearable device, and the wearable device can respond to the user's reject input (that is, The user's triggering action on the reject option), rejects the incoming call.

在另一种可能的实现方式中,若用户处于会场、电影院等需要保持安静的场所中,则用户可以在可穿戴设备所展示的来电呼叫界面中触发静音选项,可穿戴设备可以响应于用户的静音输入(也即是用户对静音选项的触发操作),将来电铃声的音量调整为0。In another possible implementation, if the user is in a venue, a movie theater, etc. that needs to be kept quiet, the user can trigger the mute option in the incoming call interface displayed by the wearable device, and the wearable device can respond to the user's The mute input (that is, the user's trigger operation for the mute option) adjusts the volume of the ringtone of the incoming call to 0.

情况三、目标工作模式为勿扰模式Situation 3. The target working mode is Do Not Disturb mode

在目标工作模式为勿扰模式的情况下,在按照目标工作模式,来实现终端设备和可穿戴设备的信息传输,从而使得可穿戴设备可以按照目标工作模式,来对终端设备所接收到的来电呼叫进行处理时,可以通过如下方式实现:When the target working mode is the do not disturb mode, the information transmission between the terminal device and the wearable device is realized according to the target working mode, so that the wearable device can respond to the incoming calls received by the terminal device according to the target working mode. When the call is processed, it can be achieved in the following ways:

在终端设备接收到来电呼叫的情况下,在可穿戴设备的状态栏消息列表中,显示提示信息,提示信息用于提示终端设备接收到来电呼叫。When the terminal device receives an incoming call, prompt information is displayed in the status bar message list of the wearable device, and the prompt information is used to prompt the terminal device to receive the incoming call.

通过在状态栏消息列表中显示提示信息,以便用户可以获取终端设备接收到来电呼叫的情况,进而在终端设备上对来电呼叫进行处理。By displaying prompt information in the message list of the status bar, the user can obtain the situation that the terminal device receives an incoming call, and then process the incoming call on the terminal device.

下面结合图6的终端设备与可穿戴设备的交互过程,来对本申请所提供的设备控制方法进行进一步说明。The device control method provided by the present application will be further described below with reference to the interaction process between the terminal device and the wearable device in FIG. 6 .

S601、终端设备响应于接收到用户对多个工作模式中的目标工作模式的选择输入,向可穿戴设备发送模式设置信息,多个工作模式用于可穿戴设备处理终端设备的来电呼叫,模式设置信息用于指示目标工作模式。S601. The terminal device sends mode setting information to the wearable device in response to receiving the user's input for selecting a target working mode among the multiple working modes. The multiple working modes are used for the wearable device to process incoming calls from the terminal device, and the mode is set The information is used to indicate the target operating mode.

S602、可穿戴设备接收终端设备发送的模式设置信息。S602. The wearable device receives the mode setting information sent by the terminal device.

S603、响应于接收到来电呼叫,终端设备按照目标工作模式与可穿戴设备进行信息传输,以使可穿戴设备按照目标工作模式对终端设备的来电呼叫进行处理。S603. In response to receiving the incoming call, the terminal device performs information transmission with the wearable device according to the target working mode, so that the wearable device processes the incoming call of the terminal device according to the target working mode.

需要说明的是,关于S601至S603的具体实现过程可以参见上述各个实施例,此处不再赘述。It should be noted that, for the specific implementation process of S601 to S603, reference may be made to the foregoing embodiments, which will not be repeated here.

可选地,在通过终端设备设置了可穿戴设备的工作模式后,还可以通过终端设备对可穿戴设备的工作模式进行切换。Optionally, after the working mode of the wearable device is set through the terminal device, the working mode of the wearable device can also be switched through the terminal device.

在一些实施例中,终端设备响应于接收到用户对目标工作模式的切换输入,向可穿戴设备发送模式切换信息,可穿戴设备响应于接收到终端设备发送的模式切换信息,切换可穿戴设备的目标工作模式,模式切换信息用于指示可穿戴设备切换目标工作模式。In some embodiments, the terminal device sends mode switching information to the wearable device in response to receiving the user's switching input for the target working mode, and the wearable device switches the mode switching information of the wearable device in response to receiving the mode switching information sent by the terminal device. The target working mode, and the mode switching information is used to instruct the wearable device to switch the target working mode.

例如,在可穿戴设备处于蓝牙电话模式的情况下,响应于接收到终端设备发送的模式切换信息,控制可穿戴设备从蓝牙电话模式切换为来电提醒模式或勿扰模式。需要说明的是,切换为来电提醒模式还是勿扰模式基于模式切换信息确定。For example, when the wearable device is in the Bluetooth phone mode, in response to receiving the mode switching information sent by the terminal device, the wearable device is controlled to switch from the Bluetooth phone mode to the incoming call reminder mode or the do not disturb mode. It should be noted that whether to switch to the incoming call reminder mode or the do not disturb mode is determined based on the mode switching information.

或者,在可穿戴设备处于来电提醒模式的情况下,响应于接收到终端设备发送的模式切换信息,控制可穿戴设备从来电提醒模式切换为蓝牙电话模式或勿扰模式。需要说明的是,切换为蓝牙电话模式还是勿扰模式基于模式切换信息确定。Alternatively, when the wearable device is in the incoming call reminder mode, in response to receiving the mode switching information sent by the terminal device, the wearable device is controlled to switch from the incoming call reminder mode to the Bluetooth phone mode or the do not disturb mode. It should be noted that whether to switch to the Bluetooth phone mode or the do not disturb mode is determined based on the mode switching information.

又或者,在可穿戴设备处于勿扰模式的情况下,响应于接收到终端设备发送的模式切换信息,控制可穿戴设备从勿扰模式切换为蓝牙电话模式或来电提醒模式。需要说明的是,切换为蓝牙电话模式还是来电提醒模式基于模式切换信息确定。Alternatively, when the wearable device is in the do not disturb mode, in response to receiving the mode switching information sent by the terminal device, the wearable device is controlled to switch from the do not disturb mode to the Bluetooth phone mode or the incoming call reminder mode. It should be noted that whether to switch to the Bluetooth phone mode or the incoming call reminder mode is determined based on the mode switching information.

通过提供通过终端设备切换可穿戴设备的工作模式的功能,从而使得用户可以根据自己的实际需求,随时对可穿戴设备的工作模式进行调整,从而可以进一步提高可穿戴设备的模式设置过程的灵活性。By providing the function of switching the working mode of the wearable device through the terminal device, users can adjust the working mode of the wearable device at any time according to their actual needs, thereby further improving the flexibility of the mode setting process of the wearable device .

需要说明的是,切换模式后的来电处理方法可以参见上述实施例,此处不再赘述。It should be noted that, for the method for processing incoming calls after switching modes, reference may be made to the foregoing embodiments, and details are not described herein again.

与前述方法的实施例相对应,本说明书还提供了装置及其所应用的终端设备和可穿戴设备的实施例。Corresponding to the foregoing method embodiments, the present specification also provides embodiments of the apparatus and the terminal device and wearable device to which it is applied.

如图7所示,图7是本申请根据一示例性实施例示出的一种设备控制装置的框图,应用于可穿戴设备,该装置包括:As shown in FIG. 7 , FIG. 7 is a block diagram of a device control apparatus according to an exemplary embodiment of the present application, which is applied to a wearable device, and the apparatus includes:

接收模块701,用于接收终端设备发送的模式设置信息,模式设置信息用于指示目标工作模式,目标工作模式为可穿戴设备支持的多种工作模式的一种,多种工作模式用于可穿戴设备处理终端设备的来电呼叫;The receiving module 701 is used for receiving the mode setting information sent by the terminal device, the mode setting information is used to indicate the target working mode, the target working mode is one of the multiple working modes supported by the wearable device, and the multiple working modes are used for the wearable device. The device handles incoming calls from the terminal device;

处理模块702,用于按照目标工作模式对终端设备的来电呼叫进行处理。The processing module 702 is configured to process the incoming call of the terminal device according to the target working mode.

在本说明书的一些实施例中,多种工作模式包括蓝牙电话模式、来电提醒模式和勿扰模式。In some embodiments of the present specification, the multiple working modes include a Bluetooth phone mode, an incoming call alert mode, and a do not disturb mode.

在本说明书的一些实施例中,目标工作模式为蓝牙电话模式;In some embodiments of this specification, the target operating mode is a Bluetooth phone mode;

该处理模块702,在用于按照目标工作模式对终端设备的来电呼叫进行处理时,包括第一建立子模块和处理子模块;The processing module 702, when used to process the incoming call of the terminal device according to the target working mode, includes a first establishment submodule and a processing submodule;

该第一建立子模块,用于响应于接收到终端设备的来电通知消息,与终端设备建立免提模式HFP连接,来电通知消息用于指示终端设备接收到来电呼叫;The first establishment submodule is configured to establish a hands-free mode HFP connection with the terminal device in response to receiving an incoming call notification message from the terminal device, and the incoming call notification message is used to instruct the terminal device to receive an incoming call;

该处理子模块,用于通过HFP连接,对终端设备的来电呼叫进行处理。The processing sub-module is used for processing incoming calls of terminal equipment through HFP connection.

在本说明书的一些实施例中,该第一建立子模块,在用于响应于接收到终端设备的来电通知消息,与终端设备建立免提模式HFP连接时,用于:In some embodiments of this specification, the first establishment sub-module, when used to establish a hands-free mode HFP connection with the terminal device in response to receiving an incoming call notification message from the terminal device, is configured to:

响应于通过与终端设备之间的低功耗蓝牙BLE连接接收到终端设备的来电通知消息,与终端设备建立免提模式HFP连接。In response to receiving an incoming call notification message from the terminal device through the Bluetooth low energy BLE connection with the terminal device, a hands-free mode HFP connection is established with the terminal device.

在本说明书的一些实施例中,来电通知消息包括通知类型信息和事件信息;In some embodiments of this specification, the incoming call notification message includes notification type information and event information;

该处理模块还包括第一确定子模块,该第一确定子模块,用于根据接收到的来电通知消息中包括的通知类型信息和事件信息,确定与终端设备建立HFP连接。The processing module further includes a first determination submodule, which is configured to determine, according to the notification type information and event information included in the received incoming call notification message, to establish an HFP connection with the terminal device.

在本说明书的一些实施例中,该第一确定子模块,在用于根据接收到的来电通知消息中包括的通知类型信息和事件信息,确定与终端设备建立HFP连接时,用于:In some embodiments of this specification, when the first determining submodule is used to determine to establish an HFP connection with the terminal device according to the notification type information and event information included in the received incoming call notification message, it is used to:

在通知类型信息指示新增通知,且事件信息指示来电呼叫的情况下,确定与终端设备建立HFP连接。In the case that the notification type information indicates a new notification, and the event information indicates an incoming call, it is determined to establish an HFP connection with the terminal device.

在本说明书的一些实施例中,该第一建立子模块,在用于与终端设备建立HFP连接时,包括第一建立单元和第二建立单元;In some embodiments of this specification, the first establishment submodule, when used to establish an HFP connection with a terminal device, includes a first establishment unit and a second establishment unit;

该第一建立单元,用于向终端设备发送经典蓝牙BT连接建立请求,以与终端设备建立BT连接;The first establishment unit is used to send a classic Bluetooth BT connection establishment request to the terminal device to establish a BT connection with the terminal device;

该第二建立单元,用于通过与终端设备建立的BT连接,与终端设备建立HFP连接。The second establishing unit is configured to establish an HFP connection with the terminal device through the BT connection established with the terminal device.

在本说明书的一些实施例中,该第二建立单元,在用于通过与终端设备建立的BT连接,与终端设备建立HFP连接时,用于:In some embodiments of this specification, the second establishing unit, when used to establish an HFP connection with the terminal device through the BT connection established with the terminal device, is used for:

通过BT连接向终端设备发起HFP连接建立请求,以与终端设备建立HFP连接。An HFP connection establishment request is initiated to the terminal device through the BT connection to establish an HFP connection with the terminal device.

在本说明书的一些实施例中,该处理模块702,在用于通过HFP连接,对终端设备所接收到的来电呼叫事件进行处理时,用于:In some embodiments of this specification, when the processing module 702 is configured to process the incoming call event received by the terminal device through the HFP connection, it is configured to:

通过HFP连接,获取终端设备的来电呼叫的来电信息;Obtain the incoming call information of the incoming call of the terminal device through the HFP connection;

向用户展示来电呼叫界面,来电呼叫界面包括来电信息和多个用户操作选项。The incoming call interface is displayed to the user, and the incoming call interface includes incoming call information and multiple user operation options.

在本说明书的一些实施例中,该处理模块还包括第二建立子模块,该第二建立子模块,用于响应于用户对来电呼叫的接听输入,与终端设备建立面向同步连接SCO链接;In some embodiments of this specification, the processing module further includes a second establishment sub-module, and the second establishment sub-module is configured to establish a synchronous connection-oriented SCO link with the terminal device in response to the user's input of answering the incoming call;

通过SCO链接,获取终端设备所接收到的语音数据。Obtain the voice data received by the terminal device through the SCO link.

在本说明书的一些实施例中,该处理模块702还包括第二确定子模块、第三建立子模块和获取子模块:In some embodiments of this specification, the processing module 702 further includes a second determination submodule, a third establishment submodule, and an acquisition submodule:

该第二确定模块,用于基于从终端设备获取到的编码译码器Codec参数,确定可穿戴设备在当前来电呼叫的处理中所使用的来电铃声;The second determining module is configured to determine the incoming ringtone used by the wearable device in processing the current incoming call based on the codec Codec parameter obtained from the terminal device;

该第三建立子模块,用于在确定可穿戴设备在当前来电呼叫的处理中使用终端设备的来电铃声的情况下,建立SCO链接;The third establishment sub-module is used to establish a SCO link when it is determined that the wearable device uses the incoming ringtone of the terminal device in the processing of the current incoming call;

该获取子模块,用于通过SCO链接,获取终端设备的来电铃声。The obtaining submodule is used to obtain the ringtone of the terminal device through the SCO link.

在本说明书的一些实施例中,该装置还包括:In some embodiments of this specification, the device further comprises:

切换模块,用于响应于接收到终端设备发送的模式切换信息,切换可穿戴设备的目标工作模式。The switching module is used for switching the target working mode of the wearable device in response to receiving the mode switching information sent by the terminal device.

如图8所示,图8是本申请根据一示例性实施例示出的一种设备控制装置的框图,应用于终端设备,该装置包括:As shown in FIG. 8 , FIG. 8 is a block diagram of a device control apparatus according to an exemplary embodiment of the present application, which is applied to a terminal device, and the apparatus includes:

发送模块801,用于响应于接收到用户对多个工作模式中的目标工作模式的选择输入,向可穿戴设备发送模式设置信息,多个工作模式用于可穿戴设备处理终端设备的来电呼叫,模式设置信息用于指示目标工作模式;The sending module 801 is configured to send the mode setting information to the wearable device in response to receiving the user's selection input of the target working mode in the multiple working modes, and the multiple working modes are used for the wearable device to process the incoming call of the terminal device, The mode setting information is used to indicate the target working mode;

传输模块802,用于响应于接收到来电呼叫,按照目标工作模式与可穿戴设备进行信息传输。The transmission module 802 is configured to transmit information with the wearable device according to the target working mode in response to receiving an incoming call.

在本说明书的一些实施例中,多个工作模式包括蓝牙电话模式、来电提醒模式和勿扰模式。In some embodiments of this specification, the plurality of working modes include a Bluetooth phone mode, an incoming call reminder mode, and a do not disturb mode.

在本说明书的一些实施例中,目标工作模式为蓝牙电话模式;In some embodiments of this specification, the target operating mode is a Bluetooth phone mode;

该传输模块802,在用于响应于接收到来电呼叫,按照目标工作模式与可穿戴设备进行信息传输时,包括发送子模块和接收子模块;The transmission module 802, when used to transmit information with the wearable device according to the target working mode in response to receiving an incoming call, includes a sending sub-module and a receiving sub-module;

该发送子模块,用于响应于接收到来电呼叫,向可穿戴设备发送来电通知消息,来电通知消息包括通知类型信息和事件信息;The sending submodule is configured to send an incoming call notification message to the wearable device in response to receiving an incoming call, where the incoming call notification message includes notification type information and event information;

该接收子模块,用于接收可穿戴设备基于来电通知消息发送的连接建立请求。The receiving sub-module is configured to receive a connection establishment request sent by the wearable device based on the incoming call notification message.

在本说明书的一些实施例中,该接收子模块,在用于接收可穿戴设备基于来电通知消息发送的连接建立请求时,用于:In some embodiments of this specification, the receiving sub-module, when used to receive a connection establishment request sent by the wearable device based on the incoming call notification message, is used to:

通过与可穿戴设备之间的低功耗蓝牙BLE连接,接收可穿戴设备基于来电通知消息发送的经典蓝牙BT连接建立请求;Receive the classic Bluetooth BT connection establishment request sent by the wearable device based on the incoming call notification message through the low-power Bluetooth BLE connection with the wearable device;

基于BT连接建立请求,与可穿戴设备建立BT连接;Based on the BT connection establishment request, establish a BT connection with the wearable device;

通过与可穿戴设备之间的BT连接接收可穿戴设备发送的HFP连接建立请求。Receive the HFP connection establishment request sent by the wearable device through the BT connection with the wearable device.

在本说明书的一些实施例中,该发送子模块,在用于响应于接收到来电呼叫,向可穿戴设备发送来电通知消息时,用于:In some embodiments of this specification, the sending submodule, when used to send an incoming call notification message to the wearable device in response to receiving an incoming call, is used to:

响应于接收到来电呼叫,通过与可穿戴设备的BLE连接向可穿戴设备发送来电通知消息。In response to receiving an incoming call, an incoming call notification message is sent to the wearable device through the BLE connection with the wearable device.

在本说明书的一些实施例中,该传输模块802,还包括第一建立子模块;In some embodiments of this specification, the transmission module 802 further includes a first establishment sub-module;

该第一建立子模块,用于响应于用户在可穿戴设备上的接听输入,与可穿戴设备建立面向同步连接SCO链接;The first establishment submodule is used to establish a synchronous connection SCO link with the wearable device in response to the user's answering input on the wearable device;

该发送子模块,还用于通过SCO链接,向可穿戴设备发送终端设备所接收到的语音数据。The sending sub-module is also used to send the voice data received by the terminal device to the wearable device through the SCO link.

在本说明书的一些实施例中,该传输模块802,还包括第二建立子模块;In some embodiments of this specification, the transmission module 802 further includes a second establishment sub-module;

该第二建立子模块,用于在基于终端设备中的Codec参数确定可穿戴设备在当前来电呼叫的处理中使用终端设备的来电铃声的情况下,建立SCO链接;The second establishment sub-module is used to establish a SCO link when it is determined based on the Codec parameter in the terminal device that the wearable device uses the incoming ringtone of the terminal device in the processing of the current incoming call;

该发送子模块,还用于通过SCO链接,向可穿戴设备发送终端设备的来电铃声。The sending submodule is also used to send the ringtone of the terminal device to the wearable device through the SCO link.

在本说明书的一些实施例中,该发送模块801,还用于响应于接收到用户对目标工作模式的切换输入,向可穿戴设备发送模式切换信息,模式切换信息用于指示可穿戴设备切换目标工作模式。In some embodiments of this specification, the sending module 801 is further configured to send mode switching information to the wearable device in response to receiving the user's switching input on the target working mode, where the mode switching information is used to indicate the wearable device switching target Operating mode.

如图9所示,图9是本申请根据一示例性实施例示出的一种来电处理装置的框图,应用于可穿戴设备,该装置包括:As shown in FIG. 9, FIG. 9 is a block diagram of an incoming call processing apparatus according to an exemplary embodiment of the present application, which is applied to a wearable device, and the apparatus includes:

保持模块901,用于在可穿戴设备处于蓝牙电话模式的状态下,与终端设备保持低功耗蓝牙BLE连接;A holding module 901, configured to maintain a low-power bluetooth BLE connection with a terminal device when the wearable device is in a bluetooth phone mode;

建立模块902,用于响应于通过BLE连接接收到终端设备的来电通知消息,与终端设备建立免提模式HFP连接;The establishment module 902 is configured to establish a hands-free mode HFP connection with the terminal device in response to receiving an incoming call notification message from the terminal device through the BLE connection;

处理模块903,用于通过HFP连接,对终端设备的来电呼叫进行处理。The processing module 903 is configured to process the incoming call of the terminal device through the HFP connection.

在本说明书的一些实施例中,来电通知消息包括通知类型信息和事件信息;In some embodiments of this specification, the incoming call notification message includes notification type information and event information;

该建立模块902,在用于响应于通过BLE连接接收到终端设备的来电通知消息,与终端设备建立HFP连接时,包括确定子模块;The establishing module 902, when used to establish an HFP connection with the terminal device in response to receiving an incoming call notification message from the terminal device through the BLE connection, includes a determination sub-module;

该确定子模块,用于基于来电通知消息中包括的通知类型信息和事件信息,确定与终端设备建立HFP连接。The determining submodule is configured to determine, based on the notification type information and event information included in the incoming call notification message, to establish an HFP connection with the terminal device.

在本说明书的一些实施例中,该确定子模块,在用于基于来电通知消息中包括的通知类型信息和事件信息,确定与终端设备建立HFP连接时,用于:In some embodiments of this specification, the determining sub-module, when used for determining to establish an HFP connection with the terminal device based on the notification type information and event information included in the incoming call notification message, is configured to:

在通知类型信息指示新增通知,且事件信息指示来电呼叫的情况下,确定与终端设备建立HFP连接。In the case that the notification type information indicates a new notification, and the event information indicates an incoming call, it is determined to establish an HFP connection with the terminal device.

在本说明书的一些实施例中,该建立模块902,在用于与终端设备建立HFP连接时,包括发送子模块和建立子模块;In some embodiments of this specification, the establishing module 902, when used to establish an HFP connection with a terminal device, includes a sending sub-module and a establishing sub-module;

该发送子模块,用于向终端设备发送经典蓝牙BT连接建立请求,以与终端设备建立BT连接;The sending submodule is used to send a classic Bluetooth BT connection establishment request to the terminal device to establish a BT connection with the terminal device;

该建立子模块,用于通过与终端设备建立的BT连接,与终端设备建立HFP连接。The establishment submodule is used to establish an HFP connection with the terminal device through the BT connection established with the terminal device.

在本说明书的一些实施例中,该建立子模块,在用于与终端设备建立HFP连接时,用于:In some embodiments of this specification, the establishment submodule, when used to establish an HFP connection with a terminal device, is used to:

通过BT连接向终端设备发起HFP连接建立请求,以与终端设备建立HFP连接Initiate an HFP connection establishment request to the terminal device through the BT connection to establish an HFP connection with the terminal device

在本说明书的一些实施例中,该建立模块,还用于响应于检测到终端设备,与终端设备建立BLE连接;In some embodiments of this specification, the establishing module is further configured to establish a BLE connection with the terminal device in response to detecting the terminal device;

该装置还包括:The device also includes:

控制模块,用于响应于接收到终端设备发送的模式设置信息,控制可穿戴设备处于蓝牙电话模式,其中,模式设置信息用于设置可穿戴设备处理终端设备的来电呼叫的工作模式为蓝牙电话模式;The control module is used to control the wearable device to be in the Bluetooth phone mode in response to receiving the mode setting information sent by the terminal device, wherein the mode setting information is used to set the working mode of the wearable device to process the incoming call of the terminal device as the Bluetooth phone mode ;

该控制模块,还用于响应于接收到终端设备发送的模式切换信息,控制可穿戴设备从蓝牙电话模式切换为来电提醒模式或勿扰模式。The control module is further configured to control the wearable device to switch from the Bluetooth phone mode to the incoming call reminder mode or the do not disturb mode in response to receiving the mode switching information sent by the terminal device.

上述装置中各个模块、子模块或单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。For details of the implementation process of the functions and functions of each module, sub-module or unit in the above-mentioned apparatus, please refer to the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.

对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块、子模块或单元可以是或者也可以不是物理上分开的,作为模块、子模块或单元显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块、子模块或单元来实现本说明书方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the apparatus embodiments, since they basically correspond to the method embodiments, reference may be made to the partial descriptions of the method embodiments for related parts. The apparatus embodiments described above are only illustrative, wherein the modules, sub-modules or units described as separate components may or may not be physically separated, and components shown as modules, sub-modules or units may be Or it may not be a physical module, that is, it may be located in one place, or it may be distributed over multiple network modules. Some or all of the modules, sub-modules or units may be selected according to actual needs to achieve the purpose of the solution in this specification. Those of ordinary skill in the art can understand and implement it without creative effort.

本申请还提供了一种可穿戴设备,参见图10,图10是本申请根据一示例性实施例示出的一种可穿戴设备的结构示意图。如图10所示,可穿戴设备包括处理器1010、存储器1020和网络接口1030,存储器1020用于存储可在处理器1010上运行的计算机指令,处理器1010用于在执行计算机指令时实现本申请任一实施例所提供的设备控制方法,或者,处理器1010用于在执行计算机指令时实现本申请任一实施例所提供的来电处理方法,网络接口1030用于实现输入输出功能。在更多可能的实现方式中,可穿戴设备还可以包括其他硬件,本申请对此不做限定。The present application also provides a wearable device. Referring to FIG. 10 , FIG. 10 is a schematic structural diagram of a wearable device according to an exemplary embodiment of the present application. As shown in FIG. 10 , the wearable device includes a processor 1010, a memory 1020, and a network interface 1030. The memory 1020 is used to store computer instructions that can be executed on the processor 1010, and the processor 1010 is used to implement the present application when executing the computer instructions. The device control method provided by any embodiment, or the processor 1010 is configured to implement the incoming call processing method provided by any embodiment of the present application when executing computer instructions, and the network interface 1030 is configured to implement input and output functions. In more possible implementation manners, the wearable device may also include other hardware, which is not limited in this application.

本申请还提供了一种终端设备,参见图11,图11是本申请根据一示例性实施例示出的一种终端设备的结构示意图。如图11所示,终端设备包括处理器1110、存储器1120和网络接口1130,存储器1120用于存储可在处理器1110上运行的计算机指令,处理器1110用于在执行计算机指令时实现本申请任一实施例所提供的设备控制方法,网络接口1130用于实现输入输出功能。在更多可能的实现方式中,终端设备还可以包括其他硬件,本申请对此不做限定。The present application also provides a terminal device. Referring to FIG. 11 , FIG. 11 is a schematic structural diagram of a terminal device according to an exemplary embodiment of the present application. As shown in FIG. 11 , the terminal device includes a processor 1110, a memory 1120, and a network interface 1130. The memory 1120 is used to store computer instructions that can be executed on the processor 1110, and the processor 1110 is used to implement any task of the present application when executing the computer instructions. In the device control method provided by an embodiment, the network interface 1130 is used to implement input and output functions. In more possible implementation manners, the terminal device may also include other hardware, which is not limited in this application.

本申请还提供了一种计算机可读存储介质,计算机可读存储介质可以是多种形式,比如,在不同的例子中,计算机可读存储介质可以是:RAM(Radom Access Memory,随机存取存储器)、易失存储器、非易失性存储器、闪存、存储驱动器(如硬盘驱动器)、固态硬盘、任何类型的存储盘(如光盘、DVD等),或者类似的存储介质,或者它们的组合。特殊的,计算机可读介质还可以是纸张或者其他合适的能够打印程序的介质。计算机可读存储介质上存储有计算机程序,计算机程序被可穿戴设备的处理器执行时实现本申请任一实施例所提供的设备控制方法或来电处理方法,或者,计算机程序被终端设备的处理器执行时实现本申请任一实施例所提供的设备控制方法。The present application also provides a computer-readable storage medium. The computer-readable storage medium may be in various forms. For example, in different examples, the computer-readable storage medium may be: RAM (Random Access Memory). ), volatile memory, non-volatile memory, flash memory, storage drives (eg, hard drives), solid-state drives, storage disks of any type (eg, optical discs, DVDs, etc.), or similar storage media, or a combination thereof. In particular, the computer-readable medium may also be paper or other suitable medium capable of printing the program. A computer program is stored on the computer-readable storage medium. When the computer program is executed by the processor of the wearable device, the device control method or the incoming call processing method provided by any embodiment of the present application is implemented, or the computer program is executed by the processor of the terminal device. During execution, the device control method provided by any embodiment of the present application is implemented.

本申请还提供了一种计算机程序产品,包括计算机程序,计算机程序被可穿戴设备的处理器执行时实现本申请任一实施例所提供的设备控制方法或来电处理方法,或者,计算机程序被终端设备的处理器执行时实现本申请任一实施例所提供的设备控制方法。The present application also provides a computer program product, including a computer program. When the computer program is executed by a processor of a wearable device, the device control method or the incoming call processing method provided by any embodiment of the present application is implemented, or the computer program is executed by a terminal. When executed by the processor of the device, the device control method provided by any embodiment of the present application is implemented.

本领域技术人员应明白,本说明书一个或多个实施例可提供为方法、装置、智能设备、计算机可读存储介质或计算机程序产品。因此,本说明书一个或多个实施例可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。It will be appreciated by those skilled in the art that one or more embodiments of this specification may be provided as a method, an apparatus, a smart device, a computer-readable storage medium, or a computer program product. Accordingly, one or more embodiments of this specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present specification may employ a computer program implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein form of the product.

本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于智能设备所对应的实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in this specification are described in a progressive manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. Especially, for the embodiment corresponding to the smart device, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the partial description of the method embodiment.

上述对本说明书特定实施例进行了描述。其它实施例在本申请的范围内。在一些情况下,在本申请中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of the present specification. Other embodiments are within the scope of this application. In some cases, the actions or steps recited in this application may be performed in an order different from that in the embodiments and still achieve desirable results. Additionally, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

本说明书中描述的主题及功能操作的实施例可以在以下中实现:数字电子电路、有形体现的计算机软件或固件、包括本说明书中公开的结构及其结构性等同物的计算机硬件、或者它们中的一个或多个的组合。本说明书中描述的主题的实施例可以实现为一个或多个计算机程序,即编码在有形非暂时性程序载体上以被数据处理装置执行或控制数据处理装置的操作的计算机程序指令中的一个或多个模块。可替代地或附加地,程序指令可以被编码在人工生成的传播信号上,例如机器生成的电、光或电磁信号,该信号被生成以将信息编码并传输到合适的接收机装置以由来电处理装置执行。计算机存储介质可以是机器可读存储设备、机器可读存储基板、随机或串行存取存储器设备、或它们中的一个或多个的组合。Embodiments of the subject matter and functional operations described in this specification can be implemented in digital electronic circuitry, in tangible embodiment of computer software or firmware, in computer hardware including the structures disclosed in this specification and their structural equivalents, or in a combination of one or more. Embodiments of the subject matter described in this specification may be implemented as one or more computer programs, ie, one or more of computer program instructions encoded on a tangible non-transitory program carrier for execution by, or to control the operation of, data processing apparatus. multiple modules. Alternatively or additionally, the program instructions may be encoded on an artificially generated propagated signal, such as a machine-generated electrical, optical or electromagnetic signal, which is generated to encode and transmit information to a suitable receiver device for reception by an incoming call. The processing device executes. The computer storage medium may be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of one or more of these.

本说明书中描述的处理及逻辑流程可以由执行一个或多个计算机程序的一个或多个可编程计算机执行,以通过根据输入数据进行操作并生成输出来执行相应的功能。所述处理及逻辑流程还可以由专用逻辑电路—例如FPGA(现场可编程门阵列)或ASIC(专用集成电路)来执行,并且装置也可以实现为专用逻辑电路。The processes and logic flows described in this specification can be performed by one or more programmable computers executing one or more computer programs to perform corresponding functions by operating on input data and generating output. The processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, eg, an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).

适合用于执行计算机程序的计算机包括,例如通用和/或专用微处理器,或任何其他类型的中央处理单元。通常,中央处理单元将从只读存储器和/或随机存取存储器接收指令和数据。计算机的基本组件包括用于实施或执行指令的中央处理单元以及用于存储指令和数据的一个或多个存储器设备。通常,计算机还将包括用于存储数据的一个或多个大容量存储设备,例如磁盘、磁光盘或光盘等,或者计算机将可操作地与此大容量存储设备耦接以从其接收数据或向其传送数据,抑或两种情况兼而有之。然而,计算机不是必须具有这样的设备。此外,计算机可以嵌入在另一设备中,例如移动电话、个人数字助理(PDA)、移动音频或视频播放器、游戏操纵台、全球定位系统(GPS)接收机、或例如通用串行总线(USB)闪存驱动器的便携式存储设备,仅举几例。Computers suitable for the execution of a computer program include, for example, general and/or special purpose microprocessors, or any other type of central processing unit. Typically, the central processing unit will receive instructions and data from read only memory and/or random access memory. The basic components of a computer include a central processing unit for implementing or executing instructions and one or more memory devices for storing instructions and data. Typically, a computer will also include, or be operatively coupled to, one or more mass storage devices for storing data, such as magnetic, magneto-optical or optical disks, to receive data therefrom or to It transmits data, or both. However, the computer does not have to have such a device. Additionally, the computer may be embedded in another device, such as a mobile phone, personal digital assistant (PDA), mobile audio or video player, game console, global positioning system (GPS) receiver, or a universal serial bus (USB) ) flash drives for portable storage devices, to name a few.

适合于存储计算机程序指令和数据的计算机可读介质包括所有形式的非易失性存储器、媒介和存储器设备,例如包括半导体存储器设备(例如EPROM、EEPROM和闪存设备)、磁盘(例如内部硬盘或可移动盘)、磁光盘以及CD ROM和DVD-ROM盘。处理器和存储器可由专用逻辑电路补充或并入专用逻辑电路中。Computer-readable media suitable for storage of computer program instructions and data include all forms of non-volatile memory, media, and memory devices including, for example, semiconductor memory devices (eg, EPROM, EEPROM, and flash memory devices), magnetic disks (eg, internal hard disks or memory devices). removable discs), magneto-optical discs, and CD-ROM and DVD-ROM discs. The processor and memory may be supplemented by or incorporated in special purpose logic circuitry.

虽然本说明书包含许多具体实施细节,但是这些不应被解释为限制任何发明的范围或所要求保护的范围,而是主要用于描述特定发明的具体实施例的特征。本说明书内在多个实施例中描述的某些特征也可以在单个实施例中被组合实施。另一方面,在单个实施例中描述的各种特征也可以在多个实施例中分开实施或以任何合适的子组合来实施。此外,虽然特征可以如上所述在某些组合中起作用并且甚至最初如此要求保护,但是来自所要求保护的组合中的一个或多个特征在一些情况下可以从该组合中去除,并且所要求保护的组合可以指向子组合或子组合的变型。While this specification contains many specific implementation details, these should not be construed as limiting the scope of any invention or what may be claimed, but rather are used primarily to describe features of specific embodiments of particular inventions. Certain features that are described in this specification in multiple embodiments can also be implemented in combination in a single embodiment. On the other hand, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination. Furthermore, although features may function as described above in certain combinations and even be originally claimed as such, one or more features from a claimed combination may in some cases be removed from the combination and the claimed A protected combination may point to a subcombination or a variation of a subcombination.

类似地,虽然在附图中以特定顺序描绘了操作,但是这不应被理解为要求这些操作以所示的特定顺序执行或顺次执行、或者要求所有例示的操作被执行,以实现期望的结果。在某些情况下,多任务和并行处理可能是有利的。此外,上述实施例中的各种系统模块和组件的分离不应被理解为在所有实施例中均需要这样的分离,并且应当理解,所描述的程序组件和系统通常可以一起集成在单个软件产品中,或者封装成多个软件产品。Similarly, although operations are depicted in the figures in a particular order, this should not be construed as requiring the operations to be performed in the particular order shown or sequentially, or that all illustrated operations be performed, to achieve the desired result. In some cases, multitasking and parallel processing may be advantageous. Furthermore, the separation of the various system modules and components in the above-described embodiments should not be construed as requiring such separation in all embodiments, and it should be understood that the described program components and systems may generally be integrated together in a single software product , or packaged into multiple software products.

由此,主题的特定实施例已被描述。其他实施例在本申请的范围以内。在某些情况下,本申请中记载的动作可以以不同的顺序执行并且仍实现期望的结果。此外,附图中描绘的处理并非必需所示的特定顺序或顺次顺序,以实现期望的结果。在某些实现中,多任务和并行处理可能是有利的。Thus, specific embodiments of the subject matter have been described. Other embodiments are within the scope of this application. In some cases, the actions recited in this application can be performed in a different order and still achieve desirable results. Furthermore, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some implementations, multitasking and parallel processing may be advantageous.

本领域技术人员在考虑说明书及实践这里申请的发明后,将容易想到本说明书的其它实施方案。本说明书旨在涵盖本说明书的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本说明书的一般性原理并包括本说明书未申请的本技术领域中的公知常识或惯用技术手段。也即是,本说明书并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。Other embodiments of this specification will readily occur to those skilled in the art upon consideration of the specification and practice of the invention claimed herein. This specification is intended to cover any variations, uses or adaptations of this specification that follow the general principles of this specification and include common general knowledge or conventional techniques in the technical field to which this specification does not apply . That is, the present specification is not limited to the precise structures that have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof.

以上所述仅为本说明书的可选实施例而已,并不用以限制本说明书,凡在本说明书的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本说明书保护的范围之内。The above descriptions are only optional embodiments of this specification, and are not intended to limit this specification. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this specification shall be included in this specification. within the scope of protection.

Claims (27)

1. A device control method is applied to a wearable device, and comprises the following steps:
receiving mode setting information sent by a terminal device, wherein the mode setting information is used for indicating a target working mode, the target working mode is one of multiple working modes supported by the wearable device, and the multiple working modes are used for the wearable device to process an incoming call of the terminal device;
and processing the incoming call of the terminal equipment according to the target working mode.
2. The method of claim 1, wherein the plurality of operating modes include a bluetooth phone mode, an incoming call alert mode, and a do not disturb mode.
3. The method of claim 1 or 2, wherein the target operating mode is a bluetooth telephone mode;
the processing the incoming call of the terminal device according to the target working mode comprises:
establishing a handsfree mode HFP connection with the terminal device in response to receiving an incoming call notification message of the terminal device, the incoming call notification message indicating that the terminal device receives an incoming call;
and processing the incoming call of the terminal equipment through the HFP connection.
4. The method according to claim 3, wherein the establishing the hands-free mode HFP connection with the terminal device in response to receiving the incoming call notification message of the terminal device comprises:
establishing a handsfree mode HFP connection with the terminal device in response to receiving an incoming call notification message of the terminal device through a Bluetooth Low Energy (BLE) connection with the terminal device.
5. The method according to claim 3 or 4, wherein the incoming call notification message includes notification type information and event information;
the method further comprises the following steps:
and determining to establish HFP connection with the terminal device according to the notification type information and the event information included in the received incoming call notification message.
6. The method according to claim 5, wherein the determining that HFP connection is established with the terminal device according to the notification type information and the event information included in the received incoming call notification message comprises:
and determining that HFP is connected with the terminal device when the notification type information indicates a new notification and the event information indicates an incoming call.
7. The method according to any one of claims 3 to 6, wherein the establishing the HFP connection with the terminal device comprises:
sending a classic Bluetooth BT connection establishment request to the terminal device to establish a BT connection with the terminal device;
establishing the HFP connection with the terminal device through the BT connection established with the terminal device.
8. The method according to any one of claims 3 to 7, wherein the processing an incoming call event received by the terminal device through the HFP connection comprises:
obtaining incoming call information of an incoming call of the terminal equipment through the HFP connection;
and displaying an incoming call interface to a user, wherein the incoming call interface comprises the incoming call information and a plurality of user operation options.
9. The method of claim 8, wherein after presenting the incoming call interface to the user, the method further comprises:
responding to the answering input of the incoming call by the user, and establishing a synchronous connection oriented SCO link with the terminal equipment;
and acquiring the voice data received by the terminal equipment through the SCO link.
10. The method according to any one of claims 3 to 8, further comprising:
determining incoming call ringtone used by the wearable device in the processing of the current incoming call based on the Codec parameter acquired from the terminal device;
under the condition that the wearable device is determined to use the incoming call ringtone of the terminal device in the processing of the current incoming call, establishing an SCO link;
and acquiring the incoming call ringtone of the terminal equipment through the SCO link.
11. The method according to any one of claims 1 to 10, further comprising:
and switching the target working mode of the wearable device in response to receiving the mode switching information sent by the terminal device.
12. An apparatus control method is applied to a terminal apparatus, and the method includes:
in response to receiving a user selection input of a target working mode in a plurality of working modes, sending mode setting information to a wearable device, wherein the plurality of working modes are used for the wearable device to process an incoming call of the terminal device, and the mode setting information is used for indicating the target working mode;
and responding to the received incoming call, and performing information transmission with the wearable device according to the target working mode.
13. The method of claim 12, wherein the plurality of operating modes include a bluetooth phone mode, an incoming call alert mode, and a do not disturb mode.
14. The method of claim 12 or 13, wherein the target operating mode is a bluetooth phone mode;
the responding to the received incoming call, and performing information transmission with the wearable device according to the target working mode comprises:
in response to receiving an incoming call, sending an incoming call notification message to the wearable device, the incoming call notification message including notification type information and event information;
and receiving a connection establishment request sent by the wearable device based on the incoming call notification message, wherein the connection establishment request is used for requesting to establish a hands-free mode HFP connection with the terminal device.
15. The method of claim 14, wherein receiving the connection establishment request sent by the wearable device based on the incoming call notification message comprises:
receiving a classic Bluetooth BT connection establishment request sent by the wearable device based on the incoming call notification message through a low-power-consumption Bluetooth BLE connection with the wearable device;
establishing a BT connection with the wearable device based on the BT connection establishment request;
receiving an HFP connection establishment request transmitted by the wearable device through a BT connection with the wearable device.
16. The method of claim 14 or 15, wherein sending an incoming notification message to the wearable device in response to receiving the incoming call comprises:
in response to receiving an incoming call, sending an incoming notification message to the wearable device over a BLE connection with the wearable device.
17. The method according to any one of claims 13 to 16, further comprising:
in response to receiving a switching input of the target working mode from a user, sending mode switching information to the wearable device, wherein the mode switching information is used for instructing the wearable device to switch the target working mode.
18. An incoming call processing method is applied to a wearable device, and comprises the following steps:
keeping low-power consumption Bluetooth BLE connection with the terminal equipment in a state that the wearable equipment is in a Bluetooth telephone mode;
establishing a handsfree mode HFP connection with the terminal device in response to receiving an incoming call notification message of the terminal device through the BLE connection;
and processing the incoming call of the terminal equipment through the HFP connection.
19. The method of claim 18, wherein the incoming call notification message comprises notification type information and event information;
the establishing HFP connection with the terminal device in response to receiving the incoming call notification message of the terminal device through the BLE connection includes:
determining that the HFP is connected with the terminal device based on the notification type information and the event information included in the incoming call notification message.
20. The method according to any one of claims 18 to 19, wherein the establishing HFP connection with the terminal device comprises:
sending a classic Bluetooth BT connection establishment request to the terminal device to establish a BT connection with the terminal device;
establishing the HFP connection with the terminal device through the BT connection established with the terminal device.
21. The method of any one of claims 18 to 20, further comprising:
in response to detecting the terminal device, establishing the BLE connection with the terminal device; or,
responding to mode setting information sent by the terminal equipment, and controlling the wearable equipment to be in the Bluetooth telephone mode, wherein the mode setting information is used for setting the working mode of the wearable equipment for processing the incoming call of the terminal equipment to be in the Bluetooth telephone mode; or,
and responding to the received mode switching information sent by the terminal equipment, and controlling the wearable equipment to be switched into an incoming call reminding mode or a do-not-disturb mode from a Bluetooth telephone mode.
22. A device control apparatus, applied to a wearable device, the apparatus comprising:
the wearable device comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving mode setting information sent by a terminal device, the mode setting information is used for indicating a target working mode, the target working mode is one of a plurality of working modes supported by the wearable device, and the plurality of working modes are used for the wearable device to process an incoming call of the terminal device;
and the processing module is used for processing the incoming call of the terminal equipment according to the target working mode.
23. An apparatus control device, applied to a terminal device, the apparatus comprising:
a sending module, configured to send, in response to receiving a selection input of a target operating mode from among a plurality of operating modes by a user, mode setting information to a wearable device, where the plurality of operating modes are used by the wearable device to process an incoming call of the terminal device, and the mode setting information is used to indicate the target operating mode;
and the transmission module is used for responding to the received incoming call and transmitting information with the wearable equipment according to the target working mode.
24. An incoming call processing device, applied to a wearable device, the device comprising:
the maintaining module is used for maintaining low-power consumption Bluetooth BLE connection with the terminal equipment in a Bluetooth telephone mode state of the wearable equipment;
a setup module, configured to establish a handsfree mode HFP connection with the terminal device in response to receiving an incoming call notification message of the terminal device through the BLE connection;
and the processing module is used for processing the incoming call of the terminal equipment through the HFP connection.
25. A wearable device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements operations performed by the device control method of any of claims 1-11; alternatively, the processor implements the operations performed by the incoming call processing method according to any one of claims 18 to 21 when executing the program.
26. A terminal device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements operations performed by the device control method according to any one of claims 12 to 17 when executing the program.
27. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a program that is executed by a processor of a wearable device to perform operations performed by the device control method according to any one of claims 1 to 11; alternatively, the program is executed by a processor of a wearable device to perform the operations of the incoming call processing method according to any one of claims 18 to 21; alternatively, the program is executed by a processor of a terminal device to perform the operations performed by the device control method according to any one of claims 12 to 17.
CN202210003067.5A 2022-01-04 2022-01-04 Device control method, incoming call processing method, device, equipment and medium Active CN114449093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210003067.5A CN114449093B (en) 2022-01-04 2022-01-04 Device control method, incoming call processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210003067.5A CN114449093B (en) 2022-01-04 2022-01-04 Device control method, incoming call processing method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN114449093A true CN114449093A (en) 2022-05-06
CN114449093B CN114449093B (en) 2025-02-25

Family

ID=81366489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210003067.5A Active CN114449093B (en) 2022-01-04 2022-01-04 Device control method, incoming call processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114449093B (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002330473A (en) * 2001-03-02 2002-11-15 Seiko Epson Corp Wearable wireless communication device, mobile phone device, control method thereof, control method of wireless communication system, control program, and recording medium
KR20080066137A (en) * 2007-01-11 2008-07-16 엘지이노텍 주식회사 Call indication device and method of Bluetooth headset
CN105007369A (en) * 2015-06-11 2015-10-28 广东欧珀移动通信有限公司 Method and mobile terminal for information reminder
CN106445073A (en) * 2016-09-28 2017-02-22 惠州Tcl移动通信有限公司 Method and system for automatic scene mode switching of mobile terminal
US20170064071A1 (en) * 2015-09-01 2017-03-02 Lg Electronics Inc. Mobile device, wearable device and method of controlling each device
CN106506822A (en) * 2016-10-24 2017-03-15 安徽华米信息科技有限公司 Working mode switching method, device and wearable device
CN106788540A (en) * 2016-12-27 2017-05-31 广东小天才科技有限公司 Play mode switching control method of wearable device and wearable device
CN107070474A (en) * 2016-12-27 2017-08-18 广东小天才科技有限公司 Switching control method for playing modes of wearable device and wearable device
CN107370881A (en) * 2017-07-26 2017-11-21 王三峰 A kind of intelligent watch control method and system
CN107682560A (en) * 2017-10-31 2018-02-09 珠海市魅族科技有限公司 Indicating mode switching method, device, computer installation and computer-readable recording medium
WO2018032455A1 (en) * 2016-08-18 2018-02-22 华为技术有限公司 Bluetooth communication method and terminal
CN108430137A (en) * 2018-05-16 2018-08-21 深圳市国华光电科技有限公司 A kind of intelligent bulbs and its control system and control method based on bluetooth
CN108566221A (en) * 2018-04-23 2018-09-21 Oppo广东移动通信有限公司 Call control method and relevant device
CN110062446A (en) * 2019-04-23 2019-07-26 广东小天才科技有限公司 Mode switching method and device of equipment, wearable equipment and storage medium
US20210212166A1 (en) * 2020-01-03 2021-07-08 Beijing Xiaomi Mobile Software Co., Ltd. Function controlling method, function controlling device and storage medium
CN113438372A (en) * 2021-06-11 2021-09-24 Oppo广东移动通信有限公司 Call function setting method, device, terminal equipment and storage medium
CN113452394A (en) * 2020-03-25 2021-09-28 Oppo广东移动通信有限公司 Device mode management method and device, electronic device and computer storage medium
CN113596715A (en) * 2014-11-27 2021-11-02 周天格 Methods, systems, and computer readable media for messaging, calling, one-touch payments via mobile and wearable devices

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002330473A (en) * 2001-03-02 2002-11-15 Seiko Epson Corp Wearable wireless communication device, mobile phone device, control method thereof, control method of wireless communication system, control program, and recording medium
KR20080066137A (en) * 2007-01-11 2008-07-16 엘지이노텍 주식회사 Call indication device and method of Bluetooth headset
CN113596715A (en) * 2014-11-27 2021-11-02 周天格 Methods, systems, and computer readable media for messaging, calling, one-touch payments via mobile and wearable devices
CN105007369A (en) * 2015-06-11 2015-10-28 广东欧珀移动通信有限公司 Method and mobile terminal for information reminder
US20170064071A1 (en) * 2015-09-01 2017-03-02 Lg Electronics Inc. Mobile device, wearable device and method of controlling each device
WO2018032455A1 (en) * 2016-08-18 2018-02-22 华为技术有限公司 Bluetooth communication method and terminal
CN109644216A (en) * 2016-08-18 2019-04-16 华为技术有限公司 A kind of method and terminal of Bluetooth communication
CN106445073A (en) * 2016-09-28 2017-02-22 惠州Tcl移动通信有限公司 Method and system for automatic scene mode switching of mobile terminal
CN106506822A (en) * 2016-10-24 2017-03-15 安徽华米信息科技有限公司 Working mode switching method, device and wearable device
CN107070474A (en) * 2016-12-27 2017-08-18 广东小天才科技有限公司 Switching control method for playing modes of wearable device and wearable device
CN106788540A (en) * 2016-12-27 2017-05-31 广东小天才科技有限公司 Play mode switching control method of wearable device and wearable device
CN107370881A (en) * 2017-07-26 2017-11-21 王三峰 A kind of intelligent watch control method and system
CN107682560A (en) * 2017-10-31 2018-02-09 珠海市魅族科技有限公司 Indicating mode switching method, device, computer installation and computer-readable recording medium
CN108566221A (en) * 2018-04-23 2018-09-21 Oppo广东移动通信有限公司 Call control method and relevant device
CN108430137A (en) * 2018-05-16 2018-08-21 深圳市国华光电科技有限公司 A kind of intelligent bulbs and its control system and control method based on bluetooth
CN110062446A (en) * 2019-04-23 2019-07-26 广东小天才科技有限公司 Mode switching method and device of equipment, wearable equipment and storage medium
US20210212166A1 (en) * 2020-01-03 2021-07-08 Beijing Xiaomi Mobile Software Co., Ltd. Function controlling method, function controlling device and storage medium
CN113452394A (en) * 2020-03-25 2021-09-28 Oppo广东移动通信有限公司 Device mode management method and device, electronic device and computer storage medium
WO2021190148A1 (en) * 2020-03-25 2021-09-30 Oppo广东移动通信有限公司 Device mode management method and apparatus, electronic device, and computer storage medium
CN113438372A (en) * 2021-06-11 2021-09-24 Oppo广东移动通信有限公司 Call function setting method, device, terminal equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
VISHAL GOYAL;: "用于可穿戴设备的传感器技术进展", 中国集成电路, no. 04, 5 April 2017 (2017-04-05) *
马建辉;马共立;成巍;: "蓝牙车载免提装置的产品设计与开发", 山东科学, no. 03, 15 June 2010 (2010-06-15) *

Also Published As

Publication number Publication date
CN114449093B (en) 2025-02-25

Similar Documents

Publication Publication Date Title
US8140116B2 (en) Duplex audio for mobile communication device and accessory
CN107690796B (en) Call management between multiple user devices
CN109548184B (en) Method, device and mobile terminal for connecting mobile terminal and Bluetooth device
US20130219098A1 (en) Mobile Device Docking Station
CN115190197B (en) Bluetooth headset-based communication method and device and storage medium
CN113411793A (en) Bluetooth communication method and terminal
US9172792B2 (en) Method and electronic device for wireless communication
CN103595859A (en) Method for handling call receiving and an electronic device thereof
CN102752030A (en) Method and system for connecting incoming call to Bluetooth headset
JP2003319062A (en) Handfree portable telephone and handfree switching program
CN114040373A (en) Audio service processing method, device, electronic device and storage medium
EP3476109A1 (en) Wireless audio source switching
US20150119011A1 (en) Information processing method and device
US8798693B2 (en) Earpiece with voice menu
CN103475775B (en) Communication terminal and attaching method thereof
CN114513571A (en) Device connection method and device, electronic device and readable storage medium
WO2015131490A1 (en) Voice data transmission processing method, terminal, and computer storage medium
US20090186579A1 (en) Wireless headset with character message outputting function and method for outputting character message
CN115915037B (en) Call control method, device, electronic device and computer-readable storage medium
WO2017223165A1 (en) Wireless audio source switching
CN114449093B (en) Device control method, incoming call processing method, device, equipment and medium
TW201427382A (en) System and method for forwarding phone calls
CN107124679A (en) The method and apparatus that multimedia file is played
JP2013131989A (en) Telephone device and telephone call transmission method
CN115987950B (en) Call method, device and equipment

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
TR01 Transfer of patent right

Effective date of registration: 20250428

Address after: No. 01, Floor 5, Building B2, Zhong'an Chuanggu Science and Technology Park, No. 900, Wangjiang West Road, China (Anhui) Pilot Free Trade Zone, Hefei, Anhui 230088

Patentee after: Anhui huami Health Technology Co.,Ltd.

Country or region after: China

Address before: 243000 floor 7, building B2, huami Global Innovation Center, No. 900, Wangjiang West Road, China (Anhui) pilot Free Trade Zone, Hefei, Anhui

Patentee before: Anhui Huami Information Technology Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right