Earphone control method and device, earphone box and storage medium

文档序号:142755 发布日期:2021-10-22 浏览:27次 中文

阅读说明:本技术 一种耳机控制方法、装置、耳机盒及存储介质 (Earphone control method and device, earphone box and storage medium ) 是由 刘佳 于 2020-04-20 设计创作,主要内容包括:本发明实施例公开了一种耳机控制方法、装置及存储介质,所述耳机设置有吸附部件;该方法包括:检测所述吸附部件的工作状态;其中,所述吸附部件的工作状态包括吸附状态和未吸附状态;基于所述吸附部件的工作状态,从所述至少一种运行条件中确定所述耳机满足的目标运行条件;基于至少一种运行条件和至少一种工作模式的对应关系,确定所述目标运行条件对应的目标工作模式;控制所述耳机工作在所述目标工作模式。如此,根据耳机吸附部件的工作状态,确定耳机当前所满足的目标运行条件,进一步将耳机的工作模式切换至目标运行条件对应的目标工作模式,实现智能控制耳机工作模式的灵活切换。(The embodiment of the invention discloses a method and a device for controlling an earphone and a storage medium, wherein the earphone is provided with an adsorption part; the method comprises the following steps: detecting the working state of the adsorption part; wherein the working state of the adsorption part comprises an adsorption state and a non-adsorption state; determining a target operation condition which is met by the earphone from the at least one operation condition based on the working state of the adsorption part; determining a target working mode corresponding to the target operating condition based on the corresponding relation between at least one operating condition and at least one working mode; and controlling the earphone to work in the target working mode. Therefore, the target operation condition currently met by the earphone is determined according to the working state of the earphone adsorption part, the working mode of the earphone is further switched to the target working mode corresponding to the target operation condition, and the flexible switching of the working mode of the intelligent control earphone is realized.)

1. An earphone control method is characterized in that the earphone is provided with an adsorption part;

detecting the working state of the adsorption part; wherein the working state of the adsorption part comprises an adsorption state and a non-adsorption state;

determining a target operation condition which is met by the earphone from the at least one operation condition based on the working state of the adsorption part;

determining a target working mode corresponding to the target operating condition based on the corresponding relation between at least one operating condition and at least one working mode;

and controlling the earphone to work in the target working mode.

2. The method of claim 1, further comprising:

detecting a wearing state of the earphone; and/or detecting the working state of a wireless receiving coil of the earphone; the working state of the wireless receiving coil comprises a charging state and an uncharged state;

the determining, from the at least one operating condition, a target operating condition that the earphone satisfies based on the operating state of the suction part includes:

determining a target operation condition which is met by the earphone from the at least one operation condition based on the working state of the adsorption part and the wearing state of the earphone; alternatively, the first and second electrodes may be,

determining a target operation condition which is met by the earphone from the at least one operation condition based on the working state of the adsorption part and the working state of the charging coil; alternatively, the first and second electrodes may be,

and determining a target operation condition which is met by the earphone from the at least one operation condition based on the working state of the adsorption part, the wearing state of the earphone and the working state of the wireless receiving coil.

3. The method of claim 2, wherein the headset comprises: the earphone comprises a first earphone and a second earphone, wherein the first earphone is a master earphone, and the second earphone is a slave earphone; the adsorption member includes:

the first magnetic sub-component is arranged on the first earphone, and the second magnetic sub-component is arranged on the second earphone; the first magnetic sub-component and the second magnetic sub-component can attract each other.

4. The method of claim 3, wherein determining a target operating condition that the earphone satisfies from the at least one operating condition based on the operating state of the suction member comprises:

determining a first target operating condition met by the first earphone and a second target operating condition met by the second earphone from the at least one operating condition based on the wearing state of the first earphone, the operating state of the first magnetic sub-assembly, the wearing state of the second earphone and the operating state of the second magnetic sub-assembly;

determining a target working mode corresponding to the target operating condition based on the corresponding relation between the at least one operating condition and the at least one working mode, wherein the step of determining the target working mode corresponding to the target operating condition comprises the following steps:

and determining a first target working mode corresponding to the first target operating condition and a second target working mode corresponding to the second target operating condition based on the corresponding relation between at least one operating condition and at least one working mode.

5. The method according to any of claims 1-4, wherein the operating mode comprises:

the method comprises the steps of operating a communication function, closing the communication function, operating a wireless charging function, closing the wireless charging function, operating an audio input/output function, closing the audio input/output function, a low power consumption mode, a normal working mode, a master ear mode, a slave ear mode, a monaural mode, a binaural mode, turning off, operating a call mode, and closing the call mode.

6. The method according to any of claims 1-4, wherein the headset is provided with a headset case, at least one outer surface of which comprises a magnetic area;

the adsorption state comprises a mutual attraction state between the earphones, or a mutual attraction state between the earphones and the earphone box.

7. The method of any of claims 1-4, wherein the headset is placed on an external surface of the headset case for wireless charging or placed inside the headset case for stowing and charging.

8. An earphone control device is characterized in that the earphone is provided with an adsorption part; the device comprises:

the detection unit is used for detecting the working state of the adsorption part; wherein the working state of the adsorption part is an adsorption state or a non-adsorption state;

a processing unit, configured to determine, from the at least one operating condition, a target operating condition that the earphone satisfies, based on an operating state of the adsorption part;

the processing unit is further configured to determine a target working mode corresponding to the target operating condition based on a corresponding relationship between at least one operating condition and at least one working mode;

and the control unit is used for controlling the earphone to work in the target working mode.

9. An earphone control apparatus, characterized in that the apparatus comprises: a processor and a memory configured to store a computer program capable of running on the processor,

wherein the processor is configured to perform the steps of the method of any one of claims 1 to 7 when running the computer program.

10. The utility model provides an earphone box, its characterized in that, at least one surface of earphone box includes at least one magnetism region, the magnetism region has magnetism, earphone box can pass through the magnetism region adsorbs the adsorption component of earphone, will the earphone adsorb on earphone box's surface, makes the earphone based on adsorption component's operating condition, confirms the target operating condition that the earphone satisfies from among the at least one kind of operating condition, based on at least one operating condition and at least one kind of operating mode's corresponding relation, confirms the target operating mode that the target operating condition corresponds, control earphone work in the target operating mode.

11. The headset case of claim 10, wherein the at least one magnetic region comprises a charging region that is electrically coupled to a power module such that the power module charges a headset attached to an outer surface of the headset case through the charging region.

12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.

Technical Field

The present invention relates to the field of earphone technologies, and in particular, to an earphone control method and apparatus, an earphone box, and a storage medium.

Background

True Wireless Stereo (TWS) headphones, TWS headphones for short. The TWS earphone is a device for transmitting stereo signals based on a Bluetooth technology, namely, the left earphone and the right earphone receive the stereo signals from playing devices such as a mobile phone and the like through Bluetooth without any wire connection, and the two earphones can work independently by realizing wireless separation of left and right sound channels. The real wireless can realize single and double ear wearing. Existing bluetooth headsets, particularly TWS headsets, are typically stored and charged in a headset case.

