CN117369616A - Electronic equipment power consumption control method and device, electronic equipment and storage medium - Google Patents

Electronic equipment power consumption control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117369616A
CN117369616A CN202210770894.7A CN202210770894A CN117369616A CN 117369616 A CN117369616 A CN 117369616A CN 202210770894 A CN202210770894 A CN 202210770894A CN 117369616 A CN117369616 A CN 117369616A
Authority
CN
China
Prior art keywords
power consumption
adjustment
unit
adjustment scheme
electronic equipment
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
CN202210770894.7A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202210770894.7A priority Critical patent/CN117369616A/en
Publication of CN117369616A publication Critical patent/CN117369616A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • G06F11/3062Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Human Computer Interaction (AREA)
  • Power Sources (AREA)

Abstract

The disclosure relates to the technical field of electronic equipment, and in particular relates to a method, a circuit, a device, an electronic equipment and a storage medium for controlling power consumption of the electronic equipment. The method for controlling the power consumption of the electronic equipment comprises the following steps: displaying a power consumption display interface, wherein the power consumption display interface comprises a plurality of energy consumption units and power consumption optimization options corresponding to each energy consumption unit respectively; acquiring a selection instruction aiming at a target energy consumption unit and a target power consumption optimization option, and determining a power consumption adjustment scheme according to the selection instruction; and responding to the power consumption adjustment scheme meeting the preset condition, and performing power consumption adjustment on the electronic equipment according to the power consumption adjustment scheme. By adopting the method and the device, the requirement of a user for adjusting the power consumption according to the requirement can be met, and the convenience of the electronic equipment in use is improved.

Description

