CN113708465A - Earphone charging method and device, earphone box and readable storage medium - Google Patents

Earphone charging method and device, earphone box and readable storage medium Download PDF

Info

Publication number
CN113708465A
CN113708465A CN202111166264.0A CN202111166264A CN113708465A CN 113708465 A CN113708465 A CN 113708465A CN 202111166264 A CN202111166264 A CN 202111166264A CN 113708465 A CN113708465 A CN 113708465A
Authority
CN
China
Prior art keywords
earphone
charging
target
target earphone
electric quantity
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.)
Pending
Application number
CN202111166264.0A
Other languages
Chinese (zh)
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 CN202111166264.0A priority Critical patent/CN113708465A/en
Publication of CN113708465A publication Critical patent/CN113708465A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/20Circuit arrangements or systems for wireless supply or distribution of electric power using microwaves or radio frequency waves
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/70Circuit arrangements or systems for wireless supply or distribution of electric power involving the reduction of electric, magnetic or electromagnetic leakage fields
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/90Circuit arrangements or systems for wireless supply or distribution of electric power involving detection or optimisation of position, e.g. alignment
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/00714Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current

Abstract

The present disclosure provides a charging method and apparatus for an earphone, an earphone box and a readable storage medium, the method comprising: scanning first broadcast information sent by a target earphone, wherein the first broadcast information at least comprises the residual electric quantity of the target earphone; determining whether the residual capacity of the target earphone is smaller than or equal to a preset first capacity threshold value; and controlling an earphone box to emit radio waves to charge the target earphone under the condition that the residual electric quantity of the target earphone is less than or equal to the electric quantity threshold value.

Description

