WO2022041681A1 - Wireless earpieces, method for controlling wireless earpieces, and storage medium - Google Patents

Wireless earpieces, method for controlling wireless earpieces, and storage medium Download PDF

Info

Publication number
WO2022041681A1
WO2022041681A1 PCT/CN2021/079871 CN2021079871W WO2022041681A1 WO 2022041681 A1 WO2022041681 A1 WO 2022041681A1 CN 2021079871 W CN2021079871 W CN 2021079871W WO 2022041681 A1 WO2022041681 A1 WO 2022041681A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless
communication mode
communication
wireless transceiver
control chip
Prior art date
Application number
PCT/CN2021/079871
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 WO2022041681A1 publication Critical patent/WO2022041681A1/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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • 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
    • 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/1016Earpieces of the intra-aural type
    • 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/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • 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
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Definitions

  • the present application belongs to the field of wireless earphones, and particularly relates to a wireless earphone, a method for controlling a wireless earphone, and a computer-readable storage medium.
  • the wireless transmission standard used by the current wireless headsets is often the Bluetooth transmission standard.
  • the currently used Bluetooth transmission standard is relatively complex, the protocol stack is large, and the compression/decompression of the voice codec is relatively high, which easily leads to a large transmission delay. and so on.
  • the transmission delay of wireless earphones may cause the picture and sound to be out of sync, making the user experience poor and unable to meet the needs of users.
  • the embodiments of the present application provide a wireless earphone, a method for controlling a wireless earphone, and a computer-readable storage medium, which can solve the problem that the current wireless communication method of the wireless earphone cannot meet the usage requirements of users.
  • an embodiment of the present application provides a wireless headset, including:
  • first wireless transceiver configured to perform wireless communication with a first terminal based on a first communication protocol
  • a second wireless transceiver configured to perform wireless communication with a second terminal based on a second communication protocol, where the second communication protocol is different from the first communication protocol.
  • an embodiment of the present application provides a method for controlling a wireless headset, which can be applied to the wireless headset according to the first aspect, and the method includes:
  • the wireless headset When the wireless headset is in the first communication mode based on the first wireless transceiver, if preset trigger information is received, a first notification instruction is generated, and the first notification instruction is used to synchronously notify the wireless headset and For other wireless headsets paired with the wireless headset, set the wireless communication mode to a second communication mode based on the second wireless transceiver;
  • the wireless communication mode of the wireless headset is switched from the first communication mode to the second communication mode.
  • an embodiment of the present application provides a wireless headset, including a memory, a control chip, and a computer program stored in the memory and running on the control chip, the wireless headset further comprising a first wireless transceiver
  • the control chip implements the method according to the second aspect when the control chip executes the computer program.
  • an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a control chip, the method described in the second aspect is implemented.
  • an embodiment of the present application provides a computer program product that, when the computer program product runs on a wireless headset, causes the wireless headset to execute the method described in the second aspect.
  • the wireless headset may include a first wireless transceiver and a second wireless transceiver, wherein the first wireless transceiver is used for Perform wireless communication with the first terminal based on a first communication protocol, and the second wireless transceiver is configured to perform wireless communication with the second terminal based on a second communication protocol.
  • the second communication protocol is different from the first communication protocol. Therefore, , through the wireless headset in the embodiment of the present application, different communication protocols can be used for wireless communication for the first terminal and the second terminal respectively, so as to adapt to the needs of different application scenarios, meet the use needs of users, and improve the use experience of users .
  • FIG. 1 is a schematic diagram of a wireless headset 1, a first terminal 2, and a third terminal 3 provided by an embodiment of the present application;
  • FIG. 2 is a schematic diagram of an information interaction manner between the wireless headset 1 and the first terminal 2 provided by an embodiment of the present application;
  • FIG. 3 is a schematic diagram of an information interaction manner between the wireless headset 1 and the second terminal 3 provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a wireless headset 1 provided by an embodiment of the present application.
  • FIG. 5 is another schematic structural diagram of the wireless earphone 1 provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a method for controlling a wireless headset provided by an embodiment of the present application
  • FIG. 7 is a schematic structural diagram of a wireless earphone 1 provided by an embodiment of the present application.
  • the term “if” may be contextually interpreted as “when” or “once” or “in response to determining” or “in response to detecting “.
  • the phrases “if it is determined” or “if the [described condition or event] is detected” may be interpreted, depending on the context, to mean “once it is determined” or “in response to the determination” or “once the [described condition or event] is detected. ]” or “in response to detection of the [described condition or event]”.
  • references in this specification to "one embodiment” or “some embodiments” and the like mean that a particular feature, structure or characteristic described in connection with the embodiment is included in one or more embodiments of the present application.
  • appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in other embodiments,” etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless specifically emphasized otherwise.
  • the terms “including”, “including”, “having” and their variants mean “including but not limited to” unless specifically emphasized otherwise.
  • FIG. 1 is a schematic diagram of a wireless headset 1 , a first terminal 2 , and a second terminal 3 according to an embodiment of the present application.
  • the wireless headset 1 of this embodiment includes:
  • first wireless transceiver 101 where the first wireless transceiver 101 is configured to perform wireless communication with the first terminal 2 based on a first communication protocol
  • a second wireless transceiver 102 the second wireless transceiver 102 is configured to perform wireless communication with the second terminal 3 based on a second communication protocol, where the second communication protocol is different from the first communication protocol.
  • the types of the wireless earphones 1 may be various, for example, the types of the wireless earphones 1 may be ordinary wireless earphones 1 or true wireless stereo (True Wireless Stereo, TWS) earphones and the like.
  • TWS true Wireless Stereo
  • the specific form of the wireless earphone 1 can be determined according to actual needs.
  • a user may use a pair of paired earphones
  • the paired earphones include a left earphone and a right earphone
  • the wireless earphone 1 in the embodiment of the present application may be the paired earphones That is to say, the wireless earphone 1 can be the left earphone or the right earphone in a pair of paired earphones, and there is another wireless earphone 4 paired with the wireless earphone 1, and the wireless earphone 1 can Information is transmitted through wireless communication with other matching wireless earphones 4 without setting up a wired connection.
  • the functions of other wireless earphones 4 paired with the wireless earphones 1 may be the same as the wireless earphones 1, or may be different.
  • the wireless earphone 1 can be used alone in the form of a left earphone or a right earphone without pairing with other wireless earphones 4 .
  • the specific structure of the wireless earphone 1 can also be determined according to specific scene requirements, which is not limited here.
  • the wireless headset 1 may also include other components.
  • it may include one or more components of a control chip 103, a casing, a headphone button (such as a mechanical button or a touch button), a microphone 108, a speaker 109, an antenna 104, a battery, and the like.
  • the earphone button may have a raised part on the surface of the wireless earphone 1 to facilitate user contact, and the earphone button may have one or more; and components such as the microphone 108, the control chip 103, the speaker 109, the antenna 104 and the battery can be Installed inside the housing.
  • the wireless headset 1 may include a control chip 103, and the control chip 103 may be used to control the wireless headset 1 to perform wireless communication through the first wireless transceiver 101 and/or through the wireless The transceiver 102 communicates wirelessly.
  • the first wireless transceiver 101 may perform one-way or two-way information transmission with the first terminal 2 based on the first communication protocol.
  • the first communication protocol may be a general protocol or a standard communication protocol, for example, may be a Bluetooth transmission protocol or the like.
  • the first terminal 2 may be, for example, a mobile phone, a tablet computer, a desktop computer, a wearable device, and the like.
  • the second wireless transceiver 102 may perform one-way or two-way information transmission with the second terminal 3 based on the second communication protocol.
  • the second communication protocol may be different from the first communication protocol, that is, the channel bandwidth or communication frequency band of the second communication protocol may be different from the first communication protocol.
  • the second communication protocol may be a proprietary communication protocol, and may also be referred to as a custom communication protocol. Different from the standard communication protocol, the protocol specification of the private communication protocol is often a self-defined specification, and the specific content of the second communication protocol can be set by the research and development personnel, so that it can often be more concise than the standard communication protocol.
  • the transmission delay of the wireless transmission performed by the proprietary communication protocol is often very low, so that ultra-low delay wireless transmission can be realized.
  • the second communication protocol may be pre-deployed in the second terminal 3 .
  • the second terminal 3 may be a wireless transmitter 5 or the like.
  • the second terminal 3 may also be electrically connected to the other terminal, and at this time, the other terminal may wirelessly communicate with the wireless headset 1 through the second terminal 3 .
  • the specific information interaction mode between the wireless headset 1 and the first terminal 2 and the second terminal 3 can be based on the type of the wireless headset 1 and the type of the first terminal 2 and the second terminal 3 to make sure.
  • the first communication protocol is a Bluetooth communication protocol
  • the second communication protocol is a proprietary communication protocol
  • the second terminal 3 is a wireless transmitter 5
  • the wireless transmitter 5 is used to communicate with all The first terminal 2 is electrically connected.
  • the channel bandwidth of the private communication protocol may be different from that of the Bluetooth communication protocol, so as to avoid mutual interference between information flows.
  • the communication frequency band of the private communication protocol may be the same as or different from the Bluetooth communication protocol.
  • both the first communication protocol and the Bluetooth communication protocol are in the 2.4 GHz frequency band.
  • the private communication protocol since the private communication protocol does not need to set up a large-scale protocol stack and complex transmission standards, generally speaking, the delay of wireless communication based on the private communication protocol is often small, so that ultra-low delay data transmission can be realized. .
  • the wireless transmitter 5 may be a portable device. At this time, the wireless transmitter 5 can be easily carried by the user, and is used for electrical connection with the first terminal 2 , so that the first terminal 2 can pass between the wireless transmitter 5 and the wireless headset 1 .
  • Wireless communication is performed in a second communication protocol. It can be seen that if the second terminal 3 is the wireless transmitter 5, in the wireless connection mode based on the first communication protocol, the first terminal 2 can communicate with the wireless transmitter through the first wireless transceiver 101 The headset 1 transmits information; and in the wireless connection mode based on the second communication protocol, the first terminal 2 can communicate with the wireless headset 1 through the wireless transmitter 5 and the second wireless transceiver 102 Information transfer.
  • the wireless transceiver when performing operations such as online games and online live broadcasts through the wireless headset 1 and the first terminal 2, the wireless transceiver can be used to realize the communication between the wireless headset 1 and the first terminal 2. Ultra-low latency data transmission, which can improve the user experience.
  • FIG. 2 is a schematic diagram of an information exchange manner between the wireless headset 1 and the first terminal 2 .
  • the first terminal 2 may be a mobile phone.
  • the wireless earphone 1 may have other paired wireless earphones 4, wherein the wireless earphone 1 may be the right earphone, the other wireless earphone 4 may be the left earphone, and the functions of the other wireless earphones 4 may be the same as those of the wireless earphone 4. Headphone 1 is the same.
  • the structure of the other wireless earphones 4 may be symmetrical with the structure of the wireless earphone 1 for the convenience of wearing by the user.
  • the wireless earphone 1 and other wireless earphones 4 can be stored in a storage box when not in use.
  • both the wireless earphone 1 and the other wireless earphones 4 can communicate through the Bluetooth communication protocol (that is, the No. A communication protocol) wirelessly communicates with the mobile phone to transmit audio data, for example, the mobile phone can transmit the audio corresponding to the video to the wireless headset 1 and/or the other wireless headset 4 and receive it through the cellular network during a call audio, etc., while the wireless earphone 1 and/or the other wireless earphones 4 may receive audio from the mobile phone transmitter microphone 108 .
  • the Bluetooth communication protocol that is, the No. A communication protocol
  • FIG. 3 is a schematic diagram of an information exchange manner between the wireless headset 1 and the second terminal 3 .
  • the first terminal 2 may be a mobile phone.
  • the wireless earphone 1 may have other paired wireless earphones 4, wherein the wireless earphone 1 may be the right earphone, the other wireless earphone 4 may be the left earphone, and the functions of the other wireless earphones 4 may be the same as those of the wireless earphone 4. Headphone 1 is the same.
  • the second terminal 3 may be a wireless transmitter 5 .
  • the wireless transmitter 5 may be a portable wireless transmitter 5, which is convenient for users to carry, and is used for electrical connection with the first terminal 2, so that the first terminal 2 can communicate with all devices through the wireless transmitter 5. Wireless communication is performed between the wireless earphones 1 .
  • the wireless transmitter 5 can be connected to the first terminal 2 through a preset interface (such as a Universal Serial Bus (Universal Serial Bus, USB) interface, etc.), so as to acquire audio signals from the mobile phone.
  • a preset interface such as a Universal Serial Bus (Universal Serial Bus, USB) interface, etc.
  • the wireless transmitter 5 can perform signal transmission with the wireless headset 1 through a proprietary communication protocol, thereby reducing the information transmission delay between the first terminal 2 and the wireless headset 1 .
  • the wireless headset 1 includes a control chip 103 , the first wireless transceiver 101 is located in the control chip 103 of the wireless headset 1 , and the second wireless transceiver 102 is located in the control chip 103 In addition, or alternatively, the first wireless transceiver 101 and the second wireless transceiver 102 are located in the control chip 103 of the wireless headset 1 .
  • the specific structure and function of the control chip 103 may be various.
  • the control chip 103 can be used as a Bluetooth chip.
  • the first wireless transceiver 101 is located in the control chip 103, so the Control modules such as the host controller 107 in the control chip 103 control the information transmission of the first wireless transceiver 101 .
  • control chip 103 may include a low dropout linear voltage regulator 106 , a battery management unit 109 , an analog-to-digital signal converter 110 , a digital-to-analog signal converter 111 , a microphone input interface 112 , and a host controller 107 , at least one of the Bluetooth MAC protocol controller 113 .
  • the second wireless transceiver 102 may be located outside the control chip 103 to reduce interference between different controls of the first wireless transceiver 101 and the second wireless transceiver 102 and improve control efficiency.
  • the second wireless transceiver 102 can also be located in the control chip 103 of the wireless headset 1 together with the first wireless transceiver 101, so as to improve the compactness of the structure of the wireless headset 1, reduce hardware costs, and reduce wireless The volume of earphone 1.
  • the specific setting manner of the structure of the second wireless transceiver 102 can be flexibly set according to actual needs, which is not limited here.
  • the second wireless transceiver 102 is an integrated chip.
  • the second wireless transceiver 102 may include a slave controller 114 (such as a serial peripheral interface (Serial Peripheral Interface, SPI) slave controller 1141 and/or an integrated circuit built-in audio bus (Inter- At least one of IC Sound, I2S) slave controller 1142), wireless transceiver controller 115, audio digital compression/decompression unit 116 and microcontroller unit 117 (Microcontroller Unit, MCU).
  • SPI Serial Peripheral Interface
  • I2S integrated circuit built-in audio bus
  • MCU microcontroller Unit
  • a toggle switch 105 and an antenna 104 are included;
  • the switch 105 is used for electrical connection with the antenna 104 and the control chip 103;
  • the switch 105 is further configured to be electrically connected to the second wireless transceiver 102 and the first wireless transceiver 101 respectively, so as to control the antenna 104 to transmit and receive with the second wireless transceiver according to the control chip 103 .
  • the device 102 is electrically connected to or controls the antenna 104 to be electrically connected to the first wireless transceiver 101 .
  • the type of the switch 105 may be determined according to requirements.
  • the switch 105 may be a radio frequency switch (RF Switch).
  • RF Switch radio frequency switch
  • the antenna 104 can be controlled to be electrically connected to the second wireless transceiver 102 or the antenna 104 can be controlled to be electrically connected to the first wireless transceiver 101 .
  • the switch 105 can control the connection state and disconnection state of the first wireless transceiver 101 and the second wireless transceiver 102 and the antenna 104 through control strategies such as time division multiplexing, thereby The wireless communication mode used by the wireless earphone 1 for wireless communication is conveniently controlled.
  • first wireless transceiver 101 and the second wireless transceiver 102 can share one antenna 104 , thereby improving the compactness of the structure of the wireless earphone 1 , reducing hardware cost and reducing the volume of the wireless earphone 1 .
  • control chip 103 includes a low dropout linear regulator 106, and the low dropout linear regulator 106 is used to output a DC voltage to the second wireless transceiver 102.
  • the low-dropout linear regulator 106 may output one or at least two sets of DC voltages to the second wireless transceiver 102 , as the voltage of the second wireless transceiver 102 Working power source.
  • the control chip 103 can not only control the working power of the first wireless transceiver 101 located in the control chip 103 , but also control the operation of the second wireless transceiver 102 located outside the control chip 103 Therefore, the hardware cost and circuit area can be reduced, so that the wireless earphone 1 does not increase excessive power consumption and hardware volume while implementing at least two wireless communication modes.
  • control chip 103 further includes a battery management unit 109, and the battery management unit 109 can be electrically connected to the battery of the wireless earphone 1 to implement charging and discharging control of the battery.
  • control chip 103 includes a host controller 107 for electrically connecting with the slave controller 114 of the second wireless transceiver 102 for transmitting audio data and/or control data.
  • the host controller 107 may include an SPI host controller 1071 and/or an I2S host controller 1072 .
  • the SPI master controller 1071 in the control chip 103 may be used for electrical connection with the SPI slave controller 1141 of the second wireless transceiver 102 for transmitting audio data and/or control data.
  • the I2S host controller 1072 in the control chip 103 may be used for electrical connection with the I2S slave controller 1142 of the second wireless transceiver 102 for transmitting audio data.
  • the storage space of the control chip 103 includes a sub-storage space, and the sub-storage space is used to store program information and/or configuration information of the second wireless transceiver 102 .
  • the storage space of the control chip 103 may have various types.
  • the storage space may be a read-only memory (ROM, Read-Only Memory) or a random access memory (RAM, Random Access Memory) or the like.
  • the program information may include program codes, control data, and the like of the second wireless transceiver 102
  • the configuration information may include information about configuration parameters of the second wireless transceiver 102 , and the like.
  • the second wireless transceiver 102 may not need to provide additional storage space, but use the sub-storage space in the control chip 103 to store the program information and/or configuration of the second wireless transceiver 102 Therefore, the hardware cost and circuit area can be reduced, so that the wireless earphone 1 does not increase excessive power consumption and hardware volume while implementing at least two wireless communication modes.
  • the wireless headset 1 further includes a microphone 108, and the microphone 108 is electrically connected to the control chip 103;
  • the control chip 103 is further configured to send an audio data stream to the first wireless transceiver 101 or the second wireless transceiver 102 according to a time division multiplexing control strategy, and the audio data stream is based on the microphone 108 The data stream obtained from the acquired audio signal.
  • the type and quantity of the microphones 108 may be set in various manners.
  • the microphone 108 may include a digital microphone 1081 and/or an analog microphone 1082.
  • the microphone input interface 112 may include a digital microphone input interface 1121 and/or an analog microphone input interface 1122 .
  • the digital microphone 1081 may be electrically connected to the digital microphone input interface 1121 of the control chip 103 .
  • the digital audio signal collected by the digital microphone 1081 can be converted into an I2S audio data stream by the control chip 103, and then according to the time division multiplexing control strategy, the I2S audio data stream is sent to the first wireless transceiver 101 or the The second wireless transceiver 102, so that the first wireless transceiver 101 transmits the I2S audio data stream to the first terminal 2, or the second wireless transceiver 102 transmits the I2S audio data stream to the second wireless transceiver 102.
  • the analog microphone 1082 can be electrically connected to the analog microphone input interface 1122 of the control chip 103 .
  • the analog audio signal collected by the analog microphone 1082 can be converted into a digital audio signal by the analog-to-digital signal converter 110, and then converted into an I2S audio data stream by the control chip 103, and then according to the time division multiplexing control strategy, the I2S audio
  • the data stream is sent to the first wireless transceiver 101 or the second wireless transceiver 102 .
  • FIG. 4 is a schematic diagram of a specific structure of the wireless earphone 1 .
  • the wireless headset 1 may include an antenna 104 , a switch 105 , a control chip 103 and a second wireless transceiver 102 .
  • the first communication protocol may be a Bluetooth communication protocol.
  • control chip 103 may include a first wireless transceiver 101 , a low dropout linear regulator 106 , a battery management unit 109 , a digital-to-analog signal converter 111 , a digital microphone input interface 1121 , and an SPI host controller 1071 , I2S host controller 1072 , Bluetooth MAC protocol controller 113 and speaker 109 .
  • Each component unit in the control chip 103 can transmit information through the bus 118 .
  • the second wireless transceiver 102 may include an SPI slave controller 1141 , an I2S slave controller 1142 , a wireless transceiver controller 115 and an audio digital compression/decompression unit 116 .
  • control chip 103 may further include an analog microphone 1082 and an analog-to-digital signal converter 110 .
  • the analog microphone 1082 can be electrically connected to the analog microphone input interface 1122 of the control chip 103 .
  • the analog audio signal collected by the analog microphone 1082 can be converted into a digital audio signal by the analog-to-digital signal converter 110, and then converted into an I2S audio data stream by the control chip 103, and then according to the time division multiplexing control strategy, the I2S audio
  • the data stream is sent to the first wireless transceiver 101 or the second wireless transceiver 102 .
  • FIG. 5 is a schematic diagram of another specific structure of the wireless earphone 1 .
  • control chip 103 may include a digital microphone 108 .
  • the digital microphone 1081 can be electrically connected to the digital microphone input interface 1121 of the control chip 103 .
  • the digital audio signal collected by the digital microphone 1081 can be converted into an I2S audio data stream by the control chip 103, and then according to the time division multiplexing control strategy, the I2S audio data stream is sent to the first wireless transceiver 101 or the The second wireless transceiver 102 .
  • the wireless headset 1 may include a first wireless transceiver 101 and a second wireless transceiver 102, wherein the first wireless transceiver 101 is configured to communicate with the first terminal 2 based on a first communication protocol Wireless communication, the second wireless transceiver 102 is configured to perform wireless communication with the second terminal 3 based on a second communication protocol, and the second communication protocol is different from the first communication protocol.
  • the wireless headset 1 can use different communication protocols for wireless communication according to the situation of the first terminal 2 and the second terminal 3 respectively, so as to adapt to the needs of different application scenarios, meet the user's use requirements, and improve the user's use experience.
  • FIG. 6 shows a structural block diagram of a method for controlling a wireless earphone provided by an embodiment of the present application. For convenience of description, only the part related to the embodiment of the present application is shown. .
  • the method for controlling a wireless headset in this embodiment of the present application may be applied to the wireless headset 1 in any of the foregoing embodiments.
  • the method for controlling a wireless headset includes:
  • Step S601 when the wireless headset 1 is in the first communication mode based on the first wireless transceiver 101, if preset trigger information is received, a first notification instruction is generated, and the first notification instruction is used for synchronous notification
  • the wireless headset 1 and other wireless headsets 4 paired with the wireless headset 1 set the wireless communication mode to a second communication mode based on the second wireless transceiver 102;
  • Step S602 according to the first notification instruction, switch the wireless communication mode of the wireless headset 1 from the first communication mode to the second communication mode.
  • the first communication mode is a wireless communication mode based on the first wireless transceiver 101. Therefore, in the first communication mode, the first communication mode is based on the first wireless transceiver 101. Communication protocol for wireless transmission.
  • the preset trigger information may be generated based on a preset trigger operation.
  • the preset trigger operation may be a specific operation performed by the user on a specific key on the wireless headset 1 (such as a double-click operation, a triple-click operation, or a long press for several seconds, etc.).
  • the preset trigger information may also be generated based on preset voice instructions, gesture instructions, or the like.
  • the specific generating manner of the preset trigger information is not limited herein.
  • the first notification instruction is used to synchronously notify the wireless earphone 1 and other wireless earphones 4 paired with the wireless earphone 1 to set the wireless communication mode to the second communication mode based on the second wireless transceiver 102 .
  • the first notification instruction may be an instruction, and is simultaneously sent to the designated control unit in the control chip 103 of the wireless earphone 1 and the other wireless earphones 4 .
  • the first notification instruction may also include two instructions to be sent to the designated control unit in the control chip 103 of the wireless headset 1 and the other wireless headsets 4 respectively, and the two instructions are sent at the same timing , so as to realize synchronous notification to the wireless earphone 1 and other wireless earphones 4 paired with the wireless earphone 1 .
  • the first communication mode may be the default wireless communication mode of the wireless headset 1 .
  • the wireless earphone 1 can work in the first communication mode by default, and can search for other paired wireless earphones 4 through the first communication mode.
  • the wireless earphone 1 and the other wireless earphones 4 may have a main earphone and a sub earphone, and the wireless earphone 1 in the embodiment of the present application may be the main earphone or the sub earphone.
  • a first notification instruction may be generated, and the first notification instruction may be generated through the first notification
  • the instruction synchronously informs the wireless earphone 1 and other wireless earphones 4 paired with the wireless earphone 1 to set the wireless communication mode to the second communication mode based on the second wireless transceiver 102;
  • the first notification instruction switches the wireless communication mode from the first communication mode to the second communication mode, thereby ensuring that the wireless earphone 1 and other paired wireless earphones 4 can switch to the second communication mode at the same time.
  • the method further includes:
  • a second notification instruction is generated, and the second notification instruction is used to synchronously notify the wireless headset 1 and the other wireless headsets 4 to send
  • the wireless communication mode is set to the first communication mode
  • the wireless communication mode of the wireless headset 1 is switched from the second communication mode to the first communication mode.
  • the wireless earphone 1 and the other wireless earphones 4 when the wireless earphone 1 and the other wireless earphones 4 are already in the second communication mode, the wireless earphone 1 and the other wireless earphones 4 can simultaneously receive data such as wireless Signals such as the audio signal and the heartbeat packet signal sent by the transmitter 5.
  • a second notification instruction may be generated.
  • the second terminal 3 may be the other wireless headset 4.
  • the other wireless headset 4 may fail to successfully switch to the second communication mode according to the first notification instruction, or There is no need for information transmission at present. It can be seen that the wireless headset 1 currently has no information transmission requirements based on the second communication mode.
  • the second notification instruction can be generated to refer to the wireless headset 1 and the other wireless The headset 4 switches to the first communication mode synchronously.
  • the second terminal 3 may also be other terminals other than the other wireless earphones 4 , for example, may be a wireless transmitter 5 and the like. If the second terminal 3 is the wireless transmitter 5, if the wireless headset 1 does not receive the audio signal and the heartbeat packet signal sent by the wireless transmitter 5 within a preset time period, it can be considered that There is currently no information transmission requirement based on the second communication mode, so that the second notification instruction can be generated.
  • the wireless headset 1 can Two notification instructions, to switch the wireless communication mode of the wireless headset 1 from the second communication mode to the first communication mode, so as to ensure that the wireless headset 1 and other paired wireless headsets 4 can be timely and simultaneously Switch to the first communication mode to uniformly set the wireless communication modes of all paired earphones to the first communication mode.
  • the first wireless transceiver 101 and the second wireless transceiver 102 have the same MAC address, and the MAC address is used for wireless communication based on the first communication mode and based on the wireless communication in the second communication mode.
  • the first wireless transceiver 101 and the second wireless transceiver 102 may have the same MAC address (Media Access Control Address).
  • the wireless headset 1 may pass the same MAC address.
  • the protocol controller realizes wireless communication, which brings convenience to mass production and reduces the time for programming the MAC, thereby reducing the hardware cost and the volume of the wireless earphone 1 .
  • the third terminal forms an electrical connection with the wireless headset through contact contact, and when the wireless headset is in the first communication mode based on the first wireless transceiver, if the preset trigger information is received, the third terminal is generated.
  • a notification instruction where the first notification instruction is used to synchronously notify the wireless headset and other wireless headsets paired with the wireless headset, before setting the wireless communication mode to the second communication mode based on the second wireless transceiver, the method further includes:
  • the wireless headset is controlled to enter the ultra-low-latency working mode based on the control command.
  • the third terminal may be a wireless earphone storage box, and the wireless earphone storage box includes a switch circuit.
  • the wireless earphone storage box is electrically connected to the button, and the specified button action is detected to control the
  • the switching circuit of the storage box is used to switch between the charging state and the communication state.
  • the charging circuit of the storage box establishes an electrical connection with the power input pin of the control chip inside the wireless earphone, that is, the charging circuit of the storage box.
  • the wireless headset can be charged.
  • the communication circuit of the storage box establishes an electrical connection with the communication pin of the control chip inside the wireless headset. At this time, the wireless headset and the wireless storage box process the communication state.
  • the wireless earphone storage box sends the command to enter the ultra-low-latency working mode to the wireless earphones (including the left ear wireless earphone and/or the right earphone through the electrical connection).
  • the wireless headset after receiving this command, the wireless headset enters the ultra-low latency working mode to improve the efficiency of data transmission during the communication process.
  • the third terminal is used to quickly switch between the charging mode and the communication mode, thereby reducing the hardware cost.
  • the wireless headset is controlled to automatically switch to the ultra-low-latency electrical connection state At the same time, it can ensure the efficiency of data transmission in the communication process and improve the communication quality.
  • the method further includes:
  • voice compression and decompression are performed on the signal by means of adaptive differential pulse code modulation.
  • this embodiment adopts a private protocol transmission to transmit audio data.
  • a private protocol of this embodiment an adaptive differential pulse code modulation algorithm is used,
  • the audio data is compressed and transmitted, and after the transmission is completed, it is decompressed and played, so as to improve the efficiency of the audio data in the transmission process.
  • Adaptive Differential Pulse Code Modulation is a kind of predictive coding, which is improved on the basis of PCM.
  • the difference signal is encoded. Its core idea is: 1Use the idea of self-adaptation to change the size of the quantization step, that is, use a small quantization step (step-size) to encode a small difference, use a large quantization step to encode a large difference, 2Use Past sample values estimate the predicted value of the next input sample so that the difference between the actual sample value and the predicted value is always the smallest.
  • the size of the quantization interval used in ADPCM can also be automatically adapted according to the statistical result of the difference signal, so as to achieve the best quantization and minimize the distortion caused by the quantization.
  • the audio compression algorithm ADPCM with lower complexity is used for voice compression and decompression, and the compression and decompression time is relatively short, thereby reducing the transmission delay, which is beneficial to improve the efficiency of audio data transmission, thereby improving the communication quality.
  • the embodiment of the present application provides an apparatus for controlling a wireless earphone. For the convenience of description, only the part related to the embodiment of the present application is described.
  • the device for controlling wireless earphones includes:
  • the first generation module is used to generate a first notification instruction when the wireless headset 1 is in the first communication mode based on the first wireless transceiver 101 and if preset trigger information is received, the first notification instruction For synchronously informing the wireless headset 1 and other wireless headsets 4 paired with the wireless headset 1, the wireless communication mode is set to a second communication mode based on the second wireless transceiver 102;
  • a first switching module configured to switch the wireless communication mode of the wireless headset 1 from the first communication mode to the second communication mode according to the first notification instruction.
  • the device for controlling the wireless headset further includes:
  • the second generation module is configured to generate a second notification instruction if the signal sent by the second terminal 3 is not received within a preset time period, and the second notification instruction is used to synchronously notify the wireless headset 1 and the For the other wireless earphones 4, the wireless communication mode is set to the first communication mode;
  • a second switching module configured to switch the wireless communication mode of the wireless headset 1 from the second communication mode to the first communication mode according to the second notification instruction.
  • the first wireless transceiver 101 and the second wireless transceiver 102 have the same MAC address, and the MAC address is used for wireless communication based on the first communication mode and based on the first communication mode. Wireless communication in two communication modes.
  • FIG. 7 is a schematic structural diagram of a wireless earphone 1 according to an embodiment of the present application.
  • the wireless earphone 1 of this embodiment includes: a first wireless transceiver 101 , a second wireless transceiver 102 , a control chip 103 , a memory 71 , and at least one control chip stored in the above-mentioned memory 71 and available in the above-mentioned at least one control chip
  • the computer program 72 running on 103 when the control chip 103 executes the computer program 72, implements the steps in any of the foregoing method embodiments for controlling a wireless headset.
  • the above-mentioned memory 71 may be an internal storage unit of the above-mentioned wireless earphone 1 in some embodiments, such as a hard disk or a memory of the wireless earphone 1 .
  • the above-mentioned memory 71 may also be an external storage device of the above-mentioned wireless earphone 1 in other embodiments, such as a plug-in hard disk equipped on the above-mentioned wireless earphone 1, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital) , SD) card, flash memory card (Flash Card), etc.
  • the above-mentioned memory 71 may also include both the internal storage unit of the above-mentioned wireless earphone 1 and an external storage device.
  • the above-mentioned memory 71 is used to store an operating system, an application program, a boot loader (Boot Loader), data, and other programs, such as program codes of the above-mentioned computer programs, and the like.
  • the above-mentioned memory 71 can also be used to temporarily store data that has been output or is to be output.
  • the above-mentioned wireless earphone 1 may also include a network connection module, such as a Bluetooth module, a Wi-Fi module, a cellular network module, and the like, which will not be repeated here.
  • a network connection module such as a Bluetooth module, a Wi-Fi module, a cellular network module, and the like, which will not be repeated here.
  • the wireless headset 1 when the above-mentioned control chip 103 executes the above-mentioned computer program 72 to implement the steps in any of the above-mentioned method embodiments, when the wireless headset 1 is in the first communication mode based on the first wireless transceiver 101, If preset trigger information is received, a first notification instruction can be generated, and the wireless earphone 1 and other wireless earphones 4 paired with the wireless earphone 1 can be synchronously notified through the first notification instruction, and the wireless communication mode is set to Based on the second communication mode of the second wireless transceiver 102; then, the wireless headset 1 can switch the wireless communication mode from the first communication mode to the second communication mode according to the first notification instruction, thereby It is ensured that the wireless headset 1 and other paired wireless headsets 4 can switch to the second communication mode at the same time.
  • Embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by the control chip 103, the steps in the foregoing method embodiments can be implemented.
  • the embodiments of the present application provide a computer program product, when the computer program product runs on the wireless earphone 1, the wireless earphone 1 can implement the steps in the above method embodiments when the wireless earphone 1 is executed.
  • the above-mentioned integrated units are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on this understanding, the present application realizes all or part of the processes in the methods of the above-mentioned embodiments, which can be completed by instructing the relevant hardware through a computer program.
  • the above-mentioned computer program can be stored in a computer-readable storage medium, and the computer program is in When executed by the control chip 103, the steps of each of the foregoing method embodiments can be implemented.
  • the above-mentioned computer program includes computer program code, and the above-mentioned computer program code may be in the form of source code, object code form, executable file or some intermediate form.
  • the above-mentioned computer-readable medium may include at least: any entity or device capable of carrying computer program codes to the photographing device/wireless headset 1, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media.
  • ROM read-only memory
  • RAM random access memory
  • electrical carrier signals telecommunication signals
  • software distribution media For example, U disk, mobile hard disk, disk or CD, etc.
  • computer readable media may not be electrical carrier signals and telecommunications signals.
  • the disclosed apparatus/network device and method may be implemented in other manners.
  • the apparatus/network device embodiments described above are only illustrative.
  • the division of the above modules or units is only a logical function division.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

