CN111562836B - Power saving method, device, equipment and storage medium applied to electronic equipment - Google Patents
Power saving method, device, equipment and storage medium applied to electronic equipment Download PDFInfo
- Publication number
- CN111562836B CN111562836B CN202010470022.XA CN202010470022A CN111562836B CN 111562836 B CN111562836 B CN 111562836B CN 202010470022 A CN202010470022 A CN 202010470022A CN 111562836 B CN111562836 B CN 111562836B
- Authority
- CN
- China
- Prior art keywords
- module
- electronic equipment
- power
- power saving
- central processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3215—Monitoring of peripheral devices
- G06F1/3218—Monitoring of peripheral devices of display devices
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3265—Power saving in display device
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the application belongs to the technical field of electronics, and provides a power saving method applied to electronic equipment, a power saving device applied to the electronic equipment, computer equipment and a storage medium. The method comprises the following steps: when the electronic equipment works normally, continuously acquiring an operation signal input by a user to the electronic equipment; judging whether the operation time and the current time interval of the acquired latest operation signal meet the preset standby time or not; if the judgment result is yes, controlling the electronic equipment to enter a preset power saving mode; and if the judgment result is negative, continuously acquiring the operation signal input by the user to the electronic equipment. The application can achieve the effect of saving electric energy, is simple and convenient to realize, and accords with the concept of green environmental protection.
Description
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a power saving method and apparatus for an electronic device, a computer device, and a storage medium.
Background
Along with the continuous progress of science and technology, people gradually change from reading or writing paper characters into reading or editing text contents through electronic equipment, so that the electronic equipment is environment-friendly and convenient to carry, and is popular with more and more users.
The existing power saving method of the electronic equipment is that when a user does not operate the electronic equipment for a period of time, the electronic equipment enters a standby mode, and the central processing module stops executing instructions, so that partial power consumption is saved, and the working time of the electronic equipment is prolonged.
However, in the conventional power saving method of the electronic device, the power consumption is generally relatively large, and when the electronic device enters the standby mode, in order to quickly restore the function of the electronic device when the electronic device is awakened, other modules of the electronic device are still in an energized state, and at this time, the power consumption of the electronic device is still relatively large, which is not beneficial to energy conservation and environmental protection.
Disclosure of Invention
The embodiment of the application aims to solve the problems that the power saving method of the traditional electronic equipment is large in general power consumption and unfavorable for energy conservation and environmental protection.
In order to solve the above technical problems, the embodiments of the present application provide a power saving method applied to an electronic device, which adopts the following technical scheme:
when the electronic equipment works normally, continuously acquiring an operation signal input by a user to the electronic equipment;
judging whether the operation time and the current time interval of the acquired latest operation signal meet the preset standby time or not;
if the judgment result is yes, controlling the electronic equipment to enter a preset power saving mode;
and if the judgment result is negative, continuously acquiring the operation signal input by the user to the electronic equipment.
In order to solve the above technical problems, the embodiments of the present application further provide a power saving device applied to an electronic device, which adopts the following technical scheme:
the signal acquisition unit is used for continuously acquiring an operation signal input by a user to the electronic equipment when the electronic equipment works normally;
the dormancy judging unit is used for judging whether the operation time and the current time interval of the acquired latest operation signal meet the preset standby time or not;
the dormancy confirmation unit is used for controlling the electronic equipment to enter a preset power saving mode if the judgment result is yes;
and the continuous acquisition unit is used for continuously acquiring the operation signal input by the user to the electronic equipment if the judgment result is negative.
In order to solve the above technical problems, the embodiments of the present application further provide a computer device, which adopts the following technical schemes:
comprising a memory and a processor, the computer-readable storage medium having stored thereon a computer program which, when executed by the processor, implements the steps of a power saving method as described above for application to an electronic device.
In order to solve the above technical problems, embodiments of the present application further provide a computer readable storage medium, which adopts the following technical solutions:
the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of a power saving method as described above applied to an electronic device.
Compared with the prior art, the embodiment of the application has the following main beneficial effects:
according to the power saving method applied to the electronic equipment, the display device of the electronic equipment is electronic paper, and the electronic paper is characterized in that after the display content in the working state of the electronic paper is powered off, the display content on the screen can still be normally displayed for a plurality of months, when the electronic equipment is in a waiting state under the condition of long-time non-use, the electronic equipment is controlled to enter a preset power saving mode, all modules except the storage module and the power management module are stopped to be powered off, and the electronic paper can continuously keep the display content before the power is powered off, so that the effect of saving electric energy is achieved, the implementation is simple and convenient, and the concept of green environmental protection is met.
Drawings
For a clearer description of the solution in the present application, a brief description will be given below of the drawings that are needed in the description of the embodiments of the present application, it being obvious that the drawings in the following description are some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 2 is a flowchart of an implementation of a power saving method applied to an electronic device according to an embodiment of the present invention;
FIG. 3 is a flow chart showing the implementation of step S130 in FIG. 2;
FIG. 4 is a flowchart of an embodiment of a wake-up electronic device according to the present invention;
FIG. 5 is a flowchart of an implementation of an operating electronic device according to a first embodiment of the present invention;
fig. 6 is a schematic structural diagram of a power saving device applied to an electronic apparatus according to a second embodiment of the present invention;
fig. 7 is a schematic diagram of a sleep confirm unit according to a second embodiment of the present invention;
FIG. 8 is a schematic structural diagram of one embodiment of a computer device according to the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the applications herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having" and any variations thereof in the description and claims of the present application and in the description of the figures above are intended to cover non-exclusive inclusions. The terms first, second and the like in the description and in the claims or in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order.
Reference herein to "an embodiment" 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 such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
According to the power saving method applied to the electronic equipment, the display device of the electronic equipment is electronic paper, and the electronic paper is characterized in that after the display content in the working state of the electronic paper is powered off, the display content on the screen can still be normally displayed for a plurality of months, when the electronic equipment is in a waiting state under the condition of long-time non-use, the electronic equipment is controlled to enter a preset power saving mode, all modules except the storage module and the power management module are stopped to be powered off, and the electronic paper can continuously keep the display content before the power is powered off, so that the effect of saving electric energy is achieved, the implementation is simple and convenient, and the concept of green environmental protection is met.
In order to better understand the technical solutions of the present application, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings.
Example 1
Referring to fig. 1, a schematic structural diagram of an electronic device according to a first embodiment of the present invention is shown, and for convenience of explanation, only a portion relevant to the present invention is shown.
The electronic device includes: the device comprises a central processing unit 10, a memory 20, a power management module 30, an ink screen 40 and a detection module 50. Wherein:
the central processing unit 10 is mainly used for running programs.
The memory 20 is mainly used as a memory, the program is loaded into the memory, and the cpu reads memory data to run the program. The ddr of this patent needs to have a self-refresh characteristic.
The power management module 30 is mainly used for processing instructions from the central processing unit 10 and switching on and off power supply of related modules. The module can be a common Micro Controller (MCU), a special power management chip (PMIC) or an asymmetric processor structure, and is integrated into a central processing unit. Etc.
The ink screen 40 is a display device, and has a feature that screen content can be maintained for several months after power failure.
The detection module 50 includes, but is not limited to, an electromagnetic pen (EMR), a touch screen (TP), keys, infrared, bluetooth.
Referring to fig. 2, a flowchart of an implementation of a power saving method applied to an electronic device according to an embodiment of the present invention is shown, and for convenience of explanation, only a portion relevant to the present invention is shown.
In step S110, when the electronic device is in normal operation, an operation signal input by a user to the electronic device is continuously acquired.
In the embodiment of the present invention, the electronic device refers to a terminal device in which the display module is electronic paper, and the terminal device may be a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, etc., and a fixed terminal such as a digital TV, a desktop computer, etc., and it should be understood that the examples of the terminal device herein are merely for convenience in understanding and are not intended to limit the present invention.
In the embodiment of the invention, the display module of the electronic equipment is an ink screen, and the ink screen has a characteristic that after the screen is powered off, the content on the screen can still be normally displayed for a plurality of months.
In the embodiment of the invention, the normal operation of the electronic equipment refers to the state of executing the operation instruction under the condition that the central processing unit and the power management module of the electronic equipment supply power to each module of the electronic equipment.
In the embodiment of the invention, the user can input the operation signal to the electronic equipment through a touch screen pen, a mouse, a touch screen board and the like.
In step S120, it is determined whether the operation time and the current time interval of the acquired latest operation signal satisfy the preset standby time.
In the embodiment of the invention, the standby time is mainly used for determining whether the user does not use the electronic equipment for a long time.
In the embodiment of the invention, the time when the electronic equipment receives the operation signal is taken as the operation time of the operation signal, the system can continuously acquire the operation signal input by the user, and whether the operation time corresponding to the latest operation signal and the current time meet the standby time or not is compared, so that whether the user does not use the electronic equipment for a long time or not is determined.
In step S130, if the determination result is yes, the electronic device is controlled to enter a preset power saving mode.
In the embodiment of the invention, the preset power saving mode refers to a state that the power management module of the electronic device only supplies power to the storage module and the power management module.
In the embodiment of the invention, when the user is determined not to use the electronic equipment for a long time, the power management module controlling the electronic equipment only supplies power to the storage module and the power management module.
In step S140, if the determination result is no, the operation signal input by the user to the electronic device is continuously acquired.
In the embodiment of the invention, the display device of the electronic equipment is electronic paper, and the electronic paper is characterized in that after the display content in the working state of the electronic paper is powered off, the display content on the screen can still be normally displayed for a plurality of months, when the electronic equipment is not used for a long time and enters a waiting state, the electronic equipment is controlled to enter a preset power saving mode, all modules except the storage module and the power management module are stopped to be powered off, and the display content of the electronic paper before the power is continuously kept, so that the effect of saving electric energy is achieved, the electronic equipment is simple and convenient to realize, and the electronic equipment accords with the concept of green environmental protection.
With continued reference to fig. 3, a flowchart of the implementation of step S130 in fig. 1 is shown, and for convenience of explanation, only the portions relevant to the present invention are shown.
In some optional implementations of the first embodiment, the step S130 specifically includes: step S201 and step S202.
In step S201, the central processing module sends a data storage instruction and a self-refresh instruction to the memory module, so that the memory module stores key data and enters a self-refresh mode.
In step S202, the central processing module sends a power supply stopping instruction to the power management module, so that the power management module stops supplying power to the central processing module, and only supplies power to the storage module and the power management module and enters a power saving mode.
In the embodiment of the invention, the power supply stopping instruction is mainly used for controlling the power supply management module to stop supplying power to the module except the storage module and the module unexpected by the power supply management module, especially stopping supplying power to the central processing module, and the power supply management module enters a low-power consumption mode to ensure that the electric energy loss of the electronic equipment is minimum.
In the embodiment of the invention, the self-refresh instruction is mainly used for controlling the memory module to enter the self-refresh mode.
In the embodiment of the invention, the power management module is mainly used for processing instructions from the cpu and turning on and off power supply of the related modules. As an example, the power management module may be a general Micro Controller (MCU); the power management module may also be a dedicated power management chip (PMIC); the power management module may also be implemented as an asymmetric processor architecture, with the power management module being integrated into the central processing module.
In practical application, when the electronic device enters the pre-sleep process, the central management module stores key data in the storage module, the central management module notifies the storage module to enter the self-refresh mode, and meanwhile, the central processing module notifies the power management module to cut off power supply of all modules (including the central management module), only power supply to the storage module and the power management module is reserved, and the power management module enters the power saving mode, so that the effect of saving power is achieved.
With continued reference to fig. 4, a flowchart of an implementation of the wake-up electronic device according to the first embodiment of the present invention is shown, and for convenience of explanation, only a portion relevant to the present invention is shown.
In some optional implementations of the first embodiment, after step S202, the method further includes: step S301, step S302, and step S303.
In step S301, when the power management module detects a wake-up signal, power supply to the display module is stopped and power supply functions of other modules are restored.
In step S302, after the central processing module is powered on, the central processing module sends a self-refresh exit command to the memory module to control the memory module to exit the self-refresh mode.
In step S303, the central processing module resumes the key data and activates a sleep module, which includes a functional module other than the display module.
In the embodiment of the invention, the wake-up signal refers to information of an operation signal to be input to the electronic device by a user, and the signal can be detected by a detection device.
In the embodiment of the invention, when the detection device detects the wake-up signal, the wake-up signal is transmitted to the electric energy management module, so that the function of detecting the wake-up signal is realized.
In the embodiment of the invention, the power management module detects the wake-up signal and then supplies power to the central processing module, and the central processing module controls the storage module to leave the self-refresh mode.
In the embodiment of the invention, when the power management module detects a wake-up source signal, the electronic equipment needs to exit a preset power saving mode, the power management module can restore the power supply function according to a preset rule, the central processing module can control the storage module to exit the self-refresh mode under the condition of restoring the power supply, and simultaneously, the central processing module can restore key data and wake up other hardware modules except a processing screen, and the screen still displays the picture before power failure due to the characteristic that the power-down picture of the ink screen is still in progress, so that the process of carrying out android wake-up redrawing is not required when the electronic equipment is awakened, and the awakening speed is accelerated; for the user, the electronic paper display module observed by the user still displays the display content before the preset power saving mode, so that the use experience of the user is not affected.
With continued reference to fig. 5, a flowchart of an implementation of an operating electronic device according to the first embodiment of the present invention is shown, and for convenience of explanation, only a portion relevant to the present invention is shown.
In some optional implementations of the first embodiment, after step S302, the method further includes: step S401 and step S402.
In step S401, when the electronic device receives the operation signal, the electronic device reads the data cache data, starts to supply power to the display module, and obtains the sleep data before the preset power saving mode.
In the embodiment of the invention, before the electronic equipment enters the preset power saving mode, the cache data of the display module is stored in an automatic refresh area of a double rate synchronous dynamic random access memory (DDR SDRAM, double Data RateSynchronous Dynamic Random Access Memory), so that the electronic equipment is ensured not to lose the data of the display module when entering the preset power saving mode.
In the embodiment of the present invention, the sleep data refers to the above-mentioned cache data of the electronic device before entering the preset power saving mode.
In the embodiment of the invention, when the display module is started to wake up after being electrified, the process of traditional Android wake-up redrawing is omitted based on the characteristic that the display picture still exists after the ink screen is powered down, so that a large amount of wake-up time is saved, and the problem of low wake-up speed of the traditional Android wake-up redrawing is effectively solved.
In step S402, a data update operation is performed on the display module after the startup based on the operation signal.
In the embodiment of the invention, when a user inputs the operation signal to the electronic equipment in the modes of a touch screen pen, a mouse, a touch screen board and the like, the electronic equipment can add new handwriting corresponding to the operation signal on the basis of the cached data and trigger the display module to refresh, so that the user can enter a normal working state after waking up the electronic equipment, the operation process of redrawing pictures before dormancy is omitted, and compared with the traditional method, the time required for releasing the dormancy state is shorter, and the use experience of the user is improved.
In some alternative implementations of the first embodiment, the electronic device further includes:
a detection module 50;
the detection module 50 includes:
an electromagnetic pen and an electromagnetic film arranged on the display module;
when the electromagnetic pen is close to the electromagnetic film, the electromagnetic film can send the wake-up signal to the power management module.
In the embodiment of the invention, the electromagnetic film is arranged on the display module of the electronic equipment to detect whether an electromagnetic signal exists, when a user needs to input an operation signal to the electronic equipment, the electromagnetic pen is held close to the electronic equipment, and the battery film sends a signal that the user is about to use the electronic equipment to the electronic equipment before the user inputs the operation signal, so that the electronic equipment wakes up from a preset power saving mode in advance, and the user is less likely to enter a dormant state.
In the embodiment of the invention, the wake-up signal refers to a signal that the battery film sends a "user is about to use the electronic device" to the electronic device before the user inputs the operation signal.
In some alternative implementations of the first embodiment, the electronic device further includes:
a detection module 50;
the detection module 50 is a capacitive touch device arranged on the electronic equipment;
and when the capacitive touch device detects a signal, the wake-up signal is sent to the power management module.
In the embodiment of the invention, when the user needs to input the operation signal to the electronic equipment, the user approaches the electronic equipment, the signal that the user is about to use the electronic equipment is obtained by arranging the capacitive touch device on the electronic equipment, and the signal is transmitted to the electronic equipment in a wake-up signal mode, so that the electronic equipment is waken up from a preset power saving mode in advance, and the user cannot perceive that the electronic equipment is in a dormant state.
In summary, in the power saving method applied to an electronic device provided by the embodiment of the invention, since the display device of the electronic device is electronic paper, the display content of the electronic paper in the working state can still be normally displayed for several months after the electronic paper is powered off, and when the electronic device is not used for a long time and enters a waiting state, each module is controlled to enter a preset power saving mode to stop power supply and close, and the electronic paper can continuously keep the display content before power off, thereby achieving the effect of saving electric energy, being simple and convenient to implement and conforming to the concept of green environmental protection. Meanwhile, by controlling the central processing module to execute the power supply operation, as the user does not input an operation signal to the electronic equipment, the working module corresponding to the operation signal input by the user does not need to be opened truly, so that the energy saving effect is achieved, and for the user, the electronic paper display module observed by the user still displays the display content before the preset power saving mode, so that the use experience of the user is not influenced; when a user inputs the operation signal to the electronic device through a touch screen pen, a mouse, a touch screen panel and the like, the electronic device increases new handwriting corresponding to the operation signal on the basis of the cached data and triggers the display module to refresh, so that the user can enter a normal working state after waking the electronic device, the operation process of redrawing pictures before dormancy is omitted, the time required for removing the dormancy state is shorter than that required in the prior art, and the use experience of the user is improved
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored in a computer-readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (Random Access Memory, RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
Example two
With further reference to fig. 6 as an implementation of the method shown in fig. 1, the present application provides a power saving device applied to an electronic apparatus, where an embodiment of the device corresponds to the embodiment of the method shown in fig. 1, and the device may be specifically applied to various electronic apparatuses.
As shown in fig. 5, a power saving device 100 according to a second embodiment of the present invention includes: a signal acquisition unit 110, a sleep determination unit 120, a sleep confirmation unit 130, and a continuous acquisition unit 140. Wherein:
the signal acquisition unit 110 is configured to continuously acquire an operation signal input by a user to the electronic device when the electronic device is operating normally;
a sleep judging unit 120, configured to judge whether the operation time and the current time interval of the acquired latest operation signal meet a preset standby time;
the sleep confirmation unit 130 is configured to control the electronic device to enter a preset power saving mode if the determination result is yes;
and the continuous acquisition unit 140 is configured to continuously acquire the operation signal input by the user to the electronic device if the determination result is negative.
In the embodiment of the present invention, the electronic device refers to a terminal device in which the display module is electronic paper, and the terminal device may be a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, etc., and a fixed terminal such as a digital TV, a desktop computer, etc., and it should be understood that the examples of the terminal device herein are merely for convenience in understanding and are not intended to limit the present invention.
In the embodiment of the invention, the display module of the electronic equipment is an ink screen, and the ink screen has a characteristic that after the screen is powered off, the content on the screen can still be normally displayed for a plurality of months.
In the embodiment of the invention, the normal operation of the electronic equipment refers to the state of executing the operation instruction under the condition that the central processing unit and the power management module of the electronic equipment supply power to each module of the electronic equipment.
In the embodiment of the invention, the user can input the operation signal to the electronic equipment through a touch screen pen, a mouse, a touch screen board and the like.
In the embodiment of the invention, the standby time is mainly used for determining whether the user does not use the electronic equipment for a long time.
In the embodiment of the invention, the time when the electronic equipment receives the operation signal is taken as the operation time of the operation signal, the system can continuously acquire the operation signal input by the user, and whether the operation time corresponding to the latest operation signal and the current time meet the standby time or not is compared, so that whether the user does not use the electronic equipment for a long time or not is determined.
In the embodiment of the invention, the preset power saving mode refers to a state that the power management module of the electronic device only supplies power to the storage module and the power management module.
In the embodiment of the invention, when the user is determined not to use the electronic equipment for a long time, the power management module controlling the electronic equipment only supplies power to the storage module and the power management module.
In the embodiment of the invention, the display device of the electronic equipment is electronic paper, and the electronic paper is characterized in that after the display content in the working state of the electronic paper is powered off, the display content on the screen can still be normally displayed for a plurality of months, when the electronic equipment is not used for a long time and enters a waiting state, the electronic equipment is controlled to enter a preset power saving mode, all modules except the storage module and the power management module are stopped to be powered off, and the display content of the electronic paper before the power is continuously kept, so that the effect of saving electric energy is achieved, the electronic equipment is simple and convenient to realize, and the electronic equipment accords with the concept of green environmental protection.
With continued reference to fig. 7, in some alternative implementations of the second embodiment of the present invention, the sleep confirmation unit 130 includes: a memory control subunit 131 and a power control subunit 132. Wherein:
a storage control subunit 131, configured to send a data storage instruction and a self-refresh instruction to a storage module by using a central processing module, so that the storage module stores key data and enters a self-refresh mode;
the power control subunit 132 is configured to send a power supply stopping instruction to the power management module by using the central processing module, so that the power management module only supplies power to the storage module and the power management module and enters a power saving mode.
In the embodiment of the invention, the power supply stopping instruction is mainly used for controlling the power supply management module to stop supplying power to the storage module and the module unexpected by the power supply management module, and the power supply stopping instruction enters a low-power consumption mode to ensure that the electric energy loss of the electronic equipment is minimum.
In the embodiment of the invention, the self-refresh instruction is mainly used for controlling the memory module to enter the self-refresh mode.
In the embodiment of the invention, the power management module is mainly used for processing instructions from the cpu and turning on and off power supply of the related modules. As an example, the power management module may be a general Micro Controller (MCU); the power management module may also be a dedicated power management chip (PMIC); the power management module may also be implemented as an asymmetric processor architecture, with the power management module being integrated into the central processing module.
In practical application, when the electronic device enters the pre-sleep process, the central management module stores key data in the storage module, the central management module notifies the storage module to enter the self-refresh mode, and meanwhile, the central processing module notifies the power management module to cut off power supply of all modules (including the central management module), only power supply to the storage module and the power management module is reserved, and the power management module enters the power saving mode, so that the effect of saving power is achieved.
In some optional implementations of the second embodiment of the present invention, the power saving device 100 applied to an electronic apparatus further includes: a wake-up subunit, a self-refresh subunit, and an activation subunit. Wherein:
a wake-up subunit, configured to restore a power supply function when the power management module detects a wake-up signal;
the self-refreshing subunit is used for sending a self-refreshing exit instruction to the storage module by the central processing module after the central processing module is electrified so as to control the storage module to exit the self-refreshing mode;
and the activating sub-module is used for the central processing module to restore the key data and activate the dormancy module to work, and the dormancy module comprises functional modules except the display module.
In some optional implementations of the second embodiment of the present invention, the power saving device 100 applied to an electronic apparatus further includes: an operation subunit and a data update subunit. Wherein:
the signal receiving subunit is used for reading the data cache data when the electronic equipment receives the operation signal, and starting the display module to acquire dormant data before a preset power saving mode;
and the data updating subunit is used for carrying out data updating operation on the started display module based on the operation signal.
In some optional implementations of the second embodiment of the present invention, the power management module includes:
an electromagnetic pen and an electromagnetic film arranged on the display module;
when the electromagnetic pen is close to the electromagnetic film, the electromagnetic film can send the wake-up signal to the electronic equipment.
In some optional implementations of the second embodiment of the present invention, the power management module includes:
a capacitive touch device disposed on the electronic device;
and when the capacitive touch device detects a signal, the wake-up signal is sent to the electronic equipment.
In order to solve the technical problems, the embodiment of the application also provides computer equipment. Referring specifically to fig. 8, fig. 8 is a basic structural block diagram of a computer device according to the present embodiment.
The computer device 8 comprises a memory 81, a processor 82, a network interface 83 communicatively connected to each other via a system bus. It should be noted that only computer device 8 having components 81-83 is shown in the figures, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead. It will be appreciated by those skilled in the art that the computer device herein is a device capable of automatically performing numerical calculations and/or information processing in accordance with predetermined or stored instructions, the hardware of which includes, but is not limited to, microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASICs), programmable gate arrays (fields-Programmable Gate Array, FPGAs), digital processors (Digital Signal Processor, DSPs), embedded devices, etc.
The computer equipment can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing equipment. The computer equipment can perform man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch pad or voice control equipment and the like.
The memory 81 includes at least one type of readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the storage 81 may be an internal storage unit of the computer device 8, such as a hard disk or a memory of the computer device 8. In other embodiments, the memory 81 may also be an external storage device of the computer device 8, such as a plug-in hard disk, a Smart Media Card (SMC), a secure digital (SecureDigital, SD) Card, a Flash Card (Flash Card), etc. that are provided on the computer device 8. Of course, the memory 81 may also comprise both an internal memory unit of the computer device 8 and an external memory device. In this embodiment, the memory 81 is typically used to store an operating system and various types of application software installed on the computer device 8, such as program codes of the X method. Further, the memory 81 may be used to temporarily store various types of data that have been output or are to be output.
The processor 82 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 82 is typically used to control the overall operation of the computer device 8. In this embodiment, the processor 82 is configured to execute the program code stored in the memory 81 or process data, for example, execute the program code of the X method.
The network interface 83 may comprise a wireless network interface or a wired network interface, which network interface 83 is typically used to establish a communication connection between the computer device 8 and other electronic devices.
The present application also provides another embodiment, namely, a computer readable storage medium storing an X program, where the X program is executable by at least one processor, so that the at least one processor performs the steps of the X method as described above.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
It is apparent that the embodiments described above are only some embodiments of the present application, but not all embodiments, the preferred embodiments of the present application are given in the drawings, but not limiting the patent scope of the present application. This application may be embodied in many different forms, but rather, embodiments are provided in order to provide a more thorough understanding of the present disclosure. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing, or equivalents may be substituted for elements thereof. All equivalent structures made by the specification and the drawings of the application are directly or indirectly applied to other related technical fields, and are also within the protection scope of the application.
Claims (6)
1. The power saving method applied to the electronic equipment is characterized in that a display module of the electronic equipment is an ink screen, and the power saving method comprises the following steps:
when the electronic equipment works normally, continuously acquiring an operation signal input by a user to the electronic equipment;
judging whether the operation time and the current time interval of the acquired latest operation signal meet the preset standby time or not;
if the judgment result is yes, controlling the electronic equipment to enter a preset power saving mode;
if the judgment result is negative, continuously acquiring the operation signal input by the user to the electronic equipment;
the step of controlling the electronic device to enter a preset power saving mode specifically includes:
the central processing module sends a data storage instruction and a self-refresh instruction to the storage module so that the storage module stores key data and enters a self-refresh mode;
the central processing module sends a power supply stopping instruction to the power supply management module so that the power supply management module stops supplying power to the central processing module, only supplies power to the storage module and the power supply management module and enters a power saving mode;
after the step that the central processing module sends the power supply stopping instruction to the power management module, the method further comprises the following steps:
when the power management module detects a wake-up signal, maintaining the power-off state of the display module and recovering the power supply function of other modules;
when the central processing module is electrified, the central processing module sends a self-refresh exit instruction to the memory module so as to control the memory module to exit from a self-refresh mode;
the central processing module resumes the key data and activates a sleep module to work, wherein the sleep module comprises a functional module except the display module;
the electronic device further includes: a detection module;
the detection module comprises:
an electromagnetic pen and an electromagnetic film arranged on the display module;
when the electromagnetic pen is close to the electromagnetic film, the electromagnetic film can send the wake-up signal to the power management module.
2. The power saving method for an electronic device as claimed in claim 1, wherein after the step of the central processing module restoring the key data and activating the sleep module to operate, the method further comprises the steps of:
when the electronic equipment receives the operation signal, reading data cache data, starting to supply power to the display module and acquiring dormancy data before a preset power saving mode;
performing data updating operation on the started display module based on the operation signal;
and controlling the central processing module to send an execution instruction corresponding to the operation signal to a display device so as to control the electronic equipment to completely recover the working state.
3. The power saving method for an electronic device of claim 1, wherein the electronic device further comprises: a detection module;
the detection module is a capacitive touch device arranged on the electronic equipment;
and when the capacitive touch device detects a signal, the wake-up signal is sent to the power management module.
4. The utility model provides a be applied to power saving device of electronic equipment, its characterized in that, electronic equipment's display module is the ink screen, electronic equipment's display module is electronic paper, power saving device includes:
the signal acquisition unit is used for continuously acquiring an operation signal input by a user to the electronic equipment when the electronic equipment works normally;
the dormancy judging unit is used for judging whether the operation time and the current time interval of the acquired latest operation signal meet the preset standby time or not;
the dormancy confirmation unit is used for controlling the electronic equipment to enter a preset power saving mode if the judgment result is yes;
the continuous acquisition unit is used for continuously acquiring the operation signal input by the user to the electronic equipment if the judgment result is negative;
the sleep confirm unit includes:
the storage control subunit is used for sending a data storage instruction and a self-refresh instruction to the storage module by the central processing module so that the storage module stores key data and enters a self-refresh mode;
the power supply control subunit is used for sending a power supply stopping instruction to the power supply management module by the central processing module so that the power supply management module stops supplying power to the central processing module, only supplies power to the storage module and the power supply management module and enters a power saving mode;
the apparatus further comprises:
the wake-up subunit is used for maintaining the power-off state of the display module and recovering the power supply function of other modules when the power supply management module detects a wake-up signal;
the self-refreshing subunit is used for sending a self-refreshing exit instruction to the storage module by the central processing module after the central processing module is electrified so as to control the storage module to exit the self-refreshing mode;
the activating subunit is used for the central processing module to restore the key data and activate the dormancy module to work, and the dormancy module comprises functional modules except the display module;
the electronic device further includes: a detection module;
the detection module comprises:
an electromagnetic pen and an electromagnetic film arranged on the display module;
when the electromagnetic pen is close to the electromagnetic film, the electromagnetic film can send the wake-up signal to the power management module.
5. A computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the power saving method applied to an electronic device as claimed in any one of claims 1 to 3 when the computer program is executed.
6. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the power saving method applied to an electronic device as claimed in any one of claims 1 to 3.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010470022.XA CN111562836B (en) | 2020-05-28 | 2020-05-28 | Power saving method, device, equipment and storage medium applied to electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010470022.XA CN111562836B (en) | 2020-05-28 | 2020-05-28 | Power saving method, device, equipment and storage medium applied to electronic equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111562836A CN111562836A (en) | 2020-08-21 |
| CN111562836B true CN111562836B (en) | 2023-07-04 |
Family
ID=72075023
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010470022.XA Active CN111562836B (en) | 2020-05-28 | 2020-05-28 | Power saving method, device, equipment and storage medium applied to electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111562836B (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2022040989A1 (en) * | 2020-08-26 | 2022-03-03 | 深圳市大疆创新科技有限公司 | Electronic device and control method |
| CN112099861B (en) * | 2020-09-16 | 2024-07-23 | 上海闻泰信息技术有限公司 | Terminal management method, device, user terminal and computer-readable storage medium |
| CN112562112A (en) * | 2020-11-16 | 2021-03-26 | 深圳市长龙铁路电子工程有限公司 | Automatic inspection method and system |
| CN113691271B (en) * | 2021-07-21 | 2022-08-05 | 荣耀终端有限公司 | Data transmission method and wearable device |
| EP4451091A4 (en) * | 2022-01-10 | 2025-01-29 | Huawei Technologies Co., Ltd. | DATA PROCESSING METHOD AND ELECTRONIC DEVICE |
| CN116185513B (en) * | 2023-04-27 | 2023-07-18 | 北京大上科技有限公司 | Screen locking system and method |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130031388A1 (en) * | 2011-07-26 | 2013-01-31 | Premanand Sakarda | Zero power hibernation mode with instant on |
| US8766919B1 (en) * | 2010-03-02 | 2014-07-01 | Manish Lachwani | Fast awake from low power mode |
| US10572270B1 (en) * | 2017-03-03 | 2020-02-25 | Amazon Technologies, Inc. | Wakeup from hibernation state using motion sensor |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI451239B (en) * | 2011-04-27 | 2014-09-01 | Asustek Comp Inc | Control method applied to computer system in hybrid sleep mode |
| TWI437419B (en) * | 2011-04-27 | 2014-05-11 | Asustek Comp Inc | Computer system and associated sleep control method |
-
2020
- 2020-05-28 CN CN202010470022.XA patent/CN111562836B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8766919B1 (en) * | 2010-03-02 | 2014-07-01 | Manish Lachwani | Fast awake from low power mode |
| US20130031388A1 (en) * | 2011-07-26 | 2013-01-31 | Premanand Sakarda | Zero power hibernation mode with instant on |
| US10572270B1 (en) * | 2017-03-03 | 2020-02-25 | Amazon Technologies, Inc. | Wakeup from hibernation state using motion sensor |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111562836A (en) | 2020-08-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111562836B (en) | Power saving method, device, equipment and storage medium applied to electronic equipment | |
| US11009933B2 (en) | Apparatus and method for waking up a processor | |
| CN102622079B (en) | Sleep method, wakening method and mobile terminal device | |
| US20130054998A1 (en) | Method and Apparatus to Optimize System Battery-Life While Preventing Disruptive User Experience During System Suspend | |
| US8108704B2 (en) | Method for automatically switching power states | |
| WO2022206584A1 (en) | Electronic device, display control method, display control apparatus and readable storage medium | |
| CN105302548A (en) | Android device standby and waking-up method and apparatus | |
| WO2011110098A1 (en) | Computer, display card, display device and method for updating display information | |
| WO2016041190A1 (en) | Method and apparatus for running application program | |
| CN105353864A (en) | Static power consumption management method and system for electronic device | |
| CN107168798A (en) | A kind of device sleeps method and device, device sleeps awakening method and device | |
| US20120278542A1 (en) | Computer system and sleep control method thereof | |
| CN101441449A (en) | Method for automatically switching power supply state | |
| TWI667569B (en) | Computer wake-up method and computer power saving method | |
| CN105739986A (en) | Terminal wake-up method and terminal | |
| CN113721754B (en) | Control method, device and electronic equipment | |
| CN215814078U (en) | Digital screen with ultralow standby power consumption | |
| CN118012253A (en) | Device control method and electronic device | |
| CN1282911A (en) | Method for suspending computer system state | |
| TWI547854B (en) | A displaying method, a system and an electronic device of a waking-up interface and a sleeping interface. | |
| TW201012189A (en) | Reciprocal wake-up system for handheld devices with insert type wireless communication module and a method therefore | |
| CN115223561A (en) | Voice wake-up control method of handheld device and related device | |
| CN115033092A (en) | Off-screen display control method, device, mobile device and computer storage medium | |
| CN108646909A (en) | Information processing method, device, mobile terminal and computer readable storage medium | |
| TWI451239B (en) | Control method applied to computer system in hybrid sleep mode |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |