Earphone control method and device, earphone and earphone assembly

By introducing magnetic switch and magnet signal control technology into TWS headphones, the problem of short battery life of the headphones is solved, and lower standby power consumption and faster power-on speed are achieved.

CN119996890APending Publication Date: 2025-05-13GOERTEK INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510059400.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-14
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

Due to the small battery capacity and short battery life, how to reduce power consumption and extend battery life has become an urgent problem.

Method used

By introducing a first magnetic switch into the headset, connecting the power end of the Bluetooth chip and the battery, and using the magnet in the headset charging chamber to control the on-off state of the magnetic switch, the headset is turned off immediately after being put back into the charging chamber and turned on immediately after being taken out.

Benefits of technology

It effectively reduces the power consumption of the headphones in standby state, extends the battery life, and increases the power-on speed of the headphones.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996890A_ABST
    Figure CN119996890A_ABST
Patent Text Reader

Abstract

The invention discloses an earphone control method and device, an earphone and an earphone assembly, and relates to the technical field of electronic equipment.The first earphone comprises a first Bluetooth chip, a first magnetic switch and a first battery; the first magnetic switch is connected between the power end of the first Bluetooth chip and the power end of the first battery; the first earphone is stored and charged through the earphone charging bin, a magnet is arranged in the earphone charging bin, and the first magnetic switch is switched off under the condition that a magnet signal of the magnet is sensed and switched on under the condition that the magnet signal is not sensed. According to the first earphone, the first earphone can be immediately turned off after being put back into the earphone charging bin, so that compared with the prior art that the earphone needs to be additionally standby after being put back into the charging bin, the power consumption is greatly reduced. The first earphone can also be turned on immediately when the first earphone is taken out of the earphone charging bin. Compared with the prior art that the earphone can be started up only after the earphone is taken out after a few seconds are delayed after the earphone charging bin is opened, the earphone can be started up more quickly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic equipment, and more specifically, to a method and device for controlling earphones, earphones, and earphone components. Background Art

[0002] For True Wireless Stereo (TWS) headphones powered by lithium batteries, the battery capacity of TWS headphones is very small due to the size limitation of TWS headphones. However, the battery life of lithium battery-powered products is one of the important indicators affecting user experience. Therefore, how to reduce the power consumption of TWS headphones to extend the battery life of TWS headphones has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] One object of the present application is to provide a new technical solution for headphones.

[0004] According to a first aspect of the present application, a first headset is provided, comprising: a first Bluetooth chip, a first magnetic switch and a first battery, wherein:

[0005] The first magnetic switch is connected between the power supply terminal of the first Bluetooth chip and the power supply terminal of the first battery;

[0006] The first earphone is stored and charged by an earphone charging case, and a magnet is provided in the earphone charging case. The first magnetic switch is disconnected when a magnet signal of the magnet is sensed, and the first magnetic switch is turned on when the magnet signal is not sensed.

[0007] Optionally, after the first earphone is taken out of the earphone charging compartment, when it is determined that the first earphone is in use within a first preset time period, the first magnetic switch is controlled to be enabled, and the first magnetic switch is turned on when enabled;

[0008] When it is determined that the first earphone is continuously unused within the first preset time period, the first magnetic switch is controlled to stop being enabled.

[0009] Optionally, the first earphone further includes a first charging chip, wherein:

[0010] The power output terminal of the first charging chip is connected to the power terminal of the first battery, and the signal input terminal of the first charging chip is connected to the second signal output terminal of the first Bluetooth chip.

[0011] According to a second aspect of the present application, a method for controlling an earphone is provided, the method being applied to a first earphone as described in any one of the first aspects above, the method comprising:

[0012] After the first earphone is taken out of the earphone charging compartment, if it is determined that the first earphone is in use within a first preset time period, controlling the first magnetic switch to be enabled, and the first magnetic switch is turned on when enabled;

[0013] When it is determined that the first earphone is continuously unused within the first preset time period, the first magnetic switch is controlled to stop being enabled.

[0014] Optionally, the method further comprises:

[0015] Determining whether valid data is transmitted on the Bluetooth path established by the first Bluetooth chip;

[0016] If no, determine the duration of time during which the Bluetooth channel does not transmit valid data;

[0017] When the duration reaches the first preset duration, determining that the first headset is continuously in an unused state for the first preset duration;

