[go: up one dir, main page]

CN112838645A - Charging control method, device, charging box and readable storage medium of charging box - Google Patents

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

Info

Publication number
CN112838645A
CN112838645A CN202110179183.8A CN202110179183A CN112838645A CN 112838645 A CN112838645 A CN 112838645A CN 202110179183 A CN202110179183 A CN 202110179183A CN 112838645 A CN112838645 A CN 112838645A
Authority
CN
China
Prior art keywords
charging
wireless earphone
charging box
wireless
data signal
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.)
Granted
Application number
CN202110179183.8A
Other languages
Chinese (zh)
Other versions
CN112838645B (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 CN202110179183.8A priority Critical patent/CN112838645B/en
Publication of CN112838645A publication Critical patent/CN112838645A/en
Application granted granted Critical
Publication of CN112838645B publication Critical patent/CN112838645B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • 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
    • 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)
  • 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 control method and device for a charging box, the charging box and a readable storage medium, wherein the charging control method for the charging box comprises the following steps: detecting whether a data signal sent by the wireless earphone is received; when a data signal sent by the wireless earphone is received, the wireless earphone is charged, and in the process of charging the wireless earphone, data communication is carried out with the wireless earphone so as to update data of the charging box; this application need not to dispose the sensor that is used for detecting the earphone and goes into the box on charging the box, just can realize the income box of charging the box and detect to, can also carry out data communication with wireless earphone at the in-process that charges to wireless earphone, and carry out data update to charging the box.

Description

Charging control method and device for charging box, charging box and readable storage medium
Technical Field
The application belongs to the technical field of charging, and particularly relates to a charging control method and device for a charging box, the charging box and a readable storage medium.
Background
Currently, wireless headsets are generally required to be provided with corresponding charging boxes so as to charge and store the wireless headsets.
However, when the charging box charges the wireless headset, the wireless headset is generally charged after the wireless headset is placed in the charging box and detected by the sensor; in addition, in the process of charging the wireless earphone, the wireless earphone is only charged, and the problem of single charging function exists.
Disclosure of Invention
The application aims to provide a charging control method and device of a charging box, the charging box and a readable storage medium, the box entering detection of the charging box can be realized without configuring a sensor for detecting whether an earphone enters the box on the charging box, and in addition, the data communication with a wireless earphone and the data updating of the charging box can be realized in the process of charging the wireless earphone.
A first aspect of an embodiment of the present application provides a charging control method for a charging box, where the charging control method for the charging box includes:
detecting whether a data signal sent by the wireless earphone is received;
when receiving the data signal sent by the wireless earphone, the wireless earphone is charged, and in the process of charging the wireless earphone, the wireless earphone is in data communication with the wireless earphone, so that the charging box is subjected to data updating.
Based on the charging control method of the charging box of the first aspect, optionally, in a first possible implementation manner of the application, before the detecting whether the data signal sent by the wireless headset is received, the method includes: and charging and resetting the wireless earphone placed in the charging box.
Based on the charging control method of the charging box of the first aspect and the first possible implementation manner, optionally, in a second possible implementation manner of the present application, after the wireless headset placed in the charging box is charged and reset, the detecting whether the data signal sent by the wireless headset is received includes: outputting a first data signal to the wireless earphone, and receiving a second data signal output by the wireless earphone according to the first data signal; the first data signal and the second data signal are preset heartbeat signals.
Based on the charging control method of the charging box of the first aspect and the second possible implementation manner, optionally, in a third possible implementation manner of the present application, when receiving a data signal sent by the wireless headset, the charging control method of the charging box and the second possible implementation manner charge the wireless headset, and during the charging process of the wireless headset, perform data communication with the wireless headset to update data of the charging box includes:
when receiving a second data signal output by the wireless earphone according to the first data signal, periodically outputting a charging voltage with a first duration to the wireless earphone so as to periodically charge the wireless earphone for a second duration, and after the wireless earphone is charged for the first duration every time, performing data communication with the wireless earphone for the second duration so as to update data of the charging box until the charging of the wireless earphone is completed, wherein the second duration starts to be timed when the first duration is finished.
Based on the charging control method of the charging box in the first aspect and the second possible implementation manner, optionally, in a fourth possible implementation manner of the present application, the performing data communication with the wireless headset for a second duration to update data of the charging box includes:
receiving a third data signal output by the wireless headset; the third data signal carries the remaining power information of the wireless earphone battery;
and updating the first time length into 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 charging control method of the charging box in the first aspect and the second possible implementation manner, optionally, in a fifth possible implementation manner of the present application, the performing data communication with the wireless headset for a second duration to update data of the charging box includes:
receiving a third data signal output by the wireless headset; the third data signal carries the remaining power information of the wireless earphone battery;
if the residual electric quantity of the wireless earphone battery is larger than or equal to a first electric quantity threshold value, determining that the charging of the wireless earphone is finished, and controlling the charging box to update from a charging state to a sleeping state; the first power threshold is less than the power when the wireless headset is fully charged.
Based on the charging control method of the charging box in the first aspect and the second possible implementation manner, optionally, in a sixth possible implementation manner of the present application, the performing data communication with the wireless headset for a second duration to update data of 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 which is sent by the wireless earphone and carries configuration information generated by a user terminal according to the state information;
performing 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 embodiments of the present application provides a charging control device for a charging box, including:
the detection unit is used for detecting whether a data signal sent by the wireless earphone is received or not;
the charging unit is used for charging the wireless earphone when receiving the data signal sent by the wireless earphone, and carrying out data communication with the wireless earphone in the process of charging the wireless earphone so as to update the data of the charging box.
A third aspect of the embodiments of the present application provides a charging box, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the charging control method of the charging box according to the first aspect when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, where a computer program is stored, and the computer program, when executed by a processor, implements the steps of the charging control method for a charging box according to the first aspect.
In the embodiment of the application, the charging box detects whether the data signal sent by the wireless earphone is received or not, and when receiving the data signal sent by the wireless earphone, the wireless earphone is determined to be placed in the charging box, the box-in detection of the charging box can be realized without arranging a sensor for detecting whether the earphone is placed in the box on the charging box, in addition, in the embodiment of the application, the charging box can automatically charge the wireless earphone when receiving the data signal sent by the wireless earphone, charging the wireless headset and performing data communication with the wireless headset during the charging of the wireless headset, the data updating is carried out on the charging box, so that the problem that the wireless earphone is only charged when the wireless earphone is charged by the current charging box is solved, and the data communication with the wireless earphone can not be realized, and the charging box is updated with data.
Drawings
Fig. 1 is a schematic implementation flow diagram of a charging control method of a charging box provided in an embodiment of the present application.
Fig. 2 is a schematic diagram of a charging sequence of a wireless headset according to an embodiment of the present disclosure.
Fig. 3 is a schematic diagram of a cassette insertion detection timing sequence of a wireless headset according to an embodiment of the present application.
Fig. 4 is a schematic diagram of a charging control device of a charging box according to an embodiment of the present 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 headset according to an embodiment of the present application.
Fig. 6 is a schematic circuit structure diagram of a high-level trigger switch module according to an embodiment of the present application.
Fig. 7 is a schematic diagram of a third structure of a wireless headset according to an embodiment of the present application.
Fig. 8 is a first structural schematic diagram of a charging box provided in an embodiment of the present application.
Fig. 9 is a second structural schematic diagram of a charging box provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Currently, wireless headsets are generally required to be provided with corresponding charging boxes so as to charge and store the wireless headsets.
However, when the charging box charges the wireless headset, the wireless headset is generally charged after the wireless headset is placed in the charging box and detected by the sensor; in addition, in the process of charging the wireless earphone, the wireless earphone is only charged, and the problem of single charging function exists.
Based on this, embodiments of the present application provide a charging control method and apparatus for a charging box, the charging box, and a readable storage medium, which can implement the in-box detection of the charging box without configuring a sensor for detecting whether an earphone is in the box on the charging box, and can implement data communication with a wireless earphone and perform data update on the charging box in the process of charging the wireless earphone.
Fig. 1 is a schematic flow chart illustrating an implementation process of a charging control method of a charging box according to an embodiment of the present application, where the charging control method may be executed by a charging control device of the charging box. Specifically, the charging control method of the charging box may include: step 101 to step 102.
Step 101, detecting whether a data signal sent by a wireless earphone is received.
In the embodiment of the application, the charging box determines whether the wireless headset is placed in the charging box by detecting whether the data signal sent by the wireless headset is received, and confirms that the wireless headset is placed in the charging box when the data signal sent by the wireless headset is received, and then step 102 is executed to charge the wireless headset.
And 102, charging the wireless earphone when receiving the data signal sent by the wireless earphone, and performing data communication with the wireless earphone in the process of charging the wireless earphone so as to update data of the charging box.
In the embodiment of the application, the box that charges is through receiving during the data signal that wireless earphone sent, right wireless earphone charges, and it is right wireless earphone carries out the in-process that charges, with wireless earphone carries out data communication, and is right the box that charges carries out data update, has solved present box that charges and is carrying out the in-process that charges to wireless earphone, only can charge to wireless earphone, and can't realize carrying out data communication with wireless earphone to the problem that the box that charges carries out data update.
Optionally, in some embodiments of the present application, in order to improve the accuracy of detecting whether the wireless headset is placed in the charging box, before step 101, the method may include: and charging and resetting the wireless earphone placed in the charging box.
Currently, a sensor is usually disposed on the wireless headset or the charging box to detect whether the wireless headset is placed in the charging box. However, the wireless headset is small in size, and if the position of the sensor needs to be reserved in a small space of the wireless headset, the design difficulty of the wireless headset is undoubtedly increased. In addition, for some box-entering detection methods for determining whether the wireless earphone is placed in the charging box or not through a data communication mode between the wireless earphone and the charging box, when the wireless earphone is in a "dead halt" state and enters a sleep state, or when the wireless earphone cannot send messages to the charging box due to too low electric quantity value and the like, the situation that the charging box mistakenly considers that the wireless earphone is not placed in the charging box due to the fact that the messages cannot be sent to the charging box after the wireless earphone is placed in the box may occur, and then the problem that whether the wireless earphone is placed in the charging box or not cannot be accurately detected occurs.
Therefore, in some embodiments of the present application, in order to avoid a situation that the wireless headset is mistakenly considered not to be placed in the charging box by the charging box due to the fact that the wireless headset cannot be sent a message to the charging box after the wireless headset is placed in the charging box, before the step 101, the charging box may first charge and reset the wireless headset placed in the charging box, so that data communication can be normally performed between the wireless headset and the charging box after the wireless headset is placed in the charging box, so as to improve the accuracy of detecting the wireless headset entering the charging box.
Specifically, the charging and resetting of the wireless headset placed in the charging box may include: and outputting the charging voltage for a third time period to charge and reset the wireless earphone placed in the charging box. Accordingly, the detecting whether the data signal transmitted by the wireless headset is received may include: detecting whether a data signal sent by the wireless earphone is received within a fourth time period, and confirming that the wireless earphone is placed in the charging box when the data signal sent by the wireless earphone is received; wherein the fourth duration begins timing when the third duration ends.
It should be noted that 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 time period is a time period of millisecond order, such as 1ms to 1000 ms. The charging voltage may be a high voltage greater than or equal to 4V to 5V.
As shown in fig. 2, in the embodiment of the present application, the third time period is a time period T3, and the fourth time period is a time period T4 that starts to be counted at the end of the time period T3. The specific value of the fourth duration can be set according to practical experience, and only the data signal normally sent by the wireless earphone needs to be received.
It should be noted that the charging box is provided with a charging contact and a data communication contact for connecting with the wireless headset, and the charging contact and the data communication contact can be shared, that is, the charging contact and the data communication contact are the same contact, so that charging and communication multiplexing is realized, the number of contacts with the wireless headset is reduced, and the design difficulty of the wireless headset is reduced.
That is, in some embodiments of the present application, the outputting of the charging voltage for the third duration and the receiving of the data signal transmitted by the wireless headset may be implemented by the same contact.
In the embodiment of the application, whether the data signal sent by the wireless earphone is received in the fourth time period through detection, and when the data signal sent by the wireless earphone is received, the charging box is confirmed to be placed in the wireless earphone, so that the wireless earphone and the charging box can be detected whether the wireless earphone is placed in the charging box without configuring a sensor for detecting whether the wireless earphone is placed in the charging box, the wireless earphone can be placed in the charging 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 first detect whether a data signal sent by the wireless headset is received, and when the data signal sent by the wireless headset is not received, charge and reset the wireless headset placed in the charging box, and then detect whether the data signal sent by the wireless headset is received in the fourth time period, and when the data signal sent by the wireless headset is received, confirm that the wireless headset is placed in the charging box.
It should be noted that, when the wireless earphone is not placed in the charging box, the charging port of the charging box is equivalently in a suspended state, and therefore, the charging voltage output by the charging box for the third time is not consumed, and therefore, the wireless earphone box entering detection method of the application can not only enable the wireless earphone and the charging box to be not required to be configured with a sensor for detecting whether the wireless earphone enters the box, but also can realize the wireless earphone box entering detection without increasing the power consumption of the charging box, and has a higher cost performance.
It is understood that, when it is detected that the charging box does not receive the data signal transmitted by the wireless headset within the fourth time period, the charging box may output the charging voltage again for the third time period after a preset time period, and re-detect whether the data signal transmitted 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 placed in the charging box only when receiving the data signal sent by the wireless earphone; however, since the battery capacity of the wireless headset is small, in order to save power consumption, the wireless headset may not actively output a data signal to the outside, and therefore, in some embodiments of the present application, after the charging and resetting of the wireless headset placed in the charging box, detecting whether the data signal transmitted by the wireless headset is received may include: and in the fourth time period, the charging box outputs the first data signal to the wireless earphone firstly, and then receives the second data signal output by the wireless earphone according to the first data signal so as to confirm that the wireless earphone is placed in the charging box.
The first data signal and the second data signal may include a preset heartbeat signal.
Optionally, in some embodiments of the present application, the step 102 may be implemented by: when receiving a second data signal output by the wireless earphone according to the first data signal, periodically outputting a charging voltage with a first duration to the wireless earphone so as to periodically charge the wireless earphone for a second duration, and after the wireless earphone is charged for the first duration every time, performing data communication with the wireless earphone for the second duration so as to update data of the charging box until the charging of the wireless earphone is completed, wherein the second duration starts to be timed when the first duration is finished.
As shown in fig. 3, in the embodiment of the present application, the first time period is a time period T1, and the second time period is a time period T2 that starts to be counted at the end of the time period T1. The specific value of the second duration can be set according to practical experience, data communication can be normally completed only by the wireless earphone and the charging box, and the first duration is longer than or equal to the third duration.
Therefore, in the embodiment of the application, the charging box performs data communication for a second time with the wireless earphone every first time in the process of charging the wireless earphone, and performs data updating on the charging box, so that the problems that the data communication with the wireless earphone and the data updating on the charging box cannot be realized in the process of charging the wireless earphone by the conventional charging box are solved.
Optionally, in some embodiments of the application, the performing data communication with the wireless headset for the second duration to update data of the charging box may include receiving a third data signal, which is output by the wireless headset and carries information of remaining power of a battery of the wireless headset and/or a temperature of the battery of the wireless headset; and updating the first time length to 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, and/or updating the charging mode of the charging box.
Namely, the charging box can timely acquire the remaining capacity information of the wireless headset and/or the temperature of the wireless headset battery in the process of data communication with the wireless headset, and dynamically adjust the first time length according to the remaining capacity of the wireless headset battery and/or the remaining capacity of the charging box and/or the temperature of the wireless headset battery and/or the temperature of the charging box battery, so as to adjust the charging speed of the charging box.
For example, the 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 value, the first time length is larger than a first preset time length threshold value, 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 larger than or equal to the third electric quantity threshold value, the first time length is smaller than the second preset time length threshold value, so that the electric quantity of the wireless earphone is prevented from being supersaturated, and the battery of the wireless earphone is prevented from being damaged. The third electric quantity threshold value may be greater than or equal to the second electric quantity threshold value.
For another example, when the charging box charges the wireless earphone, if the electric quantity of the charging box is smaller than the fourth electric quantity threshold, the first time length is set to zero, and a prompt message that the electric quantity of the charging box is too low is output to the wireless earphone, so that when the wireless earphone leaves the charging box and is in a wearing state, the wireless earphone plays the prompt message that the electric quantity of the charging box is too low like a user, and the user is reminded to charge the charging box in time.
For another example, when the electric quantity of the wireless headset is smaller than the second electric quantity threshold and/or the electric quantity of the charging box is larger than the fifth electric quantity threshold and/or the temperature of the battery of the wireless headset is smaller than the first temperature threshold and/or the temperature of the battery of the charging box is smaller than the first temperature threshold, the charging box is controlled to charge the wireless headset in a constant current mode, so that the charging speed of the wireless headset is increased; 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 to say, under any one or more of the conditions that the electric quantity of the wireless earphone is small, the electric quantity of the charging box is sufficient, the temperature of the charging box is low, and the temperature of the wireless earphone is low, the charging box can be controlled to charge the wireless earphone in a constant current mode, so that the charging speed of the wireless earphone is accelerated; the electric quantity at wireless earphone is higher, and the electric quantity of the box that charges is lower, and the temperature of the box that charges is higher, and under the also higher arbitrary one or more circumstances of temperature of wireless earphone, can control the box that charges with the constant voltage mode to wireless earphone charges to avoid damaging the electronic components of box and wireless earphone that charges, prolong the life of the box that charges and wireless earphone.
And, the in-process that the box that charges to wireless earphone with the constant current mode of control, the electric current size of the box output that charges can reduce step by step to slow down the temperature rise speed of the box that charges and wireless earphone, and make the temperature of the box that charges and wireless earphone not too high, damage the electronic components of the box that charges and wireless earphone, prolong the life of the box that charges and wireless earphone.
For example, the time period for charging the wireless headset by the charging box 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, each of the electric quantity thresholds and each of the temperature thresholds may be set according to an actual application scenario or a test result, which is not limited in this application.
Optionally, in some embodiments of the application, the performing data communication with the wireless headset for the second duration to update data of the charging box may further include receiving a third data signal carrying remaining power information of a battery of the wireless headset and output by the wireless headset; if the residual electric quantity of the wireless earphone battery is larger than or equal to a first electric quantity threshold value, determining that the charging of the wireless earphone is finished, and controlling the charging box to update from a charging state to a sleeping state; wherein the first power threshold is less than the power when the wireless headset is fully charged.
Specifically, the charging box may include, after entering the sleep state: detecting whether the wireless earphone leaves the charging box or not every preset time length; if the wireless earphone leaves the charging box, whether the wireless earphone is placed in the charging box is detected again.
In the embodiment of the application, the charging box determines that the charging of the wireless headset is completed when detecting that the remaining capacity of the battery of the wireless headset is greater than or equal to the first capacity threshold value in the charging process of the wireless headset, so that after the charging box completes the charging of the wireless headset, whether the wireless headset leaves the charging box can be detected by using the mode of outputting the charging voltage for the third time, and when the wireless headset leaves the charging box, whether the wireless headset is placed into the charging box is detected again, and the situation that the battery capacity of the wireless headset is supersaturated and the battery of the wireless headset is damaged due to the fact that the charging of the wireless headset is performed for the third time can be avoided.
Optionally, in some embodiments of the application, the performing data communication with the wireless headset for a second duration to update data of the charging box 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 which is sent by the wireless earphone and carries configuration information generated by the user terminal according to the state information; 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 of the charging box, and a charging speed of the charging box. The configuration information may include charging speed configuration information of the charging box, and charging duration configuration information of the charging box.
Optionally, the charging speed configuration information of the charging box may refer to a 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 smaller than the preset temperature value by reducing the first time length, 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 box charging the wireless headset at this time.
For example, a user needs to charge a plurality of pairs of wireless earphones, the electric quantity of the charging box is limited, and when each pair of wireless earphones cannot be fully charged, in order to more reasonably distribute the electric quantity of the charging box, the charging time of each charging of the charging box can be set, and the electric quantity expected by the user can be guaranteed for each pair of earphones.
For another example, if the remaining charging time of the charging box is 40 minutes, and the user needs to charge 4 pairs of wireless earphones, the charging time of each pair of wireless earphones can be set to 10 minutes, so that each pair of wireless earphones can obtain one fourth of the remaining charge of the charging box.
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 charging process of the wireless earphone, the fourth data signal is sent to the user terminal establishing communication connection with the wireless earphone by the wireless earphone, and 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 carries out data communication with wireless earphone through the in-process of charging wireless earphone, is favorable to uploading the state of the box that charges to wireless earphone in real time to send for user terminal by wireless earphone, so that the user carries out real time monitoring and setting to the state of the box that charges, and, also be favorable to the box that charges self to carry out the control of length of time that charges.
A second embodiment of the present application provides a charging control device for a charging box, configured to be connected to the charging box, wherein the charging control device 4 includes:
a detecting unit 401, configured to detect whether a data signal sent by the wireless headset is received;
a charging unit 402, configured to charge the wireless headset when receiving a data signal sent by the wireless headset, and perform data communication with the wireless headset during charging of the wireless headset, so as to update data of the charging box.
Optionally, in some embodiments of the present application, the detecting unit 401 is further configured to: and charging and resetting the wireless earphone placed in the charging box before detecting whether the data signal sent by the wireless earphone is received.
Optionally, in some embodiments of the present application, after the charging and resetting of the wireless headset placed in the charging box, the detecting unit 401 is further configured to: outputting a first data signal to the wireless earphone, and receiving a second data signal output by the wireless earphone according to the first data signal; the first data signal and the second data signal are preset heartbeat signals.
Optionally, in some embodiments of the present application, the charging unit 402 is further configured to: when receiving a second data signal output by the wireless earphone according to the first data signal, periodically outputting a charging voltage with a first duration to the wireless earphone so as to periodically charge the wireless earphone for a second duration, and after the wireless earphone is charged for the first duration every time, performing data communication with the wireless earphone for the second duration so as to update data of the charging box until the charging of the wireless earphone is completed, wherein the second duration starts to be timed when the first duration is finished.
Optionally, in some embodiments of the present application, the charging unit 402 is further configured to: receiving a third data signal output by the wireless headset; the third data signal carries the remaining power information of the wireless earphone battery; and updating the first time length into 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 third data signal output by the wireless headset; the third data signal carries the remaining power information of the wireless earphone battery; if the residual electric quantity of the wireless earphone battery is larger than or equal to a first electric quantity threshold value, determining that the charging of the wireless earphone is finished, and controlling the charging box to update from a charging state to a sleeping state; the first power threshold is less than the power when the wireless headset is fully charged.
Optionally, in some embodiments of the present application, the charging unit 402 is further configured to: outputting a fourth data signal carrying state information of a charging box to the wireless earphone, and receiving a fifth data signal which is sent by the wireless earphone and carries configuration information generated by a user terminal according to the state information; performing 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, the charging box detects whether the data signal sent by the wireless earphone is received or not, and when receiving the data signal sent by the wireless earphone, the wireless earphone is determined to be placed in the charging box, the box-in detection of the charging box can be realized without arranging a sensor for detecting whether the earphone is placed in the box on the charging box, in addition, in the embodiment of the application, the charging box can automatically charge the wireless earphone when receiving the data signal sent by the wireless earphone, charging the wireless headset and performing data communication with the wireless headset during the charging of the wireless headset, the data updating is carried out on the charging box, so that the problem that the wireless earphone is only charged when the wireless earphone is charged by the current charging box is solved, and the data communication with the wireless earphone can not be realized, and the charging box is updated with data.
It should be noted that, for convenience and brevity of description, the specific working process of the charging control apparatus 4 of the charging box described above may refer to the description of the charging control method of the charging box in fig. 1 to 3, and is not described again here. Furthermore, it should be noted that the above embodiments may be combined with each other to obtain a plurality of different embodiments, and all of the embodiments belong to the scope of the present application.
A third embodiment of the present application provides a wireless headset that can be charged using the charging control method of the charging box and the charging control device of the charging box described above. Specifically, as shown in fig. 5-1, a first structural diagram of a wireless headset according to an embodiment of the present application is provided, where the wireless headset may include: the charging system comprises 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, the high-level trigger switch module 11 is connected to the first charging port 10, the charging switch module 12, and the reset switch module 13, and is configured to control the charging switch module 12 and the reset switch module 13 to be in a conducting state when the first charging port 10 receives a charging voltage, so as to charge a battery of the wireless headset, and control the first control module 15 to be in a reset state; 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, optionally, as shown in fig. 6, the high-level trigger switch module 11 may include: the voltage source circuit comprises a voltage input end V _ in, a first resistor R1, a second resistor R2, a third resistor R3, a first switch tube T1, a power supply access end VDD, a voltage output end V _ out and a ground end GND.
The voltage input end V _ in is connected to 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 transistor T1 are connected in common, the second end of the second resistor R2, the second end of the first switch transistor T1, and the ground end are connected in common, the first end of the first switch transistor T1, the first end of the third resistor R3, and the voltage output end V _ out are connected in common, and the second end of the third resistor R3 is connected to the power supply connection end VDD. The power supply access end VDD is used for being connected 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 switch transistor T1 is turned on by adjusting a 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 conducting state, to charge the battery of the wireless headset, and to 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 a data signal, or is in a data transmission state, that is, when the wireless headset transmits the data signal to the charging box through the first charging port, since the logic high level of the data signal is 1.8V to 3.3V, the first switching tube T1 cannot be turned on, that is, the first switching tube T1 is in an off state, and the voltage output end V _ out outputs a logic high level, so that the charging switching module and the reset switching module are in the off state, and the first control module is no longer in a state of being continuously reset, 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 the charging voltage, the communication switch module 14 is controlled to be in a turned-off state, so as to protect a chip in the wireless headset from being burned down; and when the first charging port does not receive the charging voltage, controlling the communication switch module 14 to be in a conducting state, so that the wireless earphone and the charging box carry out data communication.
Because the software program of the wireless headset is more and more complex, in practical application, the wireless headset may be in a state that the wireless headset cannot normally work, such as "crash" before being placed in the charging box, and therefore, in the embodiment of the present 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 headset is realized under the trigger of the high-level trigger switch module, and the wireless headset cannot be indirectly controlled by the control module (the first control module) of the wireless headset.
After the wireless headset is reset, the wireless headset can enter a normal working state again, so that 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 without 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 when the first charging port receives the charging voltage, the first control module 15 controls the communication switch module 14 to be in the off state, and when the first charging port does not receive the charging voltage, the first control module 15 controls the communication switch module to be in the on state.
For example, when the first charging port receives a charging voltage, the first control module is in a reset state, and at this time, the communication switch module can be in a high-impedance state, that is, in a closed state, through the first control module, so as to protect a chip in the wireless headset from being burned out; and 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 normally performs data communication 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 configured to receive the first data signal sent by the charging box and send the second data signal to the charging box when the charging switch module 12 and the reset switch module 13 are in an off state, so that the wireless headset and the charging box perform data communication, and the charging box confirms that the wireless headset is placed in 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 no longer in the state of being continuously reset, and enters the normal operating state, so that the charging box can perform data communication with the charging box according to the communication requirement, and the charging box can confirm that the wireless headset is placed in the charging box when receiving the data signal sent by the wireless headset.
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, the contacts of the wireless earphone are reduced, and the wireless earphone is also connected with the high-level trigger switch module through the first charging port, the charging switch module and the reset switch module, so that when the first charging port receives 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 a data signal or the wireless headset sends a 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 further enabled not to be in a state of being continuously reset, but to enter a normal working state, namely, the wireless earphone is enabled to enter a state of carrying out data communication with the charging box, and the charging box is enabled to confirm that the wireless earphone is placed in the charging box when receiving a data signal sent by the wireless earphone; the wireless earphone can be reset and charged without arranging a sensor and a plurality of contacts for detecting whether the wireless earphone is plugged into the box 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 obtains the detection result of the wireless earphone when the wireless earphone is plugged into the box.
Optionally, 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 to the first communication switch unit and the second communication switch unit, and is configured to control the first communication switch unit to be in an on state and control the second communication switch unit to be in an off state when receiving the data signal sent by the charging box; and 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 when the data signal is transmitted to the charging box.
Specifically, the first communication switch unit and the second communication switch unit may include a switching tube. For example, as shown in fig. 7, the first and second communication switch units may include seventh and eighth switching tubes T7 and T8.
The first control module is connected to the seventh switch tube T7 and the eighth switch tube T8, and is configured to control the seventh switch tube T7 to be in an on state and control the eighth switch tube T8 to be in an off state when receiving the data signal sent by the charging box; and 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 when the data signal is transmitted to the charging box.
It should be noted that, in some embodiments of the present application, based on the embodiment shown in fig. 5-2, the first control module may further be connected to the first communication switch unit and the second communication switch unit, and when the first charging port receives the 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 headset from being burned out; 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 between the wireless earphone and the charging box.
In this embodiment, the charging switch module and the reset switch module may also include a switch tube.
For example, as shown in fig. 7, the charging 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 switch tube T2, the control end of the third switch tube T3 and the voltage output end of the high-level trigger switch module are connected in common; the first end of the second switch tube T2, the first end of the third switch tube T3 and the voltage input end of the high-level trigger switch module are connected in common; the second end of the second switch tube T2 is connected with the battery of the wireless earphone; a second terminal of the third switching tube T3 is connected to the reset terminal of the first control module.
When the first charging port receives a charging voltage, the second switching tube T2 and the third switching tube T3 are in a conducting state to charge a battery of the wireless headset 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 application, the wireless headset may further include a wireless communication module, configured to establish a communication connection with the user terminal, and send the state information, which is received by the wireless headset and sent by the charging box, to the user terminal, or receive configuration information, which is sent by the user terminal, of the charging box, 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 this embodiment of the application, the state information sent by the charging box and received by the wireless headset may include one or more state information 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 can be monitored and set by a user, and the state of the charging box can be updated.
For example, the wireless headset controls the charging speed of the charging box by transmitting the charging speed configuration information of the charging box to the charging box.
A fourth embodiment of the present application provides a charging box. The charging box may be provided with the charging control device of the charging box of each of the above embodiments; alternatively, the charging box may be a charging box for implementing a charging control method for each of the charging boxes.
Specifically, as shown in fig. 8, which is a schematic structural diagram of a charging box provided in an embodiment of the present application, the charging box may include: a second charging port 40, a fourth switching tube T4, a fifth switching tube T5, a sixth switching tube T6, and a second control module 41.
The second charging port 40, the first terminal of the fourth switching tube T4, the first terminal of the fifth switching tube T5 and the first terminal of the sixth switching tube T6 are connected in common. The second charging port 40 is used to output a charging voltage, and transmit and receive data signals.
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 connected to the second control module 41 respectively. A second terminal of the fourth switching tube T4 is connected to the charging current output terminal 42 of the charging box. A second end of the fifth switching tube T5 is connected to the data transmitting end 43 of the charging box. A second end of the sixth switching tube T6 is connected to the data receiving end 44 of the charging box.
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 headset. 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 headset, and confirm that the wireless headset is placed in the charging box when the data signal sent by the wireless headset is received.
In the embodiment of the present 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 connected to the second charging port 40, and the second control module 41 controls the fifth switching tube T5, the fourth switching tube T4, and the sixth switching tube T6 to be turned on and off, so that the charging box realizes the integration of the data communication contact and the charging contact into one contact (the second charging port 40), thereby realizing the time sharing multiplexing of the second charging port 40 and reducing the contacts of the charging box.
Optionally, in some embodiments of the present application, when the charging box charges the wireless headset, the second control module 41 is further configured to: periodically controlling the fourth switching tube T4 to keep in a conducting state for a first time period, and controlling the fifth switching tube T5 and the sixth switching tube T6 to keep in an off state for the first time period; the wireless earphone is periodically charged for a first time period; after the wireless earphone is charged for the first time period each time, controlling the fifth switching tube T5 and the sixth switching tube T6 to be alternately switched on within the second time period, and controlling the fourth switching tube T4 to be kept switched off within the second time period; and enabling the charging box and the wireless earphone to carry out data communication for a second time period until the charging of the wireless earphone is completed.
Specifically, in some embodiments of the present application, the second control module 41 is further configured to, when controlling the fourth switching tube T4 to remain off for the second duration, 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 headset, and complete the configuration of the charging box according to the configuration information.
Correspondingly, the first charging port of the wireless earphone receives the charging voltage with the first duration, and the high-level trigger switch module controls the charging switch module and the reset switch module to keep the conducting state of the first duration, so as to charge the battery of the wireless earphone for the first duration and control the first control module to be always in the reset state within the first duration.
After the wireless earphone is charged for the first time length each time, the first charging port of the wireless earphone receives a data signal sent by the charging box, or receives a data signal sent by the wireless earphone to the charging box, at this time, because the first control module is no longer in a reset state but in a normal working state, 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 closing state when the data signal sent by the charging box is received according to the communication requirement; and 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 when the data signal is transmitted to the charging box.
Optionally, the data signal may carry one or more status information of remaining capacity of the charging box, temperature of the charging box, remaining charging duration of the charging box, and charging speed of the charging box, and the data signal may carry one or more information of remaining capacity of the battery of the earphone 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 the state information is sent to the user terminal which establishes communication connection with the wireless earphone by 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 monitoring and setting the state of the charging box by a user and realizing the state updating of the charging box.
For example, the charging box sets the charging speed of the charging box by receiving configuration information containing a value of the first duration sent by the wireless headset.
Optionally, before the charging box charges the wireless headset, the second control unit of the charging box is further configured to detect whether the wireless headset is placed in the charging box. The second control unit charges the wireless headset after detecting that the wireless headset is placed in the charging box.
Specifically, the detecting whether the wireless headset is placed in the charging box may include: controlling the fourth switching tube T4 to keep a conducting state in the third time period, and controlling the fifth switching tube T5 and the sixth switching tube T6 to keep a switching-off state in the first time period so as to charge and reset the wireless earphone placed in the charging box; detecting whether a data signal sent by the wireless earphone is received within a fourth time period, and confirming that the wireless earphone is placed in the charging box when the data signal sent by the wireless earphone is received; and the fourth time length starts to time when the third time length is over.
As the software program of the wireless headset becomes more and more complex, in practical applications, the wireless headset may be in a "dead halt" state, a sleep state, or the charging box can not send messages to the charging box due to the fact that the electric quantity value is too low, the software program of the charging box is simple, and the problem of 'dead halt' basically can not occur, therefore, in order to avoid the situation that the wireless earphone can not send messages to the charging box after being put into the box, and the charging box mistakenly believes that the wireless earphone is not placed in the charging box, in the embodiment of the application, in the process of detecting the wireless earphone entering the box, the charging box needs to output the charging voltage for the third time period, the wireless earphone which is put into the charging box is charged and reset, so that the wireless earphone can normally carry out data communication with the charging box after being put into the charging box, and the box-entering 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 time period is a time period of millisecond order, such as 1ms to 1000 ms. The charging voltage may be a high voltage greater than or equal to 4V to 5V.
In the embodiment of the application, whether the data signal sent by the wireless earphone is received in the fourth time period through detection, and when the data signal sent by the wireless earphone is received, the charging box is confirmed to be placed in the wireless earphone, so that the wireless earphone and the charging box can be detected whether the wireless earphone is placed in the charging box without configuring a sensor for detecting whether the wireless earphone is placed in the charging box, the wireless earphone can be placed in the charging box, and the design difficulty of the wireless earphone is reduced.
In some embodiments of the present application, the charging box enters the sleep state after receiving the earphone battery full charge prompt message sent by the wireless earphone to the charging box.
Optionally, after the charging box enters the sleep state, whether the wireless headset is placed in the charging box can be detected again at preset time intervals; or, detecting whether the wireless earphone leaves the charging box every preset time length, and detecting whether the wireless earphone is placed in the charging box again after the wireless earphone leaves the charging box.
Wherein, above-mentioned whether detection wireless earphone has left the box that charges includes: controlling the fourth switching tube T4 to keep a conducting state in the third time period, and controlling the fifth switching tube T5 and the sixth switching tube T6 to keep a switching-off state in the first time period so as to charge and reset the wireless earphone placed in the charging box; detecting whether a data signal sent by the wireless earphone is received within a fourth time period, and confirming that the wireless earphone leaves the charging box when the data signal sent by the wireless earphone is not received; and the fourth time length starts to time when the third time length is over.
In the embodiment of the present 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 connected to the second charging port, and the second control module 41 controls the fifth switching tube T5, the fourth switching tube T4, and the sixth switching tube T6 to turn on and off, so that the charging box realizes the integration of the data communication contact and the charging contact into one contact (the second charging port), realizes the time division multiplexing of the second charging port, reduces the contacts of the charging box, and can also realize the charging, resetting, and box entering detection of the wireless headset; there is no need to provide a sensor for detecting whether the wireless headset is inserted into the charging box.
Optionally, the fifth embodiment of the present application further provides a charging box. The charging box may be provided with the charging control device of the charging box of each of the above embodiments; alternatively, the charging box may be a charging box for implementing a charging control method for each of the charging boxes.
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 processor 90 executes the computer program 92 to implement the steps in the above-mentioned charging method embodiments of the wireless headset, for example, the steps 101 to 102 shown in fig. 1.
The Processor 90 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor, any conventional processor, etc.
The storage 91 may be an internal storage unit of the charging box 9, for example, a hard disk or a memory. The memory 91 may also be an external storage device for the charging box 9, such as a plug-in hard disk provided on the charging box 9, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 91 may also include both an internal storage unit of the charging box 9 and an external storage device. The memory 91 is used to store the above-mentioned computer program and other programs and data required for charging the 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 specific functions, which are used to describe the execution process of the computer program in the charging of the wireless headset. For example, the computer program may be divided into: the detection unit and the charging unit have the following specific functions:
the detection unit is used for detecting whether a data signal sent by the wireless earphone is received or not;
the charging unit is used for charging the wireless earphone when receiving the data signal sent by the wireless earphone, and carrying out data communication with the wireless earphone in the process of charging the wireless earphone so as to update the data of the charging box.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules, so as to perform all or part of the functions described above. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
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 implementation. 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 box and method may be implemented in other ways. For example, the charge cartridge embodiments described above are merely illustrative. For example, a division of modules or units into only one logical division may be implemented in an alternate manner, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the embodiments described above may be implemented by a computer program, which is stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A charging control method of a charging box, characterized by comprising:
detecting whether a data signal sent by the wireless earphone is received;
when receiving the data signal sent by the wireless earphone, the wireless earphone is charged, and in the process of charging the wireless earphone, the wireless earphone is in data communication with the wireless earphone, so that the charging box is subjected to data updating.
2. The charging control method of claim 1, wherein prior to the detecting whether the data signal transmitted by the wireless headset is received, comprising:
and charging and resetting the wireless earphone placed in the charging box.
3. The charging control method according to claim 2, wherein the detecting whether the data signal transmitted by the wireless headset is received after the charging and resetting of the wireless headset placed in the charging box comprises:
outputting a first data signal to the wireless earphone, and receiving a second data signal output by the wireless earphone according to the first data signal; the first data signal and the second data signal are preset heartbeat signals.
4. The charging control method of claim 3, wherein the charging the wireless headset when receiving the data signal sent by the wireless headset, and performing data communication with the wireless headset during the charging of the wireless headset to perform data update on the charging box comprises:
when receiving a second data signal output by the wireless earphone according to the first data signal, periodically outputting a charging voltage with a first duration to the wireless earphone so as to periodically charge the wireless earphone for a second duration, and after the wireless earphone is charged for the first duration every time, performing data communication with the wireless earphone for the second duration so as to update data of the charging box until the charging of the wireless earphone is completed, wherein the second duration starts to be timed when the first duration is finished.
5. The charging control method of claim 4, wherein the communicating data with the wireless headset for a second duration of time to update the charging box comprises:
receiving a third data signal output by the wireless headset; the third data signal carries the remaining power information of the wireless earphone battery;
and updating the first time length into a first time length determined according to the residual capacity of the wireless earphone battery and/or the residual capacity of the charging box.
6. The charging control method of claim 4, wherein the communicating data with the wireless headset for a second duration of time to update the charging box comprises:
receiving a third data signal output by the wireless headset; the third data signal carries the remaining power information of the wireless earphone battery;
if the residual electric quantity of the wireless earphone battery is larger than or equal to a first electric quantity threshold value, determining that the charging of the wireless earphone is finished, and controlling the charging box to update from a charging state to a sleeping state; the first power threshold is less than the power when the wireless headset is fully charged.
7. The charging control method of claim 4, wherein the communicating data with the wireless headset for a second duration of time to update the charging box comprises:
outputting a fourth data signal carrying state information of a charging box to the wireless earphone, and receiving a fifth data signal which is sent by the wireless earphone and carries configuration information generated by a user terminal according to the state information;
performing 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.
8. A charging control device of a charging box, characterized in that the charging control device comprises:
the detection unit is used for detecting whether a data signal sent by the wireless earphone is received or not;
the charging unit is used for charging the wireless earphone when receiving the data signal sent by the wireless earphone, and carrying out data communication with the wireless earphone in the process of charging the wireless earphone so as to update the data of the charging box.
9. A charging box, characterized in that it comprises a memory, a processor and a computer program stored in said memory and executable on said processor, characterized in that said processor implements the steps of the method according to any one of claims 1 to 7 when executing said computer program.
10. A readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202110179183.8A 2021-02-09 2021-02-09 Charging control method and device for charging box, charging box and readable storage medium Active CN112838645B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110179183.8A CN112838645B (en) 2021-02-09 2021-02-09 Charging control method and device for charging box, charging box and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110179183.8A CN112838645B (en) 2021-02-09 2021-02-09 Charging control method and device for charging box, charging box and readable storage medium

