CN111629299B - TWS earphone, and battery replacement method, device and medium thereof - Google Patents

TWS earphone, and battery replacement method, device and medium thereof Download PDF

Info

Publication number
CN111629299B
CN111629299B CN202010506285.1A CN202010506285A CN111629299B CN 111629299 B CN111629299 B CN 111629299B CN 202010506285 A CN202010506285 A CN 202010506285A CN 111629299 B CN111629299 B CN 111629299B
Authority
CN
China
Prior art keywords
current
earphone
battery
reminding
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010506285.1A
Other languages
Chinese (zh)
Other versions
CN111629299A (en
Inventor
刘凯
王二希
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202010506285.1A priority Critical patent/CN111629299B/en
Publication of CN111629299A publication Critical patent/CN111629299A/en
Application granted granted Critical
Publication of CN111629299B publication Critical patent/CN111629299B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1025Accumulators or arrangements for charging

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a TWS earphone and a battery replacement method, a device and a medium thereof, wherein the method comprises the following steps: the method comprises the steps of presetting a first electric quantity threshold value, and reminding a user of replacing a battery of the current main earphone according to the size relation between the first current residual electric quantity and the first electric quantity threshold value, so that the user can replace the battery in time. When the battery of the main earphone is replaced, the main earphone is shut down, the time for taking down the battery and replacing the standby battery after the main earphone is shut down is enough to enable the working mode of the current slave earphone to be switched into the main earphone mode, so that the use of a user is not influenced even if the battery is replaced, the endurance time of the TWS earphone is indirectly prolonged, and the requirement of the user for long-time use is met. Meanwhile, only the battery of the main earphone needs to be replaced, the battery of the auxiliary earphone does not need to be replaced, the purpose that the battery of the earphone can be replaced only by one standby battery is achieved, the space of the charging box is saved, in addition, the user cost is reduced, and the use experience of a user is improved.

Description

TWS earphone, and battery replacement method, device and medium thereof
Technical Field
The present application relates to the field of wireless headset technology, and in particular, to a TWS headset, a method, an apparatus, and a medium for replacing a battery thereof.
Background
With the continuous development of wireless technology, the original cable transmission mode is gradually replaced by wireless earphones. The wireless headset communicates with the terminal through a wireless communication protocol (such as bluetooth), and has the characteristics of no need of data line collection and convenient use compared with a wired headset. Among them, the real wireless interconnection stereo bluetooth headset (TWS headset) which is recently appeared at present is a typical one of the wireless headsets.
However, since the volume of the TWS headset is very small, the capacity of the battery of the headset cannot be too large, which causes the problem that the TWS headset has a long endurance and cannot meet the long-term use requirement of the user. At present, manufacturers of earphones in design generally set two spare batteries, when the electric quantity of the TWS earphones is insufficient, a user shuts down the earphones and takes down the batteries of the two earphones respectively, and then the batteries of the two earphones are replaced simultaneously. However, this approach has some problems: in practical application, the power consumption of the master earphone of the TWS earphone is larger than that of the slave earphone, so that when the power of the master earphone is exhausted, the power of the slave earphone is still enough to be used, and at the moment, the battery of the slave earphone is replaced, thereby reducing the total endurance time of the TWS earphone and influencing the use experience of a user. In addition, because the batteries of two earphones need to be replaced simultaneously, at least two spare batteries are needed, and at least two charging positions need to be reserved on the charging box correspondingly, so that the size of the charging box is increased, and the user cost is increased.
In view of the above-mentioned prior art, the search for a reasonable battery replacement method is a problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a method for replacing a battery of a TWS earphone, so that the purpose that the battery of the earphone can be replaced by only one spare battery is achieved, the space of a charging box is saved, the cost of a user is reduced, and the use experience of the user is improved.
In order to solve the above technical problem, the present application provides a method for replacing a battery of a TWS headset, including:
presetting a first electric quantity threshold;
acquiring a first current remaining capacity of a current main earphone;
judging whether the first current remaining power is smaller than the first power threshold value;
if the current battery voltage is smaller than the preset value, outputting a first reminding signal for reminding a user of replacing the battery of the current main earphone;
and switching the working mode of the current slave earphone into the master earphone mode.
Preferably, after the outputting the first reminding signal for reminding the user to replace the battery of the current main earphone, the method further comprises:
judging whether a user replaces a battery of the current main earphone;
if the earphone is replaced, the step of switching the working mode of the current slave earphone to the master earphone mode is carried out;
if not, judging whether the first current residual electric quantity is smaller than a low-electric-quantity shutdown reminding threshold value or not;
if the current power-off reminding threshold is less than the low-power-off reminding threshold, reminding a user to replace a battery of the current master earphone and control the current master earphone to be powered off, and switching the working mode of the current slave earphone into a master earphone mode;
if the power-off reminding threshold is not less than the low-power-off reminding threshold, outputting a second reminding signal for reminding a user to replace the battery of the current main earphone;
wherein the first power threshold is greater than the low power shutdown alert threshold.
Preferably, the method further comprises the following steps:
judging whether the battery of the current main earphone is replaced or not after the user receives the second reminding signal;
if the battery of the current main earphone is not replaced, returning to the step of judging whether the first current residual electric quantity is smaller than the low-electric-quantity shutdown reminding threshold value;
if the battery of the current master earphone is replaced, acquiring a second current residual electric quantity of the current slave earphone, and judging whether the second current residual electric quantity is smaller than a second electric quantity threshold value;
if the current working mode of the slave earphone is not smaller than the second electric quantity threshold value, the step of switching the working mode of the current slave earphone to the master earphone mode is carried out;
if the second current residual capacity is smaller than the second electric quantity threshold value, judging whether the second current residual capacity is smaller than the low-electric-quantity shutdown reminding threshold value;
and if the current power-off reminding threshold is smaller than the low-power-off reminding threshold, reminding a user to replace the battery of the current slave earphone and controlling the current slave earphone to be powered off.
Wherein the second power threshold is greater than the low power shutdown alert threshold.
Preferably, the second power threshold is set according to the time required for the battery of the current main earphone to be fully charged.
Preferably, after the switching the working mode of the current slave earphone to the master earphone mode, the method further includes:
adding an identifier for prohibiting master-slave switching, and returning to the step of acquiring the first current remaining power of the current master earphone;
before controlling the current master earphone to be powered off and/or controlling the current slave earphone to be powered off, the method further comprises the following steps:
and clearing the mark for prohibiting master-slave switching.
Preferably, after the obtaining of the first current remaining power of the current master earphone and the adding of the identifier prohibiting master-slave switching, the method further includes:
judging whether the first current residual capacity is smaller than the second current residual capacity;
if not, entering the step of judging whether the first current remaining electric quantity is smaller than the first electric quantity threshold value;
if the number of the marks is smaller than the preset value, judging whether the mark for prohibiting master-slave switching exists or not;
if the identifier for forbidding master-slave switching does not exist, the working mode of the current master earphone and the working mode of the slave earphone are respectively switched into a slave earphone mode and a master earphone mode, and the step of judging whether the first current residual electric quantity is smaller than the first electric quantity threshold value is carried out;
and if the identifier for prohibiting master-slave switching exists, the step of judging whether the first current remaining power is smaller than the first power threshold value is carried out.
In order to solve the above technical problem, the present application further provides a battery replacing device, including:
the setting module is used for presetting a first electric quantity threshold;
the acquisition module is used for acquiring a first current remaining electric quantity of the current main earphone;
the judging module is used for judging whether the first current residual electric quantity is smaller than the first electric quantity threshold value or not;
the reminding module is used for outputting a first reminding signal for reminding a user to replace a battery of the current main earphone when the first current remaining electric quantity is smaller than the first electric quantity threshold value;
and the switching module is used for switching the working mode of the current slave earphone into the master earphone mode.
In order to solve the above technical problem, the present application further provides a battery replacing apparatus, including a memory for storing a computer program;
a processor for implementing the steps of the battery replacement method as described when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and the computer program, when executed by a processor, implements the steps of the battery replacing method as described above.
In order to solve the technical problem, the application further provides a TWS headset, which comprises a master headset, a slave headset and the battery replacing device.
According to the method for replacing the battery of the TWS earphone, the first electric quantity threshold value is preset, so that when the first current residual electric quantity of the current main earphone is obtained, a user can be reminded to replace the battery of the current main earphone according to the size relation between the first current residual electric quantity and the first electric quantity threshold value, and the user can replace the battery in time. When the battery of the main earphone is replaced, the main earphone is shut down, the time for taking down the battery and replacing the standby battery after the main earphone is shut down is enough to enable the working mode of the current slave earphone to be switched into the main earphone mode, so that the use of a user is not influenced even if the battery is replaced, the endurance time of the TWS earphone is indirectly prolonged, and the requirement of the user for long-time use is met. Meanwhile, only the battery of the main earphone needs to be replaced, the battery of the auxiliary earphone does not need to be replaced, the purpose that the battery of the earphone can be replaced only by one standby battery is achieved, the space of the charging box is saved, in addition, the user cost is reduced, and the use experience of a user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings required for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a battery replacing method for a TWS headset according to an embodiment of the present disclosure;
fig. 2 is a flowchart of another method for replacing a battery of a TWS headset according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a battery replacement method for a TWS headset in an application scenario according to an embodiment of the present application;
fig. 4 is a structural diagram of a battery replacing device of a TWS headset according to an embodiment of the present application;
fig. 5 is a structural diagram of a battery replacing device of another TWS headset according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a TWS earphone and a battery replacing method, a device and a medium thereof.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
It should be noted that, the method for replacing the battery of the TWS headset provided by the present invention may be implemented by a Micro Control Unit (MCU) in the master headset, an MCU in the slave headset, or other types of control devices, which do not affect the implementation of the technical solution. It is understood that the types of batteries mentioned in the present application can be various, for example, the most common lithium battery, and of course, besides the lithium battery, the batteries can also be nickel cadmium battery, nickel hydrogen battery, etc., and hereinafter, the battery is mainly exemplified as the lithium battery. In addition, the battery mentioned in this application is detachable to the TWS earphone, the battery and its subassembly specifically can design for draw-in groove formula, the screw type, the fixed type of backshell, the fixed type of magnet, and be equipped with designs such as thimble on the earphone, it is enough convenient to fully guarantee detachable battery dismantlement, and wear the in-process firm enough, can not drop because of the accident, simultaneously, this application is in the space of saving the box that charges and the consideration that reduces user cost, only need a stand-by battery can realize relevant function, but if the user has the demand, also can set up the space of charging for a plurality of stand-by batteries on the box that charges of battery, dispose according to different user's demands, improve user's use experience when prolonging the duration of TWS earphone.
Fig. 1 is a flowchart of a battery replacement method for a TWS headset according to an embodiment of the present disclosure. As shown in fig. 1, the method includes:
s10: a first electric quantity threshold value is preset.
In particular implementations, the TWS headset may contain storage devices, control devices, etc., for different types, in addition to batteries. Wherein the first charge threshold value may be set by the control device and stored in the control device. The first electric quantity threshold value is set according to the time required by the current main earphone when the battery is fully charged, the situation that the changed battery can be continuously used until the first current residual electric quantity of the current main earphone is reduced to the first electric quantity threshold value after the working mode of the current slave earphone is switched to the main earphone mode can be guaranteed, the electric quantity can be fully charged, and the use experience of a user cannot be influenced.
S11: and acquiring a first current remaining capacity of the current main earphone.
S12: and judging whether the first current residual electric quantity is smaller than a first electric quantity threshold value, if so, entering S13, and if not, returning to S11.
S13: and outputting a first reminding signal for reminding a user of replacing the battery of the current main earphone.
In specific implementation, after detecting that the TWS headset is worn by the user, the MCU obtains a first current remaining power of the current master headset, and then compares the first current remaining power with the first power threshold set in S10, if the first current remaining power is smaller than the first power threshold, a first warning signal is output to warn the user to replace the battery of the current master headset, and if the first current remaining power is not smaller than the first power threshold, the user continues to use the TWS headset, and returns to S11 to continue to obtain the first current remaining power of the current master headset after the user uses the TWS headset for a period of time.
It should be understood that, in this embodiment, the manner of outputting the alert signal is not limited, and if the TWS headset includes a speaker and a vibrating component, the TWS headset may output the alert signal for controlling the speaker to be turned on, or output the alert signal for controlling the vibrating component to be turned on, or output the alert signal for controlling the signal lamp to be turned on.
S14: and switching the working mode of the current slave earphone into the master earphone mode.
In a specific implementation, both earphones, whether as master or slave, can operate in either master or slave mode; if one earphone is in the main earphone mode in the current state, the earphone is the current main earphone; if one earphone is in slave earphone mode in the current state, the earphone is the current slave earphone.
According to the method for replacing the battery of the TWS earphone, the first electric quantity threshold value is preset, so that when the first current residual electric quantity of the current main earphone is obtained, a user can be reminded to replace the battery of the current main earphone according to the size relation between the first current residual electric quantity and the first electric quantity threshold value, and the user can replace the battery in time. When the battery of the main earphone is replaced, the main earphone is shut down, the time for taking down the battery and replacing the standby battery after the main earphone is shut down is enough to enable the working mode of the current slave earphone to be switched into the main earphone mode, so that the use of a user is not influenced even if the battery is replaced, the endurance time of the TWS earphone is indirectly prolonged, and the requirement of the user for long-time use is met. Meanwhile, only the battery of the main earphone needs to be replaced, the battery of the auxiliary earphone does not need to be replaced, the purpose that the battery of the earphone can be replaced only by one standby battery is achieved, the space of the charging box is saved, in addition, the user cost is reduced, and the use experience of a user is improved.
Fig. 2 is a flowchart of another method for replacing a battery of a TWS headset according to an embodiment of the present disclosure. As shown in fig. 2, on the basis of the above embodiment, after S13, the method further includes:
s21: and judging whether the battery of the current main earphone is replaced by the user, if so, entering S14, and if not, entering S22.
S22: and judging whether the first current residual capacity is smaller than a low-power shutdown reminding threshold, if so, entering S19, and if not, entering S23.
S19: and reminding a user to replace the battery of the current master earphone and control the current master earphone to be powered off, and switching the working mode of the current slave earphone into the master earphone mode.
S23: and outputting a second reminding signal for reminding the user of replacing the battery of the current main earphone.
In S21, if it is detected that the user has replaced the battery of the current master earphone, the current master earphone is powered off during the battery replacement process, and the working mode of the current slave earphone is switched to the master earphone mode, so that the user does not affect the use even if the battery is replaced.
It should be noted that the first power threshold is greater than the low-power shutdown alert threshold. In other words, when the first current remaining power is reduced to the first power threshold, the power of the current main earphone is still sufficient for the user to use, and only the user knows the power condition in advance, so that operations such as battery replacement or continuous use can be performed.
Further, the purpose of the low power shutdown reminding threshold is to remind the user after the first current remaining power is smaller than the low power shutdown reminding threshold, so the low power shutdown reminding threshold may be set to a fixed value, the first power threshold may be a range including a power threshold upper limit and a power threshold lower limit, and the low power shutdown reminding threshold may be equal to the power threshold lower limit or smaller than the power threshold lower limit, which is not limited herein. It can be understood that the first reminding signal is output when the upper threshold limit of the first electric quantity threshold value is reached, and the second reminding signal is output when the user continues to use for a period of time and the low-electric-quantity shutdown reminding threshold value is reached.
As shown in fig. 2, on the basis of the above embodiment, the method further includes:
s24: and judging whether the battery of the current main earphone is replaced or not after the user receives the second reminding signal, if not, returning to S22, and if so, entering S25.
S25: obtaining a second current remaining capacity of the current slave earphone
S26: and judging whether the second current residual electric quantity is smaller than a second electric quantity threshold value, if not, entering S14, and if so, entering S27.
S27: and judging whether the second current remaining power is smaller than the low-power shutdown reminding threshold, and if so, entering S28.
S28: and reminding the user to replace the battery of the current slave earphone and controlling the current slave earphone to be powered off.
It should be noted that, the second power threshold is set according to the time required for the current main earphone to be fully charged, so that it can be ensured that the replaced battery can be continuously used until the first current remaining power of the current main earphone is reduced to the first power threshold after the current working mode of the slave earphone is switched to the main earphone mode, and the power can be fully charged without affecting the user experience. In addition, the second power threshold is greater than the low-power shutdown alert threshold. It is understood that the second power threshold and the first power threshold mentioned in the above embodiments may be equal or unequal, and it is only necessary to ensure that the replaced battery is fully charged.
In the method for replacing the battery of the TWS headset according to this embodiment, because the second power threshold is preset, when the second current remaining power of the current slave headset is obtained, whether the working mode of the current slave headset is switched to the master headset mode or not may be determined according to a magnitude relationship between the second current remaining power and the second power threshold. When the current residual capacity of the second is less than the low-power shutdown reminding threshold value, the user is reminded to replace the current battery of the slave earphone and control the current shutdown of the slave earphone, the current power of the slave earphone can be guaranteed to be used completely and then shutdown, the current power of the slave earphone is made full use of, the endurance time of the TWS earphone is indirectly prolonged, and the requirement for using the user for a long time is met.
On the basis of the above embodiment, after S14, the method further includes:
s15: an identification prohibiting master slave switching is added and returns to S11.
Before controlling the current master earphone to be powered off and/or controlling the current slave earphone to be powered off, the method further comprises the following steps:
s29: and clearing the mark for prohibiting master-slave switching.
It should be noted that, in the embodiments of the present application, a scenario for prohibiting master-slave switching is not limited, and the addition of the identifier for prohibiting master-slave switching is only to avoid master-slave switching under certain circumstances, for example, when it is detected that the first current electric quantity is smaller than the second current electric quantity, if there is an identifier for prohibiting master-slave switching, master-slave switching is not performed, so that a probability of frequent switching is reduced, and a use experience of a user is not affected. The reason why the identifier for prohibiting master-slave switching is cleared before the current master earphone is controlled to be powered off and/or the current slave earphone is controlled to be powered off is to ensure that the relevant steps in the above embodiment can be better executed when the user wears the earphone again after the earphone is fully charged.
As shown in fig. 2, on the basis of the above embodiment, after S11 and S15, the method further includes:
s16: and judging whether the first current residual capacity is smaller than the second current residual capacity, if not, entering S12, and if so, entering S17.
S17: and judging whether an identifier for prohibiting master-slave switching exists, if the identifier for prohibiting master-slave switching does not exist, entering S18, then returning to S12, and if the identifier for prohibiting master-slave switching exists, directly entering S12.
S18: and respectively switching the working mode of the current master earphone and the working mode of the slave earphone into a slave earphone mode and a master earphone mode.
In the method for replacing the battery of the TWS headset provided in this embodiment, when the first current remaining capacity is smaller than the second current remaining capacity, the current working mode of the master headset and the working mode of the slave headset are respectively switched to the slave headset mode and the master headset mode. In other words, when the power of the master earphone is less than the power of the slave earphone, master-slave switching is performed. The operation is intended to take the earphone with large current electric quantity as a main earphone, so that the endurance time of the TWS earphone can be prolonged, and the use experience of a user is improved.
In order to make the technical solutions provided by the present application more clear for those skilled in the art, a specific application scenario is further provided herein for description, where the scenario involves an MCU, a master earphone and a slave earphone, fig. 3 is a flowchart of a method for replacing a battery of a TWS earphone in the application scenario provided in the embodiment of the present application, as shown in fig. 3, the embodiment is described by an individual MCU, and the method includes the following steps:
s30: the MCU presets a first electric quantity threshold value.
S31: the MCU detects that the user wears the TWS headset.
S32: the MCU acquires a first current remaining capacity of the current main earphone.
S33: and the MCU acquires a second current remaining power of the current slave earphone.
S34: the MCU judges whether the first current residual capacity is smaller than the second current residual capacity.
S35: and when the first current residual capacity is smaller than the second current residual capacity, the MCU judges whether an identifier for master-slave switching exists or not.
S36: and if the mark for forbidding master-slave switching does not exist, the MCU switches the working mode of the current master earphone into the slave earphone mode.
S37: and if the mark for forbidding master-slave switching does not exist, the MCU switches the working mode of the current slave earphone into the master earphone mode.
The above steps are a specific application scenario, and corresponding steps may be added in other application scenarios, which are not limited herein.
In the above embodiments, the method for replacing the battery of the TWS headset is described in detail, and the present application also provides embodiments corresponding to the device for replacing the battery of the TWS headset. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one from the perspective of the function module and the other from the perspective of the hardware.
Fig. 4 is a structural diagram of a battery replacing device of a TWS headset according to an embodiment of the present application. As shown in fig. 4, the apparatus includes:
a setting module 10 is configured to preset a first electric quantity threshold.
The obtaining module 11 is configured to obtain a first current remaining power of the current master earphone.
The judging module 12 is configured to judge whether the first current remaining power is smaller than a first power threshold.
And the reminding module 13 is configured to output a first reminding signal for reminding a user to replace the battery of the current main earphone when the first current remaining power is smaller than the first power threshold.
And the switching module 14 is used for switching the working mode of the current slave earphone to the master earphone mode.
In a preferred embodiment, the obtaining module is further configured to obtain a second current remaining power of the current slave earphone.
The judging module is used for judging whether the first current residual electric quantity is smaller than the second current residual electric quantity; the device is also used for judging whether an identifier for forbidding master-slave switching exists; the earphone is also used for judging whether the battery of the current main earphone is replaced by the user; the power supply is also used for judging whether the first current residual electric quantity is smaller than a low-power shutdown reminding threshold value or not; the second reminding signal is used for reminding the user of the main earphone; the first residual electric quantity is used for judging whether the first current residual electric quantity is smaller than a first electric quantity threshold value or not; and the power supply is also used for judging whether the second current residual power is smaller than the low-power shutdown reminding threshold.
And the reminding module is used for outputting a second reminding signal for reminding a user to replace the battery of the current main earphone when the first current residual capacity is not less than the low-power shutdown reminding threshold.
And the switching module is used for respectively switching the working modes of the current master earphone and the current slave earphone into a slave earphone mode and a master earphone mode.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
According to the device for replacing the battery of the TWS earphone, the first electric quantity threshold value is preset, so that when the first current residual electric quantity of the current main earphone is obtained, a user can be reminded to replace the battery of the current main earphone according to the size relation between the first current residual electric quantity and the first electric quantity threshold value, and the user can replace the battery in time. When the battery of the main earphone is replaced, the main earphone is shut down, the time for taking down the battery and replacing the standby battery after the main earphone is shut down is enough to enable the working mode of the current slave earphone to be switched into the main earphone mode, so that the use of a user is not influenced even if the battery is replaced, the endurance time of the TWS earphone is indirectly prolonged, and the requirement of the user for long-time use is met. Meanwhile, only the battery of the main earphone needs to be replaced, the battery of the auxiliary earphone does not need to be replaced, the purpose that the battery of the earphone can be replaced only by one standby battery is achieved, the space of the charging box is saved, in addition, the user cost is reduced, and the use experience of a user is improved.
Fig. 5 is a structural diagram of a battery replacing device of another TWS headset according to an embodiment of the present application. As shown in fig. 5, the apparatus includes: a memory 20 for storing a computer program;
a processor 21 for implementing the steps of the battery replacement method of the TWS headset as in the above embodiments when executing the computer program.
The device for replacing the battery of the TWS headset provided by the embodiment can be realized by devices such as a wireless headset and a smart band.
The memory 20 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 20 may in some embodiments be an internal memory unit of a battery changing device of the TWS headset.
The processor 21 may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor or other data Processing chip in some embodiments, and is used for running program codes stored in the memory 20 or Processing data, such as a program corresponding to a battery replacing method for the TWS headset.
In some embodiments, the bus 22 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
It will be appreciated by those skilled in the art that the configuration shown in fig. 5 does not constitute a limitation of the battery changing arrangement of the TWS headset and may include more or fewer components than those shown.
The battery replacing device of the TWS earphone comprises the storage and the processor, and the processor can preset the first electric quantity threshold value when executing the program stored in the storage, so that when the first current residual electric quantity of the current main earphone is obtained, a user can be reminded to replace the battery of the current main earphone according to the size relation between the first current residual electric quantity and the first electric quantity threshold value, and the user can replace the battery in time. When the battery of the main earphone is replaced, the main earphone is shut down, the time for taking down the battery and replacing the standby battery after the main earphone is shut down is enough to enable the working mode of the current slave earphone to be switched into the main earphone mode, so that the use of a user is not influenced even if the battery is replaced, the endurance time of the TWS earphone is indirectly prolonged, and the requirement of the user for long-time use is met. Meanwhile, only the battery of the main earphone needs to be replaced, the battery of the auxiliary earphone does not need to be replaced, the purpose that the battery of the earphone can be replaced only by one standby battery is achieved, the space of the charging box is saved, in addition, the user cost is reduced, and the use experience of a user is improved.
In addition, the application also provides a TWS earphone which comprises a main earphone, a slave earphone and the battery replacing device of the TWS earphone mentioned in the previous embodiment.
Since the above detailed description is made on the battery replacing device of the TWS headset, the detailed description is omitted here.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is understood that, if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The TWS headset, the battery replacement method, the device and the medium thereof provided by the present application are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (8)

1. A method for replacing a battery of a TWS headset, comprising:
presetting a first electric quantity threshold;
acquiring a first current remaining capacity of a current main earphone;
judging whether the first current remaining power is smaller than the first power threshold value or not;
if the current battery voltage is smaller than the preset value, outputting a first reminding signal for reminding a user of replacing the battery of the current main earphone;
switching the working mode of the current slave earphone into a master earphone mode;
after the outputting of the first reminding signal for reminding the user to replace the battery of the current main earphone, the method further comprises the following steps:
judging whether a user replaces a battery of the current main earphone;
if the earphone is replaced, the step of switching the working mode of the current slave earphone to the master earphone mode is carried out;
if not, judging whether the first current residual electric quantity is smaller than a low-electric-quantity shutdown reminding threshold value or not;
if the current power-off reminding threshold is less than the low-power-off reminding threshold, reminding a user to replace a battery of the current master earphone and control the current master earphone to be powered off, and switching the working mode of the current slave earphone into a master earphone mode;
if the power-off reminding threshold value is not less than the low-power shutdown reminding threshold value, outputting a second reminding signal for reminding a user to replace the battery of the current main earphone;
wherein the first power threshold is greater than the low power shutdown alert threshold;
further comprising:
judging whether the battery of the current main earphone is replaced or not after the user receives the second reminding signal;
if the battery of the current main earphone is not replaced, returning to the step of judging whether the first current residual electric quantity is smaller than the low-electric-quantity shutdown reminding threshold value;
if the battery of the current master earphone is replaced, acquiring a second current remaining electric quantity of the current slave earphone, and judging whether the second current remaining electric quantity is smaller than a second electric quantity threshold value;
if the current working mode of the slave earphone is not smaller than the second electric quantity threshold value, the step of switching the working mode of the current slave earphone to the master earphone mode is carried out;
if the second current residual electric quantity is smaller than the second electric quantity threshold value, judging whether a second current residual electric quantity is smaller than the low-electric-quantity shutdown reminding threshold value or not;
if the current power-off reminding threshold is smaller than the low-power-off reminding threshold, reminding a user to replace a battery of the current slave earphone and controlling the current slave earphone to be powered off;
wherein the second power threshold is greater than the low power shutdown alert threshold.
2. The method of claim 1, wherein the second charge threshold is set based on a time required for a current primary earpiece to become fully charged.
3. The method of claim 1, wherein after the switching the current slave earphone operating mode to the master earphone mode, further comprising:
adding an identifier for prohibiting master-slave switching, and returning to the step of acquiring the first current remaining power of the current master earphone;
before controlling the current master earphone to be powered off and/or controlling the current slave earphone to be powered off, the method further comprises the following steps:
and clearing the mark for prohibiting master-slave switching.
4. The method for changing the battery of the TWS headset according to claim 3, further comprising, after the obtaining the first current remaining power of the current master headset and the adding the identifier prohibiting master-slave switching:
judging whether the first current residual capacity is smaller than the second current residual capacity;
if not, entering the step of judging whether the first current remaining power is smaller than the first power threshold value;
if the number of the marks is smaller than the preset value, judging whether the mark for prohibiting master-slave switching exists or not;
if the identifier for forbidding master-slave switching does not exist, the working mode of the current master earphone and the working mode of the slave earphone are respectively switched into a slave earphone mode and a master earphone mode, and the step of judging whether the first current residual electric quantity is smaller than the first electric quantity threshold value is carried out;
and if the identifier for prohibiting master-slave switching exists, the step of judging whether the first current remaining power is smaller than the first power threshold value is carried out.
5. A battery changing apparatus, comprising:
the setting module is used for presetting a first electric quantity threshold;
the acquisition module is used for acquiring a first current remaining electric quantity of the current main earphone;
the judging module is used for judging whether the first current residual electric quantity is smaller than the first electric quantity threshold value or not;
the reminding module is used for outputting a first reminding signal for reminding a user to replace a battery of the current main earphone when the first current remaining electric quantity is smaller than the first electric quantity threshold value;
the switching module is used for switching the working mode of the current slave earphone into a master earphone mode;
further comprising:
the first judgment module is used for judging whether a user replaces a battery of the current main earphone;
the first switching module, if change, enter the said step of switching the working mode of the earphone from the earphone to the master earphone mode at present;
the second judging module is used for judging whether the first current residual electric quantity is smaller than a low-electric-quantity shutdown reminding threshold value or not if the first current residual electric quantity is not replaced;
the first reminding module is used for reminding a user to replace a battery of the current master earphone and control the current master earphone to be powered off if the low-power shutdown reminding threshold is less than the low-power shutdown reminding threshold, and switching the working mode of the current slave earphone to the master earphone mode;
the second reminding module is used for outputting a second reminding signal for reminding a user to replace the battery of the current main earphone if the low-power shutdown reminding threshold is not less than the low-power shutdown reminding threshold;
wherein the first power threshold is greater than the low power shutdown alert threshold;
further comprising:
the third judgment module is used for judging whether the battery of the current main earphone is replaced after the user receives the second reminding signal;
the return module is used for returning to the step of judging whether the first current residual electric quantity is smaller than the low-electric-quantity shutdown reminding threshold value or not if the battery of the current main earphone is not replaced;
the second current remaining power judging module is used for acquiring the second current remaining power of the current slave earphone and judging whether the second current remaining power is smaller than a second power threshold value or not if the battery of the current master earphone is replaced;
the second switching module is used for switching the working mode of the current slave earphone into the master earphone mode if the working mode is not smaller than the second electric quantity threshold;
a shutdown judging module, configured to judge whether a second current remaining power is less than the low-power shutdown reminding threshold if the second current remaining power is less than the second power threshold;
the slave earphone shutdown module is used for reminding a user to replace a battery of the current slave earphone and controlling the current slave earphone to be shut down if the power consumption is smaller than the low-power shutdown reminding threshold; wherein the second power threshold is greater than the low power shutdown alert threshold.
6. A battery changing apparatus comprising a memory for storing a computer program;
a processor for implementing the steps of the battery replacement method according to any one of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the battery replacement method according to any one of claims 1 to 4.
8. A TWS headset comprising a master headset, a slave headset and the battery exchange device of claim 6.
CN202010506285.1A 2020-06-05 2020-06-05 TWS earphone, and battery replacement method, device and medium thereof Active CN111629299B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010506285.1A CN111629299B (en) 2020-06-05 2020-06-05 TWS earphone, and battery replacement method, device and medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010506285.1A CN111629299B (en) 2020-06-05 2020-06-05 TWS earphone, and battery replacement method, device and medium thereof

Publications (2)

Publication Number Publication Date
CN111629299A CN111629299A (en) 2020-09-04
CN111629299B true CN111629299B (en) 2022-06-10

Family

ID=72260946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010506285.1A Active CN111629299B (en) 2020-06-05 2020-06-05 TWS earphone, and battery replacement method, device and medium thereof

Country Status (1)

Country Link
CN (1) CN111629299B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113242486B (en) * 2021-05-08 2023-02-03 深圳市美恩微电子有限公司 Bluetooth headset who makes an uproar falls in initiative
CN114142548B (en) * 2021-10-27 2024-01-30 青岛歌尔声学科技有限公司 Battery switching method and device of electronic equipment, electronic equipment and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105491473A (en) * 2016-02-02 2016-04-13 深圳威武智能科技有限公司 Bluetooth earphone with continuous power supply
CN107071618A (en) * 2017-04-26 2017-08-18 歌尔科技有限公司 A kind of method and apparatus for connecting ears bluetooth earphone
CN107708014A (en) * 2017-11-08 2018-02-16 深圳市沃特沃德股份有限公司 Method and device for automatically switching master-slave relation of wireless earphone and wireless earphone
CN108271090A (en) * 2018-01-10 2018-07-10 深圳市沃特沃德股份有限公司 Bluetooth headset master-slave switching method and device
CN108696784A (en) * 2018-06-06 2018-10-23 歌尔科技有限公司 A kind of method of wireless headset role switching, wireless headset and TWS earphones
CN108810696A (en) * 2018-06-12 2018-11-13 歌尔科技有限公司 A kind of electric quantity reminding method, TWS earphones and earphone charging equipment
CN210298026U (en) * 2019-09-19 2020-04-10 深圳市东之力电子有限公司 Transformation type wireless earphone
KR20200055958A (en) * 2018-11-14 2020-05-22 주식회사 오르페오사운드웍스 System and method for processing communication of wireless earset

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013504937A (en) * 2009-09-10 2013-02-07 コス コーポレイション Synchronous wireless earphone
CN109660975A (en) * 2019-01-28 2019-04-19 上海与德通讯技术有限公司 The switching method of principal and subordinate's earphone, main earphone, from earphone and bluetooth headset network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105491473A (en) * 2016-02-02 2016-04-13 深圳威武智能科技有限公司 Bluetooth earphone with continuous power supply
CN107071618A (en) * 2017-04-26 2017-08-18 歌尔科技有限公司 A kind of method and apparatus for connecting ears bluetooth earphone
CN107708014A (en) * 2017-11-08 2018-02-16 深圳市沃特沃德股份有限公司 Method and device for automatically switching master-slave relation of wireless earphone and wireless earphone
CN108271090A (en) * 2018-01-10 2018-07-10 深圳市沃特沃德股份有限公司 Bluetooth headset master-slave switching method and device
CN108696784A (en) * 2018-06-06 2018-10-23 歌尔科技有限公司 A kind of method of wireless headset role switching, wireless headset and TWS earphones
CN108810696A (en) * 2018-06-12 2018-11-13 歌尔科技有限公司 A kind of electric quantity reminding method, TWS earphones and earphone charging equipment
KR20200055958A (en) * 2018-11-14 2020-05-22 주식회사 오르페오사운드웍스 System and method for processing communication of wireless earset
CN210298026U (en) * 2019-09-19 2020-04-10 深圳市东之力电子有限公司 Transformation type wireless earphone

Also Published As

Publication number Publication date
CN111629299A (en) 2020-09-04

Similar Documents

Publication Publication Date Title
CN111629299B (en) TWS earphone, and battery replacement method, device and medium thereof
EP4207551A1 (en) Charging and discharging circuit and electronic device
JP2006254698A (en) Power supply device of pocket version terminal
CN110650400A (en) Wireless earphone and low-power-consumption method, device and system thereof
JP2009017775A (en) Charging management method and device of battery for portable terminal
CN208384454U (en) Power supply power consumption control circuit and wearable electronic
CN109413532A (en) A kind of charging bluetooth earphone circuit and bluetooth headset
CN103823542A (en) Electronic apparatus and control method thereof
KR20160142875A (en) Systems and methods for power management of a modular mobile electronic device
CN104333051A (en) Mobile terminal and power supply method thereof
CN111478388A (en) Electronic product, battery discharge protection method, device and medium
CN110416643B (en) Processing method and device and electronic equipment
CN108964215B (en) Charger
CN110798771B (en) Charging box and earphone charging control method and device thereof
CN107463240A (en) Open method, device and the mobile terminal of battery saving mode
WO2017215266A1 (en) Charging method and device for terminal
CN111478407A (en) Notebook computer power supply circuit with charger function when shutdown and notebook computer
JP5246460B2 (en) Secondary battery with built-in control circuit for portable information terminal
CN216086972U (en) Power control circuit, earphone charging box and TWS earphone
CN110875610A (en) Electronic equipment power supply method and device, electronic equipment and storage medium
KR20160121647A (en) Portable battery charging device having function auto-recognition of portable device
CN220492690U (en) Electric tool
CN110967999A (en) Power consumption control device and communication system
CN205450448U (en) Glasses device, intelligent glasses and spectacle case
CN113923555B (en) Charging control circuit and charging control method for earphone

Legal Events

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