[0018] In a case where valid data is transmitted on the Bluetooth path, it is determined that the first headset is in use within a first preset time period.

[0019] Optionally, the method further comprises:

[0020] After the first earphone is taken out of the earphone compartment, if it is determined that the first earphone has been unused for a second preset time period, the first earphone is controlled to be turned off, and the second preset time period is greater than the first preset time period.

[0021] Optionally, when it is determined that the first headset is continuously in an unused state within the first preset time period, controlling the first magnetic switch to stop being enabled includes:

[0022] When it is determined that the first earphone is continuously unused within the first preset time period, sending an indication message to a second earphone paired with the first earphone, and controlling the first magnetic switch to stop being enabled, wherein the indication message is used to instruct the second earphone to control the second magnetic switch to stop being enabled;

[0023] The second earphone includes: a second Bluetooth chip, a second magnetic switch and a second battery, the second magnetic switch is connected between the power end of the second Bluetooth chip and the power end of the second battery, and the enable end of the second magnetic switch is connected to the first signal output end of the second Bluetooth chip, the second Bluetooth chip controls the second magnetic switch to stop enabling when receiving the indication information, the second magnetic switch is disconnected when sensing the magnet signal of the magnet, and the second magnetic switch is turned on when the magnet signal is not sensed.

[0024] According to a third aspect of the present application, a device for controlling an earphone is provided. The method is applied to the first earphone as described in any one of the first aspects, and the device includes:

[0025] A first control module, configured to control the first magnetic switch to be enabled after the first earphone is taken out of the earphone charging compartment and, if it is determined that the first earphone is in use within a first preset time period, to turn on the first magnetic switch when the first earphone is enabled;

[0026] The second control module is configured to control the first magnetic switch to stop being enabled when it is determined that the first earphone is continuously unused for the first preset time period.

[0027] According to a fourth aspect of the present application, a first earphone is provided, wherein the first earphone comprises the earphone control device according to the third aspect;

[0028] Alternatively, the first headset includes a memory and a processor, the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the method as described in any one of the second aspects.

[0029] According to a fifth aspect of the present application, an earphone assembly is provided, comprising the first earphone according to any one of the first aspect or the first earphone, the second earphone and the earphone charging compartment according to the fourth aspect, wherein:

[0030] The second earphone comprises: a second Bluetooth chip, a second magnetic switch and a second battery, the second magnetic switch is connected between a power supply terminal of the second Bluetooth chip and a power supply terminal of the second battery, and an enable terminal of the second magnetic switch is connected to a first signal output terminal of the second Bluetooth chip, and the second Bluetooth chip controls the second magnetic switch to stop enabling when receiving instruction information sent by the first earphone;

[0031] The earphone charging compartment is used to store the first earphone and the second earphone and charge the first earphone and the second earphone. The earphone charging compartment is provided with a magnet. The second magnetic switch is disconnected when a magnet signal of the magnet is sensed, and the second magnetic switch is turned on when the magnet signal is not sensed.

[0032] According to a sixth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method according to any one of the second aspects is implemented.

[0033] The present application provides a first headset, a first Bluetooth chip, a first magnetic switch and a first battery, wherein: the first magnetic switch is connected between the power supply end of the first Bluetooth chip and the power supply end of the first battery; the first headset is stored and charged by a headset charging compartment, and a magnet is provided in the headset charging compartment. The first headset provided by the present application can be turned off immediately after the first headset is put back into the headset charging compartment, which can greatly reduce power consumption compared to the traditional technology that requires additional standby time after the headset is put back into the charging compartment. In addition, the first headset provided by the present application can also be turned on immediately when the first headset is taken out of the headset charging compartment. This can be turned on faster than the traditional technology that requires a delay of several seconds after the headset charging compartment is opened and the headset can be turned on after the headset is taken out.

[0034] Other features and advantages of the present application will become apparent from the following detailed description of exemplary embodiments of the present application with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with the description, serve to explain the principles of the application.

[0036] Figure 1 This is a schematic diagram of the structure of a first earphone provided in an embodiment of the present application. Figure 1 ;

[0037] Figure 2 This is a schematic diagram of the structure of a first earphone provided in an embodiment of the present application. Figure 2 ;

[0038] Figure 3 is a flowchart of a method for controlling an earphone provided in an embodiment of the present application;

