WO2018076271A1 - Electronic apparatus and on-demand charging method - Google Patents

Electronic apparatus and on-demand charging method Download PDF

Info

Publication number
WO2018076271A1
WO2018076271A1 PCT/CN2016/103731 CN2016103731W WO2018076271A1 WO 2018076271 A1 WO2018076271 A1 WO 2018076271A1 CN 2016103731 W CN2016103731 W CN 2016103731W WO 2018076271 A1 WO2018076271 A1 WO 2018076271A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
power
input
target task
interface
Prior art date
Application number
PCT/CN2016/103731
Other languages
French (fr)
Chinese (zh)
Inventor
叶泽钢
Original Assignee
深圳市柔宇科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市柔宇科技有限公司 filed Critical 深圳市柔宇科技有限公司
Priority to CN201680038031.3A priority Critical patent/CN107980190A/en
Priority to PCT/CN2016/103731 priority patent/WO2018076271A1/en
Publication of WO2018076271A1 publication Critical patent/WO2018076271A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage

Definitions

  • the embodiment of the invention discloses an electronic device and an on-demand charging method, which can perform on-demand charging according to tasks that the user is to perform immediately, and ensure that the charged electric quantity can meet the requirement of performing tasks.
  • the charging power calculation module determines the power consumption of the target task to be executed, and roots Calculating a charging power that needs to be charged according to the power consumption of the target task to be executed and the current remaining power of the battery, and calculating the charging power according to the charging power amount and the charging time.
  • the processing unit further includes an input interface providing module, and the input interface providing module is configured to provide an input interface for the user to input the charging time and the target task.
  • the input interface includes a charging information selection menu and/or a charging information input box, and the charging information selection menu includes a charging time option box and a target task option box for respectively selecting a charging time and a target task; the charging The information input box includes a charging time input box and a target task input box for respectively inputting a charging time and a target task; the charging information acquiring module is responsive to the user's selection of the charging information selection menu and/or input to the charging information input box.
  • the charging information including the charging time and the target task to be performed after charging is obtained.
  • the input interface providing module provides the input interface when the power interface is connected to a charging power source.
  • the input interface providing module determines that the power interface is connected to the charging power source to provide the input interface when detecting that the power pin of the power interface is at a high level.
  • the input interface providing module provides the input interface in response to a specific touch gesture input by a user on a display screen or a click on a particular menu or icon.
  • the on-demand charging method disclosed in the embodiment of the present invention is used for controlling an electronic device to perform on-demand charging, and the method includes the steps of: acquiring charging information including a charging time and a target task to be performed after charging; and detecting a current battery of the electronic device Remaining power; calculating charging power according to the charging information and the current remaining power of the battery; charging the battery of the electronic device with a power value not less than the charging power during the charging time.
  • the step of “calculating the charging power according to the charging information and the current remaining battery capacity of the battery” includes: determining a power consumption of the target task to be executed; and calculating a power consumption according to the target task to be executed. And calculating a current amount of charge that needs to be charged; and The charging power is calculated according to the charging power amount and the charging time.
  • the method further includes the steps of: providing an input interface for the user to input the charging time and the target task.
  • the input interface includes a charging information selection menu and/or a charging information input box, and the charging information selection menu includes a charging time option box and a target task option box for respectively selecting a charging time and a target task;
  • the charging The information input box includes a charging time input box and a target task input box for respectively inputting a charging time and a target task;
  • the step of “acquiring charging information including a charging time and a target task to be performed after charging” includes: a response The user acquires charging information including a charging time and a target task to be performed after charging, by selection of a charging information selection menu and/or input to a charging information input box.
  • the step of “providing the input interface for the user to input the charging time and the target task when the power interface is connected to the charging power source” further includes: determining that the power pin of the power interface is high when detecting The input interface is provided by a power interface coupled to the charging power source.
  • the electronic device and the on-demand charging method of the present invention enable the electronic device to adjust the charging power in response to the target task that the electronic device input by the user needs to perform and the charging time that can be used for charging, so as to ensure that the charged power is sufficient to be performed during the charging time.
  • the target task is the target task.
  • FIG. 1 is a functional block diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 5 is a sub-flow chart of step S405 in FIG.
  • the charging power source 200 can be a charging adapter connected to a commercial power source or a mobile power source.
  • the battery 30 can be a rechargeable battery such as a lithium battery or a nickel hydrogen battery.
  • the charging power calculation module 503 determines the power consumption of the target task to be executed.
  • the target task may be a two-hour video call, and the power consumption of the two-hour video call may be determined according to the power consumption of the video call and the duration of the call.
  • the charging power calculation module 503 calculates the charging amount that needs to be charged according to the power consumption of the target task to be executed and the current remaining amount of the battery 50.
  • the charging power calculation module 503 is configured to obtain the charging power to be charged by subtracting the current remaining power of the battery 50 from the power consumption of the target task.
  • the power consumption of the target task is 1000 mWh (milliwatt hours)
  • the current remaining power is 200 mWh
  • the charging control module 504 is configured to control the charging module 20 to charge the battery 30 with a power value not less than the calculated charging power during the charging time, so that the battery 30 can reach the execution level. The needs of the target mission.
  • the charging can be performed according to the charging time selected by the user and the target task to be performed after the charging, so that the battery power after charging in the charging time satisfies the execution of the target task, and is more humanized and meets the urgent needs of the people.
  • Various needs of electricity are possible.
  • the processing unit 50 further includes an input interface providing module 505, and the input interface providing module 505 is configured to provide an input interface T1 for the user to input the charging time and the target task.
  • the charging information determining module 401 acquires charging information including a charging time and a target task to be executed after charging in response to an input of the user at the input interface T1.
  • the input interface T1 includes a charging information selection menu M1
  • the charging information selection menu M1 includes a charging time option box X1 and a target task option box X2, the charging time option.
  • Box X1 and the target task option box X2 can be used as a drop-down menu for the user to select a specific charging time and a target task.
  • the user may select one charging time among the plurality of charging times provided by the charging time option box X1, for example, select 10 minutes, and select one of the plurality of tasks provided in the target task option box X2 as the target task, for example, selecting Video call for 2 hours.
  • the charging information acquiring module 501 determines the charging time and the target task in response to the user's selection operation of the charging time option box X1 and one of the target task option boxes X2, thereby acquiring the charging time and the need to perform after charging. Charging information for the target task.
  • the charging information acquisition module 501 determines the charging time and the target task according to the input in the charging time input box S1 and the target task input box R1, thereby acquiring charging information including the charging time and the target task that needs to be performed after charging.
  • the input interface T1 may include the foregoing charging information selection menu M1 and the charging information input box K1, and the charging information acquiring module 501 may select the menu M1 according to the user's charging information and/or Or obtaining the charge including the input of the charging information input box K1 Charging information for the electrical task and the target task to be performed after charging.
  • the charging time input by the charging time or charging time input box S1 selected by the charging time option box X1 may also be any system preset or user-defined for 5 minutes, 15 minutes, 20 minutes, half an hour, and the like. time.
  • the target task input through the target task or the target task input box R1 selected by the target task option box X2 may also be “camera 1 hour”, “read 2 hours”, “call 2 hours”, “play video 3 hours”. Wait for any system pre-set or user-defined tasks.
  • the input interface providing module 505 controls the display screen 40 to display the input interface T1 when detecting that the power interface 10 is connected to the charging power source 200.
  • the power pin of the power interface becomes a high level, and the input interface providing module 505 detects whether the power pin of the power interface 10 is high. It is detected whether the power interface 10 is connected to the charging power source 200.
  • the input interface providing module 505 controls the display screen 40 to display the input interface T1 in response to a particular touch gesture input by the user on the display screen 40 or a click on a particular menu or icon.
  • the display screen 40 is a touch display screen.
  • the charging control module 504 can also communicate with the charging power source 200 to instruct the charging power source 200, such as a charger or a mobile power source to adjust the output voltage or current, and also adjust the charging power. effect.
  • the charging power source 200 such as a charger or a mobile power source to adjust the output voltage or current, and also adjust the charging power. effect.
  • the electronic device 100 can be a portable electronic device such as a mobile phone, a tablet computer, a camera, a music player, or the like.
  • FIG. 4 is a flow chart of an on-demand charging method in accordance with an embodiment of the present invention.
  • the method is used for the electronic device 100 to charge according to the needs of the user.
  • the method comprises the following steps:
  • the charging information including the charging time and the target task to be performed after charging is acquired (S401).
  • the current remaining battery power of the battery 30 of the electronic device 100 is detected (S403).
  • the charging power is calculated based on the charging information and the current remaining battery power of the battery 30 of the electronic device 100 (S405).
  • the battery 30 is charged with a power value not less than the calculated charging power during the charging time so that the amount of power of the battery 30 can reach a demand sufficient to perform the target task (S407).
  • the charging the battery 30 with the power value not less than the calculated charging power during the charging time includes: adjusting the current power value of the battery 30 by adjusting at least one of the charging voltage and the charging current. Adjusted to a power value not less than the calculated charging power.
  • the step of “providing an input interface T1 for the user to input the charging time and the target task to be performed after charging” includes: controlling when the power interface 10 is connected to the charging power source 200,
  • the display screen 40 displays the input interface T1 for the user to input the charging time and the target task to be performed after charging.
  • the power interface 10 is configured to detect that the power connector of the power interface is at a high level when the charging power source 200 is connected, and whether the power interface 10 is detected by detecting whether the power pin of the power interface 10 is at a high level. It is connected to the charging power source 200.
  • the step S401 specifically includes: in response to the user inputting the input interface T1, obtaining charging information including a charging time and a target task to be performed after charging.
  • the input interface T1 includes a charging information selection menu M1, and the charging information selection menu M1 includes a charging time option box X1 and a target task option box X2, and the response user inputs the input interface T1.
  • obtaining the charging information including the charging time and the target task to be performed after charging includes: determining the charging time and the target task in response to the user selecting the charging time option box X1 and one of the target task option boxes X2. , thereby obtaining charging information including a charging time and a target task that needs to be performed after charging.
  • the input interface T1 includes a charging information input box K1
  • the charging information input box K1 includes a charging time input box S1 and a target task input box R1
  • the response user inputs the input interface T1.
  • the charging information included includes determining the charging time and the target task based on the charging time input box S1 and the input in the target task input box R1, and acquiring charging information including the charging time and the target task to be executed after charging.
  • the electronic device 100 and the on-demand charging method of the present invention when the user wants to go out to work immediately or go to the conference room electronic device 100 without a charging socket to perform video calling, etc., the user can select or input charging time and charging. After the target task to be executed, the electronic device 100 can adjust the charging power according to the charging time and the target task to be executed after charging, thereby ensuring that the execution of the target task is satisfied.

Landscapes

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

Abstract

Disclosed is an on-demand charging method for controlling on-demand charging of an electronic apparatus (100). The method comprises the steps of: acquiring charging information comprising charging time and a target task to be executed after charging (S401); detecting a current remaining electric quantity of a battery (30) (S403); determining a charging power according to the charging information and the current remaining electric quantity of the battery (30) (S405); and charging the battery (30) of the electronic apparatus (100) with a power value that is not less than the charging power within the charging time (S407), so that the electric quantity of the battery (30) is enough to execute a requirement of the target task. The method enables an electronic apparatus (100) applying the method to select a corresponding charging power for charging according to a charging time and a target task to be executed, so that a charged capacity of the electronic apparatus (100) can satisfy the target task.

Description

电子装置及按需充电方法Electronic device and on-demand charging method 技术领域Technical field
本发明涉及一种电子装置,尤其涉及一种具有可充电功能的电子装置及其按需充电方法。The present invention relates to an electronic device, and more particularly to an electronic device having a chargeable function and an on-demand charging method thereof.
背景技术Background technique
目前,手机、平板电脑等电子装置已经广泛应用,极大地便利了人们的生活,也成为了生活的必备品。但是,人们经常会遇到要出门办事或者马上要去没有充电插座的会议室用手机或平板电脑进行视频电话等事情,如果手机马上没电了,将会耽误事情。现在,虽然有了快充技术,可在短时间内快速充一定电量,但是现在的快充技术往往都是采用恒定的较高电流或较高电压进行充电,用户在需要进行电话会议等事情前这段时间内的充电,往往无法预知充上的电量是否满足需求。比如,用快充技术冲了百分之二十的电量,但是如果出门或者视频电话的时间较长,往往也会导致没电而造成不便。At present, electronic devices such as mobile phones and tablet computers have been widely used, which greatly facilitates people's lives and has become a must-have for life. However, people often encounter things like going out to work or going to a conference room without a charging outlet to make a video call with a mobile phone or a tablet. If the mobile phone is out of power immediately, it will delay things. Now, although there is fast charging technology, it can quickly charge a certain amount of power in a short time, but now the fast charging technology is often charged with a constant higher current or higher voltage, before the user needs to conduct a conference call, etc. During this period of charging, it is often impossible to predict whether the charged battery meets the demand. For example, with fast charging technology, 20% of the electricity is rushed, but if the time of going out or video calling is long, it will often cause inconvenience if there is no electricity.
发明内容Summary of the invention
本发明实施例公开一种电子装置及按需充电方法,可根据用户马上要执行的任务去进行按需充电,保证充电的电量能满足所需要执行任务的需求。The embodiment of the invention discloses an electronic device and an on-demand charging method, which can perform on-demand charging according to tasks that the user is to perform immediately, and ensure that the charged electric quantity can meet the requirement of performing tasks.
本发明实施例公开的电子装置,包括电源接口、充电模块、电池以及处理单元,所述电源接口用于与一充电电源连接,所述充电模块连接电源接口与电池,用于在电源接口和充电电源连接后,从所述充电电源接收电能而为所述电池进行充电,其中,所述处理单元包括:充电信息获取模块,用于获取包括充电时间及充电后需要执行的目标任务在内的充电信息;电量获取模块,用于侦测所述电池当前的剩余电量;充电功率计算模块,用于根据所述充电信息及所述电池当前的剩余电量计算充电功率;以及充电控制模块,用于控制所述充电模块在所述充电时间内以不小于所述计算出来的充电功率的功率值对所述电池进行充电。The electronic device disclosed in the embodiment of the invention comprises a power interface, a charging module, a battery and a processing unit. The power interface is used for connecting with a charging power source, and the charging module is connected to the power interface and the battery for the power interface and charging. After the power source is connected, the battery is charged by receiving power from the charging power source, wherein the processing unit includes: a charging information acquiring module, configured to acquire charging including a charging time and a target task to be performed after charging. a power acquisition module, configured to detect a current remaining battery power of the battery; a charging power calculation module, configured to calculate a charging power according to the charging information and a current remaining power of the battery; and a charging control module, configured to control The charging module charges the battery with a power value not less than the calculated charging power during the charging time.
其中,所述充电功率计算模块确定所述要执行的目标任务的耗电量,并根 据所述要执行的目标任务的耗电量以及所述电池当前剩余的电量计算需要进行充电的充电电量,及根据所述充电电量以及所述充电时间计算所述充电功率。The charging power calculation module determines the power consumption of the target task to be executed, and roots Calculating a charging power that needs to be charged according to the power consumption of the target task to be executed and the current remaining power of the battery, and calculating the charging power according to the charging power amount and the charging time.
其中,所述充电功率计算模块根据充电功率P=Q/t计算得出充电功率P,其中Q为充电电量,t为充电时间。The charging power calculation module calculates the charging power P according to the charging power P=Q/t, where Q is the charging power and t is the charging time.
其中,所述处理单元还包括输入界面提供模块,所述输入界面提供模块用于提供一输入界面供用户输入充电时间及目标任务。The processing unit further includes an input interface providing module, and the input interface providing module is configured to provide an input interface for the user to input the charging time and the target task.
其中,所述输入界面包括充电信息选择菜单和/或充电信息输入框,所述充电信息选择菜单包括充电时间选项框以及目标任务选项框,分别用于供选择充电时间及目标任务;所述充电信息输入框包括充电时间输入框以及目标任务输入框,分别用于供输入充电时间及目标任务;所述充电信息获取模块响应用户对充电信息选择菜单的选择和/或对充电信息输入框的输入而获取包括充电时间及充电后需要执行的目标任务的充电信息。The input interface includes a charging information selection menu and/or a charging information input box, and the charging information selection menu includes a charging time option box and a target task option box for respectively selecting a charging time and a target task; the charging The information input box includes a charging time input box and a target task input box for respectively inputting a charging time and a target task; the charging information acquiring module is responsive to the user's selection of the charging information selection menu and/or input to the charging information input box. The charging information including the charging time and the target task to be performed after charging is obtained.
其中,所述输入界面提供模块在所述电源接口与充电电源连接时提供所述输入界面。The input interface providing module provides the input interface when the power interface is connected to a charging power source.
其中,所述输入界面提供模块在侦测电源接口的电源引脚为高电平时,确定所述电源接口与充电电源连接而提供所述输入界面。The input interface providing module determines that the power interface is connected to the charging power source to provide the input interface when detecting that the power pin of the power interface is at a high level.
其中,所述输入界面提供模块响应用户在显示屏上输入的特定触摸手势或者对特定的菜单或图标的点击而提供所述输入界面。Wherein the input interface providing module provides the input interface in response to a specific touch gesture input by a user on a display screen or a click on a particular menu or icon.
本发明实施例公开的按需充电方法,用于控制电子装置进行按需充电,该方法包括步骤:获取包括充电时间及充电后需要执行的目标任务的充电信息;侦测电子装置的电池当前的剩余电量;根据所述充电信息及所述电池当前的剩余电量计算充电功率;在所述充电时间内以不小于所述充电功率的功率值对电子装置的电池进行充电。The on-demand charging method disclosed in the embodiment of the present invention is used for controlling an electronic device to perform on-demand charging, and the method includes the steps of: acquiring charging information including a charging time and a target task to be performed after charging; and detecting a current battery of the electronic device Remaining power; calculating charging power according to the charging information and the current remaining power of the battery; charging the battery of the electronic device with a power value not less than the charging power during the charging time.
其中,所述步骤“根据所述充电信息及所述电池当前的剩余电量计算充电功率”包括:确定所述要执行的目标任务的耗电量;根据所述要执行的目标任务的耗电量以及所述电池当前剩余的电量计算需要进行充电的充电电量;以及 根据所述充电电量以及所述充电时间计算所述充电功率。The step of “calculating the charging power according to the charging information and the current remaining battery capacity of the battery” includes: determining a power consumption of the target task to be executed; and calculating a power consumption according to the target task to be executed. And calculating a current amount of charge that needs to be charged; and The charging power is calculated according to the charging power amount and the charging time.
其中,所述步骤“根据所述充电电量以及所述充电时间计算所述充电功率”包括:根据充电功率P=Q/t计算得出充电功率P,其中Q为充电电量,t为充电时间。The step of “calculating the charging power according to the charging power and the charging time” includes: calculating the charging power P according to the charging power P=Q/t, where Q is the charging power and t is the charging time.
其中,所述方法还包括步骤:提供一输入界面供用户输入充电时间及目标任务。The method further includes the steps of: providing an input interface for the user to input the charging time and the target task.
其中,所述输入界面包括充电信息选择菜单和/或充电信息输入框,所述充电信息选择菜单包括充电时间选项框以及目标任务选项框,分别用于供选择充电时间及目标任务;所述充电信息输入框包括充电时间输入框以及目标任务输入框,分别用于供输入充电时间及目标任务;所述步骤“获取包括充电时间及充电后需要执行的目标任务在内的充电信息”包括:响应用户对充电信息选择菜单的选择和/或对充电信息输入框的输入而获取包括充电时间及充电后需要执行的目标任务的充电信息。The input interface includes a charging information selection menu and/or a charging information input box, and the charging information selection menu includes a charging time option box and a target task option box for respectively selecting a charging time and a target task; the charging The information input box includes a charging time input box and a target task input box for respectively inputting a charging time and a target task; the step of “acquiring charging information including a charging time and a target task to be performed after charging” includes: a response The user acquires charging information including a charging time and a target task to be performed after charging, by selection of a charging information selection menu and/or input to a charging information input box.
其中,所述步骤“提供一输入界面供用户输入充电时间及目标任务”包括:在所述电源接口与充电电源连接时提供所述输入界面供用户输入充电时间及目标任务。The step of providing an input interface for the user to input the charging time and the target task includes: providing the input interface for the user to input the charging time and the target task when the power interface is connected to the charging power source.
其中,所述步骤“在所述电源接口与充电电源连接时提供所述输入界面供用户输入充电时间及目标任务”进一步包括:在侦测电源接口的电源引脚为高电平时,确定所述电源接口与充电电源连接而提供所述输入界面。The step of “providing the input interface for the user to input the charging time and the target task when the power interface is connected to the charging power source” further includes: determining that the power pin of the power interface is high when detecting The input interface is provided by a power interface coupled to the charging power source.
其中,所述步骤“提供一输入界面供用户输入充电时间及目标任务”包括:响应用户在显示屏上输入的特定触摸手势或者对特定的菜单或图标的点击而提供所述输入界面供用户输入充电时间及目标任务。The step of “providing an input interface for the user to input the charging time and the target task” includes providing the input interface for the user to input in response to a specific touch gesture input by the user on the display screen or clicking on a specific menu or icon. Charging time and target tasks.
本发明的电子装置和按需充电方法,能够让电子装置响应用户输入的电子装置需要执行的目标任务以及可用于充电的充电时间,而调整充电功率,保证在充电时间内充电后的电量足以执行所述目标任务。The electronic device and the on-demand charging method of the present invention enable the electronic device to adjust the charging power in response to the target task that the electronic device input by the user needs to perform and the charging time that can be used for charging, so as to ensure that the charged power is sufficient to be performed during the charging time. The target task.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings to be used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1为本发明一实施例中的电子装置的功能模块图;1 is a functional block diagram of an electronic device according to an embodiment of the present invention;
图2为本发明一实施例中的输入界面的示意图;2 is a schematic diagram of an input interface in an embodiment of the present invention;
图3为本发明另一实施例中的输入界面的示意图。FIG. 3 is a schematic diagram of an input interface in another embodiment of the present invention.
图4为本发明一实施例中的按需充电方法的流程图。4 is a flow chart of an on-demand charging method in accordance with an embodiment of the present invention.
图5为图4中步骤S405的子流程图。FIG. 5 is a sub-flow chart of step S405 in FIG.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
请参阅图1,为本发明一实施例中的电子装置100的结构框图。该电子装置100包括电源接口10、充电模块20、电池30、显示屏40及处理单元50。Please refer to FIG. 1 , which is a structural block diagram of an electronic device 100 according to an embodiment of the invention. The electronic device 100 includes a power interface 10, a charging module 20, a battery 30, a display screen 40, and a processing unit 50.
该电源接口10用于与一充电电源200连接。其中,所述电源接口可为USB(Universal Serial Bus,通用串行总线)接口等充电接口。The power interface 10 is used to connect to a charging power source 200. The power interface may be a charging interface such as a USB (Universal Serial Bus) interface.
所述充电模块20连接于电源接口10与电池30之间,用于在电源接口10和充电电源200连接后,从所述充电电源200接收电能而为所述电池30进行充电。The charging module 20 is connected between the power interface 10 and the battery 30 for receiving power from the charging power source 200 to charge the battery 30 after the power interface 10 and the charging power source 200 are connected.
其中,所述充电电源200可为连接有市电电源的充电适配器或为一移动电源。所述电池30可为锂电池、镍氢电池等可充电电池。The charging power source 200 can be a charging adapter connected to a commercial power source or a mobile power source. The battery 30 can be a rechargeable battery such as a lithium battery or a nickel hydrogen battery.
所述处理单元50包括充电信息获取模块501、电量侦测模块502、充电功率计算模块503以及充电控制模块504。The processing unit 50 includes a charging information acquiring module 501, a power detecting module 502, a charging power calculating module 503, and a charging control module 504.
其中,所述充电信息获取模块401用于获取包括充电时间及充电后需要执 行的目标任务在内的充电信息。The charging information acquiring module 401 is configured to acquire, including charging time, and need to perform after charging. Charging information including the target task of the line.
所述电量获取模块502用于侦测电子装置100的电池30当前的剩余电量。The power acquisition module 502 is configured to detect the current remaining power of the battery 30 of the electronic device 100.
所述充电功率计算模块503用于根据所述充电信息及电子装置100的电池30当前的剩余电量计算充电功率。The charging power calculation module 503 is configured to calculate charging power according to the charging information and the current remaining power of the battery 30 of the electronic device 100.
具体的,所述充电功率计算模块503确定所述要执行的目标任务的耗电量。例如所述目标任务可为打两小时的视频电话,则可根据视频电话的功耗以及所述通话时长确定所述两小时的视频电话的耗电量。Specifically, the charging power calculation module 503 determines the power consumption of the target task to be executed. For example, the target task may be a two-hour video call, and the power consumption of the two-hour video call may be determined according to the power consumption of the video call and the duration of the call.
然后,所述充电功率计算模块503根据所述要执行的目标任务的耗电量以及电池50当前剩余的电量计算需要进行充电的充电电量。其中,所述充电功率计算模块503为通过将目标任务的耗电量减去电池50当前剩余的电量得到要进行充电的充电电量。例如,所述目标任务的耗电量为1000mWh(毫瓦特小时),当前剩余的电量为200mWh,则需要补足充电的充电电量为1000mWh-200mWh=800mWh。Then, the charging power calculation module 503 calculates the charging amount that needs to be charged according to the power consumption of the target task to be executed and the current remaining amount of the battery 50. The charging power calculation module 503 is configured to obtain the charging power to be charged by subtracting the current remaining power of the battery 50 from the power consumption of the target task. For example, the power consumption of the target task is 1000 mWh (milliwatt hours), and the current remaining power is 200 mWh, and the charging power that needs to be fully charged is 1000 mWh-200 mWh=800 mWh.
所述充电功率计算模块503然后根据所述充电电量以及所述充电时间计算充电功率。具体的,所述充电功率计算模块503为根据充电功率P=Q/t计算得出充电功率P,其中Q为充电电量,t为充电时间。例如,当充电电量为800mWh,且充电时间为10分钟,则充电功率P=800/(10/60)=4.8W。The charging power calculation module 503 then calculates the charging power based on the charging power amount and the charging time. Specifically, the charging power calculation module 503 calculates the charging power P according to the charging power P=Q/t, where Q is the charging power and t is the charging time. For example, when the charging amount is 800 mWh and the charging time is 10 minutes, the charging power P = 800 / (10 / 60) = 4.8 W.
所述充电控制模块504用于控制所述充电模块20在所述充电时间内以不小于所述计算出的充电功率的功率值对电池30进行充电,以使得电池30的电量能达到满足执行所述目标任务的需求。The charging control module 504 is configured to control the charging module 20 to charge the battery 30 with a power value not less than the calculated charging power during the charging time, so that the battery 30 can reach the execution level. The needs of the target mission.
从而,本发明中,可根据用户选择的充电时间以及充电后所需要执行的目标任务进行充电,使得在充电时间内充电后的电池电量满足执行所述目标任务,更加人性化,满足人们急需用电的各种需求。Therefore, in the present invention, the charging can be performed according to the charging time selected by the user and the target task to be performed after the charging, so that the battery power after charging in the charging time satisfies the execution of the target task, and is more humanized and meets the urgent needs of the people. Various needs of electricity.
显然,上述计算出的充电功率为在该充电时间内的最小需要的充电功率,显然,充电功率计算模块503可以确定大于或等于4.8W的合理充电功率值作为充电功率。Obviously, the above calculated charging power is the minimum required charging power during the charging time. Obviously, the charging power calculation module 503 can determine a reasonable charging power value greater than or equal to 4.8 W as the charging power.
其中,所述充电模块20可为充电芯片,充电芯片中包括有电压转换电路和/或电流转换电路,所述充电控制模块504控制所述充电模块20调节输出的电压和电流中的至少一个,使得当前对电池30充电的功率值调整为不小于所 述计算出的充电功率的功率值。The charging module 20 may be a charging chip, and the charging chip includes a voltage conversion circuit and/or a current conversion circuit, and the charging control module 504 controls the charging module 20 to adjust at least one of the output voltage and current. The current power value for charging the battery 30 is adjusted to be not less than The calculated power value of the charging power.
如图1所示,所述处理单元50还包括一输入界面提供模块505,所述输入界面提供模块505用于提供一输入界面T1供用户输入充电时间及目标任务。所述充电信息确定模块401响应用户在输入界面T1的输入而获取包括充电时间及充电后需要执行的目标任务的充电信息。As shown in FIG. 1, the processing unit 50 further includes an input interface providing module 505, and the input interface providing module 505 is configured to provide an input interface T1 for the user to input the charging time and the target task. The charging information determining module 401 acquires charging information including a charging time and a target task to be executed after charging in response to an input of the user at the input interface T1.
请一并参阅图2,在一实施方式中,所述输入界面T1包括充电信息选择菜单M1,所述充电信息选择菜单M1包括充电时间选项框X1以及目标任务选项框X2,所述充电时间选项框X1及目标任务选项框X2可为下拉菜单的方式供用户选择具体的充电时间以及目标任务。例如,用户可在充电时间选项框X1提供的多个充电时间中选择一个充电时间,例如选择10分钟,并可在目标任务选项框X2提供的多个任务中选择一个任务作为目标任务,例如选择视频电话2小时。Referring to FIG. 2 together, in an embodiment, the input interface T1 includes a charging information selection menu M1, and the charging information selection menu M1 includes a charging time option box X1 and a target task option box X2, the charging time option. Box X1 and the target task option box X2 can be used as a drop-down menu for the user to select a specific charging time and a target task. For example, the user may select one charging time among the plurality of charging times provided by the charging time option box X1, for example, select 10 minutes, and select one of the plurality of tasks provided in the target task option box X2 as the target task, for example, selecting Video call for 2 hours.
所述充电信息获取模块501响应用户对充电时间选项框X1以及目标任务选项框X2中的某一选项框的选择操作而确定充电时间和目标任务,从而获取到包括充电时间及充电后需要执行的目标任务的充电信息。The charging information acquiring module 501 determines the charging time and the target task in response to the user's selection operation of the charging time option box X1 and one of the target task option boxes X2, thereby acquiring the charging time and the need to perform after charging. Charging information for the target task.
请一并参阅图3,在另一实施方式中,所述输入界面T1包括一充电信息输入框K1,所述充电信息输入框K1包括充电时间输入框S1以及目标任务输入框R1,所述充电时间输入框S1用于供用户输入充电时间,所述目标任务输入框R1用于供用户输入充电后要执行的目标任务。例如,用户可在充电时间输入框S1中输入“10分钟”作为充电时间,并可在目标任务输入框R1中输入“视频电话2小时”,作为目标任务。其中,用户可通过语音输入、文字输入、触摸手势输入等方式在充电时间输入框S1以及目标任务输入框R1分别输入充电时间及目标任务。Referring to FIG. 3 together, in another embodiment, the input interface T1 includes a charging information input box K1, and the charging information input box K1 includes a charging time input box S1 and a target task input box R1. The time input box S1 is used for the user to input the charging time, and the target task input box R1 is used for the user to input the target task to be executed after charging. For example, the user can input "10 minutes" as the charging time in the charging time input box S1, and can input "video call 2 hours" in the target task input box R1 as the target task. The user can input the charging time and the target task in the charging time input box S1 and the target task input box R1 respectively by voice input, text input, touch gesture input, and the like.
所述充电信息获取模块501根据充电时间输入框S1以及目标任务输入框R1中的输入而确定充电时间和目标任务,从而获取到包括充电时间及充电后需要执行的目标任务的充电信息。The charging information acquisition module 501 determines the charging time and the target task according to the input in the charging time input box S1 and the target task input box R1, thereby acquiring charging information including the charging time and the target task that needs to be performed after charging.
其中,在一些实施例中,所述输入界面T1可同时包括前述的充电信息选择菜单M1和充电信息输入框K1,所述充电信息获取模块501可根据用户对充电信息选择菜单M1的选择和/或对充电信息输入框K1的输入而获取包括充 电时间及充电后需要执行的目标任务的充电信息。In some embodiments, the input interface T1 may include the foregoing charging information selection menu M1 and the charging information input box K1, and the charging information acquiring module 501 may select the menu M1 according to the user's charging information and/or Or obtaining the charge including the input of the charging information input box K1 Charging information for the electrical task and the target task to be performed after charging.
其中,通过所述充电时间选项框X1所选择的充电时间或充电时间输入框S1输入的充电时间还可以为5分钟、15分钟、20分钟、半小时等任何***预先设定或用户自定义的时间。通过所述目标任务选项框X2所选择的目标任务或目标任务输入框R1输入的目标任务还可以为“摄像1小时”、“阅读2小时”、“通话2小时”、“播放视频3小时”等等任何***预先设定或用户自定义的任务。The charging time input by the charging time or charging time input box S1 selected by the charging time option box X1 may also be any system preset or user-defined for 5 minutes, 15 minutes, 20 minutes, half an hour, and the like. time. The target task input through the target task or the target task input box R1 selected by the target task option box X2 may also be “camera 1 hour”, “read 2 hours”, “call 2 hours”, “play video 3 hours”. Wait for any system pre-set or user-defined tasks.
其中,在一实施方式中,所述输入界面提供模块505在侦测到所述电源接口10与充电电源200连接时,控制显示屏40显示所述输入界面T1。其中,所述电源接口10在与充电电源200连接时,电源接口的电源引脚变为高电平,所述输入界面提供模块505通过侦测电源接口10的电源引脚是否为高电平而侦测所述电源接口10是否与充电电源200连接。在另一实施方式中,所述输入界面提供模块505响应用户在显示屏40上输入的特定触摸手势或者对特定的菜单或图标的点击,控制所述显示屏40显示所述输入界面T1。其中,所述显示屏40为触摸显示屏。In an embodiment, the input interface providing module 505 controls the display screen 40 to display the input interface T1 when detecting that the power interface 10 is connected to the charging power source 200. When the power interface 10 is connected to the charging power source 200, the power pin of the power interface becomes a high level, and the input interface providing module 505 detects whether the power pin of the power interface 10 is high. It is detected whether the power interface 10 is connected to the charging power source 200. In another embodiment, the input interface providing module 505 controls the display screen 40 to display the input interface T1 in response to a particular touch gesture input by the user on the display screen 40 or a click on a particular menu or icon. The display screen 40 is a touch display screen.
其中,在另一些实施例中,所述充电控制模块504还可以与充电电源200进行通信,指示充电电源200,例如充电器或移动电源调整输出的电压或电流,同样达到调节所述充电功率的效果。In other embodiments, the charging control module 504 can also communicate with the charging power source 200 to instruct the charging power source 200, such as a charger or a mobile power source to adjust the output voltage or current, and also adjust the charging power. effect.
其中,上述的充电信息获取模块501、电量侦测模块502、充电功率计算模块503、充电控制模块504及输入界面提供模块505可为处理单元50调用执行的程序化指令,也可为固化于处理单元10的固件(Firmware)或处理单元50中的硬件电路。该处理单元10可为中央处理单元、微控制器、单片机、数字信号处理单元等。The charging information acquiring module 501, the power detecting module 502, the charging power calculating module 503, the charging control module 504, and the input interface providing module 505 may be programmed to be executed by the processing unit 50, or may be solidified in the processing. Firmware of unit 10 or hardware circuitry in processing unit 50. The processing unit 10 can be a central processing unit, a microcontroller, a single chip microcomputer, a digital signal processing unit, or the like.
该电子装置100可为手机、平板电脑、照相机、音乐播放器等便携式电子装置。The electronic device 100 can be a portable electronic device such as a mobile phone, a tablet computer, a camera, a music player, or the like.
请参阅图4,为本发明一实施例中的按需充电方法的流程图。该方法用于供电子装置100根据用户的需要进行充电。该方法包括如下步骤:Please refer to FIG. 4, which is a flow chart of an on-demand charging method in accordance with an embodiment of the present invention. The method is used for the electronic device 100 to charge according to the needs of the user. The method comprises the following steps:
获取包括充电时间及充电后需要执行的目标任务在内的充电信息(S401)。The charging information including the charging time and the target task to be performed after charging is acquired (S401).
侦测电子装置100的电池30当前的剩余电量(S403)。 The current remaining battery power of the battery 30 of the electronic device 100 is detected (S403).
根据所述充电信息及电子装置100的电池30当前的剩余电量计算充电功率(S405)。The charging power is calculated based on the charging information and the current remaining battery power of the battery 30 of the electronic device 100 (S405).
在所述充电时间内以不小于所述计算出的充电功率的功率值对电池30进行充电,以使得电池30的电量能达到足以执行所述目标任务的需求(S407)。其中,在所述充电时间内以不小于所述计算出的充电功率的功率值对电池30进行充电,包括:通过调节充电电压和充电电流中的至少一个,使得当前对电池30充电的功率值调整为不小于所述计算出的充电功率的功率值。The battery 30 is charged with a power value not less than the calculated charging power during the charging time so that the amount of power of the battery 30 can reach a demand sufficient to perform the target task (S407). The charging the battery 30 with the power value not less than the calculated charging power during the charging time includes: adjusting the current power value of the battery 30 by adjusting at least one of the charging voltage and the charging current. Adjusted to a power value not less than the calculated charging power.
其中,在所述步骤S401之前,所述按需充电方法还可包括步骤:提供一输入界面T1供用户输入充电时间及充电后需要执行的目标任务。Before the step S401, the on-demand charging method may further include the steps of: providing an input interface T1 for the user to input the charging time and the target task to be performed after the charging.
其中,在一实施方式中,所述步骤“提供一输入界面T1供用户输入充电时间及充电后需要执行的目标任务”包括:在侦测到所述电源接口10与充电电源200连接时,控制显示屏40显示所述输入界面T1供用户输入充电时间及充电后需要执行的目标任务。其中,所述电源接口10在于充电电源200连接时,电源接口的电源引脚变为高电平,通过侦测电源接口10的电源引脚是否为高电平而侦测所述电源接口10是否与充电电源200连接。在另一实施方式中,所述步骤“提供一输入界面T1供用户输入充电时间及充电后需要执行的目标任务”包括:响应用户在显示屏40上输入的特定触摸手势或者对特定的菜单或图标的点击,控制所述显示屏40显示所述输入界面T1。In an embodiment, the step of “providing an input interface T1 for the user to input the charging time and the target task to be performed after charging” includes: controlling when the power interface 10 is connected to the charging power source 200, The display screen 40 displays the input interface T1 for the user to input the charging time and the target task to be performed after charging. The power interface 10 is configured to detect that the power connector of the power interface is at a high level when the charging power source 200 is connected, and whether the power interface 10 is detected by detecting whether the power pin of the power interface 10 is at a high level. It is connected to the charging power source 200. In another embodiment, the step of "providing an input interface T1 for the user to input the charging time and the target task to be performed after charging" includes responding to a specific touch gesture input by the user on the display screen 40 or to a specific menu or Clicking on the icon controls the display screen 40 to display the input interface T1.
其中,所述步骤S401具体包括:响应用户对输入界面T1的输入而获得包括充电时间及充电后需要执行的目标任务在内的充电信息。The step S401 specifically includes: in response to the user inputting the input interface T1, obtaining charging information including a charging time and a target task to be performed after charging.
其中,在一实施方式中,所述输入界面T1包括充电信息选择菜单M1,所述充电信息选择菜单M1包括充电时间选项框X1以及目标任务选项框X2,所述响应用户对输入界面T1的输入而获得包括充电时间及充电后需要执行的目标任务在内的充电信息包括:响应用户对充电时间选项框X1以及目标任务选项框X2中的某一选项框的选择操作而确定充电时间和目标任务,从而获取到包括充电时间及充电后需要执行的目标任务的充电信息。In an embodiment, the input interface T1 includes a charging information selection menu M1, and the charging information selection menu M1 includes a charging time option box X1 and a target task option box X2, and the response user inputs the input interface T1. And obtaining the charging information including the charging time and the target task to be performed after charging includes: determining the charging time and the target task in response to the user selecting the charging time option box X1 and one of the target task option boxes X2. , thereby obtaining charging information including a charging time and a target task that needs to be performed after charging.
在另一实施方式中,所述输入界面T1包括一充电信息输入框K1,所述充电信息输入框K1包括充电时间输入框S1以及目标任务输入框R1,所述响应用户对输入界面T1的输入而获得包括充电时间及充电后需要执行的目标任务 在内的充电信息包括:根据充电时间输入框S1以及目标任务输入框R1中的输入而确定充电时间和目标任务,获取到包括充电时间及充电后需要执行的目标任务的充电信息。In another embodiment, the input interface T1 includes a charging information input box K1, and the charging information input box K1 includes a charging time input box S1 and a target task input box R1, and the response user inputs the input interface T1. And get the target task including charging time and charging The charging information included includes determining the charging time and the target task based on the charging time input box S1 and the input in the target task input box R1, and acquiring charging information including the charging time and the target task to be executed after charging.
请参阅图5,为步骤S405的子步骤流程图。所述步骤S405包括:Please refer to FIG. 5, which is a flowchart of the sub-step of step S405. The step S405 includes:
确定所述要执行的目标任务的耗电量(S4051)。例如所述目标任务可为打两小时的视频电话,则可根据视频电话的功耗以及所述通话时长确定所述两小时的视频电话的耗电量。The power consumption of the target task to be executed is determined (S4051). For example, the target task may be a two-hour video call, and the power consumption of the two-hour video call may be determined according to the power consumption of the video call and the duration of the call.
根据所述要执行的目标任务的耗电量以及电池50当前剩余的电量计算需要进行充电的充电电量(S4053)。具体的,为通过将目标任务的耗电量减去电池50当前剩余的电量得到要进行充电的充电电量。例如,所述目标任务的耗电量为1000mWh(毫瓦特小时),当前剩余的电量为200mWh,则需要补足充电的充电电量为1000mWh-200mWh=800mWh。The amount of charge that needs to be charged is calculated based on the power consumption of the target task to be executed and the amount of power remaining in the battery 50 (S4053). Specifically, the charged power to be charged is obtained by subtracting the current remaining power of the battery 50 from the power consumption of the target task. For example, the power consumption of the target task is 1000 mWh (milliwatt hours), and the current remaining power is 200 mWh, and the charging power that needs to be fully charged is 1000 mWh-200 mWh=800 mWh.
根据所述充电电量以及所述充电时间计算充电功率(S4055)。具体的,为根据充电功率P=Q/t计算得出充电功率P,其中Q为充电电量,t为充电时间。例如,当充电电量为800mWh,且充电时间为10分钟,则充电功率P=800/(10/60)=4.8W。The charging power is calculated based on the charged amount of electricity and the charging time (S4055). Specifically, the charging power P is calculated according to the charging power P=Q/t, where Q is the charging power and t is the charging time. For example, when the charging amount is 800 mWh and the charging time is 10 minutes, the charging power P = 800 / (10 / 60) = 4.8 W.
因此,通过本发明的电子装置100及按需充电方法,当用户马上要出门办事或者马上要去没有充电插座的会议室用电子装置100进行视频电话等事情,用户可以选择或输入充电时间及充电后要执行的目标任务,电子装置100可根据充电时间及充电后要执行的目标任务调整充电功率,从而保证满足所述目标任务的执行。Therefore, with the electronic device 100 and the on-demand charging method of the present invention, when the user wants to go out to work immediately or go to the conference room electronic device 100 without a charging socket to perform video calling, etc., the user can select or input charging time and charging. After the target task to be executed, the electronic device 100 can adjust the charging power according to the charging time and the target task to be executed after charging, thereby ensuring that the execution of the target task is satisfied.
以上所述是本发明的优选实施例,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。 The above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It is the scope of protection of the present invention.

Claims (16)

  1. 一种电子装置,包括电源接口、充电模块、电池以及处理单元,所述电源接口用于与一充电电源连接,所述充电模块连接电源接口与电池,用于在电源接口和充电电源连接后,从所述充电电源接收电能为所述电池进行充电,其特征在于,所述处理单元包括:An electronic device includes a power interface, a charging module, a battery, and a processing unit, wherein the power interface is connected to a charging power source, and the charging module is connected to the power interface and the battery, and after the power interface and the charging power source are connected, Receiving electrical energy from the charging power source to charge the battery, wherein the processing unit comprises:
    充电信息获取模块,用于获取包括充电时间及充电后需要执行的目标任务的充电信息;a charging information acquiring module, configured to acquire charging information including a charging time and a target task to be performed after charging;
    电量获取模块,用于侦测所述电池当前的剩余电量;a power acquisition module, configured to detect a current remaining battery power of the battery;
    充电功率计算模块,用于根据所述充电信息及所述电池当前的剩余电量计算充电功率;以及a charging power calculation module, configured to calculate a charging power according to the charging information and a current remaining battery capacity of the battery;
    充电控制模块,用于控制所述充电模块在所述充电时间内以功率值不小于所述充电功率的电功率对所述电池进行充电。And a charging control module, configured to control the charging module to charge the battery with an electric power having a power value not less than the charging power during the charging time.
  2. 如权利要求1所述的电子装置,其特征在于,所述充电功率计算模块确定所述要执行的目标任务的耗电量,并根据所述要执行的目标任务的耗电量以及所述电池当前剩余的电量计算需要进行充电的充电电量,及根据所述充电电量以及所述充电时间计算所述充电功率。The electronic device according to claim 1, wherein the charging power calculation module determines a power consumption amount of the target task to be executed, and according to the power consumption of the target task to be executed and the battery The current remaining power calculates a charging power that needs to be charged, and calculates the charging power based on the charging power and the charging time.
  3. 如权利要求2所述的电子装置,其特征在于,所述充电功率计算模块根据充电功率P=Q/t计算得出充电功率P,其中Q为充电电量,t为充电时间。The electronic device according to claim 2, wherein the charging power calculation module calculates the charging power P according to the charging power P=Q/t, wherein Q is a charging power amount, and t is a charging time.
  4. 如权利要求1所述的电子装置,其特征在于,所述处理单元还包括一输入界面提供模块,所述输入界面提供模块用于提供一输入界面供用户输入充电时间及目标任务。The electronic device according to claim 1, wherein the processing unit further comprises an input interface providing module, wherein the input interface providing module is configured to provide an input interface for the user to input the charging time and the target task.
  5. 如权利要求4所述的电子装置,其特征在于,所述输入界面包括充电信息选择菜单和/或充电信息输入框,所述充电信息选择菜单包括充电时间选项框以及目标任务选项框,分别用于供选择充电时间及目标任务;所述充电信息输入框包括充电时间输入框以及目标任务输入框,分别用于供输入充电时间及目标任务;所述充电信息获取模块响应用户对充电信息选择菜单的选择和/或对充电信息输入框的输入而获取包括充电时间及充电后需要执行的目标任务的充电信息。 The electronic device according to claim 4, wherein the input interface comprises a charging information selection menu and/or a charging information input box, wherein the charging information selection menu comprises a charging time option box and a target task option box, respectively The charging information input box includes a charging time input box and a target task input box for respectively inputting a charging time and a target task; the charging information acquiring module responding to the user selecting a menu of the charging information The selection and/or input to the charging information input box acquires charging information including the charging time and the target task to be performed after charging.
  6. 如权利要求4所述的电子装置,其特征在于,所述输入界面提供模块在所述电源接口与充电电源连接时提供所述输入界面。The electronic device of claim 4, wherein the input interface providing module provides the input interface when the power interface is connected to a charging power source.
  7. 如权利要求6所述的电子装置,其特征在于,所述输入界面提供模块在侦测电源接口的电源引脚为高电平时,确定所述电源接口与充电电源连接而提供所述输入界面。The electronic device according to claim 6, wherein the input interface providing module determines that the power interface is connected to the charging power source to provide the input interface when detecting that the power pin of the power interface is at a high level.
  8. 如权利要求4所述的电子装置,其特征在于,所述输入界面提供模块响应用户在显示屏上输入的特定触摸手势或者对特定的菜单或图标的点击而提供所述输入界面。The electronic device of claim 4 wherein said input interface providing module provides said input interface in response to a particular touch gesture input by a user on a display screen or a click on a particular menu or icon.
  9. 一种按需充电方法,用于控制电子装置进行按需充电,该方法包括步骤:An on-demand charging method for controlling an electronic device for on-demand charging, the method comprising the steps of:
    获取包括充电时间及充电后需要执行的目标任务的充电信息;Obtain charging information including charging time and target tasks to be performed after charging;
    侦测电子装置的电池当前的剩余电量;Detecting the current remaining battery power of the electronic device;
    根据所述充电信息及所述电池当前的剩余电量计算充电功率;Calculating charging power according to the charging information and the current remaining capacity of the battery;
    在所述充电时间内以不小于所述充电功率的功率值对电子装置的电池进行充电。The battery of the electronic device is charged during the charging time with a power value not less than the charging power.
  10. 如权利要求9所述的方法,其特征在于,所述步骤“根据所述充电信息及所述电池当前的剩余电量计算充电功率”包括:The method according to claim 9, wherein said step of "calculating charging power based on said charging information and said current remaining battery capacity" comprises:
    确定所述要执行的目标任务的耗电量;Determining the power consumption of the target task to be executed;
    根据所述要执行的目标任务的耗电量以及所述电池当前剩余的电量确定需要进行充电的充电电量;以及Determining a charge amount that needs to be charged according to a power consumption of the target task to be executed and a current remaining amount of the battery; and
    根据所述充电电量以及所述充电时间计算所述充电功率。The charging power is calculated according to the charging power amount and the charging time.
  11. 如权利要10所述的方法,其特征在于,所述步骤“根据所述充电电量以及所述充电时间确定所述充电功率”包括:根据充电功率P=Q/t计算得出充电功率P,其中Q为充电电量,t为充电时间。The method of claim 10, wherein the step of determining the charging power according to the charging power and the charging time comprises: calculating a charging power P according to a charging power P=Q/t, Where Q is the charging power and t is the charging time.
  12. 如权利要求9所述的方法,其特征在于,所述方法还包括步骤:提供一输入界面供用户输入充电时间及目标任务。The method of claim 9 wherein the method further comprises the step of providing an input interface for the user to input the charging time and the target task.
  13. 如权利要求12所述的方法,其特征在于,所述输入界面包括充电信息选择菜单和/或充电信息输入框,所述充电信息选择菜单包括充电时间选项 框以及目标任务选项框,分别用于供选择充电时间及目标任务;所述充电信息输入框包括充电时间输入框以及目标任务输入框,分别用于供输入充电时间及目标任务;The method of claim 12, wherein the input interface comprises a charging information selection menu and/or a charging information input box, the charging information selection menu comprising a charging time option a box and a target task option box, respectively for selecting a charging time and a target task; the charging information input box includes a charging time input box and a target task input box, respectively, for inputting charging time and a target task;
    所述步骤“获取包括充电时间及充电后需要执行的目标任务在内的充电信息”包括:响应用户对充电信息选择菜单的选择和/或对充电信息输入框的输入而获取包括充电时间及充电后需要执行的目标任务的充电信息。The step of "acquiring charging information including charging time and target tasks to be performed after charging" includes: obtaining charging time and charging in response to user selection of a charging information selection menu and/or input to a charging information input box Charging information for the target task that needs to be performed afterwards.
  14. 如权利要求12所述的方法,其特征在于,所述步骤“提供一输入界面供用户输入充电时间及目标任务”包括:在所述电源接口与充电电源连接时提供所述输入界面供用户输入充电时间及目标任务。The method of claim 12, wherein the step of "providing an input interface for the user to input the charging time and the target task" comprises: providing the input interface for user input when the power interface is connected to the charging power source Charging time and target tasks.
  15. 如权利要求14所述的方法,其特征在于,所述步骤“在所述电源接口与充电电源连接时提供所述输入界面供用户输入充电时间及目标任务”,进一步包括:The method of claim 14, wherein the step of "providing the input interface for the user to input the charging time and the target task when the power interface is connected to the charging power source" further includes:
    在侦测电源接口的电源引脚为高电平时,确定所述电源接口与充电电源连接而提供所述输入界面。When the power pin of the power interface is detected to be high, it is determined that the power interface is connected to the charging power source to provide the input interface.
  16. 如权利要求12所述的方法,其特征在于,所述步骤“提供一输入界面供用户输入充电时间及目标任务”包括:The method of claim 12 wherein said step of "providing an input interface for the user to input charging time and target tasks" comprises:
    响应用户在显示屏上输入的特定触摸手势或者对特定的菜单或图标的点击而提供所述输入界面供用户输入充电时间及目标任务。 The input interface is provided for the user to input the charging time and the target task in response to a particular touch gesture entered by the user on the display or a click on a particular menu or icon.
