Headphone control method, device, headphone box and storage medium

By introducing adsorption components and magnetic areas into the TWS headsets, detecting their status and switching working modes, the inconvenience of headset storage and charging methods is solved, and flexible control and multi-functional use of the headset working mode are realized, improving the user experience.

CN113542955BActive Publication Date: 2025-01-03GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010314328.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-20
Publication Date
2025-01-03
Estimated Expiration
2040-04-20

AI Technical Summary

Technical Problem

The existing TWS headsets have inconvenience in the storage, charging mode and working mode switching, and the control mode is not flexible enough.

Method used

By setting up adsorption components in the headset, detecting their working state, and determining the target working mode according to the adsorption state and other operating conditions, intelligent control of the headset is realized, including adsorption and wireless charging of the headset on the headset box with a magnetic area.

Benefits of technology

It realizes flexible switching and multi-function control of the headphone working mode, improving the user experience, especially in the charging and storage process, providing greater convenience and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113542955B_ABST
    Figure CN113542955B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a headset control method, device and storage medium, wherein the headset is provided with an adsorption component; the method comprises: detecting the working state of the adsorption component; wherein the working state of the adsorption component comprises an adsorption state and a non-adsorption state; based on the working state of the adsorption component, determining the target operating condition satisfied by the headset from the at least one operating condition; based on the correspondence between the at least one operating condition and the at least one operating mode, determining the target operating mode corresponding to the target operating condition; and controlling the headset to operate in the target operating mode. In this way, according to the working state of the headset adsorption component, the target operating condition currently satisfied by the headset is determined, and the operating mode of the headset is further switched to the target operating mode corresponding to the target operating condition, thereby realizing flexible switching of the working modes of the intelligently controlled headset.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of earphone technology, and in particular to an earphone control method, an earphone control device, an earphone box and a storage medium. Background Art

[0002] True Wireless Stereo (TWS) headphones, referred to as TWS headphones. TWS headphones are a device that transmits stereo signals based on Bluetooth technology, that is, the left and right headphones receive stereo signals from mobile phones and other playback devices via Bluetooth without any wires connected, and can work independently by wirelessly separating the left and right channels. True wireless can be worn on one or both ears. Existing Bluetooth headphones, especially TWS headphones, are generally placed in a headphone box for storage and charging.

[0003] In the related art, TWS earphones are inconvenient to store temporarily, have a single charging method and a single working mode, and the switching control method of the working mode is not flexible enough. Summary of the invention

[0004] The embodiments of the present invention provide an earphone control method, an apparatus, an earphone box and a storage medium, which can realize flexible control of multiple working modes of the earphone.

[0005] The technical solution of the embodiment of the present invention is achieved as follows:

[0006] In a first aspect, an embodiment of the present invention provides a method for controlling an earphone, wherein the earphone is provided with an adsorption component;

[0007] Detecting the working state of the adsorption component; wherein the working state of the adsorption component includes an adsorption state and a non-adsorption state;

[0008] determining, based on the working state of the adsorption component, a target operating condition satisfied by the headset from the at least one operating condition;

[0009] Determining a target operating mode corresponding to the target operating condition based on a correspondence between at least one operating condition and at least one operating mode;

[0010] The headset is controlled to operate in the target operating mode.

[0011] In a second aspect, an embodiment of the present invention provides an earphone control device, wherein the earphone is provided with an adsorption component; the device comprises:

[0012] A detection unit, used to detect the working state of the adsorption component; wherein the working state of the adsorption component is an adsorption state or a non-adsorption state;

[0013] a processing unit, configured to determine, based on the working state of the adsorption component, a target operating condition satisfied by the headset from the at least one operating condition;

[0014] The processing unit is further configured to determine a target operating mode corresponding to the target operating condition based on a correspondence between at least one operating condition and at least one operating mode;

[0015] The control unit is used to control the headset to operate in the target operating mode.

[0016] According to a third aspect, a headset control device is provided, the device comprising: a processor and a memory configured to store a computer program that can be run on the processor,

[0017] Wherein, the processor is configured to execute the steps of the method described in the first aspect when running the computer program.

[0018] In a fourth aspect, an earphone box is provided, wherein at least one outer surface of the earphone box comprises at least one magnetic region, and the magnetic region is magnetic, so that the earphone box can adsorb the adsorption component of the earphone through the magnetic region, and adsorb the earphone to the outer surface of the earphone box.

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

[0020] The embodiment of the present invention provides a headset control method, device and storage medium, wherein the headset is provided with an adsorption component; the method comprises: detecting the working state of the adsorption component; wherein the working state of the adsorption component comprises an adsorption state and a non-adsorption state; based on the working state of the adsorption component, determining the target operating condition satisfied by the headset from the at least one operating condition; based on the correspondence between at least one operating condition and at least one operating mode, determining the target operating mode corresponding to the target operating condition; and controlling the headset to operate in the target operating mode. In this way, according to the working state of the headset adsorption component, the target operating condition currently satisfied by the headset is determined, and the operating mode of the headset is further switched to the target operating mode corresponding to the target operating condition, thereby realizing flexible switching of the working modes of the intelligently controlled headset. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a flow chart of the headphone control method according to an embodiment of the present application;

[0022] Figure 2 A schematic diagram of a first optional structure of an earphone assembly provided in an embodiment of the present application;

[0023] Figure 3 A schematic diagram of a second optional structure of an earphone assembly provided in an embodiment of the present application;

[0024] Figure 4 A third optional structural schematic diagram of the earphone assembly provided in the embodiment of the present application;

[0025] Figure 5 A schematic diagram of a fourth optional structure of the earphone assembly provided in an embodiment of the present application;

[0026] Figure 6 A fifth optional structural schematic diagram of the earphone assembly provided in the embodiment of the present application;

[0027] Figure 7 A schematic diagram of a non-charging area provided in an embodiment of the present application;

[0028] Figure 8 A sixth optional structural schematic diagram of the earphone assembly provided in an embodiment of the present application;

[0029] Fig. 9 A seventh optional structural schematic diagram of the earphone assembly provided in the embodiment of the present application;

[0030] Fig.10 An eighth optional structural schematic diagram of an earphone assembly provided in an embodiment of the present application;

[0031] Fig.11 A ninth optional structural schematic diagram of an earphone assembly provided in an embodiment of the present application;

[0032] Fig.12 A tenth optional structural schematic diagram of an earphone assembly provided in an embodiment of the present application;

[0033] Fig.13 A schematic diagram of an optional application of the earphone provided in an embodiment of the present application;

[0034] Fig.14 A schematic diagram of a first component structure of an earphone control device provided in an embodiment of the present application;

[0035] Fig.15 A schematic diagram of a second component structure of the earphone control device provided in an embodiment of the present application.

[0036] Explanation of some figure marks: 20, earphone assembly; 21, earphone; 21-1, first earphone; 21-2, second earphone; 211, adsorption component; 211-1, first magnetic subcomponent; 211-2, second magnetic subcomponent; 212, wireless receiving coil; 213, first connecting part; 22, earphone box; 221, outer surface; 222, magnetic area; 223, magnetic subcomponent; 224, box body; 225, box cover; 226, power module; 227, magnetic area; 2271, charging area; 2272, non-charging area; 228, wireless transmitting coil; 229, accommodating groove; 230, second connecting part; 231, charging port; 232, wireless charging area; 23, mobile phone; 24, wireless charging plate. DETAILED DESCRIPTION

[0037] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the embodiments provided herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the embodiments provided below are partial embodiments for implementing the present invention, rather than providing all embodiments for implementing the present invention. In the absence of conflict, the technical solutions recorded in the embodiments of the present invention can be implemented in any combination.

[0038] The present application embodiment provides a headset control method. Figure 1 FIG. 1 is a schematic diagram of a first flow chart of a headphone control method in an embodiment of the present application. Figure 1 As shown, the method may specifically include:

[0039] Step 101: Detecting the working state of the adsorption component; wherein the working state of the adsorption component includes an adsorption state and a non-adsorption state;

[0040] Step 102: determining a target operating condition satisfied by the headset from the at least one operating condition based on the working state of the adsorption component;

[0041] Step 103: determining a target operating mode corresponding to the target operating condition based on a correspondence between at least one operating condition and at least one operating mode;

[0042] Step 104: Control the headset to operate in the target operating mode.

[0043] Before introducing the earphone control method provided by the embodiment of the present invention, the structure of the earphone assembly is first illustrated by way of example.

[0044] like Figure 2As shown, the earphone assembly 20 includes an earphone 21 and an earphone box 22, wherein the earphone 21 includes: a first earphone 21-1 (i.e., a left earphone) and a second earphone 21-2 (i.e., a right earphone). When the earphone needs to be stored in the earphone box, the cover of the earphone box 22 is opened, and the earphone 21 is placed in the corresponding position in the receiving groove for storage. The earphone can also be charged through the earphone box, and the charging can be contact charging or wireless charging. Of course, the earphones in this application generally refer to wireless earphones, which can be TWS earphones or single earphones, such as single Bluetooth earphones.

[0045] In the embodiment of the present application, the earphone is provided with an adsorption component, and the outer surface of the earphone box for storing the earphone is also provided with an adsorption component that is mutually attracted to the earphone magnetic sub-component, and the adsorption component can be a magnetic sub-component. For a pair of earphones, the two earphones can be attracted to each other through their respective adsorption components, or can be adsorbed on the earphone box through the adsorption component.

[0046] In practical applications, the embodiment of the present invention specifically provides an earphone box 22, such as Figure 3 As shown, at least one outer surface 221 of the earphone box 22 includes at least one magnetic area 222. The magnetic area 222 is magnetic, so that the earphone box 22 can adsorb the earphone 21 to the outer surface 221 of the earphone box 22 through the adsorption of the adsorption component 211 on the earphone 21 by the magnetic area 222.

[0047] Here, the earphone box is a box that can store earphones inside. Figure 3 The structural diagram shown is a cross-sectional view of the earphone box.

[0048] In one example, the earphone box housing where the magnetic area is located is integrated with magnetic material, so that the earphone box housing has magnetism. In the case where the earphone box housing where the magnetic area is located is integrated with magnetic material, the material of the earphone box housing where the magnetic area is located is magnetic material.

[0049] In one example, if Figure 4 As shown, a magnetic sub-component 223 is provided on the earphone box housing where the magnetic area 222 is located, so that the magnetic area has magnetism.

[0050] The magnetic sub-component may be arranged on the outer surface of the earphone box shell where the magnetic area is located, or may be arranged on the inner surface of the earphone box shell where the magnetic area is located.

[0051] It should be noted that in Figure 3 In the structural diagram of the earphone box shown, the magnetic area is exemplarily described by taking the example that a magnetic sub-component is provided on the earphone box shell where the magnetic area is located so that the magnetic area has magnetism and the magnetic sub-component is provided on the inner surface of the earphone box shell where the magnetic area is located.

[0052] Taking the example of the magnetic area being provided with a magnetic sub-component, the shape of the magnetic sub-component in the earphone box 22 can be: square, tile-shaped, special-shaped, cylindrical, annular, disc, etc. The embodiment of the present invention does not impose any limitation on the shape of the magnetic sub-component. Moreover, the magnetic poles of the magnetic area can be different, so as to meet the adsorption of earphones with different magnetic poles. When the magnetic poles of the left and right ears are different, magnetic adsorption can also be performed corresponding to different magnetic areas on the earphone box. Of course, the surface of the earphone box can also be made of metal material, etc., so that the adsorption component of the earphone can be magnetically attracted to the outer surface of the earphone box.

[0053] The number of the magnetic sub-components of the earphone box 22 can be one or more. Depending on the number of the magnetic sub-components, the number of the magnetic areas of the earphone box can also be one or more.

[0054] In one example, the earphone box 22 includes six outer surfaces, including an upper surface, a lower surface and four side surfaces, wherein the upper surface is a curved surface, and the four side surfaces and the lower surface are flat surfaces.

[0055] In the embodiment of the present invention, there is no restriction on the shape of the earphone box and the number of the outer surfaces included. In one example, the earphone box is a cube including six outer surfaces. In another example, the earphone box is a cylinder including three outer surfaces.

[0056] Optionally, the outer surface of the earphone box includes a plane. Optionally, the outer surface of the earphone box includes a plane and a curved surface.

[0057] The number of outer surfaces including the magnetic area in the earphone box is one or more, which is not limited in the embodiment of the present invention. In one example, one of the six outer surfaces included in the earphone box includes the magnetic area. In another example, three of the six outer surfaces included in the earphone box respectively include the magnetic area.

[0058] The number of magnetic regions included in the outer surface including the magnetic region is one or more (a plurality includes two or more). In one example, the outer surface A includes the magnetic region and only includes one magnetic region. In one example, the outer surface B includes the magnetic region and includes three magnetic regions.

[0059] In practical applications, the working state of the adsorption component can be detected by a magnetic sensor, etc. When the earphone is in contact with an earphone box or other metal objects, the magnetic field strength is detected to be greater than the magnetic field threshold, and the adsorption component is determined to be in an adsorption state; otherwise, the adsorption component is determined to be in a non-adsorption state.

[0060] Exemplarily, the at least one operating condition includes: a first operating condition, the adsorption component is in an adsorption state; and a second operating condition, the adsorption component is in a non-adsorption state.

[0061] Accordingly, at least one working mode includes: a first working mode including turning off the audio input / output function; and a second working mode including a normal operating state. For example, the first operating condition corresponds to the first working mode, and the second operating condition corresponds to the second working mode.

[0062] Exemplarily, when the earphones are adsorbed on the earphone box, the earphones detect that they are in the adsorption state and turn off the audio input / output function. At this time, if a song is playing, the player of the earphones stops playing. Furthermore, a signal can be sent to a terminal device wirelessly connected to the earphones, such as a mobile phone, to control the mobile phone to stop audio playback.