[0039] Figure 4 is a structural schematic diagram of a headset control device provided in an embodiment of the present application;

[0040] Figure 5 This is a schematic diagram of the structure of a first earphone provided in an embodiment of the present application. Figure 3. DETAILED DESCRIPTION

[0041] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present application.

[0042] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.

[0043] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0044] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0045] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0046] The present application provides a first earphone, which is specifically a left earphone or a right earphone in a wireless earphone, and the wireless earphone can be exemplarily a TWS earphone.

[0047] Among them, the first headset Figure 1 As shown, it includes a first Bluetooth chip 11, a first magnetic switch 12 and a first battery 13, and the first magnetic switch 12 is connected between the power supply of the first Bluetooth chip 11 and the power supply end of the first battery 13;

[0048] The first earphone is stored and charged by the earphone charging box, in which a magnet is provided. The first magnetic switch 12 is disconnected when a magnetic signal of the magnet is sensed, and is turned on when no magnetic signal is sensed.

[0049] In this embodiment, there is at least one magnet in the earphone charging case, and the magnet mentioned in this application is a general term for the magnets in the earphone charging case, that is, there is no limitation on the specific magnet generated by the following magnetic signal.

[0050] The first Bluetooth chip 11 is not only the computing control part of the first headset, but also the communication part of the first headset with external devices (such as a mobile phone, a headset charging compartment, and a second headset paired with it). The first battery 13 is used to supply power to the first Bluetooth chip 11. The first magnetic switch 12 is disconnected when a magnet signal is sensed, and is turned on when no magnet signal is sensed.

[0051] Based on the above content, when the first earphone is taken out of the earphone charging compartment, the first magnetic switch 12 is away from the magnet set on the earphone charging compartment. Therefore, the first magnetic switch 12 cannot sense the magnet signal and is in an on state. At this time, a path is formed between the first battery 13 and the first Bluetooth chip 11, and the first battery 13 supplies power to the first Bluetooth chip 11. The first Bluetooth chip 11 can work normally, that is, the first earphone can be turned on and work normally. In this way, the first earphone can be turned on immediately when it is taken out of the earphone charging compartment. Compared with the traditional technology that the earphone charging compartment needs to be opened for a few seconds before the earphone can be turned on after the earphone is taken out, it can be turned on faster.

[0052] When the first earphone is put back into the earphone charging compartment, the first magnetic switch 12 is close to the magnet set on the earphone charging compartment. Therefore, the first magnetic switch 12 senses the magnet signal and is in a disconnected state. At this time, the circuit between the first battery 13 and the first Bluetooth chip 11 is broken, and the first battery 13 cannot supply power to the first Bluetooth chip 11. The first Bluetooth chip 11 cannot work normally, that is, the first earphone is shut down due to power failure. In other words, the first earphone provided by the present application can be shut down immediately after the first earphone is put back into the earphone charging compartment. Compared with the traditional technology that requires additional standby time after the earphone is put back into the charging compartment, the power consumption can be greatly reduced.

[0053] The present application provides a first headset, a first Bluetooth chip, a first magnetic switch and a first battery, wherein: the first magnetic switch is connected between the power supply end of the first Bluetooth chip and the power supply end of the first battery; the first headset is stored and charged by a headset charging compartment, and a magnet is provided in the headset charging compartment, and the first magnetic switch is disconnected when a magnet signal of the magnet is sensed, and the first magnetic switch is turned on when no magnet signal is sensed. The first headset provided by the present application can be turned off immediately after the first headset is put back into the headset charging compartment, which can greatly reduce power consumption compared to the traditional technology that requires additional standby after the headset is put back into the charging compartment. In addition, the first headset provided by the present application can also be turned on immediately when the first headset is taken out of the headset charging compartment. This can be turned on faster than the traditional technology that requires a delay of several seconds after the headset charging compartment is opened and the headset can be turned on after the headset is taken out.

[0054] In one embodiment of the present application, Figure 2As shown, the enable end of the first magnetic switch 12 is connected to the first signal output end of the first Bluetooth chip 11, and the first Bluetooth chip 11 is used to perform the following steps S1 and S2.

[0055] Step S1, after the first earphone is taken out of the earphone charging case, when it is determined that the first earphone is in use within a first preset time period, the first magnetic switch 12 is controlled to be enabled, and the first magnetic switch 12 is turned on when enabled.

