CN113890150A - Earphone charging method and device - Google Patents

Earphone charging method and device Download PDF

Info

Publication number
CN113890150A
CN113890150A CN202111166205.3A CN202111166205A CN113890150A CN 113890150 A CN113890150 A CN 113890150A CN 202111166205 A CN202111166205 A CN 202111166205A CN 113890150 A CN113890150 A CN 113890150A
Authority
CN
China
Prior art keywords
battery
equipment
charging
battery voltage
contact
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111166205.3A
Other languages
Chinese (zh)
Other versions
CN113890150B (en
Inventor
廖建文
李长飞
白杨
陈永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shenzhen Co ltd
Original Assignee
Spreadtrum Communications Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Spreadtrum Communications Shenzhen Co ltd filed Critical Spreadtrum Communications Shenzhen Co ltd
Priority to CN202111166205.3A priority Critical patent/CN113890150B/en
Publication of CN113890150A publication Critical patent/CN113890150A/en
Application granted granted Critical
Publication of CN113890150B publication Critical patent/CN113890150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • H02J7/0045Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction concerning the insertion or the connection of the batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0068Battery or charger load switching, e.g. concurrent charging and load supply
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/00714Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1025Accumulators or arrangements for charging
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

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

Abstract

The embodiment of the application provides a method and a device for charging an earphone, wherein the method comprises the following steps: when any one of the discharging contacts is detected to contact the charging contact of the second device, the battery voltage of the second device and the battery voltage of the first device are acquired. And acquiring the charging state of the first equipment, wherein the charging state of the first equipment comprises charging and non-charging. And if the charging state of the first device is uncharged and the battery voltage of the second device is less than the battery voltage of the first device, controlling the battery of the first device to charge the battery of the second device. Through set up the contact that discharges in first equipment, later contact through the contact that discharges of the contact that charges of second equipment and first equipment to make the battery that realizes first equipment charge to the battery of second equipment, consequently first equipment realizes the charging to the second equipment, thereby can effectively promote the use of earphone and the convenience of carrying.

Description

Earphone charging method and device
Technical Field
The embodiment of the application relates to an automatic control technology, in particular to an earphone charging method and device.
Background
With the continuous development of related technologies of electronic products, True Wireless Stereo (TWS) headsets are also widely used.
The TWS earphone is an earphone which plays sound by utilizing a Bluetooth technology, a special charging bin is usually arranged for the TWS earphone when the TWS earphone is charged in the prior art, and the TWS earphone is placed into the charging bin, so that the charging of the TWS earphone can be realized.
However, the dedicated arrangement of the charging chamber to enable charging of the TWS headset may result in a lack of convenience in use and carrying of the headset.
Disclosure of Invention
The embodiment of the application provides an earphone charging method and device, and aims to solve the problem that convenience is lacked in use and carrying of an earphone.
In a first aspect, an embodiment of the present application provides an earphone charging method, which is applied to a first device, where the first device includes a battery, and at least one discharging contact is provided in the first device, and the method includes:
when any one of the discharging contacts is detected to be in contact with a charging contact of second equipment, acquiring the battery voltage of the second equipment and the battery voltage of the first equipment;
acquiring the charging state of the first equipment, wherein the charging state of the first equipment comprises charging and non-charging;
and if the charging state of the first equipment is uncharged and the battery voltage of the second equipment is less than the battery voltage of the first equipment, controlling the battery of the first equipment to charge the battery of the second equipment.
In one possible design, after the controlling the battery of the first device to charge the battery of the second device, the method further includes:
if the charging state of the first equipment is detected to be changed from non-charging to charging, controlling the battery of the first equipment to stop charging the battery of the second equipment;
displaying first prompt information on a screen of the first device, wherein the first prompt information is used for prompting the second device to stop charging.
In one possible design, after the controlling the battery of the first device to charge the battery of the second device, the method further includes:
if the battery voltage of the second equipment is detected to be greater than or equal to the battery voltage of the first equipment, controlling the battery of the first equipment to suspend charging to the battery of the second equipment;
after a first preset time, acquiring the battery voltage of the second device and the battery voltage of the first device;
if the battery voltage of the second equipment is less than the battery voltage of the first equipment, controlling the battery of the first equipment to continuously charge the battery of the second equipment; alternatively, the first and second electrodes may be,
if the battery voltage of the second device is greater than or equal to the battery voltage of the first device, the operations of obtaining the battery voltage of the second device and the battery voltage of the first device after the first preset time period are repeatedly executed until the battery voltage of the second device is determined to be less than the battery voltage of the first device, or until the time period that the battery voltage of the second device is greater than or equal to the battery voltage of the first device exceeds a second preset time period.
In one possible design, if it is determined that the duration in which the battery voltage of the second device is greater than or equal to the battery voltage of the first device exceeds a second preset duration, the method further includes:
controlling a battery of the first device to stop charging a battery of the second device;
and displaying second prompt information on the screen of the first equipment, wherein the second prompt information is used for prompting the second equipment to stop charging.
In one possible design, the method further includes:
acquiring the battery capacity of the second equipment, and displaying the battery capacity of the second equipment on a screen of the first equipment;
if the battery capacity of the second equipment reaches the preset battery capacity, controlling the battery of the first equipment to stop charging the second equipment;
displaying third prompt information on a screen of the first device, wherein the third prompt information is used for indicating that the charging of the second device is completed.
In one possible design, the edge of the first device is provided with at least one opening in which the discharge contact is arranged.
In one possible design, the discharge contact of the first device and the charging contact of the second device are connected by magnetic attraction.
In one possible design, a detachable rubber plug is arranged in the opening; or a movable spring piece is arranged in the opening.
In a second aspect, an embodiment of the present application provides an earphone charging apparatus, which is applied to a first device, where the first device includes a battery, and at least one discharging contact is disposed in the first device, and includes:
the first acquisition module is used for acquiring the battery voltage of the second equipment and the battery voltage of the first equipment when any one of the discharge contacts is detected to be contacted with a charging contact of the second equipment;
the second acquisition module is used for acquiring the charging state of the first equipment, wherein the charging state of the first equipment comprises charging state and non-charging state;
and the control module is used for controlling the battery of the first device to charge the battery of the second device if the charging state of the first device is uncharged and the battery voltage of the second device is less than the battery voltage of the first device.
In one possible design, after the controlling the battery of the first device to charge the battery of the second device, the control module is further configured to:
if the charging state of the first equipment is detected to be changed from non-charging to charging, controlling the battery of the first equipment to stop charging the battery of the second equipment;
displaying first prompt information on a screen of the first device, wherein the first prompt information is used for prompting the second device to stop charging.
In one possible design, after the controlling the battery of the first device to charge the battery of the second device, the control module is further configured to:
if the battery voltage of the second equipment is detected to be greater than or equal to the battery voltage of the first equipment, controlling the battery of the first equipment to suspend charging to the battery of the second equipment;
after a first preset time, acquiring the battery voltage of the second device and the battery voltage of the first device;
if the battery voltage of the second equipment is less than the battery voltage of the first equipment, controlling the battery of the first equipment to continuously charge the battery of the second equipment; alternatively, the first and second electrodes may be,
if the battery voltage of the second device is greater than or equal to the battery voltage of the first device, the operations of obtaining the battery voltage of the second device and the battery voltage of the first device after the first preset time period are repeatedly executed until the battery voltage of the second device is determined to be less than the battery voltage of the first device, or until the time period that the battery voltage of the second device is greater than or equal to the battery voltage of the first device exceeds a second preset time period.
In a possible design, if it is determined that the duration in which the battery voltage of the second device is greater than or equal to the battery voltage of the first device exceeds a second preset duration, the control module is further configured to:
controlling a battery of the first device to stop charging a battery of the second device;
and displaying second prompt information on the screen of the first equipment, wherein the second prompt information is used for prompting the second equipment to stop charging.
In one possible design, the control module is further configured to:
acquiring the battery capacity of the second equipment, and displaying the battery capacity of the second equipment on a screen of the first equipment;
if the battery capacity of the second equipment reaches the preset battery capacity, controlling the battery of the first equipment to stop charging the second equipment;
displaying third prompt information on a screen of the first device, wherein the third prompt information is used for indicating that the charging of the second device is completed.
In one possible design, the edge of the first device is provided with at least one opening in which the discharge contact is arranged.
In one possible design, the discharge contact of the first device and the charging contact of the second device are connected by magnetic attraction.
In one possible design, a detachable rubber plug is arranged in the opening; or a movable spring piece is arranged in the opening.
In a third aspect, an embodiment of the present application provides an earphone charging device, including:
a memory for storing a program;
a processor for executing the program stored by the memory, the processor being adapted to perform the method as described above in the first aspect and any one of the various possible designs of the first aspect when the program is executed.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, comprising instructions which, when executed on a computer, cause the computer to perform the method as described above in the first aspect and any one of the various possible designs of the first aspect.
In a fifth aspect, the present application provides a computer program product, including a computer program, wherein the computer program is configured to, when executed by a processor, implement the method according to the first aspect and any one of various possible designs of the first aspect.
The embodiment of the application provides a method and a device for charging an earphone, wherein the method comprises the following steps: when any one of the discharging contacts is detected to contact the charging contact of the second device, the battery voltage of the second device and the battery voltage of the first device are acquired. And acquiring the charging state of the first equipment, wherein the charging state of the first equipment comprises charging and non-charging. And if the charging state of the first device is uncharged and the battery voltage of the second device is less than the battery voltage of the first device, controlling the battery of the first device to charge the battery of the second device. Through set up the contact that discharges in first equipment, later through the contact that discharges of the contact that charges of second equipment and first equipment, so that be uncharged at the charged state of first equipment, when the battery voltage of second equipment is less than the battery voltage of first equipment simultaneously, realize that the battery of first equipment charges to the battery of second equipment, the security of battery when the second equipment charges can effectively be guaranteed to the charging process introduced simultaneously, through realizing the charging to second equipment based on first equipment, thereby can effectively promote the use of earphone and the convenience of carrying.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic diagram of an implementation of a charging bin provided in an embodiment of the present application;
fig. 2 is a flowchart of an earphone charging method according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an implementation of determining a charging state according to an embodiment of the present application;
fig. 4 is a second flowchart of a charging method for an earphone according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a charging module according to an embodiment of the present disclosure;
fig. 6 is a schematic front view of a device for charging a second device by a first device according to an embodiment of the present disclosure;
fig. 7 is a schematic back view of a device in which a first device charges a second device according to an embodiment of the present disclosure;
fig. 8 is a schematic front view of a first device when no charging is provided according to an embodiment of the present disclosure;
fig. 9 is a schematic back view of a first device when no charging is provided according to an embodiment of the present disclosure;
FIG. 10 is a schematic side view of an apparatus including an opening of a first apparatus provided in an embodiment of the present application;
fig. 11 is a left side schematic view of a first apparatus provided in an embodiment of the present application;
fig. 12 is a right-side schematic view of a first apparatus provided in an embodiment of the present application;
fig. 13 is a schematic view of the underside of a first apparatus provided in an embodiment of the present application;
fig. 14 is a schematic view of an embodiment of the present application showing a rubber stopper not inserted into an opening;
fig. 15 is a schematic view of an implementation of a rubber stopper insertion opening provided in the embodiments of the present application;
FIG. 16 is a schematic view of an embodiment of the present application showing a spring plate not being sprung open;
FIG. 17 is a schematic view of an embodiment of the present application showing a spring plate being sprung open;
fig. 18 is a schematic structural diagram of an earphone charging device according to an embodiment of the present application;
fig. 19 is a schematic diagram of a hardware structure of an earphone charging device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 some embodiments of the present application, but not all 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.
In order to better understand the technical solution of the present application, the related art related to the present application will be further described in detail below.
In the field of current electronic products, as the requirements of first equipment such as mobile phones and flat-panel earphones are thinner and thinner, and the waterproof performance of the first equipment needs to be considered, 3.5mm jack earphones or type-C earphones are gradually eliminated, and accordingly, the application of TWS earphones is more and more extensive.
Among them, the TWS headset is a true wireless stereo headset, which is a headset that plays sound using bluetooth technology, so that wireless transmission using bluetooth can be implemented instead of wired transmission.
It can be understood that the TWS headset needs to be charged, and currently, in the prior art, when charging of the TWS headset is implemented, a special charging bin is usually provided for the TWS headset, for example, as can be understood with reference to fig. 1, fig. 1 is a schematic implementation diagram of the charging bin provided in this embodiment of the present application.
As shown in fig. 1, the earphone can be placed in the charging chamber for charging, and the charging chamber itself needs to be charged, and when the charging chamber stores electric quantity, the charging of the earphone can be realized.
However, in the conventional implementation mode of specially setting the charging bin to charge the TWS headset, there are a series of problems that the TWS headset is easy to lose, the charging bin is bulky and not easy to carry, and the charging frequency of the TWS headset is limited due to less electric energy stored in the charging bin of the headset.
Aiming at the problems in the prior art, the application provides the following technical conception: the mobile phone or the tablet is the first device which can be carried by a user, and the electric quantity which can be stored by the mobile phone or the tablet is relatively large, so that if the function of the charging module of the charging bin is placed on the mobile phone or the tablet, the charging box can be omitted, the TWS earphone is charged anytime and anywhere based on the mobile phone or the tablet, the problems that the charging bin is too bulky and is not easy to carry are effectively solved, and meanwhile, the problem that the charging times of the TWS earphone are limited can be effectively solved because the electric quantity which can be stored by the mobile phone or the tablet is relatively large.
On the basis of the foregoing, the following describes in detail the earphone charging method provided in this embodiment of the present application, and it should be first explained that each embodiment of the present application may be applied to a first device, where the first device may be, for example, the above-described portable terminal device such as a mobile phone and a tablet.
In this embodiment, a battery is included in the first device for storing electrical energy for providing corresponding electrical energy to the first device and/or said headset, and at least one discharge contact is provided in the first device.
First, a method for charging an earphone provided by the present application is described with reference to fig. 2, and fig. 2 is a flowchart of the method for charging an earphone provided by the embodiment of the present application.
As shown in fig. 2, the method includes:
s201, when any one of the discharging contacts is detected to be contacted with the charging contact of the second equipment, acquiring the battery voltage of the second equipment and the battery voltage of the first equipment.
In this embodiment, at least one discharging contact is provided in the first device, wherein the discharging contact is used for performing a corresponding discharging operation when the charging contact is contacted. Thus, when the first device detects that any one of the discharging contacts is in contact with the charging contact of the second device, which may be for example a TWS headset, the battery voltage of the second device as well as the battery voltage of the first device may be obtained.
It will be appreciated that a discharge contact is provided in the first device and a charging contact is provided in the second device, when the discharge contact and the charging contact are in contact, for example, to prepare the second device for a charging operation. It will also be appreciated that including a battery in the first device and a battery in the second device, and in particular discharging the battery of the first device to charge the battery of the second device, when the first device charges the second device.
In one possible implementation, for example, a corresponding opening may be formed in the first device, the discharging contact is disposed inside the opening, and when the second device (TWS headset) is charged, for example, the headset may be inserted into the opening, so that the charging contact contacts the discharging contact. Or in an alternative implementation manner, for example, the discharging contact may be disposed on a housing of the first device, and then the first device and the second device may be kept connected by magnetic attraction or the like, so that the discharging contact is in contact with the charging contact, and charging is performed.
In an actual implementation process, a specific implementation manner of the setting position of the discharging contact in the first device and the setting position of the charging contact in the second device may be selected and set according to an actual requirement, which is not limited in this embodiment.
In this embodiment, before charging the second device, the battery voltage of the second device and the battery voltage of the first device need to be obtained, it is understood that the battery voltage of the mobile phone or the tablet is usually relatively large, but the battery voltage of the TWS headset is usually relatively small, so as to avoid the situation that the battery of the TWS headset does not over-discharge to ensure the safety of the TWS headset, the battery voltage of the second device and the battery voltage of the first device need to be obtained.
S202, acquiring the charging state of the first equipment, wherein the charging state of the first equipment comprises charging and non-charging.
After acquiring the battery voltage, for example, a current charging status of the first device may be acquired, wherein the charging status of the first device may include charging and non-charging.
And S203, if the charging state of the first device is uncharged and the battery voltage of the second device is less than the battery voltage of the first device, controlling the battery of the first device to charge the battery of the second device.
It can be understood that, when the first device is in the charging state, the battery of the second device may be damaged due to an excessively large voltage, and therefore, it is necessary to control the battery of the first device to charge the battery of the second device when the charging state of the first device is ensured to be uncharged and when the battery voltage of the second device is ensured to be less than the battery voltage of the first device, so as to effectively ensure the safety of charging the battery of the second device.
Meanwhile, when the battery of the first device is controlled to charge the battery of the second device, the battery of the first device is actually controlled to discharge the battery of the second device through the contact discharge contact and the charging contact, so as to charge the battery of the second device.
The earphone charging method provided by the embodiment of the application comprises the following steps: when any one of the discharging contacts is detected to contact the charging contact of the second device, the battery voltage of the second device and the battery voltage of the first device are acquired. And acquiring the charging state of the first equipment, wherein the charging state of the first equipment comprises charging and non-charging. And if the charging state of the first device is uncharged and the battery voltage of the second device is less than the battery voltage of the first device, controlling the battery of the first device to charge the battery of the second device. Through set up the contact that discharges in first equipment, later through the contact that discharges of the contact that charges of second equipment and first equipment, so that be uncharged at the charged state of first equipment, when the battery voltage of second equipment is less than the battery voltage of first equipment simultaneously, realize that the battery of first equipment charges to the battery of second equipment, the security of battery when the second equipment charges can effectively be guaranteed to the charging process introduced simultaneously, through realizing the charging to second equipment based on first equipment, thereby can effectively promote the use of earphone and the convenience of carrying.
In addition to the above embodiments, after controlling the battery of the first device to charge the battery of the second device, it can be understood that there is a possibility that the charging state of the first device may change, for example, if it is detected that the charging state of the first device changes from non-charging to charging, in order to protect the battery of the second device, for example, the battery of the first device may be controlled to stop charging the battery of the second device.
And displaying first prompt information on a screen of the first device, wherein the first prompt information is used for prompting that charging of the second device is stopped currently because the first device is charged.
If it is detected that the charging state of the first device is changed from charging to non-charging, for example, the battery voltage of the first device and the battery voltage of the second device may be obtained again, and when the battery voltage of the second device is smaller than the battery voltage of the first device, the battery of the first device is controlled to resume charging the battery of the second device.
After the battery of the first device is controlled to charge the battery of the second device, when the charging state change of the first device is detected to be charging, the battery of the first device is controlled to stop charging the battery of the second device, so that the safety of the battery of the second device can be effectively ensured. And when the battery of the first device is controlled to stop charging the battery of the second device, displaying a first prompt message on a screen of the first device, so that a user can quickly determine the current charging state of the second device and the reason for the change.
And on the basis of the above embodiments, it can be understood that the battery voltage of the first device and the battery voltage of the second device are continuously changed, so that after the battery of the second device is charged in the battery box controlling the first device, the battery voltage of the first device and the battery voltage of the second device can be continuously obtained.
For example, fig. 3 may be referred to for understanding, and fig. 3 is a schematic diagram illustrating an implementation of determining a charging state according to an embodiment of the present disclosure.
If it is detected that the battery voltage of the second device is greater than or equal to the battery voltage of the first device, for example, the battery of the first device may be controlled to suspend charging the battery of the second device, so as to protect the battery of the second device.
And because the battery voltage is continuously changed, after the first preset time period when the first device is suspended to be charged, the battery voltage of the second device and the battery voltage of the first device can be obtained again, and then whether the battery voltage of the second device is smaller than the battery voltage of the first device is continuously judged.
It can be understood that, in this embodiment, a longest detection time period is further set, that is, a second preset time period shown in fig. 3, so before the battery voltage of the second device and the battery voltage of the first device are obtained again, for example, it can be determined whether a time period in which the battery voltage of the second device is greater than or equal to the battery voltage of the first device exceeds the second preset time period.
If the battery voltage of the second device exceeds the battery voltage of the first device for a long time, the battery voltage of the second device at the time can be considered to exceed the battery voltage of the first device for a long time, so that the battery of the first device can be controlled to stop charging the battery of the second device, and second prompt information can be displayed on the screen of the first device, wherein the second prompt information is used for prompting the second device to stop charging because the battery voltage of the second device is greater than or equal to the battery voltage of the first device for a long time. Alternatively, if the second preset time period is not exceeded, the operation of acquiring the battery voltage of the second device and the battery voltage of the first device again may be performed.
If it is detected that the battery voltage of the second device is lower than the battery voltage of the first device, the battery of the first device may be controlled to continue to charge the battery of the second device.
Or, if it is still detected that the battery voltage of the second device is less than the battery voltage of the first device at this time, for example, the operation of obtaining the battery voltage of the second device and the battery voltage of the first device after the first preset time period may be repeatedly performed until it is determined that the battery voltage of the second device is less than the battery voltage of the first device, or until a time period in which the battery voltage of the second device is greater than or equal to the battery voltage of the first device exceeds a second preset time period.
The battery of the second device is effectively protected by controlling the first device to suspend charging to the second device when the battery voltage of the second device is detected to be greater than or equal to the battery voltage of the first device after the battery of the first device is controlled to charge to the battery of the second device. And after the first preset time length of the charging suspension, judging the relationship between the battery voltage of the second equipment and the battery voltage of the first equipment again, so that when the battery voltage of the second equipment is smaller than the battery voltage of the first equipment, the battery of the first equipment is timely recovered to charge the battery of the second equipment, and the battery safety of the second equipment is guaranteed while the effective control of the charging of the second equipment is considered. And when the battery voltage of the second device is determined to be greater than or equal to the battery voltage of the first device for more than a second preset time, the first device is controlled to stop charging the second device in time, and corresponding prompt information is displayed, so that the safety of the battery of the second device can be effectively ensured, and a user can quickly determine the change of the current charging state of the second device and the reason of the change.
On the basis of the above embodiments, the embodiment of the present application may further perform corresponding display on the power amount of the second device and corresponding control after the second device is fully charged, for example, it can be understood with reference to fig. 4, and fig. 4 is a second flowchart of the earphone charging method provided in the embodiment of the present application.
As shown in fig. 4, the method includes:
s401, acquiring the battery capacity of the second device, and displaying the battery capacity of the second device on the screen of the first device.
The first device may obtain the battery power of the second device in real time or at regular time, and display the battery power of the second device on the screen of the first device, where a specific display mode may be selected according to an actual requirement, and this embodiment is not limited thereto.
S402, if the battery capacity of the second equipment is determined to reach the preset battery capacity, controlling the battery of the first equipment to stop charging the second equipment.
After the acquired battery power, it may be further determined whether the battery power of the second device reaches a preset battery power, where the preset battery power may be 100%, that is, it may be determined whether the battery charging of the second device is completed currently, or the preset battery power may also be 95%.
When it is determined that the battery capacity of the second device reaches the preset battery capacity, it may be determined that the charging of the battery of the second device is completed, and thus the battery of the first device may be controlled to stop charging the second device.
Or if it is determined that the battery capacity of the second device does not reach the preset battery capacity, it may be determined that the battery charging of the current second device is not completed, and therefore, the battery capacity of the second device may be continuously obtained and then determined until the battery capacity of the second device reaches the preset battery capacity.
And S403, displaying third prompt information on a screen of the first device, wherein the third prompt information is used for indicating that the charging of the second device is completed.
After the battery capacity of the second device reaches the preset battery capacity and the battery of the first device is controlled to stop charging the second device, a third prompt message may be displayed on the screen of the first device, where the third prompt message is used to indicate that the charging of the second device is completed, and a specific display mode of the third prompt message may be selected according to an actual requirement, which is not particularly limited in this embodiment.
The earphone battery charging method provided by the embodiment of the application comprises the following steps: and acquiring the battery capacity of the second equipment, and displaying the battery capacity of the second equipment on a screen of the first equipment. And if the battery capacity of the second equipment reaches the preset battery capacity, controlling the battery of the first equipment to stop charging the second equipment. And displaying third prompt information on the screen of the first equipment, wherein the third prompt information is used for indicating that the charging of the second equipment is completed. By acquiring and displaying the battery power of the second device, the user can quickly and effectively determine the current charging state of the second device. And when the battery capacity of the second equipment reaches the preset battery capacity, controlling the battery of the first equipment to stop charging the second equipment so as to quickly and effectively determine the charging completion state of the second equipment, and enabling a user to quickly and effectively determine the charging completion of the second equipment by displaying the third prompt message.
In a possible implementation manner, corresponding charging indicator lamps may be further disposed on the second device or the first device, and different colors of the charging indicator lamps corresponding to the various kinds of prompt information are set to indicate the current charging state of the second device.
Based on the above-described embodiments, a specific control process for charging the first device and the second device is described below with reference to fig. 5, where fig. 5 is a schematic diagram of a charging module provided in an embodiment of the present application.
The following description will be made by taking the first device as a mobile phone and the second device as a TWS headset, with reference to fig. 5:
1. the TWS headset is plugged in, if the battery of the TWS headset is not discharged too much, VBAT _ TWS is voltage and may generate an interrupt to a Power Management Unit (PMU), i.e. INT in fig. 5, which indicates an interrupt signal, which may be triggered when a high level is input.
2. The power management unit, after receiving INT interrupt, will make BOOST _ EN output a high level to the BOOST chip (BOOST), which will BOOST the voltage VBAT of the handset battery to 5V (i.e. VCHG _ TWS _ 5V).
The BOOST chip may be a BOOST chip, which is a direct current-to-direct current (DC-DC) BOOST chip. The BOOST _ EN represents a control signal, generally outputs a high level of 1.8V, and may be used as an enable (enable) signal of the BOOST chip. VBAT is the battery voltage of products such as mobile phones or tablets, and the voltage range generally is: 3.4V-4.35V. VCHG _ TWS _5V is the TWS headset charging input voltage, typically 5V.
3. Because the enable signal of the CHARGE management chip (CHARGE IC) is active low, the CHARGE chip receives a 5V (i.e., VCHG _ TWS _5V) signal, and then automatically starts the charging function, and the output of the CHARGE chip is directly connected to VBAT _ TWS.
VBAT _ TWS is the battery voltage inside the TWS headset, and the operating range is generally: 2.4V-4.35V;
4. the charge management chip may also have a charge indicator function (charge _ LED) and a charge current setting (through Rset) function, for example.
And also the meaning of the various parameters in fig. 5, where VIN is the input signal; VOUT is an output signal; SW is a switch signal, and a boosting function can be realized by matching with an inductor; wherein CHG _ EN is a charge enable signal, active low; wherein the LED _ CTRL is used for controlling the charging indicator lamp; the Charge _ LED is a charging indicator light, and is connected in series with a resistor R1 for current limiting to prevent the LED light from being burned out, and the resistance of the resistor R1 may be 1k ohm, for example; and wherein I _ charging is the charging current of the TWS headset can be adjusted by adjusting the magnitude of the resistance value of the Rset resistor. And the resistance of the resistor R2 in fig. 5 may be, for example, 10k ohms.
And in an alternative implementation, if the battery of the TWS headset is too discharged, for example, VBAT _ TWS voltage is 0V, and cannot trigger an interrupt, then a function can be performed on the UI interface of the handset, such as: setting- > TWS earphone management- > battery overdischarging and battery activation; for example, when the user clicks the option, the PMU will actively pull up BOOST _ EN, and the charging function will be forced to be turned on, that is, when the charging condition is not satisfied, if the user still needs to perform charging, forced charging may be performed.
Based on the above description, it can be determined that the charging module of the TWS headset and the charging of the mobile phone are completely independent, and the conflict of application scenarios is avoided.
And further details of implementation of the discharging contact in the first device are described below with reference to fig. 6 to 17, where fig. 6 is a schematic front view of the first device provided in this embodiment of the present application for charging the second device, fig. 7 is a schematic back view of the first device provided in this embodiment of the present application for charging the second device, fig. 8 is a schematic front view of the first device provided in this embodiment of the present application for not providing charging, fig. 9 is a schematic back view of the first device provided in this embodiment of the present application for not providing charging, fig. 10 is a schematic side view of the opening of the first device provided in this embodiment of the present application, fig. 11 is a schematic left side view of the first device provided in this embodiment of the present application, fig. 12 is a schematic right side view of the first device provided in this embodiment of the present application, and fig. 13 is a schematic bottom view of the first device provided in this embodiment of the present application, fig. 14 is a schematic view illustrating the rubber stopper not being inserted into the opening, fig. 15 is a schematic view illustrating the rubber stopper being inserted into the opening, fig. 16 is a schematic view illustrating the spring plate not being sprung open, and fig. 17 is a schematic view illustrating the spring plate being sprung open.
In one possible embodiment, at least one opening is provided, for example at the edge of the first device, in which opening the discharge contact is provided.
The discharge contact of the first device and the charging contact of the second device may be connected by magnetic attraction, for example.
As can be appreciated with reference to fig. 6, for example, as shown in fig. 6, a left opening and an opening as shown in fig. 6 may be provided in the first device, wherein a discharge contact is provided in the opening. And referring to fig. 6, wherein a TWS left earpiece may be inserted into the left side aperture for charging of the left earpiece, and a TWS right earpiece may be inserted into the right side aperture for charging of the right earpiece.
And in one possible implementation, for example, a TWS headset may be placed in an upper opening of the first device (typically about 6mm in diameter for a headset, comparable to the thickness of a cell phone) to initiate an automatic charging mode; for example, the charging contact can be just corresponding to the contact on the mainboard to the earphone side, and the magnetic type connection is adopted, so that the charging contact can be ensured not to drop easily.
The front view of the first device when the second device is charging in the first device is described above in connection with fig. 6, and it can also be understood from fig. 7 that the charging is a back view of the first device, with reference to fig. 7, where the TWS left earpiece, the TWS right earpiece, the left side aperture, and the right side aperture are similar to those described above.
And, since the opening for charging the headphone is provided inside the first device, the first device seems to be absent when the first device is not charging, and for example, a front view and a back view when the first device is not charging the headphone can be understood in conjunction with fig. 8 and 9.
Referring to fig. 8, when the first device is not charging the headset, its front side appears to be a normal device including a front camera and an earpiece opening. And referring to fig. 9, when the first device does not perform charging of the headset, its back side appears to be a general device including a rear camera and a flash.
And, for better understanding of the opening of the first device, for example, a side view of the opening of the first device may also be understood in connection with fig. 10, as shown in fig. 10, where a left side opening and a right side bayonet of the side of the first device are shown, and for ease of understanding the side view, the position of the noise reduction microphone is also shown in fig. 10.
And, since the opening for charging the headphone is provided inside the first device, the first device seems to be absent when the first device is not charging, for example, a side view when the first device is not charging the headphone can be understood in conjunction with fig. 11 to 13.
Referring to fig. 11, when the first device does not perform charging of the headset, the left side thereof appears to be a general device including a Subscriber Identity Module (SIM) card slot and a flash memory (TF) card slot. And referring to fig. 12, when the first device does not perform charging of the headset, the right side thereof appears as a general device including a volume up key and a volume down key, and a power-on key. And referring to fig. 13, when the first device is not charging the headset, its underside appears to be a normal device including a main microphone and Universal Serial Bus (USB) interface and a speaker opening.
It will also be appreciated that the above described aperture is provided in the first device for charging the second device, but that the dust and splash protection of the aperture in the first device may also be considered when the second device is not being charged.
In one possible implementation, for example, a removable rubber plug is provided in the opening; alternatively, a movable spring plate is disposed in the opening.
The following describes possible implementations of the rubber stopper and the spring plate with reference to the drawings.
First, an implementation of the rubber plug is described with reference to fig. 14 and 15, as shown in fig. 14, when the first device charges the earphone, the rubber plug may not be inserted into the opening, so that the earphone may be inserted into the opening for charging. And as shown in fig. 15, when the first device does not charge the earphone, for example, the rubber stopper can be inserted into the opening hole to realize the dust and splash prevention of the first device.
Next, an implementation of the spring plate is described with reference to fig. 16 and 17, where the spring plate can be automatically opened and closed, as shown in fig. 16, when the first device does not charge the earphone, the spring plate can block the opening, so as to achieve dust prevention and water splash prevention, where the spring plate may be, for example, a circular spring plate with a size consistent with that of the opening. As shown in fig. 17, when the first device charges the earphone, the spring plate can be pressed downward by an external force during the process of inserting the earphone into the first device, so that the earphone can be charged through the opening. After the charging of the earphone is completed, when the earphone is pulled out, the spring piece can be restored to the original position by the elasticity of the spring.
To sum up, according to the earphone charging method provided by the embodiment of the application, the charging management module and the hole for the TWS earphone are arranged on the portable device such as a mobile phone or a tablet, and the TWS earphone is powered by the boosted battery voltage of the mobile phone, so that the TWS earphone can be charged based on the portable device, an additional charging bin is omitted, the problems of being too bulky in the charging bin and not easy to carry are solved, and the problem that the charging times of the TWS earphone are limited due to the fact that the mobile phone or the tablet can store more electric quantity is solved.
Fig. 18 is a schematic structural diagram of an earphone charging device according to an embodiment of the present application. As shown in fig. 18, the apparatus 180 includes: a first obtaining module 1801, a second obtaining module 1802, and a control module 1803.
A first obtaining module 1801, configured to obtain a battery voltage of a second device and a battery voltage of a first device when it is detected that any one of the discharging contacts a charging contact of the second device;
a second obtaining module 1802, configured to obtain a charging status of the first device, where the charging status of the first device includes charging and non-charging;
a control module 1803, configured to control the battery of the first device to charge the battery of the second device if the charging state of the first device is not charged and the battery voltage of the second device is less than the battery voltage of the first device.
In one possible design, after the controlling the battery of the first device to charge the battery of the second device, the control module 1803 is further configured to:
if the charging state of the first equipment is detected to be changed from non-charging to charging, controlling the battery of the first equipment to stop charging the battery of the second equipment;
displaying first prompt information on a screen of the first device, wherein the first prompt information is used for prompting the second device to stop charging.
In one possible design, after the controlling the battery of the first device to charge the battery of the second device, the control module 1803 is further configured to:
if the battery voltage of the second equipment is detected to be greater than or equal to the battery voltage of the first equipment, controlling the battery of the first equipment to suspend charging to the battery of the second equipment;
after a first preset time, acquiring the battery voltage of the second device and the battery voltage of the first device;
if the battery voltage of the second equipment is less than the battery voltage of the first equipment, controlling the battery of the first equipment to continuously charge the battery of the second equipment; alternatively, the first and second electrodes may be,
if the battery voltage of the second device is greater than or equal to the battery voltage of the first device, the operations of obtaining the battery voltage of the second device and the battery voltage of the first device after the first preset time period are repeatedly executed until the battery voltage of the second device is determined to be less than the battery voltage of the first device, or until the time period that the battery voltage of the second device is greater than or equal to the battery voltage of the first device exceeds a second preset time period.
In a possible design, if it is determined that the duration that the battery voltage of the second device is greater than or equal to the battery voltage of the first device exceeds a second preset duration, the control module 1803 is further configured to:
controlling a battery of the first device to stop charging a battery of the second device;
and displaying second prompt information on the screen of the first equipment, wherein the second prompt information is used for prompting the second equipment to stop charging.
In one possible design, the control module 1803 is further configured to:
acquiring the battery capacity of the second equipment, and displaying the battery capacity of the second equipment on a screen of the first equipment;
if the battery capacity of the second equipment reaches the preset battery capacity, controlling the battery of the first equipment to stop charging the second equipment;
displaying third prompt information on a screen of the first device, wherein the third prompt information is used for indicating that the charging of the second device is completed.
In one possible design, the edge of the first device is provided with at least one opening in which the discharge contact is arranged.
In one possible design, the discharge contact of the first device and the charging contact of the second device are connected by magnetic attraction.
In one possible design, a detachable rubber plug is arranged in the opening; or a movable spring piece is arranged in the opening.
The apparatus provided in this embodiment may be used to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 19 is a schematic diagram of a hardware structure of an earphone charging device according to an embodiment of the present application, and as shown in fig. 19, an earphone charging device 190 according to the present embodiment includes: a processor 1901 and a memory 1902; wherein
A memory 1902 for storing computer-executable instructions;
the processor 1901 is configured to execute computer-executable instructions stored in the memory to implement the steps performed by the charging method for the headset in the above embodiments. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 1902 may be stand-alone or integrated with the processor 1901.
When the memory 1902 is separately provided, the headset charging device further includes a bus 1903 for connecting the memory 1902 and the processor 1901.
An embodiment of the present application further provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when a processor executes the computer-executable instructions, the method for charging an earphone performed by the above earphone charging device is implemented.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of modules 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 through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (12)

1. A charging method for an earphone, applied to a first device, wherein the first device comprises a battery, and at least one discharging contact is arranged in the first device, the method comprising:
when any one of the discharging contacts is detected to be in contact with a charging contact of second equipment, acquiring the battery voltage of the second equipment and the battery voltage of the first equipment;
acquiring the charging state of the first equipment, wherein the charging state of the first equipment comprises charging and non-charging;
and if the charging state of the first equipment is uncharged and the battery voltage of the second equipment is less than the battery voltage of the first equipment, controlling the battery of the first equipment to charge the battery of the second equipment.
2. The method of claim 1, wherein after the controlling the battery of the first device to charge the battery of the second device, the method further comprises:
if the charging state of the first equipment is detected to be changed from non-charging to charging, controlling the battery of the first equipment to stop charging the battery of the second equipment;
displaying first prompt information on a screen of the first device, wherein the first prompt information is used for prompting the second device to stop charging.
3. The method of claim 1, wherein after the controlling the battery of the first device to charge the battery of the second device, the method further comprises:
if the battery voltage of the second equipment is detected to be greater than or equal to the battery voltage of the first equipment, controlling the battery of the first equipment to suspend charging to the battery of the second equipment;
after a first preset time, acquiring the battery voltage of the second device and the battery voltage of the first device;
if the battery voltage of the second equipment is less than the battery voltage of the first equipment, controlling the battery of the first equipment to continuously charge the battery of the second equipment; alternatively, the first and second electrodes may be,
if the battery voltage of the second device is greater than or equal to the battery voltage of the first device, the operations of obtaining the battery voltage of the second device and the battery voltage of the first device after the first preset time period are repeatedly executed until the battery voltage of the second device is determined to be less than the battery voltage of the first device, or until the time period that the battery voltage of the second device is greater than or equal to the battery voltage of the first device exceeds a second preset time period.
4. The method of claim 3, wherein if it is determined that the duration in which the battery voltage of the second device is greater than or equal to the battery voltage of the first device exceeds a second preset duration, the method further comprises:
controlling a battery of the first device to stop charging a battery of the second device;
and displaying second prompt information on the screen of the first equipment, wherein the second prompt information is used for prompting the second equipment to stop charging.
5. The method according to any one of claims 1-4, further comprising:
acquiring the battery capacity of the second equipment, and displaying the battery capacity of the second equipment on a screen of the first equipment;
if the battery capacity of the second equipment reaches the preset battery capacity, controlling the battery of the first equipment to stop charging the second equipment;
displaying third prompt information on a screen of the first device, wherein the third prompt information is used for indicating that the charging of the second device is completed.
6. A method according to any of claims 1-5, characterized in that the edge of the first device is provided with at least one opening in which the discharge contact is arranged.
7. The method of claim 6, wherein the discharge contacts of the first device and the charging contacts of the second device are magnetically connected.
8. The method of claim 6 or 7, wherein a removable rubber plug is disposed in the aperture; or a movable spring piece is arranged in the opening.
9. An apparatus for charging a headset, the apparatus being applied to a first device, wherein the first device comprises a battery, and wherein at least one discharging contact is arranged in the first device, the apparatus comprising:
the first acquisition module is used for acquiring the battery voltage of the second equipment and the battery voltage of the first equipment when any one of the discharge contacts is detected to be contacted with a charging contact of the second equipment;
the second acquisition module is used for acquiring the charging state of the first equipment, wherein the charging state of the first equipment comprises charging state and non-charging state;
and the control module is used for controlling the battery of the first device to charge the battery of the second device if the charging state of the first device is uncharged and the battery voltage of the second device is less than the battery voltage of the first device.
10. An earphone charging device, comprising:
a memory for storing a program;
a processor for executing the program stored by the memory, the processor being configured to perform the method of any of claims 1 to 8 when the program is executed.
11. A computer-readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 8.
12. A computer program product comprising a computer program, characterized in that the computer program realizes the method of any one of claims 1 to 8 when executed by a processor.
CN202111166205.3A 2021-09-30 2021-09-30 Earphone charging method and device Active CN113890150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111166205.3A CN113890150B (en) 2021-09-30 2021-09-30 Earphone charging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111166205.3A CN113890150B (en) 2021-09-30 2021-09-30 Earphone charging method and device

Publications (2)

Publication Number Publication Date
CN113890150A true CN113890150A (en) 2022-01-04
CN113890150B CN113890150B (en) 2024-03-01

Family

ID=79005218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111166205.3A Active CN113890150B (en) 2021-09-30 2021-09-30 Earphone charging method and device

Country Status (1)

Country Link
CN (1) CN113890150B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201263165Y (en) * 2008-09-23 2009-06-24 上海华勤通讯技术有限公司 Bluetooth mobile phone
CN203261454U (en) * 2013-05-29 2013-10-30 黄成武 A Bluetooth earphone and terminal equipment internally provided with the same Bluetooth earphone
CN105468090A (en) * 2014-08-28 2016-04-06 梁伟 Mobile electronic equipment with wireless accessory charging cabin groove
CN205283620U (en) * 2015-10-14 2016-06-01 谢松文 Mobile phone
CN210629149U (en) * 2019-10-31 2020-05-26 深圳市睿宇模具制品有限公司 Multifunctional mobile phone back clip battery
CN112821502A (en) * 2021-01-28 2021-05-18 上海闻泰信息技术有限公司 Earphone charging control method and device, mobile terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201263165Y (en) * 2008-09-23 2009-06-24 上海华勤通讯技术有限公司 Bluetooth mobile phone
CN203261454U (en) * 2013-05-29 2013-10-30 黄成武 A Bluetooth earphone and terminal equipment internally provided with the same Bluetooth earphone
CN105468090A (en) * 2014-08-28 2016-04-06 梁伟 Mobile electronic equipment with wireless accessory charging cabin groove
CN205283620U (en) * 2015-10-14 2016-06-01 谢松文 Mobile phone
CN210629149U (en) * 2019-10-31 2020-05-26 深圳市睿宇模具制品有限公司 Multifunctional mobile phone back clip battery
CN112821502A (en) * 2021-01-28 2021-05-18 上海闻泰信息技术有限公司 Earphone charging control method and device, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN113890150B (en) 2024-03-01

Similar Documents

Publication Publication Date Title
US10671135B2 (en) Intelligent mobile power supply and method for USB data communication therewith
CN107843802B (en) Internal short circuit detection method and device
CN112542863B (en) Charging method and device, and readable storage medium
JP7121865B2 (en) Reverse charging device, method and device for adjusting reverse charging current
CN111987772B (en) On-chip system, battery pack and electronic device
EP3813221B1 (en) Battery charging method, battery charging apparatus and storage medium
WO2021190320A1 (en) Battery charging protection method and charging protection apparatus, mobile terminal, and storage medium
CN108132401A (en) Charge abnormal detection method, device, storage medium and mobile terminal
CN103327159A (en) Low-battery prompting method and electronic equipment
US9069538B2 (en) Preventing dark current flow in a mobile terminal
CN111987773B (en) On-chip system, battery pack and electronic device
CN111433999A (en) Electronic device including battery and method of controlling charging thereof
CN109413532A (en) A kind of charging bluetooth earphone circuit and bluetooth headset
CN110416643B (en) Processing method and device and electronic equipment
CN107294157B (en) Mobile terminal, self-charging method and storage device
CN111478388A (en) Electronic product, battery discharge protection method, device and medium
CN113890150B (en) Earphone charging method and device
CN105896677B (en) The management method and device of battery charging
CN103682863A (en) Voice reminding charging data wire and charging method of charging data wire
CN113285499A (en) Charging control method, electronic device, control device, and storage medium
CN112349973A (en) Battery module, charging method and device, electronic device and readable storage medium
CN109193878A (en) Charging circuit, charging method, electronic equipment and storage medium
CN111600355B (en) Charging control method, device and equipment
CN210297298U (en) Adapter simultaneously supporting type-c analog earphone and quick charging
CN108023376B (en) Charging wire, charging assembly, charging method and device

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