Publications (2)

Publication Number Publication Date
CN112838645A true CN112838645A (en) 2021-05-25
CN112838645B CN112838645B (en) 2023-11-10

Family

ID=75933230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110179183.8A Active CN112838645B (en) 2021-02-09 2021-02-09 Charging control method and device for charging box, charging box and readable storage medium

Country Status (1)

Country Link
CN (1) CN112838645B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438581A (en) * 2021-06-30 2021-09-24 南昌勤胜电子科技有限公司 Earphone chamber, earphone device, and storage medium
CN113852885A (en) * 2021-08-13 2021-12-28 安克创新科技股份有限公司 Charging box of Bluetooth headset, Bluetooth headset and data synchronization method

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005312185A (en) * 2004-04-21 2005-11-04 Hakusan Mfg Co Ltd Secondary battery charging apparatus
JP2010115087A (en) * 2008-11-10 2010-05-20 Makita Corp Charging system for electric power tool, battery pack for electric power tool, and battery charger for electric power tool
JP2013172472A (en) * 2012-02-17 2013-09-02 Tokai Rika Co Ltd Non-contact charger
CN105226749A (en) * 2015-09-25 2016-01-06 联想(北京)有限公司 A kind of charging method, charger and electronic equipment
CN108809564A (en) * 2017-05-04 2018-11-13 华为技术有限公司 Method and apparatus for communication
CN110572736A (en) * 2019-09-20 2019-12-13 歌尔科技有限公司 Wireless earphone, charging box and wireless earphone charging system
CN110636404A (en) * 2019-10-29 2019-12-31 深圳市好上好信息科技有限公司 A single-line multi-device priority communication method and system
CN110650400A (en) * 2019-09-30 2020-01-03 歌尔科技有限公司 Wireless earphone and low-power-consumption method, device and system thereof
CN110740401A (en) * 2019-10-30 2020-01-31 歌尔科技有限公司 earphone reset device and wireless earphone equipment
CN111049230A (en) * 2019-12-31 2020-04-21 歌尔科技有限公司 Wireless earphone, charging method thereof, charging box and readable storage medium
KR102121185B1 (en) * 2019-06-12 2020-06-12 크레신 주식회사 Wireless earphone and charging case set
WO2020134246A1 (en) * 2018-12-24 2020-07-02 歌尔科技有限公司 Communication control method, device and system, charging box and wireless earpiece
CN211630347U (en) * 2020-02-29 2020-10-02 Oppo广东移动通信有限公司 Reset Devices and Systems, Charging Cases, Headphones
CN112104945A (en) * 2020-09-30 2020-12-18 歌尔科技有限公司 Communication method, charging box, wireless earphone and computer storage medium
CN112165143A (en) * 2020-10-29 2021-01-01 歌尔科技有限公司 Wireless earphone charging method, device, equipment and storage medium
CN112290620A (en) * 2020-10-16 2021-01-29 歌尔科技有限公司 Charging method and device of wireless earphone, charging box and storage medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005312185A (en) * 2004-04-21 2005-11-04 Hakusan Mfg Co Ltd Secondary battery charging apparatus
JP2010115087A (en) * 2008-11-10 2010-05-20 Makita Corp Charging system for electric power tool, battery pack for electric power tool, and battery charger for electric power tool
JP2013172472A (en) * 2012-02-17 2013-09-02 Tokai Rika Co Ltd Non-contact charger
CN105226749A (en) * 2015-09-25 2016-01-06 联想(北京)有限公司 A kind of charging method, charger and electronic equipment
CN108809564A (en) * 2017-05-04 2018-11-13 华为技术有限公司 Method and apparatus for communication
WO2020134246A1 (en) * 2018-12-24 2020-07-02 歌尔科技有限公司 Communication control method, device and system, charging box and wireless earpiece
KR102121185B1 (en) * 2019-06-12 2020-06-12 크레신 주식회사 Wireless earphone and charging case set
CN110572736A (en) * 2019-09-20 2019-12-13 歌尔科技有限公司 Wireless earphone, charging box and wireless earphone charging system
CN110650400A (en) * 2019-09-30 2020-01-03 歌尔科技有限公司 Wireless earphone and low-power-consumption method, device and system thereof
CN110636404A (en) * 2019-10-29 2019-12-31 深圳市好上好信息科技有限公司 A single-line multi-device priority communication method and system
CN110740401A (en) * 2019-10-30 2020-01-31 歌尔科技有限公司 earphone reset device and wireless earphone equipment
CN111049230A (en) * 2019-12-31 2020-04-21 歌尔科技有限公司 Wireless earphone, charging method thereof, charging box and readable storage medium
CN211630347U (en) * 2020-02-29 2020-10-02 Oppo广东移动通信有限公司 Reset Devices and Systems, Charging Cases, Headphones
CN112104945A (en) * 2020-09-30 2020-12-18 歌尔科技有限公司 Communication method, charging box, wireless earphone and computer storage medium
CN112290620A (en) * 2020-10-16 2021-01-29 歌尔科技有限公司 Charging method and device of wireless earphone, charging box and storage medium
CN112165143A (en) * 2020-10-29 2021-01-01 歌尔科技有限公司 Wireless earphone charging method, device, equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438581A (en) * 2021-06-30 2021-09-24 南昌勤胜电子科技有限公司 Earphone chamber, earphone device, and storage medium
CN113852885A (en) * 2021-08-13 2021-12-28 安克创新科技股份有限公司 Charging box of Bluetooth headset, Bluetooth headset and data synchronization method
CN113852885B (en) * 2021-08-13 2024-02-23 安克创新科技股份有限公司 Bluetooth headset charging box, bluetooth headset and data synchronization method