Electronic equipment power consumption control method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of electronic equipment, and in particular relates to a method and a device for controlling power consumption of electronic equipment, the electronic equipment and a storage medium.
Background
With the development of science and technology, electronic devices are mature increasingly, and convenience in production and life of users is improved. In the technical field of electronic devices, the cruising of the electronic device is an important point of attention of users. In the related art, a cruising adjustment policy of an electronic device is to adjust power consumption according to a power consumption mode level selected by a user. However, the method for roughly grading and adjusting the power consumption cannot meet the requirement of a user for adjusting the power consumption according to the requirement, so that the convenience of the electronic equipment is not high during use.
Disclosure of Invention
The disclosure provides a method and a device for controlling power consumption of electronic equipment, the electronic equipment and a storage medium, and aims to meet the requirement of a user on adjusting the power consumption according to requirements and improve the convenience of the electronic equipment in use.
According to an aspect of the present disclosure, there is provided a method for controlling power consumption of an electronic device, including:
displaying a power consumption display interface, wherein the power consumption display interface comprises a plurality of energy consumption units and power consumption optimization options corresponding to each energy consumption unit respectively;
acquiring a selection instruction aiming at a target energy consumption unit and a target power consumption optimization option, and determining a power consumption adjustment scheme according to the selection instruction;
and responding to the power consumption adjustment scheme meeting a preset condition, and performing power consumption adjustment on the electronic equipment according to the power consumption adjustment scheme.
Optionally, whether the power consumption adjustment scheme meets a preset condition is determined according to the following steps:
determining a target power consumption value corresponding to each power consumption device in the electronic equipment according to the power consumption adjustment scheme;
if the target power consumption value of any one of the power consumption devices is smaller than the corresponding first power consumption threshold value, judging that the power consumption adjustment scheme does not meet a preset condition;
And if the target power consumption value of any power consumption device is larger than or equal to the corresponding first power consumption threshold value, judging that the power consumption adjustment scheme meets the preset condition.
Optionally, whether the power consumption adjustment scheme meets a preset condition is determined according to the following steps:
determining a target power consumption value of the electronic equipment according to the power consumption adjustment scheme;
if the target power consumption value is smaller than a second power consumption threshold value, judging that the power consumption adjustment scheme meets a preset condition; the second power consumption threshold value is an overall power consumption threshold value of the electronic equipment;
and if the target power consumption value is greater than or equal to the second power consumption threshold value, judging that the power consumption adjustment scheme does not meet the preset condition.
Optionally, the second power consumption threshold value is obtained by:
acquiring a state of charge (SOC) of a battery in the electronic equipment;
and determining the second power consumption threshold value according to the SOC.
Optionally, the method further comprises:
and displaying early warning prompt information in response to the power consumption adjustment scheme not meeting the preset condition.
Optionally, the method further comprises:
the power consumption adjustment scheme is provided in the power consumption display interface for selection by a user.
Optionally, the method further comprises:
and responding to the fact that the corresponding power consumption adjustment scheme of the power consumption optimization option does not meet the requirement, and sending an alarm.
Optionally, after the power consumption adjustment is performed on the electronic device according to the power consumption adjustment scheme, the method further includes:
collecting real-time power consumption of the electronic equipment;
if the real-time power consumption of the electronic equipment is within the target range, judging that the power consumption adjustment is successful, and displaying a successful power consumption adjustment result;
and if the real-time power consumption of the electronic equipment is not in the target range, recording the repeated adjustment times of the power consumption.
Optionally, the method further comprises:
acquiring the repeated adjustment times of the power consumption;
if the repeated adjustment times of the power consumption are larger than a preset threshold value, an adjustment abnormality report is sent;
and if the power consumption repeated adjustment times are not greater than the preset threshold value, continuing to perform power consumption adjustment according to the power consumption adjustment scheme.
According to another aspect of the present disclosure, there is provided a control apparatus for power consumption of an electronic device, including:
the interface display unit is used for displaying a power consumption display interface, wherein the power consumption display interface comprises a plurality of energy consumption units and power consumption optimization options corresponding to the energy consumption units respectively;
The power consumption adjustment device comprises a selection acquisition unit, a power consumption adjustment unit and a power consumption adjustment unit, wherein the selection acquisition unit is used for acquiring a selection instruction aiming at a target energy consumption unit and a target power consumption optimization option, and determining a power consumption adjustment scheme according to the selection instruction;
and the power consumption adjusting unit is used for responding to the power consumption adjusting scheme to meet the preset condition and adjusting the power consumption of the electronic equipment according to the power consumption adjusting scheme.
Optionally, the device further includes a power consumption determining unit and a requirement judging unit, configured to judge whether the power consumption adjustment scheme meets a preset condition:
the power consumption determining unit is used for determining a target power consumption value corresponding to each power consumption device in the electronic equipment according to the power consumption adjustment scheme;
the requirement judging unit is configured to judge that the power consumption adjustment scheme does not meet a preset condition if the target power consumption value of any one of the power consumption devices is smaller than a corresponding first power consumption threshold value;
the requirement judging unit is further configured to judge that the power consumption adjustment scheme meets the preset condition if the target power consumption value of any one of the power consumption devices is greater than or equal to the corresponding first power consumption threshold value.
Optionally, the device further includes a power consumption determining unit and a requirement judging unit, configured to judge whether the power consumption adjustment scheme meets a preset condition:
The power consumption determining unit is used for determining a target power consumption value of the electronic equipment according to the power consumption adjusting scheme;
the requirement judging unit is used for judging that the power consumption adjustment scheme meets a preset condition if the target power consumption value is smaller than a second power consumption threshold value; the second power consumption threshold value is an overall power consumption threshold value of the electronic equipment;
the requirement judging unit is further configured to judge that the power consumption adjustment scheme does not meet the preset condition if the target power consumption value is greater than or equal to the second power consumption threshold value.
Optionally, the apparatus further includes a state obtaining unit and a threshold determining unit, configured to obtain the second power consumption threshold value:
the state acquisition unit is used for acquiring the state of charge (SOC) of the battery in the electronic equipment;
the threshold determining unit is configured to determine the second power consumption threshold according to the state of charge SOC.
Optionally, the method further comprises:
and the early warning prompt unit is used for displaying early warning prompt information if the power consumption adjustment scheme does not meet the preset condition.
Optionally, the method further comprises:
and the scheme selection unit is used for providing the power consumption adjustment scheme in the power consumption display interface for a user to select.
Optionally, the device further includes a power consumption acquisition unit, an adjustment judgment unit, and a frequency recording unit, configured to, after the power consumption adjustment is performed on the electronic device according to the power consumption adjustment scheme:
the power consumption acquisition unit is used for acquiring real-time power consumption of the electronic equipment;
the adjusting judging unit is used for judging that the power consumption is successfully adjusted if the real-time power consumption of the electronic equipment is within the target range, and displaying a successful power consumption adjusting result;
the frequency recording unit is used for recording the repeated adjustment frequency of the power consumption if the real-time power consumption of the electronic equipment is not in the target range.
Optionally, the method further comprises:
the frequency acquisition unit is used for acquiring the power consumption repeated adjustment frequency;
a report sending unit, configured to send an adjustment exception report if the power consumption repetition adjustment number is greater than a preset threshold;
and the frequency judging unit is used for continuing to carry out power consumption adjustment according to the power consumption adjustment scheme if the power consumption repeated adjustment frequency is not greater than the preset threshold value.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the preceding aspects.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method of any one of the preceding aspects.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method of any one of the preceding aspects.
In one or more embodiments of the present disclosure, a power consumption display interface is displayed, where the power consumption display interface includes a plurality of power consumption units, and power consumption optimization options corresponding to each power consumption unit respectively; acquiring a selection instruction aiming at a target energy consumption unit and a target power consumption optimization option, and determining a power consumption adjustment scheme according to the selection instruction; and responding to the power consumption adjustment scheme meeting the preset condition, and performing power consumption adjustment on the electronic equipment according to the power consumption adjustment scheme. Therefore, the target energy consumption unit and the target power consumption optimization option selected by the user are obtained through the power consumption display interface, and the power consumption of the electronic equipment is adjusted according to the power consumption adjustment scheme corresponding to the target energy consumption unit and the target power consumption optimization option, so that the requirement of the user for adjusting the power consumption according to the requirement can be met, the power consumption can be accurately adjusted according to the requirement of the user, and the convenience of the electronic equipment in use can be further improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 illustrates a background schematic diagram of a method for controlling power consumption of an electronic device according to an embodiment of the disclosure;
fig. 2 is a flowchart illustrating a first method for controlling power consumption of an electronic device according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating a second method for controlling power consumption of an electronic device according to an embodiment of the disclosure;
FIG. 4 is a schematic illustration of a first power consumption display interface provided by an embodiment of the present disclosure;
FIG. 5 shows a schematic illustration of a second power consumption display interface provided by an embodiment of the present disclosure;
fig. 6 is a flowchart illustrating a third method for controlling power consumption of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a flowchart illustrating a method for controlling power consumption of a fourth electronic device according to an embodiment of the present disclosure;
FIG. 8 shows a schematic illustration of a third power consumption display interface provided by an embodiment of the present disclosure;
Fig. 9 is a schematic structural diagram of a first device for controlling power consumption of an electronic apparatus according to an embodiment of the disclosure;
fig. 10 is a schematic structural diagram of a second device for controlling power consumption of an electronic apparatus according to an embodiment of the disclosure;
fig. 11 is a schematic structural diagram of a third device for controlling power consumption of an electronic apparatus according to an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of a fourth power consumption control device for an electronic device according to an embodiment of the present disclosure;
fig. 13 is a schematic structural diagram of a control device for power consumption of a fifth electronic device according to an embodiment of the present disclosure;
fig. 14 is a schematic structural diagram of a sixth power consumption control device for an electronic device according to an embodiment of the present disclosure;
fig. 15 is a schematic structural diagram of a control device for power consumption of a seventh electronic device according to an embodiment of the present disclosure;
fig. 16 is a block diagram of an electronic device used to implement a method of controlling power consumption of the electronic device of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
With the development of science and technology, electronic devices are mature increasingly, and convenience in production and life of users is improved. In the application scene of the electronic equipment, a user can control the power consumption of the electronic equipment through the power consumption control application program.
Fig. 1 illustrates a background schematic diagram of a method for controlling power consumption of an electronic device according to some embodiments of the present disclosure. As shown in fig. 1, the electronic device may present the application list on the presentation interface, and when the electronic device detects that the user clicks on the power consumption control application in the application list, the electronic device may present the power consumption control application interface. Then, when the electronic device detects that the user clicks a key corresponding to a certain power consumption mode, for example, the first power consumption mode, the second power consumption mode, and the like, the electronic device can control the power consumption of the electronic device according to the power consumption mode corresponding to the key.
It is easy to understand that the method for adjusting and controlling the power consumption by coarse grading cannot subdivide the power consumption information, cannot provide the power consumption adjusting window for the user to automatically adjust the power consumption, cannot meet the requirement of the user for adjusting the power consumption according to the requirement, influences the use experience of the user, and causes low convenience in use of the electronic equipment.
The present disclosure is described in detail below with reference to specific examples.
In a first embodiment, as shown in fig. 2, fig. 2 shows a flowchart of a first method for controlling power consumption of an electronic device according to an embodiment of the disclosure, where the method may be implemented by a computer program and may be executed on an apparatus for performing the method for controlling power consumption of an electronic device. The computer program may be integrated in the application or may run as a stand-alone tool class application.
Wherein the electronic device includes, but is not limited to: wearable devices, handheld devices, personal computers, tablet computers, vehicle-mounted devices, smart phones, computing devices, or other processing devices connected to a wireless modem, etc. Electronic devices in different networks may be called different names, for example: a user equipment, an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent or user equipment, a cellular telephone, a cordless telephone, a personal digital assistant (personal digital assistant, PDA), an electronic device in a fifth generation mobile communication technology (5th generation mobile networks,5G) network or a future evolution network, and the like. The electronic device can be provided with an operating system, the operating system is an operating system which can run in the electronic device, is a program for managing and controlling hardware of the electronic device and application of the electronic device, and is an indispensable system application in the electronic device. The operating system includes, but is not limited to, android system, IOS system, windows Phone (WP) system, ubuntu mobile version operating system, and the like.
Specifically, the method for controlling the power consumption of the electronic equipment comprises the following steps:
s101, displaying a power consumption display interface;
according to some embodiments, the power consumption display interface refers to an interface that is displayed by the electronic device when power consumption is displayed. The power consumption display interface comprises a plurality of energy consumption units and power consumption optimization options corresponding to the energy consumption units respectively; the power consumption display interface is not particularly limited to a certain fixed interface. For example, the power consumption display interface may change when the power consumption unit changes. The power consumption display interface may also change when the power consumption optimization option changes. The power consumption display interface may be, for example, a graphical user interface (Graphical User Interface, GUI).
In some embodiments, the energy consuming unit refers to a unit that generates energy consumption when the electronic device is in operation. The energy consuming unit is not particularly a fixed unit. The energy consuming units include, but are not limited to, software applications, bluetooth, mobile data, personal hot spots, location, central processing units (central processing unit, CPU), display screens, and the like.
In some embodiments, the power consumption optimization option refers to an option when power consumption optimization is performed on the energy consuming units corresponding to the power consumption optimization option. The power consumption optimization option does not refer specifically to a fixed option. For example, the power consumption optimization option may change when the energy consuming unit changes. The power consumption optimization option may also change when the content of the power consumption optimization option changes. The power consumption optimization options include, but are not limited to, intermittent enablement, stopping background operation, and so forth. The power consumption optimization option may also be a specific power consumption threshold value, for example.
It is easy to understand that when the electronic device performs control of power consumption of the electronic device, the electronic device may display a power consumption display interface.
S102, acquiring a selection instruction aiming at a target energy consumption unit and a target power consumption optimization option, and determining a power consumption adjustment scheme according to the selection instruction;
according to some embodiments, the target energy consumption unit refers to an energy consumption unit of the electronic device for power consumption adjustment. The target energy consuming unit is not particularly a fixed unit. For example, the target energy consumption unit may change when the select instruction changes. When the power consumption display interface changes, the target energy consumption unit can also change.
In some embodiments, the target power consumption optimization option refers to a power consumption optimization option employed by the electronic device when adjusting the target power consumption unit. The target power consumption optimization option does not refer specifically to a fixed option. For example, the target power consumption optimization option may change when the target power consumption unit changes. When the power consumption display interface changes, the target power consumption optimization option can also change.
In some embodiments, the selection instruction refers to an instruction received by the electronic device when the electronic device obtains the target energy consumption unit and the target power consumption optimization option. The selection instruction does not refer to a fixed instruction. The selection instruction includes, but is not limited to, a click selection instruction, a voice selection instruction, and the like. For example, the selection instruction may change when the target energy consuming unit changes. The selection instruction may also change when the target power consumption optimization option changes. The selection instruction may also change when the electronic device obtains a modification instruction for the selection instruction.
According to some embodiments, the power consumption adjustment scheme refers to a scheme adopted by the electronic device when performing power consumption adjustment on the target energy consumption unit according to the target power consumption optimization option. The power consumption adjustment scheme does not particularly refer to a certain fixed scheme. For example, the power consumption adjustment scheme may change when the target power consumption optimization option changes. The power consumption adjustment scheme may also change when the target energy consuming unit changes.
It is easy to understand that when the electronic device displays the power consumption display interface, the electronic device may acquire a selection instruction for the target power consumption unit and the target power consumption optimization option, and determine the power consumption adjustment scheme according to the selection instruction.
And S103, responding to the power consumption adjustment scheme meeting the preset condition, and adjusting the power consumption of the electronic equipment according to the power consumption adjustment scheme.
According to some embodiments, the preset condition refers to a condition adopted when the electronic device determines whether the electronic device can be subjected to power consumption adjustment according to the power consumption adjustment scheme. The preset condition is not particularly a certain fixed condition. For example, the preset condition may change when a condition modification instruction for the preset condition is acquired.
It is easy to understand that when the electronic device determines the power consumption adjustment scheme, the electronic device may perform power consumption adjustment on the electronic device according to the power consumption adjustment scheme in response to the power consumption adjustment scheme satisfying a preset condition.
In summary, the method provided by the embodiment of the present disclosure includes displaying a power consumption display interface, where the power consumption display interface includes a plurality of power consumption units, and power consumption optimization options corresponding to each power consumption unit respectively; acquiring a selection instruction aiming at a target energy consumption unit and a target power consumption optimization option, and determining a power consumption adjustment scheme according to the selection instruction; and responding to the power consumption adjustment scheme meeting the preset condition, and performing power consumption adjustment on the electronic equipment according to the power consumption adjustment scheme. Therefore, the target energy consumption unit and the target power consumption optimization option selected by the user are obtained through the power consumption display interface, and the power consumption of the electronic equipment is adjusted according to the power consumption adjustment scheme corresponding to the target energy consumption unit and the target power consumption optimization option, so that the requirement of the user for adjusting the power consumption according to the requirement can be met, the power consumption can be accurately adjusted according to the requirement of the user, and the convenience of the electronic equipment in use can be further improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second method for controlling power consumption of an electronic device according to an embodiment of the disclosure. Specifically, the method for controlling the power consumption of the electronic equipment comprises the following steps:
S201, displaying a power consumption display interface;
the specific process is as above, and will not be described here again.
Fig. 4 illustrates a schematic presentation of a first power consumption display interface provided by embodiments of the present disclosure, according to some embodiments. As shown in fig. 4, a plurality of energy consumption units may be displayed in the power consumption display interface, and power consumption optimization options corresponding to each energy consumption unit respectively, for example, CPU power consumption 30W, display screen power consumption 50W, and mobile data start intermittent start mode.
In some embodiments, when the power consumption display interface cannot display all the power consumption units, the power consumption display interface may further include a scroll bar, and further, the user may browse and set power consumption optimization options corresponding to all the power consumption units through the scroll bar.
It is easy to understand that when the electronic device performs control of power consumption of the electronic device, the electronic device may display a power consumption display interface.
S202, acquiring a selection instruction aiming at a target energy consumption unit and a target power consumption optimization option, and determining a power consumption adjustment scheme according to the selection instruction;
according to some embodiments, when the electronic device displays a plurality of energy consumption units in the power consumption display interface, and the power consumption optimization options corresponding to each energy consumption unit respectively, the user may click on the power consumption optimization options corresponding to the power consumption units. Further, the user may input the selected power consumption value at the position corresponding to the power consumption optimization option, or may select the power consumption value in the form of a scroll bar.
In some embodiments, when the electronic device displays a plurality of energy consumption units in the power consumption display interface and the power consumption optimization options corresponding to each energy consumption unit respectively, when the electronic device detects that the user clicks the power consumption optimization option corresponding to a certain energy consumption unit, the electronic device may further display a power consumption optimization option set corresponding to the power consumption optimization option, and further, the user may select the power consumption optimization option corresponding to the energy consumption unit in the power consumption optimization option set sub-interface, as shown in fig. 5.
For example, when the power in the power supply of the electronic device is lower than the preset power, the user may select the power consumption optimization option corresponding to the power consumption unit, which is the mobile data, to be intermittently enabled, and further, the terminal may obtain the power consumption adjustment scheme corresponding to the power consumption optimization option selected by the user: and starting for 10 minutes every half hour, so that the duration of the electronic equipment is prolonged.
In some embodiments, the power consumption adjustment scheme does not refer specifically to a fixed scheme. For example, when the user needs to adjust the power consumption adjustment scheme, the electronic device may display a power consumption adjustment scheme display interface, and further, the user may adjust the power consumption adjustment schemes corresponding to all the power consumption optimization options in the power consumption adjustment scheme display interface.
For example, when a user starts a game application through an electronic device, the user may select a power consumption optimization option corresponding to the game application to close power consumption of other modules except the game application and modules related to the game application, thereby increasing a duration of the electronic device while ensuring normal use of the user.
It is easy to understand that when the electronic device displays the power consumption display interface, the electronic device may acquire a selection instruction for the target power consumption unit and the target power consumption optimization option, and determine the power consumption adjustment scheme according to the selection instruction.
S203, determining a target power consumption value corresponding to each power consumption device in the electronic equipment according to a power consumption adjustment scheme;
according to some embodiments, a power consuming device refers to a device that generates power within an electronic device when the electronic device is in operation. The power consumption device is not particularly limited to a certain fixed device. Including but not limited to cameras, speakers, display screens, CPUs, and the like.
In some embodiments, the target power consumption value corresponding to a power consumption device refers to a power consumption value generated by the power consumption device. The target power consumption value corresponding to the power consumption device is not particularly a fixed value. For example, when a power consumption device changes, a target power consumption value corresponding to the power consumption device may change. When the power consumption adjustment scheme changes, the target power consumption value corresponding to the power consumption device may also change.
For example, when the energy consumption unit is a CPU and the power consumption optimization option corresponding to the CPU is 30W, the electronic device may determine that the power consumption adjustment scheme is to adjust the CPU power consumption to 30W according to the power consumption optimization option, that is, the electronic device may determine that the target power consumption value corresponding to the CPU in the electronic device is 30W according to the power consumption adjustment scheme.
For example, when the energy consumption unit is the application program a, and the power consumption optimization option corresponding to the application program a is in the low performance mode, the electronic device may determine, according to the power consumption optimization option, that the power consumption adjustment scheme is to adjust the power consumption of the display screen to the lowest power consumption A1, and adjust the power consumption of the CPU to the lowest power consumption A2, that is, the electronic device may determine, according to the power consumption adjustment scheme, that the target power consumption value corresponding to the display screen in the electronic device is A1, and that the target power consumption value corresponding to the CPU is A2.
It is easy to understand that when the electronic device determines the power consumption adjustment scheme according to the selection instruction, the electronic device may determine the target power consumption value corresponding to each power consumption device in the electronic device according to the power consumption adjustment scheme.
S204, if the target power consumption value of any power consumption device is smaller than the corresponding first power consumption threshold value, judging that the power consumption adjustment scheme does not meet the preset condition;
According to some embodiments, the first power consumption threshold value refers to a lowest power consumption value that may enable the power consuming device to function properly. The first power consumption threshold value is not particularly limited to a fixed value. For example, the first power consumption threshold value may change when the power consumption device changes. The first power consumption threshold may also be changed when a threshold modification instruction for the first power consumption threshold is obtained.
For example, when the electronic device obtains that the power consumption value corresponding to the CPU in the power consumption adjustment scheme is 10W and the first power consumption threshold value corresponding to the CPU is 25W, the electronic device may determine that the power consumption adjustment scheme does not meet the requirement.
It is easy to understand that when the electronic device determines, according to the power consumption adjustment scheme, a target power consumption value corresponding to each power consumption device in the electronic device, if the electronic device determines that the target power consumption value of any power consumption device is smaller than a first power consumption threshold value corresponding to the power consumption device, it is determined that the power consumption adjustment scheme does not meet a preset condition.
And S205, displaying early warning prompt information in response to the power consumption adjustment scheme not meeting the preset condition.
According to some embodiments, the early warning prompt information refers to information sent when the electronic device determines that the power consumption adjustment scheme corresponding to the power consumption optimization option does not meet the preset condition. The early warning prompt information does not particularly refer to certain fixed information. The early warning prompt information includes, but is not limited to, vibration early warning prompt information, popup early warning prompt information, voice early warning prompt information, and the like.
For example, the electronic device may display a pop-up window early warning prompt message "the power consumption optimization option is unavailable, please replace" on the display interface in a pop-up window form in response to the power consumption adjustment scheme corresponding to the power consumption optimization option not meeting the preset condition.
It is easy to understand that when the electronic device determines that the power consumption adjustment scheme does not meet the requirement, the electronic device may display the early warning prompt information in response to the power consumption adjustment scheme not meeting the preset condition.
S206, if the target power consumption value of any power consumption device is larger than or equal to the corresponding first power consumption threshold value, judging that the power consumption adjustment scheme meets the preset condition;
it is easy to understand that when the electronic device determines, according to the power consumption adjustment scheme, a target power consumption value corresponding to each power consumption device in the electronic device, if the electronic device determines that the target power consumption value corresponding to any power consumption device is greater than or equal to the first power consumption threshold value corresponding to the power consumption device, the electronic device may determine that the power consumption adjustment scheme satisfies a preset condition.
S207, responding to the power consumption adjustment scheme meeting the preset condition, and adjusting the power consumption of the electronic equipment according to the power consumption adjustment scheme;
it is easy to understand that when the electronic device determines that the power consumption adjustment scheme meets the requirement, the electronic device may respond to the power consumption adjustment scheme meeting the preset condition, and perform power consumption adjustment on the electronic device according to the power consumption adjustment scheme.
In summary, the method provided by the embodiments of the present disclosure first displays an interface by displaying power consumption; acquiring a selection instruction aiming at a target energy consumption unit and a target power consumption optimization option, and determining a power consumption adjustment scheme according to the selection instruction; therefore, the power consumption display interface provides the function of selecting the energy consumption unit and the power consumption optimization option for the user, so that the requirement of the user on adjusting the power consumption according to the requirement can be met, and the convenience of the electronic equipment in use can be improved. Secondly, determining a target power consumption value corresponding to each power consumption device in the electronic equipment according to a power consumption adjustment scheme; if the target power consumption value of any power consumption device is smaller than the corresponding first power consumption threshold value, judging that the power consumption adjustment scheme does not meet the preset condition; if the power consumption adjustment scheme does not meet the preset condition, displaying early warning prompt information; therefore, the convenience of the electronic equipment in use can be improved. Finally, if the target power consumption value of any power consumption device is larger than or equal to the corresponding first power consumption threshold value, judging that the power consumption adjustment scheme meets the preset condition; responding to the power consumption adjustment scheme meeting the preset condition, and performing power consumption adjustment on the electronic equipment according to the power consumption adjustment scheme; therefore, the accuracy of judging whether the power consumption adjustment scheme meets the requirement or not can be improved, the power consumption can be accurately adjusted according to the user requirement, and the convenience of the electronic equipment in use can be improved.
Referring to fig. 6, fig. 6 is a flowchart illustrating a third method for controlling power consumption of an electronic device according to an embodiment of the disclosure. Specifically, the method for controlling the power consumption of the electronic equipment comprises the following steps:
s301, displaying a power consumption display interface;
the specific process is as above, and will not be described here again.
S302, acquiring a selection instruction aiming at a target energy consumption unit and a target power consumption optimization option, and determining a power consumption adjustment scheme according to the selection instruction;
the specific process is as above, and will not be described here again.
S303, determining a target power consumption value of the electronic equipment according to a power consumption adjustment scheme;
according to some embodiments, the target power consumption value of the electronic device refers to an overall power consumption value of the electronic device when running. The target power consumption value of the electronic device is not specific to a certain fixed power consumption value. For example, when an electronic device changes, a target power consumption value of the electronic device may change. When the power consumption adjustment scheme changes, the target power consumption value of the electronic device may also change.
It is readily understood that when the electronic device determines the power consumption adjustment scheme, the electronic device may determine the target power consumption value of the electronic device according to the power consumption adjustment scheme.
S304, acquiring the state of charge (SOC) of a battery in the electronic equipment;
According to some embodiments, state of Charge (SOC) refers to the available State of Charge remaining in the battery. The SOC is not particularly specific to a certain fixed state. The SOC may be expressed in percent. For example, the SOC may be 90% and the SOC may be 75%.
It is easy to understand that when the electronic device determines the target power consumption value of the electronic device according to the power consumption adjustment scheme, the electronic device may acquire the state of charge SOC of the battery among the electronic devices.
S305, determining a second power consumption threshold value according to the SOC;
according to some embodiments, the second power consumption threshold value refers to an overall power consumption threshold value of the electronic device. The second power consumption threshold value is not particularly limited to a fixed threshold value. For example, the second power consumption threshold may change when the electronic device changes. The second power consumption threshold value may also change when the state of charge SOC of the battery changes.
According to some embodiments, when the battery is a lithium ion battery, if the SOC of the lithium ion battery is greater than X%, the maximum power consumption of the continuous discharge Xmin of the second power consumption threshold corresponding to the lithium ion battery may be specifically determined according to the following formula:
wherein P is a second power consumption threshold value, Q is the residual capacity of the lithium ion battery, U is the platform voltage of the lithium ion battery, and t is the discharge time lasting Xmin.
In some embodiments, the second power consumption threshold value is not specific to a fixed threshold value. For example, the second power consumption threshold value may change when the SOC of the battery changes. The second power consumption threshold may also change when the type of battery changes.
It is readily understood that when the electronic device obtains the state of charge SOC of the battery, the electronic device may determine the second power consumption threshold value according to the SOC of the battery.
S306, if the target power consumption value is smaller than the second power consumption threshold value, judging that the power consumption adjustment scheme meets the preset condition;
it is easy to understand that when the electronic device determines the second power consumption threshold according to the SOC of the battery, if the electronic device determines that the target power consumption value is smaller than the second power consumption threshold, the electronic device may determine that the power consumption adjustment scheme satisfies the preset condition.
S307, if the target power consumption value is greater than or equal to the second power consumption threshold value, judging that the power consumption adjustment scheme does not meet the preset condition;
it is easy to understand that if the target power consumption value is greater than or equal to the second power consumption threshold value, the electronic device may be powered off abnormally due to the sudden load pulling with abnormally large power consumption. Therefore, when the electronic device determines the second power consumption threshold value according to the SOC of the battery, if the electronic device determines that the target power consumption value of the electronic device is greater than or equal to the second power consumption threshold value, the electronic device may determine that the power consumption adjustment scheme does not satisfy the preset condition.
S308, responding to the power consumption adjustment scheme meeting the preset condition, and adjusting the power consumption of the electronic equipment according to the power consumption adjustment scheme;
the specific process is as above, and will not be described here again.
In summary, the method provided by the embodiments of the present disclosure first displays an interface by displaying power consumption; acquiring a selection instruction aiming at a target energy consumption unit and a target power consumption optimization option, and determining a power consumption adjustment scheme according to the selection instruction; therefore, the power consumption display interface provides the function of selecting the energy consumption unit and the power consumption optimization option for the user, so that the requirement of the user on adjusting the power consumption according to the requirement can be met, and the convenience of the electronic equipment in use can be improved. Secondly, determining a target power consumption value of the electronic equipment according to a power consumption adjustment scheme; acquiring a state of charge (SOC) of a battery in the electronic equipment; determining a second power consumption threshold value according to the SOC of the battery; if the target power consumption value is smaller than the second power consumption threshold value, judging that the power consumption adjustment scheme meets the preset condition; if the target power consumption value is greater than or equal to the second power consumption threshold value, judging that the power consumption adjustment scheme does not meet the preset condition; therefore, the accuracy of the judgment when judging whether the power consumption adjustment scheme satisfies the requirement can be improved. Finally, the power consumption adjustment is carried out on the electronic equipment according to the power consumption adjustment scheme by responding to the fact that the power consumption adjustment scheme meets the preset condition; therefore, the power consumption of the electronic equipment can be adjusted according to the power consumption adjustment scheme, the requirement of a user for adjusting the power consumption according to the requirement can be met, the power consumption can be accurately adjusted according to the requirement of the user, and the convenience of the electronic equipment in use can be improved.
Referring to fig. 7, fig. 7 is a flowchart illustrating a fourth method for controlling power consumption of an electronic device according to an embodiment of the disclosure. Specifically, the method for controlling the power consumption of the electronic equipment comprises the following steps:
s401, displaying a power consumption display interface, and providing a power consumption adjustment scheme in the power consumption display interface for a user to select;
according to some embodiments, when the electronic device provides the power consumption adjustment scheme in the power consumption display interface for the user to select, if the electronic device cannot show all the power consumption adjustment schemes in the power consumption display interface, the electronic device may set a scroll bar for the user to browse all the power consumption adjustment schemes.
In some embodiments, when the electronic device may also provide at least one power consumption adjustment scheme to the user at the presentation power consumption display interface, the power consumption adjustment scheme includes, but is not limited to, high performance, normal performance, low performance, and the like.
It is easy to understand that when the electronic device performs control of power consumption of the electronic device, the electronic device may display a power consumption display interface. Meanwhile, the electronic device can provide a power consumption adjustment scheme in the power consumption display interface for a user to select.
S402, acquiring a power consumption adjustment scheme selected by a user;
Fig. 8 illustrates a schematic presentation of a third power consumption display interface provided by embodiments of the present disclosure, according to some embodiments. As shown in fig. 4, the electronic device may provide a power consumption adjustment scheme E, a power consumption adjustment scheme F, a power consumption adjustment scheme G, a power consumption adjustment scheme H in the power consumption display interface. When the electronic device detects that the user clicks the key corresponding to the power consumption adjustment scheme E, the electronic device can acquire the power consumption adjustment scheme E selected by the user.
It is readily understood that when the electronic device provides a power consumption adjustment scheme in the power consumption display interface for selection by a user, the electronic device may obtain the power consumption adjustment scheme selected by the user.
S403, responding to the power consumption adjustment scheme meeting the preset condition, and adjusting the power consumption of the electronic equipment according to the power consumption adjustment scheme;
it is easy to understand that when the electronic device obtains the power consumption adjustment scheme selected by the user, the electronic device can perform power consumption adjustment on the basis of ensuring normal operation of the electronic device according to the power consumption adjustment scheme in response to the power consumption adjustment scheme meeting the preset condition.
S404, collecting real-time power consumption of the electronic equipment;
it is easy to understand that when the electronic device performs power consumption adjustment on the electronic device according to the power consumption adjustment scheme, the electronic device may collect real-time power consumption of the electronic device.
S405, if the real-time power consumption of the electronic equipment is within the target range, judging that the power consumption adjustment is successful, and displaying a successful power consumption adjustment result;
according to some embodiments, the target range refers to a range that the electronic device employs when determining whether power consumption adjustment is successful. The target range is not particularly limited to a certain fixed range. For example, the target range may change when the electronic device changes. The target range may also be changed when a range modification instruction for the target range is acquired.
In some embodiments, when the electronic device displays the power consumption adjustment success result, the electronic device may display the power consumption adjustment success result in a pop-up window form. The electronic device may also send out successful power consumption adjustment results in voice form.
It is easy to understand that when the electronic device collects real-time power consumption of the electronic device, if the electronic device determines that the real-time power consumption is within the target range, the electronic device may determine that the power consumption adjustment is successful, and display a result of the successful power consumption adjustment.
S406, if the real-time power consumption of the electronic equipment is not in the target range, recording the repeated adjustment times of the power consumption;
according to some embodiments, the power consumption repetition adjustment number refers to the repetition adjustment number when the electronic device performs power consumption adjustment on the electronic device according to the same power consumption adjustment scheme. The number of power consumption repetition adjustments is not particularly limited to a certain fixed number. For example, the number of power consumption repetition adjustment may be 1, and the number of power consumption repetition adjustment may be 2.
It is easy to understand that when the electronic device collects real-time power consumption of the electronic device, if the real-time power consumption of the electronic device is not within the target range, the electronic device may record the number of repeated adjustment times of the power consumption.
S407, obtaining the repeated adjustment times of power consumption;
it is easy to understand that when the electronic device records the number of power consumption readjustments, the electronic device may acquire the number of power consumption readjustments.
S408, if the repeated adjustment times of the power consumption are larger than a preset threshold value, sending an adjustment abnormality report;
according to some embodiments, the preset threshold refers to a threshold used when the electronic device determines whether the power consumption adjustment scheme adjusts for anomalies. The preset threshold is not particularly a certain fixed threshold. For example, the preset threshold may be 5, and the preset threshold may be 7. For example, the preset threshold may also be changed when a threshold modification instruction for the preset threshold is acquired.
In some embodiments, the adjustment exception report refers to a report sent with a power consumption repetition adjustment number greater than a preset threshold. The report is not specific to a fixed report. For example, the adjustment exception report may change when the power consumption adjustment scheme changes. The adjustment anomaly report may be presented to the user in a popup or may be sent in voice.
It is easy to understand that when the electronic device obtains the power consumption repetition adjustment times, if the electronic device determines that the power consumption repetition adjustment times is greater than the preset threshold, the electronic device may send an adjustment abnormality report. When the electronic device sends the adjustment abnormality report, the electronic device may stop performing power consumption adjustment on the electronic device according to the power consumption adjustment scheme, and prompt the user to reselect the power consumption adjustment scheme.
S409, if the repeated adjustment times of the power consumption are not greater than the preset threshold, continuing to adjust the power consumption according to the power consumption adjustment scheme.
It is easy to understand that when the electronic device obtains the power consumption repetition adjustment times, if the electronic device determines that the power consumption repetition adjustment times are not greater than the preset threshold, the electronic device may continue to perform power consumption adjustment according to the power consumption adjustment scheme.
In summary, the method provided by the embodiments of the present disclosure first shows a power consumption display interface, and provides a power consumption adjustment scheme in the power consumption display interface for a user to select; therefore, the convenience of the electronic device in use can be improved. Secondly, acquiring a power consumption adjustment scheme selected by a user; responding to the power consumption adjustment scheme meeting the preset condition, and performing power consumption adjustment on the electronic equipment according to the power consumption adjustment scheme; therefore, the power consumption of the electronic equipment can be adjusted according to the power consumption adjustment scheme, the requirement of a user for adjusting the power consumption according to the requirement can be met, the power consumption can be accurately adjusted according to the requirement of the user, and the convenience of the electronic equipment in use can be improved. Finally, collecting real-time power consumption of the electronic equipment; if the real-time power consumption of the electronic equipment is within the target range, judging that the power consumption adjustment is successful, and displaying a successful power consumption adjustment result; if the real-time power consumption of the electronic equipment is not in the target range, recording the repeated adjustment times of the power consumption; acquiring the repeated adjustment times of power consumption; if the repeated adjustment times of the power consumption are larger than a preset threshold value, sending an adjustment abnormity report; if the repeated adjustment times of the power consumption are not greater than the preset threshold value, continuing to adjust the power consumption according to the power consumption adjustment scheme; therefore, the adjustment abnormality report can be sent when the power consumption is adjusted abnormally to prompt the user to reselect the power consumption optimization option, and the convenience of the electronic equipment in use can be improved.
In the technical scheme of the disclosure, the related processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user accord with the regulations of related laws and regulations, and the public order colloquial is not violated.
The following are device embodiments of the present disclosure that may be used to perform method embodiments of the present disclosure. For details not disclosed in the embodiments of the apparatus of the present disclosure, please refer to the embodiments of the method of the present disclosure.
Fig. 9 is a schematic structural diagram of a first electronic device power consumption control device according to an embodiment of the disclosure. The control means for power consumption of the electronic device may be implemented as all or part of the apparatus by software, hardware or a combination of both. The control device 900 for power consumption of an electronic device includes an interface display unit 901, a selection obtaining unit 902, and a power consumption adjusting unit 903, where:
the interface display unit 901 is configured to display a power consumption display interface, where the power consumption display interface includes a plurality of power consumption units, and power consumption optimization options corresponding to each power consumption unit respectively;
a selection obtaining unit 902, configured to obtain a selection instruction for the target energy consumption unit and the target power consumption optimization option, and determine a power consumption adjustment scheme according to the selection instruction;
And the power consumption adjustment unit 903 is configured to adjust power consumption of the electronic device according to the power consumption adjustment scheme in response to the power consumption adjustment scheme meeting a preset condition.
Optionally, fig. 10 is a schematic structural diagram of a second device for controlling power consumption of an electronic apparatus according to an embodiment of the present disclosure. As shown in fig. 10, the apparatus 900 further includes a power consumption determining unit 904 and a requirement determining unit 905 for determining whether the power consumption adjustment scheme satisfies a preset condition:
a power consumption determining unit 904, configured to determine a target power consumption value corresponding to each power consumption device in the electronic device according to the power consumption adjustment scheme;
a requirement judging unit 905, configured to judge that the power consumption adjustment scheme does not meet the preset condition if the target power consumption value of any power consumption device is smaller than the corresponding first power consumption threshold value;
the requirement determining unit 905 is further configured to determine that the power consumption adjustment scheme meets the preset condition if the target power consumption value of any power consumption device is greater than or equal to the corresponding first power consumption threshold value.
Optionally, the apparatus 900 further includes a power consumption determining unit 904 and a requirement determining unit 905, configured to determine whether the power consumption adjustment scheme meets a requirement:
a power consumption determining unit 904, configured to determine a target power consumption value of the electronic device according to the power consumption adjustment scheme;
A requirement judging unit 905, configured to judge that the power consumption adjustment scheme meets a preset condition if the target power consumption value is smaller than the second power consumption threshold value; the second power consumption threshold value is the integral power consumption threshold value of the electronic equipment;
the requirement determining unit 905 is further configured to determine that the power consumption adjustment scheme does not meet the preset condition if the target power consumption value is greater than or equal to the second power consumption threshold value.
Optionally, fig. 11 is a schematic structural diagram of a third device for controlling power consumption of an electronic apparatus according to an embodiment of the present disclosure. As shown in fig. 11, the apparatus 900 further includes a state acquisition unit 906 and a threshold determination unit 907 for acquiring a second power consumption threshold value:
a state acquisition unit 906 for acquiring a state of charge SOC of a battery in the electronic device;
a threshold determining unit 907 is configured to determine a second power consumption threshold value according to the state of charge SOC.
Optionally, fig. 12 is a schematic structural diagram of a fourth device for controlling power consumption of an electronic apparatus according to an embodiment of the present disclosure. As shown in fig. 12, the apparatus 900 further includes:
and the early warning prompt unit 908 is configured to display early warning prompt information in response to the power consumption adjustment scheme not meeting the preset condition.
Optionally, fig. 13 is a schematic structural diagram of a fifth device for controlling power consumption of an electronic apparatus according to an embodiment of the present disclosure. As shown in fig. 13, the apparatus 900 further includes:
A scheme selection unit 909 for providing a power consumption adjustment scheme in the power consumption display interface for selection by the user.
Optionally, fig. 14 is a schematic structural diagram of a sixth power consumption control device for an electronic device according to an embodiment of the present disclosure. As shown in fig. 14, the apparatus 900 further includes a power consumption acquisition unit 910, an adjustment determination unit 911, and a number recording unit 912 for, after performing power consumption adjustment on the electronic device according to the power consumption adjustment scheme:
a power consumption acquisition unit 910, configured to acquire real-time power consumption of the electronic device;
an adjustment judging unit 911, configured to judge that the power consumption adjustment is successful if the real-time power consumption of the electronic device is within the target range, and display a successful power consumption adjustment result;
the frequency recording unit 912 is configured to record the power consumption repetition adjustment frequency if the real-time power consumption of the electronic device is not within the target range.
Optionally, fig. 15 is a schematic structural diagram of a control device for power consumption of a seventh electronic device according to an embodiment of the present disclosure. As shown in fig. 15, the apparatus 900 further includes
A frequency acquisition unit 913 for acquiring the power consumption repetition adjustment frequency;
a report sending unit 914, configured to send an adjustment exception report if the power consumption repetition adjustment number is greater than a preset threshold;
The number judgment unit 915 is configured to continue the power consumption adjustment according to the power consumption adjustment scheme if the number of repeated power consumption adjustment is not greater than the preset threshold.
It should be noted that, when executing the method for controlling power consumption of an electronic device, the apparatus for controlling power consumption of an electronic device provided in the foregoing embodiment is only exemplified by the division of the foregoing functional modules, in practical application, the foregoing functional allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the apparatus for controlling power consumption of an electronic device provided in the foregoing embodiments and the method embodiment for controlling power consumption of an electronic device belong to the same concept, which embody detailed implementation procedures in the method embodiment, and are not described herein again.
In summary, the device provided by the embodiment of the present disclosure displays, through the interface display unit, a power consumption display interface, where the power consumption display interface includes a plurality of power consumption units, and power consumption optimization options corresponding to each power consumption unit respectively; the method comprises the steps that a selection acquisition unit acquires a selection instruction aiming at a target energy consumption unit and a target power consumption optimization option, and a power consumption adjustment scheme is determined according to the selection instruction; and the power consumption adjusting unit responds to the power consumption adjusting scheme to meet the preset condition, and then adjusts the power consumption of the electronic equipment according to the power consumption adjusting scheme. Therefore, the target energy consumption unit and the target power consumption optimization option selected by the user are obtained through the power consumption display interface, and the power consumption of the electronic equipment is adjusted according to the power consumption adjustment scheme corresponding to the target energy consumption unit and the target power consumption optimization option, so that the requirement of the user for adjusting the power consumption according to the requirement can be met, the power consumption can be accurately adjusted according to the requirement of the user, and the convenience of the electronic equipment in use can be further improved.
In the technical scheme of the disclosure, the related processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user accord with the regulations of related laws and regulations, and the public order colloquial is not violated.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 16 illustrates a schematic block diagram of an example electronic device 1100 that can be used to implement embodiments of the present disclosure. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 16, the electronic device 1600 includes a computing unit 1601 that can perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM) 1602 or a computer program loaded from a storage unit 1608 into a Random Access Memory (RAM) 1603. In the RAM 1603, various programs and data required for the operation of the electronic device 1600 may also be stored. The computing unit 1601, ROM 1602, and RAM 1603 are connected to each other by a bus 1604. An input/output (I/O) interface 1605 is also connected to the bus 1604.
Various components in electronic device 1600 are connected to I/O interface 1605, including: an input unit 1606 such as a keyboard, a mouse, and the like; an output unit 1607 such as various types of displays, speakers, and the like; a storage unit 1608, such as a magnetic disk, an optical disk, or the like; and a communication unit 1609, such as a network card, modem, wireless communication transceiver, or the like. The communication unit 1609 allows the electronic device 1600 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks.
The computing unit 1601 may be a variety of general purpose and/or special purpose processing components with processing and computing capabilities. Some examples of computing unit 1601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1601 performs the respective methods and processes described above, for example, a control method of power consumption of the electronic device. For example, in some embodiments, the method of controlling power consumption of an electronic device may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 1608. In some embodiments, some or all of the computer programs may be loaded and/or installed onto electronic device 1600 via ROM 1602 and/or communication unit 1609. When a computer program is loaded into RAM 1603 and executed by computing unit 1601, one or more steps of the control method for electronic device power consumption described above may be performed. Alternatively, in other embodiments, the computing unit 1601 may be configured to perform a method of controlling power consumption of the electronic device by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), the internet, and blockchain networks.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service ("Virtual Private Server" or simply "VPS") are overcome. The server may also be a server of a distributed system or a server that incorporates a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (19)

1. A method for controlling power consumption of an electronic device, comprising:
displaying a power consumption display interface, wherein the power consumption display interface comprises a plurality of energy consumption units and power consumption optimization options corresponding to each energy consumption unit respectively;
acquiring a selection instruction aiming at a target energy consumption unit and a target power consumption optimization option, and determining a power consumption adjustment scheme according to the selection instruction;
And responding to the power consumption adjustment scheme meeting a preset condition, and performing power consumption adjustment on the electronic equipment according to the power consumption adjustment scheme.
2. The method of claim 1, wherein determining whether the power consumption adjustment scheme satisfies a preset condition is performed according to:
determining a target power consumption value corresponding to each power consumption device in the electronic equipment according to the power consumption adjustment scheme;
if the target power consumption value of any one of the power consumption devices is smaller than the corresponding first power consumption threshold value, judging that the power consumption adjustment scheme does not meet a preset condition;
and if the target power consumption value of any power consumption device is larger than or equal to the corresponding first power consumption threshold value, judging that the power consumption adjustment scheme meets the preset condition.
3. The method of claim 1, wherein determining whether the power consumption adjustment scheme satisfies a preset condition is performed according to:
determining a target power consumption value of the electronic equipment according to the power consumption adjustment scheme;
if the target power consumption value is smaller than a second power consumption threshold value, judging that the power consumption adjustment scheme meets a preset condition; the second power consumption threshold value is an overall power consumption threshold value of the electronic equipment;
And if the target power consumption value is greater than or equal to the second power consumption threshold value, judging that the power consumption adjustment scheme does not meet the preset condition.
4. The method of claim 3, wherein the second power consumption threshold value is obtained by:
acquiring a state of charge (SOC) of a battery in the electronic equipment;
and determining the second power consumption threshold value according to the SOC.
5. The method of any one of claims 1-4, further comprising:
and displaying early warning prompt information if the power consumption adjustment scheme corresponding to the power consumption optimization option does not meet the preset condition.
6. The method as recited in claim 1, further comprising:
the power consumption adjustment scheme is provided in the power consumption display interface for selection by a user.
7. The method of claim 1, further comprising, after the power consumption adjustment of the electronic device according to the power consumption adjustment scheme:
collecting real-time power consumption of the electronic equipment;
if the real-time power consumption of the electronic equipment is within the target range, judging that the power consumption adjustment is successful, and displaying a successful power consumption adjustment result;
And if the real-time power consumption of the electronic equipment is not in the target range, recording the repeated adjustment times of the power consumption.
8. The method as recited in claim 7, further comprising:
acquiring the repeated adjustment times of the power consumption;
if the repeated adjustment times of the power consumption are larger than a preset threshold value, an adjustment abnormality report is sent;
and if the power consumption repeated adjustment times are not greater than the preset threshold value, continuing to perform power consumption adjustment according to the power consumption adjustment scheme.
9. A control apparatus for power consumption of an electronic device, comprising:
the interface display unit is used for displaying a power consumption display interface, wherein the power consumption display interface comprises a plurality of energy consumption units and power consumption optimization options corresponding to the energy consumption units respectively;
the power consumption adjustment device comprises a selection acquisition unit, a power consumption adjustment unit and a power consumption adjustment unit, wherein the selection acquisition unit is used for acquiring a selection instruction aiming at a target energy consumption unit and a target power consumption optimization option, and determining a power consumption adjustment scheme according to the selection instruction;
and the power consumption adjusting unit is used for responding to the power consumption adjusting scheme to meet the preset condition and adjusting the power consumption of the electronic equipment according to the power consumption adjusting scheme.
10. The apparatus of claim 9, further comprising a power consumption determination unit and a requirement determination unit configured to determine whether the power consumption adjustment scheme satisfies a preset condition:
The power consumption determining unit is used for determining a target power consumption value corresponding to each power consumption device in the electronic equipment according to the power consumption adjustment scheme;
the requirement judging unit is configured to judge that the power consumption adjustment scheme does not meet a preset condition if the target power consumption value of any one of the power consumption devices is smaller than a corresponding first power consumption threshold value;
the requirement judging unit is further configured to judge that the power consumption adjustment scheme meets the preset condition if the target power consumption value of any one of the power consumption devices is greater than or equal to the corresponding first power consumption threshold value.
11. The apparatus of claim 9, further comprising a power consumption determination unit and a requirement determination unit configured to determine whether the power consumption adjustment scheme satisfies a preset condition:
the power consumption determining unit is used for determining a target power consumption value of the electronic equipment according to the power consumption adjusting scheme;
the requirement judging unit is used for judging that the power consumption adjustment scheme meets a preset condition if the target power consumption value is smaller than a second power consumption threshold value; the second power consumption threshold value is an overall power consumption threshold value of the electronic equipment;
The requirement judging unit is further configured to judge that the power consumption adjustment scheme does not meet the preset condition if the target power consumption value is greater than or equal to the second power consumption threshold value.
12. The apparatus of claim 11, further comprising a state acquisition unit and a threshold determination unit to obtain the second power consumption threshold value:
the state acquisition unit is used for acquiring the state of charge (SOC) of the battery in the electronic equipment;
the threshold determining unit is configured to determine the second power consumption threshold according to the state of charge SOC.
13. The apparatus of any one of claims 9-12, further comprising:
and the early warning prompt unit is used for displaying early warning prompt information if the power consumption adjustment scheme does not meet the preset condition.
14. The apparatus as recited in claim 9, further comprising:
and the scheme selection unit is used for providing the power consumption adjustment scheme in the power consumption display interface for a user to select.
15. The apparatus of claim 9, further comprising a power consumption acquisition unit, an adjustment determination unit, and a number recording unit to, after the power consumption adjustment of the electronic device according to the power consumption adjustment scheme:
The power consumption acquisition unit is used for acquiring real-time power consumption of the electronic equipment;
the adjusting judging unit is used for judging that the power consumption is successfully adjusted if the real-time power consumption of the electronic equipment is within the target range, and displaying a successful power consumption adjusting result;
the frequency recording unit is used for recording the repeated adjustment frequency of the power consumption if the real-time power consumption of the electronic equipment is not in the target range.
16. The apparatus as recited in claim 15, further comprising:
the frequency acquisition unit is used for acquiring the power consumption repeated adjustment frequency;
a report sending unit, configured to send an adjustment exception report if the power consumption repetition adjustment number is greater than a preset threshold;
and the frequency judging unit is used for continuing to carry out power consumption adjustment according to the power consumption adjustment scheme if the power consumption repeated adjustment frequency is not greater than the preset threshold value.
17. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
18. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-8.
19. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-8.
CN202210770894.7A 2022-06-30 2022-06-30 Electronic equipment power consumption control method and device, electronic equipment and storage medium Pending CN117369616A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210770894.7A CN117369616A (en) 2022-06-30 2022-06-30 Electronic equipment power consumption control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210770894.7A CN117369616A (en) 2022-06-30 2022-06-30 Electronic equipment power consumption control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117369616A true CN117369616A (en) 2024-01-09

