WO2022105342A1 - Communicational connection establishment method, storage medium and device - Google Patents

Communicational connection establishment method, storage medium and device Download PDF

Info

Publication number
WO2022105342A1
WO2022105342A1 PCT/CN2021/114745 CN2021114745W WO2022105342A1 WO 2022105342 A1 WO2022105342 A1 WO 2022105342A1 CN 2021114745 W CN2021114745 W CN 2021114745W WO 2022105342 A1 WO2022105342 A1 WO 2022105342A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
audio
connection
detected
communication connection
Prior art date
Application number
PCT/CN2021/114745
Other languages
French (fr)
Chinese (zh)
Inventor
王征添
庄光庭
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022105342A1 publication Critical patent/WO2022105342A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

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

Abstract

Disclosed in the present application are a communicational connection establishment method, a storage medium and a device. The method comprises: outputting an audio connection signal when a connection establishment signal is detected, the audio connection signal carrying a device identifier used for establishing a communicational connection; and acquiring a communicational connection request initiated by an audio receiving device, and establishing a communicational connection with the audio receiving device on the basis of the communicational connection request, the communicational connection request being generated by the audio receiving device on the basis of the device identifier. By using the present application, a communicational connection between devices can be automatically established based on the transmission mode of an audio signal, thereby improving the efficiency of communicational connection establishment between the devices, and ensuring the use effect of accessory devices.

Description

一种通信连接建立方法、存储介质及设备A communication connection establishment method, storage medium and device
本申请要求于2020年11月17日提交中国专利局,申请号为202011297110.0、发明名称为“一种通信连接建立方法、存储介质及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011297110.0 and the invention title "A method for establishing a communication connection, a storage medium and a device", which was filed with the China Patent Office on November 17, 2020, the entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及计算机技术领域,尤其涉及一种通信连接建立方法、系统、存储介质及设备。The present application relates to the field of computer technology, and in particular, to a method, system, storage medium and device for establishing a communication connection.
背景技术Background technique
随着计算机技术的不断发展,对于手机、电脑等终端设备的配件设备日趋完善,例如:无线音频设备、无线充电设备、无线输入设备等,为人们生活提供了极大的便利。终端设备与配件设备在建立通信连接的过程中,往往都需要用户手动在终端设备中选择需要连接的配件设备的设备标识,对于在车辆行驶途中、会议过程中等较为紧急的通信连接场景,这必然增加了通信连接建立的复杂度,影响了设备间通信连接建立的效率以及配件设备的使用效果。With the continuous development of computer technology, the accessories for mobile phones, computers and other terminal equipment are becoming more and more perfect, such as: wireless audio equipment, wireless charging equipment, wireless input equipment, etc., providing great convenience for people's lives. In the process of establishing a communication connection between a terminal device and an accessory device, the user often needs to manually select the device identifier of the accessory device to be connected in the terminal device. The complexity of establishing the communication connection is increased, and the efficiency of establishing the communication connection between the devices and the use effect of the accessory device are affected.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种通信连接建立方法、系统、存储介质及设备,可以基于音频信号的传输方式自动建立设备间的通信连接,提升设备间通信连接建立的效率,保证配件设备的使用效果。Embodiments of the present application provide a method, system, storage medium, and device for establishing a communication connection, which can automatically establish a communication connection between devices based on an audio signal transmission method, improve the efficiency of establishing a communication connection between devices, and ensure the use effect of accessory devices.
本申请实施例第一方面提供了一种通信连接建立方法,包括:A first aspect of the embodiments of the present application provides a method for establishing a communication connection, including:
当第一设备检测到第一连接信号时,所述第一设备输出音频连接信号,所述音频连接信号携带有所述第一设备的设备标识;When the first device detects the first connection signal, the first device outputs an audio connection signal, and the audio connection signal carries the device identification of the first device;
当第二设备检测到第二连接信号时,所述第二设备接收所述音频连接信号;When the second device detects the second connection signal, the second device receives the audio connection signal;
所述第二设备获取所述音频连接信号中的所述设备标识;The second device obtains the device identifier in the audio connection signal;
所述第二设备基于所述设备标识与所述第一设备建立通信连接。The second device establishes a communication connection with the first device based on the device identification.
本申请实施例第二方面提供了一种通信连接建立方法,包括:A second aspect of the embodiments of the present application provides a method for establishing a communication connection, including:
当检测到连接建立信号时,输出音频连接信号,所述音频连接信号携带有用于建立通信连接的设备标识;When a connection establishment signal is detected, an audio connection signal is output, and the audio connection signal carries a device identification for establishing a communication connection;
获取音频接收设备发起的通信连接请求,基于所述通信连接请求与所述音频接收设备建立通信连接,所述通信连接请求为所述音频接收设备基于所述设备标识生成的。A communication connection request initiated by an audio receiving device is acquired, and a communication connection is established with the audio receiving device based on the communication connection request, where the communication connection request is generated by the audio receiving device based on the device identification.
本申请实施例第三方面提供了一种通信连接建立方法,所述方法包括:A third aspect of the embodiments of the present application provides a method for establishing a communication connection, and the method includes:
当检测到连接建立信号时,接收音频输出设备输出的音频连接信号;When the connection establishment signal is detected, receive the audio connection signal output by the audio output device;
获取所述音频连接信号中携带的所述音频输出设备的设备标识;Obtain the device identifier of the audio output device carried in the audio connection signal;
基于所述设备标识与所述音频输出设备建立通信连接。A communication connection is established with the audio output device based on the device identification.
本申请实施例第四方面提供了一种音频输出设备,包括:A fourth aspect of the embodiments of the present application provides an audio output device, including:
信号输出单元,用于当检测到连接建立信号时,输出音频连接信号,所述音频连接信号携带有用于建立通信连接的设备标识;a signal output unit for outputting an audio connection signal when a connection establishment signal is detected, the audio connection signal carrying a device identification for establishing a communication connection;
连接建立单元,用于获取音频接收设备发起的通信连接请求,基于所述通信连接请求与所述音频接收设备建立通信连接,所述通信连接请求为所述音频接收设备基于所述设备标识生成的。A connection establishment unit is configured to obtain a communication connection request initiated by an audio receiving device, and establish a communication connection with the audio receiving device based on the communication connection request, where the communication connection request is generated by the audio receiving device based on the device identification. .
本申请实施例第五方面提供了一种音频接收设备,包括:A fifth aspect of the embodiments of the present application provides an audio receiving device, including:
信号接收单元,用于当检测到连接建立信号时,接收音频输出设备输出的音频连接信号;a signal receiving unit for receiving the audio connection signal output by the audio output device when the connection establishment signal is detected;
标识获取单元,用于获取所述音频连接信号中携带的所述音频输出设备的设备标识;an identification acquisition unit, used for acquiring the device identification of the audio output device carried in the audio connection signal;
连接建立单元,用于基于所述设备标识与所述音频输出设备建立通信连接。A connection establishing unit, configured to establish a communication connection with the audio output device based on the device identification.
本申请实施例第六方面提供了一种通信连接建立系统,包括上述的音频输出设备以及上述的音频接收设备。A sixth aspect of the embodiments of the present application provides a system for establishing a communication connection, including the above-mentioned audio output device and the above-mentioned audio receiving device.
本申请实施例第七方面提供了一种计算机设备,包括处理器、存储器、输入输出接口;A seventh aspect of the embodiments of the present application provides a computer device, including a processor, a memory, and an input and output interface;
所述处理器分别与所述存储器和所述输入输出接口相连,其中,所述输入输出接口用于页面交互,所述存储器用于存储程序代码,所述处理器用于调用所述程序代码,以执行上述的方法步骤。The processor is respectively connected to the memory and the input-output interface, wherein the input-output interface is used for page interaction, the memory is used to store program codes, and the processor is used to call the program codes to Perform the above method steps.
本申请实施例第八方面提供了一种计算机存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时,执行上述的方法步骤。An eighth aspect of an embodiment of the present application provides a computer storage medium, where the computer storage medium stores a computer program, the computer program includes program instructions, and the program instructions, when executed by a processor, execute the above method steps.
在本申请实施例中,第一设备在检测到连接信号时可以输出携带有设备标识的音频连接信号,第二设备在检测到连接信号时可以对音频连接信号进行接收,并获取音频连接信号中的设备标识,进而第二设备可以基于设备标识与第一设备建立通信连接。设备在分别检测到连接信号之后,可以通过音频信号的方式对设备标识进行传输,基于音频信号的传输方式自动建立设备间的通信连接,提升了设备间通信连接建立的效率,保证了配件设备的使用效果。In the embodiment of the present application, the first device may output an audio connection signal carrying a device identification when detecting a connection signal, and the second device may receive the audio connection signal when detecting a connection signal, and obtain the audio connection signal in the audio connection signal. The second device can establish a communication connection with the first device based on the device identification. After the device detects the connection signal, it can transmit the device identification through the audio signal, and automatically establish the communication connection between the devices based on the transmission mode of the audio signal, which improves the efficiency of establishing the communication connection between the devices and guarantees the accessory equipment. Effect.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本申请实施例提供的一种通信连接建立系统的系统架构图;1 is a system architecture diagram of a system for establishing a communication connection provided by an embodiment of the present application;
图2是本申请实施例提供的一种通信连接建立方法的流程示意图;2 is a schematic flowchart of a method for establishing a communication connection provided by an embodiment of the present application;
图3是本申请实施例提供的一种通信连接建立方法的流程时序图;3 is a flow sequence diagram of a method for establishing a communication connection provided by an embodiment of the present application;
图4是本申请实施例提供的一种音频连接信号输出的举例示意图;4 is an exemplary schematic diagram of an audio connection signal output provided by an embodiment of the present application;
图5是本申请实施例提供的一种设备标识获取的举例示意图;FIG. 5 is an exemplary schematic diagram of a device identification acquisition provided by an embodiment of the present application;
图6是本申请实施例提供的一种通信连接建立成功的举例示意图;6 is a schematic diagram of an example of a successful establishment of a communication connection provided by an embodiment of the present application;
图7是本申请实施例提供的一种通信连接建立方法的流程示意图;7 is a schematic flowchart of a method for establishing a communication connection provided by an embodiment of the present application;
图8是本申请实施例提供的一种通信连接建立方法的流程示意图;8 is a schematic flowchart of a method for establishing a communication connection provided by an embodiment of the present application;
图9是本申请实施例提供的一种通信连接建立方法的流程示意图;9 is a schematic flowchart of a method for establishing a communication connection provided by an embodiment of the present application;
图10是本申请实施例提供的一种通信连接建立方法的流程示意图;10 is a schematic flowchart of a method for establishing a communication connection provided by an embodiment of the present application;
图11是本申请实施例提供的一种音频输出设备的结构示意图;11 is a schematic structural diagram of an audio output device provided by an embodiment of the present application;
图12是本申请实施例提供的一种音频输出设备的结构示意图;12 is a schematic structural diagram of an audio output device provided by an embodiment of the present application;
图13是本申请实施例提供的一种信号输出单元的结构示意图;13 is a schematic structural diagram of a signal output unit provided by an embodiment of the present application;
图14是本申请实施例提供的一种计算机设备的结构示意图;14 is a schematic structural diagram of a computer device provided by an embodiment of the present application;
图15是本申请实施例提供的一种音频接收设备的结构示意图;15 is a schematic structural diagram of an audio receiving device provided by an embodiment of the present application;
图16是本申请实施例提供的一种音频接收设备的结构示意图;16 is a schematic structural diagram of an audio receiving device provided by an embodiment of the present application;
图17是本申请实施例提供的一种信号确定单元的结构示意图;17 is a schematic structural diagram of a signal determination unit provided by an embodiment of the present application;
图18是本申请实施例提供的一种标识获取单元的结构示意图;18 is a schematic structural diagram of an identification acquisition unit provided by an embodiment of the present application;
图19是本申请实施例提供的一种计算机设备的结构示意图。FIG. 19 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
请参见图1,为本申请实施例提供了一种通信连接建立系统的系统结构图。如图1所示,本申请实施例可以应用于设备间通信连接建立的场景,例如:蓝牙通信连接、热点网络连接等,所述通信连接建立系统可以包括音频接收设备和音频输出设备,所述音频接收设备可以为用于接收音频连接信号的终端设备,具体包括但不限于手机、个人电脑、笔记本电脑、智能家具、车载设备等具备信号接收、输出功能在内的终端设备,或者为终端设备中的功能模块;所述音频输出设备可以为用于输出音频连接信号的 配件设备,具体包括但不限于耳机、充电器、键盘、鼠标等,或者为配件设备中的功能模块,当然,所述音频输出设备同样可以为上述终端设备,所述音频输出设备与所述音频接收设备仅用于区分需要建立通信连接的两个设备,其中用于输出音频连接信号的设备为音频输出设备,用于接收音频连接信号的设备为音频接收设备。在下述实施例中,所述音频输出设备可以称为第一设备或计算机设备,所述音频接收设备可以称为第二设备或计算机设备。Referring to FIG. 1 , a system structure diagram of a system for establishing a communication connection is provided in an embodiment of the present application. As shown in FIG. 1 , the embodiment of the present application can be applied to a scenario in which a communication connection between devices is established, for example, a Bluetooth communication connection, a hotspot network connection, etc. The communication connection establishment system may include an audio receiving device and an audio output device. The audio receiving device may be a terminal device for receiving audio connection signals, specifically including but not limited to mobile phones, personal computers, notebook computers, smart furniture, vehicle-mounted devices and other terminal devices with signal reception and output functions, or terminal devices The functional module in the device; the audio output device can be an accessory device for outputting audio connection signals, specifically including but not limited to headphones, chargers, keyboards, mice, etc., or a functional module in the accessory device, of course, the described The audio output device can also be the above-mentioned terminal device, and the audio output device and the audio receiving device are only used to distinguish two devices that need to establish a communication connection, wherein the device for outputting the audio connection signal is an audio output device, which is used for A device that receives an audio connection signal is an audio sink. In the following embodiments, the audio output device may be referred to as a first device or a computer device, and the audio receiving device may be referred to as a second device or computer device.
在本申请实施例中,音频输出设备在检测到连接信号时可以输出携带有设备标识的音频连接信号,音频接收设备在检测到连接信号时可以对音频连接信号进行接收,并获取音频连接信号中的设备标识,进而音频接收设备可以基于设备标识与音频输出设备建立通信连接。设备在分别检测到连接信号之后,可以通过音频信号的方式对设备标识进行传输,基于音频信号的传输方式自动建立设备间的通信连接,提升了设备间通信连接建立的效率,保证了配件设备的使用效果。In the embodiment of the present application, the audio output device may output an audio connection signal carrying a device identification when detecting the connection signal, and the audio receiving device may receive the audio connection signal when detecting the connection signal, and obtain the audio connection signal. The device identification of the device, and then the audio receiving device can establish a communication connection with the audio output device based on the device identification. After the device detects the connection signal, it can transmit the device identification through the audio signal, and automatically establish the communication connection between the devices based on the transmission mode of the audio signal, which improves the efficiency of establishing the communication connection between the devices and guarantees the accessory equipment. Effect.
基于图1所示的系统架构,下面将结合图2-图10,对本申请实施例提供的通信连接建立方法进行详细介绍。Based on the system architecture shown in FIG. 1 , the method for establishing a communication connection provided by the embodiments of the present application will be described in detail below with reference to FIGS. 2 to 10 .
请参见图2,为本申请实施例提供了一种通信连接建立方法的流程示意图。如图2所示,本申请实施例从第一设备侧和第二设备侧共同阐述通信连接建立方法的具体流程,所述方法可以包括以下步骤S101-步骤S104。Please refer to FIG. 2 , which is a schematic flowchart of a method for establishing a communication connection according to an embodiment of the present application. As shown in FIG. 2 , the embodiment of the present application jointly describes the specific process of the communication connection establishment method from the first device side and the second device side, and the method may include the following steps S101 to S104 .
S101,当第一设备检测到第一连接信号时,所述第一设备输出音频连接信号;S101, when a first device detects a first connection signal, the first device outputs an audio connection signal;
具体的,所述第一连接信号用于指示第一设备进入通信连接状态,第一连接信号可以为第一设备在检测到第一震动信号时所触发的,该第一震动信号可以是第一设备与第二设备相互敲击所产生的,也可以是用户敲击第一设备时所产生的,用户敲击的方式具体可以包括但不限于用户手指对第一设备的壳体进行敲击、采用第一设备的壳体与其它固体物件相互敲击等,所述第一设备在检测到第一连接信号时,可以输出音频连接信号,所述音频连接信号优选为超声波音频信号,所述音频连接信号中携带有所述第一设备的设备标识,所述设备标识可以为所述第一设备的设备编号、设备名称等用于进行通信连接的标识。可选的,所述第一设备可以基于第一设备的扬声器组件,以广播的方式对音频连接信号进行输出。Specifically, the first connection signal is used to instruct the first device to enter the communication connection state. The first connection signal may be triggered by the first device when it detects the first vibration signal, and the first vibration signal may be the first vibration signal. It is generated by the mutual tapping between the device and the second device, or it can be generated when the user taps the first device. The user tapping method may include, but is not limited to, the user's finger tapping on the casing of the first device, The casing of the first device and other solid objects are used to knock each other. When the first device detects the first connection signal, it can output an audio connection signal. The audio connection signal is preferably an ultrasonic audio signal. The connection signal carries a device identifier of the first device, and the device identifier may be an identifier used for communication connection, such as a device number and a device name of the first device. Optionally, the first device may output the audio connection signal in a broadcast manner based on the speaker assembly of the first device.
S102,当第二设备检测到第二连接信号时,所述第二设备接收所述音频连接信号;S102, when the second device detects the second connection signal, the second device receives the audio connection signal;
具体的,所述第二连接信号用于指示第二设备进入通信连接状态,第二连接信号可以为第二设备在检测到第二震动信号时所触发的,该第二震动信号可以是第二设备与第一设备相互敲击所产生的,也可以是用户敲击第二设备时所产生的,用户敲击的方式具体可以包括但不限于用户手指对第二设备的壳体进行敲击、采用第二设备的壳体与其它固体物件相互敲击等,所述第二设备在检测到第二连接信号时,可以接收所述音频连接信号,可选的,所述第二设备可以基于第二设备的麦克风组件接收所述音频连接信号。Specifically, the second connection signal is used to instruct the second device to enter a communication connection state, the second connection signal may be triggered by the second device when it detects a second vibration signal, and the second vibration signal may be a second vibration signal. It is generated by the mutual tapping between the device and the first device, or it can be generated when the user taps the second device. The user tapping method may include, but is not limited to, the user's finger tapping on the casing of the second device, The casing of the second device and other solid objects are used to knock each other, and the second device can receive the audio connection signal when detecting the second connection signal. Optionally, the second device can be based on the second connection signal. The microphone assembly of the second device receives the audio connection signal.
S103,所述第二设备获取所述音频连接信号中的所述设备标识;S103, the second device acquires the device identifier in the audio connection signal;
S104,所述第二设备基于所述设备标识与所述第一设备建立通信连接;S104, the second device establishes a communication connection with the first device based on the device identifier;
具体的,所述第二设备可以检测当前的通信连接功能是否已开启,若是,则所述第二设备可以直接基于所述设备标识与所述第一设备建立通信连接;若否,则所述第二设备可以开启通信连接功能,并基于所述设备标识与所述第一设备建立通信连接。Specifically, the second device may detect whether the current communication connection function is enabled, and if so, the second device may establish a communication connection with the first device directly based on the device identifier; if not, the The second device may enable a communication connection function, and establish a communication connection with the first device based on the device identification.
在本申请实施例中,第一设备在检测到连接信号时可以输出携带有设备标识的音频连接信号,第二设备在检测到连接信号时可以对音频连接信号进行接收,并获取音频连接信号中的设备标识,进而第二设备可以基于设备标识与第一设备建立通信连接。设备在分别检测到连接信号之后,可以通过音频信号的方式对设备标识进行传输,基于音频信号的传输方式自动建立设备间的通信连接,提升了设备间通信连接建立的效率,保证了配件设备的使用效果。In the embodiment of the present application, the first device may output an audio connection signal carrying a device identification when detecting a connection signal, and the second device may receive the audio connection signal when detecting a connection signal, and obtain the audio connection signal in the audio connection signal. The second device can establish a communication connection with the first device based on the device identification. After the device detects the connection signal, it can transmit the device identification through the audio signal, and automatically establish the communication connection between the devices based on the transmission mode of the audio signal, which improves the efficiency of establishing the communication connection between the devices and guarantees the accessory equipment. Effect.
请参见图3,为本申请实施例提供了一种通信连接建立方法的流程示意图。如图3所示,本申请实施例从第一设备侧和第二设备侧共同阐述通信连接建立方法的具体流程,所述方法可以包括以下步骤 S201-步骤S209。Please refer to FIG. 3 , which is a schematic flowchart of a method for establishing a communication connection according to an embodiment of the present application. As shown in FIG. 3 , the embodiment of the present application jointly describes the specific flow of the communication connection establishment method from the first device side and the second device side, and the method may include the following steps S201-S209.
S201,当第一设备基于第一传感组件检测到第一震动信号时,所述第一设备确定检测到第一连接信号;S201, when a first device detects a first vibration signal based on a first sensing component, the first device determines that a first connection signal is detected;
具体的,当第一设备基于第一传感组件检测到第一震动信号时,所述第一设备确定检测到第一连接信号,该第一震动信号可以是第一设备与第二设备相互敲击所产生的,也可以是用户敲击第一设备时所产生的,用户敲击的方式具体可以包括但不限于用户手指对第一设备的壳体进行敲击、采用第一设备的壳体与其它固体物件相互敲击等。Specifically, when the first device detects a first vibration signal based on the first sensing component, the first device determines to detect a first connection signal, and the first vibration signal may be a mutual knock between the first device and the second device It can also be generated when the user taps the first device. The user's tapping method may include, but is not limited to, the user's finger tapping the shell of the first device, using the shell of the first device. Knock each other with other solid objects, etc.
需要说明的是,第一设备在基于第一传感组件检测到第一震动信号时,所述第一设备可以进一步获取所述第一震动信号的检测状态信息,所述检测状态信息用于指示所述第一震动信号的相关震动信息,例如:震动幅度、震动次数等,当所述检测状态信息满足第一检测阈值时,所述第一设备可以确定检测到第一连接信号。It should be noted that when the first device detects the first vibration signal based on the first sensing component, the first device may further acquire detection status information of the first vibration signal, where the detection status information is used to indicate The relevant vibration information of the first vibration signal, such as vibration amplitude, vibration frequency, etc., when the detection state information satisfies the first detection threshold, the first device may determine that the first connection signal is detected.
可选的,对于第一震动信号的检测可以对应于第一振幅阈值,第一振幅阈值可以依据实际使用情况进行设定,所述第一传感组件在检测到第一设备存在震动时,可以进一步判断震动幅度是否大于第一振幅阈值,若是,则表示检测到的第一震动信号有效,进一步可以确定检测到第一连接信号,通过第一振幅阈值对震动幅度进行判断,可以避免外界或设备本身所产生的细微震动,导致对第一设备的通信连接的误操作。Optionally, the detection of the first vibration signal may correspond to a first amplitude threshold, and the first amplitude threshold may be set according to the actual use situation. When the first sensing component detects that there is vibration in the first device, the It is further judged whether the vibration amplitude is greater than the first amplitude threshold, and if so, it means that the detected first vibration signal is valid, and it can be further determined that the first connection signal is detected, and the vibration amplitude is judged by the first amplitude threshold, which can avoid the external environment or equipment. The slight vibration generated by itself leads to a misoperation of the communication connection of the first device.
当然,对于第一震动信号的检测还可以对应于第一次数阈值,第一次数阈值可以依据实际使用情况进行设定,所述第一传感组件在检测到第一设备存在震动时,可以进一步判断震动次数是否大于或等于第一次数阈值,若是,则表示检测到的第一震动信号有效,进一步可以确定检测到第一连接信号,通过特定震动次数的设置,可以避免外界或设备本身所产生的震动,导致对第一设备的通信连接的误操作。Of course, the detection of the first vibration signal may also correspond to a first threshold of times, and the first threshold of times may be set according to the actual usage. When the first sensing component detects that the first device vibrates, It can be further determined whether the number of vibrations is greater than or equal to the threshold of the first number of times. If so, it means that the detected first vibration signal is valid, and it can be further determined that the first connection signal is detected. The vibration generated by itself leads to a misoperation of the communication connection of the first device.
在本申请实施例中,第一设备可以仅采用第一振幅阈值或第一次数阈值的检测方式,也可以同时采用第一振幅阈值和第一次数阈值进行检测,具体可以依据实际需求进行设置。In this embodiment of the present application, the first device may only use the detection method of the first amplitude threshold or the first number of times threshold, or may use the first amplitude threshold and the first number of times threshold for detection at the same time, which may be specifically performed according to actual needs. set up.
S202,当第二设备基于第二传感组件检测到第二震动信号时,所述第二设备确定检测到第二连接信号;S202, when the second device detects the second vibration signal based on the second sensing component, the second device determines that the second connection signal is detected;
具体的,当第二设备基于第二传感组件检测到第二震动信号时,所述第二设备确定检测到第二连接信号,该第二震动信号可以是第二设备与第一设备相互敲击所产生的,也可以是用户敲击第二设备时所产生的,用户敲击的方式具体可以包括但不限于用户手指对第二设备的壳体进行敲击、采用第二设备的壳体与其它固体物件相互敲击等。可以理解的是,所述第二传感组件可以对所述第二设备中不同设备部位的震动进行感应,由于第一设备和第二设备是通过音频连接信号来获取设备标识,因此为了使得第二震动信号更具有针对性,所述第二设备可以控制第二传感组件检测第二设备的音频接收部位,所述音频接收部位中封装有所述第二设备的麦克风组件,可选的,为了降低第二设备的功耗,当所述第二设备处于亮屏状态时,所述亮屏状态表示所述第二设备的显示屏中存在显示内容,例如:待机页面、应用页面等,所述第二设备可以控制第二传感组件进入震动信号检测状态,即控制第二传感组件对第二设备的音频接收部位进行震动感应,当所述第二设备基于所述第二传感组件检测到音频接收部位存在第二震动信号时,所述第二设备可以确定检测到第二连接信号。Specifically, when the second device detects a second vibration signal based on the second sensing component, the second device determines to detect a second connection signal, and the second vibration signal may be a mutual knock between the second device and the first device It can also be generated when the user taps the second device. The way the user taps can include, but is not limited to, the user's finger tapping the shell of the second device, using the shell of the second device. Knock each other with other solid objects, etc. It can be understood that the second sensing component can sense the vibration of different device parts in the second device. Since the first device and the second device obtain the device identification through the audio connection signal, in order to make the first device and the second device The second vibration signal is more targeted. The second device can control the second sensing component to detect the audio receiving part of the second device, and the audio receiving part is encapsulated with the microphone component of the second device. Optionally, In order to reduce the power consumption of the second device, when the second device is in a bright screen state, the bright screen state indicates that there is display content on the display screen of the second device, such as a standby page, an application page, etc. The second device can control the second sensing component to enter the vibration signal detection state, that is, control the second sensing component to perform vibration sensing on the audio receiving part of the second device, when the second device is based on the second sensing component When detecting the presence of the second vibration signal at the audio receiving part, the second device may determine that the second connection signal is detected.
需要说明的是,第二设备在基于第二传感组件检测到第二震动信号时,所述第二设备可以进一步获取所述第二震动信号的检测状态信息,所述检测状态信息用于指示所述第二震动信号的相关震动信息,例如:震动幅度、震动次数等,当所述检测状态信息满足第二检测阈值时,所述第二设备可以确定检测到第二连接信号。It should be noted that when the second device detects the second vibration signal based on the second sensing component, the second device may further acquire detection status information of the second vibration signal, where the detection status information is used to indicate The relevant vibration information of the second vibration signal, such as vibration amplitude, vibration frequency, etc., when the detection state information satisfies the second detection threshold, the second device may determine that the second connection signal is detected.
可选的,对于第二震动信号的检测可以对应于第二振幅阈值,第二振幅阈值可以依据实际使用情况进行设定,所述第二传感组件在检测到第二设备存在震动时,可以进一步判断震动幅度是否大于第二振幅阈值,若是,则表示检测到的第二震动信号有效,进一步可以确定检测到第二连接信号,通过第二振幅阈值对震动幅度进行判断,可以避免外界或设备本身所产生的细微震动,导致对第二设备的通信连接的误操作。Optionally, the detection of the second vibration signal may correspond to a second amplitude threshold, and the second amplitude threshold may be set according to the actual usage. It is further judged whether the vibration amplitude is greater than the second amplitude threshold, and if so, it means that the detected second vibration signal is valid, and it can be further determined that the second connection signal is detected. The slight vibration generated by itself causes misoperation of the communication connection of the second device.
当然,对于第二震动信号的检测还可以对应于第二次数阈值,第二次数阈值可以依据实际使用情况进行设定,所述第二传感组件在检测到第二设备存在震动时,可以进一步判断震动次数是否大于或等于第二次数阈值,若是,则表示检测到的第二震动信号有效,进一步可以确定检测到第二连接信号,通过特定震动次数的设置,可以避免外界或设备本身所产生的震动,导致对第二设备的通信连接的误操作。Of course, the detection of the second vibration signal may also correspond to a second threshold of times, and the second threshold of times may be set according to the actual usage. Determine whether the number of vibrations is greater than or equal to the second threshold. If so, it means that the detected second vibration signal is valid, and it can be further determined that the second connection signal is detected. By setting a specific number of vibrations, it is possible to avoid the external or device itself. vibration, resulting in a misoperation of the communication connection of the second device.
在本申请实施例中,第二设备可以仅采用第二振幅阈值或第二次数阈值的检测方式,也可以同时采用第二振幅阈值和第二次数阈值进行检测,具体可以依据实际需求进行设置。可以理解的是,第一振幅阈值和第二振幅阈值,以及第一次数阈值和第二次数阈值可以是约定的相同阈值,也可以是针对不同类型的设备设置的不同阈值。In this embodiment of the present application, the second device may only use the second amplitude threshold or the second number threshold for detection, or may use both the second amplitude threshold and the second number threshold for detection, which may be set according to actual needs. It can be understood that the first and second amplitude thresholds, and the first and second times thresholds may be the same agreed upon thresholds, or may be different thresholds set for different types of devices.
在本申请实施例中,在第一设备和第二设备相互敲击时,所述第一设备检测到第一震动信号和所述第二设备检测到第二震动信号是可以同时执行的;在用户对第一设备和第二设备分别进行敲击时,所述第一设备检测到第一震动信号和所述第二设备检测到第二震动信号是依据敲击顺序来执行的,若用于对第一设备和第二设备同时分别进行敲击时,所述第一设备检测到第一震动信号和所述第二设备检测到第二震动信号是也可以是同时执行的,具体还可以设定一敲击时间间隔,来避免因误敲击,使得第一设备长时间处于输出音频连接信号的状态或第二设备长时间处于接收音频连接信号的状态,导致增加了第一设备和第二设备的功耗。在该敲击时间间隔中,用户需要完成对第一设备的敲击以及对第二设备的敲击,才可以实现音频连接信号的输出以及音频连接信号的接收的过程。若第一设备先检测到第一震动信号,第一设备可以在检测到第一震动信号后的敲击时间间隔中持续输出音频连接信号,在该敲击时间间隔中若第二设备未检测到第二震动信号,则不会对音频连接信号进行接收;同理,若第二设备先检测到第二震动信号时,第二设备可以在检测到第二震动信号后的敲击时间间隔中等待接收音频连接信号,在该敲击时间间隔中若第一设备未检测到第一震动信号,则不会对音频连接信号进行输出。In this embodiment of the present application, when the first device and the second device tap each other, the first device detects the first vibration signal and the second device detects the second vibration signal, which can be executed simultaneously; When the user taps the first device and the second device respectively, the first device detects the first vibration signal and the second device detects the second vibration signal according to the tapping sequence. When the first device and the second device are tapped at the same time, the detection of the first vibration signal by the first device and the detection of the second vibration signal by the second device can also be performed simultaneously. Set a tapping time interval to avoid accidental tapping, so that the first device is in the state of outputting the audio connection signal for a long time or the second device is in the state of receiving the audio connection signal for a long time, resulting in the increase of the first device and the second device. The power consumption of the device. During the tapping time interval, the user needs to complete the tapping on the first device and the tapping on the second device, so that the process of outputting the audio connection signal and receiving the audio connection signal can be realized. If the first device detects the first vibration signal first, the first device can continue to output the audio connection signal during the tapping time interval after detecting the first vibration signal. If the second device does not detect the first vibration signal during the tapping time interval The second vibration signal will not receive the audio connection signal; similarly, if the second device detects the second vibration signal first, the second device can wait in the tapping time interval after detecting the second vibration signal The audio connection signal is received, and if the first device does not detect the first vibration signal during the tapping time interval, the audio connection signal will not be output.
S203,当第一设备检测到第一连接信号时,所述第一设备对所述第一设备的设备标识进行编码,得到设备地址信息;S203, when the first device detects the first connection signal, the first device encodes the device identifier of the first device to obtain device address information;
具体的,当所述第一设备检测到第一连接信号时,所述第一设备可以对所述第一设备的设备标识进行编码,得到符合通信连接标准协议的设备地址信息,所述设备标识可以为所述第一设备的设备编号、设备名称等用于进行通信连接的标识。Specifically, when the first device detects the first connection signal, the first device may encode the device identification of the first device to obtain device address information that conforms to the communication connection standard protocol, and the device identification It can be an identifier used for communication connection, such as a device number and a device name of the first device.
S204,所述第一设备基于所述设备地址信息生成音频连接信号,输出所述音频连接信号;S204, the first device generates an audio connection signal based on the device address information, and outputs the audio connection signal;
具体的,所述第一设备可以基于所述设备地址信息生成音频连接信号,输出所述音频连接信号,可选的,所述第一设备可以基于第一设备的扬声器组件,以广播的方式对音频连接信号进行输出,在对音频连接信号进行输出时,所述第一设备可以将音量调节至最大音量,以保证音频连接信号的传输距离,所述音频连接信号优选为超声波音频信号。Specifically, the first device may generate an audio connection signal based on the device address information, and output the audio connection signal. The audio connection signal is output. When outputting the audio connection signal, the first device can adjust the volume to the maximum volume to ensure the transmission distance of the audio connection signal. The audio connection signal is preferably an ultrasonic audio signal.
S205,当第二设备检测到第二连接信号时,所述第二设备接收所述音频连接信号;S205, when the second device detects the second connection signal, the second device receives the audio connection signal;
具体的,当所述第二设备检测到第二连接信号时,所述第二设备可以启动所述第二设备的麦克风组件,并基于所述麦克风组件监听所述第一设备输出的音频连接信号,若存在所述第一设备输出的音频连接信号,则所述第二设备可以基于所述麦克风组件接收所述音频连接信号。Specifically, when the second device detects the second connection signal, the second device may activate the microphone assembly of the second device, and monitor the audio connection signal output by the first device based on the microphone assembly , if there is an audio connection signal output by the first device, the second device may receive the audio connection signal based on the microphone component.
可以理解的是,所述第二设备基于所述麦克风组件监听所述第一设备输出的音频连接信号,可以是在第一设备输出音频连接信号之前执行,即只要在第二设备检测到第二连接信号时,所述第二设备就可以启动所述第二设备的麦克风组件,并基于所述麦克风组件监听所述第一设备输出的音频连接信号,进而在第一设备输出音频连接信号后,所述第二设备才可以基于所述麦克风组件接收到所述音频连接信号。It can be understood that the second device monitors the audio connection signal output by the first device based on the microphone component, which may be performed before the first device outputs the audio connection signal, that is, as long as the second device detects the second device. When the signal is connected, the second device can start the microphone assembly of the second device, and monitor the audio connection signal output by the first device based on the microphone assembly, and then after the first device outputs the audio connection signal, The second device may receive the audio connection signal based on the microphone assembly.
请一并参见图4,以第一设备为蓝牙耳机,第二设备为手机终端为例,蓝牙耳机在检测到第一连接信号时,可以将蓝牙耳机的设备标识进行编码,得到设备地址信息,蓝牙耳机可以采用超声波音频信号的方式对所述设备地址信息进行封装,生成音频连接信号,蓝牙耳机进一步可以基于扬声器组件对所述音频连接信号进行输出,如图4所示,蓝牙耳机输出的音频连接信号可以被手机终端的麦克风组件所接收,手机终端在检测到第二连接信号时,可以启动麦克风组件,使得麦克风组件可以监听外部的音频信号,此时若存在所述音频连接信号,则音频连接信号可以被所述麦克风组件接收到。通过采用超声波音 频信号的方式进行音频连接信号的收发,由于超声波与一般声波的信号频率不同,可以避免敲击声音、环境噪声等声波影响,使得音频连接信号更容易被麦克风组件所捕捉,进而提升了设备间通信连接建立的效率。Please refer to FIG. 4 together. Taking the first device as a Bluetooth headset and the second device as a mobile phone terminal as an example, when the Bluetooth headset detects the first connection signal, it can encode the device identifier of the Bluetooth headset to obtain the device address information. The Bluetooth headset can encapsulate the device address information in the form of an ultrasonic audio signal to generate an audio connection signal, and the Bluetooth headset can further output the audio connection signal based on the speaker assembly. As shown in Figure 4, the audio output from the Bluetooth headset The connection signal can be received by the microphone assembly of the mobile phone terminal. When the mobile phone terminal detects the second connection signal, the microphone assembly can be activated, so that the microphone assembly can monitor the external audio signal. A connection signal may be received by the microphone assembly. By using ultrasonic audio signals to send and receive audio connection signals, since the signal frequencies of ultrasonic waves and general sound waves are different, the influence of sound waves such as knocking sound and environmental noise can be avoided, making the audio connection signal easier to be captured by the microphone component, thereby improving the The efficiency of establishing a communication connection between devices is improved.
S206,所述第二设备获取所述音频连接信号中的设备地址信息;S206, the second device obtains the device address information in the audio connection signal;
S207,所述第二设备对所述设备地址信息进行解码,得到所述设备标识;S207, the second device decodes the device address information to obtain the device identifier;
具体的,所述第二设备可以对所述第一设备的设备地址信息进行解码,以得到所述第一设备的设备标识,可以理解的是,所述第二设备的解码方式与所述第一设备的编码方式为相对应的编解码算法。Specifically, the second device may decode the device address information of the first device to obtain the device identifier of the first device. It can be understood that the decoding method of the second device is the same as that of the first device. The encoding mode of a device is the corresponding encoding and decoding algorithm.
S208,所述第二设备基于所述设备标识与所述第一设备建立通信连接;S208, the second device establishes a communication connection with the first device based on the device identifier;
具体的,所述第二设备可以检测当前的通信连接功能是否已开启,若是,则所述第二设备可以直接基于所述设备标识与所述第一设备建立通信连接;若否,则所述第二设备可以开启通信连接功能,并基于所述设备标识与所述第一设备建立通信连接。Specifically, the second device may detect whether the current communication connection function is enabled, and if so, the second device may establish a communication connection with the first device directly based on the device identifier; if not, the The second device may enable a communication connection function, and establish a communication connection with the first device based on the device identification.
请一并参见图5,依据上述举例,手机终端在获取到蓝牙耳机的设备标识时,可以在显示屏中对所述设备标识进行展示,以便用户可以对当前准备建立通信连接的蓝牙耳机进行确认,同时可以进一步展示当前的通信连接状态,例如:发现XXX的耳机,正在进行连接等,以便于用户可以及时了解当前的通信连接情况。Please refer to FIG. 5 together. According to the above example, when the mobile terminal obtains the device identification of the Bluetooth headset, the device identification can be displayed on the display screen, so that the user can confirm the Bluetooth headset that is currently preparing to establish a communication connection. , at the same time, it can further display the current communication connection status, such as: discovering XXX's headset, connecting in progress, etc., so that the user can know the current communication connection status in time.
S209,当所述第二设备与所述第一设备的通信连接建立成功时,所述第二设备输出已建立通信连接的提示信息;S209, when the communication connection between the second device and the first device is successfully established, the second device outputs a prompt message that the communication connection has been established;
具体的,当所述第二设备与所述第一设备的通信连接建立成功时,所述第二设备输出已建立通信连接的提示信息,所述提示信息的输出形式可以为文本形式、语音形式等至少一种。针对文本形式,请一并参见图6,如图6所示,在手机终端与蓝牙耳机通信连接建立成功后,手机终端可以在显示屏中进一步展示连接成功的文本,以提示用户当前已建立与蓝牙耳机的通信连接。针对语音形式,所述第二设备可以基于所述第二设备的扬声器组件输出预先设置的提示音,可以为音乐片段、个性化录制音频或者在多个提示音中所选择的目标提示音等。Specifically, when the communication connection between the second device and the first device is successfully established, the second device outputs prompt information indicating that the communication connection has been established, and the output form of the prompt information may be text or voice. wait for at least one. For the text format, please refer to Figure 6 together. As shown in Figure 6, after the communication connection between the mobile phone terminal and the Bluetooth headset is successfully established, the mobile phone terminal can further display the text of the successful connection on the display screen to remind the user that the current connection with the Bluetooth headset has been established. Communication connection for bluetooth headset. For the voice form, the second device may output a preset prompt tone based on the speaker component of the second device, which may be a music clip, personalized recorded audio, or a target prompt tone selected from multiple prompt sounds.
在本申请实施例中涉及的第一震动信号、第一连接信号、第一传感组件、第一振幅阈值、第一次数阈值均表示为第一设备检测到的以及所采用的,第二震动信号、第二连接信号、第二传感组件、第二振幅阈值、第二次数阈值均表示为第二设备检测到的以及所采用的。The first vibration signal, the first connection signal, the first sensing component, the first amplitude threshold, and the first frequency threshold involved in the embodiments of the present application are all expressed as detected and used by the first device, and the second The vibration signal, the second connection signal, the second sensing component, the second amplitude threshold, and the second frequency threshold are all represented as detected and used by the second device.
在本申请实施例中,第一设备在检测到连接信号时可以输出携带有设备标识的音频连接信号,第二设备在检测到连接信号时可以对音频连接信号进行接收,并获取音频连接信号中的设备标识,进而第二设备可以基于设备标识与第一设备建立通信连接。设备在分别检测到连接信号之后,可以通过音频信号的方式对设备标识进行传输,基于音频信号的传输方式自动建立设备间的通信连接,提升了设备间通信连接建立的效率,保证了配件设备的使用效果;通过对第二设备的音频接收部位进行检测,可以使得震动信号检测更具有针对性和目的性;通过在第二设备亮屏状态下进行震动信号的检测,可以避免误操作而导致对震动信号进行检测,降低了第二设备的功耗;通过振幅阈值和次数阈值的设置以及判断,避免了外界或设备本身所产生的震动,所导致的对第二设备的通信连接的误操作,提升对震动信号检测的准确性;通过采用超声波音频信号的方式进行音频连接信号的收发,由于超声波与一般声波的信号频率不同,可以避免敲击声音、环境噪声等声波影响,使得音频连接信号更容易被麦克风组件所捕捉,进而提升了设备间通信连接建立的效率。In the embodiment of the present application, the first device may output an audio connection signal carrying a device identification when detecting a connection signal, and the second device may receive the audio connection signal when detecting a connection signal, and obtain the audio connection signal in the audio connection signal. The second device can establish a communication connection with the first device based on the device identification. After the device detects the connection signal, it can transmit the device identification through the audio signal, and automatically establish the communication connection between the devices based on the transmission mode of the audio signal, which improves the efficiency of establishing the communication connection between the devices and ensures that the accessory device Use effect; by detecting the audio receiving part of the second device, the vibration signal detection can be more targeted and purposeful; by detecting the vibration signal in the bright screen state of the second device, it can avoid misoperation and lead to misuse. The vibration signal is detected, which reduces the power consumption of the second device; through the setting and judgment of the amplitude threshold and the frequency threshold, the vibration generated by the outside world or the device itself can be avoided, resulting in the misoperation of the communication connection of the second device. Improve the accuracy of vibration signal detection; by using ultrasonic audio signals to send and receive audio connection signals, because the signal frequencies of ultrasonic waves and general sound waves are different, the impact of sound waves such as knocking sound and environmental noise can be avoided, making the audio connection signal more efficient. It is easy to be captured by the microphone component, thereby improving the efficiency of establishing a communication connection between devices.
请参见图7,为本申请实施例提供了一种通信连接建立方法的流程示意图。如图7所示,本申请实施例从音频输出设备侧阐述通信连接建立方法的具体流程,所述方法可以包括以下步骤S301-步骤S302。Please refer to FIG. 7 , which is a schematic flowchart of a method for establishing a communication connection according to an embodiment of the present application. As shown in FIG. 7 , the embodiment of the present application describes the specific flow of the communication connection establishment method from the side of the audio output device, and the method may include the following steps S301-S302.
S301,当检测到连接建立信号时,输出音频连接信号;S301, when a connection establishment signal is detected, output an audio connection signal;
具体的,所述连接建立信号用于指示音频输出设备进入通信连接状态,连接建立信号可以为音频输出设备在检测到震动信号时所触发的,该震动信号可以是音频输出设备与音频接收设备相互敲击所产生的,也可以是用户敲击音频输出设备时所产生的,用户敲击的方式具体可以包括但不限于用户手指对音 频输出设备的壳体进行敲击、采用音频输出设备的壳体与其它固体物件相互敲击等,所述音频输出设备在检测到连接建立信号时,可以输出音频连接信号,所述音频连接信号优选为超声波音频信号,所述音频连接信号中携带有所述音频输出设备的设备标识,所述设备标识可以为所述音频输出设备的设备编号、设备名称等用于进行通信连接的标识。可选的,所述音频输出设备可以基于音频输出设备的扬声器组件,以广播的方式对音频连接信号进行输出。Specifically, the connection establishment signal is used to instruct the audio output device to enter the communication connection state. The connection establishment signal may be triggered by the audio output device when it detects a vibration signal, and the vibration signal may be the interaction between the audio output device and the audio receiving device. It can also be generated when the user taps the audio output device. The way the user taps can include, but is not limited to, the user's finger tapping the shell of the audio output device, using the shell of the audio output device. When the audio output device detects a connection establishment signal, it can output an audio connection signal. The audio connection signal is preferably an ultrasonic audio signal, and the audio connection signal carries the The device identification of the audio output device, where the device identification may be an identification used for communication connection, such as the device number and device name of the audio output device. Optionally, the audio output device may output the audio connection signal in a broadcast manner based on a speaker component of the audio output device.
S302,获取音频接收设备发起的通信连接请求,基于所述通信连接请求与所述音频接收设备建立通信连接;S302, acquiring a communication connection request initiated by an audio receiving device, and establishing a communication connection with the audio receiving device based on the communication connection request;
具体的,所述音频接收设备可以检测当前的通信连接功能是否已开启,若是,则所述音频接收设备可以直接基于所述设备标识与所述音频输出设备建立通信连接;若否,则所述音频接收设备可以开启通信连接功能,并基于所述设备标识与所述音频输出设备建立通信连接。可选的,所述音频接收设备可以基于所述设备标识向所述音频输出设备发起通信连接请求,所述音频输出设备接收到所述通信连接请求,可以基于通信连接协议与所述音频接收设备建立通信连接。Specifically, the audio receiving device can detect whether the current communication connection function is enabled, and if so, the audio receiving device can directly establish a communication connection with the audio output device based on the device identification; The audio receiving device may enable a communication connection function, and establish a communication connection with the audio output device based on the device identification. Optionally, the audio receiving device may initiate a communication connection request to the audio output device based on the device identifier, and the audio output device may receive the communication connection request based on a communication connection protocol with the audio receiving device. Establish a communication connection.
在本申请实施例中,音频输出设备在检测到连接信号时可以输出携带有设备标识的音频连接信号,音频接收设备在检测到连接信号时可以对音频连接信号进行接收,并获取音频连接信号中的设备标识,进而音频接收设备可以基于设备标识与音频输出设备建立通信连接。设备在分别检测到连接信号之后,可以通过音频信号的方式对设备标识进行传输,基于音频信号的传输方式自动建立设备间的通信连接,提升了设备间通信连接建立的效率,保证了配件设备的使用效果。In the embodiment of the present application, the audio output device may output an audio connection signal carrying a device identification when detecting the connection signal, and the audio receiving device may receive the audio connection signal when detecting the connection signal, and obtain the audio connection signal. The device identifier of the device, and then the audio receiving device can establish a communication connection with the audio output device based on the device identifier. After the device detects the connection signal, it can transmit the device identification through the audio signal, and automatically establish the communication connection between the devices based on the transmission mode of the audio signal, which improves the efficiency of establishing the communication connection between the devices and ensures that the accessory device Effect.
请参见图8,为本申请实施例提供了一种通信连接建立方法的流程示意图。如图8所示,本申请实施例从检测设备侧阐述通信连接建立方法的具体流程,所述方法可以包括以下步骤S401-步骤S404。Referring to FIG. 8 , a schematic flowchart of a method for establishing a communication connection is provided in an embodiment of the present application. As shown in FIG. 8 , the embodiment of the present application describes the specific flow of the communication connection establishment method from the detection device side, and the method may include the following steps S401 to S404.
S401,当基于传感组件检测到震动信号时,确定检测到连接建立信号;S401, when a vibration signal is detected based on the sensing component, it is determined that a connection establishment signal is detected;
具体的,当音频输出设备基于传感组件检测到震动信号时,所述音频输出设备确定检测到连接建立信号,该震动信号可以是音频输出设备与音频接收设备相互敲击所产生的,也可以是用户敲击音频输出设备时所产生的,用户敲击的方式具体可以包括但不限于用户手指对音频输出设备的壳体进行敲击、采用音频输出设备的壳体与其它固体物件相互敲击等。Specifically, when the audio output device detects a vibration signal based on the sensing component, the audio output device determines to detect a connection establishment signal, and the vibration signal may be generated by the audio output device and the audio receiving device knocking each other, or It is generated when the user taps the audio output device. The way the user taps may include, but is not limited to, the user's finger tapping the shell of the audio output device, using the shell of the audio output device and other solid objects to tap each other. Wait.
需要说明的是,音频输出设备在基于传感组件检测到震动信号时,所述音频输出设备可以进一步获取所述震动信号的检测状态信息,所述检测状态信息用于指示所述震动信号的相关震动信息,例如:震动幅度、震动次数等,当所述检测状态信息满足检测阈值时,所述音频输出设备可以确定检测到连接建立信号。It should be noted that when the audio output device detects a vibration signal based on the sensing component, the audio output device may further acquire detection status information of the vibration signal, where the detection status information is used to indicate the correlation of the vibration signal. Vibration information, such as vibration amplitude, number of vibrations, etc., when the detection state information meets the detection threshold, the audio output device may determine that a connection establishment signal is detected.
可选的,对于震动信号的检测可以对应于振幅阈值,振幅阈值可以依据实际使用情况进行设定,所述传感组件在检测到音频输出设备存在震动时,可以进一步判断震动幅度是否大于振幅阈值,若是,则表示检测到的震动信号有效,进一步可以确定检测到连接建立信号,通过振幅阈值对震动幅度进行判断,可以避免外界或设备本身所产生的细微震动,导致对音频输出设备的通信连接的误操作。Optionally, the detection of the vibration signal may correspond to an amplitude threshold, and the amplitude threshold may be set according to the actual usage. When the sensing component detects that there is vibration in the audio output device, it may further determine whether the vibration amplitude is greater than the amplitude threshold. , if it is, it means that the detected vibration signal is valid, and it can be further determined that the connection establishment signal is detected, and the vibration amplitude can be judged by the amplitude threshold, which can avoid the subtle vibration generated by the outside world or the device itself, resulting in the communication connection to the audio output device. misoperation.
当然,对于震动信号的检测还可以对应于次数阈值,次数阈值可以依据实际使用情况进行设定,所述传感组件在检测到音频输出设备存在震动时,可以进一步判断震动次数是否大于或等于次数阈值,若是,则表示检测到的震动信号有效,进一步可以确定检测到连接建立信号,通过特定震动次数的设置,可以避免外界或设备本身所产生的震动,导致对音频输出设备的通信连接的误操作。Of course, the detection of the vibration signal can also correspond to the number of times threshold, and the number of times threshold can be set according to the actual usage. When the sensing component detects that there is vibration in the audio output device, it can further determine whether the number of vibrations is greater than or equal to the number of times. Threshold, if it is, it means that the detected vibration signal is valid, and it can be further determined that the connection establishment signal is detected. Through the setting of a specific number of vibrations, the vibration generated by the outside world or the device itself can be avoided, resulting in an error in the communication connection of the audio output device. operate.
在本申请实施例中,音频输出设备可以仅采用振幅阈值或次数阈值的检测方式,也可以同时采用振幅阈值和次数阈值进行检测,具体可以依据实际需求进行设置。In this embodiment of the present application, the audio output device may only use the detection method of the amplitude threshold or the frequency threshold, or may use both the amplitude threshold and the frequency threshold for detection, which may be specifically set according to actual needs.
S402,当检测到连接建立信号时,对设备标识进行编码,得到设备地址信息;S402, when the connection establishment signal is detected, encode the device identifier to obtain device address information;
具体的,当所述音频输出设备检测到连接建立信号时,所述音频输出设备可以对所述音频输出设备的设备标识进行编码,得到符合通信连接标准协议的设备地址信息,所述设备标识可以为所述音频输出设备的设备编号、设备名称等用于进行通信连接的标识。Specifically, when the audio output device detects a connection establishment signal, the audio output device can encode the device identifier of the audio output device to obtain device address information that conforms to the communication connection standard protocol, and the device identifier can be It is an identifier used for communication connection, such as the device number and device name of the audio output device.
S403,基于所述设备地址信息生成音频连接信号,输出所述音频连接信号;S403, generating an audio connection signal based on the device address information, and outputting the audio connection signal;
具体的,所述音频输出设备可以基于所述设备地址信息生成音频连接信号,输出所述音频连接信号,可选的,所述音频输出设备可以基于音频输出设备的扬声器组件,以广播的方式对音频连接信号进行输出,在对音频连接信号进行输出时,所述音频输出设备可以将音量调节至最大音量,以保证音频连接信号的传输距离,所述音频连接信号优选为超声波音频信号。Specifically, the audio output device may generate an audio connection signal based on the device address information, and output the audio connection signal. The audio connection signal is output. When outputting the audio connection signal, the audio output device can adjust the volume to the maximum volume to ensure the transmission distance of the audio connection signal. The audio connection signal is preferably an ultrasonic audio signal.
S404,获取音频接收设备发起的通信连接请求,基于所述通信连接请求与所述音频接收设备建立通信连接;S404, acquiring a communication connection request initiated by the audio receiving device, and establishing a communication connection with the audio receiving device based on the communication connection request;
具体的,所述音频接收设备可以检测当前的通信连接功能是否已开启,若是,则所述音频接收设备可以直接基于所述设备标识与所述音频输出设备建立通信连接;若否,则所述音频接收设备可以开启通信连接功能,并基于所述设备标识与所述音频输出设备建立通信连接。可选的,所述音频接收设备可以基于所述设备标识向所述音频输出设备发起通信连接请求,所述音频输出设备接收到所述通信连接请求,可以基于通信连接协议与所述音频接收设备建立通信连接。Specifically, the audio receiving device can detect whether the current communication connection function is enabled, and if so, the audio receiving device can directly establish a communication connection with the audio output device based on the device identification; The audio receiving device may enable a communication connection function, and establish a communication connection with the audio output device based on the device identification. Optionally, the audio receiving device may initiate a communication connection request to the audio output device based on the device identifier, and the audio output device may receive the communication connection request based on a communication connection protocol with the audio receiving device. Establish a communication connection.
在本申请实施例中,音频输出设备在检测到连接信号时可以输出携带有设备标识的音频连接信号,音频接收设备在检测到连接信号时可以对音频连接信号进行接收,并获取音频连接信号中的设备标识,进而音频接收设备可以基于设备标识与音频输出设备建立通信连接。设备在分别检测到连接信号之后,可以通过音频信号的方式对设备标识进行传输,基于音频信号的传输方式自动建立设备间的通信连接,提升了设备间通信连接建立的效率,保证了配件设备的使用效果;通过对音频接收设备的音频接收部位进行检测,可以使得震动信号检测更具有针对性和目的性;通过在音频接收设备亮屏状态下进行震动信号的检测,可以避免误操作而导致对震动信号进行检测,降低了音频接收设备的功耗;通过振幅阈值和次数阈值的设置以及判断,避免了外界或设备本身所产生的震动,所导致的对音频接收设备的通信连接的误操作,提升对震动信号检测的准确性;通过采用超声波音频信号的方式进行音频连接信号的收发,由于超声波与一般声波的信号频率不同,可以避免敲击声音、环境噪声等声波影响,使得音频连接信号更容易被麦克风组件所捕捉,进而提升了设备间通信连接建立的效率。In the embodiment of the present application, the audio output device may output an audio connection signal carrying a device identification when detecting the connection signal, and the audio receiving device may receive the audio connection signal when detecting the connection signal, and obtain the audio connection signal. The device identification of the device, and then the audio receiving device can establish a communication connection with the audio output device based on the device identification. After the device detects the connection signal, it can transmit the device identification through the audio signal, and automatically establish the communication connection between the devices based on the transmission mode of the audio signal, which improves the efficiency of establishing the communication connection between the devices and ensures that the accessory device Use effect; by detecting the audio receiving part of the audio receiving device, the vibration signal detection can be more targeted and purposeful; by detecting the vibration signal in the bright screen state of the audio receiving device, it can avoid misoperation and lead to wrong operation. The vibration signal is detected, which reduces the power consumption of the audio receiving device; through the setting and judgment of the amplitude threshold and the number of thresholds, the vibration generated by the outside world or the device itself is avoided, resulting in the misoperation of the communication connection of the audio receiving device. Improve the accuracy of vibration signal detection; by using ultrasonic audio signals to send and receive audio connection signals, because the signal frequencies of ultrasonic waves and general sound waves are different, the impact of sound waves such as knocking sound and environmental noise can be avoided, making the audio connection signal more efficient. It is easy to be captured by the microphone component, thereby improving the efficiency of establishing a communication connection between devices.
请参见图9,为本申请实施例提供了一种通信连接建立方法的流程示意图。如图9所示,本申请实施例从音频接收设备侧阐述通信连接建立方法的具体流程,所述方法可以包括以下步骤S501-步骤S503。Referring to FIG. 9 , a schematic flowchart of a method for establishing a communication connection is provided in an embodiment of the present application. As shown in FIG. 9 , the embodiment of the present application describes the specific flow of the communication connection establishment method from the side of the audio receiving device, and the method may include the following steps S501-S503.
S501,当检测到连接建立信号时,接收音频输出设备输出的音频连接信号;S501, when a connection establishment signal is detected, receive an audio connection signal output by an audio output device;
具体的,音频输出设备可以基于音频输出设备的扬声器组件,以广播的方式对音频连接信号进行输出,所述音频连接信号中携带有所述音频输出设备的设备标识,所述连接建立信号用于指示音频接收设备进入通信连接状态,连接建立信号可以为音频接收设备在检测到震动信号时所触发的,该震动信号可以是音频接收设备与音频输出设备相互敲击所产生的,也可以是用户敲击音频接收设备时所产生的,用户敲击的方式具体可以包括但不限于用户手指对音频接收设备的壳体进行敲击、采用音频接收设备的壳体与其它固体物件相互敲击等,所述音频接收设备在检测到连接建立信号时,可以接收所述音频连接信号,可选的,所述音频接收设备可以基于音频接收设备的麦克风组件接收所述音频连接信号。Specifically, the audio output device may output an audio connection signal in a broadcast manner based on the speaker assembly of the audio output device, where the audio connection signal carries the device identification of the audio output device, and the connection establishment signal is used for Instructs the audio receiving device to enter the communication connection state. The connection establishment signal can be triggered by the audio receiving device when it detects a vibration signal. The vibration signal can be generated by the audio receiving device and the audio output device hitting each other, or the user Generated when the audio receiving device is tapped, the user's tapping method may specifically include, but is not limited to, the user's finger tapping the housing of the audio receiving device, using the housing of the audio receiving device and other solid objects to tap each other, etc., The audio receiving device may receive the audio connection signal when detecting the connection establishment signal. Optionally, the audio receiving device may receive the audio connection signal based on a microphone component of the audio receiving device.
S502,获取所述音频连接信号中携带的所述音频输出设备的设备标识;S502, acquiring the device identifier of the audio output device carried in the audio connection signal;
S503,基于所述设备标识与所述音频输出设备建立通信连接;S503, establishing a communication connection with the audio output device based on the device identifier;
具体的,所述音频接收设备可以检测当前的通信连接功能是否已开启,若是,则所述音频接收设备可以直接基于所述设备标识与所述音频输出设备建立通信连接;若否,则所述音频接收设备可以开启通信连接功能,并基于所述设备标识与所述音频输出设备建立通信连接。Specifically, the audio receiving device can detect whether the current communication connection function is enabled, and if so, the audio receiving device can directly establish a communication connection with the audio output device based on the device identification; The audio receiving device may enable a communication connection function, and establish a communication connection with the audio output device based on the device identification.
在本申请实施例中,音频输出设备在检测到连接信号时可以输出携带有设备标识的音频连接信号,音频接收设备在检测到连接信号时可以对音频连接信号进行接收,并获取音频连接信号中的设备标识,进而音频接收设备可以基于设备标识与音频输出设备建立通信连接。设备在分别检测到连接信号之后,可以通过音频信号的方式对设备标识进行传输,基于音频信号的传输方式自动建立设备间的通信连接,提升了设备间通信连接建立的效率,保证了配件设备的使用效果。In the embodiment of the present application, the audio output device may output an audio connection signal carrying a device identification when detecting the connection signal, and the audio receiving device may receive the audio connection signal when detecting the connection signal, and obtain the audio connection signal. The device identifier of the device, and then the audio receiving device can establish a communication connection with the audio output device based on the device identifier. After the device detects the connection signal, it can transmit the device identification through the audio signal, and automatically establish the communication connection between the devices based on the transmission mode of the audio signal, which improves the efficiency of establishing the communication connection between the devices and ensures that the accessory device Effect.
请参见图10,为本申请实施例提供了一种通信连接建立方法的流程示意图。如图10所示,本申请实施例从音频接收设备侧阐述通信连接建立方法的具体流程,所述方法可以包括以下步骤S601-步骤S606。Referring to FIG. 10 , a schematic flowchart of a method for establishing a communication connection is provided in an embodiment of the present application. As shown in FIG. 10 , this embodiment of the present application describes a specific flow of a method for establishing a communication connection from the side of an audio receiving device, and the method may include the following steps S601 to S606.
S601,当基于传感组件检测到震动信号时,确定检测到连接建立信号;S601, when a vibration signal is detected based on the sensing component, it is determined that a connection establishment signal is detected;
具体的,当音频接收设备基于传感组件检测到震动信号时,所述音频接收设备确定检测到连接建立信号,该震动信号可以是音频接收设备与音频输出设备相互敲击所产生的,也可以是用户敲击音频接收设备时所产生的,用户敲击的方式具体可以包括但不限于用户手指对音频接收设备的壳体进行敲击、采用音频接收设备的壳体与其它固体物件相互敲击等。可以理解的是,所述传感组件可以对所述音频接收设备中不同设备部位的震动进行感应,由于音频输出设备和音频接收设备是通过音频连接信号来获取设备标识,因此为了使得震动信号更具有针对性,所述音频接收设备可以控制传感组件检测音频接收设备的音频接收部位,所述音频接收部位中封装有所述音频接收设备的麦克风组件,可选的,为了降低音频接收设备的功耗,当所述音频接收设备处于亮屏状态时,所述亮屏状态表示所述音频接收设备的显示屏中存在显示内容,例如:待机页面、应用页面等,所述音频接收设备可以控制传感组件进入震动信号检测状态,即控制传感组件对音频接收设备的音频接收部位进行震动感应,当所述音频接收设备基于所述传感组件检测到音频接收部位存在震动信号时,所述音频接收设备可以确定检测到连接建立信号。Specifically, when the audio receiving device detects a vibration signal based on the sensing component, the audio receiving device determines that a connection establishment signal is detected, and the vibration signal may be generated by the audio receiving device and the audio output device hitting each other, or It is generated when the user taps the audio receiving device. The way the user taps may include, but is not limited to, the user's finger tapping the casing of the audio receiving device, using the casing of the audio receiving device and other solid objects to tap each other. Wait. It can be understood that the sensing component can sense the vibration of different device parts in the audio receiving device. Since the audio output device and the audio receiving device obtain the device identification through the audio connection signal, in order to make the vibration signal more accurate. With pertinence, the audio receiving device can control the sensing component to detect the audio receiving part of the audio receiving device, and the audio receiving part is encapsulated with the microphone assembly of the audio receiving device. Power consumption, when the audio receiving device is in the bright screen state, the bright screen state indicates that there is display content on the display screen of the audio receiving device, such as: standby page, application page, etc., the audio receiving device can control The sensing component enters the vibration signal detection state, that is, the sensing component is controlled to perform vibration sensing on the audio receiving part of the audio receiving device. When the audio receiving device detects that there is a vibration signal in the audio receiving part based on the sensing component, the The audio sink device can determine that a connection establishment signal is detected.
需要说明的是,音频接收设备在基于传感组件检测到震动信号时,所述音频接收设备可以进一步获取所述震动信号的检测状态信息,所述检测状态信息用于指示所述震动信号的相关震动信息,例如:震动幅度、震动次数等,当所述检测状态信息满足检测阈值时,所述音频接收设备可以确定检测到连接建立信号。It should be noted that when the audio receiving device detects a vibration signal based on the sensing component, the audio receiving device may further acquire detection status information of the vibration signal, where the detection status information is used to indicate the correlation of the vibration signal. Vibration information, such as vibration amplitude, number of vibrations, etc., when the detection state information meets the detection threshold, the audio receiving device may determine that a connection establishment signal is detected.
可选的,对于震动信号的检测可以对应于振幅阈值,振幅阈值可以依据实际使用情况进行设定,所述传感组件在检测到音频接收设备存在震动时,可以进一步判断震动幅度是否大于振幅阈值,若是,则表示检测到震动信号,通过振幅阈值对震动幅度进行判断,可以避免外界或设备本身所产生的细微震动,导致对音频接收设备的通信连接的误操作。Optionally, the detection of the vibration signal may correspond to an amplitude threshold, and the amplitude threshold may be set according to the actual use situation. When the sensing component detects that there is vibration in the audio receiving device, it may further determine whether the vibration amplitude is greater than the amplitude threshold. , if it is, it means that a vibration signal is detected, and the vibration amplitude is judged by the amplitude threshold, which can avoid the subtle vibration generated by the outside world or the device itself, resulting in the misoperation of the communication connection of the audio receiving device.
当然,对于震动信号的检测还可以对应于次数阈值,次数阈值可以依据实际使用情况进行设定,所述传感组件在检测到音频接收设备存在震动时,可以进一步判断震动次数是否大于或等于次数阈值,若是,则表示检测到震动信号,通过特定震动次数的设置,可以避免外界或设备本身所产生的震动,导致对音频接收设备的通信连接的误操作。Of course, the detection of the vibration signal can also correspond to the number of times threshold, and the number of times threshold can be set according to the actual usage. When the sensing component detects that there is vibration in the audio receiving device, it can further determine whether the number of vibrations is greater than or equal to the number of times. Threshold, if it is, it means that a vibration signal is detected. By setting a specific number of vibrations, the vibration generated by the outside world or the device itself can be avoided, resulting in the misoperation of the communication connection of the audio receiving device.
在本申请实施例中,音频接收设备可以仅采用振幅阈值或次数阈值的检测方式,也可以同时采用振幅阈值和次数阈值进行检测,具体可以依据实际需求进行设置。In this embodiment of the present application, the audio receiving device may only use the detection method of the amplitude threshold or the frequency threshold, or may use both the amplitude threshold and the frequency threshold for detection, which may be specifically set according to actual needs.
S602,当检测到连接建立信号时,接收音频输出设备输出的音频连接信号;S602, when the connection establishment signal is detected, receive the audio connection signal output by the audio output device;
本申请实施例的步骤S602可以参见图9所示实施例的步骤S501的具体描述,在此不进行赘述。For step S602 in this embodiment of the present application, reference may be made to the specific description of step S501 in the embodiment shown in FIG. 9 , which will not be repeated here.
S603,获取所述音频连接信号中的设备地址信息;S603, obtaining the device address information in the audio connection signal;
S604,对所述设备地址信息进行解码,得到所述音频输出设备的设备标识;S604, decoding the device address information to obtain the device identifier of the audio output device;
具体的,所述音频接收设备可以对所述音频输出设备的设备地址信息进行解码,以得到所述音频输出设备的设备标识,可以理解的是,所述音频接收设备的解码方式与所述音频输出设备的编码方式为相对应的编解码算法。Specifically, the audio receiving device can decode the device address information of the audio output device to obtain the device identifier of the audio output device. It can be understood that the decoding method of the audio receiving device is the same as the audio output device. The encoding method of the output device is the corresponding encoding and decoding algorithm.
S605,基于所述设备标识与所述音频输出设备建立通信连接;S605, establishing a communication connection with the audio output device based on the device identifier;
具体的,所述音频接收设备可以检测当前的通信连接功能是否已开启,若是,则所述音频接收设备可以直接基于所述设备标识与所述音频输出设备建立通信连接;若否,则所述音频接收设备可以开启通信连接功能,并基于所述设备标识与所述音频输出设备建立通信连接。Specifically, the audio receiving device can detect whether the current communication connection function is enabled, and if so, the audio receiving device can directly establish a communication connection with the audio output device based on the device identification; The audio receiving device may enable a communication connection function, and establish a communication connection with the audio output device based on the device identification.
S606,当与所述音频输出设备的通信连接建立成功时,输出已建立通信连接的提示信息;S606, when the communication connection with the audio output device is successfully established, output a prompt message that the communication connection has been established;
具体的,当所述音频接收设备与所述音频输出设备的通信连接建立成功时,所述音频接收设备输出已建立通信连接的提示信息,所述提示信息的输出形式可以为文本形式、语音形式等至少一种。针对文本形式,在音频输出设备与音频接收设备通信连接建立成功后,音频接收设备可以在显示屏中进一步展 示连接成功的文本,以提示用户当前已建立与音频输出设备的通信连接。针对语音形式,所述音频接收设备可以基于所述音频接收设备的扬声器组件输出预先设置的提示音,可以为音乐片段、个性化录制音频或者在多个提示音中所选择的目标提示音等。Specifically, when the communication connection between the audio receiving device and the audio output device is successfully established, the audio receiving device outputs prompt information indicating that the communication connection has been established, and the output form of the prompt information may be text or voice. wait for at least one. For the text form, after the audio output device and the audio receiving device have successfully established a communication connection, the audio receiving device can further display the text of the successful connection on the display screen to remind the user that the communication connection with the audio output device has been established. For the voice form, the audio receiving device can output a preset prompt based on the speaker component of the audio receiving device, which can be a music clip, personalized recorded audio, or a target prompt selected from multiple prompts.
在本申请实施例中,音频输出设备在检测到连接信号时可以输出携带有设备标识的音频连接信号,音频接收设备在检测到连接信号时可以对音频连接信号进行接收,并获取音频连接信号中的设备标识,进而音频接收设备可以基于设备标识与音频输出设备建立通信连接。设备在分别检测到连接信号之后,可以通过音频信号的方式对设备标识进行传输,基于音频信号的传输方式自动建立设备间的通信连接,提升了设备间通信连接建立的效率,保证了配件设备的使用效果;通过对音频接收设备的音频接收部位进行检测,可以使得震动信号检测更具有针对性和目的性;通过在音频接收设备亮屏状态下进行震动信号的检测,可以避免误操作而导致对震动信号进行检测,降低了音频接收设备的功耗;通过振幅阈值和次数阈值的设置以及判断,避免了外界或设备本身所产生的震动,所导致的对音频接收设备的通信连接的误操作,提升对震动信号检测的准确性;通过采用超声波音频信号的方式进行音频连接信号的收发,由于超声波与一般声波的信号频率不同,可以避免敲击声音、环境噪声等声波影响,使得音频连接信号更容易被麦克风组件所捕捉,进而提升了设备间通信连接建立的效率。In the embodiment of the present application, the audio output device may output an audio connection signal carrying a device identification when detecting the connection signal, and the audio receiving device may receive the audio connection signal when detecting the connection signal, and obtain the audio connection signal. The device identification of the device, and then the audio receiving device can establish a communication connection with the audio output device based on the device identification. After the device detects the connection signal, it can transmit the device identification through the audio signal, and automatically establish the communication connection between the devices based on the transmission mode of the audio signal, which improves the efficiency of establishing the communication connection between the devices and ensures that the accessory device Use effect; by detecting the audio receiving part of the audio receiving device, the vibration signal detection can be more targeted and purposeful; by detecting the vibration signal in the bright screen state of the audio receiving device, it can avoid misoperations. The vibration signal is detected, which reduces the power consumption of the audio receiving device; through the setting and judgment of the amplitude threshold and the number of times threshold, the vibration generated by the outside world or the device itself can be avoided, resulting in the misoperation of the communication connection of the audio receiving device. Improve the accuracy of vibration signal detection; by using ultrasonic audio signals to send and receive audio connection signals, because the signal frequencies of ultrasonic waves and general sound waves are different, the impact of sound waves such as knocking sound and environmental noise can be avoided, making the audio connection signal more efficient. It is easy to be captured by the microphone component, thereby improving the efficiency of establishing a communication connection between devices.
基于图1所示的系统架构,下面将结合图11-图13,对本申请实施例提供的音频输出设备进行详细介绍。需要说明的是,图11-图13中的音频输出设备,具体可以为上述实施例中的第一设备,用于执行本申请图7-图8所示实施例的方法,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请图7-图8所示的实施例。Based on the system architecture shown in FIG. 1 , the audio output device provided by the embodiment of the present application will be described in detail below with reference to FIGS. 11 to 13 . It should be noted that, the audio output device in FIGS. 11 to 13 may specifically be the first device in the above-mentioned embodiment, which is used to execute the method of the embodiment shown in FIG. 7 to FIG. 8 of the present application. For the convenience of description, only Parts related to the embodiments of the present application are shown. For specific technical details that are not disclosed, please refer to the embodiments shown in FIGS. 7 to 8 of the present application.
请参见图11,为本申请实施例提供了一种音频输出设备的结构示意图。如图11所示,本申请实施例的所述音频输出设备1可以包括:信号输出单元11和连接建立单元12。Referring to FIG. 11 , a schematic structural diagram of an audio output device is provided in an embodiment of the present application. As shown in FIG. 11 , the audio output device 1 in this embodiment of the present application may include: a signal output unit 11 and a connection establishment unit 12 .
信号输出单元11,用于当检测到连接建立信号时,输出音频连接信号;The signal output unit 11 is used for outputting the audio connection signal when the connection establishment signal is detected;
其中,所述音频连接信号携带有用于建立通信连接的设备标识;Wherein, the audio connection signal carries a device identification for establishing a communication connection;
连接建立单元12,用于获取音频接收设备发起的通信连接请求,基于所述通信连接请求与所述音频接收设备建立通信连接;a connection establishing unit 12, configured to acquire a communication connection request initiated by an audio receiving device, and establish a communication connection with the audio receiving device based on the communication connection request;
其中,所述通信连接请求为所述音频接收设备基于所述设备标识生成的。Wherein, the communication connection request is generated by the audio receiving device based on the device identification.
在本申请实施例中,音频输出设备在检测到连接信号时可以输出携带有设备标识的音频连接信号,音频接收设备在检测到连接信号时可以对音频连接信号进行接收,并获取音频连接信号中的设备标识,进而音频接收设备可以基于设备标识与音频输出设备建立通信连接。设备在分别检测到连接信号之后,可以通过音频信号的方式对设备标识进行传输,基于音频信号的传输方式自动建立设备间的通信连接,提升了设备间通信连接建立的效率,保证了配件设备的使用效果。In the embodiment of the present application, the audio output device may output an audio connection signal carrying a device identification when detecting the connection signal, and the audio receiving device may receive the audio connection signal when detecting the connection signal, and obtain the audio connection signal. The device identification of the device, and then the audio receiving device can establish a communication connection with the audio output device based on the device identification. After the device detects the connection signal, it can transmit the device identification through the audio signal, and automatically establish the communication connection between the devices based on the transmission mode of the audio signal, which improves the efficiency of establishing the communication connection between the devices and ensures that the accessory device Effect.
请参见图12,为本申请实施例提供了一种音频输出设备的结构示意图。如图12所示,本申请实施例的所述音频输出设备1可以包括:信号输出单元11、连接建立单元12和信号确定单元13。Please refer to FIG. 12 , which provides a schematic structural diagram of an audio output device according to an embodiment of the present application. As shown in FIG. 12 , the audio output device 1 in this embodiment of the present application may include: a signal output unit 11 , a connection establishment unit 12 and a signal determination unit 13 .
信号确定单元13,用于当基于传感组件检测到震动信号时,确定检测到连接建立信号;a signal determination unit 13, configured to determine that a connection establishment signal is detected when a vibration signal is detected based on the sensing component;
其中,所述信号确定单元13具体用于当基于传感组件检测到震动信号时,获取所述震动信号的检测状态信息,所述检测状态信息包括震动幅度、震动次数中的至少一种,当所述检测状态信息满足检测阈值时,确定检测到连接建立信号。Wherein, the signal determination unit 13 is specifically configured to acquire detection state information of the vibration signal when a vibration signal is detected based on the sensing component, and the detection state information includes at least one of vibration amplitude and number of vibrations. When the detection state information satisfies the detection threshold, it is determined that a connection establishment signal is detected.
信号输出单元11,用于当检测到连接建立信号时,输出音频连接信号;The signal output unit 11 is used for outputting the audio connection signal when the connection establishment signal is detected;
其中,所述音频连接信号携带有用于建立通信连接的设备标识;Wherein, the audio connection signal carries a device identification for establishing a communication connection;
具体的,请一并参见图13,为本申请实施例提供了一种信号输出单元的结构示意图。如图13所示,所述信号输出单元11可以包括:Specifically, please refer to FIG. 13 together, which provides a schematic structural diagram of a signal output unit according to an embodiment of the present application. As shown in Figure 13, the signal output unit 11 may include:
信息编码子单元111,用于当检测到连接建立信号时,对设备标识进行编码,得到设备地址信息;The information encoding subunit 111 is used to encode the device identification to obtain the device address information when the connection establishment signal is detected;
信号输出子单元112,用于基于所述设备地址信息生成音频连接信号,输出所述音频连接信号。The signal output subunit 112 is configured to generate an audio connection signal based on the device address information, and output the audio connection signal.
连接建立单元12,用于获取音频接收设备发起的通信连接请求,基于所述通信连接请求与所述音频接收设备建立通信连接;a connection establishing unit 12, configured to acquire a communication connection request initiated by an audio receiving device, and establish a communication connection with the audio receiving device based on the communication connection request;
其中,所述通信连接请求为所述音频接收设备基于所述设备标识生成的。Wherein, the communication connection request is generated by the audio receiving device based on the device identification.
在本申请实施例中,音频输出设备在检测到连接信号时可以输出携带有设备标识的音频连接信号,音频接收设备在检测到连接信号时可以对音频连接信号进行接收,并获取音频连接信号中的设备标识,进而音频接收设备可以基于设备标识与音频输出设备建立通信连接。设备在分别检测到连接信号之后,可以通过音频信号的方式对设备标识进行传输,基于音频信号的传输方式自动建立设备间的通信连接,提升了设备间通信连接建立的效率,保证了配件设备的使用效果;通过对音频接收设备的音频接收部位进行检测,可以使得震动信号检测更具有针对性和目的性;通过在音频接收设备亮屏状态下进行震动信号的检测,可以避免误操作而导致对震动信号进行检测,降低了音频接收设备的功耗;通过振幅阈值和次数阈值的设置以及判断,避免了外界或设备本身所产生的震动,所导致的对音频接收设备的通信连接的误操作,提升对震动信号检测的准确性;通过采用超声波音频信号的方式进行音频连接信号的收发,由于超声波与一般声波的信号频率不同,可以避免敲击声音、环境噪声等声波影响,使得音频连接信号更容易被麦克风组件所捕捉,进而提升了设备间通信连接建立的效率。In the embodiment of the present application, the audio output device may output an audio connection signal carrying a device identification when detecting the connection signal, and the audio receiving device may receive the audio connection signal when detecting the connection signal, and obtain the audio connection signal. The device identification of the device, and then the audio receiving device can establish a communication connection with the audio output device based on the device identification. After the device detects the connection signal, it can transmit the device identification through the audio signal, and automatically establish the communication connection between the devices based on the transmission mode of the audio signal, which improves the efficiency of establishing the communication connection between the devices and ensures that the accessory device Use effect; by detecting the audio receiving part of the audio receiving device, the vibration signal detection can be more targeted and purposeful; by detecting the vibration signal in the bright screen state of the audio receiving device, it can avoid misoperations. The vibration signal is detected, which reduces the power consumption of the audio receiving device; through the setting and judgment of the amplitude threshold and the number of times threshold, the vibration generated by the outside world or the device itself can be avoided, resulting in the misoperation of the communication connection of the audio receiving device. Improve the accuracy of vibration signal detection; by using ultrasonic audio signals to send and receive audio connection signals, because the signal frequencies of ultrasonic waves and general sound waves are different, the impact of sound waves such as knocking sound and environmental noise can be avoided, making the audio connection signal more efficient. It is easy to be captured by the microphone component, thereby improving the efficiency of establishing a communication connection between devices.
请参见图14,为本申请实施例提供了一种计算机设备的结构示意图。如图14所示,所述计算机设备1000可以包括:至少一个处理器1001,例如CPU,至少一个网络接口1004,输入输出接口1003,存储器1005,至少一个通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。其中,网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1005可选的还可以是至少一个位于远离前述处理器1001的存储装置。如图14所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、输入输出接口模块以及连接建立应用程序。Referring to FIG. 14 , a schematic structural diagram of a computer device is provided in an embodiment of the present application. As shown in FIG. 14 , the computer device 1000 may include: at least one processor 1001 , such as a CPU, at least one network interface 1004 , input/output interface 1003 , memory 1005 , and at least one communication bus 1002 . Among them, the communication bus 1002 is used to realize the connection and communication between these components. Wherein, the network interface 1004 may optionally include a standard wired interface and a wireless interface (eg, a WI-FI interface). The memory 1005 may be high-speed RAM memory or non-volatile memory, such as at least one disk memory. Optionally, the memory 1005 may also be at least one storage device located away from the aforementioned processor 1001 . As shown in FIG. 14 , the memory 1005 as a computer storage medium may include an operating system, a network communication module, an input/output interface module, and a connection establishment application program.
在一个实施例中,处理器1001可以用于调用存储器1005中存储的连接建立应用程序,并具体执行以下操作:In one embodiment, the processor 1001 may be configured to invoke the connection establishment application stored in the memory 1005, and specifically perform the following operations:
当检测到连接建立信号时,输出音频连接信号,所述音频连接信号携带有用于建立通信连接的设备标识;When a connection establishment signal is detected, an audio connection signal is output, and the audio connection signal carries a device identification for establishing a communication connection;
获取音频接收设备发起的通信连接请求,基于所述通信连接请求与所述音频接收设备建立通信连接,所述通信连接请求为所述音频接收设备基于所述设备标识生成的。A communication connection request initiated by an audio receiving device is acquired, and a communication connection is established with the audio receiving device based on the communication connection request, where the communication connection request is generated by the audio receiving device based on the device identification.
可选的,所述处理器1001在执行当检测到连接建立信号之前,还执行以下操作:Optionally, before the processor 1001 detects the connection establishment signal, the processor 1001 further performs the following operations:
当基于传感组件检测到震动信号时,确定检测到连接建立信号。When a shock signal is detected based on the sensing component, it is determined that a connection establishment signal is detected.
可选的,所述处理器1001在执行当基于传感组件检测到震动信号时,确定检测到连接建立信号时,具体执行以下操作:Optionally, when the processor 1001 determines that a connection establishment signal is detected when a vibration signal is detected based on the sensing component, the processor 1001 specifically performs the following operations:
当基于传感组件检测到震动信号时,获取所述震动信号的检测状态信息,所述检测状态信息包括震动幅度、震动次数中的至少一种;When a vibration signal is detected based on the sensing component, acquiring detection status information of the vibration signal, where the detection status information includes at least one of a vibration amplitude and a number of vibrations;
当所述检测状态信息满足检测阈值时,确定检测到连接建立信号。When the detection state information satisfies the detection threshold, it is determined that a connection establishment signal is detected.
可选的,所述处理器1001在执行当检测到连接建立信号时,输出音频连接信号时,具体执行以下操作:Optionally, when the processor 1001 outputs an audio connection signal when a connection establishment signal is detected, the processor 1001 specifically performs the following operations:
当检测到连接建立信号时,对设备标识进行编码,得到设备地址信息;When the connection establishment signal is detected, the device identification is encoded to obtain the device address information;
基于所述设备地址信息生成音频连接信号,输出所述音频连接信号。An audio connection signal is generated based on the device address information, and the audio connection signal is output.
可选的,所述音频连接信号为超声波连接信号。Optionally, the audio connection signal is an ultrasonic connection signal.
在本申请实施例中,音频输出设备在检测到连接信号时可以输出携带有设备标识的音频连接信号,音频接收设备在检测到连接信号时可以对音频连接信号进行接收,并获取音频连接信号中的设备标识,进而音频接收设备可以基于设备标识与音频输出设备建立通信连接。设备在分别检测到连接信号之后,可以通过音频信号的方式对设备标识进行传输,基于音频信号的传输方式自动建立设备间的通信连接, 提升了设备间通信连接建立的效率,保证了配件设备的使用效果;通过对音频接收设备的音频接收部位进行检测,可以使得震动信号检测更具有针对性和目的性;通过在音频接收设备亮屏状态下进行震动信号的检测,可以避免误操作而导致对震动信号进行检测,降低了音频接收设备的功耗;通过振幅阈值和次数阈值的设置以及判断,避免了外界或设备本身所产生的震动,所导致的对音频接收设备的通信连接的误操作,提升对震动信号检测的准确性;通过采用超声波音频信号的方式进行音频连接信号的收发,由于超声波与一般声波的信号频率不同,可以避免敲击声音、环境噪声等声波影响,使得音频连接信号更容易被麦克风组件所捕捉,进而提升了设备间通信连接建立的效率。In the embodiment of the present application, the audio output device may output an audio connection signal carrying a device identification when detecting the connection signal, and the audio receiving device may receive the audio connection signal when detecting the connection signal, and obtain the audio connection signal. The device identification of the device, and then the audio receiving device can establish a communication connection with the audio output device based on the device identification. After the device detects the connection signal, it can transmit the device identification through the audio signal, and automatically establish the communication connection between the devices based on the transmission mode of the audio signal, which improves the efficiency of establishing the communication connection between the devices and ensures that the accessory device is safe. Use effect; by detecting the audio receiving part of the audio receiving device, the vibration signal detection can be more targeted and purposeful; by detecting the vibration signal in the bright screen state of the audio receiving device, it can avoid misoperations. The vibration signal is detected, which reduces the power consumption of the audio receiving device; through the setting and judgment of the amplitude threshold and the number of times threshold, the vibration generated by the outside world or the device itself can be avoided, resulting in the misoperation of the communication connection of the audio receiving device. Improve the accuracy of vibration signal detection; by using ultrasonic audio signals to send and receive audio connection signals, because the signal frequencies of ultrasonic waves and general sound waves are different, the impact of sound waves such as knocking sound and environmental noise can be avoided, making the audio connection signal more efficient. It is easy to be captured by the microphone component, thereby improving the efficiency of establishing a communication connection between devices.
基于图1所示的系统架构,下面将结合图15-图18,对本申请实施例提供的音频接收设备进行详细介绍。需要说明的是,图15-图18中的音频接收设备,具体可以为上述实施例中的第二设备,用于执行本申请图9-图10所示实施例的方法,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请图9-图10所示的实施例。Based on the system architecture shown in FIG. 1 , the audio receiving device provided by the embodiments of the present application will be described in detail below with reference to FIGS. 15 to 18 . It should be noted that, the audio receiving device in FIG. 15-FIG. 18 may specifically be the second device in the above-mentioned embodiment, which is used to execute the method of the embodiment shown in FIG. 9-FIG. 10 of the present application. For convenience of description, only Parts related to the embodiments of the present application are shown. For specific technical details that are not disclosed, please refer to the embodiments shown in FIGS. 9 to 10 of the present application.
请参见图15,为本申请实施例提供了一种音频接收设备的结构示意图。如图15所示,本申请实施例的所述音频接收设备2可以包括:信号接收单元21、标识获取单元22和连接建立单元23。Referring to FIG. 15 , a schematic structural diagram of an audio receiving device is provided in an embodiment of the present application. As shown in FIG. 15 , the audio receiving device 2 in this embodiment of the present application may include: a signal receiving unit 21 , an identification acquiring unit 22 and a connection establishing unit 23 .
信号接收单元21,用于当检测到连接建立信号时,接收音频输出设备输出的音频连接信号;The signal receiving unit 21 is used to receive the audio connection signal output by the audio output device when the connection establishment signal is detected;
标识获取单元22,用于获取所述音频连接信号中携带的所述音频输出设备的设备标识;An identification acquisition unit 22, configured to acquire the device identification of the audio output device carried in the audio connection signal;
连接建立单元23,用于基于所述设备标识与所述音频输出设备建立通信连接。The connection establishing unit 23 is configured to establish a communication connection with the audio output device based on the device identification.
在本申请实施例中,音频输出设备在检测到连接信号时可以输出携带有设备标识的音频连接信号,音频接收设备在检测到连接信号时可以对音频连接信号进行接收,并获取音频连接信号中的设备标识,进而音频接收设备可以基于设备标识与音频输出设备建立通信连接。设备在分别检测到连接信号之后,可以通过音频信号的方式对设备标识进行传输,基于音频信号的传输方式自动建立设备间的通信连接,提升了设备间通信连接建立的效率,保证了配件设备的使用效果。In the embodiment of the present application, the audio output device may output an audio connection signal carrying a device identification when detecting the connection signal, and the audio receiving device may receive the audio connection signal when detecting the connection signal, and obtain the audio connection signal. The device identification of the device, and then the audio receiving device can establish a communication connection with the audio output device based on the device identification. After the device detects the connection signal, it can transmit the device identification through the audio signal, and automatically establish the communication connection between the devices based on the transmission mode of the audio signal, which improves the efficiency of establishing the communication connection between the devices and ensures that the accessory device Effect.
请参见图16,为本申请实施例提供了一种音频接收设备的结构示意图。如图16所示,本申请实施例的所述音频接收设备2可以包括:信号接收单元21、标识获取单元22、连接建立单元23、和。Referring to FIG. 16 , a schematic structural diagram of an audio receiving device is provided in an embodiment of the present application. As shown in FIG. 16 , the audio receiving device 2 in this embodiment of the present application may include: a signal receiving unit 21 , an identification acquiring unit 22 , a connection establishing unit 23 , and .
信号确定单元24,用于当基于传感组件检测到震动信号时,确定检测到连接建立信号;a signal determination unit 24, configured to determine that a connection establishment signal is detected when a vibration signal is detected based on the sensing component;
其中,所述信号确定单元24具体用于当基于传感组件检测到震动信号时,获取所述震动信号的检测状态信息,所述检测状态信息包括震动幅度、震动次数中的至少一种,当所述检测状态信息满足检测阈值时,确定检测到连接建立信号。Wherein, the signal determination unit 24 is specifically configured to acquire detection state information of the vibration signal when a vibration signal is detected based on the sensing component, and the detection state information includes at least one of vibration amplitude and number of vibrations. When the detection state information satisfies the detection threshold, it is determined that a connection establishment signal is detected.
具体的,请一并参见图17,为本申请实施例提供了一种信号确定单元的结构示意图。如图17所示,所述信号确定单元24可以包括:Specifically, please refer to FIG. 17 together, which provides a schematic structural diagram of a signal determination unit according to an embodiment of the present application. As shown in FIG. 17 , the signal determination unit 24 may include:
状态控制子单元241,用于当处于亮屏状态时,控制传感组件进入震动信号检测状态;The state control sub-unit 241 is used to control the sensing component to enter the vibration signal detection state when the screen is on;
信号确定子单元242,用于当基于所述传感组件检测到音频接收部位存在震动信号时,确定检测到连接建立信号。The signal determination subunit 242 is configured to determine that a connection establishment signal is detected when a vibration signal is detected at the audio receiving part based on the sensing component.
信号接收单元21,用于当检测到连接建立信号时,接收音频输出设备输出的音频连接信号;The signal receiving unit 21 is used to receive the audio connection signal output by the audio output device when the connection establishment signal is detected;
标识获取单元22,用于获取所述音频连接信号中携带的所述音频输出设备的设备标识;An identification acquisition unit 22, configured to acquire the device identification of the audio output device carried in the audio connection signal;
具体的,请一并参见图18,为本申请实施例提供了一种标识获取单元的结构示意图。如图18所示,所述标识获取单元22可以包括:Specifically, please refer to FIG. 18 together, which provides a schematic structural diagram of an identification acquisition unit according to an embodiment of the present application. As shown in FIG. 18 , the identification acquisition unit 22 may include:
信息获取子单元221,用于获取所述音频连接信号中的设备地址信息;The information acquisition subunit 221 is used to acquire the device address information in the audio connection signal;
信息解码子单元222,用于对所述设备地址信息进行解码,得到所述音频输出设备的设备标识。The information decoding subunit 222 is configured to decode the device address information to obtain the device identifier of the audio output device.
连接建立单元23,用于基于所述设备标识与所述音频输出设备建立通信连接。The connection establishing unit 23 is configured to establish a communication connection with the audio output device based on the device identification.
信息输出单元25,用于当与所述音频输出设备的通信连接建立成功时,输出已建立通信连接的提示信息。The information output unit 25 is configured to output prompt information indicating that the communication connection has been established when the communication connection with the audio output device is successfully established.
在本申请实施例中,音频输出设备在检测到连接信号时可以输出携带有设备标识的音频连接信号, 音频接收设备在检测到连接信号时可以对音频连接信号进行接收,并获取音频连接信号中的设备标识,进而音频接收设备可以基于设备标识与音频输出设备建立通信连接。设备在分别检测到连接信号之后,可以通过音频信号的方式对设备标识进行传输,基于音频信号的传输方式自动建立设备间的通信连接,提升了设备间通信连接建立的效率,保证了配件设备的使用效果;通过对音频接收设备的音频接收部位进行检测,可以使得震动信号检测更具有针对性和目的性;通过在音频接收设备亮屏状态下进行震动信号的检测,可以避免误操作而导致对震动信号进行检测,降低了音频接收设备的功耗;通过振幅阈值和次数阈值的设置以及判断,避免了外界或设备本身所产生的震动,所导致的对音频接收设备的通信连接的误操作,提升对震动信号检测的准确性;通过采用超声波音频信号的方式进行音频连接信号的收发,由于超声波与一般声波的信号频率不同,可以避免敲击声音、环境噪声等声波影响,使得音频连接信号更容易被麦克风组件所捕捉,进而提升了设备间通信连接建立的效率。In the embodiment of the present application, the audio output device may output an audio connection signal carrying a device identification when detecting the connection signal, and the audio receiving device may receive the audio connection signal when detecting the connection signal, and obtain the audio connection signal. The device identification of the device, and then the audio receiving device can establish a communication connection with the audio output device based on the device identification. After the device detects the connection signal, it can transmit the device identification through the audio signal, and automatically establish the communication connection between the devices based on the transmission mode of the audio signal, which improves the efficiency of establishing the communication connection between the devices and ensures that the accessory device Use effect; by detecting the audio receiving part of the audio receiving device, the vibration signal detection can be more targeted and purposeful; by detecting the vibration signal in the bright screen state of the audio receiving device, it can avoid misoperations. The vibration signal is detected, which reduces the power consumption of the audio receiving device; through the setting and judgment of the amplitude threshold and the number of times threshold, the vibration generated by the outside world or the device itself can be avoided, resulting in the misoperation of the communication connection of the audio receiving device. Improve the accuracy of vibration signal detection; by using ultrasonic audio signals to send and receive audio connection signals, because the signal frequencies of ultrasonic waves and general sound waves are different, the impact of sound waves such as knocking sound and environmental noise can be avoided, making the audio connection signal more efficient. It is easy to be captured by the microphone component, thereby improving the efficiency of establishing a communication connection between devices.
请参见图19,为本申请实施例提供了一种计算机设备的结构示意图。如图19所示,所述计算机设备2000可以包括:至少一个处理器2001,例如CPU,至少一个网络接口2004,输入输出接口2003,存储器2005,至少一个通信总线2002。其中,通信总线2002用于实现这些组件之间的连接通信。其中,网络接口2004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器2005可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器2005可选的还可以是至少一个位于远离前述处理器2001的存储装置。如图19所示,作为一种计算机存储介质的存储器2005中可以包括操作系统、网络通信模块、输入输出接口模块以及连接建立应用程序。Referring to FIG. 19 , a schematic structural diagram of a computer device is provided in an embodiment of the present application. As shown in FIG. 19 , the computer device 2000 may include: at least one processor 2001 , such as a CPU, at least one network interface 2004 , input/output interface 2003 , memory 2005 , and at least one communication bus 2002 . Among them, the communication bus 2002 is used to realize the connection and communication between these components. The optional network interface 2004 may include a standard wired interface and a wireless interface (eg, a WI-FI interface). The memory 2005 may be high-speed RAM memory or non-volatile memory, such as at least one disk memory. Optionally, the memory 2005 may also be at least one storage device located away from the aforementioned processor 2001 . As shown in FIG. 19 , the memory 2005 as a computer storage medium may include an operating system, a network communication module, an input/output interface module, and a connection establishment application program.
在一个实施例中,处理器2001可以用于调用存储器2005中存储的连接建立应用程序,并具体执行以下操作:In one embodiment, the processor 2001 may be configured to invoke the connection establishment application stored in the memory 2005, and specifically perform the following operations:
当检测到连接建立信号时,接收音频输出设备输出的音频连接信号;When the connection establishment signal is detected, receive the audio connection signal output by the audio output device;
获取所述音频连接信号中携带的所述音频输出设备的设备标识;Obtain the device identifier of the audio output device carried in the audio connection signal;
基于所述设备标识与所述音频输出设备建立通信连接。A communication connection is established with the audio output device based on the device identification.
可选的,所述处理器2001在执行当检测到连接建立信号之前,还执行以下操作:Optionally, before the processor 2001 detects the connection establishment signal, the processor 2001 further performs the following operations:
当基于传感组件检测到震动信号时,确定检测到连接建立信号。When a shock signal is detected based on the sensing component, it is determined that a connection establishment signal is detected.
可选的,所述处理器2001在执行当基于传感组件检测到震动信号时,确定检测到连接建立信号时,具体执行以下操作:Optionally, when the processor 2001 determines that a connection establishment signal is detected when a vibration signal is detected based on the sensing component, the processor 2001 specifically performs the following operations:
当基于传感组件检测到震动信号时,获取所述震动信号的检测状态信息,所述检测状态信息包括震动幅度、震动次数中的至少一种;When a vibration signal is detected based on the sensing component, acquiring detection status information of the vibration signal, where the detection status information includes at least one of a vibration amplitude and a number of vibrations;
当所述检测状态信息满足检测阈值时,确定检测到连接建立信号。When the detection state information satisfies the detection threshold, it is determined that a connection establishment signal is detected.
可选的,所述处理器2001在执行当基于传感组件检测到震动信号时,确定检测到连接建立信号时,具体执行以下操作:Optionally, when the processor 2001 determines that a connection establishment signal is detected when a vibration signal is detected based on the sensing component, the processor 2001 specifically performs the following operations:
当处于亮屏状态时,控制传感组件进入震动信号检测状态;When the screen is on, control the sensing component to enter the vibration signal detection state;
当基于所述传感组件检测到音频接收部位存在震动信号时,确定检测到连接建立信号。When a vibration signal is detected at the audio receiving site based on the sensing component, it is determined that a connection establishment signal is detected.
可选的,所述处理器2001在执行获取所述音频连接信号中携带的所述音频输出设备的设备标识时,具体执行以下操作:Optionally, when the processor 2001 executes the acquisition of the device identifier of the audio output device carried in the audio connection signal, the processor 2001 specifically performs the following operations:
获取所述音频连接信号中的设备地址信息;Obtain the device address information in the audio connection signal;
对所述设备地址信息进行解码,得到所述音频输出设备的设备标识。Decode the device address information to obtain the device identifier of the audio output device.
可选的,所述处理器2001在执行基于所述设备标识与所述音频输出设备建立通信连接之后,还执行以下操作:Optionally, after the processor 2001 establishes a communication connection with the audio output device based on the device identifier, the processor 2001 further performs the following operations:
当与所述音频输出设备的通信连接建立成功时,输出已建立通信连接的提示信息。When the communication connection with the audio output device is successfully established, a prompt message indicating that the communication connection has been established is output.
可选的,所述音频连接信号为超声波连接信号。Optionally, the audio connection signal is an ultrasonic connection signal.
在本申请实施例中,音频输出设备在检测到连接信号时可以输出携带有设备标识的音频连接信号,音频接收设备在检测到连接信号时可以对音频连接信号进行接收,并获取音频连接信号中的设备标识, 进而音频接收设备可以基于设备标识与音频输出设备建立通信连接。设备在分别检测到连接信号之后,可以通过音频信号的方式对设备标识进行传输,基于音频信号的传输方式自动建立设备间的通信连接,提升了设备间通信连接建立的效率,保证了配件设备的使用效果;通过对音频接收设备的音频接收部位进行检测,可以使得震动信号检测更具有针对性和目的性;通过在音频接收设备亮屏状态下进行震动信号的检测,可以避免误操作而导致对震动信号进行检测,降低了音频接收设备的功耗;通过振幅阈值和次数阈值的设置以及判断,避免了外界或设备本身所产生的震动,所导致的对音频接收设备的通信连接的误操作,提升对震动信号检测的准确性;通过采用超声波音频信号的方式进行音频连接信号的收发,由于超声波与一般声波的信号频率不同,可以避免敲击声音、环境噪声等声波影响,使得音频连接信号更容易被麦克风组件所捕捉,进而提升了设备间通信连接建立的效率。In the embodiment of the present application, the audio output device may output an audio connection signal carrying a device identification when detecting the connection signal, and the audio receiving device may receive the audio connection signal when detecting the connection signal, and obtain the audio connection signal. and the audio receiving device can establish a communication connection with the audio output device based on the device identification. After the device detects the connection signal, it can transmit the device identification through the audio signal, and automatically establish the communication connection between the devices based on the transmission mode of the audio signal, which improves the efficiency of establishing the communication connection between the devices and ensures that the accessory device Use effect; by detecting the audio receiving part of the audio receiving device, the vibration signal detection can be more targeted and purposeful; by detecting the vibration signal in the bright screen state of the audio receiving device, it can avoid misoperations. The vibration signal is detected, which reduces the power consumption of the audio receiving device; through the setting and judgment of the amplitude threshold and the number of times threshold, the vibration generated by the outside world or the device itself can be avoided, resulting in the misoperation of the communication connection of the audio receiving device. Improve the accuracy of vibration signal detection; by using ultrasonic audio signals to send and receive audio connection signals, because the signal frequencies of ultrasonic waves and general sound waves are different, the impact of sound waves such as knocking sound and environmental noise can be avoided, making the audio connection signal more efficient. It is easy to be captured by the microphone component, thereby improving the efficiency of establishing a communication connection between devices.
本申请实施例还提供了一种计算机存储介质,所述计算机存储介质可以存储有多条程序指令,所述程序指令适于由处理器加载并执行如上述图1-图10所示实施例的方法步骤,具体执行过程可以参见图1-图10所示实施例的具体说明,在此不进行赘述。An embodiment of the present application further provides a computer storage medium, where the computer storage medium can store a plurality of program instructions, and the program instructions are suitable for being loaded by a processor and executing the above-mentioned embodiments shown in FIG. 1 to FIG. 10 . For method steps and specific execution processes, reference may be made to the specific descriptions of the embodiments shown in FIG. 1 to FIG. 10 , which will not be repeated here.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. During execution, the processes of the embodiments of the above-mentioned methods may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。The above disclosures are only the preferred embodiments of the present application, and certainly cannot limit the scope of the rights of the present application. Therefore, the equivalent changes made according to the claims of the present application are still within the scope of the present application.

Claims (20)

  1. 一种通信连接建立方法,其特征在于,包括:A method for establishing a communication connection, comprising:
    当检测到连接建立信号时,输出音频连接信号,所述音频连接信号携带有用于建立通信连接的设备标识;When a connection establishment signal is detected, an audio connection signal is output, and the audio connection signal carries a device identification for establishing a communication connection;
    获取音频接收设备发起的通信连接请求,基于所述通信连接请求与所述音频接收设备建立通信连接,所述通信连接请求为所述音频接收设备基于所述设备标识生成的。A communication connection request initiated by an audio receiving device is acquired, and a communication connection is established with the audio receiving device based on the communication connection request, where the communication connection request is generated by the audio receiving device based on the device identification.
  2. 根据权利要求1所述的方法,其特征在于,所述当检测到连接建立信号之前,还包括:The method according to claim 1, wherein before the connection establishment signal is detected, the method further comprises:
    当基于传感组件检测到震动信号时,确定检测到连接建立信号。When a shock signal is detected based on the sensing component, it is determined that a connection establishment signal is detected.
  3. 根据权利要求2所述的方法,其特征在于,所述当基于传感组件检测到震动信号时,确定检测到连接建立信号,包括:The method according to claim 2, wherein the determining that a connection establishment signal is detected when a vibration signal is detected based on the sensing component, comprises:
    当基于传感组件检测到震动信号时,获取所述震动信号的检测状态信息,所述检测状态信息包括震动幅度、震动次数中的至少一种;When a vibration signal is detected based on the sensing component, acquiring detection status information of the vibration signal, where the detection status information includes at least one of a vibration amplitude and a number of vibrations;
    当所述检测状态信息满足检测阈值时,确定检测到连接建立信号。When the detection state information satisfies the detection threshold, it is determined that a connection establishment signal is detected.
  4. 根据权利要求1所述的方法,其特征在于,所述当检测到连接建立信号时,输出音频连接信号,包括:The method according to claim 1, wherein, when the connection establishment signal is detected, outputting the audio connection signal comprises:
    当检测到连接建立信号时,对设备标识进行编码,得到设备地址信息;When the connection establishment signal is detected, the device identification is encoded to obtain the device address information;
    基于所述设备地址信息生成音频连接信号,输出所述音频连接信号。An audio connection signal is generated based on the device address information, and the audio connection signal is output.
  5. 根据权利要求1所述的方法,其特征在于,所述音频连接信号为超声波连接信号。The method according to claim 1, wherein the audio connection signal is an ultrasonic connection signal.
  6. 一种通信连接建立方法,其特征在于,包括:A method for establishing a communication connection, comprising:
    当检测到连接建立信号时,接收音频输出设备输出的音频连接信号;When the connection establishment signal is detected, receive the audio connection signal output by the audio output device;
    获取所述音频连接信号中携带的所述音频输出设备的设备标识;Obtain the device identifier of the audio output device carried in the audio connection signal;
    基于所述设备标识与所述音频输出设备建立通信连接。A communication connection is established with the audio output device based on the device identification.
  7. 根据权利要求6所述的方法,其特征在于,所述当检测到连接建立信号之前,还包括:The method according to claim 6, wherein before the connection establishment signal is detected, the method further comprises:
    当基于传感组件检测到震动信号时,确定检测到连接建立信号。When a shock signal is detected based on the sensing component, it is determined that a connection establishment signal is detected.
  8. 根据权利要求7所述的方法,其特征在于,所述当基于传感组件检测到震动信号时,确定检测到连接建立信号,包括:The method according to claim 7, wherein the determining that a connection establishment signal is detected when a vibration signal is detected based on the sensing component, comprising:
    当基于传感组件检测到震动信号时,获取所述震动信号的检测状态信息,所述检测状态信息包括震动幅度、震动次数中的至少一种;When a vibration signal is detected based on the sensing component, acquiring detection status information of the vibration signal, where the detection status information includes at least one of a vibration amplitude and a number of vibrations;
    当所述检测状态信息满足检测阈值时,确定检测到连接建立信号。When the detection state information satisfies the detection threshold, it is determined that a connection establishment signal is detected.
  9. 根据权利要求7所述的方法,其特征在于,所述当基于传感组件检测到震动信号时,确定检测到连接建立信号,包括:The method according to claim 7, wherein the determining that a connection establishment signal is detected when a vibration signal is detected based on the sensing component, comprising:
    当处于亮屏状态时,控制传感组件进入震动信号检测状态;When the screen is on, control the sensing component to enter the vibration signal detection state;
    当基于所述传感组件检测到音频接收部位存在震动信号时,确定检测到连接建立信号。When a vibration signal is detected at the audio receiving site based on the sensing component, it is determined that a connection establishment signal is detected.
  10. 根据权利要求6所述的方法,其特征在于,所述获取所述音频连接信号中携带的所述音频输出 设备的设备标识,包括:method according to claim 6, is characterized in that, described obtaining the equipment identification of described audio output equipment carried in described audio frequency connection signal, comprises:
    获取所述音频连接信号中的设备地址信息;Obtain the device address information in the audio connection signal;
    对所述设备地址信息进行解码,得到所述音频输出设备的设备标识。Decode the device address information to obtain the device identifier of the audio output device.
  11. 根据权利要求6所述的方法,其特征在于,所述基于所述设备标识与所述音频输出设备建立通信连接之后,还包括:The method according to claim 6, wherein after establishing a communication connection with the audio output device based on the device identifier, the method further comprises:
    当与所述音频输出设备的通信连接建立成功时,输出已建立通信连接的提示信息。When the communication connection with the audio output device is successfully established, a prompt message indicating that the communication connection has been established is output.
  12. 根据权利要求6所述的方法,其特征在于,所述音频连接信号为超声波连接信号。The method according to claim 6, wherein the audio connection signal is an ultrasonic connection signal.
  13. 一种通信连接建立方法,其特征在于,包括:A method for establishing a communication connection, comprising:
    当第一设备检测到第一连接信号时,所述第一设备输出音频连接信号,所述音频连接信号携带有所述第一设备的设备标识;When the first device detects the first connection signal, the first device outputs an audio connection signal, and the audio connection signal carries the device identification of the first device;
    当第二设备检测到第二连接信号时,所述第二设备接收所述音频连接信号;When the second device detects the second connection signal, the second device receives the audio connection signal;
    所述第二设备获取所述音频连接信号中的所述设备标识;The second device obtains the device identifier in the audio connection signal;
    所述第二设备基于所述设备标识与所述第一设备建立通信连接。The second device establishes a communication connection with the first device based on the device identification.
  14. 根据权利要求13所述的方法,其特征在于,所述当检测到连接建立信号之前,还包括:The method according to claim 13, wherein before the connection establishment signal is detected, the method further comprises:
    当第一设备基于第一传感组件检测到第一震动信号时,所述第一设备确定检测到第一连接信号。When the first device detects the first shock signal based on the first sensing component, the first device determines that the first connection signal is detected.
  15. 一种音频输出设备,其特征在于,包括:An audio output device, comprising:
    信号输出单元,用于当检测到连接建立信号时,输出音频连接信号,所述音频连接信号携带有用于建立通信连接的设备标识;a signal output unit for outputting an audio connection signal when a connection establishment signal is detected, the audio connection signal carrying a device identification for establishing a communication connection;
    连接建立单元,用于获取音频接收设备发起的通信连接请求,基于所述通信连接请求与所述音频接收设备建立通信连接,所述通信连接请求为所述音频接收设备基于所述设备标识生成的。A connection establishment unit is configured to obtain a communication connection request initiated by an audio receiving device, and establish a communication connection with the audio receiving device based on the communication connection request, where the communication connection request is generated by the audio receiving device based on the device identification. .
  16. 根据权利要求15所述的设备,其特征在于,还包括:The device of claim 15, further comprising:
    信号确定单元,用于当基于传感组件检测到震动信号时,确定检测到连接建立信号。The signal determination unit is configured to determine that a connection establishment signal is detected when a shock signal is detected based on the sensing component.
  17. 一种音频接收设备,其特征在于,包括:An audio receiving device, comprising:
    信号接收单元,用于当检测到连接建立信号时,接收音频输出设备输出的音频连接信号;a signal receiving unit for receiving the audio connection signal output by the audio output device when the connection establishment signal is detected;
    标识获取单元,用于获取所述音频连接信号中携带的所述音频输出设备的设备标识;an identification acquisition unit, used for acquiring the device identification of the audio output device carried in the audio connection signal;
    连接建立单元,用于基于所述设备标识与所述音频输出设备建立通信连接。A connection establishing unit, configured to establish a communication connection with the audio output device based on the device identification.
  18. 根据权利要求17所述的设备,其特征在于,还包括:The device of claim 17, further comprising:
    信号确定单元,用于当基于传感组件检测到震动信号时,确定检测到连接建立信号。The signal determination unit is configured to determine that a connection establishment signal is detected when a shock signal is detected based on the sensing component.
  19. 一种计算机设备,其特征在于,包括处理器、存储器、输入输出接口;A computer device, characterized in that it includes a processor, a memory, and an input-output interface;
    所述处理器分别与所述存储器和所述输入输出接口相连,其中,所述输入输出接口用于页面交互,所述存储器用于存储程序代码,所述处理器用于调用所述程序代码,以执行如权利要求1-12任一项所述的方法。The processor is respectively connected to the memory and the input-output interface, wherein the input-output interface is used for page interaction, the memory is used to store program codes, and the processor is used to call the program codes to A method as claimed in any one of claims 1-12 is performed.
  20. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时,执行如权利要求1-12任一项所述的方法。A computer storage medium, characterized in that the computer storage medium stores a computer program, the computer program includes program instructions, and the program instructions, when executed by a processor, execute the program as described in any one of claims 1-12. method described.
PCT/CN2021/114745 2020-11-17 2021-08-26 Communicational connection establishment method, storage medium and device WO2022105342A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011297110.0 2020-11-17
CN202011297110.0A CN112399638B (en) 2020-11-17 2020-11-17 Communication connection establishment method, storage medium and equipment

Publications (1)

Publication Number Publication Date
WO2022105342A1 true WO2022105342A1 (en) 2022-05-27

Family

ID=74606489

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/114745 WO2022105342A1 (en) 2020-11-17 2021-08-26 Communicational connection establishment method, storage medium and device

Country Status (2)

Country Link
CN (1) CN112399638B (en)
WO (1) WO2022105342A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399638B (en) * 2020-11-17 2023-07-14 Oppo广东移动通信有限公司 Communication connection establishment method, storage medium and equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130171935A1 (en) * 2011-12-28 2013-07-04 Industrial Technology Research Institute Method for establishing connection between wireless communication devices
CN103596292A (en) * 2013-11-26 2014-02-19 广东欧珀移动通信有限公司 Method for rapid Bluetooth pairing connection through sound
CN104427471A (en) * 2013-09-04 2015-03-18 华为技术有限公司 Method for automatically establishing connection of mobile network and terminal
CN105182766A (en) * 2015-08-12 2015-12-23 小米科技有限责任公司 Equipment control method and apparatus
CN106792493A (en) * 2017-03-09 2017-05-31 北京小米移动软件有限公司 The matching method of bluetooth equipment, device and bluetooth equipment
CN106803854A (en) * 2015-11-26 2017-06-06 阿里巴巴集团控股有限公司 Method, device and wearable device that information is received, sent
CN108684029A (en) * 2018-08-23 2018-10-19 维沃移动通信有限公司 A kind of Bluetooth pairing connection method and system, bluetooth equipment and terminal
WO2019212412A1 (en) * 2018-04-30 2019-11-07 Kaha Pte. Ltd. Methods and systems for establishing an operation between users based on identification of one or more user actions
CN111669737A (en) * 2020-05-27 2020-09-15 维沃移动通信有限公司 Bluetooth device connection method and device and electronic device
CN112399638A (en) * 2020-11-17 2021-02-23 Oppo广东移动通信有限公司 Communication connection establishing method, storage medium and equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621763B (en) * 2009-07-31 2012-06-06 中兴通讯股份有限公司 Method and corresponding device for displaying sender Chinese name at mobile phone terminal
CN105262516A (en) * 2015-09-07 2016-01-20 惠州Tcl移动通信有限公司 Slave device, and system and method for automatically pairing master and slave devices
CN105843055A (en) * 2016-03-24 2016-08-10 苏州路之遥科技股份有限公司 Communication method of smart home system
CN106792474A (en) * 2016-12-31 2017-05-31 深圳市优必选科技有限公司 The connection method of audio Bluetooth pairing, apparatus and system
US10871983B2 (en) * 2018-05-31 2020-12-22 Intel Corporation Process-based multi-key total memory encryption
CN110312235A (en) * 2019-05-16 2019-10-08 深圳市豪恩声学股份有限公司 Audio frequency apparatus, operation method, device and the storage medium that real-time voice wakes up

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130171935A1 (en) * 2011-12-28 2013-07-04 Industrial Technology Research Institute Method for establishing connection between wireless communication devices
CN104427471A (en) * 2013-09-04 2015-03-18 华为技术有限公司 Method for automatically establishing connection of mobile network and terminal
CN103596292A (en) * 2013-11-26 2014-02-19 广东欧珀移动通信有限公司 Method for rapid Bluetooth pairing connection through sound
CN105182766A (en) * 2015-08-12 2015-12-23 小米科技有限责任公司 Equipment control method and apparatus
CN106803854A (en) * 2015-11-26 2017-06-06 阿里巴巴集团控股有限公司 Method, device and wearable device that information is received, sent
CN106792493A (en) * 2017-03-09 2017-05-31 北京小米移动软件有限公司 The matching method of bluetooth equipment, device and bluetooth equipment
WO2019212412A1 (en) * 2018-04-30 2019-11-07 Kaha Pte. Ltd. Methods and systems for establishing an operation between users based on identification of one or more user actions
CN108684029A (en) * 2018-08-23 2018-10-19 维沃移动通信有限公司 A kind of Bluetooth pairing connection method and system, bluetooth equipment and terminal
CN111669737A (en) * 2020-05-27 2020-09-15 维沃移动通信有限公司 Bluetooth device connection method and device and electronic device
CN112399638A (en) * 2020-11-17 2021-02-23 Oppo广东移动通信有限公司 Communication connection establishing method, storage medium and equipment