[0063] For example, when the earphone is adsorbed on an earphone box or another earphone or other metal device, when a call is incoming, the user picks up the earphone, and the earphone is sensed by a magnetic sensor such as a Hall sensor or an electromagnetic sensor that it is in an unadsorbed state, and the audio input / output function is then run. Furthermore, the earphone sends a signal to the mobile phone to automatically answer the call.

[0064] When the user places the headset on the headset box / other metal equipment / adsorbed together with another headset during a call, the headset senses that the headset is adsorbed through a magnetic sensor such as a Hall sensor or an electromagnetic sensor, and then turns off the audio input / output function. Furthermore, the headset sends a signal to the mobile phone to make the mobile phone hang up the call. In this way, the headset can be intelligently controlled to answer the call.

[0065] Of course, the first working mode may also include turning off the Bluetooth communication function or running in a low power consumption state.

[0066] By adopting the above technical solution, the target operating conditions currently met by the earphone are determined according to the working state of the earphone adsorption component, and the working mode of the earphone is further switched to the target working mode corresponding to the target operating condition, thereby realizing flexible switching of the working mode of the intelligently controlled earphone.

[0067] In some embodiments, the method also includes: detecting the wearing state of the headset; determining the target operating condition satisfied by the headset from the at least one operating condition based on the working state of the adsorption component, including: determining the target operating condition satisfied by the headset from the at least one operating condition based on the working state of the adsorption component and the wearing state of the headset.

[0068] That is to say, in order to adapt to more earphone application scenarios, the operating conditions satisfied by the earphone are further judged according to the wearing state of the earphone.

[0069] In practical applications, the wearing state of the headset can be detected by a distance sensor. The distance sensor can be set at a position where the headset contacts the user's ear or the ear when the user wears it. When the distance sensor detects a distance value less than a distance threshold, the headset is determined to be in a wearing state. When the distance sensor detects a distance value less than a distance threshold, the headset is determined to be not in a wearing state. The wearing state can also be detected by fit, infrared sensing, fit, etc., which are not listed here one by one.

[0070] Correspondingly, the at least one operating condition includes: a third operating condition, including the adsorption component being in an adsorption state and the earphone being in a wearing state; a fourth operating condition, including the adsorption component being in an adsorption state and the earphone being in a not-worn state; a fifth operating condition, including the adsorption component being in a not-adsorption state and the earphone being in a wearing state; a sixth operating condition, including the adsorption component being in a not-adsorption state and the earphone being in a not-worn state.

[0071] In some embodiments, the working modes include: running communication function, turning off communication function, running wireless charging function, turning off wireless charging function, running audio input / output function, turning off audio input / output function, low power consumption mode, normal working mode, master ear mode, slave ear mode, single ear mode, dual ear mode, power off, running call mode, and turning off call mode.

[0072] It should be noted that in actual applications, the target working mode may include some or all of the above modes. For example, when the earphone is detected to be in an adsorption state, the audio input / output function can be turned off, and a control instruction is sent to the mobile phone through the communication module to hang up the call (i.e., close the call), and then the communication function is turned off. The above execution order can be adjusted without conflict, for example, the audio input / output function is turned off last.

[0073] In this embodiment, the detection of the adsorption state, the detection of the wearing state, the detection of the wireless charging state, etc. can be real-time detection or periodic detection.

[0074] It should be noted that under the third operating condition, the user may take off one of the two earphones and attach it to the other earphone. Then, the other earphone is detected to be in an adsorbed state and in a wearing state at this time, and the first operating condition is met. Under this operating condition, the other earphone operates normally, that is, has communication function and audio input / output function, etc.;

[0075] Under the fourth operating condition, the user may take off one of the two earphones and attach it to the other earphone. Then, the removed earphone is detected to be in an adsorbed state and not worn. The communication function and / or the audio input / output function may be turned off, so that the wireless earphone enters a single-ear usage mode, and only the wake-up detection function of the earphone that meets the second operating condition may be retained, that is, the earphone enters a low-power state. Another case is that the user takes off an earphone (applicable to a single Bluetooth earphone) and attaches it to the surface of the earphone box. Then, the earphone is detected to be in an adsorbed state and not worn. Thus, the earphone enters a low-power state, and only the wake-up detection function may be retained. Of course, the above-mentioned adsorption state may also be adsorbed on other devices with adsorption function or other places.

[0076] Under the fifth operating condition, it may be a situation that a wireless headset or either left or right earphone of a pair of wireless headsets is worn on the user's ear and is not adsorbed by other earphones. In this case, the operating condition detected by the one or two earphones is that they are in a non-adsorbed state and in a worn state, that is, the third operating condition is met, and the corresponding operating mode may be a normal operating mode, that is, having communication functions and audio input / output functions, etc.;

[0077] Under the sixth operating condition, a wireless headset or one of the left and right headsets of the wireless headset may be placed in the headset box, or not placed in the headset box and not adsorbed on the headset box or adsorbed on another headset or adsorbed on other places. In this case, the headset detects that it is in a non-adsorbed state and not worn, which satisfies the fourth operating condition, and enters a low-power state, and only the wake-up detection function can be retained. Of course, the corresponding control instruction can also be determined in combination with the time of the condition, for example, if it is within the first time threshold, the audio input / output is turned off, if it is within the second time threshold, the Bluetooth connection is turned off, if it is within the third time threshold, only the wake-up detection function is retained, and if it is within the fourth time threshold, the headset is turned off and the system can even be powered off.

[0078] In addition, a certain time threshold can be set for each of the above conditions, that is, when the duration of a certain operating condition meets a certain time threshold, the corresponding working mode of the condition is switched to avoid frequent switching. Alternatively, when a certain operating condition meets a certain number of detections, the corresponding working mode is adjusted to avoid misjudgment.

[0079] In some embodiments, the earphone includes: a first earphone and a second earphone, and the adsorption component includes: a first magnetic subcomponent provided in the first earphone, and a second magnetic subcomponent provided in the second earphone; wherein the first magnetic subcomponent and the second magnetic subcomponent can be attracted to each other. Determining the target operating condition satisfied by the earphone from the at least one operating condition based on the working state of the adsorption component includes: determining the first target operating condition satisfied by the first earphone and the second target operating condition satisfied by the second earphone from the at least one operating condition based on the wearing state of the first earphone, the working state of the first magnetic subcomponent, the wearing state of the second earphone and the working state of the second magnetic subcomponent;

[0080] Based on the correspondence between at least one operating condition and at least one working mode, determining the target working mode corresponding to the target operating condition includes: based on the correspondence between at least one operating condition and at least one working mode, 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.

[0081] That is to say, when the earphones include a first earphone and a second earphone, the adsorption state and the wearing state of the two earphones can be detected respectively, so as to determine the operating conditions satisfied by each earphone respectively, and further determine their respective first target working mode and second target working mode.

[0082] When two earphones distinguish between a master earphone and a slave earphone, the working mode of the master earphone and the slave earphone is affected by the state of the other earphone. The operating conditions include judging 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.

[0083] In this case, an application scenario for distinguishing between master and slave earphones is provided (the master earphone refers to an earphone that establishes a Bluetooth connection with a terminal, and the slave earphone is an earphone that monitors the Bluetooth link between the master earphone and the terminal to obtain the audio source signal or establishes a Bluetooth connection with the master earphone and transfers the audio source signal through the master earphone). Then, the working mode includes a master ear mode and a slave ear mode, that is, the master and slave earphones can switch the master-slave relationship. For example, when the master earphone detects that it is in an adsorbed state and is not worn, that is, the master earphone may be taken off and adsorbed on the earphone box or the slave earphone. At this time, since the master earphone is not in use, the master-slave relationship can be switched first, and then the original master earphone starts to shut down or enters a low power consumption state; when the master earphone detects that it is in an adsorbed state and is in a worn state, that is, the master earphone may be worn on the user's ear and adsorbed by the slave earphone. In this case, the master earphone needs to continue to be used, so the master-slave switching is not performed. In some application scenarios where the master ear forwards audio signals to the slave ear, the audio forwarding of the slave earphone can be turned off in order to save power consumption. For the application scenario where the slave earphone monitors the audio signal, the master earphone can maintain normal operation; when the master earphone is not adsorbed and is not worn state, that is, the master earphone is not adsorbed on the earphone box or on the earphone after being taken off, and it may be temporarily taken off by the user at this time, so the master earphone may not change the working mode; when the master earphone is in the unadsorbed state and in the wearing state, that is, the master earphone is in normal use, and the master earphone can maintain the normal working mode; when the slave earphone is in the adsorbed state and in the unworn state, that is, the slave earphone may be adsorbed on the master earphone in the wearing state after being taken off, or the slave earphone is adsorbed on the earphone box after being taken off, and the slave earphone is not in use at this time, so the slave earphone can enter the low power consumption or shutdown state; when the slave earphone is in the adsorbed state and in the wearing state, that is, the master earphone is adsorbed on the slave earphone in the wearing state, since the slave earphone is in effect at this time, the master-slave switching is started, and the slave earphone changes from the slave ear mode to the master ear mode, that is, it can be set that the master earphone initiates the master-slave switching or it can be set that the slave earphone initiates the master-slave switching; when the slave earphone is in the unadsorbed state and in the unworn state, that is, the slave earphone may be temporarily taken off, and the working mode can be kept unchanged at this time; when the slave earphone is in the unadsorbed state and in the wearing state, the slave earphone is in the normal working mode at this time.

[0084] That is to say, the operating conditions include: the seventh operating condition, including the first magnetic sub-component being in an adsorbed state, the first earphone being in a not-worn state, the second magnetic component being in an adsorbed state, and the second earphone being in a worn state; the eighth operating condition, including the first magnetic sub-component being in an adsorbed state, the first earphone being in a not-worn state, the second magnetic component being in a not-adsorbed state, and the second earphone being in a worn state.

[0085] Here, the working modes corresponding to the seventh operating condition and the eighth operating condition are both: switching the master-slave relationship between the first earphone and the second earphone, that is, the first earphone is switched from the master ear mode to the slave ear mode, and the second earphone is switched from the slave ear mode to the master ear mode.

[0086] Furthermore, under the seventh operating condition, the first earphone and the second earphone can turn off the wireless charging function, and under the eighth operating condition, the first earphone can turn on the wireless charging function and the second earphone can turn off the wireless charging function. Of course, in some cases, wireless or contact power transmission can be performed between the first earphone and the second earphone.

[0087] The operating conditions also include: a ninth operating condition, including the first magnetic sub-component being in an adsorbed state, the first earphone being in a worn state, the second magnetic component being in an adsorbed state, and the second earphone being in a not-worn state; a tenth operating condition, including the first magnetic sub-component being in a not-adsorbed state, the first earphone being in a worn state, the second magnetic component being in an adsorbed state, and the second earphone being in a not-worn state.

[0088] The working modes corresponding to the ninth operating condition include: the first earphone runs in monaural mode (for the case of forwarding audio data between the master and the slave, the master earphone stops forwarding in monaural mode) or in normal working mode (cannot communicate with the second earphone after the second earphone is turned off or in low power consumption state, the first earphone is equivalent to monaural mode), the second earphone starts to shut down or enters low power consumption state, further, the first earphone and the second earphone turn off the wireless charging function, of course, in some cases, wireless or contact power transmission can be performed between the first earphone and the second earphone; the working modes corresponding to the tenth operating condition include: the first earphone runs in monaural mode (for the case of forwarding audio data between the master and the slave, the master earphone stops forwarding in monaural mode) or in normal working mode (cannot communicate with the second earphone after the second earphone is turned off or in low power consumption state, the first earphone is equivalent to monaural mode), the second earphone starts to shut down or enters low power consumption state, further, the wireless charging function can be started.

[0089] Furthermore, the corresponding working mode switching can be determined in combination with the time in a certain operating condition, so as to avoid the mode switching that is not actually required by the user due to a short-term change in the operating condition. In practical applications, for more precise regulation, when the two earphones distinguish between the master earphone and the slave earphone, the working mode of the master and slave earphones can also be affected by the state of the other party.

[0090] The embodiment of the present application also provides another application scenario for distinguishing between master and slave earphones (the master earphone refers to the earphone that establishes a Bluetooth connection with the terminal, and the slave earphone is the earphone that monitors the Bluetooth link between the master earphone and the terminal to obtain the sound source signal or connects to the master earphone via Bluetooth, and converts the sound source signal through the master earphone). For master-slave earphones that cannot be switched between master and slave, if the master earphone senses that it is in an adsorption state, but detects that the slave earphone is in a worn state or detects that it can be connected to the slave earphone, that is, the master earphone is adsorbed on the slave earphone in a worn state, or the master earphone is adsorbed on the earphone box, and the ability to connect to the slave earphone indicates that the slave earphone is in use, then the master earphone can retain the communication function, wake-up detection function, etc., and other unnecessary functions can be temporarily turned off or the master earphone can be turned off; if the master earphone senses that it is in an adsorption state, and detects that the slave earphone is not worn or detects that it cannot be connected to the slave earphone or detects that the slave earphone is in an adsorption state, that is to say, the master earphone does not need to be used, and the slave earphone has no need to be used. If it is needed, the master earphone enters a low-power state, and only the wake-up detection function can be retained, and other unnecessary functions can be temporarily turned off; if the slave earphone senses that it is in an adsorption state, and the master earphone detects that it is in a wearing state or not wearing state, the slave earphone enters a low-power state, disconnects the communication connection, retains the wake-up function, and temporarily turns off other unnecessary functions (for example, the circuit of the corresponding functional module is turned off or powered off, etc.), and of course it can also be turned off; if the master earphone senses that it is in a non-adsorption state and the slave earphone is in a wearing state, the master earphone is in a normal working state; if the master earphone senses that it is in a non-adsorption state and the slave earphone is not worn, the master earphone is in a low-power or shutdown state; it can also be that if the master earphone is in a non-adsorption state and detects that the slave earphone is in an adsorption state (the slave earphone actively sends feedback to the master earphone when it detects adsorption) or detects that the communication connection with the slave earphone is disconnected (when the master earphone actively detects that it cannot communicate with the slave ear), the single-ear operation mode is started, that is, data is no longer forwarded to the slave earphone.

