CN112882762A - Power consumption optimization method, device, equipment and storage medium for ink screen equipment - Google Patents

Power consumption optimization method, device, equipment and storage medium for ink screen equipment Download PDF

Info

Publication number
CN112882762A
CN112882762A CN202110321471.2A CN202110321471A CN112882762A CN 112882762 A CN112882762 A CN 112882762A CN 202110321471 A CN202110321471 A CN 202110321471A CN 112882762 A CN112882762 A CN 112882762A
Authority
CN
China
Prior art keywords
electric quantity
consumption
ink screen
power consumption
standby
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
CN202110321471.2A
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.)
ONYX INTERNATIONAL Inc
Original Assignee
ONYX INTERNATIONAL Inc
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 ONYX INTERNATIONAL Inc filed Critical ONYX INTERNATIONAL Inc
Priority to CN202110321471.2A priority Critical patent/CN112882762A/en
Publication of CN112882762A publication Critical patent/CN112882762A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Operations Research (AREA)
  • General Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for optimizing power consumption of ink screen equipment, wherein the method comprises the following steps: when the ink screen equipment enters a standby state, acquiring standby time and standby electric quantity; when the ink screen equipment is awakened from the standby state, acquiring awakening time and awakening electric quantity; determining the electric quantity value consumed by the equipment according to the standby time, the standby electric quantity, the awakening time and the awakening electric quantity; generating and displaying an electric quantity consumption list of an application program operated by the ink screen equipment according to a comparison result of the equipment consumption electric quantity value and a preset electric quantity consumption reference value; and responding to a freezing instruction aiming at the electric quantity consumption list, and freezing the target application program corresponding to the freezing instruction, so that the electric quantity consumption of the ink screen equipment when the ink screen equipment enters a standby state next time is reduced, and the continuous use of the ink screen equipment is facilitated.

Description