Abstract

The present application provides wireless earpieces, comprising: a first wireless transceiver, the first wireless transceiver being used for performing wireless communication with a first terminal on the basis of a first communication protocol; and a second wireless transceiver, the second wireless transceiver being used for performing wireless communication with a second terminal on the basis of a second communication protocol. The second communication protocol is different from the first communication protocol. By means of the foregoing wireless earpieces, the present application solves the problem that the modes of performing wireless communication by the current wireless earpieces cannot meet the use requirement of a user.

Description

无线耳机、控制无线耳机的方法及存储介质Wireless earphone, method for controlling wireless earphone, and storage medium
本申请要求于2020年8月27日提交中国专利局、申请号为202010880411.X,发明名称为“无线耳机、控制无线耳机的方法及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on August 27, 2020 with the application number 202010880411.X and the invention titled "Wireless Headset, Method for Controlling Wireless Headset and Storage Medium", the entire content of which is approved by Reference is incorporated in this application.
技术领域technical field
本申请属于无线耳机领域,尤其涉及无线耳机、控制无线耳机的方法及计算机可读存储介质。The present application belongs to the field of wireless earphones, and particularly relates to a wireless earphone, a method for controlling a wireless earphone, and a computer-readable storage medium.
背景技术Background technique
目前的无线耳机所采用的无线传输标准往往都是蓝牙传输标准,然而目前所采用的蓝牙传输标准较为复杂,协议栈规模大,语音编解码的压缩/解压缩比较高,容易导致传输延迟较大等情况。例如,在诸如电子游戏等应用场景中,由于无线耳机的传输延迟可能会导致画面与声音不同步的情况,使得用户体验较差,无法满足用户的使用需求。The wireless transmission standard used by the current wireless headsets is often the Bluetooth transmission standard. However, the currently used Bluetooth transmission standard is relatively complex, the protocol stack is large, and the compression/decompression of the voice codec is relatively high, which easily leads to a large transmission delay. and so on. For example, in application scenarios such as video games, the transmission delay of wireless earphones may cause the picture and sound to be out of sync, making the user experience poor and unable to meet the needs of users.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了无线耳机、控制无线耳机的方法及计算机可读存储介质,可以解决目前的无线耳机进行无线通信的方式无法满足用户的使用需求的问题。The embodiments of the present application provide a wireless earphone, a method for controlling a wireless earphone, and a computer-readable storage medium, which can solve the problem that the current wireless communication method of the wireless earphone cannot meet the usage requirements of users.
第一方面,本申请实施例提供了一种无线耳机,包括:In a first aspect, an embodiment of the present application provides a wireless headset, including:
第一无线收发器,所述第一无线收发器用于基于第一通信协议与第一终端进行无线通信;a first wireless transceiver, where the first wireless transceiver is configured to perform wireless communication with a first terminal based on a first communication protocol;
第二无线收发器,所述第二无线收发器用于基于第二通信协议与第二终端进行无线通信,所述第二通信协议与所述第一通信协议不同。A second wireless transceiver configured to perform wireless communication with a second terminal based on a second communication protocol, where the second communication protocol is different from the first communication protocol.
第二方面,本申请实施例提供了一种控制无线耳机的方法,可以应用于如第一方面所述的无线耳机,所述方法包括:In a second aspect, an embodiment of the present application provides a method for controlling a wireless headset, which can be applied to the wireless headset according to the first aspect, and the method includes:
当所述无线耳机处于基于第一无线收发器的第一通信模式下时,若接收到预设触发信息,则生成第一通知指令,所述第一通知指令用于同步通知所述无线耳机以及与所述无线耳机相配对的其他无线耳机,将无线通信模式设置为基于第二无线收发器的第二通信模式;When the wireless headset is in the first communication mode based on the first wireless transceiver, if preset trigger information is received, a first notification instruction is generated, and the first notification instruction is used to synchronously notify the wireless headset and For other wireless headsets paired with the wireless headset, set the wireless communication mode to a second communication mode based on the second wireless transceiver;
根据所述第一通知指令,将所述无线耳机的无线通信模式由所述第一通信模式切换为所述第二通信模式。According to the first notification instruction, the wireless communication mode of the wireless headset is switched from the first communication mode to the second communication mode.
第三方面,本申请实施例提供了一种无线耳机,包括存储器、控制芯片以及存储在所述存储器中并可在所述控制芯片上运行的计算机程序,所述无线耳 机还包括第一无线收发器和第二无线收发器,所述控制芯片执行所述计算机程序时实现如第二方面所述的方法。In a third aspect, an embodiment of the present application provides a wireless headset, including a memory, a control chip, and a computer program stored in the memory and running on the control chip, the wireless headset further comprising a first wireless transceiver The control chip implements the method according to the second aspect when the control chip executes the computer program.
第四方面,本申请实施例提供了一种计算机可读存储介质,上述计算机可读存储介质存储有计算机程序,上述计算机程序被控制芯片执行时实现如第二方面所述的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a control chip, the method described in the second aspect is implemented.
第五方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在无线耳机上运行时,使得无线耳机执行如第二方面所述的方法。In a fifth aspect, an embodiment of the present application provides a computer program product that, when the computer program product runs on a wireless headset, causes the wireless headset to execute the method described in the second aspect.
本申请实施例与现有技术相比存在的有益效果是:本申请实施例中,所述无线耳机可以包括第一无线收发器和第二无线收发器,其中,所述第一无线收发器用于基于第一通信协议与第一终端进行无线通信,所述第二无线收发器用于基于第二通信协议与第二终端进行无线通信,所述第二通信协议与所述第一通信协议不同,因此,通过本申请实施例中的无线耳机,可以分别针对第一终端和第二终端,采用不同的通信协议进行无线通信,以适应不同应用场景的需要,满足用户的使用需求,提升用户的使用体验。Compared with the prior art, the embodiments of the present application have the following beneficial effects: in the embodiments of the present application, the wireless headset may include a first wireless transceiver and a second wireless transceiver, wherein the first wireless transceiver is used for Perform wireless communication with the first terminal based on a first communication protocol, and the second wireless transceiver is configured to perform wireless communication with the second terminal based on a second communication protocol. The second communication protocol is different from the first communication protocol. Therefore, , through the wireless headset in the embodiment of the present application, different communication protocols can be used for wireless communication for the first terminal and the second terminal respectively, so as to adapt to the needs of different application scenarios, meet the use needs of users, and improve the use experience of users .
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present application. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1是本申请一实施例提供的无线耳机1、第一终端2和第三终端3的一种示意图;FIG. 1 is a schematic diagram of a wireless headset 1, a first terminal 2, and a third terminal 3 provided by an embodiment of the present application;
图2是本申请一实施例提供的无线耳机1与第一终端2之间的一种信息交互方式示意图;FIG. 2 is a schematic diagram of an information interaction manner between the wireless headset 1 and the first terminal 2 provided by an embodiment of the present application;
图3是本申请一实施例提供的无线耳机1与第二终端3之间的一种信息交互方式示意图。FIG. 3 is a schematic diagram of an information interaction manner between the wireless headset 1 and the second terminal 3 provided by an embodiment of the present application.
图4是本申请一实施例提供的无线耳机1的一种结构示意图;FIG. 4 is a schematic structural diagram of a wireless headset 1 provided by an embodiment of the present application;
图5是本申请一实施例提供的无线耳机1的再一种结构示意图;FIG. 5 is another schematic structural diagram of the wireless earphone 1 provided by an embodiment of the present application;
图6是本申请一实施例提供的一种控制无线耳机的方法的流程示意图;6 is a schematic flowchart of a method for controlling a wireless headset provided by an embodiment of the present application;
图7是本申请一实施例提供的无线耳机1的一种结构示意图。FIG. 7 is a schematic structural diagram of a wireless earphone 1 provided by an embodiment of the present application.
具体实施方式detailed description
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as a specific system structure and technology are set forth in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个 或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It is to be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described feature, integer, step, operation, element and/or component, but does not exclude one or more other The presence or addition of features, integers, steps, operations, elements, components and/or sets thereof.
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It will also be understood that, as used in this specification and the appended claims, the term "and/or" refers to and including any and all possible combinations of one or more of the associated listed items.
如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in the specification of this application and the appended claims, the term "if" may be contextually interpreted as "when" or "once" or "in response to determining" or "in response to detecting ". Similarly, the phrases "if it is determined" or "if the [described condition or event] is detected" may be interpreted, depending on the context, to mean "once it is determined" or "in response to the determination" or "once the [described condition or event] is detected. ]" or "in response to detection of the [described condition or event]".
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。References in this specification to "one embodiment" or "some embodiments" and the like mean that a particular feature, structure or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless specifically emphasized otherwise. The terms "including", "including", "having" and their variants mean "including but not limited to" unless specifically emphasized otherwise.
实施例一Example 1
图1为本申请一实施例提供的无线耳机1、第一终端2和第二终端3的示意图。如图1所示,该实施例的无线耳机1包括:FIG. 1 is a schematic diagram of a wireless headset 1 , a first terminal 2 , and a second terminal 3 according to an embodiment of the present application. As shown in FIG. 1 , the wireless headset 1 of this embodiment includes:
第一无线收发器101,所述第一无线收发器101用于基于第一通信协议与第一终端2进行无线通信;a first wireless transceiver 101, where the first wireless transceiver 101 is configured to perform wireless communication with the first terminal 2 based on a first communication protocol;
第二无线收发器102,所述第二无线收发器102用于基于第二通信协议与第二终端3进行无线通信,所述第二通信协议与所述第一通信协议不同。A second wireless transceiver 102, the second wireless transceiver 102 is configured to perform wireless communication with the second terminal 3 based on a second communication protocol, where the second communication protocol is different from the first communication protocol.
其中,所述无线耳机1的类型可以有多种,例如,所述无线耳机1的类型可以是普通无线耳机1或者真正无线立体声(True Wireless Stereo,TWS)耳机等等。Wherein, the types of the wireless earphones 1 may be various, for example, the types of the wireless earphones 1 may be ordinary wireless earphones 1 or true wireless stereo (True Wireless Stereo, TWS) earphones and the like.
所述无线耳机1的具体形式可以根据实际需要来确定。The specific form of the wireless earphone 1 can be determined according to actual needs.
例如,在日常使用中,用户可能会使用一对配对的耳机,该配对的耳机中包括一个左耳机和一个右耳机,而本申请实施例中的所述无线耳机1可以为该配对的耳机中的一个,也即是说,所述无线耳机1可以为一对配对的耳机中的左耳机或者右耳机,并且存在一个与所述无线耳机1配对的其他无线耳机4,所述无线耳机1可以与相匹配的其他无线耳机4通过无线通信进行信息传输,而无需设置有线连接。其中,与所述无线耳机1配对的其他无线耳机4的功能可以与所述无线耳机1相同,也可以存在不同。For example, in daily use, a user may use a pair of paired earphones, the paired earphones include a left earphone and a right earphone, and the wireless earphone 1 in the embodiment of the present application may be the paired earphones That is to say, the wireless earphone 1 can be the left earphone or the right earphone in a pair of paired earphones, and there is another wireless earphone 4 paired with the wireless earphone 1, and the wireless earphone 1 can Information is transmitted through wireless communication with other matching wireless earphones 4 without setting up a wired connection. The functions of other wireless earphones 4 paired with the wireless earphones 1 may be the same as the wireless earphones 1, or may be different.
当然,在一些情况下,所述无线耳机1可以以一个左耳机或者右耳机的形式单独使用,而无需与其他无线耳机4配对。Of course, in some cases, the wireless earphone 1 can be used alone in the form of a left earphone or a right earphone without pairing with other wireless earphones 4 .
此外,所述无线耳机1的具体结构也可以根据具体场景需求来确定,在此不做限制。In addition, the specific structure of the wireless earphone 1 can also be determined according to specific scene requirements, which is not limited here.
例如,除所述第一无线收发器101和所述第二无线收发器102之外,所述无线耳机1中还可以包括其他部件。例如,可以包括控制芯片103、壳体、耳机按键(如机械按键或触摸按键)、麦克风108、扬声器109、天线104以及电池等等中的一个或多个部件。耳机按键可以在所述无线耳机1的表面存在凸起部分,以便于用户接触,并且该耳机按键可以有一个或多个;而麦克风108、控制芯片103、扬声器109、天线104以及电池等部件可以安装于壳体内部。在一些实施例中,所述无线耳机1可以包括控制芯片103,所述控制芯片103可以用于控制所述无线耳机1通过所述第一无线收发器101进行无线通信和/或通过所述无线收发器102进行无线通信。For example, in addition to the first wireless transceiver 101 and the second wireless transceiver 102, the wireless headset 1 may also include other components. For example, it may include one or more components of a control chip 103, a casing, a headphone button (such as a mechanical button or a touch button), a microphone 108, a speaker 109, an antenna 104, a battery, and the like. The earphone button may have a raised part on the surface of the wireless earphone 1 to facilitate user contact, and the earphone button may have one or more; and components such as the microphone 108, the control chip 103, the speaker 109, the antenna 104 and the battery can be Installed inside the housing. In some embodiments, the wireless headset 1 may include a control chip 103, and the control chip 103 may be used to control the wireless headset 1 to perform wireless communication through the first wireless transceiver 101 and/or through the wireless The transceiver 102 communicates wirelessly.
所述第一无线收发器101可以基于所述第一通信协议与所述第一终端2之间进行单向或者双向的信息传输。其中,所述第一通信协议可以为通用协议,也可以认为是标准通信协议,例如,可以为蓝牙传输协议等。示例性的,所述第一终端2可以为诸如手机、平板电脑、台式电脑、可穿戴设备等。The first wireless transceiver 101 may perform one-way or two-way information transmission with the first terminal 2 based on the first communication protocol. The first communication protocol may be a general protocol or a standard communication protocol, for example, may be a Bluetooth transmission protocol or the like. Exemplarily, the first terminal 2 may be, for example, a mobile phone, a tablet computer, a desktop computer, a wearable device, and the like.
所述第二无线收发器102可以基于所述第二通信协议与所述第二终端3之间进行单向或者双向的信息传输。其中,所述第二通信协议可以与所述第一通信协议不同,也即是说,所述第二通信协议的信道带宽或者通信频段等可以与所述第一通信协议不同。在一些示例中,所述第二通信协议可以为私有通信协议,也可以称为自定义通信协议。区别于标准通信协议,所述私有通信协议的协议规范往往为自定义的规范,所述第二通信协议的具体内容可以由研发人员进行设置,从而往往可以相较于标准通信协议更简洁,通过该私有通信协议进行无线传输的传输延迟也往往很低,从而可以实现超低延迟的无线传输。若所述第二通信协议为私有通信协议,则所述第二终端3中,可以预先部署有所述第二通信协议。示例性的,所述第二终端3可以为无线发射器5等。在一些示例中,所述第二终端3还可以与所述其他终端电连接,此时,该其他终端可以通过所述第二终端3,与所述无线耳机1进行无线通信。The second wireless transceiver 102 may perform one-way or two-way information transmission with the second terminal 3 based on the second communication protocol. The second communication protocol may be different from the first communication protocol, that is, the channel bandwidth or communication frequency band of the second communication protocol may be different from the first communication protocol. In some examples, the second communication protocol may be a proprietary communication protocol, and may also be referred to as a custom communication protocol. Different from the standard communication protocol, the protocol specification of the private communication protocol is often a self-defined specification, and the specific content of the second communication protocol can be set by the research and development personnel, so that it can often be more concise than the standard communication protocol. The transmission delay of the wireless transmission performed by the proprietary communication protocol is often very low, so that ultra-low delay wireless transmission can be realized. If the second communication protocol is a proprietary communication protocol, the second communication protocol may be pre-deployed in the second terminal 3 . Exemplarily, the second terminal 3 may be a wireless transmitter 5 or the like. In some examples, the second terminal 3 may also be electrically connected to the other terminal, and at this time, the other terminal may wirelessly communicate with the wireless headset 1 through the second terminal 3 .
所述无线耳机1与所述第一终端2以及所述第二终端3的具体信息交互方式可以根据所述无线耳机1的类型,以及所述第一终端2和所述第二终端3的类型来确定。The specific information interaction mode between the wireless headset 1 and the first terminal 2 and the second terminal 3 can be based on the type of the wireless headset 1 and the type of the first terminal 2 and the second terminal 3 to make sure.
在一些实施例中,所述第一通信协议为蓝牙通信协议,所述第二通信协议为私有通信协议,所述第二终端3为无线发射器5,所述无线发射器5用于与所述第一终端2电连接。In some embodiments, the first communication protocol is a Bluetooth communication protocol, the second communication protocol is a proprietary communication protocol, the second terminal 3 is a wireless transmitter 5, and the wireless transmitter 5 is used to communicate with all The first terminal 2 is electrically connected.
本申请实施例中,所述私有通信协议的信道带宽可以与所述蓝牙通信协议不同,以避免信息流之间的相互干扰。所述私有通信协议的通信频段可以与所述蓝牙通信协议相同,也可以不同。在一些示例中,所述第一通信协议和所述蓝牙通信协议均在2.4GHz频段。In the embodiment of the present application, the channel bandwidth of the private communication protocol may be different from that of the Bluetooth communication protocol, so as to avoid mutual interference between information flows. The communication frequency band of the private communication protocol may be the same as or different from the Bluetooth communication protocol. In some examples, both the first communication protocol and the Bluetooth communication protocol are in the 2.4 GHz frequency band.
其中,由于私有通信协议无需设置较大规模的协议栈以及复杂的传输标准,因此,一般来说,基于所述私有通信协议进行无线通信的延迟往往较小,从而可以实现超低延迟的数据传输。Among them, since the private communication protocol does not need to set up a large-scale protocol stack and complex transmission standards, generally speaking, the delay of wireless communication based on the private communication protocol is often small, so that ultra-low delay data transmission can be realized. .
在一些示例中,所述无线发射器5可以为便携式的设备。此时,所述无线 发射器5可以便于用户携带,并用于与所述第一终端2电连接,从而使得所述第一终端2能够通过所述无线发射器5与所述无线耳机1之间以第二通信协议进行无线通信。可见,若所述第二终端3为所述无线发射器5,则在基于第一通信协议的无线连接模式下,所述第一终端2可以通过所述第一无线收发器101与所述无线耳机1进行信息传输;而在基于第二通信协议的无线连接模式下,所述第一终端2可以通过所述无线发射器5以及所述第二无线收发器102,与所述无线耳机1进行信息传输。此时,在诸如通过无线耳机1和第一终端2执行线上游戏、进行线上直播等操作时,可以通过所述无线收发器实现所述无线耳机1与所述第一终端2之间的超低延迟的数据传输,从而可以提升用户的使用体验。In some examples, the wireless transmitter 5 may be a portable device. At this time, the wireless transmitter 5 can be easily carried by the user, and is used for electrical connection with the first terminal 2 , so that the first terminal 2 can pass between the wireless transmitter 5 and the wireless headset 1 . Wireless communication is performed in a second communication protocol. It can be seen that if the second terminal 3 is the wireless transmitter 5, in the wireless connection mode based on the first communication protocol, the first terminal 2 can communicate with the wireless transmitter through the first wireless transceiver 101 The headset 1 transmits information; and in the wireless connection mode based on the second communication protocol, the first terminal 2 can communicate with the wireless headset 1 through the wireless transmitter 5 and the second wireless transceiver 102 Information transfer. At this time, when performing operations such as online games and online live broadcasts through the wireless headset 1 and the first terminal 2, the wireless transceiver can be used to realize the communication between the wireless headset 1 and the first terminal 2. Ultra-low latency data transmission, which can improve the user experience.
下面以具体示例示意性说明本申请实施例的一种具体实现。A specific implementation of the embodiments of the present application is schematically described below with specific examples.
图2为所述无线耳机1与第一终端2之间的一种信息交互方式示意图。FIG. 2 is a schematic diagram of an information exchange manner between the wireless headset 1 and the first terminal 2 .
如图2所示,在一种示例中,所述第一终端2可以是手机。所述无线耳机1可以存在配对的其他无线耳机4,其中,所述无线耳机1可以为右耳机,所述其他无线耳机4可以为左耳机,所述其他无线耳机4的功能可以与所述无线耳机1相同。其中,为了用户佩戴方便,所述其他无线耳机4中的结构可以与所述无线耳机1的结构相对称。As shown in FIG. 2 , in an example, the first terminal 2 may be a mobile phone. The wireless earphone 1 may have other paired wireless earphones 4, wherein the wireless earphone 1 may be the right earphone, the other wireless earphone 4 may be the left earphone, and the functions of the other wireless earphones 4 may be the same as those of the wireless earphone 4. Headphone 1 is the same. The structure of the other wireless earphones 4 may be symmetrical with the structure of the wireless earphone 1 for the convenience of wearing by the user.
该无线耳机1和其他无线耳机4在未使用时,可以存放在收纳盒中。The wireless earphone 1 and other wireless earphones 4 can be stored in a storage box when not in use.
在从收纳盒取出所述无线耳机1和与所述无线耳机1配对的其他无线耳机4之后,所述无线耳机1和所述其他无线耳机4均能通过蓝牙通信协议(即本示例中的第一通信协议)与手机进行无线通信,以传输音频数据,例如,所述手机可以向所述无线耳机1和/或所述其他无线耳机4传输视频所对应的音频以及通话时通过蜂窝网络接收到的音频等,而所述无线耳机1和/或所述其他无线耳机4可以向所述手机传输器麦克风108接收到的音频。After taking out the wireless earphone 1 and the other wireless earphones 4 paired with the wireless earphone 1 from the storage box, both the wireless earphone 1 and the other wireless earphones 4 can communicate through the Bluetooth communication protocol (that is, the No. A communication protocol) wirelessly communicates with the mobile phone to transmit audio data, for example, the mobile phone can transmit the audio corresponding to the video to the wireless headset 1 and/or the other wireless headset 4 and receive it through the cellular network during a call audio, etc., while the wireless earphone 1 and/or the other wireless earphones 4 may receive audio from the mobile phone transmitter microphone 108 .
图3为所述无线耳机1与第二终端3之间的一种信息交互方式示意图。FIG. 3 is a schematic diagram of an information exchange manner between the wireless headset 1 and the second terminal 3 .
如图3所示,在一种示例中,所述第一终端2可以是手机。所述无线耳机1可以存在配对的其他无线耳机4,其中,所述无线耳机1可以为右耳机,所述其他无线耳机4可以为左耳机,所述其他无线耳机4的功能可以与所述无线耳机1相同。As shown in FIG. 3 , in an example, the first terminal 2 may be a mobile phone. The wireless earphone 1 may have other paired wireless earphones 4, wherein the wireless earphone 1 may be the right earphone, the other wireless earphone 4 may be the left earphone, and the functions of the other wireless earphones 4 may be the same as those of the wireless earphone 4. Headphone 1 is the same.
所述第二终端3可以为无线发射器5。所述无线发射器5可以为便携式的无线发射器5,以便于用户携带,并用于与所述第一终端2电连接,从而使得所述第一终端2能够通过所述无线发射器5与所述无线耳机1之间进行无线通信。The second terminal 3 may be a wireless transmitter 5 . The wireless transmitter 5 may be a portable wireless transmitter 5, which is convenient for users to carry, and is used for electrical connection with the first terminal 2, so that the first terminal 2 can communicate with all devices through the wireless transmitter 5. Wireless communication is performed between the wireless earphones 1 .
示例性的,所述无线发射器5可以通过预设接口(如通用串行总线(Universal Serial Bus,USB)接口等)与所述第一终端2连接,从而从所述手机获取音频信号。并且,所述无线发射器5可以通过私有通信协议与所述无线耳机1进行信号传输,从而降低所述第一终端2与所述无线耳机1之间信息传输延迟。Exemplarily, the wireless transmitter 5 can be connected to the first terminal 2 through a preset interface (such as a Universal Serial Bus (Universal Serial Bus, USB) interface, etc.), so as to acquire audio signals from the mobile phone. In addition, the wireless transmitter 5 can perform signal transmission with the wireless headset 1 through a proprietary communication protocol, thereby reducing the information transmission delay between the first terminal 2 and the wireless headset 1 .
在一些实施例中,所述无线耳机1包括控制芯片103,所述第一无线收发 器101位于所述无线耳机1的控制芯片103中,所述第二无线收发器102位于所述控制芯片103之外,或者,所述第一无线收发器101与所述第二无线收发器102位于所述无线耳机1的控制芯片103中。In some embodiments, the wireless headset 1 includes a control chip 103 , the first wireless transceiver 101 is located in the control chip 103 of the wireless headset 1 , and the second wireless transceiver 102 is located in the control chip 103 In addition, or alternatively, the first wireless transceiver 101 and the second wireless transceiver 102 are located in the control chip 103 of the wireless headset 1 .
本申请实施例中,所述控制芯片103的具体结构和功能可以有多种。例如,若所述第一通信协议为蓝牙通信协议,则可以将所述控制芯片103作为蓝牙芯片,此时,所述第一无线收发器101位于所述控制芯片103中,因此可以通过所述控制芯片103中的主机控制器107等控制模块控制所述第一无线收发器101的信息传输。示例性的,所述控制芯片103中可以包括低压差线性稳压器106、电池管理单元109、模拟到数字信号转换器110、数字到模拟信号转换器111、麦克风输入接口112、主机控制器107、蓝牙MAC协议控制器113中的至少一种。In the embodiment of the present application, the specific structure and function of the control chip 103 may be various. For example, if the first communication protocol is a Bluetooth communication protocol, the control chip 103 can be used as a Bluetooth chip. At this time, the first wireless transceiver 101 is located in the control chip 103, so the Control modules such as the host controller 107 in the control chip 103 control the information transmission of the first wireless transceiver 101 . Exemplarily, the control chip 103 may include a low dropout linear voltage regulator 106 , a battery management unit 109 , an analog-to-digital signal converter 110 , a digital-to-analog signal converter 111 , a microphone input interface 112 , and a host controller 107 , at least one of the Bluetooth MAC protocol controller 113 .
所述第二无线收发器102可以位于所述控制芯片103之外,以减少所述第一无线收发器101和所述第二无线收发器102的不同控制之间的干扰,提升控制效率。所述第二无线收发器102还可以与第一无线收发器101与共同位于所述无线耳机1的控制芯片103中,以提升了无线耳机1的结构的紧凑性,降低硬件成本,减小无线耳机1的体积。第二无线收发器102结构的具体设置方式,可根据实际需求进行灵活设定,此处不作限制。The second wireless transceiver 102 may be located outside the control chip 103 to reduce interference between different controls of the first wireless transceiver 101 and the second wireless transceiver 102 and improve control efficiency. The second wireless transceiver 102 can also be located in the control chip 103 of the wireless headset 1 together with the first wireless transceiver 101, so as to improve the compactness of the structure of the wireless headset 1, reduce hardware costs, and reduce wireless The volume of earphone 1. The specific setting manner of the structure of the second wireless transceiver 102 can be flexibly set according to actual needs, which is not limited here.
在一些实施例中,所述第二无线收发器102为一个集成芯片。示例性的,所述第二无线收发器102中可以包括从机控制器114(如串行外设接口(Serial Peripheral Interface,SPI)从机控制器1141和/或集成电路内置音频总线(Inter—IC Sound,I2S)从机控制器1142)、无线收发控制器115、音频数字压缩/解压缩单元116以及微控制单元117(Microcontroller Unit,MCU)中的至少一种。In some embodiments, the second wireless transceiver 102 is an integrated chip. Exemplarily, the second wireless transceiver 102 may include a slave controller 114 (such as a serial peripheral interface (Serial Peripheral Interface, SPI) slave controller 1141 and/or an integrated circuit built-in audio bus (Inter- At least one of IC Sound, I2S) slave controller 1142), wireless transceiver controller 115, audio digital compression/decompression unit 116 and microcontroller unit 117 (Microcontroller Unit, MCU).
在一些实施例中,包括切换开关105和天线104;In some embodiments, a toggle switch 105 and an antenna 104 are included;
所述切换开关105用于与所述天线104以及所述控制芯片103电连接;The switch 105 is used for electrical connection with the antenna 104 and the control chip 103;
所述切换开关105还用于分别与所述第二无线收发器102和所述第一无线收发器101电连接,以根据所述控制芯片103,控制所述天线104与所述第二无线收发器102电连接或者控制所述天线104与所述第一无线收发器101电连接。The switch 105 is further configured to be electrically connected to the second wireless transceiver 102 and the first wireless transceiver 101 respectively, so as to control the antenna 104 to transmit and receive with the second wireless transceiver according to the control chip 103 . The device 102 is electrically connected to or controls the antenna 104 to be electrically connected to the first wireless transceiver 101 .
本申请实施例中,所述切换开关105的类型可以为根据需求确定。在一些示例中,所述切换开关105可以为射频切换开关(RF Switch)。通过所述切换开关105,可以控制所述天线104与所述第二无线收发器102电连接或者控制所述天线104与所述第一无线收发器101电连接。此时,所述切换开关105可以通过分时复用等控制策略,控制所述第一无线收发器101以及所述第二无线收发器102与所述天线104的连接状态以及断开状态,从而便捷地控制所述无线耳机1进行无线通信时所采用的无线通信方式。并且,所述第一无线收发器101和所述第二无线收发器102可以共用一个天线104,从而提升了无线耳机1的结构的紧凑性,可以降低硬件成本,减小无线耳机1的体积。In this embodiment of the present application, the type of the switch 105 may be determined according to requirements. In some examples, the switch 105 may be a radio frequency switch (RF Switch). Through the switch 105 , the antenna 104 can be controlled to be electrically connected to the second wireless transceiver 102 or the antenna 104 can be controlled to be electrically connected to the first wireless transceiver 101 . At this time, the switch 105 can control the connection state and disconnection state of the first wireless transceiver 101 and the second wireless transceiver 102 and the antenna 104 through control strategies such as time division multiplexing, thereby The wireless communication mode used by the wireless earphone 1 for wireless communication is conveniently controlled. In addition, the first wireless transceiver 101 and the second wireless transceiver 102 can share one antenna 104 , thereby improving the compactness of the structure of the wireless earphone 1 , reducing hardware cost and reducing the volume of the wireless earphone 1 .
在一些实施例中,所述控制芯片103中包括低压差线性稳压器106,所述 低压差线性稳压器106用于向所述第二无线收发器102输出直流电压。In some embodiments, the control chip 103 includes a low dropout linear regulator 106, and the low dropout linear regulator 106 is used to output a DC voltage to the second wireless transceiver 102.
本申请实施例中,所述低压差线性稳压器106可以向所述第二无线收发器102输出一组或者至少两组直流电压(DC voltage),以作为所述第二无线收发器102的工作电源来源。此时,所述控制芯片103不仅可以控制位于所述控制芯片103中的第一无线收发器101的工作电源,还可以控制所述位于所述控制芯片103外的第二无线收发器102的工作电源,从而可以降低硬件成本和电路面积,使得所述无线耳机1在实现至少两种无线通信方式的同时,不会增加过多的功耗和硬件体积。In this embodiment of the present application, the low-dropout linear regulator 106 may output one or at least two sets of DC voltages to the second wireless transceiver 102 , as the voltage of the second wireless transceiver 102 Working power source. At this time, the control chip 103 can not only control the working power of the first wireless transceiver 101 located in the control chip 103 , but also control the operation of the second wireless transceiver 102 located outside the control chip 103 Therefore, the hardware cost and circuit area can be reduced, so that the wireless earphone 1 does not increase excessive power consumption and hardware volume while implementing at least two wireless communication modes.
在一些实施例中,所述控制芯片103还包括电池管理单元109,该电池管理单元109可以与所述无线耳机1的电池电连接,以实现电池的充电和放电控制。In some embodiments, the control chip 103 further includes a battery management unit 109, and the battery management unit 109 can be electrically connected to the battery of the wireless earphone 1 to implement charging and discharging control of the battery.
在一些实施例中,所述控制芯片103中包括主机控制器107,所述主机控制器107用于与所述第二无线收发器102的从机控制器114电连接,以用于传输音频数据和/或控制数据。In some embodiments, the control chip 103 includes a host controller 107 for electrically connecting with the slave controller 114 of the second wireless transceiver 102 for transmitting audio data and/or control data.
其中,示例性的,所述主机控制器107可以包括SPI主机控制器1071和/或I2S主机控制器1072。所述控制芯片103中的SPI主机控制器1071可以用于与所述第二无线收发器102的SPI从机控制器1141电连接,以用于传输音频数据和/或控制数据。所述控制芯片103中的I2S主机控制器1072可以用于与所述第二无线收发器102的I2S从机控制器1142电连接,以用于传输音频数据。Wherein, by way of example, the host controller 107 may include an SPI host controller 1071 and/or an I2S host controller 1072 . The SPI master controller 1071 in the control chip 103 may be used for electrical connection with the SPI slave controller 1141 of the second wireless transceiver 102 for transmitting audio data and/or control data. The I2S host controller 1072 in the control chip 103 may be used for electrical connection with the I2S slave controller 1142 of the second wireless transceiver 102 for transmitting audio data.
在一些实施例中,所述控制芯片103的存储空间包括子存储空间,所述子存储空间用于存储所述第二无线收发器102的程序信息和/或配置信息。In some embodiments, the storage space of the control chip 103 includes a sub-storage space, and the sub-storage space is used to store program information and/or configuration information of the second wireless transceiver 102 .
本申请实施例中,所述控制芯片103的存储空间的类型可以有多种。例如,所述存储空间可以为只读存储器(ROM,Read-Only Memory)或者随机存取存储器(RAM,Random Access Memory)等等。In this embodiment of the present application, the storage space of the control chip 103 may have various types. For example, the storage space may be a read-only memory (ROM, Read-Only Memory) or a random access memory (RAM, Random Access Memory) or the like.
示例性的,所述程序信息可以包括所述第二无线收发器102的程序代码、控制数据等等,所述配置信息可以包括所述第二无线收发器102的配置参数的信息等。此时,所述第二无线收发器102在启动之后,可以通过总线118从所述控制芯片103中获取所述第二无线收发器102的程序代码等信息,以用于运行所述第二无线收发器102。此时,所述第二无线收发器102中可以不用额外设置存储空间,而是通过利用所述控制芯片103中的子存储空间来存储所述第二无线收发器102的程序信息和/或配置信息,从而可以降低硬件成本和电路面积,使得所述无线耳机1在实现至少两种无线通信方式的同时,不会增加过多的功耗和硬件体积。Exemplarily, the program information may include program codes, control data, and the like of the second wireless transceiver 102 , and the configuration information may include information about configuration parameters of the second wireless transceiver 102 , and the like. At this time, after the second wireless transceiver 102 is started, information such as program codes of the second wireless transceiver 102 can be obtained from the control chip 103 through the bus 118 for running the second wireless transceiver 102 . Transceiver 102 . At this time, the second wireless transceiver 102 may not need to provide additional storage space, but use the sub-storage space in the control chip 103 to store the program information and/or configuration of the second wireless transceiver 102 Therefore, the hardware cost and circuit area can be reduced, so that the wireless earphone 1 does not increase excessive power consumption and hardware volume while implementing at least two wireless communication modes.
在一些实施例中,所述无线耳机1还包括麦克风108,所述麦克风108与所述控制芯片103电连接;In some embodiments, the wireless headset 1 further includes a microphone 108, and the microphone 108 is electrically connected to the control chip 103;
所述控制芯片103还用于根据时分复用控制策略,将音频数据流发送至所述第一无线收发器101或者所述第二无线收发器102,所述音频数据流为根据所述麦克风108采集的音频信号获得的数据流。The control chip 103 is further configured to send an audio data stream to the first wireless transceiver 101 or the second wireless transceiver 102 according to a time division multiplexing control strategy, and the audio data stream is based on the microphone 108 The data stream obtained from the acquired audio signal.
本申请实施例中,所述麦克风108的类型和数量可以有多种设置方式。例 如,所述麦克风108可以包括数字麦克风1081和/或模拟麦克风1082。所述麦克风输入接口112可以包括数字麦克风输入接口1121和/或模拟麦克风输入接口1122。In this embodiment of the present application, the type and quantity of the microphones 108 may be set in various manners. For example, the microphone 108 may include a digital microphone 1081 and/or an analog microphone 1082. The microphone input interface 112 may include a digital microphone input interface 1121 and/or an analog microphone input interface 1122 .
其中,所述数字麦克风1081可以与所述控制芯片103的数字麦克风输入接口1121电连接。所述数字麦克风1081采集的数字音频信号可以由所述控制芯片103转换为I2S音频数据流,再根据时分复用控制策略,将I2S音频数据流发送至所述第一无线收发器101或者所述第二无线收发器102,以使得所述第一无线收发器101将该I2S音频数据流传输至第一终端2,或者使得所述第二无线收发器102将该I2S音频数据流传输至第二终端3。The digital microphone 1081 may be electrically connected to the digital microphone input interface 1121 of the control chip 103 . The digital audio signal collected by the digital microphone 1081 can be converted into an I2S audio data stream by the control chip 103, and then according to the time division multiplexing control strategy, the I2S audio data stream is sent to the first wireless transceiver 101 or the The second wireless transceiver 102, so that the first wireless transceiver 101 transmits the I2S audio data stream to the first terminal 2, or the second wireless transceiver 102 transmits the I2S audio data stream to the second wireless transceiver 102. Terminal 3.
所述模拟麦克风1082可以与所述控制芯片103的模拟麦克风输入接口1122电连接。所述模拟麦克风1082采集的模拟音频信号可以由模拟到数字信号转换器110转换为数字音频信号,再由所述控制芯片103转换为I2S音频数据流,再根据时分复用控制策略,将I2S音频数据流发送至所述第一无线收发器101或者所述第二无线收发器102。The analog microphone 1082 can be electrically connected to the analog microphone input interface 1122 of the control chip 103 . The analog audio signal collected by the analog microphone 1082 can be converted into a digital audio signal by the analog-to-digital signal converter 110, and then converted into an I2S audio data stream by the control chip 103, and then according to the time division multiplexing control strategy, the I2S audio The data stream is sent to the first wireless transceiver 101 or the second wireless transceiver 102 .
下面以具体示例示意性说明本申请实施例中的无线耳机1的具体结构。The specific structure of the wireless earphone 1 in the embodiment of the present application is schematically described below with specific examples.
图4为所述无线耳机1的一种具体结构示意图。FIG. 4 is a schematic diagram of a specific structure of the wireless earphone 1 .
如图4所示,在一种示例中,所述无线耳机1中可以包括天线104、切换开关105、控制芯片103和第二无线收发器102。其中,所述第一通信协议可以为蓝牙通信协议。As shown in FIG. 4 , in an example, the wireless headset 1 may include an antenna 104 , a switch 105 , a control chip 103 and a second wireless transceiver 102 . Wherein, the first communication protocol may be a Bluetooth communication protocol.
具体的,所述控制芯片103中可以包括第一无线收发器101、低压差线性稳压器106、电池管理单元109、数字到模拟信号转换器111、数字麦克风输入接口1121、SPI主机控制器1071、I2S主机控制器1072、蓝牙MAC协议控制器113以及扬声器109。所述控制芯片103中的各个部件单元可以通过总线118进行信息传输。Specifically, the control chip 103 may include a first wireless transceiver 101 , a low dropout linear regulator 106 , a battery management unit 109 , a digital-to-analog signal converter 111 , a digital microphone input interface 1121 , and an SPI host controller 1071 , I2S host controller 1072 , Bluetooth MAC protocol controller 113 and speaker 109 . Each component unit in the control chip 103 can transmit information through the bus 118 .
所述第二无线收发器102中,可以包括SPI从机控制器1141、I2S从机控制器1142、无线收发控制器115以及音频数字压缩/解压缩单元116。The second wireless transceiver 102 may include an SPI slave controller 1141 , an I2S slave controller 1142 , a wireless transceiver controller 115 and an audio digital compression/decompression unit 116 .
此外,如图4所示,所述控制芯片103中还可以包括模拟麦克风1082以及模拟到数字信号转换器110。In addition, as shown in FIG. 4 , the control chip 103 may further include an analog microphone 1082 and an analog-to-digital signal converter 110 .
所述模拟麦克风1082可以与所述控制芯片103的模拟麦克风输入接口1122电连接。所述模拟麦克风1082采集的模拟音频信号可以由模拟到数字信号转换器110转换为数字音频信号,再由所述控制芯片103转换为I2S音频数据流,再根据时分复用控制策略,将I2S音频数据流发送至所述第一无线收发器101或者所述第二无线收发器102。The analog microphone 1082 can be electrically connected to the analog microphone input interface 1122 of the control chip 103 . The analog audio signal collected by the analog microphone 1082 can be converted into a digital audio signal by the analog-to-digital signal converter 110, and then converted into an I2S audio data stream by the control chip 103, and then according to the time division multiplexing control strategy, the I2S audio The data stream is sent to the first wireless transceiver 101 or the second wireless transceiver 102 .
图5为所述无线耳机1的另一种具体结构示意图。FIG. 5 is a schematic diagram of another specific structure of the wireless earphone 1 .
如图5所示,在另一种示例中,所述控制芯片103中可以包括数字麦克风108。As shown in FIG. 5 , in another example, the control chip 103 may include a digital microphone 108 .
所述数字麦克风1081可以与所述控制芯片103的数字麦克风输入接口1121电连接。所述数字麦克风1081采集的数字音频信号可以由所述控制芯片103转换为I2S音频数据流,再根据时分复用控制策略,将I2S音频数据流发送 至所述第一无线收发器101或者所述第二无线收发器102。The digital microphone 1081 can be electrically connected to the digital microphone input interface 1121 of the control chip 103 . The digital audio signal collected by the digital microphone 1081 can be converted into an I2S audio data stream by the control chip 103, and then according to the time division multiplexing control strategy, the I2S audio data stream is sent to the first wireless transceiver 101 or the The second wireless transceiver 102 .
本申请实施例中,所述无线耳机1可以包括第一无线收发器101和第二无线收发器102,其中,所述第一无线收发器101用于基于第一通信协议与第一终端2进行无线通信,所述第二无线收发器102用于基于第二通信协议与第二终端3进行无线通信,所述第二通信协议与所述第一通信协议不同,因此,通过本申请实施例中的无线耳机1,可以分别针对第一终端2和第二终端3的情况,采用不同的通信协议进行无线通信,以适应不同应用场景的需要,满足用户的使用需求,提升用户的使用体验。In this embodiment of the present application, the wireless headset 1 may include a first wireless transceiver 101 and a second wireless transceiver 102, wherein the first wireless transceiver 101 is configured to communicate with the first terminal 2 based on a first communication protocol Wireless communication, the second wireless transceiver 102 is configured to perform wireless communication with the second terminal 3 based on a second communication protocol, and the second communication protocol is different from the first communication protocol. The wireless headset 1 can use different communication protocols for wireless communication according to the situation of the first terminal 2 and the second terminal 3 respectively, so as to adapt to the needs of different application scenarios, meet the user's use requirements, and improve the user's use experience.
实施例2Example 2
对应于上文实施例上述的无线耳机1,图6示出了本申请实施例提供的一种控制无线耳机的方法的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。Corresponding to the above-mentioned wireless earphone 1 in the above embodiment, FIG. 6 shows a structural block diagram of a method for controlling a wireless earphone provided by an embodiment of the present application. For convenience of description, only the part related to the embodiment of the present application is shown. .
本申请实施例中的控制无线耳机的方法可以应用于上述任一实施例中的无线耳机1。The method for controlling a wireless headset in this embodiment of the present application may be applied to the wireless headset 1 in any of the foregoing embodiments.
参照图6,该控制无线耳机的方法包括:Referring to Figure 6, the method for controlling a wireless headset includes:
步骤S601,当所述无线耳机1处于基于第一无线收发器101的第一通信模式下时,若接收到预设触发信息,则生成第一通知指令,所述第一通知指令用于同步通知所述无线耳机1以及与所述无线耳机1配对的其他无线耳机4,将无线通信模式设置为基于第二无线收发器102的第二通信模式;Step S601, when the wireless headset 1 is in the first communication mode based on the first wireless transceiver 101, if preset trigger information is received, a first notification instruction is generated, and the first notification instruction is used for synchronous notification The wireless headset 1 and other wireless headsets 4 paired with the wireless headset 1 set the wireless communication mode to a second communication mode based on the second wireless transceiver 102;
步骤S602,根据所述第一通知指令,将所述无线耳机1的无线通信模式由所述第一通信模式切换为所述第二通信模式。Step S602, according to the first notification instruction, switch the wireless communication mode of the wireless headset 1 from the first communication mode to the second communication mode.
本申请实施例中,所述第一通信模式为基于所述第一无线收发器101的无线通信模式,因此,在第一通信模式下,是通过所述第一无线收发器101,基于第一通信协议进行无线传输。In this embodiment of the present application, the first communication mode is a wireless communication mode based on the first wireless transceiver 101. Therefore, in the first communication mode, the first communication mode is based on the first wireless transceiver 101. Communication protocol for wireless transmission.
所述预设触发信息可以基于预设触发操作而生成。其中,示例性的,所述预设触发操作可以是用户对无线耳机1上的特定按键的特定操作(如双击操作、三击操作或者长按若干秒等)。或者,所述预设触发信息也可以基于预设语音指令、手势指令等而生成。所述预设触发信息的具体生成方式在此不作限定。The preset trigger information may be generated based on a preset trigger operation. Wherein, exemplarily, the preset trigger operation may be a specific operation performed by the user on a specific key on the wireless headset 1 (such as a double-click operation, a triple-click operation, or a long press for several seconds, etc.). Alternatively, the preset trigger information may also be generated based on preset voice instructions, gesture instructions, or the like. The specific generating manner of the preset trigger information is not limited herein.
所述第一通知指令用于同步通知所述无线耳机1以及与所述无线耳机1配对的其他无线耳机4,将无线通信模式设置为基于第二无线收发器102的第二通信模式。可以理解的是,所述第一通知指令可以为一条指令,并且被同时发送给所述无线耳机1的控制芯片103中的指定控制单元以及所述其他无线耳机4。或者,所述第一通知指令也可以包括两个指令,以分别发送给所述无线耳机1的控制芯片103中的指定控制单元以及所述其他无线耳机4,而该两个指令的发送时机相同,以实现对所述无线耳机1以及与所述无线耳机1配对的其他无线耳机4的同步通知。The first notification instruction is used to synchronously notify the wireless earphone 1 and other wireless earphones 4 paired with the wireless earphone 1 to set the wireless communication mode to the second communication mode based on the second wireless transceiver 102 . It can be understood that the first notification instruction may be an instruction, and is simultaneously sent to the designated control unit in the control chip 103 of the wireless earphone 1 and the other wireless earphones 4 . Alternatively, the first notification instruction may also include two instructions to be sent to the designated control unit in the control chip 103 of the wireless headset 1 and the other wireless headsets 4 respectively, and the two instructions are sent at the same timing , so as to realize synchronous notification to the wireless earphone 1 and other wireless earphones 4 paired with the wireless earphone 1 .
在一些示例中,所述第一通信模式可以为所述无线耳机1的默认无线通信模式。当所述无线耳机1开机后,所述无线耳机1可以默认工作在所述第一通 信模式下,并可以通过所述第一通信模式查找配对的其他无线耳机4。该无线耳机1与所述其他无线耳机4中,可以存在一个主耳机和一个副耳机,而本申请实施例中的无线耳机1可以是其中的主耳机,也可以是副耳机。In some examples, the first communication mode may be the default wireless communication mode of the wireless headset 1 . When the wireless earphone 1 is turned on, the wireless earphone 1 can work in the first communication mode by default, and can search for other paired wireless earphones 4 through the first communication mode. The wireless earphone 1 and the other wireless earphones 4 may have a main earphone and a sub earphone, and the wireless earphone 1 in the embodiment of the present application may be the main earphone or the sub earphone.
本申请实施例中,当所述无线耳机1处于基于第一无线收发器101的第一通信模式下时,若接收到预设触发信息,可以生成第一通知指令,并通过所述第一通知指令同步通知所述无线耳机1以及与所述无线耳机1配对的其他无线耳机4,将无线通信模式设置为基于第二无线收发器102的第二通信模式;然后,所述无线耳机1可以根据所述第一通知指令,将无线通信模式由所述第一通信模式切换为所述第二通信模式,从而确保所述无线耳机1与配对的其他无线耳机4能够同时切换至第二通信模式。In the embodiment of the present application, when the wireless headset 1 is in the first communication mode based on the first wireless transceiver 101, if the preset trigger information is received, a first notification instruction may be generated, and the first notification instruction may be generated through the first notification The instruction synchronously informs the wireless earphone 1 and other wireless earphones 4 paired with the wireless earphone 1 to set the wireless communication mode to the second communication mode based on the second wireless transceiver 102; The first notification instruction switches the wireless communication mode from the first communication mode to the second communication mode, thereby ensuring that the wireless earphone 1 and other paired wireless earphones 4 can switch to the second communication mode at the same time.
在一些实施例中,在根据所述第一通知指令,将所述无线耳机1的无线通信模式由所述第一通信模式切换为所述第二通信模式之后,还包括:In some embodiments, after switching the wireless communication mode of the wireless headset 1 from the first communication mode to the second communication mode according to the first notification instruction, the method further includes:
若在预设时间段内未接收到第二终端3所发送的信号,则生成第二通知指令,所述第二通知指令用于同步通知所述无线耳机1以及所述其他无线耳机4,将无线通信模式设置为所述第一通信模式;If the signal sent by the second terminal 3 is not received within the preset time period, a second notification instruction is generated, and the second notification instruction is used to synchronously notify the wireless headset 1 and the other wireless headsets 4 to send The wireless communication mode is set to the first communication mode;
根据所述第二通知指令,将所述无线耳机1的无线通信模式由所述第二通信模式切换为所述第一通信模式。According to the second notification instruction, the wireless communication mode of the wireless headset 1 is switched from the second communication mode to the first communication mode.
本申请实施例中,当所述无线耳机1和所述其他无线耳机4已处于第二通信模式下时,所述无线耳机1和所述其他无线耳机4可以同时通过私有通信协议接收到诸如无线发射器5所发送的音频信号和心跳包信号等信号。In this embodiment of the present application, when the wireless earphone 1 and the other wireless earphones 4 are already in the second communication mode, the wireless earphone 1 and the other wireless earphones 4 can simultaneously receive data such as wireless Signals such as the audio signal and the heartbeat packet signal sent by the transmitter 5.
而若所述无线耳机1已处于第二通信模式下时,若在预设时间段内未接收到第二终端3所发送的信号,则可以生成第二通知指令。However, if the wireless headset 1 is already in the second communication mode, if the signal sent by the second terminal 3 is not received within a preset time period, a second notification instruction may be generated.
其中,需要说明的是,所述第二终端3可以为所述其他无线耳机4,此时,所述其他无线耳机4可能未能根据所述第一通知指令成功切换至第二通信模式,或者目前无需进行信息传输,可见,所述无线耳机1当前没有基于第二通信模式的信息传输需求,此时,可以生成所述第二通知指令,以是指所述无线耳机1与所述其他无线耳机4同步切换至所述第一通信模式。It should be noted that the second terminal 3 may be the other wireless headset 4. At this time, the other wireless headset 4 may fail to successfully switch to the second communication mode according to the first notification instruction, or There is no need for information transmission at present. It can be seen that the wireless headset 1 currently has no information transmission requirements based on the second communication mode. At this time, the second notification instruction can be generated to refer to the wireless headset 1 and the other wireless The headset 4 switches to the first communication mode synchronously.
当然,所述第二终端3也可以是除所述其他无线耳机4之外的其他终端,例如,可以是无线发射器5等。若所述第二终端3为所述无线发射器5,则若所述无线耳机1在预设时间段内未接收到无线发射器5所发送的音频信号和心跳包信号等信号,则可以认为当前没有基于第二通信模式的信息传输需求,从而可以生成所述第二通知指令。Of course, the second terminal 3 may also be other terminals other than the other wireless earphones 4 , for example, may be a wireless transmitter 5 and the like. If the second terminal 3 is the wireless transmitter 5, if the wireless headset 1 does not receive the audio signal and the heartbeat packet signal sent by the wireless transmitter 5 within a preset time period, it can be considered that There is currently no information transmission requirement based on the second communication mode, so that the second notification instruction can be generated.
本申请实施例中,若在预设时间段内未接收到第二终端3所发送的信号,则可以认为当前没有基于第二通信模式的信息传输需求,所述无线耳机1可以根据所述第二通知指令,将所述无线耳机1的无线通信模式由所述第二通信模式切换为所述第一通信模式,从而确保所述无线耳机1与配对的其他无线耳机4能够及时地并且同时地切换至第一通信模式,以将所有配对的耳机的无线通信模式统一设置为所述第一通信模式。In the embodiment of the present application, if the signal sent by the second terminal 3 is not received within the preset time period, it can be considered that there is currently no information transmission requirement based on the second communication mode, and the wireless headset 1 can Two notification instructions, to switch the wireless communication mode of the wireless headset 1 from the second communication mode to the first communication mode, so as to ensure that the wireless headset 1 and other paired wireless headsets 4 can be timely and simultaneously Switch to the first communication mode to uniformly set the wireless communication modes of all paired earphones to the first communication mode.
在一些实施例中,所述第一无线收发器101与所述第二无线收发器102具 有相同的MAC地址,所述MAC地址用于基于所述第一通信模式下的无线通信,以及基于所述第二通信模式下的无线通信。In some embodiments, the first wireless transceiver 101 and the second wireless transceiver 102 have the same MAC address, and the MAC address is used for wireless communication based on the first communication mode and based on the wireless communication in the second communication mode.
本申请实施例中,所述第一无线收发器101与所述第二无线收发器102可以具有相同的MAC地址(Media Access Control Address),此时,所述无线耳机1中可以通过同一个MAC协议控制器实现无线通信,为批量生产带来便利性,减少烧录MAC的时间,从而可以降低硬件成本,减小无线耳机1的体积。In this embodiment of the present application, the first wireless transceiver 101 and the second wireless transceiver 102 may have the same MAC address (Media Access Control Address). In this case, the wireless headset 1 may pass the same MAC address. The protocol controller realizes wireless communication, which brings convenience to mass production and reduces the time for programming the MAC, thereby reducing the hardware cost and the volume of the wireless earphone 1 .
在一些实施例中,第三终端与无线耳机通过触点接触形成电连接,在当无线耳机处于基于第一无线收发器的第一通信模式下时,若接收到预设触发信息,则生成第一通知指令,第一通知指令用于同步通知无线耳机以及与无线耳机配对的其他无线耳机,将无线通信模式设置为基于第二无线收发器的第二通信模式之前,该方法还包括:In some embodiments, the third terminal forms an electrical connection with the wireless headset through contact contact, and when the wireless headset is in the first communication mode based on the first wireless transceiver, if the preset trigger information is received, the third terminal is generated. A notification instruction, where the first notification instruction is used to synchronously notify the wireless headset and other wireless headsets paired with the wireless headset, before setting the wireless communication mode to the second communication mode based on the second wireless transceiver, the method further includes:
若接收到第三终端通过电连接发送的超低延电连接状态时工作模式的控制指令,则基于该控制指令,控制无线耳机进入超低延时工作模式。If the control command of the working mode in the ultra-low-latency electrical connection state sent by the third terminal through the electrical connection is received, the wireless headset is controlled to enter the ultra-low-latency working mode based on the control command.
具体地,第三终端具体可以是无线耳机收纳盒,无线耳机收纳盒上包含切换开关电路,本实施例中,通过将无线耳机收纳盒与按键进行电连接,通过检测到指定的按键动作,控制收纳盒切换开关电路,以实现充电状态与通信状态的切换,在切换到充电状态时,收纳盒的充电电路与无线耳机内部的控制芯片的电源输入引脚建立电连接,即收纳盒的充电电路可以对无线耳机进行充电,在切换到通信状态时,收纳盒的通信电路与无线耳机内部的控制芯片的通信引脚建立电连接,此时,无线耳机和无线收纳盒处理通信状态,优选地,在通信状态下,为确保通信数据的传递,在切换到通信状态时,无线耳机收纳盒通过电连接,发送进入超低延时工作模式的命令给无线耳机(含左耳无线耳机和/或右耳无线耳机),无线耳机收到此命令后,进入超低延时工作模式,以提高通信过程中数据传递的效率。Specifically, the third terminal may be a wireless earphone storage box, and the wireless earphone storage box includes a switch circuit. In this embodiment, the wireless earphone storage box is electrically connected to the button, and the specified button action is detected to control the The switching circuit of the storage box is used to switch between the charging state and the communication state. When switching to the charging state, the charging circuit of the storage box establishes an electrical connection with the power input pin of the control chip inside the wireless earphone, that is, the charging circuit of the storage box. The wireless headset can be charged. When switching to the communication state, the communication circuit of the storage box establishes an electrical connection with the communication pin of the control chip inside the wireless headset. At this time, the wireless headset and the wireless storage box process the communication state. Preferably, In the communication state, in order to ensure the transmission of communication data, when switching to the communication state, the wireless earphone storage box sends the command to enter the ultra-low-latency working mode to the wireless earphones (including the left ear wireless earphone and/or the right earphone through the electrical connection). Ear wireless headset), after receiving this command, the wireless headset enters the ultra-low latency working mode to improve the efficiency of data transmission during the communication process.
本申请实施例中,通过第三终端,实现快速进行充电模式和通信模式的切换,从而可以降低硬件成本,同时,在检测到进入通信模式时,控制无线耳机自动切换到超低延电连接状态时,确保通信过程中数据传递的效率,提高通信质量。In the embodiment of the present application, the third terminal is used to quickly switch between the charging mode and the communication mode, thereby reducing the hardware cost. At the same time, when it is detected that the communication mode is entered, the wireless headset is controlled to automatically switch to the ultra-low-latency electrical connection state At the same time, it can ensure the efficiency of data transmission in the communication process and improve the communication quality.
在一些实施例中,在根据所述第一通知指令,将无线耳机的无线通信模式由第一通信模式切换为第二通信模式之后,该方法还包括:In some embodiments, after switching the wireless communication mode of the wireless headset from the first communication mode to the second communication mode according to the first notification instruction, the method further includes:
在接收到第二终端发送的信号时,采用自适应差分脉冲编码调制的方式,对所述信号进行语音压缩和解压缩。When a signal sent by the second terminal is received, voice compression and decompression are performed on the signal by means of adaptive differential pulse code modulation.
具体地,在切换到第二通信模式后,为确保通信效率,本实施例采用私有协议传输进行音频数据的传输,优选地,本实施例的私有协议中,采用自适应差分脉冲编码调制算法,对音频数据进行压缩传输,并在传输完成后,进行解压缩进行播放,以提高音频数据在传递过程中的效率。Specifically, after switching to the second communication mode, in order to ensure communication efficiency, this embodiment adopts a private protocol transmission to transmit audio data. Preferably, in the private protocol of this embodiment, an adaptive differential pulse code modulation algorithm is used, The audio data is compressed and transmitted, and after the transmission is completed, it is decompressed and played, so as to improve the efficiency of the audio data in the transmission process.
其中,自适应差分脉冲编码调制算法(Adaptive Differential Pulse Code Modulation,ADPCM))是预测编码的一种,在PCM基础上进行了改进,对实际信号与按其前一些信号而得的预测值间的差值信号进行编码。它的核心想 法是:①利用自适应的思想改变量化阶的大小,即使用小的量化阶(step-size)去编码小的差值,使用大的量化阶去编码大的差值,②使用过去的样本值估算下一个输入样本的预测值,使实际样本值和预测值之间的差值总是最小。在ADPCM中所用的量化间隔的大小还可按差值信号的统计结果自动适配,达到最佳量化,从而使因量化造成的失真亦最小。Among them, Adaptive Differential Pulse Code Modulation (Adaptive Differential Pulse Code Modulation, ADPCM) is a kind of predictive coding, which is improved on the basis of PCM. The difference signal is encoded. Its core idea is: ①Use the idea of self-adaptation to change the size of the quantization step, that is, use a small quantization step (step-size) to encode a small difference, use a large quantization step to encode a large difference, ②Use Past sample values estimate the predicted value of the next input sample so that the difference between the actual sample value and the predicted value is always the smallest. The size of the quantization interval used in ADPCM can also be automatically adapted according to the statistical result of the difference signal, so as to achieve the best quantization and minimize the distortion caused by the quantization.
本申请实施例中,采用复杂度较低的音频压缩算法ADPCM进行语音压缩和解压缩,压缩和解压缩的时间比较短,从而减少传输延迟,有利于提高音频数据传输的效率,从而提高通信质量。In the embodiment of the present application, the audio compression algorithm ADPCM with lower complexity is used for voice compression and decompression, and the compression and decompression time is relatively short, thereby reducing the transmission delay, which is beneficial to improve the efficiency of audio data transmission, thereby improving the communication quality.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
实施例三 Embodiment 3
对应于上文实施例上述的控制无线耳机的方法,本申请实施例提供了一种控制无线耳机的装置,为了便于说明,仅说明与本申请实施例相关的部分。Corresponding to the above-mentioned method for controlling a wireless earphone in the above embodiment, the embodiment of the present application provides an apparatus for controlling a wireless earphone. For the convenience of description, only the part related to the embodiment of the present application is described.
该控制无线耳机的装置包括:The device for controlling wireless earphones includes:
第一生成模块,用于当所述无线耳机1处于基于第一无线收发器101的第一通信模式下时,若接收到预设触发信息,则生成第一通知指令,所述第一通知指令用于同步通知所述无线耳机1以及与所述无线耳机1配对的其他无线耳机4,将无线通信模式设置为基于第二无线收发器102的第二通信模式;The first generation module is used to generate a first notification instruction when the wireless headset 1 is in the first communication mode based on the first wireless transceiver 101 and if preset trigger information is received, the first notification instruction For synchronously informing the wireless headset 1 and other wireless headsets 4 paired with the wireless headset 1, the wireless communication mode is set to a second communication mode based on the second wireless transceiver 102;
第一切换模块,用于根据所述第一通知指令,将所述无线耳机1的无线通信模式由所述第一通信模式切换为所述第二通信模式。A first switching module, configured to switch the wireless communication mode of the wireless headset 1 from the first communication mode to the second communication mode according to the first notification instruction.
可选的,该控制无线耳机的装置还包括:Optionally, the device for controlling the wireless headset further includes:
第二生成模块,用于若在预设时间段内未接收到第二终端3所发送的信号,则生成第二通知指令,所述第二通知指令用于同步通知所述无线耳机1以及所述其他无线耳机4,无线通信模式设置为所述第一通信模式;The second generation module is configured to generate a second notification instruction if the signal sent by the second terminal 3 is not received within a preset time period, and the second notification instruction is used to synchronously notify the wireless headset 1 and the For the other wireless earphones 4, the wireless communication mode is set to the first communication mode;
第二切换模块,用于根据所述第二通知指令,将所述无线耳机1的无线通信模式由所述第二通信模式切换为所述第一通信模式。A second switching module, configured to switch the wireless communication mode of the wireless headset 1 from the second communication mode to the first communication mode according to the second notification instruction.
可选的,所述第一无线收发器101与所述第二无线收发器102具有相同的MAC地址,所述MAC地址用于基于所述第一通信模式下的无线通信,以及基于所述第二通信模式下的无线通信。Optionally, the first wireless transceiver 101 and the second wireless transceiver 102 have the same MAC address, and the MAC address is used for wireless communication based on the first communication mode and based on the first communication mode. Wireless communication in two communication modes.
实施例四Embodiment 4
图7为本申请一实施例提供的无线耳机1的一种结构示意图。如图7所示,该实施例的无线耳机1包括:第一无线收发器101、第二无线收发器102、控制芯片103、存储器71以及存储在上述存储器71中并可在上述至少一个控制芯片103上运行的计算机程序72,上述控制芯片103执行上述计算机程序72时实现上述任意各个控制无线耳机的方法实施例中的步骤。FIG. 7 is a schematic structural diagram of a wireless earphone 1 according to an embodiment of the present application. As shown in FIG. 7 , the wireless earphone 1 of this embodiment includes: a first wireless transceiver 101 , a second wireless transceiver 102 , a control chip 103 , a memory 71 , and at least one control chip stored in the above-mentioned memory 71 and available in the above-mentioned at least one control chip The computer program 72 running on 103, when the control chip 103 executes the computer program 72, implements the steps in any of the foregoing method embodiments for controlling a wireless headset.
本申请实施例中,无线耳机1的具体结构可以参考上述实施例一中的描述, 在此不再赘述。In this embodiment of the present application, for the specific structure of the wireless earphone 1, reference may be made to the description in the above-mentioned first embodiment, which will not be repeated here.
其中,上述存储器71在一些实施例中可以是上述无线耳机1的内部存储单元,例如无线耳机1的硬盘或内存。上述存储器71在另一些实施例中也可以是上述无线耳机1的外部存储设备,例如上述无线耳机1上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,上述存储器71还可以既包括上述无线耳机1的内部存储单元也包括外部存储设备。上述存储器71用于存储操作系统、应用程序、引导装载程序(Boot Loader)、数据以及其他程序等,例如上述计算机程序的程序代码等。上述存储器71还可以用于暂时地存储已经输出或者将要输出的数据。Wherein, the above-mentioned memory 71 may be an internal storage unit of the above-mentioned wireless earphone 1 in some embodiments, such as a hard disk or a memory of the wireless earphone 1 . The above-mentioned memory 71 may also be an external storage device of the above-mentioned wireless earphone 1 in other embodiments, such as a plug-in hard disk equipped on the above-mentioned wireless earphone 1, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital) , SD) card, flash memory card (Flash Card), etc. Further, the above-mentioned memory 71 may also include both the internal storage unit of the above-mentioned wireless earphone 1 and an external storage device. The above-mentioned memory 71 is used to store an operating system, an application program, a boot loader (Boot Loader), data, and other programs, such as program codes of the above-mentioned computer programs, and the like. The above-mentioned memory 71 can also be used to temporarily store data that has been output or is to be output.
另外,尽管未示出,上述无线耳机1还可以包括网络连接模块,如蓝牙模块Wi-Fi模块、蜂窝网络模块等等,在此不再赘述。In addition, although not shown, the above-mentioned wireless earphone 1 may also include a network connection module, such as a Bluetooth module, a Wi-Fi module, a cellular network module, and the like, which will not be repeated here.
本申请实施例中,上述控制芯片103执行上述计算机程序72以实现上述任意各个方法实施例中的步骤时,当所述无线耳机1处于基于第一无线收发器101的第一通信模式下时,若接收到预设触发信息,可以生成第一通知指令,并通过所述第一通知指令同步通知所述无线耳机1以及与所述无线耳机1配对的其他无线耳机4,将无线通信模式设置为基于第二无线收发器102的第二通信模式;然后,所述无线耳机1可以根据所述第一通知指令,将无线通信模式由所述第一通信模式切换为所述第二通信模式,从而确保所述无线耳机1与配对的其他无线耳机4能够同时切换至第二通信模式。In this embodiment of the present application, when the above-mentioned control chip 103 executes the above-mentioned computer program 72 to implement the steps in any of the above-mentioned method embodiments, when the wireless headset 1 is in the first communication mode based on the first wireless transceiver 101, If preset trigger information is received, a first notification instruction can be generated, and the wireless earphone 1 and other wireless earphones 4 paired with the wireless earphone 1 can be synchronously notified through the first notification instruction, and the wireless communication mode is set to Based on the second communication mode of the second wireless transceiver 102; then, the wireless headset 1 can switch the wireless communication mode from the first communication mode to the second communication mode according to the first notification instruction, thereby It is ensured that the wireless headset 1 and other paired wireless headsets 4 can switch to the second communication mode at the same time.
本申请实施例还提供了一种计算机可读存储介质,上述计算机可读存储介质存储有计算机程序,上述计算机程序被控制芯片103执行时实现可实现上述各个方法实施例中的步骤。Embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by the control chip 103, the steps in the foregoing method embodiments can be implemented.
本申请实施例提供了一种计算机程序产品,当计算机程序产品在无线耳机1上运行时,使得无线耳机1执行时实现可实现上述各个方法实施例中的步骤。The embodiments of the present application provide a computer program product, when the computer program product runs on the wireless earphone 1, the wireless earphone 1 can implement the steps in the above method embodiments when the wireless earphone 1 is executed.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,上述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被控制芯片103执行时,可实现上述各个方法实施例的步骤。其中,上述计算机程序包括计算机程序代码,上述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。上述计算机可读介质至少可以包括:能够将计算机程序代码携带到拍照装置/无线耳机1的任何实体或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。If the above-mentioned integrated units are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on this understanding, the present application realizes all or part of the processes in the methods of the above-mentioned embodiments, which can be completed by instructing the relevant hardware through a computer program. The above-mentioned computer program can be stored in a computer-readable storage medium, and the computer program is in When executed by the control chip 103, the steps of each of the foregoing method embodiments can be implemented. Wherein, the above-mentioned computer program includes computer program code, and the above-mentioned computer program code may be in the form of source code, object code form, executable file or some intermediate form. The above-mentioned computer-readable medium may include at least: any entity or device capable of carrying computer program codes to the photographing device/wireless headset 1, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media. For example, U disk, mobile hard disk, disk or CD, etc. In some jurisdictions, under legislation and patent practice, computer readable media may not be electrical carrier signals and telecommunications signals.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详 述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
在本申请所提供的实施例中,应该理解到,所揭露的装置/网络设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/网络设备实施例仅仅是示意性的,例如,上述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed apparatus/network device and method may be implemented in other manners. For example, the apparatus/network device embodiments described above are only illustrative. For example, the division of the above modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or Components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
以上上述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the above-mentioned embodiments, those of ordinary skill in the art should understand that the above-mentioned embodiments can still be used for The recorded technical solutions are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the application, and should be included in the present application. within the scope of protection of the application.