Family

ID=89404675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210770894.7A Pending CN117369616A (en) 2022-06-30 2022-06-30 Electronic equipment power consumption control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117369616A (en)

Similar Documents

Publication Publication Date Title
CN108475935B (en) Battery charging management method and terminal
EP3975378A1 (en) Charging method and apparatus, charging system, electronic device, storage medium
US10956280B2 (en) Data backup method, electronic device, and storage medium
CN114356167B (en) Shortcut menu for displaying different applications on different screens
CN110864401B (en) System debugging method, system debugging device and storage medium
CN108242837A (en) The method of the charging of electronic equipment and control electronics
CN113704063B (en) Performance monitoring method, device, equipment and storage medium of cloud mobile phone
US9977651B2 (en) Mobile terminal and image processing method thereof
WO2018129991A1 (en) Charging method, charging device and terminal
CN110837343B (en) Snapshot processing method and device and terminal
EP4322511A2 (en) Method for adjusting parameter of audio service and terminal
CN104954159A (en) Network information statistics method and device
CN111008090B (en) Battery electric quantity control method and device, storage medium and terminal equipment
CN105227598A (en) A kind of resource sharing method, device and system stored based on cloud
CN104135396B (en) Show the method for network speed information, device and terminal
CN110489177B (en) Application control method and device, storage medium and terminal equipment
CN117369616A (en) Electronic equipment power consumption control method and device, electronic equipment and storage medium
CN103457832A (en) Information management method, device and terminal
CN114020121B (en) Method, device and equipment for controlling temperature of cloud mobile phone server
CN107093917B (en) Wireless charging method and wireless charging router
US10966104B2 (en) Email synchronization method and device
JP2007205883A (en) Secondary battery capacity estimation device, program, and secondary battery capacity estimation method
CN108512864B (en) Network request scheduling method and device
CN113835733B (en) Cloud application updating method and device, electronic equipment and storage medium
CN112256610B (en) Connection control method, system, storage medium and mobile terminal

Legal Events

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