[go: up one dir, main page]

CN112913321B - Method, equipment and system for carrying out call by using Bluetooth headset - Google Patents

Method, equipment and system for carrying out call by using Bluetooth headset Download PDF

Info

Publication number
CN112913321B
CN112913321B CN201880098831.3A CN201880098831A CN112913321B CN 112913321 B CN112913321 B CN 112913321B CN 201880098831 A CN201880098831 A CN 201880098831A CN 112913321 B CN112913321 B CN 112913321B
Authority
CN
China
Prior art keywords
earplug
voice data
electronic device
earbud
voice
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201880098831.3A
Other languages
Chinese (zh)
Other versions
CN112913321A (en
Inventor
王良
朱宇洪
郑勇
倪观军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN112913321A publication Critical patent/CN112913321A/en
Application granted granted Critical
Publication of CN112913321B publication Critical patent/CN112913321B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

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

Abstract

本申请公开了一种使用蓝牙耳机进行通话的方法、设备及系统,涉及短距离通信领域,利用TWS耳机较方便地实现了多于两人的通话,且降低了环境噪声对通话效果干扰的可能性。TWS耳机的主耳塞与副耳塞进行蓝牙配对;主耳塞与电子设备进行蓝牙配对;主耳塞打开主耳塞的麦克风以采集声音信号;副耳塞接收指令,响应于指令,副耳塞打开副耳塞的麦克风以采集声音信号;主耳塞和副耳塞建立第一语音链路,第一语音链路用于传输由主耳塞到副耳塞的语音数据,以及由副耳塞到主耳塞的语音数据;主耳塞和电子设备建立第二语音链路,第二语音链路用于传输由主耳塞到电子设备的语音数据,以及由电子设备到主耳塞的语音数据。

Figure 201880098831

The present application discloses a method, device and system for using a Bluetooth headset to make a call. It relates to the field of short-distance communication. The TWS headset is used to conveniently realize the call of more than two people, and reduces the possibility of environmental noise interfering with the call effect sex. The main earbud of the TWS earphone performs Bluetooth pairing with the auxiliary earbud; the main earbud performs Bluetooth pairing with the electronic device; the main earbud turns on the microphone of the main earbud to collect sound signals; Acquisition of sound signals; the primary earplugs and the secondary earplugs establish a first voice link, the first voice link is used to transmit voice data from the primary earplugs to the secondary earplugs, and from the secondary earplugs to the primary earplugs; the primary earplugs and the electronic device A second voice link is established, and the second voice link is used to transmit voice data from the main earbud to the electronic device, and voice data from the electronic device to the main earbud.

Figure 201880098831

Description

一种使用蓝牙耳机进行通话的方法、设备及系统A method, device and system for calling using a Bluetooth headset

技术领域technical field

本申请涉及短距离通信领域,尤其涉及一种使用蓝牙耳机进行通话的方法、设备及系统。The present application relates to the field of short-distance communication, in particular to a method, device and system for using a Bluetooth headset to make a call.

背景技术Background technique

手机是人们日常生活和工作中的必需品。通话是手机的基础功能,其可满足人与人之间基本的交流通信需求。有时,用户会选择将外围设备,如蓝牙耳机作为手机的音频输入/输出设备使用实现通话,以解放双手。例如,如图1所示,用户1使用与手机1连接的蓝牙耳机,与手机2的用户2进行通话,以实现两个用户的通话。当还有其他用户想通过手机1或手机2接入通话时,则需要打开手机的外放功能,这种采用外放进行多于两人的通话方式并不方便,且通话效果也容易受环境噪声的干扰。Mobile phones are a necessity in people's daily life and work. Calling is the basic function of mobile phones, which can meet the basic communication needs between people. Sometimes, users will choose to use peripheral devices, such as Bluetooth headsets, as the audio input/output devices of the mobile phone to realize calls, so as to free their hands. For example, as shown in FIG. 1 , user 1 uses a Bluetooth headset connected to mobile phone 1 to communicate with user 2 of mobile phone 2, so as to realize the communication between the two users. When there are other users who want to connect to the call through mobile phone 1 or mobile phone 2, they need to turn on the external speaker function of the mobile phone. noise interference.

发明内容Contents of the invention

本申请实施例提供一种使用蓝牙耳机进行通话的方法、设备及系统,利用真无线立体声(true wireless stereo,TWS)耳机较方便地实现了多于两人的通话,且降低了环境噪声对通话效果干扰的可能性。The embodiment of the present application provides a method, device, and system for using a Bluetooth headset to make a call. Using a true wireless stereo (TWS) headset enables more than two people to talk more conveniently, and reduces the impact of environmental noise on the call. Potential for effect interference.

本申请采用如下技术方案:This application adopts following technical scheme:

本申请的第一方面,提供一种使用蓝牙耳机进行通话的方法,该方法可以应用于TWS耳机,该TWS耳机可以包括第一耳塞和第二耳塞,第一耳塞和第二耳塞都包括麦克风;该方法可以包括:第一耳塞与第二耳塞进行蓝牙配对;第一耳塞与电子设备进行蓝牙配对;第一耳塞打开第一耳塞的麦克风以采集声音信号;第二耳塞接收指令,响应于该指令,第二耳塞打开第二耳塞的麦克风以采集声音信号;第一耳塞和第二耳塞建立第一语音链路,第一语音链路可以是双向语音链路,即第一语音链路可以用于传输由第一耳塞到第二耳塞的语音数据,以及由第二耳塞到第一耳塞的语音数据;第一耳塞和电子设备建立第二语音链路,第二语音链路可以是双向语音链路,即第二语音链路可以用于传输由第一耳塞到电子设备的语音数据,以及由电子设备到第一耳塞的语音数据。The first aspect of the present application provides a method for using a Bluetooth headset to make a call, the method can be applied to a TWS headset, the TWS headset can include a first earplug and a second earplug, and both the first earplug and the second earplug include a microphone; The method may include: Bluetooth pairing between the first earplug and the second earplug; Bluetooth pairing between the first earplug and the electronic device; the first earplug turns on the microphone of the first earplug to collect sound signals; the second earplug receives an instruction, and responds to the instruction , the second earplug turns on the microphone of the second earplug to collect sound signals; the first earplug and the second earplug establish a first voice link, and the first voice link can be a two-way voice link, that is, the first voice link can be used for Transmit voice data from the first earbud to the second earbud, and voice data from the second earbud to the first earbud; the first earbud and the electronic device establish a second voice link, and the second voice link can be a two-way voice link , that is, the second voice link can be used to transmit voice data from the first earbud to the electronic device, and voice data from the electronic device to the first earbud.

采用该技术方案,通过将与一部手机连接的TWS耳机的两个耳塞(如第一耳塞和第二耳塞)的麦克风均打开,且分享给两个用户使用,可以较方便地实现多于两人的通话,即实现多人电话会议。并且,可以降低环境噪声对通话效果干扰的可能性。With this technical solution, by turning on the microphones of the two earplugs (such as the first earplug and the second earplug) of the TWS headset connected to a mobile phone, and sharing them for use by two users, it is more convenient to realize more than two earplugs. People's conversation, that is, realize multi-person conference call. In addition, the possibility of environmental noise interfering with the call effect can be reduced.

在一种可能的实现方式中,第二耳塞接收指令,具体的可以包括:第二耳塞接收用户对第二耳塞上的第一功能键的操作。这样,通过在第二耳塞上设置第一功能键,以便于用户通过对该第一功能键的触发,使得第二耳塞打开第二耳塞的麦克风,为实现多于两人的通话提供了便利,提高了用户的使用体验。In a possible implementation manner, the second earplug receiving the instruction may specifically include: the second earplug receiving a user's operation on the first function key on the second earplug. In this way, by setting the first function key on the second earplug, it is convenient for the user to trigger the first function key to make the second earplug open the microphone of the second earplug, which facilitates the conversation between more than two people. Improved user experience.

在另一种可能的实现方式中,该方法还可以包括:第一耳塞与第二耳塞建立第一控制链路;上述第二耳塞接收指令,具体的可以包括:第二耳塞接收第一耳塞通过第一控制链路发送的指示。In another possible implementation manner, the method may further include: establishing a first control link between the first earplug and the second earplug; the second earplug receiving the instruction may specifically include: the second earplug receiving the first earplug An indication sent by the first control link.

在另一种可能的实现方式中,在上述第二耳塞接收第一耳塞通过第一控制链路发送的指示之前,该方法还可以包括:第一耳塞接收用户对第一耳塞上的第二功能键的操作;响应于对该第二功能键的操作,第一耳塞通过第一控制链路向第二耳塞发送指示。这样,通过在第一耳塞上设置第二功能键,以便于用户通过对该第二功能键的触发,使得第二耳塞打开第二耳塞的麦克风,为实现多于两人的通话提供了便利,提高了用户的使用体验。In another possible implementation manner, before the second earbud receives the indication sent by the first earbud through the first control link, the method may further include: the first earbud receives the user's request for the second function on the first earbud. The operation of the key; in response to the operation of the second function key, the first earplug sends an instruction to the second earplug through the first control link. In this way, by setting the second function key on the first earplug, it is convenient for the user to trigger the second function key to make the second earplug open the microphone of the second earplug, which facilitates the conversation between more than two people. Improved user experience.

在另一种可能的实现方式中,该方法还可以包括:第一耳塞与电子设备建立第二控制链路;在上述第二耳塞接收第一耳塞通过第一控制链路发送的指示之前,该方法还可以包括:第一耳塞接收电子设备通过第二控制链路发送的指示。例如,电子设备可以在接收到用户的指令后,向第一耳塞发送指示,以便第二耳塞根据该指示打开第二耳塞的麦克风,为实现多于两人的通话提供了便利。In another possible implementation manner, the method may further include: establishing a second control link between the first earplug and the electronic device; before the second earplug receives the instruction sent by the first earplug through the first control link, the The method may further include: the first earbud receives an indication sent by the electronic device through the second control link. For example, after receiving an instruction from the user, the electronic device may send an instruction to the first earbud, so that the second earbud turns on the microphone of the second earbud according to the instruction, which facilitates calls between more than two people.

在另一种可能的实现方式中,上述第二耳塞接收指令,具体的可以包括:第二耳塞接收TWS耳机的耳机盒发送的指示。例如,该耳机盒上设置有功能键,响应于对该功能键的触发,耳机盒可以向第二耳塞发送指示,以便第二耳塞打开第二耳塞的麦克风,为实现多于两人的通话提供了便利。In another possible implementation manner, the above-mentioned second earplug receiving the instruction may specifically include: the second earplug receiving the instruction sent by the earphone box of the TWS earphone. For example, the earphone box is provided with a function key, and in response to the triggering of the function key, the earphone box can send an instruction to the second earplug, so that the second earplug can turn on the microphone of the second earplug, providing more than two people's call. convenience.

在另一种可能的实现方式中,上述第一耳塞和第二耳塞建立第一语音链路,具体的可以包括:第一耳塞和第二耳塞建立单向语音链路,该单向语音链路用于传输由第一耳塞到第二耳塞的语音数据;响应于上述指令,第一耳塞和第二耳塞删除单向语音链路,建立第一语音链路。例如,该单向语音链路可以是蓝牙的SCO/eSCO语音链路,且该语音链路被配置为单向链路。第一语音链路可以是蓝牙的SCO/eSCO语音链路,且该语音链路被配置为双向链路。In another possible implementation manner, the establishment of the first voice link between the first earplug and the second earplug may specifically include: establishing a one-way voice link between the first earplug and the second earplug, and the one-way voice link It is used to transmit voice data from the first earplug to the second earplug; in response to the above instruction, the first earplug and the second earplug delete the one-way voice link and establish the first voice link. For example, the one-way voice link may be a Bluetooth SCO/eSCO voice link, and the voice link is configured as a one-way link. The first voice link may be a Bluetooth SCO/eSCO voice link, and the voice link is configured as a two-way link.

在另一种可能的实现方式中,上述第一耳塞和第二耳塞建立第一语音链路,具体的可以包括:第一耳塞和第二耳塞建立第一单向语音链路,该第一单向语音链路可以用于传输由第一耳塞到第二耳塞的语音数据;响应于上述指令,第一耳塞和第二耳塞建立第二单向语音链路,该第二单向语音链路可以用于传输由第二耳塞到第一耳塞的语音数据;其中,上述第一语音链路可以包括该第一单向语音链路和该第二单向语音链路。例如,该第一单向语音链路可以是蓝牙的SCO/eSCO语音链路,且该语音链路被配置为单向链路。该第二单向语音链路可以采用蓝牙的SPP建立的链路。In another possible implementation manner, the establishment of the first voice link between the first earplug and the second earplug may specifically include: establishing a first one-way voice link between the first earplug and the second earplug, and the first unidirectional The voice link can be used to transmit voice data from the first earbud to the second earbud; in response to the above instruction, the first earbud and the second earbud establish a second one-way voice link, and the second one-way voice link can It is used to transmit voice data from the second earbud to the first earbud; wherein, the above-mentioned first voice link may include the first one-way voice link and the second one-way voice link. For example, the first one-way voice link may be a Bluetooth SCO/eSCO voice link, and the voice link is configured as a one-way link. The second one-way voice link may adopt a link established by SPP of Bluetooth.

在另一种可能的实现方式中,该方法还可以包括:第一耳塞通过第一耳塞的麦克风采集声音信号,并转换为第一语音数据;第一耳塞接收电子设备通过第二语音链路发送的第二语音数据;第一耳塞将第一语音数据和第二语音数据进行叠加后,通过第一语音链路发送至第二耳塞,第二耳塞播放进行叠加后的第一语音数据和第二语音数据;第二耳塞通过第二耳塞的麦克风采集声音信号,并转换为第三语音数据;第二耳塞通过第一语音链路将第三语音数据发送至第一耳塞;第一耳塞将第二语音数据和第三语音数据进行叠加后播放;第一耳塞将第一语音数据和第三语音数据进行叠加处理后,通过第二语音链路发送至电子设备。这样,在TWS耳机的第一耳塞和第二耳塞的麦克风都处于开启状态的情况下,通过将第一耳塞和第二耳塞分别给两个用户使用,为其他用户通过电子设备加入通话提供的便利。且第一耳塞可以对来自电子设备的语音数据和第一耳塞的麦克风得到的语音数据进行叠加处理后传输给第二耳塞播放,还可以对第一耳塞的麦克风得到的语音数据和来自第二耳塞的语音数据进行叠加处理后发送给电子设备,以便电子设备传输给与该电子设备通话的电子设备,实现了多于两人的通话。In another possible implementation manner, the method may further include: the first earplug collects the sound signal through the microphone of the first earplug, and converts the sound signal into the first voice data; the second voice data; the first earplug superimposes the first voice data and the second voice data, and sends it to the second earplug through the first voice link, and the second earplug plays the superimposed first voice data and the second voice data voice data; the second earplug collects sound signals through the microphone of the second earplug, and converts them into third voice data; the second earplug sends the third voice data to the first earplug through the first voice link; the first earplug sends the second The voice data and the third voice data are superimposed and then played; the first earplug superimposes the first voice data and the third voice data, and sends them to the electronic device through the second voice link. In this way, when the microphones of the first earplug and the second earplug of the TWS headset are both on, by using the first earplug and the second earplug for two users respectively, the convenience provided for other users to join the call through electronic devices . And the first earplug can superimpose the voice data from the electronic device and the voice data obtained by the microphone of the first earplug and then transmit it to the second earplug for playback; After the voice data is superimposed and processed, it is sent to the electronic device, so that the electronic device can be transmitted to the electronic device that communicates with the electronic device, and the conversation between more than two people is realized.

在另一种可能的实现方式中,该方法还可以包括:第一耳塞向第二耳塞发送第二语音链路的连接参数;第一耳塞通过第一耳塞的麦克风采集声音信号,并转换为第一语音数据;第一耳塞接收电子设备通过第二语音链路发送的第二语音数据;第一耳塞将第一语音数据通过第一语音链路发送至第二耳塞;第二耳塞根据连接参数监听第二语音链路以获得第二语音数据;第二耳塞将第一语音数据和第二语音数据进行叠加后播放;第二耳塞通过第二耳塞的麦克风采集声音信号,并转换为第三语音数据;第二耳塞通过第一语音链路将第三语音数据发送至第一耳塞;第一耳塞将第二语音数据和第三语音数据进行叠加后播放;第一耳塞将第一语音数据和第三语音数据进行叠加处理后,通过第二语音链路发送至电子设备。这样,在TWS耳机的第一耳塞和第二耳塞的麦克风都处于开启状态的情况下,通过将第一耳塞和第二耳塞分别给两个用户使用,为其他用户通过电子设备加入通话提供的便利。且第二耳塞可以对监听到的语音数据和来自第一耳塞的语音数据进行叠加处理后播放,第一耳塞可以对第一耳塞的麦克风得到的语音数据和来自第二耳塞的语音数据进行叠加处理后发送给电子设备,以便电子设备传输给与该电子设备通话的电子设备,还可以对来自电子设备的语音数据和来自第二耳塞的语音数据进行叠加后播放,实现了多于两人的通话。In another possible implementation manner, the method may further include: the first earplug sends the connection parameters of the second voice link to the second earplug; the first earplug collects the sound signal through the microphone of the first earplug, and converts the sound signal into the One voice data; the first earplug receives the second voice data sent by the electronic device through the second voice link; the first earplug sends the first voice data to the second earplug through the first voice link; the second earplug listens according to the connection parameters The second voice link to obtain the second voice data; the second earplug superimposes the first voice data and the second voice data and plays it; the second earplug collects the sound signal through the microphone of the second earplug, and converts it into the third voice data ; The second earplug sends the third voice data to the first earplug through the first voice link; the first earplug plays after superimposing the second voice data and the third voice data; After the voice data is superimposed, it is sent to the electronic device through the second voice link. In this way, when the microphones of the first earplug and the second earplug of the TWS headset are both on, by using the first earplug and the second earplug for two users respectively, the convenience provided for other users to join the call through electronic devices . And the second earplug can superimpose the monitored voice data and the voice data from the first earplug to play, and the first earplug can superimpose the voice data obtained by the microphone of the first earplug and the voice data from the second earplug Then send it to the electronic device so that the electronic device can be transmitted to the electronic device that is talking with the electronic device, and the voice data from the electronic device and the voice data from the second earplug can also be superimposed and played, realizing more than two people's conversation .

在另一种可能的实现方式中,上述第一耳塞可以为TWS耳机的主耳塞,上述第二耳塞可以为TWS耳机的副耳塞。In another possible implementation manner, the first earplug may be a main earplug of the TWS headset, and the second earplug may be a secondary earplug of the TWS headset.

本申请的第二方面,提供一种使用蓝牙耳机进行通话的方法,该方法可以应用于电子设备,该方法可以包括:电子设备与TWS耳机的第一耳塞进行蓝牙配对;电子设备与第一耳塞建立第二控制链路;电子设备接收指令,响应于指令,电子设备通过第二控制链路向第一耳塞发送指示,该指示可以用于指示TWS耳机的第二耳塞打开第二耳塞的麦克风。The second aspect of the present application provides a method for using a Bluetooth headset to make a call, the method can be applied to an electronic device, and the method can include: the electronic device performs Bluetooth pairing with the first earplug of the TWS headset; the electronic device and the first earplug Establish a second control link; the electronic device receives an instruction, and in response to the instruction, the electronic device sends an instruction to the first earplug through the second control link, and the instruction can be used to instruct the second earplug of the TWS earphone to turn on the microphone of the second earplug.

采用该技术方案,电子设备通过向TWS耳机的第一耳塞发送指示,以打开第二耳塞的麦克风,从而使得与一部手机连接的TWS耳机的两个耳塞(如第一耳塞和第二耳塞)的麦克风均处于开启状态,且该两个耳塞可以分别分享给两个用户使用,可以较方便地实现多于两人的通话,即实现多人电话会议。并且,可以降低环境噪声对通话效果干扰的可能性。With this technical solution, the electronic device sends an instruction to the first earplug of the TWS headset to turn on the microphone of the second earplug, so that the two earplugs (such as the first earplug and the second earplug) of the TWS headset connected to a mobile phone The microphones of the earbuds are all turned on, and the two earplugs can be shared with two users, so that more than two people can talk more conveniently, that is, a multi-person conference call can be realized. In addition, the possibility of environmental noise interfering with the call effect can be reduced.

在一种可能的实现方式中,上述电子设备接收指令,具体的可以包括:电子设备接收用户对电子设备上的第三功能键的操作;或者,电子设备接收用户对电子设备显示的界面中的功能控件的操作。这样,通过在电子设备上设置第三功能键或显示的界面中包括功能控件,以便于用户通过对该第三功能键或功能控件的触发,使得第二耳塞打开第二耳塞的麦克风,为实现多于两人的通话提供了便利,提高了用户的使用体验。In a possible implementation manner, the above-mentioned electronic device receiving the instruction may specifically include: the electronic device receiving the user's operation on the third function key on the electronic device; or, the electronic device receiving the user's operation on the third function key on the electronic device; Operation of function controls. In this way, by setting a third function key on the electronic device or including a function control in the displayed interface, it is convenient for the user to trigger the third function key or function control to make the second earplug open the microphone of the second earplug. The call of more than two people provides convenience and improves user experience.

在另一种可能的实现方式中,上述界面可以为呼叫界面、通话界面、接听界面或设置界面;或者,上述功能控件可以包括在通知栏中。In another possible implementation manner, the above-mentioned interface may be a call interface, a call interface, an answering interface or a setting interface; or, the above-mentioned function control may be included in a notification bar.

在另一种可能的实现方式中,该方法还可以包括:电子设备与第一耳塞建立第二语音链路,该第二语音链路可以用于传输由第一耳塞到电子设备的语音数据,以及由电子设备到第一耳塞的语音数据;电子设备接收第二语音数据,电子设备通过第二语音链路向第一耳塞发送第二语音数据;电子设备接收第一耳塞通过第二语音链路发送的叠加处理后的第一语音数据和第三语音数据,发送叠加处理后的第一语音数据和第三语音数据,第一语音数据是第一耳塞通过第一耳塞的麦克风采集到的声音信号处理得到的语音数据,第二语音数据是第二耳塞通过第二耳塞的麦克风采集到的声音信号处理得到的语音数据。In another possible implementation manner, the method may further include: establishing a second voice link between the electronic device and the first earplug, and the second voice link may be used to transmit voice data from the first earplug to the electronic device, And the voice data from the electronic device to the first earplug; the electronic device receives the second voice data, and the electronic device sends the second voice data to the first earplug through the second voice link; the electronic device receives the first earplug through the second voice link The first voice data and the third voice data after the superposition processing are sent, and the first voice data and the third voice data after the superposition processing are sent, and the first voice data is the sound signal collected by the first earplug through the microphone of the first earplug The processed voice data, the second voice data is the voice data obtained by processing the sound signal collected by the second earplug through the microphone of the second earplug.

本申请的第三方面,提供一种使用蓝牙耳机进行通话的方法,该方法可以应用于TWS耳机,该TWS耳机可以包括第一耳塞和第二耳塞,第一耳塞和第二耳塞都可以包括麦克风;该方法可以包括:第一耳塞与第二耳塞进行蓝牙配对;第一耳塞和第二耳塞分别与电子设备进行蓝牙配对;第一耳塞打开第一耳塞的麦克风以采集声音信号;第二耳塞接收指令,响应于该指令,第二耳塞打开第二耳塞的麦克风以采集声音信号;第一耳塞和第二耳塞建立第一语音链路,该第一语音链路可以用于传输由第一耳塞到第二耳塞的语音数据,以及由第二耳塞到第一耳塞的语音数据;第一耳塞和电子设备建立第二语音链路,该第二语音链路可以用于传输由第一耳塞到电子设备的语音数据,以及由电子设备到第一耳塞的语音数据;第二耳塞和电子设备建立第三语音链路,该第三语音链路可以用于传输由第二耳塞到电子设备的语音数据,以及由电子设备到第二耳塞的语音数据。The third aspect of the present application provides a method for using a Bluetooth headset to make a call, the method can be applied to a TWS headset, the TWS headset can include a first earplug and a second earplug, and both the first earplug and the second earplug can include a microphone The method may include: the first earplug and the second earplug carry out Bluetooth pairing; the first earplug and the second earplug carry out Bluetooth pairing with the electronic device respectively; the first earplug opens the microphone of the first earplug to collect sound signals; the second earplug receives Instruction, in response to the instruction, the second earplug turns on the microphone of the second earplug to collect sound signals; the first earplug and the second earplug establish a first voice link, and the first voice link can be used to transmit the audio from the first earplug to the The voice data of the second earplug, and the voice data from the second earplug to the first earplug; the first earplug and the electronic device establish a second voice link, which can be used for transmission from the first earplug to the electronic device voice data, and the voice data from the electronic device to the first earplug; the second earplug and the electronic device establish a third voice link, and the third voice link can be used to transmit the voice data from the second earplug to the electronic device, And the voice data from the electronic device to the second earbud.

采用该技术方案,通过将与一部手机连接的TWS耳机的两个耳塞(如第一耳塞和第二耳塞)的麦克风均打开,且分享给两个用户使用,可以较方便地实现多于两人的通话,即实现多人电话会议。并且,可以降低环境噪声对通话效果干扰的可能性。With this technical solution, by turning on the microphones of the two earplugs (such as the first earplug and the second earplug) of the TWS headset connected to a mobile phone, and sharing them for use by two users, it is more convenient to realize more than two earplugs. People's conversation, that is, realize multi-person conference call. In addition, the possibility of environmental noise interfering with the call effect can be reduced.

在一种可能的实现方式中,上述第二耳塞接收指令,具体的可以包括:第二耳塞接收用户对第二耳塞上的第一功能键的操作。这样,通过在第二耳塞上设置第一功能键,以便于用户通过对该第一功能键的触发,使得第二耳塞打开第二耳塞的麦克风,为实现多于两人的通话提供了便利,提高了用户的使用体验。In a possible implementation manner, the above-mentioned second earplug receiving the instruction may specifically include: the second earplug receiving a user's operation on the first function key on the second earplug. In this way, by setting the first function key on the second earplug, it is convenient for the user to trigger the first function key to make the second earplug open the microphone of the second earplug, which facilitates the conversation between more than two people. Improved user experience.

在另一种可能的实现方式中,该方法还可以包括:第一耳塞与第二耳塞建立第一控制链路;上述第二耳塞接收指令,具体的可以包括:第二耳塞接收第一耳塞通过第一控制链路发送的指示。In another possible implementation manner, the method may further include: establishing a first control link between the first earplug and the second earplug; the second earplug receiving the instruction may specifically include: the second earplug receiving the first earplug An indication sent by the first control link.

在另一种可能的实现方式中,在上述第二耳塞接收第一耳塞通过第一控制链路发送的指示之前,该方法还可以包括:第一耳塞接收用户对第一耳塞上的第二功能键的操作;响应于对第二功能键的操作,第一耳塞通过第一控制链路向第二耳塞发送指示。这样,通过在第一耳塞上设置第二功能键,以便于用户通过对该第二功能键的触发,使得第二耳塞打开第二耳塞的麦克风,为实现多于两人的通话提供了便利,提高了用户的使用体验。In another possible implementation manner, before the second earbud receives the indication sent by the first earbud through the first control link, the method may further include: the first earbud receives the user's request for the second function on the first earbud. The operation of the key; in response to the operation of the second function key, the first earplug sends an instruction to the second earplug through the first control link. In this way, by setting the second function key on the first earplug, it is convenient for the user to trigger the second function key to make the second earplug open the microphone of the second earplug, which facilitates the conversation between more than two people. Improved user experience.

在另一种可能的实现方式中,该方法还可以包括:第一耳塞与电子设备建立第二控制链路;在上述第二耳塞接收第一耳塞通过第一控制链路发送的指示之前,该方法还可以包括:第一耳塞接收电子设备通过第二控制链路发送的指示。例如,电子设备可以在接收到用户的指令后,向第一耳塞发送指示,以便第二耳塞根据该指示打开第二耳塞的麦克风,为实现多于两人的通话提供了便利。In another possible implementation manner, the method may further include: establishing a second control link between the first earplug and the electronic device; before the second earplug receives the instruction sent by the first earplug through the first control link, the The method may further include: the first earbud receives an indication sent by the electronic device through the second control link. For example, after receiving an instruction from the user, the electronic device may send an instruction to the first earbud, so that the second earbud turns on the microphone of the second earbud according to the instruction, which facilitates calls between more than two people.

在另一种可能的实现方式中,上述第二耳塞接收指令,具体的可以包括:第二耳塞接收TWS耳机的耳机盒发送的指示。例如,该耳机盒上设置有功能键,响应于对该功能键的触发,耳机盒可以向第二耳塞发送指示,以便第二耳塞打开第二耳塞的麦克风,为实现多于两人的通话提供了便利。In another possible implementation manner, the above-mentioned second earplug receiving the instruction may specifically include: the second earplug receiving the instruction sent by the earphone box of the TWS earphone. For example, the earphone box is provided with a function key, and in response to the triggering of the function key, the earphone box can send an instruction to the second earplug, so that the second earplug can turn on the microphone of the second earplug, providing more than two people's call. convenience.

在另一种可能的实现方式中,该方法还可以包括:第二耳塞与电子设备建立第三控制链路;上述第二耳塞接收指令,具体的可以包括:第二耳塞接收电子设备通过第三控制链路发送的指示。例如,电子设备可以在接收到用户的指令后,向第二耳塞发送指示,以便第二耳塞根据该指示打开第二耳塞的麦克风,为实现多于两人的通话提供了便利。In another possible implementation manner, the method may further include: establishing a third control link between the second earbud and the electronic device; the second earbud receiving the instruction may specifically include: the second earbud receiving the electronic device through the third control link; Indication sent by the control link. For example, the electronic device may send an instruction to the second earbud after receiving an instruction from the user, so that the second earbud turns on the microphone of the second earbud according to the instruction, which facilitates a call between more than two people.

在另一种可能的实现方式中,该方法还可以包括:第一耳塞通过第一耳塞的麦克风采集声音信号,并转换为第一语音数据,第一耳塞将第一语音数据通过第一语音链路发送至第二耳塞,将第一语音数据通过第二语音链路发送至电子设备;第一耳塞接收电子设备通过第二语音链路发送的第二语音数据;第二耳塞通过第二耳塞的麦克风采集声音信号,并转换为第三语音数据,第二耳塞通过第三语音链路将第三语音数据发送至电子设备,通过第一语音链路将第三语音数据发送至第一耳塞;第二耳塞接收电子设备通过第三语音链路发送的第二语音数据;第一耳塞将第二语音数据和第三语音数据进行叠加后播放;第二耳塞将第一语音数据和第二语音数据进行叠加后播放。这样,在TWS耳机的第一耳塞和第二耳塞的麦克风都处于开启状态的情况下,通过将第一耳塞和第二耳塞分别给两个用户使用,为其他用户通过电子设备加入通话提供的便利。In another possible implementation manner, the method may further include: the first earplug collects the sound signal through the microphone of the first earplug, and converts the sound signal into the first voice data, and the first earplug transmits the first voice data through the first voice chain send the first voice data to the electronic device through the second voice link; the first earplug receives the second voice data sent by the electronic device through the second voice link; the second earplug transmits the second voice data through the second earplug The microphone collects sound signals and converts them into third voice data, the second earplug sends the third voice data to the electronic device through the third voice link, and sends the third voice data to the first earplug through the first voice link; The second earplug receives the second voice data sent by the electronic device through the third voice link; the first earplug superimposes the second voice data and the third voice data and then plays; the second earplug performs the first voice data and the second voice data Play after overlay. In this way, when the microphones of the first earplug and the second earplug of the TWS headset are both on, by using the first earplug and the second earplug for two users respectively, the convenience provided for other users to join the call through electronic devices .

在另一种可能的实现方式,上述第一耳塞可以为TWS耳机的左耳塞,上述第二耳塞可以为TWS耳机的右耳塞。或者,上述第一耳塞可以为TWS耳机的右耳塞,上述第二耳塞可以为TWS耳机的左耳塞。In another possible implementation manner, the first earplug may be the left earplug of the TWS earphone, and the second earplug may be the right earplug of the TWS earphone. Alternatively, the first earplug may be the right earplug of the TWS earphone, and the second earplug may be the left earplug of the TWS earphone.

本申请的第四方面,提供一种使用蓝牙耳机进行通话的方法,该方法可以应用于电子设备,该方法可以包括:电子设备分别与TWS耳机的第一耳塞和第二耳塞进行蓝牙配对;电子设备与第二耳塞建立第三控制链路;电子设备接收指令,响应于该指令,电子设备通过第三控制链路向第二耳塞发送指示,该指示用于指示TWS耳机的第二耳塞打开第二耳塞的麦克风。The fourth aspect of the present application provides a method for using a Bluetooth headset to make a call, the method can be applied to an electronic device, and the method can include: the electronic device performs Bluetooth pairing with the first earplug and the second earplug of the TWS headset; The device establishes a third control link with the second earplug; the electronic device receives an instruction, and in response to the instruction, the electronic device sends an instruction to the second earplug through the third control link, and the instruction is used to instruct the second earplug of the TWS earphone to turn on the second earplug. Two earbuds for the microphone.

采用该技术方案,电子设备通过向TWS耳机的第二耳塞发送指示,以打开第二耳塞的麦克风,从而使得与一部手机连接的TWS耳机的两个耳塞(如第一耳塞和第二耳塞)的麦克风均处于开启状态,且该两个耳塞可以分别分享给两个用户使用,可以较方便地实现多于两人的通话,即实现多人电话会议。并且,可以降低环境噪声对通话效果干扰的可能性。With this technical solution, the electronic device sends an instruction to the second earplug of the TWS headset to turn on the microphone of the second earplug, so that the two earplugs (such as the first earplug and the second earplug) of the TWS headset connected to a mobile phone The microphones of the earbuds are all turned on, and the two earplugs can be shared with two users, so that more than two people can talk more conveniently, that is, a multi-person conference call can be realized. In addition, the possibility of environmental noise interfering with the call effect can be reduced.

在一种可能的实现方式中,上述电子设备接收指令,具体的可以包括:电子设备接收用户对电子设备上的第三功能键的操作;或者,电子设备接收用户对电子设备显示的界面中的功能控件的操作。这样,通过在电子设备上设置第三功能键或显示的界面中包括功能控件,以便于用户通过对该第三功能键或功能控件的触发,使得第二耳塞打开第二耳塞的麦克风,为实现多于两人的通话提供了便利,提高了用户的使用体验。In a possible implementation manner, the above-mentioned electronic device receiving the instruction may specifically include: the electronic device receiving the user's operation on the third function key on the electronic device; or, the electronic device receiving the user's operation on the third function key on the electronic device; Operation of function controls. In this way, by setting a third function key on the electronic device or including a function control in the displayed interface, it is convenient for the user to trigger the third function key or function control to make the second earplug open the microphone of the second earplug. The call of more than two people provides convenience and improves user experience.

在另一种可能的实现方式中,上述界面可以为呼叫界面、通话界面、接听界面或设置界面;或者,上述功能控件可以包括在通知栏中。In another possible implementation manner, the above-mentioned interface may be a call interface, a call interface, an answering interface or a setting interface; or, the above-mentioned function control may be included in a notification bar.

在另一种可能的实现方式中,该方法还可以包括:电子设备与第一耳塞建立第二语音链路,第二语音链路用于传输由第一耳塞到电子设备的语音数据,以及由电子设备到第一耳塞的语音数据;电子设备与第二耳塞建立第三语音链路,第三语音链路用于传输由第二耳塞到电子设备的语音数据,以及由电子设备到第二耳塞的语音数据;电子设备接收第二语音数据,电子设备通过第二语音链路向第一耳塞发送第二语音数据,通过第三语音链路向第二耳塞发送第二语音数据;电子设备接收第一耳塞通过第二语音链路发送第一语音数据,接收第二耳塞通过第三语音链路发送的第三语音数据,第一语音数据是第一耳塞通过第一耳塞的麦克风采集到的声音信号处理得到的语音数据,第二语音数据是第二耳塞通过第二耳塞的麦克风采集到的声音信号处理得到的语音数据;电子设备将第一语音数据和第三语音数据进行叠加,发送叠加处理后的第一语音数据和第三语音数据。In another possible implementation manner, the method may further include: establishing a second voice link between the electronic device and the first earbud, and the second voice link is used to transmit voice data from the first earbud to the electronic device, and by Voice data from the electronic device to the first earplug; the electronic device establishes a third voice link with the second earplug, and the third voice link is used to transmit voice data from the second earplug to the electronic device, and from the electronic device to the second earplug The electronic device receives the second voice data, the electronic device sends the second voice data to the first earplug through the second voice link, and sends the second voice data to the second earplug through the third voice link; the electronic device receives the second voice data An earplug sends the first voice data through the second voice link, and receives the third voice data sent by the second earplug through the third voice link, and the first voice data is the sound signal collected by the first earplug through the microphone of the first earplug The processed voice data, the second voice data is the voice data obtained by processing the sound signal collected by the second earplug through the microphone of the second earplug; the electronic device superimposes the first voice data and the third voice data, and sends the superimposed The first voice data and the third voice data.

本申请的第五方面,提供一种TWS耳机,该TWS耳机可以包括第一耳塞和第二耳塞;第一耳塞和第二耳塞分别可以包括:处理器、存储器、无线通信模块、受话器以及麦克风;存储器、无线通信模块、受话器以及麦克风与处理器耦合,存储器用于存储计算机程序代码,计算机程序代码包括计算机指令;当第一耳塞的处理器执行第一耳塞的存储器存储的计算机指令时,第一耳塞可以执行如第一方面或第一方面的可能的实现方式,或第三方面或第三方面的可能的实现方式中任一项所述的使用蓝牙耳机进行通话的方法;当第二耳塞的处理器执行第二耳塞的处理器存储的计算机指令时,第二耳塞可以执行如第一方面或第一方面的可能的实现方式,或第三方面或第三方面的可能的实现方式中任一项所述的使用蓝牙耳机进行通话的方法。In a fifth aspect of the present application, a TWS earphone is provided. The TWS earphone may include a first earplug and a second earplug; the first earplug and the second earplug may respectively include: a processor, a memory, a wireless communication module, a receiver, and a microphone; The memory, the wireless communication module, the receiver, and the microphone are coupled to the processor, the memory is used to store computer program codes, and the computer program codes include computer instructions; when the processor of the first earplug executes the computer instructions stored in the memory of the first earplug, the first The earplug can perform the method for using a Bluetooth headset as described in any one of the first aspect or a possible implementation of the first aspect, or any one of the third aspect or a possible implementation of the third aspect; when the second earplug When the processor executes the computer instructions stored in the processor of the second earplug, the second earplug can execute any one of the first aspect or the possible implementation of the first aspect, or the third aspect or the possible implementation of the third aspect. The method for using a Bluetooth headset to make a call as described in item.

本申请的第六方面,提供一种电子设备,该电子设备可以包括:一个或多个处理器、存储器、无线通信模块以及移动通信模块;存储器、无线通信模块以及移动通信模块与一个或多个处理器耦合,存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,电子设备可以执行如第二方面或第二方面的可能的实现方式,或第四方面或第四方面的可能的实现方式中任一项所述的使用蓝牙耳机进行通话的方法。The sixth aspect of the present application provides an electronic device, which may include: one or more processors, memory, wireless communication module and mobile communication module; memory, wireless communication module and mobile communication module and one or more The processors are coupled, the memory is used to store computer program codes, the computer program codes include computer instructions, and when one or more processors execute the computer instructions, the electronic device can execute the second aspect or a possible implementation of the second aspect, or The fourth aspect or any one of the possible implementations of the fourth aspect is the method for making a call using a Bluetooth headset.

本申请的第七方面,提供一种蓝牙通信系统,该蓝牙通信系统可以包括:如第五方面所述的TWS耳机,如第六方面所述的电子设备,以及与该电子设备进行通话的电子设备。The seventh aspect of the present application provides a Bluetooth communication system, which may include: the TWS headset as described in the fifth aspect, the electronic device as described in the sixth aspect, and an electronic device that communicates with the electronic device equipment.

本申请的第八方面,提供一种计算机存储介质,其特征在于,包括计算机指令,当该计算机指令在TWS耳机的第一耳塞上运行时,使得第一耳塞可以执行如第一方面或第一方面的可能的实现方式,或第三方面或第三方面的可能的实现方式中任一项所述的使用蓝牙耳机进行通话的方法;当该计算机指令在TWS耳机的第二耳塞上运行时,使得第二耳塞可以执行如第一方面或第一方面的可能的实现方式,或第三方面或第三方面的可能的实现方式中任一项所述的使用蓝牙耳机进行通话的方法。The eighth aspect of the present application provides a computer storage medium, which is characterized in that it includes computer instructions. When the computer instructions are run on the first earbud of the TWS earphone, the first earphone can perform the operation as described in the first aspect or the first earphone. A possible implementation of the aspect, or the third aspect or the method for using a Bluetooth headset to make a call according to any one of the possible implementations of the third aspect; when the computer instruction is run on the second earplug of the TWS headset, The second earbud can implement the method for making a call using the Bluetooth headset as described in any one of the first aspect or a possible implementation manner of the first aspect, or the third aspect or a possible implementation manner of the third aspect.

本申请的第九方面,提供一种计算机存储介质,其特征在于,包括计算机指令,当该计算机指令在电子设备上运行时,使得该电子设备执行如第二方面或第二方面的可能的实现方式,或第四方面或第四方面的可能的实现方式中任一项所述的使用蓝牙耳机进行通话的方法。According to the ninth aspect of the present application, there is provided a computer storage medium, which is characterized in that it includes computer instructions, and when the computer instructions are run on the electronic device, the electronic device executes the second aspect or the possible implementation of the second aspect way, or the fourth aspect or the method for using a bluetooth headset to make a call according to any one of the possible implementations of the fourth aspect.

本申请的第十方面,本申请提供一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行上述任一项所述的使用蓝牙耳机进行通话的方法。According to the tenth aspect of the present application, the present application provides a computer program product, which, when the computer program product is run on a computer, causes the computer to execute the method for making a call using a Bluetooth headset described in any one of the above.

可以理解地,上述提供的第五方面所述的TWS耳机,第六方面所述的电子设备,第七方面所述的蓝牙通信系统,第八方面和第九方面所述的计算机存储介质,以及第十方面所述的计算机程序产品均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。It can be understood that the TWS earphone described in the fifth aspect provided above, the electronic device described in the sixth aspect, the Bluetooth communication system described in the seventh aspect, the computer storage medium described in the eighth aspect and the ninth aspect, and The computer program products described in the tenth aspect are all used to execute the corresponding methods provided above, therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here repeat.

附图说明Description of drawings

图1为现有技术提供的一种通话的场景示意图;FIG. 1 is a schematic diagram of a call scenario provided by the prior art;

图2为本申请实施例提供的一种通话系统的架构示意图;FIG. 2 is a schematic structural diagram of a call system provided by an embodiment of the present application;

图3为本申请实施例提供的一种TWS耳机的耳塞的结构示意图;FIG. 3 is a schematic structural diagram of an earplug of a TWS earphone provided in an embodiment of the present application;

图4为本申请实施例提供的一种TWS耳机的产品形态实例示意图;Fig. 4 is a schematic diagram of a product form example of a TWS earphone provided in the embodiment of the present application;

图5为本申请实施例提供的一种电子设备的结构示意图;FIG. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

图6为本申请实施例提供的一种多人电话会议方法的场景示意图;FIG. 6 is a schematic diagram of a scene of a multi-person conference call method provided by an embodiment of the present application;

图7为本申请实施例提供的一种显示界面的示意图;FIG. 7 is a schematic diagram of a display interface provided by an embodiment of the present application;

图8为本申请实施例提供的另一种显示界面的示意图;FIG. 8 is a schematic diagram of another display interface provided by the embodiment of the present application;

图9为本申请实施例提供的又一种显示界面的示意图;FIG. 9 is a schematic diagram of another display interface provided by the embodiment of the present application;

图10为本申请实施例提供的另一种多人电话会议方法的场景示意图;FIG. 10 is a schematic diagram of a scenario of another multi-person conference call method provided by the embodiment of the present application;

图11为本申请实施例提供的又一种多人电话会议方法的场景示意图;FIG. 11 is a schematic diagram of a scene of another multi-person conference call method provided by the embodiment of the present application;

图12为本申请实施例提供的另一种TWS耳机的耳塞的结构示意图;Fig. 12 is a schematic structural diagram of another TWS earphone earplug provided by the embodiment of the present application;

图13为本申请实施例提供的另一种电子设备的结构示意图。FIG. 13 is a schematic structural diagram of another electronic device provided by an embodiment of the present application.

具体实施方式detailed description

随着科技的进步,TWS耳机逐渐进入人们的视野。TWS耳机是一种特殊的蓝牙耳机,其包含两个耳机主体,如,分别称为左耳塞和右耳塞,且左右耳塞之间不需要线材的连接。With the advancement of technology, TWS earphones have gradually entered people's field of vision. The TWS earphone is a special Bluetooth earphone, which consists of two earphone bodies, for example, called the left earbud and the right earbud, and there is no need for wire connection between the left and right earbuds.

目前,TWS耳机的左耳塞和右耳塞可以作为一副双耳耳机使用,也可以单独使用。当TWS耳机的左耳塞和右耳塞作为一副双耳耳机使用时,TWS耳机的左耳塞和右耳塞可以分别与一部手机建立蓝牙连接。基于建立的蓝牙连接,TWS耳机的左耳塞和右耳塞可以作为该手机的音频输入/输出设备使用实现通话。通常情况下,TWS耳机的左耳塞和右耳塞中都包含有麦克风(microphone,MIC)。但是,当将TWS耳机的左耳塞和右耳塞作为一部手机的音频输入/输出设备使用实现通话时,目前只会有其中一个耳塞(如左耳塞或右耳塞)的麦克风是开启的,用于采集用户的声音信号。At present, the left and right earbuds of the TWS headset can be used as a pair of binaural headphones, or they can be used separately. When the left and right earbuds of the TWS headset are used as a pair of binaural headphones, the left and right earbuds of the TWS headset can respectively establish a Bluetooth connection with a mobile phone. Based on the established Bluetooth connection, the left earbud and right earbud of the TWS headset can be used as the audio input/output device of the mobile phone to realize the call. Usually, both the left earplug and the right earplug of the TWS earphone include microphones (microphone, MIC). However, when the left and right earbuds of the TWS headset are used as the audio input/output device of a mobile phone to realize a call, only one of the earbuds (such as the left earbud or the right earbud) has a microphone that is turned on. The user's voice signal is collected.

本申请实施例提供一种使用蓝牙耳机进行通话的方法,在用户将TWS耳机的左耳塞和右耳塞作为一部手机(如手机1)的音频输入/输出设备使用实现通话的情况下,当有其他用户想通过该手机1接入通话时,可以将TWS耳机的左耳塞和右耳塞的麦克风都开启,用于声音信号的采集。这样,该TWS耳机的左耳塞和右耳塞可以分别给两个用户使用(如分别给用户1和用户3使用)实现通话。从而,用户1和用户3使用手机1,以及使用手机2(与手机1进行通话的手机称为手机2)的用户2,可实现三人电话会议。The embodiment of the present application provides a method for using a Bluetooth headset to make a call. When the user uses the left earplug and the right earplug of the TWS headset as an audio input/output device of a mobile phone (such as mobile phone 1) to implement a call, when there is When other users want to connect to a call through the mobile phone 1, they can turn on the microphones of the left earbud and the right earbud of the TWS headset for sound signal collection. In this way, the left earplug and the right earplug of the TWS headset can be used by two users respectively (for example, used by user 1 and user 3 respectively) to realize a call. Thereby, user 1 and user 3 use mobile phone 1, and user 2 who uses mobile phone 2 (the mobile phone talking with mobile phone 1 is called mobile phone 2), can realize three-person conference call.

下面将结合附图对本申请实施例的实施方式进行详细描述。The implementation of the embodiment of the present application will be described in detail below with reference to the accompanying drawings.

如图2所示,本申请实施例提供的使用蓝牙耳机进行通话的方法可以应用于外围设备201,第一电子设备202以及第二电子设备203组成的通话系统中。As shown in FIG. 2 , the method for making a call using a Bluetooth headset provided by the embodiment of the present application can be applied to a call system composed of a peripheral device 201 , a first electronic device 202 and a second electronic device 203 .

其中,第一电子设备202可以作为通话的一端,与第二电子设备203进行通话。外围设备201与第一电子设备202可以采用蓝牙建立蓝牙连接。基于建立的蓝牙连接,外围设备201与第一电子设备202之间可以实现短距离的数据交互。当用户不想手持第一电子设备202与第二电子设备203进行通话时,第一电子设备202可以切换到外围设备201中进行通话。即基于上述蓝牙连接,外围设备201与第一电子设备202之间可以传输通话过程中的语音数据,以将外围设备201作为第一电子设备202的音频输入/输出设备实现通话。Wherein, the first electronic device 202 can be used as one end of the call to make a call with the second electronic device 203 . The peripheral device 201 and the first electronic device 202 may use Bluetooth to establish a Bluetooth connection. Based on the established Bluetooth connection, short-distance data interaction can be realized between the peripheral device 201 and the first electronic device 202 . When the user does not want to hold the first electronic device 202 to make a call with the second electronic device 203 , the first electronic device 202 can switch to the peripheral device 201 to make a call. That is, based on the above-mentioned Bluetooth connection, voice data during a call can be transmitted between the peripheral device 201 and the first electronic device 202 , so that the peripheral device 201 can be used as the audio input/output device of the first electronic device 202 to realize the call.

在一些实施例中,外围设备201可以是TWS耳机、蓝牙音箱、智能眼镜等设备。外围设备201包含两个主体,且这两个主体之间不需要线材连接。作为一种示例,图2中所示的外围设备201以TWS耳机为例示出。该TWS耳机包含两个主体(如耳机主体),如称为左耳塞201-1和右耳塞201-2。TWS耳机的左耳塞201-1和右耳塞201-2的结构可以如图3所示,在以下实施例中将详细介绍。In some embodiments, the peripheral device 201 may be a TWS earphone, a Bluetooth speaker, smart glasses and other devices. The peripheral device 201 includes two main bodies, and no wire connection is required between the two main bodies. As an example, the peripheral device 201 shown in FIG. 2 takes a TWS earphone as an example. The TWS earphone includes two main bodies (such as the earphone main body), such as the left earplug 201-1 and the right earplug 201-2. The structures of the left earplug 201-1 and the right earplug 201-2 of the TWS earphone can be shown in FIG. 3 , which will be described in detail in the following embodiments.

其中,TWS耳机的左耳塞201-1和右耳塞201-2可以作为一副双耳耳机,与第一电子设备202建立蓝牙连接。在通话过程中,基于建立的蓝牙连接,第一电子设备202可以将第二电子设备203发送的语音数据传输至TWS耳机的左耳塞201-1和右耳塞201-2进行播放。在用户讲话时,TWS耳机可以采集对应的声音信号,并在转换为语音数据后传输至第一电子设备202,以便第一电子设备202将该语音数据传输至第二电子设备203。Wherein, the left earplug 201-1 and the right earplug 201-2 of the TWS earphone can be used as a pair of binaural earphones to establish a Bluetooth connection with the first electronic device 202 . During the call, based on the established Bluetooth connection, the first electronic device 202 can transmit the voice data sent by the second electronic device 203 to the left earbud 201-1 and the right earbud 201-2 of the TWS headset for playback. When the user speaks, the TWS headset can collect the corresponding sound signal, and transmit it to the first electronic device 202 after being converted into voice data, so that the first electronic device 202 can transmit the voice data to the second electronic device 203 .

在本申请实施例中,TWS耳机采集声音信号并转换为语音数据具体的可以是:在一个用户使用TWS耳机实现通话时,TWS耳机的左耳塞201-1和右耳塞201-2中有一个耳塞(如右耳塞201-2)的麦克风是开启的。右耳塞201-2可以采集声音信号并转换为语音数据,然后基于上述蓝牙连接传输至第一电子设备202。在两个用户分别使用TWS耳机的左耳塞201-1和右耳塞201-2实现通话时,TWS耳机的左耳塞201-1和右耳塞201-2的麦克风均是开启的。TWS耳机的左耳塞201-1和右耳塞201-2可以分别采集声音信号并转换为语音数据,然后基于上述蓝牙连接传输至第一电子设备202。In this embodiment of the application, the TWS headset collects sound signals and converts them into voice data. Specifically, when a user uses the TWS headset to make a call, there is an earplug in the left earplug 201-1 and the right earplug 201-2 of the TWS headset. (eg, the microphone of the right earbud 201-2) is turned on. The right earbud 201-2 can collect sound signals and convert them into voice data, and then transmit them to the first electronic device 202 based on the Bluetooth connection. When two users respectively use the left earplug 201-1 and the right earplug 201-2 of the TWS headset to implement a call, the microphones of the left earplug 201-1 and the right earplug 201-2 of the TWS headset are both turned on. The left earbud 201-1 and the right earbud 201-2 of the TWS headset can respectively collect sound signals and convert them into voice data, and then transmit them to the first electronic device 202 based on the Bluetooth connection.

在一些实施例中,第一电子设备202,以及第二电子设备203可以是手机、平板电脑、桌面型、膝上型、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobilepersonal computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personal digitalassistant,PDA)、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备等设备,本申请实施例对该设备的具体形态不作特殊限制。另外,在本申请实施例中,第一电子设备202和第二电子设备203的设备形态可以相同,如第一电子设备202和第二电子设备203均为手机。第一电子设备202和第二电子设备203的设备形态也可以不同,如第一电子设备202为手机,第二电子设备203为平板电脑。在本申请实施例中,电子设备(第一电子设备202以及第二电子设备203)的结构可以如图5所示,在以下实施例中将详细介绍。In some embodiments, the first electronic device 202 and the second electronic device 203 may be mobile phones, tablet computers, desktops, laptops, handheld computers, notebook computers, ultra-mobile personal computers (ultra-mobilepersonalcomputer, UMPC) , netbooks, and cellular phones, personal digital assistants (personal digital assistants, PDAs), augmented reality (augmented reality, AR)\virtual reality (virtual reality, VR) equipment and other equipment, the embodiment of the present application does not make a special description of the specific form of the equipment limit. In addition, in the embodiment of the present application, the first electronic device 202 and the second electronic device 203 may have the same device form, for example, both the first electronic device 202 and the second electronic device 203 are mobile phones. The device forms of the first electronic device 202 and the second electronic device 203 may also be different, for example, the first electronic device 202 is a mobile phone, and the second electronic device 203 is a tablet computer. In the embodiment of the present application, the structures of the electronic devices (the first electronic device 202 and the second electronic device 203 ) may be shown in FIG. 5 , which will be described in detail in the following embodiments.