[0056] Step S2: when it is determined that the first earphone is continuously unused for a first preset time period, the first magnetic switch 12 is controlled to stop being enabled.

[0057] The first preset time length is the maximum time length during which the first headset is allowed to be in an unused state when the user uses the first headset. In one example, the first preset time length is 0.5 hours.

[0058] In this embodiment, the first signal output end of the first Bluetooth chip 11 is connected to the enable end of the first magnetic switch 12, which is used to control the first magnetic switch 12 to enable or stop enabling. Specifically: when the first earphone is taken out of the earphone charging compartment, the first magnetic switch 12 is turned on, the first battery 13 supplies power to the first Bluetooth chip 11, the first Bluetooth chip 11 works, and the first earphone is turned on. In this case, further, if the first earphone is continuously unused for a first preset time, it means that the user is likely to no longer use the first earphone, and there is a possibility of putting the first earphone back into the earphone charging compartment later. At this time, the first Bluetooth chip 11 controls the first magnetic switch 12 to stop enabling. In this case, the first magnetic switch is turned on and off according to whether the magnet signal is sensed. If the first earphone is not put back into the earphone charging compartment, that is, the first magnetic switch 12 is not close to the magnet set on the earphone charging compartment, the first magnetic switch 12 does not detect the magnet signal, and is continuously in the on state, and the first battery 13 supplies power to the first Bluetooth chip 11. If the first earphone is put back into the earphone charging compartment, that is, the first magnetic switch 12 is close to the magnet set on the earphone charging compartment, the first magnetic switch 12 detects the magnet signal and is in a disconnected state, the first battery 13 cannot supply power to the first Bluetooth chip 11, and the first earphone is shut down due to power failure. In this way, the first earphone can be shut down immediately after being put back into the earphone charging compartment, which is compared with the traditional technology that the earphone needs to be shut down after being put back into the charging compartment, and the power consumption can be greatly reduced.

[0059] Correspondingly, after the first earphone is taken out of the earphone charging compartment, if it is determined that the first earphone is in use within the first preset time period, it means that the user has the possibility of using the first earphone. In this case, the first Bluetooth chip 11 controls the first magnetic switch 12 to be enabled, and the first magnetic switch 12 is turned on. Since the priority of turning on the first magnetic switch 12 when enabled is higher than the induction of the first magnetic switch 12 to the magnet signal, the first magnetic switch 12 will remain in the on state even if it is close to the magnet to detect the magnet signal. In this way, it can be avoided that the first magnetic switch 12 is disconnected due to the detection of the magnet signal as interference, thereby disconnecting the path between the first battery 13 and the first Bluetooth chip 11, and the first earphone is powered off and shut down.

[0060] Based on the above content, it can be known that, when the first earphone is taken out of the earphone charging compartment, the first magnetic switch 12 is turned on, the first battery 13 supplies power to the first Bluetooth chip 11, the first Bluetooth chip 11 works, and the first earphone is turned on. Therefore, when the first earphone is turned on, it can be determined that the first earphone is taken out of the earphone charging compartment. Based on this, the first earphone provided by the present application also provides a new method for determining that the first earphone is taken out of the earphone charging compartment.

[0061] In one embodiment of the present application, Figure 2 As shown, the first earphone provided in the present application further includes: a first charging chip 14, wherein:

[0062] The power output terminal of the first charging chip 14 is connected to the power terminal of the first battery 13 , and the signal input terminal of the first charging chip 14 is connected to the second signal output terminal of the first Bluetooth chip 11 .

[0063] In this embodiment, the signal input end of the first charging chip 14 is connected to the second signal output end of the first Bluetooth chip 11, and is used to receive the charging information sent by the first Bluetooth chip 11. The first charging chip 14 converts the charging power provided by the headset charging compartment according to the charging information sent by the first Bluetooth chip 11, and obtains the converted charging power to charge the first battery 13.

[0064] Based on Figure 2 From the structure of the first earphone shown, it can be seen that the first magnetic switch 12 is not disposed between the first charging chip 14 and the first battery 13, or between the first charging chip 14 and the first Bluetooth chip 11, so the charging function of the first charging chip is not affected.

[0065] For the above-mentioned first earphone, the present application also provides an earphone control method, which is applied to any of the first earphones provided in the above embodiments, such as Figure 3 As shown, the following steps S3100 and S3200 are included.