Power consumption optimization method, device, equipment and storage medium for ink screen equipment
Technical Field
The invention relates to the technical field of electric quantity control, in particular to a method, a device, equipment and a storage medium for optimizing power consumption of ink screen equipment.
Background
Electronic ink screens are devices that use electronic ink, which is typically made in the form of a thin film, to implement a display. The electronic ink screen has the obvious advantages of being ultrathin, visible under strong light, free of flicker, large in visual angle, bendable and the like, so that in recent years, the electronic ink screen is widely applied to the fields of mobile phones, wearable equipment, electronic tags and the like.
However, in the using process of the device carrying the electronic ink screen, a user may manually start a plurality of applications to perform tasks such as background running or downloading and forget to close the applications, and after the applications are awakened from the sleep mode, the user finds that the power consumption of the device is high, but cannot know the specific power consumption of each application in the electronic ink screen device, so that the continuous use of the electronic ink screen device is inconvenient.
Disclosure of Invention
The invention provides a power consumption optimization method, a power consumption optimization device, power consumption optimization equipment and a storage medium of ink screen equipment, and solves the technical problems that the specific power consumption of each application in the electronic ink screen equipment cannot be known in the prior art, and the continuous use of the ink screen equipment is inconvenient.
The invention provides a method for optimizing power consumption of ink screen equipment, which comprises the following steps:
when the ink screen equipment enters a standby state, acquiring standby time and standby electric quantity;
when the ink screen equipment is awakened from the standby state, acquiring awakening time and awakening electric quantity;
determining a device consumption electric quantity value according to the standby time, the standby electric quantity, the awakening time and the awakening electric quantity;
generating and displaying an electric quantity consumption list of an application program operated by the ink screen equipment according to a comparison result of the equipment consumption electric quantity value and a preset electric quantity consumption reference value;
and responding to a freezing instruction aiming at the electric quantity consumption list, and freezing the target application program corresponding to the freezing instruction.
Optionally, the step of determining a device consumption electric quantity value according to the standby time, the standby electric quantity, the wake-up time, and the wake-up electric quantity includes:
calculating a first difference value of the standby electric quantity and the awakening electric quantity;
calculating a second difference between the wake-up time and the standby time;
and determining the device consumption electric quantity value in unit time by adopting the first difference value and the second difference value.
Optionally, the step of generating and displaying an electric quantity consumption list of an application program run by the ink screen device according to a comparison result between the device consumption electric quantity value and a preset electric quantity consumption reference value includes:
comparing the equipment power consumption value with a preset power consumption reference value;
if the device consumption electric quantity value is larger than the electric quantity consumption reference value, a notification receiver which notifies the ink screen device is sent;
establishing a new power consumption statistical example through the notification receiver; the electricity consumption statistical example is used for updating electricity consumption data of all application programs operated by the ink screen equipment and generating an electricity consumption data list;
extracting the electric quantity consumption data of each application program from the electric quantity consumption data list, and converting the electric quantity consumption data into a percentage form to obtain the electric quantity consumption ratio of each application program;
and sequencing all the application programs according to the sequence of the electric quantity consumption ratio from large to small, and generating and displaying an electric quantity consumption list.
Optionally, the step of freezing, in response to a freeze instruction for the power consumption list, a target application program corresponding to the freeze instruction includes:
when an application freezing instruction is received, determining a target application program corresponding to the freezing instruction from the electric quantity consumption list;
and freezing the target application program to end the background running of the target application program in the ink screen device.
The second aspect of the present invention further provides an apparatus for optimizing power consumption of an ink screen device, including:
the standby parameter acquisition module is used for acquiring standby time and standby electric quantity when the ink screen equipment enters a standby state;
the awakening parameter acquisition module is used for acquiring awakening time and awakening electric quantity when the ink screen equipment is awakened from the standby state;
the electric quantity consumption calculation module is used for determining an electric quantity value consumed by the equipment according to the standby time, the standby electric quantity, the awakening time and the awakening electric quantity;
the electric quantity consumption list generating module is used for generating and displaying an electric quantity consumption list of an application program operated by the ink screen equipment according to a comparison result of the equipment consumption electric quantity value and a preset electric quantity consumption reference value;
and the program freezing module is used for responding to a freezing instruction aiming at the electric quantity consumption list and freezing the target application program corresponding to the freezing instruction.
Optionally, the power consumption calculating module includes:
the first difference value calculating submodule is used for calculating a first difference value of the standby electric quantity and the awakening electric quantity;
the second difference value calculating submodule is used for calculating a second difference value of the awakening time and the standby time;
and the unit electric quantity consumption submodule is used for determining the electric quantity value consumed by the equipment in unit time by adopting the first difference value and the second difference value.
Optionally, the electric quantity consumption list generating module includes:
the electric quantity comparison submodule is used for comparing the equipment consumption electric quantity value with a preset electric quantity consumption reference value;
a notification sending submodule for sending a notification to a notification receiver in the ink screen device if the device consumption electric quantity value is greater than the electric quantity consumption reference value;
the power consumption statistical instance establishing submodule is used for establishing a new power consumption statistical instance through the notification receiver; the electricity consumption statistical example is used for updating electricity consumption data of all application programs operated by the ink screen equipment and generating an electricity consumption data list;
the electric quantity consumption ratio calculation submodule is used for extracting the electric quantity consumption data of each application program from the electric quantity consumption data list and converting the electric quantity consumption data into a percentage form to obtain the electric quantity consumption ratio of each application program;
and the sequencing submodule is used for sequencing all the application programs according to the sequence of the electric quantity consumption ratio from large to small, generating an electric quantity consumption list and displaying the electric quantity consumption list.
Optionally, the program freezing module includes:
the freezing target determining submodule is used for determining a target application program corresponding to the freezing instruction from the electric quantity consumption list when the freezing instruction of the application is received;
and the target freezing submodule is used for freezing the target application program so as to finish the background running of the target application program in the ink screen equipment.
A third aspect of the present invention provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to perform the steps of the method for optimizing power consumption of an ink screen device according to any one of the first aspect of the present invention.
A fourth aspect of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method for optimizing power consumption of an ink screen apparatus according to any one of the first aspect of the present invention.
According to the technical scheme, the invention has the following advantages:
when the ink screen equipment is not operated within a period of time and enters a standby state, the standby time and the standby electric quantity at the current moment are acquired; when the ink screen equipment is awakened from the standby state, acquiring the awakening time and the awakening electric quantity corresponding to the awakening moment, and further calculating the equipment consumption electric quantity value of the ink screen equipment in unit time according to the standby time, the standby electric quantity, the awakening time and the awakening electric quantity; then generating an electric quantity consumption list of an application program operated by the ink screen equipment according to a comparison result of the equipment electric quantity consumption value and a preset electric quantity consumption reference value; and finally, freezing the target application program based on a freezing instruction of the user for the electric quantity consumption list so as to reduce the electric quantity consumption of the ink screen equipment when the ink screen equipment enters a standby state next time, thereby solving the technical problems that the specific electric quantity consumption of each application in the electronic ink screen equipment cannot be known in the prior art and the continuous use of the ink screen equipment is inconvenient.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating steps of a method for optimizing power consumption of an ink screen device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a method for optimizing power consumption of an ink-jet printer according to a second embodiment of the present invention;
fig. 3 is a block diagram of a power consumption optimizing apparatus for an ink screen device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a power consumption optimization method, a power consumption optimization device, power consumption optimization equipment and a storage medium of ink screen equipment, and aims to solve the technical problems that the specific power consumption of each application in the electronic ink screen equipment cannot be known in the prior art, and the continuous use of the ink screen equipment is inconvenient.
An ink screen device refers to a device loaded with an electronic ink display screen that can display a changing image by changing color, e.g., from black to white, by electronic ink when powered on. Including but not limited to electronic book readers, electronic ink displays, electronic ink screen watches, electronic ink screen cell phones, and the like.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for optimizing power consumption of an ink screen device according to an embodiment of the present invention.
The invention provides a power consumption optimization method of ink screen equipment, which comprises the following steps:
step 101, when an ink screen device enters a standby state, acquiring standby time and standby electric quantity;
in the embodiment of the invention, when the ink screen equipment enters the standby state, the application enters the background running state at the moment, and the current time and the electric quantity of the ink screen equipment entering the standby state can be acquired as the standby time and the standby electric quantity.
102, acquiring awakening time and awakening electric quantity when the ink screen equipment is awakened from a standby state;
when the ink screen equipment is awakened from the standby state, the current time and the current electric quantity are acquired as the awakening time and the awakening electric quantity.
The operation of waking up the ink screen device from the standby state may include multiple operations, such as a touch screen, a touch switch key, a timing alarm clock, and the like.
Step 103, determining a device consumption electric quantity value according to the standby time, the standby electric quantity, the awakening time and the awakening electric quantity;
after the standby time, the standby electric quantity, the awakening time and the awakening electric quantity are obtained, the device consumption electric quantity value of the ink screen device in unit time can be calculated based on the difference value between the awakening time and the standby time and by combining the absolute value of the difference value between the awakening electric quantity and the standby electric quantity.
104, generating and displaying an electric quantity consumption list of an application program operated by the ink screen equipment according to a comparison result of the equipment consumption electric quantity value and a preset electric quantity consumption reference value;
the electric quantity consumption reference value refers to the electric quantity consumed by the ink screen device without background tasks in unit time, wherein the electric quantity is acquired from a cloud end or an official website.
After the equipment power consumption value is obtained through calculation, whether the equipment power consumption value is abnormal or not can be judged by comparing the equipment power consumption value with a preset power consumption reference value; and if the current state is abnormal, further generating an electric quantity consumption list corresponding to the application program operated by the ink screen equipment.
And step 105, responding to the freezing instruction aiming at the electric quantity consumption list, and freezing the target application program corresponding to the freezing instruction.
After the electric quantity consumption list is generated, the electric quantity consumption list can be displayed through the electronic ink screen, a freezing instruction input by a user aiming at the electric quantity consumption list is responded, and a target application program corresponding to the freezing instruction is frozen, so that the electricity consumption of the ink screen device in a standby state is reduced.
In the embodiment of the invention, when the ink screen equipment is not operated within a period of time and enters a standby state, the standby time and the standby electric quantity at the current moment are acquired; when the ink screen equipment is awakened from the standby state, acquiring the awakening time and the awakening electric quantity corresponding to the awakening moment, and further calculating the equipment consumption electric quantity value of the ink screen equipment in unit time according to the standby time, the standby electric quantity, the awakening time and the awakening electric quantity; then generating an electric quantity consumption list of an application program operated by the ink screen equipment according to a comparison result of the equipment electric quantity consumption value and a preset electric quantity consumption reference value; and finally, freezing the target application program based on a freezing instruction of the user for the electric quantity consumption list so as to reduce the electric quantity consumption of the ink screen equipment when the ink screen equipment enters a standby state next time, thereby solving the technical problems that the specific electric quantity consumption of each application in the electronic ink screen equipment cannot be known in the prior art and the continuous use of the ink screen equipment is inconvenient.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for optimizing power consumption of an ink screen device according to a second embodiment of the present invention.
The invention provides a power consumption optimization method of ink screen equipment, which comprises the following steps:
step 201, when the ink screen equipment enters a standby state, acquiring standby time and standby electric quantity;
in the embodiment of the invention, when the ink screen device enters the standby state, that is, the ink screen device is not operated within a period of time, at this time, the application enters the background running state, and the time and the electric quantity of the ink screen device entering the standby state can be acquired as the standby time and the standby electric quantity.
In a specific implementation, the time display and the electric quantity display of the ink screen device are usually displayed at fixed positions, and the power-on condition of the electronic ink in the fixed positions can be acquired, and the time and the electric quantity displayed by the electronic ink at the fixed positions are determined, so as to obtain the standby time and the standby electric quantity.
Step 202, when the ink screen equipment is awakened from a standby state, acquiring awakening time and awakening electric quantity;
in specific implementation, due to the characteristics of the electronic ink, the electronic ink is displayed before standby in a standby state, and after the ink screen device is awakened from the standby state, the time display and the electric quantity display on the electronic ink screen are changed, so that the power-on condition of the electronic ink at the position of the time display and the electric quantity display can be obtained again to determine the update time and the update electric quantity displayed by the electronic ink at the position, and the update time and the update electric quantity are determined as the awakening time and the awakening electric quantity.
The operation of waking up the ink screen device from the standby state may include multiple operations, such as a touch screen, a touch switch key, a timing alarm clock, and the like.
Step 203, determining a device consumption electric quantity value according to the standby time, the standby electric quantity, the awakening time and the awakening electric quantity;
in one example of the present invention, step 203 may include the following sub-steps S11-S13:
s11, calculating a first difference value of the standby electric quantity and the awakening electric quantity;
s12, calculating a second difference value between the wake-up time and the standby time;
and S13, determining the device consumption electric quantity value in unit time by using the first difference value and the second difference value.
In the embodiment of the invention, after the standby time, the standby electric quantity, the wake-up time and the wake-up electric quantity are obtained, the standby electric quantity and the wake-up electric quantity can be further adopted to make a difference to obtain a first difference value; obtaining a second difference value by adopting the difference between the awakening time and the standby time; and dividing the first difference value by the second difference value to determine the device consumption electric quantity value in unit time.
Optionally, when the first difference is calculated, an absolute value of a difference between the wake-up power amount and the standby power amount may also be calculated as the first difference.
Step 204, comparing the device consumption electric quantity value with a preset electric quantity consumption reference value;
in the embodiment of the present invention, after the device consumption electric quantity value is obtained, in order to reduce resource consumption, before the electric quantity consumption list is generated, the device consumption electric quantity value may be compared with a preset electric quantity consumption reference value, and whether subsequent power consumption optimization is required or not may be determined according to a comparison result.
The preset reference value of power consumption can be obtained from the cloud, the reference value of power consumption in unit time is obtained by calculating the power and the continuous service time of the preset reference value of power consumption, and the reference value of power consumption can be set by a technician according to the number of necessary running programs in the ink screen device.
Step 205, if the device consumption electric quantity value is greater than the electric quantity consumption reference value, sending a notification receiver notifying that the device is in the ink screen device;
in an example of the present invention, if the device consumption electric quantity value is greater than the electric quantity consumption reference value, it indicates that the application program running in the background is stored in the period from the standby state to the wake-up state, and at this time, the notification receiver in the ink screen device may be notified by sending a notification to notify the ink screen device that the subsequent power consumption optimization needs to be performed.
Optionally, if the device power consumption value is less than or equal to the power consumption reference value, it indicates that the ink screen device does not need power consumption optimization currently, and at this time, the subsequent power consumption optimization of the ink screen device may be omitted.
Step 206, a new power consumption statistical instance is created by informing the receiver; the power consumption statistical example is used for updating the power consumption data of all the application programs operated by the ink screen equipment and generating a power consumption data list;
in this embodiment, a new power consumption statistic instance, for example, a batterystatsshelper instance, may be notified to the receiver, so as to invoke a refreshStats method instance therein to update power consumption data of all current applications of the ink screen device since the last charging, and finally, a circuit consumption data list may be generated by the getUsageList method instance therein.
Step 207, extracting the electric quantity consumption data of each application program from the electric quantity consumption data list, and converting the electric quantity consumption data into a percentage form to obtain the electric quantity consumption ratio of each application program;
after the power consumption data list is obtained, power consumption data corresponding to each application program can be extracted from the power consumption data list, and the power consumption data is converted into a percentage form to be displayed, so that the power consumption ratio of each application program is obtained.
Step 208, sequencing all the application programs according to the sequence of the electric quantity consumption ratio from large to small, generating and displaying an electric quantity consumption list;
after the electric quantity consumption ratio of each application program is obtained, in order to display the electric quantity consumption ratio of each application program more intuitively, all the application programs can be sequenced according to the sequence from large to small of the electric quantity consumption ratio, so that an electric quantity consumption list corresponding to the application program operated by the ink screen device is generated and displayed on the ink screen device.
Step 209, in response to the freeze command for the power consumption list, freezes the target application corresponding to the freeze command.
Optionally, step 209 may include the following sub-steps S21-S22:
s21, when an application freezing instruction is received, determining a target application program corresponding to the freezing instruction from the electric quantity consumption list;
and S22, freezing the target application program to end the background running of the target application program in the ink screen device.
In the embodiment of the invention, after the electric quantity consumption list is displayed, a user can know the electric quantity consumption ratio corresponding to each application program and the name of the application program from the electric quantity consumption list, and if an input application freezing instruction is received, a target application program specified by the freezing instruction can be selected from the electric quantity consumption list, and the target application program is frozen to finish the background running of the target application program in the ink screen device, so that the power consumption optimization of the ink screen device is realized.
In the embodiment of the invention, when the ink screen equipment is not operated within a period of time and enters a standby state, the standby time and the standby electric quantity at the current moment are acquired; when the ink screen equipment is awakened from the standby state, acquiring the awakening time and the awakening electric quantity corresponding to the awakening moment, and further calculating the equipment consumption electric quantity value of the ink screen equipment in unit time according to the standby time, the standby electric quantity, the awakening time and the awakening electric quantity; then generating an electric quantity consumption list of an application program operated by the ink screen equipment according to a comparison result of the equipment electric quantity consumption value and a preset electric quantity consumption reference value; and finally, freezing the target application program based on a freezing instruction of the user for the electric quantity consumption list so as to reduce the electric quantity consumption of the ink screen equipment when the ink screen equipment enters a standby state next time, thereby solving the technical problems that the specific electric quantity consumption of each application in the electronic ink screen equipment cannot be known in the prior art and the continuous use of the ink screen equipment is inconvenient.
Referring to fig. 3, fig. 3 is a block diagram of a power consumption optimization apparatus for an ink screen device according to a third embodiment of the present invention.
The invention provides a power consumption optimization device of ink screen equipment, which comprises:
a standby parameter obtaining module 301, configured to obtain standby time and standby power when the ink screen device enters a standby state;
a wake-up parameter obtaining module 302, configured to obtain a wake-up time and a wake-up electric quantity when the ink screen device is woken up from a standby state;
the electric quantity consumption calculation module 303 is configured to determine an electric quantity value consumed by the device according to the standby time, the standby electric quantity, the wake-up time, and the wake-up electric quantity;
the electric quantity consumption list generating module 304 is configured to generate and display an electric quantity consumption list of an application program run by the ink screen device according to a comparison result between the device consumption electric quantity value and a preset electric quantity consumption reference value;
and a program freezing module 305, configured to respond to a freezing instruction for the power consumption list, and freeze a target application program corresponding to the freezing instruction.
Optionally, the power consumption calculating module 303 includes:
the first difference value calculating submodule is used for calculating a first difference value of the standby electric quantity and the awakening electric quantity;
the second difference value calculating submodule is used for calculating a second difference value of the awakening time and the standby time;
and the unit electric quantity consumption submodule is used for determining the electric quantity value consumed by the equipment in unit time by adopting the first difference value and the second difference value.
Optionally, the power consumption list generating module 304 includes:
the electric quantity comparison submodule is used for comparing the equipment consumption electric quantity value with a preset electric quantity consumption reference value;
the notification sending submodule is used for sending a notification to a notification receiver in the ink screen device if the device consumption electric quantity value is larger than the electric quantity consumption reference value;
the power consumption statistical instance establishing submodule is used for establishing a new power consumption statistical instance by informing the receiver; the power consumption statistical example is used for updating the power consumption data of all the application programs operated by the ink screen equipment and generating a power consumption data list;
the electric quantity consumption ratio calculation submodule is used for extracting the electric quantity consumption data of each application program from the electric quantity consumption data list and converting the electric quantity consumption data into a percentage form to obtain the electric quantity consumption ratio of each application program;
and the sequencing submodule is used for sequencing all the application programs according to the sequence of the electric quantity consumption ratio from large to small, and generating and displaying an electric quantity consumption list.
Optionally, the program freezing module 305 includes:
the freezing target determining submodule is used for determining a target application program corresponding to the freezing instruction from the electric quantity consumption list when the application freezing instruction is received;
and the target freezing submodule is used for freezing the target application program so as to finish the background running of the target application program in the ink screen equipment.
An embodiment of the present invention provides an electronic device, including a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for optimizing power consumption of an ink screen device according to any embodiment of the present invention.
The embodiment of the invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method for optimizing power consumption of an ink screen device according to any embodiment of the invention is implemented.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for optimizing power consumption of ink screen equipment is characterized by comprising the following steps:
when the ink screen equipment enters a standby state, acquiring standby time and standby electric quantity;
when the ink screen equipment is awakened from the standby state, acquiring awakening time and awakening electric quantity;
determining a device consumption electric quantity value according to the standby time, the standby electric quantity, the awakening time and the awakening electric quantity;
generating and displaying an electric quantity consumption list of an application program operated by the ink screen equipment according to a comparison result of the equipment consumption electric quantity value and a preset electric quantity consumption reference value;
and responding to a freezing instruction aiming at the electric quantity consumption list, and freezing the target application program corresponding to the freezing instruction.
2. The method for optimizing power consumption of an ink screen device according to claim 1, wherein the step of determining the device consumption electric quantity value according to the standby time, the standby electric quantity, the wake-up time and the wake-up electric quantity comprises:
calculating a first difference value of the standby electric quantity and the awakening electric quantity;
calculating a second difference between the wake-up time and the standby time;
and determining the device consumption electric quantity value in unit time by adopting the first difference value and the second difference value.
3. The method for optimizing power consumption of an ink screen device according to claim 1, wherein the step of generating and displaying a power consumption list of an application program run by the ink screen device according to a comparison result between the device power consumption value and a preset power consumption reference value includes:
comparing the equipment power consumption value with a preset power consumption reference value;
if the device consumption electric quantity value is larger than the electric quantity consumption reference value, a notification receiver which notifies the ink screen device is sent;
establishing a new power consumption statistical example through the notification receiver; the electricity consumption statistical example is used for updating electricity consumption data of all application programs operated by the ink screen equipment and generating an electricity consumption data list;
extracting the electric quantity consumption data of each application program from the electric quantity consumption data list, and converting the electric quantity consumption data into a percentage form to obtain the electric quantity consumption ratio of each application program;
and sequencing all the application programs according to the sequence of the electric quantity consumption ratio from large to small, and generating and displaying an electric quantity consumption list.
4. The method for optimizing power consumption of an ink screen device according to any one of claims 1 to 3, wherein the step of freezing a target application corresponding to the freezing instruction in response to the freezing instruction for the power consumption schedule includes:
when an application freezing instruction is received, determining a target application program corresponding to the freezing instruction from the electric quantity consumption list;
and freezing the target application program to end the background running of the target application program in the ink screen device.
5. An apparatus for optimizing power consumption of an ink jet printer, comprising:
the standby parameter acquisition module is used for acquiring standby time and standby electric quantity when the ink screen equipment enters a standby state;
the awakening parameter acquisition module is used for acquiring awakening time and awakening electric quantity when the ink screen equipment is awakened from the standby state;
the electric quantity consumption calculation module is used for determining an electric quantity value consumed by the equipment according to the standby time, the standby electric quantity, the awakening time and the awakening electric quantity;
the electric quantity consumption list generating module is used for generating and displaying an electric quantity consumption list of an application program operated by the ink screen equipment according to a comparison result of the equipment consumption electric quantity value and a preset electric quantity consumption reference value;
and the program freezing module is used for responding to a freezing instruction aiming at the electric quantity consumption list and freezing the target application program corresponding to the freezing instruction.
6. The device for optimizing power consumption of ink screen equipment according to claim 5, wherein the power consumption calculating module comprises:
the first difference value calculating submodule is used for calculating a first difference value of the standby electric quantity and the awakening electric quantity;
the second difference value calculating submodule is used for calculating a second difference value of the awakening time and the standby time;
and the unit electric quantity consumption submodule is used for determining the electric quantity value consumed by the equipment in unit time by adopting the first difference value and the second difference value.
7. The device for optimizing power consumption of ink screen equipment according to claim 5, wherein the power consumption list generating module comprises:
the electric quantity comparison submodule is used for comparing the equipment consumption electric quantity value with a preset electric quantity consumption reference value;
a notification sending submodule for sending a notification to a notification receiver in the ink screen device if the device consumption electric quantity value is greater than the electric quantity consumption reference value;
the power consumption statistical instance establishing submodule is used for establishing a new power consumption statistical instance through the notification receiver; the electricity consumption statistical example is used for updating electricity consumption data of all application programs operated by the ink screen equipment and generating an electricity consumption data list;
the electric quantity consumption ratio calculation submodule is used for extracting the electric quantity consumption data of each application program from the electric quantity consumption data list and converting the electric quantity consumption data into a percentage form to obtain the electric quantity consumption ratio of each application program;
and the sequencing submodule is used for sequencing all the application programs according to the sequence of the electric quantity consumption ratio from large to small, generating an electric quantity consumption list and displaying the electric quantity consumption list.
8. The device for optimizing power consumption of an ink screen apparatus according to any one of claims 5 to 7, wherein the program freezing module comprises:
the freezing target determining submodule is used for determining a target application program corresponding to the freezing instruction from the electric quantity consumption list when the freezing instruction of the application is received;
and the target freezing submodule is used for freezing the target application program so as to finish the background running of the target application program in the ink screen equipment.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to perform the steps of the method for optimizing power consumption of an ink screen device according to any one of claims 1 to 4.
10. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by the processor, implementing the power consumption optimization method of the ink screen apparatus according to any one of claims 1 to 4.
CN202110321471.2A 2021-03-25 2021-03-25 Power consumption optimization method, device, equipment and storage medium for ink screen equipment Pending CN112882762A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110321471.2A CN112882762A (en) 2021-03-25 2021-03-25 Power consumption optimization method, device, equipment and storage medium for ink screen equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110321471.2A CN112882762A (en) 2021-03-25 2021-03-25 Power consumption optimization method, device, equipment and storage medium for ink screen equipment

