CN112865249B - Charging method and device of wireless earphone, charging box and readable storage medium - Google Patents

Charging method and device of wireless earphone, charging box and readable storage medium Download PDF

Info

Publication number
CN112865249B
CN112865249B CN202110176476.0A CN202110176476A CN112865249B CN 112865249 B CN112865249 B CN 112865249B CN 202110176476 A CN202110176476 A CN 202110176476A CN 112865249 B CN112865249 B CN 112865249B
Authority
CN
China
Prior art keywords
charging
wireless earphone
charging box
wireless
box
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
CN202110176476.0A
Other languages
Chinese (zh)
Other versions
CN112865249A (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.)
Shenzhen Guanping Electronics Co ltd
Shenzhen Grandsun Electronics Co Ltd
Shenzhen Feikedi System Development Co Ltd
Original Assignee
Shenzhen Guanping Electronics Co ltd
Shenzhen Grandsun Electronics Co Ltd
Shenzhen Feikedi System Development 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 Shenzhen Guanping Electronics Co ltd, Shenzhen Grandsun Electronics Co Ltd, Shenzhen Feikedi System Development Co Ltd filed Critical Shenzhen Guanping Electronics Co ltd
Priority to CN202110176476.0A priority Critical patent/CN112865249B/en
Publication of CN112865249A publication Critical patent/CN112865249A/en
Application granted granted Critical
Publication of CN112865249B publication Critical patent/CN112865249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/007Regulation of charging or discharging current or voltage
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • 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/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
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application belongs to the technical field of charging, and mainly provides a charging method and device of a wireless earphone, a charging box and a readable storage medium, wherein the charging method of the wireless earphone comprises the following steps: detecting whether the wireless earphone is put into the charging box; if the wireless earphone is put into the charging box, the charging voltage with the first time length is periodically output to the wireless earphone so as to periodically charge the wireless earphone with the first time length, and after the wireless earphone is charged with the first time length each time, the charging voltage is in data communication with the wireless earphone with the second time length so as to update the data of the charging box until the wireless earphone is charged, thereby realizing the data communication with the wireless earphone in the process of charging the wireless earphone, and solving the problem that the current charging box cannot realize the data communication with the wireless earphone in the process of charging the wireless earphone.

Description

Charging method and device of wireless earphone, charging box and readable storage medium
Technical Field
The application belongs to the technical field of charging, and particularly relates to a charging method and device of a wireless earphone, a charging box and a readable storage medium.
Background
Compared with wired earphone, the wireless earphone is convenient to wear, and the problem of earphone wire winding can not occur, so that the wireless earphone is deeply favored by users. Currently, wireless headphones often require a corresponding charging box to charge and house the wireless headphones.
However, at present, the charging box only charges the wireless earphone in the process of charging the wireless earphone, so that the problem that the charging function is too single exists.
Disclosure of Invention
The application aims to provide a charging method and device for a wireless earphone, a charging box and a readable storage medium, which can realize data communication with the wireless earphone and further update data of the charging box in the process of charging the wireless earphone.
An embodiment of the present application provides a charging method for a wireless earphone, which is applied to a charging box, and the charging method for the wireless earphone includes:
detecting whether the wireless earphone is put into the charging box;
and if the wireless earphone is put into the charging box, periodically outputting a charging voltage with a first time length to the wireless earphone so as to periodically charge the wireless earphone with the first time length, and after each time of charging the wireless earphone with the first time length, carrying out data communication with the wireless earphone with a second time length so as to update the data of the charging box until the charging of the wireless earphone is completed, wherein the second time length starts to be counted when the first time length is ended.
Based on the charging method of the wireless earphone of the first aspect, optionally, in a first possible implementation manner of the present application, the performing data communication with the wireless earphone for a second duration to update data of the charging box includes:
receiving a first data signal output by the wireless earphone; the first data signal carries the information of the residual capacity of the wireless earphone battery;
and updating the first time length to be a first time length determined according to the residual capacity of the wireless earphone battery and/or the residual capacity of the charging box.
Based on the above charging method of the wireless earphone of the first aspect, optionally, in a second possible implementation manner of the present application, the performing data communication with the wireless earphone for a second duration to perform data update on the charging box includes:
receiving a first data signal output by the wireless earphone; the first data signal carries the information of the residual capacity of the wireless earphone battery;
if the remaining capacity of the wireless earphone battery is larger than or equal to a first electric capacity threshold value, determining that the wireless earphone is charged, and controlling the charging box to update from a charging state to a sleep state; the first power threshold is less than the power of the wireless headset when full.
Based on the charging method of the wireless earphone according to the first aspect and the second possible implementation manner of the first aspect, optionally, in a third possible implementation manner of the present application, after the controlling the charging box to update from the charging state to the sleep state, the method includes:
detecting whether the wireless earphone leaves the charging box or not at preset time intervals;
if the wireless headset has left the charging box, re-detecting whether the wireless headset has been put into the charging box.
Based on the above-mentioned charging method of the wireless earphone of the first aspect and the above-mentioned third possible implementation manner, optionally, in a fourth possible implementation manner of the present application, the detecting whether the wireless earphone has left the charging box, and detecting whether the wireless earphone has been put into the charging box, includes:
outputting a charging voltage of a third duration to charge and reset the wireless earphone put into the charging box;
detecting whether a second data signal sent by the wireless earphone is received in a fourth duration;
if a second data signal sent by the wireless earphone is received in a fourth time period, confirming that the wireless earphone is put into the charging box; if the second data signal sent by the wireless earphone is not received within the fourth duration, confirming that the wireless earphone has left the charging box; wherein the fourth time period starts to count at the end of the third time period.
Based on the charging method of the wireless earphone according to the first aspect and the fourth possible implementation manner of the wireless earphone, optionally, in a fifth possible implementation manner of the present application, the detecting whether the second data signal sent by the wireless earphone is received within a fourth duration;
and outputting a third data signal to the wireless earphone in the fourth time period, and receiving the second data signal output by the wireless earphone according to the third data signal.
In a sixth possible implementation manner of the present application, based on the charging method of the wireless headset according to the first aspect of the present application, optionally, the performing data communication with the wireless headset for a second duration to perform data update on the charging box includes:
outputting a fourth data signal carrying state information of a charging box to the wireless earphone, and receiving a fifth data signal carrying configuration information generated by a user terminal according to the state information and sent by the wireless earphone;
carrying out parameter configuration on the charging box according to the configuration information; the configuration information comprises charging speed configuration information of the charging box and/or charging duration configuration information of the charging box.
A second aspect of the embodiment of the present application provides a charging device for a wireless headset, where the charging device for the wireless headset is configured in a charging box, and the charging device for the wireless headset includes:
a detection unit for detecting whether the wireless earphone is put into the charging box;
and the charging unit is used for outputting charging voltage of a first time period to the wireless earphone periodically if the wireless earphone is put into the charging box, so as to charge the wireless earphone periodically for the first time period, and after the wireless earphone is charged for the first time period each time, carrying out data communication with the wireless earphone for a second time period so as to update the data of the charging box until the wireless earphone is charged, wherein the second time period starts to be counted when the first time period is ended.
A third aspect of the embodiment of the present application provides a charging box, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the steps of the charging method of the wireless headset according to the first aspect when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer readable storage medium storing a computer program, which when executed by a processor, implements the steps of the method for charging a wireless headset according to the first aspect.
In the embodiment of the application, whether the wireless earphone is put into the charging box is detected; when the wireless earphone is detected to be put into the charging box, periodically outputting a charging voltage with a first time length to the wireless earphone so as to periodically charge the wireless earphone with the first time length, and after the wireless earphone is charged with the first time length each time, carrying out data communication with the wireless earphone with a second time length so as to update the data of the charging box until the wireless earphone is charged; the wireless earphone charging device has the advantages that the data communication with the wireless earphone is achieved in the process of charging the wireless earphone, the data updating is further conducted on the charging box, the problem that the existing charging box only charges the wireless earphone in the process of charging the wireless earphone, the charging function is too single, the data communication with the wireless earphone cannot be achieved in the process of charging the wireless earphone, and the data updating is conducted on the charging box is solved.
Drawings
Fig. 1 is a schematic implementation flow chart of a charging method of a wireless earphone according to an embodiment of the present application.
Fig. 2 is a schematic charging sequence diagram of a wireless headset according to an embodiment of the present application.
Fig. 3 is a schematic diagram of an implementation flow of detecting whether a wireless earphone is put into a charging box according to an embodiment of the present application.
Fig. 4 is a schematic diagram of a charging device of a wireless headset according to an embodiment of the application.
Fig. 5-1 is a schematic diagram of a first structure of a wireless headset according to an embodiment of the present application.
Fig. 5-2 is a second schematic structural diagram of a wireless earphone according to an embodiment of the present application.
Fig. 6 is a schematic circuit diagram of a high-level trigger switch module according to an embodiment of the application.
Fig. 7 is a third schematic structural diagram of a wireless earphone according to an embodiment of the present application.
Fig. 8 is a first structural schematic diagram of a charging box according to an embodiment of the present application.
Fig. 9 is a second structural schematic diagram of the charging box according to the embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
Compared with wired earphone, the wireless earphone is convenient to wear, and the problem of earphone wire winding can not occur, so that the wireless earphone is deeply favored by users. Currently, wireless headphones often require a corresponding charging box to charge and house the wireless headphones.
However, when the wireless headset is charged by the present charging box, only the wireless headset is usually charged, but data communication with the wireless headset cannot be performed.
Based on the above, the embodiment of the application provides a charging method and device for a wireless earphone, a charging box and a readable storage medium, which can realize data communication with the wireless earphone and further realize data updating of the charging box in the process of charging the wireless earphone.
Fig. 1 is a schematic implementation flow chart of a charging method of a wireless earphone according to an embodiment of the present application, where the charging method is applied to a charging box and may be executed by a charging device of the charging box. Specifically, the charging method of the wireless earphone may include: steps 101 to 102.
Step 101, detecting whether the wireless earphone is put into the charging box.
In the embodiment of the application, the charging box is used for charging the wireless earphone by detecting whether the wireless earphone is placed in the charging box or not and executing step 102 after detecting that the wireless earphone is placed in the charging box.
Optionally, a pressure sensor, an electromagnetic sensor, an infrared sensor and other sensors may be disposed on the charging box to detect whether the wireless earphone is placed in the charging box, or whether the wireless earphone is placed in the charging box is determined by detecting whether the charging box can receive a data signal sent by the wireless earphone.
For example, upon receiving a data signal transmitted by the wireless headset, it is determined that the wireless headset has been placed in the charging cartridge.
It should be noted that, the detection mode of whether the wireless earphone is put into the charging box is merely illustrated herein, and is not meant to limit the protection scope of the present application. In other embodiments of the present application, detection of whether the wireless headset has been placed in the charging cartridge may also be accomplished in other ways.
Step 102, if the wireless earphone is placed in the charging box, periodically outputting a charging voltage of a first duration to the wireless earphone to periodically charge the wireless earphone of the first duration, and after the wireless earphone is charged for the first duration each time, performing data communication with the wireless earphone of a second duration to update the data of the charging box until the wireless earphone is charged. Wherein the second time period begins to time when the first time period ends.
As shown in fig. 2, in the embodiment of the present application, the first duration is a T1 time period, and the second duration is a T2 time period that starts to be counted when the T1 time period ends. The specific value of the second duration can be set according to practical experience, and only the wireless earphone and the charging box can normally complete data communication.
Therefore, in the embodiment of the application, the charging box performs data communication with the wireless earphone at intervals of a first time length in the process of charging the wireless earphone, and performs data updating on the charging box, so that the problems that the current charging box cannot perform data communication with the wireless earphone and perform data updating on the charging box in the process of charging the wireless earphone are solved.
Optionally, in some embodiments of the present application, in the step 102, data communication with the wireless headset for a second duration is performed to update data of the charging box, which may include receiving a first data signal output by the wireless headset and carrying remaining power information of the wireless headset battery and/or temperature of the wireless headset battery; updating the first time length to be the first time length determined according to the residual capacity of the wireless earphone battery and/or the residual capacity of the charging box and/or the temperature of the wireless earphone battery and/or the temperature of the charging box battery, and/or updating the charging mode of the charging box.
That is, in the process of data communication with the wireless earphone, the charging box can timely acquire the information of the residual electric quantity of the wireless earphone and/or the temperature of the wireless earphone battery, and dynamically adjust the first duration according to the residual electric quantity of the wireless earphone battery and/or the residual electric quantity of the charging box and/or the temperature of the wireless earphone battery and/or the temperature of the charging box battery, so as to adjust the charging speed of the charging box.
For example, dynamically adjusting the first duration according to the power of the charging box and/or the power of the wireless headset may include: when the electric quantity of the wireless earphone is smaller than the second electric quantity threshold, the third time length is larger than the first preset time length threshold, namely, when the electric quantity of the wireless earphone is smaller, the charging time length is prolonged, and the charging speed of the wireless earphone is accelerated. When the electric quantity of the wireless earphone is greater than or equal to a third electric quantity threshold value, the third duration is smaller than a second preset duration threshold value, so that supersaturation of the electric quantity of the wireless earphone is avoided, and a battery of the wireless earphone is damaged. The third power threshold may be greater than or equal to the second power threshold.
For example, when the charging box is used for charging the wireless earphone, if the electric quantity of the charging box is smaller than the fourth electric quantity threshold value, the first time length is set to be zero, and a prompt message of the too low electric quantity of the charging box is output to the wireless earphone, so that when the wireless earphone leaves the charging box and is in a wearing state, the user is reminded of timely charging the charging box by playing the prompt message of the too low electric quantity of the charging box.
For another example, when the electric quantity of the wireless earphone is smaller than the second electric quantity threshold value and/or the electric quantity of the charging box is larger than the fifth electric quantity threshold value and/or the temperature of the battery of the wireless earphone is smaller than the first temperature threshold value and/or the temperature of the battery of the charging box is smaller than the first temperature threshold value, the charging box is controlled to charge the wireless earphone in a constant current mode so as to accelerate the charging speed of the wireless earphone; and when the electric quantity of the wireless earphone is greater than or equal to the second electric quantity threshold value and/or the electric quantity of the charging box is less than or equal to the fifth electric quantity threshold value and/or the temperature of the battery of the wireless earphone is greater than or equal to the first temperature threshold value and/or the temperature of the battery of the charging box is greater than or equal to the first temperature threshold value, controlling the charging box to charge the wireless earphone in a constant-voltage mode.
That is, when the electric quantity of the wireless earphone is smaller, the electric quantity of the charging box is more sufficient, the temperature of the charging box is lower, and the temperature of the wireless earphone is also lower, the charging box can be controlled to charge the wireless earphone in a constant-current mode so as to accelerate the charging speed of the wireless earphone; the wireless earphone has the advantages that the electric quantity of the wireless earphone is higher, the electric quantity of the charging box is lower, the temperature of the charging box is higher, and the charging box can be controlled to charge the wireless earphone in a constant-voltage mode under any one or more conditions that the temperature of the wireless earphone is also higher, so that the damage to the electronic components of the charging box and the wireless earphone is avoided, and the service lives of the charging box and the wireless earphone are prolonged.
And the control charging box is with constant current mode to the in-process that charges of wireless earphone, and the electric current size of charging box output can reduce step by step to slow down the temperature rising speed of charging box and wireless earphone, and make the temperature of charging box and wireless earphone can not be too high, damage the electronic components of charging box and wireless earphone, extension charging box and wireless earphone's life.
For example, the time period for the charging box to charge the wireless earphone in the constant current mode is divided into three time periods, the current output by the charging box in the first time period is 2A, the current output in the second time period is 1.5A, and the current output in the third time period is 1A.
It should be noted that, the above-mentioned electric quantity threshold values and the above-mentioned temperature threshold values may be set according to actual application scenarios or test results, which is not limited in the present application.
Optionally, in some embodiments of the present application, in the step 102, the data communication with the wireless headset for the second duration is performed to update the data of the charging box, and the method may further include: receiving a first data signal which is output by the wireless earphone and carries the residual capacity information of the wireless earphone battery; if the remaining capacity of the wireless earphone battery is larger than or equal to the first electric capacity threshold value, determining that the wireless earphone is charged, and controlling the charging box to update from a charging state to a sleep state; the first electric quantity threshold value is smaller than the electric quantity when the wireless earphone is full.
Specifically, after the charging cartridge enters the sleep state, it may include: detecting whether the wireless earphone leaves the charging box or not at preset time intervals; if the wireless earphone is away from the charging box, detecting whether the wireless earphone is placed in the charging box or not again.
In the embodiment of the application, in the process of charging the wireless earphone, the charging box determines that the charging of the wireless earphone is completed when the remaining electric quantity of the battery of the wireless earphone is detected to be greater than or equal to the first electric quantity threshold value, so that after the charging box completes the charging of the wireless earphone, whether the wireless earphone leaves the box or not can be detected by using the box-in detection method of the wireless earphone shown in fig. 3, and whether the wireless earphone is put into the charging box or not can be detected again when the wireless earphone leaves the charging box, and the battery of the wireless earphone is not damaged.
Specifically, as shown in fig. 3, the detecting whether the wireless earphone has left the charging box and detecting whether the wireless earphone has been put into the charging box may include: steps 301 to 302 are described in detail as follows:
step 301, outputting a charging voltage for a third duration to charge and reset the wireless earphone put into the charging box.
Because the software program of the wireless earphone is more and more complex, in practical application, the wireless earphone is likely to be in a dead state before being put into the charging box, or is in a sleep state, a state with an excessively low electric quantity value and the like, and the situation that a message cannot be sent to the charging box is likely to happen, the software program of the charging box is relatively simple, the problem of dead halt basically does not occur, and longer endurance capability exists, so that the situation that the charging box is mistakenly considered to be not put into the charging box because the message cannot be sent to the charging box after the wireless earphone is put into the box is avoided.
It should be noted that the third duration may be a relatively short duration, and may be determined according to an actual test result. For example, the third duration is a period of milliseconds, such as 1ms to 1000ms. The charging voltage may be a high voltage of 4V-5V or more.
Step 302, detecting whether a data signal sent by the wireless earphone is received in a fourth duration; if the data signal sent by the wireless earphone is received in the fourth time period, confirming that the wireless earphone is put into the charging box; if the data signal sent by the wireless earphone is not received within the fourth duration, confirming that the wireless earphone leaves the charging box; wherein the fourth time period starts to count when the third time period ends.
In the embodiment of the application, when the electric quantity of the wireless earphone is greater than the first electric quantity threshold, the wireless earphone is stopped from being charged, and the first electric quantity threshold is smaller than the electric quantity when the wireless earphone is full, namely, the battery of the wireless earphone has an electric quantity storage space. Therefore, after the charging box completes the charging of the wireless earphone, the above-mentioned ways of step 301 to step 302 can still be used to detect whether the wireless earphone is put into the charging box or is separated from the charging box, and the battery of the wireless earphone is not oversaturated due to the charging of the wireless earphone for the third time period, which causes damage to the battery of the wireless earphone.
It should be noted that, the charging box can be provided with the contact and the data communication contact that are used for being connected with wireless earphone to, this contact and the data communication contact that charge can share, promptly, charge the contact and the data communication contact be same contact, realize charging and communication multiplexing, reduce the contact with wireless earphone, reduce wireless earphone's design degree of difficulty.
That is, in some embodiments of the present application, the outputting the charging voltage for the third duration and the receiving the data signal sent by the wireless earphone may be implemented by the same contact.
In the embodiment of the application, by detecting whether the data signal sent by the wireless earphone is received within the fourth time period and confirming that the wireless earphone is put into the charging box when the data signal sent by the wireless earphone is received, the wireless earphone and the charging box can carry out the box-in detection on the wireless earphone without configuring a sensor for detecting whether the wireless earphone is put into the box, and the design difficulty of the wireless earphone is reduced.
It should be noted that, in some embodiments of the present application, the charging box may detect whether a data signal sent by the wireless earphone is received first, and when the data signal sent by the wireless earphone is not received, charge and reset the wireless earphone placed in the charging box, then detect whether the data signal sent by the wireless earphone is received within a fourth time period, and confirm that the wireless earphone is placed in the charging box when the data signal sent by the wireless earphone is received; wherein the fourth time period starts to count when the third time period ends.
In some embodiments of the present application, if the charging box does not receive the data signal sent by the wireless headset within the fourth period of time, steps 301 to 302 are performed again. That is, the charging voltage of the third period is re-outputted, and whether the data signal transmitted by the wireless headset is received within the fourth period is re-detected, so that the in-box detection of the wireless headset is periodically repeatedly performed until it is confirmed that the wireless headset has been put into the charging box.
It should be noted that, because the charging port of the charging box is equivalent to being in a suspended state when the wireless earphone is not put into the charging box, the charging voltage of the third duration output by the charging box is not consumed, so the method for detecting the box entering of the wireless earphone not only can ensure that the wireless earphone and the charging box do not need to be provided with sensors for detecting whether the wireless earphone is put into the box, but also can realize the box entering detection of the wireless earphone without increasing the power consumption of the charging box, has higher cost performance, and can not increase the risk points existing in the charging box because the implementation mode is simpler, namely, the design of the charging box is ensured to be simplified as much as possible, the possibility of faults is reduced, and the charging box has higher service life.
It may be understood that, when it is detected that the charging box does not receive the data signal sent by the wireless headset within the fourth time period, the charging box may also re-output the charging voltage for the third time period after a preset time period, and re-detect whether the data signal sent by the wireless headset is received within the fourth time period.
In the embodiment of the application, the charging box can confirm that the wireless earphone is put into the charging box only when the charging box receives the data signal sent by the wireless earphone; however, because the battery capacity of the wireless headset is smaller, in order to save power consumption, the wireless headset may not actively output the data signal to the outside, and thus, in some embodiments of the present application, the step 302 of detecting whether the data signal sent by the wireless headset is received within the fourth period of time may further include: and in the fourth time period, the charging box outputs a third data signal to the wireless earphone, and then receives the second data signal output by the wireless earphone according to the third data signal, so as to confirm that the wireless earphone is put into the charging box.
The second data signal and the third data signal may include preset heartbeat signals.
Optionally, in some embodiments of the present application, in the step 102, the data communication with the wireless headset for the second duration is performed to update the data of the charging box, and the method may further include: outputting a fourth data signal carrying state information of the charging box to the wireless earphone, and receiving a fifth data signal carrying configuration information generated by the user terminal according to the state information and sent by the wireless earphone; and carrying out parameter configuration on the charging box according to the configuration information.
The state information of the charging box may include one or more of a remaining capacity of the charging box, a temperature of the charging box, a remaining charging time period of the charging box, and a charging speed of the charging box. The configuration information may include charging speed configuration information of the charging cartridge and charging duration configuration information of the charging cartridge.
Alternatively, the charging speed configuration information of the charging box may refer to the value of the first duration.
For example, when the temperature of the charging box is greater than or equal to the preset temperature value, the temperature of the charging box can be made to be smaller than the preset temperature value by reducing the first duration, so as to ensure the charging safety of the charging box.
Optionally, the charging duration configuration information of the charging box may refer to a total duration of the charging of the wireless earphone by the charging box.
For example, when the user needs to charge a plurality of pairs of wireless headphones and the electric quantity of the charging box is limited and cannot fully charge each pair of wireless headphones, in order to more reasonably distribute the electric quantity of the charging box, the charging time length of each charging of the charging box can be set, so that each pair of headphones can be ensured to obtain the electric quantity expected by the user.
For another example, the remaining charging time of the charging box is 40 minutes, and the user needs to charge the wireless earphone for 4 pairs, so that each pair of wireless earphone can obtain one fourth of the remaining electric quantity of the charging box by setting the charging time to be 10 minutes each time.
In the embodiment of the application, the charging box outputs the fourth data signal carrying the state information of the charging box to the wireless earphone in the process of charging the wireless earphone, the fourth data signal is sent to the user terminal which is in communication connection with the wireless earphone by the wireless earphone, and then the fifth data signal carrying the configuration information generated by the user terminal according to the state information and sent by the wireless earphone is received, so that the state of the charging box is monitored and set by a user, and the data updating of the charging box is realized.
In this embodiment, the charging box performs data communication with the wireless earphone through the process of charging the wireless earphone, so that the state of the charging box is favorably uploaded to the wireless earphone in real time, and the charging box is sent to the user terminal by the wireless earphone, so that the user can monitor and set the state of the charging box in real time, and the charging box is also favorably used for controlling the charging time length of the charging box.
A second embodiment of the present application provides a charging device for a wireless earphone, configured in a charging box, where the charging device 4 for a wireless earphone may include:
a detecting unit 401 for detecting whether the wireless earphone has been put into the charging box;
and the charging unit 402 is configured to, if the wireless headset is placed in the charging box, periodically output a charging voltage for a first duration to the wireless headset, so as to periodically perform charging for the first duration on the wireless headset, and perform data communication with the wireless headset for a second duration after the charging for the first duration is performed each time, until the charging for the wireless headset is completed, where the second duration starts to be counted when the first duration ends.
Optionally, in some embodiments of the present application, the charging unit 402 is further configured to:
receiving a first data signal output by the wireless earphone; the first data signal carries the information of the residual capacity of the wireless earphone battery;
and updating the first time length to be a first time length determined according to the residual capacity of the wireless earphone battery and/or the residual capacity of the charging box.
Optionally, in some embodiments of the present application, the charging unit 402 is further configured to:
Receiving a first data signal output by the wireless earphone; the first data signal carries the information of the residual capacity of the wireless earphone battery;
if the remaining capacity of the wireless earphone battery is larger than or equal to a first electric capacity threshold value, determining that the wireless earphone is charged, and controlling the charging box to update from a charging state to a sleep state; the first power threshold is less than the power of the wireless headset when full.
Optionally, in some embodiments of the present application, after the controlling the charging box to update from the charging state to the sleep state, the detecting unit 401 is further configured to:
detecting whether the wireless earphone leaves the charging box or not at preset time intervals;
if the wireless headset has left the charging box, re-detecting whether the wireless headset has been put into the charging box.
Optionally, in some embodiments of the present application, the charging unit 402 is further configured to output a charging voltage for a third duration to charge and reset the wireless earphone placed in the charging box when detecting whether the wireless earphone has left the charging box and detecting whether the wireless earphone has been placed in the charging box;
The detecting unit 401 is further configured to detect whether a second data signal sent by the wireless headset is received within a fourth duration; if a second data signal sent by the wireless earphone is received in a fourth time period, confirming that the wireless earphone is put into the charging box; if the second data signal sent by the wireless earphone is not received within the fourth duration, confirming that the wireless earphone has left the charging box; wherein the fourth time period starts to count at the end of the third time period.
Optionally, in some embodiments of the present application, the detecting unit 401 is further configured to output a third data signal to the wireless headset during the fourth period, and then receive a second data signal output by the wireless headset according to the third data signal.
Optionally, in some embodiments of the present application, the charging unit 402 is further configured to output a fourth data signal carrying state information of a charging box to the wireless headset, and receive a fifth data signal carrying configuration information generated by a user terminal according to the state information and sent by the wireless headset; carrying out parameter configuration on the charging box according to the configuration information; the configuration information comprises charging speed configuration information of the charging box and/or charging duration configuration information of the charging box.
In the embodiment of the application, whether the wireless earphone is put into the charging box is detected; when the wireless earphone is detected to be put into the charging box, periodically outputting a charging voltage with a first time length to the wireless earphone so as to periodically charge the wireless earphone with the first time length, and after the wireless earphone is charged with the first time length each time, carrying out data communication with the wireless earphone with a second time length so as to update the data of the charging box; the wireless earphone charging box has the advantages that the data communication with the wireless earphone is achieved in the process of charging the wireless earphone, the problem that the existing charging box cannot conduct data communication with the wireless earphone in the process of charging the wireless earphone is solved, and the data updating of the charging box is further achieved.
It should be noted that, for convenience and brevity of description, the specific operation process of the charging device 4 of the wireless headset described above may refer to the description of the charging method of the wireless headset in fig. 1 to 3, and will not be repeated here. In addition, the above embodiments may be combined with each other to obtain a plurality of different embodiments, which all fall within the scope of the present application.
A third embodiment of the present application provides a wireless headset that can be charged using the above-described charging method of the wireless headset and the charging device of the wireless headset. Specifically, as shown in fig. 5-1, a first structural schematic diagram of a wireless earphone according to an embodiment of the present application may include: a first charging port 10, a high-level trigger switch module 11, a charging switch module 12, a reset switch module 13 and a communication switch module 14, which are respectively connected with the first charging port 10, and a first control module 15 connected with the communication switch module.
In the embodiment of the present application, the first charging port 10 is configured to receive a charging voltage, and receive and transmit a data signal.
The data signal is a logic level signal of 1.8V-3.3V, and the charging voltage is a voltage signal of 4V-5V.
In the embodiment of the present application, as shown in fig. 5-1, a high-level trigger switch module 11 is connected to a first charging port 10, a charging switch module 12 and a reset switch module 13, and is used for controlling the charging switch module 12 and the reset switch module 13 to be in a conducting state to charge a battery of a wireless earphone and controlling a first control module 15 to be in a reset state when the first charging port 10 receives a charging voltage; when the first charging port 10 does not receive the charging voltage, the charging switch module 12 and the reset switch module 13 are controlled to be in an off state.
In a specific implementation, as shown in fig. 6, the high-level trigger switch module 11 may include: the voltage input terminal v_in, the first resistor R1, the second resistor R2, the third resistor R3, the first switching tube T1, the power supply access terminal VDD, the voltage output terminal v_out and the ground terminal GND.
The voltage input end V_in is connected with the first end of the first resistor R1, the second end of the first resistor R1, the first end of the second resistor R2 and the control end of the first switch tube T1 are commonly connected, the second end of the second resistor R2, the second end of the first switch tube T1 and the grounding end are commonly connected, the first end of the first switch tube T1, the first end of the third resistor R3 and the voltage output end V_out are commonly connected, and the second end of the third resistor R3 is connected with the power supply access end VDD. The power supply access terminal VDD is used for connecting with a battery of the wireless earphone.
In a specific implementation, the voltage input terminal v_in is connected to the first charging port, when the first charging port receives a charging voltage, the first switching tube T1 is turned on by adjusting the ratio of R1 to R2, and at this time, the voltage output terminal v_out outputs a logic low level to control the charging switch module and the reset switch module to be in a conductive state so as to charge the battery of the wireless earphone, and control the first control module to be in a reset state.
When the first charging port does not receive the charging voltage, for example, the first charging port receives the data signal, or is in a data transmission state, that is, when the wireless earphone transmits the data signal to the charging box through the first charging port, the first switch tube T1 cannot be turned on due to the logic high level of the data signal being 1.8V-3.3V, that is, the first switch tube T1 is in an off state, the voltage output terminal v_out outputs the logic high level, so that the charging switch module and the reset switch module are in an off state, and further, the first control module is not in a state of being continuously reset any more, and enters a normal working state.
Optionally, in an embodiment of the present application, as shown in fig. 5-1, the high level trigger switch module 11 may be further connected to the communication switch 14, and when the first charging port receives a charging voltage, the communication switch module 14 is controlled to be in a closed state, so as to protect a chip in the wireless earphone from being burned; when the first charging port does not receive the charging voltage, the communication switch module 14 is controlled to be in a conducting state, so that the wireless earphone and the charging box are in data communication.
Because the software program of the wireless earphone is more and more complex, in practical application, the wireless earphone is likely to be in a state of 'dead halt' and the like, which cannot normally work before being put into the charging box, so in the embodiment of the application, the charging switch module and the reset switch module need to be directly connected with the high-level trigger switch module and are directly controlled by the high-level trigger switch module, so that the forced reset of the wireless earphone is realized under the triggering of the high-level trigger switch module, and the forced reset cannot be indirectly controlled by the control module (the first control module) of the wireless earphone.
Since the wireless earphone can reenter the normal working state after being reset, the high-level trigger switch module can indirectly control the state of the communication switch module 14 through the first control module 15, and the communication switch module is controlled in a mode of not being directly connected with the communication switch module 14.
Specifically, as shown in fig. 5-2, the high-level trigger switch module 11 may be further configured to be connected to the first control module 15, and control, through the first control module 15, the communication switch module 14 to be in a closed state when the first charging port receives a charging voltage, and control, through the first control module 15, the communication switch module to be in an on state when the first charging port does not receive the charging voltage.
For example, when the first charging port receives the charging voltage, the first control module is in a reset state, and at this time, the communication switch module can be in a high-resistance state, that is, in a closed state, so as to protect a chip in the wireless earphone from being burnt; when the first charging port does not receive the charging voltage, the first control module can control the communication switch module to be in a conducting state according to a voltage signal output by the high-level trigger switch module, so that the wireless earphone can be converted into a communication mode, and data communication is normally carried out with the charging box.
In some embodiments of the present application, the first control module 15 is connected to the communication switch module 14, and is configured to receive the first data signal sent by the charging box when the charging switch module 12 and the reset switch module 13 are in an off state, and send the second data signal to the charging box, so that the wireless headset performs data communication with the charging box, and the charging box confirms that the wireless headset has been placed into the charging box when receiving the second data signal sent by the wireless headset.
That is, when the charging switch module 12 and the reset switch module 13 are in the off state, the first control module is not in a state of being reset continuously, but enters a normal working state, so that data communication can be performed with the charging box according to communication requirements, and the charging box can confirm that the wireless earphone is put into the charging box when receiving a data signal sent by the wireless earphone.
In the embodiment of the application, the wireless earphone is provided with the first charging port, and the first charging port is connected with the high-level trigger switch module, the charging switch module, the reset switch module and the communication switch module, so that the wireless earphone realizes the integration of a data communication contact and a charging contact into one contact, the contacts of the wireless earphone are reduced, and the wireless earphone is also provided with the first charging port, the charging switch module and the reset switch module which are connected with the high-level trigger switch module, so that when the first charging port receives a charging voltage, the high-level trigger switch module can control the charging switch module and the reset switch module to be in a conducting state so as to control the first control module to be in a reset state all the time and charge a battery of the wireless earphone; when the first charging port does not receive the charging voltage, (for example, when the first charging port receives the data signal or the wireless earphone sends the data signal to the charging box through the first charging port), the charging switch module and the reset switch module are controlled to be in an off state; the first control module is not in a state of being reset continuously, and enters a normal working state, namely, the wireless earphone enters a state of carrying out data communication with the charging box, and the charging box confirms that the wireless earphone is put into the charging box when receiving a data signal sent by the wireless earphone; the wireless earphone can be reset and charged without configuring a sensor for detecting whether the wireless earphone is put into the box or not and a plurality of contacts on the wireless earphone or the charging box, so that the wireless earphone and the charging box are in data communication, and the charging box can obtain the box-in detection result of the wireless earphone.
Alternatively, the communication switch module may include a first communication switch unit and a second communication switch unit. Based on the embodiment shown in fig. 5-2, the first control module is connected with the first communication switch unit and the second communication switch unit, and is used for controlling the first communication switch unit to be in an on state and controlling the second communication switch unit to be in an off state when receiving the data signal sent by the charging box; and when the data signal is sent to the charging box, controlling the first communication switch unit to be in an off state and controlling the second communication switch unit to be in an on state.
Specifically, the first communication switch unit and the second communication switch unit may include a switch tube. For example, as shown in fig. 7, the first and second communication switching units may include a seventh switching tube T7 and an eighth switching tube T8.
The first control module is connected with the seventh switching tube T7 and the eighth switching tube T8, and is used for controlling the seventh switching tube T7 to be in a conducting state and controlling the eighth switching tube T8 to be in an off state when receiving a data signal sent by the charging box; and when a data signal is sent to the charging box, controlling the seventh switching tube T7 to be in an off state and controlling the eighth switching tube T8 to be in an on state.
It should be noted that, in some embodiments of the present application, based on the embodiments shown in fig. 5-2, the first control module may be further connected to a first communication switch unit and a second communication switch unit, and when the first charging port receives a charging voltage, the first communication switch unit and the second communication switch unit are controlled to be in an off state, so as to protect a chip in the wireless earphone from being burned; when the first charging port does not receive the charging voltage, the first communication switch unit and the second communication switch unit are controlled to be in a conducting state, so that the wireless earphone can be converted into a communication mode, and data communication is normally carried out with the charging box.
In the embodiment of the application, the charging switch module and the reset switch module may also include a switch tube.
For example, as shown in fig. 7, the charge switch module may include a second switching tube T2; the reset switch module may include a third switching tube T3; the control end of the second switching tube T2, the control end of the third switching tube T3 and the voltage output end of the high-level trigger switch module are connected together; the first end of the second switching tube T2, the first end of the third switching tube T3 and the voltage input end of the high-level trigger switch module are connected together; the second end of the second switch tube T2 is connected with a battery of the wireless earphone; the second end of the third switching tube T3 is connected with the reset end of the first control module.
When the first charging port receives charging voltage, the second switching tube T2 and the third switching tube T3 are in a conducting state so as to charge a battery of the wireless earphone and control the first control module to be in a reset state; when the first charging port does not receive the charging voltage, the second switching tube T2 and the third switching tube T3 are in an off state.
Optionally, in some embodiments of the present application, the wireless headset may further include a wireless communication module, configured to establish a communication connection with the user terminal, and send status information sent by the charging box and received by the wireless headset to the user terminal, or receive configuration information of the charging box and sent by the user terminal, so that the wireless headset sends the configuration information of the charging box to the charging box, and the charging box completes configuration of the charging box according to the configuration information.
In the embodiment of the application, the state information sent by the charging box received by the wireless earphone may include one or more of the remaining capacity of the charging box, the temperature of the charging box, the remaining charging time of the charging box and the charging speed of the charging box.
In the embodiment of the application, the wireless earphone sends the received state information sent by the charging box to the user terminal, or sends the configuration information of the charging box to the charging box, so that the state of the charging box is monitored and set by a user, and the state update of the charging box is realized.
For example, the wireless headset controls the charging speed of the charging box by transmitting charging speed configuration information of the charging box to the charging box.
A fourth embodiment of the present application provides a charging cartridge. The charging box may be configured with the charging device of the wireless earphone of each of the above embodiments; alternatively, the charging box may be a charging box for implementing the charging method of each wireless earphone.
Specifically, as shown in fig. 8, a schematic structural diagram of a charging box according to an embodiment of the present application may include: the second charging port 40, the fourth switching tube T4, the fifth switching tube T5, the sixth switching tube T6, and the second control module 41.
The second charging port 40, the first end of the fourth switching tube T4, the first end of the fifth switching tube T5, and the first end of the sixth switching tube T6 are commonly connected. The second charging port 40 is for outputting a charging voltage, and transmitting and receiving a data signal.
The control end of the fourth switching tube T4, the control end of the fifth switching tube T5, and the control end of the sixth switching tube T6 are respectively connected to the second control module 41. The second terminal of the fourth switching tube T4 is connected to the charging current output terminal 42 of the charging box. The second end of the fifth switching tube T5 is connected to the data transmitting end 43 of the charging cartridge. The second end of the sixth switching tube T6 is connected to the data receiving end 44 of the charging cartridge.
The second control module 41 is configured to control the fourth switching tube T4 to be turned on and control the fifth switching tube T5 and the sixth switching tube T6 to be turned off when the charging box charges and resets the wireless headset. The second control module 41 is further configured to control the fifth switching tube T5 to be turned on and control the fourth switching tube T4 and the sixth switching tube T6 to be turned off when the charging box sends a data signal to the wireless earphone. The second control module 41 is further configured to control the sixth switching tube T6 to be turned on and control the fourth switching tube T4 and the fifth switching tube T5 to be turned off when the charging box receives the data signal sent by the wireless earphone, and to confirm that the wireless earphone is placed in the charging box when the data signal sent by the wireless earphone is received.
In the embodiment of the application, the first end of the fourth switching tube T4, the first end of the fifth switching tube T5 and the first end of the sixth switching tube T6 of the charging box are commonly connected with the second charging port 40, and the on and off of the fifth switching tube T5, the fourth switching tube T4 and the sixth switching tube T6 are controlled by the second control module 41, so that the charging box realizes the integration of a data communication contact and a charging contact into one contact (the second charging port 40), realizes the time-sharing multiplexing of the second charging port 40, and reduces the contacts of the charging box.
Optionally, in some embodiments of the present application, when the charging box charges the wireless earphone, the second control module 41 is further configured to: periodically controlling the fourth switching tube T4 to keep an on state in a first time period, and controlling the fifth switching tube T5 and the sixth switching tube T6 to keep an off state in the first time period; periodically charging the wireless earphone for a first duration; after the wireless earphone is charged for a first time, the fifth switching tube T5 and the sixth switching tube T6 are controlled to be alternately turned on in a second time, and the fourth switching tube T4 is controlled to be kept turned off in the second time; and enabling the charging box to conduct data communication with the wireless earphone for a second time period until the wireless earphone is charged.
Specifically, in some embodiments of the present application, the second control module 41 is further configured to control, when the fourth switching tube T4 is controlled to remain turned off for a second period of time, control the fifth switching tube T5 to be turned on and control the sixth switching tube T6 to be turned off, so as to send the state information of the charging box to the wireless headset, and send the state information to the user terminal that establishes a communication connection with the wireless headset through the wireless headset; or, the sixth switching tube T6 is controlled to be turned on, and the fifth switching tube T5 is controlled to be turned off, so as to receive the configuration information of the charging box sent by the wireless earphone, and the configuration of the charging box is completed according to the configuration information.
Correspondingly, the first charging port of the wireless earphone receives a charging voltage of a first duration, the high-level trigger switch module controls the charging switch module and the reset switch module to keep a conducting state of the first duration so as to charge the battery of the wireless earphone of the first duration, and the first control module is controlled to be in a reset state all the time in the first duration.
After the wireless earphone is charged for the first time, the first charging port of the wireless earphone receives the data signal sent by the charging box or receives the data signal sent by the wireless earphone to the charging box, and at the moment, the first control module is not in a reset state but in a normal working state, so that the first communication switch unit can be controlled to be in a conducting state and the second communication switch unit can be controlled to be in a cutting-off state according to the communication requirement when the data signal sent by the charging box is received; and when the data signal is sent to the charging box, controlling the first communication switch unit to be in an off state and controlling the second communication switch unit to be in an on state.
Optionally, the data signal may carry one or more status information of a remaining power of the charging box, a temperature of the charging box, a remaining charging time of the charging box, and a charging speed of the charging box, and the data signal may carry one or more information of remaining power information of the earphone battery and configuration information of the charging box.
In the embodiment of the application, the charging box sends the state information to the wireless earphone and sends the state information to the user terminal which establishes communication connection with the wireless earphone through the wireless earphone; or receiving the configuration information of the charging box sent by the wireless earphone, and completing the configuration of the charging box according to the configuration information, thereby being beneficial to the user to monitor and set the state of the charging box and realizing the state update of the charging box.
For example, the charging box sets the charging speed of the charging box by receiving the configuration information including the value of the first duration sent by the wireless earphone.
Optionally, before the charging box charges the wireless earphone, the second control unit of the charging box is further configured to detect whether the wireless earphone is placed in the charging box. The second control unit charges the wireless earphone after detecting that the wireless earphone is put into the charging box.
Specifically, the detecting whether the wireless earphone is put into the charging box may include: the fourth switching tube T4 is controlled to be kept in a conducting state in a third duration, and the fifth switching tube T5 and the sixth switching tube T6 are controlled to be kept in a switching-off state in a first duration, so that the wireless earphone put into the charging box is charged and reset; detecting whether a data signal sent by the wireless earphone is received within a fourth duration, and confirming that the wireless earphone is put into the charging box when the data signal sent by the wireless earphone is received; wherein the fourth time period starts to count when the third time period ends.
Because the software program of the wireless earphone is more and more complex, in practical application, the wireless earphone is likely to be in a dead state before being put into the charging box, and in a sleep state, or the situation that the electric quantity value is too low and the like can not send a message to the charging box exists, but the software program of the charging box is relatively simple, and the problem of dead state can not basically occur, so that in order to avoid the situation that the wireless earphone is mistakenly considered to be not put into the charging box because the wireless earphone can not send the message to the charging box after being put into the charging box, in the embodiment of the application, in the process of carrying out box-in detection on the wireless earphone, the charging box needs to output charging voltage with third duration first so as to charge and reset the wireless earphone put into the charging box, and the wireless earphone can normally carry out data communication with the charging box after being put into the charging box, so that the box-in detection precision of the wireless earphone is improved.
The third time period may be a relatively short time period, and may be determined according to an actual test result. For example, the third duration is a period of milliseconds, such as 1ms to 1000ms. The charging voltage may be a high voltage of 4V-5V or more.
In the embodiment of the application, by detecting whether the data signal sent by the wireless earphone is received within the fourth time period and confirming that the wireless earphone is put into the charging box when the data signal sent by the wireless earphone is received, the wireless earphone and the charging box can carry out the box-in detection on the wireless earphone without configuring a sensor for detecting whether the wireless earphone is put into the box, and the design difficulty of the wireless earphone is reduced.
In some embodiments of the present application, the charging box enters a sleep state after receiving a headset battery full-up prompt message sent by the wireless headset to the charging box.
Optionally, after the charging box enters the sleep state, whether the wireless earphone is put into the charging box or not can be detected again at preset time intervals; or detecting whether the wireless earphone leaves the charging box every preset time period, and detecting whether the wireless earphone is put into the charging box again after the wireless earphone leaves the charging box.
Wherein, whether above-mentioned detection wireless earphone has left the charging box includes: the fourth switching tube T4 is controlled to be kept in a conducting state in a third duration, and the fifth switching tube T5 and the sixth switching tube T6 are controlled to be kept in a switching-off state in a first duration, so that the wireless earphone put into the charging box is charged and reset; detecting whether a data signal sent by the wireless earphone is received within a fourth duration, and confirming that the wireless earphone is away from the charging box when the data signal sent by the wireless earphone is not received; wherein the fourth time period starts to count when the third time period ends.
In the embodiment of the application, the first end of the fourth switching tube T4, the first end of the fifth switching tube T5 and the first end of the sixth switching tube T6 of the charging box are commonly connected with the second charging port, and the on and off of the fifth switching tube T5, the fourth switching tube T4 and the sixth switching tube T6 are controlled by the second control module 41, so that the charging box realizes the integration of a data communication contact and a charging contact into one contact (the second charging port), the time-sharing multiplexing of the second charging port is realized, the contacts of the charging box are reduced, and the charging, resetting and the box entering detection of the wireless earphone can be realized; there is no need to provide a sensor on the charging cartridge for detecting whether the wireless headset is in the cartridge.
Optionally, the fifth embodiment of the present application further provides a charging box. The charging box may be configured with the charging device of the wireless earphone of each of the above embodiments; alternatively, the charging box may be a charging box for implementing the charging method of each wireless earphone.
Specifically, as shown in fig. 9, the charging box may further include: a processor 90, a memory 91 and a computer program 92 stored in the memory 91 and executable on the processor 90. The steps of the above-described embodiments of the method for charging a wireless headset, such as steps 101 through 102 shown in fig. 1, are implemented by the processor 90 when executing the computer program 92.
The processor 90 may be a central processing unit (Central Processing Unit, CPU), other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The general purpose processor may be a microprocessor, but in the alternative, it may be any conventional processor or the like.
The memory 91 may be an internal storage unit of the charging cartridge 9, for example, a hard disk or a memory. The memory 91 may also be an external storage device for the charging cartridge 9, such as a plug-in hard disk provided on the charging cartridge 9, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), or the like. Further, the memory 91 may also include both an internal storage unit and an external storage device of the charging cartridge 9. The memory 91 is used to store the above-described computer program and other programs and data required for the charging cartridge.
The computer program may be divided into one or more modules/units which are stored in the memory 91 and executed by the processor 90 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing a specific function describing the execution of the computer program in the above-described charging of the wireless headset. For example, the above-described computer program may be divided into: the detection unit and the charging unit have the following specific functions:
A detection unit for detecting whether the wireless earphone is put into the charging box;
and the charging unit is used for outputting charging voltage of a first time period to the wireless earphone periodically if the wireless earphone is put into the charging box, so as to charge the wireless earphone periodically for the first time period, and after the wireless earphone is charged for the first time period each time, carrying out data communication with the wireless earphone for a second time period until the wireless earphone is charged, wherein the second time period starts to be timed when the first time period is ended.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed charging cartridge and method may be implemented in other manners. For example, the charging cartridge embodiments described above are merely illustrative. For example, the division of a module or unit is merely a logical function division, and there may be another division manner when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, and the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the content of the computer readable medium can be appropriately increased or decreased according to the requirements of the jurisdiction's jurisdiction and the patent practice, for example, in some jurisdictions, the computer readable medium does not include electrical carrier signals and telecommunication signals according to the jurisdiction and the patent practice.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (9)

1. A charging method of a wireless headset, applied to a charging box, the charging method of the wireless headset comprising:
detecting whether the wireless earphone is put into the charging box;
if the wireless earphone is put into the charging box, periodically outputting a charging voltage with a first time length to the wireless earphone so as to periodically charge the wireless earphone with the first time length, and after each time of charging the wireless earphone with the first time length, performing data communication with the wireless earphone with a second time length so as to update the data of the charging box until the charging of the wireless earphone is completed, wherein the second time length starts to be counted when the first time length is ended;
The data communication with the wireless earphone for the second duration is performed to update the data of the charging box, including:
receiving a first data signal which is output by the wireless earphone and carries the residual capacity information of the wireless earphone battery and/or the temperature of the wireless earphone battery;
and updating the first time length to be a first time length determined according to the residual capacity of the wireless earphone battery and/or the residual capacity of the charging box and/or the temperature of the wireless earphone battery and/or the temperature of the charging box battery.
2. The method of charging a wireless headset of claim 1, wherein the communicating data with the wireless headset for a second duration of time to update the data for the charging cartridge comprises:
receiving a first data signal output by the wireless earphone; the first data signal carries the information of the residual capacity of the wireless earphone battery;
if the remaining capacity of the wireless earphone battery is larger than or equal to a first electric capacity threshold value, determining that the wireless earphone is charged, and controlling the charging box to update from a charging state to a sleep state; the first power threshold is less than the power of the wireless headset when full.
3. The method of charging a wireless headset of claim 2, comprising, after said controlling the charging cartridge to update from a charged state to a sleep state:
Detecting whether the wireless earphone leaves the charging box or not at preset time intervals;
if the wireless headset has left the charging box, re-detecting whether the wireless headset has been put into the charging box.
4. The method of charging a wireless headset of claim 3, wherein the detecting whether the wireless headset has left the charging cartridge and the detecting whether the wireless headset has been placed in the charging cartridge comprises:
outputting a charging voltage of a third duration to charge and reset the wireless earphone put into the charging box;
detecting whether a second data signal sent by the wireless earphone is received in a fourth duration;
if a second data signal sent by the wireless earphone is received in a fourth time period, confirming that the wireless earphone is put into the charging box; if the second data signal sent by the wireless earphone is not received within the fourth duration, confirming that the wireless earphone has left the charging box; wherein the fourth time period starts to count at the end of the third time period.
5. The method of charging a wireless headset of claim 4, wherein the detecting whether the second data signal sent by the wireless headset is received within a fourth time period comprises:
And outputting a third data signal to the wireless earphone in the fourth time period, and receiving the second data signal output by the wireless earphone according to the third data signal.
6. The method of charging a wireless headset of claim 1, wherein the communicating data with the wireless headset for a second duration of time to update the data for the charging cartridge comprises:
outputting a fourth data signal carrying state information of a charging box to the wireless earphone, and receiving a fifth data signal carrying configuration information generated by a user terminal according to the state information and sent by the wireless earphone;
carrying out parameter configuration on the charging box according to the configuration information; the configuration information comprises charging speed configuration information of the charging box and/or charging duration configuration information of the charging box.
7. The utility model provides a wireless earphone's charging device which characterized in that, wireless earphone's charging device disposes in the box that charges, wireless earphone's charging device includes:
a detection unit for detecting whether the wireless earphone is put into the charging box;
the charging unit is used for outputting charging voltage of a first time period to the wireless earphone periodically if the wireless earphone is put into the charging box, so as to charge the wireless earphone periodically for the first time period, and after the wireless earphone is charged for the first time period each time, carrying out data communication with the wireless earphone for a second time period so as to update the data of the charging box until the wireless earphone is charged, wherein the second time period starts to be counted when the first time period is ended;
The data communication with the wireless earphone for the second duration is performed to update the data of the charging box, including:
receiving a first data signal which is output by the wireless earphone and carries the residual capacity information of the wireless earphone battery and/or the temperature of the wireless earphone battery;
and updating the first time length to be a first time length determined according to the residual capacity of the wireless earphone battery and/or the residual capacity of the charging box and/or the temperature of the wireless earphone battery and/or the temperature of the charging box battery.
8. A charging cartridge comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1-6.
CN202110176476.0A 2021-02-09 2021-02-09 Charging method and device of wireless earphone, charging box and readable storage medium Active CN112865249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110176476.0A CN112865249B (en) 2021-02-09 2021-02-09 Charging method and device of wireless earphone, charging box and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110176476.0A CN112865249B (en) 2021-02-09 2021-02-09 Charging method and device of wireless earphone, charging box and readable storage medium

Publications (2)

Publication Number Publication Date
CN112865249A CN112865249A (en) 2021-05-28
CN112865249B true CN112865249B (en) 2023-10-20

Family

ID=75989451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110176476.0A Active CN112865249B (en) 2021-02-09 2021-02-09 Charging method and device of wireless earphone, charging box and readable storage medium

Country Status (1)

Country Link
CN (1) CN112865249B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023160664A1 (en) * 2022-02-25 2023-08-31 深圳市韶音科技有限公司 Earphone assembly
CN114336899B (en) * 2022-03-08 2022-07-22 深圳市思远半导体有限公司 Earphone recognition and charging circuit and method for charging bin

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104135A (en) * 2014-07-07 2014-10-15 程宇航 Charging apparatus, charging method and device
CN104641245A (en) * 2014-05-30 2015-05-20 华为技术有限公司 Method for detecting electric quantity of equipment, equipment, and system
CN107994656A (en) * 2017-12-29 2018-05-04 国网山东省电力公司滨州供电公司 A kind of intelligent charging system and terminal for improving battery
WO2018129972A1 (en) * 2017-01-13 2018-07-19 广东欧珀移动通信有限公司 Charging processing method and apparatus, storage medium, and electronic device
CN108599304A (en) * 2018-05-03 2018-09-28 Oppo广东移动通信有限公司 Charging box, charge control method and Related product
CN110430504A (en) * 2019-08-07 2019-11-08 湖南国声声学科技股份有限公司深圳分公司 Charge control method, device, charging box and computer readable storage medium
CN111030231A (en) * 2019-12-20 2020-04-17 歌尔股份有限公司 Reverse charging method, device, equipment and computer storage medium
CN111193978A (en) * 2019-12-31 2020-05-22 歌尔科技有限公司 Charging box control method, earphone charging box and computer readable storage medium
KR102121185B1 (en) * 2019-06-12 2020-06-12 크레신 주식회사 Wireless earphone and charging case set

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104641245A (en) * 2014-05-30 2015-05-20 华为技术有限公司 Method for detecting electric quantity of equipment, equipment, and system
CN104104135A (en) * 2014-07-07 2014-10-15 程宇航 Charging apparatus, charging method and device
WO2018129972A1 (en) * 2017-01-13 2018-07-19 广东欧珀移动通信有限公司 Charging processing method and apparatus, storage medium, and electronic device
CN107994656A (en) * 2017-12-29 2018-05-04 国网山东省电力公司滨州供电公司 A kind of intelligent charging system and terminal for improving battery
CN108599304A (en) * 2018-05-03 2018-09-28 Oppo广东移动通信有限公司 Charging box, charge control method and Related product
KR102121185B1 (en) * 2019-06-12 2020-06-12 크레신 주식회사 Wireless earphone and charging case set
CN110430504A (en) * 2019-08-07 2019-11-08 湖南国声声学科技股份有限公司深圳分公司 Charge control method, device, charging box and computer readable storage medium
CN111030231A (en) * 2019-12-20 2020-04-17 歌尔股份有限公司 Reverse charging method, device, equipment and computer storage medium
CN111193978A (en) * 2019-12-31 2020-05-22 歌尔科技有限公司 Charging box control method, earphone charging box and computer readable storage medium

Also Published As

Publication number Publication date
CN112865249A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
CN112865249B (en) Charging method and device of wireless earphone, charging box and readable storage medium
CN112838645B (en) Charging control method and device for charging box, charging box and readable storage medium
KR102194751B1 (en) Audio class-compliant charging accessories for wireless headphones and headsets
CN110166871B (en) Earphone charging box, TWS earphone, working state switching method and storage medium
EP3131172A1 (en) Fast charging method, power source adapter and mobile terminal
EP4068465A1 (en) Charging method and apparatus, device and storage medium
KR102135606B1 (en) Fast charging method, power source adapter and mobile terminal
JP2008539690A (en) Method and apparatus for charging a power supply
CN210536885U (en) Earphone charging box circuit, earphone charging box, earphone and communication system
CN113141568B (en) State detection method, earphone charging box and storage medium
WO2018072443A1 (en) Charging method, apparatus, and data storage medium
CN105334420B (en) Information processing method and electronic equipment
EP2520002A2 (en) Active communications bus power harvester for differential signal communication system
CN105576723A (en) Intelligent terminal battery charging management apparatus and method
CN109950433B (en) Communication method suitable for battery pack and battery pack
CN112865248B (en) Method and device for detecting box entering of wireless earphone, charging box and readable storage medium
CN111263341B (en) Automatic pairing method for Bluetooth circuit breaker and electric energy meter
CN112866861A (en) Wireless earphone, charging box and charging system
CN105098925A (en) Method, system and mobile phone charger for dynamic adjustment of charging current
CN111130154A (en) Terminal charging and discharging control method and device, storage medium and electronic device
CN210042140U (en) Wireless earphone, wireless earphone charging box and wireless earphone charging system
CN110401244B (en) Charging control method of mobile power supply charging terminal
CN104795847A (en) Power supply method, power supply device and terminal device
CN114422919A (en) Master-slave switching method and device, TWS (two way communication system) headset and storage medium
CN111049219B (en) Charging method and charging 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
GR01 Patent grant
GR01 Patent grant