[0091] That is to say, for the master-slave earphones that cannot be switched between master and slave, the working modes corresponding to the seventh operating conditions and the eighth operating conditions include: retaining the audio forwarding function from the first earphone to the second earphone and the wake-up detection function of the first earphone, and the second earphone works normally in the slave ear mode.

[0092] Here, a scenario in which the first earphone and the second earphone are attached to each other is given, for scenarios that do not distinguish between master and slave. When the earphones are a pair of TWS earphones, if the first earphone is detected to be in an attached state and is in a worn state, and the second earphone is detected to be in an attached state but is not worn, the first earphone works normally, and the second earphone enters a low power consumption state or is turned off;

[0093] For the scenarios that distinguish between master and slave but cannot switch between master and slave, when the master earphone is in the adsorption state and is worn, the master earphone runs the single-ear working mode (that is, does not forward data to the slave ear); when the master earphone is in the adsorption state and is not worn, the master earphone enters the low power consumption state or is shut down; when the slave earphone is in the adsorption state and is worn, the slave earphone works normally; when the slave earphone is in the adsorption state and is not worn, the slave earphone enters the low power consumption state.

[0094] The master earphone detects whether it is in an adsorption state, and the master earphone detects whether it is in a wearing state (infrared detection, etc.). If the master earphone is in an unadsorbed state but in a wearing state, it works normally. If the master earphone is in an unadsorbed state and in a not-worn state, it enters low power consumption or shuts down. If the master earphone detects that it is in an adsorption state (it may be adsorbed on the earphone box or other devices, or it may be adsorbed with the slave earphone), the master earphone further detects whether it is in a wearing state. If the master earphone is in a wearing state, it is determined that the master earphone and the slave earphone are adsorbed with each other, and the master earphone controls the operation of the single-ear working mode. If the master earphone is not in a wearing state, it is determined that the master earphone is adsorbed on the earphone box or other devices or the slave earphone. The master earphone obtains the working status of the slave earphone (it can be obtained by transmitting relevant signals through Bluetooth connection, or by judging whether it can communicate with the slave earphone to judge the status of the slave earphone). If the slave earphone is in a worn state or the slave earphone is in a non-adsorbed state (in this state, the slave earphone has the communication function and can feedback to the master earphone), the master earphone starts the communication function and the slave earphone works normally; if the slave earphone is not worn and is in an adsorbed state (in this state, the master earphone may not be able to detect communication with the slave earphone, or the slave earphone may send a corresponding feedback signal to the master earphone when it detects that it is in an adsorbed state), the slave earphone turns on the wireless charging function or shuts down or enters a low power consumption state.

[0095] The slave earphone detects whether it is in the adsorption state. If the slave earphone is not adsorbed and not worn, it shuts down or enters a low power consumption state. If the slave earphone is not adsorbed but worn, the slave earphone works normally. If the slave earphone detects that it is in the adsorption state (it may be adsorbed on the earphone box or other devices, or it may be adsorbed with the master earphone), the slave earphone further detects whether it is worn. If the slave earphone is worn, it is determined that the slave earphone and the master earphone are adsorbed, the slave earphone works normally, the master earphone maintains the communication function, and turns off other unnecessary functions. For earphones that can switch the master-slave relationship, the slave earphone can also be switched to the master earphone and run the single-ear working mode.

[0096] By adopting the above technical solution, the target operating conditions currently met by the earphone are determined according to the working state of the earphone adsorption component and the wearing state of the earphone, and the working mode of the earphone is further switched to the target working mode corresponding to the target operating condition, thereby realizing flexible switching of the working mode of the intelligently controlled earphone.

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

[0098] The method further comprises: detecting the working state of the wireless receiving coil; wherein the working state of the wireless receiving coil comprises a charging state and an uncharging state;

[0099] In a feasible implementation manner, determining the target operating condition satisfied by the headset from the at least one operating condition based on the working state of the adsorption component includes: determining the target operating condition satisfied by the headset from the at least one operating condition based on the working state of the adsorption component and the working state of the wireless receiving coil.

[0100] It should be noted that the charging state of the wireless receiving coil in the present application may refer to the situation where the wireless receiving coil senses a change in magnetic flux and generates an induced current in the coil to meet the wireless charging conditions; the uncharged state may refer to the situation where the wireless receiving coil does not generate an induced current or the generated induced current does not meet the wireless charging conditions.

[0101] For example, in some embodiments, a pair of earphones may not have the function of charging each other, so the combination of the adsorption state and the charging state can be used to distinguish whether the earphone is adsorbed to the earphone box or to another earphone or to other adsorbable devices. Of course, further working mode control can also be performed based on whether the charging state is on. For example, the wireless charging function is operated when the wireless receiving coil is in the charging state.

[0102] In a feasible implementation manner, based on the working state of the adsorption component, the wearing state of the headset and the working state of the wireless receiving coil, a target operating condition satisfied by the headset is determined from the at least one operating condition.

[0103] That is to say, in order to adapt to more earphone application scenarios, the operating conditions satisfied by the earphone are further determined according to the charging status of the earphone.

[0104] In practical applications, the method for detecting the working state of the wireless receiving coil includes: when the wireless receiving coil receives a power signal transmitted by the wireless transmitting coil and satisfies the charging condition, determining that the wireless receiving coil is in a charging state; 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 power signal strength is greater than the strength threshold, and the duration is greater than the preset duration.

[0105] Correspondingly, the operating conditions also include: determining whether the wireless receiving coil is in a charging state or a non-charging state. Specifically, if the headset is adsorbed in the charging area of ​​the headset box and can receive a wireless charging signal, the headset is in a charging state; if the headset is adsorbed in the non-charging area and cannot receive a charging signal, the headset is in a non-charging state.

[0106] For example, when the eleventh operating condition includes the adsorption state, the wearing state and the non-charging state, the corresponding working mode of the headset can be to control the normal operation of the headset and turn off the wireless charging function; when the twelfth operating condition includes the adsorption state, the not worn state and the charging state, the corresponding working mode of the headset can be to run the wireless charging function, retain the wake-up detection function, and turn off other functions.

[0107] The above-mentioned earphones are suitable for both single wireless earphones, such as single Bluetooth earphones, and dual wireless earphones, such as TWS true wireless Bluetooth earphones.

[0108] Here, in a scenario with a single earphone or an earphone that does not distinguish between master and slave, when the earphone senses that it is adsorbed onto the earphone box / other metal device through a magnetic sensor such as a Hall sensor or an electromagnetic sensor, but does not receive the power signal transmitted from the wireless charging area, the earphone enters a low-power state, retaining necessary functions such as wake-up detection, and other unnecessary functions can be temporarily turned off, such as pausing audio playback. When the earphone is adsorbed on a box / other device that supports wireless charging and receives the power signal transmitted from the wireless charging area, the earphone disconnects the Bluetooth connection to turn on the wireless charging function, and retains the wake-up detection function. Therefore, users can choose to adsorb on different areas of the earphone box to realize different earphone functions. For example, when the earphone is placed inside the earphone box, the earphone box also charges the earphone. The charging can be wireless charging or wired charging. The earphone turns on the charging function and retains the wake-up detection function. When the earphone is placed inside the earphone box, the earphone box does not charge the earphone but only serves as a storage box. The earphone only retains the wake-up detection function. When the earphone is adsorbed to the charging area for charging, the earphone enters a low power consumption state or a shutdown state for charging. When the earphone senses that it is in an unadsorbed state and is in a wearing state, it enters a normal mode, such as starting the communication function, starting the audio input and output function, etc.

[0109] Here, in an application scenario in which the master and slave earphones are distinguished and the master and slave earphones cannot be switched, when the wireless charging function is added, if the master earphone senses that it is in an adsorption state and receives a wireless charging signal, but detects that the slave earphone is in a wearing state or detects that it can be connected to the slave earphone, the master earphone performs wireless charging, and retains the communication function and the wake-up detection function, and other unnecessary functions can be temporarily turned off; if the master earphone senses that it is in an adsorption state and receives a wireless charging signal, but detects that the slave earphone is not worn or detects that it cannot be connected to the slave earphone or detects that the slave earphone is in an adsorption state, the master earphone performs wireless charging, and retains the wake-up detection function, etc., and other unnecessary functions can be temporarily turned off; if the slave earphone senses that it is in an adsorption state and receives a wireless charging signal, the slave earphone is charged, the communication connection is disconnected, the wake-up function is retained, and other unnecessary functions are temporarily turned off (for example, the circuit of the corresponding functional module is turned off or the power is cut off).

[0110] When the earphone includes a wireless receiving coil, an earphone box including a wireless charging function is provided in the embodiment of the present application. The earphone box can directly charge the earphone wirelessly. Optionally, Figure 5 As shown, a power module 226 is provided in the earphone box 22, and at least one magnetic region 222 includes a magnetic region 227, which is electrically connected to 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.

[0111] When the earphone is attached to the magnetic area, the power module can wirelessly charge the earphone through the magnetic area. Here, the magnetic area can wirelessly charge the earphone using the following wireless charging methods: electromagnetic induction method, electromagnetic resonance method, electric field coupling method, radio wave method, etc.

[0112] Optionally, the entire surface of the magnetic region 227 serves as the charging region 2271 .

[0113] When the entire surface of the magnetic region 227 is used as the charging region 2271, a wireless transmitting coil 228 is disposed 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.

[0114] Alternatively, if Figure 6 and Figure 7 As shown, the magnetic area includes: a charging area 2271 and a non-charging area 2272; the charging area 2271 is provided with a wireless transmitting coil 228, and the wireless transmitting coil 228 can be used for charging in cooperation with the wireless receiving coil of the headset.

[0115] Here, the wireless transmitting coil 228 is connected to the power module 226 . When the earphone 21 is adsorbed on the outer surface of the earphone box 22 , the power module 226 charges the earphone 21 through the wireless transmitting coil 228 and the wireless receiving coil 212 on the earphone 21 .

[0116] Part of the magnetic region 227 is used as a charging region 2271 , and a wireless transmitting coil 228 is disposed at a position corresponding to the charging region 2271 . The area of ​​the magnetic region 227 other than the charging region 2271 is a non-charging region 2272 .

[0117] The earphone box here not only has the function of accommodating earphones, but also can charge the adsorbed earphones through wireless charging. Therefore, the earphones can be charged through wireless charging while being stored, thus realizing a multifunctional earphone box.

[0118] By adopting the above technical solution, the target operating conditions currently met by the earphone are determined according to the working state of the earphone adsorption component, and the working mode of the earphone is further switched to the target working mode corresponding to the target operating condition, thereby realizing flexible switching of the working mode of the intelligently controlled earphone.

[0119] Alternatively, if Figure 8 As shown, the earphone box 22 is also provided with a receiving groove 229 for accommodating the earphone 21, and the groove wall of the receiving groove 229 is provided with: a second connecting part 230 electrically connected to the power module; a power module 226, when the first connecting part 213 of the earphone 21 contacts the second connecting part 230, the earphone 21 is charged through the second connecting part 230 and the first connecting part 213.

[0120] 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 can be correspondingly embedded in the receiving groove.

[0121] The earphone box provided in the embodiment of the present invention can support both wireless charging and wired charging, and the earphones can be charged based on either of the two charging methods, thereby improving the flexibility of the charging method and providing users with more charging options.

[0122] Alternatively, if Fig. 9 and Fig.10 As shown, the earphone box 22 is also provided with: a charging port 231 or a wireless charging area 232 electrically connected to the power module 226; the charging port 231 or the wireless charging area 232 is used for charging devices to charge the power module 226.

[0123] like Fig.11As shown, the earphone 21 includes: a first earphone 21-1 and a second earphone 21-2; the adsorption component 211 includes: a first magnetic subcomponent 211-1 arranged on the first earphone 21-1; a second magnetic subcomponent 211-2 arranged on the second earphone 21-2; the first magnetic subcomponent 211-1 and the second magnetic subcomponent 211-2 can be attracted to each other.

[0124] Here, the first earphone and the second earphone are respectively one of the left earphone and the right earphone. In one example, the first earphone is the right earphone and the second earphone is the left earphone. In another example, the first earphone is the left earphone and the second earphone is the right earphone.

[0125] In the embodiment of the present invention, the earphone includes an earpiece and an earphone body. The first magnetic sub-component may be disposed at the earpiece or the earphone body in the first earphone; the second magnetic sub-component may be disposed at the earpiece or the earphone body in the second earphone. The first magnetic sub-component may be disposed at the same position in the first earphone as the second magnetic sub-component in the second earphone, or may be disposed at a different position.

[0126] In one example, if Fig.11 As shown, the first magnetic sub-component is located inside the earphone body of the first earphone, and the second magnetic sub-component is located inside the earphone body of the second earphone.

[0127] In one example, the first magnetic sub-component is located on the earpiece of the first earphone, and the second magnetic sub-component is located inside the earphone body of the second earphone.

[0128] In one 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 disposed on a contour surface of an earpiece portion of the second earphone.

[0129] In one example, the first magnetic subassembly is located on the contour surface of the earpiece portion of the first earphone, and the second magnetic subassembly is located on the contour surface of the earpiece portion of the second earphone. In one example, the first magnetic subassembly is located on the earphone body of the first earphone, and the second magnetic subassembly is located on the contour surface of the earpiece portion of the second earphone. In one example, the first magnetic subassembly is located on the contour surface of the earpiece portion of the first earphone, and the second magnetic subassembly is located on the earphone body of the second earphone. In one example, the first magnetic subassembly is located on the earphone body of the first earphone, and the second magnetic subassembly is located on the earphone body of the second earphone, such as the outer side of the earphone handle. Of course, it can also be set at other positions.

[0130] The left earphone and the right earphone are adsorbed together by the mutual attraction of the first magnetic sub-component and the second magnetic sub-component.

[0131] The left earphone and the right earphone can be adsorbed to each other, making it easier for users to find the earphones.

[0132] The earphones including the adsorption component provided in the embodiment of the present invention enable the user to adsorb the two earphones together for storage when the user is not wearing the earphones, so that the two earphones can be found together conveniently without having to find the other earphone after finding one earphone.

