Conversation system and method and Bluetooth earphone
By stopping audio data transmission and audio processing in silent mode, monitoring the user's speech with the microphone, prompting the user to operate, the problem of fast power consumption of Bluetooth headphones is solved, extending the usage time and reducing power consumption.
Patent Information
- Application Number
- CN202310802720.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2024-12-31
AI Technical Summary
Bluetooth headphones consume faster battery life, and how to extend their usage time is a challenge.
By stopping the sending of audio data to the Bluetooth headset in silent mode and stopping the audio processing algorithm, power consumption is reduced, combined with the microphone to monitor the user's speaking situation, prompting the user whether to turn off the mute mode or the audio processing algorithm, and thus controlling the power consumption of the headset.
It effectively extends the battery life of Bluetooth headphones, reduces power consumption, and improves the battery life of the device.
Smart Images

Figure CN119233148A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a call system, method and Bluetooth headset. Background Art
[0002] With the development of technology, wearable devices are increasingly accepted by people. For example, Bluetooth headsets are devices that users often use. Bluetooth headsets can be connected to terminal devices, and users can answer calls through Bluetooth headsets, and users can also listen to music or video sounds through Bluetooth headsets. However, Bluetooth headsets are small in size and consume power quickly. How to extend the battery life of Bluetooth headsets needs further research. Summary of the invention
[0003] The present application provides a call system, method and Bluetooth headset, which can reduce the power consumption of the Bluetooth headset during a call and extend the battery life of the Bluetooth headset.
[0004] In a first aspect, the present application provides a call system, which includes a first electronic device, a second electronic device and a Bluetooth headset, wherein the first electronic device and the Bluetooth headset establish a Bluetooth headset, and the first electronic device and the second electronic device establish a call connection; wherein the first electronic device is used to display a first user interface, in which the call duration and a mute option are displayed; the first electronic device is also used to receive a first user operation for the mute option, and send a first message to the Bluetooth headset via the Bluetooth connection; the Bluetooth headset is used to stop sending audio data to the first electronic device in response to the first message.
[0005] The first electronic device can receive audio data sent by the second electronic device through the call connection. The first electronic device can send the audio data sent by the second electronic device to the Bluetooth headset through the Bluetooth connection, and the Bluetooth headset can play the audio data sent by the second electronic device. The Bluetooth headset can use the audio output by the user and send the audio output by the user to the first electronic device through the Bluetooth connection, and the first electronic device can send the audio output by the user to the second electronic device through the call connection. A call between the first electronic device and the second electronic device is realized.
[0006] Through this method, when the user of the first electronic device is not convenient to speak, the user can turn on the mute mode of the first electronic device. The user of the second electronic device cannot hear the audio output by the first electronic device. When the first electronic device is connected to a Bluetooth headset, the Bluetooth headset can stop sending audio data to the first electronic device to reduce the power consumption of the Bluetooth headset and extend the battery life of the Bluetooth headset.
[0007] The processed audio data is sent to the first electronic device, and the first electronic device then sends the processed audio data to the second electronic device.
[0008] In combination with the first aspect, in a possible implementation manner, the Bluetooth headset is further configured to stop running the audio processing algorithm in response to the first message.
[0009] In this way, the Bluetooth headset can stop sending audio data to the first electronic device and stop running the audio processing algorithm at the same time, so as to further reduce the power consumption of the Bluetooth headset and extend the battery life of the Bluetooth headset.
[0010] In combination with the first aspect, in a possible implementation, the Bluetooth headset includes a microphone; the Bluetooth headset is also used to: collect audio through the microphone; when the audio collected by the microphone is monitored within a first time period, a second message is sent to the first electronic device; the first electronic device is also used to: in response to the second message, display a first prompt message, the first prompt message is used to prompt the user whether to continue to send audio data to the first electronic device through the Bluetooth headset; receive a second user operation of the user for the first option in the first prompt message, and send a third message to the Bluetooth headset; the Bluetooth headset is also used to: in response to the third message, collect third audio data through the microphone; process the third audio data through an audio processing algorithm to obtain processed third audio data; send the processed third audio data to the first electronic device through a Bluetooth connection; the first electronic device is also used to: send the processed third audio data to the second electronic device through a call connection; the second electronic device is used to play the processed third audio data.
[0011] In this way, the Bluetooth headset can monitor whether the user of the first electronic device is speaking through the audio collected by the microphone. In the case where the user of the first electronic device is speaking and forgets to turn off the mute of the first electronic device, the Bluetooth headset can prompt the user to turn off the mute of the first electronic device through the first electronic device. Afterwards, the Bluetooth headset can process the audio collected by the headset through the audio processing algorithm, and send the processed audio data to the first electronic device, and the first electronic device then sends the processed audio data to the second electronic device.
[0012] In combination with the first aspect, in a possible implementation, the first electronic device is also used to: display a second prompt message, where the second prompt message is used to prompt the user whether to turn off the audio processing algorithm of the Bluetooth headset; the first electronic device is specifically used to receive a third user operation of the user for the second option in the second prompt message, and send a first message to the Bluetooth headset via a Bluetooth connection.
[0013] In this way, when the Bluetooth headset detects that the user is speaking, the Bluetooth headset can prompt the user through the first electronic device whether to turn off the audio processing algorithm of the Bluetooth headset. The user can choose to turn off the audio processing algorithm of the Bluetooth headset, or the user can choose not to turn off the audio processing algorithm of the Bluetooth headset.
[0014] Optionally, the first electronic device may not display the first prompt information and turn off the audio processing algorithm of the Bluetooth headset by default.
[0015] In conjunction with the first aspect, in a possible implementation, the Bluetooth headset is further configured to stop sending control messages to the first electronic device in response to the first message. In this way, the Bluetooth headset can simultaneously stop sending control messages to the first electronic device to further reduce the power consumption of the Bluetooth headset and extend the battery life of the Bluetooth headset.
[0016] In combination with the first aspect, in a possible implementation, the Bluetooth headset includes a microphone; the Bluetooth headset is further used to: collect audio through the microphone; monitor the audio collected by the microphone within a first time period, and prompt the user to turn off the mute of the first electronic device through one or more of vibration, flashing light, and voice prompt; the first electronic device is further used to: receive a fourth user operation of the user on the mute option, and send a third message to the Bluetooth headset through a Bluetooth connection; the Bluetooth headset is further used to: collect third audio data through the microphone in response to the third message; process the third audio data through an audio processing algorithm to obtain processed third audio data; send the processed third audio data to the first electronic device through a Bluetooth connection; the first electronic device is further used to: send the processed third audio data to the second electronic device through a call connection; the second electronic device is used to play the processed third audio data.
[0017] In this way, when the Bluetooth headset stops sending control messages to the first electronic device, the Bluetooth headset cannot send messages to the first electronic device when it detects that the user is talking, and the first electronic device cannot prompt the user to turn off the mute of the first electronic device. The Bluetooth headset can prompt the user to turn off the mute of the first electronic device by one or more of vibration, flashing lights, and voice prompts. After the user turns off the mute of the first electronic device, the Bluetooth headset can process the audio collected by the Bluetooth headset through an audio processing algorithm, and send the processed audio data to the first electronic device, and the first electronic device then sends the processed audio data to the second electronic device.
[0018] In combination with the first aspect, in a possible implementation method, the first electronic device is also used to: display a third prompt message, where the third prompt message is used to prompt the user whether to turn on the audio processing algorithm of the Bluetooth headset; the first electronic device is specifically used to receive a fourth user operation of the user for the third option in the third prompt message, and send a third message to the Bluetooth headset via a Bluetooth connection.
[0019] Career concept, after turning off the audio processing algorithm, the Bluetooth headset can prompt the user whether to turn on the audio processing algorithm. The user can choose to turn on the audio processing algorithm of the Bluetooth headset, or the user can choose not to turn on the audio processing algorithm of the Bluetooth headset.
[0020] Optionally, the first electronic device may not display the third prompt information and enable the audio processing algorithm of the Bluetooth headset by default.
[0021] In combination with the first aspect, in a possible implementation manner, the call connection includes any one of the following: an operator call connection and a network call connection.
[0022] In combination with the first aspect, in one possible implementation, the audio processing algorithm includes one or more of the following: noise reduction algorithm, echo elimination algorithm, voice enhancement algorithm, background noise optimization algorithm, wind noise optimization algorithm, call voice optimization algorithm, and accurate sound pickup algorithm.
[0023] In a second aspect, the present application provides a calling method, comprising: a Bluetooth headset receives a first message sent by a first electronic device via a Bluetooth connection, wherein a Bluetooth connection is established between the Bluetooth headset and the first electronic device, and a call connection is established between the first electronic device and the second electronic device, and the first message is sent after the first electronic device receives a first user operation for receiving a mute option in a first user interface; in response to the first message, the Bluetooth headset stops sending audio data to the first electronic device.
[0024] In combination with the second aspect, in a possible implementation, after the Bluetooth headset receives a first message sent by the first electronic device through a Bluetooth connection, the method further includes: in response to the first message, the Bluetooth headset stops running an audio processing algorithm.
[0025] In combination with the second aspect, in a possible implementation, the Bluetooth headset includes a microphone; after the Bluetooth headset stops sending audio data to the first electronic device, the method also includes: the Bluetooth headset collects audio through the microphone; when the audio collected by the microphone is monitored within a first time period, the Bluetooth headset sends a second message to the first electronic device through a Bluetooth connection, the second message is used to instruct the first electronic device to display a first prompt information, and the first prompt information is used to prompt the user whether to continue to send audio data to the first electronic device through the Bluetooth headset; the Bluetooth headset receives a third message sent by the first electronic device through a Bluetooth connection, the third message is sent after the first electronic device receives a second user operation of the user for the first option in the first prompt information; in response to the third message, the Bluetooth headset collects and processes third audio data through the microphone; the Bluetooth headset processes the third audio data through an audio processing algorithm to obtain processed third audio data; the Bluetooth headset sends the processed third audio data to the first electronic device through a Bluetooth connection, and the processed third audio data is used by the first electronic device to send to the second electronic device so that the second electronic device plays the processed third audio data.
[0026] In combination with the second aspect, in one possible implementation, the first message is sent after the first electronic device receives a third user operation on the second option in the second prompt information, the second prompt information is used to prompt the user whether to turn off the audio processing algorithm of the Bluetooth headset, and the second prompt information is displayed after the first electronic device receives the first user operation on the mute option.
[0027] In combination with the second aspect, in a possible implementation, after the Bluetooth headset receives a first message sent by the first electronic device through a Bluetooth connection, the method further includes: in response to the first message, stopping sending a control message to the first electronic device.
[0028] In combination with the second aspect, in a possible implementation, the Bluetooth headset includes a microphone; after the Bluetooth headset stops sending audio data to the first electronic device, the method also includes: the Bluetooth headset collects audio through the microphone; the audio collected by the microphone is monitored within a first time period, and the user is prompted to turn off the mute of the first electronic device by one or more of vibration, flashing light, and voice prompting; the Bluetooth headset sends a third message to the first electronic device through a Bluetooth connection, and the third message is sent after the first electronic device receives a fourth user operation of the user for the mute option; in response to the third message, the Bluetooth headset collects third audio data through the microphone; the Bluetooth headset processes the third audio data based on an audio processing algorithm to obtain processed third audio data; the Bluetooth headset sends the processed third audio data to the first electronic device through a Bluetooth connection, and the processed third audio data is used by the first electronic device to send to the second electronic device so that the second electronic device plays the processed third audio data.
[0029] In combination with the second aspect, in one possible implementation method, the third message is sent after the user performs a fourth user operation on the third option in the third prompt information, and the third prompt information is displayed after the user performs a second user operation on the first option in the first prompt information. The third prompt information is used to prompt the user whether to turn on the audio processing algorithm of the Bluetooth headset.
[0030] In conjunction with the second aspect, in a possible implementation, the call connection includes any one of the following: an operator call connection and a network call connection.
[0031] In combination with the second aspect, in one possible implementation method, the audio processing algorithm includes one or more of the following: noise reduction algorithm, echo elimination algorithm, voice enhancement algorithm, background noise optimization algorithm, wind noise optimization algorithm, call voice optimization algorithm, and accurate sound pickup algorithm.
[0032] In a third aspect, the present application provides a Bluetooth headset, which includes a processor and a memory; the memory is coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions, and the processor calls the computer instructions to execute a calling method provided in any possible implementation of the second aspect above.
[0033] In a fourth aspect, the present application provides a computer-readable storage medium for storing computer instructions. When the computer instructions are executed on a Bluetooth headset, the Bluetooth headset executes a calling method provided in any possible implementation of the second aspect.
[0034] In a fifth aspect, the present application provides a computer program product. When the computer program product is run on a Bluetooth headset, the Bluetooth headset executes an application running method provided in any possible implementation of any of the above aspects.
[0035] For the beneficial effects of the second to fifth aspects, reference may be made to the description of the beneficial effects in the first aspect, and the embodiments of the present application will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A system structure diagram provided for an embodiment of the present application;
[0037] Figure 2A A schematic diagram of the structure of an earphone provided in an embodiment of the present application;
[0038] Figure 2B A schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application;
[0039] Figure 3A-3D A schematic diagram of an electronic device 100 calling an electronic device 200 provided in an embodiment of the present application;
[0040] Figure 3E-3G A schematic diagram of another electronic device 100 calling an electronic device 200 provided in an embodiment of the present application;
[0041] Figure 3H-3J A schematic diagram of another electronic device 100 calling an electronic device 200 provided in an embodiment of the present application;
[0042] Figure 3K A schematic diagram of an electronic device 200 calling an electronic device 100 to initiate a call connection provided in an embodiment of the present application;
[0043] Figure 4A-4F A schematic diagram of an electronic device 100 calling an electronic device 200 and establishing a network call connection provided by an embodiment of the present application;
[0044] Figure 4G-4H A schematic diagram of an electronic device 200 calling an electronic device 100 and establishing a network call connection provided by an embodiment of the present application;
[0045] Figure 5A-Figure 5B A schematic diagram of an electronic device 100 turning on a silent mode after a call connection is established between the electronic device 100 and the electronic device 200, provided in an embodiment of the present application;
[0046] Figure 5C-5D Another schematic diagram of the electronic device 100 turning on the silent mode after the electronic device 100 and the electronic device 200 establish a call connection is provided in an embodiment of the present application;
[0047] Figure 6 A schematic diagram of a method for inter-device communication provided in an embodiment of the present application;
[0048] Figure 7A-7B A set of UI diagrams provided for embodiments of the present application;
[0049] Figure 8A-8B Another set of UI diagrams provided for embodiments of the present application;
[0050] Fig. 9 A schematic diagram of a method for turning off a silent mode of an electronic device 100 provided in an embodiment of the present application;
[0051] Fig.10 A UI diagram provided for an embodiment of the present application;
[0052] Fig.11 A schematic diagram of another method for turning off silent mode of an electronic device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0054] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0055] The term "user interface (UI)" in the following embodiments of the present application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. A common form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.
[0056] Figure 1 A system structure diagram provided for an embodiment of the present application.
[0057] The system includes a Bluetooth headset and an electronic device 100 .
[0058] The electronic device 100 may be a mobile phone, a tablet computer, a car computer, a wearable device (such as a smart watch, a smart bracelet, smart glasses), an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc. The specific type of the electronic device 100 is not limited in the embodiment of the present application.
[0059] For example, Figure 1 The electronic device 100 shown is a mobile phone. The following embodiments of the present application are described by taking the electronic device 100 as a mobile phone as an example.
[0060] Among them, Bluetooth headsets can be wired headsets and wireless headsets. Among them, wireless headsets can be divided into head-mounted headsets, neck-hanging headsets, in-ear Bluetooth wireless headsets, etc.
[0061] The Bluetooth headset can establish a Bluetooth connection with the electronic device 100, wherein the Bluetooth connection includes an uplink Bluetooth connection channel and a downlink Bluetooth connection channel. The uplink Bluetooth connection channel is used to send the audio collected by the Bluetooth headset to the electronic device 100, and the downlink Bluetooth connection channel is used to receive the audio sent by the electronic device 100.
[0062] For example, when the electronic device 100 makes a voice / video call with another device (such as the electronic device 200), the electronic device 100 can establish a Bluetooth headset with a Bluetooth headset. On the one hand, the electronic device 100 can send the audio sent by the electronic device 200 to the Bluetooth headset through the uplink Bluetooth connection, and the Bluetooth headset can play the audio sent by the electronic device 200. On the other hand, the Bluetooth headset can collect the user's audio, and the Bluetooth headset can use an audio processing algorithm to process the collected user's audio to obtain the processed audio. The Bluetooth headset then sends the processed audio to the electronic device 100 through the downlink Bluetooth connection, and the electronic device 100 then sends the processed audio to the electronic device 200, and the electronic device 200 can play the user's audio.
[0063] The electronic device 100 is not limited to establishing a voice / video call connection with the electronic device 200. The electronic device 100 can also establish a voice / video call connection with more other devices at the same time. This application does not limit this. This application takes the electronic device 100 and the electronic device 200 establishing a voice / video call connection as an example for explanation.
[0064] In some embodiments, when it is inconvenient for the user to speak, the electronic device 100 can receive a user operation to turn on the silent mode.
[0065] However, in the silent mode, the Bluetooth headset that establishes a Bluetooth connection with the electronic device 100 still collects audio in real time, processes the collected audio through an audio processing algorithm, and then sends the processed audio to the electronic device 100 through the downstream Bluetooth connection channel. After receiving the audio sent by the Bluetooth headset, the electronic device 100 does not send it to the electronic device 200. In the silent mode, the Bluetooth headset still processes the collected audio through the audio processing algorithm, and the Bluetooth headset still sends audio data to the electronic device 10 through the downstream Bluetooth connection channel, which increases the power consumption of the Bluetooth headset, thereby consuming the power of the Bluetooth headset.
[0066] Based on this, the present application provides a calling method, which can reduce the power consumption of the Bluetooth headset and extend the battery life of the Bluetooth headset.
[0067] Specifically, the method comprises the following steps:
[0068] Step 1: The electronic device 100 establishes a Bluetooth connection with the Bluetooth headset. The Bluetooth connection includes an uplink Bluetooth connection channel and a downlink Bluetooth connection channel. The electronic device 100 establishes a call connection with the electronic device 200. The electronic device 100 can receive the first audio sent by the electronic device 200 through the call, and send the first audio to the Bluetooth headset through the uplink Bluetooth connection channel, and the Bluetooth headset can play the first audio. The Bluetooth headset can also collect the second audio through the microphone, and process the second audio based on the audio processing algorithm to obtain the processed second audio, and the Bluetooth headset then sends the processed second audio to the electronic device 100 through the downlink Bluetooth connection channel. The electronic device 100 then sends the processed second audio to the electronic device 200, and the electronic device 200 can play the processed second audio.
[0069] Step 2: The electronic device 100 receives a user operation to turn on the silent mode. After the electronic device 100 turns on the silent mode, the electronic device 100 stops sending audio to the electronic device 200. However, the electronic device 100 still receives the audio sent by the electronic device 200 in real time.
[0070] Step three: in response to turning on the silent mode, the electronic device 100 may send a first message to the Bluetooth headset via a Bluetooth connection, where the first message is used to inform the Bluetooth headset that the silent mode has been turned on by the electronic device 100.
[0071] Step 4: In response to the first message, the Bluetooth headset stops sending audio data packets to the electronic device 100 and / or stops processing the audio through the audio processing algorithm.
[0072] Optionally, in other embodiments, in response to the first message, the Bluetooth headset may also turn off the microphone and stop collecting audio, thereby further reducing the power consumption of the Bluetooth headset.
[0073] In this way, after the electronic device 100 turns on the silent mode, the Bluetooth headset can stop sending audio data packets to the electronic device 100, and the Bluetooth headset can also stop processing the audio through the audio processing algorithm, or the Bluetooth headset can also stop sending audio data packets to the electronic device 100 and stop processing the audio through the audio processing algorithm at the same time, so as to reduce the power consumption of the Bluetooth headset and extend the battery life of the Bluetooth headset.
[0074] Figure 2A A schematic diagram of the structure of the earphones provided in an embodiment of the present application.
[0075] The following is a detailed description of the embodiment using a Bluetooth headset as an example. It should be understood that Figure 2A The Bluetooth headset shown is only an example, and the Bluetooth headset may have more Figure 2A More or fewer components may be shown, two or more components may be combined, or a different configuration of components may be provided. Figure 2A The various components shown in the drawings may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.
[0076] like Figure 2A As shown, the Bluetooth headset may include: a processor 201, a memory 202, a Bluetooth communication module 203, an antenna 204, a power switch 205, a USB communication processing module 206, and an audio module 207. Among them:
[0077] The processor 201 can be used to read and execute computer-readable instructions. In a specific implementation, the processor 201 may mainly include a controller, an arithmetic unit, and a register. Among them, the controller is mainly responsible for decoding instructions and sending control signals for operations corresponding to the instructions. The arithmetic unit is mainly responsible for saving register operands and intermediate operation results temporarily stored during the execution of instructions. In a specific implementation, the hardware architecture of the processor 201 may be an application-specific integrated circuit (ASIC) architecture, a MIPS architecture, an ARM architecture, or an NP architecture, etc.
[0078] In some embodiments, the processor 201 may be used to parse the information received by the Bluetooth communication module 203. The processor 201 may be used to perform corresponding processing operations according to the parsing results, such as generating a pairing mode modification response, and so on.
[0079] The memory 202 is coupled to the processor 201 and is used to store various software programs and / or multiple sets of instructions. In a specific implementation, the memory 202 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 202 may store an operating system, such as uCOS, VxWorks, RTLinux, and other embedded operating systems. The memory 202 may also store a communication program, which may be used to communicate with the electronic device 100 or other devices.
[0080] The Bluetooth communication module 203 may include a classic Bluetooth (BT) module and / or a Bluetooth low energy (BLE) module.
[0081] In some embodiments, the Bluetooth communication module 203 can detect signals emitted by the smart watch, such as detection requests, scanning signals, etc., and can send response signals, scanning responses, etc., so that the Bluetooth headset can discover the smart watch and establish a wireless communication connection with the smart watch, and communicate with the smart watch via Bluetooth.
[0082] In other embodiments, the Bluetooth communication module 203 may also transmit signals, such as broadcasting BLE signals, so that the smart watch can discover the Bluetooth headset and establish a wireless communication connection with the Bluetooth headset to communicate with the Bluetooth headset via Bluetooth.
[0083] The wireless communication function of the Bluetooth headset can be realized through the antenna 204, the Bluetooth communication module 203, the modem processor, etc.
[0084] Antenna 204 can be used to transmit and receive electromagnetic wave signals. Each antenna in the Bluetooth headset can be used to cover a single or multiple communication frequency bands.
[0085] In some embodiments, the Bluetooth communication module 203 may have one or more antennas.
[0086] The power switch 205 can be used to control the power supply to the Bluetooth headset. Optionally, the power supply in the Bluetooth headset can be non-real-time charging, that is, when the battery power of the Bluetooth headset is lower than the threshold, the user can charge the battery of the Bluetooth headset or replace the battery with a new one. Optionally, the power supply in the Bluetooth headset can also be real-time charging, that is, the Bluetooth headset charges the battery of the Bluetooth headset through the charging port in real time to ensure that the Bluetooth headset has enough power. Optionally, the Bluetooth headset may not include the USB power switch 205.
[0087] The USB communication processing module 206 may be used to communicate with other devices via a USB interface (not shown). Optionally, the Bluetooth headset may not include the USB communication processing module 206.
[0088] The audio module 207 can be used to output audio signals through the audio output interface, so that the Bluetooth headset can support audio playback. The audio module 207 can also be used to receive audio data through the audio input interface. The Bluetooth headset can be a media playback device such as a Bluetooth headset.
[0089] In some embodiments, the Bluetooth headset may further include a display screen (not shown), wherein the display screen may be used to display images, prompt information, etc. The display screen may be an LCD, an organic light-emitting diode (OLED) display screen, an active-matrix organic light emitting diode (AMOLED) display screen, a flexible light-emitting diode (FLED) display screen, a quantum dot light emitting diode (QLED) display screen, and the like.
[0090] In some embodiments, the Bluetooth headset may also include a serial interface such as an RS-232 interface. The serial interface may be connected to other devices, such as an audio external player such as a speaker, so that the Bluetooth headset and the audio external player cooperate to play audio and video.
[0091] It is understandable that Figure 2A The illustrated structure is only an example. In other embodiments of the present application, the Bluetooth headset may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0092] Figure 2B A schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application.
[0093] It should be understood that Figure 2B The electronic device 100 shown is only an example, and the electronic device 100 may have more Figure 1 More or fewer components may be shown, two or more components may be combined, or there may be a different configuration of components. Figure 2B The various components shown in the drawings may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.
[0094] The electronic device 100 may include: a processor 1110, an external memory interface 1210, an internal memory 121, an antenna 1, an antenna 2, a mobile communication module 1510, a wireless communication module 1610, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. Among them, the sensor module 180 may include a gyroscope sensor 180B, an acceleration sensor 180E, and a touch sensor 180K, etc.
[0095] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0096] The processor 1110 may include one or more processing units, for example, the processor 1110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0097] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0098] A memory may also be provided in the processor 1110 for storing instructions and data. In some embodiments, the memory in the processor 1110 is a cache memory. The memory may store instructions or data that the processor 1110 has just used or cyclically used. If the processor 1110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 1110, and thus improves the efficiency of the system.
[0099] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 1510, the wireless communication module 1610, the modem processor and the baseband processor.
[0100] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0101] The mobile communication module 1510 can provide wireless communication solutions including 2G / 3G / 4G / 5G etc. applied on the electronic device 100 .
[0102] The modulation and demodulation processor may include a modulator and a demodulator, wherein the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal, and the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
[0103] The wireless communication module 1610 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 1610 can be one or more devices integrating at least one communication processing module.
[0104] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 1510, and antenna 2 is coupled to wireless communication module 1610, so that electronic device 100 can communicate with the network and other devices through wireless communication technology.
[0105] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 1110 may include one or more GPUs that execute program instructions to generate or change display information.
[0106] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel.
[0107] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0108] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
[0109] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0110] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0111] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0112] NPU is a neural-network (NN) computing processor. It can quickly process input information by drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, and can also continuously self-learn.
[0113] The external memory interface 1210 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
[0114] The internal memory 121 may be used to store computer executable program codes, which include instructions. The processor 1110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area.
[0115] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0116] 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 signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 1110, or some functional modules of the audio module 170 can be arranged in the processor 1110.
[0117] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0118] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
[0119] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.
[0120] The earphone interface 170D is used to connect a wired earphone and can be a USB interface, or a 3.5 mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0121] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
[0122] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
[0123] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set 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 touch operations acting 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 other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0124] The button 190 includes a power button, a volume button, etc. The button 190 may be a mechanical button. It may also be a touch button. The electronic device 100 may receive a button input and generate a key signal input related to the user settings and function control of the electronic device 100. The motor 191 may generate a vibration prompt. The SIM card interface 195 is used to connect a SIM card. The SIM card may be connected to or disconnected from the electronic device 100 by inserting the SIM card interface 195 or pulling the SIM card interface 195 out.
[0125] First, a call scenario between electronic device 100 and electronic device 200 is introduced.
[0126] The call connection between the electronic device 100 and the electronic device 200 may be a network call connection or an operator call connection.
[0127] The electronic device 100 calls the electronic device 200 .
[0128] Figure 3A-3D It is a schematic diagram showing that the electronic device 100 calls the electronic device 200.
[0129] like Figure 3AAs shown, the electronic device 100 may display a desktop, in which a page with application icons is displayed, and the page includes multiple application icons (for example, a settings application icon, an application market application icon, a gallery application icon, a browser application icon, etc.). A page indicator is also displayed below the multiple application icons to indicate the positional relationship between the currently displayed page and other pages. A tray area is displayed below the page indicator. Among them, the tray area includes multiple tray icons, for example, a camera application icon, an address book application icon, a phone application icon, and an information application icon. The tray area remains displayed when the page switches. In some embodiments, the above-mentioned page may also include multiple application icons and a page indicator. The page indicator may not be part of the page and exists separately. The above-mentioned tray icon is also optional, and the embodiments of the present application are not limited to this.
[0130] The electronic device 100 may receive an input (eg, a click) from a user on a phone application icon, and in response to the input operation, the electronic device 100 may display a Figure 3B The user interface shown. Figure 3B It is a user interface 110 of a call service provided by an electronic device 100 provided in an embodiment of the present application, and can also be called a call record interface.
[0131] like Figure 3B As shown, multiple call records are shown in the user interface 110. The time of one of the call records is 20:15, the user name is "User 2", and the phone number of "User 2" is "xxxxxxx". The time of one of the call records is 19:38, the user name is "Mom", and the phone number of "Mom" has been hidden. The time of one of the call records is 19:20, the user name is "Dad", and the phone number of "Dad" has been hidden. The time of one of the call records is yesterday, the user name is "Xiao Zhao", and the phone number of "Xiao Zhao" has been hidden. The time of one of the call records is yesterday, the user name is "Xiao Zhang", and the phone number of "Xiao Zhang" has been hidden. The time of one of the call records is yesterday, the user name is "Xiao Li", and the phone number of "Xiao Li" has been hidden.
[0132] The electronic device 100 may receive a user operation to call other users in the call record interface.
[0133] For example, Figure 3B As shown, the electronic device 100 can receive an input operation (such as a single-click operation) from the user for the "Mom" option in the user interface 110, and the electronic device 100 can proactively call the user "Mom".
[0134] For example, the nickname of the user of the electronic device 200 may be "Mom".
[0135] In response to the user's input operation, the electronic device 100 may display Figure 3C The user interface 120 is shown. The user interface 120 may also be referred to as a waiting call interface. The user interface 120 includes a plurality of call options, such as an end call option 1203, a dial pad option 1204, a speaker on / off option 1205, a recording option, an add call option, a video call option, a mute option 1202, a contact option, etc. The user interface 120 also includes a prompt message 1201, which prompts the user in English that a call is currently being made, but the call has not yet been successfully established.
[0136] The end call option is used to end the current call. After the electronic device 100 ends the current call, the electronic device 100 may display Figure 3B User interface 110 is shown.
[0137] The dial pad option 1204 may be used to receive a user operation to display a dial pad.
[0138] The speaker on / off option 1205 is used to turn on or off the speaker of the electronic device 100. When the speaker of the electronic device 100 is turned on, the electronic device 100 can play the audio of the call through the speaker to increase the volume of the audio played by the electronic device 100. When the speaker of the electronic device 100 is turned off, the electronic device 100 can stop playing the audio of the call through the speaker and play the audio of the call through the speaker of the electronic device 100. The volume of the audio of the call played by the electronic device 100 through the speaker is lower than the volume of the audio of the call played by the electronic device 100 through the speaker.
[0139] The recording option can be used to receive user operations to save the audio of the call locally.
[0140] The add call option can be used to receive user operations to add another call connection to achieve multi-way calls.
[0141] The video call option can be used to receive user operations to turn on the camera of the electronic device 100, allowing the electronic device 100 to conduct a video call with other devices. That is, while playing the call audio, it can also display the image captured by the camera of the other device. In some embodiments, the electronic device 100 can also display the image captured by the camera of the local device.
[0142] The mute option 1202 may be used to receive a user operation to turn off the speaker of the electronic device 100 , so that the electronic device 100 plays audio silently.
[0143] The contact option can be used to receive user actions to display the contact interface, such as Figure 3F The contacts interface is displayed.
[0144] After the electronic device 200 agrees to the call request of the electronic device 100, the electronic device 100 may display Figure 3D The user interface 130 is shown. The user interface 130 is similar to the user interface 120, except that the user interface 130 also includes a timestamp 1206, which is used to remind the user of the current call time. For example, the current call duration is 2 seconds.
[0145] In some embodiments, the user interface 130 may be referred to as a first user interface, and the timestamp 1206 may be used to display the duration of the call. The mute option in the first user interface may be Figure 3D Mute option 1202 is shown.
[0146] Figure 3E-3G A schematic diagram showing another electronic device 100 calling an electronic device 200 is shown.
[0147] like Figure 3E As shown, the electronic device 100 may receive an input operation (eg, a click) from a user on a contact option in the user interface, and in response to the user's input operation, the electronic device 100 may display Figure 3F The user interface 140 shown in FIG. 1 shows the names of multiple contacts. For example, the contact "1-Lao Wang", the contact "Andy", the contact "Anna", the contact "Mom", and the contact "Birtney". The electronic device 100 can receive the user's input operation (such as a single click) for the contact option, and in response to the user's input operation, the electronic device 100 can display the detailed information of the contact.
[0148] For example, Figure 3F As shown, the electronic device 100 may receive an input operation (eg, a single click) from a user for the "Mom" option in the user interface 140. In response to the input operation from the user, the electronic device 100 may display Figure 3G The user interface 150 shown is the detailed information interface of the contact "Mom".
[0149] For example, the nickname of the user of the electronic device 200 may be "Mom".
[0150] like Figure 3G As shown, the user interface shows the mobile phone number "188********" of the contact "Mom", the landline number "07558280****" of the contact "Mom", and the call record with the contact "Mom" "Yesterday 11:30, incoming call 34 seconds", etc.
[0151] like Figure 3G As shown, the electronic device 100 can receive a user input operation (such as a single click) for the mobile phone number option in the user interface 150. In response to the user input operation, the electronic device 100 can make a call to the electronic device used by the contact "Mom". Figure 3C and Figure 3D Description in the Examples.
[0152] Figure 3H-3J A schematic diagram showing another electronic device 100 calling an electronic device 200 is shown.
[0153] like Figure 3H As shown, the electronic device 100 can receive an input operation (such as a click) from a user for a dialing option in the user interface, and in response to the user's input operation, the electronic device 100 can display Fig. 3I The user interface 160 shown in FIG. 1 shows a dialing interface in the user interface 160. The user interface 160 also includes a dialing key 1601.
[0154] The electronic device 100 can receive the mobile phone number of the peer device input by the user in the user interface 160. Figure 3J As shown, the mobile phone number of the peer device may be "123000564". After the user confirms that the phone number is correct, the electronic device 100 may receive the user's input operation (e.g., single click) on the dial key 1601 in the user interface 160. In response to the user's input operation, the electronic device 100 may make a call to the electronic device with the mobile phone number "123000564". For details, please refer to Figure 3C and Figure 3D Description in the Examples.
[0155] Exemplarily, the mobile phone number of the electronic device 200 may be “123000564”.
[0156] Based on the above description, according to Figure 3A-3J As described in , the electronic device 100 can actively initiate a call connection to the electronic device 200.
[0157] In some embodiments, the electronic device 200 may actively initiate a call connection to the electronic device 100 .
[0158] Figure 3K The schematic diagram exemplarily shows that the electronic device 200 calls the electronic device 100 to initiate a call connection.
[0159] For example, Figure 3K As shown, after the electronic device 100 receives the call establishment connection sent by the electronic device 200, the electronic device 100 may display Figure 3KThe user interface 210 shown is a call request interface sent by the electronic device 200 used by the contact "Mom". The user interface 210 includes a call end control and a call receiving control 2101.
[0160] like Figure 3K As shown, the electronic device 100 may receive an input operation (e.g., a click) from the user on the receive call control 2101 in the user interface 210. In response to the user's input operation, the electronic device 100 agrees to establish a call connection with the electronic device 200. Afterwards, the electronic device 100 may display Figure 3D User interface 130 is shown.
[0161] Figure 3A-3K The process of establishing a carrier call between the electronic device 100 and the electronic device 200 is shown. Specifically, the electronic device 100 can send the collected audio data of the user to the carrier base station, and the carrier base station then sends the audio data of the user collected by the electronic device 100 to the electronic device 200. The electronic device 200 can also send the collected audio data of the user to the carrier base station, and the carrier base station then sends the audio data of the user collected by the electronic device 200 to the electronic device 200. To realize the call between the electronic device 100 and the electronic device 200.
[0162] In other embodiments, the electronic device 100 may also establish a network call connection with the electronic device 200 .
[0163] Figure 4A-4F A schematic diagram showing an electronic device 100 calling an electronic device 200 and establishing a network call connection is shown.
[0164] Exemplarily, the electronic device 100 and the electronic device 200 can initiate an Internet call connection with each other in an instant call application.
[0165] For example, Figure 4A As shown, the desktop of the electronic device 100 also shows an icon of an instant messaging application. The electronic device 100 can receive an input operation (such as a single click) from a user on the instant messaging application icon. In response to the input operation from the user, the electronic device 100 can display Figure 4B The user interface 410 shown may be a main interface of an instant messaging application.
[0166] like Figure 4B As shown, multiple contacts and group chat dialog boxes are shown in the user interface 410. For example, a dialog box of the contact "Henry", a dialog box of the contact "Lucy", a dialog box of the contact "David", etc. The electronic device 100 can receive a user operation to initiate a network call connection to any contact.
[0167] For example, Figure 4B As shown, the electronic device 100 may receive an input operation (eg, a click) from a user on a dialog box for the contact "Henry". In response to the user's input operation, the electronic device 100 may display Figure 4C The user interface 420 shown. The user interface 420 may be a communication interface of the contact “Henry”. The user interface 420 shows a plurality of chat records.
[0168] When the electronic device 100 needs to initiate an Internet call connection to the contact "Henry", Figure 4C As shown, the electronic device 100 may receive an input operation (eg, a click) from a user on an input box in the user interface 420. In response to the input operation from the user, the electronic device 100 may display Figure 4D Window 430 is shown. Window 430 shows multiple options, such as photo options, shooting options, video call options, location options, red envelope options, transfer options, voice input options, favorite options, etc. Among them, the user can send pictures or videos in the gallery application of the electronic device 100 to the contact "Henry" through the photo option. The user can take pictures or videos through the camera of the electronic device 100 through the shooting option, and send the pictures or videos taken by the camera of the electronic device 100 to the contact "Henry". The user can initiate a voice network call or video network call to the contact "Henry" through the video call option. The user can send the real-time location of the electronic device 100 to the contact "Henry" through the location option. The user can send a red envelope of a certain amount to the contact "Henry" through the red envelope option. The user can initiate a transfer request to the contact "Henry" through the transfer option. The user can send the audio collected by the microphone of the electronic device 100 to the contact "Henry" through the voice input option. The user can send the pictures / videos / files and other information collected by the user in the instant messaging application to the contact "Henry" through the favorite option. The electronic device 100 may also receive a sliding operation (eg, a left sliding operation) performed by the user in the window 430 to view other options that are not displayed.
[0169] When the electronic device 100 needs to initiate an Internet call connection to the contact "Henry", Figure 4D As shown, the electronic device 100 may receive a user input operation (eg, a single click) for the video call option in the window 430, and in response to the user's input operation, the electronic device 100 may display Figure 4EThe user interface 440 shown in FIG. 4 includes a switch to voice call option and a hang up option. The user can switch the video network call to a voice network call by switching to the voice call option. The user can end the video network call connection or the voice network call connection with the contact "Henry" by hanging up the option.
[0170] When the electronic device (e.g., electronic device 200) used by the contact "Henry" receives the video network call connection establishment request sent by the electronic device 100, and the electronic device 200 receives the user's operation to agree to establish the video network call connection with the electronic device 100, the electronic device 100 can Figure 4F The user interface 450 shown in the figure can be a user interface for a video network call between the electronic device 100 and the electronic device 200. The user interface 450 may include a hang-up option, a switch to network voice call option, a switch to front and rear cameras option, a turn off the camera of the electronic device 100 option, a mute option, a speaker option, and a shrink user interface 450 option. Among them, the user can actively end the network video call with the electronic device 200 through the hang-up option. The user can also switch the network video call to the network voice call option by switching to the network voice call option, and the network voice call option cannot display the images collected by the cameras of both parties. The user can also switch the electronic device 100 from the front camera to the rear camera by switching the front and rear cameras option, and display the image collected by the rear camera of the electronic device 100, and send the image collected by the rear camera of the electronic device 100 to the electronic device 200. The user can also stop the electronic device 100 from collecting images through the front camera by turning off the camera option of the electronic device 100, and stop displaying the image collected by the electronic device 100 through the front camera in the user interface 450, and also stop sending the image collected by the electronic device 100 through the front camera to the electronic device 200. The user can also use the mute option to make the electronic device 100 turn off the microphone and stop collecting audio through the microphone, and also stop sending the audio collected by the electronic device 100 through the microphone to the electronic device 200. The user can also use the speaker option to make the electronic device 100 play the audio sent by the electronic device 200 through the speaker. The user can also use the shrink user interface 450 option to shrink the user interface 450. After exiting the first application, the electronic device 100 can also suspend and display the shrunken user interface 450.
[0171] In some embodiments, user interface 450 may be referred to as a first user interface. The mute option in the first user interface may be Figure 4F Mute options shown.
[0172] Figure 4G-4H A schematic diagram showing an electronic device 200 calling an electronic device 100 and establishing a network call connection is shown.
[0173] The electronic device 200 may also be configured in accordance with Figure 4A-4D The method shown calls the electronic device 100 and establishes a network call connection with the electronic device 100, and sends a request to establish a network call connection to the electronic device 100.
[0174] For example, Figure 4G As shown, after receiving the network call connection establishment request sent by the electronic device 200, the electronic device 100 can display a prompt message 460 in the pull-down notification bar, and the prompt message 460 is used to remind the user that there is a new incoming call reminder. The electronic device 100 can receive the user's input operation (such as a single click) for the prompt message 460, and in response to the user's input operation, the electronic device 100 can display Figure 4H The user interface 470 shown. The user interface 470 includes a hang-up option and an answering option. Among them, the user can refuse to establish a network call connection with the electronic device 100 through the hang-up option. The user can also establish a network call connection with the electronic device 100 through the answering option.
[0175] For example, Figure 4H As shown, the electronic device 100 may receive an input operation (eg, a single click) from a user for an answering option in the user interface 930. In response to the input operation from the user, the electronic device 100 may display Figure 4F User interface 450 is shown.
[0176] Figure 4A-4H The process of establishing a network call between the electronic device 100 and the electronic device 200 is shown. Specifically, the electronic device 100 can send the collected audio data of the user to the instant messaging application server, and the instant messaging application server then sends the audio data of the user collected by the electronic device 100 to the electronic device 200. The electronic device 200 can also send the collected audio data of the user to the instant messaging application server, and the instant messaging application server then sends the audio data of the user collected by the electronic device 200 to the electronic device 200. To realize the call between the electronic device 100 and the electronic device 200.
[0177] It should be noted that Figure 4A-4H The present invention only illustrates an exemplary process of establishing a network call between electronic device 100 and electronic device 200. The present invention is not limited to establishing a network call within an instant messaging application. Electronic device 100 and electronic device 200 may also establish a network call in other applications based on other methods, and the present application does not limit this.
[0178] After the electronic device 100 and the electronic device 200 establish a call connection, the electronic device 100 can play the second audio sent by the electronic device 200 through the Bluetooth headset. The Bluetooth connection between the electronic device 100 and the Bluetooth headset can be established before the electronic device 100 and the electronic device 200 establish a call connection, the Bluetooth connection between the electronic device 100 and the Bluetooth headset can also be established after the electronic device 100 and the electronic device 200 establish a call connection, and the Bluetooth connection between the electronic device 100 and the Bluetooth headset can also be established at the same time as the electronic device 100 and the electronic device 200 establish a call connection, and this application does not limit this.
[0179] The electronic device 100 turns on the silent mode.
[0180] In some embodiments, after the electronic device 100 establishes a call connection with the electronic device 200, if the user of the electronic device 100 is not convenient to speak, the electronic device 100 can receive a user operation to turn on the silent mode of the electronic device 100. After the electronic device 100 turns on the silent mode, the electronic device 100 will stop sending audio to the electronic device 200.
[0181] Figure 5A-Figure 5B A schematic diagram is shown in which the electronic device 100 turns on the silent mode after a call connection is established between the electronic device 100 and the electronic device 200.
[0182] exist Figure 5A-Figure 5B In the embodiment, after the electronic device 100 establishes a carrier call with the electronic device 200, the electronic device 100 can turn on the silent mode.
[0183] For example, Figure 5A As shown, the electronic device 100 may receive an input operation (e.g., a click) from a user on the mute option 1202 in the user interface 130. In response to the input operation from the user, the electronic device 100 may change the display form of the mute option 1202, e.g., display Figure 5B As shown in the style, the electronic device 100 may highlight the mute option 1202 to prompt the user that the electronic device 100 has turned on the mute mode.
[0184] In response to turning on the silent mode, the electronic device 100 is not limited to displaying Figure 5B The display form of the mute option 1202 can also be changed in other ways as shown, and this application does not limit this.
[0185] In some embodiments, the user's input operation on the mute option 1202 in the user interface 130 may be referred to as a first user operation.
[0186] Figure 5C-5DAnother schematic diagram is shown in which the electronic device 100 turns on the silent mode after the electronic device 100 establishes a call connection with the electronic device 200.
[0187] exist Figure 5C-5D In the embodiment, after the electronic device 100 establishes a network call with the electronic device 200, the electronic device 100 can turn on the silent mode.
[0188] For example, Figure 5C As shown, the electronic device 100 may receive an input operation (e.g., a click) from a user for a mute option in the user interface 450. In response to the input operation from the user, the electronic device 100 may change the display form of the mute option, e.g., display Figure 5D As shown in the style, the electronic device 100 may highlight the mute option to prompt the user that the electronic device 100 has turned on the mute mode.
[0189] In some embodiments, the user's input operation for the mute option in the user interface 450 may be referred to as a first user operation.
[0190] In response to turning on the silent mode, the electronic device 100 is not limited to displaying Figure 5D The display form of the mute option can also be changed in other ways as shown, and this application does not limit this.
[0191] After the electronic device 100 turns on the silent mode, if the electronic device 100 is connected to a Bluetooth headset, the electronic device 100 can send a message to the Bluetooth headset so that the Bluetooth headset can stop sending audio data packets to the electronic device 100, and the Bluetooth headset can also stop processing the audio through the audio processing algorithm, or the Bluetooth headset can also stop sending audio data packets to the electronic device 100 and stop processing the audio through the audio processing algorithm at the same time, so as to reduce the power consumption of the Bluetooth headset and extend the battery life of the Bluetooth headset.
[0192] Figure 6 A schematic diagram of a method for inter-device communication provided by the present application is shown.
[0193] S601: The electronic device 100 and the electronic device 200 establish a call connection.
[0194] The call connection between the electronic device 100 and the electronic device 200 may be a carrier call connection.
[0195] The electronic device 100 and the electronic device 200 may be configured as follows: Figure 3A-3D or Figure 3E-3G or Figure 3H-3J or Figure 3K Establish a carrier call connection.
[0196] For example, after the electronic device 100 and the electronic device 200 establish a carrier call connection, the electronic device 100 may display Figure 3C User interface 120 is shown.
[0197] The call connection between the electronic device 100 and the electronic device 200 may also be a network call connection.
[0198] The electronic device 100 and the electronic device 200 may be configured as follows: Figure 4A-4F Establish an Internet call connection.
[0199] For example, after the electronic device 100 and the electronic device 200 establish a network call connection, the electronic device 100 may display Figure 4F User interface 450 is shown.
[0200] S602: The electronic device 100 establishes a Bluetooth connection with the Bluetooth headset.
[0201] The electronic device 100 establishes a Bluetooth connection with the Bluetooth headset, and the user can listen to the audio data sent by the electronic device 200 through the Bluetooth headset.
[0202] S602 may be executed before S601, S602 may be executed after S601, or S602 may be executed simultaneously with S601, which is not limited in the present application.
[0203] S603: The electronic device 100 receives the first audio data sent by the electronic device 200.
[0204] After the electronic device 100 and the electronic device 200 establish a call connection, the electronic device 100 may receive first audio data sent by the electronic device 200 through the call connection. The first audio data may be audio data output by the first user (the user of the electronic device 200).
[0205] S604: The electronic device 100 sends the first audio data to the Bluetooth headset.
[0206] After receiving the first audio data sent by the electronic device 200, the electronic device 100 may send the first audio data to the Bluetooth headset via the Bluetooth connection.
[0207] S605: The Bluetooth headset plays the first audio data.
[0208] After receiving the first audio data sent by the electronic device 100, the Bluetooth headset can play the first audio data.
[0209] S606: The Bluetooth headset collects second audio data.
[0210] S607: The Bluetooth headset processes the second audio data based on an audio processing algorithm to obtain processed second audio data.
[0211] S608 : The Bluetooth headset processes the second audio data and sends it to the electronic device 100 .
[0212] Exemplarily, the audio processing algorithm includes but is not limited to one or more of the following: noise reduction algorithm, echo cancellation algorithm, voice enhancement algorithm, background noise optimization algorithm, wind noise optimization algorithm, call voice optimization algorithm, accurate sound pickup algorithm, etc. The audio processing algorithm may also include other algorithms, which are not limited in this application.
[0213] After playing the first audio data, the Bluetooth headset can collect the audio data (second audio data) of the second user through the microphone, and process the second audio data based on the audio processing algorithm to obtain processed second audio data. The Bluetooth headset then sends the processed second audio data to the electronic device 100, so that the electronic device 100 can send the processed second audio data to the electronic device 200 through the call connection.
[0214] S609 : The electronic device 100 sends the processed second audio data to the electronic device 200 .
[0215] After receiving the processed second audio data sent by the Bluetooth headset, the electronic device 100 can send the processed second audio data to the electronic device 200 through the call connection, so that the electronic device 200 can play the second audio data output by the second user, so as to realize the video call / audio call between the electronic device 100 and the electronic device 200.
[0216] S610: The electronic device 100 receives a user operation to turn on the silent mode.
[0217] In some embodiments, when the second user is not convenient to speak, the electronic device 100 can receive the second user's operation to turn on the silent mode. After the electronic device 100 turns on the silent mode, the electronic device 100 will stop sending audio data to the electronic device 200, and the user of the electronic device 200 (the first user) will not be able to hear the audio output by the second user.
[0218] Exemplarily, the user operation to enable silent mode may be Figure 5A As shown, for the input operation (e.g., click) of the mute option 1202 in the user interface 130, in response to the user's input operation, the electronic device 100 can change the display form of the mute option 1202, for example, display Figure 5B As shown in the style, the electronic device 100 may highlight the mute option 1202 to prompt the user that the electronic device 100 has turned on the mute mode.
[0219] For example, the user operation of turning on the silent mode can also be Figure 5C In response to the user's input operation (eg, single click) for the mute option in the user interface 450, the electronic device 100 may change the display form of the mute option, for example, display Figure 5D As shown in the style, the electronic device 100 may highlight the mute option to prompt the user that the electronic device 100 has turned on the mute mode.
[0220] S611. The electronic device 100 sends a first message to the Bluetooth headset.
[0221] S612: In response to the first message, the Bluetooth headset stops sending audio data to the electronic device 100 and / or stops processing the collected audio through the audio processing algorithm.
[0222] In response to the first message, the Bluetooth headset may stop sending audio data to the electronic device 100 .
[0223] In response to the first message, the Bluetooth headset may also stop processing the collected audio through the audio processing algorithm. The audio processing algorithm includes but is not limited to one or more of the following: noise reduction algorithm, echo cancellation algorithm, voice enhancement algorithm, background noise optimization algorithm, wind noise optimization algorithm, call voice optimization algorithm, accurate sound pickup algorithm, etc.
[0224] In response to the first message, the Bluetooth headset may also simultaneously stop processing the collected audio through the audio processing algorithm and stop sending audio data to the electronic device 100 .
[0225] In this way, the power consumption of Bluetooth can be reduced and the battery life of Bluetooth headsets can be extended.
[0226] Optionally, in some embodiments, after the electronic device 100 receives a user operation to turn on the silent mode, before the electronic device 100 sends a first message to the Bluetooth headset, the electronic device 100 may also prompt the user to choose to turn off the audio processing algorithm and / or stop sending audio data.
[0227] For example, the electronic device 100 may display Fig. 7A The prompt information 710 shown in the figure shows multiple options, such as the option of turning off the audio processing algorithm, the option of stopping sending audio data, the option of selecting all, etc. The user can stop the Bluetooth headset from processing the audio based on the audio processing algorithm by turning off the audio processing algorithm option. The user can also stop the Bluetooth headset from sending audio data to the electronic device 100 by the option of stopping sending audio data. The user can also stop the Bluetooth headset from processing the audio based on the audio processing algorithm and stop sending audio data to the electronic device 100 by selecting all.
[0228] Among them, electronic equipment displays Fig. 7A The prompt information 710 shown may prompt the user to select which settings to turn off.
[0229] Wherein, without turning off the audio processing algorithm, after the electronic device 100 turns off the silent mode, Bluetooth can process the collected audio based on the audio processing algorithm at a faster speed to speed up the speed at which the Bluetooth headset sends audio to the electronic device 100. If the audio processing algorithm is turned off, after the electronic device 100 turns off the silent mode, Bluetooth needs to load and run the audio processing algorithm first, and then process the collected audio based on the audio processing algorithm, which will delay the speed at which the Bluetooth headset sends audio to the electronic device 100.
[0230] For example, Figure 7B As shown, the electronic device 100 can receive the user's input operation (e.g., single-click selection operation) for all selected options in the prompt information 710, and then the electronic device 100 receives the user's input operation (e.g., single-click) for a certain option in the prompt information 710. In response to the user's input operation, the electronic device 100 can send a first message to the Bluetooth headset. After receiving the first message, the Bluetooth headset can also stop processing the collected audio through the audio processing algorithm and stop sending audio data to the electronic device 100 in response to the first message.
[0231] In some embodiments, Fig. 7A The prompt information 710 shown may be referred to as second prompt information.
[0232] In some embodiments, Fig. 7A The option of turning off the audio processing algorithm in the prompt information 710 shown can be referred to as the second option in the second prompt information.
[0233] In other embodiments, the electronic device 100 may also receive an input operation (e.g., a single-click selection operation) from a user for turning off the audio processing algorithm option in the prompt information 710, and then the electronic device 100 receives an input operation (e.g., a single-click) from a user for determining the option in the prompt information 710. In response to the user's input operation, the electronic device 100 may send a first message to the Bluetooth headset. After receiving the first message, the Bluetooth headset may stop processing the collected audio through the audio processing algorithm in response to the first message. However, the Bluetooth headset may also send audio data to the electronic device 100.
[0234] In other embodiments, the electronic device 100 may also receive an input operation (e.g., a single-click selection operation) from the user for the option to stop sending audio data in the prompt information 710, and then the electronic device 100 receives an input operation (e.g., a single-click) from the user for the option to confirm in the prompt information 710. In response to the user's input operation, the electronic device 100 may send a first message to the Bluetooth headset. After receiving the first message, the Bluetooth headset may stop sending audio data to the electronic device 100 in response to the first message. However, the electronic device 100 may also process the collected audio through an audio processing algorithm.
[0235] It should be noted that the above-mentioned Bluetooth headset only stops sending audio data to the electronic device 100 , but the Bluetooth headset can also send control messages to the electronic device 100 .
[0236] It is not limited to stopping sending audio data to the electronic device 100. In other embodiments, in response to the first message, the Bluetooth headset can stop sending any data to the electronic device 100. For example, the Bluetooth headset also needs to stop sending control messages to the electronic device 100, thereby further reducing the power consumption of the Bluetooth headset and further extending the battery life of the Bluetooth headset.
[0237] In other embodiments, in response to the first message, the Bluetooth headset may also turn off the microphone, so that the Bluetooth headset stops collecting audio, further reducing the power consumption of the Bluetooth headset, and further extending the battery life of the Bluetooth headset.
[0238] Preferably, in response to the first message, the Bluetooth headset does not turn off the microphone, but the microphone of the Bluetooth headset is still turned on.
[0239] In some embodiments, after the electronic device 100 turns on the silent mode, the microphone of the Bluetooth headset is still turned on and uses audio in real time. Then after the user turns on the silent mode, after a period of time, the user forgets that the silent mode has been turned on, and the second user outputs audio. The Bluetooth headset cannot send the audio output by the second user to the electronic device 100, and the electronic device 100 cannot send the audio output by the second user to the electronic device 200. The first user of the electronic device 200 still cannot answer the audio output by the second user, and the user experience is not good. Based on this, when the microphone of the Bluetooth headset is turned on, when the second user outputs audio, the Bluetooth headset can collect audio in real time through the microphone. If audio data is recognized, or audio data is recognized for a continuous period of time, the Bluetooth headset can prompt the second user whether to turn off the silent mode, so that the first user of the electronic device 200 can answer the audio output by the second user.
[0240] The Bluetooth headset may prompt the second user whether to turn off the silent mode in, but not limited to, any one of the following methods or a combination of any of the following methods.
[0241] Method 1: After the Bluetooth headset detects the audio data, the Bluetooth headset can send a second message to the electronic device 100, and the electronic device 100 can display the second message after receiving the second message. Fig. 8A The prompt information 810 shown is used to prompt the second user whether to turn off the silent mode of the electronic device 100.
[0242] like Fig. 8A As shown, the prompt information 810 may include a prompt "It is detected that you may be talking, do you want to turn off the silent mode?" The prompt information 810 also includes a cancel option and a confirmation option. Among them, the user can continue to turn on the silent mode of the electronic device 100 through the cancel option, and the user can also turn off the silent mode of the electronic device 100 through the confirmation option.
[0243] For example, Fig. 8A As shown, the electronic device 100 may receive an input operation (eg, a click) from a user for a determination option in the prompt 810. In response to the input operation from the user, the electronic device 100 may display Figure 8B The user interface 820 shown is similar to the user interface 130, except that in the user interface 820, the mute option 1202 has been restored to the display form when it is in the off state to prompt the user that the electronic device 100 has turned off the mute mode.
[0244] In some embodiments, Fig. 8A The prompt information 810 shown may be referred to as first prompt information.
[0245] In some embodiments, the user's input operation for determining an option in prompt 810 may be referred to as a second user operation.
[0246] After the electronic device 100 turns off the silent mode, the electronic device 100 can send a third message to the Bluetooth headset, where the third message is used to instruct the Bluetooth headset to start processing the audio based on the audio processing algorithm and send the processed audio to the electronic device 100. After that, the electronic device 100 sends the processed audio to the electronic device 200.
[0247] Method 2: After the Bluetooth headset detects the audio data, the Bluetooth headset can prompt the user to turn off the silent mode of the electronic device 100 by vibration, flashing light, or sound prompts.
[0248] Not limited to the above methods, the Bluetooth headset can also prompt the user whether to turn off the silent mode of the electronic device 100 in other ways.
[0249] In other possible implementations, if the Bluetooth headset has stopped sending any data to the electronic device 100, including audio data and control messages, then after the Bluetooth headset detects the audio data, the Bluetooth headset will also not be able to send a second message to the electronic device 100. In this case, the Bluetooth headset can prompt the user to turn off the silent mode of the electronic device 100 by vibration, flashing lights, prompt sounds, etc.
[0250] Fig. 9 A schematic diagram of a method for turning off silent mode of an electronic device 100 provided in the present application.
[0251] in, Fig. 9 In the embodiment, after the electronic device 100 turns on the silent mode, the microphone of the Bluetooth headset is still turned on.
[0252] S901. The microphone of the Bluetooth headset is turned on and collects audio in real time to obtain audio data.
[0253] During a call between the electronic device 100 and the electronic device 200, after the electronic device 100 turns on the silent mode, the Bluetooth headset can perform any one or more of the following: stop sending audio data to the electronic device 100, stop sending control messages to the electronic device 100, stop processing the collected audio through the audio processing algorithm, etc.
[0254] However, the microphone of the Bluetooth headset is still turned on. The Bluetooth headset can detect whether the second user outputs audio through the microphone. When the second user outputs audio, the user is prompted whether to turn off the mute mode so that the audio output by the second user can be sent to the electronic device 200, so that the first user can listen to the audio output by the second user.
[0255] S902: The Bluetooth headset needs to determine whether the Bluetooth headset can send a control message to the electronic device 100.
[0256] In some embodiments, during a call between the electronic device 100 and the electronic device 200, after the electronic device 100 receives a user operation to turn on the mute mode, the Bluetooth headset may stop sending any messages, including audio data and control messages, to the electronic device 100. Therefore, after the microphone of the Bluetooth headset acquires the audio data, the Bluetooth headset needs to determine whether the Bluetooth headset can send a control message to the electronic device 100.
[0257] In the case where the Bluetooth headset can send a control message to the electronic device 100, the Bluetooth headset can execute S903-S904.
[0258] In the case that the Bluetooth headset cannot send a control message to the electronic device 100 , the Bluetooth headset may execute S905 .
[0259] S903: The Bluetooth headset sends a second message to the electronic device 100.
[0260] S904. In response to the second message, the electronic device 100 displays prompt information.
[0261] When the Bluetooth headset collects audio through the microphone and determines that the second user has output audio, or when the Bluetooth headset collects audio through the microphone over a period of time and determines that the second user has output audio and the Bluetooth headset can send a control message to the electronic device 100, the Bluetooth headset can send a second message to the electronic device 100. In response to the second message, the electronic device 100 can display a prompt message, which is used to prompt the user whether to turn off the silent mode of the electronic device 100.
[0262] Exemplarily, the prompt information may be Fig. 8A The prompt information 810 shown is used to prompt the second user whether to turn off the silent mode of the electronic device 100.
[0263] like Fig. 8A As shown, the prompt information 810 may include a prompt "It is detected that you may be talking, do you want to turn off the silent mode?" The prompt information 810 also includes a cancel option and a confirmation option. Among them, the user can continue to turn on the silent mode of the electronic device 100 through the cancel option, and the user can also turn off the silent mode of the electronic device 100 through the confirmation option.
[0264] S905. The Bluetooth headset prompts the user to turn off the silent mode by vibration, flashing light, and voice prompt light.
[0265] When the Bluetooth headset collects audio through the microphone and determines that the second user has output audio, or when the Bluetooth headset collects audio through the microphone over a period of time and determines that the second user has output audio and the Bluetooth headset cannot send a control message to the electronic device 100, the Bluetooth headset is also unable to send a second message to the electronic device 100, then the Bluetooth headset can prompt the user to turn off the silent mode by vibration, flashing lights, or voice prompt lights.
[0266] S906: The electronic device 100 receives an operation from the user to turn off the silent mode.
[0267] In some embodiments, after receiving the second message sent by the Bluetooth headset, the electronic device 100 may display Fig. 8A Prompt message 810 is shown.
[0268] For example, Fig. 8AAs shown, the electronic device 100 may receive an input operation (eg, a click) from a user for a determination option in the prompt 810. In response to the input operation from the user, the electronic device 100 may display Figure 8B The user interface 820 shown is similar to the user interface 130, except that in the user interface 820, the mute option 1202 has been restored to the display form when it is in the off state to prompt the user that the electronic device 100 has turned off the mute mode.
[0269] In other embodiments, after the Bluetooth headset prompts the user to turn off the silent mode by means of vibration, flashing lights, or voice prompt lights, in a possible implementation, the electronic device 100 may receive a user's Figure 5A In the user interface 130 shown in FIG. 1 , an input operation (eg, a single click) is performed on the mute option 1202. In response to the user's input operation, the electronic device 100 may change the display form of the mute option 1202, for example, displaying Figure 5B In the manner shown, the electronic device 100 may highlight the mute option 1202 to indicate to the user that the electronic device 100 has turned on the mute mode. Figure 5C In the user interface 450 shown in FIG. 4 , an input operation (eg, a single click) is performed on the mute option. In response to the user's input operation, the electronic device 100 may change the display form of the mute option, for example, displaying Figure 5D As shown in the style, the electronic device 100 may highlight the mute option to prompt the user that the electronic device 100 has turned on the mute mode.
[0270] Optionally, in some embodiments, after the electronic device 100 receives an operation from the user to turn off the silent mode, the electronic device 100 may prompt the user whether to turn on the audio processing algorithm.
[0271] For example, the electronic device 100 may display Fig.10 The prompt information 1001 shown includes the prompt information "Please confirm whether to turn on the audio processing algorithm". The prompt information 1001 also includes a cancel option and a confirm option. Among them, the user can continue to turn off the audio processing algorithm of the Bluetooth headset by using the cancel option, and the user can also turn on the audio processing algorithm of the Bluetooth headset by using the confirm option.
[0272] Wherein, when the audio processing algorithm is not turned on, the power consumption of the Bluetooth headset can be further reduced to save the battery life of the Bluetooth headset. In this way, the user can choose to turn on or off the audio processing algorithm.
[0273] Optionally, the electronic device 100 may display a message indicating that the battery level of the Bluetooth headset is less than a preset value. Fig.10The prompt information 1001 shown prompts the user whether to enable the audio processing algorithm. If the audio processing algorithm is not enabled, the power consumption of the Bluetooth headset can be further reduced to save the battery life of the Bluetooth headset.
[0274] Optionally, when the electronic device 100 detects that the battery level of the Bluetooth headset is less than a preset value, the Bluetooth headset may not enable the audio processing algorithm by default to save the battery usage time of the Bluetooth headset.
[0275] like Fig.10 As shown, the electronic device 100 can receive an input operation (such as a single click) from a user for a determined option, and in response to the user's input operation, the electronic device 100 can determine to start the audio processing algorithm of the Bluetooth headset. Afterwards, the electronic device 100 can send a third message to the Bluetooth headset, and in response to the third message, the Bluetooth headset can start the audio processing algorithm, and process the audio collected by the microphone of the Bluetooth headset based on the audio processing algorithm, and send the processed audio data to the electronic device 100.
[0276] In some embodiments, Fig.10 The prompt information 1001 shown may be referred to as third prompt information.
[0277] In some embodiments, Fig.10 The confirmation option in the prompt information 1001 shown may be referred to as the third option in the third prompt information.
[0278] In other embodiments, the electronic device 100 may receive an input operation (e.g., a click) from the user for the cancel option, and in response to the user's input operation, the electronic device 100 may determine to continue to turn off the audio processing algorithm of the Bluetooth headset. Afterwards, the electronic device 100 may send a third message to the Bluetooth headset, and in response to the third message, the Bluetooth headset may not turn on the audio processing algorithm, and directly send the audio collected by the microphone of the Bluetooth headset to the electronic device 100.
[0279] Optionally, the electronic device 100 may not display Fig.10 The prompt information shown directly sends a third message to the Bluetooth headset, and the audio processing algorithm of the Bluetooth headset is started by default. This application does not limit this.
[0280] S907: The electronic device 100 sends a third message to the Bluetooth headset.
[0281] In response to the user's operation of turning off the silent mode, the electronic device 100 may send a third message to the Bluetooth headset to indicate the Bluetooth headset that the electronic device 100 has turned off the silent mode.
[0282] S908 . In response to the third message, start the audio processing algorithm and send the processed audio to the electronic device 100 .
[0283] After the Bluetooth headset receives the third message sent by the electronic device 100 , in response to the third message, the Bluetooth headset can start the audio processing algorithm and start sending the processed audio to the electronic device 100 .
[0284] Optionally, if the Bluetooth headset has previously executed a user operation of stopping sending control messages to the electronic device 100 , in response to the third message, the Bluetooth headset also needs to enable the function of sending control messages to the electronic device 100 .
[0285] Optionally, in response to the third message, after the Bluetooth headset starts the audio processing algorithm, the Bluetooth headset needs to perform an operation to prevent pop sounds to improve the auditory effect of the audio.
[0286] S909. The Bluetooth headset collects third audio data.
[0287] S910. The Bluetooth headset processes the third audio data based on an audio processing algorithm to obtain processed third audio data.
[0288] S911 . The Bluetooth headset processes the third audio data and sends it to the electronic device 100 .
[0289] S912 : The electronic device 100 sends the processed third audio data to the electronic device 200 .
[0290] Exemplarily, the audio processing algorithm includes but is not limited to one or more of the following: noise reduction algorithm, echo cancellation algorithm, voice enhancement algorithm, background noise optimization algorithm, wind noise optimization algorithm, call voice optimization algorithm, accurate sound pickup algorithm, etc. The audio processing algorithm may also include other algorithms, which are not limited in this application.
[0291] The Bluetooth headset can collect the third audio data of the second user through the microphone, and process the third audio data based on the audio processing algorithm to obtain processed third audio data. The Bluetooth headset then sends the processed third audio data to the electronic device 100, so that the electronic device 100 can send the processed third audio data to the electronic device 200 through the call connection.
[0292] After receiving the processed third audio data sent by the Bluetooth headset, the electronic device 100 can send the processed third audio data to the electronic device 200 through the call connection, so that the electronic device 200 can play the third audio data output by the second user, so as to realize the video call / audio call between the electronic device 100 and the electronic device 200.
[0293] Fig.11A schematic diagram of another method for turning off silent mode of an electronic device 100 provided in the present application.
[0294] in, Fig.11 In the embodiment, after the electronic device 100 turns on the silent mode, the microphone of the Bluetooth headset is also turned off. Then the Bluetooth headset cannot detect whether the second user outputs audio, nor can it actively prompt the user whether to turn off the silent mode. Then the user needs to actively trigger to turn off the silent mode of the electronic device 100.
[0295] S1101: The electronic device 100 receives an operation from a user to turn off a silent mode.
[0296] After the second user is able to speak, the electronic device 100 may receive an active trigger operation from the user to turn off the silent mode of the electronic device 100 .
[0297] In some embodiments, the electronic device 100 may receive a user's Figure 5A In the user interface 130 shown in FIG. 1 , an input operation (eg, a single click) is performed on the mute option 1202. In response to the user's input operation, the electronic device 100 may change the display form of the mute option 1202, for example, displaying Figure 5B As shown in the style, the electronic device 100 may highlight the mute option 1202 to prompt the user that the electronic device 100 has turned on the mute mode.
[0298] In other embodiments, the electronic device 100 may receive a user's Figure 5C In the user interface 450 shown in FIG. 4 , an input operation (eg, a single click) is performed on the mute option. In response to the user's input operation, the electronic device 100 may change the display form of the mute option, for example, displaying Figure 5D As shown in the style, the electronic device 100 may highlight the mute option to prompt the user that the electronic device 100 has turned on the mute mode.
[0299] Optionally, in some embodiments, after the electronic device 100 receives an operation from the user to turn off the silent mode, the electronic device 100 may prompt the user whether to turn on the audio processing algorithm.
[0300] For example, the electronic device 100 may display Fig.10 The prompt information 1001 shown includes the prompt information "Please confirm whether to turn on the audio processing algorithm". The prompt information 1001 also includes a cancel option and a confirm option. Among them, the user can continue to turn off the audio processing algorithm of the Bluetooth headset by using the cancel option, and the user can also turn on the audio processing algorithm of the Bluetooth headset by using the confirm option.
[0301] like Fig.10As shown, the electronic device 100 can receive an input operation (such as a single click) from a user for a determined option, and in response to the user's input operation, the electronic device 100 can determine to start the audio processing algorithm of the Bluetooth headset. Afterwards, the electronic device 100 can send a third message to the Bluetooth headset, and in response to the third message, the Bluetooth headset can start the audio processing algorithm, and process the audio collected by the microphone of the Bluetooth headset based on the audio processing algorithm, and send the processed audio data to the electronic device 100.
[0302] In other embodiments, the electronic device 100 may receive an input operation (e.g., a click) from the user for the cancel option, and in response to the user's input operation, the electronic device 100 may determine to continue to turn off the audio processing algorithm of the Bluetooth headset. Afterwards, the electronic device 100 may send a third message to the Bluetooth headset, and in response to the third message, the Bluetooth headset may not turn on the audio processing algorithm, and directly send the audio collected by the microphone of the Bluetooth headset to the electronic device 100.
[0303] Optionally, the electronic device 100 may not display Fig.10 The prompt information shown directly sends a third message to the Bluetooth headset, and the audio processing algorithm of the Bluetooth headset is started by default. This application does not limit this.
[0304] S1102: The electronic device 100 sends a third message to the Bluetooth headset.
[0305] In response to the user's operation of turning off the silent mode, the electronic device 100 may send a third message to the Bluetooth headset to indicate the Bluetooth headset that the electronic device 100 has turned off the silent mode.
[0306] S1103 . In response to the third message, start processing the audio based on an audio processing algorithm, and send the processed audio to the electronic device 100 .
[0307] After the Bluetooth headset receives the third message sent by the electronic device 100 , in response to the third message, the Bluetooth headset can start the audio processing algorithm and start sending the processed audio to the electronic device 100 .
[0308] Optionally, if the Bluetooth headset has previously executed a user operation of stopping sending control messages to the electronic device 100 , in response to the third message, the Bluetooth headset also needs to enable the function of sending control messages to the electronic device 100 .
[0309] Optionally, in response to the third message, after the Bluetooth headset starts the audio processing algorithm, the Bluetooth headset needs to perform an operation to prevent pop sounds to improve the auditory effect of the audio.
[0310] S1104: The Bluetooth headset collects third audio data.
[0311] S1105. The Bluetooth headset processes the third audio data based on an audio processing algorithm to obtain processed third audio data.
[0312] S1106 : The Bluetooth headset processes the third audio data and sends it to the electronic device 100 .
[0313] S1107 : The electronic device 100 sends the processed third audio data to the electronic device 200 .
[0314] Exemplarily, the audio processing algorithm includes but is not limited to one or more of the following: noise reduction algorithm, echo cancellation algorithm, voice enhancement algorithm, background noise optimization algorithm, wind noise optimization algorithm, call voice optimization algorithm, accurate sound pickup algorithm, etc. The audio processing algorithm may also include other algorithms, which are not limited in this application.
[0315] The Bluetooth headset can collect the third audio data of the second user through the microphone, and process the third audio data based on the audio processing algorithm to obtain processed third audio data. The Bluetooth headset then sends the processed third audio data to the electronic device 100, so that the electronic device 100 can send the processed third audio data to the electronic device 200 through the call connection.
[0316] After receiving the processed third audio data sent by the Bluetooth headset, the electronic device 100 can send the processed third audio data to the electronic device 200 through the call connection, so that the electronic device 200 can play the third audio data output by the second user, so as to realize the video call / audio call between the electronic device 100 and the electronic device 200.
[0317] The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.
[0318] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)), etc.
[0319] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
[0320] In short, the above description is only an embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention shall be included in the protection scope of the present invention.
Claims
1. A communication system, characterized in that: The system includes a first electronic device, a second electronic device and a Bluetooth headset, wherein the first electronic device and the Bluetooth headset establish a Bluetooth headset, and the first electronic device and the second electronic device establish a call connection; wherein, The first electronic device is used to display a first user interface, wherein the first user interface displays a call duration and a mute option; The first electronic device is further configured to receive a first user operation for the mute option, and send a first message to the Bluetooth headset through the Bluetooth connection; The Bluetooth headset is used to stop sending audio data to the first electronic device in response to the first message.
2. The system according to claim 1, characterized in that The Bluetooth headset is further configured to stop running the audio processing algorithm in response to the first message.
3. The system according to claim 1 or 2, characterized in that: The Bluetooth headset includes a microphone; The Bluetooth headset is further used to: collect audio through the microphone; The audio collected by the microphone is monitored within a first time period, and a second message is sent to the first electronic device; The first electronic device is further used for: In response to the second message, displaying first prompt information, where the first prompt information is used to prompt the user whether to continue to send audio data to the first electronic device through the Bluetooth headset; receiving a second user operation of the user for the first option in the first prompt information, and sending a third message to the Bluetooth headset; The Bluetooth headset is also used for: In response to the third message, collecting third audio data through the microphone; Processing the third audio data by using the audio processing algorithm to obtain processed third audio data; sending the processed third audio data to the first electronic device via the Bluetooth connection; The first electronic device is further used to: send the processed third audio data to the second electronic device through the call connection; The second electronic device is used to play the processed third audio data.
4. The system according to claim 2 or 3, characterized in that: The first electronic device is further used for: Displaying a second prompt message, where the second prompt message is used to prompt the user whether to turn off the audio processing algorithm of the Bluetooth headset; The first electronic device is specifically configured to receive a third user operation on the second option in the second prompt information, and send a first message to the Bluetooth headset via the Bluetooth connection.
5. The system according to claim 1, characterized in that The Bluetooth headset is further configured to stop sending a control message to the first electronic device in response to the first message.
6. The system according to claim 5, characterized in that The Bluetooth headset includes a microphone; The Bluetooth headset is further used to: collect audio through the microphone; The audio collected by the microphone is monitored within a first time period, and a user is prompted to turn off the mute of the first electronic device by one or more of vibration, light flashing, and voice prompt; The first electronic device is further used for: receiving a fourth user operation on the mute option, and sending a third message to the Bluetooth headset through the Bluetooth connection; The Bluetooth headset is also used for: In response to the third message, collecting third audio data through the microphone; Processing the third audio data by using the audio processing algorithm to obtain processed third audio data; sending the processed third audio data to the first electronic device via the Bluetooth connection; The first electronic device is further used to: send the processed third audio data to the second electronic device through the call connection; The second electronic device is used to play the processed third audio data.
7. The system according to any one of claims 2 to 4, characterized in that: The first electronic device is further used to: display a third prompt message, wherein the third prompt message is used to prompt the user whether to start the audio processing algorithm of the Bluetooth headset; The first electronic device is specifically configured to receive a fourth user operation on a third option in the third prompt information, and send a third message to the Bluetooth headset via the Bluetooth connection.
8. The system according to any one of claims 1 to 7, characterized in that: The call connection includes any one of the following: operator call connection, network call connection.
9. The system according to any one of claims 1 to 8, characterized in that: The audio processing algorithm includes one or more of the following: noise reduction algorithm, echo elimination algorithm, human voice enhancement algorithm, background noise optimization algorithm, wind noise optimization algorithm, call voice optimization algorithm, and accurate sound pickup algorithm.
10. A method for making a call, characterized in that: The method comprises: The Bluetooth headset receives a first message sent by a first electronic device through a Bluetooth connection, wherein the Bluetooth headset establishes the Bluetooth connection with the first electronic device, the first electronic device and the second electronic device establish a call connection, and the first message is sent after the first electronic device receives a first user operation for receiving a mute option in a first user interface; In response to the first message, the Bluetooth headset stops sending audio data to the first electronic device.
11. The method according to claim 10, characterized in that After the Bluetooth headset receives the first message sent by the first electronic device through the Bluetooth connection, the method further includes: In response to the first message, the Bluetooth headset stops running the audio processing algorithm.
12. The method according to claim 10 or 11, characterized in that: The Bluetooth headset includes a microphone; After the Bluetooth headset stops sending audio data to the first electronic device, the method further includes: The Bluetooth headset collects audio through the microphone; The audio collected by the microphone is monitored within a first time period, and the Bluetooth headset sends a second message to the first electronic device through the Bluetooth connection, where the second message is used to instruct the first electronic device to display a first prompt message, where the first prompt message is used to prompt the user whether to continue to send audio data to the first electronic device through the Bluetooth headset; The Bluetooth headset receives a third message sent by the first electronic device through the Bluetooth connection, wherein the third message is sent after the first electronic device receives a second user operation of the user for the first option in the first prompt information; In response to the third message, the Bluetooth headset collects and processes third audio data through the microphone; The Bluetooth headset processes the third audio data by using the audio processing algorithm to obtain processed third audio data; The Bluetooth headset sends the processed third audio data to the first electronic device via the Bluetooth connection, and the processed third audio data is used by the first electronic device to send to the second electronic device so that the second electronic device plays the processed third audio data.
13. The method according to claim 11 or 12, characterized in that: The first message is sent after the first electronic device receives a third user operation on the second option in the second prompt information. The second prompt information is used to prompt the user whether to turn off the audio processing algorithm of the Bluetooth headset. The second prompt information is displayed after the first electronic device receives a first user operation on the mute option.
14. The method according to claim 10, characterized in that After the Bluetooth headset receives the first message sent by the first electronic device through the Bluetooth connection, the method further includes: In response to the first message, stop sending control messages to the first electronic device.
15. The method according to claim 14, characterized in that The Bluetooth headset includes a microphone; After the Bluetooth headset stops sending audio data to the first electronic device, the method further includes: The Bluetooth headset collects audio through the microphone; The audio collected by the microphone is monitored within a first time period, and a user is prompted to turn off the mute of the first electronic device by one or more of vibration, light flashing, and voice prompt; The Bluetooth headset sends a third message to the first electronic device through the Bluetooth connection, wherein the third message is sent after the first electronic device receives a fourth user operation of the user for the mute option; In response to the third message, the Bluetooth headset collects third audio data through the microphone; The Bluetooth headset processes the third audio data based on an audio processing algorithm to obtain the processed third audio data; The Bluetooth headset sends the processed third audio data to the first electronic device via the Bluetooth connection, and the processed third audio data is sent by the first electronic device to the second electronic device so that the second electronic device plays the processed third audio data.
16. The method according to any one of claims 11 to 13, characterized in that: The third message is sent after receiving the fourth user operation of the user for the third option in the third prompt information. The third prompt information is displayed after the second user operation of the user for the first option in the first prompt information. The third prompt information is used to prompt the user whether to turn on the audio processing algorithm of the Bluetooth headset.
17. The method according to any one of claims 10 to 16, characterized in that: The call connection includes any one of the following: operator call connection, network call connection.
18. The method according to any one of claims 10 to 16, characterized in that: The audio processing algorithm includes one or more of the following: noise reduction algorithm, echo elimination algorithm, human voice enhancement algorithm, background noise optimization algorithm, wind noise optimization algorithm, call voice optimization algorithm, and accurate sound pickup algorithm.
19. A Bluetooth headset, characterized in that: The Bluetooth headset includes a processor and a memory; the memory is coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions, and the processor calls the computer instructions to execute the method described in any one of claims 10-18 above.
20. A computer-readable storage medium, characterized in that: Used to store computer instructions, when the computer instructions are executed on the Bluetooth headset, the Bluetooth headset executes the method described in any one of claims 10-18.
