CN114079837B - Wireless earphone, earphone storage box and wireless earphone system - Google Patents

Wireless earphone, earphone storage box and wireless earphone system Download PDF

Info

Publication number
CN114079837B
CN114079837B CN202010845878.0A CN202010845878A CN114079837B CN 114079837 B CN114079837 B CN 114079837B CN 202010845878 A CN202010845878 A CN 202010845878A CN 114079837 B CN114079837 B CN 114079837B
Authority
CN
China
Prior art keywords
interface
processor
earphone
wireless
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010845878.0A
Other languages
Chinese (zh)
Other versions
CN114079837A (en
Inventor
郎秋生
梅宏琛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010845878.0A priority Critical patent/CN114079837B/en
Publication of CN114079837A publication Critical patent/CN114079837A/en
Application granted granted Critical
Publication of CN114079837B publication Critical patent/CN114079837B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/1025Accumulators or arrangements for charging
    • AHUMAN NECESSITIES
    • A45HAND OR TRAVELLING ARTICLES
    • A45CPURSES; LUGGAGE; HAND CARRIED BAGS
    • A45C11/00Receptacles for purposes not provided for in groups A45C1/00-A45C9/00
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • H02J7/0044Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction specially adapted for holding portable devices containing batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/007188Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers
    • AHUMAN NECESSITIES
    • A45HAND OR TRAVELLING ARTICLES
    • A45CPURSES; LUGGAGE; HAND CARRIED BAGS
    • A45C11/00Receptacles for purposes not provided for in groups A45C1/00-A45C9/00
    • A45C2011/001Receptacles for purposes not provided for in groups A45C1/00-A45C9/00 for portable audio devices, e.g. headphones or MP3-players

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Headphones And Earphones (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides a wireless earphone, earphone receiver and wireless earphone system, relates to the technical field of electronics, realizes that the earphone receiver is to wireless earphone's box attitude detection time measuring, can avoid setting up components and parts on earphone receiver or wireless earphone, occupies the space on earphone receiver or the wireless earphone, is favorable to the miniaturization of equipment. The earphone storage box is used for storing wireless earphones, the earphone storage box comprises a second processor and a second interface, and the wireless earphones comprise a first processor and a first interface; the second interface is used for being connected with the first interface of the wireless earphone when the wireless earphone is stored in the earphone storage box; responding to the uncovering operation of the earphone storage box, and sending a first message to the first processor through the second interface by the second processor; if the second processor receives a second message through the second interface, the second message is a message sent by the first processor through the first interface, and the second processor determines that the earphone storage box is in the storage state.

Description

Wireless earphone, earphone storage box and wireless earphone system
Technical Field
The embodiment of the application relates to the technical field of electronics, especially, relate to a wireless earphone, earphone receiver and wireless earphone system.
Background
True Wireless Stereo (TWS) headsets are gaining favor from more and more users due to their good portability and sound experience. The TWS headset and the electronic device (e.g., a mobile phone or a tablet computer) can be connected via bluetooth, so as to perform functions of playing music and making/receiving calls in cooperation with the electronic device.
Generally, a wireless headset is used in a housing and fitting manner with a headset. The earphone receiver can be used for receiving the wireless earphone and charging the wireless earphone. Therefore, the earphone storage box needs to know whether the earphone is in the box or not so as to determine the state of the earphone storage box, such as whether the wireless earphone is powered on or not. Therefore, the earphone storage box needs to detect whether the earphones are in the box or not.
In the prior art, two magnetic sensors (for example, hall sensors) are arranged in an earphone storage box, and output ends of the magnetic sensors are connected to a processor (for example, an MCU) of the earphone storage box; the inside magnet that has of wireless earphone, the inside magnetic sensor of earphone receiver detects magnetic field variation when wireless earphone inserts or pulls out the earphone receiver, and the magnetic sensor output state changes, and the treater of earphone receiver detects the output state of magnetic sensor and can know whether wireless earphone is in the box. However, above-mentioned scheme all needs to set up components and parts on earphone receiver or wireless earphone, occupies the space on earphone receiver or the wireless earphone to the miniaturization of equipment has been restricted.
Disclosure of Invention
The embodiment of the application provides a wireless earphone, earphone receiver and wireless earphone system, is realizing that the earphone receiver is to wireless earphone when box state detection, can avoid setting up components and parts on earphone receiver or wireless earphone, occupies the space on earphone receiver or the wireless earphone, is favorable to the miniaturization of equipment.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, a method of determining a condition of an earphone receiver is provided. The earphone storage box is used for storing wireless earphones, the earphone storage box comprises a second processor and a second interface, and the wireless earphones comprise a first processor and a first interface; the second interface is used for being connected with the first interface of the wireless earphone when the wireless earphone is accommodated in the earphone accommodating box; responding to the uncovering operation of the earphone storage box, and sending a first message to the first processor through the second interface by the second processor; and if the second processor receives a second message through the second interface, wherein the second message corresponds to the first message, the second message is a message sent by the first processor through the first interface, and the second processor determines that the earphone storage box is in the storage state. In the above scheme, the earphone storage box comprises a second processor and a second interface connected with the second processor; the wireless headset includes a first processor and a first interface coupled to the first processor. Like this at wireless earphone income box after, wireless earphone accomodates in the earphone receiver, first interface and second interface connection, go out the box after as wireless earphone, first interface and second interface disconnection. In this way, after the second processor detects the uncovering operation of the earphone containing box, the first message is sent to the first interface through the second interface, and the second processor determines the in-box state of the wireless earphone according to whether the second interface receives the second message which is sent by the first processor through the first interface and responds to the first message. For example, when the wireless earphone is taken out of the box and the first interface and the second interface are disconnected, the second processor cannot receive any message through the second interface, and then the earphone storage box is determined to be in the non-storage state; when the wireless earphone is put into the box, the first interface is connected with the second interface, and the second processor can receive a second message which is sent by the first processor through the first interface and responds to the first message through the second interface, so that the earphone containing box is determined to be in the containing state. In the above-mentioned scheme, through having designed the information interaction mode between wireless earphone and the earphone receiver, and confirm the state of earphone receiver according to the result of information interaction mode, compared with the prior art, need not to set up the sensor that is used for the earphone receiver to wireless earphone in the box attitude detection in the earphone receiver, also need not to set up in the earphone and be used for the earphone receiver to wireless earphone specially to wireless earphone's components and parts such as the magnet that box attitude detected, can avoid setting up components and parts on earphone receiver or wireless earphone, occupy the space on earphone receiver or the wireless earphone, be favorable to the miniaturization of equipment.
In one possible embodiment, the method further comprises: if the second processor determines that the second message is not received through the second interface, the second processor determines that the earphone containing box is in an uncontracted state.
In a possible embodiment, before the second processor determines the opening operation of the earphone accommodating case, the method further includes: the second processor sends the first message to the first processor through the second interface according to a first preset period; the response to the uncovering operation of the earphone accommodating box, the second processor sends a first message to the first processor through the second interface, and the method comprises the following steps: responding to the uncovering operation of the earphone containing box, so that the second processor sends the first message to the first processor through the second interface according to a second preset period; wherein the time length of the first predetermined period is greater than the time length of the second predetermined period. Wherein, in order to save the power consumption of the wireless earphone when the wireless earphone is in the box, the second processor sends the first message, the first preset period can be set as long as possible. Then, in order to improve the accuracy of the wireless earphone out-of-box detection by the second processor after the second processor detects the opening operation of the earphone accommodating box, the period of the first message transmission can be reduced after the opening operation of the earphone accommodating box is detected.
In one possible embodiment, the method further comprises: in response to the cover opening operation of the earphone containing box, the second processor detects a signal of the second interface, when the second processor determines that the signal of the second interface is changed from a first signal to a second signal, the second processor configures the second interface as a communication interface, and sends a first message to the first processor through the second interface; the first signal is at a high level and the second signal is at a low level, or the first signal is at a low level and the second signal is at a high level.
In one possible embodiment, after the second processor determines that the earphone receiver is in the non-received state, the method further comprises: configuring the second interface as a non-communication interface.
In one possible embodiment, before the second processor detects the signal of the second interface, the second processor outputs the first signal to the second interface in response to an opening operation of the headphone housing case. Or, the second interface is connected to a first level end through a resistor, wherein the first level end provides the first signal to the second interface.
In one possible implementation, the first interface and the second interface are input/output IO interfaces.
In a second aspect, a method of determining a condition of an earphone receiver is provided. The earphone storage box is used for storing wireless earphones, the earphone storage box comprises a second processor and a second interface, and the wireless earphones comprise a first processor and a first interface; the second interface is used for being connected with the first interface of the wireless earphone when the wireless earphone is accommodated in the earphone accommodating box; the method comprises the following steps: the first processor receives a first message sent by the second processor through the first interface; in response to the first message, the first processor sends a second message to the second processor through the first interface, wherein the second message corresponds to the first message. The technical effects of the second aspect can be referred to the technical effects of the first aspect, and are not described herein again.
In a possible implementation manner, before the first processor receives, through the first interface, the first message sent by the second processor, the method further includes: when the first processor determines that the wireless headset is in the storage state, the first processor sends a second signal to the second interface through the first interface, and the first interface is configured as a communication interface.
In one possible embodiment, the wireless headset further comprises: a magnetic sensor connected to the first processor, the earphone accommodation case including a magnet corresponding to a position of the magnetic sensor; the first processor determining that the wireless headset is in a stowed state, comprising: the first processor receives a third signal sent by the magnetic sensor, wherein the third signal is generated by the magnetic sensor detecting the magnetic field of the magnet; the first processor determines that the magnetic field of the magnet is greater than a first magnetic field strength threshold according to the third signal, and then determines that the wireless headset is in a storage state.
In a third aspect, a method for determining a state of a headset receiver for receiving a wireless headset, the headset receiver comprising a second processor and a second interface, the wireless headset comprising a first processor and a first interface; the second interface is used for being connected with the first interface of the wireless earphone when the wireless earphone is contained in the earphone containing box; in response to the cover opening operation of the earphone containing box, the second processor sends a first message to the first processor through the second interface; the first processor receives a first message sent by the second processor through the first interface; in response to the first message, the first processor sending a second message to the second processor through the first interface, wherein the second message corresponds to the first message; if the second processor receives a second message through the second interface, wherein the second message is a message sent by the first processor through the first interface, the second processor determines that the earphone containing box is in a containing state. The technical effects of the third aspect can be referred to the technical effects of the first aspect, and are not described herein again.
In one possible embodiment, the method further comprises: if the second processor determines that the second message is not received through the second interface, the second processor determines that the earphone containing box is in an uncontracted state.
In one possible embodiment, after the second processor determines that the headphone storage case is in the non-storage state, the method further includes: the second processor configures the second interface as a non-communication interface.
In a possible implementation manner, before the second processor determines the opening operation of the earphone accommodating box, the method further includes: the second processor sends the first message to the first processor through the second interface according to a first preset period; the sending, by the second processor, a first message to the first processor through the second interface in response to the opening operation of the earphone accommodating box includes: responding to the uncovering operation of the earphone containing box, so that the second processor sends the first message to the first processor through the second interface according to a second preset period; wherein the time length of the first predetermined period is greater than the time length of the second predetermined period.
In one possible embodiment, the method further comprises: when the first processor determines that the wireless headset is in the storage state, the first processor sends a second signal to the second interface through the first interface, and the first interface is configured as a communication interface; in response to the cover opening operation of the earphone containing box, the second processor detects a signal of the second interface, when the second processor determines that the signal of the second interface is changed from a first signal to a second signal, the second processor configures the second interface as a communication interface, and sends a first message to the first processor through the second interface, wherein the first signal is at a high level and the second signal is at a low level, or the first signal is at a low level and the second signal is at a high level.
In one possible embodiment, before the second processor detects the signal of the second interface, the second processor outputs the first signal to the second interface in response to an opening operation of the headphone housing case.
In one possible embodiment, the second interface is connected to a first level terminal via a resistor, wherein the first level terminal provides the first signal to the second interface.
In one possible embodiment, the wireless headset further comprises: a magnetic sensor connected to the first processor, the earphone housing case including a magnet corresponding to a position of the magnetic sensor; the first processor determining that the wireless headset is in a stowed state, comprising: the first processor receives a third signal sent by the magnetic sensor, wherein the third signal is generated by the magnetic sensor detecting the magnetic field of the magnet; the first processor determines that the magnetic field of the magnet is greater than a first magnetic field strength threshold according to the third signal, and then determines that the wireless headset is in a storage state.
In a possible implementation, the first interface and the second interface are input/output IO interfaces.
In a fourth aspect, a headset storage box is provided, which is used for storing wireless headsets, and is characterized in that the headset storage box comprises a second processor and a second interface, and the wireless headset comprises a first processor and a first interface; the second interface is used for being connected with the first interface of the wireless earphone when the wireless earphone is accommodated in the earphone accommodating box; the second processor is used for responding to the uncovering operation of the earphone accommodating box and sending a first message to the first processor through the second interface; the second processor is further configured to determine that the earphone storage box is in the storage state if a second message is received through the second interface, where the second message corresponds to the first message, and the second message is a message sent by the first processor through the first interface. In the above scheme, the earphone storage box comprises a second processor and a second interface connected with the second processor; the wireless headset includes a first processor and a first interface coupled to the first processor. Like this at wireless earphone income box after, wireless earphone accomodates in the earphone receiver, first interface and second interface connection, go out the box after as wireless earphone, first interface and second interface disconnection. In this way, after the second processor detects the uncovering operation of the earphone containing box, the first message is sent to the first interface through the second interface, and the second processor determines the in-box state of the wireless earphone according to whether the second interface receives the second message which is sent by the first processor through the first interface and responds to the first message. For example, after the wireless earphone is taken out of the box, the first interface and the second interface are disconnected, the second processor cannot receive any message through the second interface, and the earphone storage box is determined to be in an uncontained state; when the wireless earphone is put into the box, the first interface is connected with the second interface, and the second processor can receive a second message which is sent by the first processor through the first interface and responds to the first message through the second interface, so that the earphone containing box is determined to be in a containing state. In the above-mentioned scheme, through having designed the information interaction mode between wireless earphone and the earphone receiver, and confirm the state of earphone receiver according to the result of information interaction mode, for prior art, need not to set up the sensor that is used for the earphone receiver to wireless earphone in the box attitude detection, also need not to set up to be used for the earphone receiver to wireless earphone's components and parts such as the magnet that detect at the box attitude specially detect at the box attitude, can avoid setting up components and parts on earphone receiver or wireless earphone, occupy the space on earphone receiver or the wireless earphone, be favorable to the miniaturization of equipment.
In a possible implementation manner, the second processor is further configured to determine that the earphone receiving box is in an uncontracted state if it is determined that the second message is not received through the second interface.
In a possible embodiment, the second processor is further configured to configure the second interface as a non-communication interface after determining that the earphone receiving case is in the non-receiving state.
In a possible implementation, the second processor is further configured to send the first message to the first processor through the second interface according to a first predetermined period; responding to the uncovering operation of the earphone storage box, and sending the first message to the first processor through the second interface according to a second preset period; wherein the time length of the first predetermined period is greater than the time length of the second predetermined period. Wherein, in order to save the power consumption of the wireless earphone when the wireless earphone is in the box, the second processor sends the first message, the first preset period can be set as long as possible. Then, in order to improve the accuracy of the wireless earphone out-of-box detection by the second processor after the second processor detects the opening operation of the earphone accommodating box, the period of the first message transmission can be reduced after the opening operation of the earphone accommodating box is detected.
In a possible implementation manner, the second processor is further configured to detect a signal of the second interface in response to a lid opening operation of the earphone receiving box, configure the second interface as a communication interface when the second processor determines that the signal of the second interface changes from a first signal to a second signal, and send a first message to the first processor through the second interface, where the first signal is at a high level and the second signal is at a low level, or the first signal is at a low level and the second signal is at a high level.
In a possible implementation manner, the second processor is further configured to output the first signal to the second interface in response to an uncovering operation of the earphone accommodating case before detecting the signal of the second interface.
In one possible embodiment, the second interface is connected to a first level terminal via a resistor, wherein the first level terminal provides the first signal to the second interface.
In a possible implementation, the first interface and the second interface are input/output IO interfaces.
In a fifth aspect, a wireless headset is provided, wherein the headset storage box is used for storing the wireless headset, and is characterized by comprising a second processor and a second interface, and the wireless headset comprises a first processor and a first interface; the second interface is used for being connected with the first interface of the wireless earphone when the wireless earphone is accommodated in the earphone accommodating box; the first processor is configured to receive, through the first interface, a first message sent by the second processor; the first processor is further configured to send a second message to the second processor through the first interface in response to the first message, where the second message corresponds to the first message. The technical effects of the fifth aspect can be referred to the technical effects of the fourth aspect, and are not described herein again.
In a possible implementation manner, the first processor is further configured to, before receiving the first message sent by the second processor through the first interface, send a second signal to the second interface through the first interface when it is determined that the wireless headset is in the storage state, and configure the first interface as a communication interface.
In one possible embodiment, the wireless headset further comprises: a magnetic sensor connected to the first processor, the earphone accommodation case including a magnet corresponding to a position of the magnetic sensor; the first processor is specifically configured to receive a third signal sent by the magnetic sensor, where the third signal is generated by the magnetic sensor detecting a magnetic field of the magnet; and determining that the magnetic field of the magnet is greater than a first magnetic field strength threshold value according to the third signal, and determining that the wireless earphone is in a storage state.
In a sixth aspect, there is provided a wireless headset system comprising: the wireless earphone and the earphone storage box are arranged on the base.
For technical effects brought by the sixth aspect, reference may be made to technical effects brought by different implementation manners in the first aspect to the fifth aspect, and details are not described here.
Drawings
Fig. 1 is a schematic structural diagram of a wireless headset system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a wireless headset system according to another embodiment of the present application;
fig. 3 is a schematic hardware structure diagram of a wireless headset according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a wireless headset system according to still another embodiment of the present application;
fig. 5 is a schematic flow chart of a method for determining a state of an earphone storage box according to an embodiment of the present application;
fig. 6 is a schematic flow chart illustrating a method for determining a state of a storage case of an earphone according to another embodiment of the present application;
fig. 7 is a flowchart illustrating a method for determining a state of a storage box of an earphone according to still another embodiment of the present application;
fig. 8 is a flowchart illustrating a method for determining a state of a storage box of an earphone according to another embodiment of the present application;
fig. 9 is a schematic structural diagram of a wireless headset system according to yet another embodiment of the present application;
fig. 10 is a flowchart illustrating a method for determining a condition of a receiver of an earphone according to another embodiment of the present application;
fig. 11 is a schematic structural diagram of a wireless headset system according to another embodiment of the present application;
fig. 12 is a schematic structural diagram of a wireless headset system according to still another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
In the following, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or as implying any indication of the number of technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "disposed," "connected," and "connected" are to be construed broadly, e.g., as meaning fixedly connected, detachably connected, or integrally connected; the specific meaning of the above terms in this application will be understood to be a specific case for those of ordinary skill in the art.
The wireless earphone can be used in cooperation with electronic equipment such as a mobile phone, a notebook computer, a watch and the like, and is used for processing audio services such as media, conversation and the like of the electronic equipment and other data services. For example, the audio service may include media services such as playing music, recording, sound in a video file, background music in a game, incoming call alert tone, etc. for the user; the method can also comprise playing voice data of an opposite terminal for a user or collecting voice data of the user and sending the voice data to the opposite terminal under call service scenes such as telephone, weChat voice message, audio call, video call, game, voice assistant and the like.
The premise that the wireless earphone is matched with the electronic equipment to provide various services for the user is as follows: the wireless headset is removed from the headset receiver by the user. Wherein, when wireless earphone was taken out by the user from the earphone receiver, need in time detect this wireless earphone and go out the box, just can in time start wireless earphone's correlation function (like bluetooth function and wear detection function etc.). Similarly, when wireless earphone is put into the earphone receiver, the above-mentioned function of wireless earphone just can in time be closed to the income box that needs in time to detect this wireless earphone to save wireless earphone's electric quantity. It follows that the in-out box detection of a wireless headset is particularly important for wireless headsets. In addition, when the earphone goes out of the box or goes into the box, the earphone storage box also needs to be capable of detecting out the in-and-out box of the wireless earphone in time, and the wireless earphone can be charged in time. The wireless earphones provided by the embodiments of the present application are not limited to the headset type, the neck-wearing type, the earplug type, the ear-hanging type, the in-ear type, and the like, and all wireless earphones which need to be used with the earphone storage box belong to the protection scope of the embodiments of the present application. Of course, the following schemes are provided in the drawings and mainly described by taking the earplug type as an example.
Generally, two magnetic sensors (for example, hall sensors) are arranged in an earphone storage box, and the output ends of the magnetic sensors are connected to a processor (for example, an MCU) of the earphone storage box; the inside magnet that has of wireless earphone, the inside magnetic sensor of earphone receiver detects magnetic field variation when wireless earphone inserts or pulls out the earphone receiver, and the magnetic sensor output state changes, and the treater of earphone receiver detects the output state of magnetic sensor and can know whether wireless earphone is in the box. However, all above-mentioned schemes need to set up components and parts on earphone receiver or wireless earphone, occupy the space on earphone receiver or the wireless earphone.
The embodiment of the application provides a wireless headset, a headset storage box and a wireless headset system, wherein the wireless headset can perform information interaction with the headset storage box so as to determine the headset storage box state (in the embodiment of the application, some schemes are also called as the in-box state of the wireless headset), such as a storage state and an uncontained state. So, can avoid because wireless earphone and earphone receiver set up the space that components and parts occupy wireless earphone and earphone receiver, restrict the miniaturization of equipment.
Referring to fig. 1, a schematic diagram of a wireless headset system provided in an embodiment of the present application is shown. As shown in fig. 1, the wireless headset system 100 may include a wireless headset 11 and a headset housing case 12.
The wireless headset 11 includes a pair of headset bodies, such as a pair of headset bodies 111, which can be used with the left and right ears of the user. The wireless earphone 11 may be a head-wearing type, a neck-wearing type, an ear-plugging type, an ear-hanging type, or an in-ear type. The wireless headset 11 may be, for example, a True Wireless Stereo (TWS) headset.
The earphone storage case 12 can be used to store the earphone body 111. For example, the earphone housing case 12 includes two housing cavities 121. The receiving cavity 121 is used for receiving the earphone body 111.
It should be noted that fig. 1 is a schematic diagram showing an example of a product form of a wireless headset system by way of example only, and the wireless headset provided in the embodiment of the present application includes, but is not limited to, the wireless headset 11 shown in fig. 1, and the headset storage box includes, but is not limited to, the headset storage box 12 shown in fig. 1. For example, the wireless headset system provided in the embodiment of the present application may also be the wireless headset system 200 shown in fig. 2. As shown in fig. 2, the wireless headset system 200 includes a wireless headset 21 and a headset housing case 22. The wireless headset 21 includes two headset bodies 211. The earphone accommodation case 22 includes an accommodation cavity for accommodating the earphone body 211. Of course, some wireless headsets may also include only one headset body, and embodiments of the present application are not described here.
For example, fig. 3 shows a schematic structural diagram of an earphone body 300 of a wireless earphone. The headset body 300 may include a processor 301, a memory 302, a wireless module 303, an audio module 304, a power module 305, a plurality of input/output IO interfaces 306, a sensor module 307, and the like. The processor 301 may include one or more interfaces for connecting with other components of the headset body 300. Wherein the one or more interfaces may include: IO interfaces (also referred to as IO pins), interrupt pins, data bus interfaces, and the like. Wherein, the data bus interface can include: one or more of an SPI interface, an I2C interface, and an I3C interface. For example, in the embodiment of the present application, the processor 301 may be connected to the magnetic sensor and the first interface through an IO pin, an interrupt pin, or a data bus interface. The earphone body 300 is stored in an earphone storage case.
The memory 302 may be used to store program codes, such as program codes for charging the headset body 300, wirelessly pairing the headset body 300 with other electronic devices, or wirelessly communicating the headset body 300 with the electronic devices. The memory 302 may also have stored therein a bluetooth address for uniquely identifying the wireless headset. In addition, the memory 302 may also store connection data with electronic devices that have been successfully paired with the wireless headset previously. For example, the connection data may be a bluetooth address of the electronic device that was successfully paired with the wireless headset. Based on the connection data, the wireless headset can be automatically paired with the electronic device without having to configure a connection therewith, such as for legitimacy verification and the like. The bluetooth address may be a Media Access Control (MAC) address.
The processor 301 may be configured to execute the application program codes and call the relevant modules to implement the functions of the headset body 300 in the embodiment of the present application. For example, a charging function of the earphone body 300, a wireless communication function, an audio data playing function, and an in-out box detection function, etc. are realized. The processor 301 may include one or more processing units, and the different processing units may be separate devices or may be integrated in one or more of the processors 301. The processor 301 may be specifically an integrated control chip, or may be composed of a circuit including various active and/or passive components, and the circuit is configured to execute the functions belonging to the processor 301 described in the embodiments of the present application. The processor of the earphone body 300 may be a Micro Controller Unit (MCU).
The sensor module 307 may include a distance sensor and/or a proximity light sensor. For example, as shown in FIG. 3, the sensor module 307 includes a proximity light sensor and/or a distance sensor. The processor 301 may determine whether the headset body 300 is worn by the user according to data collected by the distance sensor or the proximity light sensor. For example, the processor 301 may detect whether an object is near the headset body 300 using data collected by a distance sensor, thereby determining whether the headset body 300 is worn by the user. Upon determining that the earphone body 300 is worn, the processor 301 may turn on the speaker of the earphone body 300. In some embodiments, the headset body 300 may also include a bone conduction sensor, incorporated into a bone conduction headset. By using the bone conduction sensor, the processor 301 can acquire the vibration signal of the bone mass vibrated by the sound part, analyze the voice signal and realize the voice function.
For another example, the outer surface of the earphone body 300 may further include: a touch sensor for detecting a touch operation of a user; the fingerprint sensor is used for detecting the fingerprint of the user, identifying the identity of the user and the like; the ambient light sensor can adaptively adjust some parameters (such as volume) according to the perceived brightness of the ambient light; and other sensors.
It is emphasized that the sensor module 307 further includes a magnetic sensor 307A (for example, the earphone body 42 shown in fig. 9 includes a magnetic sensor 413). The magnetic sensor 307A is used to detect the magnetic induction of the magnetic field around the headphone body 300. The processor 301 can detect the out-of-box or in-box of the earphone body 300 according to the change of the magnetic induction detected by the magnetic sensor. The magnetic sensor may be, for example, a hall sensor or magnetometer. In addition, the processor 301 may execute the method of the present example to perform information interaction with the headset receiver.
The wireless module 303 may be configured to support data exchange of wireless communication between the headset body 300 and other electronic devices or headset storage boxes, including Bluetooth (BT), global Navigation Satellite System (GNSS), wireless Local Area Network (WLAN) (e.g., wireless fidelity (Wi-Fi) network), frequency Modulation (FM), short-range wireless communication technology (NFC), infrared technology (infrared, IR), and the like. In some embodiments, the wireless communication module 303 may be a bluetooth chip. The headset body 300 can be paired with bluetooth chips of other electronic devices through the bluetooth chip and establish wireless connection, so that wireless communication between the headset body 300 and other electronic devices is realized through the wireless connection. For example, in this embodiment, the wireless module 303 may be configured to send the remaining power of the earphone storage box to an electronic device that establishes a wireless connection (e.g., bluetooth connection) with the earphone body 300 after the processor 301 determines that the earphone body 300 is out of the box.
The wireless module 303 may further include an antenna, and the wireless communication module 303 may receive an electromagnetic wave via the antenna, frequency-modulate and filter an electromagnetic wave signal, and transmit the processed signal to the processor 301. The wireless module 303 may also receive a signal to be transmitted from the processor 301, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves via an antenna to radiate the electromagnetic waves. The wireless module 303 can also be used to charge the wireless headset wirelessly in cooperation with a wireless module in the headset storage box.
The audio module 304 may be used to manage audio data and enable the earphone body 300 to input and output audio signals. For example, the audio module 304 may obtain an audio signal from the wireless module 303 or transmit the audio signal to the wireless module 303, so as to implement functions of making and receiving calls, playing music, activating/deactivating a voice assistant of an electronic device connected to the headset, receiving/transmitting voice data of a user, and the like through the headset body. The audio module 304 may include a speaker (or called an earphone or a receiver) for outputting an audio signal, a microphone (or called a microphone or a microphone), a microphone receiving circuit cooperating with the microphone, and so on. The speaker may be used to convert the electrical audio signal into an acoustic signal and play it. The microphone may be used to convert sound signals into electrical audio signals. The audio module 304 (e.g., a speaker, also referred to as a "speaker") includes a magnet (e.g., a magnet) therein. The magnetic field around the earphone body 300 includes the magnetic field generated by the magnet. The magnetic field generated by the magnet may affect the magnitude of the magnetic induction intensity collected by the magnetic sensor of the earphone body 300.
A power module 305, which can be used to provide a system power supply for the earphone body 300 and supply power to each module of the earphone body 300; the supporting headset body 300 receives a charging input, etc. The power module 305 may include a Power Management Unit (PMU) and a battery (i.e., a first battery). The power management unit may include a charging circuit, a voltage drop adjusting circuit, a protection circuit, an electric quantity measuring circuit, and the like. The charging circuit may receive an external charging input. The voltage drop adjusting circuit may transform the electrical signal input by the charging circuit and output the transformed electrical signal to the battery to complete charging of the battery, and may transform the electrical signal input by the battery and output the transformed electrical signal to other modules such as the audio module 304 and the wireless communication module 303. The protection circuit can be used to prevent overcharge, overdischarge, short circuit, overcurrent, or the like of the battery. In some embodiments, the power module 305 may further include a wireless charging coil for wirelessly charging the headset body 300. In addition, the power management unit can also be used for monitoring parameters such as battery capacity, battery cycle number, battery health state (electric leakage and impedance) and the like.
A plurality of input/output interfaces 306 may be used to provide wired connections for charging or communication between the earphone body 300 and the earphone receiver. In some embodiments, the input/output interface 306 may include a headphone electrical connector for conducting and transmitting electrical current. When the earphone body 300 is placed in the receiving cavity of the earphone receiving case, the earphone body 300 can be electrically connected with the electrical connector in the earphone receiving case through the earphone electrical connector (e.g., the earphone electrical connector is in direct contact with the electrical connector in the earphone receiving case). After this electrical connection is established, the earphone receiver can charge the battery in the earphone body 300 through the current transfer function of the earphone electrical connector and the electrical connector in the earphone receiver. For example, the earphone electrical connector may be a pogo pin, a spring, a conductive block, a conductive patch, a conductive sheet, a pin, a plug, a contact pad, a jack, a socket, or the like, and the embodiment of the present invention is not limited to a specific type of the electrical connector. In other embodiments, after the electrical connection is established, the headset body 300 may also be in data communication with the headset receiver, for example, may receive a pairing instruction from the headset receiver.
It is to be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation to the earphone body 300. It may have more or fewer components than shown in fig. 3, may combine two or more components, or may have a different configuration of components. For example, the housing of the earphone body may further include a magnet (e.g., a magnet) for attracting the earphone receiving case to allow the earphone body to be received in the receiving cavity. The magnetic field around the earphone body 300 includes the magnetic field generated by the magnet. The magnetic field generated by the magnet may affect the magnitude of the magnetic induction intensity collected by the magnetic sensor of the earphone body 300. For another example, the outer surface of the earphone body 300 may further include a key, an indicator (which may indicate states of power, incoming/outgoing call, pairing mode, and the like), a display (which may prompt related information of a user), a dust screen (which may be used in cooperation with an earphone), and the like. The key may be a physical key or a touch key (used in cooperation with the touch sensor), and is used for triggering operations such as startup, shutdown, pause, play, recording, starting charging, stopping charging, and the like.
The various components shown in fig. 3 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing or application specific integrated circuits.
In other embodiments, the headset housing may include a processor, memory, etc. therein. The memory may be used to store application program code and be controlled by the processor of the earphone pod to perform various functions of the earphone pod. For example, the processor of the earphone storage case charges the wireless earphone after the wireless earphone is put into the case and the cover of the earphone storage case is closed by executing the application program code stored in the memory.
The headset receiver may also include a power module and a plurality of input/output interfaces. This power module can supply power for the electrical component in the earphone receiver. In some embodiments, the input/output interface may be an electrical connector that is electrically connected to an electrode of the power module and may be used to conduct and transmit electrical current. The earphone storage box can comprise two pairs of electric connectors corresponding to the two earphone bodies respectively. When a pair of electric connectors in the earphone containing box are respectively and electrically connected with two earphone electric connectors in the earphone body, the earphone containing box can charge the battery in the earphone body or transmit information through the power supply module of the earphone containing box.
In other embodiments, at least one touch control may be disposed on the earphone storage box, and may be used to trigger the wireless earphone to perform functions such as pairing reset or charging the wireless earphone. The earphone receiver can also be provided with one or more electric quantity pilot lamps to the electric quantity size of battery in the earphone receiver is indicateed to the user, and the electric quantity size of battery in every earphone body in the earphone receiver.
In addition, can also be provided with the interface that charges on this earphone receiver for the earphone receiver charges for the battery of self. The earphone storage box can further comprise a wireless charging coil, and the wireless charging coil is used for wirelessly charging a battery of the earphone storage box or wirelessly charging the wireless earphone. It will be appreciated that the earphone pod may also include other components, which will not be described herein.
The method of determining the state of the earphone accommodating case in the following embodiments can be implemented in the wireless earphone and the earphone accommodating case having the above hardware structure.
As shown in fig. 4, the earphone storage box 41 includes a second processor 411, and the second processor 411 is connected to the second interface 412; when the wireless earphone 42 is accommodated in the earphone accommodating case 41, the second interface 412 is connected with the first interface 421 of the wireless earphone 42; the first interface 421 is connected to the first processor 422 of the wireless headset 42, wherein fig. 4 shows the wireless headset-L worn on the left side (left) and the wireless headset-R worn on the right side (right), and the following scheme takes either one as an example. The first processor 422 may be the processor 301 (for example, may be an MCU) shown in fig. 3, and the second processor 411 may be a processor in the earphone storage box. The first interface 421 may be the input/output IO interface 306 shown in fig. 3, and the second interface 412 may be an input/output interface in the earphone storage box; for example, the first interface 421 may be a pogo pin, a spring plate, a conductive block, a conductive patch, a conductive sheet, a pin, a plug, a contact pad, a jack, a socket, or the like in an electrical connector; the second port 412 is configured to mate with the first port 421 to enable connection. For example, the first interface may be an input/output IO interface separately provided on the first processor for implementing the present application, and the second interface may be an input/output IO interface separately provided on the second processor for implementing the present application. In some embodiments, the first interface and the second interface may also multiplex interfaces of other existing functions on the device; for example, the first interface may multiplex an interface in an electrical connector (PWR) in the wireless headset that charges the wireless headset; second interface + scheme provided by the embodiment.
Referring to fig. 5, the method for determining the state of the earphone accommodating box specifically includes:
101. the second processor responds to the uncovering operation of the earphone containing box and sends a first message to the first interface through the second interface.
Generally, the cover body and the body of the earphone accommodating box are connected through a hinge (as shown in fig. 1) or are designed in a separated mode (as shown in fig. 2); in order to realize the detection of the opening operation of the earphone accommodating box, a travel switch can be arranged on the body, when the cover body is buckled with the body, the travel switch is triggered to be in a first state, and when the cover body is opened from the body, the travel switch is released and is in a second state; the second processor may determine the decapping operation by detecting the state of the travel switch. Although only one example is described here, in other schemes, the second processor may also detect the state of the cover through a sensor disposed on the body to achieve detection of the cover opening operation, for example, the optical sensor disposed on the inner edge of the body may detect light intensity, and when the cover is engaged with the body, the optical sensor is shielded, and then the optical sensor detects lower light intensity; when the cover body is opened, the optical sensor is exposed, and the optical sensor detects high light intensity; the second processor may determine the uncapping operation by detecting the light intensity of the optical sensor; another example is: the cover body can be provided with a magnet, a magnetic field is detected through a magnetic field sensor arranged on the body, when the cover body is buckled with the body, the magnetic field sensor detects a first magnetic field intensity generated by the magnet on the cover body, the buckling of the cover body and the body is determined, and when the cover body is opened, the magnetic field sensor detects a second magnetic field intensity generated by the magnet on the cover body due to the change of the relative position of the magnet on the cover body and the magnetic field sensor on the body; the second processor may determine the uncapping operation through a change in the magnetic field strength detected by the magnetic field sensor.
102. The second processor determines the in-box state of the wireless headset according to whether the second interface receives a second message which is sent by the first processor through the first interface and responds to the first message.
The wireless earphone comprises a box state and an uncollected state, wherein the box state of the wireless earphone comprises a storage state and an uncollected state, the storage state refers to that the wireless earphone is in the box, and the uncollected state refers to that the wireless earphone is out of the box. In the following schemes, the wireless earphone in-box is used for indicating the storage state, and the wireless earphone out-box is used for indicating the non-storage state. For example: if the second processor receives a second message through the second interface, the second message is a message sent by the first processor through the first interface, and the second processor determines that the earphone storage box is in the storage state. If the second processor determines that the second message is not received through the second interface, the second processor determines that the earphone storage box is in an uncollapsed state.
In the above scheme, specific forms of the first message and the second message are not limited, the second message corresponds to the first message, and as long as the first processor receives, through the first interface, the first message sent by the second processor through the second interface, the first processor feeds back, to the second processor, the second message responding to the first message through the first interface. For example, the first message may be an inquiry message and the second message may be a response message.
In the above scheme, the earphone storage box comprises a second processor and a second interface connected with the second processor; the wireless headset includes a first processor and a first interface connected to the first processor. After the wireless earphone enters the box, the wireless earphone is stored in the earphone storage box, the first interface is connected with the second interface, and when the wireless earphone goes out of the box, the first interface is disconnected with the second interface. In this way, after the second processor detects the uncovering operation of the earphone containing box, the first message is sent to the first interface through the second interface, and the second processor determines the in-box state of the wireless earphone according to whether the second interface receives the second message which is sent by the first processor through the first interface and responds to the first message. For example, when the wireless earphone is taken out of the box and the first interface and the second interface are disconnected, the second processor cannot receive any message through the second interface, and then the earphone storage box is determined to be in the non-storage state; when the wireless earphone is put into the box, the first interface is connected with the second interface, and the second processor can receive a second message which is sent by the first processor through the first interface and responds to the first message through the second interface, so that the earphone containing box is determined to be in the containing state. In the above-mentioned scheme, through having designed the information interaction mode between wireless earphone and the earphone receiver, and confirm the state of earphone receiver according to the result of information interaction mode, compared with the prior art, need not to set up the sensor that is used for the earphone receiver to wireless earphone in the box attitude detection in the earphone receiver, also need not to set up in the earphone and be used for the earphone receiver to wireless earphone specially to wireless earphone's components and parts such as the magnet that box attitude detected, can avoid setting up components and parts on earphone receiver or wireless earphone, occupy the space on earphone receiver or the wireless earphone, be favorable to the miniaturization of equipment.
The following describes a method for determining the state of an earphone accommodating box in the process of box-out detection and box-in detection of a wireless earphone respectively:
for the earphone out-of-box detection process, referring to fig. 6, the method comprises the following steps:
201. the second processor responds to the uncovering operation of the earphone containing box and sends a first message to the first interface through the second interface.
Specifically, when detecting an out-of-box for a wireless headset, the wireless headset should be accommodated in a headset accommodating box. Before the second processor detects the uncovering operation of the earphone containing box, the wireless earphones need to be determined to be in the box (namely, the wireless earphones are contained in the earphone containing box), and the earphone containing box can determine the state of the earphone containing box according to the following mode, for example, the second processor of the earphone containing box can set and record the identification position according to the result of the last wireless earphones going out of the box and going into the box detection process, for example, when the earphone containing box is in the containing state, the recorded identification position is set to be 1, and when the earphone containing box is in the non-containing state, the identification position is set to be 0. In the embodiment of the present application, before the second processor detects the opening operation of the earphone storage case, the state of the earphone storage case may also be determined in the following manner. The second processor sends a first message to the first interface through the second interface according to a preset period; the second processor receives, through the second interface, a second message sent by the first processor through the first interface in response to the first message. In this way, since the second message in response to the first message, which is sent by the first processor of the wireless headset through the first interface, can be periodically received before the second processor detects the uncapping operation, it is stated that the wireless headset is in the box. Therefore, the second processor continues to detect the wireless earphone outgoing box after detecting the opening operation of the earphone accommodating box.
202. The second processor determines that the second message is not received through the second interface, and determines that the earphone storage box is in an uncontracted state.
Specifically, after the wireless headset is taken out of the box, the connection between the first interface and the second interface is disconnected, so that the second processor does not receive a second message which is sent by the first processor through the first interface and responds to the first message through the second interface, and accordingly the second processor can determine that the headset storage box is in an uncontained state, namely, the wireless headset is taken out of the box. In order to ensure the accuracy of the judgment of the wireless earphone out of the box, for example, to avoid the misoperation of a user, the wireless earphone is taken out and put back immediately, and meanwhile, the false detection caused by the communication failure can also be avoided. Step 202 may specifically be that the second processor determines that the second message is not received through the second interface for at least n predetermined periods, and determines that the wireless headset is out of the box, for example, n may be a positive integer, and in some embodiments, n may be set to 3. Referring to fig. 7, the second processor may maintain a count value, and set the count value to 1 if the second processor does not receive the second message after the second processor detects the uncovering operation of the earphone accommodating box and sends the first message for the first time; sending the first message for the second time after a preset period, if the second message is not received, counting the value by +1, and if the counting value is equal to 3, determining that the wireless earphone is taken out of the box; otherwise, if the second processor receives the second message, the count value is cleared. Further, if n is configured to be 3, the count value is cleared after it is determined that the wireless headset is out of the box.
Wherein, in order to save the power consumption of the wireless earphone when the wireless earphone is in the box, the second processor sends the first message, the preset period can be set as long as possible. Then, in order to improve the accuracy of the wireless earphone ejection detection performed by the second processor after the second processor detects the opening operation of the earphone storage box, the duration of a predetermined period may be reduced after the opening operation of the earphone storage box is detected, for example, before the second processor determines the opening operation of the earphone storage box, a first message may be sent to the first processor through the second interface according to a first predetermined period; responding to the uncovering operation of the earphone storage box, and sending a first message to the first processor through the second interface according to a second preset period by the second processor; wherein the time length of the first predetermined period is greater than the time length of the second predetermined period. For example, the predetermined period may be set to 60s before the opening operation of the earphone accommodation case is detected, that is, the second processor transmits the first message to the earphone accommodation case every 60s, and may be reduced to 100ms after the opening operation of the earphone accommodation case is detected, that is, the second processor transmits the first message to the earphone accommodation case every 100 ms.
For the in-box detection process of the earphone, referring to fig. 8, the method comprises the following steps:
301. the second processor responds to the uncovering operation of the earphone containing box and sends a first message to the first interface through the second interface.
When the wireless headset is used for the headset entering detection, the headset containing box is in an uncontained state (namely, an empty box), namely, the wireless headset is not contained in the headset containing box. Before the second processor detects the uncovering operation of the earphone containing box, the earphone containing box needs to be determined to be in an uncontained state (namely, the wireless earphone is not contained in the earphone containing box) at the same time, and the earphone containing box can determine whether the wireless earphone is in the box according to the following mode, for example, the second processor of the earphone containing box can set and record an identification bit according to the result of the last wireless earphone out-box and in-box detection process, for example, when the earphone containing box is in a contained state, the recorded identification bit is set to be 1, and when the earphone containing box is in an uncontained state, the identification bit is set to be 0. In the embodiment of the application, before the second processor detects the uncovering operation of the earphone storage box, it may also be determined that the earphone storage box is in the uncontained state in the following manner. The second processor sends a first message to the first interface through the second interface according to a preset period; the second processor does not receive, via the second interface, a second message sent by the first processor via the first interface in response to the first message. In this way, since the first message can be periodically transmitted to the wireless headset before the second processor detects the lid opening operation, since the wireless headset is not stored in the headset housing case, the second processor cannot receive the second message, which is transmitted from the first processor through the first interface and responds to the first message, through the second interface, thereby indicating that the headset housing case is in the non-stored state. Therefore, the second processor continues to detect the wireless earphone entering box after detecting the opening operation of the earphone accommodating box.
302. The first processor receives a first message sent by the second processor through the second interface through the first interface.
Wherein, prior to step 302, the first processor needs to be able to implement in-box detection of the wireless headset to determine that the wireless headset is in a stowed state (i.e., the wireless headset is in-box). As shown in fig. 4, the wireless headset 42 further includes a magnetic sensor 423 connected to the first processor 422, and the headset housing case 41 includes a magnet 413 corresponding to a position of the magnetic sensor 423; the first processor 422 determines that the wireless headset is in the stowed state, including: the first processor receives a third signal sent by the magnetic sensor, wherein the third signal is generated by the magnetic sensor detecting the magnetic field of the magnet; the first processor determines that the magnetic field of the magnet is greater than a first magnetic field strength threshold according to the third signal, and then determines that the wireless headset is in a storage state.
Fig. 1 shows a schematic view of the earphone housing case 12 for housing the wireless earphone 11. Fig. 2 shows a schematic view of the earphone storage case 22 for storing the wireless earphone 21. In some embodiments, the earphone pods may have one or more magnets therein. For example, the one or more magnets may include: a magnet for attracting the wireless earphone (such as the earphone body of the wireless earphone) to enable the wireless earphone to be accommodated in the accommodating cavity; a magnet used for the closed adsorption of the box body and the box cover of the earphone containing box; and a magnet corresponding to a magnetic sensor in the wireless headset. For example, as shown in fig. 9, two magnets 413 are included in the headphone housing case 41. When the earphone body 42 is accommodated in the accommodating cavity of the earphone accommodating case 41, the magnetic field around the earphone body 42 includes the magnetic field generated by the magnet 413. The magnetic field generated by the magnet 413 affects the magnitude of the magnetic induction collected by the magnetic sensor of the earphone body 42. Illustratively, the magnetic sensor 423 is coupled to the first processor 422 through an IO pin or an interrupt pin of the first processor 422. Alternatively, the magnetic sensor 423 may be coupled to the processor 422 via a data bus. For example, the data bus may be at least one of an SPI bus, an I2C bus, or an I3C bus. The first processor 422 may be a microprocessor. A microprocessor is a central processing unit consisting of one or a few large scale integrated circuits. The magnetic sensor 423 may be a hall sensor, or a magnetometer. When the earphone body 42 is in the case state, the magnetic sensor 423 can detect the magnetic induction intensity of the magnetic field generated by the magnet in the earphone accommodation case 41; when the earphone body is in the out-of-case state, the magnetic sensor 423 cannot detect the magnetic induction intensity of the magnetic field generated by the magnet in the earphone accommodation case 42; alternatively, when the earphone body 42 is in the case state, the magnetic sensor 423 may detect that the magnetic induction intensity of the magnetic field generated by the magnet in the earphone accommodation case 41 is high; when the earphone body is in the outside-case state, the magnetic sensor 423 detects that the magnetic field generated by the magnet in the earphone accommodation case 42 is low. It can be seen that when the earphone body 42 is in different states (e.g., in the case state or the out-of-case state), the magnetic induction intensity detected by the magnetic sensor 423 is different. Accordingly, the first processor may determine that the wireless headset is in the box according to a third signal generated by the magnetic sensor detecting the magnetic field of the magnet. Specifically, the third signal may be an interrupt signal sent by the magnetic sensor, for example, the magnetic sensor generates a high level when detecting that the magnetic field of the magnet is greater than the threshold of the first magnetic field strength, and generates a low level when detecting the second magnetic field strength, so that a signal change process (a change from the high level to the low level forms a falling edge signal) can be detected at the first processor 422, thereby generating the interrupt signal. Alternatively, the magnetic sensor may directly transmit the third signal carrying the strength of the magnetic field of the magnet detected by the magnetic sensor to the first processor, so that the first processor may determine that the wireless headset is in the box when determining that the magnetic field of the magnet is greater than the first threshold magnetic field strength. Certainly, since the speaker in the wireless headset further includes a magnet, and one or more magnets are also present in the headset storage box, the magnetic field detected by the magnetic sensor in the wireless headset is affected, and at this time, the magnetic sensor detects a third signal generated by the sum of the magnetic fields of the plurality of magnets, and thus it is determined that the wireless headset is in the box.
303. The first processor sends a second message to the second processor through the first interface in response to the first message.
304. And the second processor receives the second message through the second interface and determines that the earphone containing box is in the containing state.
Specifically, in the above embodiment, the first processor of the headset mainly detects that the wireless headset is in the box to trigger the receiving process of the first message, that is, only when the headset is in the box and the first interface and the second interface are in the connection state, the headset can receive the first message. As described above, in particular, the earphone may start receiving the first message using the first interface after determining that the wireless earphone is in the box according to the third signal generated by the magnetic sensor detecting the magnetic field of the magnet.
In addition, the first interface and the second interface are input/output (IO) interfaces. The input/output IO interface is mainly used for communication and information exchange among devices; in the embodiment of the present application, the input/output IO interface may implement input or output of a signal from one device to another device, for example: input or output of high and low level signals; the input/output IO interface may also be configured as a communication interface for data transmission, for example, in an embodiment of the present application, the communication interface is mainly used for data transmission of a first message serving as a query message and a second message serving as a response message. When the input/output IO interface is configured as a communication interface, the communication interface may be a universal asynchronous receiver/transmitter (UART) interface. Therefore, the first interface and the second interface need to be configured as communication interfaces before data transmission is performed between the first interface and the second interface. In addition, after the wireless headset is placed in the box, the first interface and the second interface can communicate, so that the wireless headset can keep the communication connection between the first interface and the second interface in the box state; after the wireless headset is taken out of the box, the first interface and the second interface are disconnected, and the first interface and the second interface are no longer communicated, so that the first interface and the second interface recover a non-communication interface (i.e. an input/output (IO) interface), wherein the non-communication interface is not functionally used for transmission of the first message and the second message. When the wireless headset is boxed again, the first interface and the second interface need to be configured as communication interfaces again. Of course, the first interface and the second interface provided in other embodiments of the present application may refer to the above-mentioned related descriptions. Moreover, the descriptions of the communication interface, the non-communication interface, and the input/output IO interface in the embodiments of the present application are mainly used to explain the schemes in the embodiments of the present application, and those skilled in the art may also name these interfaces in other ways, so that when the above functions are implemented, these interfaces may also be named in other ways.
Specifically, as for the earphone in-box detection process, referring to fig. 10, the method includes the following steps:
401. the second processor responds to the uncovering operation of the earphone accommodating box, and the second processor detects signals of the second interface.
402. And when the first processor determines that the wireless headset is in the storage state, the first processor sends a second signal to the second interface through the first interface, and configures the first interface into a communication interface.
403. And when the second processor determines that the signal of the second interface is changed from the first signal to the second signal, the second interface is configured as the communication interface.
The first signal is at a high level and the second signal is at a low level, or the first signal is at a low level and the second signal is at a high level. Illustratively, the second processor is configured to output the first signal to the second interface. The first signal is at a high level and the second signal is at a low level. As shown in fig. 11, the second processor may directly configure the second interface as an internal pull-up, i.e., configure the second interface as a high level VDD through a resistor R. When the first processor determines that the wireless headset is in the box (as described above, the wireless headset detects the interrupt signal of the magnetic sensor), the level of the first interface is pulled down, that is, the low level Vss is configured for the first interface, and at this time, the voltage of the second interface becomes the low level Vss due to the connection of the first interface and the second interface. In this way, the level of the second interface changes from high level to low level, that is, a falling edge interrupt is triggered, and the second processor configures the second interface as a communication interface according to the level change. Furthermore, in order to realize communication with the second interface, after the first interface is configured to be at the low level Vss for a period of time (for example, the specific duration of 500us is determined by the type selection of the first processor and the second processor, and the Vss lasts for a period of time required to ensure that the second processor can respond to the low level in time), the first processor configures the first interface as a communication interface, and then recovers the communication configuration of the first interface. Of course, as mentioned above, the second processor may directly configure the second interface as an internal pull-down, i.e. the second interface is configured to the low level Vss via the resistor R. When the first processor determines that the wireless headset is in the box (as described above, the wireless headset detects the interrupt signal of the magnetic sensor), the level of the first interface is raised, that is, the high level VDD is configured for the first interface, and at this time, the voltage of the second interface changes to the high level VDD due to the connection between the first interface and the second interface. In this way, the level of the second interface changes from low level to high level, that is, a rising edge interrupt is triggered, and the second processor configures the second interface as a communication interface according to the level change. In another example, as shown in fig. 12, the second interface is connected to a first level terminal V1 through a resistor R, wherein the first level terminal V1 is used for providing the first signal to the second port. In this example, the first signal can be provided to the second interface via an external voltage terminal V1 and a resistor R.
404. The second processor sends the first message to the first interface through the second interface.
405. The first processor receives a first message sent by the second processor through the second interface through the first interface.
406. The first processor sends a second message to the second interface through the first interface in response to the first message, the second message corresponding to the first message.
407. And the second processor receives the second message through the second interface and determines that the earphone containing box is in the containing state.
Specifically, in the above embodiment, the process of configuring the communication interface is mainly triggered by the detection of the in-box of the headset by the first processor of the headset, and as described above, specifically, the headset may configure the first interface as the communication interface after determining that the wireless headset is in the box according to the third signal generated by the magnetic sensor detecting the magnetic field of the magnet. Further, after the earphone is determined to be taken out of the box, the first interface may be reconfigured as the input/output IO interface due to the fact that the communication between the earphone and the earphone receiving box is ended, and specifically, the first processor may determine that the wireless earphone is taken out of the box according to the magnetic field of the magnetic sensor detected by the magnetic sensor, and configure the first interface as the input/output IO interface after determining that the wireless earphone is taken out of the box. In addition, after the earphone storage box determines that the earphone is taken out of the box, the second interface can be configured as an input/output (IO) interface. For example, as shown in connection with fig. 6, the second processor may configure the second interface as an IO interface after step 202. For another example, as shown in connection with fig. 7, the second processor may configure the second interface as an input/output IO interface after determining that the wireless headset is out of the box and clearing the count value.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (22)

1. A method of determining a state of a headset receiver for receiving a wireless headset, the headset receiver comprising a second processor and a second interface, the wireless headset comprising a first processor and a first interface; the second interface is used for being connected with the first interface of the wireless earphone when the wireless earphone is contained in the earphone containing box;
in response to the cover opening operation of the earphone containing box, the second processor detects a signal of the second interface, when the second processor determines that the signal of the second interface is changed from a first signal to a second signal, the second processor configures the second interface as a communication interface, and sends a first message to the first processor through the second interface; when the first processor determines that the wireless headset is in the storage state, the first processor sends the second signal to the second interface through the first interface;
if the second processor receives a second message through the second interface, wherein the second message corresponds to the first message, the second message is a message sent by the first processor through the first interface, and the second processor determines that the earphone storage box is in a storage state.
2. The method of determining a state of an earphone holding box according to claim 1, further comprising:
if the second processor determines that the second message is not received through the second interface, the second processor determines that the earphone containing box is in an uncontracted state.
3. The method of determining a state of a headset receiver of claim 2, wherein after the second processor determines that the headset receiver is in an uncontracted state, the method further comprises:
configuring the second interface as a non-communication interface.
4. The method for determining the state of the earphone containing box according to claim 1, wherein before the second processor determines the uncovering operation of the earphone containing box, the method further comprises: the second processor sends the first message to the first processor through the second interface according to a first preset period;
the sending, by the second processor, a first message to the first processor through the second interface in response to the opening operation of the earphone accommodating box includes: responding to the uncovering operation of the earphone accommodating box, and sending the first message to the first processor through the second interface according to a second preset period by the second processor;
wherein the time length of the first predetermined period is greater than the time length of the second predetermined period.
5. The method of determining a state of an earphone holding box according to claim 1, further comprising:
the first signal is at a high level and the second signal is at a low level, or the first signal is at a low level and the second signal is at a high level.
6. The method of determining a condition of an earphone receiver of claim 5, wherein the second processor detects the signal of the second interface prior to,
in response to the opening operation of the earphone accommodating box, the second processor outputs the first signal to the second interface.
7. The method of determining a status of an earphone containing cassette of claim 5, wherein the second interface is connected to a first level terminal through a resistor, wherein the first level terminal provides the first signal to the second interface.
8. The method for determining the state of an earphone containing box according to any one of claims 1-7, wherein the first interface and the second interface are input/output (IO) interfaces.
9. A method of determining a state of a headset receiver for receiving a wireless headset, the headset receiver comprising a second processor and a second interface, the wireless headset comprising a first processor and a first interface; the second interface is used for being connected with the first interface of the wireless earphone when the wireless earphone is contained in the earphone containing box;
when the first processor determines that the wireless headset is in the storage state, the first processor sends a second signal to the second interface through the first interface, and the first interface is configured as a communication interface;
the first processor receives a first message sent by the second processor through the first interface;
in response to the first message, the first processor sends a second message to the second processor through the first interface, wherein the second message corresponds to the first message.
10. The method of determining a state of a headset receiver of claim 9, wherein the wireless headset further comprises: a magnetic sensor connected to the first processor, the earphone housing case including a magnet corresponding to a position of the magnetic sensor;
the first processor determining that the wireless headset is in a stowed state, comprising: the first processor receives a third signal sent by the magnetic sensor, wherein the third signal is generated by the magnetic sensor detecting the magnetic field of the magnet;
and the first processor determines that the magnetic field of the magnet is greater than a first magnetic field strength threshold value according to the third signal, and then determines that the wireless earphone is in a storage state.
11. A method of determining a state of a headset receiver for receiving a wireless headset, the headset receiver comprising a second processor and a second interface, the wireless headset comprising a first processor and a first interface; the second interface is used for being connected with the first interface of the wireless earphone when the wireless earphone is accommodated in the earphone accommodating box;
in response to the uncovering operation of the earphone accommodating box, the second processor detects a signal of the second interface;
when the first processor determines that the wireless headset is in the storage state, the first processor sends a second signal to the second interface through the first interface, and the first interface is configured as a communication interface;
when the second processor determines that the signal of the second interface is changed from a first signal to a second signal, the second interface is configured to be a communication interface, and a first message is sent to the first processor through the second interface;
the first processor receives a first message sent by the second processor through the first interface;
in response to the first message, the first processor sending a second message to the second processor through the first interface, wherein the second message corresponds to the first message;
if the second processor receives a second message through the second interface, wherein the second message is a message sent by the first processor through the first interface, the second processor determines that the earphone storage box is in a storage state.
12. The method of determining a state of an earphone holding cartridge of claim 11, further comprising:
if the second processor determines that the second message is not received through the second interface, the second processor determines that the earphone containing box is in an uncontracted state.
13. The method of determining a state of a headset receiver of claim 12, wherein after the second processor determines that the headset receiver is in an uncontracted state, the method further comprises:
the second processor configures the second interface as a non-communication interface.
14. The method of determining a state of a headset receiver of claim 11, wherein the second processor, prior to determining the uncapping operation of the headset receiver, further comprises:
the second processor sends the first message to the first processor through the second interface according to a first preset period;
the sending, by the second processor, a first message to the first processor through the second interface in response to the opening operation of the earphone accommodating box includes: responding to the uncovering operation of the earphone containing box, so that the second processor sends the first message to the first processor through the second interface according to a second preset period;
wherein the time length of the first predetermined period is greater than the time length of the second predetermined period.
15. The method of determining a state of an earphone holding cartridge of claim 11, further comprising:
the first signal is at a high level and the second signal is at a low level, or the first signal is at a low level and the second signal is at a high level.
16. The method of determining a condition of an earphone receiver of claim 15, wherein prior to the second processor detecting the signal of the second interface,
in response to the opening operation of the earphone accommodating box, the second processor outputs the first signal to the second interface.
17. The method of determining a status of an earphone containing cartridge of claim 16, wherein the second interface is connected to a first level terminal through a resistor, wherein the first level terminal provides the first signal to the second interface.
18. The method of determining a state of a headset receiver of claim 15, wherein the wireless headset further comprises: a magnetic sensor connected to the first processor, the earphone housing case including a magnet corresponding to a position of the magnetic sensor;
the first processor determining that the wireless headset is in a stowed state, comprising: the first processor receives a third signal sent by the magnetic sensor, wherein the third signal is generated by the magnetic sensor detecting the magnetic field of the magnet;
the first processor determines that the magnetic field of the magnet is greater than a first magnetic field strength threshold according to the third signal, and then determines that the wireless headset is in a storage state.
19. A method of determining a state of a headset containing box according to any of claims 11-18, wherein the first interface and the second interface are input/output I O interfaces.
20. An earphone storage box is used for storing wireless earphones, and is characterized by comprising a second processor and a second interface, wherein the wireless earphones comprise a first processor and a first interface; the second interface is used for being connected with the first interface of the wireless earphone when the wireless earphone is accommodated in the earphone accommodating box; the second processor is configured to implement the method of determining a condition of a headset receiver of any of claims 1-8.
21. A wireless earphone, an earphone storage box is used for storing the wireless earphone, and is characterized by comprising a second processor and a second interface, and the wireless earphone comprises a first processor and a first interface; the second interface is used for being connected with the first interface of the wireless earphone when the wireless earphone is accommodated in the earphone accommodating box; the first processor is for implementing a method of determining the condition of an earphone receiver as claimed in claim 9 or 10.
22. A wireless headset system, comprising: the wireless headset of claim 21 and the headset receiver of claim 20.
CN202010845878.0A 2020-08-20 2020-08-20 Wireless earphone, earphone storage box and wireless earphone system Active CN114079837B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010845878.0A CN114079837B (en) 2020-08-20 2020-08-20 Wireless earphone, earphone storage box and wireless earphone system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010845878.0A CN114079837B (en) 2020-08-20 2020-08-20 Wireless earphone, earphone storage box and wireless earphone system

Publications (2)

Publication Number Publication Date
CN114079837A CN114079837A (en) 2022-02-22
CN114079837B true CN114079837B (en) 2023-03-03

Family

ID=80282364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010845878.0A Active CN114079837B (en) 2020-08-20 2020-08-20 Wireless earphone, earphone storage box and wireless earphone system

Country Status (1)

Country Link
CN (1) CN114079837B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115175078A (en) * 2022-05-19 2022-10-11 深圳沃迪声科技股份有限公司 Earphone detection device, method and storage medium
CN118118826A (en) * 2022-11-30 2024-05-31 华为技术有限公司 Earphone state detection method, electronic device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107809696A (en) * 2017-11-30 2018-03-16 成都必盛科技有限公司 It is a kind of to establish the wireless headset interacted with Earphone box
CN107887950A (en) * 2017-12-11 2018-04-06 歌尔科技有限公司 One kind charging and communication common rail system and earphone products

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109429128B (en) * 2017-09-01 2021-03-23 可立新株式会社 Wireless earphone and charging box

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107809696A (en) * 2017-11-30 2018-03-16 成都必盛科技有限公司 It is a kind of to establish the wireless headset interacted with Earphone box
CN107887950A (en) * 2017-12-11 2018-04-06 歌尔科技有限公司 One kind charging and communication common rail system and earphone products

Also Published As

Publication number Publication date
CN114079837A (en) 2022-02-22

Similar Documents

Publication Publication Date Title
WO2021042942A1 (en) Wireless earphones and wireless earphone system
EP3934269A1 (en) Wireless earphone and earphone case
DK2672731T3 (en) Hearing instrument system with rechargeable battery
CN112449265B (en) Box-in detection method and earphone box
WO2020216140A1 (en) Wireless earphone
CN113038321A (en) Earphone system and communication method of charging box and earphone
CN210579152U (en) TWS earphone charging box and TWS earphone
CN114079837B (en) Wireless earphone, earphone storage box and wireless earphone system
CN212519359U (en) Wireless charging type Bluetooth earphone device
CN110958516B (en) Wireless earphone
CN114286219B (en) Method for configuring headphone channel, headphone assembly, and computer-readable storage medium
WO2023020322A1 (en) Wireless earphone, earphone case and wireless earphone system
EP4307710A1 (en) Wireless earphone system and wireless earphones
CN112653957A (en) Earphone box, earphone device, mobile terminal and charging method of wireless earphone
CN112653955B (en) Earphone box, earphone device and electronic equipment
CN113645573A (en) Earphone configuration data sharing method, earphone and storage medium
CN110750134A (en) Electronic equipment and manufacturing method thereof
CN112399298B (en) Wireless earphone, wireless earphone box and wireless earphone state detection method
CN214101740U (en) Earphone system
CN110475175B (en) Method and device for charging wireless earphone
CN114745630A (en) Earphone, earphone system and control method
CN115550777A (en) Wireless earphone box entering prompting method, wireless earphone, earphone box and system
CN114363748A (en) Wireless earphone assembly and electronic equipment assembly
CN115001061A (en) In-out box identification method, charging equipment, electronic equipment and storage medium
CN114430517A (en) Earphone assembly

Legal Events

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