Publications (1)

Publication Number Publication Date
CN112882762A true CN112882762A (en) 2021-06-01

Family

ID=76042332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110321471.2A Pending CN112882762A (en) 2021-03-25 2021-03-25 Power consumption optimization method, device, equipment and storage medium for ink screen equipment

Country Status (1)

Country Link
CN (1) CN112882762A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113837437A (en) * 2021-08-19 2021-12-24 杭州逗酷软件科技有限公司 Terminal power consumption data processing method and device, storage medium and terminal
CN116822340A (en) * 2023-06-12 2023-09-29 中科软件测评(广州)有限公司 Terminal electric quantity optimization method based on software energy consumption

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324519A (en) * 2013-06-17 2013-09-25 华为技术有限公司 Method and device for clearing malicious power consumption applications, and user terminal
CN103885871A (en) * 2014-03-10 2014-06-25 可牛网络技术(北京)有限公司 Power consumption display method and device, and mobile terminal
CN106125896A (en) * 2016-06-29 2016-11-16 宇龙计算机通信科技(深圳)有限公司 A kind of application program freezing method and mobile terminal
US20180095518A1 (en) * 2015-04-14 2018-04-05 Huawei Technologies Co., Ltd. Terminal control method and apparatus, and terminal
CN108541013A (en) * 2018-03-29 2018-09-14 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324519A (en) * 2013-06-17 2013-09-25 华为技术有限公司 Method and device for clearing malicious power consumption applications, and user terminal
CN103885871A (en) * 2014-03-10 2014-06-25 可牛网络技术(北京)有限公司 Power consumption display method and device, and mobile terminal
US20180095518A1 (en) * 2015-04-14 2018-04-05 Huawei Technologies Co., Ltd. Terminal control method and apparatus, and terminal
CN106125896A (en) * 2016-06-29 2016-11-16 宇龙计算机通信科技(深圳)有限公司 A kind of application program freezing method and mobile terminal
CN108541013A (en) * 2018-03-29 2018-09-14 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113837437A (en) * 2021-08-19 2021-12-24 杭州逗酷软件科技有限公司 Terminal power consumption data processing method and device, storage medium and terminal
CN113837437B (en) * 2021-08-19 2024-05-24 杭州逗酷软件科技有限公司 Terminal power consumption data processing method and device, storage medium and terminal
CN116822340A (en) * 2023-06-12 2023-09-29 中科软件测评(广州)有限公司 Terminal electric quantity optimization method based on software energy consumption
CN116822340B (en) * 2023-06-12 2024-05-28 中科软件测评(广州)有限公司 Terminal electric quantity optimization method based on software energy consumption

