CN112400308A - Charging prompting method and related product - Google Patents

Charging prompting method and related product Download PDF

Info

Publication number
CN112400308A
CN112400308A CN201880095611.5A CN201880095611A CN112400308A CN 112400308 A CN112400308 A CN 112400308A CN 201880095611 A CN201880095611 A CN 201880095611A CN 112400308 A CN112400308 A CN 112400308A
Authority
CN
China
Prior art keywords
determining
power consumption
data
unit power
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.)
Pending
Application number
CN201880095611.5A
Other languages
Chinese (zh)
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 Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai 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 Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN112400308A publication Critical patent/CN112400308A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

A charging prompting method and related products are provided, wherein the method is applied to an electronic device, the electronic device comprises a curved surface display screen, the curved surface display screen comprises a front screen area (110) and a side screen area (120), and the method comprises the following steps: acquiring residual capacity and operation data of the electronic equipment (S201), wherein the operation data comprises system operation data and a plurality of application operation data; determining the remaining use duration according to the operation data and the remaining electric quantity (S202); and if the residual service life is less than a first threshold value, controlling the side screen area (120) to carry out charging prompt (S203) aiming at the residual service life. The method and the product can improve the accuracy and flexibility of the charging prompt.

Description

Charging prompting method and related product Technical Field
The present application relates to the field of electronic devices, and in particular, to a charging prompt method and related products.
Background
With the rapid development of electronic device technology, various electronic devices have appeared, such as: mobile phones, tablet computers, smart bands, etc., and charging batteries of electronic devices also become a daily activity.
In the related art, when the electric quantity of the electronic device is lower than a certain threshold value in the process of using the electronic device, a user sends a prompt message to remind the user to charge.
Content of application
In a first aspect, an embodiment of the present application provides a charging prompting method, which is applied to an electronic device, where the electronic device includes a curved surface display screen, the curved surface display screen includes a front screen area and a side screen area, and the method includes:
acquiring the residual electric quantity and the operation data of the electronic equipment, wherein the operation data comprises system operation data and a plurality of application operation data;
determining the residual service life according to the operation data and the residual electric quantity;
and if the residual service life is less than a first threshold value, controlling the side screen area to carry out charging prompt aiming at the residual service life.
In a second aspect, an embodiment of the present application provides a charge-prompting device, which is applied to an electronic device, the electronic device includes a curved surface display screen, the curved surface display screen includes a front screen region and a side screen region, the device includes:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring the residual electric quantity and the operation data of the electronic equipment, and the operation data comprises system operation data and a plurality of application operation data;
the determining unit is used for determining the residual service life according to the operating data and the residual electric quantity;
and the display unit is used for controlling the screen testing area to carry out charging prompt according to the residual service life if the residual service life is less than a first threshold value.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for some or all of the steps described in the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, where the computer program makes a computer perform some or all of the steps as described in the first aspect of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application. The computer program product may be a software installation package.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
fig. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 1B is a schematic structural diagram of another electronic device provided in the embodiment of the present application;
fig. 2 is a schematic flowchart of a charging prompting method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a charging prompting method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a charging prompting device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic device according to the embodiment of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, which have wireless communication functions, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
Referring to fig. 1A, fig. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, where the electronic device includes a control circuit and an input-output circuit, and the input-output circuit is connected to the control circuit.
The control circuitry may include, among other things, storage and processing circuitry. The storage circuit in the storage and processing circuit may be a memory, such as a hard disk drive memory, a non-volatile memory (e.g., a flash memory or other electronically programmable read only memory used to form a solid state drive, etc.), a volatile memory (e.g., a static or dynamic random access memory, etc.), etc., and the embodiments of the present application are not limited thereto. Processing circuitry in the storage and processing circuitry may be used to control the operation of the electronic device. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuitry may be used to run software in the electronic device, such as play incoming call alert ringing application, play short message alert ringing application, play alarm alert ringing application, play media file application, Voice Over Internet Protocol (VOIP) phone call application, operating system functions, and so forth. The software may be used to perform some control operations, such as playing an incoming alert ring, playing a short message alert ring, playing an alarm alert ring, playing a media file, making a voice phone call, and performing other functions in the electronic device, and the embodiments of the present application are not limited.
The input-output circuit can be used for enabling the electronic device to input and output data, namely allowing the electronic device to receive data from the external device and allowing the electronic device to output data from the electronic device to the external device.
The input-output circuit may further include a sensor. The sensors may include ambient light sensors, optical and capacitive based infrared proximity sensors, ultrasonic sensors, touch sensors (e.g., optical based touch sensors and/or capacitive touch sensors, where the touch sensors may be part of a touch display screen or may be used independently as a touch sensor structure), acceleration sensors, gravity sensors, and other sensors, etc. The input-output circuit may further include audio components that may be used to provide audio input and output functionality for the electronic device. The audio components may also include a tone generator and other components for generating and detecting sound.
The input-output circuitry may also include one or more display screens. The display screen can comprise one or a combination of a liquid crystal display screen, an organic light emitting diode display screen, an electronic ink display screen, a plasma display screen and a display screen using other display technologies. The display screen may include an array of touch sensors (i.e., the display screen may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto.
The input-output circuitry may further include communications circuitry that may be used to provide the electronic device with the ability to communicate with external devices. The communication circuitry may include analog and digital input-output interface circuitry, and wireless communication circuitry based on radio frequency signals and/or optical signals. The wireless communication circuitry in the communication circuitry may include radio frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless communication circuitry in the communication circuitry may include circuitry to support Near Field Communication (NFC) by transmitting and receiving near field coupled electromagnetic signals. For example, the communication circuit may include a near field communication antenna and a near field communication transceiver. The communications circuitry may also include cellular telephone transceiver and antennas, wireless local area network transceiver circuitry and antennas, and so forth.
The input-output circuit may further include an input-output unit. Input-output units may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, and the like.
The electronic device may further include a battery (not shown) for supplying power to the electronic device.
Referring to fig. 1B, fig. 1B is a schematic structural diagram of another electronic device according to an embodiment of the present disclosure. As shown in fig. 1B, the electronic device includes a front screen area 110 and a side screen area 120. Wherein, the front screen area 110 is located at the center of the curved display screen and is used for displaying desktop contents; the side screen area 120 is located at the periphery of the curved display screen, and is indicated by flashing of the side screen area 120, for example: notification information, incoming calls, charging and other prompting information are provided, so that prompting efficiency is improved; and flash prompt can be performed during audio playing, so that the user experience is improved.
How the side screen area is displayed is not limited, and corresponding time can be set, for example: the method comprises the steps of turning off or lighting a screen, notification messages of specific applications, and display styles such as duration, display position, display color, flicker frequency, transparency, brightness, width, gradient effect, surrounding speed and the like.
The following describes embodiments of the present application in detail.
The embodiment of the application provides a charging prompting method and a related product, and the accuracy and the flexibility of charging prompting can be improved.
Referring to fig. 2, an embodiment of the present application provides a flowchart of a charging prompting method, where the method is applied to the electronic device shown in fig. 1A and 1B, that is, the electronic device includes a curved display screen, and the curved display screen includes a front screen area and a side screen area. The application scenario of the method is not limited in the present application, and may include that the electronic device is in a screen-off or screen-locking state during the use of the electronic device. Specifically, as shown in fig. 2, a charging prompting method includes:
s201: and acquiring the residual power and the operation data of the electronic equipment.
In the embodiment of the present application, the remaining power refers to a ratio of available power in the battery to a nominal capacity, and the battery management system may control the operating state of the battery according to the remaining power.
The operation data is used for indicating the current operation data of the electronic equipment, and comprises system operation data and a plurality of application operation data, wherein the system operation data comprises the operation data of application programs (such as time, network, Bluetooth, display screen brightness and other applications) corresponding to the electronic equipment system; each application execution data corresponds to one application, that is, the electronic device currently executes a plurality of applications, which may include a foreground application and a background application.
S202: and determining the residual service life according to the operation data and the residual electric quantity.
The remaining service life is used for indicating the endurance time of the electronic equipment under the condition of not charging.
The method for determining the remaining usage time period is not limited in the present application, and in a possible example, the determining the remaining usage time period according to the operation data and the remaining power includes: determining the estimated operation time length and the preset unit power consumption corresponding to each application operation data in the plurality of application operation data to obtain a plurality of estimated operation time lengths and a plurality of preset unit power consumptions; determining a plurality of first unit power consumptions according to the estimated operation time lengths and the preset unit power consumptions; determining the unit power consumption of the system corresponding to the system operation data; determining a sum of each of the plurality of first unit power consumptions and the system unit power consumption to obtain a plurality of second unit power consumptions; and determining the remaining use time according to the remaining electric quantity and the plurality of second unit electric power consumption.
The estimated running time is an estimated time for running the application running data, for example: the video application running data can be the total playing time length of the currently played video, the total downloading time length of the background downloaded video, or the total time length of the video watched by the user; the game application running data can be estimated time corresponding to the end of the current game or the total time of the user playing the game; but also the display time length of the notification information, etc.
The method for determining the estimated running time length is not limited in the present application, and in a possible example, the plurality of application running data includes target application running data, and determining the estimated running time length corresponding to each application running data in the plurality of application running data to obtain the plurality of estimated running time lengths includes: determining a data type corresponding to the target application running data; determining a current time of the electronic device; and determining the estimated operation time of the target application operation data according to the data type and the current time.
Because the time for users to play games, watch videos and swipe information is often fixed, for example: the method comprises the steps of playing games in a work and rest period, brushing information before sleeping, watching videos on a bus and the like, so that the data type of target application running data and the current time of electronic equipment are determined, then the estimated running time of the target application running data is determined according to the data type and the current time, and the accuracy of determining the estimated running time can be improved.
In this application, the preset unit power consumption amount is the power consumption consumed by the electronic device to operate the application operation data in unit time, and the system unit power consumption amount is the power consumption consumed by the electronic device to operate the system operation data in unit time.
In a possible example, taking target application running data in the application running data as an example, the determining the preset unit power consumption corresponding to each application running data in the application running data to obtain the preset unit power consumptions includes: determining a plurality of power consumption objects corresponding to the target operation data; determining an operating parameter corresponding to each power consumption object in the plurality of power consumption objects to obtain a plurality of operating parameters; determining unit power consumption corresponding to each of the plurality of operating parameters to obtain a plurality of unit power consumption; and determining the sum of the plurality of unit power consumptions as a preset unit power consumption corresponding to the target operation data.
The power consuming object may be hardware or a hardware set corresponding to the operation data, for example: when the video application needs to play sound in the running process, the power consumption object is a loudspeaker; if the game application needs to be rendered during running, the power-consuming object is a Graphics Processing Unit (GPU); when the current position needs to be located during the operation of the map application, the power consuming object is a Global Positioning System (GPS) or the like.
The operation parameters may include voltage, current, electric power, and other parameters, but not limited thereto, and the power consumption per unit time may be determined according to the operation parameters, so that the unit power consumption of each power consumption object may be obtained.
It can be understood that a plurality of power consumption objects corresponding to the target operation data are determined, then the operation parameters of each power consumption object are determined to obtain a plurality of operation parameters, then the unit power consumption corresponding to each operation parameter is determined to obtain a plurality of unit power consumption, and finally the preset unit power consumption corresponding to the target operation data is determined according to the sum of the plurality of unit power consumption.
In the present application, the first unit power consumption amount is a unit power consumption amount in each estimated operation time period, and the second unit power consumption amount is a sum value between each first unit power consumption amount and the system unit power consumption amount, for example: the first unit power consumption in 5 minutes is 2.5%, the first unit power consumption in 5-10 minutes is 2%, the first unit power consumption in 10-60 minutes is 1%, if the system unit power consumption is 0.5%, the second unit power consumption in 5 minutes is 3%, the second unit power consumption in 5-10 minutes is 2.5%, and the first unit power consumption in 10-60 minutes is 1.5%.
The method for determining the first unit power consumption amount is not limited in the present application, and in a possible example, the determining the plurality of first unit power consumption amounts according to the plurality of estimated operation time periods and the plurality of preset unit power consumption amounts includes: determining a reference application running data set corresponding to each estimated running time length in the estimated running time lengths in the application running data to obtain a plurality of reference application running data sets; and taking the sum of preset unit power consumption corresponding to each reference application operation data set in the plurality of reference application operation data sets as the unit power consumption corresponding to the reference application operation data to obtain a plurality of first unit power consumption.
The reference application operation data set corresponding to the estimated operation time length comprises at least one application operation data which is larger than or equal to the estimated operation time length. It can be appreciated that the application execution data within each of the estimated operational time periods can be determined by dividing the estimated operational time periods to obtain the reference application operational data sets, such that the first unit of power consumption can be determined from each of the reference application operational data sets, and thus, accuracy in determining the first unit of power consumption can be improved.
For example, the estimated running time of the first application is 5 minutes, and the preset unit power consumption is 0.5% of power per minute; the estimated running time of the second application is 10 minutes, and the preset unit power consumption is 1% of power per minute; the estimated operation time of the third application is 1 hour, the preset unit power consumption is 1% of electric quantity per minute, it is determined that the corresponding reference application operation data set in 5 minutes comprises the first application, the second application and the third application, it is determined that the corresponding reference application operation data set in 5-10 minutes comprises the second application and the third application, it is determined that the corresponding reference application operation data set in 10-60 minutes comprises the third application, that is, it is determined that the first unit power consumption in 5 minutes is 0.5% + 1% + 2.5%, the first unit power consumption in 5-10 minutes is 1% + 2%, and the first unit power consumption in 10-60 minutes is 1%.
In this application, since the second unit power consumption amount is a unit power consumption amount corresponding to different application operation data and system operation data in a unit time, the remaining usage time period can be determined according to the remaining power amount and the plurality of second unit power consumption amounts.
For example, assume that the second unit of power consumption is 3% in 5 minutes, 2.5% in 5-10 minutes, and 1.5% in 10-60 minutes. If the remaining capacity is 30%, the remaining capacity after 5 minutes is 30% -3% × 5 ═ 15%, the remaining capacity after 10 minutes is 15% -2.5% × (10-5) ═ 7.5%, and 7.5% of the remaining capacity is insufficient for 10(60-50) minutes, and 7.5% of the remaining capacity is usable for 5 minutes, and thus, the remaining use period is determined to be 10+5 ═ 15 minutes.
It can be understood that the estimated operation time length and the preset unit power consumption amount corresponding to each application operation data in the plurality of application operation data are determined to obtain the estimated operation time lengths and the preset unit power consumption amounts, and the system unit power consumption amount corresponding to the system operation data is determined. And finally, determining the residual using time length according to the residual electric quantity and the plurality of second unit electric consumption, thus improving the accuracy of determining the residual using time length.
S203: and if the residual service life is less than a first threshold value, controlling a side screen area to carry out charging prompt aiming at the residual service life.
The first threshold is not limited, and may be a specified duration, or may be determined according to an application environment, for example: when the place in the application environment is a tourist place, the first threshold value is 2 hours because charging is possibly inconvenient; when the location in the application environment is at home, the first threshold is 20 minutes and the like due to the convenience of charging. The first threshold may also be determined from application run data, such as: the application running data is video data, the playing time of the video data is 45 minutes, and the first threshold is determined to be 45 minutes; if the application execution data is game data and the average duration of the game data is 15 minutes, the first threshold value is determined to be 15 minutes, and the like.
In one possible example, the method further comprises: and determining the first threshold value according to the estimated operation time lengths.
The estimated operation time lengths are estimated operation time lengths corresponding to the application operation data.
It can be understood that, in this embodiment, the estimated operation duration corresponding to each application operation data is determined first, and then the first threshold is determined according to the estimated operation duration, so that the first threshold is flexibly set, and the accuracy of determining the first threshold is improved.
In one possible example, the determining the first threshold based on the plurality of estimated operating times includes: determining a priority corresponding to each application running data in the plurality of application running data to obtain a plurality of priorities; determining distribution ratios of the estimated running durations according to the priorities to obtain a plurality of distribution ratios; and determining the first threshold according to the distribution ratio and the estimated running time corresponding to each application running data in the plurality of application running data.
In a possible example, taking target application running data as an example, the determining the priority corresponding to each of the plurality of application running data to obtain a plurality of priorities includes: determining a first reference value corresponding to the data type of the target application running data, and determining a second reference value corresponding to the estimated running duration of the target application running data; carrying out weighted calculation on the first reference value and a preset weight of a data type corresponding to the target application running data, and the second reference value and a preset weight of an estimated running time corresponding to the target application running data to obtain a target reference value; and determining the priority corresponding to the target reference value as the priority corresponding to the target application running data.
The preset weight of the data type corresponding to the target application running data and the preset weight of the estimated running time corresponding to the target application running data are preset, and are not limited herein.
The first reference value and the second reference value are respectively reference values corresponding to the data type and the estimated running time. It can be understood that the target reference value is determined according to the reference value and the preset weight corresponding to the data type and the estimated running time, and then the priority corresponding to the target reference value is used for determining the priority corresponding to the target application running data, so that the accuracy of determining the priority is improved.
It can be understood that the first threshold is determined based on the priority and the estimated running time of each application running data, and the accuracy of determining the first threshold is further improved.
How to prompt the remaining use duration through the side screen area is not limited in the present application, and in one possible example, the controlling of the side screen area to perform the charging prompt for the remaining use duration includes: determining a display style corresponding to the residual service life; and controlling the side screen area to carry out charging prompt on the residual service life according to the display style.
Wherein the display style includes at least one of: display duration, display position, display color, flicker frequency, transparency, brightness, width, gradient effect and surrounding speed.
In the embodiment of the present application, display styles corresponding to different remaining use durations may be predefined, for example: the residual service life is 20 minutes, the color is red, the display position is the whole side screen area, and the surrounding speed is 1 second for one circle; the residual service life is 1 hour, the color is yellow, and the display positions are two sides of the side screen area; the residual service life is longer than 2 hours, the color is green, the gradual change effect is adopted, and the display position is the upper side of the side screen area.
The display style corresponding to the residual service time is determined, the side screen area is controlled to carry out charging prompt on the residual service time according to the display style, so that the display flexibility is improved, the residual service time is determined when a user sees the side screen display, and the user experience is improved.
In one possible example, the display position is determined as the side screen area, that is, all the side screen areas are adopted for charge prompting, so that the prompting efficiency can be improved, and users in all directions can receive charge prompts conveniently.
In the charging prompting method shown in fig. 2, the remaining power and the operating data of the electronic device are acquired, the remaining usage time is determined according to the operating data and the remaining power, and if the remaining usage time is less than a first threshold, the side screen area is controlled to perform charging prompting for the remaining usage time. Therefore, the charging prompt is carried out according to the remaining service life, and the accuracy and the flexibility of the charging prompt are improved.
Referring to fig. 3, an embodiment of the present application provides a flowchart of another charging prompting method, where the method is applied to the electronic device shown in fig. 1A and 1B, that is, the electronic device includes a curved display screen, and the curved display screen includes a front screen area and a side screen area. The application scenario of the method is not limited in the present application, and may include that the electronic device is in a screen-off or screen-locking state during the use of the electronic device. Specifically, as shown in fig. 3, a charging prompting method includes:
s301: the method comprises the steps of obtaining the residual capacity and the operation data of the electronic equipment, wherein the operation data comprises system operation data and a plurality of application operation data.
S302: and determining the residual service life according to the operation data and the residual electric quantity.
S303: and if the residual service life is less than a first threshold value, controlling a side screen area to carry out charging prompt aiming at the residual service life.
The descriptions of steps S201 to S203 can be referred to in steps S301 to S303, and are not repeated herein.
S304: and if the plurality of application running data comprise designated running data, detecting the charging operation within a preset time length.
In the embodiment of the present application, the specific power consumption of the operation data is greater than the second threshold, for example: games, video, audio, bluetooth, etc. For determining the unit power consumption amount of the designated operation data, the method for determining the first unit power consumption amount with reference to the application operation data will not be described herein.
This application does not limit to the operation of charging, can use the charging data line to charge, also can adopt wireless charging mode etc..
The preset duration is not limited, the preset duration can be a specified duration, and the preset duration can also be determined according to the application environment, for example: when the place in the application environment is a tourist place, the preset time is 2 hours because charging is inconvenient; when the application environment is at home, the preset time is 20 minutes due to the convenience of charging.
In one possible example, the method further comprises: determining a current location of the electronic device; determining the charging probability corresponding to the current position; and determining the preset time length according to the charging probability.
The method for determining the current position of the electronic equipment is not limited, and the dimension information of the electronic equipment can be acquired through a GPS chip, so that the position of the electronic equipment is determined; the latitude and longitude information or the address information can also be obtained through Network Location Provider (NLP), wherein the Network includes a mobile data Network, a Wireless-Fidelity (Wi-Fi) Network or a bluetooth Network, etc., that is, when the electronic device accesses at least one of the networks, the Media Access Control (MAC) address information and the Network signal strength of the corresponding Network can be obtained, and the latitude and longitude information or the address information corresponding to the MAC address information is calculated in a networking state; the distance between the equipment and the base station can be calculated through the time of the signals sent by the plurality of receivers receiving equipment arranged on the base station, and the direction of the equipment relative to the base station can be acquired according to the direction of the signals received by the receivers, so that the latitude and longitude information or the address information of the equipment can be acquired.
The method for determining the charging probability of the current location is not limited in the present application, and in one possible example, the determining the charging probability corresponding to the current location includes: if the current position is the appointed position, acquiring a charging record corresponding to the appointed position; determining the charging probability according to the charging record; if the current position is not the designated position, determining the moving speed corresponding to the electronic equipment and the distance between the current position and the designated position; and determining the charging probability according to the distance and the moving speed.
Wherein the specified location is an address where the electronic device has a charging record or an address associated with a charging record, such as: a company, a home, and a certain area have a plurality of power banks, and the power banks are registered by users, and the like.
The method for determining the moving speed of the electronic device is not limited in the present application, and may be determined by the distance between positions in unit time, or by a plurality of three-axis positions acquired by a three-axis acceleration sensor in the electronic device.
It can be understood that if the current position is the designated position, the charging record corresponding to the designated position is obtained, and the charging probability is determined according to the charging record, that is, the charging probability of the designated position is determined, so that the accuracy of determining the charging probability is improved. If the current position is not the designated position, determining the distance between the current position and the designated position and the moving speed of the electronic equipment, determining the charging probability according to the distance and the moving speed, namely determining the time when the current position reaches the designated position, and determining the charging probability according to the time. Therefore, whether the electronic equipment is located at the designated position or not, the corresponding charging probability can be determined, and the preset time length can be conveniently determined according to the charging probability.
In the embodiment of the application, the preset time lengths corresponding to different charging probabilities can be preset, the current position of the electronic equipment is determined, and the charging probability corresponding to the current position is determined, so that the preset time length is determined according to the charging probability, the accuracy and flexibility of determining the preset time length are improved, and the accuracy of charging operation can be detected conveniently according to the preset time length.
S305: and if the charging operation is not detected within the preset time, cleaning at least one application to be cleaned corresponding to the running data or entering a power saving mode corresponding to the running data.
Wherein the application to be cleaned is a temporarily closeable application, for example: in the game application, if the game application is connected with a wireless network, the application to be cleaned is determined to be a wired network connection application and a Bluetooth connection application, and the shopping application and the video application in the background application are both the applications to be cleaned.
The method for determining the application to be cleaned is not limited, the priority of each application running data in the application running data is obtained to obtain a plurality of priorities, and a plurality of system power consumption objects corresponding to the system running data are obtained; obtaining a plurality of correlation values between each system power consumption object in the plurality of system power consumption objects and target application running data in the plurality of application running data; determining the at least one application to be cleaned according to the plurality of associated values and the plurality of priorities.
For the method for determining the priority, reference may be made to the description of the embodiment in fig. 2, and details are not described herein again.
The target application running data is the application running data with the largest priority, and the method for obtaining the correlation value between the system power consumption object and the target application running data is not limited, and can be determined according to a first correlation value between the system power consumption object and the target application running data and a second correlation value between the system power consumption object and the electronic equipment.
It can be understood that the priority of each application running data and the associated value between each system power consumption object and the target application running data are determined, and then at least one application to be cleaned is determined according to the associated values and the priorities, so that after the application to be cleaned is cleaned, the influence on the application running data is small, and system faults are avoided.
In this embodiment of the present application, the power saving mode corresponding to the operation data is used to reduce power consumption, for example: reducing the brightness of the display screen, reducing the sound size or enabling the microphone to collect voice information when a microphone collecting instruction is received, limiting the downloading network speed of the video application and the like.
In the charging prompting method shown in fig. 3, the remaining power and the operating data of the electronic device are acquired, the remaining usage time is determined according to the operating data and the remaining power, and if the remaining usage time is less than a first threshold, the side screen area is controlled to perform charging prompting for the remaining usage time. Therefore, the charging prompt is carried out according to the remaining service life, and the accuracy and the flexibility of the charging prompt are improved. If the application operation data is the designated operation data, the unit power consumption of the designated operation data is greater than the second threshold, and the application operation data needs to be charged as soon as possible under the condition that the remaining service life is less than the first threshold. And if the charging operation is not detected within the preset time, cleaning at least one application to be cleaned corresponding to the running data or entering a power saving mode corresponding to the running data. That is to say, when the application running data is the specified running data and the charging operation is not detected within the specified time, the application to be cleaned is cleaned or the power saving mode is entered, so that the power consumption of the battery is saved, and the endurance time is prolonged.
In one possible example, the method further comprises: and if the preset duration is greater than a third threshold, executing the step of cleaning at least one application to be cleaned corresponding to the running data or entering a power saving mode corresponding to the running data. And if the preset time length is less than or equal to the third threshold value, executing the step of detecting the charging operation within the preset time length.
Wherein a third threshold is not limited, and the third threshold is smaller than the remaining usage time.
That is, when the preset time period is greater than the third threshold value, the at least one application to be cleaned is cleaned regardless of whether the charging operation is detected. And when the preset time length is less than or equal to the third threshold value, detecting the charging operation within the preset time length, if the charging operation is not detected, cleaning the at least one application to be cleaned, so that the cruising ability of the electronic equipment is improved, and if the charging operation is detected, the processing is not carried out.
In one possible example, if the electronic device is in a charging state, determining a charging speed and a remaining capacity of the electronic device; and controlling the side screen area to perform charging display according to the charging speed and the residual capacity.
In the application, display styles such as display colors, flashing frequencies, surrounding speeds or display durations corresponding to different residual capacities or different charging speeds can be preset. For example: the fast charging time is 1 second and one turn, and the slow charging time is 1 second and one half turn.
It can be understood that when the electronic device is in a charging state, the charging speed and the residual capacity of the electronic device are determined, and then the display style of the side screen area is determined according to the charging speed and the residual capacity. So, improved the flexibility that charges and show, and the user is when seeing the side screen display and showing, and clear and definite residual capacity and charging speed improve user experience. If the display position is the side screen area, namely, all the side screen areas are adopted for charging prompt, the prompt efficiency can be improved, and users in all directions can receive the charging prompt conveniently.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a charging prompting device according to an embodiment of the present application, where the charging prompting device is applied to an electronic device, the electronic device includes a curved display screen, and the curved display screen includes a front screen area and a side screen area. As shown in fig. 4, the apparatus 400 includes:
the obtaining unit 401 is configured to obtain remaining power and operation data of the electronic device, where the operation data includes system operation data and multiple application operation data;
the determining unit 402 is configured to determine a remaining usage duration according to the operation data and the remaining power;
the display unit 403 is configured to control the screen measurement area to perform charging prompting according to the remaining usage duration if the remaining usage duration is less than a first threshold.
The method comprises the steps of acquiring the residual electric quantity and the operation data of the electronic equipment, determining the residual service life according to the operation data and the residual electric quantity, and controlling the side screen area to carry out charging prompt aiming at the residual service life if the residual service life is less than a first threshold. Therefore, the charging prompt is carried out according to the remaining service life, and the accuracy and the flexibility of the charging prompt are improved.
In a possible example, in the aspect of determining the remaining usage time according to the operation data and the remaining power amount, the determining unit 402 is specifically configured to determine an estimated operation time and a preset unit power consumption amount corresponding to each of the plurality of application operation data, so as to obtain a plurality of estimated operation times and a plurality of preset unit power consumption amounts; determining a plurality of first unit power consumptions according to the estimated operation time lengths and the preset unit power consumptions; determining the unit power consumption of the system corresponding to the system operation data; determining a sum of each of the plurality of first unit power consumptions and the system unit power consumption to obtain a plurality of second unit power consumptions; and determining the remaining use time according to the remaining electric quantity and the plurality of second unit electric power consumption.
In a possible example, in the aspect of determining the first unit power consumptions according to the estimated operation durations and the preset unit power consumptions, the determining unit 402 is specifically configured to determine a reference application operation data set corresponding to each of the estimated operation durations in the application operation data, so as to obtain a plurality of reference application operation data sets; and taking the sum of preset unit power consumption corresponding to each reference application operation data set in the plurality of reference application operation data sets as the unit power consumption corresponding to the reference application operation data to obtain a plurality of first unit power consumption.
In a possible example, the plurality of application running data includes target application running data, and in the aspect of determining an estimated running time and a preset unit power consumption amount corresponding to each application running data in the plurality of application running data to obtain a plurality of estimated running time and a plurality of preset unit power consumption amounts, the determining unit 402 is specifically configured to determine a data type and a plurality of power consumption objects corresponding to the target application running data; determining a current time of the electronic device; determining the estimated operation duration of the target application operation data according to the data type and the current time; determining an operating parameter corresponding to each power consumption object in the plurality of power consumption objects to obtain a plurality of operating parameters; determining unit power consumption corresponding to each of the plurality of operation parameters to obtain a plurality of unit power consumption; and determining the sum of the plurality of unit power consumptions as a preset unit power consumption corresponding to the target operation data.
In a possible example, the plurality of application running data includes target application running data, and in the aspect of determining an estimated running time and a preset unit power consumption amount corresponding to each application running data in the plurality of application running data to obtain a plurality of estimated running time and a plurality of preset unit power consumption amounts, the determining unit 402 is specifically configured to determine a data type and a plurality of power consumption objects corresponding to the target application running data; determining a current time of the electronic device; determining the estimated operation duration of the target application operation data according to the data type and the current time; determining an operating parameter corresponding to each power consumption object in the plurality of power consumption objects to obtain a plurality of operating parameters; determining unit power consumption corresponding to each of the plurality of operation parameters to obtain a plurality of unit power consumption; and determining the sum of the plurality of unit power consumptions as a preset unit power consumption corresponding to the target operation data.
In one possible example, the determining unit is further configured to determine the first threshold according to the plurality of estimated operation time lengths.
In one possible example, after the controlling the side screen area to charge for the remaining usage period, the apparatus 400 further includes:
the detecting unit 404 is configured to detect a charging operation within a preset time period if the plurality of application running data include specified running data, and unit power consumption of the specified running data is greater than a second threshold;
the processing unit 405 is configured to, if the detection unit 404 does not detect the charging operation within the preset time period, clear at least one application to be cleared corresponding to the operation data or enter a power saving mode corresponding to the operation data.
In one possible example, the determining unit 402 is further configured to determine a current location of the electronic device; determining the charging probability corresponding to the current position; determining the preset time length according to the charging probability; if the preset duration is greater than a third threshold, invoking the processing unit 405 to execute the step of cleaning at least one application to be cleaned corresponding to the operating data or entering a power saving mode corresponding to the operating data, where the third threshold is less than the remaining usage duration; if the preset time is less than or equal to the third threshold, the step of detecting the charging operation within the preset time is executed by calling the detection unit 404.
In a possible example, in terms of the determining the charging probability corresponding to the current position, the obtaining unit 401 is further configured to obtain a charging record corresponding to a specified position if the current position is the specified position; the determining unit 402 is specifically configured to determine the charging probability according to the charging record; if the current position is not the designated position, determining the moving speed corresponding to the electronic equipment and the distance between the current position and the designated position; and determining the charging probability according to the distance and the moving speed.
In one possible example, in terms of the controlling the side screen area to perform charging prompting for the remaining usage duration, the determining unit 402 is further configured to determine a display style corresponding to the remaining usage duration, where the display style at least includes one of: the display time length, the display position, the display color, the flicker frequency, the transparency, the brightness, the width, the gradual change effect and the surrounding speed; the display unit 403 is specifically configured to control the side screen area to perform charging prompt on the remaining usage time according to the display style.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present disclosure, which is consistent with the embodiments shown in fig. 2 and fig. 3, where the electronic device includes a curved display screen, and the curved display screen includes a front screen area and a side screen area. As shown in fig. 5, the electronic device 500 includes a processor 510, a memory 520, a communication interface 530, and one or more programs 540, wherein the one or more programs 540 are stored in the memory 520 and configured to be executed by the processor 510, and the programs 540 include instructions for:
acquiring the remaining power and the operation data of the electronic device 500, wherein the operation data comprises system operation data and a plurality of application operation data;
determining the residual service life according to the operation data and the residual electric quantity;
and if the residual service life is less than a first threshold value, controlling the side screen area to carry out charging prompt aiming at the residual service life.
It can be understood that the remaining power and the operation data of the electronic device 500 are obtained, the remaining usage time is determined according to the operation data and the remaining power, and if the remaining usage time is less than a first threshold, the side screen area is controlled to perform charging prompt for the remaining usage time. Therefore, the charging prompt is carried out according to the remaining service life, and the accuracy and the flexibility of the charging prompt are improved.
In one possible example, in the aspect of determining the remaining usage time according to the operation data and the remaining power, the instructions in the program 540 are specifically configured to:
determining the estimated operation time length and the preset unit power consumption corresponding to each application operation data in the plurality of application operation data to obtain a plurality of estimated operation time lengths and a plurality of preset unit power consumptions;
determining a plurality of first unit power consumptions according to the estimated operation time lengths and the preset unit power consumptions;
determining the unit power consumption of the system corresponding to the system operation data;
determining a sum of each of the plurality of first unit power consumptions and the system unit power consumption to obtain a plurality of second unit power consumptions;
and determining the remaining use time according to the remaining electric quantity and the plurality of second unit electric power consumption.
In one possible example, in the determining the first plurality of unit power consumptions according to the estimated operation time periods and the preset unit power consumptions, the instructions in the program 540 are specifically configured to:
determining a reference application running data set corresponding to each estimated running time length in the estimated running time lengths in the application running data to obtain a plurality of reference application running data sets;
and taking the sum of preset unit power consumption corresponding to each reference application operation data set in the plurality of reference application operation data sets as the unit power consumption corresponding to the reference application operation data to obtain a plurality of first unit power consumption.
In one possible example, the application running data includes target application running data, and in the aspect of determining an estimated running time and a preset unit power consumption amount corresponding to each application running data in the application running data, and obtaining a plurality of estimated running time and a plurality of preset unit power consumption amounts, the instructions in the program 540 are specifically configured to perform the following operations:
determining a data type and a plurality of power consumption objects corresponding to the target application running data;
determining a current time of the electronic device;
determining the estimated operation duration of the target application operation data according to the data type and the current time;
determining an operating parameter corresponding to each power consumption object in the plurality of power consumption objects to obtain a plurality of operating parameters;
determining unit power consumption corresponding to each of the plurality of operation parameters to obtain a plurality of unit power consumption;
and determining the sum of the plurality of unit power consumptions as a preset unit power consumption corresponding to the target operation data.
In one possible example, the instructions in the program 540 are further configured to:
and determining the first threshold value according to the estimated operation time lengths.
In one possible example, after the controlling the side screen region to charge for the remaining usage period, the instructions in the program 540 are further configured to:
if the plurality of application running data comprise designated running data, and the unit power consumption of the designated running data is larger than a second threshold value, detecting charging operation within a preset time length;
and if the charging operation is not detected within the preset time, cleaning at least one application to be cleaned corresponding to the running data or entering a power saving mode corresponding to the running data.
In one possible example, the instructions in the program 540 are further configured to:
determining a current location of the electronic device 500;
determining the charging probability corresponding to the current position;
determining the preset time length according to the charging probability;
if the preset duration is greater than a third threshold, executing the step of cleaning at least one application to be cleaned corresponding to the running data or entering a power saving mode corresponding to the running data, wherein the third threshold is smaller than the remaining use duration;
and if the preset time length is less than or equal to the third threshold value, executing the step of detecting the charging operation within the preset time length.
In one possible example, in terms of the determining the charging probability corresponding to the current location, the instructions in the program 540 are specifically configured to:
if the current position is the appointed position, acquiring a charging record corresponding to the appointed position;
determining the charging probability according to the charging record;
if the current position is not the designated position, determining a moving speed corresponding to the electronic device 500 and a distance between the current position and the designated position;
and determining the charging probability according to the distance and the moving speed.
In one possible example, in the aspect of controlling the side screen area to perform charging prompting for the remaining usage duration, the instructions in the program 540 are specifically configured to perform the following operations:
determining a display style corresponding to the remaining service life, wherein the display style at least comprises one of the following items: the display time length, the display position, the display color, the flicker frequency, the transparency, the brightness, the width, the gradual change effect and the surrounding speed;
and controlling the side screen area to carry out charging prompt on the residual service life according to the display style.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for causing a computer to execute some or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as set out in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and the like.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash memory disks, read only memory, random access memory ("ram"), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (20)

  1. A charging prompting method is applied to electronic equipment, the electronic equipment comprises a curved surface display screen, the curved surface display screen comprises a front screen area and a side screen area, and the method comprises the following steps:
    acquiring the residual electric quantity and the operation data of the electronic equipment, wherein the operation data comprises system operation data and a plurality of application operation data;
    determining the residual service life according to the operation data and the residual electric quantity;
    and if the residual service life is less than a first threshold value, controlling the side screen area to carry out charging prompt aiming at the residual service life.
  2. The method of claim 1, wherein determining a remaining usage time period based on the operational data and the remaining power comprises:
    determining the estimated operation time length and the preset unit power consumption corresponding to each application operation data in the plurality of application operation data to obtain a plurality of estimated operation time lengths and a plurality of preset unit power consumptions;
    determining a plurality of first unit power consumptions according to the estimated operation time lengths and the preset unit power consumptions;
    determining the unit power consumption of the system corresponding to the system operation data;
    determining a sum of each of the plurality of first unit power consumptions and the system unit power consumption to obtain a plurality of second unit power consumptions;
    and determining the remaining use time according to the remaining electric quantity and the plurality of second unit electric power consumption.
  3. The method of claim 2, wherein determining a first plurality of power consumption units based on the estimated operating time periods and the predetermined power consumption units comprises:
    determining a reference application running data set corresponding to each estimated running time length in the estimated running time lengths in the application running data to obtain a plurality of reference application running data sets;
    and taking the sum of preset unit power consumption corresponding to each reference application operation data set in the plurality of reference application operation data sets as the unit power consumption corresponding to the reference application operation data to obtain a plurality of first unit power consumption.
  4. The method according to claim 2 or 3, wherein the plurality of application running data includes target application running data, and the determining an estimated running time length and a preset unit power consumption amount corresponding to each of the plurality of application running data to obtain a plurality of estimated running time lengths and a plurality of preset unit power consumption amounts includes:
    determining a data type and a plurality of power consumption objects corresponding to the target application running data;
    determining a current time of the electronic device;
    determining the estimated operation duration of the target application operation data according to the data type and the current time;
    determining an operating parameter corresponding to each power consumption object in the plurality of power consumption objects to obtain a plurality of operating parameters;
    determining unit power consumption corresponding to each of the plurality of operation parameters to obtain a plurality of unit power consumption;
    and determining the sum of the plurality of unit power consumptions as a preset unit power consumption corresponding to the target operation data.
  5. The method according to any one of claims 2-4, further comprising:
    and determining the first threshold value according to the estimated operation time lengths.
  6. The method of any of claims 1-5, wherein after the controlling the side screen region to charge for the remaining length of use, the method further comprises:
    if the plurality of application running data comprise designated running data, and the unit power consumption of the designated running data is larger than a second threshold value, detecting charging operation within a preset time length;
    and if the charging operation is not detected within the preset time, cleaning at least one application to be cleaned corresponding to the running data or entering a power saving mode corresponding to the running data.
  7. The method of claim 6, further comprising:
    determining a current location of the electronic device;
    determining the charging probability corresponding to the current position;
    determining the preset time length according to the charging probability;
    if the preset duration is greater than a third threshold, executing the step of cleaning at least one application to be cleaned corresponding to the running data or entering a power saving mode corresponding to the running data, wherein the third threshold is smaller than the remaining use duration;
    and if the preset time length is less than or equal to the third threshold value, executing the step of detecting the charging operation within the preset time length.
  8. The method of claim 7, wherein the determining the charging probability corresponding to the current location comprises:
    if the current position is the appointed position, acquiring a charging record corresponding to the appointed position;
    determining the charging probability according to the charging record;
    if the current position is not the designated position, determining the moving speed corresponding to the electronic equipment and the distance between the current position and the designated position;
    and determining the charging probability according to the distance and the moving speed.
  9. The method according to any one of claims 1-8, wherein the controlling the side screen area to perform a charge prompt for the remaining usage duration comprises:
    determining a display style corresponding to the remaining service life, wherein the display style at least comprises one of the following items: the display time length, the display position, the display color, the flicker frequency, the transparency, the brightness, the width, the gradual change effect and the surrounding speed;
    and controlling the side screen area to carry out charging prompt on the residual service life according to the display style.
  10. The utility model provides a charge suggestion device which characterized in that is applied to electronic equipment, electronic equipment includes the curved surface display screen, the curved surface display screen is regional including positive screen region and side screen region, the device includes:
    the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring the residual electric quantity and the operation data of the electronic equipment, and the operation data comprises system operation data and a plurality of application operation data;
    the determining unit is used for determining the residual service life according to the operating data and the residual electric quantity;
    and the display unit is used for controlling the screen testing area to carry out charging prompt aiming at the residual service life if the residual service life is less than a first threshold value.
  11. The apparatus according to claim 10, wherein in the aspect of determining the remaining usage time according to the operation data and the remaining power amount, the determining unit is specifically configured to determine an estimated operation time and a preset unit power consumption amount corresponding to each of the plurality of application operation data, so as to obtain a plurality of estimated operation times and a plurality of preset unit power consumption amounts; determining a plurality of first unit power consumptions according to the estimated operation time lengths and the preset unit power consumptions; determining the unit power consumption of the system corresponding to the system operation data; determining a sum of each of the plurality of first unit power consumptions and the system unit power consumption to obtain a plurality of second unit power consumptions; and determining the remaining use time according to the remaining electric quantity and the plurality of second unit electric power consumption.
  12. The apparatus according to claim 11, wherein, in the determining a plurality of first unit power consumptions according to the plurality of estimated operation durations and the plurality of preset unit power consumptions, the determining unit is specifically configured to determine a reference application operation data set corresponding to each of the plurality of estimated operation durations in the plurality of application operation data, so as to obtain a plurality of reference application operation data sets; and taking the sum of preset unit power consumption corresponding to each reference application operation data set in the plurality of reference application operation data sets as the unit power consumption corresponding to the reference application operation data to obtain a plurality of first unit power consumption.
  13. The apparatus according to claim 11 or 12, wherein the plurality of application running data includes target application running data, and in the determining, an estimated running time and a preset unit power consumption corresponding to each of the plurality of application running data to obtain a plurality of estimated running times and a plurality of preset unit power consumptions, the determining unit is specifically configured to determine a data type and a plurality of power consumptions corresponding to the target application running data; determining a current time of the electronic device; determining the estimated operation duration of the target application operation data according to the data type and the current time; determining an operating parameter corresponding to each power consumption object in the plurality of power consumption objects to obtain a plurality of operating parameters; determining unit power consumption corresponding to each of the plurality of operation parameters to obtain a plurality of unit power consumption; and determining the sum of the plurality of unit power consumptions as a preset unit power consumption corresponding to the target operation data.
  14. The apparatus according to any of claims 11-13, wherein the determining unit is further configured to determine the first threshold value according to the plurality of estimated operating durations.
  15. The apparatus according to any one of claims 10-14, wherein after the controlling the side screen area to charge for the remaining usage period, the apparatus further comprises:
    the detection unit is used for detecting charging operation within a preset time length if the plurality of application running data comprise appointed running data, and the unit power consumption of the appointed running data is larger than a second threshold value;
    and the processing unit is used for cleaning at least one application to be cleaned corresponding to the running data or entering a power saving mode corresponding to the running data if the charging operation is not detected by the detection unit within the preset time length.
  16. The apparatus of claim 15, wherein the determining unit is further configured to determine a current location of the electronic device; determining the charging probability corresponding to the current position; determining the preset time length according to the charging probability; if the preset duration is greater than a third threshold, calling the processing unit to execute the step of cleaning at least one application to be cleaned corresponding to the running data or entering a power saving mode corresponding to the running data, wherein the third threshold is smaller than the remaining use duration; and if the preset time length is less than or equal to the third threshold value, calling the detection unit to execute the step of detecting the charging operation within the preset time length.
  17. The apparatus according to claim 16, wherein in the aspect of determining the charging probability corresponding to the current location, the obtaining unit is further configured to obtain a charging record corresponding to a specified location if the current location is the specified location; the determining unit is specifically configured to determine the charging probability according to the charging record; if the current position is not the designated position, determining the moving speed corresponding to the electronic equipment and the distance between the current position and the designated position; and determining the charging probability according to the distance and the moving speed.
  18. An electronic device comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method of any of claims 1-9.
  19. A computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to perform the method according to any one of claims 1-9.
  20. A computer program product, characterized in that the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform the method according to any one of claims 1-9.
CN201880095611.5A 2018-09-26 2018-09-26 Charging prompting method and related product Pending CN112400308A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/107632 WO2020061824A1 (en) 2018-09-26 2018-09-26 Charging prompt method and related product

Publications (1)

Publication Number Publication Date
CN112400308A true CN112400308A (en) 2021-02-23

Family

ID=69951015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880095611.5A Pending CN112400308A (en) 2018-09-26 2018-09-26 Charging prompting method and related product

Country Status (2)

Country Link
CN (1) CN112400308A (en)
WO (1) WO2020061824A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103430A (en) * 2022-08-26 2022-09-23 南昌龙旗信息技术有限公司 Electric quantity monitoring method, device, equipment and storage medium of wearable equipment
CN116320732A (en) * 2023-04-18 2023-06-23 广州市宏视电子技术有限公司 Solar camera control method and device, solar camera and storage medium
CN117496677A (en) * 2023-12-29 2024-02-02 深圳市明心数智科技有限公司 Real-time early warning method and related device for vehicle

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103199310A (en) * 2013-02-05 2013-07-10 北京奇虎科技有限公司 Battery power guaranteeing method and battery power guaranteeing apparatus for portable electronic product, and mobile terminal
JP2014204184A (en) * 2013-04-02 2014-10-27 シャープ株式会社 Portable terminal and control method thereof
CN104572410A (en) * 2015-01-28 2015-04-29 深圳市中兴移动通信有限公司 Terminal and low-power prompting method for same
CN105100429A (en) * 2015-06-08 2015-11-25 北京金山安全软件有限公司 Method and device for determining use time of residual electric quantity of mobile terminal
CN106302965A (en) * 2015-05-29 2017-01-04 北京智谷睿拓技术服务有限公司 Charging opportunity information determines method and apparatus
CN106375561A (en) * 2016-08-29 2017-02-01 上海摩软通讯技术有限公司 Mobile terminal and method of detecting surplus use time thereof
CN106453841A (en) * 2016-09-13 2017-02-22 广东小天才科技有限公司 Method for automatically reminding charging of smart phone and smart phone
CN106604373A (en) * 2016-11-28 2017-04-26 深圳市金立通信设备有限公司 Method for managing power consumption and terminal
CN106896894A (en) * 2015-12-21 2017-06-27 北京奇虎科技有限公司 Terminal power management method and terminal
CN107463435A (en) * 2017-07-31 2017-12-12 广东欧珀移动通信有限公司 Application process priority management method, apparatus, storage medium and electronic equipment
CN107689671A (en) * 2017-08-31 2018-02-13 珠海格力电器股份有限公司 Power consumption control method and device
CN107835311A (en) * 2017-10-31 2018-03-23 广东欧珀移动通信有限公司 application management method, device, storage medium and electronic equipment
CN107889203A (en) * 2017-11-27 2018-04-06 珠海市魅族科技有限公司 A kind of electricity saving method, device, computer installation and computer-readable recording medium
CN108108294A (en) * 2017-12-29 2018-06-01 北京奇虎科技有限公司 A kind of method and system that customization operation data are obtained according to fiducial time
CN108155683A (en) * 2017-12-07 2018-06-12 北京小米移动软件有限公司 Reminding method and device, the electronic equipment of charged state
CN108205451A (en) * 2018-01-05 2018-06-26 广东欧珀移动通信有限公司 application management method, device, storage medium and electronic equipment

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103199310A (en) * 2013-02-05 2013-07-10 北京奇虎科技有限公司 Battery power guaranteeing method and battery power guaranteeing apparatus for portable electronic product, and mobile terminal
JP2014204184A (en) * 2013-04-02 2014-10-27 シャープ株式会社 Portable terminal and control method thereof
CN104572410A (en) * 2015-01-28 2015-04-29 深圳市中兴移动通信有限公司 Terminal and low-power prompting method for same
CN106302965A (en) * 2015-05-29 2017-01-04 北京智谷睿拓技术服务有限公司 Charging opportunity information determines method and apparatus
CN105100429A (en) * 2015-06-08 2015-11-25 北京金山安全软件有限公司 Method and device for determining use time of residual electric quantity of mobile terminal
CN106896894A (en) * 2015-12-21 2017-06-27 北京奇虎科技有限公司 Terminal power management method and terminal
CN106375561A (en) * 2016-08-29 2017-02-01 上海摩软通讯技术有限公司 Mobile terminal and method of detecting surplus use time thereof
CN106453841A (en) * 2016-09-13 2017-02-22 广东小天才科技有限公司 Method for automatically reminding charging of smart phone and smart phone
CN106604373A (en) * 2016-11-28 2017-04-26 深圳市金立通信设备有限公司 Method for managing power consumption and terminal
CN107463435A (en) * 2017-07-31 2017-12-12 广东欧珀移动通信有限公司 Application process priority management method, apparatus, storage medium and electronic equipment
CN107689671A (en) * 2017-08-31 2018-02-13 珠海格力电器股份有限公司 Power consumption control method and device
CN107835311A (en) * 2017-10-31 2018-03-23 广东欧珀移动通信有限公司 application management method, device, storage medium and electronic equipment
CN107889203A (en) * 2017-11-27 2018-04-06 珠海市魅族科技有限公司 A kind of electricity saving method, device, computer installation and computer-readable recording medium
CN108155683A (en) * 2017-12-07 2018-06-12 北京小米移动软件有限公司 Reminding method and device, the electronic equipment of charged state
CN108108294A (en) * 2017-12-29 2018-06-01 北京奇虎科技有限公司 A kind of method and system that customization operation data are obtained according to fiducial time
CN108205451A (en) * 2018-01-05 2018-06-26 广东欧珀移动通信有限公司 application management method, device, storage medium and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103430A (en) * 2022-08-26 2022-09-23 南昌龙旗信息技术有限公司 Electric quantity monitoring method, device, equipment and storage medium of wearable equipment
CN116320732A (en) * 2023-04-18 2023-06-23 广州市宏视电子技术有限公司 Solar camera control method and device, solar camera and storage medium
CN116320732B (en) * 2023-04-18 2023-12-05 广州市宏视电子技术有限公司 Solar camera control method and device, solar camera and storage medium
CN117496677A (en) * 2023-12-29 2024-02-02 深圳市明心数智科技有限公司 Real-time early warning method and related device for vehicle
CN117496677B (en) * 2023-12-29 2024-03-26 深圳市明心数智科技有限公司 Real-time early warning method and related device for vehicle

Also Published As

Publication number Publication date
WO2020061824A1 (en) 2020-04-02

Similar Documents

Publication Publication Date Title
CN107800651B (en) Application program closing method and device, storage medium and electronic equipment
CN107809542B (en) Application program control method and device, storage medium and electronic equipment
CN108112063B (en) Power management method, power management device, terminal and readable storage medium
CN106993227B (en) Method and device for information display
CN107277230B (en) Voice broadcasting method of message and related product
CN107634952B (en) Method and device for determining brushing amount resource, service equipment, mobile terminal and storage medium
CN106911848B (en) Method for outputting prompt message and terminal equipment
JP2020537213A (en) Methods for reducing terminal power consumption, and terminals
JP2018500811A (en) Power management method and power management apparatus for user equipment
CN108777741B (en) Antenna switching control method and related product
CN107317918B (en) Parameter setting method and related product
CN112400308A (en) Charging prompting method and related product
WO2018040844A1 (en) Method, device, and apparatus for voice control based on vehicle multimedia apparatus
CN108111679A (en) The anti-interference method and Related product of electronic device
CN108334345A (en) Applied program processing method, device, readable storage medium storing program for executing and mobile terminal
CN111008090B (en) Battery electric quantity control method and device, storage medium and terminal equipment
CN110876197A (en) Updating method of carrier aggregation and related product
CN106302101B (en) Message reminding method, terminal and server
CN107832131B (en) Application program closing method and device, storage medium and electronic equipment
JP2022008797A (en) Method for reducing power consumption of terminal, and terminal
CN107291328B (en) Interface display method and related product
CN110827785B (en) Brightness adjusting method and related product
CN110162369B (en) Wearable device, icon arrangement method thereof and computer readable storage medium
CN107222644A (en) Incoming call blocking method, device and mobile terminal
CN112312542B (en) Ephemeris information collection method, device, storage medium and mobile 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210223