CN112449052B - Method and device for adjusting electric quantity prompt, terminal and storage medium - Google Patents

Method and device for adjusting electric quantity prompt, terminal and storage medium Download PDF

Info

Publication number
CN112449052B
CN112449052B CN201910829596.9A CN201910829596A CN112449052B CN 112449052 B CN112449052 B CN 112449052B CN 201910829596 A CN201910829596 A CN 201910829596A CN 112449052 B CN112449052 B CN 112449052B
Authority
CN
China
Prior art keywords
electric quantity
terminal
information
prompt
determining
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
CN201910829596.9A
Other languages
Chinese (zh)
Other versions
CN112449052A (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.)
Miaomiaoce Technology Beijing Co ltd
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Miaomiaoce Technology Beijing Co ltd
Beijing Xiaomi Mobile Software 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 Miaomiaoce Technology Beijing Co ltd, Beijing Xiaomi Mobile Software Co Ltd filed Critical Miaomiaoce Technology Beijing Co ltd
Priority to CN201910829596.9A priority Critical patent/CN112449052B/en
Publication of CN112449052A publication Critical patent/CN112449052A/en
Application granted granted Critical
Publication of CN112449052B publication Critical patent/CN112449052B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a method, a device, a terminal and a storage medium for adjusting electric quantity prompt, which are applied to the technical field of terminals, wherein the method comprises the following steps: acquiring a current first electric quantity of a terminal; determining whether the first electric quantity meets an electric quantity prompting condition; determining application scene information of the terminal; and adjusting the electric quantity prompt output when the electric quantity prompt condition is met according to the application scene information. Through the technical scheme, the electric quantity prompt output when the electric quantity prompt condition is met is adjusted by combining application scene information, so that the terminal is more intelligent in outputting the electric quantity prompt when the electric quantity prompt condition is met, and the user experience is improved.

Description