Also Published As

Publication number Publication date
CN112399638A (en) 2021-02-23
CN112399638B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
US9711160B2 (en) Smart dock for activating a voice recognition mode of a portable electronic device
CN107277754B (en) Bluetooth connection method and Bluetooth peripheral equipment
EP3621068A1 (en) Portable smart voice interaction control device, method and system
EP2039108B1 (en) System and method for multimedia networking with mobile telephone and headset
US8265293B2 (en) Audio signal output method and apparatus for short-range communication enabled headset
US10630826B2 (en) Information processing device
EP3507797A1 (en) Accessing multiple virtual personal assistants (vpa) from a single device
TWI531972B (en) Systems and methods for automatically invoking certain operations in mobile phones
CN107770759B (en) Bluetooth voice link establishing method and device, storage medium and mobile terminal
CN108024128B (en) Control method and device for Bluetooth music playing, terminal equipment and storage medium
US10635388B2 (en) Sound effect processing method and mobile terminal
WO2014127712A1 (en) Method and device for controlling call audio channel of communication terminal, and communication terminal
CN106940997B (en) Method and device for sending voice signal to voice recognition system
JP5973289B2 (en) Portable terminal, voice control program, and voice control method
KR20170043319A (en) Electronic device and audio ouputting method thereof
CN111131951A (en) Wireless earphone positioning method, wireless earphone, electronic equipment and storage medium
WO2022105342A1 (en) Communicational connection establishment method, storage medium and device
CN105898075A (en) Method and device for automatically adjusting contextual model
US20170118586A1 (en) Voice data transmission processing method, terminal and computer storage medium
US8817639B2 (en) Comfort noise generation by a headset that is associated with a VoIP-enabled device
WO2018201943A1 (en) Device control method, device and system
US7065354B2 (en) Battery charging apparatus capable of connecting a mobile phone with a wire telephone network and method for enabling the same
CN105159648A (en) Voice information output method and electronic equipment
CN112312368A (en) Data processing method, device, equipment and storage medium
WO2018058875A1 (en) Call switching method and system for terminal, terminal, and computer storage medium

Legal Events

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

Ref document number: 21893494

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21893494

Country of ref document: EP

Kind code of ref document: A1