Earphone charging method and device, earphone box and readable storage medium
Technical Field
The present disclosure relates to the field of earphone technologies, and more particularly, to a charging method for an earphone, a charging device for an earphone, an earphone box, and a readable storage medium.
Background
With the development and application of scientific technology, various wireless earphones continuously appear in the market, which greatly facilitates the living, working and learning needs of people.
However, in order to ensure the wearing experience of the wireless headset, the battery capacity of the wireless headset is generally small. In the use process of the wireless earphone, the low power problem often occurs. If the power of the wireless earphone is exhausted, the connection with the terminal equipment is disconnected, and the normal use of a user is influenced. Moreover, if the wireless headset is used during driving, the wireless headset is easy to cause danger to users due to the fact that the power of the wireless headset is exhausted.
Disclosure of Invention
An object of the present disclosure is to provide a new technical solution for charging a wireless headset.
According to a first aspect of the present disclosure, there is provided a charging method of a headset, including:
scanning first broadcast information sent by a target earphone, wherein the first broadcast information at least comprises the residual electric quantity of the target earphone;
determining whether the residual capacity of the target earphone is smaller than or equal to a preset first capacity threshold value;
and controlling an earphone box to emit radio waves to charge the target earphone under the condition that the residual electric quantity of the target earphone is less than or equal to the electric quantity threshold value.
Optionally, the first broadcast information further includes a hardware address of the target earphone;
the method further comprises the following steps:
determining whether the target earphone is bound with the earphone box according to the hardware address of the target earphone;
and under the condition that the target earphone is bound with the earphone box, executing the step of determining whether the residual electric quantity of the target earphone is less than or equal to a preset electric quantity threshold value.
Optionally, the method further includes:
scanning second broadcast information sent by the target earphone in a charging process, wherein the second broadcast information comprises charging current of the target earphone;
and adjusting the transmitting direction of the radio waves transmitted by the charging transmitter of the earphone box according to the charging current so as to maximize the charging current of the target earphone.
Optionally, the adjusting, according to the charging current, a transmission direction of the charging transmitter of the earphone box transmitting the radio wave so that the charging current of the target earphone is maximized includes:
controlling the charging emitter to rotate for the first time, and acquiring the charging current of the target earphone after each first rotation of the charging emitter; the first rotation is along a first rotation direction and according to a set angle;
determining a transmitting direction, which enables the charging current of the target earphone to be the maximum in the first rotation process, of the charging transmitter as a first transmitting direction according to the charging current of the target earphone after each first rotation of the charging transmitter;
controlling the charging emitter to perform second rotation based on the first transmitting direction, and acquiring charging current of the target earphone after each second rotation of the charging emitter; the second rotation is along a second rotation direction and according to the set angle;
determining a transmitting direction, which enables the charging current of the target earphone to be the maximum in the second rotation process, of the charging emitter according to the charging current of the target earphone after each second rotation of the charging emitter, and taking the transmitting direction as a second transmitting direction;
controlling the charging transmitter to transmit the radio wave according to the second transmission direction.
Optionally, the method further includes:
detecting whether the variation of the charging current of the target earphone is greater than or equal to a preset current threshold value or not in the process that the charging transmitter transmits the radio waves according to the second transmitting direction;
readjusting a transmission direction in which the charging transmitter transmits the radio wave in a case where a variation amount of the charging current of the target earphone is greater than or equal to the current threshold.
Optionally, the method further includes:
judging whether the earphone box is charging other earphones or not;
detecting whether the electric quantity of the other earphones is larger than or equal to a preset second electric quantity threshold value or not under the condition that the earphone box is charging the other earphones;
and under the condition that the electric quantity of the other earphones is larger than or equal to the second electric quantity threshold value, controlling the earphone box to stop charging the other earphones and charging the target earphone.
Optionally, the method further includes:
and in the process of controlling the earphone box to charge the target earphone, controlling the target earphone to reduce the playing volume.
According to a second aspect of the present disclosure, there is provided a charging device for a headset, comprising:
the system comprises a scanning module, a processing module and a processing module, wherein the scanning module is used for scanning first broadcast information sent by a target earphone, and the first broadcast information at least comprises the residual electric quantity of the target earphone;
the determining module is used for determining whether the residual electric quantity of the target earphone is smaller than or equal to a preset first electric quantity threshold value;
and the charging module is used for controlling the earphone box to emit radio waves to charge the target earphone under the condition that the residual electric quantity of the target earphone is less than or equal to the electric quantity threshold value.
According to a third aspect of the present disclosure, there is provided an earphone box comprising:
the apparatus of the second aspect of the disclosure; alternatively, the first and second electrodes may be,
a processor and a memory for storing instructions for controlling the processor to perform the method according to the first aspect of the present disclosure.
According to a fourth aspect of the present disclosure, there is provided a readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method according to the first aspect of the present disclosure.
By the method, in the using process of the target earphone, the earphone box can emit radio waves to charge the target earphone when detecting that the residual electric quantity of the target earphone is smaller than or equal to the first electric quantity threshold value, the target earphone does not need to be placed into the earphone box, the use of the target earphone by a user is not influenced, and the use continuity of the target earphone can be realized.
Other features of the present disclosure and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a block diagram showing one example of a hardware configuration of an earphone box that can be used to implement an embodiment of the present disclosure.
Fig. 2 shows a flowchart of a charging method of an earphone of an embodiment of the present disclosure.
Fig. 3 shows a block diagram of a charging device of a headset of an embodiment of the present disclosure.
Fig. 4 illustrates a block diagram of an earphone box of an embodiment of the present disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< hardware configuration >
Fig. 1 is a block diagram of one example of a hardware configuration of an earphone box that may be used to implement embodiments of the present disclosure.
The headset case 1000 may include, but is not limited to, a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like. The processor 1100 may be a central processing unit CPU, a graphics processing unit GPU, a microprocessor MCU, or the like, and is configured to execute a computer program, and the computer program may be written by using an instruction set of architectures such as x86, Arm, RISC, MIPS, and SSE. The memory 1200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, a USB interface, a serial interface, a parallel interface, and the like. The communication device 1400 is capable of wired communication using an optical fiber or a cable, or wireless communication, and specifically may include WiFi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like. The display device 1500 is, for example, a liquid crystal display panel, a touch panel, or the like. The input device 1600 may include, for example, a touch screen, a keyboard, a somatosensory input, and the like. The speaker 1700 is used to output an audio signal. The microphone 1800 is used to collect audio signals.
As applied to the disclosed embodiments, the memory 1200 of the headset case 1000 is used to store a computer program for controlling the processor 1100 to operate so as to implement the method according to the disclosed embodiments. The skilled person can design the computer program according to the solution disclosed in the present disclosure. How the computer program controls the processor to operate is well known in the art and will not be described in detail here. The headset case 1000 may be installed with an intelligent operating system (e.g., Windows, Linux, android, IOS, etc.) and application software.
It should be understood by those skilled in the art that although a plurality of devices of the earphone box 1000 are illustrated in fig. 1, the earphone box 1000 of the embodiment of the present disclosure may only relate to some of the devices therein, for example, only relate to the processor 1100 and the memory 1200, etc.
Various embodiments and examples according to the present invention are described below with reference to the accompanying drawings.
< method examples >
In the present embodiment, a charging method of an earphone is provided. The method is implemented by an earphone box. In one example, the earphone box may be the earphone box 1000 shown in fig. 1.
As shown in fig. 2, the charging method of the headset of the present embodiment may include the following steps S2100 to S2300.
Step S2100, scanning first broadcast information sent by a target headset, where the first broadcast information at least includes a remaining power of the target headset.
In one embodiment of the present disclosure, a broadcasting device may be provided in the target earphone, and the broadcasting device may transmit broadcast information at a set frequency. Correspondingly, a scanning device can be arranged in the earphone box, and the scanning device can scan the broadcast information sent by the target earphone.
Specifically, the broadcasting device disposed in the target earphone may be a bluetooth broadcasting device, and the scanning device disposed in the earphone box may be a bluetooth scanning device, so that the broadcasting information sent by the target earphone and scanned by the earphone box may be information based on a bluetooth protocol.
In one embodiment, the first broadcast information may also include a hardware address of the target headset. The hardware address may uniquely identify the target headset. Specifically, the hardware address may be a bluetooth hardware address of the target headset.
On the basis of the embodiment, the method may further include:
determining whether the target earphone is bound with the earphone box according to the hardware address of the target earphone; in the case where the target earphone is bound with the earphone box, performing step S2200; in case the target earphone is not bound to the earphone box, the method ends.
In this embodiment, the target earphone may be bound to the earphone box in advance by the hardware address thereof, so that the earphone box only charges the bound earphone, but not charges the earphone not bound to the earphone box.
In one example, the target earphone and the earphone box may be bound by recording a hardware address of the target earphone in the earphone box. Determining whether the target earphone is bound with the earphone box, wherein the determination may be whether a hardware address in the first broadcast information is recorded in the earphone box, and if so, determining that the target earphone is bound with the earphone box; if not, the target earphone is determined not to be bound with the earphone box.
In step S2200, it is determined whether the remaining power of the target earphone is less than or equal to a preset first power threshold.
In this embodiment, the first power threshold may be set in advance according to an application scenario or a specific requirement. For example, the first charge threshold may be 5%.
In step S2300, the earphone box is controlled to emit radio waves to charge the target earphone when the remaining power of the target earphone is less than or equal to the first power threshold.
In this embodiment, the earphone case may be provided with a charging transmitter therein, and a radio wave for charging the earphone may be transmitted by the charging transmitter. The radio wave in the present embodiment may be a millimeter wave. The earphone box and earphones may support a beamformed millimeter wave charging function.
By the method, in the using process of the target earphone, the earphone box can emit radio waves to charge the target earphone when detecting that the residual electric quantity of the target earphone is smaller than or equal to the first electric quantity threshold value, the target earphone does not need to be placed into the earphone box, the use of the target earphone by a user is not influenced, and the use continuity of the target earphone can be realized.
In one embodiment of the present disclosure, before performing step S2300, the method may further include: judging whether the earphone box is charging other earphones or not; detecting whether the electric quantity of other earphones is larger than or equal to a preset second electric quantity threshold value or not under the condition that the earphone box is charging other earphones; when the electric quantity of other earphones is larger than or equal to the second electric quantity threshold value, controlling the earphone box to stop charging other earphones and charging the target earphone; and under the condition that the electric quantity of other earphones is smaller than the second electric quantity threshold value, controlling the earphone box to continue to charge other earphones, and not charging the target earphone.
Specifically, the second charge threshold may be preset according to an application scenario or a specific requirement, for example, the second charge threshold may be 50%.
In this embodiment, under the condition that the earphone box is charging other earphones, by detecting whether the electric quantity of the other earphones is greater than or equal to the second electric quantity threshold value, and under the condition that the electric quantity of the other earphones is greater than or equal to the second electric quantity threshold value, the earphone box is controlled to stop charging the other earphones and charge the target earphones, so that on the basis that the other earphones can be used normally, the target earphones are charged to prolong the service life of the target earphones, and the target earphones and the other earphones can be used normally.
In one embodiment of the present disclosure, the method may further include:
and in the process of controlling the earphone box to charge the target earphone, controlling the target earphone to reduce the playing volume.
In one embodiment, the playing volume of the target earphone may be decreased by a set step size. The set step length may be a volume value set in advance according to an application scenario or a specific requirement. For example, the set step size may be Y. Then, in the case where the playback volume of the target headphone before being uncharged is X1 and the step size is set to Y, the playback volume after being lowered may be X2 — X1-Y.
In another embodiment, the playing volume of the target earphone can be reduced according to a set proportion. The set proportion may be a value less than 100% set in advance according to an application scenario or a specific requirement. For example, the set ratio may be 50%. Then, in the case where the playback volume of the target headphone before being uncharged is X1, and the set ratio is Z%, the playback volume after being lowered may be X2 ═ X1 × Z%.
The volume of the target earphone is reduced through the embodiment, the power consumption of the target earphone can be reduced, the charging speed of the target earphone is increased, and the charging efficiency of the target earphone is improved.
In one embodiment of the present disclosure, the charging transmitter of the earphone box may transmit radio waves omnidirectionally, and the charging current of the target earphone is equal when the target earphone is located in any direction of the earphone box with the same distance from the earphone box.
In another embodiment of the present disclosure, the charging transmitter of the earphone box may be a directional transmitting radio wave, and then, the charging current of the target earphone may be different when the target earphone is located in different directions of the earphone box with the same distance from the earphone box. On the basis, the method can further comprise the following steps S2400-S2500:
step S2400, scanning second broadcast information sent by the target earphone during the charging process, where the second broadcast information includes a charging current of the target earphone.
In this embodiment, the second broadcast information and the first broadcast information may be broadcast information sent by the same broadcasting device of the target earphone at different stages, the first broadcast information is broadcast information sent by the target earphone without charging, and the second broadcast information is broadcast information sent by the target earphone during charging.
Further, the second broadcast information may further include a hardware address and a remaining power of the target headset.
And step S2500, adjusting the transmitting direction of the radio waves transmitted by the charging transmitter of the earphone box according to the charging current so as to maximize the charging current of the target earphone.
In one embodiment of the present disclosure, adjusting the transmission direction of the charging transmitter of the earphone box to transmit the radio waves according to the charging current so as to maximize the charging current of the target earphone may include steps S2510 to S2550 as follows:
step S2510, controlling the charging emitter to perform a first rotation, and obtaining a charging current of the target earphone after each first rotation of the charging emitter; the first rotation is in a first rotation direction and according to a set angle.
Step S2520, determining, according to the charging current of the target earphone after each first rotation of the charging transmitter, a transmitting direction in which the charging current of the target earphone is maximized by the charging transmitter in the first rotation process, as a first transmitting direction.
The charging transmitter may record the charging current of the target headset at each transmit angle during the first rotation.
If the charging current of the target earphone when the charging transmitter is in the second transmitting angle is greater than the charging current of the target earphone when the charging transmitter is in the first transmitting angle and the third transmitting angle, it can be determined that the transmitting direction of the charging transmitter when the charging transmitter is in the second transmitting angle is the first transmitting direction which maximizes the charging current of the target earphone. The charging emitter is arranged in the first rotating process, the first emitting angle is the previous emitting angle of the second emitting angle, and the third emitting angle is the next emitting angle of the second emitting angle.
In the first rotation process, the charging emitter of the target earphone may be rotated along the first rotation direction, and if the charging current of the target earphone at the current transmission angle of the charging emitter is greater than the charging current of the target earphone at the previous transmission angle of the charging emitter, the charging emitter may be controlled to continue to rotate along the first rotation direction. If the charging current of the target earphone at the current transmitting angle of the charging transmitter is smaller than the charging current of the target earphone at the previous transmitting angle of the charging transmitter, the charging transmitter can be controlled to rotate against the first rotating direction. In this way, the first transmission direction can be found quickly.
Step S2530, controlling the charging emitter to perform second rotation based on the first transmitting direction, and acquiring charging current of the target earphone after each second rotation of the charging emitter; the second rotation is in a second rotation direction and according to a set angle.
In this embodiment, the plane of the first rotation direction and the plane of the second rotation direction may be perpendicular to each other.
Further, the charging transmitter performs a second rotation on the basis of the transmission of the radio wave in the first transmission direction.
Step S2540, determining, according to the charging current of the target earphone after each second rotation of the charging transmitter, a transmitting direction in which the charging transmitter maximizes the charging current of the target earphone during the second rotation, as a second transmitting direction.
The charging transmitter may record the charging current of the target headset at each transmit angle during the second rotation.
If the charging current of the target earphone when the charging transmitter is at the fifth transmitting angle is greater than the charging current of the target earphone when the charging transmitter is at the fourth transmitting angle and the sixth transmitting angle, it can be determined that the transmitting direction of the charging transmitter when the charging transmitter is at the fifth transmitting angle is the second transmitting direction which maximizes the charging current of the target earphone. And in the second rotation process of the charging emitter, the fourth emission angle is the previous emission angle of the fifth emission angle, and the sixth emission angle is the next emission angle of the fifth emission angle.
In the second rotation process, the charging emitter of the target earphone may be rotated along the second rotation direction, and if the charging current of the target earphone at the current transmission angle of the charging emitter is greater than the charging current of the target earphone at the previous transmission angle of the charging emitter, the charging emitter may be controlled to continue to rotate along the second rotation direction. If the charging current of the target earphone at the current transmitting angle of the charging transmitter is smaller than the charging current of the target earphone at the previous transmitting angle of the charging transmitter, the charging transmitter can be controlled to rotate against the second rotating direction. In this way, the second transmission direction can be found quickly.
In step S2550, the charging transmitter is controlled to transmit radio waves according to a second transmission direction.
By the method of the embodiment, the charging transmitter is controlled to transmit the radio wave according to the second transmission direction, so that the charging current of the target earphone in the process can be maximized.
In one embodiment of the present disclosure, in the process that the charging transmitter transmits the radio wave according to the second transmission direction, the method may further include:
detecting whether the variation of the charging current of the target earphone is larger than or equal to a preset current threshold value or not; and in the case that the variation of the charging current of the target earphone is larger than or equal to the current threshold value, readjusting the transmitting direction of the charging transmitter for transmitting the radio wave.
In this embodiment, the change amount of the charging current of the target earphone may be the change amount of the charging current in the second broadcast information scanned twice in succession. The current threshold may be preset according to application scenarios or specific requirements, for example, the current threshold may be 50 mA.
In the case where the amount of change in the charging current of the target earphone is greater than or equal to the current threshold, it may be determined that the position of the target earphone with respect to the earphone box has changed. Therefore, the charging current of the target earphone after the position change can be kept in a larger interval by readjusting the transmitting direction of the charging transmitter for transmitting the radio waves, so as to improve the charging efficiency of the target earphone.
For adjusting the transmission direction of the charging transmitter to transmit the radio waves, reference may be made to steps S2510 to S2550 in the foregoing embodiment, which is not described herein again.
In one embodiment of the present disclosure, the second broadcast information may further include a remaining power of the target headset, and then the method may further include: determining whether the residual capacity of the target earphone is greater than or equal to a preset third capacity threshold value; and controlling the earphone box to stop charging the target earphone under the condition that the residual capacity of the target earphone is greater than or equal to the third capacity threshold.
The third power threshold may be preset according to an application scenario or a specific requirement, for example, the third power threshold may be 90%.
< apparatus embodiment >
In the present embodiment, a charging apparatus 3000 for a headset is provided, as shown in fig. 3, including a scanning module 3100, a determining module 3200, and a charging module 3300. The scanning module 3100 is configured to scan first broadcast information sent by a target headset, where the first broadcast information at least includes a remaining power of the target headset; the determining module 3200 is configured to determine whether the remaining power of the target earphone is less than or equal to a preset first power threshold; the charging module 3300 is configured to control the earphone box to emit radio waves to charge the target earphone when the remaining power of the target earphone is less than or equal to the power threshold.
In one embodiment of the present disclosure, the first broadcast information may further include a hardware address of the target headset;
the charging device 3000 of the headset may further include:
a module for determining whether the target earphone is bound with the earphone box according to the hardware address of the target earphone;
the determining module 3200 may be further configured to perform a step of determining whether the remaining power of the target earphone is less than or equal to a preset power threshold in a case where the target earphone is bound to the earphone box.
In one embodiment of the present disclosure, the charging device 3000 of the headset may further include:
the module is used for scanning second broadcast information sent by the target earphone in the charging process, wherein the second broadcast information comprises the charging current of the target earphone;
and the module is used for adjusting the transmitting direction of the charging transmitter of the earphone box to transmit radio waves according to the charging current so as to enable the charging current of the target earphone to be maximum.
In one embodiment of the present disclosure, adjusting a transmission direction of a charging transmitter of an earphone box to transmit radio waves according to a charging current so as to maximize the charging current of a target earphone includes:
controlling the charging emitter to rotate for the first time, and acquiring the charging current of the target earphone after each first rotation of the charging emitter; the first rotation is along a first rotation direction and according to a set angle;
determining a transmitting direction, which enables the charging current of the target earphone to be the maximum in the first rotation process, of the charging transmitter as a first transmitting direction according to the charging current of the target earphone after each first rotation of the charging transmitter;
controlling the charging emitter to perform second rotation based on the first transmitting direction, and acquiring the charging current of the target earphone after each second rotation of the charging emitter; the second rotation is along a second rotation direction and according to a set angle;
determining a transmitting direction, which enables the charging current of the target earphone to be the maximum in the second rotation process, of the charging emitter according to the charging current of the target earphone after each second rotation of the charging emitter, and taking the transmitting direction as a second transmitting direction;
and controlling the charging transmitter to transmit the radio wave according to the second transmission direction.
In one embodiment of the present disclosure, the charging device 3000 of the headset may further include:
a module for detecting whether the variation of the charging current of the target earphone is greater than or equal to a preset current threshold value in the process that the charging transmitter transmits the radio waves according to the second transmission direction;
and a module for readjusting a transmission direction in which the charging transmitter transmits the radio wave, in a case where a variation amount of the charging current of the target earphone is greater than or equal to a current threshold.
In one embodiment of the present disclosure, the charging device 3000 of the headset may further include:
a module for judging whether the earphone box is charging other earphones;
the module is used for detecting whether the electric quantity of other earphones is larger than or equal to a preset second electric quantity threshold value or not under the condition that the earphone box is charging other earphones;
and the module is used for controlling the earphone box to stop charging other earphones and charging the target earphone under the condition that the electric quantity of the other earphones is larger than or equal to the second electric quantity threshold value.
In one embodiment of the present disclosure, the charging device 3000 of the headset may further include:
and the module is used for controlling the target earphone to reduce the playing volume in the process of controlling the earphone box to charge the target earphone.
It will be appreciated by those skilled in the art that the charging device 3000 of the headset may be implemented in various ways. For example, the charging apparatus 3000 of the headset may be implemented by instructing the configuration processor. For example, the instructions may be stored in ROM and read from ROM into a programmable device when the device is started to implement the charging apparatus 3000 of the headset. For example, the charging device 3000 of the headset may be cured into a dedicated device (e.g., ASIC). The charging device 3000 of the headset may be divided into units independent of each other, or they may be combined together. The charging device 3000 of the headset may be implemented by one of the various implementations described above, or may be implemented by a combination of two or more of the various implementations described above.
In this embodiment, the charging device 3000 of the headset may have various implementations, for example, the charging device 3000 of the headset may be any functional module running in a software product or an application providing a charging service of the headset, or a peripheral insert, a plug-in, a patch, etc. of the software product or the application, or the software product or the application itself.
< earphone box >
In this embodiment, an earphone box 4000 is further provided.
In one example, the earphone box 4000 may include the charging device 3000 of the earphone.
In another example, as shown in fig. 4, the earphone box 4000 may include:
a memory 4100 and a processor 4200, the memory 4100 for storing executable instructions; the instructions are used to control the processor 4200 to perform the aforementioned charging method for the headset.
< readable storage Medium >
In this embodiment, there is also provided a readable storage medium having stored thereon a computer program which, when executed by a processor, implements a charging method of a headset according to any of the embodiments of the present disclosure.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present disclosure is defined by the appended claims.

