Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic device according to the embodiment of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like. For convenience of description, the above-mentioned apparatuses are collectively referred to as electronic devices.
The following describes embodiments of the present application in detail.
Referring to fig. 1A, fig. 1A is a schematic structural diagram of a charging box 100 according to an embodiment of the present invention, the charging box 100 is used for charging a first wireless earphone and/or a second wireless earphone, and the charging box 100 includes: a processor 110, and a memory 120 coupled to the processor 110, the charging box 100 further comprising aradio frequency system 130, wherein,
the processor 110 is configured to, when the charging box is in a mobile power mode, as shown in fig. 1B, detect a first power amount of the first wireless headset and a second power amount of the second wireless headset when it is detected that the first wireless headset and the second wireless headset enter the charging box, respectively; and a power difference value for determining the first power and the second power; and the charging strategy is determined according to the electric quantity difference value and is aimed at the first wireless earphone and the second wireless earphone, and the charging strategy is executed.
Wherein the mobile power mode is a wireless connection mode of the charging box.
Wherein the processor 110 includes an application processor and a baseband processor, the processor 110 is a control center of the charging box 100, connects various parts of the entire charging box using various interfaces and lines, performs various functions of the charging box 100 and processes data by running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the charging box 100. The application processor may be a power management chip, mainly processing an operating system, and the like, and the baseband processor mainly processes wireless communication.
The memory 120 may be used to store software programs and modules, and the processor 110 executes various functional applications and data processing of the charging box 100 by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and the like; the storage data area may store data created according to the use of the charging cartridge, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
It can be seen that, in this embodiment of the application, a charging box firstly detects a first electric quantity of a first wireless headset and a second electric quantity of a second wireless headset when the charging box is in a mobile power mode and the first wireless headset and the second wireless headset are detected to enter the charging box, respectively, then an electric quantity difference value between the first electric quantity and the second electric quantity is determined, and finally, a charging policy for the first wireless headset and/or the second wireless headset is determined according to the electric quantity difference value, and the charging policy is executed. It can be known that, when the charging box detects that the first wireless earphone and the second wireless earphone enter the charging box, the charging strategy for the first wireless earphone and the second wireless earphone is determined according to the electric quantity difference value of the first wireless earphone and the second wireless earphone, which is beneficial to improving the adaptability of the scene of charging control, rather than directly charging the two wireless earphones through rated power when detecting that the first wireless earphone and the second wireless earphone enter the charging box, the difference of the two wireless earphones is considered in the charging process, which is beneficial to improving the effectiveness and the intelligence of charging control.
In one possible example, the memory 120 is configured to store a first preset threshold and a second preset threshold;
in respect of the determining a charging strategy for the first wireless headset and/or the second wireless headset according to the power difference, the processor 110 is specifically configured to: when detecting that the electric quantity difference value is larger than the first preset threshold value and the first electric quantity is smaller than the second electric quantity, determining that the charging strategy is to charge the first wireless earphone, and when detecting that the third electric quantity after the first wireless earphone is charged is larger than the second preset threshold value, simultaneously charging the first wireless earphone and the second wireless earphone.
In this possible example, in the aspect that the first wireless earphone and the second wireless earphone are charged simultaneously when it is detected that the third power amount after the charging of the first wireless earphone is greater than the second preset threshold, the processor 110 is specifically configured to: when the third electric quantity of the first wireless earphone is detected to be larger than the second preset threshold value, determining first charging power for charging the first wireless earphone according to the third electric quantity, and determining second charging power for charging the second wireless earphone according to the second electric quantity; and the first wireless earphone and the second wireless earphone are respectively charged according to the first charging power and the second charging power.
In one possible example, the memory 120 is configured to store a first preset threshold and a third preset threshold;
in respect of the determining a charging strategy for the first wireless headset and/or the second wireless headset according to the power difference, the processor 110 is specifically configured to: when the electric quantity difference value is smaller than or equal to a first preset threshold value, acquiring the residual electric quantity of the charging box; and when the residual capacity is detected to be smaller than a third preset threshold value, determining that the charging strategy is to charge the first wireless earphone, wherein the use frequency of the first wireless earphone is higher than that of the second wireless earphone.
In one possible example, the memory 120 is configured to store a first preset threshold, a third preset threshold and a fourth preset threshold;
in respect of the determining a charging strategy for the first wireless headset and/or the second wireless headset according to the power difference, the processor 110 is specifically configured to: when the electric quantity difference value is larger than a first preset threshold value, acquiring the residual electric quantity of the charging box; and when the residual electric quantity is detected to be smaller than a third preset threshold value, predicting a first electric quantity increment of the first wireless earphone and a second electric quantity increment of the second wireless earphone after the residual electric quantity is simultaneously charged to the first wireless earphone and the second wireless earphone; and when the first electric quantity increment and the second electric quantity increment are detected to be smaller than a fourth preset threshold value, determining that the charging strategy is to charge the wireless earphone with high electric quantity in the first wireless earphone and the second wireless earphone.
Referring to fig. 2, fig. 2 is a flowchart illustrating a charging control method according to an embodiment of the present application, applied to the charging box shown in fig. 1A-1B, where the charging box is used to charge a first wireless headset and/or a second wireless headset, and as shown in the figure, the charging control method includes:
s201, when a charging box is in a mobile power supply mode, and when the first wireless earphone and the second wireless earphone are detected to enter the charging box, the charging box respectively detects a first electric quantity of the first wireless earphone and a second electric quantity of the second wireless earphone;
the charging box comprises two modes, the first mode is a mobile power supply mode, the second mode is a wired charging mode, the mobile power supply mode serves as a charging power supply for the charging box to charge the first wireless earphone and the second wireless earphone by using stored electric quantity, the wired charging mode is that the charging box is connected with the charging power supply, and the electric quantity of the charging power supply is received in real time to charge the first wireless earphone and the second wireless earphone.
Wherein the charging box may determine that the first wireless headset and the second wireless headset enter the charging box by detecting an electrical connection signal.
When the charging box is in a wired charging mode and the first wireless earphone and the second wireless earphone are detected to enter the charging box, the charging box charges the first wireless earphone and the second wireless earphone through the maximum rated power.
S202, the charging box determines the difference value of the first electric quantity and the second electric quantity;
and the electric quantity difference value is an absolute value of the electric quantity difference, namely a positive number.
S203, the charging box determines a charging strategy aiming at the first wireless earphone and/or the second wireless earphone according to the electric quantity difference value, and executes the charging strategy.
The charging policy may be a policy of charging only the first wireless headset according to the electric quantity difference, or may be a policy of simultaneously charging the first wireless headset and the second wireless headset according to the electric quantity difference, or a policy of determining a charging time period for each wireless headset by the charging box according to the electric quantity difference, which is not limited herein.
For example, when the electric quantity difference is smaller, for example, smaller than a first preset threshold, because the electric quantity difference between the two wireless headsets is smaller, there is no need for differentiated charging, and therefore, the charging policy may be to charge the two wireless headsets at the same time.
It can be seen that, in this embodiment of the application, a charging box firstly detects a first electric quantity of a first wireless headset and a second electric quantity of a second wireless headset when the charging box is in a mobile power mode and the first wireless headset and the second wireless headset are detected to enter the charging box, respectively, then an electric quantity difference value between the first electric quantity and the second electric quantity is determined, and finally, a charging policy for the first wireless headset and/or the second wireless headset is determined according to the electric quantity difference value, and the charging policy is executed. It can be known that, when the charging box detects that the first wireless earphone and the second wireless earphone enter the charging box, the charging strategy for the first wireless earphone and the second wireless earphone is determined according to the electric quantity difference value of the first wireless earphone and the second wireless earphone, which is beneficial to improving the adaptability of the scene of charging control, rather than directly charging the two wireless earphones through rated power when detecting that the first wireless earphone and the second wireless earphone enter the charging box, the difference of the two wireless earphones is considered in the charging process, which is beneficial to improving the effectiveness and the intelligence of charging control.
In one possible example, the determining a charging policy for the first wireless headset and/or the second wireless headset according to the power difference value comprises:
when detecting that the electric quantity difference value is larger than a first preset threshold value and the first electric quantity is smaller than the second electric quantity, determining that the charging strategy is to charge the first wireless earphone, and when detecting that a third electric quantity after the first wireless earphone is charged is larger than a second preset threshold value, simultaneously charging the first wireless earphone and the second wireless earphone.
The first preset threshold may be 30% or 40%, which is not limited herein, for example, when the first preset threshold is 30%, the first electrical quantity is 10%, and the second electrical quantity is 50%, the electrical quantity difference is 40%, which is greater than the first preset threshold.
The second preset threshold may be 50%, 60%, etc., and is not limited herein.
When the charging box charges the first wireless earphone, a prompt message can be displayed through the charging box, the prompt message is used for indicating the first wireless earphone which is being charged, or the charging box can inform the electronic device of the earphone which is being charged through communication between the charging box and the user electronic device, the prompt message is displayed by the electronic device, or the first wireless earphone can inform the electronic device that the first wireless earphone is being charged through communication between the wireless earphone and the electronic device, and the prompt message is displayed by the electronic device.
Wherein the method further comprises: and when the fact that the electric quantity difference value is larger than a first preset threshold value is detected, informing a user of the first electric quantity of the first wireless earphone and the second electric quantity of the second wireless earphone, and selecting the wireless earphone which needs to be charged currently by the user.
It can be seen that, in this example, the wireless headset that the electric quantity is little is charged to the box that charges when detecting that the electric quantity difference is greater than first preset threshold value, and because the electric quantity difference is great, therefore the second wireless headset still has certain electric quantity when charging, consequently, guarantees that the user can normally use the second wireless headset before the first wireless headset charges and accomplishes, is favorable to promoting the rationality of charging control.
In this possible example, the simultaneously charging the first wireless headset and the second wireless headset when it is detected that the third amount of power charged by the first wireless headset is greater than a second preset threshold includes:
when the third electric quantity of the first wireless earphone is detected to be larger than the second preset threshold value, determining first charging power for charging the first wireless earphone according to the third electric quantity, and determining second charging power for charging the second wireless earphone according to the second electric quantity;
and respectively charging the first wireless earphone and the second wireless earphone according to the first charging power and the second charging power.
It can be seen that, in this example, the third electric quantity that the box that charges makes the first wireless earphone charge after is greater than the second and predetermines the threshold value for first wireless earphone, charge for two wireless earphones simultaneously again, when first wireless earphone is the third electric quantity, guaranteed that the user can use two earphones simultaneously at any time, and, when charging for two wireless earphones simultaneously, confirm different charging power according to the electric quantity that two earphones are different, be favorable to promoting the rationality of charging power distribution, but not use the maximum rated power simultaneously, be favorable to reducing power consumption, and, effectively guaranteed that the electric quantity difference value of two wireless earphones is less, make the user can use two wireless earphones simultaneously for a long time, the audio when having guaranteed the user and using wireless earphone.
In one possible example, the determining a charging policy for the first wireless headset and/or the second wireless headset according to the power difference value comprises:
when the electric quantity difference value is smaller than or equal to a first preset threshold value, acquiring the residual electric quantity of the charging box;
when the fact that the residual capacity is smaller than a third preset threshold value is detected, determining that the charging strategy is to charge the first wireless earphone, wherein the use frequency of the first wireless earphone is higher than that of the second wireless earphone.
The third preset threshold may be 20%, 25%, etc., and is not limited herein.
The specific implementation manner of determining the usage frequency of the first wireless headset and the usage frequency of the second wireless headset by the charging box may be various, for example, the number of times that the first wireless headset and the second wireless headset are taken out of the charging box by a user in a preset time period is acquired in a historical usage record, the usage frequency is determined according to the number of times, or the number of times that the electric quantity is less than a fifth preset threshold when the first wireless headset or the second wireless headset is charged in the historical usage record, the usage frequency is determined according to the number of times, and the like, which is not limited herein.
It can be seen that, in this example, when the difference value of the detected electric quantity of the charging box is smaller than the first preset threshold value, the remaining electric quantity of the charging box is determined, when the remaining electric quantity is smaller than the third preset threshold value, because the current electric quantity is insufficient, if two wireless earphones are charged at the same time, the electric quantity of the two earphones is not increased greatly, and the two earphones can still not be used normally.
In one possible example, the determining a charging policy for the first wireless headset and/or the second wireless headset according to the power difference value comprises:
when the electric quantity difference value is larger than a first preset threshold value, acquiring the residual electric quantity of the charging box;
when the fact that the residual electric quantity is smaller than a third preset threshold value is detected, predicting a first electric quantity increment of the first wireless earphone and a second electric quantity increment of the second wireless earphone after the residual electric quantity is used for simultaneously charging the first wireless earphone and the second wireless earphone;
when it is detected that both the first electric quantity increment and the second electric quantity increment are smaller than a fourth preset threshold value, determining that the charging strategy is to charge a wireless earphone with high electric quantity in the first wireless earphone and the second wireless earphone.
The fourth preset threshold is 10%, 15%, etc., and is not limited herein.
It can be seen that, in this example, when the charging box detects that the electric quantity difference is greater than the first preset threshold value and the remaining electric quantity of the charging box is less than the third preset threshold value, the electric quantity that can be increased by the first wireless earphone and the second wireless earphone is predicted when the remaining electric quantity of the charging box is calculated and charged by the first wireless earphone and the second wireless earphone at the same time, when the first electric quantity increment and the second electric quantity increment are smaller, only the wireless earphones with a large electric quantity are charged, and the situation that after two earphones are charged at the same time, the two earphones still have a smaller electric quantity and a shorter service life is avoided.
Referring to fig. 3, fig. 3 is a schematic flowchart of a charging control method provided by an embodiment of the present application, applied to the charging box shown in fig. 1A-1B, where the charging box is used to charge the first wireless headset and/or the second wireless headset, and as shown in the figure, the method includes:
s301, when the charging box is in a mobile power supply mode, and when the first wireless earphone and the second wireless earphone are detected to enter the charging box, the charging box respectively detects a first electric quantity of the first wireless earphone and a second electric quantity of the second wireless earphone.
S302, the charging box determines the difference value of the first electric quantity and the second electric quantity.
And S303, when the charging box detects that the electric quantity difference value is larger than a first preset threshold value and the first electric quantity is smaller than the second electric quantity, the charging box determines a charging strategy and executes the charging strategy to charge the first wireless earphone.
S304, when detecting that the third electric quantity after the first wireless earphone is charged is larger than a second preset threshold value, the charging box determines a first charging power for charging the first wireless earphone according to the third electric quantity, and determines a second charging power for charging the second wireless earphone according to the second electric quantity.
S305, the charging box charges the first wireless earphone and the second wireless earphone according to the first charging power and the second charging power respectively.
It can be seen that, in this embodiment of the application, a charging box firstly detects a first electric quantity of a first wireless headset and a second electric quantity of a second wireless headset when the charging box is in a mobile power mode and the first wireless headset and the second wireless headset are detected to enter the charging box, respectively, then an electric quantity difference value between the first electric quantity and the second electric quantity is determined, and finally, a charging policy for the first wireless headset and/or the second wireless headset is determined according to the electric quantity difference value, and the charging policy is executed. It can be known that, when the charging box detects that the first wireless earphone and the second wireless earphone enter the charging box, the charging strategy for the first wireless earphone and the second wireless earphone is determined according to the electric quantity difference value of the first wireless earphone and the second wireless earphone, which is beneficial to improving the adaptability of the scene of charging control, rather than directly charging the two wireless earphones through rated power when detecting that the first wireless earphone and the second wireless earphone enter the charging box, the difference of the two wireless earphones is considered in the charging process, which is beneficial to improving the effectiveness and the intelligence of charging control.
In addition, the box that charges when detecting the electric quantity difference and being greater than first preset threshold value, charges to wherein the wireless earphone that the electric quantity is little, and because the electric quantity difference is great, therefore the wireless earphone of second still has certain electric quantity when charging, consequently, guarantees that the user can normal use wireless earphone of second before first wireless earphone charges and accomplishes, is favorable to promoting the rationality of charging control.
In addition, the charging box is when charging for first wireless earphone and making the third electric quantity after first wireless earphone charges be greater than the second and predetermine the threshold value, charge for two wireless earphones simultaneously again, when first wireless earphone is the third electric quantity, guaranteed that the user can use two earphones simultaneously at any time, and, when charging for two wireless earphones simultaneously, confirm different charging power according to the electric quantity that two earphones are different, be favorable to promoting charging power distribution's rationality, but not use the maximum rated power simultaneously, be favorable to reducing power consumption, and, effectively, the electric quantity difference value of having guaranteed two wireless earphones is less, make the user can use two wireless earphones simultaneously for a long time, the audio when having guaranteed the user and using wireless earphone.
Referring to fig. 4, fig. 4 is a flowchart illustrating a charging control method according to an embodiment of the present application, applied to the charging box shown in fig. 1A-1B, where the charging box is used to charge the first wireless headset and/or the second wireless headset. As shown in the figure, the charging control method includes:
s401, when the charging box is in a mobile power supply mode, and when the first wireless earphone and the second wireless earphone are detected to enter the charging box, the charging box respectively detects a first electric quantity of the first wireless earphone and a second electric quantity of the second wireless earphone.
S402, the charging box determines the difference value of the first electric quantity and the second electric quantity.
And S403, when the charging box detects that the electric quantity difference value is larger than a first preset threshold value, acquiring the residual electric quantity of the charging box.
S404, when the charging box detects that the residual electric quantity is smaller than a third preset threshold value, predicting a first electric quantity increment of the first wireless earphone and a second electric quantity increment of the second wireless earphone after the residual electric quantity is simultaneously charged to the first wireless earphone and the second wireless earphone.
S405, when the charging box detects that the first electric quantity increment and the second electric quantity increment are both smaller than a fourth preset threshold value, determining a charging strategy to charge the wireless earphone with high electric quantity in the first wireless earphone and the second wireless earphone.
S406, the charging box executes the charging strategy.
It can be seen that, in this embodiment of the application, a charging box firstly detects a first electric quantity of a first wireless headset and a second electric quantity of a second wireless headset when the charging box is in a mobile power mode and the first wireless headset and the second wireless headset are detected to enter the charging box, respectively, then an electric quantity difference value between the first electric quantity and the second electric quantity is determined, and finally, a charging policy for the first wireless headset and/or the second wireless headset is determined according to the electric quantity difference value, and the charging policy is executed. It can be known that, when the charging box detects that the first wireless earphone and the second wireless earphone enter the charging box, the charging strategy for the first wireless earphone and the second wireless earphone is determined according to the electric quantity difference value of the first wireless earphone and the second wireless earphone, which is beneficial to improving the adaptability of the scene of charging control, rather than directly charging the two wireless earphones through rated power when detecting that the first wireless earphone and the second wireless earphone enter the charging box, the difference of the two wireless earphones is considered in the charging process, which is beneficial to improving the effectiveness and the intelligence of charging control.
In addition, the charging box detects that the electric quantity difference value is greater than a first preset threshold value, and when the residual electric quantity of the charging box is less than a third preset threshold value, when the residual electric quantity of the charging box is predicted and calculated and simultaneously the first wireless earphone and the second wireless earphone are charged, the electric quantity which can be increased by the first wireless earphone and the second wireless earphone is reduced, when the first electric quantity increment and the second electric quantity increment are reduced, only the wireless earphones with a large electric quantity are charged, the situation that after the two earphones are charged simultaneously, the two earphones still have a small electric quantity and short service time is avoided, in addition, the earphones with a large electric quantity are charged, the electric quantity of at least one earphone is ensured to be high, and the duration of the wireless earphones is prolonged.
In accordance with the embodiments shown in fig. 2, fig. 3, and fig. 4, please refer to fig. 5, and fig. 5 is a schematic structural diagram of a charging box for charging a first wireless headset and/or a second wireless headset according to an embodiment of the present application, and as shown, the charging box includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for performing the following steps;
when the charging box is in a mobile power supply mode, when the first wireless earphone and the second wireless earphone are detected to enter the charging box, respectively detecting a first electric quantity of the first wireless earphone and a second electric quantity of the second wireless earphone;
determining a power difference between the first power and the second power;
determining a charging strategy for the first wireless headset and/or the second wireless headset according to the electric quantity difference value, and executing the charging strategy.
It can be seen that, in this embodiment of the application, a charging box firstly detects a first electric quantity of a first wireless headset and a second electric quantity of a second wireless headset when the charging box is in a mobile power mode and the first wireless headset and the second wireless headset are detected to enter the charging box, respectively, then an electric quantity difference value between the first electric quantity and the second electric quantity is determined, and finally, a charging policy for the first wireless headset and/or the second wireless headset is determined according to the electric quantity difference value, and the charging policy is executed. It can be known that, when the charging box detects that the first wireless earphone and the second wireless earphone enter the charging box, the charging strategy for the first wireless earphone and the second wireless earphone is determined according to the electric quantity difference value of the first wireless earphone and the second wireless earphone, which is beneficial to improving the adaptability of the scene of charging control, rather than directly charging the two wireless earphones through rated power when detecting that the first wireless earphone and the second wireless earphone enter the charging box, the difference of the two wireless earphones is considered in the charging process, which is beneficial to improving the effectiveness and the intelligence of charging control.
In one possible example, in the determining a charging policy for the first wireless headset and/or the second wireless headset according to the power difference value, the instructions in the program are specifically configured to: when detecting that the electric quantity difference value is larger than a first preset threshold value and the first electric quantity is smaller than the second electric quantity, determining that the charging strategy is to charge the first wireless earphone, and when detecting that a third electric quantity after the first wireless earphone is charged is larger than a second preset threshold value, simultaneously charging the first wireless earphone and the second wireless earphone.
In this possible example, in the aspect of charging the first wireless headset and the second wireless headset simultaneously when it is detected that the third amount of power charged by the first wireless headset is greater than a second preset threshold, the instructions in the program are specifically configured to: when the third electric quantity of the first wireless earphone is detected to be larger than the second preset threshold value, determining first charging power for charging the first wireless earphone according to the third electric quantity, and determining second charging power for charging the second wireless earphone according to the second electric quantity; and the first wireless earphone and the second wireless earphone are respectively charged according to the first charging power and the second charging power.
In one possible example, in the determining a charging policy for the first wireless headset and/or the second wireless headset according to the power difference value, the instructions in the program are specifically configured to: when the electric quantity difference value is smaller than or equal to a first preset threshold value, acquiring the residual electric quantity of the charging box; and when the residual capacity is detected to be smaller than a third preset threshold value, determining that the charging strategy is to charge the first wireless earphone, wherein the use frequency of the first wireless earphone is higher than that of the second wireless earphone.
In one possible example, in the determining a charging policy for the first wireless headset and/or the second wireless headset according to the power difference value, the instructions in the program are specifically configured to: when the electric quantity difference value is larger than a first preset threshold value, acquiring the residual electric quantity of the charging box; and when the residual electric quantity is detected to be smaller than a third preset threshold value, predicting a first electric quantity increment of the first wireless earphone and a second electric quantity increment of the second wireless earphone after the residual electric quantity is simultaneously charged to the first wireless earphone and the second wireless earphone; and when the first electric quantity increment and the second electric quantity increment are detected to be smaller than a fourth preset threshold value, determining that the charging strategy is to charge the wireless earphone with high electric quantity in the first wireless earphone and the second wireless earphone.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is to be understood that the charging box includes hardware structures and/or software modules corresponding to the respective functions in order to implement the above-described functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware 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 embodiment of the present application, the charging box may be divided into the functional units according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 6 is a block diagram showing functional units of acharge control device 600 according to an embodiment of the present application. The chargingcontrol apparatus 600 is applied to a charging box for charging a first wireless earphone and/or a second wireless earphone, the chargingcontrol apparatus 600 includes adetection unit 601, adetermination unit 602, and acontrol unit 603, wherein,
the detectingunit 601 is configured to detect a first electric quantity of the first wireless headset and a second electric quantity of the second wireless headset when the first wireless headset and the second wireless headset are detected to enter the charging box when the charging box is in a mobile power mode;
the determiningunit 602 is configured to determine a power difference between the first power and the second power;
thecontrol unit 603 is configured to determine a charging policy for the first wireless headset and/or the second wireless headset according to the power difference, and execute the charging policy.
It can be seen that, in this embodiment of the application, a charging box firstly detects a first electric quantity of a first wireless headset and a second electric quantity of a second wireless headset when the charging box is in a mobile power mode and the first wireless headset and the second wireless headset are detected to enter the charging box, respectively, then an electric quantity difference value between the first electric quantity and the second electric quantity is determined, and finally, a charging policy for the first wireless headset and/or the second wireless headset is determined according to the electric quantity difference value, and the charging policy is executed. It can be known that, when the charging box detects that the first wireless earphone and the second wireless earphone enter the charging box, the charging strategy for the first wireless earphone and the second wireless earphone is determined according to the electric quantity difference value of the first wireless earphone and the second wireless earphone, which is beneficial to improving the adaptability of the scene of charging control, rather than directly charging the two wireless earphones through rated power when detecting that the first wireless earphone and the second wireless earphone enter the charging box, the difference of the two wireless earphones is considered in the charging process, which is beneficial to improving the effectiveness and the intelligence of charging control.
In one possible example, in terms of determining a charging strategy for the first wireless headset and/or the second wireless headset according to the power difference value, thecontrol unit 603 is specifically configured to: when detecting that the electric quantity difference value is larger than a first preset threshold value and the first electric quantity is smaller than the second electric quantity, determining that the charging strategy is to charge the first wireless earphone, and when detecting that a third electric quantity after the first wireless earphone is charged is larger than a second preset threshold value, simultaneously charging the first wireless earphone and the second wireless earphone.
In this possible example, in terms of simultaneously charging the first wireless headset and the second wireless headset when it is detected that the third power amount after charging the first wireless headset is greater than a second preset threshold, thecontrol unit 603 is specifically configured to: when the third electric quantity of the first wireless earphone is detected to be larger than the second preset threshold value, determining first charging power for charging the first wireless earphone according to the third electric quantity, and determining second charging power for charging the second wireless earphone according to the second electric quantity; and the first wireless earphone and the second wireless earphone are respectively charged according to the first charging power and the second charging power.
In one possible example, in terms of determining a charging strategy for the first wireless headset and/or the second wireless headset according to the power difference value, thecontrol unit 603 is specifically configured to: when the electric quantity difference value is smaller than or equal to a first preset threshold value, acquiring the residual electric quantity of the charging box; and when the residual capacity is detected to be smaller than a third preset threshold value, determining that the charging strategy is to charge the first wireless earphone, wherein the use frequency of the first wireless earphone is higher than that of the second wireless earphone.
In one possible example, in terms of determining a charging strategy for the first wireless headset and/or the second wireless headset according to the power difference value, thecontrol unit 603 is specifically configured to: when the electric quantity difference value is larger than a first preset threshold value, acquiring the residual electric quantity of the charging box; and when the residual electric quantity is detected to be smaller than a third preset threshold value, predicting a first electric quantity increment of the first wireless earphone and a second electric quantity increment of the second wireless earphone after the residual electric quantity is simultaneously charged to the first wireless earphone and the second wireless earphone; and when the first electric quantity increment and the second electric quantity increment are detected to be smaller than a fourth preset threshold value, determining that the charging strategy is to charge the wireless earphone with high electric quantity in the first wireless earphone and the second wireless earphone.
Wherein the detectingunit 601 and the controllingunit 603 may be a processor or a transceiver, and the determiningunit 602 may be a processor.
As shown in fig. 7, fig. 7 is a schematic structural view of anothercharging box 700 disclosed in the embodiment of the present application. Thecharging box 700 may include control circuitry, which may include storage andprocessing circuitry 730. The storage andprocessing circuit 730 may be a memory, such as a hard disk drive memory, a non-volatile memory (e.g., a flash memory or other electronically programmable read only memory used to form a solid state drive, etc.), a volatile memory (e.g., a static or dynamic random access memory, etc.), etc., and the embodiments of the present application are not limited thereto. Processing circuitry in the storage andprocessing circuitry 730 may be used to control the operation of thecharging box 700. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage andprocessing circuitry 730 may be used to run operating system functions in thecharging box 700, perform control operations, such as touch event detection based on touch sensors, charge data acquisition events for the device being charged, operations associated with performing wireless communication functions, control operations associated with collecting and processing button press event data, and other functions in thecharging box 700, and the like, and embodiments of the present application are not limited thereto.
Thecharging box 700 may further include an input-output circuit 740. The input-output circuit 740 may be used to enable thecharging box 700 to input and output data, i.e., to allow thecharging box 700 to receive data from an external device and also to allow thecharging box 700 to output data from thecharging box 700 to an external device.
Thecommunication circuit 741 may be used to provide thecharging box 700 with the capability to communicate with external devices. Thecommunication circuitry 741 may include analog and digital input-output interface circuitry, and wireless communication circuitry based on radio frequency signals and/or optical signals. The wireless communication circuitry incommunication circuitry 741 may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless Communication circuitry in theCommunication circuitry 741 may include circuitry to support Near Field Communication (NFC) by transmitting and receiving Near Field coupled electromagnetic signals. For example, thecommunication circuit 741 may include a near field communication antenna and a near field communication transceiver. Thecommunications circuitry 741 may also include cellular telephone transceivers and antennas, wireless local area network transceiver circuitry and antennas, and so forth.
Thecharging box 700 may further include a battery, a power management circuit, and other input-output units 742. The input-output unit 742 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, and the like.
A user may input commands through the input-output circuitry 742 to control operation of thecharging box 700 and may use the output data of the input-output circuitry 742 to enable receiving status information and other outputs from thecharging box 700.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods as described in the above method embodiments.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.