CN113268135A - Low-power-consumption standby method and device - Google Patents

Low-power-consumption standby method and device Download PDF

Info

Publication number
CN113268135A
CN113268135A CN202110419749.XA CN202110419749A CN113268135A CN 113268135 A CN113268135 A CN 113268135A CN 202110419749 A CN202110419749 A CN 202110419749A CN 113268135 A CN113268135 A CN 113268135A
Authority
CN
China
Prior art keywords
standby
input event
display screen
power consumption
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110419749.XA
Other languages
Chinese (zh)
Inventor
许剑群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rockchip Electronics Co Ltd
Original Assignee
Rockchip Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rockchip Electronics Co Ltd filed Critical Rockchip Electronics Co Ltd
Priority to CN202110419749.XA priority Critical patent/CN113268135A/en
Publication of CN113268135A publication Critical patent/CN113268135A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a low-power consumption standby method and a low-power consumption standby device, wherein the method comprises the following steps of: judging whether the system running state meets a preset standby condition or not; if the preset standby condition is met, the response interruption of the input event is reserved, the system is in standby, and when the interruption of the input event occurs, the system exits from standby and responds to the input event; and if the preset standby condition is not met, not performing standby. The invention can realize the response to the input of the user and the low power consumption by keeping the interruption of the input event and then entering the system for standby, thereby greatly reducing the power consumption of the system.

Description

Low-power-consumption standby method and device
Technical Field
The invention relates to the technical field of software methods, in particular to a low-power-consumption standby method and device.
Background
In the prior art, in order to save power consumption of an electronic device, the electronic device needs to be in standby. The STANDBY mode includes a general STANDBY mode and a deep STANDBY mode (STANDBY mode), the general STANDBY mode is to turn off a display screen, freeze a UI and the like, the system is still running, and the system can respond to a key or touch and the like, so that a certain power consumption saving effect is achieved. The deep standby is to standby the system, and only the power key can be awakened at the moment, so that the aim of saving more power consumption is fulfilled. That is, the current standby mode includes response but still large power consumption or small power consumption but no response, and the user experience is poor. That is, the prior art cannot provide a standby method that can achieve both response and lower power consumption.
Disclosure of Invention
Therefore, a low-power-consumption standby method and a low-power-consumption standby device are needed to be provided, and the problem that a standby method which can not only respond but also achieve low power consumption cannot be provided currently is solved.
In order to achieve the above object, the present invention provides a low power consumption standby method, which comprises the following steps:
judging whether the system running state meets a preset standby condition or not;
if the preset standby condition is met, the response interruption of the input event is reserved, the system is in standby, and when the interruption of the input event occurs, the system exits from standby and responds to the input event;
and if the preset standby condition is not met, not performing standby.
Further, the method also comprises the following steps when the response of the input event is interrupted:
and skipping the display screen content emptying stage and reserving the display content of the display screen.
Further, the display screen is an electronic ink screen.
Furthermore, after the system is quitted from standby, when the display content is updated, the display screen initialization stage is skipped to directly send the updated content to the display screen.
Further, the preset standby condition is that no input event is generated for a time longer than a preset time.
Further, the input event includes a touch event, a key input event, an RTC interrupt event, or a sensor input event.
The invention provides a low-power consumption standby device, which comprises a memory and a processor, wherein the memory is stored with a computer program, and the computer program realizes the steps of the method according to any one of the embodiments of the invention when being executed by the processor.
Different from the prior art, the technical scheme enters the system standby state after the interruption of the input event is reserved, so that the response to the input of the user can be realized, the low power consumption can be realized, and the power consumption of the system can be greatly reduced.
Drawings
FIG. 1 is a flow diagram of a method according to an embodiment;
FIG. 2 is a flow chart of a method according to another embodiment.
Detailed Description
To explain technical contents, structural features, and objects and effects of the technical solutions in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
Referring to fig. 1 to fig. 2, the present embodiment provides a low power consumption standby method, which can be run on a system of an electronic device, such as an embedded system including an android system. Existing electronic devices have a deep STANDBY mode, i.e. STANDBY mode. In the STANDBY mode, the system stores the data in the current running state in the memory, the electronic device only supplies power to the memory, and the hard disk, the screen, the CPU and other components stop supplying power. However, the power key cannot respond to an input event such as a touch, and only the power key can be wakened up. The invention can realize faster standby speed and wakeup speed when in standby and wakeup, and does not need to rely on a particularly fast data storage memory by not adding a time-consuming module in the standby; for example, DDR has two modes, namely self-refresh and auto-refresh, the self-refresh power consumption is low but long, the auto-refresh power consumption is slightly high but short, the standby mode in this mode will enter auto-refresh, and the standby mode will enter self-refresh. The invention specifically comprises the following steps: s101, judging whether the system running state meets a preset standby condition or not. If the preset standby condition is satisfied, the process proceeds to step S102, where the response interrupt of the input event (input event) is retained and the system is in standby, and when the interrupt of the input event occurs, the system is exited from standby and the input event is responded. The system STANDBY mode of the present invention may be referred to herein as IDLE mode, which may achieve very low power consumption similar to STANDBY mode, but may be triggered in response to an interrupt of an input event. At this time, the system standby may still be to turn off the power supplies of other modules such as the hard disk, the flash, the CPU, and the like, but the power supplies of the modules related to the input event are kept in a continuous power supply state. Therefore, when the user carries out corresponding input operation on the input module, the system can be quickly awakened and restored to the running state and corresponding action is executed. The low power consumption is achieved, meanwhile, the input of a user can be responded, the user experience is improved, and the power consumption is greatly saved.
Of course, if the preset standby condition is not satisfied at step S103, the standby is not performed. In some embodiments, as shown in fig. 2, the system may simultaneously have a STANDBY state in STANDBY mode, and when the STANDBY condition is satisfied, if the user may press a STANDBY key to perform deep STANDBY, the system enters the STANDBY state in STANDBY mode, and the power supply of the hard disk, the input module, and the CPU is turned off, thereby achieving lower power consumption.
In order to make the user feel unaware when the system enters into standby, the invention also comprises the following steps when the response interruption of the input event is reserved: and skipping the display screen content emptying stage and reserving the display content of the display screen. In the existing STANDBY mode, the system empties the screen content when entering the STANDBY state. The invention does not empty the display screen content, and keeps the display content of the display screen, so that when the system is in standby, a user can not even feel that the system is in a standby mode, thereby greatly improving the user experience and greatly saving the power consumption.
In order to achieve the retention of the display content of the display screen, preferably, the display screen is an electronic ink screen. The device may be an electronic book device. In some embodiments, the display screen may also be a display with a cache and refresh of display content, and when the system does not input new content to the display screen, the display screen may automatically self-refresh to implement the retention of the display content. In a display screen with a backlight, the backlight power supply may also be preserved while preserving the display content. The method and the device can respond to the input event of the user, and the user can update the content when performing operations such as page turning and the like, so that the power consumption is greatly saved, the user has no perception, and the user experience is improved.
When exiting the STANDBY state, the existing STANDBY mode still needs to initialize the display screen if the display screen needs to be displayed. And the invention reserves the display content and the power supply of the display screen, when the display content is updated after the system standby is exited, the display screen initialization stage is skipped to directly send the updated content to the display screen. The invention only needs to initialize and drive the display screen once when the computer is started, and then does not need to initialize and drive the display screen when the computer is standby and quits standby, thereby greatly improving the processing speed of the system and the user experience.
The method and the device can be used for enabling the display content of the display screen to be unchanged so that a user can enter a system standby state in an imperceptible mode, and can also realize automatic standby and imperceptible standby of the method and the device in which the display screen is not available or the device is not mainly provided with the display content and has function content caching. If the main function of the music playing device is music, the system is provided with a buffer for playing the music, and the content of the buffer can provide music playing for a period of time, the automatic entering and the automatic exiting of the standby mode of the invention can be carried out in the process of buffering the functional content, so that the response of the functional content can be completed, and the power consumption can be greatly saved. At this time, the preset standby condition can be that when the functional content cache is just updated, the updated system enters standby, and then when the content in the content cache unit is about to be used, an interrupt can be generated. Such as an interrupt may be generated by a DMAC (direct memory access controller). And after the system quits the standby state, the functional content cache is updated again, so that the normal functional use of the user is not influenced, and the standby state with low power consumption can be carried out. Of course, during standby, the power supply of the module for reading the functional content cache should be maintained, so that the normal use of the function can not be influenced.
The preset standby condition of the invention can be that the system meets the preset system running state or the user actively inputs the trigger. The predetermined system operating state may be, for example, a no input event that exceeds a predetermined time. Namely, after the system does not detect the input event for a period of time, the system can automatically stand by, so that automatic stand-by can be realized, and the power consumption is saved. If the user 3S does not touch the screen, the standby state of the present invention can be entered. The input event here can be set as a touch event, a key input event or a sensor input event, the sensor is a sensor for acquiring external data by the system, and includes an acceleration sensor, an infrared sensor or a magnetic induction sensor, and the sensor can be set according to the sensor on the device and the actual needs.
Likewise, the input events of the present invention in responding to the interruption of the input event may also be similar to the input events described above, including a touch event, a key input event, an RTC interruption event, or a sensor input event. Therefore, if a user touches the touch screen, presses a key or shakes a device to trigger sensor input, or the RTC (real Time clock) timing Time is up, an input event is generated to wake up the system, the system quits the standby state, and the quick response of user input is realized.
The invention provides a low-power consumption standby device, which comprises a memory and a processor, wherein the memory is stored with a computer program, and the computer program realizes the steps of the method according to any one of the embodiments of the invention when being executed by the processor. The device enters the system standby state after the interruption of the input event is reserved, so that the response to the input of the user can be realized, and the low power consumption can be realized, so that the power consumption of the system can be greatly reduced.
It should be noted that, although the above embodiments have been described herein, the invention is not limited thereto. Therefore, based on the innovative concepts of the present invention, the technical solutions of the present invention can be directly or indirectly applied to other related technical fields by making changes and modifications to the embodiments described herein, or by using equivalent structures or equivalent processes performed in the content of the present specification and the attached drawings, which are included in the scope of the present invention.

Claims (7)

1. A low power consumption standby method is characterized by comprising the following steps:
judging whether the system running state meets a preset standby condition or not;
if the preset standby condition is met, the response interruption of the input event is reserved, the system is in standby, and when the interruption of the input event occurs, the system exits from standby and responds to the input event;
and if the preset standby condition is not met, not performing standby.
2. The method for low power consumption standby according to claim 1, further comprising the step of, when the response of the input event is interrupted:
and skipping the display screen content emptying stage and reserving the display content of the display screen.
3. A method of low power standby according to claim 2, characterized in that: the display screen is an electronic ink screen.
4. A method of low power standby according to claim 2, characterized in that: and after the system is quitted from standby, when the display content is updated, skipping the initialization stage of the display screen and directly sending the updated content to the display screen.
5. The method of claim 1, wherein the method comprises: the preset standby condition is that no input event is generated for a preset time.
6. The method of claim 1, wherein the method comprises: the input event includes a touch event, a key input event, an RTC interrupt event, or a sensor input event.
7. A low power standby apparatus, comprising: comprising a memory, a processor, said memory having stored thereon a computer program which, when being executed by the processor, carries out the steps of the method according to any one of claims 1 to 6.
CN202110419749.XA 2021-04-19 2021-04-19 Low-power-consumption standby method and device Pending CN113268135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110419749.XA CN113268135A (en) 2021-04-19 2021-04-19 Low-power-consumption standby method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110419749.XA CN113268135A (en) 2021-04-19 2021-04-19 Low-power-consumption standby method and device

Publications (1)

Publication Number Publication Date
CN113268135A true CN113268135A (en) 2021-08-17

Family

ID=77229016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110419749.XA Pending CN113268135A (en) 2021-04-19 2021-04-19 Low-power-consumption standby method and device

Country Status (1)

Country Link
CN (1) CN113268135A (en)

Similar Documents

Publication Publication Date Title
US9092220B2 (en) Method and apparatus to optimize system battery-life while preventing disruptive user experience during system suspend
KR102023146B1 (en) Zero power hibernation mode with instant on
CN109885343B (en) Controller low-power-consumption starting method and device, computer equipment and storage medium
US8943347B2 (en) Controlling the power state of an idle processing device
US7869835B1 (en) Method and system for pre-loading and executing computer instructions within the cache memory
JP2014089711A (en) Electronic equipment and control method therefor
CN111562836B (en) Power saving method, device, equipment and storage medium applied to electronic equipment
US8766919B1 (en) Fast awake from low power mode
CN107168508B (en) Low-power-consumption normally-displayed information implementation method and device
US20070214289A1 (en) Dynamic power control for reduced voltage level of graphics controller component of memory controller based on its degree of ideleness
JP2002163045A (en) Computer system, and method of controlling stand-by mode thereof
JP2007249660A (en) Information processor and method of controlling system state
US9483103B2 (en) Process state of a computing machine
EP1789882A1 (en) Storing system information in a low-latency persistent memory device upon transition to a lower-power state
KR20100054855A (en) Power management method and apparatus
US6694442B2 (en) Method for saving power in a computer by idling system controller and reducing frequency of host clock signal used by system controller
US20120278542A1 (en) Computer system and sleep control method thereof
TW201237756A (en) Method for fast resuming computer system and computer system
CN113268135A (en) Low-power-consumption standby method and device
US20140306973A1 (en) Method, module and electronic apparatus for updating contents to be displayed before turning on display device
CN113835760A (en) System starting method, electronic device and storage medium
JP2011013836A (en) Memory arrangement management device and microprocessor
US20120278604A1 (en) Control method applied to computer system in hybrid sleep mode
CN113703799B (en) Computing device and BIOS updating method and medium thereof
CN115220565A (en) Dormancy control method and device for base frequency processor BP and electronic equipment

Legal Events

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