Method and device for adjusting electric quantity prompt, terminal and storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a power prompting method, a power prompting device, a terminal, and a storage medium.
Background
With the continuous development of communication technology, a terminal becomes indispensable equipment in life, and a user can make a call, send a short message, listen to music, surf the internet and the like through the terminal at any time and any place. In the related art, when the user uses the terminal, if the power of the terminal is insufficient or the power of the terminal is charged sufficiently, the processor of the terminal may control the terminal to send a prompt message to prompt the user of the terminal about the power. However, the terminal in the related art may initiate the prompt message to the user whenever the power is lower than the threshold or higher than the threshold, and sometimes the prompt message is not perceived or noticed by the user; or, sometimes the user does not want to be prompted now, making the user experience poor.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method, an apparatus, a terminal and a storage medium for adjusting an electric quantity prompt, where the technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for adjusting an electric quantity prompt, including:
acquiring a current first electric quantity of a terminal;
determining application scene information of the terminal;
determining application scene information of the terminal;
and adjusting the electric quantity prompt output when the electric quantity prompt condition is met according to the application scene information.
Optionally, the determining the application context information of the terminal includes:
and when the first electric quantity meets a first electric quantity prompt condition, determining the current scene information of the terminal.
Optionally, the determining the application context information of the terminal includes:
determining current scene information of the terminal according to at least one of the current moment, ambient environment information of the environment where the terminal is located, the motion state of the terminal and the use information of the terminal;
wherein the ambient environment information includes at least one of: ambient brightness information, ambient noise information.
Optionally, the adjusting, according to the application scenario information, the electric quantity prompt output when the electric quantity prompt condition is met includes:
Predicting the end time of the corresponding scene of the current scene information;
determining a delay time according to the ending time and the current time;
and according to the delay duration, delaying the prompting time of the electric quantity prompt output when the electric quantity prompting condition is met.
Optionally, the method further comprises:
determining whether a first usage time period predicted based on the current scene information is greater than or equal to the delay time period; the first usage duration is: the first electric quantity can support the duration of the current operation state of the terminal;
if the first using duration is less than the delay duration, the delay duration is shortened so that the delay duration is less than the first using duration.
Optionally, the determining the application context information of the terminal includes:
and when the first electric quantity meets a second electric quantity prompt condition, determining future scene information of the terminal.
Optionally, the determining the application context information of the terminal includes:
and determining future scene information of the terminal according to the user schedule information of the terminal.
Optionally, the adjusting, according to the application scenario information, an electric quantity prompt output when the electric quantity meets the prompt condition includes:
According to the starting time of the scene corresponding to the future scene information, the prompting time of the electric quantity prompt output when the electric quantity prompting condition is met is advanced; wherein the presentation time before and after the start time is before the start time.
According to a second aspect of the embodiments of the present disclosure, there is provided an adjusting device for electric quantity prompt, including:
the terminal comprises an acquisition module, a processing module and a control module, wherein the acquisition module is configured to acquire a current first electric quantity of the terminal;
a first determination module configured to determine whether the first power amount satisfies a power amount prompt condition;
a second determination module configured to determine application context information of the terminal;
and the adjusting module is configured to adjust the electric quantity prompt output when the electric quantity prompt condition is met according to the application scene information.
Optionally, the second determining module is further configured to:
and when the first electric quantity meets a first electric quantity prompt condition, determining the current scene information of the terminal.
Optionally, the second determining module is further configured to:
determining current scene information of the terminal according to at least one of the current moment, ambient environment information of the environment where the terminal is located, the motion state of the terminal and the use information of the terminal;
Wherein the ambient environment information includes at least one of: ambient brightness information, ambient noise information.
Optionally, the adjusting module is further configured to:
predicting the ending time of the scene corresponding to the current scene information;
determining a delay time according to the ending time and the current time;
and according to the delay duration, delaying the prompting time of the electric quantity prompt output when the electric quantity prompting condition is met.
Optionally, the apparatus further comprises:
a third determination module configured to determine whether a first usage period predicted based on the current scene information is greater than or equal to the delay period; the first usage duration is: the first electric quantity can support the duration of the current operation state of the terminal;
a shortening module configured to shorten the delay duration if the usage duration is less than the delay duration, so that the delay duration is less than the first usage duration.
Optionally, the second determining module is further configured to:
and when the first electric quantity meets a second electric quantity prompt condition, determining future scene information of the terminal.
Optionally, the adjusting module is further configured to:
According to the starting time of the scene corresponding to the future scene information, the prompting time of the electric quantity prompt output when the electric quantity prompting condition is met is advanced; wherein the prompt time before and after the prompt is before the start time.
According to a third aspect of an embodiment of the present disclosure, there is provided a terminal including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a current first electric quantity of a terminal;
determining whether the first electric quantity meets an electric quantity prompting condition;
determining application scene information of the terminal;
and adjusting the electric quantity prompt output when the electric quantity prompt condition is met according to the application scene information.
In a fourth aspect of the embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided, where instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to perform steps of implementing any of the above-mentioned methods for adjusting a hint information.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the embodiment of the disclosure acquires the current first electric quantity of the terminal; determining whether the first electric quantity meets an electric quantity prompting condition; determining application scene information of the terminal; and adjusting the electric quantity prompt output when the electric quantity prompt condition is met according to the application scene information. Compared with the prior art, the electric quantity prompt is directly output according to the electric quantity prompt condition, the electric quantity prompt output when the electric quantity prompt condition is met is adjusted by combining scene information, so that the electric quantity prompt output when the electric quantity prompt condition is met is more intelligent, and the phenomenon that the electric quantity prompt output by the terminal under certain specific scenes is disturbed is reduced. Meanwhile, based on the application scene information, the electric quantity prompt output when the electric quantity prompt condition is met is intelligently adjusted, the electric quantity prompt output when the electric quantity prompt condition is met can be adjusted to be suitable output, for example, the electric quantity prompt can be adjusted to be output under the condition that the electric quantity prompt can be easily perceived by a user of the terminal, or the electric quantity prompt can be adjusted to be output under the condition that the user of the terminal is not disturbed. Therefore, according to the embodiment of the disclosure, the application scene information is combined, the adjusted electric quantity prompt meeting the electric quantity prompt condition is output, the electric quantity prompt can be more intelligent, and the user experience is better on the premise of having the same prompt effect, so that the use experience of the terminal is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating a method for adjusting a power prompt in accordance with an exemplary embodiment;
FIG. 2 is a block diagram illustrating an apparatus for adjusting a charge indicator, according to an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method for adjusting a power indicator, according to an exemplary embodiment;
fig. 4 is a block diagram illustrating a terminal according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a method for adjusting a power indicator according to an exemplary embodiment, where the method includes the following steps, as shown in fig. 1:
step 101: acquiring a current first electric quantity of a terminal;
step 102: determining whether the first electric quantity meets an electric quantity prompting condition;
step 103: determining application scene information of the terminal;
step 104: and adjusting the electric quantity prompt output when the electric quantity prompt condition is met according to the application scene information.
Here, the terminal may be a mobile terminal, a desktop computer, an intelligent home device, or the like; the mobile terminal can be a mobile phone, a tablet computer or a notebook computer; the intelligent household equipment can be a television and the like. It will be appreciated that the terminal may include an electronic device having a battery, which may be a rechargeable battery, such as a lithium battery; of course, the battery may also be a disposable battery, such as a zinc manganese dry cell battery.
Here, the power prompting condition refers to a condition that needs to trigger a user of the terminal to prompt for power. The power prompting condition may include at least one of:
the first amount of power is below a first power threshold. It can be understood that, the battery of the terminal consumes electric energy in the using process, and the electric quantity prompt is performed on the user when the first electric quantity is lower than the first electric quantity threshold value by setting the first electric quantity threshold value, so that the user can perform processing such as charging the terminal in time. The first charge threshold here may be: for example, the first electrical quantity is lower than 20%, or for example, the first electrical quantity is lower than 10%. Here, the first power threshold may be set by the terminal when the terminal is shipped. Of course, the first charge threshold may also be set by the user according to the battery usage of the terminal, for example, based on the usage duration of the battery. It is understood that the terminal may consume more energy due to the longer battery usage time, and the higher the amount of energy to be warned should be, and thus, the higher the first threshold of energy that can be set by the battery using the longer time, and the lower the first threshold of energy that can be set by the battery using the shorter time. For example, if the terminal is used for a period of less than 1 year, the first power threshold may be set to 20%, and if the terminal is used for a period of more than 1 year, the first power threshold may be set to 25%, and if the terminal is used for a period of more than 2 years, the first power threshold may be set to 30%.
The first electric quantity can support that the first service life in the current operation state of the terminal is less than a duration threshold. It can be understood that the terminal consumes the battery at different speeds based on different operation states, for example, the terminal consumes the battery slowly in the power-on but silent states, for example, the terminal does not need to perform data processing, data transmission, etc. when in the flight mode, the same amount of electric quantity can be maintained for a relatively long time; and under the condition that the terminal is on the internet or plays a network game and the like, the same amount of electric quantity can be maintained for a relatively short time because data transmission, data processing and the like are required to be carried out continuously. Here, the power prompt may be performed on the user based on whether the first power can support whether the first usage duration in the current operation state of the terminal is less than a duration threshold, for example, whether the first usage duration is less than 1 hour, so that the user can perform processing, such as charging, on the terminal in time based on the power prompt.
The first amount of power is above a second amount of power threshold. It can be understood that, during the charging process of the battery of the terminal, when the battery reaches a certain amount of power, the user is prompted that the amount of power is sufficient, and at this time, the user of the terminal may choose to continue charging or choose not to recharge. Likewise, this second power threshold may be factory set by the terminal. Of course, the second charge threshold may also be set by the user according to the battery usage of the terminal, for example, based on the usage duration of the battery. It is understood that the terminal may consume the battery faster because the battery is used for a longer time, and the battery is consumed faster under the same power, so the second power threshold value set by the battery with the longer use time may be higher, and the second power threshold value set by the battery with the shorter use time may be lower. For example, if the terminal is used for a period of time less than 1 year, the second power threshold may be set to 80%, and if the terminal is used for a period of time greater than 1 year, the second power threshold may be set to 85%, and if the terminal is used for a period of time greater than 2 years, the second power threshold may be set to 90%.
The first amount of power is greater than or equal to the first amount of power threshold and less than the third amount of power threshold. In this case, the first amount of power is between the first and third power thresholds. When the first electric quantity is higher than or equal to the first electric quantity threshold value and is lower than the third electric quantity threshold value, the first electric quantity can also be used as an electric quantity prompting condition, and electric quantity prompting is carried out on the terminal meeting the condition.
The first amount of power is less than or equal to the second amount of power threshold and greater than the fourth amount of power threshold. In this case, the first power bell is between the second power and the fourth power threshold. And when the first electric quantity is lower than or equal to the second electric quantity threshold value and higher than the fourth electric quantity threshold value, the first electric quantity can also be used as an electric quantity prompting condition to prompt the electric quantity of the terminal meeting the condition.
Here, the step 104 may include at least one of:
adjusting the prompting time of the electric quantity prompt output when the electric quantity prompting condition is met according to the application scene information;
adjusting the prompting volume of the electric quantity prompt output when the electric quantity prompting condition is met according to the application scene information;
According to the application scene information, adjusting a prompting mode of electric quantity prompting output when the electric quantity prompting condition is met;
and adjusting the prompting brightness of the electric quantity prompt output when the electric quantity prompting condition is met according to the application scene information.
Here, the adjustment of the prompting time of the electric quantity prompt output when the electric quantity prompting condition is satisfied should be understood as that the prompting time of the electric quantity prompt output when the electric quantity prompting condition is satisfied may be delayed, or the prompting time of the electric quantity prompt output when the electric quantity prompting condition is satisfied may be advanced, so as to avoid the electric quantity prompt in some specific application scenarios as much as possible, for example, the electric quantity prompt performed in a sleep application scenario may not only disturb a user, but also consume more electric quantity because the electric quantity prompt is not noticed.
For another example, the driving safety problem caused by the fact that the user turns off the power prompt may be caused by the power prompt performed in the driving application scene, but if the user does not turn off the power prompt, the attention of the driver may be dispersed due to the existence of the prompt, and more power consumption may be caused by the continuous power prompt.
For another example, in an application scenario such as on a commute, a user is not likely to perceive the power prompt due to high environmental noise, and at this time, if the power prompt is output, the power prompt is not only imperceptible to the user, but also may cause more power waste because the terminal always outputs the power prompt. Therefore, in the embodiment of the present disclosure, the prompting time of the electric quantity prompt output when the prompting condition is met may be adjusted according to the application scene information, for example, the prompting time is advanced or delayed, so that a disturbance phenomenon caused by outputting the electric quantity prompt in an untimely application scene may be reduced, further electric quantity waste caused by outputting the electric quantity prompt in an untimely application scene may be reduced, user experience may be better, and use experience of the terminal may be improved.
Here, the adjustment of the volume of the electric quantity output when the battery indication condition is satisfied is to be understood as turning up the volume of the electric quantity output when the battery indication condition is satisfied, or turning down the volume of the electric quantity output when the battery indication condition is satisfied. For example, in a noisy application scenario, such as on a bus, on a road, or the like, the prompting volume of the power prompt may be turned up so that the user can hear and notice the power prompt, and make a corresponding decision based on the power prompt, for example, to borrow a mobile power bank or the like for charging, or to stop some applications running in the background to save power. For another example, in an application scenario of a meeting, or in a relatively quiet application scenario, such as a library, the volume of the reminder of the power amount may be turned down so as not to disturb other users in the application scenario. Therefore, in the embodiment of the present disclosure, the prompting volume of the electric quantity prompt output when the prompting condition is met may be adjusted according to the application scene information, for example, the volume of the electric quantity prompt is turned up, or the volume of the electric quantity prompt is turned down, so that the volume of the electric quantity prompt is output to an appropriate volume based on different application scene information, the user can be noticed by turning up the volume in a noisy application scene, and the user is less disturbed by turning down the volume in a quiet application scene, thereby improving the user experience.
Here, the adjustment of the prompting mode of the electric quantity prompt output when the battery prompting condition is satisfied includes at least one of the following: a voice prompt mode, a flash lamp prompt mode, a vibration prompt mode and a display screen pop-up frame prompt mode.
In the embodiment of the disclosure, based on different application scenarios, different prompt information of the electric quantity prompt output when the electric quantity prompt condition is satisfied can be adjusted. For example, in a conference scene, the prompting mode can be adjusted from a voice prompting mode to a vibration-based prompting mode so as to avoid interfering with other participants; for example, in a sleep scene, the prompting mode can be adjusted from a voice prompting mode to a pop-up frame prompting mode of the display screen. Therefore, the prompting mode of the electric quantity prompt output when the prompting condition is met is adjusted according to the application scene information, so that the electric quantity prompt can be output in a proper prompting mode based on different application scenes, and the user experience is improved.
Here, the adjustment of the prompting brightness of the electric quantity prompt output when the electric quantity prompting condition is satisfied should be understood as that the prompting brightness of the electric quantity prompt output when the electric quantity prompting condition is satisfied may be adjusted to be larger, or the prompting brightness of the electric quantity output when the electric quantity prompting condition is satisfied may be adjusted to be smaller. Here, the brightness may be emitted by a flash of the terminal or may be emitted by a light emitting diode in a screen of the terminal. For example, in a light application scene, such as an outdoor scene during the day, the brightness of the power prompt may be increased so that the user can see and notice the power prompt, and make a corresponding decision based on the power prompt. For another example, in a dim application scene, such as an indoor scene at night, the brightness of the prompt for the power prompt may be reduced, so as to reduce the damage to the eyes of the user due to over-strong brightness. Therefore, in the embodiment of the present disclosure, the prompting brightness of the electric quantity prompt output when the prompting condition is met may be adjusted according to the application scene information, for example, the prompting brightness of the electric quantity prompt is increased, or the prompting brightness of the electric quantity prompt is decreased, so that the brightness of the electric quantity prompt may output a suitable brightness value based on different application scene information, and may attract the attention of the user by increasing the brightness when the brightness is strong, and reduce the damage to the eyes of the user by decreasing the brightness when the brightness is weak, thereby improving the user experience.
It should be noted that the above embodiments may be combined at will, that is, a user may adjust the prompting time of the electric quantity prompt according to different scenarios, and may also adjust the prompting volume, the prompting brightness, and the prompting mode of the electric quantity prompt at the same time, so as to adjust the output to a proper output range, thereby improving user experience.
As an optional embodiment, the determining the application scenario information of the terminal includes: and when the first electric quantity meets a first electric quantity prompting condition, determining current scene information of the terminal.
Here, the first power amount prompting condition may include at least one of the following power amount prompting conditions: the first electric quantity is lower than the first electric quantity threshold, the first electric quantity can support that a first use duration in the current operation state of the terminal is smaller than a duration threshold, and the first electric quantity is higher than the second electric quantity threshold.
And when the first electric quantity prompting condition is met, the terminal determines the current scene information of the terminal. Here, when the current first electric quantity meets the first electric quantity prompting condition, the terminal can correspondingly adjust the electric quantity prompting based on the current scene information. Therefore, the resources consumed by the terminal for continuously determining the current scene information of the terminal are reduced by using the condition that the first electric quantity prompting condition is met as a trigger condition for determining the current scene information of the terminal.
Here, the determining of the scene information of the terminal may be requesting the server based on geographical location information or surrounding image information, and receiving the scene information replied by the server based on the request.
As an optional embodiment, in a state that the terminal is not networked, and in order to ensure accuracy of current context information, the determining the application context information of the terminal may include: determining current scene information of the terminal according to at least one of the current moment, ambient environment information of the environment where the terminal is located, the running state of the terminal and the use information of the terminal; wherein the ambient environment information includes: ambient brightness information, ambient noise information, user information within a preset range.
Here, determining the current scene information of the terminal according to the current time may include: and determining whether the current moment meets a preset time range, and if so, determining scene information corresponding to the preset time range as the current scene information. For example, the current time is 23:00, and since 23:00 belongs to the time period range corresponding to the night scene, it can be determined that the current scene information corresponding to the current time is the night.
Here, determining the current scene information of the terminal according to the ambient environment information of the environment in which the terminal is located may include: and determining whether the ambient environment information of the environment where the terminal is located meets a preset environment condition, and if the ambient environment information meets the preset environment condition, determining scene information corresponding to the preset environment condition as the current environment information. For example, if the ambient noise in the ambient information is greater than a first noise threshold, it may be determined that the terminal is in a noisy outdoor environment; the ambient brightness information is lower than the first brightness value, it may be determined that the terminal is in a closed space, for example, a user's bag, or at night; if the ambient noise in the ambient environment information is greater than a first noise threshold and the ambient brightness information is lower than a first brightness value, it may be determined that the current scene may be in a user bag in the daytime.
Here, the user information within the preset range may include: and the number of the users in the preset range by the center of the terminal, and/or user identity information and the like. According to the user information in the preset range, whether a user exists in the current scene or not can be determined, and if the user exists, whether the existing user belongs to the terminal or not is determined. Therefore, when the terminal outputs the electric quantity prompt, the decision made by the user based on the electric quantity prompt can be received in time, for example, the prompt is closed, or the terminal is charged and the like. Therefore, according to the user information in the preset range of the environment where the terminal is located, whether the scene corresponding to the current scene information of the terminal is a person or not and whether the user belongs to the scene can be determined.
Here, determining the current scene information of the terminal according to the motion state of the terminal may include: and determining whether the motion state of the terminal meets a preset motion condition, and if so, determining scene information corresponding to the preset motion as current scene information. Here, the motion state of the terminal may be measured by a gyroscope or an acceleration sensor of the terminal. For example, the motion state of the terminal indicates that the horizontal direction acceleration of the terminal is close to a first speed threshold, where the first speed is the driving speed of the vehicle on the urban road, and it may be determined that the application scene where the terminal is located may be a bus scene; the motion state of the terminal indicates that the horizontal direction acceleration of the terminal is close to a second speed threshold, and the second speed is the walking speed of the user, so that the application scene where the terminal is located can be determined to be the walking scene of the user.
Here, determining the current scene information of the terminal according to the usage information of the terminal may include: and determining whether the use information of the terminal meets a preset use condition, and if the use information meets the preset use condition, determining the scene information corresponding to the preset use condition as the current scene information. Here, the usage information includes at least: software information being used by the user, duration of use, screen lighting information. For example, the usage information indicates that the screen of the terminal is lit for eight hours, and if the terminal is an office computer, it may be determined that the current scene where the terminal is located may be a working scene. As another example, the usage information indicates that the screen of the terminal is not lit for more than eight hours, and the current scene where the terminal is located may be a sleeping scene of the user.
It should be noted that, the above embodiments may be combined at will, and the current scene information of the terminal may be obtained not only from the current time, but also from the ambient environment information of the environment where the terminal is located, the motion state of the terminal, and the usage information of the terminal. For example, the current time is 3:00, the ambient brightness in the ambient environment information of the environment where the terminal is located is less than a first brightness threshold, and the ambient noise is less than a first noise threshold; meanwhile, the use information of the terminal indicates that the unlighted time of the screen of the terminal exceeds 5 hours, and at the moment, the current scene where the terminal is located can be accurately determined to be the sleeping scene of the user. It is to be added that the current scene information of the terminal is determined according to at least one of the current time, the ambient environment information of the environment where the terminal is located, the motion state information of the terminal, and the usage information of the terminal. The corresponding relationship between the current time, the ambient environment information of the environment where the terminal is located, at least one of the motion state information of the terminal and the usage information of the terminal and the current scene information may be stored in a server, so that the corresponding current scene information may be found based directly on the corresponding relationship and at least one of the current time, the ambient environment information of the environment where the terminal is located, the motion state information of the terminal and the usage information of the terminal. The data information analysis and processing are not needed, the computing resources are reduced, and the processing speed is improved.
As an optional embodiment, the adjusting, according to the application scenario information, the electric quantity prompt output when the electric quantity prompt condition is met includes: predicting the end time of the scene corresponding to the current scene information; determining a delay time according to the ending time of the scene corresponding to the current scene information and the current time; and according to the delay duration, delaying the prompting time of the electric quantity prompt output when the electric quantity prompting condition is met.
It should be understood that the scene corresponding to the current scene information has a current scene ending time and also has a current scene starting time. Here, if the time of the power prompt is just in the process of the current scene, for example, the current scene is a sleeping scene of the user, a meeting scene, a movie scene, or the like, and the current scene faces special scenes that are not desired to be disturbed, disturbance to the user in these scenes can be reduced by delaying the prompt time of the power prompt. For another example, when the current scene is a scene of bus driving, etc., and the user may not notice the scene or even notice the scene that the user is inconvenient to make a corresponding policy for the electric quantity prompt, the user annoyance caused by the output of the electric quantity prompt in the scene can be reduced by delaying the prompt time of the electric quantity prompt, and the electric quantity waste caused by incapability of noticing or incapability of closing the prompt in time can be reduced.
It should be added that the predicting the end time of the scene corresponding to the current scene information may include: determining a corresponding scene of the current scene information according to the current scene information; and determining the end time of the historical scene of the corresponding scene according to the corresponding scene.
Of course, in other embodiments, the end time of the scene corresponding to the current scene information may be predicted, and the end time of the corresponding scene may also be determined through log information of a terminal.
Therefore, the embodiment of the present disclosure determines the delay time according to the current scene ending time and the current time, and delays the prompting time of the electric quantity prompt output when the electric quantity prompting condition is met according to the delay time. For example, the current time is 3:00 in the morning, and the end time of the user sleep scene is 7:00 in the morning, at this time, according to a difference of 4 hours between the end time of the user sleep scene and the current time, the 4 hours can be used as a delay time, and the electric quantity prompt is output after 4 hours, that is, after the user sleep scene ends. Like this, can realize the promptness of electric quantity suggestion, realize again simultaneously under current scene, also be an untimely scene, do not disturb the user as far as possible, also probably can't make corresponding reply strategy based on the electric quantity suggestion at this moment based on the user simultaneously for the electric quantity suggestion leads to the fact more electric energy extravagant on the contrary, promotes user experience.
Further, the method further comprises: determining whether a first usage time period predicted based on the current scene information is greater than or equal to the delay time period; the first usage duration is: the first electric quantity can support the duration of the current operation state of the terminal; if the first using duration is less than the delay duration, the delay duration is shortened so that the delay duration is less than the first using duration.
Here, the current scene information may include: usage information of the terminal. Wherein the usage information of the terminal may include: software currently used by the terminal, or terminal usage history information, etc. In practical applications, the usage information of the terminal may be used to characterize a time duration that the terminal can use.
Here, in order to prompt the user, some operation programs of the terminal cannot be normally operated due to the power problem, and the operation result fails, etc. are prevented. In this embodiment, it may be determined whether the first duration of use is greater than or equal to the delay duration, and then the delay duration needs to be shortened, so that the delay duration is less than the first duration of use, thereby ensuring that the electric quantity prompt can be output before the user is the first duration of use, reducing user loss caused by the electric quantity problem, and improving user experience.
For example, the current time is 3:00 a.m., and the first usage duration of the terminal is only 3 hours, and the end time of the user sleep scene is 7: 00, i.e. a delay time of at least 4 hours. At this time, the delay time period may be shortened, for example, the delay time period is adjusted to 2.5 hours, that is, the electric quantity prompt is output before the end of the first usage time period, so that the user loss caused by the electric quantity problem is reduced.
As an optional embodiment, the determining the application scenario information of the terminal includes: and determining future scene information of the terminal when the first electric quantity meets a second electric quantity prompt condition.
Here, the second power prompting condition may include at least one of the following power prompting conditions: the first amount of power is greater than or equal to the first amount of power threshold and less than the third amount of power threshold; the first amount of power is less than or equal to the second amount of power threshold and greater than the fourth amount of power threshold.
And when the first electric quantity prompting condition is met, the terminal determines the future scene information of the terminal. Here, when the current first electric quantity meets the second electric quantity prompting condition, the terminal can correspondingly adjust the electric quantity prompt based on the future scene information. Therefore, the electric quantity consumed by the terminal for continuously detecting the future scene information is reduced by using the condition that the second electric quantity prompting condition is met as a trigger condition for determining the future scene information of the terminal.
As an optional embodiment, the determining the application scenario information of the terminal includes: and determining future scene information of the terminal according to the user schedule information of the terminal.
Here, the user schedule information may determine the user schedule information according to a user usage habit of the terminal; or, determining the user schedule information according to schedule software of the terminal, for example, schedule recorded in a calendar.
Here, the usage habits of the user may include historical usage habits of the user, for example, the user sleeps at 22:00-7:00 a day, and then according to the usage habits, the scene where the 22:00-7:00 a day corresponding to the terminal is located may be determined as the sleeping scene of the user.
Here, the schedule recorded in the schedule software may be understood as a schedule of a future by the user, for example, 8:00-12:00 am tomorrow, to be spent on a train on business trip.
Therefore, the terminal can determine the future scene information of the terminal according to the user schedule information. And then adjusting the electric quantity prompt output when the electric quantity prompt condition is met based on the future scene information. Therefore, the user can intelligently output the electric quantity prompt in the scene corresponding to the future scene information, the output of the electric quantity prompt is reasonably arranged, and the user experience is improved.
As an optional embodiment, the adjusting, according to the application scenario information, the electric quantity prompt output when the electric quantity prompt condition is met includes: according to the starting time of the scene corresponding to the future scene information, the prompting time of the electric quantity prompt output when the electric quantity prompting condition is met is advanced; wherein the prompt time before and after the prompt is before the start time.
It should be understood that the scene corresponding to the future scene information has a future scene starting time and a future scene ending time. Here, if the prompting time of the electric quantity prompt happens in a future scene, for example, the future scene is a sleeping scene, a meeting scene, a movie scene, etc. of the user, and in the face of these special scenes which are not desired to be disturbed, the disturbance to the user in these scenes can be reduced by advancing the prompting time of the electric quantity prompt. For another example, the future scene is a scene of bus driving, etc., and when the user may not notice the scene or even notice the scene that the user is inconvenient to make a corresponding strategy for the electric quantity prompt, the user annoyance caused by the output of the electric quantity prompt under the scene can be reduced by advancing the prompt time of the electric quantity prompt, and the electric quantity waste caused by incapability of noticing or incapability of closing the prompt in time can be reduced.
It should be noted that the second power indication condition may be understood as a buffer condition that is not generated but is immediately before the first power indication condition.
Here, the schedule information may include: and schedule information corresponding to the time when the second using time length passes from the current time. The second service life is the time length from the first electric quantity meeting the second electric quantity corresponding to the second condition prompt condition to the third electric quantity meeting the first electric quantity corresponding to the first condition prompt condition. Therefore, the future scene information at the prompting time of the electric quantity prompting can be accurately determined.
Fig. 2 is a diagram illustrating an adjustment apparatus for a power indication according to an exemplary embodiment, and referring to fig. 2, the apparatus includes: the device comprises an acquisition module 21, a first determination module 22, a second determination module 23 and an adjustment module 24;
the obtaining module 21 is configured to obtain a current first electric quantity of the terminal;
the first determination module 22 is configured to determine whether the first power meets a power prompt condition;
the second determining module 23 is configured to determine application scenario information of the terminal;
the adjusting module 24 is configured to adjust the electric quantity prompt output when the electric quantity prompt condition is met according to the application scenario information.
In an optional embodiment, the second determining module 23 is further configured to:
when the first electric quantity meets a first electric quantity prompt condition, determining the current scene information of the terminal,
in an optional embodiment, the second determining module 23 is further configured to:
determining current scene information of the terminal according to at least one of the current moment, ambient environment information of the environment where the terminal is located, the motion state of the terminal and the use information of the terminal;
wherein the ambient environment information includes at least one of: ambient brightness information, ambient noise information.
In an optional embodiment, the adjusting module 24 is further configured to:
predicting the ending time of the scene corresponding to the current scene information;
determining a delay time according to the ending time and the current time;
and according to the delay duration, delaying the prompting time of the electric quantity prompt output when the electric quantity prompting condition is met.
In an optional embodiment, the apparatus further comprises:
a third determination module configured to determine whether a first usage period predicted based on the current scene information is greater than or equal to the delay period; the first usage duration is: the first electric quantity can support the duration of the current operation state of the terminal;
A shortening module configured to shorten the delay duration if the usage duration is less than the delay duration, so that the delay duration is less than the first usage duration.
In an optional embodiment, the second determining module 23 is further configured to:
and when the first electric quantity meets a second electric quantity prompt condition, determining future scene information of the terminal.
In an optional embodiment, the second determining module 23 is further configured to:
and determining future scene information of the terminal according to the user schedule information of the terminal.
In an optional embodiment, the adjusting module 24 is further configured to:
according to the starting time of the scene corresponding to the future scene information, the prompting time of the electric quantity prompt output when the electric quantity prompting condition is met is advanced; wherein the prompt time before and after the prompt is before the start time.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Further, the present disclosure also provides a specific embodiment to further understand the adjustment method of the electric quantity prompt provided by the embodiment of the present disclosure.
The following terminals take a mobile terminal as an example.
Nowadays, mobile terminals such as mobile phones and tablet computers are widely used in various fields such as communication, entertainment and education. For convenience of carrying, the appearance design trend of these mobile terminals is exquisite, light and thin, and the appearance design requires that the battery of the mobile electronic device is also exquisite, light and thin, and the design limits the capacity of the battery, but at the present that the battery technology has not been developed in a breakthrough way, the battery capacity severely restricts the daily use of the mobile electronic device, and we know that the mobile electronic device such as a mobile phone has many functions such as short message sending and receiving, game playing, schedule management, network browsing and the like besides the phone answering, and the functions all consume a large amount of battery power. In order to avoid that the mobile electronic device cannot use the device due to the exhaustion of the battery power, the device manufacturer or the like provides the user with a prompt function of low battery power, the device usually presets a threshold value of the battery power, such as 10%, 20%, or the like, and if the battery power of the mobile electronic device is lower than the threshold value, the device notifies the user.
The battery power low prompt of the mobile terminal generally comprises visual, tactile and auditory modes, and the battery power low prompt of the visual mode generally lights a screen of equipment and displays text notification of battery power low and the like; tactile cues typically include means of device vibration, etc.; auditory cues typically include playing sound segments such as birds, bugs, etc. The low battery indication is typically repeated at intervals until the user dismisses the notification or detects a recovery of battery power, etc.
The mobile terminal prompts that the battery power is low, generally only the power level of the battery is considered, scenes and the like during prompting are not distinguished, and troubles are often brought to a user. If the user is in late night, the device lights the screen to play an alarm sound to prompt that the battery power is low, the sleep of the user can be disturbed, and particularly the user with sleep disorder is seriously influenced. If the user does not carry the device with him, the user can not release the notification of low battery level at the first time when he puts the terminal on an office table and opens the conference room, and the repeated prompt of low battery level, especially the sound prompt, can affect the working atmosphere of the office. If the user drives the vehicle, repeated low battery power prompt, especially the voice prompt, can distract the user, and the user is hidden in safety when trying to remove the low battery power prompt. In addition, the above-mentioned indication of low battery level usually includes visual, tactile and auditory means, and these indications also consume battery level, and when the user is unnecessarily prompted that the battery level is low, the battery level consumption is often even accelerated, which causes more inconvenience to the user.
In this implementation, the battery power monitoring module of the mobile terminal can continuously detect the battery power of the mobile terminal, and the battery power monitoring module can transmit the detected battery power of the mobile terminal to the low power notification planning module.
Here, the battery level monitoring module may be understood as the obtaining module and the first determining module described in the above embodiments. The low power planning module may be understood as the second determining module and the adjusting module described in the above embodiments.
And the low power notification planning module notifies the user that the battery power of the mobile terminal is low at the proper moment of load planning selection. The low battery notification planning module may use the following parameters, but is not limited to the following parameters, to plan notification times such as: the current time, such as night, day, etc.; ambient environment information such as noise, light, presence or absence of a person around, etc.; the current state of the user such as driving, meeting and the like; the expected battery remaining capacity consumption duration of the terminal; the user's schedule, etc.
It is understood that the current state of the user can be actually determined by setting the scene of the terminal by the user, and can also be determined according to the parameters. The expected remaining battery power consumption period of the terminal may correspond to the first usage period described in the above embodiment. The schedule of the user may be equivalent to the user schedule information described in the above embodiments.
How the low battery notification planning module plans to select an appropriate time to notify the user that the battery of the mobile electronic device is low is described below in conjunction with several scenarios and fig. 2.
The mobile terminal is a mobile phone, and the electric quantity prompt is a prompt aiming at low electric quantity.
Fig. 2 is a flowchart illustrating a method for adjusting a power prompt according to an exemplary embodiment, where as shown in fig. 2, a battery power monitoring module may continuously detect a battery power condition. It is detected whether the charge is below a threshold, which here is understood to be a first charge threshold, such as 10% of the charge, as described in the above embodiments. If so, the power notification planning module plans to output a low power prompt later. Here, the low battery notification planning module determines current scene information of the mobile phone according to a time schedule, such as night, day, etc., surrounding environment information, such as noise, light, etc., a user presence status, and a user status, such as driving, meeting, etc. And simultaneously, planning the prompting time for delaying the low-battery prompt based on the expected residual using time of the battery. Here, the user presence situation may be understood as user information within a preset range as described in the above embodiments.
And determining whether to output a low-power prompt or not according to the information, outputting the low-power prompt if the delay time length is reached, and continuing to enter a waiting period if the delay time length is not reached.
On the other hand, if the electric quantity is not lower than the threshold, the electric quantity notification planning module plans the prompting time of the battery power shortage in advance, where the prompting time of the battery power shortage planned in advance may be planned in advance by calculating the expected remaining usage time of the battery according to a time schedule, such as night, day, and the like, and a schedule of a user, such as a calendar and the like.
And determining whether to perform early low-power prompting or not according to the information, if so, performing low-power prompting, and otherwise, continuing to perform a waiting period.
Specifically, in scenario 1, the current time is 3:30 in the morning, the battery level monitoring module notifies the low battery level notification planning module that the battery level of the mobile phone has decreased to 10%, and at this time, the low battery level notification planning module finds that the user has not used the mobile phone for 5 hours, such as browsing, playing games, using application software, and the like. The low power notification planning module judges that the user enters a sleep scene of the user and does not want to be disturbed, and the low power notification planning module judges that the electric quantity of the mobile phone can still support for 5 hours according to the current electric quantity, and then the low power notification planning module decides not to notify the user that the battery electric quantity is low now, but notifies the user after 4 hours, namely 7:30 am. After 4 hours, if the battery power monitoring module still informs the low power notification planning module that the battery power is low, the low power notification planning module informs the mobile phone to start the notification that the battery power is low.
In a scene 2, the battery power monitoring module notifies the low power notification planning module, the battery power of the mobile phone is reduced to 10%, at this time, the low power notification planning module finds that the user is currently in the subway and the mobile phone is currently in a pocket or a bag of the user through noise of the surrounding environment, the movement speed of the mobile phone, surrounding light and the like, the notification of the low battery power is probably ignored by the user, the low power notification planning module judges that the battery power of the mobile phone can still support for 5 hours according to the current power, and the low power notification planning module determines not to notify the user that the battery power of the user is low now, but notifies the user when the user may arrive at an office after 1 hour. After 1 hour, if the battery power monitoring module still informs the low power notification planning module that the battery power is low, the low power notification planning module informs the mobile phone to start the notification that the battery power is low.
In addition, the battery level monitoring module may delay the notification of the battery level and may also notify the user of the low battery level in advance according to the selection of the condition.
Scene 3: the battery power monitoring module informs the low power notification planning module that the battery power of the mobile phone has dropped to approximately 10%, for example 12%, and according to the current power, the low power notification planning module judges that the battery power of the mobile phone has dropped to 10% after 2.5 hours, but through the schedule of the user, the user will go out to participate in the conference after 2 hours, the low power notification planning module decides to notify the user that the battery power is low in advance, that is, if the battery power monitoring module still notifies the low power notification planning module that the battery power is low now, the low power notification planning module immediately notifies the mobile phone to start the notification that the battery power is low.
Scene 4: the current time is 10:30 at night, the battery power monitoring module informs the low power notification planning module that the battery power of the mobile phone has been reduced to nearly 10%, for example, 15%, and according to the current power, the low power notification planning module judges that the battery power of the mobile phone has been reduced to 10% after 2.5 hours, but according to the usage habit of the mobile phone of the user, judges that the user will enter a sleep state after 1.5 hours, the low power notification planning module decides to notify the user that the battery power is low in advance, that is, if the battery power monitoring module still notifies the low power notification planning module that the battery power is low now, the low power notification planning module immediately notifies the mobile phone to start the notification of the battery power being low.
According to the embodiment, the user can be informed of the low battery level of the mobile phone at a more intelligent and accurate time, the user can be informed of the low battery level at a later time, the user can also be informed of the low battery level at a earlier time according to the actual situation, and the user experience of the user when the user uses the mobile phone is greatly improved.
Fig. 4 is a block diagram illustrating a terminal 300 according to an example embodiment. For example, the terminal 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 4, the terminal 400 may include one or more of the following components: a processing component 402, a memory 404, a power component 406, a multimedia component 408, an audio component 410, an interface for input/output (I/O) 412, a sensor component 414, and a communication component 416.
The processing component 402 generally controls overall operation of the terminal 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 302 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 302 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the device 400. Examples of such data include instructions for any application or method operating on the terminal 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power components 406 provide power to the various components of the terminal 400. The power components 406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal 400.
The multimedia component 408 comprises a screen providing an output interface between the terminal 400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 400 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, the audio component 410 includes a Microphone (MIC) configured to receive external audio signals when the terminal 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of status assessment for the terminal 400. For example, sensor assembly 414 can detect an open/closed state of device 400, relative positioning of components, such as a display and keypad of terminal 400, sensor assembly 314 can also detect a change in position of terminal 400 or a component of terminal 400, the presence or absence of user contact with terminal 400, orientation or acceleration/deceleration of terminal 400, and a change in temperature of terminal 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate communications between the terminal 400 and other devices in a wired or wireless manner. The terminal 300 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the terminal 400 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a terminal, enable the terminal to perform the page display method according to the above embodiments.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (12)

1. An adjustment method for electric quantity prompt is characterized by comprising the following steps:
acquiring a current first electric quantity of a terminal;
determining whether the first electric quantity meets an electric quantity prompting condition;
Determining application scene information of the terminal;
adjusting the electric quantity prompt output when the electric quantity prompt condition is met according to the application scene information; wherein,
the determining the application scenario information of the terminal includes: when the first electric quantity meets a second electric quantity prompt condition, determining future scene information of the terminal;
the determining the application scenario information of the terminal includes: determining future scene information of the terminal according to the user schedule information of the terminal;
the adjusting, according to the application scenario information, the electric quantity prompt output when the electric quantity prompt condition is met includes: according to the starting time of the scene corresponding to the future scene information, the prompting time of the electric quantity prompt output when the electric quantity prompting condition is met is advanced; wherein the prompt time before and after the prompt is before the start time.
2. The method of claim 1, wherein the determining the application context information of the terminal comprises:
and when the first electric quantity meets a first electric quantity prompt condition, determining the current scene information of the terminal.
3. The method according to claim 1 or 2,
The determining the application scenario information of the terminal includes:
determining current scene information of the terminal according to at least one of the current moment, ambient environment information of the environment where the terminal is located, the motion state of the terminal and the use information of the terminal;
wherein the ambient environment information includes at least one of: ambient brightness information, ambient noise information, user information within a preset range.
4. The method according to claim 3, wherein the adjusting, according to the application scenario information, the power indication output when the power indication condition is met includes:
predicting the ending time of the scene corresponding to the current scene information;
determining a delay time according to the ending time and the current time;
and according to the delay duration, delaying the prompting time of the electric quantity prompt output when the electric quantity prompting condition is met.
5. The method of claim 4, further comprising:
determining whether a first usage duration predicted based on the current scene information is greater than or equal to the delay duration; the first usage duration is: the first electric quantity can support the duration of the current operation state of the terminal;
If the first using duration is less than the delay duration, the delay duration is shortened so that the delay duration is less than the first using duration.
6. An adjustment device for electric quantity prompt, comprising:
the terminal comprises an acquisition module, a processing module and a control module, wherein the acquisition module is configured to acquire a current first electric quantity of the terminal;
a first determination module configured to determine whether the first power amount satisfies a power amount prompt condition;
a second determination module configured to determine application context information of the terminal;
the adjusting module is configured to adjust the electric quantity prompt output when the electric quantity prompt condition is met according to the application scene information;
wherein the second determination module is further configured to: when the first electric quantity meets a second electric quantity prompt condition, determining future scene information of the terminal;
the second determination module further configured to: determining future scene information of the terminal according to the user schedule information of the terminal;
the adjustment module further configured to: according to the starting time of the scene corresponding to the future scene information, the prompting time of the electric quantity prompt output when the electric quantity prompting condition is met is advanced; wherein the prompt time before and after the prompt is before the start time.
7. The apparatus of claim 6, wherein the second determining module is further configured to:
when the first electric quantity meets a first electric quantity prompt condition, determining the current scene information of the terminal,
8. the apparatus of claim 6 or 7, wherein the second determining module is further configured to:
determining current scene information of the terminal according to at least one of the current moment, ambient environment information of the environment where the terminal is located, the motion state of the terminal and the use information of the terminal;
wherein the ambient environment information includes at least one of: ambient brightness information, ambient noise information.
9. The apparatus of claim 8, wherein the adjustment module is further configured to:
predicting the ending time of the scene corresponding to the current scene information;
determining a delay time according to the ending time and the current time;
and according to the delay duration, delaying the prompting time of the electric quantity prompt output when the electric quantity prompting condition is met.
10. The apparatus of claim 9, further comprising:
a third determination module configured to determine whether a first usage period predicted based on the current scene information is greater than or equal to the delay period; the first usage duration is: the first electric quantity can support the duration of the current operation state of the terminal;
A shortening module configured to shorten the delay duration if the usage duration is less than the delay duration, so that the delay duration is less than the first usage duration.
11. A terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a current first electric quantity of a terminal;
determining whether the first electric quantity meets an electric quantity prompting condition;
determining application scene information of the terminal;
adjusting the electric quantity prompt output when the electric quantity prompt condition is met according to the application scene information;
wherein the determining the application scenario information of the terminal includes: when the first electric quantity meets a second electric quantity prompt condition, determining future scene information of the terminal;
the determining the application scenario information of the terminal includes: determining future scene information of the terminal according to the user schedule information of the terminal;
the adjusting, according to the application scenario information, the electric quantity prompt output when the electric quantity prompt condition is met includes: according to the starting time of the scene corresponding to the future scene information, the prompting time of the electric quantity prompt output when the electric quantity prompting condition is met is advanced; wherein the prompt time before and after the prompt is before the start time.
12. A non-transitory computer-readable storage medium, on which a computer program is stored, wherein instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to perform the steps of an adjustment method for implementing a power indication according to any one of claims 1 to 5.
CN201910829596.9A 2019-09-03 2019-09-03 Method and device for adjusting electric quantity prompt, terminal and storage medium Active CN112449052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910829596.9A CN112449052B (en) 2019-09-03 2019-09-03 Method and device for adjusting electric quantity prompt, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910829596.9A CN112449052B (en) 2019-09-03 2019-09-03 Method and device for adjusting electric quantity prompt, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112449052A CN112449052A (en) 2021-03-05
CN112449052B true CN112449052B (en) 2022-06-10