Similar Documents

Publication Publication Date Title
CN110264935B (en) Display driving method, display driving integrated circuit and electronic device
CN106791212B (en) A kind of control method, device and the mobile terminal of mobile terminal refresh rate
EP3584676B1 (en) Method, device, medium, and electronic apparatus for dynamically adjusting power saving level of terminal
CN105573465B (en) Electronic device and method of controlling power of electronic device
TWI576692B (en) Portable electronc device
US11403197B2 (en) Method and device for controlling application, storage medium, and electronic device
US8635475B2 (en) Application-specific power management
CN111831099B (en) Electronic device
CN112882762A (en) Power consumption optimization method, device, equipment and storage medium for ink screen equipment
CN103080869B (en) The determination of display device power consumption
CN110381130B (en) Keep-alive long connection method, device, communication terminal and storage medium
WO2016101526A1 (en) Display method and device for terminal screen, and computer storage medium
CN107831885B (en) Doze mode switching method and device, mobile terminal and readable storage medium
US12014035B2 (en) Display method and apparatus for message detail page, and electronic device
CN105210039B (en) Terminal with for it is synchronous its application method
CN114185421A (en) Method and device for defogging and smear removal of military notebook computer screen
CN112764611B (en) Application program control method and device and electronic equipment
JP2019527822A (en) Time display method and smart watch
CN113157364A (en) Screen protection display method and device
CN112329416A (en) Message generation method and device and electronic equipment
CN112924875B (en) Battery detection method and device and electronic equipment
CN104965759A (en) Method for controlling terminal and terminal
CN114624569A (en) Sensor circuit abnormality detection method, circuit, device, intelligent device, and medium
CN110716759B (en) Electronic device, computer-readable storage medium, and operation parameter configuration method
CN114297322A (en) Data processing method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210601

RJ01 Rejection of invention patent application after publication