[0133] Alternatively, if Fig.12 As shown, the earphone box 22 includes: a box body 224, a box cover 225, and a receiving cavity formed based on the box body covering the box cover; the earphone 21 can be received in the receiving cavity, wherein the earphone 21 is adsorbed in the receiving cavity through the magnetic area 222.

[0134] Here, when the box body is covered on the box cover, a receiving cavity is formed, and 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 covered, or the box body and the box cover are separated.

[0135] When the earphone 21 is stored in the earphone box 22, the earphone box 22 can adsorb the earphone 21 in the accommodating cavity through the adsorption of the adsorption component 211 by the magnetic area 222, so that the earphone 21 is fixed and will not move back and forth in the earphone box.

[0136] When the earphone 21 is adsorbed in the accommodating cavity, the box body 224 and the box cover 225 can be closed, so that the earphone is stored in the earphone box.

[0137] Based on the earphone assembly provided in the embodiment of the present application, the earphone can be selectively adsorbed on the outer surface of the earphone box for temporary storage, or placed in the accommodating cavity of the earphone box for long-term storage.

[0138] like Fig.13 As shown, the earphone 21 in the earphone assembly provided in the embodiment of the present invention can also be charged by a wireless charging device supporting wireless charging other than the earphone box, such as a mobile phone 23 supporting wireless charging or a wireless charging plate 24, so that the charging device of the earphone is not limited to the earphone box.

[0139] When the earphone box provided by the embodiment of the present invention is charged by a charging device that supports wireless charging or is charged by a charging device via a wired method, the earphone box can be charged while charging the earphones via a wired method or a wireless charging method, thereby charging the earphone box and the earphones at the same time, improving the user experience of the earphone box.

[0140] The present application also provides an earphone control device in an embodiment, wherein the earphone is provided with an adsorption component; Fig.14 As shown, the device comprises:

[0141] The detection unit 1401 is used to detect the working state of the adsorption component; wherein the working state of the adsorption component is an adsorption state or a non-adsorption state;

[0142] A processing unit 1402 is configured to determine a target operating condition satisfied by the headset from the at least one operating condition based on the working state of the adsorption component;

[0143] The processing unit 1402 is further configured to determine a target operating mode corresponding to the target operating condition based on a correspondence between at least one operating condition and at least one operating mode;

[0144] The control unit 1403 is used to control the headset to operate in the target operating mode.

[0145] In some embodiments, the detection unit 1401 is further used to detect the wearing state of the headset; and / or to detect the working state of the wireless receiving coil of the headset; wherein the working state of the wireless receiving coil includes a charging state and an uncharged state;

[0146] The processing unit 1402 is specifically used to determine the target operating condition satisfied by the headset from the at least one operating condition based on the working state of the adsorption component and the wearing state of the headset; or, to determine the target operating condition satisfied by the headset from the at least one operating condition based on the working state of the adsorption component and the working state of the charging coil; or, to determine the target operating condition satisfied by the headset from the at least one operating condition based on the working state of the adsorption component, the wearing state of the headset and the working state of the wireless receiving coil.

[0147] That is to say, the earphone is also provided with a wireless receiving coil.

[0148] In actual applications, the operating conditions are composed of the working state of the adsorption component, the working state of the wireless receiving coil, and the wearing state of the earphone.

[0149] For example, the at least one operating condition includes: a first operating condition, the adsorption component is in an adsorption state; a second operating condition, the adsorption component is in a non-adsorption state; a third operating condition, including the adsorption component being in an adsorption state and the earphone being in a wearing state; a fourth operating condition, including the adsorption component being in an adsorption state and the earphone being in a non-worn state; a fifth operating condition, including the adsorption component being in a non-adsorption state and the earphone being in a wearing state; a sixth operating condition, including the adsorption component being in a non-adsorption state and the earphone being in a non-worn state; a seventh operating condition, including the first magnetic component being in an adsorption state, the first earphone being in a non-worn state, the second magnetic component being in an adsorption state, and the second earphone being in a wearing state; an eighth operating condition, including the first magnetic component being in an adsorption state, the first earphone being in a non-worn state, the second magnetic component being in a non-adsorption state, the second earphone being in a wearing state, etc.

[0150] In some embodiments, the earphone includes: a first earphone and a second earphone, the first earphone is a master earphone, and the second earphone is a slave earphone; the adsorption component includes: a first magnetic sub-component provided on the first earphone, and a second magnetic sub-component provided on the second earphone; wherein the first magnetic sub-component and the second magnetic sub-component can be attracted to each other.

[0151] In some embodiments, the processing unit 1402 is specifically used to determine, from the at least one operating condition, a first target operating condition satisfied by the first earphone and a second target operating condition satisfied by the second earphone based on 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; and based on the correspondence between at least one operating condition and at least one operating mode, determine a first target operating mode corresponding to the first target operating condition and a second target operating mode corresponding to the second target operating condition.

[0152] In some embodiments, the working modes include: running communication function, turning off communication function, running wireless charging function, turning off wireless charging function, running audio input / output function, turning off audio input / output function, low power consumption mode, normal working mode, master ear mode, slave ear mode, single ear mode, binaural mode, power off, running call mode, and turning off call mode.

[0153] In some embodiments, the earphones are provided with an earphone box, and at least one outer surface of the earphone box includes a magnetic area; the adsorption state is a state in which the earphones are attracted to each other, or a state in which the earphones and the earphone box are attracted to each other.

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

[0155] The present application also provides another headphone control device, such as Fig.15 As shown, the device includes: a processor 1501 and a memory 1502 configured to store a computer program that can be run on the processor; when the processor 1501 runs the computer program in the memory 1502, the steps of the method in the embodiment of the present application are implemented.

[0156] Of course, in practical applications, Fig.15 As shown, the various components in the device are coupled together via a bus system 1503. It is understood that the bus system 1503 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1503 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.15 Various buses are labeled as bus system 1503.

[0157] The present application also provides another earphone box, such as Figure 3 As shown, at least one outer surface 221 of the earphone box 22 includes at least one magnetic area 222, and the magnetic area 222 is magnetic, so that the earphone box 22 can adsorb the earphone 21 to the outer surface 221 of the earphone box 22 through the magnetic area 222 adsorbing the adsorption component 211 on the earphone 21. Therefore, the earphone 21 can determine the target operating condition satisfied by the earphone 21 from at least one operating condition based on the working state of its adsorption component, determine the target operating mode corresponding to the target operating condition based on the corresponding relationship between at least one operating condition and at least one operating mode, and control the earphone 21 to operate in the target operating mode.

[0158] 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 the earphones adsorbed on the outer surface of the earphone box through the charging region.

[0159] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method described in any of the above embodiments are implemented.

[0160] 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 understandable that for different devices, the electronic device used to implement the functions of the processor may also be other, and the embodiments of the present application do not specifically limit this.

[0161] The above-mentioned memory can 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, a hard disk (HDD) or a solid-state drive (SSD); or a combination of the above-mentioned types of memory, and provide instructions and data to the processor.