Claims (10)

1. A method of charging a headset, comprising:
scanning first broadcast information sent by a target earphone, wherein the first broadcast information at least comprises the residual electric quantity of the target earphone;
determining whether the residual capacity of the target earphone is smaller than or equal to a preset first capacity threshold value;
and controlling an earphone box to emit radio waves to charge the target earphone under the condition that the residual electric quantity of the target earphone is less than or equal to the electric quantity threshold value.
2. The method of claim 1, wherein the first broadcast information further comprises a hardware address of the target headset;
the method further comprises the following steps:
determining whether the target earphone is bound with the earphone box according to the hardware address of the target earphone;
and under the condition that the target earphone is bound with the earphone box, executing the step of determining whether the residual electric quantity of the target earphone is less than or equal to a preset electric quantity threshold value.
3. The method of claim 1, further comprising:
scanning second broadcast information sent by the target earphone in a charging process, wherein the second broadcast information comprises charging current of the target earphone;
and adjusting the transmitting direction of the radio waves transmitted by the charging transmitter of the earphone box according to the charging current so as to maximize the charging current of the target earphone.
4. The method of claim 3, wherein the adjusting the transmitting direction of the radio waves by the charging transmitter of the earphone box according to the charging current to maximize the charging current of the target earphone comprises:
controlling the charging emitter to rotate for the first time, and acquiring the charging current of the target earphone after each first rotation of the charging emitter; the first rotation is along a first rotation direction and according to a set angle;
determining a transmitting direction, which enables the charging current of the target earphone to be the maximum in the first rotation process, of the charging transmitter as a first transmitting direction according to the charging current of the target earphone after each first rotation of the charging transmitter;
controlling the charging emitter to perform second rotation based on the first transmitting direction, and acquiring charging current of the target earphone after each second rotation of the charging emitter; the second rotation is along a second rotation direction and according to the set angle;
determining a transmitting direction, which enables the charging current of the target earphone to be the maximum in the second rotation process, of the charging emitter according to the charging current of the target earphone after each second rotation of the charging emitter, and taking the transmitting direction as a second transmitting direction;
controlling the charging transmitter to transmit the radio wave according to the second transmission direction.
5. The method of claim 4, further comprising:
detecting whether the variation of the charging current of the target earphone is greater than or equal to a preset current threshold value or not in the process that the charging transmitter transmits the radio waves according to the second transmitting direction;
readjusting a transmission direction in which the charging transmitter transmits the radio wave in a case where a variation amount of the charging current of the target earphone is greater than or equal to the current threshold.
6. The method of claim 1, further comprising:
judging whether the earphone box is charging other earphones or not;
detecting whether the electric quantity of the other earphones is larger than or equal to a preset second electric quantity threshold value or not under the condition that the earphone box is charging the other earphones;
and under the condition that the electric quantity of the other earphones is larger than or equal to the second electric quantity threshold value, controlling the earphone box to stop charging the other earphones and charging the target earphone.
7. The method of claim 1, further comprising:
and in the process of controlling the earphone box to charge the target earphone, controlling the target earphone to reduce the playing volume.
8. A charging device for an earphone, comprising:
the system comprises a scanning module, a processing module and a processing module, wherein the scanning module is used for scanning first broadcast information sent by a target earphone, and the first broadcast information at least comprises the residual electric quantity of the target earphone;
the determining module is used for determining whether the residual electric quantity of the target earphone is smaller than or equal to a preset first electric quantity threshold value;
and the charging module is used for controlling the earphone box to emit radio waves to charge the target earphone under the condition that the residual electric quantity of the target earphone is less than or equal to the electric quantity threshold value.
9. An earphone box, comprising:
the apparatus of claim 8; alternatively, the first and second electrodes may be,
a processor and a memory for storing instructions for controlling the processor to perform the method of any of claims 1-7.
10. A readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202111166264.0A 2021-09-30 2021-09-30 Earphone charging method and device, earphone box and readable storage medium Pending CN113708465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111166264.0A CN113708465A (en) 2021-09-30 2021-09-30 Earphone charging method and device, earphone box and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111166264.0A CN113708465A (en) 2021-09-30 2021-09-30 Earphone charging method and device, earphone box and readable storage medium

Publications (1)

Publication Number Publication Date
CN113708465A true CN113708465A (en) 2021-11-26

Family

ID=78662484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111166264.0A Pending CN113708465A (en) 2021-09-30 2021-09-30 Earphone charging method and device, earphone box and readable storage medium

Country Status (1)

Country Link
CN (1) CN113708465A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539033A (en) * 2015-01-15 2015-04-22 东北大学 Self-adjusting wireless charging system and method for electric automobile
US20160099599A1 (en) * 2014-10-03 2016-04-07 Primax Electronics Ltd. Wireless power transmission device
CN108879847A (en) * 2018-07-06 2018-11-23 歌尔股份有限公司 Wireless headset charging system and wireless headset charging method
CN110061552A (en) * 2019-03-06 2019-07-26 武汉工控仪器仪表有限公司 A kind of outdoor mobile robot wireless charging system and method
CN110798771A (en) * 2019-11-28 2020-02-14 歌尔科技有限公司 Charging box and earphone charging control method and device thereof
CN111491235A (en) * 2020-04-22 2020-08-04 歌尔科技有限公司 Charging method and system, charging box and Bluetooth headset

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160099599A1 (en) * 2014-10-03 2016-04-07 Primax Electronics Ltd. Wireless power transmission device
CN104539033A (en) * 2015-01-15 2015-04-22 东北大学 Self-adjusting wireless charging system and method for electric automobile
CN108879847A (en) * 2018-07-06 2018-11-23 歌尔股份有限公司 Wireless headset charging system and wireless headset charging method
CN110061552A (en) * 2019-03-06 2019-07-26 武汉工控仪器仪表有限公司 A kind of outdoor mobile robot wireless charging system and method
CN110798771A (en) * 2019-11-28 2020-02-14 歌尔科技有限公司 Charging box and earphone charging control method and device thereof
CN111491235A (en) * 2020-04-22 2020-08-04 歌尔科技有限公司 Charging method and system, charging box and Bluetooth headset

Similar Documents

Publication Publication Date Title
AU2015333819B2 (en) Audio class-compliant charging accessories for wireless headphones and headsets
WO2018019236A1 (en) Method and apparatus for sharing application program, and electronic device
CN105653323A (en) Application program management method and device
US20140347057A1 (en) Apparatus and method for providing battery information, and user terminal therefor
EP2980958B1 (en) Charging control method and electronic device for supporting the same
CN107925948B (en) Electronic device, audio apparatus, and method executable by electronic device to set network of audio apparatus
CN110825411B (en) Upgrading method and device for TWS (two way satellite System) earphone system and computer-readable storage medium
CN103861294B (en) A kind of doll control method, device and doll
US9621986B2 (en) Electronic device, audio device, and method for supplying power to the audio device
EP3674904B1 (en) Electronic device having type c usb interface, control method for type c usb interface, and storage medium
JP2018528870A (en) Electric machine tool communication device, electric tool system, and method
CN105335192B (en) A kind of information processing method and electronic equipment
CN113708465A (en) Earphone charging method and device, earphone box and readable storage medium
CN108668011A (en) Output method, output equipment and electronic equipment
CN104967637A (en) Operation processing methods, operation processing devices and operation processing terminals
KR101988030B1 (en) Keyboard system
CN112713627B (en) Voltage control method, voltage control device, storage medium, and electronic apparatus
CN108810596B (en) Video editing method and device and terminal
CN109147747B (en) Method for loading tuning parameters, playing device, server and system
CN106371981B (en) Detection management method and system between electronic devices
CN110896237A (en) Charging device and method for mobile phone back clip and back clip equipment
CN104506626A (en) Content information transmission control method, server and terminal
KR20140137940A (en) Mobile terminal of transforming operation mode while wirelessly charged and wireless charger thereof
JP7368559B1 (en) Information processing device and control method
CN112019919B (en) Video sticker adding method and device and electronic equipment

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