请参考图3,为本申请实施例提供的一种TWS耳机的耳塞(左耳塞或右耳塞)的结构示意图。如图3所示,TWS耳机的耳塞可以包括:处理器301、存储器302、传感器303、无线通信模块304、至少一个受话器305、至少一个麦克风306以及电源307。Please refer to FIG. 3 , which is a schematic structural diagram of an earplug (left earplug or right earplug) of a TWS earphone provided by an embodiment of the present application. As shown in FIG. 3 , the earplug of the TWS earphone may include: a processor 301 , a memory 302 , a sensor 303 , a wireless communication module 304 , at least one receiver 305 , at least one microphone 306 and a power supply 307 .

其中,存储器302可以用于存储应用程序代码,如用于与TWS耳机的另一个耳塞建立蓝牙连接,以及使得耳塞与电子设备,如上述第一电子设备202进行配对的应用程序代码。处理器301可以控制执行上述应用程序代码,以实现本申请实施例中TWS耳机的耳塞的功能。Among them, the memory 302 can be used to store application program codes, such as application program codes for establishing a Bluetooth connection with another earplug of the TWS earphone, and pairing the earplug with an electronic device, such as the above-mentioned first electronic device 202 . The processor 301 can control and execute the above application program code, so as to realize the function of the earplug of the TWS earphone in the embodiment of the present application.

