[go: up one dir, main page]

CN110138037B - Method and device for reminding user of charging, wearable device and storage medium - Google Patents

Method and device for reminding user of charging, wearable device and storage medium Download PDF

Info

Publication number
CN110138037B
CN110138037B CN201910442013.7A CN201910442013A CN110138037B CN 110138037 B CN110138037 B CN 110138037B CN 201910442013 A CN201910442013 A CN 201910442013A CN 110138037 B CN110138037 B CN 110138037B
Authority
CN
China
Prior art keywords
power consumption
time
target
duration
charging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910442013.7A
Other languages
Chinese (zh)
Other versions
CN110138037A (en
Inventor
李永旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201910442013.7A priority Critical patent/CN110138037B/en
Publication of CN110138037A publication Critical patent/CN110138037A/en
Application granted granted Critical
Publication of CN110138037B publication Critical patent/CN110138037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the application discloses a method and a device for reminding a user of charging, wearable equipment and a storage medium. The method comprises the following steps: receiving electricity consumption parameters corresponding to the use requirement of a terminal, wherein the electricity consumption parameters comprise starting time, use duration and a target electricity consumption mode; calculating the lowest power consumption for implementing the terminal use requirement according to the use duration and the target power consumption mode; calculating a target charging time length required from the current electric quantity to the lowest power consumption; calculating the residual duration from the current time to the starting time; and when the difference between the residual time length and the target charging time length is smaller than a preset reserved time length, carrying out charging reminding. According to the embodiment, the lowest power consumption for implementing the use requirement is determined according to the use duration corresponding to the use requirement of the terminal and the target power consumption mode, the target charging duration is determined, and the charging prompt is carried out before the remaining duration is enough to be charged to meet the use requirement, so that the electric quantity is ensured to meet the use requirement of a user, and the user experience is optimized.

Description

一种提醒用户充电的方法、装置、可穿戴设备及存储介质A method, device, wearable device and storage medium for reminding users to charge

技术领域Technical field

本申请实施例涉及充电技术领域,尤其涉及一种提醒用户充电的方法、装置、可穿戴设备及存储介质。Embodiments of the present application relate to the field of charging technology, and in particular, to a method, device, wearable device and storage medium for reminding a user to charge.

背景技术Background technique

智能手表等可穿戴设备越来越受到市场的欢迎,目前市场上有大部分的智能手表的电池都在200-600mAH范围内。Wearable devices such as smart watches are becoming more and more popular in the market. Currently, most smart watches on the market have batteries in the 200-600mAH range.

手表的耗电量越来越大,所以大部分功能繁多的智能手表比如带有视频通话功能的电话手表通常待机时间都不会很长,这样就会存在手表要经常充电的问题。The power consumption of watches is increasing, so most smart watches with many functions, such as phone watches with video calling functions, usually do not have a long standby time, which will cause the problem of frequent charging of the watch.

一般需要在一段时间内使用手表时,用户无法得知需要预留多少电量,现有的充电提醒方案中,通常只有在电量下降到一定程度或电量充满时才进行提醒,但这种方式无法精确满足用户实际的电量使用需求,这样就会影响用户体验。Generally, when the watch needs to be used for a period of time, the user cannot know how much power needs to be reserved. In the existing charging reminder solution, the reminder is usually only issued when the power drops to a certain level or when the power is full, but this method cannot be accurate. Meet the user's actual power usage needs, which will affect the user experience.

发明内容Contents of the invention

本申请实施例提供一种提醒用户充电的方法、装置、可穿戴设备及存储介质,以及时提醒用户进行充电,优化用户体验。Embodiments of the present application provide a method, device, wearable device, and storage medium for reminding users to charge, so as to promptly remind users to charge and optimize user experience.

在第一方面,本申请实施例提供了一种提醒用户充电的方法,包括:In a first aspect, embodiments of the present application provide a method for reminding users to charge, including:

接收终端使用需求对应的用电参数,所述用电参数包括开始时间、使用时长和目标耗电模式;Receive power consumption parameters corresponding to the terminal usage requirements, where the power consumption parameters include start time, usage duration and target power consumption mode;

根据所述使用时长和目标耗电模式计算实施所述终端使用需求的最低耗电量;Calculate the minimum power consumption required to implement the terminal usage requirements based on the usage duration and target power consumption mode;

计算从当前电量到最低耗电量所需的目标充电时长;Calculate the target charging time required from the current power to the minimum power consumption;

计算当前时间到所述开始时间的剩余时长;Calculate the remaining time from the current time to the start time;

在所述剩余时长与所述目标充电时长的差小于预设的预留时长时,进行充电提醒。When the difference between the remaining time and the target charging time is less than the preset reserved time, a charging reminder is provided.

进一步的,所述方法还包括:在充电状态持续到所述开始时间时,发出对应于所述终端使用需求的使用提醒。Further, the method further includes: when the charging state continues to the start time, issuing a usage reminder corresponding to the terminal usage requirement.

进一步的,所述方法还包括:Further, the method also includes:

确认进入充电状态后,获取当前电量;After confirming that it has entered the charging state, obtain the current battery capacity;

根据所述当前电量、当前耗电模式和目标耗电模式计算可用时长;Calculate the available time according to the current power, current power consumption mode and target power consumption mode;

对所述可用时长进行显示。Display the available time.

进一步的,所述方法还包括:Further, the method also includes:

确认进入充电状态后,对所述目标充电时长进行显示。After confirming that it has entered the charging state, the target charging time is displayed.

进一步的,所述方法还包括:在发出使用提醒后,将当前耗电模式切换为目标耗电模式。Further, the method further includes: after issuing the usage reminder, switching the current power consumption mode to the target power consumption mode.

在第二方面,本申请实施例提供了一种提醒用户充电的装置,包括需求获取模块、最低耗电获取模块、目标时长确定模块、剩余时长确定模块、分析模块和提醒模块,其中:In the second aspect, embodiments of the present application provide a device for reminding users to charge, including a demand acquisition module, a minimum power consumption acquisition module, a target duration determination module, a remaining duration determination module, an analysis module and a reminder module, wherein:

需求获取模块,用于接收终端使用需求对应的用电参数,所述用电参数包括开始时间、使用时长和目标耗电模式;The demand acquisition module is used to receive the power consumption parameters corresponding to the terminal usage requirements. The power consumption parameters include start time, usage duration and target power consumption mode;

最低耗电获取模块,用于根据所述使用时长和目标耗电模式计算实施所述终端使用需求的最低耗电量;The minimum power consumption acquisition module is used to calculate the minimum power consumption to implement the terminal usage requirements according to the usage duration and the target power consumption mode;

目标时长确定模块,用于计算从当前电量到最低耗电量所需的目标充电时长;The target duration determination module is used to calculate the target charging duration required from the current power to the minimum power consumption;

剩余时长确定模块,用于计算当前时间到所述开始时间的剩余时长;The remaining duration determination module is used to calculate the remaining duration from the current time to the start time;

分析模块,用于在所述剩余时长与所述目标充电时长的差小于预设的预留时长时,向提醒模块发出充电提醒指令;An analysis module configured to issue a charging reminder instruction to the reminder module when the difference between the remaining duration and the target charging duration is less than a preset reserved duration;

提醒模块,响应于充电提醒指令进行充电提醒。The reminder module is configured to provide a charging reminder in response to the charging reminder instruction.

进一步的,所述提醒用户充电的装置还包括计时模块;Further, the device for reminding the user to charge also includes a timing module;

所述计时模块用于在充电状态持续到所述开始时间时,向提醒模块发出对应于所述终端使用需求的使用提醒指令;The timing module is configured to issue a usage reminder instruction corresponding to the terminal usage requirements to the reminder module when the charging state continues to the start time;

所述提醒模块响应于使用提醒指令发出使用提醒。The reminder module issues a usage reminder in response to the usage reminder instruction.

进一步的,所述提醒用户充电的装置还包括当前电量获取模块、可用时长获取模块和显示模块,其中:Further, the device for reminding the user to charge also includes a current power acquisition module, an available time acquisition module and a display module, wherein:

当前电量获取模块,用于确认进入充电状态后,获取当前电量;The current power acquisition module is used to obtain the current power after confirming that it has entered the charging state;

可用时长获取模块,根据所述当前电量、当前耗电模式和目标耗电模式计算可用时长;The available duration acquisition module calculates the available duration based on the current power, current power consumption mode and target power consumption mode;

显示模块,用于对所述可用时长进行显示。A display module is used to display the available duration.

在第三方面,本申请实施例提供了一种可穿戴设备,包括:显示屏、存储器以及一个或多个处理器;In a third aspect, embodiments of the present application provide a wearable device, including: a display screen, a memory, and one or more processors;

所述存储器,用于存储一个或多个程序;The memory is used to store one or more programs;

当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如第一方面所述的提醒用户充电的方法。When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method of reminding the user to charge as described in the first aspect.

在第四方面,本申请实施例提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如第一方面所述的提醒用户充电的方法。In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions that, when executed by a computer processor, are used to perform the method of reminding a user to charge as described in the first aspect. .

本申请实施例根据终端使用需求对应的使用时长和目标耗电模式确定其实施使用需求的最低耗电量,并确定目标充电时长,同时对目标充电时长进行显示,方便用户了解充电进程,并在剩余时长足够充电到满足使用需求前进行充电提醒,保证电量满足用户的使用需求,优化用户体验,并在开始时间对用户进行使用提醒,以提醒用户及时进行相关活动。The embodiment of this application determines the minimum power consumption to implement the usage requirements according to the usage time and target power consumption mode corresponding to the terminal usage requirements, and determines the target charging time. At the same time, the target charging time is displayed to facilitate the user to understand the charging process, and A charging reminder is provided before the remaining time is enough to charge to meet the usage needs, ensuring that the power meets the user's usage needs, optimizing the user experience, and reminding the user at the start time to remind the user to perform relevant activities in a timely manner.

附图说明Description of the drawings

图1是本申请实施例提供的一种提醒用户充电的方法的流程图;Figure 1 is a flow chart of a method for reminding a user to charge according to an embodiment of the present application;

图2是本申请实施例提供的另一种提醒用户充电的方法的流程示意图;Figure 2 is a schematic flowchart of another method for reminding the user to charge according to an embodiment of the present application;

图3是本申请实施例提供的一种提醒用户充电的装置的结构示意图;Figure 3 is a schematic structural diagram of a device for reminding the user to charge according to an embodiment of the present application;

图4是本申请实施例提供的一种可穿戴设备的结构示意图。Figure 4 is a schematic structural diagram of a wearable device provided by an embodiment of the present application.

具体实施方式Detailed ways

为了使本申请的目的、技术方案和优点更加清楚,下面结合附图对本申请具体实施例作进一步的详细描述。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部内容。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。In order to make the purpose, technical solutions and advantages of the present application clearer, specific embodiments of the present application will be described in further detail below in conjunction with the accompanying drawings. It can be understood that the specific embodiments described here are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for convenience of description, only part but not all of the content related to the present application is shown in the drawings. Before discussing example embodiments in more detail, it should be mentioned that some example embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe various operations (or steps) as a sequential process, many of the operations may be performed in parallel, concurrently, or simultaneously. Additionally, the order of operations can be rearranged. The process may be terminated when its operation is completed, but may also have additional steps not included in the figures. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

图1给出了本申请实施例提供的一种提醒用户充电的方法的流程图,本实施例提供的提醒用户充电的方法可以由提醒用户充电的装置来执行,该提醒用户充电的装置可通过硬件和/或软件的方式实现,并集成在可穿戴设备中。其中,可穿戴设备为智能手表。Figure 1 shows a flow chart of a method for reminding the user to charge provided by an embodiment of the present application. The method provided by this embodiment for reminding the user to charge can be executed by a device that reminds the user to charge. The device that reminds the user to charge can be implemented in hardware and/or software and integrated into wearable devices. Among them, the wearable device is a smart watch.

具体的,可穿戴设备具有网络通信功能,其可以通过内置的通信装置与其他的可穿戴设备、手机、服务器等设备进行数据通信。其中,通信装置包括有线通信装置和/或无线通信装置。Specifically, the wearable device has a network communication function, which can perform data communication with other wearable devices, mobile phones, servers and other devices through the built-in communication device. Wherein, the communication device includes a wired communication device and/or a wireless communication device.

下述以可穿戴设备执行提醒用户充电的方法为例进行描述。参考图1,该提醒用户充电的方法具体包括:The following describes a method for a wearable device to remind the user to charge as an example. Referring to Figure 1, the method of reminding the user to charge specifically includes:

S101:接收终端使用需求对应的用电参数,所述用电参数包括开始时间、使用时长和目标耗电模式。S101: Receive power consumption parameters corresponding to terminal usage requirements. The power consumption parameters include start time, usage duration and target power consumption mode.

示例性的,在对可穿戴设备等终端在某一时间段有使用需求时,在可穿戴设备上对应终端使用需求的功能选择按钮上选择进行用电参数的输入,并在可穿戴设备的可触控的显示屏上展示用电参数设定界面,可穿戴设备响应于显示屏上的操作接收开始时间、使用时长和目标耗电模式等用电参数的设置。另外,可穿戴设备对应终端使用需求的功能选择按钮还可在手机、服务器等与之存在关联关系的设备上进行触发,并接收在手机、服务器等设备中输入的开始时间、使用时长和目标耗电模式等用电参数。For example, when there is a demand for use of a terminal such as a wearable device in a certain period of time, select the function selection button on the wearable device corresponding to the terminal usage demand to input the power consumption parameters, and select the power consumption parameter on the wearable device. A power consumption parameter setting interface is displayed on the touch screen, and the wearable device receives settings for power parameters such as start time, usage duration, and target power consumption mode in response to operations on the display screen. In addition, the function selection button of the wearable device corresponding to the terminal usage needs can also be triggered on the mobile phone, server and other devices associated with it, and receive the start time, usage time and target consumption input in the mobile phone, server and other devices. Power consumption parameters such as power mode.

一般的,可穿戴设备的不同耗电模式根据具体需要进行设置,不同的耗电模型对应于设备的不同性能模式,其在同一单位时间内的耗电量对应不同。本实施例中以三种耗电模式为例,分别为高耗电模式、中耗电模式和低耗电模式,别被对应的工作性能从高到低,本实施例中目标耗电模式为不同耗电模式之一。Generally, different power consumption modes of wearable devices are set according to specific needs. Different power consumption models correspond to different performance modes of the device, and their power consumption in the same unit of time corresponds to different values. In this embodiment, three power consumption modes are taken as an example, namely high power consumption mode, medium power consumption mode and low power consumption mode. The corresponding working performance is from high to low. In this embodiment, the target power consumption mode is One of the different power consumption modes.

S102:根据所述使用时长和目标耗电模式计算实施所述终端使用需求的最低耗电量。S102: Calculate the minimum power consumption to implement the terminal usage requirements according to the usage duration and target power consumption mode.

具体的,可穿戴设备对不同耗电模式下的单位时间耗电量进行记录和保存,其最初的不同耗电模式的单位时间耗电量可由厂家在生产测试中根据实验数据进行统一确认,还可以由可穿戴设备在出厂测试时对不同耗电模式进行测试时进行记录并保存。在可穿戴设备的使用过程中,对每次的不同耗电模式的使用时长和耗电量进行记录,并对单位时间耗电量进行修正,减少在长期使用过程中因电池老化而导致单位时间耗电量出现变化的情况。Specifically, the wearable device records and saves the power consumption per unit time in different power consumption modes. Its initial power consumption per unit time in different power consumption modes can be uniformly confirmed by the manufacturer based on experimental data during production testing, and also The wearable device can be recorded and saved when testing different power consumption modes during factory testing. During the use of wearable devices, the usage time and power consumption of each different power consumption mode are recorded, and the power consumption per unit time is corrected to reduce the damage per unit time due to battery aging during long-term use. There are changes in power consumption.

进一步的,最低耗电量的计算为目标耗电模式对应的单位时间耗电量与使用时长的乘积。在可穿戴设备接收到使用时长和目标耗电模式的设置后,根据目标耗电模式调取对应的单位时间耗电量,方便对最低耗电量的计算。Further, the minimum power consumption is calculated as the product of the power consumption per unit time corresponding to the target power consumption mode and the usage time. After the wearable device receives the settings of the usage time and target power consumption mode, it retrieves the corresponding power consumption per unit time according to the target power consumption mode to facilitate the calculation of the minimum power consumption.

S103:计算从当前电量到最低耗电量所需的目标充电时长。S103: Calculate the target charging time required from the current power to the minimum power consumption.

具体的,根据可穿戴设备的充电效率、当前电量和最低耗电量可计算出所需的目标充电时长,其中可穿戴设备的充电效率根据充电电压和电流可计算出,根据最低耗电量和当前电量的差可计算出需要充电的电量,再根据需要充电的电量与充电效率的商可获得目标充电时长。Specifically, the required target charging time can be calculated based on the charging efficiency of the wearable device, current power and minimum power consumption. The charging efficiency of the wearable device can be calculated based on the charging voltage and current. According to the minimum power consumption and The difference in current power can be used to calculate the amount of power that needs to be charged, and then the target charging time can be obtained based on the quotient of the amount of power that needs to be charged and the charging efficiency.

进一步的,可穿戴设备的当前电量是一个一直在变化的值,其对应的目标充电时长也随着可穿戴设备的使用或充电而在不断变化,在接收到用电参数的设置后,对可穿戴设备的当前电量在预设的时间间隔中进行周期性的采集,并重新计算目标充电时长,从而不断地对目标充电时长进行更新。Furthermore, the current power of the wearable device is a value that is constantly changing, and its corresponding target charging time is also constantly changing with the use or charging of the wearable device. After receiving the settings of the power consumption parameters, the corresponding target charging time is changed. The current power of the wearable device is periodically collected at preset time intervals, and the target charging time is recalculated, thereby continuously updating the target charging time.

S104:计算当前时间到所述开始时间的剩余时长。S104: Calculate the remaining time from the current time to the start time.

S105:在所述剩余时长与所述目标充电时长的差小于预设的预留时长时,进行充电提醒。S105: When the difference between the remaining time and the target charging time is less than the preset reserved time, perform a charging reminder.

具体的,在每次对当前电量进行采集并重新计算得到目标充电时长时,根据当前时间和开始时间计算得到剩余时长,再对剩余时长和目标充电时长进行求差,并将差值与预留时长的值进行比较,在剩余时长与目标充电时长的差大于预留时长时,认为当前时间距离需要充电的时间还有足够的裕度,暂不需要进行充电提醒;而在剩余时长与目标充电时长的差小于预留时长时,认为当前时间应该及时对可穿戴设备进行充电,以满足终端使用需求,并进行充电提醒。Specifically, each time the current power is collected and the target charging time is recalculated, the remaining time is calculated based on the current time and the start time, and then the difference between the remaining time and the target charging time is calculated, and the difference is calculated with the reserved time. When the difference between the remaining time and the target charging time is greater than the reserved time, it is considered that there is still enough margin between the current time and the time required to charge, and no charging reminder is needed for the time being; when the remaining time is different from the target charging time, When the difference in duration is less than the reserved duration, it is considered that the wearable device should be charged in time at the current time to meet the terminal usage needs, and a charging reminder is issued.

其中电量达标提醒的提醒方式有弹窗提醒、声音提醒和震动提醒,具体的提醒方式可根据使用习惯进行选择或组合。Among them, the reminder methods for battery reaching the standard include pop-up reminders, sound reminders and vibration reminders. The specific reminder methods can be selected or combined according to usage habits.

预设的预留时长可由终端或后台服务器进行设定,还可在设置用电参数时对预留时长进行设定。The preset reservation time can be set by the terminal or the backend server, and the reservation time can also be set when setting the power consumption parameters.

上述,根据终端使用需求对应的使用时长和目标耗电模式确定其实施使用需求的最低耗电量,并确定目标充电时长,并在剩余时长足够充电到满足使用需求前进行充电提醒,保证电量满足用户的使用需求,优化用户体验。As mentioned above, according to the usage duration and target power consumption mode corresponding to the terminal usage requirements, the minimum power consumption for implementing the usage requirements is determined, and the target charging duration is determined, and a charging reminder is issued before the remaining time is enough to charge to meet the usage requirements to ensure that the power is met. User needs and optimize user experience.

在上述实施例的基础上,图2给出了本申请实施例提供的另一种提醒用户充电的方法的流程示意图。该提醒用户充电的方法是对上述提醒用户充电的方法的具体化。参考图2,该提醒用户充电的方法包括:Based on the above embodiment, FIG. 2 shows a schematic flowchart of another method for reminding the user to charge according to the embodiment of the present application. This method of reminding the user to charge is a specific embodiment of the above method of reminding the user to charge. Referring to Figure 2, the method of reminding the user to charge includes:

S201:接收终端使用需求对应的用电参数,所述用电参数包括开始时间、使用时长和目标耗电模式。S201: Receive power consumption parameters corresponding to terminal usage requirements. The power consumption parameters include start time, usage duration and target power consumption mode.

示例性的,在对可穿戴设备等终端在某一时间段有使用需求时,在可穿戴设备上对应终端使用需求的功能选择按钮上选择进行用电参数的输入,并在可穿戴设备的可触控的显示屏上展示用电参数设定界面,可穿戴设备响应于显示屏上的操作接收开始时间、使用时长和目标耗电模式等用电参数的设置。For example, when there is a demand for use of a terminal such as a wearable device in a certain period of time, select the function selection button on the wearable device corresponding to the terminal usage demand to input the power consumption parameters, and select the power consumption parameter on the wearable device. A power consumption parameter setting interface is displayed on the touch screen, and the wearable device receives settings for power parameters such as start time, usage duration, and target power consumption mode in response to operations on the display screen.

另外,可穿戴设备对应终端使用需求的功能选择按钮还可在手机、服务器等与之存在关联关系的设备上进行触发,并接收在手机、服务器等设备中输入的开始时间、使用时长和目标耗电模式等用电参数。In addition, the function selection button of the wearable device corresponding to the terminal usage needs can also be triggered on the mobile phone, server and other devices associated with it, and receive the start time, usage time and target consumption input in the mobile phone, server and other devices. Power consumption parameters such as power mode.

另外还可对用于判断是否进行充电提醒的预留时长进行设置,在不重新设置预留时长时,可穿戴设备默认上一次使用的预留时长最新本次判断所使用的预留时长。预设的预留时长可由终端或后台服务器进行设定,还可在设置用电参数时对预留时长进行设定。In addition, the reserved time used to determine whether to issue a charging reminder can also be set. When the reserved time is not reset, the wearable device defaults to the last used reserved time and the latest reserved time used for this judgment. The preset reservation time can be set by the terminal or the backend server, and the reservation time can also be set when setting the power consumption parameters.

S202:根据所述使用时长和目标耗电模式计算实施所述终端使用需求的最低耗电量。S202: Calculate the minimum power consumption to implement the terminal usage requirements according to the usage duration and the target power consumption mode.

具体的,可穿戴设备对不同耗电模式下的单位时间耗电量进行记录和保存,其最初的不同耗电模式的单位时间耗电量可由厂家在生产测试中根据实验数据进行统一确认,还可以由可穿戴设备在出厂测试时对不同耗电模式进行测试时进行记录并保存。在可穿戴设备的使用过程中,对每次的不同耗电模式的使用时长和耗电量进行记录,并对单位时间耗电量进行修正,减少在长期使用过程中因电池老化而导致单位时间耗电量出现变化的情况。Specifically, the wearable device records and saves the power consumption per unit time in different power consumption modes. Its initial power consumption per unit time in different power consumption modes can be uniformly confirmed by the manufacturer based on experimental data during production testing, and also The wearable device can be recorded and saved when testing different power consumption modes during factory testing. During the use of wearable devices, the usage time and power consumption of each different power consumption mode are recorded, and the power consumption per unit time is corrected to reduce the damage per unit time due to battery aging during long-term use. There are changes in power consumption.

进一步的,最低耗电量的计算为目标耗电模式对应的单位时间耗电量与使用时长的乘积,在可穿戴设备接收到使用时长和目标耗电模式的设置后,根据目标耗电模式调取对应的单位时间耗电量,方便对最低耗电量的计算。Further, the calculation of the minimum power consumption is the product of the power consumption per unit time corresponding to the target power consumption mode and the usage time. After the wearable device receives the settings of the usage time and the target power consumption mode, it adjusts the power consumption according to the target power consumption mode. Get the corresponding power consumption per unit time to facilitate the calculation of the minimum power consumption.

进一步的,在计算出最低耗电量后,将最低耗电量与终端(可穿戴设备)的最大电量进行比较,若最低耗电量不大于最大电量,则继续下一步;否则,发出预期超量提醒,提醒使用者设备的最大电量不能满足终端使用需求,预期超量提醒的形式可以是弹框、震动和/或声音提醒。并且在发出预期超量提醒后,可在可穿戴设备火与其关联的控制设备上选择重新设定用电参数或取消充电提醒功能。Further, after calculating the minimum power consumption, compare the minimum power consumption with the maximum power consumption of the terminal (wearable device). If the minimum power consumption is not greater than the maximum power consumption, proceed to the next step; otherwise, issue an expected excess power Battery reminder reminds the user that the maximum battery capacity of the device cannot meet the terminal usage needs. The expected overload reminder can be in the form of a pop-up box, vibration and/or sound reminder. And after the expected excess reminder is issued, you can choose to reset the power consumption parameters or cancel the charging reminder function on the wearable device or the control device associated with it.

S203:计算从当前电量到最低耗电量所需的目标充电时长。S203: Calculate the target charging time required from the current power to the minimum power consumption.

具体的,根据可穿戴设备的充电效率、当前电量和最低耗电量可计算出所需的目标充电时长,其中可穿戴设备的充电效率根据充电电压和电流可计算出,根据最低耗电量和当前电量的差可计算出需要充电的电量,再根据需要充电的电量与充电效率的商可获得目标充电时长。Specifically, the required target charging time can be calculated based on the charging efficiency of the wearable device, current power and minimum power consumption. The charging efficiency of the wearable device can be calculated based on the charging voltage and current. According to the minimum power consumption and The difference in current power can be used to calculate the amount of power that needs to be charged, and then the target charging time can be obtained based on the quotient of the amount of power that needs to be charged and the charging efficiency.

进一步的,可穿戴设备的当前电量是一个一直在变化的值,其对应的目标充电时长也随着可穿戴设备的使用或充电而在不断变化,在接收到用电参数的设置后,对可穿戴设备的当前电量在预设的时间间隔中进行周期性(如15s)的采集,并重新计算目标充电时长,从而不断地对目标充电时长进行更新。Furthermore, the current power of the wearable device is a value that is constantly changing, and its corresponding target charging time is also constantly changing with the use or charging of the wearable device. After receiving the settings of the power consumption parameters, the corresponding target charging time is changed. The current power of the wearable device is periodically collected at preset time intervals (such as 15s), and the target charging time is recalculated, thereby continuously updating the target charging time.

S204:计算当前时间到所述开始时间的剩余时长。S204: Calculate the remaining time from the current time to the start time.

S205:在所述剩余时长与所述目标充电时长的差小于预设的预留时长时,进行充电提醒。S205: When the difference between the remaining time and the target charging time is less than the preset reserved time, perform a charging reminder.

具体的,在每次对当前电量进行采集并重新计算得到目标充电时长时,根据当前时间和开始时间计算得到剩余时长,再对剩余时长和目标充电时长进行求差,并将差值与预留时长的值进行比较,在剩余时长与目标充电时长的差大于预留时长时,认为当前时间距离需要充电的时间还有足够的裕度,暂不需要进行充电提醒;而在剩余时长与目标充电时长的差小于预留时长时,认为当前时间应该及时对可穿戴设备进行充电,以满足终端使用需求,并进行充电提醒。Specifically, each time the current power is collected and the target charging time is recalculated, the remaining time is calculated based on the current time and the start time, and then the difference between the remaining time and the target charging time is calculated, and the difference is calculated with the reserved time. When the difference between the remaining time and the target charging time is greater than the reserved time, it is considered that there is still enough margin between the current time and the time required to charge, and no charging reminder is needed for the time being; when the remaining time is different from the target charging time, When the difference in duration is less than the reserved duration, it is considered that the wearable device should be charged in time at the current time to meet the terminal usage needs, and a charging reminder is issued.

S206:确认进入充电状态后,对所述目标充电时长进行显示。S206: After confirming that it has entered the charging state, display the target charging time.

具体的,可穿戴设备对其充电状态进行检测,在检测可穿戴设备处于充电状态,即确认进入充电状态后,将计算出的目标充电时长实时显示在显示屏上,方便使用者安排工作计划。Specifically, the wearable device detects its charging status. After detecting that the wearable device is in the charging status, that is, after confirming that it has entered the charging status, the calculated target charging time is displayed on the display screen in real time to facilitate the user to arrange work plans.

S207:获取当前电量,根据所述当前电量、当前耗电模式和目标耗电模式计算可用时长,并对所述可用时长进行显示。S207: Obtain the current power, calculate the available time based on the current power, the current power consumption mode and the target power consumption mode, and display the available time.

具体的,在检测并确认可穿戴设备进入充电状态后,可穿戴设备调取其当前电量、当前耗电模式和目标耗电模式。Specifically, after detecting and confirming that the wearable device enters the charging state, the wearable device retrieves its current power, current power consumption mode, and target power consumption mode.

示例性的,其中可用时长包括当前模式时长和目标模式时长,分别对应于当前电量在当前时间到开始时间的第一时长和从开始时间开始的第二时长。先计算当前时间到所述开始时间的剩余时长在当前耗电模式下的第一耗电量,在第一耗电量大于或等于当前电量时,第二时长为零,第一时长为当前电量在当前耗电模式的工作时长;在第一耗电量小于当前电量时,第一时长为剩余时长,第二时长为当前电量与第一耗电量的电量差在目标模式的工作时长;第一时长与第二时长的和即为可用时长。在计算获得可用时长时,以类似于“当前电量可用时长XX分钟”的形式将可用时长实时显示在显示屏上,方便使用者安排工作计划。For example, the available duration includes the current mode duration and the target mode duration, which respectively correspond to the first duration from the current power level to the start time and the second duration from the start time. First calculate the first power consumption in the current power consumption mode for the remaining duration from the current time to the start time. When the first power consumption is greater than or equal to the current power consumption, the second duration is zero and the first duration is the current power consumption. The working time in the current power consumption mode; when the first power consumption is less than the current power consumption, the first time duration is the remaining time duration, and the second time duration is the working time in the target mode based on the power difference between the current power consumption and the first power consumption; The sum of the first duration and the second duration is the available duration. When calculating the available time, the available time is displayed on the display in real time in a format similar to "the current battery life is available for XX minutes" to facilitate the user's work plan.

S208:在充电状态持续到所述开始时间时,发出对应于所述终端使用需求的使用提醒。S208: When the charging state continues to the start time, issue a usage reminder corresponding to the terminal usage requirements.

具体的,可穿戴设备对其充电状态进行检测,在检测可穿戴设备处于充电状态时,将当前时间与开始时间进行对比,在当前时间到达开始时间或超过开始时间一定时间(如5s)时,发出使用提醒,如进行“已到达使用需求的开始时间,请注意使用计划”的文字提醒、语音提醒或震动提醒。Specifically, the wearable device detects its charging status. When detecting that the wearable device is in the charging status, the current time is compared with the start time. When the current time reaches the start time or exceeds the start time for a certain period of time (such as 5s), Issue usage reminders, such as text reminders, voice reminders or vibration reminders of "The start time of usage requirements has been reached, please pay attention to the usage plan".

S209:在发出使用提醒后,将当前耗电模式切换为目标耗电模式。S209: After issuing the usage reminder, switch the current power consumption mode to the target power consumption mode.

示例性的,在可穿戴设备发出使用提醒后,对其当前耗电模式进行检测,在当前耗电模式与目标耗电模式一致时,保持当前耗电模式;在当前耗电模式与目标耗电模式不一致时,将当前耗电模式切换为目标耗电模式,并进行对应的耗电模式切换提醒。For example, after the wearable device sends a usage reminder, its current power consumption mode is detected. When the current power consumption mode is consistent with the target power consumption mode, the current power consumption mode is maintained; when the current power consumption mode is consistent with the target power consumption mode, When the modes are inconsistent, the current power consumption mode is switched to the target power consumption mode, and a corresponding power consumption mode switching reminder is issued.

上述,根据终端使用需求对应的使用时长和目标耗电模式确定其实施使用需求的最低耗电量,并确定目标充电时长,同时对目标充电时长进行显示,方便用户了解充电进程,并在剩余时长足够充电到满足使用需求前进行充电提醒,保证电量满足用户的使用需求,优化用户体验,并在开始时间对用户进行使用提醒,以提醒用户及时进行相关活动。As mentioned above, according to the usage time and target power consumption mode corresponding to the terminal usage requirements, the minimum power consumption for implementing the usage requirements is determined, and the target charging time is determined. At the same time, the target charging time is displayed to facilitate the user to understand the charging process and use the remaining time. A charging reminder will be issued before the battery is fully charged to meet the usage needs, ensuring that the power meets the user's usage needs, optimizing the user experience, and reminding the user at the start time to remind the user to perform relevant activities in a timely manner.

在上述实施例的基础上,图3为本申请实施例提供的一种提醒用户充电的装置的结构示意图。参考图3,本实施例提供的提醒用户充电的装置包括需求获取模块301、最低耗电获取模块302、目标时长确定模块303、剩余时长确定模块304、分析模块305和提醒模块306。Based on the above embodiments, FIG. 3 is a schematic structural diagram of a device for reminding a user to charge according to an embodiment of the present application. Referring to Figure 3, the device for reminding the user to charge provided in this embodiment includes a demand acquisition module 301, a minimum power consumption acquisition module 302, a target duration determination module 303, a remaining duration determination module 304, an analysis module 305 and a reminder module 306.

其中,需求获取模块301,用于接收终端使用需求对应的用电参数,所述用电参数包括开始时间、使用时长和目标耗电模式;最低耗电获取模块302,用于根据所述使用时长和目标耗电模式计算实施所述终端使用需求的最低耗电量;目标时长确定模块303,用于计算从当前电量到最低耗电量所需的目标充电时长;剩余时长确定模块304,用于计算当前时间到所述开始时间的剩余时长;分析模块305,用于在所述剩余时长与所述目标充电时长的差小于预设的预留时长时,向提醒模块306发出充电提醒指令;提醒模块306,响应于充电提醒指令进行充电提醒。Among them, the demand acquisition module 301 is used to receive the power consumption parameters corresponding to the terminal usage requirements. The power consumption parameters include start time, usage duration and target power consumption mode; the minimum power consumption acquisition module 302 is used to receive power consumption according to the usage duration. and the target power consumption mode to calculate the minimum power consumption required to implement the terminal usage requirements; the target duration determination module 303 is used to calculate the target charging duration required from the current power to the minimum power consumption; the remaining duration determination module 304 is used to calculate Calculate the remaining duration from the current time to the start time; the analysis module 305 is configured to issue a charging reminder instruction to the reminder module 306 when the difference between the remaining duration and the target charging duration is less than the preset reserved duration; reminder Module 306: perform charging reminder in response to the charging reminder instruction.

上述,根据终端使用需求对应的使用时长和目标耗电模式确定其实施使用需求的最低耗电量,并确定目标充电时长,并在剩余时长足够充电到满足使用需求前进行充电提醒,保证电量满足用户的使用需求,优化用户体验。As mentioned above, according to the usage duration and target power consumption mode corresponding to the terminal usage requirements, the minimum power consumption for implementing the usage requirements is determined, and the target charging duration is determined, and a charging reminder is issued before the remaining time is enough to charge to meet the usage requirements to ensure that the power is met. User needs and optimize user experience.

进一步的,所述提醒用户充电的装置还包括计时模块;所述计时模块用于在充电状态持续到所述开始时间时,向提醒模块306发出对应于所述终端使用需求的使用提醒指令;所述提醒模块306响应于使用提醒指令发出使用提醒。Further, the device for reminding the user to charge also includes a timing module; the timing module is configured to issue a usage reminder instruction corresponding to the terminal usage requirements to the reminder module 306 when the charging state continues to the start time; so The reminder module 306 issues a usage reminder in response to the usage reminder instruction.

进一步的,所述提醒用户充电的装置还包括当前电量获取模块、可用时长获取模块和显示模块,其中:当前电量获取模块,用于确认进入充电状态后,获取当前电量;可用时长获取模块,根据所述当前电量、当前耗电模式和目标耗电模式计算可用时长;显示模块,用于对所述可用时长进行显示。Further, the device that reminds the user to charge also includes a current power acquisition module, an available time acquisition module and a display module, wherein: the current power acquisition module is used to obtain the current power after confirming that it has entered the charging state; the available time acquisition module is based on The current power, current power consumption mode and target power consumption mode calculate the available time; the display module is used to display the available time.

本申请实施例提供的提醒用户充电的装置可以用于执行上述实施例提供的提醒用户充电的方法,具备相应的功能和有益效果。The device for reminding the user to charge provided in the embodiment of the present application can be used to perform the method for reminding the user to charge provided in the above embodiment, and has corresponding functions and beneficial effects.

本申请实施例提供了一种可穿戴设备,该可穿戴设备为智能手表,且该可穿戴设备可集成本申请实施例提供的提醒用户充电的装置。图4是本申请实施例提供的一种可穿戴设备的结构示意图。参考图4,该可穿戴设备包括:显示屏44、通信模块43、输入装置45、输出装置46、存储器42以及一个或多个处理器41,图4中以1个处理器41为例;所述存储器42,用于存储一个或多个程序;该可穿戴设备的显示屏44、通信模块43、输入装置45、输出装置46、存储器42以及处理器41可以通过总线或者其他方式连接,图4中以通过总线连接为例。当所述一个或多个程序被所述一个或多个处理器41执行,使得所述一个或多个处理器41实现如上述实施例提供的提醒用户充电的方法。An embodiment of the present application provides a wearable device. The wearable device is a smart watch, and the wearable device can integrate the device for reminding the user to charge provided in the embodiment of the present application. Figure 4 is a schematic structural diagram of a wearable device provided by an embodiment of the present application. Referring to Figure 4, the wearable device includes: a display screen 44, a communication module 43, an input device 45, an output device 46, a memory 42, and one or more processors 41. In Figure 4, one processor 41 is taken as an example; so The memory 42 is used to store one or more programs; the display screen 44, communication module 43, input device 45, output device 46, memory 42 and processor 41 of the wearable device can be connected through a bus or other means, Figure 4 In the example, connection via bus is used. When the one or more programs are executed by the one or more processors 41, the one or more processors 41 are caused to implement the method of reminding the user to charge as provided in the above embodiment.

存储器42作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本申请任意实施例所述的提醒用户充电的方法对应的程序指令/模块(例如,提醒用户充电的装置中的需求获取模块301、最低耗电获取模块302、目标时长确定模块303、剩余时长确定模块304、分析模块305和提醒模块306)。存储器42可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据设备的使用所创建的数据等。此外,存储器42可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器42可进一步包括相对于处理器41远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。As a computer-readable storage medium, the memory 42 can be used to store software programs, computer-executable programs and modules, such as program instructions/modules corresponding to the method of reminding the user to charge as described in any embodiment of the present application (for example, reminding the user to charge The demand acquisition module 301, the minimum power consumption acquisition module 302, the target duration determination module 303, the remaining duration determination module 304, the analysis module 305 and the reminder module 306) in the device. The memory 42 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system and at least one application program required for a function; the stored data area may store data created according to the use of the device, etc. In addition, memory 42 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, memory 42 may further include memory located remotely relative to processor 41, and these remote memories may be connected to the device through a network. Examples of the above-mentioned networks include but are not limited to the Internet, intranets, local area networks, mobile communication networks and combinations thereof.

通信装置用于与其他的可穿戴设备、手机、服务器等设备建立无线连接,并进行数据传输。显示屏44设置在所述可穿戴设备上,显示屏44可以用于受控于处理器41显示图像,还用于显示处理器41发送的其他消息。The communication device is used to establish wireless connections with other wearable devices, mobile phones, servers and other devices and transmit data. The display screen 44 is provided on the wearable device. The display screen 44 can be used to display images controlled by the processor 41 and also to display other messages sent by the processor 41 .

输入装置45可用于接收输入的数字或者字符信息,输出装置46可以包括扬声器等。需要说明的是,输入装置45和输出装置46的具体组成可以根据实际情况设定。The input device 45 may be used to receive input numeric or character information, and the output device 46 may include a speaker or the like. It should be noted that the specific composition of the input device 45 and the output device 46 can be set according to actual conditions.

处理器41通过运行存储在存储器42中的软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述的提醒用户充电的方法。The processor 41 executes the software programs, instructions and modules stored in the memory 42 to execute various functional applications and data processing of the device, that is, to implement the above method of reminding the user to charge.

上述提供的可穿戴设备可用于执行上述实施例提供的提醒用户充电的方法,具备相应的功能和有益效果。The wearable device provided above can be used to perform the method of reminding the user to charge provided in the above embodiment, and has corresponding functions and beneficial effects.

本申请实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器41执行时用于执行一种提醒用户充电的方法,该提醒用户充电的方法包括:接收终端使用需求对应的用电参数,所述用电参数包括开始时间、使用时长和目标耗电模式;根据所述使用时长和目标耗电模式计算实施所述终端使用需求的最低耗电量;计算从当前电量到最低耗电量所需的目标充电时长;计算当前时间到所述开始时间的剩余时长;在所述剩余时长与所述目标充电时长的差小于预设的预留时长时,进行充电提醒。Embodiments of the present application also provide a storage medium containing computer-executable instructions. When executed by the computer processor 41, the computer-executable instructions are used to perform a method of reminding the user to charge. The method of reminding the user to charge includes: Receive power consumption parameters corresponding to the terminal usage requirements, the power usage parameters including start time, usage duration and target power consumption mode; calculate the minimum power consumption to implement the terminal usage requirements based on the usage duration and target power consumption mode; Calculate the target charging time required from the current power to the minimum power consumption; calculate the remaining time from the current time to the start time; when the difference between the remaining time and the target charging time is less than the preset reserved time, Provide charging reminder.

存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDRRAM、SRAM、EDORAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。Storage media – Any memory device or storage device of any type. The term "storage media" is intended to include: installation media, such as CD-ROM, floppy disks, or tape devices; computer system memory or random access memory, such as DRAM, DDRRAM, SRAM, EDORAM, Rambus RAM, etc.; non- Volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. Additionally, the storage medium may be located in the first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network, such as the Internet. The second computer system may provide program instructions to the first computer for execution. The term "storage media" may include two or more storage media that may reside in different locations (eg, in different computer systems connected by a network). Storage media may store program instructions (eg, embodied as a computer program) executable by one or more processors.

当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的提醒用户充电的方法,还可以执行本申请任意实施例所提供的提醒用户充电的方法中的相关操作。Of course, the embodiments of the present application provide a storage medium containing computer-executable instructions. The computer-executable instructions are not limited to the method of reminding the user to charge as described above, and can also execute the method of reminding the user provided by any embodiment of the application. Related operations in the charging method.

上述实施例中提供的提醒用户充电的装置、可穿戴设备及存储介质可执行本申请任意实施例所提供的提醒用户充电的方法,未在上述实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的提醒用户充电的方法。The device, wearable device, and storage medium for reminding the user to charge provided in the above embodiments can perform the method for reminding the user to charge provided in any embodiment of the present application. For technical details that are not described in detail in the above embodiments, please refer to this application. Any embodiment provides a method for reminding the user to charge.

上述仅为本申请的较佳实施例及所运用的技术原理。本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行的各种明显变化、重新调整及替代均不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由权利要求的范围决定。The above are only the preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments described here, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not depart from the protection scope of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments, and may also include more other equivalent embodiments without departing from the concept of the present application, and the present application The scope of is determined by the scope of the claims.

Claims (8)

1.一种提醒用户充电的方法,其特征在于,包括:1. A method for reminding users to charge, which is characterized by including: 接收终端使用需求对应的用电参数,所述用电参数包括开始时间、使用时长和目标耗电模式;Receive power consumption parameters corresponding to the terminal usage requirements, where the power consumption parameters include start time, usage duration and target power consumption mode; 根据所述使用时长和目标耗电模式计算实施所述终端使用需求的最低耗电量,其中,所述目标耗电模式包括高耗电模式、中耗电模式和低耗电模式,其中对不同目标耗电模式的使用时长和耗电量进行记录,并对单位时间耗电量进行修正,根据目标耗电模式调取对应的单位时间耗电量,计算最低耗电量;Calculate the minimum power consumption to implement the terminal usage requirements according to the usage duration and the target power consumption mode, wherein the target power consumption mode includes a high power consumption mode, a medium power consumption mode and a low power consumption mode, where for different Record the usage time and power consumption of the target power consumption mode, correct the power consumption per unit time, retrieve the corresponding power consumption per unit time according to the target power consumption mode, and calculate the minimum power consumption; 计算从当前电量到最低耗电量所需的目标充电时长,其中包括:所述当前电量在预设的时间间隔中进行周期性的采集,并重新计算目标充电时长,对目标充电时长进行更新;Calculate the target charging time required from the current power to the minimum power consumption, which includes: periodically collecting the current power at preset time intervals, recalculating the target charging time, and updating the target charging time; 计算当前时间到所述开始时间的剩余时长;Calculate the remaining time from the current time to the start time; 在所述剩余时长与所述目标充电时长的差小于预设的预留时长时,进行充电提醒;When the difference between the remaining time and the target charging time is less than the preset reserved time, a charging reminder is performed; 在充电状态持续到所述开始时间时,发出对应于所述终端使用需求的使用提醒,在发出使用提醒后,将当前耗电模式切换为目标耗电模式。When the charging state continues to the start time, a usage reminder corresponding to the terminal usage demand is issued, and after the usage reminder is issued, the current power consumption mode is switched to the target power consumption mode. 2.根据权利要求1所述的提醒用户充电的方法,其特征在于,所述方法还包括:2. The method for reminding the user to charge according to claim 1, characterized in that the method further includes: 确认进入充电状态后,获取当前电量;After confirming that it has entered the charging state, obtain the current battery capacity; 根据所述当前电量、当前耗电模式和目标耗电模式计算可用时长;Calculate the available time according to the current power, current power consumption mode and target power consumption mode; 对所述可用时长进行显示。Display the available time. 3.根据权利要求1所述的提醒用户充电的方法,其特征在于,所述方法还包括:3. The method for reminding the user to charge according to claim 1, characterized in that the method further includes: 确认进入充电状态后,对所述目标充电时长进行显示。After confirming that it has entered the charging state, the target charging time is displayed. 4.一种提醒用户充电的装置,其特征在于,包括需求获取模块、最低耗电获取模块、目标时长确定模块、剩余时长确定模块、分析模块和提醒模块,其中:4. A device that reminds users to charge, characterized by including a demand acquisition module, a minimum power consumption acquisition module, a target duration determination module, a remaining duration determination module, an analysis module and a reminder module, wherein: 需求获取模块,用于接收终端使用需求对应的用电参数,所述用电参数包括开始时间、使用时长和目标耗电模式;The demand acquisition module is used to receive the power consumption parameters corresponding to the terminal usage requirements. The power consumption parameters include start time, usage duration and target power consumption mode; 最低耗电获取模块,用于根据所述使用时长和目标耗电模式计算实施所述终端使用需求的最低耗电量,其中目标耗电模式包括高耗电模式、中耗电模式和低耗电模式,具体用于对不同目标耗电模式的使用时长和耗电量进行记录,并对单位时间耗电量进行修正,根据目标耗电模式调取对应的单位时间耗电量,计算最低耗电量;The minimum power consumption acquisition module is used to calculate the minimum power consumption to implement the terminal usage requirements according to the usage duration and the target power consumption mode, where the target power consumption mode includes a high power consumption mode, a medium power consumption mode and a low power consumption mode. mode, specifically used to record the usage time and power consumption of different target power consumption modes, correct the power consumption per unit time, retrieve the corresponding power consumption per unit time according to the target power consumption mode, and calculate the minimum power consumption quantity; 目标时长确定模块,用于计算从当前电量到最低耗电量所需的目标充电时长,所述当前电量在预设的时间间隔中进行周期性的采集,并重新计算目标充电时长;The target duration determination module is used to calculate the target charging duration required from the current power to the minimum power consumption. The current power is periodically collected at a preset time interval, and the target charging duration is recalculated; 剩余时长确定模块,用于计算当前时间到所述开始时间的剩余时长;The remaining duration determination module is used to calculate the remaining duration from the current time to the start time; 分析模块,用于在所述剩余时长与所述目标充电时长的差小于预设的预留时长时,向提醒模块发出充电提醒指令;An analysis module configured to issue a charging reminder instruction to the reminder module when the difference between the remaining duration and the target charging duration is less than a preset reserved duration; 提醒模块,响应于充电提醒指令进行充电提醒;A reminder module that provides a charging reminder in response to the charging reminder instruction; 计时模块用于在充电状态持续到所述开始时间时,向提醒模块发出对应于所述终端使用需求的使用提醒指令;The timing module is configured to issue a usage reminder instruction corresponding to the terminal usage requirements to the reminder module when the charging state continues to the start time; 所述装置还用于在发出使用提醒后,将当前耗电模式切换为目标耗电模式;The device is also used to switch the current power consumption mode to the target power consumption mode after issuing a usage reminder; 所述装置还用于对目标充电时长进行更新。The device is also used to update the target charging duration. 5.根据权利要求4所述提醒用户充电的装置,其特征在于,所述提醒用户充电的装置还包括计时模块;5. The device for reminding the user to charge according to claim 4, characterized in that the device for reminding the user to charge further includes a timing module; 所述计时模块用于在充电状态持续到所述开始时间时,向提醒模块发出对应于所述终端使用需求的使用提醒指令;The timing module is configured to issue a usage reminder instruction corresponding to the terminal usage requirements to the reminder module when the charging state continues to the start time; 所述提醒模块响应于使用提醒指令发出使用提醒。The reminder module issues a usage reminder in response to the usage reminder instruction. 6.根据权利要求4所述的提醒用户充电的装置,其特征在于,所述提醒用户充电的装置还包括当前电量获取模块、可用时长获取模块和显示模块,其中:6. The device for reminding the user to charge according to claim 4, characterized in that the device for reminding the user to charge also includes a current power acquisition module, an available time acquisition module and a display module, wherein: 当前电量获取模块,用于确认进入充电状态后,获取当前电量;The current power acquisition module is used to obtain the current power after confirming that it has entered the charging state; 可用时长获取模块,根据所述当前电量、当前耗电模式和目标耗电模式计算可用时长;The available duration acquisition module calculates the available duration based on the current power, current power consumption mode and target power consumption mode; 显示模块,用于对所述可用时长进行显示。A display module is used to display the available duration. 7.一种可穿戴设备,其特征在于,包括:显示屏、存储器以及一个或多个处理器;7. A wearable device, characterized by comprising: a display screen, a memory and one or more processors; 所述存储器,用于存储一个或多个程序;The memory is used to store one or more programs; 当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-3任一所述的提醒用户充电的方法。When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method of reminding the user to charge as described in any one of claims 1-3. 8.一种包含计算机可执行指令的存储介质,其特征在于,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-3任一所述的提醒用户充电的方法。8. A storage medium containing computer-executable instructions, characterized in that, when executed by a computer processor, the computer-executable instructions are used to perform the method of reminding a user to charge according to any one of claims 1-3.
CN201910442013.7A 2019-05-24 2019-05-24 Method and device for reminding user of charging, wearable device and storage medium Active CN110138037B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910442013.7A CN110138037B (en) 2019-05-24 2019-05-24 Method and device for reminding user of charging, wearable device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910442013.7A CN110138037B (en) 2019-05-24 2019-05-24 Method and device for reminding user of charging, wearable device and storage medium

Publications (2)

Publication Number Publication Date
CN110138037A CN110138037A (en) 2019-08-16
CN110138037B true CN110138037B (en) 2023-10-24

Family

ID=67581843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910442013.7A Active CN110138037B (en) 2019-05-24 2019-05-24 Method and device for reminding user of charging, wearable device and storage medium

Country Status (1)

Country Link
CN (1) CN110138037B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112631140B (en) * 2020-12-15 2022-08-26 重庆电子工程职业学院 Household electricity utilization management control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002135A (en) * 2012-11-20 2013-03-27 东莞宇龙通信科技有限公司 A power warning method, system and mobile terminal
CN107134823A (en) * 2017-04-25 2017-09-05 北京小米移动软件有限公司 Charge prompting method and device
CN108712575A (en) * 2018-05-31 2018-10-26 平安科技(深圳)有限公司 Charging reminding method, device, computer equipment and storage medium
CN109159719A (en) * 2018-09-29 2019-01-08 重庆长安汽车股份有限公司 A kind of charging method of electric carrier, system and associated component
CN109471516A (en) * 2017-09-07 2019-03-15 中兴通讯股份有限公司 A kind of terminal and its power consumption control method, device, computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002135A (en) * 2012-11-20 2013-03-27 东莞宇龙通信科技有限公司 A power warning method, system and mobile terminal
CN107134823A (en) * 2017-04-25 2017-09-05 北京小米移动软件有限公司 Charge prompting method and device
CN109471516A (en) * 2017-09-07 2019-03-15 中兴通讯股份有限公司 A kind of terminal and its power consumption control method, device, computer readable storage medium
CN108712575A (en) * 2018-05-31 2018-10-26 平安科技(深圳)有限公司 Charging reminding method, device, computer equipment and storage medium
CN109159719A (en) * 2018-09-29 2019-01-08 重庆长安汽车股份有限公司 A kind of charging method of electric carrier, system and associated component

Also Published As

Publication number Publication date
CN110138037A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
CN110190643B (en) Method and device for reminding user of charging, wearable device and storage medium
JP6486916B2 (en) Battery charging based on intelligent context
CN110783970B (en) Charging method, device, charging terminal and computer readable storage medium
CN103501390B (en) Mobile terminal with reminding function and reminding realization method thereof
US11502529B2 (en) Battery charging method employing historical data
US20220271557A1 (en) Charging method and apparatus, electronic device and storage medium
US8941362B2 (en) Charging apparatus, and charge control method
CN102075633A (en) Information prompt method and mobile terminal
CN104267795B (en) Electric quantity managing method, power management device and electronic equipment
CN104780269A (en) A method and device for adjusting the performance of a mobile terminal based on power
CN107241513B (en) Charging reminding method and device, storage medium and electronic equipment
CN111063955A (en) Charging method and device, equipment and storage medium
CN104503276A (en) Intelligent power utilization method, device and terminal
WO2019119326A1 (en) Charging method, device, terminal apparatus, and computer readable storage medium
CN112701738A (en) Charging method, charging device and electronic equipment
CN108777330A (en) charging management method, device and terminal
CN110138038B (en) Charging reminding method and device, wearable equipment and storage medium
CN110138037B (en) Method and device for reminding user of charging, wearable device and storage medium
CN108156314B (en) Power reminder method, device, electronic device and storage medium
CN108881630B (en) Reverse charging management method, device and terminal
CN107436410A (en) A kind of electric quantity controlling method, device, equipment and storage medium
CN106303096B (en) Electronic equipment and method for adjusting power management strategy thereof
CN105576752A (en) Charging remind method of intelligent terminal and intelligent terminal
CN113839427A (en) Charging management method, electronic device and system
WO2017215266A1 (en) Charging method and device for terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant