Energy saving method for earphones, earphones, electronic equipment, and storage medium

By using a switching circuit and communication chip in the headset, it switches to shipping mode according to the instructions of the management device, solving the problem of power depletion during headset transportation, extending the battery storage time and improving the user experience.

CN115086826BActive Publication Date: 2024-09-03GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210676234.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-15
Publication Date
2024-09-03
Estimated Expiration
2042-06-15

AI Technical Summary

Technical Problem

Due to the small battery capacity of the earphones during transportation, the power may be exhausted, affecting the user's first use experience.

Method used

By setting the switching circuit and communication chip in the headset, it receives the switching instruction sent by the management device, controls the headset to switch to shipping mode, reduces power consumption, and restarts when it detects that the headset exits shipping mode and no communication connection record is stored. Switch to shipping mode to store battery power longer.

Benefits of technology

It effectively reduces the power consumption of the headset power supply, extends the storage time of the headset battery, ensures that the headset has sufficient power during transportation, and improves the user's first use experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115086826B
    Figure CN115086826B
Patent Text Reader

Abstract

The embodiment of the present application relates to the technical field of earphone equipment, and discloses an energy-saving method for earphones, earphones, electronic devices, and storage media. The method is applied to a communication chip included in the earphone, and the earphone at least includes a switching circuit and a power supply. The method includes: receiving a switching instruction sent by a management device; and, according to the switching instruction, controlling the switching circuit to switch the earphone to a shipping mode to reduce the amount of power supplied to the earphone by the power supply; and, if it is detected that the earphone exits the shipping mode and there is no matching record of the communication connection stored in the earphone, controlling the switching circuit to switch the earphone back to the shipping mode. The implementation of the embodiment of the present application can extend the storage time of the battery power of the earphone.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of earphone equipment, and in particular to an earphone energy-saving method, an earphone, an electronic device, and a storage medium. Background Art

[0002] It may take a long time for earphones to be produced, stored and finally transported to the user. In practice, it is found that the capacity of the battery installed in the earphones is usually small, so the long-term transportation may cause the earphones to run out of power during the transportation process. Then, when the earphones are transported to the user, the earphones are already out of power, affecting the user's first-time use experience. Summary of the invention

[0003] The embodiment of the present application discloses an energy-saving method for headphones, headphones, electronic equipment, and storage media, which can extend the storage time of the battery power of the headphones.

[0004] In a first aspect, an embodiment of the present application discloses a method for energy saving of an earphone, which is applied to a communication chip included in the earphone, and the earphone at least includes a switching circuit and a power supply. The method includes:

[0005] Receiving a switching instruction sent by a management device;

[0006] Controlling the switching circuit to switch the headset to a shipping mode according to the switching instruction to reduce the amount of power supplied by the power supply to the headset;

[0007] If it is detected that the headset exits the shipping mode and no matching record of the communication connection is stored in the headset, the switching circuit is controlled to switch the headset back to the shipping mode.

[0008] A second aspect of an embodiment of the present application discloses a headset, a communication chip, a switching circuit and a power supply, wherein:

[0009] A communication chip, used for receiving a switching instruction sent by a management device;

[0010] The communication chip is further used to control the switching circuit to switch the headset to the shipping mode according to the switching instruction, so as to reduce the amount of power supplied by the power supply to the headset;

[0011] The communication chip is also used to re-control the switching circuit to switch the headset to the shipping mode when it is detected that the headset exits the shipping mode and no matching record of the communication connection is stored in the headset.

[0012] A third aspect of the present application discloses an electronic device, including:

[0013] A memory storing executable program code;

[0014] a processor coupled to the memory;

[0015] The processor calls the executable program code stored in the memory to execute the energy saving method of the headset disclosed in the first aspect of the embodiment of the present application.

[0016] A fourth aspect of an embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the energy saving method for headphones disclosed in the first aspect of an embodiment of the present application.

[0017] The fifth aspect of the embodiments of the present application discloses a computer program product. When the computer program product runs on a computer, the computer executes part or all of the steps of any one of the methods of the first aspect of the embodiments of the present application.

[0018] A sixth aspect of an embodiment of the present application discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer executes part or all of the steps of any one of the methods of the first aspect of the embodiment of the present application.

[0019] Compared with the related art, the embodiments of the present application have the following beneficial effects:

[0020] In implementing the embodiments of the present application, when the communication chip included in the headset receives a switching instruction sent by the management device, it can control the switching circuit to switch the headset to the shipping mode according to the switching instruction, so as to reduce the amount of power supplied to the headset by the power supply, thereby reducing the power consumption of the power supply, and then extending the storage time of the battery power of the headset; further, if it is detected that the headset exits the shipping mode, but no matching record of the communication connection is stored in the headset, it means that the headset may accidentally exit the shipping mode during shipment or transportation. In this case, the communication chip can control the switching circuit to switch the headset back to the shipping mode to ensure that the power consumption of the power supply can be reduced during the transportation of the headset, thereby extending the storage time of the battery power of the headset. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0022] Figure 1 is a schematic diagram of the structure of an earphone disclosed in an embodiment of the present application;

[0023] Figure 2It is a flowchart of a method for energy saving of headphones disclosed in an embodiment of the present application;

[0024] Figure 3 is a flow chart of another earphone energy saving method disclosed in an embodiment of the present application;

[0025] Figure 4A is a schematic diagram of a charging management module disclosed in an embodiment of the present application;

[0026] Figure 4B is a schematic diagram of a communication chip control circuit disclosed in an embodiment of the present application;

[0027] Figure 5 is a flow chart of another method for saving energy of headphones disclosed in an embodiment of the present application;

[0028] Fig. 6A is a schematic diagram of an earphone head in an engaged state disclosed in an embodiment of the present application;

[0029] Figure 6B is a schematic diagram of a magnetic field sensing module disclosed in an embodiment of the present application;

[0030] Figure 7 is a schematic diagram of the structure of another earphone disclosed in an embodiment of the present application;

[0031] Figure 8 It is a structural schematic diagram of an energy-saving device of an earphone disclosed in an embodiment of the present application;

[0032] Fig. 9 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0034] It should be noted that the terms "first", "second", "third" and "fourth" in the specification and claims of the present application are used to distinguish different objects rather than to describe a specific order. The terms "including" and "having" in the embodiments of the present application and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device including a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0035] The embodiment of the present application discloses an energy-saving method for headphones, headphones, electronic equipment, and storage media, which can extend the storage time of the battery power of the headphones.

[0036] The technical solution of the present application will be described in detail below in conjunction with specific embodiments.

[0037] In order to more clearly illustrate the energy-saving method of headphones, headphones, electronic devices, and storage media disclosed in the embodiments of the present application, an application scenario suitable for the method is first introduced. Optionally, the method can be applied to various types of headphones, including but not limited to neck-hanging headphones, wireless headphones, or wired headphones, which are not limited here. In other embodiments, the method can also be used in other electronic devices that include a power supply, such as mobile phones, smart watches, etc., to extend the storage time of the battery power of the electronic device, which is not limited here. For the convenience of introduction, the embodiments of the present application are described using headphones as an example.

[0038] See also Figure 1 , Figure 1 1 is a schematic diagram of the structure of a headset disclosed in an embodiment of the present application. Optionally, the headset may include a communication chip 110, a switching circuit 120 and a power supply 130. Among them, the communication chip 110 may include but is not limited to a Bluetooth communication chip, a wifi communication chip, etc. The communication chip 110 can be used to communicate with other electronic devices and perform some logic processing operations inside the headset; the switching circuit 120 is used to switch the headset to the shipping mode, or to exit the shipping mode; the power supply 130 may include but is not limited to various types of batteries or built-in power supplies, which are used to power the headset. Among them, the shipping mode refers to the state where the headset is in the lowest power consumption. When in the shipping mode, the power supply 130 does not supply power to the communication chip 110, and the power consumption of the charging management module (for example: charging IC, used to control and detect the current and voltage inside the headset) in the headset is reduced, so that the power supply 130 supplies the headset with less power, thereby reducing the power consumption of the power supply and extending the storage time of the battery power of the headset.

[0039] Optionally, the communication chip 110 can be used to receive a switching instruction sent by a management device (such as a computer, mobile phone, etc. that is communicatively connected to the headset); the switching circuit 120 can be used to switch the headset to the shipping mode to reduce the amount of power supplied to the headset by the power supply 130; the communication chip 110 is also used to re-control the switching circuit 120 to switch the headset to the shipping mode when it is detected that the headset has exited the shipping mode and no matching record of the communication connection is stored in the headset.

[0040] It should be further explained that in the related art, earphones are usually set to the off mode during the process from leaving the factory to transportation. However, the power consumption of earphones in the off mode is still relatively high. Therefore, long-term transportation may cause the earphones to run out of power during transportation. Then, when the earphones are delivered to the user, the earphones are already out of power, affecting the user's first-time use experience.

[0041] In this regard, the energy-saving method of the headset disclosed in the embodiment of the present application can control the switching circuit to switch the headset to the shipping mode according to the switching instruction. The power consumption of the headset in the shipping mode is much less than the power consumption when the headset is in the shutdown mode, thereby reducing the power consumption of the power supply to a greater extent and extending the battery storage time of the headset.

[0042] Based on this, the energy saving method of the earphone disclosed in the embodiment of the present application is introduced below.

[0043] See also Figure 2 , Figure 2 1 is a flow chart of a method for energy saving of a headset disclosed in an embodiment of the present application. The method can be applied to a communication chip included in the headset, and the headset can also include at least a switching circuit and a power supply. The method includes:

[0044] 202. Receive a switching instruction sent by a management device.

[0045] In the embodiment of the present application, the management device may be an electronic device with certain logic computing capabilities, including but not limited to a computer, a mobile phone, etc. The management device may be used to generate a switching instruction, and the switching instruction is used to instruct the communication chip to control the switching circuit to switch the headset to the shipping mode. Optionally, the management device may include a device for debugging the headset before the headset leaves the factory, and the management device may control the headset to switch to the shipping mode before the headset leaves the factory.

[0046] Optionally, the management device can establish a communication connection with the headset, including but not limited to a wired communication connection (for example, a wired communication connection established through a USB (Universal Serial Bus) or a wired communication connection established through a Type-C data cable), a wireless communication connection (for example, a Bluetooth communication connection, a WiFi communication connection), which is not limited here. The management device can then send a switching instruction to the headset through the communication connection, and correspondingly, the communication chip of the headset can receive the switching instruction sent by the management device through the communication connection.

[0047] 204. Control the switching circuit to switch the headset to the shipping mode according to the switching instruction to reduce the amount of power supplied to the headset by the power supply.

[0048] In an embodiment of the present application, the shipping mode is a mode that the headset can be set to. When the headset is in the shipping mode, the power supply stops supplying power to the communication chip, and the power consumption of the charging management module in the headset is reduced, thereby reducing the power consumption of the power supply.

[0049] In this regard, the communication chip can control the switching circuit to switch the charging management module to the shipping mode according to the switching instruction to reduce the power consumption of the charging management module, and control the switching circuit to close the line that supplies power to the communication chip so that the power stops supplying power to the communication chip.

[0050] 206. If it is detected that the headset exits the shipping mode and no matching record of the communication connection is stored in the headset, the control switching circuit switches the headset to the shipping mode.

[0051] In the embodiment of the present application, after the headset switches to the shipping mode, if a button on the headset or a touch operation on the headset head is detected, the headset may be activated, thereby causing the headset to exit the shipping mode. It is understandable that if the headset is currently in the process of leaving the factory or in the process of transportation, then the headset exiting the shipping mode will increase the power consumption of the headset, which is not conducive to long-term storage and transportation of the headset.

[0052] Optionally, when the communication chip detects that the headset exits the shipping mode, it can further determine whether a matching record of the communication connection is stored in the headset (for example, a Bluetooth matching record, a USB matching record, etc., not limited here). Optionally, after the headset is wirelessly connected to a mobile phone, tablet computer or other device (for example, a Bluetooth connection), a matching record will be stored in the headset; or after a wired connection is made with a computer or other device (for example, a USB connection), a matching record will also be stored in the headset.

[0053] During the production process of the headset, when the management device sends a switching instruction to the headset so that the headset switches to the shipping mode, it can also send a clearing instruction to the headset to clear the matching record of the communication connection in the headset. In this regard, when the communication chip detects that the headset has exited the shipping mode, if there is no matching record of the communication connection stored in the headset, it means that the headset is currently in the process of leaving the factory or the headset has exited the shipping mode due to an accidental touch during transportation. In order to extend the storage time of the battery power of the headset, the communication chip can control the switching circuit to switch the headset back to the shipping mode.

[0054] In implementing the methods disclosed in the above embodiments, the communication chip included in the headset can control the switching circuit to switch the headset to the shipping mode according to the switching instruction when receiving the switching instruction sent by the management device, so as to reduce the amount of power supplied to the headset by the power supply, thereby reducing the power consumption of the power supply and extending the storage time of the battery power of the headset; further, if it is detected that the headset exits the shipping mode, but no matching record of the communication connection is stored in the headset, it means that the headset may accidentally exit the shipping mode during shipment or transportation. In this case, the communication chip can control the switching circuit to switch the headset back to the shipping mode to ensure that the power consumption of the power supply can be reduced during the transportation of the headset, thereby extending the storage time of the battery power of the headset, which is beneficial to long-term storage and transportation of the headset.

[0055] See also Figure 3 , Figure 3 1 is a flow chart of another method for energy saving of headphones disclosed in an embodiment of the present application. The method can be applied to a communication chip included in the headphones, and the headphones can also include at least a switching circuit and a power supply. The method includes:

[0056] 302. Receive a switching instruction sent by a management device.

[0057] 304. Control the switching circuit to switch the headset to a shipping mode according to the switching instruction to reduce the amount of power supplied to the headset by a power source.

[0058] In one embodiment, the communication chip controls the switching circuit to switch the headset to the shipping mode according to the switching instruction. The manner in which this may be: controlling the switching circuit to switch the charging management module to the shipping mode according to the switching instruction, wherein the power consumption of the charging management module is reduced when the charging management module is in the shipping mode; and controlling the switching circuit to turn off the target pin of the charging management module so that the power supply stops supplying power to the communication chip, and the target pin is electrically connected to the power supply end of the communication chip.

[0059] Optionally, the headset may further include a charging management module, such as a charging IC, for controlling and detecting current and voltage when the headset is charging. Optionally, the charging management module may include a charging management chip, including but not limited to a chip with model number BQ25619. When the charging management chip switches to the shipping mode, the power consumption of the entire system of the charging management chip will be reduced. In this regard, the communication chip may control the switching circuit to switch the charging management module to the shipping mode according to the switching instruction, so that the power consumption of the charging management module is reduced.

[0060] Optionally, the target pin of the charging management chip can be electrically connected to the power supply end of the communication chip. Optionally, the target pin is used to control whether the power supply supplies power to the power supply end of the communication chip; when the target pin is turned off, the power supply stops supplying power to the communication chip; when the target pin is turned on, the power supply resumes supplying power to the communication chip. Optionally, the communication chip can control the switching circuit to turn off the target pin of the charging management chip so that the power supply stops supplying power to the communication chip.

[0061] See also Figure 4A , Figure 4A 4 is a schematic diagram of a charging management module disclosed in an embodiment of the present application. The charging management chip 410 may include a chip of model BQ25619, and the target pins may be the 15th pin (SYS) and the 16th pin (SYS_1) of the BQ25619 chip, and the 15th pin and the 16th pin may be electrically connected to the power supply terminal (VSYS) of the communication chip. It should be further explained that the charging management module may also include other components not described and not shown, such as transistors, resistors and capacitors, etc. Figure 4A This is only for the convenience of explanation and should not be construed as limiting the embodiments of the present application.

[0062] By implementing the above method, the communication chip can switch the charging management module to the shipping mode to reduce the power consumption of the charging management module, and can turn off the target pin of the charging management module to stop the power supply to the communication chip. This can ensure that the basic functions of the headset can run while reducing the power consumption as much as possible, thereby achieving the effect of extending the storage time of the battery power of the headset.

[0063] 306. If it is detected that the headset exits the shipping mode, and the headset is in a disconnected communication state for a first time period, and no matching record of the communication connection is stored in the headset, the control switching circuit switches the headset to the shipping mode.

[0064] It is understandable that if the headset is still in a communication connection state, it means that the headset may still be communicating with other devices. In order to ensure normal communication between the headset and other devices, it is not necessary to switch the headset to the shipping mode. On the contrary, if the headset is in a communication disconnection state for a first duration (for example, 10 minutes, 15 minutes, etc., the specific duration can be set by the developer according to a large amount of development data or development requirements, and is not limited here), it means that the headset does not need to communicate with other devices at present. In order to extend the storage time of the battery power of the headset, the communication chip can control the switching circuit to switch the headset to the shipping mode again when it is determined that the headset is in a communication disconnection state for the first duration and there is no matching record of the communication connection stored in the headset. Optionally, the power supply of the headset to the headset when the headset is in the shipping mode is less than the power supply of the headset when the headset is in the shutdown mode, so that when the headset is in the factory or in the transportation process, switching the headset to the shipping mode can reduce the power consumption of the headset battery, thereby extending the storage time of the battery power.

[0065] By implementing the above method, the communication chip can control the headset to switch to the shipping mode only when it determines that the headset currently does not need to communicate with other devices and the headset may be in the process of leaving the factory or being transported, thereby avoiding affecting the normal use of the headset and avoiding rapid consumption of the battery power of the headset due to the headset accidentally exiting the shipping mode during leaving the factory or being transported.

[0066] In another embodiment, after the switching circuit is controlled to switch the headset to the shipping mode according to the switching instruction, if it is detected that the headset exits the shipping mode, and the headset is in a communication disconnected state for a first time period, and a matching record of the communication connection is stored in the headset, the communication chip can control the headset to switch to the power-off mode; wherein the power-on time of the headset in the power-off mode is shorter than the power-on time of the headset in the shipping mode.

[0067] It should be noted that if the headset is disconnected from the communication connection for the first time, but the headset stores a matching record of the communication connection, it means that the headset may be in the user's hand and has been used by the user, so the headset stores a matching record of the communication connection. In this case, the communication chip can switch the headset to the power-off mode to reduce the power consumption of the headset; however, since the power-on time of the headset in the power-off mode is shorter than the power-on time of the headset in the shipping mode, the user can turn on the headset more quickly the next time he uses it, thereby improving the user experience.