Family

ID=74733981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910829596.9A Active CN112449052B (en) 2019-09-03 2019-09-03 Method and device for adjusting electric quantity prompt, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112449052B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113656258B (en) * 2021-10-20 2022-02-01 深圳市瑞荣达电子有限公司 Scene analysis management and control system for intelligent Bluetooth headset based on internet

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103390229A (en) * 2013-07-23 2013-11-13 宇龙计算机通信科技(深圳)有限公司 Schedule reminding method and device
US8615221B1 (en) * 2012-12-06 2013-12-24 Google Inc. System and method for selection of notification techniques in an electronic device
CN103561152A (en) * 2013-11-05 2014-02-05 广东欧珀移动通信有限公司 Push message processing method and mobile terminal
CN105117211A (en) * 2015-07-28 2015-12-02 小米科技有限责任公司 Method and device for message prompts
CN105872228A (en) * 2016-03-31 2016-08-17 宇龙计算机通信科技(深圳)有限公司 Alarm clock reminding processing method and device, and terminal
WO2018115968A1 (en) * 2016-12-23 2018-06-28 Orange Method for operating a device during an unavailability time period

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100534106B1 (en) * 2001-08-22 2005-12-08 삼성전자주식회사 Computer and Method indicating operating state of external device thereof
US20100103948A1 (en) * 2008-10-23 2010-04-29 Tsung-Chun Chen Backup transmission structure of electronic device
CN107315468B (en) * 2017-06-30 2019-07-16 Oppo广东移动通信有限公司 Electricity based reminding method, device, storage medium and terminal
CN107241513B (en) * 2017-06-30 2019-08-06 Oppo广东移动通信有限公司 Charging reminding method, device, storage medium and electronic equipment
CN107506017A (en) * 2017-07-21 2017-12-22 珠海市魅族科技有限公司 Charging reminding method and device, electronic equipment and computer-readable recording medium
CN108833680A (en) * 2018-05-25 2018-11-16 江西午诺科技有限公司 Mobile phone carries based reminding method, device, mobile terminal and storage medium
CN108804294A (en) * 2018-05-25 2018-11-13 中国联合网络通信集团有限公司 Method, apparatus, equipment and the computer readable storage medium that electricity is reminded
CN108712575B (en) * 2018-05-31 2021-09-28 平安科技(深圳)有限公司 Charging reminding method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8615221B1 (en) * 2012-12-06 2013-12-24 Google Inc. System and method for selection of notification techniques in an electronic device
CN103390229A (en) * 2013-07-23 2013-11-13 宇龙计算机通信科技(深圳)有限公司 Schedule reminding method and device
CN103561152A (en) * 2013-11-05 2014-02-05 广东欧珀移动通信有限公司 Push message processing method and mobile terminal
CN105117211A (en) * 2015-07-28 2015-12-02 小米科技有限责任公司 Method and device for message prompts
CN105872228A (en) * 2016-03-31 2016-08-17 宇龙计算机通信科技(深圳)有限公司 Alarm clock reminding processing method and device, and terminal
WO2018115968A1 (en) * 2016-12-23 2018-06-28 Orange Method for operating a device during an unavailability time period