Claims (15)

  1. 一种无线耳机,其特征在于,包括:A wireless headset, comprising:
    第一无线收发器,所述第一无线收发器用于基于第一通信协议与第一终端进行无线通信;a first wireless transceiver, where the first wireless transceiver is configured to perform wireless communication with a first terminal based on a first communication protocol;
    第二无线收发器,所述第二无线收发器用于基于第二通信协议与第二终端进行无线通信,所述第二通信协议与所述第一通信协议不同。A second wireless transceiver configured to perform wireless communication with a second terminal based on a second communication protocol, where the second communication protocol is different from the first communication protocol.
  2. 如权利要求1所述的无线耳机,其特征在于,所述第一通信协议为蓝牙通信协议,所述第二通信协议为私有通信协议,所述第二终端为无线发射器,所述无线发射器用于与所述第一终端电连接。The wireless headset according to claim 1, wherein the first communication protocol is a Bluetooth communication protocol, the second communication protocol is a proprietary communication protocol, the second terminal is a wireless transmitter, and the wireless transmission The device is used for electrical connection with the first terminal.
  3. 如权利要求1或2所述的无线耳机,其特征在于,包括控制芯片,The wireless headset according to claim 1 or 2, characterized in that it comprises a control chip,
    所述第一无线收发器位于所述无线耳机的控制芯片中,所述第二无线收发器位于所述控制芯片之外,或者,The first wireless transceiver is located in the control chip of the wireless headset, and the second wireless transceiver is located outside the control chip, or,
    所述第二无线收发器与所述第一无线收发器共同存在于所述无线耳机的控制芯片中。The second wireless transceiver and the first wireless transceiver coexist in the control chip of the wireless headset.
  4. 如权利要求3所述的无线耳机,其特征在于,包括切换开关和天线;The wireless headset of claim 3, comprising a switch and an antenna;
    所述切换开关用于与所述天线以及所述控制芯片电连接;the switch is used for electrical connection with the antenna and the control chip;
    所述切换开关还用于分别与所述第二无线收发器和所述第一无线收发器电连接,以根据所述控制芯片,控制所述天线与所述第二无线收发器电连接或者控制所述天线与所述第一无线收发器电连接。The switch is further configured to be electrically connected to the second wireless transceiver and the first wireless transceiver respectively, so as to control the antenna to be electrically connected to or control the second wireless transceiver according to the control chip The antenna is electrically connected to the first wireless transceiver.
  5. 如权利要求3所述的无线耳机,其特征在于,所述控制芯片中包括低压差线性稳压器,所述低压差线性稳压器用于向所述第二无线收发器输出直流电压。The wireless headset according to claim 3, wherein the control chip includes a low dropout linear regulator, and the low dropout linear regulator is used to output a DC voltage to the second wireless transceiver.
  6. 如权利要求3所述的无线耳机,其特征在于,所述控制芯片中包括主机控制器,所述主机控制器用于与所述第二无线收发器的从机控制器电连接,以用于传输音频数据和/或控制数据。The wireless headset according to claim 3, wherein the control chip includes a host controller, and the host controller is used for electrical connection with the slave controller of the second wireless transceiver for transmitting Audio data and/or control data.
  7. 如权利要求3所述的无线耳机,其特征在于,所述控制芯片的存储空间包括子存储空间,所述子存储空间用于存储所述第二无线收发器的程序信息和/或配置信息。The wireless headset according to claim 3, wherein the storage space of the control chip includes a sub-storage space, and the sub-storage space is used to store program information and/or configuration information of the second wireless transceiver.
  8. 如权利要求3所述的无线耳机,其特征在于,所述无线耳机还包括麦克风,所述麦克风与所述控制芯片电连接;The wireless earphone according to claim 3, wherein the wireless earphone further comprises a microphone, and the microphone is electrically connected to the control chip;
    所述控制芯片还用于根据时分复用控制策略,将音频数据流发送至所述第一无线收发器或者所述第二无线收发器,所述音频数据流为根据所述麦克风采集的音频信号获得的数据流。The control chip is further configured to send an audio data stream to the first wireless transceiver or the second wireless transceiver according to a time division multiplexing control strategy, where the audio data stream is an audio signal collected according to the microphone obtained data stream.
  9. 一种控制无线耳机的方法,其特征在于,应用于如权利要求1至8任意一项所述的无线耳机,所述方法包括:A method for controlling a wireless headset, characterized in that, applied to the wireless headset according to any one of claims 1 to 8, the method comprising:
    当所述无线耳机处于基于第一无线收发器的第一通信模式下时,若接收到预设触发信息,则生成第一通知指令,所述第一通知指令用于同步通知所述无线耳机以及与所述无线耳机配对的其他无线耳机,将无线通信模式设置为基于 第二无线收发器的第二通信模式;When the wireless headset is in the first communication mode based on the first wireless transceiver, if preset trigger information is received, a first notification instruction is generated, and the first notification instruction is used to synchronously notify the wireless headset and For other wireless earphones paired with the wireless earphone, set the wireless communication mode to the second communication mode based on the second wireless transceiver;
    根据所述第一通知指令,将所述无线耳机的无线通信模式由所述第一通信模式切换为所述第二通信模式。According to the first notification instruction, the wireless communication mode of the wireless headset is switched from the first communication mode to the second communication mode.
  10. 如权利要求9所述的方法,其特征在于,在根据所述第一通知指令,将所述无线耳机的无线通信模式由所述第一通信模式切换为所述第二通信模式之后,还包括:The method according to claim 9, wherein after switching the wireless communication mode of the wireless headset from the first communication mode to the second communication mode according to the first notification instruction, further comprising: :
    若在预设时间段内未接收到第二终端所发送的信号,则生成第二通知指令,所述第二通知指令用于同步通知所述无线耳机以及所述其他无线耳机,将无线通信模式设置为所述第一通信模式;If the signal sent by the second terminal is not received within the preset time period, a second notification instruction is generated, and the second notification instruction is used to synchronously notify the wireless headset and the other wireless headsets to change the wireless communication mode to set to the first communication mode;
    根据所述第二通知指令,将所述无线耳机的无线通信模式由所述第二通信模式切换为所述第一通信模式。According to the second notification instruction, the wireless communication mode of the wireless headset is switched from the second communication mode to the first communication mode.
  11. 如权利要求9所述的方法,其特征在于,所述第一无线收发器与所述第二无线收发器具有相同的MAC地址,所述MAC地址用于基于所述第一通信模式下的无线通信,以及基于所述第二通信模式下的无线通信。The method of claim 9, wherein the first wireless transceiver and the second wireless transceiver have the same MAC address, and the MAC address is used for wireless communication based on the first communication mode. communication, and wireless communication based on the second communication mode.
  12. 如权利要求9所述的方法,其特征在于,所述第三终端与所述无线耳机通过触点接触形成电连接,在所述当所述无线耳机处于基于第一无线收发器的第一通信模式下时,若接收到预设触发信息,则生成第一通知指令,所述第一通知指令用于同步通知所述无线耳机以及与所述无线耳机配对的其他无线耳机,将无线通信模式设置为基于第二无线收发器的第二通信模式之前,所述方法还包括:The method according to claim 9, wherein the third terminal and the wireless earphone form an electrical connection through contact with the wireless earphone, and when the wireless earphone is in the first communication based on the first wireless transceiver In the mode, if the preset trigger information is received, a first notification instruction is generated, and the first notification instruction is used to synchronously notify the wireless headset and other wireless headsets paired with the wireless headset to set the wireless communication mode. Before being in the second communication mode based on the second wireless transceiver, the method further includes:
    若接收到第三终端通过电连接发送的超低延电连接状态时工作模式的控制指令,则基于该控制指令,控制所述无线耳机进入超低延时工作模式。If the control command of the working mode in the ultra-low-latency electrical connection state sent by the third terminal through the electrical connection is received, the wireless headset is controlled to enter the ultra-low-latency working mode based on the control command.
  13. 如权利要求9所述的方法,其特征在于,在所述根据所述第一通知指令,将所述无线耳机的无线通信模式由所述第一通信模式切换为所述第二通信模式之后,所述方法还包括:The method according to claim 9, wherein after the wireless communication mode of the wireless headset is switched from the first communication mode to the second communication mode according to the first notification instruction, The method also includes:
    在接收到所述第二终端发送的信号时,采用自适应差分脉冲编码调制的方式,对所述信号进行语音压缩和解压缩。When a signal sent by the second terminal is received, voice compression and decompression are performed on the signal by means of adaptive differential pulse code modulation.
  14. 一种无线耳机,包括存储器、控制芯片以及存储在所述存储器中并可在所述控制芯片上运行的计算机程序,其特征在于,所述无线耳机还包括第一无线收发器和第二无线收发器,所述控制芯片执行所述计算机程序时实现如权利要求9至13任一项所述的方法。A wireless headset, comprising a memory, a control chip, and a computer program stored in the memory and running on the control chip, characterized in that the wireless headset further includes a first wireless transceiver and a second wireless transceiver The control chip implements the method according to any one of claims 9 to 13 when the control chip executes the computer program.
  15. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被控制芯片执行时实现如权利要求9至13任一项所述的方法。A computer-readable storage medium storing a computer program, characterized in that, when the computer program is executed by a control chip, the method according to any one of claims 9 to 13 is implemented.