存储器302中还可以存储有用于唯一标识该耳塞的蓝牙地址,以及存储有TWS耳机的另一个耳塞的蓝牙地址。另外,该存储器302中还可以存储有与该耳塞之前成功配对过的电子设备的连接数据。例如,该连接数据可以是与该耳塞成功配对过的电子设备的蓝牙地址。基于该连接数据,该耳塞能够与该电子设备自动配对,而不必配置与其之间的连接,如进行合法性验证等。上述蓝牙地址可以为媒体访问控制(Media Access Control,MAC)地址。The memory 302 may also store a Bluetooth address for uniquely identifying the earplug, and a Bluetooth address of another earplug of the TWS earphone. In addition, the memory 302 may also store connection data with electronic devices that have been successfully paired with the earbuds before. For example, the connection data may be the Bluetooth address of the electronic device successfully paired with the earbud. Based on the connection data, the earbud can be automatically paired with the electronic device without having to configure the connection therebetween, such as performing legality verification. The foregoing Bluetooth address may be a Media Access Control (Media Access Control, MAC) address.

传感器303可以为距离传感器或接近光传感器。耳塞的处理器301可以通过该传感器303确定是否被用户佩戴。例如,耳塞的处理器301可以利用接近光传感器来检测耳塞附近是否有物体,从而确定耳塞是否被用户佩戴。在确定耳塞被佩戴时,耳塞的处理器301可以打开受话器305。在一些实施例中,该耳塞还可以包括骨传导传感器,结合成骨传导耳机。该骨传导传感器可以获取声部振动骨块的振动信号,处理器301解析出语音信号,实现语音信号对应的控制功能。在另一些实施例中,该耳塞还可以包括触摸传感器或压力传感器,分别用于检测用户的触摸操作和按压操作。在另一些实施例中,该耳塞还可以包括指纹传感器,用于检测用户指纹,识别用户身份等。在另一些实施例中,该耳塞还可以包括环境光传感器,耳塞的处理器301可以根据该环境光传感器感知的环境光的亮度,自适应调节一些参数,如音量大小。The sensor 303 may be a distance sensor or a proximity light sensor. The processor 301 of the earbud can determine whether it is worn by the user through the sensor 303 . For example, the processor 301 of the earbud may use a proximity light sensor to detect whether there is an object near the earbud, thereby determining whether the earbud is worn by the user. Upon determining that the earbud is worn, the processor 301 of the earbud may turn on the receiver 305 . In some embodiments, the earbud may also include a bone conduction sensor, in combination with a bone conduction earphone. The bone conduction sensor can acquire the vibration signal of the vibrating bone block of the vocal part, and the processor 301 analyzes the voice signal to realize the control function corresponding to the voice signal. In some other embodiments, the earplug may further include a touch sensor or a pressure sensor, which are respectively used to detect a user's touch operation and press operation. In some other embodiments, the earplug may also include a fingerprint sensor for detecting the user's fingerprint, identifying the user's identity, and the like. In some other embodiments, the earplug may also include an ambient light sensor, and the processor 301 of the earplug may adaptively adjust some parameters, such as volume, according to the brightness of the ambient light sensed by the ambient light sensor.

无线通信模块304,用于支持TWS耳机的左右耳塞之间,以及耳塞与各种电子设备,如上述第一电子设备202之间的短距离数据交互。在一些实施例中,该无线通信模块304可以为蓝牙收发器。TWS耳机的耳塞可以通过该蓝牙收发器与上述第一电子设备202之间建立蓝牙连接,以实现两者之间的短距离数据交互。TWS耳机的耳塞也可以通过该蓝牙收发器与另一个耳塞建立蓝牙连接,以实现两者之间的短距离数据交互。The wireless communication module 304 is used to support short-distance data interaction between the left and right earbuds of the TWS headset, and between the earbuds and various electronic devices, such as the above-mentioned first electronic device 202 . In some embodiments, the wireless communication module 304 can be a Bluetooth transceiver. The earplug of the TWS earphone can establish a Bluetooth connection with the first electronic device 202 through the Bluetooth transceiver, so as to realize short-distance data interaction between the two. The earbuds of the TWS headset can also establish a Bluetooth connection with another earbud through the Bluetooth transceiver to achieve short-distance data interaction between the two.

受话器305,也可以称为“听筒”,可以用于将音频电信号转换成声音信号并播放。该音频电信号即为音频数据,音频数据可以包括本申请实施例中的语音数据。例如,当TWS耳机的耳塞作为上述第一电子设备202的音频输入/输出设备实现通话时,受话器305可以将接收到的语音数据转换为声音信号并播放。The receiver 305, also called "earpiece", can be used to convert audio electrical signals into audio signals and play them. The audio electrical signal is audio data, and the audio data may include voice data in the embodiment of the present application. For example, when the earplug of the TWS earphone is used as the audio input/output device of the first electronic device 202 to implement a call, the receiver 305 can convert the received voice data into a sound signal and play it.

麦克风306,也可以称为“话筒”,“传声器”,用于将声音信号转换为音频电信号。例如,当TWS耳机的耳塞作为上述第一电子设备202的音频输入/输出设备实现通话时,在用户说话(如通话或发语音消息)时,麦克风306可以采集用户的声音信号,并将其转换为音频电信号。The microphone 306, which may also be referred to as "microphone" or "microphone", is used to convert sound signals into audio electrical signals. For example, when the earplug of the TWS headset is used as the audio input/output device of the first electronic device 202 to implement a call, when the user speaks (such as talking or sending a voice message), the microphone 306 can collect the user's voice signal and convert it for audio signals.

电源307,可以用于向TWS耳机的耳塞包含的各个部件供电。在一些实施例中,该电源307可以是电池,如可充电电池。The power supply 307 can be used to supply power to various components contained in the earplug of the TWS earphone. In some embodiments, the power source 307 may be a battery, such as a rechargeable battery.

通常,TWS耳机会配有一耳机盒(如,图4中所示的401)。如图4所示,该耳机盒401可以包括腔体401-1和盒盖401-2。腔体401-1可以用于收纳TWS耳机的左右耳塞。如结合图2,如图4所示,耳机盒401的腔体401-1可以用于收纳TWS耳机的左耳塞201-1和右耳塞201-2。另外,该耳机盒401还可以为TWS耳机的左右耳塞充电。相应的,在一些实施例中,上述TWS耳机的耳塞还可以包括:输入/输出接口308。Usually, a TWS earphone is equipped with an earphone box (for example, 401 shown in FIG. 4 ). As shown in FIG. 4 , the earphone box 401 may include a cavity 401-1 and a box cover 401-2. The cavity 401-1 can be used to accommodate the left and right earplugs of the TWS earphone. As shown in FIG. 4 in conjunction with FIG. 2 , the cavity 401-1 of the earphone box 401 can be used to accommodate the left earplug 201-1 and the right earplug 201-2 of the TWS earphone. In addition, the earphone box 401 can also charge the left and right earbuds of the TWS earphone. Correspondingly, in some embodiments, the above-mentioned earplugs of the TWS earphone may further include: an input/output interface 308 .

输入/输出接口308可以用于提供TWS耳机的耳塞与耳机盒(如上述耳机盒401的腔体401-1)之间的任何有线连接。在一些实施例中,输入/输出接口308可以为电连接器。例如,当TWS耳机的耳塞置于耳机盒401的腔体401-1中时,TWS耳机的耳塞可以通过该电连接器与耳机盒301(如与耳机盒401的输入/输出接口)电连接。在该电连接建立后,耳机盒401可以为TWS耳机的耳塞的电源307充电。在该电连接建立后,TWS耳机的耳塞还可以与耳机盒401进行数据通信。例如,TWS耳机的耳塞的处理器301可以通过该电连接接收来自耳机盒401的配对指令。该配对命令用于指示TWS耳机的耳塞的处理器301打开无线通信模块304,从而使得TWS耳机的耳塞可以采用对应的无线通信协议(如蓝牙)与第一电子设备202进行配对。The input/output interface 308 can be used to provide any wired connection between the earplug of the TWS earphone and the earphone box (such as the cavity 401-1 of the earphone box 401 mentioned above). In some embodiments, input/output interface 308 may be an electrical connector. For example, when the earplug of the TWS earphone is placed in the cavity 401-1 of the earphone box 401, the earplug of the TWS earphone can be electrically connected with the earphone box 301 (such as the input/output interface of the earphone box 401) through the electrical connector. After the electrical connection is established, the earphone box 401 can charge the power source 307 of the earplug of the TWS earphone. After the electrical connection is established, the earplug of the TWS earphone can also perform data communication with the earphone box 401 . For example, the processor 301 of the earbud of the TWS earphone can receive a pairing instruction from the earphone box 401 through the electrical connection. The pairing command is used to instruct the processor 301 of the earbud of the TWS headset to turn on the wireless communication module 304, so that the earbud of the TWS headset can be paired with the first electronic device 202 using a corresponding wireless communication protocol (such as Bluetooth).

当然,上述TWS耳机的耳塞还可以不包括输入/输出接口308。在这种情况下,耳塞可以基于通过上述无线通信模块304与耳机盒401建立的蓝牙连接,实现充电或者数据通信功能。Of course, the earplugs of the above-mentioned TWS earphones may not include the input/output interface 308 . In this case, the earbuds can implement charging or data communication functions based on the Bluetooth connection established with the earphone box 401 through the above-mentioned wireless communication module 304 .

另外,在一些实施例中,耳机盒(如上述耳机盒401)还可以包括处理器,存储器等部件。该存储器可以用于存储应用程序代码,并由耳机盒401的处理器来控制执行,以实现耳机盒401的功能。例如。当用户打开耳机盒401的盒盖401-2时,耳机盒401的处理器通过执行存储在存储器中的应用程序代码,可以响应于用户打开盒盖401-2的操作向TWS耳机的耳塞发送配对命令等。In addition, in some embodiments, the earphone box (such as the aforementioned earphone box 401 ) may further include components such as a processor and a memory. The memory can be used to store application program codes, which are controlled and executed by the processor of the earphone box 401 to realize the functions of the earphone box 401 . For example. When the user opens the cover 401-2 of the earphone box 401, the processor of the earphone box 401 executes the application program code stored in the memory, and can respond to the user's operation of opening the cover 401-2 to send a pairing message to the earplug of the TWS earphone. order etc.

可以理解的是,本申请实施例示意的结构并不构成对TWS耳机的耳塞的具体限定。其可以具有比图3中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。例如,该耳塞还可以包括指示灯(可以指示耳塞的电量等状态)、防尘网(可以配合听筒使用)等部件。图3中所示出的各种部件可以在包括一个或多个信号处理或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It can be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the earplug of the TWS earphone. It may have more or fewer components than shown in FIG. 3 , may combine two or more components, or may have a different configuration of components. For example, the earplug may also include components such as an indicator light (which can indicate the status of the earplug, such as the power of the earplug), and a dust filter (which can be used in conjunction with the earpiece). The various components shown in Figure 3 may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing or application specific integrated circuits.

请参考图5,为本申请实施例提供的一种电子设备的结构示意图。图2所示的通话系统中的第一电子设备202,第二电子设备203的结构可以如图5所示。Please refer to FIG. 5 , which is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The structures of the first electronic device 202 and the second electronic device 203 in the communication system shown in FIG. 2 may be as shown in FIG. 5 .