PCT/CN2016/103731 2016-10-28 2016-10-28 Electronic apparatus and on-demand charging method WO2018076271A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201680038031.3A CN107980190A (en) 2016-10-28 2016-10-28 Electronic device and on demand charging method
PCT/CN2016/103731 WO2018076271A1 (en) 2016-10-28 2016-10-28 Electronic apparatus and on-demand charging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/103731 WO2018076271A1 (en) 2016-10-28 2016-10-28 Electronic apparatus and on-demand charging method

Publications (1)

Publication Number Publication Date
WO2018076271A1 true WO2018076271A1 (en) 2018-05-03

Family

ID=62005225

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/103731 WO2018076271A1 (en) 2016-10-28 2016-10-28 Electronic apparatus and on-demand charging method

Country Status (2)

Country Link
CN (1) CN107980190A (en)
WO (1) WO2018076271A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4160860A4 (en) * 2020-05-28 2024-02-14 Vivo Mobile Communication Co Ltd Power amount display method and apparatus, and electronic device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109435752A (en) * 2018-11-08 2019-03-08 瑞声科技(新加坡)有限公司 A kind of power adjustable section charging pile and charging method
CN111697636B (en) * 2019-03-11 2022-10-18 Oppo广东移动通信有限公司 Charging method and device, terminal and storage medium
CN110600822B (en) * 2019-08-15 2021-08-31 纳恩博(常州)科技有限公司 Charging method, electronic equipment and computer storage medium
CN110429684B (en) * 2019-08-20 2021-03-02 Oppo(重庆)智能科技有限公司 Charging control method and device, electronic equipment and computer readable storage medium
CN111384788B (en) * 2020-03-17 2022-04-29 维沃移动通信有限公司 Charging control method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409456A (en) * 2008-08-04 2009-04-15 深圳市同洲电子股份有限公司 Charger and charging method thereof
US20120200160A1 (en) * 2010-04-06 2012-08-09 Battelle Memorial Institute Grid regulation services for energy storage devices based on grid frequency
CN103812160A (en) * 2012-11-14 2014-05-21 三星Sdi株式会社 Method and apparatus for controlling charging of secondary battery
CN105990866A (en) * 2015-02-10 2016-10-05 深圳酷派技术有限公司 Charging method, device and terminal thereof
CN106058965A (en) * 2016-06-03 2016-10-26 深圳市金立通信设备有限公司 Charging method and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103682498B (en) * 2013-12-04 2016-03-02 华为终端有限公司 A kind of charging method and electronic equipment
CN104362684A (en) * 2014-10-10 2015-02-18 华为技术有限公司 Charging method and rechargeable equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409456A (en) * 2008-08-04 2009-04-15 深圳市同洲电子股份有限公司 Charger and charging method thereof
US20120200160A1 (en) * 2010-04-06 2012-08-09 Battelle Memorial Institute Grid regulation services for energy storage devices based on grid frequency
CN103812160A (en) * 2012-11-14 2014-05-21 三星Sdi株式会社 Method and apparatus for controlling charging of secondary battery
CN105990866A (en) * 2015-02-10 2016-10-05 深圳酷派技术有限公司 Charging method, device and terminal thereof
CN106058965A (en) * 2016-06-03 2016-10-26 深圳市金立通信设备有限公司 Charging method and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4160860A4 (en) * 2020-05-28 2024-02-14 Vivo Mobile Communication Co Ltd Power amount display method and apparatus, and electronic device

