WO2023160214A1 - Bluetooth earphone, audio output method and audio output system - Google Patents

Bluetooth earphone, audio output method and audio output system Download PDF

Info

Publication number
WO2023160214A1
WO2023160214A1 PCT/CN2022/142460 CN2022142460W WO2023160214A1 WO 2023160214 A1 WO2023160214 A1 WO 2023160214A1 CN 2022142460 W CN2022142460 W CN 2022142460W WO 2023160214 A1 WO2023160214 A1 WO 2023160214A1
Authority
WO
WIPO (PCT)
Prior art keywords
bluetooth
bluetooth headset
state
audio
audio device
Prior art date
Application number
PCT/CN2022/142460
Other languages
French (fr)
Chinese (zh)
Inventor
王昆
张馨
杨楠
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023160214A1 publication Critical patent/WO2023160214A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the technical field of terminals, and in particular to a bluetooth earphone, an audio output method and an audio output system.
  • an audio amplifying circuit is designed based on an ultra-high frequency (UHF) frequency band or other civilian exclusive frequency bands in an amplifying box or a wireless speaker to complete the amplifying function.
  • UHF ultra-high frequency
  • a microphone in the same proprietary frequency band to complete the sound collection function.
  • amplified boxes or wireless speakers need to be purchased and used in sets with microphones.
  • the cost of purchasing a set of amplifying boxes or wireless speakers with microphones is relatively high, and the amplifying boxes or wireless speakers and microphones are currently only used for sound amplification, and their functions are relatively single.
  • the embodiment of the present application provides a bluetooth earphone, an audio output method and an audio output system, which are used to reduce the cost of the sound amplification device and expand the function of the sound amplification device.
  • a bluetooth headset in a first aspect, includes a slave device state and a master device state, and the bluetooth headset includes a switching module and a bluetooth module; the switching module is used for when the bluetooth headset is in the slave device state , in response to the switching operation of the Bluetooth headset by the user, the state of the Bluetooth headset is switched from the slave device state to the master device state; the Bluetooth module is used to search for audio when the Bluetooth headset is in the master device state. device to establish a Bluetooth connection with the audio device.
  • the bluetooth headset after state switching is in the master state, and can establish a bluetooth connection with the searched audio equipment through the bluetooth module.
  • Bluetooth communication occupies a specific frequency band, usually 2.4 GHz
  • Bluetooth headsets or audio devices with Bluetooth functions are universal. That is to say, any Bluetooth headset and any audio device with Bluetooth function can realize the sound amplification function, and it is not necessary to purchase and use the Bluetooth headset and audio device as a set.
  • the universal design can save production and purchase costs.
  • the universal design can also enable users to find replacement equipment easily after the equipment is damaged, and it can also prevent the equipment from being disabled due to the difficulty of finding the replacement equipment after the equipment is damaged. Waste of resources caused by damaged devices matching devices.
  • a Bluetooth headset can also perform other functions besides sound amplification, for example, it can be used for listening to music, watching videos, voice calls or video chats.
  • the Bluetooth headset further includes a storage module and a matching module; the storage module is used to save preset Bluetooth device information; the matching module is used to determine whether the audio device is compatible with Whether the preset Bluetooth device information stored in the Bluetooth headset matches; the Bluetooth module is used to establish a Bluetooth connection with the audio device when the audio device matches the preset Bluetooth device information stored in the Bluetooth headset.
  • the Bluetooth headset before the Bluetooth headset establishes a Bluetooth connection with the audio device, it is necessary to determine whether the audio device matches the preset Bluetooth device information stored in the storage module through the matching module, and only establish a connection when they match, thereby improving the success of the connection. The probability.
  • the Bluetooth headset further includes an audio module; the audio module is configured to broadcast device information of the audio device; the Bluetooth module is also configured to respond to the user's The operation of the audio device, establish a Bluetooth connection with the audio device.
  • the device information of the audio device needs to be broadcast through the audio module and operated by the user, thereby increasing the probability of successfully connecting to the device that the user expects to connect, and then Improve user experience.
  • the operation includes a touch operation or a voice control operation.
  • the Bluetooth headset is connected to the electronic device via Bluetooth, the Bluetooth headset is in the state of the slave device, and the electronic device is in the state of the master device; the Bluetooth module is also used to receive the electronic device The device information of the audio device sent by the device; the storage module is also used to store the device information of the audio device.
  • the Bluetooth headset before the state switching of the Bluetooth headset, the Bluetooth headset is in the state of the slave device, and the electronic device is in the state of the master device. Therefore, the electronic device can send information to the Bluetooth headset through the Bluetooth.
  • the audio device is the electronic device.
  • the electronic device is used to switch the state from the master device state to the slave device state in response to the user's switching operation on the electronic device.
  • the audio device and the electronic device may be the same device, which has the characteristics of a screen and sound output, for example, a smart phone or a notebook computer.
  • the Bluetooth module is further configured to detect the user's audio data through the audio module after the Bluetooth connection is established with the audio device, and send the audio data to the audio device via Processed audio data.
  • the Bluetooth headset after the Bluetooth headset establishes a Bluetooth connection with the audio device through the Bluetooth module, it can realize the function of increasing the volume of the user's voice.
  • the Bluetooth headset includes a button, and the user's switching operation on the Bluetooth headset includes touching the button of the Bluetooth headset N times, pressing and holding the button for N seconds, or Slide the button up or down, where N is a positive integer.
  • the key used for the switching operation may be any key defined by the user, such as a volume up key, a volume down key or a playback pause key.
  • an audio output method which can be applied to a Bluetooth headset.
  • the state of the bluetooth headset includes a slave device state and a master device state
  • the audio output method includes: when the bluetooth headset is in the slave device state, in response to a user's switching operation on the bluetooth headset, changing the state of the bluetooth headset from the Switch from the state of the device to the state of the master device; when the Bluetooth headset is in the state of the master device, search for an audio device and establish a Bluetooth connection with the audio device.
  • the audio output method further includes: determining whether the audio device matches the preset Bluetooth device information stored in the Bluetooth headset; When the stored preset Bluetooth device information matches, a Bluetooth connection is established with the audio device.
  • the audio output method further includes: broadcasting device information of the audio device; and establishing a Bluetooth connection with the audio device in response to the user's operation on the audio device.
  • the operation includes a touch operation or a voice control operation.
  • the Bluetooth headset is connected to the electronic device via Bluetooth, the Bluetooth headset is in the state of the slave device, and the electronic device is in the state of the master device; the method further includes: receiving and storing the electronic device The device information of the audio device sent by the device.
  • the audio device is the electronic device; the electronic device is configured to switch the state from the main device state to the slave device status.
  • the audio output method further includes: after establishing a Bluetooth connection with the audio device, detecting the user's audio data, and sending the processed audio data to the audio device data.
  • the user's switching operation on the Bluetooth headset includes touching the button of the Bluetooth headset N times, pressing the button for N seconds, or sliding the button up or down. button, where N is a positive integer.
  • an audio output system includes a bluetooth headset and an electronic device;
  • the state of the bluetooth headset includes a slave device state and a master device state, and the state of the electronic device includes the slave device state and the master device state Device state,
  • the bluetooth headset is connected with the electronic device bluetooth, the bluetooth headset is in the state of the slave device, and the electronic device is in the state of the master device;
  • the bluetooth headset is used to respond when the bluetooth headset is in the state of the slave device
  • the user's switching operation on the Bluetooth headset switches the state of the Bluetooth headset from the slave device state to the master device state;
  • the Bluetooth headset is also used to search for audio devices when the Bluetooth headset is in the master device state, and
  • the audio device establishes a Bluetooth connection.
  • the Bluetooth headset is also used to determine whether the audio device matches the preset Bluetooth device information stored in the Bluetooth headset; When the stored preset Bluetooth device information matches, a Bluetooth connection is established with the audio device.
  • the Bluetooth headset is further configured to broadcast device information of the audio device; the Bluetooth headset is further configured to communicate with the audio device in response to the user's operation on the audio device.
  • the audio device establishes a Bluetooth connection.
  • the operation includes a touch operation or a voice control operation.
  • the electronic device is configured to connect with the Bluetooth headset via Bluetooth, and send the device information of the audio device to the Bluetooth headset; the Bluetooth headset is configured to receive and store The device information of the audio device sent by the electronic device.
  • the electronic device is configured to, in response to the user's operation of selecting the audio device from the devices searched by the electronic device, send the audio device's information to the Bluetooth headset.
  • Device Information since the Bluetooth headset has no screen, an electronic device with a screen can be used to complete the device search and select an audio device from the searched devices. This visual selection operation helps to improve the user experience.
  • the audio device is the electronic device; the electronic device is further configured to switch the state from the main device state to The slave device status.
  • the audio device and the electronic device can be the same device, which has the characteristics of both screen and sound output, and can be in the state of the master device or in the state of the slave device, for example, a smartphone or a laptop .
  • the bluetooth earphone is in the state of the master device after state switching, and the electronic device can switch the state to the state of the slave device, so that the bluetooth earphone 1 and the electronic device can establish a bluetooth connection.
  • the Bluetooth headset is further configured to detect the user's audio data after establishing a Bluetooth connection with the audio device, and send the processed audio data to the audio device Data; the audio device is used to receive the processed audio data from the Bluetooth headset.
  • the user's switching operation on the Bluetooth headset includes touching the button of the Bluetooth headset N times, pressing the button for N seconds, or sliding up or down the button. button, where N is a positive integer.
  • an embodiment of the present application provides a computer-readable storage medium, on which a computer program or instruction is stored, and when the computer program or instruction is run on a computer, the computer is made to execute the second aspect and any of them. - Design the method described.
  • a chip system includes a processor, a memory, and a computer program code is stored in the memory; when the computer program code is executed by the processor, any one of the possible features of the second aspect can be realized method in the implementation.
  • the system-on-a-chip may consist of chips, or may include chips and other discrete devices.
  • the embodiment of the present application provides a computer program product
  • the computer program product includes: a computer program or instruction, when the computer program or instruction is run on the computer, the computer executes the second aspect and any design described in the second aspect. Methods.
  • FIG. 1 is a schematic structural diagram of a system for implementing sound amplification in the prior art
  • FIG. 2 is a schematic structural diagram of an audio output system provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of an application scenario of an audio output system provided by an embodiment of the present application.
  • Fig. 4 is a schematic flow diagram of enlarging the user's speech volume after establishing a Bluetooth connection between a Bluetooth headset and a Bluetooth speaker provided by an embodiment of the present application;
  • Fig. 5 is a structural schematic diagram 1 of the bluetooth earphone provided by the implementation of the present application.
  • Fig. 6 is a structural schematic diagram II of the bluetooth earphone provided by the implementation of the present application.
  • Fig. 7 is a structural schematic diagram 3 of the bluetooth earphone provided by the implementation of the present application.
  • FIG. 8 is a schematic structural diagram of an electronic device provided by the implementation of the present application.
  • FIG. 9 is a flow chart 1 of an audio output method provided by an embodiment of the present application.
  • FIG. 10 is a second flowchart of an audio output method provided by an embodiment of the present application.
  • the audio amplification circuit designed in the amplification box or wireless speaker includes a wireless receiving module, an audio stream generation module, a digital to analog converter (DAC), a tone adjustment module, a voltage amplifier, a digital power amplifier module and a speaker.
  • the voltage amplifier can also be called a potentiometer.
  • the existing technology has the problem that the cost of purchasing a complete set is relatively high, and after purchase, it is only used to realize sound amplification, and the function is relatively single.
  • the frequency bands used by products of different equipment manufacturers may be different, and there may be problems of incompatibility. For example, if the microphone A matched with the amplifier box A is damaged during use, the user needs to purchase the microphone A' produced by the same manufacturer, or purchase the amplifier box B and microphone B produced by another manufacturer. Finding a certain manufacturer to purchase a specific product may bring a lot of inconvenience to the user, or disabling the amplifier box A due to damage to the microphone A will cause a waste of resources.
  • the embodiment of the present application can realize the wireless sound amplification function by improving the function of the Bluetooth headset.
  • the specific functions and technical effects of the Bluetooth headset will be described in detail in the following system embodiments, and will not be repeated here.
  • the audio output system 20 includes a Bluetooth headset 201 , an electronic device 202 and an audio device 203 .
  • the audio device 203 may be one or more devices, and only one device is schematically shown in FIG. 2 .
  • the bluetooth earphone 201 may be the left earphone or the right earphone of a pair of true wireless stereo (true wireless stereo, TWS) bluetooth earphones.
  • the electronic device 202 may be a smart phone.
  • the audio device 203 may be a Bluetooth speaker.
  • the state of the bluetooth earphone 201 includes a slave device state and a master device state, and the state of the electronic device 202 includes a slave device state and a master device state. in the master state.
  • the bluetooth earphone 201 is used to switch the state of the bluetooth earphone 201 from the slave state to the master state in response to the user's switching operation on the bluetooth earphone 201 when the bluetooth earphone 201 is in the slave state.
  • the Bluetooth headset 201 is also used to search for the audio device 203 and establish a Bluetooth connection with the audio device 203 when the Bluetooth headset 201 is in the master device state.
  • the bluetooth headset 201 after state switching is in the master state, and can establish a bluetooth connection with the searched audio device 203 . Since the Bluetooth communication occupies a specific frequency band, usually 2.4 GHz, the Bluetooth headset 201 or the audio device 203 with the Bluetooth function is universal.
  • any Bluetooth earphone 201 and any audio device 203 with Bluetooth function can realize the sound amplification function, and it is not necessary to purchase and use the Bluetooth earphone 201 and the audio device 203 as a set.
  • the universal design can save production and purchase costs.
  • the universal design can also enable users to find replacement equipment easily after the equipment is damaged, and it can also prevent the equipment from being disabled due to the difficulty of finding the replacement equipment after the equipment is damaged. Waste of resources caused by damaged devices matching devices.
  • the Bluetooth headset 201 can also implement other functions besides sound amplification, for example, it can be used for listening to music, watching videos, voice calls or video chats.
  • the user's switching operation on the Bluetooth headset 201 includes touching the button of the Bluetooth headset 201 N times, pressing and holding the button for N seconds, or sliding the button up or down, wherein N is a positive integer.
  • the button used for switching operations can be any button defined by the user, such as a volume up key, a volume down key or a playback pause key.
  • the bluetooth headset 201 can realize the state switching by resetting or restarting the bluetooth.
  • the Bluetooth headset 201 When the sound amplification function is not used, the Bluetooth headset 201 needs to return to the usual slave device state. The user can trigger the switching of the state again by putting the Bluetooth headset 201 into the headset box, that is, switching the Bluetooth headset 201 from the master device state to the slave device state.
  • the Bluetooth connection established between the Bluetooth headset 201 and the audio device 203 may be a connection-oriented synchronous link (synchronous connection oriented link, SCO).
  • the Bluetooth headset 201 is also used to: determine whether the audio device 203 matches the preset Bluetooth device information stored in the Bluetooth headset 201; When the device information matches, a Bluetooth connection is established with the audio device 203 . That is to say, in the embodiment of the present application, before the Bluetooth headset 201 establishes a Bluetooth connection with the audio device 203, it is necessary to determine whether the preset Bluetooth device information stored in the audio device 203 and the Bluetooth headset 201 matches, and the connection is established only when they match. , thereby increasing the probability of a successful connection.
  • the match between the audio device 203 and the preset Bluetooth device information stored in the Bluetooth headset 201 means that the preset Bluetooth device information stored in the Bluetooth headset 201 includes the device information of the audio device 203 .
  • the fact that the audio device 203 does not match the preset Bluetooth device information stored in the Bluetooth headset 201 means that the preset Bluetooth device information stored in the Bluetooth headset 201 does not include the device information of the audio device 203 .
  • the device information includes an address, or, the device information includes an address and a name.
  • the address may be, for example, a media access control (media access control, MAC) address.
  • the Bluetooth headset 201 is also used to broadcast the device information of the audio device 203 .
  • the Bluetooth headset 201 is also used to establish a Bluetooth connection with the audio device in response to the user's operation on the audio device 203 . That is to say, in the embodiment of the present application, before the Bluetooth headset 201 establishes a Bluetooth connection with the audio device 203, the device information of the audio device 203 needs to be broadcast and operated by the user, thereby increasing the probability of successfully connecting to the device that the user desires to connect. Thereby improving user experience.
  • the Bluetooth headset 201 when the audio device 203 matches the preset Bluetooth device information stored in the Bluetooth headset 201 , the Bluetooth headset 201 is also used to broadcast the device information of the audio device 203 .
  • the preset Bluetooth device information stored in the Bluetooth headset 201 can be arranged in chronological order.
  • the Bluetooth earphone 201 may preferentially broadcast the audio device 203 that matches the latest stored preset Bluetooth device information.
  • the Bluetooth headset 201 can voice announce the name of the audio device 203 .
  • the Bluetooth headset 201 can also voice announce the name and corresponding number of the audio device 203 . If the device information of the audio device 203 includes the address of the audio device 203 , the Bluetooth headset 201 announces the address of the audio device 203 by voice.
  • the Bluetooth headset 201 may voice announce the name or address of the audio device 203 .
  • the user's operation on the audio device 203 may be a touch operation, for example, the user clicks a button to confirm the Bluetooth connection with the audio device 203 .
  • the Bluetooth headset 201 can voice broadcast and the information stored in the Bluetooth headset 201.
  • the preset Bluetooth device information matches the names of multiple devices, for example, "name 1, name 2, ... name M", where M is a positive integer greater than 1.
  • the user's operation on the audio device 203 can be a touch control operation, for example, the user clicks a certain button J times to select the audio device 203 corresponding to the name J for Bluetooth connection, where J is a positive integer and satisfies 1 ⁇ J ⁇ M.
  • the Bluetooth headset 201 can voice broadcast "name 1, name 2, ...
  • the user's operation on the audio device 203 can be a voice control operation , for example, the user speaks "name J" to select the audio device 203 corresponding to name J for Bluetooth connection.
  • the Bluetooth headset 201 can voice broadcast the names and corresponding numbers of multiple devices that match the preset Bluetooth device information stored in the Bluetooth headset 201, for example, "1, name 1, 2, name 2, ... M, name M, please say the number corresponding to the device you want to connect”.
  • the user's operation on the audio device 203 may be a voice control operation, for example, the user speaks "J" to select the audio device 203 corresponding to the name J for Bluetooth connection.
  • the Bluetooth headset 201 can also voice broadcast the name of one of the multiple devices that match the preset Bluetooth device information stored in the Bluetooth headset 201 each time, until the user selects the device corresponding to the name J through touch operation or voice control operation.
  • the audio device 203 is connected.
  • the Bluetooth headset 201 broadcasts "Will you connect to name 1?", if the user does not perform any operation or says "No" within a preset time, then the Bluetooth headset 201 continues to broadcast "Will you connect to name 2". If the user clicks a preset button or says "yes”, then the Bluetooth headset 201 no longer performs voice broadcast, but connects to the audio device 203 corresponding to the name 2 .
  • the user's operation on the audio device 203 may be voice control operate.
  • the Bluetooth headset 201 can voice broadcast the names of multiple devices that match the preset Bluetooth device information stored in the Bluetooth headset 201, for example, "name 1, name 2, ... name M, please say the name of the device to be connected",
  • the user can select the audio device 203 corresponding to the name J and the audio device 203 corresponding to the name H by saying, for example, "name J, name H" for Bluetooth connection, and J and H are both positive integers and satisfy J ⁇ H , 1 ⁇ J ⁇ M, 1 ⁇ H ⁇ M.
  • the Bluetooth headset 201 can voice broadcast the names and corresponding numbers of multiple devices that match the preset Bluetooth device information stored in the Bluetooth headset 201, for example, "1, name 1, 2, name 2, ... M, name M, please say the number corresponding to the device you want to connect".
  • the user can select the audio device 203 corresponding to the name J and the audio device 203 corresponding to the name H by saying, for example, "J, H" for Bluetooth connection.
  • the electronic device 202 is configured to connect with the Bluetooth headset 201 through Bluetooth, and send device information of the audio device 203 to the Bluetooth headset 201 .
  • the Bluetooth headset 201 is configured to receive and store the device information of the audio device 203 sent by the electronic device 202 .
  • the Bluetooth headset 201 before the state switching of the Bluetooth headset 201, the Bluetooth headset 201 is in the state of the slave device, and the electronic device 202 is in the state of the master device. Therefore, the electronic device 202 can send information to the Bluetooth headset 201 through Bluetooth.
  • the preset Bluetooth device information stored in the Bluetooth headset 201 may include device information of Bluetooth devices connected to the Bluetooth headset 201 , or device information of Bluetooth devices not connected to the Bluetooth headset 201 from the electronic device 202 .
  • the electronic device 202 is configured to send device information of the audio device 203 to the Bluetooth headset 201 in response to the user's operation of selecting the audio device 203 from devices searched by the electronic device 202 .
  • the electronic device 202 with a screen can be used to complete the device search and select the audio device 203 from the searched devices. This visual selection operation helps to improve the user experience.
  • the user may open an application for controlling the Bluetooth headset 201 on the electronic device 202, and the electronic device 202 enters an interface as shown in 3A in FIG. 3 .
  • the interface may include the name of the Bluetooth headset 201, the icon and name of the currently connected device, touch buttons related to sound, and touch buttons related to Smart Listening.
  • 3A in FIG. 3 exemplarily shows icons and names corresponding to two connected devices. It can be understood that the icon and name of the connected device include the icon and name of the electronic device 202 .
  • the sound-related touch buttons may include a button for enabling or disabling noise reduction, a button for selecting a noise reduction method, a button for enabling or disabling a human voice enhancement function, and a button for selecting sound quality.
  • noise reduction is currently enabled, the current noise reduction method is balanced, the current human voice enhancement function is enabled, and the current sound quality is super quality (SQ).
  • the touch buttons related to smart listening include the loudspeaker function button and the morning greeting button for broadcasting the content of interest.
  • the interface shown in 3A in FIG. 3 may also include icons and names of previously connected but currently unconnected devices.
  • the icons and names of previously connected but currently unconnected devices can be located on the right side of the icons and names of currently connected devices, and the icons and names of previously connected but currently unconnected devices can be displayed in grayscale to match the color display icon and name of the currently connected device.
  • 3A in FIG. 3 only gives an example of an interface of an electronic device.
  • the interface of an electronic device may adopt other layouts and may include other functions except sound amplification.
  • the user may click the loudspeaker function button on the interface shown in 3A in FIG. 3 , so that the electronic device 202 enters the interface shown in 3B in FIG. 3 .
  • This interface includes buttons to enable or disable the Bluetooth function.
  • the electronic device 202 can display icons, names and details buttons of the searched devices, and 3B in the figure exemplarily shows icons, names and details buttons corresponding to five searched devices.
  • the user can view related information of the searched device 1 , such as the device address, by clicking, for example, the details button on the right side of the name of the searched device 1 .
  • the user may select one or more audio devices to be connected from the searched devices shown in 3B in FIG. 3 .
  • the electronic device 202 may send device information of one or more audio devices selected by the user on the electronic device 202 to the Bluetooth headset 201 .
  • the audio device 203 is the electronic device 202 .
  • the electronic device 202 is further configured to switch the state from the master device state to the slave device state in response to the user's switching operation on the electronic device 202 .
  • the audio device 203 and the electronic device 202 can be the same device, which has the characteristics of screen and sound output, and can be in the state of the master device or in the state of the slave device, for example, a smart phone or laptop.
  • the bluetooth headset 201 is in the state of the master device after the state switching, and the electronic device 202 can switch the state to the state of the slave device, so that the bluetooth headset 201 and the electronic device 202 can establish a bluetooth connection.
  • the user's switching operation on the electronic device 202 may be that the user clicks a state switching button on the electronic device 202 .
  • the Bluetooth headset 201 is further configured to detect the user's audio data and send the processed audio data to the audio device 203 after establishing a Bluetooth connection with the audio device 203 .
  • the audio device 203 is configured to receive the processed audio data from the Bluetooth headset 201 . That is to say, in the embodiment of the present application, after the Bluetooth headset 201 establishes a Bluetooth connection with the audio device 203, the function of increasing the volume of the user's voice can be implemented.
  • FIG. 4 shows the process of increasing the user's speech volume after the Bluetooth headset 201 establishes a Bluetooth connection with the Bluetooth speaker 203 .
  • the microphone in the bluetooth headset 201 is used for sound pickup, and can detect audio data from the user.
  • the speech coder in the bluetooth earphone 201 can be used for compressing and coding the user's audio data, and the coding method can adopt bluetooth common continuous variable slope delta modulation (continuously variable slope delta modulation, CVSD) coding or multi-subband coding (multi sub-band coding, mSBC).
  • the Bluetooth transmission channel in the Bluetooth headset 201 can be used to send encoded audio data to the Bluetooth speaker 203 .
  • the Bluetooth receiving channel in the Bluetooth speaker 203 can be used to receive the audio data sent by the Bluetooth speaker 203 .
  • the voice decoding module in the bluetooth speaker 203 can be used to decode the received audio data to obtain an audio code stream.
  • the voice decoding module in the bluetooth speaker 203 can also be used to perform digital-to-analog signal conversion on the audio code stream.
  • the speaker in the bluetooth speaker 203 can be used to realize the sound amplification function according to the converted analog signal.
  • the embodiment of the present application also provides a bluetooth earphone, which is used to implement the above various functions.
  • the Bluetooth headset includes corresponding hardware structures and/or software modules for performing various functions.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software in combination with the units and algorithm steps of each example described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Different methods may be used to implement the described functionality for each particular application, but such implementation should not be considered beyond the scope of the present application.
  • the embodiment of the present application can divide the function modules of the Bluetooth headset according to the above system embodiments.
  • each function module can be divided corresponding to each function, or two or more functions can be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 5 shows a structure of a Bluetooth headset 201 provided by the implementation of this application.
  • the Bluetooth headset 201 includes a switching module 501 and a Bluetooth module 502 .
  • the Bluetooth headset 201 may further include a storage module 503 , a matching module 504 , and an audio module 505 .
  • the switching module 501 is used for switching the state of the Bluetooth headset 201 from the slave state to the master state in response to the user's switching operation on the Bluetooth headset 201 when the Bluetooth headset 201 is in the slave state.
  • the Bluetooth module 502 is configured to search for audio devices and establish a Bluetooth connection with the audio devices when the Bluetooth headset 201 is in the master device state.
  • the storage module 503 is configured to store preset Bluetooth device information.
  • the matching module 504 is configured to determine whether the audio device matches the preset Bluetooth device information stored in the Bluetooth headset 201 .
  • the Bluetooth module 502 is configured to establish a Bluetooth connection with the audio device when the audio device matches the preset Bluetooth device information stored in the Bluetooth headset 201 .
  • the audio module 505 is configured to broadcast device information of the audio device.
  • the Bluetooth module 502 is further configured to establish a Bluetooth connection with the audio device in response to the user's operation on the audio device.
  • the user's operation on the audio device includes touch operation or voice control operation.
  • the Bluetooth headset 201 is connected to the electronic device via Bluetooth, the Bluetooth headset 201 is in a slave device state, and the electronic device is in a master device state.
  • the bluetooth module 502 is also configured to receive the device information of the audio device sent by the electronic device.
  • the storage module 503 is also used to store device information of the audio device.
  • the audio device is an electronic device, and the electronic device is configured to switch a state from a master device state to a slave device state in response to a user's switching operation on the electronic device.
  • the Bluetooth module 502 is further configured to detect the user's audio data through the audio module 505 after the Bluetooth connection is established with the audio device, and send the processed audio data to the audio device.
  • the Bluetooth headset 201 includes a button, and the switching operation on the Bluetooth headset 201 includes touching the button of the Bluetooth headset 201 N times, pressing and holding the button for N seconds, or sliding the button up or down, wherein, N is a positive integer.
  • one or more of the above modules or units may be implemented by software, hardware or a combination of both.
  • the software exists in the form of computer program instructions and is stored in the memory, and the processor can be used to execute the program instructions and realize the above method flow.
  • the processor can be built into a SoC (system on a chip) or ASIC, or it can be an independent semiconductor chip.
  • the core of the processor is used to execute software instructions for calculation or processing, and can further include necessary hardware accelerators, such as field programmable gate array (field programmable gate array, FPGA), PLD (programmable logic device) , or a logic circuit that implements a dedicated logic operation.
  • the hardware can be CPU, microprocessor, digital signal processing (digital signal processing, DSP) chip, microcontroller unit (microcontroller unit, MCU), artificial intelligence processor, ASIC, Any one or any combination of SoC, FPGA, PLD, dedicated digital circuits, hardware accelerators, or non-integrated discrete devices, which can run necessary software or do not rely on software to realize the functions of the system described in the above embodiments .
  • DSP digital signal processing
  • MCU microcontroller unit
  • ASIC any one or any combination of SoC, FPGA, PLD, dedicated digital circuits, hardware accelerators, or non-integrated discrete devices, which can run necessary software or do not rely on software to realize the functions of the system described in the above embodiments .
  • FIG. 6 shows another structure of the Bluetooth headset 201 provided by the implementation of this application.
  • the Bluetooth headset 201 may include: a processor 610 , a memory 620 , a sensor 630 , a wireless communication module 640 , a receiver 650 , a microphone 660 and a power supply 670 .
  • the memory 620 may be used to store device information of other Bluetooth devices.
  • the device information of the other bluetooth devices may be the device information of the bluetooth devices connected to the bluetooth earphone 201, or the device information of the bluetooth devices from other devices to which the bluetooth earphone 201 has not been connected.
  • the above device information may include a MAC address.
  • the memory 620 can also be used to store application program codes, such as application program codes for establishing a wireless connection with an audio device or an electronic device, and enabling the Bluetooth headset 201 to perform a pairing connection with the audio device or an electronic device.
  • the processor 610 may control and execute the above application program codes, so as to realize the functions of the Bluetooth headset 201 in the embodiment of the present application.
  • the sensor 630 may be a distance sensor or a proximity light sensor.
  • the Bluetooth headset 201 can determine whether it is worn by the user through the sensor 630 .
  • the Bluetooth headset 201 can use a proximity light sensor to detect whether there is an object near the Bluetooth headset 201, so as to determine whether the Bluetooth headset 201 is worn by the user.
  • the Bluetooth headset 201 may turn on the receiver 650 and/or the microphone 660 .
  • the Bluetooth headset 201 may further include a touch sensor for detecting a user's touch operation, including clicking, long pressing, sliding up or sliding down.
  • the Bluetooth headset 201 may also include a bone conduction sensor, combined to form a bone conduction headset. Using the bone conduction sensor, the Bluetooth headset 201 can acquire the vibration signal of the vibrating bone of the vocal part, analyze the voice signal, and realize the voice function.
  • the wireless communication module 640 is used to support short-distance data exchange between the Bluetooth headset 201 and various devices, such as the above-mentioned electronic devices or audio devices.
  • the wireless communication module 640 can be a Bluetooth transceiver.
  • the Bluetooth headset 201 can establish a wireless connection with the above-mentioned electronic device or audio device through the Bluetooth transceiver, so as to realize short-distance data exchange between the two.
  • At least one receiver 650 which may also be referred to as an "earpiece”, may be used to convert audio electrical signals into audio signals and play them back.
  • the receiver 650 may announce device information of an audio device.
  • At least one microphone 660 which may also be referred to as “microphone” or “microphone”, is used to convert sound signals into audio electrical signals.
  • the microphone 660 can collect the user's voice signal during the user's speech and convert it into an audio electrical signal.
  • the above audio electrical signal is the audio data in the embodiment of the present application.
  • the power supply 670 can be used to supply power to various components contained in the Bluetooth headset 201 .
  • the power source 670 may be a battery, such as a rechargeable battery.
  • the Bluetooth headset 201 is equipped with a headset box for storing the Bluetooth headset 201 .
  • the earphone box can also charge the Bluetooth earphone 201 .
  • the Bluetooth headset 201 may further include: an input/output interface 680 .
  • the input/output interface 680 can be used to provide any connection between the Bluetooth headset 201 and the headset box.
  • input/output interface 680 may be an electrical connector.
  • the bluetooth earphone 201 When the bluetooth earphone 201 is placed in the earphone box, the bluetooth earphone 201 can be electrically connected with the earphone box (such as the input/output interface of the earphone box) through the electrical connector. After the electrical connection is established, the headset box can charge the power supply 670 of the Bluetooth headset 201 . After the electrical connection is established, the Bluetooth headset 201 can also perform data communication with the headset box. For example, the Bluetooth headset 201 can receive a pairing instruction from the headset box through the electrical connection.
  • the pairing instruction is used to instruct the Bluetooth headset 201 to turn on the wireless communication module 640, so that the Bluetooth headset 201 can use a corresponding wireless communication protocol (such as Bluetooth) to perform pairing connection with the electronic device.
  • the Bluetooth headset 201 may receive a state switching instruction from the headset box through the electrical connection.
  • the state switching instruction is used to instruct the processor 610 to switch the state of the Bluetooth headset 201 from the master state to the slave state.
  • the Bluetooth headset 201 may not include the input/output interface 680 .
  • the Bluetooth earphone 201 can realize the function of charging or data communication based on the wireless connection established with the earphone box through the above-mentioned wireless communication module 640 .
  • the earphone box may further include components such as a processor and a memory.
  • the memory can be used to store application program codes, which are controlled and executed by the processor of the earphone box, so as to realize the functions of the earphone box.
  • the processor of the earphone box may send a pairing instruction to the Bluetooth headset 201 in response to the user's operation of opening the cover by executing the application program code stored in the memory.
  • the processor of the headset box executes the application program code stored in the memory, and can respond to the user's operation of putting the Bluetooth headset 201 into the headset box to send a message to the Bluetooth headset 201. State switching instructions.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the Bluetooth headset 201 . It may have more or fewer components than shown in FIG. 6 , may combine two or more components, or may have a different configuration of components.
  • the bluetooth earphone 201 may also include an indicator light (which can indicate the status of the power of the bluetooth earphone 201, etc.), a dust filter (which can be used with the earpiece) and other components.
  • the various components shown in Figure 6 may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing or application specific integrated circuits.
  • the Bluetooth headset 201 can take the form of the Bluetooth headset 201 shown in FIG. 5 .
  • the function/implementation process of the switching module 501 or the matching module 504 in FIG. 5 can be implemented by the processor 610 in the Bluetooth headset 201 shown in FIG. 6 calling the computer-executed instructions stored in the memory 620 .
  • the Bluetooth module 502 in FIG. 5 can be realized by the wireless communication module 640 in FIG. 6 .
  • the storage module 503 in FIG. 5 may be implemented by the memory 620 in FIG. 6 .
  • the audio module 505 in FIG. 5 can be realized by the receiver 650 and the microphone 660 in FIG. 6 .
  • the Bluetooth earphone 201 may include: a left earphone 701 , a right earphone 702 and an earphone box 703 .
  • the bluetooth earphone 201 can be an earplug type, an ear-hook type or an earphone or the like.
  • the Bluetooth headset 201 may be a TWS headset.
  • the earphone box 703 can be used to accommodate the left earphone 701 and/or the right earphone 702.
  • FIG. 7 shows a schematic diagram of an example of a product form of the Bluetooth headset 201 by way of example only.
  • the product forms provided in the embodiments of this application include but are not limited to the Bluetooth headset shown in FIG. 7 .
  • the Bluetooth headset 201 in FIG. 2 is the left headset 701 or the right headset 702 in FIG. 7 .
  • the left earphone 701 is taken as an example for description.
  • the left earphone 701 includes an earphone head 7011 and an earphone handle 7012 .
  • the buttons for switching operations can be located on the earphone head 7011 or the earphone handle 7012 , and can be customized by the user.
  • the user's switching operation can be, for example, touching the earphone head 7011N times, long pressing the earphone head 7011N seconds, touching the left side of the earphone handle 7012 N times, long pressing the left side of the earphone handle 7012 N times, and pressing the left side of the earphone handle 7012 upwards.
  • the switching operation of the user can also be other gestures,
  • the embodiment of the present application does not make any limitation on this.
  • FIG. 8 shows a schematic diagram of a hardware structure of the electronic device 202 .
  • the electronic device 202 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, an antenna 1, an antenna 2, a mobile communication module 150, a wireless Communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180 and so on.
  • the structure shown in the embodiment of the present invention does not constitute a specific limitation on the mobile phone.
  • the mobile phone may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit, NPU
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the system.
  • the wireless communication function of the mobile phone can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied to mobile phones.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves and radiate them through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
  • the wireless communication module 160 can provide applications on mobile phones including wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system ( Global navigation satellite system (GNSS), frequency modulation (frequency modulation, FM), near field communication (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the mobile phone is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the mobile phone can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • code division multiple access code division multiple access
  • CDMA broadband Code division multiple access
  • WCDMA wideband code division multiple access
  • time division code division multiple access time-division code division multiple access
  • LTE long term evolution
  • BT GNSS
  • WLAN NFC
  • FM
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou navigation satellite system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the wireless communication module 160 can be used to search for available Bluetooth devices, and send the audio device selected by the user from the Bluetooth devices searched by the electronic device 202 to the Bluetooth headset. information.
  • the electronic device 202 and the audio device are the same device.
  • the wireless communication module 160 can be used to establish a Bluetooth connection with the Bluetooth headset and receive audio data from the Bluetooth headset.
  • the mobile phone realizes the display function through the GPU, the display screen 194, and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the mobile phone may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • the display screen 194 may be used to display an interface as shown in 3A in FIG. 3 or 3B in FIG. 3 .
  • the mobile phone can realize shooting function through ISP, camera 193 , video codec, GPU, display screen 194 and application processor.
  • the ISP is used for processing the data fed back by the camera 193 .
  • the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin color.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be located in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other image signals.
  • the mobile phone may include 1 or N cameras 193, where N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the mobile phone selects the frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.
  • the mobile phone can realize the audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • Speaker 170A also referred to as a "horn" is used to convert audio electrical signals into sound signals.
  • the cell phone can listen to music through speaker 170A, or listen to hands-free calls.
  • Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the receiver 170B can be placed close to the human ear to listen to the voice.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C.
  • the mobile phone may be provided with at least one microphone 170C.
  • the mobile phone can be equipped with two microphones 170C, which can also implement the noise reduction function in addition to collecting sound signals.
  • the mobile phone can also be equipped with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, and realization of directional recording functions, etc.
  • the earphone interface 170D is used for connecting wired earphones.
  • the earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the electronic device 202 and the audio device are the same device, and when the electronic device 202 is in a slave state, the audio module 170 can be used to process audio data from the Bluetooth headset.
  • the function of the voice decoder in the Bluetooth speaker 203 in FIG. 4 can be realized by the audio module 170 shown in FIG. 8 .
  • the function of the speaker in the Bluetooth speaker 203 in FIG. 4 can be realized by the speaker 170A shown in FIG. 8 .
  • the sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
  • the bluetooth headset in the master device state searches for an audio device. When the searched audio device matches the stored address and name, the Bluetooth headset announces the name of the audio device.
  • the stored device information may include the address and name stored in step S901, and may also include the address and name of the Bluetooth device to which the Bluetooth headset has been connected.
  • the Bluetooth headset may preferentially broadcast the name of the audio device that matches the address and name stored in step S901. If the Bluetooth headset cannot find an audio device that matches the address and name stored in step S901, the Bluetooth headset may broadcast the name of the Bluetooth device found and connected to before.
  • the Bluetooth headset In response to the user's confirmation or selection operation, the Bluetooth headset establishes a Bluetooth connection with the audio device confirmed or selected by the user.
  • Fig. 10 shows another example of the audio output method provided by this application.
  • the audio device and the electronic device are the same device, only the interaction between the Bluetooth headset and the electronic device is involved.
  • the electronic device and the bluetooth headset are connected through bluetooth, the electronic device is in the state of the master device, and the bluetooth headset is in the state of the slave device.
  • This example could include the following steps:
  • the electronic device in the master state sends the address and name of the electronic device to the Bluetooth headset in the slave state.
  • the Bluetooth headset receives and stores the address and name sent by the electronic device.
  • the bluetooth earphone in the state of the slave device switches the state from the state of the slave device to the state of the master device in response to the user's switching operation on the bluetooth earphone.
  • the electronic device in the master device state switches the state from the master device state to the slave device state in response to a user's switching operation on the electronic device.
  • step S1002 and step S1003 can be interchanged.
  • the bluetooth headset in the master device state searches for an audio device, and when the searched audio device matches the address and name of the electronic device, broadcasts the name of the electronic device.
  • the Bluetooth headset In response to the user's confirmation operation, the Bluetooth headset establishes a Bluetooth connection with the electronic device.
  • the Bluetooth headset sends the processed user's audio data to the audio device. Accordingly, the audio device receives the processed user's audio data from the Bluetooth headset.
  • an embodiment of the present application further provides a chip system, including: at least one processor and an interface, the at least one processor is coupled to the memory through the interface, and when the at least one processor executes the computer program or instruction in the memory , so that the above method shown in FIG. 9 or FIG. 10 is executed.
  • the chip system further includes a memory.
  • the system-on-a-chip may consist of a chip, or may include a chip and other discrete devices, which is not specifically limited in this embodiment of the present application.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • a software program it may 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.
  • the computer program instructions When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server, or data center Transmission to another website site, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or may be a data storage device including one or more servers, data centers, etc. that can be integrated with the medium.
  • the available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (solid state disk, SSD)), etc.

Abstract

Embodiments of the present application provide a Bluetooth earphone, an audio output method and an audio output system, which are used for reducing the cost of a sound amplification device and expanding the function of the sound amplification device. The state of the Bluetooth earphone provided by the embodiments of the present application comprises a slave device state and a master device state, and the Bluetooth earphone comprises a switching module and a Bluetooth module. The switching module is used for switching the state of the Bluetooth earphone from the slave device state to the master device state in response to a switching operation of a user on the Bluetooth earphone when the Bluetooth earphone is in the slave device state. The Bluetooth module is used for searching for an audio device when the Bluetooth earphone is in the master device state and establishing a Bluetooth connection with the audio device.

Description

蓝牙耳机、音频输出方法及音频输出系统Bluetooth earphone, audio output method and audio output system
本申请要求于2022年02月28日提交国家知识产权局、申请号为202210193753.3、申请名称为“蓝牙耳机、音频输出方法及音频输出系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office on February 28, 2022, with application number 202210193753.3, and application title "Bluetooth headset, audio output method, and audio output system", the entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及终端技术领域,尤其涉及蓝牙耳机、音频输出方法及音频输出系统。The present application relates to the technical field of terminals, and in particular to a bluetooth earphone, an audio output method and an audio output system.
背景技术Background technique
日常生活中,很多场景下需要将讲话者的音量扩大,例如,户外发言。In daily life, it is necessary to increase the speaker's volume in many scenarios, for example, speaking outdoors.
现有技术中,在扩音盒子或无线音箱中基于超高频(ultra-high frequency,UHF)频段或者其它民用专有频段来设计音频放大电路,以完成扩音功能。在实际使用扩音盒子或无线音箱时,还需要使用与其在同一专有频段的麦克风来完成声音采集功能。换言之,目前扩音盒子或无线音箱需要配合麦克风成套购买和使用。In the prior art, an audio amplifying circuit is designed based on an ultra-high frequency (UHF) frequency band or other civilian exclusive frequency bands in an amplifying box or a wireless speaker to complete the amplifying function. When actually using the PA box or wireless speaker, it is also necessary to use a microphone in the same proprietary frequency band to complete the sound collection function. In other words, at present, amplified boxes or wireless speakers need to be purchased and used in sets with microphones.
然而,扩音盒子或无线音箱配合麦克风成套购买的成本较高,并且扩音盒子或无线音箱和麦克风目前也仅用于实现扩音,功能较为单一。However, the cost of purchasing a set of amplifying boxes or wireless speakers with microphones is relatively high, and the amplifying boxes or wireless speakers and microphones are currently only used for sound amplification, and their functions are relatively single.
发明内容Contents of the invention
本申请实施例提供蓝牙耳机、音频输出方法及音频输出系统,用于降低扩音设备成本以及扩展扩音设备的功能。The embodiment of the present application provides a bluetooth earphone, an audio output method and an audio output system, which are used to reduce the cost of the sound amplification device and expand the function of the sound amplification device.
为达到上述目的,本申请的实施例采用如下技术方案:In order to achieve the above object, the embodiments of the present application adopt the following technical solutions:
第一方面,提供了一种蓝牙耳机,该蓝牙耳机的状态包括从设备状态和主设备状态,该蓝牙耳机包括切换模块和蓝牙模块;该切换模块,用于当该蓝牙耳机处于该从设备状态时,响应于用户对该蓝牙耳机的切换操作,将该蓝牙耳机的状态由该从设备状态切换为该主设备状态;该蓝牙模块,用于当该蓝牙耳机处于该主设备状态时,搜索音频设备,与该音频设备建立蓝牙连接。In a first aspect, a bluetooth headset is provided, the state of the bluetooth headset includes a slave device state and a master device state, and the bluetooth headset includes a switching module and a bluetooth module; the switching module is used for when the bluetooth headset is in the slave device state , in response to the switching operation of the Bluetooth headset by the user, the state of the Bluetooth headset is switched from the slave device state to the master device state; the Bluetooth module is used to search for audio when the Bluetooth headset is in the master device state. device to establish a Bluetooth connection with the audio device.
在本申请实施例提供的音频输出系统中,状态切换后的蓝牙耳机处于主设备状态,可以通过蓝牙模块与搜索到的音频设备建立蓝牙连接。由于蓝牙通信占用的是特定的某一频段,通常为2.4GHz,因此,具备蓝牙功能的蓝牙耳机或音频设备是通用的。也就是说,任何一个蓝牙耳机和任何一个具备蓝牙功能的音频设备均能够实现扩音功能,而不一定需要成套购买和使用蓝牙耳机和音频设备。一方面,通用的设计可以节省生产和购买成本,另一方面,通用的设计还可以使用户在设备损坏后便捷地找到替换设备,也可以避免设备损坏后因不容易找到替换设备而停用与损坏设备匹配的设备造成的资源浪费。此外,相比专用于扩音的麦克风,蓝牙耳机还可以实现除扩音之外的其他功能,例如,可以用于听音乐,看视频,语音通话或者视频聊天。In the audio output system provided by the embodiment of the present application, the bluetooth headset after state switching is in the master state, and can establish a bluetooth connection with the searched audio equipment through the bluetooth module. Since Bluetooth communication occupies a specific frequency band, usually 2.4 GHz, Bluetooth headsets or audio devices with Bluetooth functions are universal. That is to say, any Bluetooth headset and any audio device with Bluetooth function can realize the sound amplification function, and it is not necessary to purchase and use the Bluetooth headset and audio device as a set. On the one hand, the universal design can save production and purchase costs. On the other hand, the universal design can also enable users to find replacement equipment easily after the equipment is damaged, and it can also prevent the equipment from being disabled due to the difficulty of finding the replacement equipment after the equipment is damaged. Waste of resources caused by damaged devices matching devices. In addition, compared to a microphone dedicated to sound amplification, a Bluetooth headset can also perform other functions besides sound amplification, for example, it can be used for listening to music, watching videos, voice calls or video chats.
结合上述第一方面,在一种可能的实现方式中,该蓝牙耳机还包括存储模块和匹配模块;该存储模块,用于保存预设蓝牙设备信息;该匹配模块,用于确定该音频设备与该蓝牙耳机中存储的该预设蓝牙设备信息是否匹配;该蓝牙模块,用于当该音频设备与该蓝牙耳机中存储的该预设蓝牙设备信息匹配时,与该音频设备建立蓝牙连接。在本申请实施例 中,蓝牙耳机与音频设备建立蓝牙连接之前,需要通过匹配模块确定音频设备与存储模块中存储的预设蓝牙设备信息是否匹配,只有在匹配时才建立连接,从而提高成功连接的概率。In combination with the first aspect above, in a possible implementation manner, the Bluetooth headset further includes a storage module and a matching module; the storage module is used to save preset Bluetooth device information; the matching module is used to determine whether the audio device is compatible with Whether the preset Bluetooth device information stored in the Bluetooth headset matches; the Bluetooth module is used to establish a Bluetooth connection with the audio device when the audio device matches the preset Bluetooth device information stored in the Bluetooth headset. In the embodiment of the present application, before the Bluetooth headset establishes a Bluetooth connection with the audio device, it is necessary to determine whether the audio device matches the preset Bluetooth device information stored in the storage module through the matching module, and only establish a connection when they match, thereby improving the success of the connection. The probability.
结合上述第一方面,在一种可能的实现方式中,该蓝牙耳机还包括音频模块;该音频模块,用于播报该音频设备的设备信息;该蓝牙模块,还用于响应于该用户对该音频设备的操作,与该音频设备建立蓝牙连接。在本申请实施例中,蓝牙耳机通过蓝牙模块与音频设备建立蓝牙连接之前,需要通过音频模块播报音频设备的设备信息并由用户进行操作,从而增加成功连接到用户期望连接的设备的概率,进而提升用户体验感。With reference to the first aspect above, in a possible implementation manner, the Bluetooth headset further includes an audio module; the audio module is configured to broadcast device information of the audio device; the Bluetooth module is also configured to respond to the user's The operation of the audio device, establish a Bluetooth connection with the audio device. In the embodiment of the present application, before the Bluetooth headset establishes a Bluetooth connection with the audio device through the Bluetooth module, the device information of the audio device needs to be broadcast through the audio module and operated by the user, thereby increasing the probability of successfully connecting to the device that the user expects to connect, and then Improve user experience.
结合上述第一方面,在一种可能的实现方式中,该操作包括触控操作或语音控制操作。With reference to the foregoing first aspect, in a possible implementation manner, the operation includes a touch operation or a voice control operation.
结合上述第一方面,在一种可能的实现方式中,该蓝牙耳机与电子设备蓝牙连接,该蓝牙耳机处于从设备状态,该电子设备处于主设备状态;该蓝牙模块,还用于接收该电子设备发送的该音频设备的设备信息;该存储模块,还用于存储该音频设备的设备信息。在本申请实施例中,蓝牙耳机进行状态切换之前,蓝牙耳机处于从设备状态,电子设备处于主设备状态。从而电子设备可以通过蓝牙向蓝牙耳机发送信息。In combination with the first aspect above, in a possible implementation manner, the Bluetooth headset is connected to the electronic device via Bluetooth, the Bluetooth headset is in the state of the slave device, and the electronic device is in the state of the master device; the Bluetooth module is also used to receive the electronic device The device information of the audio device sent by the device; the storage module is also used to store the device information of the audio device. In the embodiment of the present application, before the state switching of the Bluetooth headset, the Bluetooth headset is in the state of the slave device, and the electronic device is in the state of the master device. Therefore, the electronic device can send information to the Bluetooth headset through the Bluetooth.
结合上述第一方面,在一种可能的实现方式中,该音频设备为该电子设备。该电子设备用于响应于该用户对该电子设备的切换操作,将状态由该主设备状态切换为该从设备状态。在本申请实施例中,音频设备与电子设备可以为同一设备,兼具有屏和声音外放的特性,例如,智能手机或笔记本电脑。With reference to the foregoing first aspect, in a possible implementation manner, the audio device is the electronic device. The electronic device is used to switch the state from the master device state to the slave device state in response to the user's switching operation on the electronic device. In the embodiment of the present application, the audio device and the electronic device may be the same device, which has the characteristics of a screen and sound output, for example, a smart phone or a notebook computer.
结合上述第一方面,在一种可能的实现方式中,该蓝牙模块,还用于在与该音频设备建立蓝牙连接之后,通过该音频模块检测到该用户的音频数据,向该音频设备发送经处理后的音频数据。在本申请实施例中,蓝牙耳机通过蓝牙模块与音频设备建立蓝牙连接之后,就可以对用户的声音实现音量扩大的功能。With reference to the first aspect above, in a possible implementation manner, the Bluetooth module is further configured to detect the user's audio data through the audio module after the Bluetooth connection is established with the audio device, and send the audio data to the audio device via Processed audio data. In the embodiment of the present application, after the Bluetooth headset establishes a Bluetooth connection with the audio device through the Bluetooth module, it can realize the function of increasing the volume of the user's voice.
结合上述第一方面,在一种可能的实现方式中,该蓝牙耳机包括按键,该用户对该蓝牙耳机的切换操作包括触碰该蓝牙耳机的该按键N次,长按该按键N秒,或向上滑动或者向下滑动该按键,其中,N为正整数。在本申请实施例中,用于切换操作的按键可以是由用户自定义的任一按键,例如调大音量键,减小音量键或者暂停播放键。In combination with the first aspect above, in a possible implementation manner, the Bluetooth headset includes a button, and the user's switching operation on the Bluetooth headset includes touching the button of the Bluetooth headset N times, pressing and holding the button for N seconds, or Slide the button up or down, where N is a positive integer. In the embodiment of the present application, the key used for the switching operation may be any key defined by the user, such as a volume up key, a volume down key or a playback pause key.
第二方面,提供了一种音频输出方法,该方法可以应用于蓝牙耳机。该蓝牙耳机的状态包括从设备状态和主设备状态,该音频输出方法包括:当该蓝牙耳机处于该从设备状态时,响应于用户对该蓝牙耳机的切换操作,将该蓝牙耳机的状态由该从设备状态切换为该主设备状态;当该蓝牙耳机处于该主设备状态时,搜索音频设备,与该音频设备建立蓝牙连接。In a second aspect, an audio output method is provided, which can be applied to a Bluetooth headset. The state of the bluetooth headset includes a slave device state and a master device state, and the audio output method includes: when the bluetooth headset is in the slave device state, in response to a user's switching operation on the bluetooth headset, changing the state of the bluetooth headset from the Switch from the state of the device to the state of the master device; when the Bluetooth headset is in the state of the master device, search for an audio device and establish a Bluetooth connection with the audio device.
结合上述第二方面,在一种可能的实现方式中,该音频输出方法还包括:确定该音频设备与该蓝牙耳机中存储的预设蓝牙设备信息是否匹配;当该音频设备与该蓝牙耳机中存储的该预设蓝牙设备信息匹配时,与该音频设备建立蓝牙连接。With reference to the second aspect above, in a possible implementation, the audio output method further includes: determining whether the audio device matches the preset Bluetooth device information stored in the Bluetooth headset; When the stored preset Bluetooth device information matches, a Bluetooth connection is established with the audio device.
结合上述第二方面,在一种可能的实现方式中,该音频输出方法还包括:播报该音频设备的设备信息;响应于该用户对该音频设备的操作,与该音频设备建立蓝牙连接。With reference to the second aspect above, in a possible implementation manner, the audio output method further includes: broadcasting device information of the audio device; and establishing a Bluetooth connection with the audio device in response to the user's operation on the audio device.
结合上述第二方面,在一种可能的实现方式中,该操作包括触控操作或语音控制操作。With reference to the second aspect above, in a possible implementation manner, the operation includes a touch operation or a voice control operation.
结合上述第二方面,在一种可能的实现方式中,该蓝牙耳机与电子设备蓝牙连接,该蓝牙耳机处于从设备状态,该电子设备处于主设备状态;该方法还包括:接收并存储该电 子设备发送的该音频设备的设备信息。In combination with the second aspect above, in a possible implementation manner, the Bluetooth headset is connected to the electronic device via Bluetooth, the Bluetooth headset is in the state of the slave device, and the electronic device is in the state of the master device; the method further includes: receiving and storing the electronic device The device information of the audio device sent by the device.
结合上述第二方面,在一种可能的实现方式中,该音频设备为该电子设备;该电子设备用于响应于该用户对该电子设备的切换操作,将状态由该主设备状态切换为该从设备状态。With reference to the second aspect above, in a possible implementation manner, the audio device is the electronic device; the electronic device is configured to switch the state from the main device state to the slave device status.
结合上述第二方面,在一种可能的实现方式中,该音频输出方法还包括:在与该音频设备建立蓝牙连接之后,检测到该用户的音频数据,向该音频设备发送经处理后的音频数据。With reference to the second aspect above, in a possible implementation, the audio output method further includes: after establishing a Bluetooth connection with the audio device, detecting the user's audio data, and sending the processed audio data to the audio device data.
结合上述第二方面,在一种可能的实现方式中,该用户对该蓝牙耳机的切换操作包括触碰该蓝牙耳机的按键N次,长按该按键N秒,或向上滑动或者向下滑动该按键,其中,N为正整数。In combination with the second aspect above, in a possible implementation, the user's switching operation on the Bluetooth headset includes touching the button of the Bluetooth headset N times, pressing the button for N seconds, or sliding the button up or down. button, where N is a positive integer.
第三方面,提供了一种音频输出系统,该音频输出系统包括蓝牙耳机和电子设备;该蓝牙耳机的状态包括从设备状态和主设备状态,该电子设备的状态包括该从设备状态和该主设备状态,该蓝牙耳机与该电子设备蓝牙连接,该蓝牙耳机处于该从设备状态,该电子设备处于该主设备状态;该蓝牙耳机,用于当该蓝牙耳机处于该从设备状态时,响应于用户对该蓝牙耳机的切换操作,将该蓝牙耳机的状态由该从设备状态切换为该主设备状态;该蓝牙耳机,还用于当该蓝牙耳机处于该主设备状态时,搜索音频设备,与该音频设备建立蓝牙连接。In a third aspect, an audio output system is provided, the audio output system includes a bluetooth headset and an electronic device; the state of the bluetooth headset includes a slave device state and a master device state, and the state of the electronic device includes the slave device state and the master device state Device state, the bluetooth headset is connected with the electronic device bluetooth, the bluetooth headset is in the state of the slave device, and the electronic device is in the state of the master device; the bluetooth headset is used to respond when the bluetooth headset is in the state of the slave device The user's switching operation on the Bluetooth headset switches the state of the Bluetooth headset from the slave device state to the master device state; the Bluetooth headset is also used to search for audio devices when the Bluetooth headset is in the master device state, and The audio device establishes a Bluetooth connection.
结合上述第三方面,在一种可能的实现方式中,该蓝牙耳机,还用于确定该音频设备与该蓝牙耳机中存储的预设蓝牙设备信息是否匹配;当该音频设备与该蓝牙耳机中存储的该预设蓝牙设备信息匹配时,与该音频设备建立蓝牙连接。In combination with the third aspect above, in a possible implementation manner, the Bluetooth headset is also used to determine whether the audio device matches the preset Bluetooth device information stored in the Bluetooth headset; When the stored preset Bluetooth device information matches, a Bluetooth connection is established with the audio device.
结合上述第三方面,在一种可能的实现方式中,该蓝牙耳机,还用于播报该音频设备的设备信息;该蓝牙耳机,还用于响应于该用户对该音频设备的操作,与该音频设备建立蓝牙连接。With reference to the third aspect above, in a possible implementation manner, the Bluetooth headset is further configured to broadcast device information of the audio device; the Bluetooth headset is further configured to communicate with the audio device in response to the user's operation on the audio device. The audio device establishes a Bluetooth connection.
结合上述第三方面,在一种可能的实现方式中,该操作包括触控操作或语音控制操作。With reference to the third aspect above, in a possible implementation manner, the operation includes a touch operation or a voice control operation.
结合上述第三方面,在一种可能的实现方式中,该电子设备,用于与该蓝牙耳机通过蓝牙连接,向该蓝牙耳机发送该音频设备的设备信息;该蓝牙耳机,用于接收并存储该电子设备发送的该音频设备的设备信息。In combination with the third aspect above, in a possible implementation manner, the electronic device is configured to connect with the Bluetooth headset via Bluetooth, and send the device information of the audio device to the Bluetooth headset; the Bluetooth headset is configured to receive and store The device information of the audio device sent by the electronic device.
结合上述第三方面,在一种可能的实现方式中,该电子设备,用于响应于该用户从该电子设备搜索到的设备中选择该音频设备的操作,向该蓝牙耳机发送该音频设备的设备信息。在本申请实施例中,由于蓝牙耳机没有屏幕,因此,可以借助有屏的电子设备来完成设备的搜索,以及从搜索到的设备中选择音频设备。这种可视化的选择操作有助于提升用户的体验感。With reference to the third aspect above, in a possible implementation manner, the electronic device is configured to, in response to the user's operation of selecting the audio device from the devices searched by the electronic device, send the audio device's information to the Bluetooth headset. Device Information. In the embodiment of the present application, since the Bluetooth headset has no screen, an electronic device with a screen can be used to complete the device search and select an audio device from the searched devices. This visual selection operation helps to improve the user experience.
结合上述第三方面,在一种可能的实现方式中,该音频设备为该电子设备;该电子设备,还用于响应于用户对该电子设备的切换操作,将状态由该主设备状态切换为该从设备状态。在本申请实施例中,音频设备与电子设备可以为同一设备,兼具有屏和声音外放的特性,并且既可以处于主设备状态,也可以处于从设备状态,例如,智能手机或笔记本电脑。蓝牙耳机进行状态切换之后处于主设备状态,电子设备可以将状态切换为从设备状态,从而蓝牙耳1与电子设备可以建立起蓝牙连接。With reference to the third aspect above, in a possible implementation manner, the audio device is the electronic device; the electronic device is further configured to switch the state from the main device state to The slave device status. In this embodiment of the application, the audio device and the electronic device can be the same device, which has the characteristics of both screen and sound output, and can be in the state of the master device or in the state of the slave device, for example, a smartphone or a laptop . The bluetooth earphone is in the state of the master device after state switching, and the electronic device can switch the state to the state of the slave device, so that the bluetooth earphone 1 and the electronic device can establish a bluetooth connection.
结合上述第三方面,在一种可能的实现方式中,该蓝牙耳机,还用于在与该音频设备 建立蓝牙连接之后,检测到该用户的音频数据,向该音频设备发送经处理后的音频数据;该音频设备,用于接收来自该蓝牙耳机的经处理后的音频数据。With reference to the third aspect above, in a possible implementation manner, the Bluetooth headset is further configured to detect the user's audio data after establishing a Bluetooth connection with the audio device, and send the processed audio data to the audio device Data; the audio device is used to receive the processed audio data from the Bluetooth headset.
结合上述第三方面,在一种可能的实现方式中,该用户对该蓝牙耳机的切换操作包括触碰该蓝牙耳机的按键N次,长按该按键N秒,或向上滑动或者向下滑动该按键,其中,N为正整数。In combination with the third aspect above, in a possible implementation, the user's switching operation on the Bluetooth headset includes touching the button of the Bluetooth headset N times, pressing the button for N seconds, or sliding up or down the button. button, where N is a positive integer.
第四方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行第二方面及其中任一设计所述的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program or instruction is stored, and when the computer program or instruction is run on a computer, the computer is made to execute the second aspect and any of them. - Design the method described.
第五方面,提供一种芯片系统,该芯片系统包括处理器、存储器,存储器中存储有计算机程序代码;所述计算机程序代码被所述处理器执行时,实现如第二方面任一种可能的实现方式中的方法。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。According to a fifth aspect, a chip system is provided, the chip system includes a processor, a memory, and a computer program code is stored in the memory; when the computer program code is executed by the processor, any one of the possible features of the second aspect can be realized method in the implementation. The system-on-a-chip may consist of chips, or may include chips and other discrete devices.
第六方面,本申请实施例提供一种计算机程序产品,该计算机程序产品包括:计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行第二方面及其中任一设计所述的方法。In the sixth aspect, the embodiment of the present application provides a computer program product, the computer program product includes: a computer program or instruction, when the computer program or instruction is run on the computer, the computer executes the second aspect and any design described in the second aspect. Methods.
需要说明的是,上述第二方面至第六方面中任一设计所带来的技术效果可以参见第一方面中对应设计所带来的技术效果,此处不再赘述。It should be noted that, for the technical effects brought about by any design in the second aspect to the sixth aspect above, refer to the technical effects brought about by the corresponding design in the first aspect, which will not be repeated here.
附图说明Description of drawings
图1为现有技术中用于实现扩音的系统的架构示意图;FIG. 1 is a schematic structural diagram of a system for implementing sound amplification in the prior art;
图2为本申请实施例提供的一种音频输出系统的架构示意图;FIG. 2 is a schematic structural diagram of an audio output system provided by an embodiment of the present application;
图3为本申请实施例提供的一种音频输出系统的应用场景示意图;FIG. 3 is a schematic diagram of an application scenario of an audio output system provided by an embodiment of the present application;
图4为本申请实施例提供的一种蓝牙耳机与蓝牙音箱建立蓝牙连接之后扩大用户讲话音量的流程示意图;Fig. 4 is a schematic flow diagram of enlarging the user's speech volume after establishing a Bluetooth connection between a Bluetooth headset and a Bluetooth speaker provided by an embodiment of the present application;
图5为本申请实施提供的蓝牙耳机的结构示意图一;Fig. 5 is a structural schematic diagram 1 of the bluetooth earphone provided by the implementation of the present application;
图6为本申请实施提供的蓝牙耳机的结构示意图二;Fig. 6 is a structural schematic diagram II of the bluetooth earphone provided by the implementation of the present application;
图7为本申请实施提供的蓝牙耳机的结构示意图三;Fig. 7 is a structural schematic diagram 3 of the bluetooth earphone provided by the implementation of the present application;
图8为本申请实施提供的电子设备的结构示意图;FIG. 8 is a schematic structural diagram of an electronic device provided by the implementation of the present application;
图9为本申请实施例提供的一种音频输出方法的流程图一;FIG. 9 is a flow chart 1 of an audio output method provided by an embodiment of the present application;
图10为本申请实施例提供的一种音频输出方法的流程图二。FIG. 10 is a second flowchart of an audio output method provided by an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图对本申请实施例提供的蓝牙耳机、音频输出方法及音频输出系统进行详细的描述。The Bluetooth headset, audio output method, and audio output system provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
本申请的描述中所提到的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括其他没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "including" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes other unlisted steps or units, or optionally also includes Other steps or elements inherent to the process, method, product or apparatus are included.
需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
在本申请的描述中,除非另有说明,“多个”的含义是指两个或两个以上。本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。In the description of the present application, unless otherwise specified, the meaning of "plurality" refers to two or more. The "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone These three situations.
如背景技术所述,现有技术中采用工作在UHF频段或者其它民用专有频段的扩音盒子或无线音箱时,还需要使用与其在同一专有频段的麦克风来协同实现声音采集和扩音功能,如图1所示。在扩音盒子或无线音箱中设计的音频放大电路包括无线接收模块、音频码流生成模块、数字模拟转换器(digital to analog converter,DAC)、音调调节模块、电压放大器、数字功放模块以及扬声器。其中,电压放大器也可以被称为电位器。As mentioned in the background technology, in the prior art, when a speaker box or a wireless speaker operating in the UHF frequency band or other proprietary frequency bands for civilian use is used, it is also necessary to use a microphone in the same proprietary frequency band to realize the functions of sound collection and sound amplification. ,As shown in Figure 1. The audio amplification circuit designed in the amplification box or wireless speaker includes a wireless receiving module, an audio stream generation module, a digital to analog converter (DAC), a tone adjustment module, a voltage amplifier, a digital power amplifier module and a speaker. Among them, the voltage amplifier can also be called a potentiometer.
然而,现有技术存在成套购买的成本较高,并且购买后仅用于实现扩音,功能较为单一的问题。此外,不同设备厂商的产品使用的频段可能不同,会存在不通用的问题。例如,与扩音盒子A配套的麦克风A在使用过程中损坏,那么用户需要购买同一厂家生产的麦克风A’,或者,购买另一厂家生产的扩音盒子B和麦克风B。寻找某个厂家去购买特定的产品可能会为用户带来诸多不便,或者,因麦克风A的损坏而停用扩音盒子A会造成资源的浪费。However, the existing technology has the problem that the cost of purchasing a complete set is relatively high, and after purchase, it is only used to realize sound amplification, and the function is relatively single. In addition, the frequency bands used by products of different equipment manufacturers may be different, and there may be problems of incompatibility. For example, if the microphone A matched with the amplifier box A is damaged during use, the user needs to purchase the microphone A' produced by the same manufacturer, or purchase the amplifier box B and microphone B produced by another manufacturer. Finding a certain manufacturer to purchase a specific product may bring a lot of inconvenience to the user, or disabling the amplifier box A due to damage to the microphone A will cause a waste of resources.
目前,随着蓝牙耳机的普及率越来越高,本申请实施例可以通过对蓝牙耳机的功能进行改进来实现无线扩音功能。蓝牙耳机的具体功能及技术效果将在下面的系统实施例中详细描述,在此不予赘述。At present, as the popularity rate of the Bluetooth headset is getting higher and higher, the embodiment of the present application can realize the wireless sound amplification function by improving the function of the Bluetooth headset. The specific functions and technical effects of the Bluetooth headset will be described in detail in the following system embodiments, and will not be repeated here.
如图2所示,为本申请实施例提供的一种音频输出系统20。该音频输出系统20包括蓝牙耳机201、电子设备202和音频设备203。其中,音频设备203可以为一个或多个设备,图2中仅示意性地画出一个设备。示例性地,蓝牙耳机201可以为一对真无线立体声(true wireless Stereo,TWS)蓝牙耳机中的左耳机或右耳机。电子设备202可以为智能手机。音频设备203可以为蓝牙音箱。蓝牙耳机201的状态包括从设备状态和主设备状态,电子设备202的状态包括从设备状态和主设备状态,例如蓝牙耳机201与电子设备202蓝牙连接,蓝牙耳机201处于从设备状态,电子设备202处于主设备状态。As shown in FIG. 2 , it is an audio output system 20 provided by the embodiment of the present application. The audio output system 20 includes a Bluetooth headset 201 , an electronic device 202 and an audio device 203 . Wherein, the audio device 203 may be one or more devices, and only one device is schematically shown in FIG. 2 . Exemplarily, the bluetooth earphone 201 may be the left earphone or the right earphone of a pair of true wireless stereo (true wireless stereo, TWS) bluetooth earphones. The electronic device 202 may be a smart phone. The audio device 203 may be a Bluetooth speaker. The state of the bluetooth earphone 201 includes a slave device state and a master device state, and the state of the electronic device 202 includes a slave device state and a master device state. in the master state.
在图2中,蓝牙耳机201,用于当蓝牙耳机201处于从设备状态时,响应于用户对蓝牙耳机201的切换操作,将蓝牙耳机201的状态由从设备状态切换为主设备状态。蓝牙耳机201,还用于当蓝牙耳机201处于主设备状态时,搜索音频设备203,与音频设备203建立蓝牙连接。在本申请实施例提供的音频输出系统中,状态切换后的蓝牙耳机201处于主设备状态,可以与搜索到的音频设备203建立蓝牙连接。由于蓝牙通信占用的是特定的某一频段,通常为2.4GHz,因此,具备蓝牙功能的蓝牙耳机201或音频设备203是通用的。也就是说,任何一个蓝牙耳机201和任何一个具备蓝牙功能的音频设备203均能够实现扩音功能,而不一定需要成套购买和使用蓝牙耳机201和音频设备203。一方面,通用的设计可以节省生产和购买成本,另一方面,通用的设计还可以使用户在设备损坏后便捷地找到替换设备,也可以避免设备损坏后因不容易找到替换设备而停用与损坏设备匹配的设备造成的资源浪费。此外,相比专用于扩音的麦克风,蓝牙耳机201还可以实现除扩音之外的其他功能,例如,可以用于听音乐,看视频,语音通话或者视频聊天。In FIG. 2 , the bluetooth earphone 201 is used to switch the state of the bluetooth earphone 201 from the slave state to the master state in response to the user's switching operation on the bluetooth earphone 201 when the bluetooth earphone 201 is in the slave state. The Bluetooth headset 201 is also used to search for the audio device 203 and establish a Bluetooth connection with the audio device 203 when the Bluetooth headset 201 is in the master device state. In the audio output system provided in the embodiment of the present application, the bluetooth headset 201 after state switching is in the master state, and can establish a bluetooth connection with the searched audio device 203 . Since the Bluetooth communication occupies a specific frequency band, usually 2.4 GHz, the Bluetooth headset 201 or the audio device 203 with the Bluetooth function is universal. That is to say, any Bluetooth earphone 201 and any audio device 203 with Bluetooth function can realize the sound amplification function, and it is not necessary to purchase and use the Bluetooth earphone 201 and the audio device 203 as a set. On the one hand, the universal design can save production and purchase costs. On the other hand, the universal design can also enable users to find replacement equipment easily after the equipment is damaged, and it can also prevent the equipment from being disabled due to the difficulty of finding the replacement equipment after the equipment is damaged. Waste of resources caused by damaged devices matching devices. In addition, compared to the microphone dedicated to sound amplification, the Bluetooth headset 201 can also implement other functions besides sound amplification, for example, it can be used for listening to music, watching videos, voice calls or video chats.
在本申请的一些实施例中,用户对蓝牙耳机201的切换操作包括触碰蓝牙耳机201的按键N次,长按按键N秒,或向上滑动或者向下滑动按键,其中,N为正整数。用于切换操作的按键可以是由用户自定义的任一按键,例如调大音量键,减小音量键或者暂停播放 键。In some embodiments of the present application, the user's switching operation on the Bluetooth headset 201 includes touching the button of the Bluetooth headset 201 N times, pressing and holding the button for N seconds, or sliding the button up or down, wherein N is a positive integer. The button used for switching operations can be any button defined by the user, such as a volume up key, a volume down key or a playback pause key.
示例性地,蓝牙耳机201可以通过蓝牙复位或者重启来实现状态切换。Exemplarily, the bluetooth headset 201 can realize the state switching by resetting or restarting the bluetooth.
当不使用扩音功能时,蓝牙耳机201需要恢复到通常的从设备状态。用户可以通过将蓝牙耳机201放入耳机盒来再次触发状态的切换,即将蓝牙耳机201由主设备状态切换为从设备状态。When the sound amplification function is not used, the Bluetooth headset 201 needs to return to the usual slave device state. The user can trigger the switching of the state again by putting the Bluetooth headset 201 into the headset box, that is, switching the Bluetooth headset 201 from the master device state to the slave device state.
示例性地,蓝牙耳机201与音频设备203建立的蓝牙连接可以是面向连接的同步链路(synchronous connection oriented link,SCO)。Exemplarily, the Bluetooth connection established between the Bluetooth headset 201 and the audio device 203 may be a connection-oriented synchronous link (synchronous connection oriented link, SCO).
在本申请的一些实施例中,蓝牙耳机201,还用于:确定音频设备203与蓝牙耳机201中存储的预设蓝牙设备信息是否匹配;当音频设备203与蓝牙耳机201中存储的预设蓝牙设备信息匹配时,与音频设备203建立蓝牙连接。也就是说,在本申请实施例中,蓝牙耳机201与音频设备203建立蓝牙连接之前,需要确定音频设备203与蓝牙耳机201中存储的预设蓝牙设备信息是否匹配,只有在匹配时才建立连接,从而提高成功连接的概率。In some embodiments of the present application, the Bluetooth headset 201 is also used to: determine whether the audio device 203 matches the preset Bluetooth device information stored in the Bluetooth headset 201; When the device information matches, a Bluetooth connection is established with the audio device 203 . That is to say, in the embodiment of the present application, before the Bluetooth headset 201 establishes a Bluetooth connection with the audio device 203, it is necessary to determine whether the preset Bluetooth device information stored in the audio device 203 and the Bluetooth headset 201 matches, and the connection is established only when they match. , thereby increasing the probability of a successful connection.
需要说明的是,音频设备203与蓝牙耳机201中存储的预设蓝牙设备信息匹配是指蓝牙耳机201中存储的预设蓝牙设备信息包括音频设备203的设备信息。反之,音频设备203与蓝牙耳机201中存储的预设蓝牙设备信息不匹配是指蓝牙耳机201中存储的预设蓝牙设备信息不包括音频设备203的设备信息。It should be noted that the match between the audio device 203 and the preset Bluetooth device information stored in the Bluetooth headset 201 means that the preset Bluetooth device information stored in the Bluetooth headset 201 includes the device information of the audio device 203 . Conversely, the fact that the audio device 203 does not match the preset Bluetooth device information stored in the Bluetooth headset 201 means that the preset Bluetooth device information stored in the Bluetooth headset 201 does not include the device information of the audio device 203 .
其中,本申请实施例中,设备信息包括地址,或者,设备信息包括地址和名称。所述地址例如可以为媒体访问控制(media access contro l,MAC)地址。Wherein, in the embodiment of the present application, the device information includes an address, or, the device information includes an address and a name. The address may be, for example, a media access control (media access control, MAC) address.
在本申请的一些实施例中,蓝牙耳机201,还用于播报音频设备203的设备信息。蓝牙耳机201,还用于响应于用户对音频设备203的操作,与音频设备建立蓝牙连接。也就是说,在本申请实施例中,蓝牙耳机201与音频设备203建立蓝牙连接之前,需要播报音频设备203的设备信息并由用户进行操作,从而增加成功连接到用户期望连接的设备的概率,进而提升用户体验感。In some embodiments of the present application, the Bluetooth headset 201 is also used to broadcast the device information of the audio device 203 . The Bluetooth headset 201 is also used to establish a Bluetooth connection with the audio device in response to the user's operation on the audio device 203 . That is to say, in the embodiment of the present application, before the Bluetooth headset 201 establishes a Bluetooth connection with the audio device 203, the device information of the audio device 203 needs to be broadcast and operated by the user, thereby increasing the probability of successfully connecting to the device that the user desires to connect. Thereby improving user experience.
在本申请的实施例中,当音频设备203与蓝牙耳机201中存储的预设蓝牙设备信息匹配时,蓝牙耳机201,还用于播报音频设备203的设备信息。In the embodiment of the present application, when the audio device 203 matches the preset Bluetooth device information stored in the Bluetooth headset 201 , the Bluetooth headset 201 is also used to broadcast the device information of the audio device 203 .
通常,蓝牙耳机201中存储的预设蓝牙设备信息可以按时间顺序排列。蓝牙耳机201可以优先播报与最新存储的预设蓝牙设备信息匹配的音频设备203。Generally, the preset Bluetooth device information stored in the Bluetooth headset 201 can be arranged in chronological order. The Bluetooth earphone 201 may preferentially broadcast the audio device 203 that matches the latest stored preset Bluetooth device information.
若音频设备203的设备信息包括音频设备203的地址和名称,则蓝牙耳机201可以语音播报音频设备203的名称。当音频设备203为多个设备时,蓝牙耳机201还可以语音播报音频设备203的名称以及对应的编号。若音频设备203的设备信息包括音频设备203的地址,则蓝牙耳机201语音播报音频设备203的地址。If the device information of the audio device 203 includes the address and name of the audio device 203 , the Bluetooth headset 201 can voice announce the name of the audio device 203 . When the audio device 203 is multiple devices, the Bluetooth headset 201 can also voice announce the name and corresponding number of the audio device 203 . If the device information of the audio device 203 includes the address of the audio device 203 , the Bluetooth headset 201 announces the address of the audio device 203 by voice.
在一种可能的实现方式中,当音频设备203为与蓝牙耳机201中存储的预设蓝牙设备信息匹配的唯一设备时,蓝牙耳机201可以语音播报音频设备203的名称或地址。此时,用户对音频设备203的操作可以是触控操作,例如用户点击某个按键,以确认与音频设备203进行蓝牙连接。In a possible implementation manner, when the audio device 203 is the only device matching the preset Bluetooth device information stored in the Bluetooth headset 201 , the Bluetooth headset 201 may voice announce the name or address of the audio device 203 . At this time, the user's operation on the audio device 203 may be a touch operation, for example, the user clicks a button to confirm the Bluetooth connection with the audio device 203 .
在另一种可能的实现方式中,当音频设备203为与蓝牙耳机201中存储的预设蓝牙设备信息匹配的多个设备中的一个设备时,蓝牙耳机201可以语音播报与蓝牙耳机201中存储的预设蓝牙设备信息匹配的多个设备的名称,例如,“名称1,名称2,……名称M”,M为大于1的正整数,此时,用户对音频设备203的操作可以是触控操作,例如用户点击某 个按键J次,以选择与名称J对应的音频设备203进行蓝牙连接,J为正整数且满足1≤J≤M。示例性地,又例如,蓝牙耳机201可以语音播报“名称1,名称2,……名称M,请说出要连接的设备名称”,此时,用户对音频设备203的操作可以是语音控制操作,例如用户说出“名称J”,以选择与名称J对应的音频设备203进行蓝牙连接。或者,蓝牙耳机201可以语音播报与蓝牙耳机201中存储的预设蓝牙设备信息匹配的多个设备的名称以及对应的编号,例如,“1,名称1,2,名称2,……M,名称M,请说出要连接的设备对应的编号”。此时,用户对音频设备203的操作可以是语音控制操作,例如用户说出“J”,以选择与名称J对应的音频设备203进行蓝牙连接。此外,蓝牙耳机201还可以每次语音播报与蓝牙耳机201中存储的预设蓝牙设备信息匹配的多个设备中某一个设备的名称,直到用户通过触控操作或语音控制操作选择与名称J对应的音频设备203连接。例如,蓝牙耳机201播报“请问是否与名称1连接”,若用户在预设时间内无任何操作或说出“否”,那么,蓝牙耳机201继续播报“请问是否与名称2连接”。若用户点击某个预设按键或说出“是”,那么,蓝牙耳机201不再进行语音播报,而是与名称2对应的音频设备203进行连接。In another possible implementation, when the audio device 203 is one of multiple devices that match the preset Bluetooth device information stored in the Bluetooth headset 201, the Bluetooth headset 201 can voice broadcast and the information stored in the Bluetooth headset 201. The preset Bluetooth device information matches the names of multiple devices, for example, "name 1, name 2, ... name M", where M is a positive integer greater than 1. At this time, the user's operation on the audio device 203 can be a touch control operation, for example, the user clicks a certain button J times to select the audio device 203 corresponding to the name J for Bluetooth connection, where J is a positive integer and satisfies 1≤J≤M. Exemplarily, for another example, the Bluetooth headset 201 can voice broadcast "name 1, name 2, ... name M, please say the name of the device to be connected", at this time, the user's operation on the audio device 203 can be a voice control operation , for example, the user speaks "name J" to select the audio device 203 corresponding to name J for Bluetooth connection. Alternatively, the Bluetooth headset 201 can voice broadcast the names and corresponding numbers of multiple devices that match the preset Bluetooth device information stored in the Bluetooth headset 201, for example, "1, name 1, 2, name 2, ... M, name M, please say the number corresponding to the device you want to connect". At this time, the user's operation on the audio device 203 may be a voice control operation, for example, the user speaks "J" to select the audio device 203 corresponding to the name J for Bluetooth connection. In addition, the Bluetooth headset 201 can also voice broadcast the name of one of the multiple devices that match the preset Bluetooth device information stored in the Bluetooth headset 201 each time, until the user selects the device corresponding to the name J through touch operation or voice control operation. The audio device 203 is connected. For example, the Bluetooth headset 201 broadcasts "Will you connect to name 1?", if the user does not perform any operation or says "No" within a preset time, then the Bluetooth headset 201 continues to broadcast "Will you connect to name 2". If the user clicks a preset button or says "yes", then the Bluetooth headset 201 no longer performs voice broadcast, but connects to the audio device 203 corresponding to the name 2 .
在又一种可能的实现方式中,当音频设备203为与蓝牙耳机201中存储的预设蓝牙设备信息匹配的多个设备中的多个设备时,用户对音频设备203的操作可以是语音控制操作。蓝牙耳机201可以语音播报与蓝牙耳机201中存储的预设蓝牙设备信息匹配的多个设备的名称,例如,“名称1,名称2,……名称M,请说出要连接的设备名称”,此时,用户可以通过说出例如“名称J、名称H”来选择与名称J对应的音频设备203和名称H对应的音频设备203进行蓝牙连接,J、H均为正整数且满足J≠H,1≤J≤M,1≤H≤M。或者,蓝牙耳机201可以语音播报与蓝牙耳机201中存储的预设蓝牙设备信息匹配的多个设备的名称以及对应的编号,例如,“1,名称1,2,名称2,……M,名称M,请说出要连接的设备对应的编号”。此时,用户可以通过说出例如“J、H”来选择与名称J对应的音频设备203和名称H对应的音频设备203进行蓝牙连接。In yet another possible implementation, when the audio device 203 is a plurality of devices matching the preset Bluetooth device information stored in the Bluetooth headset 201, the user's operation on the audio device 203 may be voice control operate. The Bluetooth headset 201 can voice broadcast the names of multiple devices that match the preset Bluetooth device information stored in the Bluetooth headset 201, for example, "name 1, name 2, ... name M, please say the name of the device to be connected", At this time, the user can select the audio device 203 corresponding to the name J and the audio device 203 corresponding to the name H by saying, for example, "name J, name H" for Bluetooth connection, and J and H are both positive integers and satisfy J≠H , 1≤J≤M, 1≤H≤M. Alternatively, the Bluetooth headset 201 can voice broadcast the names and corresponding numbers of multiple devices that match the preset Bluetooth device information stored in the Bluetooth headset 201, for example, "1, name 1, 2, name 2, ... M, name M, please say the number corresponding to the device you want to connect". At this point, the user can select the audio device 203 corresponding to the name J and the audio device 203 corresponding to the name H by saying, for example, "J, H" for Bluetooth connection.
在本申请的一些实施例中,电子设备202,用于与蓝牙耳机201通过蓝牙连接,向蓝牙耳机201发送音频设备203的设备信息。蓝牙耳机201,用于接收并存储电子设备202发送的音频设备203的设备信息。在本申请实施例中,蓝牙耳机201进行状态切换之前,蓝牙耳机201处于从设备状态,电子设备202处于主设备状态。从而电子设备202可以通过蓝牙向蓝牙耳机201发送信息。In some embodiments of the present application, the electronic device 202 is configured to connect with the Bluetooth headset 201 through Bluetooth, and send device information of the audio device 203 to the Bluetooth headset 201 . The Bluetooth headset 201 is configured to receive and store the device information of the audio device 203 sent by the electronic device 202 . In the embodiment of the present application, before the state switching of the Bluetooth headset 201, the Bluetooth headset 201 is in the state of the slave device, and the electronic device 202 is in the state of the master device. Therefore, the electronic device 202 can send information to the Bluetooth headset 201 through Bluetooth.
蓝牙耳机201中存储的预设蓝牙设备信息可以包括蓝牙耳机201连接过的蓝牙设备的设备信息,也可以包括来自电子设备202的蓝牙耳机201未连接过的蓝牙设备的设备信息。The preset Bluetooth device information stored in the Bluetooth headset 201 may include device information of Bluetooth devices connected to the Bluetooth headset 201 , or device information of Bluetooth devices not connected to the Bluetooth headset 201 from the electronic device 202 .
在本申请的一些实施例中,电子设备202,用于响应于用户从电子设备202搜索到的设备中选择音频设备203的操作,向蓝牙耳机201发送音频设备203的设备信息。在本申请实施例中,由于蓝牙耳机201没有屏幕,因此,可以借助有屏的电子设备202来完成设备的搜索,以及从搜索到的设备中选择音频设备203。这种可视化的选择操作有助于提升用户的体验感。In some embodiments of the present application, the electronic device 202 is configured to send device information of the audio device 203 to the Bluetooth headset 201 in response to the user's operation of selecting the audio device 203 from devices searched by the electronic device 202 . In the embodiment of the present application, since the Bluetooth headset 201 has no screen, the electronic device 202 with a screen can be used to complete the device search and select the audio device 203 from the searched devices. This visual selection operation helps to improve the user experience.
示例性地,如图3所示,用户可以在电子设备202上打开控制蓝牙耳机201的应用,电子设备202进入如图3中3A所示的界面。示例性地,该界面可以包括蓝牙耳机201的名称,当前已连接设备的图标及名称,声音有关的触控按键以及智慧畅听有关的触控按键。 其中,图3中的3A示例性地给出了两个已连接设备对应的图标及名称。可以理解,已连接设备的图标及名称包括电子设备202的图标及名称。声音有关的触控按键可以包括启用或停用降噪按键,用于降噪方式选择的按键,启用或停用人声增强功能的按键以及用于音质选择的按键。例如,当前已启用降噪,当前的降噪方式为均衡,当前人声增强功能已启用,当前的音质为超高品质(super quality,SQ)。智慧畅听有关的触控按键包括扩音功能按键和用于播报关注内容的早问候按键。虽未示出,图3中3A所示的界面还可以包括之前连接过但当前未连接设备的图标及名称。其中,之前连接过但当前未连接设备的图标及名称可以位于当前已连接设备的图标及名称右侧,并且可以通过灰度显示之前连接过但当前未连接设备的图标及名称,以与彩色显示的当前已连接设备的图标及名称作区分。Exemplarily, as shown in FIG. 3 , the user may open an application for controlling the Bluetooth headset 201 on the electronic device 202, and the electronic device 202 enters an interface as shown in 3A in FIG. 3 . Exemplarily, the interface may include the name of the Bluetooth headset 201, the icon and name of the currently connected device, touch buttons related to sound, and touch buttons related to Smart Listening. Wherein, 3A in FIG. 3 exemplarily shows icons and names corresponding to two connected devices. It can be understood that the icon and name of the connected device include the icon and name of the electronic device 202 . The sound-related touch buttons may include a button for enabling or disabling noise reduction, a button for selecting a noise reduction method, a button for enabling or disabling a human voice enhancement function, and a button for selecting sound quality. For example, noise reduction is currently enabled, the current noise reduction method is balanced, the current human voice enhancement function is enabled, and the current sound quality is super quality (SQ). The touch buttons related to smart listening include the loudspeaker function button and the morning greeting button for broadcasting the content of interest. Although not shown, the interface shown in 3A in FIG. 3 may also include icons and names of previously connected but currently unconnected devices. Among them, the icons and names of previously connected but currently unconnected devices can be located on the right side of the icons and names of currently connected devices, and the icons and names of previously connected but currently unconnected devices can be displayed in grayscale to match the color display icon and name of the currently connected device.
需要说明的是,图3中的3A仅给出了一种电子设备的界面的示例,实际上电子设备的界面还可以采用其他的布局方式,并且可以包含除扩音外的其他功能。It should be noted that 3A in FIG. 3 only gives an example of an interface of an electronic device. In fact, the interface of an electronic device may adopt other layouts and may include other functions except sound amplification.
示例性地,用户可以点击图3中3A所示的界面上的扩音功能按键,以使得电子设备202进入如图3中3B所示的界面。该界面包括启用或停用蓝牙功能的按键。在蓝牙功能启用的状态下,电子设备202可以显示搜索到的设备的图标,名称以及详情按键,图中的3B示例性地给出了五个搜索到的设备对应的图标,名称以及详情按键。用户可以通过点击例如搜索到的设备1的名称右侧的详情按键,来查看搜索到的设备1的相关信息,例如设备地址。Exemplarily, the user may click the loudspeaker function button on the interface shown in 3A in FIG. 3 , so that the electronic device 202 enters the interface shown in 3B in FIG. 3 . This interface includes buttons to enable or disable the Bluetooth function. When the Bluetooth function is enabled, the electronic device 202 can display icons, names and details buttons of the searched devices, and 3B in the figure exemplarily shows icons, names and details buttons corresponding to five searched devices. The user can view related information of the searched device 1 , such as the device address, by clicking, for example, the details button on the right side of the name of the searched device 1 .
示例性地,用户可以从图3中的3B示出的搜索到的设备中选择一个或多个期望连接的音频设备。之后,电子设备202可以向蓝牙耳机201发送用户在电子设备202选择的一个或多个音频设备的设备信息。Exemplarily, the user may select one or more audio devices to be connected from the searched devices shown in 3B in FIG. 3 . Afterwards, the electronic device 202 may send device information of one or more audio devices selected by the user on the electronic device 202 to the Bluetooth headset 201 .
在本申请的一些实施例中,音频设备203为电子设备202。电子设备202,还用于响应于用户对电子设备202的切换操作,将状态由主设备状态切换为从设备状态。在本申请实施例中,音频设备203与电子设备202可以为同一设备,兼具有屏和声音外放的特性,并且既可以处于主设备状态,也可以处于从设备状态,例如,智能手机或笔记本电脑。蓝牙耳机201进行状态切换之后处于主设备状态,电子设备202可以将状态切换为从设备状态,从而蓝牙耳机201与电子设备202可以建立起蓝牙连接。In some embodiments of the present application, the audio device 203 is the electronic device 202 . The electronic device 202 is further configured to switch the state from the master device state to the slave device state in response to the user's switching operation on the electronic device 202 . In this embodiment of the application, the audio device 203 and the electronic device 202 can be the same device, which has the characteristics of screen and sound output, and can be in the state of the master device or in the state of the slave device, for example, a smart phone or laptop. The bluetooth headset 201 is in the state of the master device after the state switching, and the electronic device 202 can switch the state to the state of the slave device, so that the bluetooth headset 201 and the electronic device 202 can establish a bluetooth connection.
示例性地,用户对电子设备202的切换操作可以为用户在电子设备202上点击状态切换按钮。Exemplarily, the user's switching operation on the electronic device 202 may be that the user clicks a state switching button on the electronic device 202 .
在本申请的一些实施例中,蓝牙耳机201,还用于在与音频设备203建立蓝牙连接之后,检测到用户的音频数据,向音频设备203发送经处理后的音频数据。音频设备203,用于接收来自蓝牙耳机201的经处理后的音频数据。也就是说,在本申请实施例中,蓝牙耳机201与音频设备203建立蓝牙连接之后,就可以对用户的声音实现音量扩大的功能。In some embodiments of the present application, the Bluetooth headset 201 is further configured to detect the user's audio data and send the processed audio data to the audio device 203 after establishing a Bluetooth connection with the audio device 203 . The audio device 203 is configured to receive the processed audio data from the Bluetooth headset 201 . That is to say, in the embodiment of the present application, after the Bluetooth headset 201 establishes a Bluetooth connection with the audio device 203, the function of increasing the volume of the user's voice can be implemented.
结合图2,以音频设备203为蓝牙音箱为例,图4示出了蓝牙耳机201与蓝牙音箱203建立蓝牙连接之后扩大用户讲话音量的流程。其中,蓝牙耳机201中的麦克风用于拾音,可以检测到来自用户的音频数据。蓝牙耳机201中的语音编码器可以用于对用户的音频数据进行压缩和编码,编码方式可采用蓝牙通用的连续可变斜率增量调制(continuously variable slope delta modulation,CVSD)编码或多子带编码(multi sub-band coding,mSBC)。蓝牙耳机201中的蓝牙发射通道可以用于向蓝牙音箱203发送编码后的音频数据。蓝牙音箱203中的蓝牙接收通道可以用于接收蓝牙音箱203发送的音频数据。蓝牙音箱203 中的语音解码模块可以用于对接收到的音频数据进行解码,得到音频码流。蓝牙音箱203中的语音解码模块还可以用于对音频码流进行数模信号转换。蓝牙音箱203中的喇叭可以用于根据转换后的模拟信号实现扩音功能。Referring to FIG. 2 , taking the audio device 203 as a Bluetooth speaker as an example, FIG. 4 shows the process of increasing the user's speech volume after the Bluetooth headset 201 establishes a Bluetooth connection with the Bluetooth speaker 203 . Wherein, the microphone in the bluetooth headset 201 is used for sound pickup, and can detect audio data from the user. The speech coder in the bluetooth earphone 201 can be used for compressing and coding the user's audio data, and the coding method can adopt bluetooth common continuous variable slope delta modulation (continuously variable slope delta modulation, CVSD) coding or multi-subband coding (multi sub-band coding, mSBC). The Bluetooth transmission channel in the Bluetooth headset 201 can be used to send encoded audio data to the Bluetooth speaker 203 . The Bluetooth receiving channel in the Bluetooth speaker 203 can be used to receive the audio data sent by the Bluetooth speaker 203 . The voice decoding module in the bluetooth speaker 203 can be used to decode the received audio data to obtain an audio code stream. The voice decoding module in the bluetooth speaker 203 can also be used to perform digital-to-analog signal conversion on the audio code stream. The speaker in the bluetooth speaker 203 can be used to realize the sound amplification function according to the converted analog signal.
上述主要从各个设备之间交互的角度对本申请实施例提供的系统进行了介绍。相应的,本申请实施例还提供了一种蓝牙耳机,该蓝牙耳机用于实现上述各种功能。可以理解的是,该蓝牙耳机为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the system provided by the embodiment of the present application from the perspective of interaction between various devices. Correspondingly, the embodiment of the present application also provides a bluetooth earphone, which is used to implement the above various functions. It can be understood that, in order to realize the above-mentioned functions, the Bluetooth headset includes corresponding hardware structures and/or software modules for performing various functions. Those skilled in the art should easily realize that the present application can be implemented in the form of hardware or a combination of hardware and computer software in combination with the units and algorithm steps of each example described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Different methods may be used to implement the described functionality for each particular application, but such implementation should not be considered beyond the scope of the present application.
本申请实施例可以根据上述系统实施例对蓝牙耳机进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application can divide the function modules of the Bluetooth headset according to the above system embodiments. For example, each function module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
图5示出了本申请实施提供的蓝牙耳机201的一种结构。该蓝牙耳机201包括切换模块501和蓝牙模块502。可选地,蓝牙耳机201还可以包括存储模块503、匹配模块504、音频模块505。FIG. 5 shows a structure of a Bluetooth headset 201 provided by the implementation of this application. The Bluetooth headset 201 includes a switching module 501 and a Bluetooth module 502 . Optionally, the Bluetooth headset 201 may further include a storage module 503 , a matching module 504 , and an audio module 505 .
切换模块501,用于当蓝牙耳机201处于从设备状态时,响应于用户对蓝牙耳机201的切换操作,将蓝牙耳机201的状态由从设备状态切换为主设备状态。蓝牙模块502,用于当蓝牙耳机201处于主设备状态时,搜索音频设备,与音频设备建立蓝牙连接。The switching module 501 is used for switching the state of the Bluetooth headset 201 from the slave state to the master state in response to the user's switching operation on the Bluetooth headset 201 when the Bluetooth headset 201 is in the slave state. The Bluetooth module 502 is configured to search for audio devices and establish a Bluetooth connection with the audio devices when the Bluetooth headset 201 is in the master device state.
一种可能的实现方式中,存储模块503,用于保存预设蓝牙设备信息。匹配模块504,用于确定音频设备与蓝牙耳机201中存储的预设蓝牙设备信息是否匹配。蓝牙模块502,用于当音频设备与蓝牙耳机201中存储的预设蓝牙设备信息匹配时,与音频设备建立蓝牙连接。In a possible implementation manner, the storage module 503 is configured to store preset Bluetooth device information. The matching module 504 is configured to determine whether the audio device matches the preset Bluetooth device information stored in the Bluetooth headset 201 . The Bluetooth module 502 is configured to establish a Bluetooth connection with the audio device when the audio device matches the preset Bluetooth device information stored in the Bluetooth headset 201 .
一种可能的实现方式中,音频模块505,用于播报音频设备的设备信息。蓝牙模块502,还用于响应于用户对音频设备的操作,与音频设备建立蓝牙连接。In a possible implementation manner, the audio module 505 is configured to broadcast device information of the audio device. The Bluetooth module 502 is further configured to establish a Bluetooth connection with the audio device in response to the user's operation on the audio device.
一种可能的实现方式中,用户对音频设备的操作包括触控操作或语音控制操作。In a possible implementation manner, the user's operation on the audio device includes touch operation or voice control operation.
一种可能的实现方式中,蓝牙耳机201与电子设备蓝牙连接,蓝牙耳机201处于从设备状态,电子设备处于主设备状态。蓝牙模块502,还用于接收电子设备发送的音频设备的设备信息。存储模块503,还用于存储音频设备的设备信息。In a possible implementation manner, the Bluetooth headset 201 is connected to the electronic device via Bluetooth, the Bluetooth headset 201 is in a slave device state, and the electronic device is in a master device state. The bluetooth module 502 is also configured to receive the device information of the audio device sent by the electronic device. The storage module 503 is also used to store device information of the audio device.
一种可能的实现方式中,音频设备为电子设备;电子设备用于响应于用户对电子设备的切换操作,将状态由主设备状态切换为从设备状态。In a possible implementation manner, the audio device is an electronic device, and the electronic device is configured to switch a state from a master device state to a slave device state in response to a user's switching operation on the electronic device.
一种可能的实现方式中,蓝牙模块502,还用于在与音频设备建立蓝牙连接之后,通过音频模块505检测到用户的音频数据,向音频设备发送经处理后的音频数据。In a possible implementation manner, the Bluetooth module 502 is further configured to detect the user's audio data through the audio module 505 after the Bluetooth connection is established with the audio device, and send the processed audio data to the audio device.
一种可能的实现方式中,蓝牙耳机201包括按键,对蓝牙耳机201的切换操作包括触碰蓝牙耳机201的按键N次,长按按键N秒,或向上滑动或者向下滑动按键,其中,N为正整数。In a possible implementation, the Bluetooth headset 201 includes a button, and the switching operation on the Bluetooth headset 201 includes touching the button of the Bluetooth headset 201 N times, pressing and holding the button for N seconds, or sliding the button up or down, wherein, N is a positive integer.
其中,上述系统实施例涉及的相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。Wherein, the relevant content involved in the above-mentioned system embodiments can all refer to the function descriptions of the corresponding functional modules, which will not be repeated here.
需要说明的是,以上模块或单元的一个或多个可以软件、硬件或二者结合来实现。当以上任一模块或单元以软件实现的时候,所述软件以计算机程序指令的方式存在,并被存储在存储器中,处理器可以用于执行所述程序指令并实现以上方法流程。该处理器可以内置于SoC(片上系统)或ASIC,也可是一个独立的半导体芯片。该处理器内处理用于执行软件指令以进行运算或处理的核外,还可进一步包括必要的硬件加速器,如现场可编程门阵列(field programmable gate array,FPGA)、PLD(可编程逻辑器件)、或者实现专用逻辑运算的逻辑电路。It should be noted that one or more of the above modules or units may be implemented by software, hardware or a combination of both. When any of the above modules or units is implemented by software, the software exists in the form of computer program instructions and is stored in the memory, and the processor can be used to execute the program instructions and realize the above method flow. The processor can be built into a SoC (system on a chip) or ASIC, or it can be an independent semiconductor chip. The core of the processor is used to execute software instructions for calculation or processing, and can further include necessary hardware accelerators, such as field programmable gate array (field programmable gate array, FPGA), PLD (programmable logic device) , or a logic circuit that implements a dedicated logic operation.
当以上模块或单元以硬件实现的时候,该硬件可以是CPU、微处理器、数字信号处理(digital signal processing,DSP)芯片、微控制单元(microcontroller unit,MCU)、人工智能处理器、ASIC、SoC、FPGA、PLD、专用数字电路、硬件加速器或非集成的分立器件中的任一个或任一组合,其可以运行必要的软件或不依赖于软件以实现以上实施例中所描述的系统的功能。When the above modules or units are implemented by hardware, the hardware can be CPU, microprocessor, digital signal processing (digital signal processing, DSP) chip, microcontroller unit (microcontroller unit, MCU), artificial intelligence processor, ASIC, Any one or any combination of SoC, FPGA, PLD, dedicated digital circuits, hardware accelerators, or non-integrated discrete devices, which can run necessary software or do not rely on software to realize the functions of the system described in the above embodiments .
图6示出了本申请实施提供的蓝牙耳机201的另一种结构。该蓝牙耳机201可以包括:处理器610、存储器620、传感器630、无线通信模块640、受话器650、麦克风660以及电源670。FIG. 6 shows another structure of the Bluetooth headset 201 provided by the implementation of this application. The Bluetooth headset 201 may include: a processor 610 , a memory 620 , a sensor 630 , a wireless communication module 640 , a receiver 650 , a microphone 660 and a power supply 670 .
其中,存储器620可以用于存储其他蓝牙设备的设备信息。所述其他蓝牙设备的设备信息可以是蓝牙耳机201连接过的蓝牙设备的设备信息,也可以是来自其他设备的蓝牙耳机201未连接过的蓝牙设备的设备信息。上述设备信息可以包括MAC地址。Wherein, the memory 620 may be used to store device information of other Bluetooth devices. The device information of the other bluetooth devices may be the device information of the bluetooth devices connected to the bluetooth earphone 201, or the device information of the bluetooth devices from other devices to which the bluetooth earphone 201 has not been connected. The above device information may include a MAC address.
存储器620还可以用于存储应用程序代码,如用于与音频设备或电子设备建立无线连接,以及使得蓝牙耳机201与上述音频设备或电子设备进行配对连接的应用程序代码。处理器610可以控制执行上述应用程序代码,以实现本申请实施例中蓝牙耳机201的功能。The memory 620 can also be used to store application program codes, such as application program codes for establishing a wireless connection with an audio device or an electronic device, and enabling the Bluetooth headset 201 to perform a pairing connection with the audio device or an electronic device. The processor 610 may control and execute the above application program codes, so as to realize the functions of the Bluetooth headset 201 in the embodiment of the present application.
传感器630可以为距离传感器或接近光传感器。蓝牙耳机201可以通过该传感器630确定是否被用户佩戴。例如,蓝牙耳机201可以利用接近光传感器来检测蓝牙耳机201附近是否有物体,从而确定蓝牙耳机201是否被用户佩戴。在确定蓝牙耳机201被佩戴时,蓝牙耳机201可以打开受话器650和/或麦克风660。在另一些实施例中,蓝牙耳机201还可以包括触摸传感器,用于检测用户的触控操作,包括点击、长按、向上滑动或者向下滑动。在一些实施例中,该蓝牙耳机201还可以包括骨传导传感器,结合成骨传导耳机。利用该骨传导传感器,蓝牙耳机201可以获取声部振动骨块的振动信号,解析出语音信号,实现语音功能。The sensor 630 may be a distance sensor or a proximity light sensor. The Bluetooth headset 201 can determine whether it is worn by the user through the sensor 630 . For example, the Bluetooth headset 201 can use a proximity light sensor to detect whether there is an object near the Bluetooth headset 201, so as to determine whether the Bluetooth headset 201 is worn by the user. When it is determined that the Bluetooth headset 201 is worn, the Bluetooth headset 201 may turn on the receiver 650 and/or the microphone 660 . In some other embodiments, the Bluetooth headset 201 may further include a touch sensor for detecting a user's touch operation, including clicking, long pressing, sliding up or sliding down. In some embodiments, the Bluetooth headset 201 may also include a bone conduction sensor, combined to form a bone conduction headset. Using the bone conduction sensor, the Bluetooth headset 201 can acquire the vibration signal of the vibrating bone of the vocal part, analyze the voice signal, and realize the voice function.
无线通信模块640,用于支持蓝牙耳机201与各种设备,如上述电子设备或音频设备之间的短距离数据交换。在一些实施例中,该无线通信模块640可以为蓝牙收发器。蓝牙耳机201可以通过该蓝牙收发器与上述电子设备或音频设备之间建立无线连接,以实现两者之间的短距离数据交换。The wireless communication module 640 is used to support short-distance data exchange between the Bluetooth headset 201 and various devices, such as the above-mentioned electronic devices or audio devices. In some embodiments, the wireless communication module 640 can be a Bluetooth transceiver. The Bluetooth headset 201 can establish a wireless connection with the above-mentioned electronic device or audio device through the Bluetooth transceiver, so as to realize short-distance data exchange between the two.
至少一个受话器650,也可以称为“听筒”,可以用于将音频电信号转换成声音信号并播放。例如,受话器650可以播报音频设备的设备信息。At least one receiver 650, which may also be referred to as an "earpiece", may be used to convert audio electrical signals into audio signals and play them back. For example, the receiver 650 may announce device information of an audio device.
至少一个麦克风660,也可以称为“话筒”,“传声器”,用于将声音信号转换为音频电信号。例如,蓝牙耳机201在与音频设备建立蓝牙连接之后,在用户讲话的过程中,麦克 风660可以采集用户的声音信号,并将其转换为音频电信号。上述音频电信号即为本申请实施例中的音频数据。At least one microphone 660, which may also be referred to as "microphone" or "microphone", is used to convert sound signals into audio electrical signals. For example, after the Bluetooth headset 201 establishes a Bluetooth connection with the audio device, the microphone 660 can collect the user's voice signal during the user's speech and convert it into an audio electrical signal. The above audio electrical signal is the audio data in the embodiment of the present application.
电源670,可以用于向蓝牙耳机201包含的各个部件供电。在一些实施例中,该电源670可以是电池,如可充电电池。通常,蓝牙耳机201会配有一个耳机盒,用于收纳蓝牙耳机201。另外,该耳机盒还可以为蓝牙耳机201充电。相应的,在一些实施例中,上述蓝牙耳机201还可以包括:输入/输出接口680。输入/输出接口680可以用于提供蓝牙耳机201与耳机盒之间的任何连接。The power supply 670 can be used to supply power to various components contained in the Bluetooth headset 201 . In some embodiments, the power source 670 may be a battery, such as a rechargeable battery. Usually, the Bluetooth headset 201 is equipped with a headset box for storing the Bluetooth headset 201 . In addition, the earphone box can also charge the Bluetooth earphone 201 . Correspondingly, in some embodiments, the Bluetooth headset 201 may further include: an input/output interface 680 . The input/output interface 680 can be used to provide any connection between the Bluetooth headset 201 and the headset box.
在一些实施例中,输入/输出接口680可以为电连接器。当蓝牙耳机201置于耳机盒中时,蓝牙耳机201可以通过该电连接器与耳机盒(如与耳机盒的输入/输出接口)电连接。在该电连接建立后,耳机盒可以为蓝牙耳机201的电源670充电。在该电连接建立后,蓝牙耳机201还可以与耳机盒进行数据通信。例如,蓝牙耳机201可以通过该电连接接收来自耳机盒的配对指令。该配对指令用于指示蓝牙耳机201打开无线通信模块640,从而使得蓝牙耳机201可以采用对应的无线通信协议(如蓝牙)与电子设备进行配对连接。又例如,蓝牙耳机201可以通过该电连接接收来自耳机盒的状态切换指令。该状态切换指令用于指示处理器610将蓝牙耳机201的状态由主设备状态切换为从设备状态。In some embodiments, input/output interface 680 may be an electrical connector. When the bluetooth earphone 201 is placed in the earphone box, the bluetooth earphone 201 can be electrically connected with the earphone box (such as the input/output interface of the earphone box) through the electrical connector. After the electrical connection is established, the headset box can charge the power supply 670 of the Bluetooth headset 201 . After the electrical connection is established, the Bluetooth headset 201 can also perform data communication with the headset box. For example, the Bluetooth headset 201 can receive a pairing instruction from the headset box through the electrical connection. The pairing instruction is used to instruct the Bluetooth headset 201 to turn on the wireless communication module 640, so that the Bluetooth headset 201 can use a corresponding wireless communication protocol (such as Bluetooth) to perform pairing connection with the electronic device. For another example, the Bluetooth headset 201 may receive a state switching instruction from the headset box through the electrical connection. The state switching instruction is used to instruct the processor 610 to switch the state of the Bluetooth headset 201 from the master state to the slave state.
当然,上述蓝牙耳机201还可以不包括输入/输出接口680。在这种情况下,蓝牙耳机201可以基于通过上述无线通信模块640与耳机盒建立的无线连接,实现充电或者数据通信功能。Of course, the Bluetooth headset 201 may not include the input/output interface 680 . In this case, the Bluetooth earphone 201 can realize the function of charging or data communication based on the wireless connection established with the earphone box through the above-mentioned wireless communication module 640 .
另外,在一些实施例中,耳机盒还可以包括处理器,存储器等部件。该存储器可以用于存储应用程序代码,并由耳机盒的处理器来控制执行,以实现耳机盒的功能。例如,当用户打开耳机盒的盒盖时,耳机盒的处理器通过执行存储在存储器中的应用程序代码,可以响应于用户打开盒盖的操作向蓝牙耳机201发送配对指令。又例如,当用户将蓝牙耳机201放入耳机盒时,耳机盒的处理器通过执行存储在存储器中的应用程序代码,可以响应于用户将蓝牙耳机201放入耳机盒的操作向蓝牙耳机201发送状态切换指令。In addition, in some embodiments, the earphone box may further include components such as a processor and a memory. The memory can be used to store application program codes, which are controlled and executed by the processor of the earphone box, so as to realize the functions of the earphone box. For example, when the user opens the cover of the earphone box, the processor of the earphone box may send a pairing instruction to the Bluetooth headset 201 in response to the user's operation of opening the cover by executing the application program code stored in the memory. For another example, when the user puts the Bluetooth headset 201 into the headset box, the processor of the headset box executes the application program code stored in the memory, and can respond to the user's operation of putting the Bluetooth headset 201 into the headset box to send a message to the Bluetooth headset 201. State switching instructions.
可以理解的是,本申请实施例示意的结构并不构成对蓝牙耳机201的具体限定。其可以具有比图6中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。例如,该蓝牙耳机201还可以包括指示灯(可以指示蓝牙耳机201的电量等状态)、防尘网(可以配合听筒使用)等部件。图6中所示出的各种部件可以在包括一个或多个信号处理或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It can be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the Bluetooth headset 201 . It may have more or fewer components than shown in FIG. 6 , may combine two or more components, or may have a different configuration of components. For example, the bluetooth earphone 201 may also include an indicator light (which can indicate the status of the power of the bluetooth earphone 201, etc.), a dust filter (which can be used with the earpiece) and other components. The various components shown in Figure 6 may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing or application specific integrated circuits.
在一个简单的实施例中,本领域的技术人员可以想到该蓝牙耳机201可以采用图5所示的蓝牙耳机201的形式。In a simple embodiment, those skilled in the art can imagine that the Bluetooth headset 201 can take the form of the Bluetooth headset 201 shown in FIG. 5 .
比如,图5中的切换模块501或匹配模块504的功能/实现过程可以通过图6所示的蓝牙耳机201中的处理器610调用存储器620中存储的计算机执行指令来实现。图5中的蓝牙模块502可以通过图6中的无线通信模块640来实现。图5中的存储模块503可以通过图6中的存储器620来实现。图5中的音频模块505可以通过图6中的受话器650和麦克风660来实现。For example, the function/implementation process of the switching module 501 or the matching module 504 in FIG. 5 can be implemented by the processor 610 in the Bluetooth headset 201 shown in FIG. 6 calling the computer-executed instructions stored in the memory 620 . The Bluetooth module 502 in FIG. 5 can be realized by the wireless communication module 640 in FIG. 6 . The storage module 503 in FIG. 5 may be implemented by the memory 620 in FIG. 6 . The audio module 505 in FIG. 5 can be realized by the receiver 650 and the microphone 660 in FIG. 6 .
参考图7,为本申请实施例提供的一种蓝牙耳机201的产品形态示意图。如图7所示,蓝牙耳机201可以包括:左耳机701、右耳机702和耳机盒703。其中,该蓝牙耳机201可以为耳塞式,挂耳式或入耳式耳机等。例如,蓝牙耳机201可以是TWS耳机。该耳机盒 703可以用于收纳左耳机701和/或右耳机702。图7仅以举例方式给出蓝牙耳机201的一种产品形态实例示意图,本中请实施例提供的产品形态包括但不限于图7所示的蓝牙耳机。Referring to FIG. 7 , it is a schematic diagram of a product form of a bluetooth headset 201 provided by an embodiment of the present application. As shown in FIG. 7 , the Bluetooth earphone 201 may include: a left earphone 701 , a right earphone 702 and an earphone box 703 . Wherein, the bluetooth earphone 201 can be an earplug type, an ear-hook type or an earphone or the like. For example, the Bluetooth headset 201 may be a TWS headset. The earphone box 703 can be used to accommodate the left earphone 701 and/or the right earphone 702. FIG. 7 shows a schematic diagram of an example of a product form of the Bluetooth headset 201 by way of example only. The product forms provided in the embodiments of this application include but are not limited to the Bluetooth headset shown in FIG. 7 .
在本申请实施例中,图2中的蓝牙耳机201为图7中的左耳机701或右耳机702。In the embodiment of the present application, the Bluetooth headset 201 in FIG. 2 is the left headset 701 or the right headset 702 in FIG. 7 .
进一步地,以左耳机701为例进行说明。左耳机701包括耳机头7011和耳机柄7012。结合图2所示的音频输出系统20,用于切换操作的按键可以位于耳机头7011或耳机柄7012上,可以由用户自定义。用户的切换操作可以例如触碰耳机头7011N次,长按耳机头7011N秒,触碰耳机柄7012的左侧N次,长按耳机柄7012的左侧N次,在耳机柄7012的左侧向上或向下滑动,双指同时触碰耳机柄7012的前侧和后侧N次,或者双指同时捏握耳机柄7012的前侧和后侧N秒,用户的切换操作还可以为其他手势,本申请实施例对此不作任何限定。Further, the left earphone 701 is taken as an example for description. The left earphone 701 includes an earphone head 7011 and an earphone handle 7012 . In combination with the audio output system 20 shown in FIG. 2 , the buttons for switching operations can be located on the earphone head 7011 or the earphone handle 7012 , and can be customized by the user. The user's switching operation can be, for example, touching the earphone head 7011N times, long pressing the earphone head 7011N seconds, touching the left side of the earphone handle 7012 N times, long pressing the left side of the earphone handle 7012 N times, and pressing the left side of the earphone handle 7012 upwards. Or slide down, touch the front and rear sides of the earphone handle 7012 with two fingers at the same time N times, or pinch and hold the front and rear sides of the earphone handle 7012 with two fingers at the same time for N seconds, the switching operation of the user can also be other gestures, The embodiment of the present application does not make any limitation on this.
结合图2,以电子设备202为手机为例,图8示出了电子设备202的一种硬件结构示意图。如图8所示,电子设备202可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180等。Referring to FIG. 2 , taking the electronic device 202 as a mobile phone as an example, FIG. 8 shows a schematic diagram of a hardware structure of the electronic device 202 . As shown in Figure 8, the electronic device 202 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, an antenna 1, an antenna 2, a mobile communication module 150, a wireless Communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180 and so on.
可以理解的是,本发明实施例示意的结构并不构成对手机的具体限定。在本申请另一些实施例中,手机可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure shown in the embodiment of the present invention does not constitute a specific limitation on the mobile phone. In some other embodiments of the present application, the mobile phone may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the system.
手机的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the mobile phone can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。手机中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in a mobile phone can be used to cover single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在手机上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通 信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied to mobile phones. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like. The mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves and radiate them through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
无线通信模块160可以提供应用在手机上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on mobile phones including wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system ( Global navigation satellite system (GNSS), frequency modulation (frequency modulation, FM), near field communication (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
在一些实施例中,手机的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得手机可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the mobile phone is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the mobile phone can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc. The GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
在一些实施例中,电子设备202处于主设备状态时,无线通信模块160可以用于搜索可用的蓝牙设备,并且向蓝牙耳机发送用户从电子设备202搜索到的蓝牙设备中选择的音频设备的设备信息。In some embodiments, when the electronic device 202 is in the master device state, the wireless communication module 160 can be used to search for available Bluetooth devices, and send the audio device selected by the user from the Bluetooth devices searched by the electronic device 202 to the Bluetooth headset. information.
在一些实施例中,电子设备202与音频设备为同一设备,当电子设备202处于从设备状态时,无线通信模块160可以用于与蓝牙耳机建立蓝牙连接,并且接收来自蓝牙耳机的音频数据。In some embodiments, the electronic device 202 and the audio device are the same device. When the electronic device 202 is in the slave state, the wireless communication module 160 can be used to establish a Bluetooth connection with the Bluetooth headset and receive audio data from the Bluetooth headset.
手机通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The mobile phone realizes the display function through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,手机可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc. In some embodiments, the mobile phone may include 1 or N display screens 194, where N is a positive integer greater than 1.
在一些实施例中,显示屏194可以用于显示如图3中3A或图3中3B所示的界面。In some embodiments, the display screen 194 may be used to display an interface as shown in 3A in FIG. 3 or 3B in FIG. 3 .
手机可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The mobile phone can realize shooting function through ISP, camera 193 , video codec, GPU, display screen 194 and application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used for processing the data fed back by the camera 193 . For example, when taking a picture, open the shutter, the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be located in the camera 193 .
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,手机可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects it to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other image signals. In some embodiments, the mobile phone may include 1 or N cameras 193, where N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当手机在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the mobile phone selects the frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
视频编解码器用于对数字视频压缩或解压缩。手机可以支持一种或多种视频编解码器。这样,手机可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. A mobile phone can support one or more video codecs. In this way, the mobile phone can play or record videos in multiple encoding formats, such as: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行手机的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储手机使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。The internal memory 121 may be used to store computer-executable program codes including instructions. The processor 110 executes various functional applications and data processing of the mobile phone by executing instructions stored in the internal memory 121 . The internal memory 121 may include an area for storing programs and an area for storing data. Wherein, the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like. The storage data area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
手机可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The mobile phone can realize the audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 .
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。手机可以通过扬声器170A收听音乐,或收听免提通话。 Speaker 170A, also referred to as a "horn", is used to convert audio electrical signals into sound signals. The cell phone can listen to music through speaker 170A, or listen to hands-free calls.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当手机接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。 Receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the mobile phone receives a call or a voice message, the receiver 170B can be placed close to the human ear to listen to the voice.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。手机可以设置至少一个麦克风170C。在另一些实施例中,手机可以设置两个麦克风 170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,手机还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C. The mobile phone may be provided with at least one microphone 170C. In some other embodiments, the mobile phone can be equipped with two microphones 170C, which can also implement the noise reduction function in addition to collecting sound signals. In some other embodiments, the mobile phone can also be equipped with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, and realization of directional recording functions, etc.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 170D is used for connecting wired earphones. The earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
在一些实施例中,电子设备202与音频设备为同一设备,当电子设备202处于从设备状态时,音频模块170可以用于处理来自蓝牙耳机的音频数据。结合图4,图4的蓝牙音箱203中语音解码器的功能可以通过图8所示的音频模块170来实现。图4的蓝牙音箱203中喇叭的功能可以通过图8所示的扬声器170A来实现。In some embodiments, the electronic device 202 and the audio device are the same device, and when the electronic device 202 is in a slave state, the audio module 170 can be used to process audio data from the Bluetooth headset. Referring to FIG. 4 , the function of the voice decoder in the Bluetooth speaker 203 in FIG. 4 can be realized by the audio module 170 shown in FIG. 8 . The function of the speaker in the Bluetooth speaker 203 in FIG. 4 can be realized by the speaker 170A shown in FIG. 8 .
传感器模块180中可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等。The sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
当然,手机还可以包括充电管理模块、电源管理模块、电池、按键、指示器以及1个或多个SIM卡接口等,本申请实施例对此不做任何限制。Certainly, the mobile phone may also include a charging management module, a power management module, a battery, buttons, an indicator, and one or more SIM card interfaces, etc., which are not limited in this embodiment of the present application.
图9示出了本申请提供的音频输出方法的一个示例。该示例涉及蓝牙耳机、电子设备和音频设备之间的交互,可以包括如下步骤:Fig. 9 shows an example of the audio output method provided by this application. This example involves the interaction between a Bluetooth headset, an electronic device, and an audio device, and may include the following steps:
S901、响应于用户从电子设备搜索到的设备中选择音频设备的操作,处于主设备状态的电子设备向处于从设备状态的蓝牙耳机发送用户选择的音频设备的地址和名称。相应地,蓝牙耳机接收并存储电子设备发送的地址和名称。S901. In response to the user's operation of selecting an audio device from devices searched by the electronic device, the electronic device in the master device state sends the address and name of the audio device selected by the user to the Bluetooth headset in the slave device state. Correspondingly, the Bluetooth headset receives and stores the address and name sent by the electronic device.
S902、处于从设备状态的蓝牙耳机响应于用户对蓝牙耳机的切换操作,将状态由从设备状态切换为主设备状态。S902, the bluetooth earphone in the state of the slave device switches the state from the state of the slave device to the state of the master device in response to the user's switching operation on the bluetooth earphone.
S903、处于主设备状态的蓝牙耳机搜索音频设备。当搜索到的音频设备与存储的地址和名称匹配时,蓝牙耳机播报音频设备的名称。S903. The bluetooth headset in the master device state searches for an audio device. When the searched audio device matches the stored address and name, the Bluetooth headset announces the name of the audio device.
示例性地,存储的设备信息可以包括步骤S901中存储的地址和名称,也可以包括蓝牙耳机连接过的蓝牙设备的地址和名称。蓝牙耳机可以优先播报与步骤S901中存储的地址和名称匹配的音频设备的名称。若蓝牙耳机搜索不到与步骤S901中存储的地址和名称匹配的音频设备,蓝牙耳机可以播报搜索到且之前连接过的蓝牙设备的名称。Exemplarily, the stored device information may include the address and name stored in step S901, and may also include the address and name of the Bluetooth device to which the Bluetooth headset has been connected. The Bluetooth headset may preferentially broadcast the name of the audio device that matches the address and name stored in step S901. If the Bluetooth headset cannot find an audio device that matches the address and name stored in step S901, the Bluetooth headset may broadcast the name of the Bluetooth device found and connected to before.
S904、响应于用户的确认或选择操作,蓝牙耳机与用户确认或选择的音频设备建立蓝牙连接。S904. In response to the user's confirmation or selection operation, the Bluetooth headset establishes a Bluetooth connection with the audio device confirmed or selected by the user.
S905、当检测到用户的音频数据时,蓝牙耳机向音频设备发送处理后的用户的音频数据。相应地,音频设备接收来自蓝牙耳机的处理后的用户的音频数据。S905. When the user's audio data is detected, the Bluetooth headset sends the processed user's audio data to the audio device. Accordingly, the audio device receives the processed user's audio data from the Bluetooth headset.
图10示出了本申请提供的音频输出方法的另一个示例。在该示例中,由于音频设备与电子设备为同一设备,因此仅涉及蓝牙耳机与电子设备之间的交互。电子设备与蓝牙耳机通过蓝牙连接,电子设备处于主设备状态,蓝牙耳机处于从设备状态。该示例可以包括如下步骤:Fig. 10 shows another example of the audio output method provided by this application. In this example, since the audio device and the electronic device are the same device, only the interaction between the Bluetooth headset and the electronic device is involved. The electronic device and the bluetooth headset are connected through bluetooth, the electronic device is in the state of the master device, and the bluetooth headset is in the state of the slave device. This example could include the following steps:
S1001、处于主设备状态的电子设备向处于从设备状态的蓝牙耳机发送电子设备的地址和名称。相应地,蓝牙耳机接收并存储电子设备发送的地址和名称。S1001. The electronic device in the master state sends the address and name of the electronic device to the Bluetooth headset in the slave state. Correspondingly, the Bluetooth headset receives and stores the address and name sent by the electronic device.
S1002、处于从设备状态的蓝牙耳机响应于用户的对蓝牙耳机的切换操作,将状态由从设备状态切换为主设备状态。S1002, the bluetooth earphone in the state of the slave device switches the state from the state of the slave device to the state of the master device in response to the user's switching operation on the bluetooth earphone.
S1003、处于主设备状态的电子设备响应于用户的对电子设备的切换操作,将状态由主设备状态切换为从设备状态。S1003. The electronic device in the master device state switches the state from the master device state to the slave device state in response to a user's switching operation on the electronic device.
需要说明的是,步骤S1002与步骤S1003的执行顺序可以互换。It should be noted that the execution order of step S1002 and step S1003 can be interchanged.
S1004、处于主设备状态的蓝牙耳机搜索音频设备,当搜索到的音频设备与电子设备的地址和名称匹配时,播报电子设备的名称。S1004. The bluetooth headset in the master device state searches for an audio device, and when the searched audio device matches the address and name of the electronic device, broadcasts the name of the electronic device.
S1005、响应于用户的确认操作,蓝牙耳机与电子设备建立蓝牙连接。S1005. In response to the user's confirmation operation, the Bluetooth headset establishes a Bluetooth connection with the electronic device.
S1006、当检测到用户的音频数据时,蓝牙耳机向音频设备发送处理后的用户的音频数据。相应地,音频设备接收来自蓝牙耳机的处理后的用户的音频数据。S1006. When the user's audio data is detected, the Bluetooth headset sends the processed user's audio data to the audio device. Accordingly, the audio device receives the processed user's audio data from the Bluetooth headset.
图9和图10所示实施例提供的音频输出方法的技术效果参见图4所示的实施例的技术效果描述,在此不再赘述。For the technical effect of the audio output method provided by the embodiment shown in FIG. 9 and FIG. 10 , refer to the description of the technical effect of the embodiment shown in FIG. 4 , which will not be repeated here.
可选的,本申请实施例还提供了一种芯片系统,包括:至少一个处理器和接口,该至少一个处理器通过接口与存储器耦合,当该至少一个处理器执行存储器中的计算机程序或指令时,使得上述图9或图10所示的方法被执行。在一种可能的实现方式中,该芯片系统还包括存储器。可选的,该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件,本申请实施例对此不作具体限定。Optionally, an embodiment of the present application further provides a chip system, including: at least one processor and an interface, the at least one processor is coupled to the memory through the interface, and when the at least one processor executes the computer program or instruction in the memory , so that the above method shown in FIG. 9 or FIG. 10 is executed. In a possible implementation manner, the chip system further includes a memory. Optionally, the system-on-a-chip may consist of a chip, or may include a chip and other discrete devices, which is not specifically limited in this embodiment of the present application.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using a software program, it may 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 the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server, or data center Transmission to another website site, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or may be a data storage device including one or more servers, data centers, etc. that can be integrated with the medium. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (solid state disk, SSD)), etc.
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the present application has been described in conjunction with various embodiments here, however, in the process of implementing the claimed application, those skilled in the art can understand and Other variations of the disclosed embodiments are implemented. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that these measures cannot be combined to advantage.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱 离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Although the application has been described in conjunction with specific features and embodiments thereof, it will be apparent that various modifications and combinations can be made thereto without departing from the spirit and scope of the application. Accordingly, the specification and drawings are merely illustrative of the application as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of this application. Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims (27)

  1. 一种蓝牙耳机,其特征在于,所述蓝牙耳机的状态包括从设备状态和主设备状态,所述蓝牙耳机包括切换模块和蓝牙模块;A bluetooth headset, characterized in that the state of the bluetooth headset includes a slave device state and a master device state, and the bluetooth headset includes a switching module and a bluetooth module;
    所述切换模块,用于当所述蓝牙耳机处于所述从设备状态时,响应于用户对所述蓝牙耳机的切换操作,将所述蓝牙耳机的状态由所述从设备状态切换为所述主设备状态;The switching module is configured to switch the state of the Bluetooth headset from the slave state to the master state in response to a switching operation of the Bluetooth headset by the user when the Bluetooth headset is in the slave state. device status;
    所述蓝牙模块,用于当所述蓝牙耳机处于所述主设备状态时,搜索音频设备,与所述音频设备建立蓝牙连接。The Bluetooth module is configured to search for an audio device and establish a Bluetooth connection with the audio device when the Bluetooth headset is in the master device state.
  2. 根据权利要求1所述的蓝牙耳机,其特征在于,所述蓝牙耳机还包括存储模块和匹配模块;The bluetooth headset according to claim 1, wherein the bluetooth headset further comprises a storage module and a matching module;
    所述存储模块,用于保存预设蓝牙设备信息;The storage module is used to save preset Bluetooth device information;
    所述匹配模块,用于确定所述音频设备与所述蓝牙耳机中存储的所述预设蓝牙设备信息是否匹配;The matching module is configured to determine whether the audio device matches the preset Bluetooth device information stored in the Bluetooth headset;
    所述蓝牙模块,用于当所述音频设备与所述蓝牙耳机中存储的所述预设蓝牙设备信息匹配时,与所述音频设备建立蓝牙连接。The Bluetooth module is configured to establish a Bluetooth connection with the audio device when the audio device matches the preset Bluetooth device information stored in the Bluetooth headset.
  3. 根据权利要求2所述的蓝牙耳机,其特征在于,所述蓝牙耳机还包括音频模块;The bluetooth headset according to claim 2, wherein the bluetooth headset also includes an audio module;
    所述音频模块,用于播报所述音频设备的设备信息;The audio module is configured to broadcast device information of the audio device;
    所述蓝牙模块,还用于响应于所述用户对所述音频设备的操作,与所述音频设备建立蓝牙连接。The Bluetooth module is further configured to establish a Bluetooth connection with the audio device in response to the user's operation on the audio device.
  4. 根据权利要求3所述的蓝牙耳机,其特征在于,所述操作包括触控操作或语音控制操作。The bluetooth headset according to claim 3, wherein the operation includes a touch operation or a voice control operation.
  5. 根据权利要求2-4任一项所述的蓝牙耳机,其特征在于,所述蓝牙耳机与电子设备蓝牙连接,所述蓝牙耳机处于从设备状态,所述电子设备处于主设备状态;The bluetooth earphone according to any one of claims 2-4, wherein the bluetooth earphone is connected to the electronic device via bluetooth, the bluetooth earphone is in the state of the slave device, and the electronic device is in the state of the master device;
    所述蓝牙模块,还用于接收所述电子设备发送的所述音频设备的设备信息;The Bluetooth module is further configured to receive device information of the audio device sent by the electronic device;
    所述存储模块,还用于存储所述音频设备的设备信息。The storage module is further configured to store device information of the audio device.
  6. 根据权利要求5所述的蓝牙耳机,其特征在于,所述音频设备为所述电子设备;所述电子设备用于响应于所述用户对所述电子设备的切换操作,将状态由所述主设备状态切换为所述从设备状态。The Bluetooth headset according to claim 5, wherein the audio device is the electronic device; the electronic device is configured to switch the state from the main The device state switches to the slave device state.
  7. 根据权利要求1-6任一项所述的蓝牙耳机,其特征在于,所述蓝牙模块,还用于在与所述音频设备建立蓝牙连接之后,通过所述音频模块检测到所述用户的音频数据,向所述音频设备发送经处理后的音频数据。The bluetooth headset according to any one of claims 1-6, wherein the bluetooth module is further configured to detect the user's audio through the audio module after establishing a bluetooth connection with the audio device data, sending the processed audio data to the audio device.
  8. 根据权利要求1-7任一项所述的蓝牙耳机,其特征在于,所述蓝牙耳机包括按键,所述用户对所述蓝牙耳机的切换操作包括触碰所述蓝牙耳机的所述按键N次,长按所述按键N秒,或向上滑动或者向下滑动所述按键,其中,N为正整数。The bluetooth headset according to any one of claims 1-7, wherein the bluetooth headset includes buttons, and the user's switching operation on the bluetooth headset includes touching the button N times of the bluetooth headset , press and hold the button for N seconds, or slide the button up or down, where N is a positive integer.
  9. 一种音频输出方法,应用于蓝牙耳机,其特征在于,所述蓝牙耳机的状态包括从设备状态和主设备状态,所述方法包括:An audio output method applied to a bluetooth headset, wherein the state of the bluetooth headset includes a slave state and a master state, and the method includes:
    当所述蓝牙耳机处于所述从设备状态时,响应于用户对所述蓝牙耳机的切换操作,将所述蓝牙耳机的状态由所述从设备状态切换为所述主设备状态;When the Bluetooth headset is in the slave device state, in response to a user switching operation on the Bluetooth headset, switch the state of the Bluetooth headset from the slave device state to the master device state;
    当所述蓝牙耳机处于所述主设备状态时,搜索音频设备,与所述音频设备建立蓝牙连接。When the Bluetooth headset is in the state of the master device, search for an audio device and establish a Bluetooth connection with the audio device.
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method according to claim 9, characterized in that the method further comprises:
    确定所述音频设备与所述蓝牙耳机中存储的预设蓝牙设备信息是否匹配;Determine whether the audio device matches the preset Bluetooth device information stored in the Bluetooth headset;
    当所述音频设备与所述蓝牙耳机中存储的所述预设蓝牙设备信息匹配时,与所述音频设备建立蓝牙连接。When the audio device matches the preset Bluetooth device information stored in the Bluetooth headset, a Bluetooth connection is established with the audio device.
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:The method according to claim 10, characterized in that the method further comprises:
    播报所述音频设备的设备信息;broadcast device information of the audio device;
    响应于所述用户对所述音频设备的操作,与所述音频设备建立蓝牙连接。In response to the user's operation on the audio device, a Bluetooth connection is established with the audio device.
  12. 根据权利要求11所述的方法,其特征在于,所述操作包括触控操作或语音控制操作。The method according to claim 11, wherein the operation comprises a touch operation or a voice control operation.
  13. 根据权利要求10-12任一项所述的方法,其特征在于,所述蓝牙耳机与电子设备蓝牙连接,所述蓝牙耳机处于从设备状态,所述电子设备处于主设备状态;所述方法还包括:The method according to any one of claims 10-12, wherein the Bluetooth headset is connected to the electronic device via Bluetooth, the Bluetooth headset is in a slave device state, and the electronic device is in a master device state; the method also includes include:
    接收并存储所述电子设备发送的所述音频设备的设备信息。receiving and storing the device information of the audio device sent by the electronic device.
  14. 根据权利要求13所述的方法,其特征在于,所述音频设备为所述电子设备;所述电子设备用于响应于所述用户对所述电子设备的切换操作,将状态由所述主设备状态切换为所述从设备状态。The method according to claim 13, wherein the audio device is the electronic device; and the electronic device is configured to switch the state from the main device in response to the user's switching operation on the electronic device state switches to the slave state.
  15. 根据权利要求9-14任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 9-14, wherein the method further comprises:
    在与所述音频设备建立蓝牙连接之后,检测到所述用户的音频数据,向所述音频设备发送经处理后的音频数据。After the Bluetooth connection is established with the audio device, the audio data of the user is detected, and the processed audio data is sent to the audio device.
  16. 根据权利要求9-15任一项所述的方法,其特征在于,所述用户对所述蓝牙耳机的切换操作包括触碰所述蓝牙耳机的按键N次,长按所述按键N秒,或向上滑动或者向下滑动所述按键,其中,N为正整数。The method according to any one of claims 9-15, wherein the switching operation of the user on the Bluetooth headset includes touching the button of the Bluetooth headset N times, pressing the button for N seconds, or Slide the button up or down, wherein, N is a positive integer.
  17. 一种音频输出系统,其特征在于,所述音频输出系统包括蓝牙耳机和电子设备;所述蓝牙耳机的状态包括从设备状态和主设备状态,所述电子设备的状态包括所述从设备状态和所述主设备状态,所述蓝牙耳机与所述电子设备蓝牙连接,所述蓝牙耳机处于所述从设备状态,所述电子设备处于所述主设备状态;An audio output system, characterized in that the audio output system includes a bluetooth headset and an electronic device; the state of the bluetooth headset includes a slave device state and a master device state, and the state of the electronic device includes the slave device state and In the state of the master device, the Bluetooth headset is connected to the electronic device by Bluetooth, the Bluetooth headset is in the state of the slave device, and the electronic device is in the state of the master device;
    所述蓝牙耳机,用于当所述蓝牙耳机处于所述从设备状态时,响应于用户对所述蓝牙耳机的切换操作,将所述蓝牙耳机的状态由所述从设备状态切换为所述主设备状态;The bluetooth earphone is configured to switch the state of the bluetooth earphone from the slave state to the master state in response to a user's switching operation on the bluetooth earphone when the bluetooth earphone is in the state of the slave device device status;
    所述蓝牙耳机,还用于当所述蓝牙耳机处于所述主设备状态时,搜索音频设备,与所述音频设备建立蓝牙连接。The Bluetooth headset is further configured to search for an audio device and establish a Bluetooth connection with the audio device when the Bluetooth headset is in the master device state.
  18. 根据权利要求17所述的系统,其特征在于,所述蓝牙耳机,还用于确定所述音频设备与所述蓝牙耳机中存储的预设蓝牙设备信息是否匹配;当所述音频设备与所述蓝牙耳机中存储的所述预设蓝牙设备信息匹配时,与所述音频设备建立蓝牙连接。The system according to claim 17, wherein the Bluetooth headset is further used to determine whether the audio device matches the preset Bluetooth device information stored in the Bluetooth headset; when the audio device matches the When the preset Bluetooth device information stored in the Bluetooth headset matches, establish a Bluetooth connection with the audio device.
  19. 根据权利要求18所述的系统,其特征在于,The system of claim 18, wherein:
    所述蓝牙耳机,还用于播报所述音频设备的设备信息;The Bluetooth headset is also used to broadcast the device information of the audio device;
    所述蓝牙耳机,还用于响应于所述用户对所述音频设备的操作,与所述音频设备建立蓝牙连接。The Bluetooth headset is further configured to establish a Bluetooth connection with the audio device in response to the user's operation on the audio device.
  20. 根据权利要求19所述的系统,其特征在于,所述操作包括触控操作或语音控制操作。The system according to claim 19, wherein the operation comprises touch operation or voice control operation.
  21. 根据权利要求18-20任一项所述的系统,其特征在于,The system according to any one of claims 18-20, characterized in that,
    所述电子设备,用于与所述蓝牙耳机通过蓝牙连接,向所述蓝牙耳机发送所述音频设备的设备信息;The electronic device is configured to connect with the Bluetooth headset via Bluetooth, and send device information of the audio device to the Bluetooth headset;
    所述蓝牙耳机,用于接收并存储所述电子设备发送的所述音频设备的设备信息。The Bluetooth headset is configured to receive and store the device information of the audio device sent by the electronic device.
  22. 根据权利要求21所述的系统,其特征在于,The system of claim 21 wherein,
    所述电子设备,用于响应于所述用户从所述电子设备搜索到的设备中选择所述音频设备的操作,向所述蓝牙耳机发送所述音频设备的设备信息。The electronic device is configured to send device information of the audio device to the Bluetooth headset in response to the user's operation of selecting the audio device from devices searched by the electronic device.
  23. 根据权利要求21所述的系统,其特征在于,所述音频设备为所述电子设备;The system according to claim 21, wherein the audio device is the electronic device;
    所述电子设备,还用于响应于所述用户对所述电子设备的切换操作,将状态由所述主设备状态切换为所述从设备状态。The electronic device is further configured to switch the state from the master state to the slave state in response to the user's switching operation on the electronic device.
  24. 根据权利要求17-23任一项所述的系统,其特征在于,The system according to any one of claims 17-23, characterized in that,
    所述蓝牙耳机,还用于在与所述音频设备建立蓝牙连接之后,检测到所述用户的音频数据,向所述音频设备发送经处理后的音频数据;The Bluetooth headset is further configured to detect the user's audio data after establishing a Bluetooth connection with the audio device, and send the processed audio data to the audio device;
    所述音频设备,用于接收来自所述蓝牙耳机的经处理后的音频数据。The audio device is configured to receive the processed audio data from the Bluetooth headset.
  25. 根据权利要求17-24任一项所述的系统,其特征在于,所述用户对所述蓝牙耳机的切换操作包括触碰所述蓝牙耳机的按键N次,长按所述按键N秒,或向上滑动或者向下滑动所述按键,其中,N为正整数。The system according to any one of claims 17-24, wherein the user's switching operation on the Bluetooth headset includes touching the button of the Bluetooth headset N times, pressing and holding the button for N seconds, or Slide the button up or down, wherein, N is a positive integer.
  26. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序或指令,当所述计算机程序或指令在计算机上运行时,使得所述计算机执行如权利要求9-16中任一项所述的方法。A computer-readable storage medium, characterized in that computer programs or instructions are stored on the computer-readable storage medium, and when the computer programs or instructions are run on a computer, the computer is made to perform the tasks described in claim 9- The method of any one of 16.
  27. 一种芯片系统,其特征在于,所述芯片系统包括处理电路、存储介质,所述存储介质中存储有计算机程序代码;所述计算机程序代码被所述处理电路执行时实现如权利要求9-16中任一项所述的方法。A chip system, characterized in that the chip system includes a processing circuit and a storage medium, and the storage medium stores computer program code; when the computer program code is executed by the processing circuit, the implementation of claims 9-16 any one of the methods described.
PCT/CN2022/142460 2022-02-28 2022-12-27 Bluetooth earphone, audio output method and audio output system WO2023160214A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210193753.3A CN116709084A (en) 2022-02-28 2022-02-28 Bluetooth headset, audio output method and audio output system
CN202210193753.3 2022-02-28

Publications (1)

Publication Number Publication Date
WO2023160214A1 true WO2023160214A1 (en) 2023-08-31

Family

ID=87764655

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/142460 WO2023160214A1 (en) 2022-02-28 2022-12-27 Bluetooth earphone, audio output method and audio output system

Country Status (2)

Country Link
CN (1) CN116709084A (en)
WO (1) WO2023160214A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080125186A1 (en) * 2006-06-30 2008-05-29 Heng-Hsin Chen Bluetooth earphone capable of switching between multiple connections
CN109151640A (en) * 2018-09-03 2019-01-04 中科探索创新(北京)科技院 A kind of bluetooth infinite expanding earphone
CN110167194A (en) * 2019-05-20 2019-08-23 安徽华米信息科技有限公司 Equipment connection method, device, bluetooth headset and system
CN111988721A (en) * 2020-08-28 2020-11-24 锐捷网络股份有限公司 Sound amplification method, device, system, medium and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080125186A1 (en) * 2006-06-30 2008-05-29 Heng-Hsin Chen Bluetooth earphone capable of switching between multiple connections
CN109151640A (en) * 2018-09-03 2019-01-04 中科探索创新(北京)科技院 A kind of bluetooth infinite expanding earphone
CN110167194A (en) * 2019-05-20 2019-08-23 安徽华米信息科技有限公司 Equipment connection method, device, bluetooth headset and system
CN111988721A (en) * 2020-08-28 2020-11-24 锐捷网络股份有限公司 Sound amplification method, device, system, medium and equipment

Also Published As

Publication number Publication date
CN116709084A (en) 2023-09-05

Similar Documents

Publication Publication Date Title
CN110381345B (en) Screen projection display method and electronic equipment
WO2020249098A1 (en) Bluetooth communication method, tws bluetooth headset, and terminal
CN110519131B (en) Method for controlling equipment and terminal
CN112714214A (en) Content connection method and electronic equipment
WO2022262262A1 (en) Method for sound pick-up by terminal device by means of bluetooth peripheral, and terminal device
CN113330761B (en) Method for occupying equipment and electronic equipment
CN113039822B (en) Method and equipment for establishing data channel
WO2023015940A1 (en) Mobile terminal that prevents sound leakage and sound output method for mobile terminal
CN111010693A (en) Method for providing wireless fidelity WiFi network access service and electronic equipment
WO2023024852A1 (en) Short message notification method and electronic terminal device
WO2022213689A1 (en) Method and device for voice communicaiton between audio devices
CN113993226A (en) Service processing method and device in terminal equipment supporting double cards
WO2023160214A1 (en) Bluetooth earphone, audio output method and audio output system
WO2022042261A1 (en) Screen sharing method, electronic device and system
US20230319217A1 (en) Recording Method and Device
CN115167802A (en) Audio switching playing method and electronic equipment
CN113407076A (en) Method for starting application and electronic equipment
CN113709906A (en) Wireless audio system, wireless communication method and device
CN113950037B (en) Audio playing method and terminal equipment
CN114449492B (en) Data transmission method and terminal equipment
WO2023165513A1 (en) Communication method, electronic device, and apparatus
CN113923528B (en) Screen sharing method, terminal and storage medium
WO2023071730A1 (en) Voiceprint registration method and electronic devices
WO2022183941A1 (en) Message reply method and device
CN116981108A (en) Wireless screen-throwing connection method, mobile terminal and computer readable storage medium

Legal Events

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

Ref document number: 22928454

Country of ref document: EP

Kind code of ref document: A1