Also Published As

Publication number Publication date
CN112838645B (en) 2023-11-10

Similar Documents

Publication Publication Date Title
US10671135B2 (en) Intelligent mobile power supply and method for USB data communication therewith
CN112865248B (en) Box-entry detection method, device, charging box and readable storage medium of wireless earphones
CN112075006B (en) System for charging wireless communication device
CN210536885U (en) Earphone charging box circuit, earphone charging box, earphone and communication system
US20190089175A1 (en) Quick charging method, power adapter and mobile terminal
CN114498803A (en) Charging and discharging circuit and electronic equipment
US20220311061A1 (en) Charging method, electronic device and storage medium
CN101102119B (en) A charging detection circuit of appliance device and charging detection method
CN111987772B (en) On-chip system, battery pack and electronic device
CN112838645A (en) Charging control method, device, charging box and readable storage medium of charging box
EP3148039A1 (en) Fast charging method, power source adapter and mobile terminal
KR20210124266A (en) Single Wire Bus (SuBUS) Slave Circuit and Related Devices
WO2022042708A1 (en) System-on-chip, battery assembly, electronic device, battery protection circuit, test subsystem, test system, bluetooth earphone, shipping mode setting method, and computer readable storage medium
CN112865249A (en) Charging method and device of wireless earphone, charging box and readable storage medium
EP2984699A1 (en) Dynamic charging of a rechargeable battery
WO2021170086A1 (en) Wireless earphone and wireless earphone system
CN210579146U (en) Low-power consumption circuit and TWS bluetooth headset
CN111263341B (en) Automatic pairing method for Bluetooth circuit breaker and electric energy meter
CN201075704Y (en) Detection circuit of electrical equipment and mobile phone having the circuit
CN105576753A (en) Information processing method and electronic equipment
CN113193631B (en) Power supply control device, power supply control method, storage medium, and electronic device
CN112866861A (en) Wireless earphone, charging box and charging system
CN113329286B (en) Wireless Headphones and Wireless Headphone Systems
US11394212B2 (en) Charging method, terminal, and computer storage medium
US20240077932A1 (en) Wakeup circuit

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