Also Published As

Publication number Publication date
CN107980190A (en) 2018-05-01

Similar Documents

Publication Publication Date Title
WO2018076271A1 (en) Electronic apparatus and on-demand charging method
JP6884266B2 (en) Mobile devices, peripheral devices, and how to charge them
WO2021035736A1 (en) Charging control method and apparatus, charging test method and system, and electronic device
US9331508B2 (en) Electronic device capable of testing USB cable and method for testing USB cable
US20160099608A1 (en) Power adapter with built-in battery and power storage and supply method thereof
EP1742140B1 (en) Cradle for connecting to portable electronic apparatus
CN106655344B (en) Charging method and device for mobile terminal
US8816644B2 (en) Interrupting the charging status of a rechargeable battery
WO2021077611A1 (en) Battery charging method, battery charging apparatus and storage medium
CN111464671B (en) Electronic equipment and charging method thereof
WO2021008488A1 (en) Method for detecting channel impedance, charging interface detection circuit structure, and electronic device
CN107196372A (en) Charging method and device
KR20130083116A (en) Recharging control system and method for battery of electronic device
JP2016519923A (en) Dynamic charging of rechargeable batteries
CN103972953A (en) Charging Apparatus and Charging Method
CN109254210B (en) Electronic equipment port type detection method and device, detection circuit and electronic equipment
EP3614523B1 (en) Charging processing method and terminal device
CN112054564B (en) Circuit detection method and device, equipment and storage medium
CN109861038B (en) USB connection port capable of automatically switching connection mode and control method thereof
US20170063105A1 (en) Charging method, charging controller and charging system
US20200220371A1 (en) Method and device for controlling charging on basis of state of battery
CN109256825B (en) Charging method and electronic device
US20160218531A1 (en) Charging method and portable electronic device using the same
TWI544717B (en) Method of setting charging current and charging module
CN106026232A (en) Detecting method and apparatus for USB port type

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: 16920446

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: 16920446

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18/09/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16920446

Country of ref document: EP

Kind code of ref document: A1