CN112838645B - Charging control method and device for charging box, charging box and readable storage medium - Google Patents
Charging control method and device for charging box, charging box and readable storage medium Download PDFInfo
- Publication number
- CN112838645B CN112838645B CN202110179183.8A CN202110179183A CN112838645B CN 112838645 B CN112838645 B CN 112838645B CN 202110179183 A CN202110179183 A CN 202110179183A CN 112838645 B CN112838645 B CN 112838645B
- Authority
- CN
- China
- Prior art keywords
- charging
- wireless earphone
- charging box
- data signal
- wireless
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 238000004891 communication Methods 0.000 claims abstract description 95
- 230000008569 process Effects 0.000 claims abstract description 27
- 238000001514 detection method Methods 0.000 claims abstract description 20
- 238000004590 computer program Methods 0.000 claims description 20
- 238000010586 diagram Methods 0.000 description 11
- 238000013461 design Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000010354 integration Effects 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000002035 prolonged effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/00032—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy 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 of a charging box, the charging box and a readable storage medium, wherein the charging control method of the charging box comprises the following steps: detecting whether a data signal sent by a wireless earphone is received or not; when receiving a data signal sent by the wireless earphone, charging the wireless earphone, and in the process of charging the wireless earphone, carrying out data communication with the wireless earphone so as to update the data of the charging box; the application can realize the in-box detection of the charging box without configuring a sensor for detecting whether the earphone is in the box or not on the charging box, and can realize the data communication with the wireless earphone and the data update of the charging box in the process of charging the wireless earphone.
Description
Technical Field
The application belongs to the technical field of charging, and particularly relates to a charging control method and device of a charging box, the charging box and a readable storage medium.
Background
Currently, wireless headphones often require a corresponding charging box to charge and house the wireless headphones.
However, when the charging box charges the wireless earphone, the wireless earphone is generally required to be charged after the wireless earphone is detected by the sensor to be placed in the charging box; in addition, in the process of charging the wireless earphone, the wireless earphone is charged, and the problem that the charging function is too single exists.
Disclosure of Invention
The application aims to provide a charging control method and device for a charging box, the charging box and a readable storage medium, which can realize the box-in detection of the charging box without configuring a sensor for detecting whether an earphone is in the box on the charging box, and can realize data communication with the wireless earphone and data update of the charging box in the process of charging the wireless earphone.
An embodiment of the present application provides a charging control method of a charging box, where the charging control method of the charging box includes:
detecting whether a data signal sent by a wireless earphone is received or not;
and when receiving the data signal sent by the wireless earphone, charging the wireless earphone, and in the process of charging the wireless earphone, carrying out data communication with the wireless earphone so as to update the data of the charging box.
In a first possible implementation manner of the present application, the method for controlling charging of a charging box according to the first aspect of the present application optionally includes, before the detecting whether the data signal sent by the wireless headset is received,: and charging and resetting the wireless earphone placed in the charging box.
In a second possible implementation manner of the present application, based on the charging control method of the charging box of the first aspect and the first possible implementation manner of the first possible implementation manner, after the charging and resetting of the wireless headset placed in the charging box, 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.
In a third possible implementation manner of the present application, according to the charging control method of the charging box of the first aspect and the second possible implementation manner of the first aspect, optionally, when receiving a data signal sent by the wireless headset, the charging the wireless headset, and in a process of charging the wireless headset, performing data communication with the wireless headset to update data of the charging box, includes:
And 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 with the first duration, and after each time the wireless earphone is charged with the first duration, performing data communication with the wireless earphone with a second duration so as to update the data of the charging box until the wireless earphone is charged, wherein the second duration starts to be timed when the first duration is ended.
In a fourth possible implementation manner of the present application, based on the charging control method of the charging box of the first aspect and the second possible implementation manner of the first aspect, 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 earphone; the third data signal carries the information of the residual capacity of the wireless earphone battery;
and updating the first time length to be a first time length determined according to the residual capacity of the wireless earphone battery and/or the residual capacity of the charging box.
In a fifth possible implementation manner of the present application, based on the charging control method of the charging box of the first aspect and the second possible implementation manner of the first aspect, 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 earphone; the third data signal carries the information of the residual capacity of the wireless earphone battery;
if the remaining capacity of the wireless earphone battery is larger than or equal to a first electric capacity threshold value, determining that the wireless earphone is charged, and controlling the charging box to update from a charging state to a sleep state; the first power threshold is less than the power of the wireless headset when full.
In a sixth possible implementation manner of the present application, based on the charging control method of the charging box of the first aspect and the second possible implementation manner of the first possible implementation manner, 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 carrying configuration information generated by a user terminal according to the state information and sent by the wireless earphone;
Carrying out parameter configuration on the charging box according to the configuration information; the configuration information comprises charging speed configuration information of the charging box and/or charging duration configuration information of the charging box.
A second aspect of an embodiment of the present application provides a charging control device for a charging cartridge, including:
the detection unit is used for detecting whether a data signal sent by the wireless earphone is received or not;
and 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 embodiment of the present application provides a charging cartridge, 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 cartridge described in the first aspect when the processor executes the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium storing a computer program, which when executed by a processor, implements the steps of the charging control method of the charging cartridge described in the first aspect.
In the embodiment of the application, the charging box detects whether the wireless earphone receives the data signal sent by the wireless earphone or not, and determines that the wireless earphone is put into the charging box when the data signal sent by the wireless earphone is received, and the charging box can realize the box-in detection of the charging box without configuring a sensor for detecting whether the earphone is put into the box on the charging box.
Drawings
Fig. 1 is a schematic implementation flow chart of a charging control method of a charging box according to an embodiment of the present application.
Fig. 2 is a schematic charging sequence diagram of a wireless headset according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a detection timing sequence of a wireless earphone 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 earphone according to an embodiment of the present application.
Fig. 6 is a schematic circuit diagram of a high-level trigger switch module according to an embodiment of the application.
Fig. 7 is a third schematic structural diagram of a wireless earphone according to an embodiment of the present application.
Fig. 8 is a first structural schematic diagram of a charging box according to an embodiment of the present application.
Fig. 9 is a second structural schematic diagram of the charging box according to the embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
Currently, wireless headphones often require a corresponding charging box to charge and house the wireless headphones.
However, when the charging box charges the wireless earphone, the wireless earphone is generally required to be charged after the wireless earphone is detected by the sensor to be placed in the charging box; in addition, in the process of charging the wireless earphone, the wireless earphone is charged, and the problem that the charging function is too single exists.
Based on this, the embodiment of the application provides a charging control method and device for a charging box, the charging box and a readable storage medium, the charging box can be detected without configuring a sensor for detecting whether an earphone is in the box on the charging box, and the charging control method and device can also realize data communication with the wireless earphone and update data of the charging box in the process of charging the wireless earphone.
Fig. 1 is a schematic implementation flow chart 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: steps 101 to 102.
Step 101, detecting whether a data signal sent by the wireless earphone is received.
In the embodiment of the application, the charging box determines whether the wireless earphone is placed in the charging box by detecting whether the data signal sent by the wireless earphone is received, and when the data signal sent by the wireless earphone is received, the wireless earphone is confirmed to be placed in the charging box, and then step 102 is executed to charge the wireless earphone.
Step 102, when receiving the data signal sent by the wireless earphone, charging the wireless earphone, and in the process of charging the wireless earphone, performing data communication with the wireless earphone so as to update the data of the charging box.
In the embodiment of the application, the charging box charges the wireless earphone when receiving the data signal sent by the wireless earphone, and performs data communication with the wireless earphone in the process of charging the wireless earphone so as to update the data of the charging box, thereby solving the problems that the current charging box only charges the wireless earphone in the process of charging the wireless earphone, but cannot realize data communication with the wireless earphone and update the data of the charging box.
Optionally, in some embodiments of the present application, in order to improve accuracy of detecting whether the wireless earphone is placed in the charging box, before the step 101, the method may include: and charging and resetting the wireless earphone put into the charging box.
Currently, a sensor is typically provided on the wireless headset or the charging box to detect whether the wireless headset has been placed within the charging box. However, the size of the wireless earphone is smaller, and if the position of the sensor needs to be reserved in a relatively small space of the wireless earphone, the design difficulty of the wireless earphone is certainly increased. In addition, for some of the detection modes of determining whether the wireless earphone is put into the charging box through the data communication between the wireless earphone and the charging box, when the wireless earphone is in a dead state and enters a sleep state or the situation that the electric quantity value is too low and the like and cannot send a message to the charging box exists, the situation that the wireless earphone is not put into the charging box due to the fact that the charging box cannot send the message to the charging box after the wireless earphone is put into the box is likely to occur, and then the problem that whether the wireless earphone is put into the charging box cannot be accurately detected occurs.
Therefore, in some embodiments of the present application, in order to avoid the situation that the charging box mistakenly considers that the wireless earphone is not placed in the charging box because a message cannot be sent to the charging box after the wireless earphone is placed in the charging box, before the step 101, the charging box may charge and reset the wireless earphone placed in the charging box, so that data communication can be performed between the wireless earphone and the charging box normally after the wireless earphone is placed in the charging box, so as to improve the detection accuracy of the wireless earphone in the charging box.
Specifically, the charging and resetting the wireless earphone placed in the charging box may include: and outputting a charging voltage of a third duration to charge and reset the wireless earphone put into the charging box. Accordingly, the detecting whether the data signal sent by the wireless earphone is received may include: detecting whether a data signal sent by the wireless earphone is received within a fourth duration, and confirming that the wireless earphone is put into the charging box when the data signal sent by the wireless earphone is received; wherein the fourth time period starts to count at the end of the third time period.
It should be noted that the third duration may be a relatively short duration, and may be determined according to an actual test result. For example, the third duration is a period of milliseconds, such as 1ms to 1000ms. The charging voltage may be a high voltage of 4V-5V or more.
As shown in fig. 2, in the embodiment of the present application, the third duration is a T3 period, and the fourth duration is a T4 period that starts to be counted when the T3 period ends. The specific value of the fourth duration may be set according to practical experience, and only the data signal that satisfies normal transmission of the wireless earphone may be received.
It should be noted that, the charging box is provided with the contact and the data communication contact that are used for being connected with wireless earphone to, this contact and the data communication contact that charge can share, promptly, charge the contact and the data communication contact be same contact, realize charging and communication multiplexing, reduce the contact with wireless earphone, reduce wireless earphone's design degree of difficulty.
That is, in some embodiments of the present application, the outputting the charging voltage for the third duration and the receiving the data signal sent by the wireless headset may be implemented by the same contacts.
In the embodiment of the application, by detecting whether the data signal sent by the wireless earphone is received within the fourth time period and confirming that the wireless earphone is put into the charging box when the data signal sent by the wireless earphone is received, the wireless earphone and the charging box can carry out the box-in detection on the wireless earphone without configuring a sensor for detecting whether the wireless earphone is put into the box, and the design difficulty of the wireless earphone is reduced.
It should be noted that, in some embodiments of the present application, the charging box may detect whether the data signal sent by the wireless earphone is received first, and when the data signal sent by the wireless earphone is not received, then charge and reset the wireless earphone placed in the charging box, then detect whether the data signal sent by the wireless earphone is received within a fourth period, and when the data signal sent by the wireless earphone is received, confirm that the wireless earphone has been placed in the charging box.
It should be noted that, because the charging port of the charging box is equivalent to being in a suspended state when the wireless earphone is not put into the charging box, the charging voltage of the third duration output by the charging box is not consumed, so the method for detecting the box entering of the wireless earphone not only can ensure that the wireless earphone and the charging box do not need to be provided with sensors for detecting whether the wireless earphone is put into the box, but also can realize the box entering detection of the wireless earphone without increasing the power consumption of the charging box, has higher cost performance, and can not increase the risk points existing in the charging box because the implementation mode is simpler, namely, the design of the charging box is ensured to be simplified as much as possible, the possibility of faults is reduced, and the charging box has higher service life.
It may be understood that, when it is detected that the charging box does not receive the data signal sent by the wireless headset within the fourth time period, the charging box may also re-output the charging voltage for the third time period after a preset time period, and re-detect whether the data signal sent by the wireless headset is received within the fourth time period.
In the embodiment of the application, the charging box can confirm that the wireless earphone is put into the charging box only when the charging box receives the data signal sent by the wireless earphone; however, since the battery capacity of the wireless headset is small, in order to save power consumption, the wireless headset may not actively output the data signal to the outside, and thus, in some embodiments of the present application, after the wireless headset placed in the charging case is charged and reset, detecting whether the data signal transmitted by the wireless headset is received may include: and in the fourth time period, the charging box outputs a first data signal to the wireless earphone, and then receives a second data signal output by the wireless earphone according to the first data signal, so as to confirm that the wireless earphone is put into the charging box.
The first data signal and the second data signal may include preset heartbeat signals.
Alternatively, in some embodiments of the present application, the above step 102 may be implemented in the following manner: and 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 with the first duration, and after each time the wireless earphone is charged with the first duration, performing data communication with the wireless earphone with a second duration so as to update the data of the charging box until the wireless earphone is charged, wherein the second duration starts to be timed when the first duration is ended.
As shown in fig. 3, in the embodiment of the present application, the first duration is a T1 time period, and the second duration is a T2 time period that starts to be counted when the T1 time period ends. The specific value of the second time length can be set according to practical experience, and only the condition that the wireless earphone and the charging box can normally complete data communication is met, and the first time length is greater than or equal to the third time length.
Therefore, in the embodiment of the application, the charging box performs data communication with the wireless earphone at intervals of a first time length in the process of charging the wireless earphone, and performs data updating on the charging box, so that the problems that the current charging box cannot perform data communication with the wireless earphone and perform data updating on the charging box in the process of charging the wireless earphone are solved.
Optionally, in some embodiments of the present application, the foregoing data communication with the wireless headset for a second duration to update data of the charging box may include receiving a third data signal output by the wireless headset and carrying remaining power information of the wireless headset battery and/or temperature of the wireless headset battery; updating the first time length to be the first time length determined according to the residual capacity of the wireless earphone battery and/or the residual capacity of the charging box and/or the temperature of the wireless earphone battery and/or the temperature of the charging box battery, and/or updating the charging mode of the charging box.
That is, in the process of data communication with the wireless earphone, the charging box can timely acquire the information of the residual electric quantity of the wireless earphone and/or the temperature of the wireless earphone battery, and dynamically adjust the first duration according to the residual electric quantity of the wireless earphone battery and/or the residual electric quantity of the charging box and/or the temperature of the wireless earphone battery and/or the temperature of the charging box battery, so as to adjust the charging speed of the charging box.
For example, dynamically adjusting the first duration according to the power of the charging box and/or the power of the wireless headset may include: when the electric quantity of the wireless earphone is smaller than the second electric quantity threshold, the first time length is larger than the first preset time length threshold, namely, when the electric quantity of the wireless earphone is smaller, the charging time length is prolonged, and the charging speed of the wireless earphone is increased. When the electric quantity of the wireless earphone is greater 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 supersaturation of the electric quantity of the wireless earphone is avoided, and the battery of the wireless earphone is damaged. The third power threshold may be greater than or equal to the second power threshold.
For example, when the charging box is used for charging the wireless earphone, if the electric quantity of the charging box is smaller than the fourth electric quantity threshold value, the first time length is set to be zero, and a prompt message of the too low electric quantity of the charging box is output to the wireless earphone, so that when the wireless earphone leaves the charging box and is in a wearing state, the user is reminded of timely charging the charging box by playing the prompt message of the too low electric quantity of the charging box.
For another example, when the electric quantity of the wireless earphone is smaller than the second electric quantity threshold value and/or the electric quantity of the charging box is larger than the fifth electric quantity threshold value and/or the temperature of the battery of the wireless earphone is smaller than the first temperature threshold value and/or the temperature of the battery of the charging box is smaller than the first temperature threshold value, the charging box is controlled to charge the wireless earphone in a constant current mode so as to accelerate the charging speed of the wireless earphone; and when the electric quantity of the wireless earphone is greater than or equal to the second electric quantity threshold value and/or the electric quantity of the charging box is less than or equal to the fifth electric quantity threshold value and/or the temperature of the battery of the wireless earphone is greater than or equal to the first temperature threshold value and/or the temperature of the battery of the charging box is greater than or equal to the first temperature threshold value, controlling the charging box to charge the wireless earphone in a constant-voltage mode.
That is, when the electric quantity of the wireless earphone is smaller, the electric quantity of the charging box is more sufficient, the temperature of the charging box is lower, and the temperature of the wireless earphone is also lower, the charging box can be controlled to charge the wireless earphone in a constant-current mode so as to accelerate the charging speed of the wireless earphone; the wireless earphone has the advantages that the electric quantity of the wireless earphone is higher, the electric quantity of the charging box is lower, the temperature of the charging box is higher, and the charging box can be controlled to charge the wireless earphone in a constant-voltage mode under any one or more conditions that the temperature of the wireless earphone is also higher, so that the damage to the electronic components of the charging box and the wireless earphone is avoided, and the service lives of the charging box and the wireless earphone are prolonged.
And the control charging box is with constant current mode to the in-process that charges of wireless earphone, and the electric current size of charging box output can reduce step by step to slow down the temperature rising speed of charging box and wireless earphone, and make the temperature of charging box and wireless earphone can not be too high, damage the electronic components of charging box and wireless earphone, extension charging box and wireless earphone's life.
For example, the time period for the charging box to charge the wireless earphone in the constant current mode is divided into three time periods, the current output by the charging box in the first time period is 2A, the current output in the second time period is 1.5A, and the current output in the third time period is 1A.
It should be noted that, the above-mentioned electric quantity threshold values and the above-mentioned temperature threshold values may be set according to actual application scenarios or test results, which is not limited in the present application.
Optionally, in some embodiments of the present application, the foregoing data communication with the wireless headset for a second duration may further include receiving a third data signal carrying remaining capacity information of the wireless headset battery output by the wireless headset, where the third data signal carries remaining capacity information of the wireless headset battery; if the remaining capacity of the wireless earphone battery is larger than or equal to a first electric capacity threshold value, determining that the wireless earphone is charged, and controlling the charging box to update from a charging state to a sleep state; the first electric quantity threshold value is smaller than the electric quantity when the wireless earphone is full.
Specifically, after the charging cartridge enters the sleep state, it may include: detecting whether the wireless earphone leaves the charging box or not at preset time intervals; if the wireless earphone is away from the charging box, detecting whether the wireless earphone is placed in the charging box or not again.
In the embodiment of the application, in the process of charging the wireless earphone, the charging box determines that the charging of the wireless earphone is finished when detecting that the residual electric quantity of the battery of the wireless earphone is greater than or equal to the first electric quantity threshold value, so that after the charging box finishes the charging of the wireless earphone, whether the wireless earphone leaves the box or not can be detected by utilizing the mode of outputting the charging voltage with the third time length, and whether the wireless earphone is put into the charging box or not can be detected again when the wireless earphone leaves the charging box, and the battery of the wireless earphone is not oversaturated due to the charging of the wireless earphone with the third time length, so that the battery of the wireless earphone is damaged.
Optionally, in some embodiments of the present application, the foregoing 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 carrying configuration information generated by the user terminal according to the state information and sent by the wireless earphone; and carrying out parameter configuration on the charging box according to the configuration information.
The state information of the charging box may include one or more of a remaining capacity of the charging box, a temperature of the charging box, a remaining charging time period of the charging box, and a charging speed of the charging box. The configuration information may include charging speed configuration information of the charging cartridge and charging duration configuration information of the charging cartridge.
Alternatively, the charging speed configuration information of the charging box may refer to the value of the first duration.
For example, when the temperature of the charging box is greater than or equal to the preset temperature value, the temperature of the charging box can be made to be smaller than the preset temperature value by reducing the first duration, so as to ensure the charging safety of the charging box.
Optionally, the charging duration configuration information of the charging box may refer to a total duration of the charging of the wireless earphone by the charging box.
For example, when the user needs to charge a plurality of pairs of wireless headphones and the electric quantity of the charging box is limited and cannot fully charge each pair of wireless headphones, in order to more reasonably distribute the electric quantity of the charging box, the charging time length of each charging of the charging box can be set, so that each pair of headphones can be ensured to obtain the electric quantity expected by the user.
For another example, the remaining charging time of the charging box is 40 minutes, and the user needs to charge the wireless earphone for 4 pairs, so that each pair of wireless earphone can obtain one fourth of the remaining electric quantity of the charging box by setting the charging time to be 10 minutes each time.
In the embodiment of the application, the charging box outputs the fourth data signal carrying the state information of the charging box to the wireless earphone in the process of charging the wireless earphone, the fourth data signal is sent to the user terminal which is in communication connection with the wireless earphone by the wireless earphone, and then the fifth data signal carrying the configuration information generated by the user terminal according to the state information and sent by the wireless earphone is received, so that the state of the charging box is monitored and set by a user, and the data updating of the charging box is realized.
In this embodiment, the charging box performs data communication with the wireless earphone through the process of charging the wireless earphone, so that the state of the charging box is favorably uploaded to the wireless earphone in real time, and the charging box is sent to the user terminal by the wireless earphone, so that the user can monitor and set the state of the charging box in real time, and the charging box is also favorably used for controlling the charging time length of the charging box.
A second embodiment of the present application provides a charging control device for a charging cartridge, configured with the charging cartridge, the charging control device 4 including:
a detecting unit 401, configured to detect whether a data signal sent by the wireless headset is received;
and the charging unit 402 is 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 the process of charging the wireless headset, so as to update data of the charging box.
Optionally, in some embodiments of the present application, the detection unit 401 is further configured to: and before detecting whether the data signal sent by the wireless earphone is received or not, charging and resetting the wireless earphone put into the charging box.
Optionally, in some embodiments of the present application, after the wireless earphone placed in the charging box is charged and reset, 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: and 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 with the first duration, and after each time the wireless earphone is charged with the first duration, performing data communication with the wireless earphone with a second duration so as to update the data of the charging box until the wireless earphone is charged, wherein the second duration starts to be timed when the first duration is ended.
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 earphone; the third data signal carries the information of the residual capacity of the wireless earphone battery; and updating the first time length to be a first time length determined according to the residual capacity of the wireless earphone battery and/or the residual capacity of the charging box.
Optionally, in some embodiments of the present application, the charging unit 402 is further configured to: receiving a third data signal output by the wireless earphone; the third data signal carries the information of the residual capacity of the wireless earphone battery; if the remaining capacity of the wireless earphone battery is larger than or equal to a first electric capacity threshold value, determining that the wireless earphone is charged, and controlling the charging box to update from a charging state to a sleep state; the first power threshold is less than the power of the wireless headset when full.
Optionally, in some embodiments of the present application, 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 carrying configuration information generated by a user terminal according to the state information and sent by the wireless earphone; carrying out parameter configuration on the charging box according to the configuration information; the configuration information comprises charging speed configuration information of the charging box and/or charging duration configuration information of the charging box.
In the embodiment of the application, the charging box detects whether the wireless earphone receives the data signal sent by the wireless earphone or not, and determines that the wireless earphone is put into the charging box when the data signal sent by the wireless earphone is received, and the charging box can realize the box-in detection of the charging box without configuring a sensor for detecting whether the earphone is put into the box on the charging box.
It should be noted that, for convenience and brevity of description, the specific working process of the charging control device 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 will not be repeated here. In addition, the above embodiments may be combined with each other to obtain a plurality of different embodiments, which all fall within the scope of the present application.
A third embodiment of the present application provides a wireless headset that can be charged using the charging control method of the charging cartridge and the charging control device of the charging cartridge. Specifically, as shown in fig. 5-1, a first structural schematic diagram of a wireless earphone according to an embodiment of the present application may include: a first charging port 10, a high-level trigger switch module 11, a charging switch module 12, a reset switch module 13 and a communication switch module 14, which are respectively connected with the first charging port 10, and a first control module 15 connected with the communication switch module.
In the embodiment of the present application, the first charging port 10 is configured to receive a charging voltage, and receive and transmit a data signal.
The data signal is a logic level signal of 1.8V-3.3V, and the charging voltage is a voltage signal of 4V-5V.
In the embodiment of the present application, as shown in fig. 5-1, a high-level trigger switch module 11 is connected to a first charging port 10, a charging switch module 12 and a reset switch module 13, and is used for controlling the charging switch module 12 and the reset switch module 13 to be in a conducting state to charge a battery of a wireless earphone and controlling a first control module 15 to be in a reset state when the first charging port 10 receives a charging voltage; when the first charging port 10 does not receive the charging voltage, the charging switch module 12 and the reset switch module 13 are controlled to be in an off state.
In a specific implementation, as shown in fig. 6, the high-level trigger switch module 11 may include: the voltage input terminal v_in, the first resistor R1, the second resistor R2, the third resistor R3, the first switching tube T1, the power supply access terminal VDD, the voltage output terminal v_out and the ground terminal GND.
The voltage input end V_in is connected with the first end of the first resistor R1, the second end of the first resistor R1, the first end of the second resistor R2 and the control end of the first switch tube T1 are commonly connected, the second end of the second resistor R2, the second end of the first switch tube T1 and the grounding end are commonly connected, the first end of the first switch tube T1, the first end of the third resistor R3 and the voltage output end V_out are commonly connected, and the second end of the third resistor R3 is connected with the power supply access end VDD. The power supply access terminal VDD is used for connecting with a battery of the wireless earphone.
In a specific implementation, the voltage input terminal v_in is connected to the first charging port, when the first charging port receives a charging voltage, the first switching tube T1 is turned on by adjusting the ratio of R1 to R2, and at this time, the voltage output terminal v_out outputs a logic low level to control the charging switch module and the reset switch module to be in a conductive state so as to charge the battery of the wireless earphone, and control the first control module to be in a reset state.
When the first charging port does not receive the charging voltage, for example, the first charging port receives the data signal, or is in a data transmission state, that is, when the wireless earphone transmits the data signal to the charging box through the first charging port, the first switch tube T1 cannot be turned on due to the logic high level of the data signal being 1.8V-3.3V, that is, the first switch tube T1 is in an off state, the voltage output terminal v_out outputs the logic high level, so that the charging switch module and the reset switch module are in an off state, and further, the first control module is not in a state of being continuously reset any more, and enters a normal working state.
Optionally, in an embodiment of the present application, as shown in fig. 5-1, the high level trigger switch module 11 may be further connected to the communication switch 14, and when the first charging port receives a charging voltage, the communication switch module 14 is controlled to be in a closed state, so as to protect a chip in the wireless earphone from being burned; when the first charging port does not receive the charging voltage, the communication switch module 14 is controlled to be in a conducting state, so that the wireless earphone and the charging box are in data communication.
Because the software program of the wireless earphone is more and more complex, in practical application, the wireless earphone is likely to be in a state of 'dead halt' and the like, which cannot normally work before being put into the charging box, so in the embodiment of the application, the charging switch module and the reset switch module need to be directly connected with the high-level trigger switch module and are directly controlled by the high-level trigger switch module, so that the forced reset of the wireless earphone is realized under the triggering of the high-level trigger switch module, and the forced reset cannot be indirectly controlled by the control module (the first control module) of the wireless earphone.
Since the wireless earphone can reenter the normal working state after being reset, the high-level trigger switch module can indirectly control the state of the communication switch module 14 through the first control module 15, and the communication switch module is controlled in a mode of not being directly connected with the communication switch module 14.
Specifically, as shown in fig. 5-2, the high-level trigger switch module 11 may be further configured to be connected to the first control module 15, and control, through the first control module 15, the communication switch module 14 to be in a closed state when the first charging port receives a charging voltage, and control, through the first control module 15, the communication switch module to be in an on state when the first charging port does not receive the charging voltage.
For example, when the first charging port receives the charging voltage, the first control module is in a reset state, and at this time, the communication switch module can be in a high-resistance state, that is, in a closed state, so as to protect a chip in the wireless earphone from being burnt; when the first charging port does not receive the charging voltage, the first control module can control the communication switch module to be in a conducting state according to a voltage signal output by the high-level trigger switch module, so that the wireless earphone can be converted into a communication mode, and data communication is normally carried out with the charging box.
In some embodiments of the present application, the first control module 15 is connected to the communication switch module 14, and is configured to receive the first data signal sent by the charging box when the charging switch module 12 and the reset switch module 13 are in an off state, and send the second data signal to the charging box, so that the wireless headset performs data communication with the charging box, and the charging box confirms that the wireless headset has been placed into the charging box when receiving the second data signal sent by the wireless headset.
That is, when the charging switch module 12 and the reset switch module 13 are in the off state, the first control module is not in a state of being reset continuously, but enters a normal working state, so that data communication can be performed with the charging box according to communication requirements, and the charging box can confirm that the wireless earphone is put into the charging box when receiving a data signal sent by the wireless earphone.
In the embodiment of the application, the wireless earphone is provided with the first charging port, and the first charging port is connected with the high-level trigger switch module, the charging switch module, the reset switch module and the communication switch module, so that the wireless earphone realizes the integration of a data communication contact and a charging contact into one contact, the contacts of the wireless earphone are reduced, and the wireless earphone is also provided with the first charging port, the charging switch module and the reset switch module which are connected with the high-level trigger switch module, so that when the first charging port receives a charging voltage, the high-level trigger switch module can control the charging switch module and the reset switch module to be in a conducting state so as to control the first control module to be in a reset state all the time and charge a battery of the wireless earphone; when the first charging port does not receive the charging voltage, (for example, when the first charging port receives the data signal or the wireless earphone sends the data signal to the charging box through the first charging port), the charging switch module and the reset switch module are controlled to be in an off state; the first control module is not in a state of being reset continuously, and enters a normal working state, namely, the wireless earphone enters a state of carrying out data communication with the charging box, and the charging box confirms that the wireless earphone is put into the charging box when receiving a data signal sent by the wireless earphone; the wireless earphone can be reset and charged without configuring a sensor for detecting whether the wireless earphone is put into the box or not and a plurality of contacts on the wireless earphone or the charging box, so that the wireless earphone and the charging box are in data communication, and the charging box can obtain the box-in detection result of the wireless earphone.
Alternatively, the communication switch module may include a first communication switch unit and a second communication switch unit. Based on the embodiment shown in fig. 5-2, the first control module is connected with the first communication switch unit and the second communication switch unit, and is used for controlling the first communication switch unit to be in an on state and controlling the second communication switch unit to be in an off state when receiving the data signal sent by the charging box; and when the data signal is sent to the charging box, controlling the first communication switch unit to be in an off state and controlling the second communication switch unit to be in an on state.
Specifically, the first communication switch unit and the second communication switch unit may include a switch tube. For example, as shown in fig. 7, the first and second communication switching units may include a seventh switching tube T7 and an eighth switching tube T8.
The first control module is connected with the seventh switching tube T7 and the eighth switching tube T8, and is used for controlling the seventh switching tube T7 to be in a conducting state and controlling the eighth switching tube T8 to be in an off state when receiving a data signal sent by the charging box; and when a data signal is sent to the charging box, controlling the seventh switching tube T7 to be in an off state and controlling the eighth switching tube T8 to be in an on state.
It should be noted that, in some embodiments of the present application, based on the embodiments shown in fig. 5-2, the first control module may be further connected to a first communication switch unit and a second communication switch unit, and when the first charging port receives a charging voltage, the first communication switch unit and the second communication switch unit are controlled to be in an off state, so as to protect a chip in the wireless earphone from being burned; when the first charging port does not receive the charging voltage, the first communication switch unit and the second communication switch unit are controlled to be in a conducting state, so that the wireless earphone can be converted into a communication mode, and data communication is normally carried out with the charging box.
In the embodiment of the application, the charging switch module and the reset switch module may also include a switch tube.
For example, as shown in fig. 7, the charge switch module may include a second switching tube T2; the reset switch module may include a third switching tube T3; the control end of the second switching tube T2, the control end of the third switching tube T3 and the voltage output end of the high-level trigger switch module are connected together; the first end of the second switching tube T2, the first end of the third switching tube T3 and the voltage input end of the high-level trigger switch module are connected together; the second end of the second switch tube T2 is connected with a battery of the wireless earphone; the second end of the third switching tube T3 is connected with the reset end of the first control module.
When the first charging port receives charging voltage, the second switching tube T2 and the third switching tube T3 are in a conducting state so as to charge a battery of the wireless earphone and control the first control module to be in a reset state; when the first charging port does not receive the charging voltage, the second switching tube T2 and the third switching tube T3 are in an off state.
Optionally, in some embodiments of the present application, the wireless headset may further include a wireless communication module, configured to establish a communication connection with the user terminal, and send status information sent by the charging box and received by the wireless headset to the user terminal, or receive configuration information of the charging box and sent by the user terminal, so that the wireless headset sends the configuration information of the charging box to the charging box, and the charging box completes configuration of the charging box according to the configuration information.
In the embodiment of the application, the state information sent by the charging box received by the wireless earphone may include one or more of the remaining capacity of the charging box, the temperature of the charging box, the remaining charging time of the charging box and the charging speed of the charging box.
In the embodiment of the application, the wireless earphone sends the received state information sent by the charging box to the user terminal, or sends the configuration information of the charging box to the charging box, so that the state of the charging box is monitored and set by a user, and the state update of the charging box is realized.
For example, the wireless headset controls the charging speed of the charging box by transmitting charging speed configuration information of the charging box to the charging box.
A fourth embodiment of the present application provides a charging cartridge. The charging cartridge may be provided with the charging control device of the charging cartridge of each of the above embodiments; alternatively, the above-described charging cartridges may also be charging cartridges for realizing the charging control methods of the above-described respective charging cartridges.
Specifically, as shown in fig. 8, a schematic structural diagram of a charging box according to an embodiment of the present application may include: the second charging port 40, the fourth switching tube T4, the fifth switching tube T5, the sixth switching tube T6, and the second control module 41.
The second charging port 40, the first end of the fourth switching tube T4, the first end of the fifth switching tube T5, and the first end of the sixth switching tube T6 are commonly connected. The second charging port 40 is for outputting a charging voltage, and transmitting and receiving a data signal.
The control end of the fourth switching tube T4, the control end of the fifth switching tube T5, and the control end of the sixth switching tube T6 are respectively connected to the second control module 41. The second terminal of the fourth switching tube T4 is connected to the charging current output terminal 42 of the charging box. The second end of the fifth switching tube T5 is connected to the data transmitting end 43 of the charging cartridge. The second end of the sixth switching tube T6 is connected to the data receiving end 44 of the charging cartridge.
The second control module 41 is configured to control the fourth switching tube T4 to be turned on and control the fifth switching tube T5 and the sixth switching tube T6 to be turned off when the charging box charges and resets the wireless headset. The second control module 41 is further configured to control the fifth switching tube T5 to be turned on and control the fourth switching tube T4 and the sixth switching tube T6 to be turned off when the charging box sends a data signal to the wireless earphone. The second control module 41 is further configured to control the sixth switching tube T6 to be turned on and control the fourth switching tube T4 and the fifth switching tube T5 to be turned off when the charging box receives the data signal sent by the wireless earphone, and to confirm that the wireless earphone is placed in the charging box when the data signal sent by the wireless earphone is received.
In the embodiment of the application, the first end of the fourth switching tube T4, the first end of the fifth switching tube T5 and the first end of the sixth switching tube T6 of the charging box are commonly connected with the second charging port 40, and the on and off of the fifth switching tube T5, the fourth switching tube T4 and the sixth switching tube T6 are controlled by the second control module 41, so that the charging box realizes the integration of a data communication contact and a charging contact into one contact (the second charging port 40), realizes the time-sharing multiplexing of the second charging port 40, and reduces the contacts of the charging box.
Optionally, in some embodiments of the present application, when the charging box charges the wireless earphone, the second control module 41 is further configured to: periodically controlling the fourth switching tube T4 to keep an on state in a first time period, and controlling the fifth switching tube T5 and the sixth switching tube T6 to keep an off state in the first time period; periodically charging the wireless earphone for a first duration; after the wireless earphone is charged for a first time, the fifth switching tube T5 and the sixth switching tube T6 are controlled to be alternately turned on in a second time, and the fourth switching tube T4 is controlled to be kept turned off in the second time; and enabling the charging box to conduct data communication with the wireless earphone for a second time period until the wireless earphone is charged.
Specifically, in some embodiments of the present application, the second control module 41 is further configured to control, when the fourth switching tube T4 is controlled to remain turned off for a second period of time, control the fifth switching tube T5 to be turned on and control the sixth switching tube T6 to be turned off, so as to send the state information of the charging box to the wireless headset, and send the state information to the user terminal that establishes a communication connection with the wireless headset through the wireless headset; or, the sixth switching tube T6 is controlled to be turned on, and the fifth switching tube T5 is controlled to be turned off, so as to receive the configuration information of the charging box sent by the wireless earphone, and the configuration of the charging box is completed according to the configuration information.
Correspondingly, the first charging port of the wireless earphone receives a charging voltage of a first duration, the high-level trigger switch module controls the charging switch module and the reset switch module to keep a conducting state of the first duration so as to charge the battery of the wireless earphone of the first duration, and the first control module is controlled to be in a reset state all the time in the first duration.
After the wireless earphone is charged for the first time, the first charging port of the wireless earphone receives the data signal sent by the charging box or receives the data signal sent by the wireless earphone to the charging box, and at the moment, the first control module is not in a reset state but in a normal working state, so that the first communication switch unit can be controlled to be in a conducting state and the second communication switch unit can be controlled to be in a cutting-off state according to the communication requirement when the data signal sent by the charging box is received; and when the data signal is sent to the charging box, controlling the first communication switch unit to be in an off state and controlling the second communication switch unit to be in an on state.
Optionally, the data signal may carry one or more status information of a remaining power of the charging box, a temperature of the charging box, a remaining charging time of the charging box, and a charging speed of the charging box, and the data signal may carry one or more information of remaining power information of the earphone battery and configuration information of the charging box.
In the embodiment of the application, the charging box sends the state information to the wireless earphone and sends the state information to the user terminal which establishes communication connection with the wireless earphone through the wireless earphone; or receiving the configuration information of the charging box sent by the wireless earphone, and completing the configuration of the charging box according to the configuration information, thereby being beneficial to the user to monitor and set the state of the charging box and realizing the state update of the charging box.
For example, the charging box sets the charging speed of the charging box by receiving the configuration information including the value of the first duration sent by the wireless earphone.
Optionally, before the charging box charges the wireless earphone, the second control unit of the charging box is further configured to detect whether the wireless earphone is placed in the charging box. The second control unit charges the wireless earphone after detecting that the wireless earphone is put into the charging box.
Specifically, the detecting whether the wireless earphone is put into the charging box may include: the fourth switching tube T4 is controlled to be kept in a conducting state in a third duration, and the fifth switching tube T5 and the sixth switching tube T6 are controlled to be kept in a switching-off state in a first duration, so that the wireless earphone put into the charging box is charged and reset; detecting whether a data signal sent by the wireless earphone is received within a fourth duration, and confirming that the wireless earphone is put into the charging box when the data signal sent by the wireless earphone is received; wherein the fourth time period starts to count when the third time period ends.
Because the software program of the wireless earphone is more and more complex, in practical application, the wireless earphone is likely to be in a dead state before being put into the charging box, and in a sleep state, or the situation that the electric quantity value is too low and the like can not send a message to the charging box exists, but the software program of the charging box is relatively simple, and the problem of dead state can not basically occur, so that in order to avoid the situation that the wireless earphone is mistakenly considered to be not put into the charging box because the wireless earphone can not send the message to the charging box after being put into the charging box, in the embodiment of the application, in the process of carrying out box-in detection on the wireless earphone, the charging box needs to output charging voltage with third duration first so as to charge and reset the wireless earphone put into the charging box, and the wireless earphone can normally carry out data communication with the charging box after being put into the charging box, so that the box-in detection precision of the wireless earphone is improved.
The third time period may be a relatively short time period, and may be determined according to an actual test result. For example, the third duration is a period of milliseconds, such as 1ms to 1000ms. The charging voltage may be a high voltage of 4V-5V or more.
In the embodiment of the application, by detecting whether the data signal sent by the wireless earphone is received within the fourth time period and confirming that the wireless earphone is put into the charging box when the data signal sent by the wireless earphone is received, the wireless earphone and the charging box can carry out the box-in detection on the wireless earphone without configuring a sensor for detecting whether the wireless earphone is put into the box, and the design difficulty of the wireless earphone is reduced.
In some embodiments of the present application, the charging box enters a sleep state after receiving a headset battery full-up prompt message sent by the wireless headset to the charging box.
Optionally, after the charging box enters the sleep state, whether the wireless earphone is put into the charging box or not can be detected again at preset time intervals; or detecting whether the wireless earphone leaves the charging box every preset time period, and detecting whether the wireless earphone is put into the charging box again after the wireless earphone leaves the charging box.
Wherein, whether above-mentioned detection wireless earphone has left the charging box includes: the fourth switching tube T4 is controlled to be kept in a conducting state in a third duration, and the fifth switching tube T5 and the sixth switching tube T6 are controlled to be kept in a switching-off state in a first duration, so that the wireless earphone put into the charging box is charged and reset; detecting whether a data signal sent by the wireless earphone is received within a fourth duration, and confirming that the wireless earphone is away from the charging box when the data signal sent by the wireless earphone is not received; wherein the fourth time period starts to count when the third time period ends.
In the embodiment of the application, the first end of the fourth switching tube T4, the first end of the fifth switching tube T5 and the first end of the sixth switching tube T6 of the charging box are commonly connected with the second charging port, and the on and off of the fifth switching tube T5, the fourth switching tube T4 and the sixth switching tube T6 are controlled by the second control module 41, so that the charging box realizes the integration of a data communication contact and a charging contact into one contact (the second charging port), the time-sharing multiplexing of the second charging port is realized, the contacts of the charging box are reduced, and the charging, resetting and the box entering detection of the wireless earphone can be realized; there is no need to provide a sensor on the charging cartridge for detecting whether the wireless headset is in the cartridge.
Optionally, the fifth embodiment of the present application further provides a charging box. The charging cartridge may be provided with the charging control device of the charging cartridge of each of the above embodiments; alternatively, the above-described charging cartridges may also be charging cartridges for realizing the charging control methods of the above-described respective charging cartridges.
Specifically, as shown in fig. 9, the charging box may further include: a processor 90, a memory 91 and a computer program 92 stored in the memory 91 and executable on the processor 90. The steps of the above-described embodiments of the method for charging a wireless headset, such as steps 101 through 102 shown in fig. 1, are implemented by the processor 90 when executing the computer program 92.
The processor 90 may be a central processing unit (Central Processing Unit, CPU), other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The general purpose processor may be a microprocessor, but in the alternative, it may be any conventional processor or the like.
The memory 91 may be an internal storage unit of the charging cartridge 9, for example, a hard disk or a memory. The memory 91 may also be an external storage device for the charging cartridge 9, such as a plug-in hard disk provided on the charging cartridge 9, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), or the like. Further, the memory 91 may also include both an internal storage unit and an external storage device of the charging cartridge 9. The memory 91 is used to store the above-described computer program and other programs and data required for the charging cartridge.
The computer program may be divided into one or more modules/units which are stored in the memory 91 and executed by the processor 90 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing a specific function describing the execution of the computer program in the above-described charging of the wireless headset. For example, the above-described computer program may be divided into: the detection unit and the charging unit have the following specific functions:
The detection unit is used for detecting whether a data signal sent by the wireless earphone is received or not;
and 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-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed charging cartridge and method may be implemented in other manners. For example, the charging cartridge embodiments described above are merely illustrative. For example, the division of a module or unit is merely a logical function division, and there may be another division manner when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, and the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the content of the computer readable medium can be appropriately increased or decreased according to the requirements of the jurisdiction's jurisdiction and the patent practice, for example, in some jurisdictions, the computer readable medium does not include electrical carrier signals and telecommunication signals according to the jurisdiction and the patent practice.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.
Claims (9)
1. A charging control method of a charging cartridge, characterized by comprising:
detecting whether a data signal sent by a wireless earphone is received or not;
when receiving a data signal sent by the wireless earphone, charging the wireless earphone, and in the process of charging the wireless earphone, carrying out data communication with the wireless earphone so as to update the data of the charging box;
before the detecting whether the data signal sent by the wireless earphone is received, the method comprises the following steps:
outputting a charging voltage of a third duration to charge and reset the wireless earphone put into the charging box;
The charge control method further includes:
detecting whether a data signal sent by the wireless earphone is received within a fourth duration, and confirming that the wireless earphone is put into the charging box when the data signal sent by the wireless earphone is received; wherein the fourth time period begins to time when the third time period ends;
when the charging box does not receive the data signal sent by the wireless earphone in the fourth time period, the charging voltage in the third time period is output again after the charging box is at intervals of a preset time period, and whether the data signal sent by the wireless earphone is received in the fourth time period is detected again.
2. The charge control method according to claim 1, wherein the detecting whether a 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.
3. The charge control method according to claim 2, wherein the charging the wireless headset when receiving the data signal transmitted by the wireless headset, and in the process of charging the wireless headset, performing data communication with the wireless headset to perform data update on the charging box, includes:
And 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 with the first duration, and after each time the wireless earphone is charged with the first duration, performing data communication with the wireless earphone with a second duration so as to update the data of the charging box until the wireless earphone is charged, wherein the second duration starts to be timed when the first duration is ended.
4. The charge control method of claim 3, wherein the communicating data with the wireless headset for a second duration to update data for the charging cartridge comprises:
receiving a third data signal output by the wireless earphone; the third data signal carries the information of the residual capacity of the wireless earphone battery;
and updating the first time length to be a first time length determined according to the residual capacity of the wireless earphone battery and/or the residual capacity of the charging box.
5. The charge control method of claim 3, wherein the communicating data with the wireless headset for a second duration to update data for the charging cartridge comprises:
Receiving a third data signal output by the wireless earphone; the third data signal carries the information of the residual capacity of the wireless earphone battery;
if the remaining capacity of the wireless earphone battery is larger than or equal to a first electric capacity threshold value, determining that the wireless earphone is charged, and controlling the charging box to update from a charging state to a sleep state; the first power threshold is less than the power of the wireless headset when full.
6. The charge control method of claim 3, wherein the communicating data with the wireless headset for a second duration to update data for the charging cartridge comprises:
outputting a fourth data signal carrying state information of a charging box to the wireless earphone, and receiving a fifth data signal carrying configuration information generated by a user terminal according to the state information and sent by the wireless earphone;
carrying out parameter configuration on the charging box according to the configuration information; the configuration information comprises charging speed configuration information of the charging box and/or charging duration configuration information of the charging box.
7. A charging control device of a charging cartridge, characterized by comprising:
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;
before the detecting whether the data signal sent by the wireless earphone is received, the method comprises the following steps:
outputting a charging voltage of a third duration to charge and reset the wireless earphone put into the charging box;
the charging control device is further configured to:
detecting whether a data signal sent by the wireless earphone is received within a fourth duration, and confirming that the wireless earphone is put into the charging box when the data signal sent by the wireless earphone is received; wherein the fourth time period begins to time when the third time period ends;
when the charging box does not receive the data signal sent by the wireless earphone in the fourth time period, the charging voltage in the third time period is output again after the charging box is at intervals of a preset time period, and whether the data signal sent by the wireless earphone is received in the fourth time period is detected again.
8. A charging cartridge comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 6 when the computer program is executed.
9. A readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1-6.
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 CN112838645A (en) | 2021-05-25 |
CN112838645B true 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) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113438581A (en) * | 2021-06-30 | 2021-09-24 | 南昌勤胜电子科技有限公司 | Earphone chamber, earphone device, and storage medium |
CN113852885B (en) * | 2021-08-13 | 2024-02-23 | 安克创新科技股份有限公司 | Bluetooth headset charging box, bluetooth headset and data synchronization method |
Citations (16)
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 | 深圳市好上好信息科技有限公司 | Single-line multi-equipment 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广东移动通信有限公司 | Resetting means and system, box, earphone charge |
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 |
-
2021
- 2021-02-09 CN CN202110179183.8A patent/CN112838645B/en active Active
Patent Citations (16)
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 | 深圳市好上好信息科技有限公司 | Single-line multi-equipment 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广东移动通信有限公司 | Resetting means and system, box, earphone charge |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN112838645A (en) | 2021-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112838645B (en) | Charging control method and device for charging box, charging box and readable storage medium | |
CN202797874U (en) | Over-voltage protection circuit and mobile terminal | |
CN112865249B (en) | Charging method and device of wireless earphone, charging box and readable storage medium | |
US9014407B2 (en) | Hearing instrument system with a rechargeable battery | |
CN112865248B (en) | Method and device for detecting box entering of wireless earphone, charging box and readable storage medium | |
EP4068465A1 (en) | Charging method and apparatus, device and storage medium | |
EP3131172A1 (en) | Fast charging method, power source adapter and mobile terminal | |
KR20170056005A (en) | Audio class-compliant charging accessories for wireless headphones and headsets | |
JP2008539690A (en) | Method and apparatus for charging a power supply | |
KR102135606B1 (en) | Fast charging method, power source adapter and mobile terminal | |
CN210536885U (en) | Earphone charging box circuit, earphone charging box, earphone and communication system | |
CN113141568B (en) | State detection method, earphone charging box and storage medium | |
US20150162762A1 (en) | Method and apparatus for controling charging process | |
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 | |
CN105334420A (en) | Information processing method and electronic device | |
CN109950433B (en) | Communication method suitable for battery pack and battery pack | |
CN111130154A (en) | Terminal charging and discharging control method and device, storage medium and electronic device | |
KR20200038244A (en) | Charging device test board, test system and test method | |
EP3101770B1 (en) | Power adapter and terminal | |
EP3119472B1 (en) | Auditory prosthesis system including sound processor and wireless module for communication with an external computing device | |
CN112866861A (en) | Wireless earphone, charging box and charging system | |
CN101584246A (en) | Reduction of data corruption in wireless systems | |
CN210042140U (en) | Wireless earphone, wireless earphone charging box and wireless earphone charging system | |
US11394212B2 (en) | Charging method, terminal, and computer storage medium | |
JP7223835B2 (en) | Command time test method and system, and computer storage medium |
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 |