PCT/CN2021/079871 2020-08-27 2021-03-10 Wireless earpieces, method for controlling wireless earpieces, and storage medium WO2022041681A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010880411.X 2020-08-27
CN202010880411.XA CN114205699A (en) 2020-08-27 2020-08-27 Wireless headset, method of controlling wireless headset, and storage medium

Publications (1)

Publication Number Publication Date
WO2022041681A1 true WO2022041681A1 (en) 2022-03-03

Family

ID=80354491

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/079871 WO2022041681A1 (en) 2020-08-27 2021-03-10 Wireless earpieces, method for controlling wireless earpieces, and storage medium

Country Status (2)

Country Link
CN (1) CN114205699A (en)
WO (1) WO2022041681A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114945208A (en) * 2022-04-30 2022-08-26 恒玄科技(上海)股份有限公司 Method and system for reducing power consumption and earphone pair

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100020951A1 (en) * 2008-07-22 2010-01-28 Basart Edwin J Speaker Identification and Representation For a Phone
CN102685648A (en) * 2011-03-15 2012-09-19 微软公司 Multi-protocol wireless audio client device
CN110381418A (en) * 2019-07-11 2019-10-25 安克创新科技股份有限公司 Loudspeaking equipment, relay device and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100020951A1 (en) * 2008-07-22 2010-01-28 Basart Edwin J Speaker Identification and Representation For a Phone
CN102685648A (en) * 2011-03-15 2012-09-19 微软公司 Multi-protocol wireless audio client device
CN110381418A (en) * 2019-07-11 2019-10-25 安克创新科技股份有限公司 Loudspeaking equipment, relay device and mobile terminal

