CN109004710B - Sound equipment charging mode switching method and device based on USB (Universal Serial bus) line - Google Patents

Sound equipment charging mode switching method and device based on USB (Universal Serial bus) line Download PDF

Info

Publication number
CN109004710B
CN109004710B CN201810869185.8A CN201810869185A CN109004710B CN 109004710 B CN109004710 B CN 109004710B CN 201810869185 A CN201810869185 A CN 201810869185A CN 109004710 B CN109004710 B CN 109004710B
Authority
CN
China
Prior art keywords
charging
power adapter
sound equipment
charging mode
monitoring
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.)
Expired - Fee Related
Application number
CN201810869185.8A
Other languages
Chinese (zh)
Other versions
CN109004710A (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.)
Guangzhou Panyu Juda Car Audio Equipment Co ltd
Original Assignee
Guangzhou Panyu Juda Car Audio Equipment 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 Guangzhou Panyu Juda Car Audio Equipment Co ltd filed Critical Guangzhou Panyu Juda Car Audio Equipment Co ltd
Priority to CN201810869185.8A priority Critical patent/CN109004710B/en
Publication of CN109004710A publication Critical patent/CN109004710A/en
Application granted granted Critical
Publication of CN109004710B publication Critical patent/CN109004710B/en
Expired - Fee Related 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/007Regulation of charging or discharging current or voltage
    • 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
    • H02J7/0031Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

The invention discloses a method and a device for switching the charging speed of a sound battery based on a USB (universal serial bus) line, wherein the method comprises the following steps: the sound equipment is connected with the power adapter through a USB line, and after the sound equipment is connected with the power adapter, the sound equipment sends a charging request instruction to the power adapter through the USB line; the power adapter responds to the charging request instruction, starts a charging mode and charges the sound equipment according to a common charging mode; the method comprises the following steps that a power adapter sends a charging monitoring instruction to sound equipment through a USB line in a charging process; the sound equipment responds to the charging monitoring instruction, monitors a charging circuit and a battery in the sound equipment, and feeds back the acquired monitoring data to the power adapter through the USB data line; and the power adapter switches the charging mode according to the monitoring data. In the implementation process of the invention, the charging mode is switched according to the equipment condition in the charging process of the equipment, thereby effectively protecting the charging safety of the equipment and accelerating the charging speed of the equipment.

Description