[0068] By implementing the above method, the communication chip can determine that the headset is in the user's hand when it determines that a communication connection matching record is stored in the headset. In response to this, when the communication chip detects that the headset exits the shipping mode and the headset is in a communication disconnected state for a first period of time, the headset can be switched to the power-off mode, so that subsequent users can turn on the headset more quickly when using it, thereby improving the user experience.

[0069] See also Figure 4B , Figure 4B It is a schematic diagram of a communication chip control circuit disclosed in an embodiment of the present application. Optionally, the communication chip control circuit includes at least a communication chip 420 and a third resistor R4; wherein the power supply pin (VBAT) of the communication chip 420 is electrically connected to the power supply end (VSYS) of the communication chip, and the power pin (POWER) of the communication chip 420 is electrically connected to the magnetic field sensing module (HALL) through the third resistor R4. In one embodiment, when the power supply end (VSYS) of the communication chip is turned on, the power supply normally supplies power to the power supply pin (VBAT) of the communication chip 420. Further, when the magnetic field sensing module (HALL) detects that the magnetic field around at least two earphone heads included in the earphone changes (that is, when the suction state of at least two earphone heads changes), the magnetic field sensing module can output a high level to the power pin (POWER) to activate the power pin (POWER), so that the communication chip 420 restarts and works.

[0070] In implementing the methods disclosed in the above embodiments, the communication chip included in the headset can control the switching circuit to switch the headset to the shipping mode according to the switching instruction when receiving the switching instruction sent by the management device, so as to reduce the amount of power supplied to the headset by the power supply, thereby reducing the power consumption of the power supply, and then prolonging the storage time of the battery power of the headset; further, if it is detected that the headset exits the shipping mode, but no matching record of the communication connection is stored in the headset, it means that the headset may accidentally exit the shipping mode during shipment or transportation. In this case, the communication chip can control the switching circuit to switch the headset back to the shipping mode to ensure that the power consumption of the power supply can be reduced during the transportation of the headset, thereby prolonging the storage time of the battery power of the headset. ; and, the headset can be controlled to switch to the shipping mode only when it is determined that the headset currently does not need to communicate with other devices and the headset may be in the process of leaving the factory or being transported, that is, to avoid affecting the normal use of the headset, and to avoid the rapid consumption of the battery power of the headset due to the headset accidentally exiting the shipping mode during leaving the factory or being transported; and, when it is determined that a communication connection matching record is stored in the headset, it can be determined that the headset is in the user's hand. In this regard, when the communication chip detects that the headset exits the shipping mode and the headset is in a disconnected communication connection state for a first time period, the headset can be switched to the power-off mode, so that subsequent users can turn on the headset more quickly when using it, thereby improving the user experience.

[0071] See also Figure 5 , Figure 5 1 is a flow chart of another method for energy saving of headphones disclosed in an embodiment of the present application. The method can be applied to a communication chip included in the headphones, and the headphones can also include at least a switching circuit and a power supply. The method includes:

[0072] 502. Receive a switching instruction sent by a management device.

[0073] 504. Control the switching circuit to switch the headset to the shipping mode according to the switching instruction to reduce the amount of power supplied to the headset by the power supply.

[0074] 506. If it is detected that the engagement state between at least two earphone heads included in the earphone changes, the switching circuit is controlled to make the earphone exit the shipping mode so that the power supply can normally supply power to the earphone.

[0075] In an embodiment of the present application, the earphones may include at least two earphone heads; optionally, at least two earphone heads may be respectively provided with adsorption modules (including but not limited to magnets, buckles, etc.), so that at least two earphone heads can be attracted or separated from each other through the adsorption modules.

[0076] It is understandable that, in order to facilitate the storage of the earphones, during transportation or when the earphones are not in use, at least two earphone heads are usually sucked together so that the two earphone heads are in the sucked state. In this regard, if the at least two earphone heads are switched from the sucked state to the separated state, it means that the earphones may be used by the user at this time. In order to facilitate the use of the user, the communication chip can control the switching circuit to make the earphones exit the shipping mode so that the power supply can normally supply power to the earphones, so that the earphones can realize normal functions.

[0077] It should be noted that, unlike when the headset is in shipping mode, the headset power supply does not supply power to the communication chip, and the power supply to the charging management module of the headset is reduced; normal power supply to the headset means that after the headset exits the shipping mode, the power supply normally supplies power to the charging management module, so that the charging management module can normally perform various functions, and the power supply supplies power to the communication chip again.

[0078] See also Fig. 6A , Fig. 6A Schematic diagram of the suction state of an earphone head disclosed in an embodiment of the present application. Optionally, the earphone may include two earphone heads, namely a first earphone head 610 and a second earphone head 620, wherein the first earphone head 610 and the second earphone head 620 may be sucked together by the adsorption module to be in the suction state; and under the action of external force, the first earphone head 610 and the second earphone head 620 may also be separated to be in the separation state. It should be noted that Fig. 6A This is only for the convenience of explanation and should not be construed as limiting the embodiments of the present application.

[0079] By implementing the above method, the communication chip can determine that the earphones may be used by the user when detecting a change in the attraction state between at least two earphone heads included in the earphones. In order to enable the earphones to perform normal functions and facilitate user use, the communication chip can control the switching circuit to take the earphones out of the shipping mode so that the power supply can supply power to the earphones normally.

[0080] Optionally, the headset may further include a magnetic field sensing module, such as a Hall module, for detecting changes in the magnetic field around at least two earphone heads included in the headset. Optionally, in the case where the adsorption module is a magnet, when the attraction state of at least two earphone heads changes, the magnetic field between at least two earphone heads will also change. Optionally, when the magnetic field sensing module detects that the magnetic field around at least two earphone heads included in the headset changes, it can generate a target level signal (such as a high level or a low level) and send the target level signal to the communication chip; and then when the communication chip receives the target level signal sent by the magnetic field sensing module, it can determine that the attraction state between at least two earphone heads included in the headset has changed.

[0081] See also Figure 6B , Figure 6B It is a schematic diagram of a magnetic field sensing module disclosed in an embodiment of the present application. Optionally, the magnetic field sensing module may include at least a sensing chip 610, and the sensing chip 610 may include but is not limited to a chip with a model number of "U5". Optionally, the sensing chip 610 may include a power supply pin "VDD", a ground pin "GND" and an output pin "OUT". Optionally, at least two earphone heads included in the earphone may be respectively provided with a magnetic field sensing module and a magnet, and then the sensing chips each detect the magnetic field around the earphone head, and when a change in the magnetic field is detected, the target level signal is output to the communication chip through the output pin "OUT".

[0082] It should be further explained that the magnetic field sensing module may also include other components not described or shown, such as transistors, resistors, capacitors, etc. Figure 6B This is only for the convenience of explanation and should not be construed as limiting the embodiments of the present application.

[0083] In another embodiment, after the switching circuit is controlled to switch the headset to the shipping mode according to the switching instruction, if a touch operation on a button included in the headset is detected, the switching circuit is controlled to exit the headset from the shipping mode so that the power supply can normally supply power to the headset.

[0084] Optionally, the headset may be provided with one or more buttons (including but not limited to virtual buttons or physical buttons), which may be used to control the headset to turn on, adjust the volume, etc., respectively, and are not limited here. If a touch operation on a button included in the headset is detected, the communication chip may determine that the headset is activated (i.e., the user may need to use the headset), and the communication chip may control the switching circuit to exit the headset from the shipping mode, so that the power supply normally supplies power to the headset, and the headset can realize normal functions and facilitate user use.

[0085] By implementing the above method, the communication chip can control the switching circuit to make the headset exit the shipping mode when it is determined that the headset is activated or may be used by the user, so that the power supply can normally supply power to the headset, thereby allowing the headset to perform normal functions and facilitate user use.

[0086] In one embodiment, the communication chip controls the switching circuit to make the headset exit the shipping mode in the following manner: the communication chip controls the switching circuit to make the charging management module exit the shipping mode, and controls the switching circuit to turn on the target pin of the charging management module so that the power supply can supply power to the communication chip again.

[0087] Optional, please refer again Figure 4AThe charging management module may further include a first resistor R14, a second resistor R18, a first capacitor C29 and a first MOS tube Q1; wherein, one end of the first resistor R14 is grounded, the other end of the first resistor R14 is electrically connected to the output pin OUT of the magnetic field sensing module (HALL) through the first capacitor C29, the other end of the first resistor R14 is also electrically connected to one end of the second resistor R18, the other end of the second resistor R18 is electrically connected to the gate of the MOS tube Q1, the source of the MOS tube Q1 is grounded, and the drain of the MOS tube Q1 is electrically connected to the 12th pin (QON_N) of the charging management chip 410.

[0088] Optionally, if the magnetic field sensing module (HALL) detects that the magnetic field around at least two earphone heads has changed and outputs a target level (for example, a high level) through the output pin OUT, the target level will be transmitted to the first capacitor C29, the first resistor R14, the second resistor R18 in sequence, and finally transmitted to the MOS tube Q1, so that the MOS tube Q1 is turned on. When the MOS tube is turned on, the 12th pin (QON_N) of the charging management chip 410 will be activated, and when the 12th pin is activated for a second time (for example, 2 seconds, 3 seconds, etc., not limited here), the charging management module will exit the shipping mode.

