WO2020061816A1 - Charging prompting method and related product - Google Patents

Charging prompting method and related product Download PDF

Info

Publication number
WO2020061816A1
WO2020061816A1 PCT/CN2018/107616 CN2018107616W WO2020061816A1 WO 2020061816 A1 WO2020061816 A1 WO 2020061816A1 CN 2018107616 W CN2018107616 W CN 2018107616W WO 2020061816 A1 WO2020061816 A1 WO 2020061816A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
electronic device
power
determining
charging
Prior art date
Application number
PCT/CN2018/107616
Other languages
French (fr)
Chinese (zh)
Inventor
康莉
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
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 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to CN201880095650.5A priority Critical patent/CN112438007B/en
Priority to PCT/CN2018/107616 priority patent/WO2020061816A1/en
Publication of WO2020061816A1 publication Critical patent/WO2020061816A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries

Definitions

  • the present application relates to the technical field of electronic devices, and in particular, to a charging prompt method and related products.
  • an embodiment of the present application provides a charging prompt method applied to an electronic device, where the electronic device includes a curved display screen, the curved display screen includes a front screen area and a side screen area, and the method includes:
  • the electronic device If the electronic device is in a charging state, and the electronic device meets a preset power display condition, obtaining the remaining power of the electronic device;
  • the display parameter including at least one of the following: display duration, display color, flicker frequency, transparency, brightness, width, gradient effect, and surround effect;
  • an embodiment of the present application provides a charging prompting device applied to an electronic device.
  • the electronic device includes a curved display screen, the curved display screen includes a front screen area and a side screen area, and the device includes:
  • An obtaining unit configured to obtain the remaining power of the electronic device if the electronic device is in a charging state and the electronic device meets a preset power display condition
  • a determining unit configured to determine a target area and a display parameter in the side screen area according to the remaining power, the display parameter including at least one of the following: display duration, display color, blinking frequency, transparency, brightness, width, and gradient Effects, surround effects;
  • a display unit is configured to control the target area to display the remaining power according to the display parameter.
  • an embodiment of the present application provides an electronic device including a processor, a memory, a communication interface, and one or more programs.
  • the one or more programs are stored in the memory, and are configured by the above.
  • the processor executes the program including instructions for some or all of the steps as described in the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program causes a computer to execute the program as described in the first aspect of the embodiment of the application. Describe some or all of the steps.
  • an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute Some or all of the steps described in the first aspect of the embodiment of the application.
  • the computer program product can be a software installation package.
  • FIG. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 1B is a schematic diagram of a scene of a coordinate axis of an electronic device according to an embodiment of the present application
  • FIG. 1C is a schematic structural diagram of another electronic device according to an embodiment of the present application.
  • FIG. 2A is a schematic flowchart of a charging prompt method according to an embodiment of the present application.
  • 2B is a schematic diagram of a scenario of an electronic device according to an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a charging prompt 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 application.
  • FIG. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
  • an embodiment herein means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application.
  • the appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they independent or alternative embodiments that are mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
  • the electronic devices involved in the embodiments of the present application may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, and various forms of user devices (User Equipment (UE), mobile station (MS), terminal device (terminal), and so on.
  • UE User Equipment
  • MS mobile station
  • terminal terminal
  • electronic devices the devices mentioned above are collectively referred to as electronic devices.
  • FIG. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • 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 circuit may include a storage and processing circuit.
  • the storage circuit in the storage and processing circuit may be a memory, such as a hard disk drive memory, a non-volatile memory (such as a flash memory or other electronic programmable read-only memory used to form a solid-state drive, etc.), a volatile memory (such as a static Or dynamic random access memory, etc.), this embodiment is not limited.
  • the processing circuit in the storage and processing circuit can be used to control the operation of the electronic device.
  • the processing circuit can 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 circuit can be used to run software in an electronic device, such as playing an incoming call alert ringing application, playing a short message alert ringing application, playing an alarm alert ringing application, playing a media file application, Internet protocol voice (voice Over Internet Protocol (VOIP) telephone calling applications, operating system functions, etc.
  • These software can be used to perform some control operations, for example, playing a call alert ring, playing a short message alert ring, playing an alarm alert ring, playing a media file, making a voice phone call, and other functions in an electronic device.
  • the examples are not limited.
  • the input-output circuit can be used to enable the electronic device to implement data input and output, that is, to allow the electronic device to receive data from an external device and to allow the electronic device to output data from the electronic device to the external device.
  • the input-output circuit may further include a sensor.
  • the sensor may include an ambient light sensor, an infrared proximity sensor based on light and capacitance, an ultrasonic sensor, and a touch sensor (for example, a light touch sensor and / or a capacitive touch sensor, where the touch sensor may be part of a touch display screen, or Can be used independently as a touch sensor structure), acceleration sensor, gravity sensor, and other sensors.
  • the input-output circuit may further include an audio component, and the audio component may be used to provide audio input and output functions for the electronic device.
  • the audio component may also include a tone generator and other components for generating and detecting sound.
  • the senor also includes a three-axis acceleration sensor that can measure spatial acceleration and is used to measure the attitude and tilt angle of the electronic device. In addition to automatically switching the horizontal and vertical display angles, it can also be used in the global positioning system. , GPS) signal is not good, it is used for motion offset compensation calculation, which can fully and accurately reflect the motion properties of the object.
  • FIG. 1B is a schematic diagram of a scene where a three-dimensional acceleration sensor determines a coordinate axis of an electronic device.
  • the x-axis, y-axis, and z-axis are relative to the body of the electronic device.
  • the y-axis body is upward
  • the x-axis body is right
  • the z-axis is perpendicular to the front of the fuselage.
  • the same direction of gravity The horizontal component, vertical component, and vertical component are generally a unit of gravity (the size is 1g (m * m / s), the direction is perpendicular to the ground downward), and the projection on each axis.
  • the horizontal component corresponds to the value on the x-axis
  • the vertical component corresponds to the value on the y-axis
  • the vertical component corresponds to the value on the z-axis.
  • the lateral tilt angle is the angle between the x-axis and the horizontal plane
  • the longitudinal tilt angle is the y-axis. Angle with horizontal plane.
  • the x-axis defaults to 0, the y-axis defaults to 0, and the z-axis defaults to 9.81; place the electronic device on the desktop with the z-axis at -9.81; tilt the electronic device to the left, x The axis is positive; tilt the electronic device to the right and the x-axis is negative; tilt the electronic device upwards and the y-axis is negative; tilt the electronic device downwards and the y-axis is positive; set the z-axis to less than -3 In this case, the touch screen of the electronic device faces downward.
  • the input-output circuit may also include one or more curved display screens.
  • the curved display may include one or a combination of a liquid crystal display, an organic light emitting diode display, an electronic ink display, a plasma display, and a display using other display technologies.
  • the curved display may include an array of touch sensors (ie, the display may be a touch display).
  • the touch sensor can be a capacitive touch sensor formed by a transparent array of touch sensor electrodes (such as indium tin oxide (ITO) electrodes), or it can be a touch sensor formed using other touch technologies, such as sonic touch, pressure-sensitive touch, resistance Touch, optical touch, etc. are not limited in the embodiments of the present application.
  • the input-output circuit can further include a communication circuit that can be used to provide the electronic device with the ability to communicate with external devices.
  • the communication circuit may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and / or optical signals.
  • the wireless communication circuit in the communication circuit may include a radio frequency transceiver circuit, a power amplifier circuit, a low noise amplifier, a switch, a filter, and an antenna.
  • the wireless communication circuit in the communication circuit may include a circuit for supporting near field communication (NFC) by transmitting and receiving a near field coupled electromagnetic signal.
  • the communication circuit may include a near field communication antenna and a near field communication transceiver.
  • the communication circuit may also include a cellular phone transceiver and antenna, a wireless local area network transceiver circuit and antenna, and the like.
  • the input-output circuit may further include an input-output unit.
  • the input-output unit may include a button, a joystick, a click wheel, a scroll wheel, a touch pad, a keypad, a keyboard, a camera, a light emitting diode, and other status indicators.
  • the electronic device may further include a battery (not shown), and the battery is used to provide power to the electronic device.
  • FIG. 1C is a schematic structural diagram of another electronic device according to an embodiment of the present application.
  • the electronic device 100 includes a curved display screen 110 and an ambient light sensor 120.
  • the curved display screen 110 includes a front screen region 111 and a side screen region 112.
  • the front screen area 111 is located at the center of the curved display screen 110 for displaying desktop content; the side screen area 112 is located at the periphery of the curved display screen 110 for light prompts, such as notification information, incoming calls, charging, etc. Prompt information to improve prompt efficiency; flash prompts can also be provided during audio playback to improve user experience.
  • This application does not limit how the side screen area 112 is displayed.
  • the corresponding timing can be set, for example, the screen is turned off or on, the notification message for a specific application, and the duration, display position, display color, flicker frequency, transparency, and brightness can be displayed. , Width, gradient effect, surround speed and other display styles.
  • the ambient light sensor 120 is used to sense the ambient light conditions to obtain ambient light parameters, such as ambient brightness and ambient color.
  • the electronic device 100 automatically adjusts the backlight brightness of the curved display screen 110 according to the ambient light parameters obtained by the ambient light sensor 120 to reduce the power consumption of the product.
  • the embodiments of the present application provide a charging prompting method and related products, which can display the remaining power and improve the accuracy and flexibility of prompting the remaining power.
  • a charging prompt method includes:
  • the preset power display conditions include one of the following: the charging time of the electronic device is an integer multiple of the first threshold, and the remaining power is the first An integer multiple of two thresholds, the remaining power is greater than or equal to a third threshold, the electronic device is in a preset posture, and the electronic device receives notification information.
  • the remaining power refers to the ratio of the available power in the battery to the nominal capacity, and the battery management system can control the working state of the battery according to the remaining power.
  • This application does not limit the first threshold, the second threshold, or the third threshold.
  • the first threshold is 10 minutes and the charging start time is 8:22, the remaining power is prompted every 10 minutes, for example: 8:32, 8:42, etc .
  • the second threshold is 10% , The remaining power at the beginning of charging is 19%, then every 10% increase in the remaining power prompts the remaining power, such as: 29%, 39%, 49%, etc .
  • the third threshold can be 100%, or sufficient power, for example: 60 %, 80%, etc., so it can indicate that the battery is sufficient.
  • a tri-axis acceleration sensor in the electronic device can be used to determine the posture of the electronic device. If the posture is successfully matched with the preset posture, it is detected that the electronic device meets the preset power display condition.
  • the application does not limit the type of notification information, and may be instant messaging information, email, or push information of a third-party application.
  • the remaining power is an integer multiple of the second threshold, the remaining power is greater than or equal to a third threshold, and the electronic device is in a preset posture
  • the electronic device receives at least one condition in the notification information, it is determined that the electronic device meets a preset power display condition.
  • S202 Determine a target area and a display parameter in the side screen area according to the remaining power.
  • determining the target area in the side screen area according to the remaining power includes: determining a display length of the side screen area; The remaining power determines a target display length corresponding to the display length; and determines the target area corresponding to the target display length according to an association relationship between a preset display length and a region.
  • the target area is a side screen area displaying remaining power
  • the display length of the side screen area is the length of the displayable area.
  • the display length is (L1 + L2) * 2 , Where L1 is the width of the curved display and L2 is the length of the curved display.
  • the relationship between the display length and the area is stored in advance. In this way, if the area displays the remaining power, the remaining power can be determined according to the display length corresponding to the area, and the user can quickly determine the amount of remaining power.
  • the target display length is 25% of the display length, that is, the area corresponding to the 25% display length is the target area.
  • the oblique line indicates the target area. The user can quickly determine the remaining power through the target area.
  • the display length of the side screen area is determined, the target display length corresponding to the display length is determined according to the remaining power, and the target display length corresponding to the target display length is determined according to a preset relationship between the display length and the area.
  • the target area In other words, the target display length is determined based on the remaining power.
  • the ratio between the target display length and the display length is equal to the remaining power. In this way, according to the target area corresponding to the target display length, the remaining power is displayed, and the user can quickly obtain the remaining power. Battery.
  • the target area can be a fixed area, as shown in FIG. 2B, or it can be a sliding area, that is, to move according to the surround effect in the display parameters. For example, each target area is displayed for 1 second until it surrounds the entire area. Larger than a side screen area.
  • the display parameters include at least one of the following: display duration, display color, flicker frequency, transparency, brightness, width, gradient effect, and surround effect.
  • a display style corresponding to different remaining power can be defined in advance, for example, the remaining power is less than 20%, the display color is red, and the gradient effect is that the red light flows in a clockwise direction, and the flow direction speed is 1 second Circle; the remaining power is between 20% and 50%, the display color is yellow, and the gradient effect is yellow light flowing in a clockwise direction with a flow direction of 1 second; the remaining power is greater than 50%, the color is green, and the flashing frequency is 2 times per second.
  • the electronic device further includes an ambient light sensor, and determining the display parameters based on the remaining power includes: The reference color determines the background color of the touch display; obtains the ambient light parameters through the ambient light sensor; and selects the display color from the multiple reference colors according to the background color and the ambient light parameters.
  • various reference colors corresponding to different remaining power are set in advance, for example: the remaining power is less than 20%, the display color is light red, red, and purple; the remaining power is between 20% and 50%, and the display color is yellow, Orange and brown; the remaining power is greater than 50%, and the colors are green, blue and cyan.
  • the background color is the display color of the touch display, for example: under a black screen, the background color is black, and under a bright screen, the background color is the color of the background desktop.
  • ambient light sensors can be used to obtain ambient light parameters, that is, to determine the intensity and color of light in the environment.
  • a background color of the touch display is determined, and ambient light parameters are obtained through the ambient light sensor, and then according to the background color and the environment, The light parameter selects the display color from the plurality of reference colors. That is, the display color of the target area is determined according to the ambient light parameter and the background color, so that the display is not obvious due to the background color and the ambient light parameter, and the display efficiency is improved.
  • S203 Control the target area to display the remaining power according to the display parameter.
  • the remaining power of the electronic device is obtained, and the side screen is determined according to the remaining power.
  • a target area and a display parameter in the area, and the target area is controlled to display the remaining power according to the display parameter.
  • the method further includes: controlling the front screen area to display a number corresponding to the remaining power. In this way, the accuracy of determining the remaining power is further improved.
  • an embodiment of the present application provides a schematic flowchart of another charging prompt method.
  • the method is applied to the electronic device shown in FIG. 1A and FIG. 1B, that is, the electronic device includes a curved display screen, and the curved display screen includes Front screen area and side screen area.
  • a charging prompt method includes:
  • S302 Determine a target area in the side screen area according to the remaining power.
  • steps S301-S302 reference may be made to the description of steps S201-S202, and details are not described herein again.
  • S303 Determine a first charging speed of the electronic device.
  • the first charging speed is a current charging speed of the electronic device.
  • determining the first charging speed of the electronic device includes: determining operating data and an average input power of the electronic device; The average output power corresponding to the operating data; and determining the first charging speed according to a difference between the average input power and the average output power.
  • the running data is used to indicate data currently running on the electronic device, including system running data and application running data, where the system running data includes application programs corresponding to the electronic device system (for example, time, network, Bluetooth, Application data such as display brightness, application operation data includes data that is run when the foreground application is running, and also includes data that needs to be run when the background application is refreshed.
  • system running data includes application programs corresponding to the electronic device system (for example, time, network, Bluetooth,
  • Application data such as display brightness
  • application operation data includes data that is run when the foreground application is running, and also includes data that needs to be run when the background application is refreshed.
  • the average input power is the average value of the charging power of the electronic device
  • the average output power is the average value of the power consumption of the electronic device.
  • the operating data and the average input power of the electronic device are determined, the average output power corresponding to the operation data is determined, and then the difference between the average input power and the average output power is determined, so that according to the The difference determines the first charging speed. In this way, considering the input power and output power, the accuracy of determining the first charging speed is improved.
  • This application does not limit the method for determining the average input power, and can determine the input AC voltage, the limit input power, and the stability of the power supply.
  • determining the average output power of the operation data includes: determining a plurality of power consumption objects corresponding to the operation data; and determining the plurality of power consumptions.
  • a plurality of operating parameters are obtained from the running parameters corresponding to each power consumption object in the object; determining a preset power consumption corresponding to each running parameter of the plurality of running parameters to obtain a plurality of preset power consumptions; The preset power consumption determines the average output power.
  • the power consumption object can be the hardware or hardware collection corresponding to the running data.
  • the power consumption object is a speaker; if a game application requires screen rendering during the running process, the power consumption object is Graphics Processing Unit (GPU); if the current position needs to be located during the running of the map application, the power consumption object is the GPS module and so on.
  • GPU Graphics Processing Unit
  • the operating parameters may include parameters such as voltage, current, and electric power, which are not limited here.
  • the plurality of power consumption objects corresponding to the operation data are determined, and then the operation parameters of each power consumption object are determined to obtain a plurality of operation parameters, and the preset power consumption corresponding to each operation parameter is determined to obtain a plurality of preset power consumption , And then determine the average output power based on multiple preset power consumptions. That is, determining the preset power consumption of each power consumption object and determining the average output power according to multiple preset power consumptions can improve the accuracy of determining the average output power.
  • S304 Determine a display parameter according to the first charging speed and the remaining power.
  • display parameters corresponding to different charging speeds may be preset. For example: 1 lap per second during fast charge and 1 1/2 sec during slow charge.
  • step S202 For the method for determining the display parameter according to the remaining power, refer to step S202, and details are not described herein again. It can be understood that the display parameter is determined according to the first charging speed and the remaining power, and the display parameter can reflect the charging speed and the remaining power of the electronic device, which is convenient for improving the user experience.
  • S305 Control the target area to display the remaining power according to the display parameters.
  • the remaining power of the electronic device is obtained, and the side screen is determined according to the remaining power.
  • a target area in the area determines a first charging speed of the electronic device, determines a display parameter according to the first charging speed and the remaining power, and controls the target area to display the remaining power according to the display parameter.
  • the method further includes: displaying an estimated charging time according to the first charging speed and the remaining power; receiving a fast charge instruction for the estimated charging time; The fast charging operation obtains the second charging speed; and the side screen area is controlled to display the second charging speed.
  • the method of displaying the estimated time is not limited, and it can be displayed on the horizontal bar area of the curved display screen, that is, above the side screen area, and can also be displayed in the form of a pop-up window, and can also be displayed according to the display parameters of the target area.
  • a method of controlling the side screen area to display the second charging speed a method of determining a display parameter with reference to the first charging speed may be referred to, and details are not described herein again.
  • the estimated charging time is first determined according to the first charging speed and the remaining power, and the estimated charging time is displayed. In this way, the user can determine whether to perform fast charging according to the estimated charging time. If a fast charging instruction for the estimated charging time is received, a fast charging operation is performed on the electronic device to obtain a second charging speed to control the side. The second charging speed is displayed in the screen area, and the user can determine whether to increase the charging speed according to the display in the side screen area, which improves the charging efficiency.
  • the running data includes system running data and application running data
  • performing a fast charging operation on the electronic device to obtain a second charging speed includes determining The association value between each of the plurality of power consumption objects and the application running data is used to obtain a plurality of association values; and at least one corresponding to the plurality of power consumption objects to be cleared is determined according to the plurality of association values.
  • the correlation value is related to whether the shutdown of the power consumption object affects the running of the application running data.
  • the correlation value between each power consumption object and the application running data is determined to obtain multiple correlation values, and then at least one object to be cleaned is determined according to the multiple correlation values. After all the objects to be cleaned are cleaned, The charging speed is increased from the first charging speed to the second charging speed, thereby achieving fast charging.
  • FIG. 4 is a schematic structural diagram of a charging prompting device provided in an embodiment of the present application.
  • the charging prompting device is applied to an electronic device, and the electronic device includes A curved display screen including a front screen area and a side screen area.
  • the above apparatus 400 includes:
  • the obtaining unit 401 is configured to obtain the remaining power of the electronic device if the electronic device is in a charging state and the electronic device meets a preset power display condition;
  • the determining unit 402 is configured to determine a target area and a display parameter in the side screen area according to the remaining power, and the display parameter includes at least one of the following: display duration, display color, blinking frequency, transparency, brightness, width, and gradient Effects, surround effects;
  • the display unit 403 is configured to control the target area to display the remaining power according to the display parameter.
  • the electronic device is in a charging state and the electronic device meets a preset power display condition, obtaining the remaining power of the electronic device, and determining a target area and a display parameter in the side screen area according to the remaining power, Controlling the target area to display the remaining power according to the display parameter.
  • the remaining power can be displayed, which improves the accuracy and flexibility of the remaining power reminder.
  • the determining unit 402 in determining the target area in the side screen area according to the remaining power, is specifically configured to determine a display length of the side screen area; according to the remaining power Determining a target display length corresponding to the display length; and determining the target area corresponding to the target display length according to an association relationship between a preset display length and a region.
  • the electronic device further includes an ambient light sensor.
  • the determining unit 402 is specifically configured to determine multiple reference colors corresponding to the remaining power. Determining a background color of the touch display screen; obtaining an ambient light parameter through the ambient light sensor; and selecting the display color from the plurality of reference colors according to the background color and the ambient light parameter.
  • the determining unit 402 in determining the display parameter according to the remaining power, is specifically configured to determine a first charging speed of the electronic device; according to the first charging speed and the remaining The amount of power determines the display parameter.
  • the determining unit 402 in determining the first charging speed of the electronic device, is specifically configured to determine operating data and an average input power amount of the electronic device; determine that the operating data corresponds to Average output power; determining the first charging speed according to a difference between the average input power and the average output power.
  • the determining unit 402 is specifically configured to determine a plurality of power consumption objects corresponding to the operation data; determine the plurality of power consumption The operating parameters corresponding to each power consumption object in the object are used to obtain a plurality of operating parameters; the preset power consumption corresponding to each of the plurality of operating parameters is determined to obtain a plurality of preset power consumptions; A plurality of preset power consumptions determine the average output power.
  • the display unit 403 is further configured to display an estimated charging duration according to the first charging speed and the remaining power;
  • the apparatus 400 further includes:
  • a receiving unit 404 configured to receive a fast charging instruction for the estimated charging duration
  • the fast charging unit 405 is configured to perform a fast charging operation on the electronic device to obtain a second charging speed; and the display unit controls the side screen area to display the second charging speed.
  • the preset power display condition includes one of the following: the charging time of the electronic device is an integer multiple of a first threshold, the remaining power is an integer multiple of a second threshold, and the remaining power Is greater than or equal to a third threshold, the electronic device is in a preset posture, and the electronic device receives notification information.
  • FIG. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
  • the electronic device includes a curved display screen, and the curved display screen. Including the front screen area and the side screen area.
  • the electronic device 500 includes a processor 510, a memory 520, a communication interface 530, and one or more programs 540.
  • the one or more programs 540 are stored in the memory 520, and are configured by The processor 510 executes, and the program 540 includes instructions for performing the following steps:
  • the electronic device 500 If the electronic device 500 is in a charging state, and the electronic device 500 meets a preset power display condition, obtaining the remaining power of the electronic device 500;
  • the display parameter including at least one of the following: display duration, display color, flicker frequency, transparency, brightness, width, gradient effect, and surround effect;
  • the remaining power of the electronic device 500 is obtained, and a target area and a target area in the side screen area are determined according to the remaining power
  • the display parameter controls the target area to display the remaining power according to the display parameter. In this way, when the electronic device 500 is in a charging state and meets a preset power display condition, the remaining power can be displayed, thereby improving the accuracy and flexibility of the remaining power reminder.
  • the instructions in the program 540 are specifically used to perform the following operations:
  • the target area corresponding to the target display length is determined according to a preset relationship between the display length and the area.
  • the electronic device 500 further includes an ambient light sensor.
  • the instructions in the program 540 are specifically used to perform the following operations:
  • the instructions in the program 540 are specifically used to perform the following operations:
  • the instructions in the program 540 are specifically configured to perform the following operations:
  • the first charging speed is determined according to a difference between the average input power and the average output power.
  • the instructions in the program 540 are specifically used to perform the following operations:
  • the average output power is determined according to the plurality of preset power consumptions.
  • the instructions in the program 540 are also used to perform the following operations:
  • the operation data includes system operation data and application operation data.
  • the instructions in the program 540 are specifically used To do the following:
  • the preset power display condition includes one of the following: the charging time of the electronic device 500 is an integer multiple of a first threshold, the remaining power is an integer multiple of a second threshold, and the remaining The power amount is greater than or equal to a third threshold, the electronic device 500 is in a preset posture, and the electronic device 500 receives notification information.
  • An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores and stores a computer program, and the computer program causes a computer to perform part or all of the steps of any method described in the foregoing method embodiments.
  • the computer includes electronic equipment.
  • An embodiment of the present application further provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform the operations described in the foregoing method embodiments. Part or all of the steps of any method.
  • the computer program product may be a software installation package, and the computer includes an electronic device.
  • the disclosed device may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or may Integration into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
  • the integrated unit When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable memory.
  • the technical solution of the present application essentially or part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory.
  • a computer device which may be a personal computer, a server, or a network device, etc.
  • the foregoing memory includes: a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk, and other media that can store program codes.
  • the program may be stored in a computer-readable memory, and the memory may include a flash disk , Read-only memory, random access device (, disk or optical disk, etc.).

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A charging prompting method and a related product, the method being used in an electronic device, the electronic device comprising a curved display screen, the curved display screen comprising a front screen area and a side screen area, and the method comprising: if the electronic device is in a charging state, and the electronic device meets a preset battery charge display condition, acquiring the remaining battery charge of the electronic device (S201); on the basis of the remaining battery charge, determining a target area in the side screen area and display parameters (S202); and controlling the target area to display the remaining battery charge according to the display parameters (S203). Said method increases the flexibility of prompting the remaining battery charge.

Description

充电提示方法及相关产品Charging tips and related products 技术领域Technical field
本申请涉及电子设备技术领域,尤其涉及一种充电提示方法及相关产品。The present application relates to the technical field of electronic devices, and in particular, to a charging prompt method and related products.
背景技术Background technique
随着电子设备技术的迅速发展,出现了各种各样的电子设备,例如:手机、平板电脑、智能手环等,而对电子设备的电池充电也成为了一项日常行为。With the rapid development of electronic device technology, a variety of electronic devices have appeared, such as: mobile phones, tablet computers, smart bracelets, etc., and charging the battery of electronic devices has become a daily behavior.
现有技术在充电的过程中,往往预设一个代表电池电量的方形区域,以图形的变化,或以数字百分比体现充电进度。In the prior art, in the process of charging, a square area representing the battery power is often preset, and the charging progress is represented by a graphical change or a digital percentage.
申请内容Application content
第一方面,本申请实施例提供一种充电提示方法,应用于电子设备,所述电子设备包括曲面显示屏,所述曲面显示屏包括正屏区域和侧屏区域,所述方法包括:In a first aspect, an embodiment of the present application provides a charging prompt method applied to an electronic device, where the electronic device includes a curved display screen, the curved display screen includes a front screen area and a side screen area, and the method includes:
若所述电子设备处于充电状态,且所述电子设备满足预设电量显示条件,获取所述电子设备的剩余电量;If the electronic device is in a charging state, and the electronic device meets a preset power display condition, obtaining the remaining power of the electronic device;
根据所述剩余电量确定所述侧屏区域中的目标区域和显示参数,所述显示参数包括以下至少一项:显示时长、显示颜色、闪烁频率、透明度、亮度、宽度、渐变效果、环绕效果;Determining a target area and a display parameter in the side screen area according to the remaining power, the display parameter including at least one of the following: display duration, display color, flicker frequency, transparency, brightness, width, gradient effect, and surround effect;
控制所述目标区域按照所述显示参数显示所述剩余电量。Controlling the target area to display the remaining power according to the display parameter.
第二方面,本申请实施例提供一种充电提示装置,应用于电子设备,所述电子设备包括曲面显示屏,所述曲面显示屏包括正屏区域和侧屏区域,所述装置包括:In a second aspect, an embodiment of the present application provides a charging prompting device applied to an electronic device. The electronic device includes a curved display screen, the curved display screen includes a front screen area and a side screen area, and the device includes:
获取单元,用于若所述电子设备处于充电状态,且所述电子设备满足预设电量显示条件,获取所述电子设备的剩余电量;An obtaining unit, configured to obtain the remaining power of the electronic device if the electronic device is in a charging state and the electronic device meets a preset power display condition;
确定单元,用于根据所述剩余电量确定所述侧屏区域中的目标区域和显示参数,所述显示参数包括以下至少一项:显示时长、显示颜色、闪烁频率、透明度、亮度、宽度、渐变效果、环绕效果;A determining unit, configured to determine a target area and a display parameter in the side screen area according to the remaining power, the display parameter including at least one of the following: display duration, display color, blinking frequency, transparency, brightness, width, and gradient Effects, surround effects;
显示单元,用于控制所述目标区域按照所述显示参数显示所述剩余电量。A display unit is configured to control the target area to display the remaining power according to the display parameter.
第三方面,本申请实施例提供了一种电子设备,包括处理器、存储器、通 信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,所述程序包括用于如第一方面中所描述的部分或全部步骤的指令。According to 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. The one or more programs are stored in the memory, and are configured by the above. The processor executes the program including instructions for some or all of the steps as described in the first aspect.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,所述计算机可读存储介质存储计算机程序,其中,所述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program causes a computer to execute the program as described in the first aspect of the embodiment of the application. Describe some or all of the steps.
第五方面,本申请实施例提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute Some or all of the steps described in the first aspect of the embodiment of the application. The computer program product can be a software installation package.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present application or the prior art more clearly, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are merely These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained according to these drawings without paying creative labor.
其中:among them:
图1A为本申请实施例提供的一种电子设备的结构示意图;FIG. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present application; FIG.
图1B为本申请实施例提供的一种电子设备的坐标轴的场景示意图;FIG. 1B is a schematic diagram of a scene of a coordinate axis of an electronic device according to an embodiment of the present application; FIG.
图1C为本申请实施例提供的另一种电子设备的结构示意图;FIG. 1C is a schematic structural diagram of another electronic device according to an embodiment of the present application; FIG.
图2A为本申请实施例提供的一种充电提示方法的流程示意图;2A is a schematic flowchart of a charging prompt method according to an embodiment of the present application;
图2B为本申请实施例提供的一种电子设备的场景示意图;2B is a schematic diagram of a scenario of an electronic device according to an embodiment of the present application;
图3为本申请实施例提供的一种充电提示方法的流程示意图;3 is a schematic flowchart of a charging prompt method according to an embodiment of the present application;
图4为本申请实施例提供的一种充电提示装置的结构示意图;4 is a schematic structural diagram of a charging prompting device according to an embodiment of the present application;
图5为本申请实施例提供的另一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有 其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only These are part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包括。例如包括了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms “first”, “second”, and the like in the description and claims of the present application and the above-mentioned drawings are used to distinguish different objects, and are not used to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包括在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference to "an embodiment" herein means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they independent or alternative embodiments that are mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
本申请实施例所涉及到的电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。为方便描述,上面提到的设备统称为电子设备。The electronic devices involved in the embodiments of the present application may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, and various forms of user devices (User Equipment (UE), mobile station (MS), terminal device (terminal), and so on. For ease of description, the devices mentioned above are collectively referred to as electronic devices.
请参阅图1A,图1A是本申请实施例提供了一种电子设备的结构示意图,电子设备包括控制电路和输入-输出电路,输入输出电路与控制电路连接。Please refer to FIG. 1A, which is a schematic structural diagram of an electronic device according to an embodiment of the present application. 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 circuit may include a storage and processing circuit. The storage circuit in the storage and processing circuit may be a memory, such as a hard disk drive memory, a non-volatile memory (such as a flash memory or other electronic programmable read-only memory used to form a solid-state drive, etc.), a volatile memory (such as a static Or dynamic random access memory, etc.), this embodiment is not limited. The processing circuit in the storage and processing circuit can be used to control the operation of the electronic device. The processing circuit can 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.
存储和处理电路可用于运行电子设备中的软件,例如播放来电提示响铃应用程序、播放短消息提示响铃应用程序、播放闹钟提示响铃应用程序、播放媒体文件应用程序、互联网协议语音(voice over internet protocol,VOIP)电话呼叫应用程序、操作系统功能等。这些软件可以用于执行一些控制操作,例如,播放来电提示响铃、播放短消息提示响铃、播放闹钟提示响铃、播放媒体文件、 进行语音电话呼叫以及电子设备中的其它功能等,本申请实施例不作限制。The storage and processing circuit can be used to run software in an electronic device, such as playing an incoming call alert ringing application, playing a short message alert ringing application, playing an alarm alert ringing application, playing a media file application, Internet protocol voice (voice Over Internet Protocol (VOIP) telephone calling applications, operating system functions, etc. These software can be used to perform some control operations, for example, playing a call alert ring, playing a short message alert ring, playing an alarm alert ring, playing a media file, making a voice phone call, and other functions in an electronic device. The examples are not limited.
其中,输入-输出电路可用于使电子设备实现数据的输入和输出,即允许电子设备从外部设备接收数据和允许电子设备将数据从电子设备输出至外部设备。Among them, the input-output circuit can be used to enable the electronic device to implement data input and output, that is, to allow the electronic device to receive data from an external device and to allow the electronic device to output data from the electronic device to the external device.
输入-输出电路可以进一步包括传感器。传感器可以包括环境光传感器,基于光和电容的红外接近传感器,超声波传感器,触摸传感器(例如,基于光触摸传感器和/或电容式触摸传感器,其中,触摸传感器可以是触控显示屏的一部分,也可以作为一个触摸传感器结构独立使用),加速度传感器,重力传感器,和其它传感器等。输入-输出电路还可以进一步包括音频组件,音频组件可以用于为电子设备提供音频输入和输出功能。音频组件还可以包括音调发生器以及其它用于产生和检测声音的组件。The input-output circuit may further include a sensor. The sensor may include an ambient light sensor, an infrared proximity sensor based on light and capacitance, an ultrasonic sensor, and a touch sensor (for example, a light touch sensor and / or a capacitive touch sensor, where the touch sensor may be part of a touch display screen, or Can be used independently as a touch sensor structure), acceleration sensor, gravity sensor, and other sensors. The input-output circuit may further include an audio component, and the audio component may be used to provide audio input and output functions for the electronic device. The audio component may also include a tone generator and other components for generating and detecting sound.
在本申请实施例,传感器还包括三轴加速度传感器,可以测量空间加速度,用于测量电子设备的姿态和倾斜角,除了自动切换水平、垂直显示视角外,还可在全球定位系统(global positioning system,GPS)信号不好时,用作运动偏移补偿计算,能够全面准确反映物体的运动性质。In the embodiment of the present application, the sensor also includes a three-axis acceleration sensor that can measure spatial acceleration and is used to measure the attitude and tilt angle of the electronic device. In addition to automatically switching the horizontal and vertical display angles, it can also be used in the global positioning system. , GPS) signal is not good, it is used for motion offset compensation calculation, which can fully and accurately reflect the motion properties of the object.
请参照图1B,图1B为三维加速度传感器确定电子设备的坐标轴的场景示意图。如图1B所示,x轴、y轴、z轴均是相对电子设备机身位置的,通常y轴向机身向上,x轴向机身向右,z轴垂直机身正面,与地心引力同向。横向分量、纵向分量、竖向分量一般是一个单位的地心引力(大小1g(m*m/s),方向垂直地面向下),在各轴上的投影。横向分量对应与x轴上的数值,纵向分量对应与y轴上的数值,竖向分量对应与z轴上的数值,则横向倾斜角度为x轴与水平面的夹角,纵向倾斜角度为y轴与水平面的夹角。Please refer to FIG. 1B, which is a schematic diagram of a scene where a three-dimensional acceleration sensor determines a coordinate axis of an electronic device. As shown in Figure 1B, the x-axis, y-axis, and z-axis are relative to the body of the electronic device. Usually, the y-axis body is upward, the x-axis body is right, and the z-axis is perpendicular to the front of the fuselage. The same direction of gravity. The horizontal component, vertical component, and vertical component are generally a unit of gravity (the size is 1g (m * m / s), the direction is perpendicular to the ground downward), and the projection on each axis. The horizontal component corresponds to the value on the x-axis, the vertical component corresponds to the value on the y-axis, and the vertical component corresponds to the value on the z-axis. The lateral tilt angle is the angle between the x-axis and the horizontal plane, and the longitudinal tilt angle is the y-axis. Angle with horizontal plane.
例如:将电子设备平放在桌面上,x轴默认为0,y轴默认0,z轴默认9.81;将电子设备朝下放在桌面上,z轴为-9.81;将电子设备向左倾斜,x轴为正值;将电子设备向右倾斜,x轴为负值;将电子设备向上倾斜,y轴为负值;将电子设备向下倾斜,y轴为正值;将z轴小于-3的情况,视为电子设备的触控显示屏朝下。For example: place the electronic device on the desktop, the x-axis defaults to 0, the y-axis defaults to 0, and the z-axis defaults to 9.81; place the electronic device on the desktop with the z-axis at -9.81; tilt the electronic device to the left, x The axis is positive; tilt the electronic device to the right and the x-axis is negative; tilt the electronic device upwards and the y-axis is negative; tilt the electronic device downwards and the y-axis is positive; set the z-axis to less than -3 In this case, the touch screen of the electronic device faces downward.
输入-输出电路还可以包括一个或多个曲面显示屏。曲面显示屏可以包括液晶显示屏,有机发光二极管显示屏,电子墨水显示屏,等离子显示屏,使用其它显示技术的显示屏中一种或者几种的组合。曲面显示屏可以包括触摸传感器阵列(即,显示屏可以是触控显示屏)。触摸传感器可以是由透明的触摸传 感器电极(例如氧化铟锡(ITO)电极)阵列形成的电容式触摸传感器,或者可以是使用其它触摸技术形成的触摸传感器,例如音波触控,压敏触摸,电阻触摸,光学触摸等,本申请实施例不作限制。The input-output circuit may also include one or more curved display screens. The curved display may include one or a combination of a liquid crystal display, an organic light emitting diode display, an electronic ink display, a plasma display, and a display using other display technologies. The curved display may include an array of touch sensors (ie, the display may be a touch display). The touch sensor can be a capacitive touch sensor formed by a transparent array of touch sensor electrodes (such as indium tin oxide (ITO) electrodes), or it can be a touch sensor formed using other touch technologies, such as sonic touch, pressure-sensitive touch, resistance Touch, optical touch, etc. are not limited in the embodiments of the present application.
输入-输出电路还可以进一步包括通信电路可以用于为电子设备提供与外部设备通信的能力。通信电路可以包括模拟和数字输入-输出接口电路,和基于射频信号和/或光信号的无线通信电路。通信电路中的无线通信电路可以包括射频收发器电路、功率放大器电路、低噪声放大器、开关、滤波器和天线。举例来说,通信电路中的无线通信电路可以包括用于通过发射和接收近场耦合电磁信号来支持近场通信(near field communication,NFC)的电路。例如,通信电路可以包括近场通信天线和近场通信收发器。通信电路还可以包括蜂窝电话收发器和天线,无线局域网收发器电路和天线等。The input-output circuit can further include a communication circuit that can be used to provide the electronic device with the ability to communicate with external devices. The communication circuit may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and / or optical signals. The wireless communication circuit in the communication circuit may include a radio frequency transceiver circuit, a power amplifier circuit, a low noise amplifier, a switch, a filter, and an antenna. For example, the wireless communication circuit in the communication circuit may include a circuit for supporting near field communication (NFC) by transmitting and receiving a near field coupled electromagnetic signal. For example, the communication circuit may include a near field communication antenna and a near field communication transceiver. The communication circuit may also include a cellular phone transceiver and antenna, a wireless local area network transceiver circuit and antenna, and the like.
输入-输出电路还可以进一步包括输入-输出单元。输入-输出单元可以包括按钮,操纵杆,点击轮,滚动轮,触摸板,小键盘,键盘,照相机,发光二极管和其它状态指示器等。The input-output circuit may further include an input-output unit. The input-output unit may include a button, a joystick, a click wheel, a scroll wheel, a touch pad, a keypad, a keyboard, a camera, a light emitting diode, and other status indicators.
其中,电子设备还可以进一步包括电池(未图示),电池用于给电子设备提供电能。The electronic device may further include a battery (not shown), and the battery is used to provide power to the electronic device.
请参照图1C,图1C是本申请实施例提供了另一种电子设备的结构示意图。如图1C所示,该电子设备100包括曲面显示屏110和环境光传感器120。其中,曲面显示屏110包括正屏区域111和侧屏区域112。Please refer to FIG. 1C, which is a schematic structural diagram of another electronic device according to an embodiment of the present application. As shown in FIG. 1C, the electronic device 100 includes a curved display screen 110 and an ambient light sensor 120. The curved display screen 110 includes a front screen region 111 and a side screen region 112.
在本申请中,正屏区域111位于曲面显示屏110的正中央,用于显示桌面内容;侧屏区域112位于曲面显示屏110的周边,用于灯光提示,例如:通知信息、来电、充电等提示信息,从而提高提示效率;也可在播放音频时进行闪光提示,提高用户体验。In the present application, the front screen area 111 is located at the center of the curved display screen 110 for displaying desktop content; the side screen area 112 is located at the periphery of the curved display screen 110 for light prompts, such as notification information, incoming calls, charging, etc. Prompt information to improve prompt efficiency; flash prompts can also be provided during audio playback to improve user experience.
本申请对于侧屏区域112如何显示不做限定,可以设置对应的时机,例如:熄屏或亮屏、特定应用的通知消息,还可显示时长、显示位置、显示颜色、闪烁频率、透明度、亮度、宽度、渐变效果、环绕速度等显示风格。This application does not limit how the side screen area 112 is displayed. The corresponding timing can be set, for example, the screen is turned off or on, the notification message for a specific application, and the duration, display position, display color, flicker frequency, transparency, and brightness can be displayed. , Width, gradient effect, surround speed and other display styles.
在本申请中,环境光传感器120用于感知周围环境的光线情况以获取环境光线参数,例如:环境亮度和环境颜色。电子设备100根据环境光传感器120获取的环境光线参数自动调节曲面显示屏110的背光亮度,降低产品的功耗。In the present application, the ambient light sensor 120 is used to sense the ambient light conditions to obtain ambient light parameters, such as ambient brightness and ambient color. The electronic device 100 automatically adjusts the backlight brightness of the curved display screen 110 according to the ambient light parameters obtained by the ambient light sensor 120 to reduce the power consumption of the product.
下面对本申请实施例进行详细介绍。The embodiments of the present application are described in detail below.
本申请实施例提供了一种充电提示方法及相关产品,可显示剩余电量,提高提示剩余电量的准确性和灵活性。The embodiments of the present application provide a charging prompting method and related products, which can display the remaining power and improve the accuracy and flexibility of prompting the remaining power.
请参照图2A,本申请实施例提供一种充电提示方法的流程示意图,该方法应用于如图1A~图1C所示的电子设备,即电子设备包括曲面显示屏,且该曲面显示屏包括正屏区域和侧屏区域。具体的,如图2A所示,一种充电提示方法,包括:Referring to FIG. 2A, an embodiment of the present application provides a schematic flowchart of a charging prompt method. The method is applied to the electronic device shown in FIGS. 1A to 1C, that is, the electronic device includes a curved display screen, and the curved display screen includes a positive display. Screen area and side screen area. Specifically, as shown in FIG. 2A, a charging prompt method includes:
S201:若电子设备处于充电状态,且所述电子设备满足预设电量显示条件,获取所述电子设备的剩余电量。S201: If the electronic device is in a charging state and the electronic device meets a preset power display condition, obtain a remaining power of the electronic device.
本申请对于预设电量显示条件不做限定,在一个可能的示例中,所述预设电量显示条件包括以下一项:所述电子设备的充电时长为第一阈值的整数倍、剩余电量为第二阈值的整数倍、所述剩余电量大于或等于第三阈值、所述电子设备处于预设姿态、所述电子设备接收到通知信息。This application does not limit the preset power display conditions. In a possible example, the preset power display conditions include one of the following: the charging time of the electronic device is an integer multiple of the first threshold, and the remaining power is the first An integer multiple of two thresholds, the remaining power is greater than or equal to a third threshold, the electronic device is in a preset posture, and the electronic device receives notification information.
在本申请实施例中,剩余电量是指电池内的可用电量占标称容量的比例,电池管理系统可根据剩余电量控制电池工作状态。In the embodiment of the present application, the remaining power refers to the ratio of the available power in the battery to the nominal capacity, and the battery management system can control the working state of the battery according to the remaining power.
本申请对于第一阈值、第二阈值、第三阈值均不做限定。举例来说,假设第一阈值为10分钟,充电开始时间为8点22分,则每隔10分钟提示一次剩余电量,例如:8点32分、8点42分等;第二阈值为10%,充电开始剩余电量为19%,则每增加10%的剩余电量提示一次剩余电量,例如:29%,39%和49%等;第三阈值可以是100%,也可以充足电量,例如:60%,80%等,如此,可提示电量充足。This application does not limit the first threshold, the second threshold, or the third threshold. For example, if the first threshold is 10 minutes and the charging start time is 8:22, the remaining power is prompted every 10 minutes, for example: 8:32, 8:42, etc .; the second threshold is 10% , The remaining power at the beginning of charging is 19%, then every 10% increase in the remaining power prompts the remaining power, such as: 29%, 39%, 49%, etc .; the third threshold can be 100%, or sufficient power, for example: 60 %, 80%, etc., so it can indicate that the battery is sufficient.
对于检测预设姿态的方法,可通过电子设备中的三轴加速度传感器确定电子设备的姿态,若该姿态与预设姿态匹配成功,则检测所述电子设备满足预设电量显示条件。For the method of detecting a preset posture, a tri-axis acceleration sensor in the electronic device can be used to determine the posture of the electronic device. If the posture is successfully matched with the preset posture, it is detected that the electronic device meets the preset power display condition.
本申请对于通知信息的类型不做限定,可以是即时通讯信息,也可以是邮件,还可以是第三方应用的推送信息等。The application does not limit the type of notification information, and may be instant messaging information, email, or push information of a third-party application.
可以理解,在检测到电子设备的充电时长为第一阈值的整数倍、所述剩余电量为第二阈值的整数倍、所述剩余电量大于或等于第三阈值、所述电子设备处于预设姿态、所述电子设备接收到通知信息中的至少一个条件时,确定所述电子设备满足预设电量显示条件。It can be understood that upon detecting that the charging time of the electronic device is an integer multiple of the first threshold, the remaining power is an integer multiple of the second threshold, the remaining power is greater than or equal to a third threshold, and the electronic device is in a preset posture When the electronic device receives at least one condition in the notification information, it is determined that the electronic device meets a preset power display condition.
S202:根据所述剩余电量确定所述侧屏区域中的目标区域和显示参数。S202: Determine a target area and a display parameter in the side screen area according to the remaining power.
本申请对于如何确定目标区域的方法不做限定,在一个可能的示例中,所 述根据所述剩余电量确定所述侧屏区域中的目标区域包括:确定所述侧屏区域的显示长度;根据所述剩余电量确定所述显示长度对应的目标显示长度;根据预先设置的显示长度与区域之间的关联关系,确定所述目标显示长度对应的所述目标区域。This application does not limit the method for determining the target area. In a possible example, determining the target area in the side screen area according to the remaining power includes: determining a display length of the side screen area; The remaining power determines a target display length corresponding to the display length; and determines the target area corresponding to the target display length according to an association relationship between a preset display length and a region.
在本申请实施例中,目标区域为显示剩余电量的侧屏区域,侧屏区域的显示长度为可显示区域的长度,例如:如图2B所示,该显示长度为(L1+L2)*2,其中,L1为曲面显示屏的宽度,L2为曲面显示屏的长度。In the embodiment of the present application, the target area is a side screen area displaying remaining power, and the display length of the side screen area is the length of the displayable area. For example, as shown in FIG. 2B, the display length is (L1 + L2) * 2 , Where L1 is the width of the curved display and L2 is the length of the curved display.
在本申请实施例中,预先存储显示长度与区域之间的关联关系,如此,若区域显示剩余电量,则可根据区域对应的显示长度确定剩余电量,则用户可快速确定剩余电量的多少。In the embodiment of the present application, the relationship between the display length and the area is stored in advance. In this way, if the area displays the remaining power, the remaining power can be determined according to the display length corresponding to the area, and the user can quickly determine the amount of remaining power.
举例来说,假设剩余电量为25%,则目标显示长度为显示长度的25%,即25%的显示长度对应的区域作为目标区域,如图2B所示,斜线部分表示目标区域,如此,用户可通过目标区域快速确定剩余电量。For example, assuming that the remaining power is 25%, the target display length is 25% of the display length, that is, the area corresponding to the 25% display length is the target area. As shown in FIG. 2B, the oblique line indicates the target area. The user can quickly determine the remaining power through the target area.
可以理解,确定所述侧屏区域的显示长度,根据所述剩余电量确定所述显示长度对应的目标显示长度,根据预先设置的显示长度与区域之间的关联关系确定所述目标显示长度对应的所述目标区域。也就是说,以剩余电量为基准,确定目标显示长度,其中,目标显示长度与显示长度之间的比值等于剩余电量,如此,根据目标显示长度对应的目标区域显示剩余电量,用户可快速获取剩余电量。It can be understood that the display length of the side screen area is determined, the target display length corresponding to the display length is determined according to the remaining power, and the target display length corresponding to the target display length is determined according to a preset relationship between the display length and the area. The target area. In other words, the target display length is determined based on the remaining power. The ratio between the target display length and the display length is equal to the remaining power. In this way, according to the target area corresponding to the target display length, the remaining power is displayed, and the user can quickly obtain the remaining power. Battery.
需要说明的是,该目标区域可以是固定区域,如图2B所示,也可以是滑动区域,即根据显示参数中的环绕效果进行移动,例如:在每一个目标区域显示1秒,直至环绕整个大于一个侧屏区域。It should be noted that the target area can be a fixed area, as shown in FIG. 2B, or it can be a sliding area, that is, to move according to the surround effect in the display parameters. For example, each target area is displayed for 1 second until it surrounds the entire area. Larger than a side screen area.
在本申请实施例中,所述显示参数包括以下至少一项:显示时长、显示颜色、闪烁频率、透明度、亮度、宽度、渐变效果、环绕效果。In the embodiment of the present application, the display parameters include at least one of the following: display duration, display color, flicker frequency, transparency, brightness, width, gradient effect, and surround effect.
在本申请实施例中,可预先定义不同剩余电量对应的显示风格,例如:剩余电量小于20%,显示颜色为红色,渐变效果为红色光沿着顺时针的方向流动,其流向速度1秒一圈;剩余电量处于20%~50%,显示颜色为黄色,渐变效果为黄色光沿着顺时针的方向流动,其流向速度1秒一圈;剩余电量大于50%,颜色为绿色,闪烁频率为每秒2次。In the embodiment of the present application, a display style corresponding to different remaining power can be defined in advance, for example, the remaining power is less than 20%, the display color is red, and the gradient effect is that the red light flows in a clockwise direction, and the flow direction speed is 1 second Circle; the remaining power is between 20% and 50%, the display color is yellow, and the gradient effect is yellow light flowing in a clockwise direction with a flow direction of 1 second; the remaining power is greater than 50%, the color is green, and the flashing frequency is 2 times per second.
本申请对于如何确定显示参数不做限定,在一个可能的示例中,所述电子设备还包括环境光传感器,所述根据所述剩余电量确定显示参数包括:若确定 所述剩余电量对应的多种参考颜色,确定所述触控显示屏的背景颜色;通过所述环境光传感器获取环境光线参数;根据所述背景颜色和所述环境光线参数从所述多种参考颜色中选取所述显示颜色。This application does not limit how to determine the display parameters. In a possible example, the electronic device further includes an ambient light sensor, and determining the display parameters based on the remaining power includes: The reference color determines the background color of the touch display; obtains the ambient light parameters through the ambient light sensor; and selects the display color from the multiple reference colors according to the background color and the ambient light parameters.
在本申请中,预先设置不同剩余电量对应的多种参考颜色,例如:剩余电量小于20%,显示颜色为浅红色、大红色和紫色;剩余电量处于20%~50%,显示颜色为黄色、橘色和棕色;剩余电量大于50%,颜色为绿色、蓝色和青色。In this application, various reference colors corresponding to different remaining power are set in advance, for example: the remaining power is less than 20%, the display color is light red, red, and purple; the remaining power is between 20% and 50%, and the display color is yellow, Orange and brown; the remaining power is greater than 50%, and the colors are green, blue and cyan.
背景颜色为触控显示屏的显示颜色,例如:黑屏下,背景颜色为黑色,亮屏下,背景颜色为背景桌面的颜色。如前所述,环境光传感器可用于获取环境光线参数,即确定环境中的光线强度和光线颜色。The background color is the display color of the touch display, for example: under a black screen, the background color is black, and under a bright screen, the background color is the color of the background desktop. As mentioned earlier, ambient light sensors can be used to obtain ambient light parameters, that is, to determine the intensity and color of light in the environment.
可以理解,若确定所述剩余电量对应的多种参考颜色,则确定所述触控显示屏的背景颜色,并通过所述环境光传感器获取环境光线参数,然后根据所述背景颜色和所述环境光线参数从所述多种参考颜色中选取所述显示颜色。也就是说,依据环境光线参数和背景颜色确定目标区域的显示颜色,从而避免由于背景颜色和环境光线参数而导致的显示不明显,提高了显示效率。It can be understood that if multiple reference colors corresponding to the remaining power are determined, a background color of the touch display is determined, and ambient light parameters are obtained through the ambient light sensor, and then according to the background color and the environment, The light parameter selects the display color from the plurality of reference colors. That is, the display color of the target area is determined according to the ambient light parameter and the background color, so that the display is not obvious due to the background color and the ambient light parameter, and the display efficiency is improved.
S203:控制所述目标区域按照所述显示参数显示所述剩余电量。S203: Control the target area to display the remaining power according to the display parameter.
在如图2A所示的充电提示方法中,若电子设备处于充电状态,且所述电子设备满足预设电量显示条件,获取所述电子设备的剩余电量,根据所述剩余电量确定所述侧屏区域中的目标区域和显示参数,控制所述目标区域按照所述显示参数显示所述剩余电量。如此,在电子设备处于充电状态,且满足预设电量显示条件时,可显示剩余电量,提高剩余电量提示的准确性和灵活性。In the charging prompt method shown in FIG. 2A, if the electronic device is in a charging state and the electronic device meets a preset power display condition, the remaining power of the electronic device is obtained, and the side screen is determined according to the remaining power. A target area and a display parameter in the area, and the target area is controlled to display the remaining power according to the display parameter. In this way, when the electronic device is in a charging state and meets the preset power display condition, the remaining power can be displayed, which improves the accuracy and flexibility of the remaining power reminder.
在一个可能的示例中,所述方法还包括:控制所述正屏区域显示所述剩余电量对应的数字。如此,进一步提高确定剩余电量的准确性。In a possible example, the method further includes: controlling the front screen area to display a number corresponding to the remaining power. In this way, the accuracy of determining the remaining power is further improved.
请参照图3,本申请实施例提供另一种充电提示方法的流程示意图,该方法应用于如图1A和图1B所示的电子设备,即电子设备包括曲面显示屏,且该曲面显示屏包括正屏区域和侧屏区域。具体的,如图3所示,一种充电提示方法,包括:Referring to FIG. 3, an embodiment of the present application provides a schematic flowchart of another charging prompt method. The method is applied to the electronic device shown in FIG. 1A and FIG. 1B, that is, the electronic device includes a curved display screen, and the curved display screen includes Front screen area and side screen area. Specifically, as shown in FIG. 3, a charging prompt method includes:
S301:若电子设备处于充电状态,且所述电子设备满足预设电量显示条件,获取所述电子设备的剩余电量。S301: If the electronic device is in a charging state and the electronic device meets a preset power display condition, obtain a remaining power of the electronic device.
S302:根据所述剩余电量确定所述侧屏区域中的目标区域。S302: Determine a target area in the side screen area according to the remaining power.
其中,步骤S301-S302可参照步骤S201-S202的描述,在此不再赘述。For steps S301-S302, reference may be made to the description of steps S201-S202, and details are not described herein again.
S303:确定所述电子设备的第一充电速度。S303: Determine a first charging speed of the electronic device.
在本申请实施例中,第一充电速度为电子设备当前的充电速度。本申请对于确定第一充电速度的方法不做限定,在一个可能的示例中,所述确定所述电子设备的第一充电速度包括:确定所述电子设备的运行数据和平均输入电量;确定所述运行数据对应的平均输出电量;根据所述平均输入电量和所述平均输出电量之间的差值确定所述第一充电速度。In the embodiment of the present application, the first charging speed is a current charging speed of the electronic device. This application does not limit the method for determining the first charging speed. In a possible example, determining the first charging speed of the electronic device includes: determining operating data and an average input power of the electronic device; The average output power corresponding to the operating data; and determining the first charging speed according to a difference between the average input power and the average output power.
在本申请实施例中,运行数据用于指示电子设备当前运行的数据,包括系统运行数据和应用运行数据,其中,系统运行数据包括电子设备系统对应的应用程序(例如:时间、网络、蓝牙、显示屏亮度等应用)的运行数据,应用运行数据包括前台应用运行时所运行的数据,也包括后台应用刷新时所需运行的数据。In the embodiment of the present application, the running data is used to indicate data currently running on the electronic device, including system running data and application running data, where the system running data includes application programs corresponding to the electronic device system (for example, time, network, Bluetooth, Application data such as display brightness, application operation data includes data that is run when the foreground application is running, and also includes data that needs to be run when the background application is refreshed.
平均输入电量为电子设备的充电电量的平均值,平均输出电量为电子设备的耗电电量的平均值。The average input power is the average value of the charging power of the electronic device, and the average output power is the average value of the power consumption of the electronic device.
可以理解,确定所述电子设备的运行数据和平均输入电量,再确定所述运行数据对应的平均输出电量,然后确定所述平均输入电量和所述平均输出电量之间的差值,从而根据该差值确定所述第一充电速度,如此,考虑了输入电量和输出电量,提高了确定第一充电速度的准确性。It can be understood that the operating data and the average input power of the electronic device are determined, the average output power corresponding to the operation data is determined, and then the difference between the average input power and the average output power is determined, so that according to the The difference determines the first charging speed. In this way, considering the input power and output power, the accuracy of determining the first charging speed is improved.
本申请对于确定平均输入电量的方法不做限定,可获取输入的交流电压、限额输入电量和电源的稳定度进行确定。This application does not limit the method for determining the average input power, and can determine the input AC voltage, the limit input power, and the stability of the power supply.
本申请对于平均输出电量不做限定,在一个可能的示例中,所述确定所述运行数据的平均输出电量包括:确定所述运行数据对应的多个耗电对象;确定所述多个耗电对象中每一耗电对象对应的运行参数得到多个运行参数;确定所述多个运行参数中每一运行参数对应的预设耗电量得到多个预设耗电量;根据所述多个预设耗电量确定所述平均输出电量。This application does not limit the average output power. In a possible example, determining the average output power of the operation data includes: determining a plurality of power consumption objects corresponding to the operation data; and determining the plurality of power consumptions. A plurality of operating parameters are obtained from the running parameters corresponding to each power consumption object in the object; determining a preset power consumption corresponding to each running parameter of the plurality of running parameters to obtain a plurality of preset power consumptions; The preset power consumption determines the average output power.
其中,耗电对象可以是运行数据对应的硬件或硬件集合,例如:视频应用的运行过程中需播放声音,则耗电对象为扬声器;游戏应用的运行过程中需画面渲染,则耗电对象为图形处理器(Graphics Processing Unit,GPU);地图应用的运行过程中需定位当前位置,则耗电对象为GPS模块等等。Among them, the power consumption object can be the hardware or hardware collection corresponding to the running data. For example, if a video application needs to play sound during the running process, the power consumption object is a speaker; if a game application requires screen rendering during the running process, the power consumption object is Graphics Processing Unit (GPU); if the current position needs to be located during the running of the map application, the power consumption object is the GPS module and so on.
运行参数可包括电压、电流、电功率等参数,在此不做限定。The operating parameters may include parameters such as voltage, current, and electric power, which are not limited here.
可以理解,确定运行数据对应的多个耗电对象,再确定各个耗电对象的运行参数以得到多个运行参数,确定各个运行参数对应的预设耗电量以得到多个 预设耗电量,然后根据多个预设耗电量确定平均输出电量。也就是说,分别确定耗电对象的预设耗电量,依据多个预设耗电量确定平均输出电量,可提高确定平均输出电量的准确性。It can be understood that the plurality of power consumption objects corresponding to the operation data are determined, and then the operation parameters of each power consumption object are determined to obtain a plurality of operation parameters, and the preset power consumption corresponding to each operation parameter is determined to obtain a plurality of preset power consumption , And then determine the average output power based on multiple preset power consumptions. That is, determining the preset power consumption of each power consumption object and determining the average output power according to multiple preset power consumptions can improve the accuracy of determining the average output power.
S304:根据所述第一充电速度和所述剩余电量确定显示参数。S304: Determine a display parameter according to the first charging speed and the remaining power.
在本申请实施例中,可预先设置的不同充电速度对应的显示参数。例如:快充时为1秒一圈,慢充时为1秒半圈。对于根据剩余电量确定显示参数的方法可参照步骤S202,在此不再赘述。可以理解,根据第一充电速度和剩余电量确定显示参数,该显示参数可体现电子设备的充电速度和剩余电量,便于提高用户体验。In the embodiment of the present application, display parameters corresponding to different charging speeds may be preset. For example: 1 lap per second during fast charge and 1 1/2 sec during slow charge. For the method for determining the display parameter according to the remaining power, refer to step S202, and details are not described herein again. It can be understood that the display parameter is determined according to the first charging speed and the remaining power, and the display parameter can reflect the charging speed and the remaining power of the electronic device, which is convenient for improving the user experience.
S305:控制所述目标区域按照所述显示参数显示所述剩余电量。S305: Control the target area to display the remaining power according to the display parameters.
在如图3所示的充电提示方法中,若电子设备处于充电状态,且所述电子设备满足预设电量显示条件,获取所述电子设备的剩余电量,根据所述剩余电量确定所述侧屏区域中的目标区域,确定所述电子设备的第一充电速度,根据所述第一充电速度和所述剩余电量确定显示参数,控制所述目标区域按照所述显示参数显示所述剩余电量。如此,在电子设备处于充电状态,且满足预设电量显示条件时,可显示剩余电量和充电速度,提高充电提示的准确性和灵活性。In the charging prompt method shown in FIG. 3, if the electronic device is in a charging state and the electronic device meets a preset power display condition, the remaining power of the electronic device is obtained, and the side screen is determined according to the remaining power. A target area in the area determines a first charging speed of the electronic device, determines a display parameter according to the first charging speed and the remaining power, and controls the target area to display the remaining power according to the display parameter. In this way, when the electronic device is in a charging state and meets a preset power display condition, the remaining power and charging speed can be displayed, improving the accuracy and flexibility of the charging prompt.
在一个可能的示例中,所述方法还包括:根据所述第一充电速度和所述剩余电量显示充电预估时长;接收针对所述充电预估时长的快充指令;对所述电子设备进行快充操作得到第二充电速度;控制所述侧屏区域显示所述第二充电速度。In a possible example, the method further includes: displaying an estimated charging time according to the first charging speed and the remaining power; receiving a fast charge instruction for the estimated charging time; The fast charging operation obtains the second charging speed; and the side screen area is controlled to display the second charging speed.
对于显示预估时长的方法不做限定,可显示于曲面显示屏的横栏区域,即侧屏区域的上方,也可以弹窗的形式进行显示,还可根据目标区域的显示参数进行显示等。对于控制所述侧屏区域显示所述第二充电速度的方法可参照第一充电速度确定显示参数的方法,在此不再赘述。The method of displaying the estimated time is not limited, and it can be displayed on the horizontal bar area of the curved display screen, that is, above the side screen area, and can also be displayed in the form of a pop-up window, and can also be displayed according to the display parameters of the target area. For a method of controlling the side screen area to display the second charging speed, a method of determining a display parameter with reference to the first charging speed may be referred to, and details are not described herein again.
可以理解,先根据所述第一充电速度和所述剩余电量确定充电预估时长,并显示该充电预估时长。如此,用户可根据充电预估时长确定是否进行快充,若接收到针对所述充电预估时长的快充指令,则对所述电子设备进行快充操作得到第二充电速度,控制所述侧屏区域显示所述第二充电速度,则用户可根据侧屏区域的显示确定是否提高充电速度,提高了充电效率。It can be understood that the estimated charging time is first determined according to the first charging speed and the remaining power, and the estimated charging time is displayed. In this way, the user can determine whether to perform fast charging according to the estimated charging time. If a fast charging instruction for the estimated charging time is received, a fast charging operation is performed on the electronic device to obtain a second charging speed to control the side. The second charging speed is displayed in the screen area, and the user can determine whether to increase the charging speed according to the display in the side screen area, which improves the charging efficiency.
本申请对于如何快充不做限定,在一个可能的示例中,所述运行数据包括系统运行数据和应用运行数据,所述对所述电子设备进行快充操作得到第二充 电速度包括:确定所述多个耗电对象中每一耗电对象和所述应用运行数据之间的关联值得到多个关联值;根据所述多个关联值确定所述多个耗电对象对应的至少一个待清理对象;对所述至少一个待清理对象进行清理得到所述第二充电速度。This application does not limit how fast charging is performed. In a possible example, the running data includes system running data and application running data, and performing a fast charging operation on the electronic device to obtain a second charging speed includes determining The association value between each of the plurality of power consumption objects and the application running data is used to obtain a plurality of association values; and at least one corresponding to the plurality of power consumption objects to be cleared is determined according to the plurality of association values. Object; cleaning the at least one object to be cleaned to obtain the second charging speed.
其中,关联值与耗电对象关闭是否影响所述应用运行数据的运行相关。The correlation value is related to whether the shutdown of the power consumption object affects the running of the application running data.
可以理解,先确定各个耗电对象与应用运行数据之间的关联值以得到多个关联值,再根据多个关联值确定至少一个待清理对象,再对所有的待清理对象进行清理之后,可将充电速度从第一充电速度提高至第二充电速度,从而实现快速充电。It can be understood that, firstly, the correlation value between each power consumption object and the application running data is determined to obtain multiple correlation values, and then at least one object to be cleaned is determined according to the multiple correlation values. After all the objects to be cleaned are cleaned, The charging speed is increased from the first charging speed to the second charging speed, thereby achieving fast charging.
与图2A和图3所示的实施例一致,请参照图4,图4是本申请实施例提供的一种充电提示装置的结构示意图,该充电提示装置应用于电子设备,所述电子设备包括曲面显示屏,所述曲面显示屏包括正屏区域和侧屏区域。如图4所示,上述装置400包括:Consistent with the embodiments shown in FIGS. 2A and 3, please refer to FIG. 4. FIG. 4 is a schematic structural diagram of a charging prompting device provided in an embodiment of the present application. The charging prompting device is applied to an electronic device, and the electronic device includes A curved display screen including a front screen area and a side screen area. As shown in FIG. 4, the above apparatus 400 includes:
获取单元401用于若所述电子设备处于充电状态,且所述电子设备满足预设电量显示条件,获取所述电子设备的剩余电量;The obtaining unit 401 is configured to obtain the remaining power of the electronic device if the electronic device is in a charging state and the electronic device meets a preset power display condition;
确定单元402用于根据所述剩余电量确定所述侧屏区域中的目标区域和显示参数,所述显示参数包括以下至少一项:显示时长、显示颜色、闪烁频率、透明度、亮度、宽度、渐变效果、环绕效果;The determining unit 402 is configured to determine a target area and a display parameter in the side screen area according to the remaining power, and the display parameter includes at least one of the following: display duration, display color, blinking frequency, transparency, brightness, width, and gradient Effects, surround effects;
显示单元403用于控制所述目标区域按照所述显示参数显示所述剩余电量。The display unit 403 is configured to control the target area to display the remaining power according to the display parameter.
可以理解,若电子设备处于充电状态,且所述电子设备满足预设电量显示条件,获取所述电子设备的剩余电量,根据所述剩余电量确定所述侧屏区域中的目标区域和显示参数,控制所述目标区域按照所述显示参数显示所述剩余电量。如此,在电子设备处于充电状态,且满足预设电量显示条件时,可显示剩余电量,提高剩余电量提示的准确性和灵活性。It can be understood that if the electronic device is in a charging state and the electronic device meets a preset power display condition, obtaining the remaining power of the electronic device, and determining a target area and a display parameter in the side screen area according to the remaining power, Controlling the target area to display the remaining power according to the display parameter. In this way, when the electronic device is in a charging state and meets the preset power display condition, the remaining power can be displayed, which improves the accuracy and flexibility of the remaining power reminder.
在一个可能的示例中,在所述根据所述剩余电量确定所述侧屏区域中的目标区域方面,所述确定单元402具体用于确定所述侧屏区域的显示长度;根据所述剩余电量确定所述显示长度对应的目标显示长度;根据预先设置的显示长度与区域之间的关联关系,确定所述目标显示长度对应的所述目标区域。In a possible example, in determining the target area in the side screen area according to the remaining power, the determining unit 402 is specifically configured to determine a display length of the side screen area; according to the remaining power Determining a target display length corresponding to the display length; and determining the target area corresponding to the target display length according to an association relationship between a preset display length and a region.
在一个可能的示例中,所述电子设备还包括环境光传感器,在所述根据所 述剩余电量确定显示参数方面,所述确定单元402具体用于若确定所述剩余电量对应的多种参考颜色,确定所述触控显示屏的背景颜色;通过所述环境光传感器获取环境光线参数;根据所述背景颜色和所述环境光线参数从所述多种参考颜色中选取所述显示颜色。In a possible example, the electronic device further includes an ambient light sensor. In determining the display parameter according to the remaining power, the determining unit 402 is specifically configured to determine multiple reference colors corresponding to the remaining power. Determining a background color of the touch display screen; obtaining an ambient light parameter through the ambient light sensor; and selecting the display color from the plurality of reference colors according to the background color and the ambient light parameter.
在一个可能的示例中,在所述根据所述剩余电量确定显示参数方面,所述确定单元402具体用于确定所述电子设备的第一充电速度;根据所述第一充电速度和所述剩余电量确定所述显示参数。In a possible example, in determining the display parameter according to the remaining power, the determining unit 402 is specifically configured to determine a first charging speed of the electronic device; according to the first charging speed and the remaining The amount of power determines the display parameter.
在一个可能的示例中,在所述确定所述电子设备的第一充电速度方面,所述确定单元402具体用于确定所述电子设备的运行数据和平均输入电量;确定所述运行数据对应的平均输出电量;根据所述平均输入电量和所述平均输出电量之间的差值确定所述第一充电速度。In a possible example, in determining the first charging speed of the electronic device, the determining unit 402 is specifically configured to determine operating data and an average input power amount of the electronic device; determine that the operating data corresponds to Average output power; determining the first charging speed according to a difference between the average input power and the average output power.
在一个可能的示例中,在所述确定所述运行数据对应的平均输出电量方面,所述确定单元402具体用于确定所述运行数据对应的多个耗电对象;确定所述多个耗电对象中每一耗电对象对应的运行参数,得到多个运行参数;确定所述多个运行参数中每一运行参数对应的预设耗电量,得到多个预设耗电量;根据所述多个预设耗电量确定所述平均输出电量。In a possible example, in determining the average output power corresponding to the operation data, the determining unit 402 is specifically configured to determine a plurality of power consumption objects corresponding to the operation data; determine the plurality of power consumption The operating parameters corresponding to each power consumption object in the object are used to obtain a plurality of operating parameters; the preset power consumption corresponding to each of the plurality of operating parameters is determined to obtain a plurality of preset power consumptions; A plurality of preset power consumptions determine the average output power.
在一个可能的示例中,所述显示单元403还用于根据所述第一充电速度和所述剩余电量显示充电预估时长;In a possible example, the display unit 403 is further configured to display an estimated charging duration according to the first charging speed and the remaining power;
所述装置400还包括:The apparatus 400 further includes:
接收单元404,用于接收针对所述充电预估时长的快充指令;A receiving unit 404, configured to receive a fast charging instruction for the estimated charging duration;
快充单元405,用于对所述电子设备进行快充操作,得到第二充电速度;由所述显示单元控制所述侧屏区域显示所述第二充电速度。The fast charging unit 405 is configured to perform a fast charging operation on the electronic device to obtain a second charging speed; and the display unit controls the side screen area to display the second charging speed.
在一个可能的示例中,所述预设电量显示条件包括以下一项:所述电子设备的充电时长为第一阈值的整数倍、所述剩余电量为第二阈值的整数倍、所述剩余电量大于或等于第三阈值、所述电子设备处于预设姿态、所述电子设备接收到通知信息。In a possible example, the preset power display condition includes one of the following: the charging time of the electronic device is an integer multiple of a first threshold, the remaining power is an integer multiple of a second threshold, and the remaining power Is greater than or equal to a third threshold, the electronic device is in a preset posture, and the electronic device receives notification information.
与图2A和图3所示的实施例一致,请参照图5,图5是本申请实施例提供的另一种电子设备的结构示意图,所述电子设备包括曲面显示屏,所述曲面显示屏包括正屏区域和侧屏区域。如图5所示,该电子设备500包括处理器510、存储器520、通信接口530以及一个或多个程序540,其中,上述一个或 多个程序540被存储在上述存储器520中,并且被配置由上述处理器510执行,上述程序540包括用于执行以下步骤的指令:Consistent with the embodiments shown in FIG. 2A and FIG. 3, please refer to FIG. 5. FIG. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present application. The electronic device includes a curved display screen, and the curved display screen. Including the front screen area and the 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. The one or more programs 540 are stored in the memory 520, and are configured by The processor 510 executes, and the program 540 includes instructions for performing the following steps:
若所述电子设备500处于充电状态,且所述电子设备500满足预设电量显示条件,获取所述电子设备500的剩余电量;If the electronic device 500 is in a charging state, and the electronic device 500 meets a preset power display condition, obtaining the remaining power of the electronic device 500;
根据所述剩余电量确定所述侧屏区域中的目标区域和显示参数,所述显示参数包括以下至少一项:显示时长、显示颜色、闪烁频率、透明度、亮度、宽度、渐变效果、环绕效果;Determining a target area and a display parameter in the side screen area according to the remaining power, the display parameter including at least one of the following: display duration, display color, flicker frequency, transparency, brightness, width, gradient effect, and surround effect;
控制所述目标区域按照所述显示参数显示所述剩余电量。Controlling the target area to display the remaining power according to the display parameter.
可以理解,若电子设备500处于充电状态,且所述电子设备500满足预设电量显示条件,获取所述电子设备500的剩余电量,根据所述剩余电量确定所述侧屏区域中的目标区域和显示参数,控制所述目标区域按照所述显示参数显示所述剩余电量。如此,在电子设备500处于充电状态,且满足预设电量显示条件时,可显示剩余电量,提高剩余电量提示的准确性和灵活性。It can be understood that if the electronic device 500 is in a charging state and the electronic device 500 meets a preset power display condition, the remaining power of the electronic device 500 is obtained, and a target area and a target area in the side screen area are determined according to the remaining power The display parameter controls the target area to display the remaining power according to the display parameter. In this way, when the electronic device 500 is in a charging state and meets a preset power display condition, the remaining power can be displayed, thereby improving the accuracy and flexibility of the remaining power reminder.
在一个可能的示例中,在所述根据所述剩余电量确定所述侧屏区域中的目标区域方面,所述程序540中的指令具体用于执行以下操作:In a possible example, in terms of determining a target area in the side screen area according to the remaining power, the instructions in the program 540 are specifically used to perform the following operations:
确定所述侧屏区域的显示长度;Determining a display length of the side screen area;
根据所述剩余电量确定所述显示长度对应的目标显示长度;Determining a target display length corresponding to the display length according to the remaining power;
根据预先设置的显示长度与区域之间的关联关系,确定所述目标显示长度对应的所述目标区域。The target area corresponding to the target display length is determined according to a preset relationship between the display length and the area.
在一个可能的示例中,所述电子设备500还包括环境光传感器,在所述根据所述剩余电量确定显示参数方面,所述程序540中的指令具体用于执行以下操作:In a possible example, the electronic device 500 further includes an ambient light sensor. In determining the display parameter according to the remaining power, the instructions in the program 540 are specifically used to perform the following operations:
若确定所述剩余电量对应的多种参考颜色,确定所述触控显示屏的背景颜色;If multiple reference colors corresponding to the remaining power are determined, determining a background color of the touch display screen;
通过所述环境光传感器获取环境光线参数;Acquiring ambient light parameters through the ambient light sensor;
根据所述背景颜色和所述环境光线参数从所述多种参考颜色中选取所述显示颜色。Selecting the display color from the plurality of reference colors according to the background color and the ambient light parameter.
在一个可能的示例中,在所述根据所述剩余电量确定显示参数方面,所述程序540中的指令具体用于执行以下操作:In a possible example, in terms of determining a display parameter according to the remaining power, the instructions in the program 540 are specifically used to perform the following operations:
确定所述电子设备500的第一充电速度;Determining a first charging speed of the electronic device 500;
根据所述第一充电速度和所述剩余电量确定所述显示参数。Determining the display parameter according to the first charging speed and the remaining power.
在一个可能的示例中,在所述确定所述电子设备500的第一充电速度方面,所述程序540中的指令具体用于执行以下操作:In a possible example, in terms of determining the first charging speed of the electronic device 500, the instructions in the program 540 are specifically configured to perform the following operations:
确定所述电子设备500的运行数据和平均输入电量;Determining operating data and average input power of the electronic device 500;
确定所述运行数据对应的平均输出电量;Determining an average output power corresponding to the operating data;
根据所述平均输入电量和所述平均输出电量之间的差值确定所述第一充电速度。The first charging speed is determined according to a difference between the average input power and the average output power.
在一个可能的示例中,在所述确定所述运行数据对应的平均输出电量方面,所述程序540中的指令具体用于执行以下操作:In a possible example, in terms of determining the average output power corresponding to the running data, the instructions in the program 540 are specifically used to perform the following operations:
确定所述运行数据对应的多个耗电对象;Determining a plurality of power consumption objects corresponding to the operation data;
确定所述多个耗电对象中每一耗电对象对应的运行参数,得到多个运行参数;Determining an operating parameter corresponding to each of the plurality of power-consuming objects to obtain a plurality of operating parameters;
确定所述多个运行参数中每一运行参数对应的预设耗电量,得到多个预设耗电量;Determining the preset power consumption corresponding to each of the plurality of running parameters to obtain a plurality of preset power consumptions;
根据所述多个预设耗电量确定所述平均输出电量。The average output power is determined according to the plurality of preset power consumptions.
在一个可能的示例中,所述程序540中的指令还用于执行以下操作:In a possible example, the instructions in the program 540 are also used to perform the following operations:
根据所述第一充电速度和所述剩余电量显示充电预估时长;Displaying the estimated charging time according to the first charging speed and the remaining power;
接收针对所述充电预估时长的快充指令;Receiving a fast charge instruction for the estimated length of the charge;
对所述电子设备500进行快充操作,得到第二充电速度;Performing a fast charge operation on the electronic device 500 to obtain a second charging speed;
控制所述侧屏区域显示所述第二充电速度。Controlling the side screen area to display the second charging speed.
在一个可能的示例中,所述运行数据包括系统运行数据和应用运行数据,在所述对所述电子设备500进行快充操作,得到第二充电速度方面,所述程序540中的指令具体用于执行以下操作:In a possible example, the operation data includes system operation data and application operation data. In terms of performing a fast charge operation on the electronic device 500 to obtain a second charging speed, the instructions in the program 540 are specifically used To do the following:
确定所述运行数据对应的多个耗电对象;Determining a plurality of power consumption objects corresponding to the operation data;
确定所述多个耗电对象中每一耗电对象和所述应用运行数据之间的关联值,得到多个关联值;Determining an association value between each of the plurality of power consumption objects and the application running data to obtain a plurality of association values;
根据所述多个关联值确定所述多个耗电对象对应的至少一个待清理对象;Determining at least one object to be cleaned corresponding to the plurality of power-consuming objects according to the plurality of associated values;
对所述至少一个待清理对象进行清理,得到所述第二充电速度。Cleaning the at least one object to be cleaned to obtain the second charging speed.
在一个可能的示例中,所述预设电量显示条件包括以下一项:所述电子设备500的充电时长为第一阈值的整数倍、所述剩余电量为第二阈值的整数倍、所述剩余电量大于或等于第三阈值、所述电子设备500处于预设姿态、所述电子设备500接收到通知信息。In a possible example, the preset power display condition includes one of the following: the charging time of the electronic device 500 is an integer multiple of a first threshold, the remaining power is an integer multiple of a second threshold, and the remaining The power amount is greater than or equal to a third threshold, the electronic device 500 is in a preset posture, and the electronic device 500 receives notification information.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于存储计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,所述计算机包括电子设备。An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores and stores a computer program, and the computer program causes a computer to perform part or all of the steps of any method described in the foregoing method embodiments. The computer includes electronic equipment.
本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,所述计算机包括电子设备。An embodiment of the present application further provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform the operations described in the foregoing method embodiments. Part or all of the steps of any method. The computer program product may be a software installation package, and the computer includes an electronic device.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all described as a series of action combinations. However, those skilled in the art should know that this application is not limited by the described action order. Because according to the present application, certain steps may be performed in another order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For a part that is not described in detail in one embodiment, reference may be made to related descriptions in other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or may Integration into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售 或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable memory. Based on such an understanding, the technical solution of the present application essentially or part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory, Several instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application. The foregoing memory includes: a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk, and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器、随机存取器(、磁盘或光盘等。Those of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by a program instructing related hardware. The program may be stored in a computer-readable memory, and the memory may include a flash disk , Read-only memory, random access device (, disk or optical disk, etc.).
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been described in detail above. Specific examples have been used in this document to explain the principles and implementation of the present application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application. Persons of ordinary skill in the art may change the specific implementation and application scope according to the idea of the present application. In summary, the content of this description should not be construed as a limitation on the present application.

Claims (20)

  1. 一种充电提示方法,其特征在于,应用于电子设备,所述电子设备包括曲面显示屏,所述曲面显示屏包括正屏区域和侧屏区域,所述方法包括:A charging prompt method, which is characterized in that it is applied to an electronic device, the electronic device includes a curved display screen, the curved display screen includes a front screen area and a side screen area, and the method includes:
    若所述电子设备处于充电状态,且所述电子设备满足预设电量显示条件,获取所述电子设备的剩余电量;If the electronic device is in a charging state, and the electronic device meets a preset power display condition, obtaining the remaining power of the electronic device;
    根据所述剩余电量确定所述侧屏区域中的目标区域和显示参数,所述显示参数包括以下至少一项:显示时长、显示颜色、闪烁频率、透明度、亮度、宽度、渐变效果、环绕效果;Determining a target area and a display parameter in the side screen area according to the remaining power, the display parameter including at least one of the following: display duration, display color, flicker frequency, transparency, brightness, width, gradient effect, and surround effect;
    控制所述目标区域按照所述显示参数显示所述剩余电量。Controlling the target area to display the remaining power according to the display parameter.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述剩余电量确定所述侧屏区域中的目标区域,包括:The method according to claim 1, wherein the determining a target area in the side screen area according to the remaining power comprises:
    确定所述侧屏区域的显示长度;Determining a display length of the side screen area;
    根据所述剩余电量确定所述显示长度对应的目标显示长度;Determining a target display length corresponding to the display length according to the remaining power;
    根据预先设置的显示长度与区域之间的关联关系,确定所述目标显示长度对应的所述目标区域。The target area corresponding to the target display length is determined according to a preset relationship between the display length and the area.
  3. 根据权利要求1或2所述的方法,其特征在于,所述电子设备还包括环境光传感器,所述根据所述剩余电量确定显示参数,包括:The method according to claim 1 or 2, wherein the electronic device further comprises an ambient light sensor, and the determining a display parameter according to the remaining power comprises:
    若确定所述剩余电量对应的多种参考颜色,确定所述触控显示屏的背景颜色;If multiple reference colors corresponding to the remaining power are determined, determining a background color of the touch display screen;
    通过所述环境光传感器获取环境光线参数;Acquiring ambient light parameters through the ambient light sensor;
    根据所述背景颜色和所述环境光线参数从所述多种参考颜色中选取所述显示颜色。Selecting the display color from the plurality of reference colors according to the background color and the ambient light parameter.
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述剩余电量确定显示参数,包括:The method according to claim 1, wherein the determining a display parameter according to the remaining power comprises:
    确定所述电子设备的第一充电速度;Determining a first charging speed of the electronic device;
    根据所述第一充电速度和所述剩余电量确定所述显示参数。Determining the display parameter according to the first charging speed and the remaining power.
  5. 根据权利要求4所述的方法,其特征在于,所述确定所述电子设备的第一充电速度,包括:The method according to claim 4, wherein determining the first charging speed of the electronic device comprises:
    确定所述电子设备的运行数据和平均输入电量;Determining operating data and average input power of the electronic device;
    确定所述运行数据对应的平均输出电量;Determining an average output power corresponding to the operating data;
    根据所述平均输入电量和所述平均输出电量之间的差值确定所述第一充电速度。The first charging speed is determined according to a difference between the average input power and the average output power.
  6. 根据权利要求5所述的方法,其特征在于,所述确定所述运行数据对应的平均输出电量,包括:The method according to claim 5, wherein the determining the average output power corresponding to the operating data comprises:
    确定所述运行数据对应的多个耗电对象;Determining a plurality of power consumption objects corresponding to the operation data;
    确定所述多个耗电对象中每一耗电对象对应的运行参数,得到多个运行参数;Determining an operating parameter corresponding to each of the plurality of power-consuming objects to obtain a plurality of operating parameters;
    确定所述多个运行参数中每一运行参数对应的预设耗电量,得到多个预设耗电量;Determining the preset power consumption corresponding to each of the plurality of running parameters to obtain a plurality of preset power consumptions;
    根据所述多个预设耗电量确定所述平均输出电量。The average output power is determined according to the plurality of preset power consumptions.
  7. 根据权利要求4-6任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 4-6, wherein the method further comprises:
    根据所述第一充电速度和所述剩余电量显示充电预估时长;Displaying the estimated charging time according to the first charging speed and the remaining power;
    接收针对所述充电预估时长的快充指令;Receiving a fast charge instruction for the estimated length of the charge;
    对所述电子设备进行快充操作,得到第二充电速度;Performing a fast charge operation on the electronic device to obtain a second charging speed;
    控制所述侧屏区域显示所述第二充电速度。Controlling the side screen area to display the second charging speed.
  8. 根据权利要求7所述的方法,其特征在于,所述运行数据包括系统运行数据和应用运行数据,所述对所述电子设备进行快充操作,得到第二充电速度,包括:The method according to claim 7, wherein the operation data includes system operation data and application operation data, and the performing a fast charge operation on the electronic device to obtain a second charging speed comprises:
    确定所述多个耗电对象中每一耗电对象和所述应用运行数据之间的关联值,得到多个关联值;Determining an association value between each of the plurality of power consumption objects and the application running data to obtain a plurality of association values;
    根据所述多个关联值确定所述多个耗电对象对应的至少一个待清理对象;Determining at least one object to be cleaned corresponding to the plurality of power-consuming objects according to the plurality of associated values;
    对所述至少一个待清理对象进行清理,得到所述第二充电速度。Cleaning the at least one object to be cleaned to obtain the second charging speed.
  9. 根据权利要求1-8任一项所述的方法,其特征在于,所述预设电量显示条件包括以下一项:所述电子设备的充电时长为第一阈值的整数倍、所述剩余电量为第二阈值的整数倍、所述剩余电量大于或等于第三阈值、所述电子设备处于预设姿态、所述电子设备接收到通知信息。The method according to any one of claims 1 to 8, wherein the preset power display condition includes one of the following: the charging time of the electronic device is an integer multiple of a first threshold, and the remaining power is An integer multiple of a second threshold, the remaining power is greater than or equal to a third threshold, the electronic device is in a preset posture, and the electronic device receives notification information.
  10. 一种充电提示装置,其特征在于,应用于电子设备,所述电子设备包括曲面显示屏,所述曲面显示屏包括正屏区域和侧屏区域,所述装置包括:A charging prompting device, which is characterized in that it is applied to an electronic device, the electronic device includes a curved display screen, the curved display screen includes a front screen area and a side screen area, and the device includes:
    获取单元,用于若所述电子设备处于充电状态,且所述电子设备满足预设电量显示条件,获取所述电子设备的剩余电量;An obtaining unit, configured to obtain the remaining power of the electronic device if the electronic device is in a charging state and the electronic device meets a preset power display condition;
    确定单元,用于根据所述剩余电量确定所述侧屏区域中的目标区域和显示参数,所述显示参数包括以下至少一项:显示时长、显示颜色、闪烁频率、透明度、亮度、宽度、渐变效果、环绕效果;A determining unit, configured to determine a target area and a display parameter in the side screen area according to the remaining power, the display parameter including at least one of the following: display duration, display color, blinking frequency, transparency, brightness, width, and gradient Effects, surround effects;
    显示单元,用于控制所述目标区域按照所述显示参数显示所述剩余电量。A display unit is configured to control the target area to display the remaining power according to the display parameter.
  11. 根据权利要求10所述的装置,其特征在于,在所述根据所述剩余电量确定所述侧屏区域中的目标区域方面,所述确定单元具体用于确定所述侧屏区域的显示长度;根据所述剩余电量确定所述显示长度对应的目标显示长度;根据预先设置的显示长度与区域之间的关联关系,确定所述目标显示长度对应的所述目标区域。The device according to claim 10, wherein in determining the target area in the side screen area according to the remaining power, the determining unit is specifically configured to determine a display length of the side screen area; A target display length corresponding to the display length is determined according to the remaining power; and a target area corresponding to the target display length is determined according to an association relationship between a preset display length and a region.
  12. 根据权利要求10或11所述的装置,其特征在于,所述电子设备还包括环境光传感器,在所述根据所述剩余电量确定显示参数方面,所述确定单元具体用于若确定所述剩余电量对应的多种参考颜色,确定所述触控显示屏的背景颜色;通过所述环境光传感器获取环境光线参数;根据所述背景颜色和所述环境光线参数从所述多种参考颜色中选取所述显示颜色。The device according to claim 10 or 11, wherein the electronic device further comprises an ambient light sensor, and in determining the display parameter based on the remaining power, the determining unit is specifically configured to determine the remaining A variety of reference colors corresponding to the power, determine the background color of the touch display; obtain ambient light parameters through the ambient light sensor; and select from the multiple reference colors according to the background color and the ambient light parameters The display color.
  13. 根据权利要求10所述的装置,其特征在于,在所述根据所述剩余电量确定显示参数方面,所述确定单元具体用于确定所述电子设备的第一充电速度;根据所述第一充电速度和所述剩余电量确定所述显示参数。The device according to claim 10, wherein in determining the display parameter according to the remaining power, the determining unit is specifically configured to determine a first charging speed of the electronic device; and according to the first charging The speed and the remaining power determine the display parameters.
  14. 根据权利要求13所述的装置,其特征在于,在所述确定所述电子设备的第一充电速度方面,所述确定单元具体用于确定所述电子设备的运行数据和平均输入电量;确定所述运行数据对应的平均输出电量;根据所述平均输入电量和所述平均输出电量之间的差值确定所述第一充电速度。The device according to claim 13, wherein in determining the first charging speed of the electronic device, the determining unit is specifically configured to determine operating data and an average input power of the electronic device; The average output power corresponding to the operating data; and determining the first charging speed according to a difference between the average input power and the average output power.
  15. 根据权利要求14所述的装置,其特征在于,在所述确定所述运行数据对应的平均输出电量方面,所述确定单元具体用于确定所述运行数据对应的多个耗电对象;确定所述多个耗电对象中每一耗电对象对应的运行参数,得到多个运行参数;确定所述多个运行参数中每一运行参数对应的预设耗电量,得到多个预设耗电量;根据所述多个预设耗电量确定所述平均输出电量。The device according to claim 14, wherein in determining the average output power corresponding to the operation data, the determining unit is specifically configured to determine a plurality of power consumption objects corresponding to the operation data; The operation parameters corresponding to each of the plurality of power consumption objects are described to obtain a plurality of operation parameters; the preset power consumption corresponding to each of the plurality of operation parameters is determined to obtain a plurality of preset power consumptions The average output power is determined according to the plurality of preset power consumptions.
  16. 根据权利要求13-15任一项所述的装置,其特征在于,所述显示单元还用于根据所述第一充电速度和所述剩余电量显示充电预估时长;The device according to any one of claims 13-15, wherein the display unit is further configured to display an estimated charging time according to the first charging speed and the remaining power;
    所述装置还包括:The device further includes:
    接收单元,用于接收针对所述充电预估时长的快充指令;A receiving unit, configured to receive a fast charge instruction for the estimated charging duration;
    快充单元,用于对所述电子设备进行快充操作,得到第二充电速度;由所 述显示单元控制所述侧屏区域显示所述第二充电速度。A fast charge unit is configured to perform a fast charge operation on the electronic device to obtain a second charging speed; and the display unit controls the side screen area to display the second charging speed.
  17. 根据权利要求15所述的装置,其特征在于,所述运行数据包括系统运行数据和应用运行数据,在所述对所述电子设备进行快充操作,得到第二充电速度方面,所述快充单元具体用于确定所述多个耗电对象中每一耗电对象和所述应用运行数据之间的关联值,得到多个关联值;根据所述多个关联值确定所述多个耗电对象对应的至少一个待清理对象;对所述至少一个待清理对象进行清理,得到所述第二充电速度。The device according to claim 15, wherein the operation data includes system operation data and application operation data, and in terms of the fast charging operation performed on the electronic device to obtain a second charging speed, the fast charging The unit is specifically configured to determine an association value between each of the plurality of power consumption objects and the application running data to obtain a plurality of association values; and determine the plurality of power consumptions according to the plurality of association values. At least one object to be cleaned corresponding to the object; cleaning the at least one object to be cleaned to obtain the second charging speed.
  18. 一种电子设备,其特征在于,包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行权利要求1-9任一项方法中的步骤的指令。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 program includes instructions for performing the steps in the method of any one of claims 1-9.
  19. 一种计算机可读存储介质,其特征在于,其用于存储计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。A computer-readable storage medium, which is used to store a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 1-9.
  20. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如权利要求1-9任一项所述的方法。A computer program product, characterized in that the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute the computer program according to any one of claims 1-9. The method described.
PCT/CN2018/107616 2018-09-26 2018-09-26 Charging prompting method and related product WO2020061816A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880095650.5A CN112438007B (en) 2018-09-26 Charging prompt method and related product
PCT/CN2018/107616 WO2020061816A1 (en) 2018-09-26 2018-09-26 Charging prompting method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/107616 WO2020061816A1 (en) 2018-09-26 2018-09-26 Charging prompting method and related product

Publications (1)

Publication Number Publication Date
WO2020061816A1 true WO2020061816A1 (en) 2020-04-02

Family

ID=69949458

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/107616 WO2020061816A1 (en) 2018-09-26 2018-09-26 Charging prompting method and related product

Country Status (1)

Country Link
WO (1) WO2020061816A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077207A (en) * 2013-03-27 2014-10-01 腾讯科技(深圳)有限公司 Electric quantity prompt method and device
CN104809050A (en) * 2015-04-24 2015-07-29 三星电子(中国)研发中心 Electronic equipment and method for displaying battery capacity of electronic equipment
CN105071486A (en) * 2015-08-26 2015-11-18 广东欧珀移动通信有限公司 Charging prompting method and apparatus
CN106786925A (en) * 2016-12-29 2017-05-31 深圳市金立通信设备有限公司 Method and terminal that a kind of charge information shows
CN108155683A (en) * 2017-12-07 2018-06-12 北京小米移动软件有限公司 Reminding method and device, the electronic equipment of charged state

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077207A (en) * 2013-03-27 2014-10-01 腾讯科技(深圳)有限公司 Electric quantity prompt method and device
CN104809050A (en) * 2015-04-24 2015-07-29 三星电子(中国)研发中心 Electronic equipment and method for displaying battery capacity of electronic equipment
CN105071486A (en) * 2015-08-26 2015-11-18 广东欧珀移动通信有限公司 Charging prompting method and apparatus
CN106786925A (en) * 2016-12-29 2017-05-31 深圳市金立通信设备有限公司 Method and terminal that a kind of charge information shows
CN108155683A (en) * 2017-12-07 2018-06-12 北京小米移动软件有限公司 Reminding method and device, the electronic equipment of charged state

Also Published As

Publication number Publication date
CN112438007A (en) 2021-03-02

Similar Documents

Publication Publication Date Title
US11307733B2 (en) Always on display method and electronic device
CN108920059A (en) Message treatment method and mobile terminal
US11381100B2 (en) Method for controlling multi-mode charging, mobile terminal, and storage medium
US11915633B2 (en) Screen color temperature control method, apparatus, storage medium, and mobile terminal
US20230152956A1 (en) Wallpaper display control method and apparatus and electronic device
US20200168166A1 (en) Method for controlling brightness in mobile terminal display, mobile terminal and storage device
WO2020119230A1 (en) Electromagnetic interference control method and related product
WO2018040844A1 (en) Method, device, and apparatus for voice control based on vehicle multimedia apparatus
CN110221882B (en) Display method, display device, mobile terminal and storage medium
CN106502510A (en) The adaptation processing method at icon and interface, device
WO2020061824A1 (en) Charging prompt method and related product
CN108388335A (en) A kind of method and mobile terminal of control mobile terminal
CN109144455B (en) Display control method and related product
CN110769120A (en) Method, device, equipment and storage medium for message reminding
CN110827785B (en) Brightness adjusting method and related product
CN109587341A (en) A kind of voice communication control method, terminal and computer readable storage medium
CN109253736A (en) A kind of air navigation aid, device, electric terminal and medium
WO2023045921A1 (en) Display method and apparatus, and electronic device
WO2020056583A1 (en) Display method, related device and storage medium
WO2020061816A1 (en) Charging prompting method and related product
WO2020047758A1 (en) Message prompting method and related product
CA2948377C (en) Electronic device including battery and method of controlling same for charging the battery
CN109981882A (en) A kind of display control method, double screen terminal and computer readable storage medium
CN109661022A (en) Network control method, system, storage medium and mobile terminal
CN112438007B (en) Charging prompt method and related product

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18935837

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 18935837

Country of ref document: EP

Kind code of ref document: A1