In the related art, the TWS headset is inconvenient to temporarily store, the charging mode is single, the working mode is single, and the switching control mode of the working mode is not flexible enough.

Disclosure of Invention

The embodiment of the invention provides an earphone control method, an earphone control device, an earphone box and a storage medium, which can realize flexible control of various working modes of an earphone.

The technical scheme of the embodiment of the invention is realized as follows:

in a first aspect, an embodiment of the present invention provides an earphone control method, where the earphone is provided with an adsorption component;

detecting the working state of the adsorption part; wherein the working state of the adsorption part comprises an adsorption state and a non-adsorption state;

determining a target operation condition which is met by the earphone from the at least one operation condition based on the working state of the adsorption part;

determining a target working mode corresponding to the target operating condition based on the corresponding relation between at least one operating condition and at least one working mode;

and controlling the earphone to work in the target working mode.

In a second aspect, an embodiment of the present invention provides an earphone control device, where the earphone is provided with an adsorption part; the device comprises:

the detection unit is used for detecting the working state of the adsorption part; wherein the working state of the adsorption part is an adsorption state or a non-adsorption state;

a processing unit, configured to determine, from the at least one operating condition, a target operating condition that the earphone satisfies, based on an operating state of the adsorption part;

the processing unit is further configured to determine a target working mode corresponding to the target operating condition based on a corresponding relationship between at least one operating condition and at least one working mode;

and the control unit is used for controlling the earphone to work in the target working mode.

In a third aspect, there is provided a headphone control apparatus, the apparatus comprising: a processor and a memory configured to store a computer program capable of running on the processor,

wherein the processor is configured to perform the steps of the method of the first aspect when running the computer program.

In a fourth aspect, an earphone box is provided, where at least one outer surface of the earphone box includes at least one magnetic area, and the magnetic area has magnetism, so that the earphone box can adsorb an adsorption component of an earphone through the magnetic area, and adsorb the earphone to the outer surface of the earphone box.

In a fifth aspect, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the steps of the method of the first aspect.

The embodiment of the invention provides a method and a device for controlling an earphone and a storage medium, wherein the earphone is provided with an adsorption part; the method comprises the following steps: detecting the working state of the adsorption part; wherein the working state of the adsorption part comprises an adsorption state and a non-adsorption state; determining a target operation condition which is met by the earphone from the at least one operation condition based on the working state of the adsorption part; determining a target working mode corresponding to the target operating condition based on the corresponding relation between at least one operating condition and at least one working mode; and controlling the earphone to work in the target working mode. Therefore, the target operation condition currently met by the earphone is determined according to the working state of the earphone adsorption part, the working mode of the earphone is further switched to the target working mode corresponding to the target operation condition, and the flexible switching of the working mode of the intelligent control earphone is realized.

Drawings

Fig. 1 is a schematic flowchart of a method for controlling an earphone according to an embodiment of the present application;

fig. 2 is a schematic diagram of a first alternative structure of an earphone assembly provided in an embodiment of the present application;

fig. 3 is a schematic diagram of a second alternative structure of an earphone assembly provided in the embodiment of the present application;

fig. 4 is a schematic diagram of a third alternative structure of an earphone assembly provided in the embodiment of the present application;

fig. 5 is a fourth alternative structural schematic diagram of an earphone assembly provided in the embodiment of the present application;

fig. 6 is a schematic diagram of a fifth alternative structure of an earphone assembly provided in the embodiment of the present application;

fig. 7 is a schematic area diagram of a non-charging area according to an embodiment of the present disclosure;

fig. 8 is a schematic diagram of a sixth alternative structure of an earphone assembly provided in the embodiment of the present application;

fig. 9 is a schematic diagram of a seventh alternative structure of an earphone assembly provided in the embodiment of the present application;

fig. 10 is an eighth alternative structural schematic diagram of an earphone assembly provided in an embodiment of the present application;

fig. 11 is a schematic diagram illustrating a ninth alternative structure of an earphone assembly provided in the embodiment of the present application;

fig. 12 is a schematic diagram of a tenth alternative structure of an earphone assembly provided in the embodiment of the present application;

fig. 13 is a schematic view of an alternative application of the earphone provided in the embodiment of the present application;

fig. 14 is a schematic diagram of a first component structure of a headphone control device according to an embodiment of the present application;

fig. 15 is a schematic diagram of a second component structure of the headphone control device according to the embodiment of the present application.

Description of some reference numerals: 20, an earphone assembly; 21, an earphone; 21-1, a first earphone; 21-2, a second earphone; 211, an adsorption member; 211-1, a first magnetic sub-assembly; 211-2, a second magnetic sub-assembly; 212, a wireless receiving coil; 213, a first connection; 22, an earphone box; 221, an outer surface; 222, a magnetic region; 223, a magnetic sub-assembly; 224, a cartridge body; 225, a box cover; 226, a power supply module; 227, a magnetic region; 2271, a charging area; 2272, non-charging area; 228, a wireless transmit coil; 229, a receiving groove; 230, a second connection portion; 231, a charging port; 232, wireless charging area; 23, a mobile phone; 24, a wireless charging pad.

Detailed Description

The present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the examples provided herein are merely illustrative of the present invention and are not intended to limit the present invention. In addition, the following embodiments are provided as partial embodiments for implementing the present invention, not all embodiments for implementing the present invention, and the technical solutions described in the embodiments of the present invention may be implemented in any combination without conflict.

An embodiment of the present application provides an earphone control method, fig. 1 is a first flowchart diagram of the earphone control method in the embodiment of the present application, and as shown in fig. 1, the method may specifically include:

step 101: detecting the working state of the adsorption part; wherein the working state of the adsorption part comprises an adsorption state and a non-adsorption state;

step 102: determining a target operation condition which is met by the earphone from the at least one operation condition based on the working state of the adsorption part;

step 103: determining a target working mode corresponding to the target operating condition based on the corresponding relation between at least one operating condition and at least one working mode;

step 104: and controlling the earphone to work in the target working mode.

Before describing the headphone control method provided by the embodiment of the present invention, the structure of the headphone assembly will be described by way of example.

As shown in fig. 2, the earphone assembly 20 includes an earphone 21 and an earphone box 22, wherein the earphone 21 includes: the first earphone 21-1 (namely, the left earphone) and the second earphone 21-2 (namely, the right earphone) are used for opening the cover of the earphone box 22 when the earphones need to be stored in the earphone box, then placing the earphones 21 into the corresponding positions in the storage groove for storage, and charging the earphones through the earphone box, wherein the charging can be contact charging or wireless charging. Of course, the headset in this application refers to a wireless headset, and may be a TWS headset or a single headset, such as a single bluetooth headset.

In this application embodiment, the earphone is provided with the adsorption component, also is provided with the adsorption component that divides the mutual actuation of part with earphone magnetism on the corresponding surface of the earphone box of accomodating the earphone, and adsorption component can divide the part for magnetism. For a pair of earphones, the two earphones can be attracted by the respective adsorption parts, and can also be adsorbed on the earphone box by the adsorption parts.

In practical applications, an embodiment of the present invention specifically provides an earphone box 22, as shown in fig. 3, at least one outer surface 221 of the earphone box 22 includes at least one magnetic region 222, and the magnetic region 222 has magnetism, so that the earphone box 22 can attract the earphone 21 to the outer surface 221 of the earphone box 22 by the attraction of the magnetic region 222 to the attraction component 211 on the earphone 21.

Here, the earphone case is a case in which an earphone can be housed, and the configuration diagram shown in fig. 3 is a sectional view of the earphone case.

In one example, the magnetic material is blended into the material of the earphone box shell where the magnetic region is located, so that the earphone box shell has magnetism. Under the condition that the magnetic material is blended into the material of the earphone box shell where the magnetic area is located, the material of the area where the magnetic area of the earphone box shell is located is the magnetic material.

In one example, as shown in fig. 4, a magnetic sub-component 223 is disposed on the earphone box housing where the magnetic region 222 is located, so that the magnetic region has magnetism.

The magnetic sub-component can be arranged on the outer surface of the earphone box shell where the magnetic area is located, and can also be arranged on the inner surface of the earphone box shell where the magnetic area is located.

In the structure diagram of the earphone box shown in fig. 3, the magnetic area is exemplarily described by taking an example that the earphone box housing where the magnetic area is located is provided with the magnetic sub-component so that the magnetic area has magnetism and the magnetic sub-component is provided on the inner surface of the earphone box housing where the magnetic area is located.

Taking the magnetic sub-component disposed in the magnetic region as an example, the shape of the magnetic sub-component in the earphone box 22 may be: square, tile, special-shaped, cylindrical, circular and the like. The shape of the magnetic sub-component is not limited in any way in the embodiments of the present invention. And the magnetic pole in magnetic domain can be different to satisfy the earphone absorption of different magnetic poles, when the magnetic pole of left and right ears is different, also can carry out the magnetism to inhale corresponding different magnetic domains on the earphone box, also can certainly can the earphone box surface be metal material etc. can make the absorption part of earphone realize magnetism and inhale in earphone box surface.

The number of the magnetic sub-components of the earphone box 22 may be one or more, and the magnetic area of the earphone box may also be one or more according to the number of the magnetic sub-components.

In one example, earphone case 22 includes six external surfaces, including: an upper surface, a lower surface and four side surfaces. Wherein, the upper surface is the curved surface, and four sides and lower surface are the plane.

In the embodiment of the present invention, the shape of the earphone case and the number of the included outer surfaces are not limited at all. In one example, the earphone box is a cube including six outer surfaces. In one example, the earphone box is a cylinder including three outer surfaces.

Optionally, the outer surface of the earphone box comprises a plane. Optionally, the outer surface of the earphone box comprises a plane and a curved surface.

The number of the outer surfaces of the earphone box including the magnetic regions is one or more, which is not limited in the embodiment of the present invention. In an example, one of the six outer surfaces comprised by the earphone box comprises a magnetic area. In an example, three of the six outer surfaces comprised by the earphone box comprise magnetic regions, respectively.

The outer surface including the magnetic regions includes one or more (a plurality includes two or more) magnetic regions. In one example, the outer surface a includes magnetic regions and includes only one magnetic region. In one example, the outer surface B includes magnetic regions and includes three magnetic regions.

In practical application, the working state of the adsorption part can be detected through a magnetic sensor and the like, when the earphone is in contact with an earphone box or other metal objects, the magnetic field intensity is detected to be greater than a magnetic field threshold value, the adsorption part is determined to be in the adsorption state, and otherwise, the adsorption part is determined to be in the non-adsorption state.

Illustratively, the at least one operating condition includes: a first operating condition in which the adsorption element is in an adsorption state; and a second operating condition in which the adsorbent element is in a non-adsorbent state.

Accordingly, the at least one mode of operation includes: a first mode of operation comprising turning off audio input/output functions; the second mode of operation includes a normal operating condition. For example, the first operating condition corresponds to a first operating mode, and the second operating condition corresponds to a second operating mode.

For example, when the earphone is attached to the earphone box, the earphone detects that the earphone is in an attached state, the audio input/output function is turned off, at this time, if a song is being played, the player of the earphone stops playing, and further, a signal may be sent to a terminal device wirelessly connected to the earphone, such as a mobile phone, to control the mobile phone to stop playing the audio.

For example, when the earphone is attached to an earphone case or another earphone or other metal devices, in a call state, the user picks up the earphone, and the earphone senses that the earphone is in a non-attached state through a magnetic sensor such as a hall sensor or an electromagnetic sensor, and then operates an audio input/output function, and further, the earphone sends a signal to the mobile phone, so that the user can automatically answer the call.

When a user puts the earphone on an earphone box or other metal equipment or adsorbs the earphone with another earphone in a call state, the earphone senses that the earphone is in the adsorbed state through a magnetic sensor such as a Hall sensor or an electromagnetic sensor, the audio input/output function is closed, and further, the earphone sends a signal to the mobile phone to hang up the mobile phone. Therefore, the earphone can be intelligently controlled to receive calls.

Of course, the first operating mode may also include turning off the bluetooth communication function or operating a low power consumption state.

By adopting the technical scheme, the target operation condition currently met by the earphone is determined according to the working state of the earphone adsorption part, the working mode of the earphone is further switched to the target working mode corresponding to the target operation condition, and the flexible switching of the working mode of the intelligent control earphone is realized.

In some embodiments, the method further comprises: detecting a wearing state of the earphone; the determining, from the at least one operating condition, a target operating condition that the earphone satisfies based on the operating state of the suction part includes: and determining a target operation condition which is met by the earphone from the at least one operation condition based on the working state of the adsorption part and the wearing state of the earphone.

That is, in order to apply more headset application scenarios, the operating condition that the headset meets is further determined according to the wearing state of the headset.

In practical applications, the wearing state of the headset may be detected by a distance sensor, the distance sensor may be disposed at a position where the headset contacts with the ear or the surrounding of the ear of the user when the headset is worn by the user, the headset is determined to be in the wearing state when the distance sensor detects that the distance value is smaller than a distance threshold, and the headset is determined to be in the non-wearing state when the distance value detected by the distance sensor is smaller than the distance threshold. The wearing state can also be detected by the degree of fitting, infrared induction, the degree of fitting, and the like, which are not exemplified herein.

Accordingly, the at least one operating condition includes: a third operating condition comprising that the adsorption part is in an adsorption state and the earphone is in a wearing state; a fourth operating condition comprising the suction member being in a suction state and the earphone being in an unworn state; a fifth operating condition comprising that the adsorption part is in an unadsorbed state and the earphone is in a wearing state; a sixth operating condition comprising the adsorbent member being in an unabsorbed state and the earpiece being in an unworn state.

In some embodiments, the operating modes include: the method comprises the steps of operating a communication function, closing the communication function, operating a wireless charging function, closing the wireless charging function, operating an audio input/output function, closing the audio input/output function, a low power consumption mode, a normal working mode, a master ear mode, a slave ear mode, a monaural mode, a binaural mode, turning off, operating a call mode, and closing the call mode.

It should be noted that, in practical applications, the target operation mode may include some or all of the above modes, for example, when it is detected that the earphone is in the adsorption state, the audio input/output function may be turned off, a control instruction is sent to the mobile phone through the communication module to hang up the phone (i.e., turn off the call), and then the communication function is turned off, where the execution sequence may be adjusted without conflict, for example, the audio input/output function may be turned off at last.

In this embodiment, detecting the adsorption state, detecting the wearing state, detecting the wireless charging state, and the like may be real-time detection or periodic detection.

It should be noted that, under the third operation condition, the user may take down one of the two earphones and attach the earphone to the other earphone, and the other earphone detects that the earphone is in the attached state and the earphone is in the worn state, that is, the first operation condition is satisfied, and the other earphone operates normally under the operation condition, that is, the earphone has the communication function and the audio input/output function, and the like;

under the fourth operating condition, the user may take one of the two earphones down and attach the earphone to the other earphone, and then the taken-down earphone detects that the earphone is in an attached state and is not worn, and the wireless earphone may close the communication function and/or close the audio input/output function, so that the wireless earphone enters a single-ear use mode, and only the wake-up detection function of the earphone meeting the second operating condition is retained, that is, the wireless earphone enters a low power consumption state; in another case, the user may take down a certain headset (suitable for a single bluetooth headset) and attach it to the surface of the headset case, and then the headset detects that it is in an attached state and is not worn, so that it may enter a low power consumption state and may only retain the wake-up detection function. Of course, the above-mentioned adsorption state may be adsorbed to other equipment having adsorption function or other places.

Under the fifth operating condition, the wireless headset or the left and right earphones of the pair of wireless earphones may be worn on the ear of the user and are not attached to the other earphones, in this case, the operating condition detected by the one or two earphones is in an unabsorbed state and in a worn state, that is, the third operating condition is satisfied, and the corresponding operating mode may be a normal operating mode, that is, the wireless headset or the pair of wireless earphones has a communication function and an audio input/output function;

under the sixth operating condition, the wireless earphone or any one of the left and right earphones of the wireless earphone may be placed in the earphone box, or not placed in the earphone box and not adsorbed on the earphone box or adsorbed on another earphone or adsorbed on another place, in this case, the earphone detects that the earphone is in an unadsorbed state and the unadsorbed state meets the fourth operating condition, and correspondingly enters a low power consumption state, and only the wake-up detection function may be retained. Of course, the corresponding control instruction may also be determined in combination with the time in the condition, for example, if the time is within the first time threshold, the audio input/output is turned off, if the time is within the second time threshold, the bluetooth connection is turned off, if the time is within the third time threshold, only the wake-up detection function is retained, if the time is within the fourth time threshold, the earphone is turned off, and even the system may be powered down.

In addition, a certain time threshold can be set for each condition, that is, when the duration of a certain operation condition meets the certain time threshold, the switching of the working mode corresponding to the condition is performed, so as to avoid frequent switching. Or when a certain operation condition meets a certain detection frequency, the corresponding working mode is adjusted, so that misjudgment is avoided.

In some embodiments, the headset comprises: first earphone and second earphone, the adsorption component includes: the first magnetic sub-component is arranged on the first earphone, and the second magnetic sub-component is arranged on the second earphone; the first magnetic sub-component and the second magnetic sub-component can attract each other. The determining, from the at least one operating condition, a target operating condition that the earphone satisfies based on the operating state of the suction part includes: determining a first target operating condition met by the first earphone and a second target operating condition met by the second earphone from the at least one operating condition based on the wearing state of the first earphone, the operating state of the first magnetic sub-assembly, the wearing state of the second earphone and the operating state of the second magnetic sub-assembly;

determining a target working mode corresponding to the target operating condition based on the corresponding relation between the at least one operating condition and the at least one working mode, wherein the step of determining the target working mode corresponding to the target operating condition comprises the following steps: and determining a first target working mode corresponding to the first target operating condition and a second target working mode corresponding to the second target operating condition based on the corresponding relation between at least one operating condition and at least one working mode.

That is, when the earphones include the first earphone and the second earphone, the absorption state and the wearing state of the two earphones can be detected respectively, so that the operation conditions met by the earphones are determined respectively, and the first target operation mode and the second target operation mode are further determined respectively.

When the two earphones distinguish the master earphone from the slave earphone, the working modes of the master earphone and the slave earphone are influenced by the state of the other earphone. The operation conditions comprise the wearing state of the first earphone, the working state of the first magnetic sub-component, the wearing state of the second earphone and the working state of the second magnetic sub-component.

In this case, an application scenario for distinguishing a master earphone from a slave earphone is provided (the master earphone refers to an earphone which establishes a bluetooth connection with a terminal, the slave earphone is an earphone which monitors a bluetooth link between the master earphone and the terminal to obtain an audio source signal or performs a bluetooth connection with the master earphone, and forwards the audio source signal through the master earphone), and then the working mode includes a master ear mode and a slave ear mode, that is, the master earphone and the slave earphone can be switched in a master-slave relationship, for example, when the master earphone detects that the master earphone is in an adsorption state and is not worn, that is, the master earphone is possibly taken down and then adsorbed on an earphone box or the slave earphone, at this time, since the master earphone is not used, the master-slave relationship can be switched first, and then the original master earphone is started to be turned off or enters a low power consumption state; when the master earphone detects that the master earphone is in an adsorption state and a wearing state, namely the master earphone is possibly worn on the ear of a user and adsorbed by the slave earphone, under the condition, the master earphone needs to be continuously used, so that master and slave switching is not performed, in some application scenes that the master earphone forwards audio signals to the slave earphone, in order to save power consumption, audio forwarding to the slave earphone can be closed, and in application scenes that the slave earphone monitors the audio signals, the master earphone only needs to be normally operated; when the main earphone is in a non-adsorption state and a non-wearing state, namely the main earphone is not adsorbed on the earphone box or not adsorbed on the earphone after being taken down, and the main earphone can be temporarily taken down by a user at the moment, the operation mode of the main earphone can be unchanged; when the main earphone is in a non-adsorption state and a wearing state, namely the main earphone is in normal use, the main earphone keeps a normal working mode; when the slave earphone is in an adsorption state and is not worn, namely the slave earphone is adsorbed on the master earphone in a wearing state after being taken off from the earphone, or the slave earphone is adsorbed on the earphone box after being taken off from the earphone, the slave earphone is not used at the moment, and therefore the slave earphone can enter a low power consumption or power-off state; when the slave earphone is in an adsorption state and in a wearing state, namely the master earphone is adsorbed on the slave earphone in the wearing state, the master-slave switching is started because the slave earphone plays a role at the moment, and the slave earphone is changed from a slave ear mode to a master ear mode, namely the master earphone can be set to start the master-slave switching or the slave earphone can be set to start the master-slave switching; when the slave earphone is in a non-adsorption state and a non-wearing state, namely the slave earphone can be temporarily taken down, the working mode is kept unchanged; when the slave earphone is in an unabsorbed state and in a wearing state, the slave earphone is in a normal working mode.

That is, the operating conditions include: a seventh operating condition, including that the first magnetic sub-component is in an adsorption state, the first earphone is in an unworn state, the second magnetic component is in an adsorption state, and the second earphone is in a wearing state; and the eighth operating condition comprises that the first magnetic sub-component is in an adsorption state, the first earphone is in an unadsorbed state, the second magnetic component is in an unadsorbed state, and the second earphone is in a wearing state.

Here, the operation modes corresponding to the seventh operation condition and the eighth operation condition are both: and switching the master-slave relation between the first earphone and the second earphone, namely switching the first earphone from a master ear mode to a slave ear mode, and switching the second earphone from the slave ear mode to the master ear mode.

Further, the wireless charging function of the first earphone and the second earphone can be turned off under a seventh operating condition, the wireless charging function of the first earphone can be turned on under an eighth operating condition, and the wireless charging function of the second earphone can be turned off. Of course, in some cases, wireless or contact power transfer may be possible between the first earphone and the second earphone.

The operating conditions further include: a ninth operation condition, including that the first magnetic sub-component is in an adsorption state, the first earphone is in a wearing state, the second magnetic component is in an adsorption state, and the second earphone is in an unworn state; and the tenth operating condition comprises that the first magnetic sub-component is in a non-adsorption state, the first earphone is in a wearing state, the second magnetic component is in an adsorption state, and the second earphone is in a non-wearing state.

The working mode corresponding to the ninth operation condition comprises the following steps: the first earphone operates in a single-ear mode (for the condition that audio data are forwarded between a master earphone and a slave earphone, the master earphone stops forwarding in the single-ear mode) or a normal working mode (the second earphone cannot communicate with the second earphone after being turned off or in a low-power-consumption state, the first earphone is equivalent to the single-ear mode), the second earphone starts to be turned off or enters the low-power-consumption state, further, the first earphone and the second earphone close a wireless charging function, and certainly, in some cases, wireless or contact electric energy transmission can be carried out between the first earphone and the second earphone; the operation mode corresponding to the tenth operation condition includes: the first earphone operates in a single-ear mode (for the condition that audio data is forwarded between a master earphone and a slave earphone, the master earphone stops forwarding in the single-ear mode) or in a normal working mode (the second earphone cannot communicate with the second earphone after being powered off or in a low-power-consumption state, the first earphone is equivalent to the single-ear mode), the second earphone starts to be powered off or enters the low-power-consumption state, and further, the wireless charging function can be started.

Furthermore, the corresponding switching of the working modes can be determined by combining the time under a certain operating condition, so that the mode switching which is not actually required by a user and is caused by transient operating condition change is avoided. In practical application, for more precise control, when the two earphones distinguish the master earphone from the slave earphone, the working modes of the master earphone and the slave earphone can be influenced by the state of the other earphone.

In the embodiment of the application, another application scenario for distinguishing the master earphone and the slave earphone is provided (the master earphone is an earphone which is connected with the terminal in a bluetooth manner, the slave earphone is an earphone which monitors a bluetooth link between the master earphone and the terminal to obtain a sound source signal or is connected with the master earphone in a bluetooth manner, and the master earphone forwards the sound source signal), for the master earphone and the slave earphone which cannot be switched in the master and the slave manner, if the master earphone senses that the master earphone is in an adsorption state, but the slave earphone is detected to be in a wearing state or can be connected with the slave earphone in the wearing state, namely the master earphone is adsorbed on the slave earphone in the wearing state, or the master earphone is adsorbed on an earphone box and can be connected with the slave earphone to indicate that the slave earphone is in use, the master earphone can retain a communication function, a wake-up detection function and the like, and other unnecessary functions can be temporarily closed or the master earphone is powered off; if the master earphone senses that the master earphone is in the adsorption state, and detects that the slave earphone is in the non-wearing state or detects that the slave earphone cannot be connected with the slave earphone or detects that the slave earphone is in the adsorption state, namely the master earphone does not need to be used and the slave earphone does not need to be used, the master earphone enters the low-power consumption state, only the awakening detection function can be reserved, and other unnecessary functions can be temporarily closed; if the slave earphone senses that the slave earphone is in the adsorption state and the master earphone detects that the master earphone is in the wearing state or the non-wearing state, the slave earphone enters a low power consumption state, the communication connection is disconnected, other unnecessary functions of the awakening function are kept to be temporarily closed (for example, a circuit of a corresponding functional module is closed or powered off), and the slave earphone can be powered off; if the main earphone senses that the main earphone is in a non-adsorption state and the slave earphone is in a wearing state, the main earphone is in a normal working state; if the master earphone senses that the master earphone is in a non-adsorption state and the slave earphone is in a non-wearing state, the master earphone is in a low power consumption or power-off state; and if the master earphone is in a non-adsorption state and the slave earphone is detected to be in an adsorption state (when the slave earphone detects adsorption, the master earphone actively sends feedback to the master earphone) or after the communication connection with the slave earphone is detected to be disconnected (when the master earphone actively detects that the slave earphone cannot communicate with the slave earphone), starting the single-ear operation mode, namely, not forwarding data to the slave earphone.

That is, for the master-slave earphone which cannot be switched between master and slave, the working modes corresponding to the seventh operating condition and the eighth operating condition include: and the audio forwarding function of the first earphone to the second earphone and the awakening detection function of the first earphone are reserved, and the second earphone normally works in a slave ear mode.

Here, a scenario in which the first earphone and the second earphone are attracted to each other is given, and for a scenario in which the master and the slave are not distinguished. When the earphones are a pair of TWS earphones, if the first earphone is detected to be in an adsorption state and a wearing state, and the second earphone is detected to be in the adsorption state but not the wearing state, the first earphone works normally, and the second earphone enters a low power consumption state or is turned off;

for the earphone which distinguishes the master-slave scene but can not do master-slave switching, when the master earphone is in the adsorption state and in the wearing state, the master earphone operates the single-ear working mode (namely, data is not forwarded to the slave ears); when the main earphone is in an adsorption state and is not worn, the main earphone enters a low power consumption state or is turned off; when the slave earphone is in an adsorption state and is in a wearing state, the slave earphone works normally; when the slave earphone is in the adsorption state and is in the non-wearing state, the slave earphone enters the low power consumption state.

The method comprises the steps that a main earphone detects whether the main earphone is in an adsorption state or not, and whether the main earphone is in a wearing state or not (infrared detection and the like) or not, if the main earphone is in a non-adsorption state but in the wearing state, the main earphone works normally, and if the main earphone is in a non-adsorption state and in the non-wearing state, the main earphone enters low power consumption or is turned off; if the main earphone detects that the main earphone is in an adsorption state (possibly adsorbed on an earphone box or other equipment, or mutually adsorbed with the auxiliary earphone), the main earphone further detects whether the main earphone is in a wearing state, if the main earphone is in the wearing state, the main earphone and the auxiliary earphone are judged to be mutually adsorbed, and the main earphone controls to operate a single-ear working mode; if the master earphone is not in a wearing state, judging that the master earphone is adsorbed to an earphone box or other equipment or the slave earphone, the master earphone acquires the working state of the slave earphone (the working state can be acquired by connecting and transmitting related signals through Bluetooth, and the state of the slave earphone can also be judged by judging whether the slave earphone can be communicated with the slave earphone), and if the slave earphone is in the wearing state or the slave earphone is in an unadsorbed state (the slave earphone has a communication function and can feed back to the master earphone in the state), starting the communication function by the master earphone, and enabling the slave earphone to normally work; if the slave earphone is in an unworn state and in an adsorption state (the master earphone may not detect the communication with the slave earphone in this state, or the slave earphone may send a corresponding feedback signal to the master earphone when detecting that the slave earphone is in the adsorption state), the slave earphone starts a wireless charging function or is turned off or enters a low power consumption state.

Detecting whether the slave earphone is in an adsorption state, if the slave earphone is in a non-adsorption state and is in a non-wearing state, turning off or entering a low power consumption state; if the slave earphone is in a non-adsorption state but in a wearing state, the slave earphone works normally; if the slave earphone detects that the slave earphone is in an adsorption state (possibly adsorbed on an earphone box or other equipment, or mutually adsorbed with the master earphone), the slave earphone further detects whether the slave earphone is in a wearing state, if the slave earphone is in the wearing state, the slave earphone and the master earphone are judged to be mutually adsorbed, the slave earphone works normally, the master earphone keeps a communication function, and other unnecessary functions are closed. For the earphone capable of switching master-slave relation, the slave earphone can be switched to the master earphone and the single-ear working mode can be operated.

By adopting the technical scheme, the target operation condition currently met by the earphone is determined according to the working state of the earphone adsorption part and the wearing state of the earphone, the working mode of the earphone is further switched to the target working mode corresponding to the target operation condition, and the flexible switching of the working mode of the intelligent control earphone is realized.

In some embodiments, the headset is further provided with a wireless receiving coil;

the method further comprises the following steps: detecting the working state of the wireless receiving coil; the working state of the wireless receiving coil comprises a charging state and an uncharged state;

in a possible embodiment, the determining, from the at least one operating condition based on the operating state of the suction element, a target operating condition that the earphone satisfies includes: and determining a target operation condition which is met by the earphone from the at least one operation condition based on the operation state of the adsorption part and the operation state of the wireless receiving coil.

It should be noted that, in the present application, the charging state of the wireless receiving coil may refer to that the wireless receiving coil induces a magnetic flux change to generate an induced current in the coil so as to satisfy a wireless charging condition; the non-charging state may be a case where the wireless receiving coil does not generate an induced current or the generated induced current does not satisfy the wireless charging condition.

For example, in some embodiments, there may be no mutual charging function between a pair of earphones, so it is possible to distinguish whether an earphone is attached to an earphone box or another earphone or attached to another attachable device by a combination of the attached state and the charged state. Of course, the further operation mode may be controlled according to whether the wireless receiving coil is in the charging state, for example, the wireless charging function is operated when the wireless receiving coil is in the charging state.

In one possible embodiment, the target operating condition that the earphone satisfies is determined from the at least one operating condition based on the operating state of the suction member, the wearing state of the earphone, and the operating state of the wireless receiving coil.

That is, in order to apply more headset application scenarios, the operating condition that the headset meets is further determined according to the charging state of the headset.

In practical application, the method for detecting the working state of the wireless receiving coil comprises the following steps: when the power signal transmitted by the wireless transmitting coil and received by the wireless receiving coil meets the charging condition, determining that the wireless receiving coil is in a charging state; and when the wireless receiving coil does not receive the power signal of the wireless transmitting coil or the received power signal does not meet the charging condition, determining that the wireless receiving coil is in a non-charging state. Here, the charging condition may be: the strength of the power signal is larger than the strength threshold value, and the duration is longer than the preset duration.

Accordingly, the operating conditions further include: and judging whether the wireless receiving coil is in a charging state or a non-charging state. Specifically, if the earphone is attached to a charging area of the earphone box and can receive a wireless charging signal, the earphone is in a charging state, and if the earphone is attached to a non-charging area and cannot receive the charging signal, the earphone is in a non-charging state.

For example, when the eleventh operating condition includes an adsorption state, a wearing state, and a non-charging state, the operating mode corresponding to the earphone may be to control the earphone to normally operate, and to turn off the wireless charging function; and when the twelfth operating condition comprises an adsorption state, a non-wearing state and a charging state, the working mode corresponding to the earphone can be a wireless charging function for operation, a wake-up detection function is reserved, and other functions are closed.

The earphone is suitable for a single wireless earphone such as a single Bluetooth earphone and is also suitable for a double wireless earphone such as a TWS true wireless Bluetooth earphone.

In a single earphone or a scene without distinguishing a master earphone and a slave earphone, when the earphone senses that the earphone is adsorbed on an earphone box or other metal equipment through a magnetic sensor such as a Hall sensor or an electromagnetic sensor and does not receive a power signal transmitted from a wireless charging area, the earphone enters a low power consumption state, necessary functions such as awakening detection and the like are left, and other unnecessary functions can be temporarily closed, such as audio pause playing. When the earphone is adsorbed on the box or other wireless charging equipment, and the power signal transmitted from the wireless charging area is received, the earphone is disconnected from the Bluetooth to start the wireless charging function, and the awakening detection function is reserved. Therefore, a user can select to adsorb in different areas of the earphone box so as to realize different earphone functions, for example, when the earphone is placed in the earphone box, the earphone box also charges the earphone, the charging can be wireless charging or wired charging, the charging function is started by the earphone and the awakening detection function is reserved, when the earphone is placed in the earphone box, the earphone box does not charge the earphone and only serves as a storage box, and the earphone only reserves the awakening detection function; when the earphone is adsorbed to a charging area for charging, the earphone enters a low power consumption state or a power-off state for charging; when the earphone senses that the earphone is in the non-absorption state and the wearing state, the earphone enters a normal mode, such as starting a communication function, starting an audio input and output function and the like.

In an application scenario that a master earphone and a slave earphone are distinguished and the master earphone and the slave earphone cannot be switched, when a wireless charging function is added, if the master earphone senses that the master earphone is in an adsorption state and receives a wireless charging signal, but the slave earphone is detected to be in a wearing state or can be connected with the slave earphone, the master earphone carries out wireless charging, a communication function and a wake-up detection function are reserved, and other unnecessary functions can be temporarily closed; if the master earphone senses that the master earphone is in the adsorption state and receives a wireless charging signal, but detects that the slave earphone is not worn or cannot be connected with the slave earphone or detects that the slave earphone is in the adsorption state, the master earphone carries out wireless charging, a wake-up detection function and the like are reserved, and other unnecessary functions can be temporarily closed; if the earphone senses that the earphone is in the adsorption state and receives the wireless charging signal, the earphone is charged, the communication connection is disconnected, and other unnecessary functions of the wake-up function are kept and temporarily shut down (for example, the circuit of the corresponding function module is shut down or powered off).