[0162] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0163] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0164] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0165] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0166] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for controlling a headset, characterized in that: The earphone is provided with an adsorption component, and the earphone is configured with an earphone box, and a receiving cavity is provided in the earphone box, and the earphone is adsorbed in the receiving cavity of the earphone box for storage and charging, and at least one outer surface of the earphone box includes at least one magnetic area, and the at least one magnetic area includes a charging area, and the charging area is electrically connected to a power module, and the power module is configured to charge the earphone adsorbed on the outer surface of the earphone box through the charging area; Detecting the working state of the adsorption component; wherein the working state of the adsorption component includes an adsorption state and a non-adsorption state, and the adsorption state includes that the earphone is adsorbed on the outer surface of the earphone box; Determining a target operating condition satisfied by the headset from at least one operating condition based on the operating state of the adsorption component and at least one of a wearing state of the headset and an operating state of a wireless receiving coil of the headset; Determining a target operating mode corresponding to the target operating condition based on a correspondence between at least one operating condition and at least one operating mode; The headset is controlled to operate in the target operating mode.

2. The method according to claim 1, characterized in that The method further comprises: Detecting the wearing state of the headset; and / or detecting the working state of the wireless receiving coil of the headset; wherein the working state of the wireless receiving coil includes a charging state and an uncharged state; The determining, based on the working state of the adsorption component, a target operating condition satisfied by the headset from the at least one operating condition comprises: determining a target operating condition satisfied by the headset from the at least one operating condition based on the working state of the adsorption component and the wearing state of the headset; or Determining a target operating condition satisfied by the headset from the at least one operating condition based on the operating state of the adsorption component and the operating state of the wireless receiving coil; or Based on the working state of the adsorption component, the wearing state of the headset and the working state of the wireless receiving coil, a target operating condition satisfied by the headset is determined from the at least one operating condition.

3. The method according to claim 2, characterized in that The earphone comprises: a first earphone and a second earphone, the first earphone is a master earphone, and the second earphone is a slave earphone; the adsorption component comprises: A first magnetic sub-component is arranged on the first earphone, and a second magnetic sub-component is arranged on the second earphone; wherein the first magnetic sub-component and the second magnetic sub-component can attract each other.

4. The method according to claim 3, characterized in that The determining, based on the working state of the adsorption component, a target operating condition satisfied by the headset from the at least one operating condition comprises: Determining a first target operating condition satisfied by the first earphone and a second target operating condition satisfied by the second earphone from the at least one operating condition based on a wearing state of the first earphone, an operating state of the first magnetic subassembly, a wearing state of the second earphone, and an operating state of the second magnetic subassembly; Determining a target operating mode corresponding to the target operating condition based on a correspondence between at least one operating condition and at least one operating mode includes: Based on the correspondence between at least one operating condition and at least one operating mode, a first target operating mode corresponding to the first target operating condition and a second target operating mode corresponding to the second target operating condition are determined.

5. The method according to any one of claims 1 to 4, characterized in that: The at least one operating condition includes one or more of the following: The first operating condition includes the adsorption component being in an adsorption state; The second operating condition includes the adsorption component being in a non-adsorption state; The third operating condition includes that the adsorption component is in an adsorption state and the earphone is in a wearing state; A fourth operating condition includes the adsorption component being in an adsorption state and the earphone being in an unworn state; The fifth operating condition includes the adsorption component being in a non-adsorption state and the earphone being in a wearing state; The sixth operating condition includes the adsorption component being in a non-adsorption state and the earphone being in a non-wearing state; The seventh operating condition includes the first magnetic component being in an adsorption state, the first earphone being in an unworn state, the second magnetic component being in an adsorption state, and the second earphone being in a worn state; An eighth operating condition includes the first magnetic component being in an adsorbed state, the first earphone being in an unworn state, the second magnetic component being in an unadsorbed state, and the second earphone being in a worn state; A ninth operating condition includes the first magnetic component being in an adsorption state, the first earphone being in a wearing state, the second magnetic component being in an adsorption state, and the second earphone being in a non-wearing state; The tenth operating condition includes the first magnetic component being in a non-adsorbed state, the first earphone being in a worn state, the second magnetic component being in an adsorbed state, and the second earphone being in a non-worn state; The eleventh operating condition includes the adsorption component being in an adsorption state, the headset being in a wearing state, and the wireless receiving coil being in a non-charging state; The twelfth operating condition includes the adsorption component being in an adsorption state, the earphone being in an unworn state, and the wireless receiving coil being in a charging state.

6. The method according to any one of claims 1 to 4, characterized in that: The working modes include: Run communication function, turn off communication function, run wireless charging function, turn off wireless charging function, run audio input / output function, turn off audio input / output function, low power mode, normal working mode, master ear mode, slave ear mode, single ear mode, dual ear mode, shut down, run call mode, turn off call mode.

7. The method according to any one of claims 1 to 4, characterized in that: The earphone is provided with an earphone box; The adsorption state includes a state in which the earphones are attracted to each other, or a state in which the earphones and the earphone box are attracted to each other.

8. The method according to any one of claims 1 to 4, characterized in that: 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.

9. An earphone control device, characterized in that: The earphone is provided with an adsorption component, the earphone is configured with an earphone box, the earphone box is provided with a receiving cavity, the earphone is adsorbed in the receiving cavity of the earphone box for storage and charging, at least one outer surface of the earphone box includes at least one magnetic area, the at least one magnetic area includes a charging area, the charging area is electrically connected to a power module, and the power module is configured to charge the earphone adsorbed on the outer surface of the earphone box through the charging area; the device includes: A detection unit, used for detecting the working state of the adsorption component; wherein the working state of the adsorption component is an adsorption state or a non-adsorption state, and the adsorption state includes that the earphone is adsorbed on the outer surface of the earphone box; a processing unit, configured to determine a target operating condition satisfied by the headset from at least one operating condition based on the operating state of the adsorption component, and at least one of a wearing state of the headset and an operating state of a wireless receiving coil of the headset; The processing unit is further configured to determine a target operating mode corresponding to the target operating condition based on a correspondence between at least one operating condition and at least one operating mode; The control unit is used to control the headset to operate in the target operating mode.

10. An earphone control device, 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 execute the steps of the method according to any one of claims 1 to 8 when running the computer program.

11. An earphone box, characterized in that: The earphone box is provided with a containing cavity, the earphone is adsorbed in the containing cavity of the earphone box for storage and charging, at least one outer surface of the earphone box includes at least one magnetic area, the magnetic area is magnetic, the earphone box can adsorb the adsorption component of the earphone through the magnetic area, and adsorb the earphone to the outer surface of the earphone box, so that the earphone determines a target operating condition satisfied by the earphone from at least one operating condition based on the working state of the adsorption component, determines a target operating mode corresponding to the target operating condition based on the corresponding relationship between at least one operating condition and at least one operating mode, and controls the earphone to operate in the target operating mode; Wherein, the at least one magnetic area includes a charging area, the charging area is electrically connected to a power module, and the power module is configured to charge the earphones adsorbed on the outer surface of the earphone box through the charging area.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.