[0066] Step S3100: After the first earphone is taken out of the earphone charging case, when it is determined that the first earphone is in use within a first preset time period, the first magnetic switch is enabled, and the first magnetic switch is turned on.

[0067] Step S3200: When it is determined that the first earphone is continuously unused for a first preset time period, the first magnetic switch is controlled to stop being enabled.

[0068] It should be noted that the specific implementation of the above step S3100 is the same as the specific implementation of the above step S1, and the specific implementation of the above step S3200 is the same as the specific implementation of the above step S2, which will not be repeated here.

[0069] Based on the above steps S3100 and S3200, the first earphone can be turned off immediately after being put back into the earphone charging compartment, which greatly reduces power consumption compared to the traditional technology that requires additional standby after the earphone is put back into the charging compartment. In addition, it can also avoid the situation where the first magnetic switch 12 is disconnected due to detecting the interference of the magnet signal, thereby disconnecting the path between the first battery 13 and the first Bluetooth chip 11, and the first earphone is powered off and turned off.

[0070] In one embodiment of the present application, the earphone control method provided by the present application further includes the following steps S3310 to S3313 before the above-mentioned steps S3100 and S3200.

[0071] Step S3310 , determining whether valid data is transmitted on the Bluetooth path established by the first Bluetooth chip 11 .

