WO2018072443A1 - Charging method, apparatus, and data storage medium - Google Patents
Charging method, apparatus, and data storage medium Download PDFInfo
- Publication number
- WO2018072443A1 WO2018072443A1 PCT/CN2017/085985 CN2017085985W WO2018072443A1 WO 2018072443 A1 WO2018072443 A1 WO 2018072443A1 CN 2017085985 W CN2017085985 W CN 2017085985W WO 2018072443 A1 WO2018072443 A1 WO 2018072443A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- charged
- charging
- current
- power
- threshold
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000013500 data storage Methods 0.000 title abstract 2
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 10
- 238000004590 computer program Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 3
- 238000007599 discharging Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011010 flushing procedure Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/44—Methods for charging or discharging
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/44—Methods for charging or discharging
- H01M10/446—Initial charging measures
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/00032—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
- H02J7/00034—Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0047—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
- H02J7/0048—Detection of remaining charge capacity or state of charge [SOC]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Definitions
- the present invention relates to the field of mobile communications, and in particular, to a charging method, device, and storage medium.
- the charging device becomes a conventional electric energy replenishing device, that is, a charging device.
- the existing charging device mainly obtains a charging voltage required by the device to be charged through a Universal Serial Bus (USB), and outputs power for the device to be charged.
- USB Universal Serial Bus
- the power supply to the device to be charged cannot be well outputted only by obtaining the charging voltage required by the device to be charged, and at the same time, the charging loss is increased and the battery life is reduced.
- Embodiments of the present invention provide a charging method, device, and storage medium to effectively output electrical energy for a device to be charged.
- an embodiment of the present invention provides a charging method, including:
- the embodiment of the present invention further provides a charging device, including:
- Obtaining a module configured to obtain battery attribute information and current power of the device to be charged through the wireless local area network wifi; and configured to acquire a charging voltage of the device to be charged; and configured to acquire the to-be-acquired according to the battery attribute information and the current power Charging current of the charging device;
- the processing module is configured to output power to the device to be charged according to a charging current and a charging voltage of the device to be charged.
- the embodiment of the present invention further provides a charging device, including:
- a memory configured to store an executable program
- a processor configured to: perform the following operations by executing an executable program stored in the memory:
- the embodiment of the present invention further provides a storage medium, where an executable program is stored, and when the executable program is executed by the processor, the following operations are implemented:
- the charging method, the device and the storage medium provided by the embodiment of the invention obtain the battery attribute information and the current power of the device to be charged; obtain the charging voltage of the device to be charged; and obtain the charging current of the device to be charged according to the battery attribute information and the current power. And outputting electric energy to the device to be charged according to the charging current and the charging voltage of the device to be charged; thus, the charging device can satisfy the demand of the current of the device to be charged while charging the device to be charged, and can also meet the demand of the current. Effectively output electrical energy for the device to be charged, while reducing charging loss and extending battery life.
- Embodiment 1 is a flow chart of Embodiment 1 of a charging method of the present invention.
- Embodiment 2 is a flowchart of Embodiment 2 of a charging method of the present invention.
- Embodiment 3 is a flowchart of Embodiment 3 of a charging method of the present invention.
- Embodiment 4 is a flowchart of Embodiment 4 of a charging method of the present invention.
- FIG. 5 is a schematic structural diagram of Embodiment 1 of a charging device according to the present invention.
- FIG. 6 is a schematic structural view of a second embodiment of a charging device according to the present invention.
- FIG. 7 is a schematic structural view of a third embodiment of a charging device according to the present invention.
- FIG. 8 is a schematic structural diagram of Embodiment 4 of a charging device according to the present invention.
- FIG. 9 is a schematic structural diagram of Embodiment 5 of a charging device according to the present invention.
- Embodiment 1 is a flow chart of Embodiment 1 of a charging method of the present invention. As shown in FIG. 1, the method provided in this embodiment includes:
- Step 101 The charging device acquires battery attribute information and current power of the device to be charged.
- the charging device acquires battery attribute information and current power of the device to be charged through wireless wireless network wireless (Wireless Fidelity, wifi for short).
- wireless wireless network wireless Wireless Fidelity, wifi for short.
- the charging device needs to have a built-in module capable of implementing the wifi function, thereby obtaining the battery attribute information and the current power of the device to be charged through the wifi, wherein the battery attribute information includes information such as the battery brand, the battery model, and the battery capacity.
- the device to be charged also needs to have the wifi function.
- the charging device can obtain the battery attribute information and the current power amount of the device to be charged through wifi, and one of them can obtain the battery attribute information and the current power amount of the device to be charged by calling the interface function. The battery attribute information and the current power amount are then transmitted to the charging device via wifi in a predetermined format.
- Step 102 The charging device acquires a charging voltage of the device to be charged.
- the charging voltage of the device to be charged can be obtained by using an existing method, that is, connecting the device to be charged through USB to obtain the charging voltage of the device to be charged.
- Step 103 The charging device acquires a charging current of the device to be charged according to the battery attribute information and the current power.
- Step 104 The charging device outputs electrical energy to the device to be charged according to the charging current and the charging voltage of the device to be charged.
- outputting electric energy to the device to be charged according to the charging current and the charging voltage of the device to be charged means that the voltage and current when charging the device to be charged are respectively the charging voltage and the charging current required by the device to be charged.
- the charging method provided in this embodiment not only obtains the charging voltage of the device to be charged, but also obtains the charging current of the device to be charged, and outputs electrical energy to the device to be charged according to the charging voltage and the charging current, so that the charging device charges the device to be charged.
- the demand of the voltage of the device to be charged can be met, and the current demand can be met, thereby effectively achieving the purpose of outputting electrical energy for the device to be charged, while reducing the charging loss and prolonging the battery life.
- the embodiment of the invention further provides a storage medium, wherein the computer readable medium stores executable instructions, and the executable instructions are used to perform the charging method according to the first embodiment of the present invention.
- the executable program is executed by the processor to:
- FIG. 2 is a flow chart of a second embodiment of a charging method of the present invention. As shown in FIG. 2, the method provided in this embodiment includes:
- Step 201 The charging device acquires battery attribute information and current power of the device to be charged through wifi.
- Step 202 The charging device acquires a charging voltage of the device to be charged.
- Step 203 The charging device acquires a charging curve corresponding to the device to be charged in the charging curve query table according to the battery attribute information of the device to be charged.
- the charging curve query table is a correspondence table between the battery attribute information and the charging curve and is pre-stored in the charging device; the charging curve is a relationship between the amount of the device to be charged and the required charging current.
- the charging current required by the battery in the three stages of pre-flushing, fast charging, and slow charging can be directly obtained from the battery manufacturer, and then the charging curve can be drawn, and the battery can be obtained according to the charging curve.
- Step 204 The charging device acquires a charging current of the device to be charged in a charging curve corresponding to the device to be charged according to the current power of the device to be charged.
- the current power of the device to be charged is acquired every predetermined period of time, because the required charging current corresponding to different electric quantities in the charging curve is different, and as the charging process proceeds, it is required to follow the corresponding one in the charging curve.
- the charging current needs to be adjusted to the actual charging current. Therefore, it is necessary to obtain the latest power information at regular intervals as the current power, and then obtain the required charging current.
- the current power of the device to be charged may be expressed in milliamps (mAh). It can also be expressed as a percentage of remaining battery.
- the predetermined time can be set according to the actual application. If it is necessary to charge the device to be charged strictly according to the required charging current corresponding to different electric quantities in the charging curve, the predetermined time can be set shorter.
- Step 205 The charging device outputs electrical energy to the device to be charged according to the charging current and the charging voltage of the device to be charged.
- the charging method provided in this embodiment not only obtains the charging voltage of the device to be charged, but also obtains the charging current of the device to be charged by acquiring the charging curve corresponding to the device to be charged, thereby outputting the electric energy for the device to be charged according to the charging voltage and the charging current, such that When charging the device to be charged, the charging device can meet the demand of the voltage of the device to be charged while satisfying the demand of the current, and can effectively output the electric energy for the device to be charged, thereby reducing the charging loss and prolonging the battery. life.
- the embodiment of the invention further provides a storage medium, wherein the computer readable medium stores executable instructions, and the executable instructions are used to perform the charging method according to the second embodiment of the present invention.
- FIG. 3 is a flowchart of Embodiment 3 of a charging method of the present invention. If at least two devices to be charged are simultaneously connected to the charging device, as shown in FIG. 3, the method provided in this embodiment includes:
- Step 301 The charging device acquires initial power and wifi access rate of at least two devices to be charged through wifi.
- the wifi access rate of the device to be charged refers to the rate at which the wifi bandwidth occupied by the device to be charged is connected to the wifi for data transmission.
- Step 302 The charging device sets the priority of the device to be charged according to the initial power of the at least two devices to be charged and the wifi access rate.
- the number of priorities depends on the initial power of the device to be charged in actual needs.
- the setting of the wifi access rate can be set to two or more than two priority levels.
- the priority number can be set to three, which are high priority, medium priority, and low priority.
- the device to be charged is set to be a high priority device to be charged; if the device to be charged is wifi The access rate is less than the first rate and greater than the second rate, or the initial power of the device to be charged is greater than the third threshold and less than the fourth threshold, and the device to be charged is set as the medium priority to be charged device; if the device to be charged is connected to the wifi The ingress rate is less than or equal to the second rate or the initial power of the device to be charged is greater than or equal to the fourth threshold, and the device to be charged is set to be a low priority device to be charged; wherein the first rate is greater than the second rate, and the third threshold is less than the fourth threshold.
- Step 303 The charging device acquires the remaining power of the charging device.
- Step 304 The charging device acquires battery attribute information and current power of the device to be charged.
- Step 305 The charging device acquires a charging voltage of the device to be charged.
- Step 306 The charging device acquires a charging curve corresponding to the device to be charged in the charging curve query table according to the battery attribute information of the device to be charged.
- Step 307 The charging device acquires a charging current for charging the device to be charged in a charging curve corresponding to the device to be charged according to the remaining power of the charging device, the priority of the device to be charged, and the current power of the device to be charged.
- Step 308 The charging device outputs electrical energy to the device to be charged according to the charging current and the charging voltage of the device to be charged.
- the priority of the device to be charged is set according to the initial power and the wifi access rate of the device to be charged, and then the charging voltage of the device to be charged is obtained.
- charging current thereby outputting electric energy to the device to be charged according to the priority of the device to be charged, the charging voltage and the charging current, so that the charging device is given multiple
- the charging device it can meet the demand of the voltage of the device to be charged, and can also meet the current demand, thereby achieving the purpose of effectively outputting electric energy for a plurality of devices to be charged, reducing charging loss, extending battery life, and capable of Make reasonable use of the amount of electricity stored in the charging device.
- the embodiment of the invention further provides a storage medium, wherein the computer readable medium stores executable instructions, and the executable instructions are used to perform the charging method according to the third embodiment of the present invention.
- FIG. 4 is a flowchart of Embodiment 4 of the charging method of the present invention.
- step 307 includes:
- Step 307a The charging device calculates a ratio of the remaining power of the charging device to the total power of the charging device, and obtains a remaining power ratio of the charging device.
- Step 307b The charging device determines a relationship between the remaining power ratio and the first threshold and the second threshold. The first threshold is greater than the second threshold.
- Step 307c If the remaining power ratio is greater than or equal to the first threshold, the charging device obtains the required charging current according to the current power of the device to be charged in the charging curve corresponding to the device to be charged, and sets the charging current of the device to be charged; The charge ratio is less than the first threshold and greater than the second threshold, and the charging device obtains the required charging current according to the current power of the device to be charged in the charging curve corresponding to the device to be charged, and is based on the priority of the device to be charged and the required charging current.
- the charging current of the device to be charged is set; if the remaining power ratio is less than or equal to the second threshold, the charging device obtains the device with the highest priority in the charging curve corresponding to the device to be charged according to the current power of the device with the highest priority.
- the charging current is required and set to the charging current of the device to be charged.
- the remaining power ratio may be expressed in the form of a fraction, or may be expressed in a percentage form, and may also be expressed in other proportions. If the representation of the remaining power ratio is determined, the first threshold and the second threshold are determined. The representation has also been determined. The first threshold and the second threshold may be set according to an actual application. For example, if the remaining power ratio, the first threshold, and the second threshold are expressed as a percentage, it is assumed that the first threshold is set to 60%, and the second threshold is set. 30%, that is to say, when the remaining power ratio is 60% or more, the charging device can be considered to be high.
- the amount of electricity, so the required charging current obtained in the charging curve corresponding to the device to be charged is directly used as the charging current according to the current power of the device to be charged, and then all the devices to be charged are charged according to the charging voltage and the charging current;
- the charging device is in a medium power, so the required charging current obtained in the charging curve corresponding to the device to be charged according to the current power of the device to be charged is not directly used as the charging current, but Then, according to the priority of the device to be charged, the charging current of the device to be charged is set according to a certain ratio of the required charging current, and then the charging device and the charging voltage are charged according to the set charging current and the charging voltage; when the remaining battery ratio is less than or equal to At 30%, it can be considered that the charging device is in a low battery state, so the charging current direct charging current required for the device with the highest priority to be obtained is obtained in the charging curve corresponding to the device to be charged according to the current power of the
- the required charging current is obtained in the charging curve corresponding to the device to be charged according to the current power of the device to be charged, and based on the priority of the device to be charged.
- the level and required charging current set the charging current of the device to be charged, including:
- the required charging current is set as the charging current of the device to be charged; if the priority of the device to be charged is medium priority, the current of the first proportion of the required charging current will be occupied.
- the priority of the device to be charged is set according to the initial power of the device to be charged and the wifi access rate.
- the charging voltage and the charging current of the device to be charged are obtained, so that the charging device can charge the device to be charged according to the priority, the charging voltage and the charging current of the device to be charged, and the utility model can effectively realize the output of the electrical energy for the plurality of devices to be charged. At the same time, it reduces the charging loss, prolongs the battery life, and can properly utilize the power stored in the charging device.
- FIG. 5 is a schematic structural diagram of Embodiment 1 of a charging device according to the present invention.
- the charging device provided in this embodiment includes: an obtaining module 41 and a processing module 42;
- the obtaining module 41 is configured to obtain the battery attribute information of the device to be charged and the current power; and is further configured to obtain a charging voltage of the device to be charged; and configured to acquire a charging current of the device to be charged according to the battery attribute information and the current power.
- the processing module 42 is configured to output electrical energy to the device to be charged according to the charging current and the charging voltage of the device to be charged.
- the obtaining module 41 is further configured to obtain, according to the battery attribute information of the device to be charged, a charging curve corresponding to the device to be charged in the charging curve query table; wherein the charging curve query table is between the battery attribute information and the charging curve Corresponding to the relationship table and pre-stored in the charging device; the charging curve is a relationship between the amount of power of the device to be charged and the required charging current;
- the charging current of the device to be charged is obtained in the charging curve corresponding to the device to be charged according to the current power of the device to be charged.
- the acquisition module 41 and the processing module 42 may each be a Central Processing Unit (CPU), a Micro Processor Unit (MPU), and a Digital Signal Processor (Digital Signal Processor) located in the charging device. DSP) or Field Programmable Gate Array (FPGA) implementation.
- CPU Central Processing Unit
- MPU Micro Processor Unit
- DSP Digital Signal Processor
- FPGA Field Programmable Gate Array
- the charging device provided in this embodiment can be used to perform the technical solutions of the first and second embodiments of the charging method, and the implementation principle and technical effects are similar, and details are not described herein again.
- FIG. 6 is a schematic structural diagram of Embodiment 2 of a charging device according to the present invention. As shown in FIG. 6, the device provided in this embodiment further includes:
- the setting module 43 is configured to set the priority of the device to be charged according to the initial power of the device to be charged and the wifi access rate.
- the setting module 43 is configured to set the device to be charged as a high priority device to be charged if the wifi access rate of the device to be charged is greater than or equal to the first rate or the initial power of the device to be charged is less than or equal to the third threshold;
- the wifi access rate of the device is smaller than the first rate and greater than the second rate, or the initial power of the device to be charged is greater than the third threshold and less than the fourth threshold, and the device to be charged is set as the medium priority device to be charged;
- the wifi access rate is less than or equal to the second rate or the initial power of the device to be charged is greater than or equal to the fourth threshold, and the device to be charged is set to be a low priority device to be charged; wherein the first rate is greater than the second rate, and the third threshold is less than the second Four thresholds.
- the obtaining module 41 is further configured to obtain an initial power and a wifi access rate of the device to be charged, and obtain a remaining power of the charging device; according to the remaining power of the charging device, the priority of the device to be charged, and the current power of the device to be charged, The charging current corresponding to the charging device is obtained in the charging curve corresponding to the device to be charged.
- the obtaining module 41, the processing module 42 and the setting module 43 can all be implemented by a CPU, an MPU, a DSP, an FPGA, or the like located in the charging device.
- the charging device provided in this embodiment can be used to implement the technical solution in the third embodiment of the charging method, and the implementation principle and technical effects are similar, and details are not described herein again.
- FIG. 7 is a schematic structural diagram of Embodiment 3 of a charging device according to the present invention.
- the acquiring module 41 in the device provided in this embodiment includes:
- the calculating unit 411 is configured to calculate a proportion of the remaining power of the charging device in the total power of the charging device, to obtain a remaining power ratio of the charging device;
- the determining unit 412 is configured to determine a relationship between the remaining power ratio and the first threshold and the second threshold, wherein the first threshold is greater than the second threshold;
- the executing unit 413 is configured to: if the remaining power ratio is greater than or equal to the first threshold, according to the to-be-charged setting The current power of the device is obtained in the charging curve corresponding to the device to be charged, and is set as the charging current of the device to be charged; if the remaining battery ratio is less than the first threshold and greater than the second threshold, according to the current device to be charged The electric quantity obtains the required charging current in the charging curve corresponding to the equipment to be charged, and sets the charging current of the equipment to be charged based on the priority of the equipment to be charged and the required charging current; if the remaining electric quantity ratio is less than or equal to the second threshold, according to the priority The current power level of the device to be charged is the highest, and the charging current required by the device with the highest priority is obtained in the charging curve corresponding to the device to be charged, and is set as the charging current of the device to be charged.
- the executing unit 413 is configured to obtain a required charging current in a charging curve corresponding to the device to be charged according to the current power consumption information of the device to be charged; if the priority of the device to be charged is a high priority, the required charging current is set.
- the charging device provided in this embodiment can be used to implement the technical solution of the fourth embodiment of the charging method, and the implementation principle and technical effects are similar, and details are not described herein again.
- the obtaining module 41, the calculating unit 411, the determining unit 412, the executing unit 413, the processing module 42, and the setting module 43 can all be implemented by a CPU, an MPU, a DSP, an FPGA, or the like located in the charging device.
- the charging device provided by the present invention can realize the component composition of the corresponding function, and is not limited to the modules and units described in the above embodiments.
- the existing charging device can be built in the wifi device, thereby becoming a wifi device with a charging function, and the device can obtain the battery attribute information of the device to be charged and the current device through the built-in wifi.
- the electric quantity according to the battery attribute information and the current electric quantity, obtain the charging current of the device to be charged, and then obtain the charging voltage of the device to be charged through the USB connection method, thereby realizing the charging device to be charged The purpose of charging.
- FIG. 8 is a schematic structural diagram of Embodiment 4 of a charging device according to the present invention.
- the charging device includes a wifi function module 51, a management module 52, a battery 53, a charging control circuit 54, and a discharging circuit 55.
- the wifi function module 51 is configured to implement a wifi connection with the device to be charged, and the management module 52 It is configured to obtain the battery attribute information and the current power of the device to be charged through wifi; obtain the charging voltage of the device to be charged; obtain the charging current of the device to be charged according to the battery attribute information and the current power, and the battery 53 is configured to provide power, and the charging control circuit 54 Disposed to control the charging voltage and the charging current, the discharging circuit 55 is configured to output electrical energy to the device to be charged according to the charging voltage and the charging current.
- FIG. 9 is a schematic structural diagram of Embodiment 5 of a charging device according to the present invention. As shown in FIG. 9, the charging device includes a memory 61 and a processor 62;
- a memory 61 configured to store an executable program
- the processor 62 is configured to perform the following operations by executing an executable program stored in the memory:
- embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
- the present invention is directed to a method, apparatus (system), and computer program in accordance with an embodiment of the present invention
- the flow chart and/or block diagram of the product is described. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
- These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- a device implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of a flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- General Chemical & Material Sciences (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (AREA)
Abstract
The embodiments of the invention provide a charging method, apparatus, and data storage medium. The method comprises: obtaining battery property information and current power of an apparatus to be charged; obtaining a charging voltage of the apparatus to be charged; obtaining, according to the battery property information and the current power, a charging current of the apparatus to be charged; and outputting, according to the charging current and the charging voltage of the apparatus to be charged, and to the apparatus to be charged, electrical energy.
Description
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201610907197.6、申请日为2016年10月18日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is based on a Chinese patent application filed on Jan. 18, 2016, the entire disclosure of which is hereby incorporated by reference.
本发明涉及移动通信领域,尤其涉及一种充电方法、设备及存储介质。The present invention relates to the field of mobile communications, and in particular, to a charging method, device, and storage medium.
随着移动互联网的兴起,智能终端在人们的生活中使用越来越频繁,智能终端自身电池携带的电能通常无法实现长时间的电能供给。因此,充电设备成为人们惯用的电能补充设备,即充电设备。With the rise of the mobile Internet, smart terminals are used more and more frequently in people's lives, and the power carried by the smart terminal's own battery usually cannot achieve long-term power supply. Therefore, the charging device becomes a conventional electric energy replenishing device, that is, a charging device.
现有充电设备主要通过通用串行总线(Universal Serial Bus,简称USB)获取待充电设备所需的充电电压,为待充电设备输出电能。The existing charging device mainly obtains a charging voltage required by the device to be charged through a Universal Serial Bus (USB), and outputs power for the device to be charged.
但是,在实际应用中,仅通过获取待充电设备所需的充电电压的方式无法很好地向待充电设备输出电能,同时会增加充电损耗,减少电池寿命。However, in practical applications, the power supply to the device to be charged cannot be well outputted only by obtaining the charging voltage required by the device to be charged, and at the same time, the charging loss is increased and the battery life is reduced.
发明内容Summary of the invention
本发明实施例提供一种充电方法、设备及存储介质,以能够有效地为待充电设备输出电能。Embodiments of the present invention provide a charging method, device, and storage medium to effectively output electrical energy for a device to be charged.
本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is implemented as follows:
第一方面,本发明实施例提供一种充电方法,包括:In a first aspect, an embodiment of the present invention provides a charging method, including:
获取待充电设备的电池属性信息和当前电量;
Obtaining battery attribute information and current power of the device to be charged;
获取所述待充电设备的充电电压;Obtaining a charging voltage of the device to be charged;
根据所述电池属性信息和当前电量获取所述待充电设备的充电电流;Obtaining a charging current of the device to be charged according to the battery attribute information and a current power amount;
根据所述待充电设备的充电电流和充电电压向所述待充电设备输出电能。And outputting electrical energy to the device to be charged according to the charging current and the charging voltage of the device to be charged.
第二方面,本发明实施例还提供一种充电设备,包括:In a second aspect, the embodiment of the present invention further provides a charging device, including:
获取模块,配置为通过无线局域网wifi获取待充电设备的电池属性信息和当前电量;还配置为获取所述待充电设备的充电电压;还配置为根据所述电池属性信息和当前电量获取所述待充电设备的充电电流;Obtaining a module, configured to obtain battery attribute information and current power of the device to be charged through the wireless local area network wifi; and configured to acquire a charging voltage of the device to be charged; and configured to acquire the to-be-acquired according to the battery attribute information and the current power Charging current of the charging device;
处理模块,配置为根据所述待充电设备的充电电流和充电电压向所述待充电设备输出电能。The processing module is configured to output power to the device to be charged according to a charging current and a charging voltage of the device to be charged.
第三方面,本发明实施例还提供一种充电设备,包括:In a third aspect, the embodiment of the present invention further provides a charging device, including:
存储器,配置为存储可执行程序;a memory configured to store an executable program;
处理器,配置为通过执行所述存储器中存储的可执行程序时实现以下操作:A processor configured to: perform the following operations by executing an executable program stored in the memory:
获取待充电设备的电池属性信息和当前电量;Obtaining battery attribute information and current power of the device to be charged;
获取所述待充电设备的充电电压;Obtaining a charging voltage of the device to be charged;
根据所述电池属性信息和当前电量获取所述待充电设备的充电电流;Obtaining a charging current of the device to be charged according to the battery attribute information and a current power amount;
根据所述待充电设备的充电电流和充电电压向所述待充电设备输出电能。And outputting electrical energy to the device to be charged according to the charging current and the charging voltage of the device to be charged.
第四方面,本发明实施例又提供一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时实现以下操作:In a fourth aspect, the embodiment of the present invention further provides a storage medium, where an executable program is stored, and when the executable program is executed by the processor, the following operations are implemented:
获取待充电设备的电池属性信息和当前电量;Obtaining battery attribute information and current power of the device to be charged;
获取所述待充电设备的充电电压;Obtaining a charging voltage of the device to be charged;
根据所述电池属性信息和当前电量获取所述待充电设备的充电电流;Obtaining a charging current of the device to be charged according to the battery attribute information and a current power amount;
根据所述待充电设备的充电电流和充电电压向所述待充电设备输出电
能。Outputting electricity to the device to be charged according to a charging current and a charging voltage of the device to be charged
can.
本发明实施例提供的充电方法、设备及存储介质,充电设备获取待充电设备的电池属性信息和当前电量;获取待充电设备的充电电压;根据电池属性信息和当前电量获取待充电设备的充电电流;根据待充电设备的充电电流和充电电压向待充电设备输出电能;这样,充电设备在给待充电设备充电的时候可以在满足待充电设备的电压的需求的同时还可以满足电流的需求,实现有效地为待充电设备输出电能的目的,同时降低充电损耗,延长电池寿命。The charging method, the device and the storage medium provided by the embodiment of the invention obtain the battery attribute information and the current power of the device to be charged; obtain the charging voltage of the device to be charged; and obtain the charging current of the device to be charged according to the battery attribute information and the current power. And outputting electric energy to the device to be charged according to the charging current and the charging voltage of the device to be charged; thus, the charging device can satisfy the demand of the current of the device to be charged while charging the device to be charged, and can also meet the demand of the current. Effectively output electrical energy for the device to be charged, while reducing charging loss and extending battery life.
图1为本发明充电方法实施例一的流程图;1 is a flow chart of Embodiment 1 of a charging method of the present invention;
图2为本发明充电方法实施例二的流程图;2 is a flowchart of Embodiment 2 of a charging method of the present invention;
图3为本发明充电方法实施例三的流程图;3 is a flowchart of Embodiment 3 of a charging method of the present invention;
图4为本发明充电方法实施例四的流程图;4 is a flowchart of Embodiment 4 of a charging method of the present invention;
图5为本发明充电设备实施例一的结构示意图;FIG. 5 is a schematic structural diagram of Embodiment 1 of a charging device according to the present invention; FIG.
图6为本发明充电设备实施例二的结构示意图;6 is a schematic structural view of a second embodiment of a charging device according to the present invention;
图7为本发明充电设备实施例三的结构示意图;7 is a schematic structural view of a third embodiment of a charging device according to the present invention;
图8为本发明充电设备实施例四的结构示意图。FIG. 8 is a schematic structural diagram of Embodiment 4 of a charging device according to the present invention.
图9为本发明充电设备实施例五的结构示意图。FIG. 9 is a schematic structural diagram of Embodiment 5 of a charging device according to the present invention.
图1为本发明充电方法实施例一的流程图。如图1所示,本实施例提供的方法包括:1 is a flow chart of Embodiment 1 of a charging method of the present invention. As shown in FIG. 1, the method provided in this embodiment includes:
步骤101、充电设备获取待充电设备的电池属性信息和当前电量。Step 101: The charging device acquires battery attribute information and current power of the device to be charged.
具体地,充电设备通过无线局域网无线保真(Wireless Fidelity,简称wifi)获取待充电设备的电池属性信息和当前电量。
Specifically, the charging device acquires battery attribute information and current power of the device to be charged through wireless wireless network wireless (Wireless Fidelity, wifi for short).
需要说明的是,充电设备内需要内置能够实现wifi功能的模块,从而通过wifi获取待充电设备的电池属性信息和当前电量,其中,电池属性信息包括电池品牌、电池型号和电池容量等信息。相应的,待充电设备也需要具备wifi功能。It should be noted that the charging device needs to have a built-in module capable of implementing the wifi function, thereby obtaining the battery attribute information and the current power of the device to be charged through the wifi, wherein the battery attribute information includes information such as the battery brand, the battery model, and the battery capacity. Correspondingly, the device to be charged also needs to have the wifi function.
还需要说明的是,充电设备通过wifi获取待充电设备的电池属性信息和当前电量的方式可以有多种,其中一种是由待充电设备通过调用接口函数获取自身的电池属性信息和当前电量,再以预定格式将电池属性信息和当前电量通过wifi发送给充电设备。It should also be noted that the charging device can obtain the battery attribute information and the current power amount of the device to be charged through wifi, and one of them can obtain the battery attribute information and the current power amount of the device to be charged by calling the interface function. The battery attribute information and the current power amount are then transmitted to the charging device via wifi in a predetermined format.
步骤102、充电设备获取待充电设备的充电电压。Step 102: The charging device acquires a charging voltage of the device to be charged.
需要说明的是,获取待充电设备的充电电压可以采用现有方法,即通过USB连接待充电设备从而获取待充电设备的充电电压。It should be noted that the charging voltage of the device to be charged can be obtained by using an existing method, that is, connecting the device to be charged through USB to obtain the charging voltage of the device to be charged.
步骤103、充电设备根据电池属性信息和当前电量获取待充电设备的充电电流。Step 103: The charging device acquires a charging current of the device to be charged according to the battery attribute information and the current power.
步骤104、充电设备根据待充电设备的充电电流和充电电压向待充电设备输出电能。Step 104: The charging device outputs electrical energy to the device to be charged according to the charging current and the charging voltage of the device to be charged.
需要说明的是,根据待充电设备的充电电流和充电电压向待充电设备输出电能指的是向待充电设备充电时的电压和电流分别是待充电设备所需的充电电压和充电电流。It should be noted that outputting electric energy to the device to be charged according to the charging current and the charging voltage of the device to be charged means that the voltage and current when charging the device to be charged are respectively the charging voltage and the charging current required by the device to be charged.
本实施例提供的充电方法,不但获取待充电设备的充电电压,还获取待充电设备的充电电流,根据充电电压和充电电流为待充电设备输出电能,这样,充电设备在给待充电设备充电的时候可以在满足待充电设备的电压的需求的同时还可以满足电流的需求,实现有效地为待充电设备输出电能的目的,同时降低充电损耗,延长电池寿命。The charging method provided in this embodiment not only obtains the charging voltage of the device to be charged, but also obtains the charging current of the device to be charged, and outputs electrical energy to the device to be charged according to the charging voltage and the charging current, so that the charging device charges the device to be charged. At the same time, the demand of the voltage of the device to be charged can be met, and the current demand can be met, thereby effectively achieving the purpose of outputting electrical energy for the device to be charged, while reducing the charging loss and prolonging the battery life.
本发明实施例又提供一种存储介质,所述计算机可读介质中存储有可执行指令,所述可执行指令用于执行本发明实施例一所述的充电方法。
The embodiment of the invention further provides a storage medium, wherein the computer readable medium stores executable instructions, and the executable instructions are used to perform the charging method according to the first embodiment of the present invention.
在一示例中,所述可执行程序被处理器执行时实现以下操作:In an example, the executable program is executed by the processor to:
获取待充电设备的电池属性信息和当前电量;Obtaining battery attribute information and current power of the device to be charged;
获取所述待充电设备的充电电压;Obtaining a charging voltage of the device to be charged;
根据所述电池属性信息和当前电量获取所述待充电设备的充电电流;Obtaining a charging current of the device to be charged according to the battery attribute information and a current power amount;
根据所述待充电设备的充电电流和充电电压向所述待充电设备输出电能。And outputting electrical energy to the device to be charged according to the charging current and the charging voltage of the device to be charged.
图2为本发明充电方法实施例二的流程图。如图2所示,本实施例提供的方法包括:2 is a flow chart of a second embodiment of a charging method of the present invention. As shown in FIG. 2, the method provided in this embodiment includes:
步骤201、充电设备通过wifi获取待充电设备的电池属性信息和当前电量。Step 201: The charging device acquires battery attribute information and current power of the device to be charged through wifi.
步骤202、充电设备获取待充电设备的充电电压。Step 202: The charging device acquires a charging voltage of the device to be charged.
步骤203、充电设备根据待充电设备的电池属性信息,在充电曲线查询表中获取与待充电设备对应的充电曲线。其中,充电曲线查询表为电池属性信息与充电曲线之间的对应关系表且预先存储在充电设备中;充电曲线为待充电设备的电量与所需充电电流的关系曲线。Step 203: The charging device acquires a charging curve corresponding to the device to be charged in the charging curve query table according to the battery attribute information of the device to be charged. The charging curve query table is a correspondence table between the battery attribute information and the charging curve and is pre-stored in the charging device; the charging curve is a relationship between the amount of the device to be charged and the required charging current.
需要说明的是,根据电池属性信息可以通过实验得出或者从电池厂商直接获取电池在预冲、快充、慢充三个阶段所需充电电流,进而绘制得到充电曲线,根据充电曲线可以得到电池在不同电量时所需的最佳充电电流。It should be noted that, according to the battery attribute information, the charging current required by the battery in the three stages of pre-flushing, fast charging, and slow charging can be directly obtained from the battery manufacturer, and then the charging curve can be drawn, and the battery can be obtained according to the charging curve. The optimum charging current required for different power levels.
步骤204、充电设备根据待充电设备的当前电量,在与待充电设备对应的充电曲线中获取待充电设备的充电电流。Step 204: The charging device acquires a charging current of the device to be charged in a charging curve corresponding to the device to be charged according to the current power of the device to be charged.
需要说明的是,待充电设备的当前电量是每隔一段预定时间获取的,因为在充电曲线中不同电量对应的所需充电电流不同,随着充电过程的进行,需要按照充电曲线中对应的所需充电电流对实际充电电流进行调整,因此需要每隔一段时间获取最新电量信息作为当前电量,进而获取所需充电电流。具体的,待充电设备的当前电量可以以毫安(mAh)形式表示,
也可以以剩余电量百分比表示。It should be noted that the current power of the device to be charged is acquired every predetermined period of time, because the required charging current corresponding to different electric quantities in the charging curve is different, and as the charging process proceeds, it is required to follow the corresponding one in the charging curve. The charging current needs to be adjusted to the actual charging current. Therefore, it is necessary to obtain the latest power information at regular intervals as the current power, and then obtain the required charging current. Specifically, the current power of the device to be charged may be expressed in milliamps (mAh).
It can also be expressed as a percentage of remaining battery.
还需要说明的是,预定时间可以根据实际应用进行设置,如果需要严格按照充电曲线中不同电量所对应的所需充电电流为待充电设备充电,预定时间可以设置地较短。It should also be noted that the predetermined time can be set according to the actual application. If it is necessary to charge the device to be charged strictly according to the required charging current corresponding to different electric quantities in the charging curve, the predetermined time can be set shorter.
步骤205、充电设备根据待充电设备的充电电流和充电电压向待充电设备输出电能。Step 205: The charging device outputs electrical energy to the device to be charged according to the charging current and the charging voltage of the device to be charged.
需要说明的是,本实施例中与其它实施例中相同步骤或概念的解释可以参照其它实施例中的描述,此处不再赘述。It should be noted that the explanation of the same steps or concepts in the other embodiments may refer to the descriptions in other embodiments, and details are not described herein again.
本实施例提供的充电方法,不但获取待充电设备的充电电压,还通过获取待充电设备对应的充电曲线获取待充电设备的充电电流,从而根据充电电压和充电电流为待充电设备输出电能,这样,充电设备在给待充电设备充电的时候可以在满足待充电设备的电压的需求的同时还可以满足电流的需求,能够实现有效地为待充电设备输出电能的目的,同时降低充电损耗,延长电池寿命。The charging method provided in this embodiment not only obtains the charging voltage of the device to be charged, but also obtains the charging current of the device to be charged by acquiring the charging curve corresponding to the device to be charged, thereby outputting the electric energy for the device to be charged according to the charging voltage and the charging current, such that When charging the device to be charged, the charging device can meet the demand of the voltage of the device to be charged while satisfying the demand of the current, and can effectively output the electric energy for the device to be charged, thereby reducing the charging loss and prolonging the battery. life.
本发明实施例又提供一种存储介质,所述计算机可读介质中存储有可执行指令,所述可执行指令用于执行本发明实施例二所述的充电方法。The embodiment of the invention further provides a storage medium, wherein the computer readable medium stores executable instructions, and the executable instructions are used to perform the charging method according to the second embodiment of the present invention.
图3为本发明充电方法实施例三的流程图。若至少两个待充电设备同时接入充电设备,如图3所示,本实施例提供的方法包括:FIG. 3 is a flowchart of Embodiment 3 of a charging method of the present invention. If at least two devices to be charged are simultaneously connected to the charging device, as shown in FIG. 3, the method provided in this embodiment includes:
步骤301、充电设备通过wifi获取至少两个待充电设备的初始电量和wifi接入速率。Step 301: The charging device acquires initial power and wifi access rate of at least two devices to be charged through wifi.
需要说明的是,待充电设备的wifi接入速率指的是待充电设备连接wifi后所占用wifi带宽进行数据传输的速率。It should be noted that the wifi access rate of the device to be charged refers to the rate at which the wifi bandwidth occupied by the device to be charged is connected to the wifi for data transmission.
步骤302、充电设备根据所述至少两个待充电设备的初始电量和wifi接入速率,设置待充电设备的优先级。Step 302: The charging device sets the priority of the device to be charged according to the initial power of the at least two devices to be charged and the wifi access rate.
需要说明的是,优先级个数在实际需要中根据待充电设备的初始电量
和wifi接入速率进行设置,可以设置二个或多于二个不等的优先级个数,优先的,优先级个数可以设置为三个,分别为高优先级、中优先级和低优先级,具体的,若待充电设备的wifi接入速率大于等于第一速率或者待充电设备的初始电量小于等于第三阈值,设置待充电设备为高优先级待充电设备;若待充电设备的wifi接入速率小于第一速率且大于第二速率,或者,待充电设备的初始电量大于第三阈值且小于第四阈值,设置待充电设备为中优先级待充电设备;若待充电设备的wifi接入速率小于等于第二速率或者待充电设备的初始电量大于等于第四阈值,设置待充电设备为低优先级待充电设备;其中,第一速率大于第二速率,第三阈值小于第四阈值。It should be noted that the number of priorities depends on the initial power of the device to be charged in actual needs.
The setting of the wifi access rate can be set to two or more than two priority levels. The priority number can be set to three, which are high priority, medium priority, and low priority. Level, specifically, if the wifi access rate of the device to be charged is greater than or equal to the first rate or the initial power of the device to be charged is less than or equal to the third threshold, the device to be charged is set to be a high priority device to be charged; if the device to be charged is wifi The access rate is less than the first rate and greater than the second rate, or the initial power of the device to be charged is greater than the third threshold and less than the fourth threshold, and the device to be charged is set as the medium priority to be charged device; if the device to be charged is connected to the wifi The ingress rate is less than or equal to the second rate or the initial power of the device to be charged is greater than or equal to the fourth threshold, and the device to be charged is set to be a low priority device to be charged; wherein the first rate is greater than the second rate, and the third threshold is less than the fourth threshold.
步骤303、充电设备获取充电设备的剩余电量。Step 303: The charging device acquires the remaining power of the charging device.
步骤304、充电设备获取待充电设备的电池属性信息和当前电量。Step 304: The charging device acquires battery attribute information and current power of the device to be charged.
步骤305、充电设备获取待充电设备的充电电压。Step 305: The charging device acquires a charging voltage of the device to be charged.
步骤306、充电设备根据待充电设备的电池属性信息,在充电曲线查询表中获取与待充电设备对应的充电曲线。Step 306: The charging device acquires a charging curve corresponding to the device to be charged in the charging curve query table according to the battery attribute information of the device to be charged.
步骤307、充电设备根据充电设备的剩余电量、待充电设备的优先级和待充电设备的当前电量,在与待充电设备对应的充电曲线中获取待充电设备充电的充电电流。Step 307: The charging device acquires a charging current for charging the device to be charged in a charging curve corresponding to the device to be charged according to the remaining power of the charging device, the priority of the device to be charged, and the current power of the device to be charged.
步骤308、充电设备根据待充电设备的充电电流和充电电压向待充电设备输出电能。Step 308: The charging device outputs electrical energy to the device to be charged according to the charging current and the charging voltage of the device to be charged.
需要说明的是,本实施例中与其它实施例中相同步骤或概念的解释可以参照其它实施例中的描述,此处不再赘述。It should be noted that the explanation of the same steps or concepts in the other embodiments may refer to the descriptions in other embodiments, and details are not described herein again.
本实施例提供的充电方法,当至少两个待充电设备同时接入充电设备时,根据待充电设备的初始电量和wifi接入速率设置待充电设备的优先级,再获取待充电设备的充电电压和充电电流,从而根据待充电设备的优先级、充电电压和充电电流为待充电设备输出电能,这样,充电设备在给多个待
充电设备充电的时候可以在满足待充电设备的电压的需求的同时还可以满足电流的需求,能够实现有效地为多个待充电设备输出电能的目的,同时降低充电损耗,延长电池寿命,并且能够合理地利用充电设备储存的电量。In the charging method provided by the embodiment, when at least two devices to be charged are simultaneously connected to the charging device, the priority of the device to be charged is set according to the initial power and the wifi access rate of the device to be charged, and then the charging voltage of the device to be charged is obtained. And charging current, thereby outputting electric energy to the device to be charged according to the priority of the device to be charged, the charging voltage and the charging current, so that the charging device is given multiple
When the charging device is charged, it can meet the demand of the voltage of the device to be charged, and can also meet the current demand, thereby achieving the purpose of effectively outputting electric energy for a plurality of devices to be charged, reducing charging loss, extending battery life, and capable of Make reasonable use of the amount of electricity stored in the charging device.
本发明实施例又提供一种存储介质,所述计算机可读介质中存储有可执行指令,所述可执行指令用于执行本发明实施例三所述的充电方法。The embodiment of the invention further provides a storage medium, wherein the computer readable medium stores executable instructions, and the executable instructions are used to perform the charging method according to the third embodiment of the present invention.
进一步的,图4为本发明充电方法实施例四的流程图,在上述实施例的基础上,如图4所示,步骤307包括:Further, FIG. 4 is a flowchart of Embodiment 4 of the charging method of the present invention. On the basis of the foregoing embodiment, as shown in FIG. 4, step 307 includes:
步骤307a、充电设备计算充电设备的剩余电量在充电设备的总电量中的比例,得到充电设备的剩余电量比。 Step 307a: The charging device calculates a ratio of the remaining power of the charging device to the total power of the charging device, and obtains a remaining power ratio of the charging device.
步骤307b、充电设备判断剩余电量比与第一阈值和第二阈值之间的关系。其中,第一阈值大于第二阈值。 Step 307b: The charging device determines a relationship between the remaining power ratio and the first threshold and the second threshold. The first threshold is greater than the second threshold.
步骤307c、若剩余电量比大于等于第一阈值,充电设备根据待充电设备的当前电量在与待充电设备对应的充电曲线中获取所需充电电流,并设置为待充电设备的充电电流;若剩余电量比小于第一阈值并大于第二阈值,充电设备根据待充电设备的当前电量在与待充电设备对应的充电曲线中获取所需充电电流,并基于待充电设备的优先级和所需充电电流设置待充电设备的充电电流;若剩余电量比小于等于第二阈值,充电设备根据优先级最高的待充电设备的当前电量在与待充电设备对应的充电曲线中获取优先级最高的待充电设备所需充电电流,并设置为待充电设备的充电电流。 Step 307c: If the remaining power ratio is greater than or equal to the first threshold, the charging device obtains the required charging current according to the current power of the device to be charged in the charging curve corresponding to the device to be charged, and sets the charging current of the device to be charged; The charge ratio is less than the first threshold and greater than the second threshold, and the charging device obtains the required charging current according to the current power of the device to be charged in the charging curve corresponding to the device to be charged, and is based on the priority of the device to be charged and the required charging current. The charging current of the device to be charged is set; if the remaining power ratio is less than or equal to the second threshold, the charging device obtains the device with the highest priority in the charging curve corresponding to the device to be charged according to the current power of the device with the highest priority. The charging current is required and set to the charging current of the device to be charged.
需要说明的是,剩余电量比可以以分式的形式表示,也可以以百分比的形式表示,还可以以其他的比例形式表示,若剩余电量比的表示形式确定,则第一阈值和第二阈值的表示形式也已经确定。第一阈值和第二阈值可以根据实际应用进行设置,例如,若剩余电量比、第一阈值和第二阈值都以百分比形式表示时,假设将第一阈值设置为60%,将第二阈值设置为30%,也就是说当剩余电量比大于等于60%时,可以认为充电设备处于高
电量,因此将根据待充电设备的当前电量在与待充电设备对应的充电曲线中获取的所需充电电流直接作为充电电流,进而根据充电电压和充电电流为所有待充电设备充电;当剩余电量比小于60%并且大于30%时,可以认为充电设备处于中等电量,因此将根据待充电设备的当前电量在与待充电设备对应的充电曲线中获取的所需充电电流不直接作为充电电流,而是再根据待充电设备的优先级按所需充电电流的某一比例设置待充电设备的充电电流,进而根据设置的充电电流和充电电压为不同优先级的待充电设备充电;当剩余电量比小于等于30%时,可以认为充电设备处于低电量,因此将根据优先级最高的待充电设备的当前电量在与待充电设备对应的充电曲线中获取优先级最高的待充电设备所需充电电流直接充电电流,进而根据充电电流和充电电压为高优先级的待充电设备充电;而对于其他优先级的充电设备,不为其充电,因此不获取其充电电流。It should be noted that the remaining power ratio may be expressed in the form of a fraction, or may be expressed in a percentage form, and may also be expressed in other proportions. If the representation of the remaining power ratio is determined, the first threshold and the second threshold are determined. The representation has also been determined. The first threshold and the second threshold may be set according to an actual application. For example, if the remaining power ratio, the first threshold, and the second threshold are expressed as a percentage, it is assumed that the first threshold is set to 60%, and the second threshold is set. 30%, that is to say, when the remaining power ratio is 60% or more, the charging device can be considered to be high.
The amount of electricity, so the required charging current obtained in the charging curve corresponding to the device to be charged is directly used as the charging current according to the current power of the device to be charged, and then all the devices to be charged are charged according to the charging voltage and the charging current; When it is less than 60% and greater than 30%, it can be considered that the charging device is in a medium power, so the required charging current obtained in the charging curve corresponding to the device to be charged according to the current power of the device to be charged is not directly used as the charging current, but Then, according to the priority of the device to be charged, the charging current of the device to be charged is set according to a certain ratio of the required charging current, and then the charging device and the charging voltage are charged according to the set charging current and the charging voltage; when the remaining battery ratio is less than or equal to At 30%, it can be considered that the charging device is in a low battery state, so the charging current direct charging current required for the device with the highest priority to be obtained is obtained in the charging curve corresponding to the device to be charged according to the current power of the device with the highest priority. And then high priority based on charging current and charging voltage A charging device to be charged; for other priorities charging device, not to charge, charge current is not acquired.
还需要说明的是,若剩余电量比小于第一阈值并大于第二阈值,根据待充电设备的当前电量在与待充电设备对应的充电曲线中获取所需充电电流,并基于待充电设备的优先级和所需充电电流设置待充电设备的充电电流,包括:It should be noted that, if the remaining power ratio is less than the first threshold and greater than the second threshold, the required charging current is obtained in the charging curve corresponding to the device to be charged according to the current power of the device to be charged, and based on the priority of the device to be charged. The level and required charging current set the charging current of the device to be charged, including:
根据待充电设备的当前电量息在与待充电设备对应的充电曲线中获取所需充电电流;Obtaining a required charging current according to a current power consumption of the device to be charged in a charging curve corresponding to the device to be charged;
若待充电设备的优先级为高优先级,将所需充电电流设置为待充电设备的充电电流;若待充电设备的优先级为中优先级,将占所需充电电流的第一比例的电流设置为待充电设备的充电电流;若待充电设备的优先级为低优先级,将占所需充电电流的第二比例的电流设置为待充电设备的充电电流,其中,第一比例大于第二比例。If the priority of the device to be charged is high priority, the required charging current is set as the charging current of the device to be charged; if the priority of the device to be charged is medium priority, the current of the first proportion of the required charging current will be occupied. Set to the charging current of the device to be charged; if the priority of the device to be charged is low priority, set the current of the second proportion of the required charging current to the charging current of the device to be charged, wherein the first ratio is greater than the second proportion.
本实施例提供的充电方法,当至少两个待充电设备同时接入充电设备时,根据待充电设备的初始电量和wifi接入速率设置待充电设备的优先级,
再获取待充电设备的充电电压和充电电流,从而使得充电设备能够根据待充电设备的优先级、充电电压和充电电流为待充电设备充电,能够实现有效地为多个待充电设备输出电能的目的,同时降低充电损耗,延长电池寿命,并且能够合理利用充电设备储存的电量。In the charging method provided by the embodiment, when at least two devices to be charged are simultaneously connected to the charging device, the priority of the device to be charged is set according to the initial power of the device to be charged and the wifi access rate.
The charging voltage and the charging current of the device to be charged are obtained, so that the charging device can charge the device to be charged according to the priority, the charging voltage and the charging current of the device to be charged, and the utility model can effectively realize the output of the electrical energy for the plurality of devices to be charged. At the same time, it reduces the charging loss, prolongs the battery life, and can properly utilize the power stored in the charging device.
图5为本发明充电设备实施例一的结构示意图。如图5所示,本实施例提供的充电设备包括:获取模块41、处理模块42;FIG. 5 is a schematic structural diagram of Embodiment 1 of a charging device according to the present invention. As shown in FIG. 5, the charging device provided in this embodiment includes: an obtaining module 41 and a processing module 42;
获取模块41,配置为获取待充电设备的电池属性信息和当前电量;还配置为获取待充电设备的充电电压;还配置为根据电池属性信息和当前电量获取待充电设备的充电电流。The obtaining module 41 is configured to obtain the battery attribute information of the device to be charged and the current power; and is further configured to obtain a charging voltage of the device to be charged; and configured to acquire a charging current of the device to be charged according to the battery attribute information and the current power.
处理模块42,配置为根据待充电设备的充电电流和充电电压向待充电设备输出电能。The processing module 42 is configured to output electrical energy to the device to be charged according to the charging current and the charging voltage of the device to be charged.
进一步,获取模块41,还配置为根据待充电设备的电池属性信息,在充电曲线查询表中获取与待充电设备对应的充电曲线;其中,充电曲线查询表为电池属性信息与充电曲线之间的对应关系表且预先存储在充电设备中;充电曲线为待充电设备的电量与所需充电电流的关系曲线;Further, the obtaining module 41 is further configured to obtain, according to the battery attribute information of the device to be charged, a charging curve corresponding to the device to be charged in the charging curve query table; wherein the charging curve query table is between the battery attribute information and the charging curve Corresponding to the relationship table and pre-stored in the charging device; the charging curve is a relationship between the amount of power of the device to be charged and the required charging current;
根据待充电设备的当前电量,在与待充电设备对应的充电曲线中获取待充电设备的充电电流。The charging current of the device to be charged is obtained in the charging curve corresponding to the device to be charged according to the current power of the device to be charged.
在实际应用中,获取模块41和处理模块42均可由位于充电设备中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。In practical applications, the acquisition module 41 and the processing module 42 may each be a Central Processing Unit (CPU), a Micro Processor Unit (MPU), and a Digital Signal Processor (Digital Signal Processor) located in the charging device. DSP) or Field Programmable Gate Array (FPGA) implementation.
本实施例提供的充电设备,可用于执行上述充电方法实施例一、二的技术方案,其实现原理和技术效果类似,此处不再赘述。The charging device provided in this embodiment can be used to perform the technical solutions of the first and second embodiments of the charging method, and the implementation principle and technical effects are similar, and details are not described herein again.
图6为本发明充电设备实施例二的结构示意图。如图6所示,在上述实施例的基础上,本实施例提供的设备还包括:
FIG. 6 is a schematic structural diagram of Embodiment 2 of a charging device according to the present invention. As shown in FIG. 6, the device provided in this embodiment further includes:
设置模块43,配置为根据待充电设备的初始电量和wifi接入速率,设置待充电设备的优先级。The setting module 43 is configured to set the priority of the device to be charged according to the initial power of the device to be charged and the wifi access rate.
具体的,设置模块43配置为若待充电设备的wifi接入速率大于等于第一速率或者待充电设备的初始电量小于等于第三阈值,设置待充电设备为高优先级待充电设备;若待充电设备的wifi接入速率小于第一速率且大于第二速率,或者,待充电设备的初始电量大于第三阈值且小于第四阈值,设置待充电设备为中优先级待充电设备;若待充电设备的wifi接入速率小于等于第二速率或者待充电设备的初始电量大于等于第四阈值,设置待充电设备为低优先级待充电设备;其中,第一速率大于第二速率,第三阈值小于第四阈值。Specifically, the setting module 43 is configured to set the device to be charged as a high priority device to be charged if the wifi access rate of the device to be charged is greater than or equal to the first rate or the initial power of the device to be charged is less than or equal to the third threshold; The wifi access rate of the device is smaller than the first rate and greater than the second rate, or the initial power of the device to be charged is greater than the third threshold and less than the fourth threshold, and the device to be charged is set as the medium priority device to be charged; The wifi access rate is less than or equal to the second rate or the initial power of the device to be charged is greater than or equal to the fourth threshold, and the device to be charged is set to be a low priority device to be charged; wherein the first rate is greater than the second rate, and the third threshold is less than the second Four thresholds.
获取模块41,还配置为获取待充电设备的初始电量和wifi接入速率;获取充电设备的剩余电量;根据充电设备的剩余电量、待充电设备的优先级和待充电设备的当前电量,在与待充电设备对应的充电曲线中获取待充电设备充电的充电电流。The obtaining module 41 is further configured to obtain an initial power and a wifi access rate of the device to be charged, and obtain a remaining power of the charging device; according to the remaining power of the charging device, the priority of the device to be charged, and the current power of the device to be charged, The charging current corresponding to the charging device is obtained in the charging curve corresponding to the device to be charged.
在实际应用中,获取模块41、处理模块42和设置模块43均可由位于充电设备中的CPU、MPU、DSP或FPGA等实现。In an actual application, the obtaining module 41, the processing module 42 and the setting module 43 can all be implemented by a CPU, an MPU, a DSP, an FPGA, or the like located in the charging device.
本实施例提供的充电设备,可用于执行上述充电方法实施例三的技术方案,其实现原理和技术效果类似,此处不再赘述。The charging device provided in this embodiment can be used to implement the technical solution in the third embodiment of the charging method, and the implementation principle and technical effects are similar, and details are not described herein again.
图7为本发明充电设备实施例三的结构示意图。如图7所示,在上述实施例的基础上,本实施例提供的设备中获取模块41包括:FIG. 7 is a schematic structural diagram of Embodiment 3 of a charging device according to the present invention. As shown in FIG. 7, on the basis of the foregoing embodiment, the acquiring module 41 in the device provided in this embodiment includes:
计算单元411,配置为计算充电设备的剩余电量在充电设备的总电量中的比例,得到充电设备的剩余电量比;The calculating unit 411 is configured to calculate a proportion of the remaining power of the charging device in the total power of the charging device, to obtain a remaining power ratio of the charging device;
判断单元412,配置为判断剩余电量比与第一阈值和第二阈值之间的关系,其中,第一阈值大于第二阈值;The determining unit 412 is configured to determine a relationship between the remaining power ratio and the first threshold and the second threshold, wherein the first threshold is greater than the second threshold;
执行单元413,配置为若剩余电量比大于等于第一阈值,根据待充电设
备的当前电量在与待充电设备对应的充电曲线中获取所需充电电流,并设置为待充电设备的充电电流;若剩余电量比小于第一阈值并大于第二阈值,根据待充电设备的当前电量在与待充电设备对应的充电曲线中获取所需充电电流,并基于待充电设备的优先级和所需充电电流设置待充电设备的充电电流;若剩余电量比小于等于第二阈值,根据优先级最高的待充电设备的当前电量,在与待充电设备对应的充电曲线中获取优先级最高的待充电设备所需充电电流,并设置为待充电设备的充电电流。The executing unit 413 is configured to: if the remaining power ratio is greater than or equal to the first threshold, according to the to-be-charged setting
The current power of the device is obtained in the charging curve corresponding to the device to be charged, and is set as the charging current of the device to be charged; if the remaining battery ratio is less than the first threshold and greater than the second threshold, according to the current device to be charged The electric quantity obtains the required charging current in the charging curve corresponding to the equipment to be charged, and sets the charging current of the equipment to be charged based on the priority of the equipment to be charged and the required charging current; if the remaining electric quantity ratio is less than or equal to the second threshold, according to the priority The current power level of the device to be charged is the highest, and the charging current required by the device with the highest priority is obtained in the charging curve corresponding to the device to be charged, and is set as the charging current of the device to be charged.
具体的,执行单元413配置为根据待充电设备的当前电量息在与待充电设备对应的充电曲线中获取所需充电电流;若待充电设备的优先级为高优先级,将所需充电电流设置为待充电设备的充电电流;若待充电设备的优先级为中优先级,将占所需充电电流的第一比例的电流设置为待充电设备的充电电流;若待充电设备的优先级为低优先级,将占所需充电电流的第二比例的电流设置为待充电设备的充电电流,其中,第一比例大于第二比例。Specifically, the executing unit 413 is configured to obtain a required charging current in a charging curve corresponding to the device to be charged according to the current power consumption information of the device to be charged; if the priority of the device to be charged is a high priority, the required charging current is set. The charging current of the device to be charged; if the priority of the device to be charged is medium priority, the current of the first proportion of the required charging current is set as the charging current of the device to be charged; if the priority of the device to be charged is low Priority, the current of the second proportion of the required charging current is set as the charging current of the device to be charged, wherein the first ratio is greater than the second ratio.
本实施例提供的充电设备,可用于执行上述充电方法实施例四的技术方案,其实现原理和技术效果类似,此处不再赘述。The charging device provided in this embodiment can be used to implement the technical solution of the fourth embodiment of the charging method, and the implementation principle and technical effects are similar, and details are not described herein again.
在实际应用中,获取模块41、计算单元411、判断单元412、执行单元413、处理模块42和设置模块43均可由位于充电设备中的CPU、MPU、DSP或FPGA等实现。In an actual application, the obtaining module 41, the calculating unit 411, the determining unit 412, the executing unit 413, the processing module 42, and the setting module 43 can all be implemented by a CPU, an MPU, a DSP, an FPGA, or the like located in the charging device.
最后需要说明的是,本发明提供的充电设备能够实现相应功能的部件组成,而不仅仅局限于上述实施例中描述的模块和单元。在另一种实施方式中,可以将现有的充电设备内置于wifi设备中,从而成为一种具备充电功能的wifi设备,该设备可通过自带的wifi获取待充电设备的电池属性信息和当前电量,根据电池属性信息和当前电量获取待充电设备的充电电流,再通过USB连接方式获取待充电设备的充电电压,从而实现向待充电设备
充电的目的。Finally, it should be noted that the charging device provided by the present invention can realize the component composition of the corresponding function, and is not limited to the modules and units described in the above embodiments. In another embodiment, the existing charging device can be built in the wifi device, thereby becoming a wifi device with a charging function, and the device can obtain the battery attribute information of the device to be charged and the current device through the built-in wifi. The electric quantity, according to the battery attribute information and the current electric quantity, obtain the charging current of the device to be charged, and then obtain the charging voltage of the device to be charged through the USB connection method, thereby realizing the charging device to be charged
The purpose of charging.
图8为本发明提供的充电设备实施例四的结构示意图。如图8所示,充电设备包括wifi功能模块51、管理模块52、电池53、充电控制电路54和放电电路55,wifi功能模块51配置为实现与待充电设备之间的wifi连接,管理模块52配置为通过wifi获取待充电设备的电池属性信息和当前电量;获取待充电设备的充电电压;根据电池属性信息和当前电量获取待充电设备的充电电流,电池53配置为提供电能,充电控制电路54配置为控制充电电压和充电电流,放电电路55用于根据充电电压和充电电流向待充电设备输出电能。FIG. 8 is a schematic structural diagram of Embodiment 4 of a charging device according to the present invention. As shown in FIG. 8, the charging device includes a wifi function module 51, a management module 52, a battery 53, a charging control circuit 54, and a discharging circuit 55. The wifi function module 51 is configured to implement a wifi connection with the device to be charged, and the management module 52 It is configured to obtain the battery attribute information and the current power of the device to be charged through wifi; obtain the charging voltage of the device to be charged; obtain the charging current of the device to be charged according to the battery attribute information and the current power, and the battery 53 is configured to provide power, and the charging control circuit 54 Disposed to control the charging voltage and the charging current, the discharging circuit 55 is configured to output electrical energy to the device to be charged according to the charging voltage and the charging current.
图9为本发明提供的充电设备实施例五的结构示意图。如图9所示,充电设备包括存储器61和处理器62;其中,FIG. 9 is a schematic structural diagram of Embodiment 5 of a charging device according to the present invention. As shown in FIG. 9, the charging device includes a memory 61 and a processor 62;
存储器61,配置为存储可执行程序;a memory 61 configured to store an executable program;
处理器62,配置为通过执行所述存储器中存储的可执行程序时实现以下操作:The processor 62 is configured to perform the following operations by executing an executable program stored in the memory:
获取待充电设备的电池属性信息和当前电量;Obtaining battery attribute information and current power of the device to be charged;
获取所述待充电设备的充电电压;Obtaining a charging voltage of the device to be charged;
根据所述电池属性信息和当前电量获取所述待充电设备的充电电流;Obtaining a charging current of the device to be charged according to the battery attribute information and a current power amount;
根据所述待充电设备的充电电流和充电电压向所述待充电设备输出电能。And outputting electrical energy to the device to be charged according to the charging current and the charging voltage of the device to be charged.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序
产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的设备。The present invention is directed to a method, apparatus (system), and computer program in accordance with an embodiment of the present invention
The flow chart and/or block diagram of the product is described. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. A device that implements the functions specified in one or more processes and/or block diagrams of one or more blocks of the flowchart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令设备的制造品,该指令设备实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. A device implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of a flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
Claims (14)
- 一种充电方法,包括:A charging method comprising:获取待充电设备的电池属性信息和当前电量;Obtaining battery attribute information and current power of the device to be charged;获取所述待充电设备的充电电压;Obtaining a charging voltage of the device to be charged;根据所述电池属性信息和当前电量获取所述待充电设备的充电电流;Obtaining a charging current of the device to be charged according to the battery attribute information and a current power amount;根据所述待充电设备的充电电流和充电电压向所述待充电设备输出电能。And outputting electrical energy to the device to be charged according to the charging current and the charging voltage of the device to be charged.
- 根据权利要求1所述的方法,其中,所述根据所述电池属性信息和当前电量获取所述待充电设备的充电电流,包括:The method according to claim 1, wherein the obtaining the charging current of the device to be charged according to the battery attribute information and the current power amount comprises:根据所述待充电设备的电池属性信息,在充电曲线查询表中获取与所述待充电设备对应的充电曲线,所述充电曲线为待充电设备的电量与所需充电电流的关系曲线;Obtaining, according to the battery attribute information of the device to be charged, a charging curve corresponding to the device to be charged in a charging curve query table, where the charging curve is a relationship between a quantity of the device to be charged and a required charging current;根据所述待充电设备的当前电量,在与所述待充电设备对应的充电曲线中获取所述待充电设备的充电电流。Obtaining a charging current of the device to be charged in a charging curve corresponding to the device to be charged according to a current power of the device to be charged.
- 根据权利要求2所述的方法,其中,所述获取待充电设备的电池属性和当前电量之前,所述方法还包括:The method of claim 2, wherein before the obtaining the battery attribute and the current power of the device to be charged, the method further comprises:若至少两个待充电设备同时接入充电设备时,获取所述至少两个待充电设备的初始电量和无线保真wifi接入速率;Obtaining an initial power of the at least two devices to be charged and a wireless fidelity wifi access rate when at least two devices to be charged are simultaneously connected to the charging device;根据所述至少两个待充电设备的初始电量和wifi接入速率,设置所述至少两个待充电设备的优先级;Setting a priority of the at least two devices to be charged according to an initial power of the at least two devices to be charged and a wifi access rate;获取所述充电设备的剩余电量;Obtaining a remaining amount of the charging device;相应的,所述根据所述待充电设备的当前电量,在与所述待充电设备对应的充电曲线中获取所述待充电设备的充电电流,包括:Correspondingly, the charging current of the device to be charged is obtained in a charging curve corresponding to the device to be charged according to the current power of the device to be charged, including:根据所述充电设备的剩余电量、所述至少两个待充电设备的优先级 和所述待充电设备的当前电量,在与所述待充电设备对应的充电曲线中获取所述待充电设备充电的充电电流。Depending on the remaining power of the charging device, the priority of the at least two devices to be charged Obtaining a charging current charged by the device to be charged in a charging curve corresponding to the device to be charged.
- 根据权利要求3所述的方法,其中,所述根据所述充电设备的剩余电量、所述至少两个待充电设备的优先级和所述待充电设备的当前电量,在与所述待充电设备对应的充电曲线中获取所述待充电设备充电的充电电流,包括:The method according to claim 3, wherein said charging device is in accordance with a remaining amount of power of said charging device, a priority of said at least two devices to be charged, and a current amount of power of said device to be charged Obtaining a charging current for charging the device to be charged in a corresponding charging curve, including:计算所述充电设备的剩余电量在所述充电设备的总电量中的比例,得到所述充电设备的剩余电量比;Calculating a ratio of a remaining power of the charging device to a total amount of power of the charging device, to obtain a remaining power ratio of the charging device;判断所述剩余电量比与第一阈值和第二阈值之间的关系,其中,所述第一阈值大于第二阈值;Determining a relationship between the remaining power ratio and a first threshold and a second threshold, wherein the first threshold is greater than a second threshold;若所述剩余电量比大于等于所述第一阈值,根据所述待充电设备的当前电量在与所述待充电设备对应的充电曲线中获取所需充电电流,并设置为所述待充电设备的充电电流;If the remaining power ratio is greater than or equal to the first threshold, obtaining a required charging current according to a current power of the device to be charged in a charging curve corresponding to the device to be charged, and setting the device to be charged recharging current;若所述剩余电量比小于所述第一阈值并大于所述第二阈值,根据所述待充电设备的当前电量在与所述待充电设备对应的充电曲线中获取所需充电电流,并基于所述待充电设备的优先级和所述所需充电电流设置所述待充电设备的充电电流;If the remaining power ratio is less than the first threshold and greater than the second threshold, obtaining a required charging current according to a current power of the device to be charged in a charging curve corresponding to the device to be charged, and based on Determining a priority of the charging device and the required charging current to set a charging current of the device to be charged;若所述剩余电量比小于等于所述第二阈值,根据优先级最高的待充电设备的当前电量,在与所述待充电设备对应的充电曲线中获取优先级最高的待充电设备所需充电电流,并设置为所述待充电设备的充电电流。If the remaining power ratio is less than or equal to the second threshold, according to the current power of the device with the highest priority, the charging current of the device with the highest priority is obtained in the charging curve corresponding to the device to be charged. And set to the charging current of the device to be charged.
- 根据权利要求3所述的方法,其中,所述根据所述待充电设备的初始电量和wifi接入速率,设置所述待充电设备的优先级具体包括:The method according to claim 3, wherein the setting the priority of the device to be charged according to the initial power and the wifi access rate of the device to be charged specifically includes:若所述待充电设备的wifi接入速率大于等于第一速率或者所述待充电设备的初始电量小于等于第三阈值,设置所述待充电设备为高优先级待充电设备; If the wifi access rate of the device to be charged is greater than or equal to the first rate or the initial power of the device to be charged is less than or equal to a third threshold, the device to be charged is set as a high priority device to be charged;若所述待充电设备的wifi接入速率小于所述第一速率且大于第二速率,或者,所述待充电设备的初始电量大于所述第三阈值且小于第四阈值,设置所述待充电设备为中优先级待充电设备;Setting the to-be-charged if the wifi access rate of the device to be charged is less than the first rate and greater than the second rate, or the initial power of the device to be charged is greater than the third threshold and less than a fourth threshold The device is a medium priority device to be charged;若所述待充电设备的wifi接入速率小于等于所述第二速率或者所述待充电设备的初始电量大于等于第四阈值,设置所述待充电设备为低优先级待充电设备;If the wifi access rate of the device to be charged is less than or equal to the second rate or the initial power of the device to be charged is greater than or equal to a fourth threshold, the device to be charged is set as a low priority device to be charged;其中,所述第一速率大于所述第二速率,所述第三阈值小于所述第四阈值。The first rate is greater than the second rate, and the third threshold is less than the fourth threshold.
- 根据权利要求4所述的方法,其中,所述根据所述待充电设备的当前电量在与所述待充电设备对应的充电曲线中获取所需充电电流,并基于所述待充电设备的优先级和所述所需充电电流设置所述待充电设备的充电电流,包括:The method according to claim 4, wherein the obtaining a required charging current in a charging curve corresponding to the device to be charged according to a current amount of power of the device to be charged, and based on a priority of the device to be charged Setting the charging current of the device to be charged with the required charging current, including:根据所述待充电设备的当前电量在与所述待充电设备对应的充电曲线中获取所述所需充电电流;Obtaining the required charging current according to a current power amount of the device to be charged in a charging curve corresponding to the device to be charged;若所述待充电设备的优先级为高优先级,将所述所需充电电流设置为所述待充电设备的充电电流;If the priority of the device to be charged is a high priority, setting the required charging current as the charging current of the device to be charged;若所述待充电设备的优先级为中优先级,将占所述所需充电电流的第一比例的电流设置为所述待充电设备的充电电流;If the priority of the device to be charged is a medium priority, setting a current of a first ratio of the required charging current to a charging current of the device to be charged;若所述待充电设备的优先级为低优先级,将占所述所需充电电流的第二比例的电流设置为所述待充电设备的充电电流,其中,所述第一比例大于所述第二比例。If the priority of the device to be charged is a low priority, setting a current of a second ratio of the required charging current to a charging current of the device to be charged, wherein the first ratio is greater than the first Two ratios.
- 一种充电设备,包括:A charging device comprising:获取模块,配置为获取待充电设备的电池属性信息和当前电量;还配置为获取所述待充电设备的充电电压;还配置为根据所述电池属性信息和当前电量获取所述待充电设备的充电电流; Obtaining a module, configured to obtain battery attribute information and current power of the device to be charged; and configured to acquire a charging voltage of the device to be charged; and configured to acquire charging of the device to be charged according to the battery attribute information and current power Current处理模块,配置为根据所述待充电设备的充电电流和充电电压向所述待充电设备输出电能。The processing module is configured to output power to the device to be charged according to a charging current and a charging voltage of the device to be charged.
- 根据权利要求7所述的设备,其中,The apparatus according to claim 7, wherein所述获取模块,配置为根据所述待充电设备的电池属性信息,在充电曲线查询表中获取与所述待充电设备对应的充电曲线,所述充电曲线为待充电设备的电量与所需充电电流的关系曲线;还配置为根据所述待充电设备的当前电量,在与所述待充电设备对应的充电曲线中获取所述待充电设备的充电电流。The obtaining module is configured to acquire, according to the battery attribute information of the device to be charged, a charging curve corresponding to the device to be charged in a charging curve query table, where the charging curve is a quantity of the device to be charged and a required charging A current relationship curve is further configured to acquire a charging current of the device to be charged in a charging curve corresponding to the device to be charged according to a current power of the device to be charged.
- 根据权利要求8所述的设备,其中,所述设备还包括:The device of claim 8, wherein the device further comprises:设置模块,配置为根据所述待充电设备的初始电量和无线保真wifi接入速率,设置所述待充电设备的优先级;a setting module, configured to set a priority of the device to be charged according to an initial power of the device to be charged and a wireless fidelity wifi access rate;所述获取模块,还配置为若至少两个待充电设备同时接入所述充电设备时,获取所述至少两个待充电设备的初始电量和wifi接入速率;还配置为获取所述充电设备的剩余电量;还配置为根据所述充电设备的剩余电量、所述至少两个待充电设备的优先级和所述待充电设备的当前电量,在与所述待充电设备对应的充电曲线中获取所述待充电设备充电的充电电流。The acquiring module is further configured to acquire, when the at least two devices to be charged are simultaneously connected to the charging device, the initial power and the wifi access rate of the at least two devices to be charged; and configured to acquire the charging device Remaining power; configured to obtain, according to a remaining power of the charging device, a priority of the at least two devices to be charged, and a current power of the device to be charged, in a charging curve corresponding to the device to be charged The charging current charged by the device to be charged.
- 根据权利要求9所述的设备,其中,所述获取模块包括:The device of claim 9, wherein the obtaining module comprises:计算单元,配置为计算所述充电设备的剩余电量在所述充电设备的总电量中的比例,得到所述充电设备的剩余电量比;a calculating unit configured to calculate a ratio of a remaining power of the charging device to a total amount of power of the charging device, to obtain a remaining power ratio of the charging device;判断单元,配置为判断所述剩余电量比与第一阈值和第二阈值之间的关系,其中,所述第一阈值大于第二阈值;a determining unit, configured to determine a relationship between the remaining power ratio and a first threshold and a second threshold, wherein the first threshold is greater than a second threshold;执行单元,配置为若所述剩余电量比大于等于所述第一阈值,根据所述待充电设备的当前电量在与所述待充电设备对应的充电曲线中获取所需充电电流,并设置为所述待充电设备的充电电流;若所述剩余电量 比小于所述第一阈值并大于所述第二阈值,根据所述待充电设备的当前电量在与所述待充电设备对应的充电曲线中获取所需充电电流,并基于所述待充电设备的优先级和所述所需充电电流设置所述待充电设备的充电电流;若所述剩余电量比小于等于所述第二阈值,根据优先级最高的待充电设备的当前电量在与所述待充电设备对应的充电曲线中获取优先级最高的待充电设备所需充电电流,并设置为所述待充电设备的充电电流。The execution unit is configured to obtain a required charging current in a charging curve corresponding to the device to be charged according to the current power of the device to be charged, and set the current charging current to be greater than or equal to the first threshold. Describe the charging current of the charging device; if the remaining battery capacity Obtaining a required charging current in a charging curve corresponding to the device to be charged according to the current power of the device to be charged, and based on the first threshold and being greater than the second threshold, and based on the device to be charged a priority and the required charging current to set a charging current of the device to be charged; if the remaining power ratio is less than or equal to the second threshold, the current power according to the highest priority device to be charged is in charge with the to-be-charged device The charging current required by the device with the highest priority is obtained in the charging curve corresponding to the device, and is set as the charging current of the device to be charged.
- 根据权利要求9所述的设备,其中,The apparatus according to claim 9, wherein所述设置模块,还配置为若所述待充电设备的wifi接入速率大于等于第一速率或者所述待充电设备的初始电量小于等于第三阈值,设置所述待充电设备为高优先级待充电设备;The setting module is further configured to set the to-be-charged device as a high priority if the wifi access rate of the device to be charged is greater than or equal to the first rate or the initial power of the device to be charged is less than or equal to a third threshold. Charging device若所述待充电设备的wifi接入速率小于所述第一速率且大于第二速率,或者,所述待充电设备的初始电量大于所述第三阈值且小于第四阈值,设置所述待充电设备为中优先级待充电设备;Setting the to-be-charged if the wifi access rate of the device to be charged is less than the first rate and greater than the second rate, or the initial power of the device to be charged is greater than the third threshold and less than a fourth threshold The device is a medium priority device to be charged;若所述待充电设备的wifi接入速率小于等于所述第二速率或者所述待充电设备的初始电量大于等于第四阈值,设置所述待充电设备为低优先级待充电设备;If the wifi access rate of the device to be charged is less than or equal to the second rate or the initial power of the device to be charged is greater than or equal to a fourth threshold, the device to be charged is set as a low priority device to be charged;其中,所述第一速率大于所述第二速率,所述第三阈值小于所述第四阈值。The first rate is greater than the second rate, and the third threshold is less than the fourth threshold.
- 根据权利要求10所述的设备,其中,The apparatus according to claim 10, wherein所述执行单元,还配置为根据所述待充电设备的当前电量在与所述待充电设备对应的充电曲线中获取所述所需充电电流;The execution unit is further configured to acquire the required charging current in a charging curve corresponding to the device to be charged according to the current power of the device to be charged;若所述待充电设备的优先级为高优先级,将所述所需充电电流设置为所述待充电设备的充电电流;If the priority of the device to be charged is a high priority, setting the required charging current as the charging current of the device to be charged;若所述待充电设备的优先级为中优先级,将占所述所需充电电流的 第一比例的电流设置为所述待充电设备的充电电流;If the priority of the device to be charged is medium priority, it will occupy the required charging current The current of the first ratio is set as the charging current of the device to be charged;若所述待充电设备的优先级为低优先级,将占所述所需充电电流的第二比例的电流设置为所述待充电设备的充电电流,其中,所述第一比例大于所述第二比例。If the priority of the device to be charged is a low priority, setting a current of a second ratio of the required charging current to a charging current of the device to be charged, wherein the first ratio is greater than the first Two ratios.
- 一种充电设备,包括:A charging device comprising:存储器,配置为存储可执行程序;a memory configured to store an executable program;处理器,配置为通过执行所述存储器中存储的可执行程序时实现以下操作:A processor configured to: perform the following operations by executing an executable program stored in the memory:获取待充电设备的电池属性信息和当前电量;Obtaining battery attribute information and current power of the device to be charged;获取所述待充电设备的充电电压;Obtaining a charging voltage of the device to be charged;根据所述电池属性信息和当前电量获取所述待充电设备的充电电流;Obtaining a charging current of the device to be charged according to the battery attribute information and a current power amount;根据所述待充电设备的充电电流和充电电压向所述待充电设备输出电能。And outputting electrical energy to the device to be charged according to the charging current and the charging voltage of the device to be charged.
- 一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时实现以下操作:A storage medium storing an executable program, the executable program being executed by a processor to:获取待充电设备的电池属性信息和当前电量;Obtaining battery attribute information and current power of the device to be charged;获取所述待充电设备的充电电压;Obtaining a charging voltage of the device to be charged;根据所述电池属性信息和当前电量获取所述待充电设备的充电电流;Obtaining a charging current of the device to be charged according to the battery attribute information and a current power amount;根据所述待充电设备的充电电流和充电电压向所述待充电设备输出电能。 And outputting electrical energy to the device to be charged according to the charging current and the charging voltage of the device to be charged.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610907197.6A CN107959317A (en) | 2016-10-18 | 2016-10-18 | A kind of charging method and its device |
CN201610907197.6 | 2016-10-18 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018072443A1 true WO2018072443A1 (en) | 2018-04-26 |
Family
ID=61954416
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/085985 WO2018072443A1 (en) | 2016-10-18 | 2017-05-25 | Charging method, apparatus, and data storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107959317A (en) |
WO (1) | WO2018072443A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110391663A (en) * | 2019-06-06 | 2019-10-29 | 中国电力科学研究院有限公司 | A method and system for invoking a mobile energy storage device |
CN116094012A (en) * | 2023-02-15 | 2023-05-09 | 中国铁塔股份有限公司 | Power supply system scheduling method and related equipment |
CN117411150A (en) * | 2023-12-14 | 2024-01-16 | 深圳市省油灯网络科技有限公司 | Mobile energy storage power supply allocation method based on priority model and related equipment |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108899891A (en) * | 2018-05-25 | 2018-11-27 | 中国电力科学研究院有限公司 | A kind of the DC charging facility charge control method and system of voltage ripple of power network |
KR102767967B1 (en) * | 2019-02-19 | 2025-02-14 | 삼성전자주식회사 | Method to control charging of multiple batteries and electronic device applying the method |
CN116780691B (en) * | 2023-06-06 | 2024-06-11 | 东莞市腾威动力新能源有限公司 | Charging control method, device, equipment and storage medium of energy storage power supply |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101783518A (en) * | 2009-01-16 | 2010-07-21 | 比亚迪股份有限公司 | Battery manager and application method thereof |
WO2010117498A2 (en) * | 2009-03-30 | 2010-10-14 | Sendyne Corp. | Battery cell protection and conditioning circuit and system |
CN105790345A (en) * | 2014-12-26 | 2016-07-20 | 中兴通讯股份有限公司 | Charging control method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2897427A4 (en) * | 2012-09-11 | 2016-04-13 | Yulong Computer Telecomm Tech | Wireless charger and multi-terminal wireless charging method |
CN104051808A (en) * | 2014-05-16 | 2014-09-17 | 吴大文 | Charging method for new energy automobile in intelligent charging station |
CN105471033B (en) * | 2015-12-21 | 2018-06-26 | 南京信息职业技术学院 | Intelligent charging method and intelligent charging system based on charging curve |
CN105591431B (en) * | 2015-12-31 | 2019-04-12 | 宇龙计算机通信科技(深圳)有限公司 | A kind of charging method of mobile terminal, equipment and mobile terminal |
-
2016
- 2016-10-18 CN CN201610907197.6A patent/CN107959317A/en not_active Withdrawn
-
2017
- 2017-05-25 WO PCT/CN2017/085985 patent/WO2018072443A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101783518A (en) * | 2009-01-16 | 2010-07-21 | 比亚迪股份有限公司 | Battery manager and application method thereof |
WO2010117498A2 (en) * | 2009-03-30 | 2010-10-14 | Sendyne Corp. | Battery cell protection and conditioning circuit and system |
CN105790345A (en) * | 2014-12-26 | 2016-07-20 | 中兴通讯股份有限公司 | Charging control method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110391663A (en) * | 2019-06-06 | 2019-10-29 | 中国电力科学研究院有限公司 | A method and system for invoking a mobile energy storage device |
CN116094012A (en) * | 2023-02-15 | 2023-05-09 | 中国铁塔股份有限公司 | Power supply system scheduling method and related equipment |
CN116094012B (en) * | 2023-02-15 | 2023-11-21 | 中国铁塔股份有限公司 | Power supply system scheduling method and related equipment |
CN117411150A (en) * | 2023-12-14 | 2024-01-16 | 深圳市省油灯网络科技有限公司 | Mobile energy storage power supply allocation method based on priority model and related equipment |
CN117411150B (en) * | 2023-12-14 | 2024-03-12 | 深圳市省油灯网络科技有限公司 | Mobile energy storage power supply allocation method based on priority model and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107959317A (en) | 2018-04-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018072443A1 (en) | Charging method, apparatus, and data storage medium | |
CN114498803B (en) | Charging and discharging circuit and electronic equipment | |
US20140042976A1 (en) | Charging method for adjusting charging current | |
CN106937534B (en) | Mechanism for extending cycle life of a battery | |
US20220311061A1 (en) | Charging method, electronic device and storage medium | |
CN110854939B (en) | Method for charging double batteries, electronic device and storage medium | |
CN104052138A (en) | Intelligent mobile terminal and temperature control method during charging of intelligent mobile terminal | |
EP3148039A1 (en) | Fast charging method, power source adapter and mobile terminal | |
WO2019119326A1 (en) | Charging method, device, terminal apparatus, and computer readable storage medium | |
CN104375618A (en) | Power management method, power management device and electronic device | |
CN103730933A (en) | Charging method and electronic devices | |
CN110783970A (en) | Charging method, charging device, charging terminal and computer readable storage medium | |
CN103365817A (en) | Universal serial bus (USB) circuit and terminal | |
CN106063077B (en) | Power supply adaptor and terminal | |
CN105098925A (en) | Method, system and mobile phone charger for dynamic adjustment of charging current | |
CN107565184B (en) | Charging method, device and equipment | |
WO2022226946A1 (en) | Charging strategy setting method and apparatus | |
CN108881630A (en) | reverse charging management method, device and terminal | |
TWI539716B (en) | Charging device and charging method | |
CN111934369B (en) | Charging method and device, equipment and storage medium | |
WO2017219552A1 (en) | Charging method and device, and storage medium | |
CN103078395A (en) | Power supply dynamic route managing circuit | |
CN111786430B (en) | Method and device for controlling charging of battery for oil exploration | |
CN110687991B (en) | Power supply method, device, equipment and storage medium | |
CN203397355U (en) | Universal serial bus (USB) circuit and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17861303 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17861303 Country of ref document: EP Kind code of ref document: A1 |