Sound equipment charging mode switching method and device based on USB (Universal Serial bus) line
Technical Field
The invention relates to the technical field of equipment charging, in particular to a method and a device for switching a charging mode of sound equipment based on a USB (universal serial bus) cable.
Background
With the improvement of living standard and the improvement of production technology, the types of mobile sound products are more and more, and are more and more favored by consumers, but the mobile sound products have very large power consumption when in use and need to be charged frequently; therefore, manufacturers can move the capacity of the sound equipment battery, the charging time is longer and longer, and in the long-time charging process, the problems of how to accelerate the charging speed and how to guarantee the charging safety in the charging process need to be solved.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method and a device for switching the charging mode of sound equipment based on a USB (universal serial bus) line, which can increase the charging speed and ensure the safety of the sound equipment during charging by switching the charging mode.
In order to solve the above technical problem, an embodiment of the present invention provides a method for switching a charging mode of an audio device based on a USB cable, where the method includes:
the method comprises the following steps that the sound equipment is connected with a power adapter through a USB line, and after the sound equipment is connected, the sound equipment sends a charging request instruction to the power adapter through the USB line;
the power adapter responds to the charging request instruction, starts a charging mode and charges the sound equipment according to a common charging mode;
the power adapter sends a charging monitoring instruction to the sound equipment through the USB line in the process of charging the sound equipment;
the sound equipment responds to the charging monitoring instruction, monitors a charging circuit and a battery in the sound equipment, and feeds back acquired monitoring data to the power adapter through a USB data line;
and the power adapter switches the charging mode according to the monitoring data.
Optionally, the charging mode includes: a normal charging mode and a fast charging mode.
Optionally, the sending the charging monitoring instruction to the sound equipment through the USB line includes:
sending a charging monitoring instruction to the sound equipment through the USB line according to a preset time period;
the charging monitoring instruction comprises the sound charging circuit monitoring instruction and the sound battery monitoring instruction.
Optionally, the monitoring data includes the charging circuit monitoring data and the battery monitoring data;
the charging circuit monitoring data comprises charging circuit temperature data and charging circuit load data;
the battery monitoring data includes the battery temperature data and the battery charging load data.
Optionally, the power adapter performs charging mode switching according to the monitoring data, including:
determining whether a charging mode of the current power adapter for charging the sound equipment is a common charging mode or a quick charging mode;
and the power adapter switches the charging mode according to the monitoring data and the current charging mode.
Optionally, the power adapter performs charging mode switching according to the monitoring data and the current charging mode, including:
when the current charging mode is determined to be the common charging mode, the power adapter judges whether the monitoring data is larger than a preset value; if yes, the power adapter stops charging the sound equipment; if not, the power adapter switches the current charging mode to a quick charging mode;
when the current charging mode is determined to be the quick charging mode, the power adapter judges whether the monitoring data are larger than a preset value; if so, the power adapter switches the current charging mode to a common charging mode; if not, the power adapter keeps the current mode to charge the sound equipment.
In addition, an embodiment of the present invention further provides a USB cable-based audio device charging mode switching apparatus, where the apparatus includes:
a charging request module: the method comprises the steps that the sound equipment is connected with a power adapter through a USB line, and after the sound equipment is connected, the sound equipment sends a charging request instruction to the power adapter through the USB line;
the charging starting module: the power adapter is used for responding to the charging request instruction, starting a charging mode and charging the sound equipment according to a common charging mode;
the monitoring instruction sending module: the charging monitoring device is used for sending a charging monitoring instruction to the sound equipment through the USB line in the process that the power adapter charges the sound equipment;
a monitoring module: the audio equipment is used for responding to the charging monitoring instruction, monitoring a charging circuit and a battery in the audio equipment, and feeding back acquired monitoring data to the power adapter through a USB data line;
a mode switching module: and the power adapter is used for switching the charging mode according to the monitoring data.
Optionally, the monitoring instruction sending module is configured to send a charging monitoring instruction to the sound equipment through the USB cable according to a preset time period;
the charging monitoring instruction comprises the sound charging circuit monitoring instruction and the sound battery monitoring instruction.
Optionally, the switching module includes:
a determination unit: the charging mode used for determining whether the current charging mode of the power adapter for charging the sound equipment is a normal charging mode or a quick charging mode;
a mode switching unit: and the power adapter is used for switching the charging mode according to the monitoring data and the current charging mode.
Optionally, the mode switching unit includes:
a first switching unit: the power adapter is used for judging whether the monitoring data are larger than a preset value or not when the current charging mode is determined to be the common charging mode; if yes, the power adapter stops charging the sound equipment; if not, the power adapter switches the current charging mode to a quick charging mode;
a second switching unit: the power adapter is used for judging whether the monitoring data are larger than a preset value or not when the current charging mode is determined to be the quick charging mode; if so, the power adapter switches the current charging mode to a common charging mode; if not, the power adapter keeps the current mode to charge the sound equipment.
In the embodiment of the invention, the sound equipment sends a charging request instruction to the power adapter through the USB data line, the power adapter responds to the request instruction and charges the sound equipment according to a common charging mode, meanwhile, a charging monitoring instruction is sent to the sound equipment according to a preset time period, the sound equipment monitors according to the monitoring instruction and feeds back monitoring data to the power adapter, and the power adapter switches the charging mode according to the judgment of the monitoring data and a threshold value and the current charging mode; the charging safety of the equipment is effectively protected, and the charging speed of the equipment is accelerated.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a USB cable-based audio device charging mode switching method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an audio device charging mode switching apparatus based on a USB cable according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
Example (b):
referring to the detailed diagram, fig. 1 is a flowchart illustrating a method for switching a charging mode of an audio device based on a USB cable according to an embodiment of the present invention.
As shown in fig. 1, a method for switching a charging mode of an audio device based on a USB cable, the method includes:
s11: the method comprises the following steps that the sound equipment is connected with a power adapter through a USB line, and after the sound equipment is connected, the sound equipment sends a charging request instruction to the power adapter through the USB line;
in the specific implementation process of the invention, after the sound equipment is used for a period of time, the reminding that the battery power is less than the normal value is sent to a user to remind the user to charge the sound equipment in time; the user connects the audio device with the power adapter by using a USB cable, which has a charging function and a bidirectional communication function.
After the audio device is connected to the power adapter via the USB cable, the audio device sends a charging request to the power adapter according to its own condition, where the charging request is a charging request command for requesting charging of the audio device to the power adapter via the USB cable.
Before the audio equipment generates a charging request instruction, the audio equipment firstly establishes a communication relation with the power adapter through a USB line, namely the audio equipment generates a communication request instruction to the power adapter through the USB line, and then the audio equipment judges whether the audio equipment is communicated with the power adapter or not by receiving feedback of the power adapter about the communication request instruction; judging whether the communication is connected or not by the feedback information of the power adapter responding to the communication establishing request instruction, if no feedback information exists, judging that the communication is not connected, sending a prompt that the communication connection cannot be established to a user by the sound equipment, and needing to reconnect the USB line or replace the USB line for connection; until the sound equipment and the power adapter establish communication connection through the USB line.
S12: the power adapter responds to the charging request instruction, starts a charging mode and charges the sound equipment according to a common charging mode;
in the specific implementation process of the invention, after the power adapter receives the charging request instruction sent by the sound equipment, the power adapter starts the charging mode corresponding to the charging request instruction, and the sound equipment is charged according to the common charging mode.
The charging request instruction sent by the audio equipment contains some basic information of a battery and a charging circuit in the audio equipment, such as the maximum load value of the charging circuit, the maximum charging load value of the battery during charging, the load value of the charging circuit during normal and ordinary charging, and the like; after receiving the charging request instruction, the power adapter also obtains basic information contained in the charging request instruction, and after analyzing the basic information, the power adapter responds to the charging request instruction and generates a corresponding charging mode according to the charging request instruction, wherein the corresponding charging mode comprises a common charging mode and a quick charging mode; the normal charging mode is a normal charging load specified for the audio device, and the fast charging mode is a minimum load value among maximum charging loads in a charging circuit and a battery of the audio device.
S13: the power adapter sends a charging monitoring instruction to the sound equipment through the USB line in the process of charging the sound equipment;
in the specific implementation process of the present invention, in the process of charging the audio device by the power adapter, the power adapter sends a charging monitoring instruction to the audio device through the USB cable, where the charging monitoring instruction includes data to be monitored, such as: data of the charging circuit on the audio device and the battery on the audio device need to be monitored.
The power adapter sends a charging monitoring instruction to the sound equipment through the USB line according to a preset time period; the charging monitoring instruction is sent to the sound equipment through the USB line according to a preset time period, and the charging monitoring instruction comprises the sound charging circuit monitoring instruction and the sound battery monitoring instruction.
S14: the sound equipment responds to the charging monitoring instruction, monitors a charging circuit and a battery in the sound equipment, and feeds back acquired monitoring data to the power adapter through a USB data line;
in the specific implementation process of the invention, after the sound equipment receives the charging monitoring instruction, the sound equipment responds to the charging monitoring instruction in time, monitors the charging circuit and the battery in the sound equipment and acquires monitoring data, wherein the monitoring data comprises the charging circuit monitoring data and the battery monitoring data; the charging circuit monitoring data comprises charging circuit temperature data and charging circuit load data; the battery monitoring data includes the battery temperature data and the battery charging load data.
And then feeding back the obtained monitoring data to the power adapter through the USB cable.
S15: and the power adapter switches the charging mode according to the monitoring data.
In the specific implementation process of the invention, the power adapter switches the charging mode according to the monitoring data fed back by the sound equipment.
Specifically, the power adapter performs charging mode switching according to the monitoring data, including: determining whether a charging mode of the current power adapter for charging the sound equipment is a common charging mode or a quick charging mode; and the power adapter switches the charging mode according to the monitoring data and the current charging mode.
Further, the power adapter performs charging mode switching according to the monitoring data and the current charging mode, including: when the current charging mode is determined to be the common charging mode, the power adapter judges whether the monitoring data is larger than a preset value; if yes, the power adapter stops charging the sound equipment; if not, the power adapter switches the current charging mode to a quick charging mode; when the current charging mode is determined to be the quick charging mode, the power adapter judges whether the monitoring data are larger than a preset value; if so, the power adapter switches the current charging mode to a common charging mode; if not, the power adapter keeps the current mode to charge the sound equipment.
Firstly, determining a current charging mode, namely when the current charging mode is determined to be a common charging mode, judging whether monitoring data is greater than a preset threshold value, for example, the temperature of a battery with the preset threshold value is 40 ℃, the protection temperature of a charging circuit is 50 ℃ and the like; if any one of the monitoring data is larger than the preset threshold value, the sound equipment is required to be stopped from being continuously charged; when all the data are smaller than the threshold value, the power adapter adjusts the current charging mode to the quick charging mode to continuously charge the sound equipment; when one of the data is equal to the preset threshold value, the power adapter does not perform any processing of switching the charging mode, and keeps the current charging mode to continuously charge the sound equipment.
Firstly, determining a current charging mode, namely when the current charging mode is determined to be a quick charging mode, judging whether monitoring data is greater than a preset threshold value, for example, the temperature of a battery with the preset threshold value is 40 ℃, the protection temperature of a charging circuit is 50 ℃ and the like; if any one of the monitoring data is larger than the preset threshold value, the current quick charging mode is adjusted to be the common charging mode to continue charging the sound equipment; when all data are less than or equal to the threshold, the power adapter will keep the current fast charge mode to continue charging the audio device.
In the embodiment of the invention, the sound equipment sends a charging request instruction to the power adapter through the USB data line, the power adapter responds to the request instruction and charges the sound equipment according to a common charging mode, meanwhile, a charging monitoring instruction is sent to the sound equipment according to a preset time period, the sound equipment monitors according to the monitoring instruction and feeds back monitoring data to the power adapter, and the power adapter switches the charging mode according to the judgment of the monitoring data and a threshold value and the current charging mode; the charging safety of the equipment is effectively protected, and the charging speed of the equipment is accelerated.
Example (b):
referring to fig. 2 in detail, fig. 2 is a schematic structural composition diagram of a USB cable-based audio device charging mode switching apparatus according to an embodiment of the present invention.
As shown in fig. 2, an audio device charging mode switching apparatus based on a USB cable, the apparatus comprising:
the charging request module 11: the method comprises the steps that the sound equipment is connected with a power adapter through a USB line, and after the sound equipment is connected, the sound equipment sends a charging request instruction to the power adapter through the USB line;
in the specific implementation process of the invention, after the sound equipment is used for a period of time, the reminding that the battery power is less than the normal value is sent to a user to remind the user to charge the sound equipment in time; the user connects the audio device with the power adapter by using a USB cable, which has a charging function and a bidirectional communication function.
After the audio device is connected to the power adapter via the USB cable, the audio device sends a charging request to the power adapter according to its own condition, where the charging request is a charging request command for requesting charging of the audio device to the power adapter via the USB cable.
Before the audio equipment generates a charging request instruction, the audio equipment firstly establishes a communication relation with the power adapter through a USB line, namely the audio equipment generates a communication request instruction to the power adapter through the USB line, and then the audio equipment judges whether the audio equipment is communicated with the power adapter or not by receiving feedback of the power adapter about the communication request instruction; judging whether the communication is connected or not by the feedback information of the power adapter responding to the communication establishing request instruction, if no feedback information exists, judging that the communication is not connected, sending a prompt that the communication connection cannot be established to a user by the sound equipment, and needing to reconnect the USB line or replace the USB line for connection; until the sound equipment and the power adapter establish communication connection through the USB line.
The charging start module 12: the power adapter is used for responding to the charging request instruction, starting a charging mode and charging the sound equipment according to a common charging mode;
in the specific implementation process of the invention, after the power adapter receives the charging request instruction sent by the sound equipment, the power adapter starts the charging mode corresponding to the charging request instruction, and the sound equipment is charged according to the common charging mode.
The charging request instruction sent by the audio equipment contains some basic information of a battery and a charging circuit in the audio equipment, such as the maximum load value of the charging circuit, the maximum charging load value of the battery during charging, the load value of the charging circuit during normal and ordinary charging, and the like; after receiving the charging request instruction, the power adapter also obtains basic information contained in the charging request instruction, and after analyzing the basic information, the power adapter responds to the charging request instruction and generates a corresponding charging mode according to the charging request instruction, wherein the corresponding charging mode comprises a common charging mode and a quick charging mode; the normal charging mode is a normal charging load specified for the audio device, and the fast charging mode is a minimum load value among maximum charging loads in a charging circuit and a battery of the audio device.
The monitoring instruction sending module 13: the charging monitoring device is used for sending a charging monitoring instruction to the sound equipment through the USB line in the process that the power adapter charges the sound equipment;
in the specific implementation process of the present invention, in the process of charging the audio device by the power adapter, the power adapter sends a charging monitoring instruction to the audio device through the USB cable, where the charging monitoring instruction includes data to be monitored, such as: data of the charging circuit on the audio device and the battery on the audio device need to be monitored.
The monitoring instruction sending module 13 is configured to send a charging monitoring instruction to the sound equipment through the USB cable according to a preset time period; the charging monitoring instruction comprises a sound charging circuit monitoring instruction and a sound battery monitoring instruction; the charging monitoring instruction is sent to the sound equipment through the USB line according to a preset time period, and the charging monitoring instruction comprises the sound charging circuit monitoring instruction and the sound battery monitoring instruction.
The monitoring module 14: the audio equipment is used for responding to the charging monitoring instruction, monitoring a charging circuit and a battery in the audio equipment, and feeding back acquired monitoring data to the power adapter through a USB data line;
in the specific implementation process of the invention, after the sound equipment receives the charging monitoring instruction, the sound equipment responds to the charging monitoring instruction in time, monitors the charging circuit and the battery in the sound equipment and acquires monitoring data, wherein the monitoring data comprises the charging circuit monitoring data and the battery monitoring data; the charging circuit monitoring data comprises charging circuit temperature data and charging circuit load data; the battery monitoring data includes the battery temperature data and the battery charging load data.
And then feeding back the obtained monitoring data to the power adapter through the USB cable.
The mode switching module 15: and the power adapter is used for switching the charging mode according to the monitoring data.
In the specific implementation process of the invention, the power adapter switches the charging mode according to the monitoring data fed back by the sound equipment.
Specifically, the switching module 15 includes: a determination unit: the charging mode used for determining whether the current charging mode of the power adapter for charging the sound equipment is a normal charging mode or a quick charging mode; a mode switching unit: and the power adapter is used for switching the charging mode according to the monitoring data and the current charging mode.
Further, the mode switching unit includes: a first switching unit: the power adapter is used for judging whether the monitoring data are larger than a preset value or not when the current charging mode is determined to be the common charging mode; if yes, the power adapter stops charging the sound equipment; if not, the power adapter switches the current charging mode to a quick charging mode; a second switching unit: the power adapter is used for judging whether the monitoring data are larger than a preset value or not when the current charging mode is determined to be the quick charging mode; if so, the power adapter switches the current charging mode to a common charging mode; if not, the power adapter keeps the current mode to charge the sound equipment.
Firstly, determining a current charging mode, namely when the current charging mode is determined to be a common charging mode, judging whether monitoring data is greater than a preset threshold value, for example, the temperature of a battery with the preset threshold value is 40 ℃, the protection temperature of a charging circuit is 50 ℃ and the like; if any one of the monitoring data is larger than the preset threshold value, the sound equipment is required to be stopped from being continuously charged; when all the data are smaller than the threshold value, the power adapter adjusts the current charging mode to the quick charging mode to continuously charge the sound equipment; when one of the data is equal to the preset threshold value, the power adapter does not perform any processing of switching the charging mode, and keeps the current charging mode to continuously charge the sound equipment.
Firstly, determining a current charging mode, namely when the current charging mode is determined to be a quick charging mode, judging whether monitoring data is greater than a preset threshold value, for example, the temperature of a battery with the preset threshold value is 40 ℃, the protection temperature of a charging circuit is 50 ℃ and the like; if any one of the monitoring data is larger than the preset threshold value, the current quick charging mode is adjusted to be the common charging mode to continue charging the sound equipment; when all data are less than or equal to the threshold, the power adapter will keep the current fast charge mode to continue charging the audio device.
In the embodiment of the invention, the sound equipment sends a charging request instruction to the power adapter through the USB data line, the power adapter responds to the request instruction and charges the sound equipment according to a common charging mode, meanwhile, a charging monitoring instruction is sent to the sound equipment according to a preset time period, the sound equipment monitors according to the monitoring instruction and feeds back monitoring data to the power adapter, and the power adapter switches the charging mode according to the judgment of the monitoring data and a threshold value and the current charging mode; the charging safety of the equipment is effectively protected, and the charging speed of the equipment is accelerated.
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 storage medium, and the storage medium may include: a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, or the like.
In addition, the method and the device for switching the charging mode of the audio device based on the USB cable according to the embodiment of the present invention are described in detail, and a specific example is used herein to explain the principle and the implementation of the present invention, and the description of the embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, 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 invention.

Claims (10)

1. A method for switching charging modes of sound equipment based on a USB line is characterized by comprising the following steps:
the method comprises the following steps that the sound equipment is connected with a power adapter through a USB line, and after the sound equipment is connected, the sound equipment sends a charging request instruction to the power adapter through the USB line;
the power adapter responds to the charging request instruction, starts a charging mode and charges the sound equipment according to a common charging mode;
the power adapter sends a charging monitoring instruction to the sound equipment through the USB line in the process of charging the sound equipment;
the sound equipment responds to the charging monitoring instruction, monitors a charging circuit and a battery in the sound equipment, and feeds back acquired monitoring data to the power adapter through a USB (universal serial bus) line;
the power adapter switches the charging mode according to the monitoring data;
before the sound equipment sends a charging request instruction, the sound equipment firstly establishes a communication relation with a power adapter through a USB line, namely the sound equipment generates a communication establishment request instruction to the power adapter through the USB line, and then the sound equipment judges whether the sound equipment is communicated with the power adapter by receiving feedback of the power adapter about the communication establishment request instruction; judging whether the communication is connected or not by responding to the feedback information of the communication establishing request instruction through the power adapter, if no feedback information exists, judging that the communication is not connected, sending a prompt that the communication connection cannot be established to a user by the sound equipment, and needing to reconnect the USB line or replace the USB line for connection; until the sound equipment and the power adapter establish communication connection through the USB line.
2. The audio device charging mode switching method according to claim 1, wherein the charging mode includes: a normal charging mode and a fast charging mode.
3. The audio device charging mode switching method according to claim 1, wherein the sending of the charging monitoring instruction to the audio device through the USB line includes:
sending a charging monitoring instruction to the sound equipment through the USB line according to a preset time period;
the charging monitoring instruction comprises a charging circuit monitoring instruction of the sound equipment and a battery monitoring instruction of the sound equipment.
4. The audio device charging mode switching method according to claim 1, wherein the monitoring data includes charging circuit monitoring data and battery monitoring data;
the charging circuit monitoring data comprises charging circuit temperature data and charging circuit load data;
the battery monitoring data comprises battery temperature data and battery charging load data.
5. The audio device charging mode switching method according to claim 1, wherein the power adapter performs charging mode switching according to the monitoring data, and the method comprises:
determining whether a charging mode of the current power adapter for charging the sound equipment is a common charging mode or a quick charging mode;
and the power adapter switches the charging mode according to the monitoring data and the current charging mode.
6. The audio device charging mode switching method according to claim 5, wherein the power adapter performs charging mode switching according to the monitoring data and a current charging mode, and the method comprises the following steps:
when the current charging mode is determined to be the common charging mode, the power adapter judges whether the monitoring data is larger than a preset value; if yes, the power adapter stops charging the sound equipment; if not, the power adapter switches the current charging mode to a quick charging mode;
when the current charging mode is determined to be the quick charging mode, the power adapter judges whether the monitoring data are larger than a preset value; if so, the power adapter switches the current charging mode to a common charging mode; if not, the power adapter keeps the current mode to charge the sound equipment.
7. An audio device charging mode switching apparatus based on a USB cable, the apparatus comprising:
a charging request module: the method comprises the steps that the sound equipment is connected with a power adapter through a USB line, and after the sound equipment is connected, the sound equipment sends a charging request instruction to the power adapter through the USB line;
the charging starting module: the power adapter is used for responding to the charging request instruction, starting a charging mode and charging the sound equipment according to a common charging mode;
the monitoring instruction sending module: the charging monitoring device is used for sending a charging monitoring instruction to the sound equipment through the USB line in the process that the power adapter charges the sound equipment;
a monitoring module: the audio equipment is used for responding to the charging monitoring instruction, monitoring a charging circuit and a battery in the audio equipment, and feeding back acquired monitoring data to the power adapter through a USB (universal serial bus) line;
a mode switching module: the power adapter is used for switching charging modes according to the monitoring data;
before the sound equipment sends a charging request instruction, the sound equipment firstly establishes a communication relation with a power adapter through a USB line, namely the sound equipment generates a communication establishment request instruction to the power adapter through the USB line, and then the sound equipment judges whether the sound equipment is communicated with the power adapter by receiving feedback of the power adapter about the communication establishment request instruction; judging whether the communication is connected or not by responding to the feedback information of the communication establishing request instruction through the power adapter, if no feedback information exists, judging that the communication is not connected, sending a prompt that the communication connection cannot be established to a user by the sound equipment, and needing to reconnect the USB line or replace the USB line for connection; until the sound equipment and the power adapter establish communication connection through the USB line.
8. The audio device charging mode switching apparatus according to claim 7, wherein the monitoring instruction sending module is configured to send a charging monitoring instruction to the audio device through the USB cable according to a preset time period;
the charging monitoring instruction comprises a charging circuit monitoring instruction of the sound equipment and a battery monitoring instruction of the sound equipment.
9. The audio device charging mode switching apparatus according to claim 7, wherein the switching module includes:
a determination unit: the charging mode used for determining whether the current charging mode of the power adapter for charging the sound equipment is a normal charging mode or a quick charging mode;
a mode switching unit: and the power adapter is used for switching the charging mode according to the monitoring data and the current charging mode.
10. The audio device charging mode switching apparatus according to claim 9, wherein the mode switching unit includes:
a first switching unit: the power adapter is used for judging whether the monitoring data are larger than a preset value or not when the current charging mode is determined to be the common charging mode; if yes, the power adapter stops charging the sound equipment; if not, the power adapter switches the current charging mode to a quick charging mode;
a second switching unit: the power adapter is used for judging whether the monitoring data are larger than a preset value or not when the current charging mode is determined to be the quick charging mode; if so, the power adapter switches the current charging mode to a common charging mode; if not, the power adapter keeps the current mode to charge the sound equipment.
CN201810869185.8A 2018-08-01 2018-08-01 Sound equipment charging mode switching method and device based on USB (Universal Serial bus) line Expired - Fee Related CN109004710B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810869185.8A CN109004710B (en) 2018-08-01 2018-08-01 Sound equipment charging mode switching method and device based on USB (Universal Serial bus) line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810869185.8A CN109004710B (en) 2018-08-01 2018-08-01 Sound equipment charging mode switching method and device based on USB (Universal Serial bus) line