[0072] In this embodiment, when the first Bluetooth chip 11 is powered by the first battery 13, the first Bluetooth chip 11 establishes a Bluetooth channel with other electronic devices (such as a user's mobile phone). The Bluetooth channel is used to transmit valid data, such as audio data, control instructions, etc.

[0073] Step S3311: if no, determine the duration of time when no valid data is transmitted on the Bluetooth channel.

[0074] In this embodiment, when no valid data is transmitted on the Bluetooth path established by the first Bluetooth chip 11, the duration of no valid data transmission is timed.

[0075] Step S3312: When the duration reaches the first preset duration, determine that the first headset is continuously in an unused state for the first preset duration.

[0076] Step S3313: When valid data is transmitted on the Bluetooth channel, determine that the first headset is in use within a first preset time period.

[0077] Based on the above steps S3310 to S3313, a method for determining that the first headset is in use within the first preset time period and the first headset is in use within the first preset time period is provided.

[0078] In one embodiment of the present application, the earphone control method provided in the present application further includes the following step S3400.

[0079] Step S3400, after the first earphone is taken out of the earphone compartment, if it is determined that the first earphone is continuously unused for a second preset time period, the first earphone is controlled to be turned off, and the second preset time period is greater than the first preset time period.

[0080] The second preset duration is greater than the first preset duration.

[0081] In one example, the second preset duration is 2 hours.

[0082] In this embodiment, after the first earphone is taken out of the earphone compartment, if it is determined that the first earphone is continuously unused for a second preset time period, it means that the first earphone is in long-term standby mode and the user no longer uses the first earphone. In this case, the first earphone is controlled to be turned off, so that the power consumption of the first earphone can be further reduced.

[0083] In one embodiment of the present application, the above step S3200 is specifically implemented by the following step S3210.

[0084] Step S3210, when it is determined that the first earphone is continuously in an unused state within a first preset time period, sending an indication message to a second earphone paired with the first earphone, and controlling the first magnetic switch 12 to stop being enabled, wherein the indication message is used to instruct the second earphone to control the second magnetic switch to stop being enabled;

[0085] The second earphone includes: a second Bluetooth chip, a second magnetic switch and a second battery, the second magnetic switch is connected between the power supply end of the second Bluetooth chip and the power supply end of the second battery, and the enable end of the second magnetic switch is connected to the first signal output end of the second Bluetooth chip, and the second Bluetooth chip controls the second magnetic switch to stop enabling when receiving the indication information.

[0086] In this embodiment, the first earphone is used in conjunction with the second earphone, and the first earphone is used as the main earphone. On the basis that the first earphone and the second earphone are usually in the same use state, after the first earphone is removed from the earphone charging compartment, if it is determined that the first earphone has been in an unused state for a first preset time, the first earphone controls the first magnetic switch 12 to stop enabling and can also send an instruction message to the second earphone paired with the first earphone to instruct the second earphone to control the second magnetic switch to stop enabling. At this time, the first earphone and the second earphone maintain the same state.

[0087] It should be noted that, when the second earphone is taken out of the earphone charging compartment but no instruction information sent by the first earphone is received, the second Bluetooth chip controls the second magnetic switch to be enabled.

[0088] In this embodiment, the second earphone serves as a slave earphone, and there is no need for the second earphone to be in use for the first preset time period as shown in the above steps S3310 to S3313, which can reduce the power consumption of the second earphone.

[0089] The present application also provides an earphone control device 400, which is applied to the first earphone provided in any of the above embodiments, such as Figure 4 As shown, the control device 400 of the headset includes:

[0090] A first control module 410 is configured to control the first magnetic switch to be enabled after the first earphone is taken out of the earphone charging compartment and, if it is determined that the first earphone is in use within a first preset time period, the first magnetic switch is turned on when enabled;

[0091] The second control module 420 is configured to control the first magnetic switch to stop being enabled when it is determined that the first earphone is continuously unused for the first preset time period.

[0092] In one embodiment of the present application, the control device 400 of the headset provided by the present application further includes:

[0093] A determination module, used to determine whether valid data is transmitted on the Bluetooth path established by the first Bluetooth chip;

[0094] If no, determine the duration of time during which the Bluetooth channel does not transmit valid data;

[0095] When the duration reaches the first preset duration, determining that the first headset is continuously in an unused state for the first preset duration;

[0096] In a case where valid data is transmitted on the Bluetooth path, it is determined that the first headset is in use within a first preset time period.

[0097] In one embodiment of the present application, the control device 400 of the headset provided by the present application further includes:

[0098] The third control module is also used to control the first earphone to shut down after the first earphone is taken out of the earphone compartment, if it is determined that the first earphone has been unused for a second preset time period, and the second preset time period is greater than the first preset time period.

[0099] In one embodiment of the present application, the second control module 420 is specifically used to: after the first earphone is taken out of the earphone compartment, if it is determined that the first earphone has been unused for a second preset time period, control the first earphone to shut down, and the second preset time period is greater than the first preset time period.

[0100] The present application also provides another first headset, which includes the control device 400 of any headset provided by the above device embodiments.

[0101] Or, if Figure 5 As shown, the first headset includes a memory 510 and a processor 520, the memory 510 is used to store computer instructions, and the processor 520 is used to call the computer instructions from the memory 510 to execute any headset control method provided by the above method embodiments.

[0102] In one embodiment of the present application, the processor 520 is specifically a Bluetooth chip in the first headset.

[0103] The present application also provides an earphone assembly, comprising any one of the first earphones, the second earphone, and the earphone charging compartment provided in the first earphone embodiment, wherein:

[0104] The second earphone comprises: a second Bluetooth chip, a second magnetic switch and a second battery, the second magnetic switch is connected between a power supply terminal of the second Bluetooth chip and a power supply terminal of the second battery, and an enable terminal of the second magnetic switch is connected to a first signal output terminal of the second Bluetooth chip, and the second Bluetooth chip controls the second magnetic switch to stop enabling when receiving instruction information sent by the first earphone;

[0105] The earphone charging compartment is used to store the first earphone and the second earphone and charge the first earphone and the second earphone. The earphone charging compartment is provided with a magnet. The second magnetic switch is disconnected when a magnet signal of the magnet is sensed, and the second magnetic switch is turned on when the magnet signal is not sensed.

[0106] The present application also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements any of the methods provided in the above method embodiments.

[0107] The present application may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present application.

[0108] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0109] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0110] The computer program instructions for performing the operation of the present application can be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions can be executed completely on a user's computer, partially on a user's computer, executed as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of a computer-readable program instruction to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA), the electronic circuit can execute a computer-readable program instruction, thereby realizing various aspects of the present application.

[0111] Various aspects of the present application are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0112] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0113] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0114] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a part of a module, program segment or instruction, and the part of the module, program segment or instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0115] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present application is defined by the appended claims.

Claims

1. A first earphone, characterized in that: include: A first Bluetooth chip, a first magnetic switch and a first battery, wherein: The first magnetic switch is connected between the power supply terminal of the first Bluetooth chip and the power supply terminal of the first battery; The first earphone is stored and charged by an earphone charging case, and a magnet is provided in the earphone charging case. The first magnetic switch is disconnected when a magnet signal of the magnet is sensed, and the first magnetic switch is turned on when the magnet signal is not sensed.

2. The first earphone according to claim 1, characterized in that: The enabling end of the first magnetic switch is connected to the first signal output end of the first Bluetooth chip, and the first Bluetooth chip is used for: After the first earphone is taken out of the earphone charging compartment, if it is determined that the first earphone is in use within a first preset time period, controlling the first magnetic switch to be enabled, and the first magnetic switch is turned on when enabled; When it is determined that the first earphone is continuously unused within the first preset time period, the first magnetic switch is controlled to stop being enabled.

3. The first earphone according to claim 1, characterized in that: The first earphone also includes a first charging chip, wherein: The power output terminal of the first charging chip is connected to the power terminal of the first battery, and the signal input terminal of the first charging chip is connected to the second signal output terminal of the first Bluetooth chip.

4. A method for controlling headphones, characterized in that: The method is applied to the first earphone as claimed in any one of claims 2 or 3, and the method comprises: After the first earphone is taken out of the earphone charging compartment, if it is determined that the first earphone is in use within a first preset time period, controlling the first magnetic switch to be enabled, and the first magnetic switch is turned on when enabled; When it is determined that the first earphone is continuously unused within the first preset time period, the first magnetic switch is controlled to stop being enabled.

5. The method according to claim 4, characterized in that The method further comprises: Determining whether valid data is transmitted on the Bluetooth path established by the first Bluetooth chip; If no, determine the duration of time during which the Bluetooth channel does not transmit valid data; When the duration reaches the first preset duration, determining that the first headset is continuously in an unused state for the first preset duration; In a case where valid data is transmitted on the Bluetooth path, it is determined that the first headset is in use within a first preset time period.

6. The method according to claim 4, characterized in that The method further comprises: After the first earphone is taken out of the earphone compartment, if it is determined that the first earphone has been unused for a second preset time period, the first earphone is controlled to be turned off, and the second preset time period is greater than the first preset time period.

7. The method according to claim 4, characterized in that When it is determined that the first headset is continuously in the unused state within the first preset time period, controlling the first magnetic switch to stop being enabled includes: When it is determined that the first earphone is continuously unused within the first preset time period, sending an indication message to a second earphone paired with the first earphone, and controlling the first magnetic switch to stop being enabled, wherein the indication message is used to instruct the second earphone to control the second magnetic switch to stop being enabled; The second earphone includes: a second Bluetooth chip, a second magnetic switch and a second battery, the second magnetic switch is connected between the power end of the second Bluetooth chip and the power end of the second battery, and the enable end of the second magnetic switch is connected to the first signal output end of the second Bluetooth chip, the second Bluetooth chip controls the second magnetic switch to stop enabling when receiving the indication information, the second magnetic switch is disconnected when sensing the magnet signal of the magnet, and the second magnetic switch is turned on when the magnet signal is not sensed.

8. A headset control device, characterized in that: The method is applied to the first earphone as described in any one of claims 2 or 3, and the device comprises: A first control module, configured to control the first magnetic switch to be enabled after the first earphone is taken out of the earphone charging compartment and, if it is determined that the first earphone is in use within a first preset time period, to turn on the first magnetic switch when the first earphone is enabled; The second control module is configured to control the first magnetic switch to stop being enabled when it is determined that the first earphone is continuously unused for the first preset time period.

9. A first earphone, characterized in that: The first earphone comprises the control device of the earphone as claimed in claim 8; Alternatively, the first headset comprises a memory and a processor, the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the method as claimed in any one of claims 4 to 7.

10. An earphone assembly, characterized in that: The device comprises a first earphone as claimed in any one of claims 1 to 3 or the first earphone, a second earphone and an earphone charging case as claimed in claim 9, wherein: The second earphone comprises: a second Bluetooth chip, a second magnetic switch and a second battery, the second magnetic switch is connected between a power supply terminal of the second Bluetooth chip and a power supply terminal of the second battery, and an enable terminal of the second magnetic switch is connected to a first signal output terminal of the second Bluetooth chip, and the second Bluetooth chip controls the second magnetic switch to stop enabling when receiving instruction information sent by the first earphone; The earphone charging compartment is used to store the first earphone and the second earphone and charge the first earphone and the second earphone. The earphone charging compartment is provided with a magnet. The second magnetic switch is disconnected when a magnet signal of the magnet is sensed, and the second magnetic switch is turned on when the magnet signal is not sensed.