如图5所示,电子设备可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。As shown in FIG. 5, the electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, Antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, A display screen 194, a subscriber identification module (subscriber identification module, SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, bone conduction sensor 180M, etc.

可以理解的是,本申请实施例示意的结构并不构成对电子设备的具体限定。在另一些实施例中,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structure shown in the embodiment of the present application does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than shown, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.

处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor ( image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. . Wherein, different processing units may be independent devices, or may be integrated in one or more processors.

其中,控制器可以是电子设备的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。Wherein, the controller may be the nerve center and command center of the electronic equipment. The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.

处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled.

在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuitsound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purposeinput/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuitsound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver (universal asynchronous receiver) /transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and/or A universal serial bus (universal serial bus, USB) interface, etc.

可以理解的是,本实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备的结构限定。在另一些实施例中,电子设备也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship among the modules shown in this embodiment is only a schematic illustration, and does not constitute a structural limitation of the electronic device. In other embodiments, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

充电管理模块140用于从充电器接收充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is configured to receive a charging input from a charger. While the charging management module 140 is charging the battery 142 , it can also provide power for electronic devices through the power management module 141 .

电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 . The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be disposed in the processor 110 . In some other embodiments, the power management module 141 and the charging management module 140 may also be set in the same device.

电子设备的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

天线1和天线2用于发射和接收电磁波信号。移动通信模块150可以提供应用在电子设备上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. The mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied to electronic devices. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like. The mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.

调制解调处理器可以包括调制器和解调器。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。A modem processor may include a modulator and a demodulator. In some embodiments, the modem processor may be a stand-alone device. In some other embodiments, the modem processor may be independent from the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.

无线通信模块160可以提供应用在电子设备上的包括无线局域网(wirelesslocal area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system ( Global navigation satellite system (GNSS), frequency modulation (frequency modulation, FM), near field communication (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.

在一些实施例中,电子设备的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code divisionmultiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(globalnavigation satellite system,GLONASS),北斗卫星导航系统(beidou navigationsatellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。例如,在本申请实施例中,电子设备可以利用无线通信模块160,通过无线通信技术,如蓝牙(BT)与外围设备建立蓝牙连接。基于建立的蓝牙连接,电子设备可以向外围设备发送语音数据,还可以接收来自外围设备的语音数据。In some embodiments, the antenna 1 of the electronic device is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology, etc. The GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (globalnavigation satellite system, GLONASS), a Beidou satellite navigation system (beidou navigationsatellite system, BDS), a quasi-zenith satellite system (quasi-zenith) satellite system (QZSS) and/or satellite based augmentation systems (SBAS). For example, in the embodiment of the present application, the electronic device can use the wireless communication module 160 to establish a Bluetooth connection with the peripheral device through a wireless communication technology, such as Bluetooth (BT). Based on the established Bluetooth connection, the electronic device can send voice data to and receive voice data from the peripheral device.

电子设备通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device realizes the display function through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emittingdiode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrixorganic light emitting diode,AMOLED),柔性发光二极管(flex light-emittingdiode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot lightemitting diodes,QLED)等。在一些实施例中,电子设备可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos and the like. The display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrixorganic light-emitting diode). , AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (quantum dot light emitting diodes, QLED), etc. In some embodiments, the electronic device may include 1 or N display screens 194, where N is a positive integer greater than 1.

电子设备可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device can realize the shooting function through ISP, camera 193 , video codec, GPU, display screen 194 and application processor.

ISP用于处理摄像头193反馈的数据。在一些实施例中,ISP可以设置在摄像头193中。摄像头193用于捕获静态图像或视频。在一些实施例中,电子设备可以包括1个或N个摄像头193,N为大于1的正整数。视频编解码器用于对数字视频压缩或解压缩。电子设备可以支持一种或多种视频编解码器。The ISP is used for processing the data fed back by the camera 193 . In some embodiments, the ISP may be located in the camera 193 . Camera 193 is used to capture still images or video. In some embodiments, the electronic device may include 1 or N cameras 193, where N is a positive integer greater than 1. Video codecs are used to compress or decompress digital video. An electronic device may support one or more video codecs.

外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.

内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备的各种功能应用以及数据处理。例如,在本申请实施例中,处理器110可以通过执行存储在内部存储器121中的指令,通过无线通信模块160与外围设备建立蓝牙连接,以及与外围设备进行短距离数据交互,以通过外围设备实现通话等功能。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flashstorage,UFS)等。在本申请实施例中,在电子设备与外围设备之间采用无线通信技术,如蓝牙建立了蓝牙连接后,电子设备可以将外围设备的蓝牙地址存储在内部存储器121中。在一些实施例中,当外围设备为包含两个主体的设备,如TWS耳机时,TWS耳机的左右耳塞分别有各自的蓝牙地址,当TWS耳机的左右耳塞作为一副双耳耳机与电子设备建立蓝牙连接时,电子设备可以将TWS耳机的左右耳塞的蓝牙地址关联存储在内部存储器121中。The internal memory 121 may be used to store computer-executable program codes including instructions. The processor 110 executes various functional applications and data processing of the electronic device by executing instructions stored in the internal memory 121 . For example, in the embodiment of the present application, the processor 110 can establish a Bluetooth connection with the peripheral device through the wireless communication module 160 by executing instructions stored in the internal memory 121, and perform short-distance data interaction with the peripheral device to pass the peripheral device Realize functions such as calling. The internal memory 121 may include an area for storing programs and an area for storing data. Wherein, the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like. The storage data area can store data (such as audio data, phone book, etc.) created during the use of the electronic device. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like. In the embodiment of the present application, after a wireless communication technology such as Bluetooth is used to establish a Bluetooth connection between the electronic device and the peripheral device, the electronic device may store the Bluetooth address of the peripheral device in the internal memory 121 . In some embodiments, when the peripheral device is a device that includes two main bodies, such as a TWS earphone, the left and right earplugs of the TWS earphone have their own Bluetooth addresses respectively. When connected via Bluetooth, the electronic device can associate and store the Bluetooth addresses of the left and right earbuds of the TWS earphone in the internal memory 121 .

电子设备可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如通话,音乐播放,录音等。The electronic device can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as calls, music playback, recording, etc.

音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 .

扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备可以通过扬声器170A收听音乐,或收听免提通话。Speaker 170A, also referred to as a "horn", is used to convert audio electrical signals into sound signals. The electronic device can listen to music through speaker 170A, or listen to hands-free calls.

受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。Receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device receives a call or a voice message, it can listen to the voice by placing the receiver 170B close to the human ear.

麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备可以设置至少一个麦克风170C。在另一些实施例中,电子设备可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C. The electronic device may be provided with at least one microphone 170C. In other embodiments, the electronic device can be provided with two microphones 170C, which can also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the electronic device can also be equipped with three, four or more microphones 170C to realize sound signal collection, noise reduction, identify sound sources, and realize directional recording functions, etc.

在本申请实施例中,当电子设备与外围设备,如TWS耳机建立了蓝牙连接时,TWS耳机可以作为电子设备的音频输入/输出设备使用。示例性的,音频模块170可以接收无线通信模块160传递的音频电信号,实现通过TWS耳机接听电话等功能。例如,在用户打电话的过程中,TWS耳机(如TWS耳机的左右耳塞或左右耳塞中的一个耳塞)可以采集用户的声音信号,并转换为音频电信号后发送给电子设备的无线通信模块160。无线通信模块160将该音频电信号传输给音频模块170。音频模块170可以将接收到的音频电信号转换为数字音频信号,并进行编码后传递至移动通信模块150。由移动通信模块150传输至通话对端设备,以实现通话。In the embodiment of the present application, when the electronic device establishes a Bluetooth connection with a peripheral device, such as a TWS earphone, the TWS earphone can be used as an audio input/output device of the electronic device. Exemplarily, the audio module 170 can receive the audio electrical signal transmitted by the wireless communication module 160, so as to implement functions such as answering calls through the TWS earphone. For example, when the user is making a call, the TWS headset (such as the left and right earplugs of the TWS headset or one of the left and right earplugs) can collect the user's voice signal, and convert it into an audio signal and send it to the wireless communication module 160 of the electronic device. . The wireless communication module 160 transmits the audio electrical signal to the audio module 170 . The audio module 170 can convert the received electrical audio signal into a digital audio signal, encode it and transmit it to the mobile communication module 150 . The mobile communication module 150 transmits the data to the call peer device to realize the call.

耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 170D is used for connecting wired earphones. The earphone interface 170D may be the USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.

压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。当有力作用于压力传感器180A,电极之间的电容改变。电子设备根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备根据压力传感器180A检测所述触摸操作强度。电子设备也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, pressure sensor 180A may be disposed on display screen 194 . There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. Electronics determine the strength of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the electronic device detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device may also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view short messages is executed. When a touch operation whose intensity is greater than or equal to the first pressure threshold acts on the icon of the short message application, the instruction of creating a new short message is executed.

陀螺仪传感器180B可以用于确定电子设备的运动姿态。陀螺仪传感器180B还可以用于导航,体感游戏场景。气压传感器180C用于测量气压。磁传感器180D包括霍尔传感器。加速度传感器180E可检测电子设备在各个方向上(一般为三轴)加速度的大小。距离传感器180F,用于测量距离。电子设备可以利用接近光传感器180G检测用户手持电子设备贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。环境光传感器180L用于感知环境光亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备是否在口袋里,以防误触。指纹传感器180H用于采集指纹。电子设备可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。温度传感器180J用于检测温度。触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备的表面,与显示屏194所处的位置不同。骨传导传感器180M可以获取振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。The gyro sensor 180B can be used to determine the motion posture of the electronic device. The gyro sensor 180B can also be used for navigation and somatosensory game scenes. The air pressure sensor 180C is used to measure air pressure. The magnetic sensor 180D includes a Hall sensor. The acceleration sensor 180E can detect the acceleration of the electronic device in various directions (generally three axes). The distance sensor 180F is used to measure the distance. The electronic device can use the proximity light sensor 180G to detect that the user holds the electronic device close to the ear to make a call, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode, automatic unlock and lock screen in pocket mode. The ambient light sensor 180L is used for sensing ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device is in the pocket to prevent accidental touch. The fingerprint sensor 180H is used to collect fingerprints. Electronic devices can use the collected fingerprint features to unlock fingerprints, access application locks, take pictures with fingerprints, answer incoming calls with fingerprints, etc. The temperature sensor 180J is used to detect temperature. Touch sensor 180K, also known as "touch panel". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194 . In some other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device, which is different from the position of the display screen 194 . The bone conduction sensor 180M can acquire vibration signals. The bone conduction sensor 180M can also contact the human pulse and receive the blood pressure beating signal. The application processor can analyze the heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.

按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备可以接收按键输入,产生与电子设备的用户设置以及功能控制有关的键信号输入。马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The keys 190 include a power key, a volume key and the like. The key 190 may be a mechanical key. It can also be a touch button. The electronic device can receive key input and generate key signal input related to user settings and function control of the electronic device. The motor 191 can generate a vibrating reminder. The motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. The indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.

SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备的接触和分离。电子设备可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备中,不能和电子设备分离。The SIM card interface 195 is used for connecting a SIM card. The SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to realize contact and separation with the electronic device. The electronic device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards may be the same or different. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device interacts with the network through the SIM card to realize functions such as calling and data communication. In some embodiments, the electronic device adopts an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.

示例性的,以下实施例中均以第一电子设备和第二电子设备为手机(如,参见图6、图10或图11,第一电子设备和第二电子设备可以分别为手机1和手机2),外围设备为TWS耳机,TWS耳机包括左耳塞和右耳塞为例进行说明。Exemplarily, in the following embodiments, the first electronic device and the second electronic device are mobile phones (for example, referring to Fig. 6, Fig. 10 or Fig. 11, the first electronic device and the second electronic device may be mobile phone 1 and mobile phone 2), the peripheral device is a TWS headset, and the TWS headset includes a left earbud and a right earbud as an example for illustration.

其中,手机1可以与手机2进行通话。TWS耳机的左耳塞和右耳塞可以作为一副双耳耳机,与手机1建立蓝牙连接。基于建立的蓝牙连接,手机1与TWS耳机之间可以传输通话过程中的语音数据,以通过TWS耳机实现通话功能。Wherein, the mobile phone 1 can communicate with the mobile phone 2 . The left and right earbuds of the TWS headset can be used as a pair of binaural headphones to establish a Bluetooth connection with the mobile phone 1. Based on the established Bluetooth connection, the voice data during the call can be transmitted between the mobile phone 1 and the TWS headset, so as to realize the call function through the TWS headset.

在TWS耳机作为一副双耳耳机使用时,TWS耳机与手机1之间蓝牙连接的连接方式有三种,如分别称为:转发方式,监听方式和双发方式。在转发方式和监听方式中,左耳塞和右耳塞中的一个耳塞可以作为TWS耳机的主耳塞,另一个耳塞可以作为TWS耳机的副耳塞。如,左耳塞作为TWS耳机的主耳塞,右耳塞作为TWS耳机的副耳塞。又如,右耳塞作为TWS耳机的主耳塞,左耳塞作为TWS耳机的副耳塞。并且,TWS耳机的左右耳塞的主副角色可以互换。When the TWS earphone is used as a pair of binaural earphones, there are three connection methods for the Bluetooth connection between the TWS earphone and the mobile phone 1, such as: forwarding mode, monitoring mode and dual transmission mode. In the forwarding mode and monitoring mode, one of the left and right earplugs can be used as the main earplug of the TWS headset, and the other earplug can be used as the secondary earplug of the TWS headset. For example, the left earbud is used as the main earbud of the TWS headset, and the right earbud is used as the secondary earbud of the TWS headset. For another example, the right earbud is used as the main earbud of the TWS headset, and the left earbud is used as the secondary earbud of the TWS headset. Moreover, the primary and secondary roles of the left and right earplugs of the TWS headset can be interchanged.

其中,在转发方式中,TWS耳机的主耳塞与手机1建立蓝牙连接。基于该蓝牙连接,主耳塞与手机1之间可以进行语音数据的传输。主耳塞和副耳塞建立蓝牙连接。基于该蓝牙连接,主耳塞可以将手机1传输的语音数据转发给副耳塞。Among them, in the forwarding mode, the main earbud of the TWS headset establishes a Bluetooth connection with the mobile phone 1 . Based on the Bluetooth connection, voice data can be transmitted between the main earbud and the mobile phone 1 . The main earbuds and the secondary earbuds establish a Bluetooth connection. Based on the Bluetooth connection, the main earbud can forward the voice data transmitted by the mobile phone 1 to the secondary earbud.

在监听方式中,TWS耳机的主耳塞与手机1建立蓝牙连接。基于该蓝牙连接,主耳塞与手机1之间可以进行语音数据的传输。副耳塞通过监听主耳塞和手机1之间的链路获取语音数据。In the monitoring mode, the main earbud of the TWS headset establishes a Bluetooth connection with the mobile phone 1. Based on the Bluetooth connection, voice data can be transmitted between the main earbud and the mobile phone 1 . The auxiliary earbuds obtain voice data by monitoring the link between the main earbuds and the mobile phone 1 .

在双发方式中,TWS耳机的左耳塞和右耳塞分别与手机1建立蓝牙连接。基于各自建立的蓝牙连接,左耳塞和右耳塞分别与手机1之间可以进行语音数据的传输。In the dual-shot mode, the left and right earbuds of the TWS headset establish a Bluetooth connection with the mobile phone 1 respectively. Based on the bluetooth connections established respectively, voice data can be transmitted between the left earbud and the right earbud and the mobile phone 1 respectively.

为了便于理解,以下结合附图及TWS耳机与手机1之间蓝牙连接的连接方式的不同,对本申请实施例提供的使用蓝牙耳机进行通话的方法进行详细介绍。For ease of understanding, the method for using a Bluetooth headset to make a call provided by the embodiment of the present application will be described in detail below in conjunction with the drawings and the different connection modes of the Bluetooth connection between the TWS headset and the mobile phone 1 .

如图6所示,在本实施例中,以TWS耳机与手机1之间的蓝牙连接的连接方式为转发方式,手机1的用户称为用户1,手机2的用户称为用户2为例进行介绍。As shown in Figure 6, in this embodiment, the connection mode of the Bluetooth connection between the TWS headset and the mobile phone 1 is used as the forwarding mode, the user of the mobile phone 1 is called user 1, and the user of the mobile phone 2 is called user 2 as an example. introduce.

TWS耳机的左耳塞和右耳塞建立控制链路1。The left earbud and the right earbud of the TWS headset establish control link 1.

当用户1希望使用TWS耳机实现通话时,可打开TWS耳机的耳机盒的盒盖。TWS耳机的左耳塞和右耳塞自动开机,或被按下功能键后开机。若左耳塞和右耳塞之前没有完成蓝牙配对,左耳塞和右耳塞可自动进行蓝牙配对,或者左耳塞和右耳塞在被按下配对功能键后进行蓝牙配对。若左耳塞和右耳塞之前已完成了蓝牙配对,则蓝牙配对过程可省略。在蓝牙配对完成后,左耳塞和右耳塞之间可采用蓝牙建立控制链路1。其中,控制链路1可以为本申请中的第一控制链路。When user 1 wishes to use the TWS earphone to make a call, he can open the cover of the earphone box of the TWS earphone. The left and right earbuds of the TWS earbuds are turned on automatically, or turned on after the function key is pressed. If the Bluetooth pairing between the left earbud and the right earbud has not been completed before, the left earbud and the right earbud can automatically perform Bluetooth pairing, or the left earbud and the right earbud can perform Bluetooth pairing after the pairing function key is pressed. If the Bluetooth pairing of the left earbud and the right earbud has been completed before, the Bluetooth pairing process can be omitted. After the Bluetooth pairing is completed, a control link 1 can be established between the left earbud and the right earbud using Bluetooth. Wherein, the control link 1 may be the first control link in this application.

TWS耳机的左右耳塞中作为主耳塞的耳塞(如右耳塞)与手机1建立控制链路2。Among the left and right earplugs of the TWS earphone, the earplug (such as the right earplug) serving as the main earplug establishes a control link 2 with the mobile phone 1 .

其中,TWS耳机的左右耳塞中的任一耳塞都可以作为主耳塞。在一些实施例中,左右耳塞中从耳机盒中先被拿出的耳塞可以作为主耳塞,另一个耳塞可以作为副耳塞。或者,左右耳塞包括配对功能键,配对功能键先被按下的耳塞可以作为主耳塞,另一个耳塞可以作为副耳塞。或者,左右耳塞中先被佩戴到耳朵上的耳塞可以作为主耳塞,另一个耳塞可以作为副耳塞。或者,左右耳塞中哪个耳塞是主耳塞,哪个耳塞是副耳塞是预先定义的,如TWS耳机出厂时便配置左右耳塞中一个耳塞为主耳塞,另一个耳塞为副耳塞。其中,主耳塞可以为本申请中的第一耳塞,副耳塞可以为本申请中的第二耳塞。Among them, any of the left and right earplugs of the TWS headset can be used as the main earplug. In some embodiments, the earplug that is taken out of the earphone box among the left and right earplugs can be used as the main earplug, and the other earplug can be used as the secondary earplug. Alternatively, the left and right earplugs include a pairing function key, the earplug whose pairing function key is pressed first can be used as the main earplug, and the other earplug can be used as the secondary earplug. Alternatively, the earplug that is worn on the ear first among the left and right earplugs can be used as the main earplug, and the other earplug can be used as the secondary earplug. Or, which of the left and right earplugs is the main earplug and which earplug is the secondary earplug is pre-defined. For example, when the TWS headset leaves the factory, one of the left and right earplugs is configured as the primary earplug, and the other earplug is the secondary earplug. Wherein, the main earplug may be the first earplug in this application, and the secondary earplug may be the second earplug in this application.

以依据被佩戴到耳朵上的先后顺序确定主副耳塞为例。示例性的,TWS耳机的右耳塞先被用户1佩戴到耳朵上。如,右耳塞中包括接近光传感器。在右耳塞被佩戴在耳朵上时,右耳塞可以利用接近光传感器检测到该右耳塞附近有物体,从而确定该右耳塞被用户佩戴。在确定被佩戴后,右耳塞可以作为TWS耳机的主耳塞对外发送配对广播。如果手机1已经打开了蓝牙功能,则手机1可以接收到该配对广播并提示用户已经扫描到相关的蓝牙设备(如TWS耳机)。当手机1上该TWS耳机作为连接设备被选中后,手机1可与作为主耳塞的右耳塞进行蓝牙配对。在蓝牙配对完成后,手机1可与作为主耳塞的右耳塞采用蓝牙建立控制链路2。当然,如果手机1与TWS耳机的右耳塞在之前已完成了蓝牙配对,则蓝牙配对过程可省略。也就是说,手机1在接收到上述配对广播后,可自动与作为主耳塞的右耳塞采用蓝牙建立控制链路2。其中,控制链路2可以为本申请中的第二控制链路。Take determining the primary and secondary earplugs according to the order in which they are worn on the ears as an example. Exemplarily, the right earbud of the TWS earphone is first worn by user 1 on the ear. For example, a proximity light sensor is included in the right earbud. When the right earplug is worn on the ear, the right earplug can use the proximity light sensor to detect that there is an object near the right earplug, thereby determining that the right earplug is worn by the user. After it is determined to be worn, the right earbud can serve as the main earbud of the TWS headset and send a pairing broadcast to the outside world. If the mobile phone 1 has turned on the Bluetooth function, the mobile phone 1 can receive the pairing broadcast and prompt the user that a related Bluetooth device (such as a TWS earphone) has been scanned. When the TWS headset on mobile phone 1 is selected as the connection device, mobile phone 1 can perform Bluetooth pairing with the right earbud as the main earbud. After the Bluetooth pairing is completed, the mobile phone 1 can establish a control link 2 with the right earbud as the main earbud using Bluetooth. Of course, if the Bluetooth pairing between the mobile phone 1 and the right earbud of the TWS headset has been completed before, the Bluetooth pairing process can be omitted. That is to say, after receiving the above-mentioned pairing broadcast, the mobile phone 1 can automatically establish a control link 2 with the right earbud as the main earbud by using Bluetooth. Wherein, the control link 2 may be the second control link in this application.

在本申请实施例中,TWS耳机的左右耳塞之间建立的控制链路1,以及作为主耳塞的右耳塞与手机1之间建立的控制链路2,均是用来传输控制数据(如接听电话,挂断电话等)的。要实现通话过程中语音数据的传输,TWS耳机的左右耳塞之间,以及作为主耳塞的右耳塞与手机1之间还需要采用蓝牙建立语音链路。在一些实施例中,左右耳塞之间的语音链路(如称为语音链路1,语音链路1可以为本申请中的第一语音链路),可以是在主副耳塞确认后建立的,也可以是在有语音业务(如接收到来电,接收到接听电话的操作,或接收到拨打电话的操作)时建立的。作为主耳塞的右耳塞与手机1之间的语音链路(如称为语音链路2,语音链路2可以为本申请中的第二语音链路),可以是手机1与作为主耳塞的右耳塞蓝牙配对完成后建立的,也可以是在有语音业务时建立的。In the embodiment of this application, the control link 1 established between the left and right earbuds of the TWS headset, and the control link 2 established between the right earplug as the main earbud and the mobile phone 1, are used to transmit control data (such as answering call, hang up, etc.). To realize the transmission of voice data during a call, Bluetooth is also required to establish a voice link between the left and right earbuds of the TWS headset, and between the right earbud as the main earbud and the mobile phone 1 . In some embodiments, the voice link between the left and right earbuds (such as called voice link 1, voice link 1 can be the first voice link in this application), can be established after the confirmation of the primary and secondary earplugs , can also be established when there is a voice service (such as receiving an incoming call, receiving an operation of answering a call, or receiving an operation of making a call). The voice link between the right earbud as the main earplug and the mobile phone 1 (such as called voice link 2, which can be the second voice link in this application), can be the mobile phone 1 and the mobile phone 1 as the main earplug. It can be established after the Bluetooth pairing of the right earbud is completed, or it can be established when there is a voice service.

在一些实施例中,TWS耳机的左右耳塞中作为主耳塞的耳塞还可以打开该耳塞的麦克风,用于声音信号的采集。示例性的,在右耳塞确定被佩戴后,右耳塞还可打开右耳塞的麦克风。在右耳塞作为TWS耳机的主耳塞时,左耳塞则作为TWS耳机的副耳塞。In some embodiments, among the left and right earplugs of the TWS earphone, the earplug that is the main earplug can also turn on the microphone of the earplug for sound signal collection. Exemplarily, after the right earbud is determined to be worn, the right earbud may also turn on the microphone of the right earbud. When the right earplug is used as the main earplug of the TWS headset, the left earplug is used as the secondary earplug of the TWS headset.

另外,由于TWS耳机作为一副双耳耳机使用实现通话时,TWS耳机的左右耳塞通常是给一个用户(如用户1)使用的,即只需要采集一个用户的声音信号。因此,TWS耳机的左右耳塞中仅会有作为主耳塞的耳塞的麦克风是被打开的,作为副耳塞的耳塞的麦克风是可以不被打开的。例如,作为主耳塞的右耳塞的麦克风被打开,作为副耳塞的左耳塞的麦克风不被打开。在一些实施例中,右耳塞可以通过上述控制链路1通知作为副耳塞的左耳塞,右耳塞是TWS耳机的主耳塞。这样,即使左耳塞被佩戴到耳朵上,左耳塞也不会打开左耳塞的麦克风。In addition, since the TWS earphone is used as a pair of binaural earphones to realize the call, the left and right earplugs of the TWS earphone are usually used by one user (such as user 1), that is, only the sound signal of one user needs to be collected. Therefore, among the left and right earplugs of the TWS earphone, only the microphone of the earplug that is the main earplug is turned on, and the microphone of the earplug that is the secondary earplug may not be turned on. For example, the microphone of the right earbud serving as the main earbud is turned on, and the microphone of the left earbud serving as the secondary earbud is not turned on. In some embodiments, the right earplug can notify the left earplug as the secondary earplug through the above-mentioned control link 1 that the right earplug is the main earplug of the TWS earphone. In this way, even if the left earbud is worn on the ear, the left earbud will not turn on the microphone of the left earbud.

在想要实现多人电话会议,如用户3想要通过手机1接入通话时,可以将TWS耳机的左右耳塞中的一个耳塞分享给该用户3使用。也就是说,用户1和用户3可以分别使用TWS耳机中的左右耳塞进行通话。而在多人进行电话会议的过程中,不仅有采集用户1的声音信号的需求,还有采集用户3的声音信号的需求。因此,不仅需要打开TWS耳机的中作为主耳塞的耳塞的麦克风,作为副耳塞的耳塞的麦克风也是需要打开的。在本申请实施例中,用户可以通过执行第一操作,以打开作为副耳塞的耳塞的麦克风,从而实现TWS耳机的左右耳塞的麦克风都处于开启状态。When wanting to implement a multi-person conference call, for example, when user 3 wants to access a call through mobile phone 1, one of the left and right earplugs of the TWS headset can be shared with user 3 for use. That is to say, user 1 and user 3 can respectively use the left and right earbuds in the TWS headset to make a call. In the process of multiple people conducting a conference call, there is not only a demand for collecting the voice signal of user 1, but also a demand for collecting the voice signal of user 3. Therefore, it is not only necessary to turn on the microphone of the earplug as the main earplug in the TWS earphone, but also the microphone of the earplug as the secondary earplug. In the embodiment of the present application, the user can perform the first operation to turn on the microphones of the earplugs serving as the pair of earplugs, so that the microphones of the left and right earplugs of the TWS earphone are all turned on.

例如,如果作为副耳塞的左耳塞未被佩戴,用户1通常会将左耳塞分享给用户3使用。在用户执行第一操作后,作为副耳塞的左耳塞可以打开左耳塞的麦克风,以实现TWS耳机的左右耳塞的麦克风都处于开启状态。For example, if the left earplug serving as a pair of earplugs is not worn, user 1 will usually share the left earplug with user 3 for use. After the user performs the first operation, the left earplug as a pair of earplugs can turn on the microphone of the left earplug, so that the microphones of the left and right earplugs of the TWS earphone are all turned on.

又例如,如果作为副耳塞的左耳塞被用户1佩戴,用户1可能会将TWS耳机的右耳塞或左耳塞分享给用户3使用。For another example, if the left earbud as a pair of earbuds is worn by user 1, user 1 may share the right or left earbud of the TWS headset with user 3 for use.

若用户1要将作为副耳塞的左耳塞分享给用户3使用,在用户执行第一操作后,作为副耳塞的左耳塞可以打开左耳塞的麦克风,以实现TWS耳机的左右耳塞的麦克风都处于开启状态。If user 1 wants to share the left earbud as a pair of earbuds with user 3, after the user performs the first operation, the left earbud as a pair of earbuds can turn on the microphone of the left earbud, so that the microphones of the left and right earbuds of the TWS headset are all on state.

若用户1要将作为主耳塞的右耳塞分享给用户3使用,用户先将右耳塞从耳朵上拿下,后执行第一操作,那么,在用户1将右耳塞从耳朵上拿下时,右耳塞可以检测到右耳塞从被佩戴变为未被佩戴,此时,左右耳塞可以进行主副角色交换。进行主副角色交换后,左耳塞作为TWS耳机的主耳塞,右耳塞作为TWS耳机的副耳塞。且,作为副耳塞的右耳塞需将右耳塞的麦克风关闭,作为主耳塞的左耳塞需将左耳塞的麦克风打开。然后,在用户执行第一操作后,作为副耳塞的右耳塞可以打开右耳塞的麦克风,以实现TWS耳机的左右耳塞的麦克风都处于开启状态。If user 1 wants to share the right earplug as the main earplug with user 3, the user first removes the right earplug from the ear, and then performs the first operation. Then, when user 1 removes the right earplug from the ear, the right earplug The earbuds can detect that the right earbud has changed from being worn to not being worn. At this time, the left and right earbuds can switch roles. After the primary and secondary roles are swapped, the left earbud acts as the primary earplug of the TWS headset, and the right earplug acts as the secondary earplug of the TWS headset. And, the right earbud as the auxiliary earbud needs to turn off the microphone of the right earbud, and the left earbud as the main earbud needs to turn on the microphone of the left earbud. Then, after the user performs the first operation, the right earplug as the auxiliary earplug can turn on the microphone of the right earplug, so that the microphones of the left and right earplugs of the TWS earphone are all turned on.

若用户1要将作为主耳塞的右耳塞分享给用户3使用,用户先执行第一操作,后将右耳塞从耳朵上拿下,那么,在用户执行第一操作后,作为副耳塞的左耳塞可以打开左耳塞的麦克风,以实现TWS耳机的左右耳塞的麦克风都处于开启状态。然后,在用户1将右耳塞从耳朵上拿下时,右耳塞可以检测到右耳塞从被佩戴变为未被佩戴,此时,左右耳塞可以进行主副角色交换。进行主副角色交换后,左耳塞将作为TWS耳机的主耳塞,右耳塞作为TWS耳机的副耳塞。在一些实施例中,在用户1将右耳塞从耳朵上拿下时,左右耳塞也可以不进行主副角色交换。If user 1 wants to share the right earplug as the primary earplug with user 3, the user first performs the first operation, and then removes the right earplug from the ear. Then, after the user performs the first operation, the left earplug as the secondary earplug You can turn on the microphone of the left earbud so that the microphones of the left and right earbuds of the TWS headset are all on. Then, when the user 1 removes the right earplug from the ear, the right earplug can detect that the right earplug has changed from being worn to not being worn, and at this time, the left and right earplugs can switch roles of the primary and secondary roles. After the primary and secondary roles are swapped, the left earbud will be the primary earplug of the TWS headset, and the right earplug will be the secondary earplug of the TWS headset. In some embodiments, when the user 1 takes the right earbud off the ear, the left and right earbuds may not be switched between the primary and secondary roles.

在一些实施例中,当作为主耳塞的右耳塞检测到右耳塞从被佩戴变为未被佩戴时,左右耳塞进行角色交换的具体过程可以是:当前作为主耳塞的右耳塞将状态信息传输到左耳塞。该状态信息可以包括TWS耳机的蓝牙地址(如MAC地址)。该状态信息可以用于指示左耳塞使用TWS耳机的蓝牙地址代替右耳塞作为主耳塞,并接替右耳塞与手机1之间的蓝牙连接(即控制链路2)。In some embodiments, when the right earbud as the master earbud detects that the right earbud is changed from being worn to not being worn, the specific process for the role exchange of the left and right earbuds may be: the right earbud currently serving as the master earbud transmits status information to left earplug. The status information may include the Bluetooth address (such as MAC address) of the TWS earphone. This status information can be used to instruct the left earbud to use the Bluetooth address of the TWS earphone instead of the right earbud as the main earbud, and take over the Bluetooth connection between the right earbud and the mobile phone 1 (ie control link 2).

另外,在本申请实施例中,如果TWS耳机的左右耳塞中只有作为主耳塞的耳塞的麦克风是被打开的,那么,在通话过程中,仅会有主耳塞向副耳塞发送语音数据的需求。因此,上述语音链路1可以是由主耳塞到副耳塞的单向语音链路。而如果TWS耳机的左右耳塞的麦克风均是被打开的,在通话过程中,不仅会有主耳塞向副耳塞发送语音数据的需求,还会有副耳塞向主耳塞发送语音数据的需求。因此,上述语音链路1可以是由主耳塞到副耳塞,以及由副耳塞到主耳塞的双向语音链路。在一些实施例中,左右耳塞之间采用蓝牙建立语音链路1具体的可以是:左右耳塞之间在主副耳塞确认后或有语音业务时或蓝牙配对完成后,采用蓝牙建立双向语音链路。在一些实施例中,该双向语音链路可以是蓝牙的同步面向连接/扩展同步面向连接(synchronous connection-oriented/extended SCO,SCO/eSCO)语音链路,且该语音链路被配置为双向链路。或者,左右耳塞之间在主副耳塞确认后或有语音业务时,先采用蓝牙建立由主耳塞到副耳塞的单向语音链路(如,该单向语音链路可以是蓝牙的SCO/eSCO语音链路,且该语音链路被配置为单向链路),然后,在接收到用户的第一操作后,再采用蓝牙建立副耳塞到主耳塞的单向语音链路(如,该单向语音链路可以是采用蓝牙的串行端口配置文件(Serial Port Profile,SPP)建立的链路),这样,便建立了左右耳塞之间的双向语音链路。或者,左右耳塞之间在主副耳塞确认后或有语音业务时,先采用蓝牙建立由主耳塞到副耳塞的单向语音链路(如,该单向语音链路可以是蓝牙的SCO/eSCO语音链路,且该语音链路被配置为单向链路),然后,在接收到用户的第一操作后,先将之前建立的单向语音链路拆除,再采用蓝牙建立主耳塞到副耳塞,以及副耳塞到主耳塞的双向语音链路(如,该双向语音链路是蓝牙的SCO/eSCO语音链路,且该语音链路被配置为双向链路)。需要说明的是,在本申请实施例中,SCO/eSCO语音链路的建立过程可以参考蓝牙标准协议中对应内容的描述,此处不再详细赘述。对于上述语音链路2,无论TWS耳机仅打开其中一个耳塞的麦克风,还是两个耳塞的麦克风都打开,在通话过程中,都有主耳塞向手机1发送语音数据的需求,以及手机1向主耳塞发送语音数据的需求,因此,上述语音链路2为双向语音链路。即手机1可以通过该语音链路2向主耳塞发送语音数据,主耳塞也可以通过该语音链路2向手机1发送语音数据。In addition, in the embodiment of the present application, if only the microphone of the earplug as the primary earplug is turned on among the left and right earplugs of the TWS earphone, then only the primary earplug needs to send voice data to the secondary earplug during a call. Therefore, the above voice link 1 may be a one-way voice link from the primary earbud to the secondary earbud. And if the microphones of the left and right earbuds of the TWS headset are turned on, during a call, not only the main earbuds will need to send voice data to the secondary earbuds, but also the secondary earbuds will need to send voice data to the main earbuds. Therefore, the above-mentioned voice link 1 can be a two-way voice link from the main earbud to the auxiliary earbud, and from the auxiliary earbud to the main earbud. In some embodiments, Bluetooth is used to establish a voice link 1 between the left and right earplugs. Specifically, it can be: after the main and secondary earplugs are confirmed or when there is a voice service or after Bluetooth pairing is completed, a two-way voice link is established using Bluetooth. . In some embodiments, the two-way voice link may be a Bluetooth synchronous connection-oriented/extended synchronous connection-oriented (synchronous connection-oriented/extended SCO, SCO/eSCO) voice link, and the voice link is configured as a two-way link road. Or, between the left and right earbuds, after the primary and secondary earplugs are confirmed or when there is a voice service, Bluetooth is first used to establish a one-way voice link from the primary earplug to the secondary earplug (for example, the one-way voice link can be Bluetooth SCO/eSCO voice link, and the voice link is configured as a one-way link), and then, after receiving the user's first operation, use Bluetooth to establish a one-way voice link from the secondary earbuds to the main earbuds (for example, the one-way voice link The voice link may be a link established by using a Bluetooth serial port profile (Serial Port Profile, SPP), so that a two-way voice link between the left and right earbuds is established. Or, between the left and right earbuds, after the primary and secondary earplugs are confirmed or when there is a voice service, Bluetooth is first used to establish a one-way voice link from the primary earplug to the secondary earplug (for example, the one-way voice link can be Bluetooth SCO/eSCO voice link, and the voice link is configured as a one-way link), and then, after receiving the user's first operation, first remove the previously established one-way voice link, and then use Bluetooth to establish the primary earbud to secondary earbud Earbuds, and a two-way voice link from the secondary earbud to the primary earbud (eg, the two-way voice link is a Bluetooth SCO/eSCO voice link, and the voice link is configured as a two-way link). It should be noted that, in the embodiment of the present application, for the establishment process of the SCO/eSCO voice link, reference may be made to the description of the corresponding content in the Bluetooth standard protocol, which will not be described in detail here. For the above-mentioned voice link 2, whether the TWS headset only turns on the microphone of one of the earbuds, or the microphones of both earbuds are turned on, during the call, there is a demand for the main earbud to send voice data to the mobile phone 1, and the mobile phone 1 to the main phone. Earbuds are required to send voice data, so the voice link 2 above is a two-way voice link. That is, the mobile phone 1 can send voice data to the main earbud through the voice link 2, and the main earbud can also send voice data to the mobile phone 1 through the voice link 2.

在本申请实施例中,上述第一操作的实现方式可以有多种。In the embodiment of the present application, there may be multiple implementation manners for the foregoing first operation.

方式一:TWS耳机的耳塞或耳机盒上配置有功能键,称为会议模式功能键或其他名称,本发明实施例对此不做限定。该功能键为耳塞或耳机盒上新增的按键,或者复用耳塞或耳机盒上已有的按键。第一操作为触发该功能键,例如按下,或拨动,或触摸,或敲击等方式触发该功能键。以下以会议模式功能键为例进行说明,在该方式下,在该功能键被触发后,副耳塞打开副耳塞的麦克风的具体实现可以是:例如,以TWS耳机的耳机盒上配置有会议模式功能键,耳机盒保存有左右耳塞的主副角色信息为例。在该会议模式功能键被触发时,TWS耳机的耳机盒可以向主耳塞发送指示,该指示用于指示副耳塞打开副耳塞的麦克风。主耳塞可以通过上述控制链路1将该指示发送给副耳塞。或者,耳机盒也可以向副耳塞发送该指示。副耳塞根据接收到的指示可以打开副耳塞的麦克风。需要说明的是,耳机盒可以通过与主耳塞或副耳塞之间无线连接(如蓝牙连接)向主耳塞或副耳塞发送上述指示。当副耳塞未被拿出耳机盒时,耳机盒也可以通过与副耳塞之间的有线连接,向副耳塞发送上述指示。又例如,以TWS耳机的耳塞上配置有会议模式功能键为例。当副耳塞的会议模式功能键(其中,副耳塞的会议模式功能键可以为本申请中的第一功能键)被触发时,副耳塞可打开副耳塞的麦克风。或者,当主耳塞的会议模式功能键(其中,主耳塞的会议模式功能键可以为本申请中的第二功能键)被触发时,主耳塞可通过上述控制链路1向副耳塞发送指示。副耳塞根据接收到的指示可打开副耳塞的麦克风。Method 1: The earbuds or earphone box of the TWS headset are equipped with function keys, which are called meeting mode function keys or other names, which are not limited in the embodiment of the present invention. The function key is a newly added button on the earplug or the earphone box, or reuses an existing button on the earplug or the earphone box. The first operation is to trigger the function key, for example, press, or toggle, or touch, or tap the function key to trigger the function key. The following uses the meeting mode function key as an example to illustrate. In this mode, after the function key is triggered, the specific implementation of the auxiliary earbuds turning on the microphone of the auxiliary earbuds can be: Function keys, the earphone box saves the primary and secondary role information of the left and right earbuds as an example. When the meeting mode function key is triggered, the headphone box of the TWS earphone can send an instruction to the main earbud, and the instruction is used to instruct the secondary earphone to turn on the microphone of the secondary earphone. The main earplug can send the indication to the secondary earplug through the above-mentioned control link 1 . Alternatively, the earphone box may also send the indication to the pair of earbuds. The pair of earbuds can turn on the microphone of the pair of earbuds according to the received instruction. It should be noted that the earphone box can send the above indication to the main earbuds or the secondary earbuds through a wireless connection (such as a Bluetooth connection) with the main earbuds or the secondary earbuds. When the auxiliary earplugs are not taken out of the earphone box, the earphone box may also send the above indication to the auxiliary earplugs through a wired connection with the auxiliary earplugs. As another example, take the conference mode function keys configured on the earplugs of the TWS headset as an example. When the conference mode function key of the secondary earbuds (wherein the conference mode function key of the secondary earplugs may be the first function key in this application) is triggered, the secondary earplugs can turn on the microphone of the secondary earplugs. Or, when the meeting mode function key of the main earbud (the meeting mode function key of the main earbud can be the second function key in this application) is triggered, the main earbud can send an instruction to the auxiliary earbud through the above-mentioned control link 1 . The pair of earbuds can turn on the microphone of the pair of earbuds according to the received instruction.

方式二:手机1上配置有硬件的功能键,该功能键称为会议模式功能键或其他名称,本发明实施例对此不做限定。该硬件的功能键可以为本申请中的第三功能键。该功能键为手机1新增的按键,或者复用手机1上已有的按键(如音量键,或电源键等)。第一操作为触发该功能键,例如按下,或拨动,或触摸,或敲击等方式触发该功能键。以下以会议模式功能键为例进行说明,在该方式下,在该功能键被触发后,副耳塞打开副耳塞的麦克风的具体实现可以是:例如,在会议模式功能键被触发时,手机1可以通过上述控制链路2向TWS耳机的主耳塞发送指示,该指示用于指示副耳塞打开副耳塞的麦克风。主耳塞可以通过上述控制链路1将该指示发送给副耳塞。副耳塞根据接收到的指示可以打开副耳塞的麦克风。Method 2: The mobile phone 1 is equipped with a hardware function key, which is called a conference mode function key or other names, which is not limited in the embodiment of the present invention. The hardware function key may be the third function key in this application. The function key is a newly added key on the mobile phone 1, or reuses an existing key on the mobile phone 1 (such as a volume key, or a power key, etc.). The first operation is to trigger the function key, for example, press, or toggle, or touch, or tap the function key to trigger the function key. The function key of the conference mode is used as an example for illustration below. In this mode, after the function key is triggered, the specific implementation of the secondary earbuds to turn on the microphone of the secondary earplug can be: for example, when the function key of the conference mode is triggered, the mobile phone 1 An instruction can be sent to the main earbud of the TWS headset through the above-mentioned control link 2, and the instruction is used to instruct the secondary earphone to turn on the microphone of the secondary earphone. The main earplug can send the indication to the secondary earplug through the above-mentioned control link 1 . The pair of earbuds can turn on the microphone of the pair of earbuds according to the received instruction.

方式三:手机1可以在界面中显示功能控件,该功能控件称为会议模式控件,或多人模式控件,或其他名称,本发明实施例对此不做限定。第一操作为触发该功能控件,例如,单击,或双击,或重压等。以下以会议模式控件为例进行说明,示例性的,该会议模式控件可以包括在手机1的通知栏中。该会议模式控件也可以包括在手机1显示的呼叫界面,通话界面,接听界面或设置界面等界面中。例如,手机1为主叫设备,手机2为被叫设备。手机1可以接收拨打电话的操作。如图7所示,响应于该拨打电话的操作,手机1可以显示呼叫界面701,该呼叫界面701中包括会议模式控件702。当手机1接收到用户对该会议模式控件702的触发时,响应于该触发,手机1可以打开副耳塞的麦克风。响应于该拨打电话的操作,手机1还可以发送呼叫请求消息给手机2。在手机2的用户选择接听来电时,手机1与手机2可以进行通话。又例如,如图8所示,在通话过程中,手机1可以显示通话界面801,该通话界面801中包括会议模式控件802。当手机1接收到用户对该会议模式控件802的触发时,响应于该触发,手机1可以打开副耳塞的麦克风。又例如,手机1为被叫设备,手机2为主叫设备。在手机1接收到来自手机2的呼叫请求消息时,如图9所示,手机1可以显示接听界面901,该接听界面901中包括会议模式控件902。当手机1接收到用户对该会议模式控件902的触发时,响应于该触发,手机1可以打开副耳塞的麦克风。该接听界面901中还可以包括接听按钮903。手机1还可以接收用户对该接听接听按钮903的点击操作,响应于该点击操作,手机1可以与手机2进行通话。在该方式下,手机1打开副耳塞的麦克风的具体实现可以是:例如,在会议模式控件(如上述会议模式控件702,会议模式控件802,会议模式控件902)被触发时,手机1可以通过上述控制链路2向TWS耳机的主耳塞发送指示,该指示用于指示副耳塞打开副耳塞的麦克风。主耳塞可以通过上述控制链路1将该指示发送给副耳塞。副耳塞根据接收到的指示可以打开副耳塞的麦克风。Mode 3: The mobile phone 1 can display a functional control on the interface. The functional control is called a conference mode control, or a multi-person mode control, or other names, which are not limited in this embodiment of the present invention. The first operation is to trigger the function control, for example, single click, or double click, or heavy pressure, etc. The following takes the conference mode control as an example for illustration. Exemplarily, the conference mode control may be included in the notification bar of the mobile phone 1 . The conference mode control can also be included in the call interface, call interface, answer interface or setting interface displayed on the mobile phone 1 . For example, mobile phone 1 is the calling device, and mobile phone 2 is the called device. The mobile phone 1 can receive the operation of making a call. As shown in FIG. 7 , in response to the operation of making a call, the mobile phone 1 may display a call interface 701 , and the call interface 701 includes a conference mode control 702 . When the mobile phone 1 receives a trigger of the conference mode control 702 from the user, in response to the trigger, the mobile phone 1 can turn on the microphone of the pair of earbuds. In response to the operation of making a call, mobile phone 1 may also send a call request message to mobile phone 2 . When the user of the mobile phone 2 chooses to answer the incoming call, the mobile phone 1 and the mobile phone 2 can communicate. For another example, as shown in FIG. 8 , during a call, the mobile phone 1 may display a call interface 801 , and the call interface 801 includes a conference mode control 802 . When the mobile phone 1 receives the trigger of the conference mode control 802 from the user, in response to the trigger, the mobile phone 1 can turn on the microphone of the pair of earbuds. For another example, mobile phone 1 is the called device, and mobile phone 2 is the calling device. When the mobile phone 1 receives the call request message from the mobile phone 2 , as shown in FIG. 9 , the mobile phone 1 may display an answering interface 901 , and the answering interface 901 includes a conference mode control 902 . When the mobile phone 1 receives the trigger of the conference mode control 902 from the user, in response to the trigger, the mobile phone 1 can turn on the microphone of the pair of earbuds. The answering interface 901 may also include an answering button 903 . The mobile phone 1 can also receive the user's click operation on the answer button 903 , and in response to the click operation, the mobile phone 1 can communicate with the mobile phone 2 . In this way, the specific implementation of the mobile phone 1 turning on the microphone of the secondary earplugs can be: for example, when the conference mode control (such as the above-mentioned conference mode control 702, conference mode control 802, and conference mode control 902) is triggered, the mobile phone 1 can pass The above-mentioned control link 2 sends an instruction to the main earphone of the TWS earphone, and the instruction is used to instruct the secondary earphone to turn on the microphone of the secondary earphone. The main earplug can send the indication to the secondary earplug through the above-mentioned control link 1 . The pair of earbuds can turn on the microphone of the pair of earbuds according to the received instruction.

在TWS耳机的左右耳塞的麦克风都处于开启状态的情况下,用户1使用TWS耳机的一个耳塞(如右耳塞),用户3使用TWS耳机的另一个耳塞(如左耳塞)以及使用手机2的用户2,三者便可进行通话了,即可实现三人电话会议。其中,结合图6,继续以右耳塞作为TWS耳机的主耳塞,左耳塞作为TWS耳机的副耳塞为例。When the microphones of the left and right earbuds of the TWS headset are turned on, user 1 uses one earbud of the TWS headset (such as the right earbud), user 3 uses the other earplug of the TWS headset (such as the left earbud) and the user of the mobile phone 2 2. The three can talk, and a three-person conference call can be realized. Among them, in combination with Figure 6, continue to take the right earplug as the main earplug of the TWS headset, and the left earplug as the secondary earplug of the TWS headset as an example.

在一些实施例中,在用户2讲话过程中,手机2可以采集用户2的声音信号。手机2将采集到的声音信号转换为语音数据,如称为语音数据2后,可以发送给手机1。其中,语音数据2可以为本申请中的第二语音数据。In some embodiments, the mobile phone 2 may collect the voice signal of the user 2 during the speaking process of the user 2 . The mobile phone 2 converts the collected sound signal into voice data, such as voice data 2, which can be sent to the mobile phone 1. Wherein, the voice data 2 may be the second voice data in this application.

手机1接收到来自手机2的语音数据2后,可以通过上述语音链路2将该语音数据2发送给作为TWS耳机的主耳塞的右耳塞。After the mobile phone 1 receives the voice data 2 from the mobile phone 2, it can send the voice data 2 to the right earbud as the main earbud of the TWS earphone through the above-mentioned voice link 2.

作为副耳塞的左耳塞可以通过左耳塞的麦克风采集声音信号,并转换为语音数据,如称为语音数据3。左耳塞可以通过上述语音链路1将该语音数据3发送给右耳塞。需要说明的是,如果用户3有讲话,那该语音数据3可以为用户3发出声音信号处理得到的语音数据。如果用户3没有讲话,那么该语音数据3可以为静音数据。其中,语音数据3可以为本申请中的第三语音数据。The left earbud as a pair of earbuds can collect sound signals through the microphone of the left earbud and convert them into voice data, such as voice data 3 . The left earbud can send the voice data 3 to the right earbud through the above-mentioned voice link 1 . It should be noted that, if the user 3 speaks, the voice data 3 may be the voice data obtained by processing the sound signal emitted by the user 3 . If the user 3 does not speak, the voice data 3 may be silent data. Wherein, the voice data 3 may be the third voice data in this application.

右耳塞可以将上述语音数据2和语音数据3进行叠加处理(或称为混音处理),以实现混音效果。如,进行叠加后的语音数据称为语音数据2-3。右耳塞可以通过右耳塞的受话器(即听筒)播放该语音数据2-3。The right earplug can perform superposition processing (or called sound mixing processing) on the above-mentioned voice data 2 and voice data 3 to achieve a sound mixing effect. For example, the superimposed voice data is called voice data 2-3. The right earplug can play the voice data 2-3 through the receiver (ie earpiece) of the right earplug.

右耳塞还可以通过右耳塞的麦克风采集声音信号,并转换为语音数据,如称为语音数据1。如果用户1有讲话,那该语音数据1可以为用户1发出声音信号处理得到的语音数据。如果用户1没有讲话,那么该语音数据1可以为静音数据。其中,语音数据1可以为本申请中的第一语音数据。The right earbud can also collect sound signals through the microphone of the right earbud and convert them into voice data, such as voice data 1 . If the user 1 speaks, the voice data 1 may be the voice data obtained by processing the sound signal emitted by the user 1 . If the user 1 does not speak, the voice data 1 may be silent data. Wherein, the voice data 1 may be the first voice data in this application.

右耳塞可以将该语音数据1和上述接收到的语音数据2进行叠加处理,以实现混音效果。如,进行叠加后的语音数据称为语音数据1-2。右耳塞可以将该语音数据1-2通过上述语音链路1发送给左耳塞。左耳塞接收到语音数据1-2后,可以通过左耳塞的受话器播放该语音数据1-2。The right earbud can perform superposition processing on the voice data 1 and the received voice data 2 to achieve a sound mixing effect. For example, the superimposed voice data is called voice data 1-2. The right earplug can send the voice data 1-2 to the left earplug through the above-mentioned voice link 1. After the left earplug receives the voice data 1-2, the voice data 1-2 can be played through the receiver of the left earplug.

另外,右耳塞还可以将上述语音数据1和上述语音数据3进行叠加处理,以实现混音效果。如,进行叠加后的语音数据称为语音数据1-3。右耳塞可以通过上述语音链路2向手机1发送该语音数据1-3。手机1接收到该语音数据1-3后,可以将该语音数据1-3发送给手机2,以便手机2播放该语音数据1-3。In addition, the right earplug can also perform superposition processing on the above-mentioned voice data 1 and the above-mentioned voice data 3 to achieve a sound mixing effect. For example, the superimposed voice data is called voice data 1-3. The right earbud can send the voice data 1-3 to the mobile phone 1 through the above-mentioned voice link 2. After receiving the voice data 1-3, the mobile phone 1 can send the voice data 1-3 to the mobile phone 2, so that the mobile phone 2 can play the voice data 1-3.

可以看到的是,上述作为TWS耳机的主耳塞的右耳塞需要对多路语音数据进行叠加(或混音)处理。如,右耳塞需要对来自手机1的语音数据2和来自左耳塞的语音数据3进行叠加处理,对右耳塞采集到的语音数据1和来自手机1的语音数据2进行叠加处理,对右耳塞采集到的语音数据1和来自左耳塞的语音数据3进行叠加处理。在本申请实施例中,可以在作为TWS耳机的主耳塞的右耳塞中增加混音器,用于对多路语音数据进行叠加处理。当然,由于TWS耳机的左右耳塞中任一耳机均有可能作为主耳塞,因此,可以在TWS耳机的左右耳塞中均增加混音器。或者,也可以由TWS耳机的耳塞包括的处理器利用软件算法实现多路语音数据的叠加处理。It can be seen that the above-mentioned right earplug, which is the main earplug of the TWS headset, needs to superimpose (or mix) the multi-channel voice data. For example, the right earbud needs to superimpose the voice data 2 from the mobile phone 1 and the voice data 3 from the left earbud, the voice data 1 collected by the right earbud and the voice data 2 from the mobile phone 1 need to be superimposed, and the right earbud collects The received voice data 1 and the voice data 3 from the left earbud are superimposed. In the embodiment of the present application, a sound mixer may be added to the right earbud serving as the main earbud of the TWS earphone to perform superimposition processing on multiple channels of voice data. Of course, since any of the left and right earbuds of the TWS headset may be used as the main earplug, a mixer can be added to both the left and right earplugs of the TWS headset. Alternatively, the processor included in the earplug of the TWS earphone can also use a software algorithm to realize the superposition processing of multiple channels of voice data.

在另一些实施例中,如果用户1和用户3离得比较近,互相能听到对方说话的声音,那么,作为主耳塞的右耳塞也可以不进行上述语音数据2和语音数据3的叠加处理,而是通过右耳塞的受话器播放来自手机1的语音数据2即可。右耳塞也可以不进行上述语音数据1和语音数据2的叠加处理,而是将语音数据2发送给左耳塞播放即可。In some other embodiments, if user 1 and user 3 are relatively close and can hear each other's voice, then the right earplug as the main earplug may not perform the above-mentioned superposition processing of voice data 2 and voice data 3 , but play the voice data 2 from the mobile phone 1 through the receiver of the right earbud. The right earplug may not perform the above-mentioned superposition processing of the voice data 1 and the voice data 2, but just send the voice data 2 to the left earplug for playback.

这样一来,通过将与一部手机连接的TWS耳机的左右耳塞的麦克风均打开,且分享给两个用户使用,可以较方便地实现多于两人的通话,即实现多人电话会议。并且,可以降低环境噪声对通话效果干扰的可能性。In this way, by turning on the microphones of the left and right earbuds of the TWS headset connected to a mobile phone and sharing them with two users, it is more convenient to realize more than two people's calls, that is, to realize multi-person conference calls. In addition, the possibility of environmental noise interfering with the call effect can be reduced.

如图10所示,在本实施例中,以TWS耳机与手机1之间的蓝牙连接的连接方式为监听方式,手机1的用户称为用户1,手机2的用户称为用户2为例进行介绍。As shown in Figure 10, in this embodiment, the connection mode of the Bluetooth connection between the TWS headset and the mobile phone 1 is used as the monitoring mode, the user of the mobile phone 1 is called user 1, and the user of the mobile phone 2 is called user 2 as an example. introduce.

TWS耳机的左耳塞和右耳塞建立控制链路1。TWS耳机的左右耳塞中作为主耳塞的耳塞(如右耳塞)与手机1建立控制链路2。其中,控制链路1可以为本申请中的第一控制链路。控制链路2可以为本申请中的第二控制链路。主耳塞可以为本申请中的第一耳塞,副耳塞可以为本申请中的第二耳塞。The left earbud and the right earbud of the TWS headset establish control link 1. Among the left and right earplugs of the TWS earphone, the earplug (such as the right earplug) serving as the main earplug establishes a control link 2 with the mobile phone 1 . Wherein, the control link 1 may be the first control link in this application. The control link 2 may be the second control link in this application. The primary earplug may be the first earplug in this application, and the secondary earplug may be the second earplug in this application.

其中,在本实施例中,对于建立左右耳塞之间的控制链路1,以及建立作为主耳塞的耳塞与手机1之间的控制链路2的具体描述,可以分别参考图6所示的实施例中对应内容的具体描述,此处不再详细赘述。Among them, in this embodiment, for the specific description of establishing the control link 1 between the left and right earplugs, and the establishment of the control link 2 between the earplug as the main earplug and the mobile phone 1, you can refer to the implementation shown in Figure 6 respectively. The specific description of the corresponding content in the example will not be described in detail here.

对于用于传输通话过程中语音数据的语音链路,如,参见图10中所示的语音链路1和语音链路2。语音链路2的具体的描述可以参考图6所示的实施例中对应内容的具体描述。语音链路1可以为本申请中的第一语音链路。语音链路2可以为本申请中的第二语音链路。语音链路1的具体描述与图6所示的实施例中对应内容的具体描述类似,区别在于:For voice links used to transmit voice data during a call, see, for example, voice link 1 and voice link 2 shown in FIG. 10 . For a specific description of the voice link 2, reference may be made to the specific description of the corresponding content in the embodiment shown in FIG. 6 . Voice link 1 may be the first voice link in this application. Voice link 2 may be the second voice link in this application. The specific description of voice link 1 is similar to the specific description of the corresponding content in the embodiment shown in Figure 6, the difference is that:

区别一、由于在转发方式中副耳塞是通过主耳塞的转发获取来自手机1的语音数据的。而在监听方式中,副耳塞是通过监听主耳塞和手机1之间的语音链路(如语音链路2)获取来自手机1的语音数据的。因此,区别于图6所示实施例中的语音链路1,在本实施例中,上述语音链路1用于传输右耳塞采集到的声音信号处理得到的语音数据,以及左耳塞采集到的声音信号处理得到的语音数据。其中,该语音链路1只有在TWS耳机的左右耳塞的麦克风均开启的情况下,才会有语音数据传输。The first difference is that in the forwarding mode, the secondary earbuds obtain the voice data from the mobile phone 1 through the forwarding of the main earbuds. In the monitoring mode, the secondary earbuds obtain voice data from the mobile phone 1 by monitoring the voice link (such as voice link 2) between the main earbuds and the mobile phone 1 . Therefore, different from the voice link 1 in the embodiment shown in FIG. 6, in this embodiment, the above-mentioned voice link 1 is used to transmit the voice data obtained by processing the sound signal collected by the right earplug, and the voice data collected by the left earplug. Speech data obtained by sound signal processing. Among them, the voice link 1 will only have voice data transmission when the microphones of the left and right earbuds of the TWS headset are turned on.

区别二、在本实施例中,该语音链路1不仅可以在主副耳塞确认后建立,在有语音业务时建立,还可以在左右耳塞蓝牙配对完成后建立,还可以在接收到上述第一操作后建立。Difference 2. In this embodiment, the voice link 1 can be established not only after the primary and secondary earbuds are confirmed, but also when there is a voice service, and can also be established after the Bluetooth pairing of the left and right earbuds is completed. It can also be established after receiving the above-mentioned first Build after operation.

区别三、由于该语音链路1是用于传输右耳塞采集到的声音信号处理得到的语音数据,以及左耳塞采集到的声音信号处理得到的语音数据的,因此,在本实施例中,该语音链路1一旦要建立,便需要建立双向语音链路。Difference 3. Since the voice link 1 is used to transmit the voice data obtained by processing the sound signal collected by the right earplug, and the voice data obtained by processing the sound signal collected by the left earplug, therefore, in this embodiment, the Once voice link 1 is to be established, a two-way voice link needs to be established.

另外,在本实施例中,在作为主耳塞的右耳塞与手机1建立了语音链路2后,右耳塞还可以通过上述控制链路1向作为副耳塞的左耳塞发送语音链路2的连接参数。例如,该连接参数可以包括手机1的蓝牙地址,手机1与主耳塞协商的编解码参数、时钟参数和加密参数等。左耳塞根据该链接参数,便可实现对主耳塞和手机1之间的语音链路2的监听,以获得手机1发送的语音数据。In addition, in this embodiment, after the right earbud as the main earbud establishes the voice link 2 with the mobile phone 1, the right earbud can also send the connection of the voice link 2 to the left earbud as the secondary earbud through the above-mentioned control link 1. parameter. For example, the connection parameters may include the Bluetooth address of the mobile phone 1, codec parameters, clock parameters, and encryption parameters negotiated between the mobile phone 1 and the main earbud. According to the link parameters, the left earbud can monitor the voice link 2 between the main earbud and the mobile phone 1 to obtain the voice data sent by the mobile phone 1 .

在一些实施例中,TWS耳机的左右耳塞中作为主耳塞的耳塞还可以打开该耳塞的麦克风,用于用户(如用户1)声音信号的采集。在想要实现多人电话会议,如用户3想要通过手机1接入通话时,可以将TWS耳机的左右耳塞中的一个耳塞分享给该用户3使用。也就是说,用户1和用户3可以分别使用TWS耳机中的左右耳塞进行通话。而在多人进行电话会议的过程中,不仅有采集用户1的声音信号的需求,还有采集用户3的声音信号的需求。因此,不仅需要打开TWS耳机的中作为主耳塞的耳塞的麦克风,作为副耳塞的耳塞的麦克风也是需要打开的。在本申请实施例中,用户可以通过执行第一操作,以打开作为副耳塞的耳塞的麦克风,从而实现TWS耳机的左右耳塞的麦克风都处于开启状态。In some embodiments, the earplug serving as the main earplug among the left and right earplugs of the TWS earphone can also turn on the microphone of the earplug for collecting the sound signal of the user (such as user 1). When wanting to implement a multi-person conference call, for example, when user 3 wants to access a call through mobile phone 1, one of the left and right earplugs of the TWS headset can be shared with user 3 for use. That is to say, user 1 and user 3 can respectively use the left and right earbuds in the TWS headset to make a call. In the process of multiple people conducting a conference call, there is not only a demand for collecting the voice signal of user 1, but also a demand for collecting the voice signal of user 3. Therefore, it is not only necessary to turn on the microphone of the earplug as the main earplug in the TWS earphone, but also the microphone of the earplug as the secondary earplug. In the embodiment of the present application, the user can perform the first operation to turn on the microphones of the earplugs serving as the pair of earplugs, so that the microphones of the left and right earplugs of the TWS earphone are all turned on.

在本实施例中,对于TWS耳机的左右耳塞的麦克风都处于开启状态,以及第一操作的实现方式的具体描述,可以分别参考图6所示的实施例中对应内容的具体描述,本实施例在此不再详细赘述。In this embodiment, for the microphones of the left and right earbuds of the TWS earphones are turned on, and the specific description of the implementation of the first operation, you can refer to the specific description of the corresponding content in the embodiment shown in FIG. 6 , this embodiment No more details are given here.

在TWS耳机的左右耳塞的麦克风都处于开启状态的情况下,用户1使用TWS耳机的一个耳塞(如右耳塞),用户3使用TWS耳机的另一个耳塞(如左耳塞)以及使用手机2的用户2,三者便可进行通话了,即可实现三人电话会议。其中,结合图10,继续以右耳塞作为TWS耳机的主耳塞,左耳塞作为TWS耳机的副耳塞为例。When the microphones of the left and right earbuds of the TWS headset are turned on, user 1 uses one earbud of the TWS headset (such as the right earbud), user 3 uses the other earplug of the TWS headset (such as the left earbud) and the user of the mobile phone 2 2. The three can talk, and a three-person conference call can be realized. Wherein, referring to FIG. 10 , continue to take the right earplug as the main earplug of the TWS headset, and the left earplug as the secondary earplug of the TWS headset as an example.

在一些实施例中,在用户2讲话过程中,手机2可以采集用户2的声音信号。手机2将采集到的声音信号转换为语音数据,如称为语音数据2后,可以发送给手机1。In some embodiments, the mobile phone 2 may collect the voice signal of the user 2 during the speaking process of the user 2 . The mobile phone 2 converts the collected sound signal into voice data, such as voice data 2, which can be sent to the mobile phone 1.

手机1接收到来自手机2的语音数据2后,可以通过上述语音链路2将该语音数据2发送给作为TWS耳机的主耳塞的右耳塞。其中,语音数据2可以为本申请中的第二语音数据。After the mobile phone 1 receives the voice data 2 from the mobile phone 2, it can send the voice data 2 to the right earbud as the main earbud of the TWS earphone through the above-mentioned voice link 2. Wherein, the voice data 2 may be the second voice data in this application.

作为副耳塞的左耳塞可以通过左耳塞的麦克风采集声音信号,并转换为语音数据,如称为语音数据3。左耳塞可以通过上述语音链路1将该语音数据3发送给右耳塞。需要说明的是,如果用户3有讲话,那该语音数据3可以为用户3发出声音信号处理得到的语音数据。如果用户3没有讲话,那么该语音数据3可以为静音数据。其中,语音数据3可以为本申请中的第三语音数据。The left earbud as a pair of earbuds can collect sound signals through the microphone of the left earbud and convert them into voice data, such as voice data 3 . The left earbud can send the voice data 3 to the right earbud through the above-mentioned voice link 1 . It should be noted that, if the user 3 speaks, the voice data 3 may be the voice data obtained by processing the sound signal emitted by the user 3 . If the user 3 does not speak, the voice data 3 may be silent data. Wherein, the voice data 3 may be the third voice data in this application.

右耳塞可以将上述语音数据2和语音数据3进行叠加处理(或称为混音处理),以实现混音效果。如,进行叠加后的语音数据称为语音数据2-3。右耳塞可以通过右耳塞的受话器(即听筒)播放该语音数据2-3。The right earplug can perform superposition processing (or called sound mixing processing) on the above-mentioned voice data 2 and voice data 3 to achieve a sound mixing effect. For example, the superimposed voice data is called voice data 2-3. The right earplug can play the voice data 2-3 through the receiver (ie earpiece) of the right earplug.

右耳塞还可以通过右耳塞的麦克风采集声音信号,并转换为语音数据,如称为语音数据1。如果用户1有讲话,那该语音数据1可以为用户1发出声音信号处理得到的语音数据。如果用户1没有讲话,那么该语音数据1可以为静音数据。右耳塞可以将该语音数据1通过上述语音链路1发送给左耳塞。其中,语音数据1可以为本申请中的第一语音数据。The right earbud can also collect sound signals through the microphone of the right earbud and convert them into voice data, such as voice data 1 . If the user 1 speaks, the voice data 1 may be the voice data obtained by processing the sound signal emitted by the user 1 . If the user 1 does not speak, the voice data 1 may be silent data. The right earplug can send the voice data 1 to the left earplug through the voice link 1 mentioned above. Wherein, the voice data 1 may be the first voice data in this application.

左耳塞还可以对手机1与右耳塞之间的语音链路2进行监听,以获得语音数据2。The left earbud can also monitor the voice link 2 between the mobile phone 1 and the right earbud to obtain voice data 2 .

左耳塞可以对语音数据1和语音数据2进行叠加处理,以实现混音效果。如进行叠加后的语音数据称为语音数据1-2。左耳塞可以通过左耳塞的受话器播放该语音数据1-2。The left earbud can superimpose voice data 1 and voice data 2 to achieve a sound mixing effect. For example, the voice data after superposition is called voice data 1-2. The left earplug can play the voice data 1-2 through the receiver of the left earplug.

另外,右耳塞还可以将上述语音数据1和上述语音数据3进行叠加处理,以实现混音效果。如,进行叠加后的语音数据称为语音数据1-3。右耳塞可以通过上述语音链路2向手机1发送该语音数据1-3。手机1接收到该语音数据1-3后,可以将该语音数据1-3发送给手机2,以便手机2播放该语音数据1-3。In addition, the right earplug can also perform superposition processing on the above-mentioned voice data 1 and the above-mentioned voice data 3 to achieve a sound mixing effect. For example, the superimposed voice data is called voice data 1-3. The right earbud can send the voice data 1-3 to the mobile phone 1 through the above-mentioned voice link 2. After receiving the voice data 1-3, the mobile phone 1 can send the voice data 1-3 to the mobile phone 2, so that the mobile phone 2 can play the voice data 1-3.

可以看到的是,上述作为TWS耳机的主耳塞的右耳塞,以及作为副耳塞的左耳塞需要对多路语音数据进行叠加(或混音)处理。如,右耳塞需要对来自手机1的语音数据2和来自左耳塞的语音数据3进行叠加处理,对右耳塞采集到的语音数据1和来自左耳塞的语音数据3进行叠加处理。左耳塞需要对来自右耳塞的语音数据1和监听到的语音数据2进行叠加处理。在本申请实施例中,可以在TWS耳机的左右耳塞中分别增加混音器,或者,也可以由TWS耳机的耳塞包括的处理器利用软件算法实现多路语音数据的叠加处理。It can be seen that the above-mentioned right earplug as the main earplug of the TWS earphone and the left earplug as the secondary earplug need to superimpose (or mix) the multi-channel voice data. For example, the right earbud needs to superimpose the voice data 2 from the mobile phone 1 and the voice data 3 from the left earbud, and superimpose the voice data 1 collected by the right earbud and the voice data 3 from the left earbud. The left earbud needs to superimpose the voice data 1 from the right earbud and the monitored voice data 2 . In the embodiment of the present application, mixers can be added to the left and right earbuds of the TWS headset, or the processor included in the earplugs of the TWS headset can use software algorithms to realize the superposition processing of multiple voice data.

在另一些实施例中,如果用户1和用户3离得比较近,互相能听到对方说话的声音,那么,作为主耳塞的右耳塞也可以不进行上述语音数据2和语音数据3的叠加处理,而是通过右耳塞的受话器播放来自手机1的语音数据2即可。右耳塞可以不向左耳塞传输上述语音数据1,左耳塞也可以不进行上述语音数据1和语音数据2的叠加处理,而是播放监听语音链路2获得的语音数据2即可。上述语音链路1也可以不是双向语音链路,而是由作为副耳塞的左耳塞到作为主耳塞的右耳塞的单向语音链路,用于传输左耳塞向右耳塞传输语音数据3,以便右耳塞将语音数据3和采集到的语音数据1进行混音处理后发给手机1。In some other embodiments, if user 1 and user 3 are relatively close and can hear each other's voice, then the right earplug as the main earplug may not perform the above-mentioned superposition processing of voice data 2 and voice data 3 , but play the voice data 2 from the mobile phone 1 through the receiver of the right earbud. The right earbud may not transmit the above-mentioned voice data 1 to the left earbud, and the left earbud may not perform the superposition processing of the above-mentioned voice data 1 and voice data 2, but just play the voice data 2 obtained by listening to the voice link 2. The above-mentioned voice link 1 may not be a two-way voice link, but a one-way voice link from the left earplug as the secondary earplug to the right earplug as the main earplug, for transmitting voice data 3 from the left earplug to the right earplug, so that The right earbud mixes the voice data 3 and the collected voice data 1 and sends them to the mobile phone 1 .

这样一来,通过将与一部手机连接的TWS耳机的左右耳塞的麦克风均打开,且分享给两个用户使用,可以较方便地实现多于两人的通话,即实现多人电话会议。并且,可以降低环境噪声对通话效果干扰的可能性。In this way, by turning on the microphones of the left and right earbuds of the TWS headset connected to a mobile phone and sharing them with two users, it is more convenient to realize more than two people's calls, that is, to realize multi-person conference calls. In addition, the possibility of environmental noise interfering with the call effect can be reduced.

如图11所示,在本实施例中,以TWS耳机与手机1之间的蓝牙连接的连接方式为双发方式,手机1的用户称为用户1,手机2的用户称为用户2为例进行介绍。As shown in Figure 11, in this embodiment, the connection mode of the Bluetooth connection between the TWS earphone and the mobile phone 1 is a dual transmission mode, the user of the mobile phone 1 is called user 1, and the user of the mobile phone 2 is called user 2 as an example Make an introduction.

TWS耳机的左耳塞和右耳塞建立控制链路1。The left earbud and the right earbud of the TWS headset establish control link 1.

其中,在本实施例中,对于建立左右耳塞之间的控制链路1的具体描述,可以参考图6所示的实施例中对应内容的具体描述,此处不再详细赘述。其中,左耳塞可以为本申请中的第一耳塞,右耳塞可以为本申请中的第二耳塞;或者,左耳塞可以为本申请中的第二耳塞,右耳塞可以为本申请中的第一耳塞。控制链路1可以为本申请中的第一控制链路。Wherein, in this embodiment, for the specific description of establishing the control link 1 between the left and right earbuds, reference may be made to the specific description of the corresponding content in the embodiment shown in FIG. 6 , which will not be repeated here. Wherein, the left earplug can be the first earplug in the present application, and the right earplug can be the second earplug in the present application; or, the left earplug can be the second earplug in the present application, and the right earplug can be the first earplug in the present application. earplugs. The control link 1 may be the first control link in this application.

TWS耳机的左耳塞和右耳塞分别与手机1建立控制链路。The left and right earbuds of the TWS earphone establish control links with mobile phone 1 respectively.

例如,如图11所示,右耳塞与手机1建立控制链路2,左耳塞与手机1建立控制链路3。控制链路2可以为本申请中的第二控制链路。控制链路3可以为本申请中的第三控制链路。在一些实施例中,TWS耳机的左耳塞和右耳塞分别与手机1建立控制链路的具体过程可以是:TWS耳机的左右耳塞中的任一耳塞(如右耳塞)可对外发送配对广播。如果手机1已经打开了蓝牙功能,则手机1可以接收到该配对广播并提示用户已经扫描到相关的蓝牙设备(如TWS耳机)。当该TWS耳机作为连接设备在手机1上被选中后,手机1可与TWS耳机的右耳塞进行蓝牙配对。在右耳塞与手机1蓝牙配对完成后,右耳塞可与手机1采用蓝牙建立控制链路2。当然,如果手机1与TWS耳机的右耳塞之前已完成了蓝牙配对,则蓝牙配对过程可省略。也就是说,手机1在接收到上述配对广播后,可自动与右耳塞采用蓝牙建立控制链路2。右耳塞可以将手机1的蓝牙地址发送给左耳塞,以便左耳塞与手机1建立控制链路。如,右耳塞可以通过上述控制链路1向左耳塞发送手机1的蓝牙地址,并通知左耳塞对外发送配对广播。这样,手机1可以接收左耳塞发送的配对广播并与左耳塞进行蓝牙配对。在左耳塞与手机1蓝牙配对完成后,左耳塞可与手机1采用蓝牙建立控制链路3。当然,如果手机1与TWS耳机的左耳塞之前已完成了蓝牙配对,则蓝牙配对过程可省略。也就是说,手机1在接收到上述配对广播后,可自动与左耳塞采用蓝牙建立控制链路3。For example, as shown in FIG. 11 , the right earbud establishes control link 2 with mobile phone 1 , and the left earbud establishes control link 3 with mobile phone 1 . The control link 2 may be the second control link in this application. The control link 3 may be the third control link in this application. In some embodiments, the specific process of establishing a control link between the left earplug and the right earplug of the TWS earphone and the mobile phone 1 may be: any one of the left and right earplugs (such as the right earplug) of the TWS earphone can send a pairing broadcast to the outside. If the mobile phone 1 has turned on the Bluetooth function, the mobile phone 1 can receive the pairing broadcast and prompt the user that a related Bluetooth device (such as a TWS earphone) has been scanned. When the TWS headset is selected as the connection device on the mobile phone 1, the mobile phone 1 can perform Bluetooth pairing with the right earbud of the TWS headset. After the Bluetooth pairing between the right earbud and the mobile phone 1 is completed, the right earbud can establish a control link 2 with the mobile phone 1 using Bluetooth. Of course, if the Bluetooth pairing between the mobile phone 1 and the right earbud of the TWS headset has been completed before, the Bluetooth pairing process can be omitted. That is to say, after receiving the pairing broadcast, the mobile phone 1 can automatically establish a control link 2 with the right earbud using Bluetooth. The right earbud can send the Bluetooth address of mobile phone 1 to the left earbud, so that the left earbud can establish a control link with mobile phone 1. For example, the right earbud can send the Bluetooth address of the mobile phone 1 to the left earbud through the above-mentioned control link 1, and notify the left earbud to send a pairing broadcast. In this way, the mobile phone 1 can receive the pairing broadcast sent by the left earbud and perform Bluetooth pairing with the left earbud. After the Bluetooth pairing between the left earbud and the mobile phone 1 is completed, the left earbud can establish a control link 3 with the mobile phone 1 using Bluetooth. Of course, if the Bluetooth pairing between the mobile phone 1 and the left earbud of the TWS headset has been completed before, the Bluetooth pairing process can be omitted. That is to say, after receiving the pairing broadcast, the mobile phone 1 can automatically establish a control link 3 with the left earbud using Bluetooth.

需要说明的是,上述对TWS耳机的左耳塞和右耳塞与手机1建立控制链路的过程仅是一种示例。在一些实施例中,手机1也可以先和TWS耳机的左耳塞进行蓝牙配对并建立控制链路,然后左耳塞通过向右耳塞发送手机的蓝牙地址,并通知右耳塞对外发送配对广播,以使得右耳塞与手机1进行蓝牙配对并建立控制链路。在另外一些实施例中,TWS耳机的左耳塞和右耳塞在开机后可以分别对外发送配对广播,以便于左耳塞和右耳塞能够分别与手机1进行蓝牙配对,并各自与手机1建立控制链路。另外,在本申请实施例中,TWS耳机的左耳塞或右耳塞对外发送配对广播的触发条件,可以是TWS耳机的耳机盒的盒盖被打开,或者是TWS耳机的左右耳塞蓝牙配对完成,或者是配对功能键被按下。其中,所述的配对功能键可以设置在TWS耳机的耳机盒上。如TWS耳机的耳机盒上配置有配对功能键,当该配对功能键被按下时,TWS耳机的左耳塞或右耳塞可对外发送配对广播。配对功能键也可以设置在TWS耳机的左右耳塞上。如,TWS耳机的左耳塞和/或右耳塞上配置有配对功能键,在该配对功能键被按下时,对应的耳塞对外发送配对广播。It should be noted that the above process of establishing a control link between the left earbud and the right earbud of the TWS earphone and the mobile phone 1 is only an example. In some embodiments, the mobile phone 1 can also perform Bluetooth pairing with the left earbud of the TWS earphone and establish a control link, and then the left earbud sends the Bluetooth address of the mobile phone to the right earbud, and notifies the right earbud to send a pairing broadcast, so that The right earbud performs Bluetooth pairing with mobile phone 1 and establishes a control link. In some other embodiments, the left earbud and the right earbud of the TWS earphone can respectively send pairing broadcasts after being turned on, so that the left earbud and the right earbud can perform Bluetooth pairing with the mobile phone 1 respectively, and each establish a control link with the mobile phone 1 . In addition, in this embodiment of the application, the trigger condition for the left or right earplug of the TWS headset to send a pairing broadcast to the outside world may be that the cover of the earphone box of the TWS headset is opened, or the Bluetooth pairing of the left and right earplugs of the TWS headset is completed, or is the pairing function key is pressed. Wherein, the pairing function key can be set on the earphone box of the TWS earphone. For example, the earphone box of the TWS headset is equipped with a pairing function key. When the pairing function key is pressed, the left or right earbud of the TWS headset can send a pairing broadcast to the outside world. The pairing function key can also be set on the left and right earbuds of the TWS headset. For example, the left earbud and/or the right earbud of the TWS headset is equipped with a pairing function key, and when the pairing function key is pressed, the corresponding earbud sends a pairing broadcast to the outside.

在一些实施例中,由于TWS耳机作为一副双耳耳机使用实现通话时,TWS耳机的左右耳塞通常是给一个用户(如用户1)使用的,即只需要采集一个用户的声音信号。因此,TWS耳机的左右耳塞中任意一个的耳塞还可以打开该耳塞的麦克风,用于用户(如用户1)声音信号的采集。例如,在一些实施例中,左右耳塞中从耳机盒中先被拿出的耳塞可以打开该耳塞的麦克风,另一个耳塞的麦克风可以不被打开。或者,左右耳塞中先与手机进行蓝牙配对的耳塞打开该耳塞的麦克风,另一个耳塞的麦克风可以不被打开。或者,左右耳塞包括配对功能键,配对功能键先被按下的耳塞可以打开该耳塞的麦克风,另一个耳塞的麦克风可以不被打开。或者,左右耳塞中先被佩戴到耳朵上的耳塞可以打开该耳塞的麦克风,另一个耳塞的麦克风可以不被打开。In some embodiments, since the TWS earphone is used as a pair of binaural earphones to implement a call, the left and right earplugs of the TWS earphone are usually used by one user (such as user 1), that is, only the sound signal of one user needs to be collected. Therefore, any one of the left and right earplugs of the TWS earphone can also turn on the microphone of the earplug for collecting the sound signal of the user (such as user 1). For example, in some embodiments, the earplug that is taken out of the earphone box first among the left and right earplugs may turn on the microphone of the earplug, and the microphone of the other earplug may not be turned on. Or, among the left and right earbuds, the earplug that first performs Bluetooth pairing with the mobile phone turns on the microphone of the earbud, and the microphone of the other earbud may not be turned on. Alternatively, the left and right earplugs include a pairing function key, the earplug whose pairing function key is pressed first can turn on the microphone of the earplug, and the microphone of the other earplug can not be turned on. Alternatively, the earplug that is worn on the ear first among the left and right earplugs may turn on the microphone of the earplug, and the microphone of the other earplug may not be turned on.

以依据与手机蓝牙配对的先后顺序确定哪个耳塞打开麦克风,哪个不打开麦克风为例。示例性的,右耳塞先与手机1进行蓝牙配对,则右耳塞可打开右耳塞的麦克风,左耳塞可以不打开左耳塞的麦克风。在一些实施例中,右耳塞可以通过上述控制链路1通知左耳塞,右耳塞已打开麦克风。这样,即使左耳塞被佩戴到耳朵上,左耳塞也不会打开左耳塞的麦克风。Take determining which earbud turns on the microphone and which one does not turn on the microphone according to the sequence of Bluetooth pairing with the mobile phone as an example. Exemplarily, if the right earbud is first paired with the mobile phone 1 via Bluetooth, the right earbud can turn on the microphone of the right earbud, and the left earbud can not turn on the microphone of the left earbud. In some embodiments, the right earbud can notify the left earbud through the above-mentioned control link 1 that the right earbud has turned on the microphone. In this way, even if the left earbud is worn on the ear, the left earbud will not turn on the microphone of the left earbud.

在想要实现多人电话会议,如用户3想要通过手机1接入通话时,可以将TWS耳机的左右耳塞中的一个耳塞分享给该用户3使用。也就是说,用户1和用户3可以分别使用TWS耳机中的左右耳塞进行通话。而在多人进行电话会议的过程中,不仅有采集用户1的声音信号的需求,还有采集用户3的声音信号的需求。因此,不仅需要打开TWS耳机的其中一个耳塞(如右耳塞)的麦克风,另一个耳塞(如左耳塞)的麦克风也是需要打开的。在本申请实施例中,用户可以通过执行第一操作,以打开另一个耳塞的麦克风,从而实现TWS耳机的左右耳塞的麦克风都处于开启状态。When wanting to implement a multi-person conference call, for example, when user 3 wants to access a call through mobile phone 1, one of the left and right earplugs of the TWS headset can be shared with user 3 for use. That is to say, user 1 and user 3 can respectively use the left and right earbuds in the TWS headset to make a call. In the process of multiple people conducting a conference call, there is not only a demand for collecting the voice signal of user 1, but also a demand for collecting the voice signal of user 3. Therefore, not only the microphone of one earbud (such as the right earbud) of the TWS headset needs to be turned on, but also the microphone of the other earbud (such as the left earbud) needs to be turned on. In the embodiment of the present application, the user can perform the first operation to turn on the microphone of the other earbud, so that the microphones of the left and right earbuds of the TWS earphone are both turned on.

例如,在一些实施例中,可以定义打开麦克风的耳塞为主耳塞,未打开麦克风的耳塞为副耳塞。相应的,对于TWS耳机的左右耳塞的麦克风都处于开启状态,以及第一操作的实现方式的具体描述,可以分别参考图6所示的实施例中对应内容的具体描述,本实施例在此不再详细赘述。在另一些实施例中,手机1也可以记录TWS耳机的左右耳塞中哪个耳塞的麦克风打开了,那个耳塞的麦克风没有打开。用户在执行第一操作后,手机1可以通过与未打开麦克风的耳塞之间的控制链路,向该耳塞发送指示,以指示该耳塞打开麦克风。For example, in some embodiments, it may be defined that the earplug with the microphone turned on is the primary earplug, and the earplug with the microphone not turned on is the secondary earplug. Correspondingly, for the microphones of the left and right earbuds of the TWS earphones are turned on, and the specific description of the implementation of the first operation, you can refer to the specific description of the corresponding content in the embodiment shown in FIG. Let me go into more detail. In other embodiments, the mobile phone 1 may also record which earplug's microphone is turned on and which earplug's microphone is not turned on among the left and right earbuds of the TWS earphone. After the user performs the first operation, the mobile phone 1 may send an instruction to the earplug through the control link with the earplug whose microphone is not turned on, so as to instruct the earplug to turn on the microphone.

对于用于传输通话过程中语音数据的语音链路,如,参见图11中所示的语音链路1,语音链路2以及语音链路3。语音链路1可以为本申请中的第一语音链路。语音链路2可以为本申请中的第二语音链路。语音链路3可以为本申请中的第三语音链路。语音链路2的具体的描述可以参考图6所示的实施例中对应内容的具体描述。语音链路1的具体描述与图6所示的实施例中对应内容的具体描述类似,区别在于:For voice links used to transmit voice data during a call, see, for example, voice link 1, voice link 2, and voice link 3 shown in FIG. 11 . Voice link 1 may be the first voice link in this application. Voice link 2 may be the second voice link in this application. Voice link 3 may be the third voice link in this application. For a specific description of the voice link 2, reference may be made to the specific description of the corresponding content in the embodiment shown in FIG. 6 . The specific description of voice link 1 is similar to the specific description of the corresponding content in the embodiment shown in Figure 6, the difference is that:

区别一、由于在转发方式中副耳塞是通过主耳塞的转发获取来自手机1的语音数据的。而在双发方式中,手机1可以分别给左耳塞和右耳塞发送语音数据。因此,区别于图6所示实施例中的语音链路1,在本实施例中,上述语音链路1用于传输右耳塞采集到的声音信号处理得到的语音数据,以及左耳塞采集到的声音信号处理得到的语音数据。其中,该语音链路1只有在TWS耳机的左右耳塞的麦克风均开启的情况下,才会有语音数据传输。The first difference is that in the forwarding mode, the secondary earbuds obtain the voice data from the mobile phone 1 through the forwarding of the main earbuds. In the dual-send mode, the mobile phone 1 can send voice data to the left earplug and the right earplug respectively. Therefore, different from the voice link 1 in the embodiment shown in FIG. 6, in this embodiment, the above-mentioned voice link 1 is used to transmit the voice data obtained by processing the sound signal collected by the right earplug, and the voice data collected by the left earplug. Speech data obtained by sound signal processing. Among them, the voice link 1 will only have voice data transmission when the microphones of the left and right earbuds of the TWS headset are turned on.

区别二、在本实施例中,该语音链路1可以在有语音业务时建立,可以在左右耳塞蓝牙配对完成后建立,还可以在接收到上述第一操作后建立。Difference 2. In this embodiment, the voice link 1 can be established when there is a voice service, can be established after the Bluetooth pairing of the left and right earbuds is completed, and can also be established after receiving the above-mentioned first operation.

区别三、由于该语音链路1是用于传输右耳塞采集到的声音信号处理得到的语音数据,以及左耳塞采集到的声音信号处理得到的语音数据的,因此,在本实施例中,该语音链路1一旦要建立,便需要建立双向语音链路。Difference 3. Since the voice link 1 is used to transmit the voice data obtained by processing the sound signal collected by the right earplug, and the voice data obtained by processing the sound signal collected by the left earplug, therefore, in this embodiment, the Once voice link 1 is to be established, a two-way voice link needs to be established.

区别四、该语音链路1不仅可以是蓝牙的SCO/eSCO语音链路,还可以是基于等时(isochronous,ISO)信道(channel)的基于连接的等时音频流(connected isochronousstream,CIS)链路。在本申请实施例中,基于ISO信道的CIS链路的建立过程可以参考关于ISO信道的标准协议中对应内容的描述,此处不再详细赘述。Difference 4. The voice link 1 can be not only a Bluetooth SCO/eSCO voice link, but also a connected isochronous stream (CIS) chain based on an isochronous (ISO) channel (channel) road. In the embodiment of the present application, for the establishment process of the CIS link based on the ISO channel, reference may be made to the description of the corresponding content in the standard protocol of the ISO channel, and details will not be repeated here.

另外,在本实施例中,不仅TWS耳机的右耳塞要与手机1建立语音链路,如上述语音链路2,左耳塞也要与手机1建立语音链路,如语音链路3。左耳塞通过该语音链路3便可获得手机1发送的语音数据,还可向手机1发送语音数据。In addition, in this embodiment, not only the right earbud of the TWS earphone needs to establish a voice link with the mobile phone 1, such as the above-mentioned voice link 2, but also the left earbud needs to establish a voice link with the mobile phone 1, such as the voice link 3. The left earplug can obtain the voice data sent by the mobile phone 1 through the voice link 3 , and can also send the voice data to the mobile phone 1 .

结合图11,在TWS耳机的左右耳塞的麦克风都处于开启状态的情况下,用户1使用TWS耳机的一个耳塞(如右耳塞),用户3使用TWS耳机的另一个耳塞(如左耳塞)以及使用手机2的用户2,三者便可进行通话了,即可实现三人电话会议。In conjunction with Figure 11, when the microphones of the left and right earplugs of the TWS headset are turned on, user 1 uses one earplug of the TWS headset (such as the right earplug), user 3 uses the other earplug of the TWS headset (such as the left earplug) and uses The user 2 of the mobile phone 2, the three can talk, and the three-person conference call can be realized.

在一些实施例中,在用户2讲话过程中,手机2可以采集用户2的声音信号。手机2将采集到的声音信号转换为语音数据,如称为语音数据2后,可以发送给手机1。In some embodiments, the mobile phone 2 may collect the voice signal of the user 2 during the speaking process of the user 2 . The mobile phone 2 converts the collected sound signal into voice data, such as voice data 2, which can be sent to the mobile phone 1.

手机1接收到来自手机2的语音数据2后,可以通过上述语音链路2将该语音数据2发送给TWS耳机的右耳塞。手机1还可以通过上述语音链路3将该语音数据2发送给TWS耳机的左耳塞。其中,语音数据2可以为本申请中的第二语音数据。After the mobile phone 1 receives the voice data 2 from the mobile phone 2, it can send the voice data 2 to the right earbud of the TWS headset through the above-mentioned voice link 2. The mobile phone 1 can also send the voice data 2 to the left earbud of the TWS headset through the above-mentioned voice link 3 . Wherein, the voice data 2 may be the second voice data in this application.

左耳塞可以通过左耳塞的麦克风采集声音信号,并转换为语音数据,如称为语音数据3。左耳塞可以通过上述语音链路1将该语音数据3发送给右耳塞。左耳塞还可以通过上述语音链路3将该语音数据3发送给手机1。需要说明的是,如果用户3有讲话,那该语音数据3可以为用户3发出声音信号处理得到的语音数据。如果用户3没有讲话,那么该语音数据3可以为静音数据。其中,语音数据3可以为本申请中的第三语音数据。The left earbud can collect sound signals through the microphone of the left earbud and convert them into voice data, such as voice data 3 . The left earbud can send the voice data 3 to the right earbud through the above-mentioned voice link 1 . The left earplug can also send the voice data 3 to the mobile phone 1 through the above-mentioned voice link 3 . It should be noted that, if the user 3 speaks, the voice data 3 may be the voice data obtained by processing the sound signal emitted by the user 3 . If the user 3 does not speak, the voice data 3 may be silent data. Wherein, the voice data 3 may be the third voice data in this application.

右耳塞可以将上述语音数据2和语音数据3进行叠加处理(或称为混音处理),以实现混音效果。如,进行叠加后的语音数据称为语音数据2-3。右耳塞可以通过右耳塞的受话器(即听筒)播放该语音数据2-3。The right earplug can perform superposition processing (or called sound mixing processing) on the above-mentioned voice data 2 and voice data 3 to achieve a sound mixing effect. For example, the superimposed voice data is called voice data 2-3. The right earplug can play the voice data 2-3 through the receiver (ie earpiece) of the right earplug.

右耳塞还可以通过右耳塞的麦克风采集声音信号,并转换为语音数据,如称为语音数据1。如果用户1有讲话,那该语音数据1可以为用户1发出声音信号处理得到的语音数据。如果用户1没有讲话,那么该语音数据1可以为静音数据。右耳塞可以将该语音数据1通过上述语音链路1发送给左耳塞。右耳塞还可以通过上述语音链路2将该语音数据1发送给手机1。其中,语音数据1可以为本申请中的第一语音数据。The right earbud can also collect sound signals through the microphone of the right earbud and convert them into voice data, such as voice data 1 . If the user 1 speaks, the voice data 1 may be the voice data obtained by processing the sound signal emitted by the user 1 . If the user 1 does not speak, the voice data 1 may be silent data. The right earplug can send the voice data 1 to the left earplug through the voice link 1 mentioned above. The right earplug can also send the voice data 1 to the mobile phone 1 through the above-mentioned voice link 2 . Wherein, the voice data 1 may be the first voice data in this application.

左耳塞可以对语音数据1和语音数据2进行叠加处理,以实现混音效果。如进行叠加后的语音数据称为语音数据1-2。左耳塞可以通过左耳塞的受话器播放该语音数据1-2。The left earbud can superimpose voice data 1 and voice data 2 to achieve a sound mixing effect. For example, the voice data after superposition is called voice data 1-2. The left earplug can play the voice data 1-2 through the receiver of the left earplug.

另外,手机1还可以将上述语音数据1和上述语音数据3进行叠加处理,以实现混音效果。如,进行叠加后的语音数据称为语音数据1-3。手机1可以将该语音数据1-3发送给手机2,以便手机2播放该语音数据1-3。In addition, the mobile phone 1 may also perform superposition processing on the above-mentioned voice data 1 and the above-mentioned voice data 3 to achieve a sound mixing effect. For example, the superimposed voice data is called voice data 1-3. The mobile phone 1 can send the voice data 1-3 to the mobile phone 2, so that the mobile phone 2 can play the voice data 1-3.

可以看到的是,上述右耳塞,左耳塞以及手机1需要对多路语音数据进行叠加(或混音)处理。如,右耳塞需要对来自手机1的语音数据2和来自左耳塞的语音数据3进行叠加处理。左耳塞需要对来自右耳塞的语音数据1和来自手机1的语音数据2进行叠加处理。手机1需要对来自右耳塞的语音数据1和来自左耳塞的语音数据3进行叠加处理。在本申请实施例中,可以在TWS耳机的左右耳塞中分别增加混音器,或者,也可以由TWS耳机的耳塞包括的处理器利用软件算法实现多路语音数据的叠加处理。可以在手机1中增加混音器,或者,也可以由手机1的处理器利用软件算法实现多路语音数据的叠加处理。It can be seen that the above-mentioned right earplug, left earplug and mobile phone 1 need to perform superposition (or sound mixing) processing on the multi-channel voice data. For example, the right earbud needs to superimpose the voice data 2 from the mobile phone 1 and the voice data 3 from the left earbud. The left earbud needs to superimpose the voice data 1 from the right earbud and the voice data 2 from the mobile phone 1 . The mobile phone 1 needs to perform superposition processing on the voice data 1 from the right earbud and the voice data 3 from the left earbud. In the embodiment of the present application, mixers can be added to the left and right earbuds of the TWS headset, or the processor included in the earplugs of the TWS headset can use software algorithms to realize the superposition processing of multiple voice data. A sound mixer can be added to the mobile phone 1, or the processor of the mobile phone 1 can use a software algorithm to realize the superposition processing of multiple channels of voice data.

在另一些实施例中,如果用户1和用户3离得比较近,互相能听到对方说话的声音,那么,左右耳塞也可以不进行上述语音数据的叠加处理,而是通过受话器播放来自手机1的语音数据2即可。这样,左右耳塞之间也可以不用建立语音链路,即无需建立上述语音链路1。In some other embodiments, if user 1 and user 3 are relatively close and can hear each other's voice, then the left and right earplugs may not perform the above-mentioned superposition processing of the voice data, but play the data from the mobile phone 1 through the receiver. The voice data of 2 is enough. In this way, there is no need to establish a voice link between the left and right earbuds, that is, there is no need to establish the above voice link 1 .

这样一来,通过将与一部手机连接的TWS耳机的左右耳塞的麦克风均打开,且分享给两个用户使用,可以较方便地实现多于两人的通话,即实现多人电话会议。并且,可以降低环境噪声对通话效果干扰的可能性。In this way, by turning on the microphones of the left and right earbuds of the TWS headset connected to a mobile phone and sharing them with two users, it is more convenient to realize more than two people's calls, that is, to realize multi-person conference calls. In addition, the possibility of environmental noise interfering with the call effect can be reduced.

另外,在图6,图10以及图11所示的实施例中,手机2也可以连接一TWS耳机,供两个用户使用,这样,便可以实现四人电话会议。需要说明的是,手机2与TWS耳机之间蓝牙连接的连接方式可以为上述转发方式,监听方式以及双发方式中的任一种。手机1与TWS耳机之间蓝牙连接的连接方式,与手机2与TWS耳机之间蓝牙连接的连接方式可以相同,也可以不同。对于TWS耳机作为手机2的音频输入/输出设备实现通话的具体实现,可以参考上述实施例中TWS耳机作为手机1的音频输入/输出设备实现通话中对应内容的具体描述,此处不再一一赘述。In addition, in the embodiments shown in FIG. 6 , FIG. 10 and FIG. 11 , the mobile phone 2 can also be connected to a TWS headset for use by two users, so that a four-person conference call can be realized. It should be noted that, the connection mode of the Bluetooth connection between the mobile phone 2 and the TWS headset can be any one of the above-mentioned forwarding mode, monitoring mode and dual transmission mode. The connection method of the Bluetooth connection between the mobile phone 1 and the TWS headset may be the same as or different from the connection method of the Bluetooth connection between the mobile phone 2 and the TWS headset. For the specific implementation of the TWS headset as the audio input/output device of the mobile phone 2 to realize the call, you can refer to the specific description of the corresponding content in the call that the TWS headset is used as the audio input/output device of the mobile phone 1 in the above embodiment, and will not be repeated here. repeat.

在本申请的另一些实施例还提供了一种外围设备,如该外围设备为TWS耳机。如图12所示,该TWS耳机的耳塞可以包括:一个或多个处理器1201;存储器1202;通信接口1203;受话器1204;麦克风1205;以及一个或多个计算机程序1206,上述各器件可以通过一个或多个通信总线1207连接。其中该一个或多个计算机程序1206被存储在上述存储器1202中,并被配置为被该一个或多个处理器1201执行,该一个或多个计算机程序1206包括指令,上述指令可以用于执行如图6、图10或图11相应实施例中TWS耳机的耳塞(如左耳塞,右耳塞)执行的各个步骤。当然,图12所示的TWS耳机的耳塞还可以包括如传感器等其他器件,本申请实施例对此不做任何限制。Other embodiments of the present application also provide a peripheral device, for example, the peripheral device is a TWS earphone. As shown in Figure 12, the earplug of this TWS earphone can comprise: one or more processors 1201; Memory 1202; Communication interface 1203; Receiver 1204; Microphone 1205; or multiple communication bus 1207 connections. Wherein the one or more computer programs 1206 are stored in the above-mentioned memory 1202 and are configured to be executed by the one or more processors 1201, the one or more computer programs 1206 include instructions, and the above-mentioned instructions can be used to perform as The various steps performed by the earplugs (such as the left earplug and the right earplug) of the TWS earphone in the corresponding embodiment in FIG. 6 , FIG. 10 or FIG. 11 . Of course, the earplug of the TWS earphone shown in FIG. 12 may also include other devices such as sensors, which is not limited in this embodiment of the present application.

本申请另一些实施例还提供了一种电子设备,如图13所示,该电子设备可以包括:触摸屏1301,其中,所述触摸屏1301可以包括触敏表面1306和显示屏1307;一个或多个处理器1302;存储器1303;以及一个或多个计算机程序1304,上述各器件可以通过一个或多个通信总线1305连接。其中该一个或多个计算机程序1304被存储在上述存储器1303中,并被配置为被该一个或多个处理器1302执行,该一个或多个计算机程序1304包括指令,上述指令可以用于执行如图6、图10或图11相应实施例中电子设备执行的各个步骤。当然,图13所示的电子设备还可以如传感器模块、音频模块以及SIM卡接口等其他器件,本申请实施例对此不做任何限制。Other embodiments of the present application also provide an electronic device. As shown in FIG. 13, the electronic device may include: a touch screen 1301, wherein the touch screen 1301 may include a touch-sensitive surface 1306 and a display screen 1307; one or more processor 1302 ; memory 1303 ; and one or more computer programs 1304 , each of which may be connected via one or more communication buses 1305 . Wherein the one or more computer programs 1304 are stored in the above-mentioned memory 1303 and are configured to be executed by the one or more processors 1302, the one or more computer programs 1304 include instructions, and the above instructions can be used to perform as Various steps performed by the electronic device in the corresponding embodiment in FIG. 6 , FIG. 10 or FIG. 11 . Certainly, the electronic device shown in FIG. 13 may also be other components such as a sensor module, an audio module, and a SIM card interface, and this embodiment of the present application does not impose any limitation on this.

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the above-described system, device, and unit, reference may be made to the corresponding process in the foregoing method embodiments, and details are not repeated here.

在本实施例所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this embodiment, it should be understood that the disclosed system, device and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of this embodiment may be integrated into one processing unit, or each unit may physically exist separately, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium In, several instructions are included to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute all or part of the steps of the method described in each embodiment. The aforementioned storage medium includes: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk, and other various media capable of storing program codes.

以上所述,仅为本实施例的具体实施方式,但本实施例的保护范围并不局限于此,任何在本实施例揭露的技术范围内的变化或替换,都应涵盖在本实施例的保护范围之内。因此,本实施例的保护范围应以所述权利要求的保护范围为准。The above is only the specific implementation of this embodiment, but the protection scope of this embodiment is not limited thereto, and any changes or replacements within the technical scope disclosed in this embodiment shall be covered by the scope of this embodiment. within the scope of protection. Therefore, the protection scope of this embodiment should be based on the protection scope of the claims.

Claims (32)

1.一种使用蓝牙耳机进行通话的方法,其特征在于,应用于真无线立体声TWS耳机,所述TWS耳机包括第一耳塞和第二耳塞,所述第一耳塞和所述第二耳塞都包括麦克风;所述方法包括:1. A method for using a bluetooth earphone to make a call, characterized in that it is applied to a true wireless stereo TWS earphone, the TWS earphone includes a first earplug and a second earplug, and both the first earplug and the second earplug include a microphone; the method comprising: 所述第一耳塞与所述第二耳塞进行蓝牙配对;performing Bluetooth pairing between the first earplug and the second earplug; 所述第一耳塞与电子设备进行蓝牙配对;The first earplug is paired with the electronic device via Bluetooth; 所述第一耳塞打开所述第一耳塞的麦克风以采集声音信号;The first earplug turns on the microphone of the first earplug to collect sound signals; 所述第二耳塞接收指令,响应于所述指令,所述第二耳塞打开所述第二耳塞的麦克风以采集声音信号,以使得所述第一耳塞的麦克风和所述第二耳塞的麦克风都处于开启状态;The second earplug receives an instruction, and in response to the instruction, the second earplug turns on the microphone of the second earplug to collect sound signals, so that both the microphone of the first earplug and the microphone of the second earplug is on; 所述第一耳塞和所述第二耳塞建立第一语音链路,所述第一语音链路用于传输由所述第一耳塞到所述第二耳塞的语音数据,以及由所述第二耳塞到所述第一耳塞的语音数据;The first earplug and the second earplug establish a first voice link, the first voice link is used to transmit voice data from the first earplug to the second earplug, and the second earplug voice data from the earbud to said first earbud; 所述第一耳塞和所述电子设备建立第二语音链路,所述第二语音链路用于传输由所述第一耳塞到所述电子设备的语音数据,以及由所述电子设备到所述第一耳塞的语音数据。The first earbud and the electronic device establish a second voice link, and the second voice link is used to transmit voice data from the first earbud to the electronic device, and from the electronic device to the electronic device. Describe the voice data of the first earbud. 2.根据权利要求1所述的方法,其特征在于,所述第二耳塞接收指令,包括:所述第二耳塞接收用户对所述第二耳塞上的第一功能键的操作。2. The method according to claim 1, wherein the second earplug receiving the instruction comprises: the second earplug receiving a user's operation on the first function key on the second earplug. 3.根据权利要求1所述的方法,其特征在于,所述方法还包括:所述第一耳塞与所述第二耳塞建立第一控制链路;3. The method according to claim 1, further comprising: establishing a first control link between the first earplug and the second earplug; 所述第二耳塞接收指令,包括:所述第二耳塞接收所述第一耳塞通过所述第一控制链路发送的指示。The second earplug receiving the instruction includes: the second earplug receiving the instruction sent by the first earplug through the first control link. 4.根据权利要求3所述的方法,其特征在于,在所述第二耳塞接收所述第一耳塞通过所述第一控制链路发送的指示之前,还包括:4. The method according to claim 3, further comprising: before the second earplug receives the instruction sent by the first earplug through the first control link: 所述第一耳塞接收用户对所述第一耳塞上的第二功能键的操作;The first earplug receives the user's operation on the second function key on the first earplug; 响应于对所述第二功能键的操作,所述第一耳塞通过所述第一控制链路向所述第二耳塞发送所述指示。In response to the operation of the second function key, the first earplug sends the indication to the second earplug through the first control link. 5.根据权利要求3所述的方法,其特征在于,所述方法还包括:所述第一耳塞与所述电子设备建立第二控制链路;5. The method according to claim 3, further comprising: establishing a second control link between the first earbud and the electronic device; 在所述第二耳塞接收所述第一耳塞通过所述第一控制链路发送的指示之前,还包括:所述第一耳塞接收所述电子设备通过所述第二控制链路发送的所述指示。Before the second earbud receives the indication sent by the first earbud through the first control link, it further includes: the first earbud receives the instruction sent by the electronic device through the second control link. instruct. 6.根据权利要求1所述的方法,其特征在于,所述第二耳塞接收指令,包括:6. The method according to claim 1, wherein the second earplug receiving instructions comprises: 所述第二耳塞接收所述TWS耳机的耳机盒发送的指示。The second earplug receives the instruction sent by the earphone box of the TWS earphone. 7.根据权利要求1-6中任一项所述的方法,其特征在于,所述第一耳塞和所述第二耳塞建立第一语音链路,包括:7. The method according to any one of claims 1-6, wherein establishing a first voice link between the first earplug and the second earplug comprises: 所述第一耳塞和所述第二耳塞建立单向语音链路,所述单向语音链路用于传输由所述第一耳塞到所述第二耳塞的语音数据;The first earplug and the second earplug establish a one-way voice link, and the one-way voice link is used to transmit voice data from the first earplug to the second earplug; 响应于所述指令,所述第一耳塞和所述第二耳塞删除所述单向语音链路,建立所述第一语音链路。In response to the instruction, the first earbud and the second earbud delete the one-way voice link and establish the first voice link. 8.根据权利要求1-6中任一项所述的方法,其特征在于,所述第一耳塞和所述第二耳塞建立第一语音链路,包括:8. The method according to any one of claims 1-6, wherein establishing a first voice link between the first earplug and the second earplug comprises: 所述第一耳塞和所述第二耳塞建立第一单向语音链路,所述第一单向语音链路用于传输由所述第一耳塞到所述第二耳塞的语音数据;The first earplug and the second earplug establish a first one-way voice link, and the first one-way voice link is used to transmit voice data from the first earplug to the second earplug; 响应于所述指令,所述第一耳塞和所述第二耳塞建立第二单向语音链路,所述第二单向语音链路用于传输由所述第二耳塞到所述第一耳塞的语音数据;In response to the instruction, the first earbud and the second earbud establish a second one-way voice link for transmitting information from the second earbud to the first earbud voice data; 其中,所述第一语音链路包括所述第一单向语音链路和所述第二单向语音链路。Wherein, the first voice link includes the first one-way voice link and the second one-way voice link. 9.根据权利要求1-6中任一项所述的方法,其特征在于,所述方法还包括:9. The method according to any one of claims 1-6, wherein the method further comprises: 所述第一耳塞通过所述第一耳塞的麦克风采集声音信号,并转换为第一语音数据;The first earplug collects sound signals through the microphone of the first earplug, and converts them into first voice data; 所述第一耳塞接收所述电子设备通过所述第二语音链路发送的第二语音数据;The first earplug receives second voice data sent by the electronic device through the second voice link; 所述第一耳塞将所述第一语音数据和所述第二语音数据进行叠加后,通过所述第一语音链路发送至所述第二耳塞,所述第二耳塞播放进行叠加后的所述第一语音数据和所述第二语音数据;The first earplug superimposes the first voice data and the second voice data, and sends them to the second earplug through the first voice link, and the second earplug plays the superimposed voice data. The first voice data and the second voice data; 所述第二耳塞通过所述第二耳塞的麦克风采集声音信号,并转换为第三语音数据;The second earplug collects the sound signal through the microphone of the second earplug, and converts it into third voice data; 所述第二耳塞通过所述第一语音链路将所述第三语音数据发送至所述第一耳塞;the second earbud sends the third voice data to the first earbud via the first voice link; 所述第一耳塞将所述第二语音数据和所述第三语音数据进行叠加后播放;The first earplug plays after superimposing the second voice data and the third voice data; 所述第一耳塞将所述第一语音数据和所述第三语音数据进行叠加处理后,通过所述第二语音链路发送至所述电子设备。The first earphone sends the first voice data and the third voice data to the electronic device through the second voice link after superposition processing. 10.根据权利要求1-6中任一项所述的方法,其特征在于,所述方法还包括:10. The method according to any one of claims 1-6, wherein the method further comprises: 所述第一耳塞向所述第二耳塞发送所述第二语音链路的连接参数;the first earbud sends connection parameters of the second voice link to the second earbud; 所述第一耳塞通过所述第一耳塞的麦克风采集声音信号,并转换为第一语音数据;The first earplug collects sound signals through the microphone of the first earplug, and converts them into first voice data; 所述第一耳塞接收所述电子设备通过所述第二语音链路发送的第二语音数据;The first earplug receives second voice data sent by the electronic device through the second voice link; 所述第一耳塞将所述第一语音数据通过所述第一语音链路发送至所述第二耳塞;The first earplug sends the first voice data to the second earplug via the first voice link; 所述第二耳塞根据所述连接参数监听所述第二语音链路以获得所述第二语音数据;The second earplug monitors the second voice link according to the connection parameters to obtain the second voice data; 所述第二耳塞将所述第一语音数据和所述第二语音数据进行叠加后播放;The second earplug plays after superimposing the first voice data and the second voice data; 所述第二耳塞通过所述第二耳塞的麦克风采集声音信号,并转换为第三语音数据;The second earplug collects the sound signal through the microphone of the second earplug, and converts it into third voice data; 所述第二耳塞通过所述第一语音链路将所述第三语音数据发送至所述第一耳塞;the second earbud sends the third voice data to the first earbud via the first voice link; 所述第一耳塞将所述第二语音数据和所述第三语音数据进行叠加后播放;The first earplug plays after superimposing the second voice data and the third voice data; 所述第一耳塞将所述第一语音数据和所述第三语音数据进行叠加处理后,通过所述第二语音链路发送至所述电子设备。The first earphone sends the first voice data and the third voice data to the electronic device through the second voice link after superposition processing. 11.根据权利要求1-6中任一项所述的方法,其特征在于,所述第一耳塞为所述TWS耳机的主耳塞,所述第二耳塞为所述TWS耳机的副耳塞。11. The method according to any one of claims 1-6, wherein the first earplug is a main earplug of the TWS earphone, and the second earplug is a secondary earplug of the TWS earphone. 12.一种使用蓝牙耳机进行通话的方法,其特征在于,应用于电子设备,所述方法包括:12. A method for using a bluetooth earphone to make a call, characterized in that it is applied to an electronic device, and the method comprises: 所述电子设备与真无线立体声TWS耳机的第一耳塞进行蓝牙配对;The electronic device performs Bluetooth pairing with the first earplug of the true wireless stereo TWS earphone; 所述电子设备与所述第一耳塞建立第二控制链路;The electronic device establishes a second control link with the first earbud; 所述电子设备接收指令,响应于所述指令,所述电子设备通过所述第二控制链路向所述第一耳塞发送指示,所述指示用于指示所述TWS耳机的第二耳塞打开所述第二耳塞的麦克风,以使得所述第一耳塞的麦克风和所述第二耳塞的麦克风都处于开启状态。The electronic device receives an instruction, and in response to the instruction, the electronic device sends an instruction to the first earplug through the second control link, and the instruction is used to instruct the second earplug of the TWS earphone to turn on the The microphone of the second earplug, so that the microphone of the first earplug and the microphone of the second earplug are both in the open state. 13.根据权利要求12所述的方法,其特征在于,所述电子设备接收指令,包括:13. The method according to claim 12, wherein the receiving the instruction by the electronic device comprises: 所述电子设备接收用户对所述电子设备上的第三功能键的操作;或者,The electronic device receives the user's operation on the third function key on the electronic device; or, 所述电子设备接收用户对所述电子设备显示的界面中的功能控件的操作。The electronic device receives a user's operation on a function control in an interface displayed by the electronic device. 14.根据权利要求13所述的方法,其特征在于,所述界面为呼叫界面、通话界面、接听界面或设置界面;或者,所述功能控件包括在通知栏中。14. The method according to claim 13, wherein the interface is a call interface, a call interface, an answer interface or a setting interface; or, the function control is included in a notification bar. 15.根据权利要求12-14中任一项所述的方法,其特征在于,所述方法还包括:15. The method according to any one of claims 12-14, further comprising: 所述电子设备与所述第一耳塞建立第二语音链路,所述第二语音链路用于传输由所述第一耳塞到所述电子设备的语音数据,以及由所述电子设备到所述第一耳塞的语音数据;The electronic device establishes a second voice link with the first earplug, and the second voice link is used to transmit voice data from the first earplug to the electronic device, and from the electronic device to the electronic device. voice data of the first earbud; 所述电子设备接收第二语音数据,所述电子设备通过所述第二语音链路向所述第一耳塞发送所述第二语音数据;The electronic device receives second voice data, and the electronic device sends the second voice data to the first earbud through the second voice link; 所述电子设备接收所述第一耳塞通过所述第二语音链路发送的叠加处理后的第一语音数据和第三语音数据,发送叠加处理后的所述第一语音数据和所述第三语音数据,所述第一语音数据是所述第一耳塞通过所述第一耳塞的麦克风采集到的声音信号处理得到的语音数据,所述第二语音数据是所述第二耳塞通过所述第二耳塞的麦克风采集到的声音信号处理得到的语音数据。The electronic device receives the superimposed first voice data and the third voice data sent by the first earphone through the second voice link, and sends the superimposed first voice data and the third voice data. Voice data, the first voice data is the voice data obtained by processing the sound signal collected by the first earplug through the microphone of the first earplug, and the second voice data is the voice data obtained by the second earplug through the first earplug Voice data obtained by processing the sound signal collected by the microphone of the earbud. 16.一种使用蓝牙耳机进行通话的方法,其特征在于,应用于真无线立体声TWS耳机,所述TWS耳机包括第一耳塞和第二耳塞,所述第一耳塞和所述第二耳塞都包括麦克风;所述方法包括:16. A method for using a Bluetooth headset to make a call, characterized in that it is applied to a true wireless stereo TWS headset, the TWS headset includes a first earplug and a second earplug, and both the first earplug and the second earplug include a microphone; the method comprising: 所述第一耳塞与所述第二耳塞进行蓝牙配对;performing Bluetooth pairing between the first earplug and the second earplug; 所述第一耳塞和所述第二耳塞分别与电子设备进行蓝牙配对;Bluetooth pairing of the first earplug and the second earplug with the electronic device respectively; 所述第一耳塞打开所述第一耳塞的麦克风以采集声音信号;The first earplug turns on the microphone of the first earplug to collect sound signals; 所述第二耳塞接收指令,响应于所述指令,所述第二耳塞打开所述第二耳塞的麦克风以采集声音信号;The second earplug receives an instruction, and in response to the instruction, the second earplug turns on a microphone of the second earplug to collect sound signals; 所述第一耳塞和所述第二耳塞建立第一语音链路,所述第一语音链路用于传输由所述第一耳塞到所述第二耳塞的语音数据,以及由所述第二耳塞到所述第一耳塞的语音数据;The first earplug and the second earplug establish a first voice link, the first voice link is used to transmit voice data from the first earplug to the second earplug, and the second earplug voice data from the earbud to said first earbud; 所述第一耳塞和所述电子设备建立第二语音链路,所述第二语音链路用于传输由所述第一耳塞到所述电子设备的语音数据,以及由所述电子设备到所述第一耳塞的语音数据;The first earbud and the electronic device establish a second voice link, and the second voice link is used to transmit voice data from the first earbud to the electronic device, and from the electronic device to the electronic device. voice data of the first earbud; 所述第二耳塞和所述电子设备建立第三语音链路,所述第三语音链路用于传输由所述第二耳塞到所述电子设备的语音数据,以及由所述电子设备到所述第二耳塞的语音数据。The second earbud and the electronic device establish a third voice link, and the third voice link is used to transmit voice data from the second earbud to the electronic device, and from the electronic device to the electronic device. voice data of the second earbud. 17.根据权利要求16所述的方法,其特征在于,所述第二耳塞接收指令,包括:所述第二耳塞接收用户对所述第二耳塞上的第一功能键的操作。17. The method according to claim 16, wherein the second earplug receiving the instruction comprises: the second earplug receiving a user's operation on the first function key on the second earplug. 18.根据权利要求16所述的方法,其特征在于,所述方法还包括:所述第一耳塞与所述第二耳塞建立第一控制链路;18. The method according to claim 16, further comprising: establishing a first control link between the first earplug and the second earplug; 所述第二耳塞接收指令,包括:所述第二耳塞接收所述第一耳塞通过所述第一控制链路发送的指示。The second earplug receiving the instruction includes: the second earplug receiving the instruction sent by the first earplug through the first control link. 19.根据权利要求18所述的方法,其特征在于,在所述第二耳塞接收所述第一耳塞通过所述第一控制链路发送的指示之前,还包括:19. The method according to claim 18, further comprising: before the second earbud receives the instruction sent by the first earbud through the first control link: 所述第一耳塞接收用户对所述第一耳塞上的第二功能键的操作;The first earplug receives the user's operation on the second function key on the first earplug; 响应于对所述第二功能键的操作,所述第一耳塞通过所述第一控制链路向所述第二耳塞发送所述指示。In response to the operation of the second function key, the first earplug sends the indication to the second earplug through the first control link. 20.根据权利要求18所述的方法,其特征在于,所述方法还包括:所述第一耳塞与所述电子设备建立第二控制链路;20. The method according to claim 18, further comprising: establishing a second control link between the first earbud and the electronic device; 在所述第二耳塞接收所述第一耳塞通过所述第一控制链路发送的指示之前,还包括:所述第一耳塞接收所述电子设备通过所述第二控制链路发送的所述指示。Before the second earbud receives the indication sent by the first earbud through the first control link, it further includes: the first earbud receives the instruction sent by the electronic device through the second control link. instruct. 21.根据权利要求16所述的方法,其特征在于,所述第二耳塞接收指令,包括:21. The method according to claim 16, wherein the second earplug receiving instructions comprises: 所述第二耳塞接收所述TWS耳机的耳机盒发送的指示。The second earplug receives the instruction sent by the earphone box of the TWS earphone. 22.根据权利要求16所述的方法,其特征在于,所述方法还包括:所述第二耳塞与所述电子设备建立第三控制链路;22. The method according to claim 16, further comprising: establishing a third control link between the second earbud and the electronic device; 所述第二耳塞接收指令,包括:所述第二耳塞接收所述电子设备通过所述第三控制链路发送的指示。The second earplug receiving the instruction includes: the second earplug receiving the instruction sent by the electronic device through the third control link. 23.根据权利要求16-22中任一项所述的方法,其特征在于,所述方法还包括:23. The method according to any one of claims 16-22, further comprising: 所述第一耳塞通过所述第一耳塞的麦克风采集声音信号,并转换为第一语音数据,所述第一耳塞将所述第一语音数据通过所述第一语音链路发送至所述第二耳塞,将所述第一语音数据通过所述第二语音链路发送至所述电子设备;The first earplug collects sound signals through the microphone of the first earplug and converts them into first voice data, and the first earplug sends the first voice data to the first voice link through the first voice link. Two earplugs, sending the first voice data to the electronic device through the second voice link; 所述第一耳塞接收所述电子设备通过所述第二语音链路发送的第二语音数据;The first earplug receives second voice data sent by the electronic device through the second voice link; 所述第二耳塞通过所述第二耳塞的麦克风采集声音信号,并转换为第三语音数据,所述第二耳塞通过所述第三语音链路将所述第三语音数据发送至所述电子设备,通过所述第一语音链路将所述第三语音数据发送至所述第一耳塞;The second earplug collects sound signals through the microphone of the second earplug and converts them into third voice data, and the second earplug sends the third voice data to the electronic device through the third voice link. a device for sending the third voice data to the first earbud through the first voice link; 所述第二耳塞接收所述电子设备通过所述第三语音链路发送的所述第二语音数据;The second earplug receives the second voice data sent by the electronic device through the third voice link; 所述第一耳塞将所述第二语音数据和所述第三语音数据进行叠加后播放;The first earplug plays after superimposing the second voice data and the third voice data; 所述第二耳塞将所述第一语音数据和所述第二语音数据进行叠加后播放。The second earplug superimposes the first voice data and the second voice data and plays them. 24.一种使用蓝牙耳机进行通话的方法,其特征在于,应用于电子设备,所述方法包括:24. A method for using a bluetooth earphone to make a call, characterized in that it is applied to an electronic device, and the method comprises: 所述电子设备分别与真无线立体声TWS耳机的第一耳塞和第二耳塞进行蓝牙配对;The electronic device performs Bluetooth pairing with the first earplug and the second earplug of the true wireless stereo TWS earphone respectively; 所述电子设备与所述第二耳塞建立第三控制链路;The electronic device establishes a third control link with the second earbud; 所述电子设备接收指令,响应于所述指令,所述电子设备通过所述第三控制链路向所述第二耳塞发送指示,所述指示用于指示所述TWS耳机的第二耳塞打开所述第二耳塞的麦克风。The electronic device receives an instruction, and in response to the instruction, the electronic device sends an instruction to the second earplug through the third control link, and the instruction is used to instruct the second earplug of the TWS earphone to turn on the the microphone of the second earbud. 25.根据权利要求24所述的方法,其特征在于,所述电子设备接收指令,包括:25. The method according to claim 24, wherein the electronic device receiving the instruction comprises: 所述电子设备接收用户对所述电子设备上的第三功能键的操作;或者,The electronic device receives the user's operation on the third function key on the electronic device; or, 所述电子设备接收用户对所述电子设备显示的界面中的功能控件的操作。The electronic device receives a user's operation on a function control in an interface displayed by the electronic device. 26.根据权利要求25所述的方法,其特征在于,所述界面为呼叫界面、通话界面、接听界面或设置界面;或者,所述功能控件包括在通知栏中。26. The method according to claim 25, wherein the interface is a call interface, a call interface, an answer interface or a setting interface; or, the function control is included in a notification bar. 27.根据权利要求24-26中任一项所述的方法,其特征在于,所述方法还包括:27. The method according to any one of claims 24-26, further comprising: 所述电子设备与所述第一耳塞建立第二语音链路,所述第二语音链路用于传输由所述第一耳塞到所述电子设备的语音数据,以及由所述电子设备到所述第一耳塞的语音数据;The electronic device establishes a second voice link with the first earplug, and the second voice link is used to transmit voice data from the first earplug to the electronic device, and from the electronic device to the electronic device. voice data of the first earbud; 所述电子设备与所述第二耳塞建立第三语音链路,所述第三语音链路用于传输由所述第二耳塞到所述电子设备的语音数据,以及由所述电子设备到所述第二耳塞的语音数据;The electronic device establishes a third voice link with the second earplug, and the third voice link is used to transmit voice data from the second earplug to the electronic device, and from the electronic device to the electronic device. voice data of the second earbud; 所述电子设备接收第二语音数据,所述电子设备通过所述第二语音链路向所述第一耳塞发送所述第二语音数据,通过所述第三语音链路向所述第二耳塞发送所述第二语音数据;The electronic device receives second voice data, the electronic device sends the second voice data to the first earplug through the second voice link, and sends the second voice data to the second earplug through the third voice link sending the second voice data; 所述电子设备接收所述第一耳塞通过所述第二语音链路发送第一语音数据,接收所述第二耳塞通过所述第三语音链路发送的第三语音数据,所述第一语音数据是所述第一耳塞通过所述第一耳塞的麦克风采集到的声音信号处理得到的语音数据,所述第二语音数据是所述第二耳塞通过所述第二耳塞的麦克风采集到的声音信号处理得到的语音数据;The electronic device receives the first voice data sent by the first earbud through the second voice link, receives the third voice data sent by the second earbud through the third voice link, and the first voice data The data is the voice data obtained by processing the sound signal collected by the first earplug through the microphone of the first earplug, and the second voice data is the sound collected by the second earplug through the microphone of the second earplug Voice data obtained by signal processing; 所述电子设备将所述第一语音数据和所述第三语音数据进行叠加,发送叠加处理后的所述第一语音数据和所述第三语音数据。The electronic device superimposes the first voice data and the third voice data, and sends the superimposed first voice data and the third voice data. 28.一种真无线立体声TWS耳机,其特征在于,所述TWS耳机包括第一耳塞和第二耳塞;28. A true wireless stereo TWS earphone, characterized in that the TWS earphone includes a first earplug and a second earplug; 所述第一耳塞和所述第二耳塞分别包括:处理器、存储器、无线通信模块、受话器以及麦克风;所述存储器、所述无线通信模块、所述受话器以及所述麦克风与所述处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令;The first earplug and the second earplug respectively include: a processor, a memory, a wireless communication module, a receiver and a microphone; the memory, the wireless communication module, the receiver and the microphone are coupled to the processor , the memory is used to store computer program code, and the computer program code includes computer instructions; 当所述第一耳塞的处理器执行所述第一耳塞的存储器存储的计算机指令时,所述第一耳塞执行如权利要求1-11、16-23中任一项所述的使用蓝牙耳机进行通话的方法;When the processor of the first earplug executes the computer instructions stored in the memory of the first earplug, the first earplug performs the method of using a Bluetooth headset as described in any one of claims 1-11, 16-23. method of calling; 当所述第二耳塞的处理器执行所述第二耳塞的处理器存储的计算机指令时,所述第二耳塞执行如权利要求1-11、16-23中任一项所述的使用蓝牙耳机进行通话的方法。When the processor of the second earplug executes the computer instructions stored in the processor of the second earplug, the second earplug performs the use of a Bluetooth headset according to any one of claims 1-11, 16-23 The method for making calls. 29.一种电子设备,其特征在于,包括:一个或多个处理器、存储器、无线通信模块以及移动通信模块;29. An electronic device, comprising: one or more processors, memory, wireless communication module and mobile communication module; 所述存储器、所述无线通信模块以及所述移动通信模块与所述一个或多个处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述一个或多个处理器执行所述计算机指令时,所述电子设备执行如权利要求12-15、24-27中任一项所述的使用蓝牙耳机进行通话的方法。The memory, the wireless communication module and the mobile communication module are coupled to the one or more processors, the memory is used to store computer program codes, the computer program codes include computer instructions, when the one or When multiple processors execute the computer instructions, the electronic device executes the method for making a call using a Bluetooth headset according to any one of claims 12-15, 24-27. 30.一种蓝牙通信系统,其特征在于,所述蓝牙通信系统包括:30. A bluetooth communication system, characterized in that the bluetooth communication system comprises: 如权利要求28所述的真无线立体声TWS耳机,如权利要求29所述的电子设备,以及与所述电子设备进行通话的电子设备。The true wireless stereo TWS earphone as claimed in claim 28, the electronic device as claimed in claim 29, and the electronic device that communicates with the electronic device. 31.一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在真无线立体声TWS耳机的第一耳塞上运行时,使得所述第一耳塞执行如权利要求1-11、16-23中任一项所述的使用蓝牙耳机进行通话的方法;31. A computer storage medium, characterized in that it includes computer instructions, and when the computer instructions are run on the first earbud of the true wireless stereo TWS earphone, the first earbud executes claims 1-11, 16. - the method for using a bluetooth headset described in any one of 23; 当所述计算机指令在所述TWS耳机的第二耳塞上运行时,使得所述第二耳塞执行如权利要求1-11、16-23中任一项所述的使用蓝牙耳机进行通话的方法。When the computer instructions are run on the second earplug of the TWS headset, the second earplug is made to execute the method for making a call using a Bluetooth headset according to any one of claims 1-11, 16-23. 32.一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求12-15、24-27中任一项所述的使用蓝牙耳机进行通话的方法。32. A computer storage medium, characterized in that it includes computer instructions, and when the computer instructions are run on an electronic device, the electronic device is made to perform the operation described in any one of claims 12-15, 24-27. How to make a call using a Bluetooth headset.
CN201880098831.3A 2018-12-07 2018-12-07 Method, equipment and system for carrying out call by using Bluetooth headset Active CN112913321B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/119929 WO2020113587A1 (en) 2018-12-07 2018-12-07 Method, device and system for calling using bluetooth earpiece

Publications (2)

Publication Number Publication Date
CN112913321A CN112913321A (en) 2021-06-04
CN112913321B true CN112913321B (en) 2022-12-27

Family

ID=70973402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880098831.3A Active CN112913321B (en) 2018-12-07 2018-12-07 Method, equipment and system for carrying out call by using Bluetooth headset

Country Status (2)

Country Link
CN (1) CN112913321B (en)
WO (1) WO2020113587A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112422254A (en) * 2020-11-03 2021-02-26 深圳市卓翼科技股份有限公司 Communication method, system, apparatus, computer device and storage medium
CN214154799U (en) * 2020-12-29 2021-09-07 张佩玲 Wireless earphone assembly
CN115623455A (en) * 2021-07-14 2023-01-17 北京小米移动软件有限公司 Voice interaction method, device, system, bluetooth device and storage medium
CN114095906A (en) * 2021-10-14 2022-02-25 华为技术有限公司 A short-range communication method and system
CN116320859A (en) * 2021-12-08 2023-06-23 Oppo广东移动通信有限公司 State control method and device of earphone device, earphone device and storage medium
CN114466283B (en) * 2022-02-08 2025-02-18 维沃移动通信有限公司 Audio acquisition method, device, electronic device and peripheral component method
CN114885440B (en) * 2022-07-08 2022-11-08 荣耀终端有限公司 Method, electronic device and storage medium for voice communication between multiple audio devices
CN116074679B (en) * 2023-02-06 2023-11-10 宜百科技(深圳)有限公司 Method, device, equipment and storage medium for determining left and right states of intelligent earphone
CN117692832B (en) * 2023-05-29 2024-10-01 荣耀终端有限公司 Conflict resolution method for ultrasonic path and earphone path and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911857A (en) * 2017-03-08 2017-06-30 青岛中云时代信息技术有限公司 A kind of speech data exchange method and device
CN108718467A (en) * 2018-06-06 2018-10-30 歌尔科技有限公司 A kind of transmission method of voice data, wireless headset and TWS earphones
CN108882087A (en) * 2018-06-12 2018-11-23 歌尔科技有限公司 A kind of intelligent sound detection method, wireless headset, TWS earphone and terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848888A (en) * 2006-03-16 2006-10-18 夏明� Blue-tooth mobile telephone long-distance oral interpreting system and operating method
US20180063308A1 (en) * 2016-02-23 2018-03-01 Bioworld Merchandising System and Method for Voice Recognition
CN106130607B (en) * 2016-06-27 2019-04-26 联想(北京)有限公司 A kind of control method and electronic equipment
CN107124674B (en) * 2017-06-20 2019-11-08 歌尔科技有限公司 A kind of audio-frequency inputting method of bluetooth headset, device and bluetooth headset
CN108111953B (en) * 2017-12-21 2020-04-07 广东小天才科技有限公司 Audio sharing method and system based on TWS earphone and TWS earphone

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911857A (en) * 2017-03-08 2017-06-30 青岛中云时代信息技术有限公司 A kind of speech data exchange method and device
CN108718467A (en) * 2018-06-06 2018-10-30 歌尔科技有限公司 A kind of transmission method of voice data, wireless headset and TWS earphones
CN108882087A (en) * 2018-06-12 2018-11-23 歌尔科技有限公司 A kind of intelligent sound detection method, wireless headset, TWS earphone and terminal

Also Published As

Publication number Publication date
CN112913321A (en) 2021-06-04
WO2020113587A1 (en) 2020-06-11

Similar Documents

Publication Publication Date Title
CN112913321B (en) Method, equipment and system for carrying out call by using Bluetooth headset
US11778363B2 (en) Audio data transmission method applied to switching between single-earbud mode and double-earbud mode of TWS headset and device
CN112868244B (en) A point-to-multipoint data transmission method and device
CN112789867B (en) Bluetooth connection method and equipment
CN113228701B (en) Audio data synchronization method and device
US12245179B2 (en) Point-to-multipoint data transmission method and electronic device
CN112042212B (en) A kind of audio data transmission method and electronic device
CN114710768B (en) A bluetooth connection back method and related device
CN113039822B (en) Method and equipment for establishing data channel
CN113169915A (en) Wireless audio system, audio communication method and equipment
CN112806092B (en) A microphone MIC switching method and device
CN112771828A (en) Audio data communication method and electronic equipment
US12302425B2 (en) Wireless audio system, wireless communication method, and device

Legal Events

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