Publications (2)

Publication Number Publication Date
CN109004710A CN109004710A (en) 2018-12-14
CN109004710B true CN109004710B (en) 2021-04-06

Family

ID=64594954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810869185.8A Expired - Fee Related CN109004710B (en) 2018-08-01 2018-08-01 Sound equipment charging mode switching method and device based on USB (Universal Serial bus) line

Country Status (1)

Country Link
CN (1) CN109004710B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117542134B (en) * 2024-01-10 2024-04-05 深圳市每开创新科技有限公司 Communication method and device of passive device, electronic device and readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110117840A1 (en) * 2007-07-26 2011-05-19 Zhi Li Bluetooth Earphone And Host Device Using The Bluetooth Earphone
CN104518206B (en) * 2013-09-26 2017-11-28 联想(北京)有限公司 A kind of rechargeable battery, method and apparatus
CN104124483B (en) * 2014-05-23 2016-05-04 东莞市钜大电子有限公司 A kind of portable power source fast charge method and system
EP3923443A1 (en) * 2014-11-11 2021-12-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Communication method, power adaptor and terminal
CN105720644A (en) * 2016-04-06 2016-06-29 北京小米移动软件有限公司 Charging control method and device and terminal device

Also Published As

Publication number Publication date
CN109004710A (en) 2018-12-14

Similar Documents

Publication Publication Date Title
EP3131171B1 (en) Power adaptor, terminal and charging system
US10778018B2 (en) Charging protection method and apparatus
US10862321B2 (en) Power adaptor, control method and device
US11088552B2 (en) Charging method, terminal, and charging adapter
US10326291B2 (en) Quick charging method, power adapter and mobile terminal
WO2015113465A1 (en) Terminal, power adapter, and method for processing charging exception
CN108988417B (en) Power adapter and terminal
CN110768332B (en) Charging cartridge, charging control method thereof, and readable storage medium
CN103730933A (en) Charging method and electronic devices
US9967687B2 (en) Audio reproduction apparatus and audio reproduction system
CN105322615A (en) Charging control method and electronic device for supporting the same
CN107910911B (en) Charging control method, terminal and computer storage medium
CN112290620A (en) Charging method and device of wireless earphone, charging box and storage medium
CN109004710B (en) Sound equipment charging mode switching method and device based on USB (Universal Serial bus) line
CN203813501U (en) Charger
CN111601290A (en) Bluetooth sound box, earphone, Bluetooth audio playing device, Bluetooth audio playing system and switching method
US20210226469A1 (en) Charging Method, Terminal and Computer Storage Medium
CN106786940B (en) Charging control method, device, adapter and system
US10742057B2 (en) Self-loop detection method and apparatus for charging device
CN115396990A (en) Power consumption control method and device
EP3989390A1 (en) Charging control method and apparatus, electronic device and storage medium
CN112119566A (en) Power supply method, device, system and storage medium
CN109614071A (en) Major-minor earphone switching method, bluetooth headset and computer readable storage medium
CN113727465B (en) Control method and device
CN108183520B (en) Mobile power supply communication 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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210406