Also Published As

Publication number Publication date
CN112449052A (en) 2021-03-05

Similar Documents

Publication Publication Date Title
CN107134823B (en) Charging prompting method and device
KR101578738B1 (en) Method for recharging of mobile terminal
EP2827569B1 (en) Mobile terminal and controlling method thereof
CN107872576B (en) Alarm clock reminding method and device and computer readable storage medium
CN106055458B (en) A kind of charging reminding method, device and mobile device
CN104302048A (en) Lamp control method and device
CN106843706B (en) Shutdown control method and device and terminal equipment
CN111966412A (en) Method, device and storage medium for waking up terminal
CN106021077B (en) The alarming method for power and device of terminal
CN105720644A (en) Charging control method and device and terminal device
CN114977343A (en) Charging method, charging device, electronic equipment and storage medium
CN106407079A (en) Mobile terminal charging prompting method, device and equipment
CN112201242A (en) Method and device for waking up equipment, electronic equipment and storage medium
CN109522058B (en) Wake-up method, device, terminal and storage medium
CN111432068A (en) Display state control method and device, electronic equipment and storage medium
CN110941321A (en) Power supply method and device for electronic equipment and intelligent equipment
CN112449052B (en) Method and device for adjusting electric quantity prompt, terminal and storage medium
CN112672389B (en) Network switching method
CN110879658A (en) Method and device for adjusting display brightness, electronic equipment and storage medium
CN112748817A (en) Information control method and device, terminal and storage medium
CN107528098B (en) Charging method and device
CN107861605B (en) Data processing method and device
EP3823238A1 (en) Method and apparatus for controlling devices and storage medium
CN108539823B (en) Charging method and device
CN115173495A (en) Charging control method, charging control device and storage medium

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