When the earphone includes the wireless receiving coil, the embodiment of the present application provides an earphone box including a wireless charging function, and the earphone box can directly wirelessly charge the earphone, optionally, as shown in fig. 5, a power module 226 is disposed in the earphone box 22, at least one magnetic region 222 includes a magnetic region 227, and the magnetic region 227 is electrically connected with the power module 226, so that the power module 226 charges the earphone 21 adsorbed on the outer surface of the earphone box 22 through the magnetic region 227.

When the earphone is adsorbed on the magnetic area, the power module can wirelessly charge the earphone through the magnetic area. Here, the magnetic region may be wirelessly charged to the earphone in the following wireless charging manner: an electromagnetic induction system, an electromagnetic resonance system, an electric field coupling system, a radio wave system, and the like.

Alternatively, the entire face of the magnetic region 227 serves as the charging region 2271.

When the entire surface of the magnetic region 227 is used as the charging region 2271, the wireless transmission coil 228 is provided at a position corresponding to the magnetic region 227. For example, the wireless transmitting coil 228 is disposed inside the earphone box housing corresponding to the magnetic region 222.

Alternatively, as shown in fig. 6 and 7, the magnetic region includes: a charging area 2271 and a non-charging area 2272; the charging area 2271 is provided with a wireless transmitting coil 228, the wireless transmitting coil 228 being usable for charging in cooperation with a wireless receiving coil of the headset.

Here, the wireless transmission coil 228 is connected to the power supply module 226, and when the earphone 21 is attached to the outer surface of the earphone case 22, the power supply module 226 charges the earphone 21 through the wireless transmission coil 228 and the wireless reception coil 212 on the earphone 21.

A partial region of the magnetic region 227 serves as a charging region 2271, and the wireless transmission coil 228 is provided at a position corresponding to the charging region 2271. The region other than the charging region 2271 in the magnetic region 227 is a non-charging region 2272.

The earphone box has the function of containing earphones, and can charge the adsorbed earphones in a wireless charging mode, so that the earphones are charged in a wireless charging mode while being stored, and the multifunctional earphone box is realized.

By adopting the technical scheme, the target operation condition currently met by the earphone is determined according to the working state of the earphone adsorption part, the working mode of the earphone is further switched to the target working mode corresponding to the target operation condition, and the flexible switching of the working mode of the intelligent control earphone is realized.

Optionally, as shown in fig. 8, an accommodating groove 229 for accommodating the earphone 21 is further disposed in the earphone box 22, and a groove wall of the accommodating groove 229 is provided with: a second connection part 230 electrically connected to the power supply module; the power module 226 charges the earphone 21 through the second connection part 230 and the first connection part 213 when the first connection part 213 of the earphone 21 contacts the second connection part 230.

In the embodiment of the present invention, the shape of the receiving groove 229 may correspond to the shape of the earphone, so that the earphone is correspondingly inserted into the receiving groove.

The earphone box provided by the embodiment of the invention can simultaneously support two charging modes of wireless charging and wired charging, and can charge the earphone based on any one of the two charging modes, so that the flexibility of the charging mode is improved, and more charging options are provided for a user.

Optionally, as shown in fig. 9 and 10, the earphone box 22 is further provided with: a charging port 231 or a wireless charging area 232 electrically connected with the power supply module 226; the charging port 231 or the wireless charging area 232 is used for the charging device to charge the power module 226.

As shown in fig. 11, the headphone 21 includes: a first earphone 21-1 and a second earphone 21-2; the adsorption member 211 includes: a first magnetic sub-assembly 211-1 disposed on the first earphone 21-1; a second magnetic sub-assembly 211-2 disposed on the second earphone 21-2; the first magnetic sub-component 211-1 and the second magnetic sub-component 211-2 can attract each other.

Here, the first earphone and the second earphone are one of a left earphone and a right earphone, respectively. In one example, the first earpiece is a right earpiece and the second earpiece is a left earpiece. In yet another example, the first earpiece is a left earpiece and the second earpiece is a right earpiece.

In the embodiment of the invention, the earphone comprises an earphone body and an earphone body, wherein the first magnetic part can be the earphone or the earphone body at the position in the first earphone; the position of the second magnetic sub-assembly in the second earpiece may be the earpiece or the earpiece body. The position of the first magnetic sub-assembly in the first earphone and the position of the second magnetic sub-assembly in the second earphone can be the same or different.

In one example, as shown in fig. 11, the first magnetic sub-assembly is located inside the earpiece body of the first earpiece and the second magnetic sub-assembly is located inside the earpiece body of the second earpiece.

In an example, the first magnetic sub-assembly is located on an earpiece of the first earpiece and the second magnetic sub-assembly is located inside an earpiece body of the second earpiece.

In an embodiment, the first magnetic sub-component is disposed on a contour surface of an earpiece portion of the first earphone; or the second magnetic sub-component is arranged on the contour surface of the earphone part of the second earphone.

In one example, the first magnetic sub-assembly is located on a contour surface of an earpiece portion of the first earpiece and the second magnetic sub-assembly is located on a contour surface of an earpiece portion of the second earpiece. In one example, the first magnetic sub-component is located on the earphone body of the first earphone, and the second magnetic sub-component is located on the contour surface of the earphone part of the second earphone. In an example, the first magnetic sub-component is located on a contour surface of an earphone part of the first earphone, and the second magnetic sub-component is located on an earphone body of the second earphone. In an example, the first magnetic sub-assembly is located on an earphone body of the first earphone and the second magnetic sub-assembly is located on an outer side of an earphone body, e.g., an earphone handle, of the second earphone. Of course, the arrangement can also be carried out at other positions.

The left earphone and the right earphone are attracted and adsorbed together through the first magnetic sub-component and the second magnetic sub-component.

The left earphone and the right earphone can be mutually adsorbed, so that a user can conveniently find the earphone.

The earphone comprising the adsorption part provided by the embodiment of the invention can adsorb two earphones together for storage when a user does not wear the earphones, so that the two earphones can be conveniently found together, and the user does not need to find one earphone and then find the other earphone.

Optionally, as shown in fig. 12, the earphone box 22 includes: the box body 224, the box cover 225 and the containing cavity formed on the box cover based on the box body cover; the earphone 21 can be accommodated in the accommodating cavity, wherein the earphone 21 is attracted to the accommodating cavity through the magnetic area 222.

Here, when the box body is covered on the box cover, an accommodating cavity is formed, and at the moment, the earphone box is in a covered state. When the earphone box is in an open state, the box body and the box cover can be connected but are not in a closed state, or the box body and the box cover are separated.

When the earphone 21 is stored in the earphone box 22, the earphone box 22 can absorb the earphone 21 in the containing cavity by the absorption of the magnetic area 222 to the absorption component 211, so that the earphone 21 is fixed and cannot move back and forth in the earphone box.

When the earphone 21 is absorbed in the accommodating cavity, the box body 224 and the box cover 225 can be closed, so that the earphone is accommodated in the earphone box.

Based on the earphone subassembly that this application embodiment provided, earphone selective absorption is in order to carry out interim taking in at the surface of earphone box, also can place and carry out long-time taking in the holding intracavity of earphone box.

As shown in fig. 13, the earphone 21 in the earphone assembly according to the embodiment of the present invention may also be charged by a wireless charging device supporting wireless charging, such as a mobile phone 23 supporting wireless charging or a wireless charging board 24, other than the earphone box, so that the charging device of the earphone is not limited to the earphone box.

When the earphone box provided by the embodiment of the invention is charged on the charging equipment supporting wireless charging or is charged by the charging equipment in a wired mode, the earphone box can charge the earphone in the wired mode or the wireless charging mode while being charged, so that the earphone box and the earphone are charged at the same time, and the user experience of the earphone box is improved.

The embodiment of the application also provides an earphone control device, wherein the earphone is provided with an adsorption part; as shown in fig. 14, the apparatus includes:

a detection unit 1401 for detecting an operating state of the suction member; wherein the working state of the adsorption part is an adsorption state or a non-adsorption state;

a processing unit 1402, configured to determine, from the at least one operating condition, a target operating condition that is met by the earphone based on an operating state of the suction element;

the processing unit 1402 is further configured to determine a target working mode corresponding to the target operating condition based on a corresponding relationship between at least one operating condition and at least one working mode;

a control unit 1403, configured to control the earphone to operate in the target operation mode.

In some embodiments, the detecting unit 1401 is further configured to detect a wearing state of the headset; and/or detecting the working state of a wireless receiving coil of the earphone; the working state of the wireless receiving coil comprises a charging state and an uncharged state;

a processing unit 1402, specifically configured to determine, from the at least one operating condition, a target operating condition that is met by the earphone based on an operating state of the adsorbing component and a wearing state of the earphone; or, determining a target operation condition satisfied by the earphone from the at least one operation condition based on the operation state of the adsorption component and the operation state of the charging coil; or, a target operation condition that the earphone satisfies is determined from the at least one operation condition based on an operation state of the adsorption part, a wearing state of the earphone, and an operation state of the wireless receiving coil.

That is, the earphone is also provided with a wireless receiving coil.

In practical application, the operation condition is combined and synthesized by the working state of the adsorption part, the working state of the wireless receiving coil and the wearing state of the earphone.

For example, the at least one operating condition includes: a first operating condition in which the adsorption element is in an adsorption state; a second operating condition in which the adsorbent is in a non-adsorbed state; a third operating condition comprising that the adsorption part is in an adsorption state and the earphone is in a wearing state; a fourth operating condition comprising the suction member being in a suction state and the earphone being in an unworn state; a fifth operating condition comprising that the adsorption part is in an unadsorbed state and the earphone is in a wearing state; a sixth operating condition comprising the adsorbent member being in an unabsorbed state and the earpiece being in an unabsorbed state; a seventh operating condition, including that the first magnetic sub-component is in an adsorption state, the first earphone is in an unworn state, the second magnetic component is in an adsorption state, and the second earphone is in a wearing state; and the eighth operating condition comprises that the first magnetic sub-component is in an adsorption state, the first earphone is in an unadsorbed state, the second magnetic component is in an unadsorbed state, the second earphone is in a wearing state and the like.

In some embodiments, the headset comprises: the earphone comprises a first earphone and a second earphone, wherein the first earphone is a master earphone, and the second earphone is a slave earphone; the adsorption member includes: the first magnetic sub-component is arranged on the first earphone, and the second magnetic sub-component is arranged on the second earphone; the first magnetic sub-component and the second magnetic sub-component can attract each other.

In some embodiments, the processing unit 1402 is specifically configured to determine, from the at least one operating condition, a first target operating condition that is met by the first earphone and a second target operating condition that is met by the second earphone based on the wearing state of the first earphone, the operating state of the first magnetic sub-assembly, the wearing state of the second earphone, and the operating state of the second magnetic sub-assembly; and determining a first target working mode corresponding to the first target operating condition and a second target working mode corresponding to the second target operating condition based on the corresponding relation between at least one operating condition and at least one working mode.

In some embodiments, the operating modes include: the method comprises the steps of operating a communication function, closing the communication function, operating a wireless charging function, closing the wireless charging function, operating an audio input/output function, closing the audio input/output function, a low power consumption mode, a normal working mode, a master ear mode, a slave ear mode, a monaural mode, a binaural mode, turning off, operating a call mode, and closing the call mode.

In some embodiments, the headset is configured with a headset case, at least one external surface of the headset case including a magnetic region; the adsorption state is the state of mutual attraction between the earphones, or the state of mutual attraction between the earphones and the earphone box.

In some embodiments, the earphone can be placed on the outer surface of the earphone box for wireless charging or placed inside the earphone box for storage and charging.

An embodiment of the present application further provides another earphone control device, as shown in fig. 15, the device includes: a processor 1501 and a memory 1502 configured to store computer programs operable on the processor; the processor 1501 implements the steps of the method in the embodiments of the present application when running the computer program in the memory 1502.

In practice, of course, the various components of the device are coupled together by a bus system 1503 as shown in FIG. 15. It is understood that the bus system 1503 is used to enable communications among the components connected thereto. The bus system 1503 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are designated as bus system 1503 in fig. 15.

The embodiment of the present application further provides another earphone box, as shown in fig. 3, at least one outer surface 221 of the earphone box 22 includes at least one magnetic region 222, and the magnetic region 222 has magnetism, so that the earphone box 22 can adsorb the earphone 21 to the outer surface 221 of the earphone box 22 by adsorbing the adsorption component 211 on the earphone 21 through the magnetic region 222. Therefore, the earphone 21 can be made to determine a target operation condition that the earphone 21 satisfies from the at least one operation condition based on the operation state of the suction part of the earphone 21, determine a target operation mode corresponding to the target operation condition based on the correspondence between the at least one operation condition and the at least one operation mode, and control the earphone 21 to operate in the target operation mode.

In some embodiments, the at least one magnetic region includes a charging region, and the charging region is electrically connected to a power module, so that the power module charges earphones attached to the outer surface of the earphone case through the charging region.

The embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method according to any of the embodiments.

In practical applications, the processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, and a microprocessor. It is understood that the electronic device for implementing the above processor function may be other devices, and the embodiments of the present application are not limited in particular.

The Memory may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (HDD), or a Solid-State Drive (SSD); or a combination of the above types of memories and provides instructions and data to the processor.

It should be noted that: "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.

The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.

Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.

The features disclosed in the several method or device embodiments provided in the present application may be combined in any combination to arrive at a new method or device embodiment without conflict.

The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

22页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种入耳式耳机及耳机固持结构

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类