[0089] By implementing the above method, the communication chip can control the switching circuit to make the headset exit the shipping mode when it is determined that the headset is activated or may be used by the user, so that the power supply can normally supply power to the headset, thereby allowing the headset to perform normal functions and facilitate user use.

[0090] 508. If it is detected that the headset exits the shipping mode and there is no matching record of the communication connection stored in the headset, the control switching circuit switches the headset to the shipping mode.

[0091] In implementing the methods disclosed in the above embodiments, when the communication chip included in the headset receives a switching instruction sent by the management device, it can control the switching circuit to switch the headset to the shipping mode according to the switching instruction to reduce the amount of power supplied to the headset by the power supply, thereby reducing the power consumption of the power supply, and then prolonging the storage time of the battery power of the headset; further, if it is detected that the headset exits the shipping mode, but no matching record of the communication connection is stored in the headset, it means that the headset may accidentally exit the shipping mode during shipment or transportation. In this case, the communication chip can control the switching circuit to switch the headset back to the shipping mode to ensure that the power consumption of the power supply can be reduced during the transportation of the headset, thereby prolonging the storage time of the battery power of the headset; and, when the headset is detected, When the attraction state between at least two earphone heads included in the machine changes, it is determined that the earphone may be used by the user. In order to enable the earphone to perform normal functions and be convenient for the user to use, the communication chip can control the switching circuit to make the earphone exit the shipping mode so that the power supply can supply power to the earphone normally; and, when it is determined that the earphone is activated or may be used by the user, the switching circuit can be controlled to make the earphone exit the shipping mode so that the power supply can supply power to the earphone normally, thereby enabling the earphone to perform normal functions and be convenient for the user to use; and, when it is determined that the earphone is activated or may be used by the user, the switching circuit can be controlled to make the earphone exit the shipping mode so that the power supply can supply power to the earphone normally, thereby enabling the earphone to perform normal functions and be convenient for the user to use.

[0092] See also Figure 7 , Figure 7 1 is a schematic diagram of the structure of another headset disclosed in an embodiment of the present application. Optionally, the headset may include a communication chip 110, a switching circuit 120, a power supply 130, a magnetic field sensing module 140 and a connecting device 150; wherein the magnetic field sensing module 140 may include a Hall module for detecting changes in the magnetic field around at least two earphone heads included in the headset; the connecting device 150 may include USB, type-c, etc., which are not limited here.

[0093] Optionally, the management device can send a switching instruction to the communication chip 110 through the connecting device 150, and then the communication chip 110 can control the switching circuit 120 to switch the headset to the shipping mode according to the switching instruction, thereby reducing the power supply of the power supply 130 to the headset; further, when the magnetic field sensing module 140 detects a change in the magnetic field around at least two earphone heads included in the headset, it can send a target level signal to the communication chip 110. When receiving the target level signal, the communication chip 110 can determine that the attraction state of at least two earphone heads included in the headset has changed, and then the communication chip 110 can control the switching circuit 120 to exit the headset from the shipping mode.

[0094] See also Figure 8 , Figure 8 : is a schematic diagram of the structure of an energy-saving device of an earphone disclosed in an embodiment of the present application. The energy-saving device can be applied to a communication chip included in the earphone. The earphone also includes at least a switching circuit and a power supply. The device may include a receiving unit 802, a first switching unit 804 and a second switching unit 806, wherein:

[0095] The receiving unit 802 is configured to receive a switching instruction sent by a management device.

[0096] The first switching unit 804 is used to control the switching circuit to switch the headset to the shipping mode according to the switching instruction, so as to reduce the amount of power supplied to the headset by the power supply.

[0097] The second switching unit 806 is used to control the switching circuit to switch the headset to the shipping mode when it is detected that the headset exits the shipping mode and no matching record of the communication connection is stored in the headset.

[0098] When the above-mentioned device is implemented, the communication chip included in the headset can control the switching circuit to switch the headset to the shipping mode according to the switching instruction when receiving the switching instruction sent by the management device, so as to reduce the amount of power supplied to the headset by the power supply, thereby reducing the power consumption of the power supply, and then extending the storage time of the battery power of the headset; further, if it is detected that the headset exits the shipping mode, but no matching record of the communication connection is stored in the headset, it means that the headset may accidentally exit the shipping mode during shipment or transportation. In this case, the communication chip can control the switching circuit to switch the headset back to the shipping mode to ensure that the power consumption of the power supply can be reduced during the transportation of the headset, thereby extending the storage time of the battery power of the headset.

[0099] See also Fig. 9 , Fig. 9 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application.