Also Published As

Publication number Publication date
CN114205699A (en) 2022-03-18

Similar Documents

Publication Publication Date Title
CN112868244B (en) Point-to-multipoint data transmission method and device
CN112313929B (en) Method for automatically switching Bluetooth audio coding modes and electronic equipment
CN112789866B (en) Audio data transmission method and equipment applied to TWS earphone single-ear and double-ear switching
WO2020133183A1 (en) Audio data synchronization method and device
CN110650405A (en) Wireless earphone control system, method, device and storage medium
US11265934B2 (en) Audio communication system with a dongle
WO2022135303A1 (en) Tws earphone connection method and device
CN113039822B (en) Method and equipment for establishing data channel
CN115002934B (en) Audio service processing system, electronic equipment and Bluetooth headset
CN105100993A (en) Bluetooth earphone
WO2022242528A1 (en) Volume adjustment method and terminal device
WO2022041681A1 (en) Wireless earpieces, method for controlling wireless earpieces, and storage medium
WO2020132907A1 (en) Communication method for audio data, and electronic device
CN107529353B (en) Hearing aid device based on mobile terminal
CN115022766B (en) Audio data playing method and equipment
WO2013162414A1 (en) Terminal for wireless voice communication
CN113316129B (en) Method for acquiring coding and decoding capabilities in Bluetooth device and electronic device
CN115175159A (en) Bluetooth headset playing method and equipment
CN110381418B (en) Loudspeaking device, relay device and mobile terminal
CN212992582U (en) Wireless earphone
CN219644064U (en) Wireless microphone system supporting dual modes of receiving and transmitting
CN216017133U (en) Bluetooth headset charging box and earphone system
CN113472764B (en) Electronic device and audio transmission method
CN116074986B (en) Bluetooth connection method, device and system
TWI700953B (en) A wireless transmission system and method

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: 21859530

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10.07.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21859530

Country of ref document: EP

Kind code of ref document: A1