[0100] like Fig. 9 As shown, the electronic device may include:

[0101] A memory 901 storing executable program codes;

[0102] A processor 902 coupled to the memory 901;

[0103] The processor 902 calls the executable program code stored in the memory 901 to execute the energy saving method of the headset disclosed in the above embodiments.

[0104] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the energy-saving method disclosed in the above embodiments.

[0105] The embodiments of the present application also disclose an application publishing platform, wherein the application publishing platform is used to publish a computer program product, wherein when the computer program product runs on a computer, the computer executes part or all of the steps of the method in the above method embodiments.

[0106] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required for the present application.

[0107] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0108] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0109] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0110] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, a server or a network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the above-mentioned methods of various embodiments of the present application.

[0111] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0112] The energy-saving method of the headphones, the headphones, the electronic device, and the storage medium disclosed in the embodiments of the present application are introduced in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for energy saving of headphones, characterized in that: The communication chip included in the headset further includes at least a switching circuit and a power supply, and the method includes: Receiving a switching instruction sent by a management device; Controlling the switching circuit to switch the headset to a shipping mode according to the switching instruction to reduce the amount of power supplied by the power supply to the headset; If it is detected that the headset exits the shipping mode and no matching record of the communication connection is stored in the headset, the switching circuit is controlled to switch the headset back to the shipping mode.

2. The method according to claim 1, characterized in that If it is detected that the headset exits the shipping mode and no matching record of the communication connection is stored in the headset, controlling the switching circuit to switch the headset back to the shipping mode comprises: If it is detected that the headset exits the shipping mode, and the headset is in a communication disconnected state for a first period of time, and no matching record of the communication connection is stored in the headset, the switching circuit is controlled to switch the headset back to the shipping mode.

3. The method according to claim 1, characterized in that After controlling the switching circuit to switch the headset to the shipping mode according to the switching instruction, the method further includes: If it is detected that the headset exits the shipping mode, and the headset is in a communication disconnected state for a first period of time, and a matching record of the communication connection is stored in the headset, the headset is controlled to switch to the power-off mode, and the power-on time of the headset in the power-off mode is shorter than the power-on time of the headset in the shipping mode.

4. The method according to any one of claims 1 to 3, characterized in that: The headset further includes a charging management module, and the switching circuit is controlled according to the switching instruction to switch the headset to the shipping mode, including: controlling the switching circuit to switch the charging management module to the shipping mode according to the switching instruction, wherein the power consumption of the charging management module is reduced when the charging management module is in the shipping mode; The switching circuit is controlled to turn off the target pin of the charging management module so that the power supply stops supplying power to the communication chip, and the target pin is electrically connected to the power supply end of the communication chip.

5. The method according to claim 1, characterized in that After controlling the switching circuit to switch the headset to the shipping mode according to the switching instruction, the method further includes: If a touch operation on a button included in the headset is detected, controlling the switching circuit to make the headset exit the shipping mode, so that the power supply normally supplies power to the headset; Alternatively, if it is detected that the engagement state between at least two earphone heads included in the earphone changes, the switching circuit is controlled to make the earphone exit the shipping mode, so that the power supply can normally supply power to the earphone.

6. The method according to claim 5, characterized in that The headset further includes a magnetic field sensing module; and before controlling the switching circuit to exit the headset from the shipping mode if a change in the engagement state between at least two earphone heads included in the headset is detected, the method further includes: If a target level signal sent by the magnetic field sensing module is received, it is determined that the attraction state between at least two earphone heads included in the earphone has changed, and the target level signal is a level signal generated by the magnetic field sensing module when it detects that the magnetic field around at least two earphone heads included in the earphone has changed.

7. The method according to claim 5 or 6, characterized in that: The headset further includes a charging management module; and the controlling the switching circuit to cause the headset to exit the shipping mode includes: The switching circuit is controlled to make the charging management module exit the shipping mode, and the switching circuit is controlled to turn on the target pin of the charging management module so that the power supply can supply power to the communication chip again, and the target pin is electrically connected to the power supply end of the communication chip.

8. A headset, characterized in that: It includes a communication chip, a switching circuit and a power supply, wherein: A communication chip, used for receiving a switching instruction sent by a management device; The communication chip is further used to control the switching circuit to switch the headset to the shipping mode according to the switching instruction, so as to reduce the amount of power supplied by the power supply to the headset; The communication chip is also used to re-control the switching circuit to switch the headset to the shipping mode when it is detected that the headset exits the shipping mode and no matching record of the communication connection is stored in the headset.

9. An electronic device, characterized in that: It comprises a memory storing executable program code and a processor coupled to the memory; wherein the processor calls the executable program code stored in the memory to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.