CN110572867A - method and device for reducing power consumption of electronic equipment - Google Patents
method and device for reducing power consumption of electronic equipment Download PDFInfo
- Publication number
- CN110572867A CN110572867A CN201910842756.3A CN201910842756A CN110572867A CN 110572867 A CN110572867 A CN 110572867A CN 201910842756 A CN201910842756 A CN 201910842756A CN 110572867 A CN110572867 A CN 110572867A
- Authority
- CN
- China
- Prior art keywords
- preset
- scene
- display screen
- condition
- determining
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000012545 processing Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 8
- 238000003860 storage Methods 0.000 claims description 3
- 238000013461 design Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 230000009467 reduction Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000004091 panning Methods 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 241000270295 Serpentes Species 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
- H04W52/0267—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
- H04W52/027—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Controls And Circuits For Display Device (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a method and a device for reducing power consumption of electronic equipment, wherein the electronic equipment is provided with a display screen, and the method comprises the following steps: the electronic equipment determines that the display screen is in a bright screen state; the electronic equipment determines a first scene corresponding to a foreground task according to the foreground task; if the electronic equipment determines that the first scene is a preset scene, executing preset operation corresponding to the preset scene on a foreground task; the preset operation is to reduce power consumption of the electronic device. By adopting the method, the embodiment of the application can effectively reduce the power consumption of the electronic equipment and increase the endurance capacity of the equipment.
Description
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a method and an apparatus for reducing power consumption of an electronic device.
Background
since the electronic technology began to develop rapidly at the end of the nineteenth century and the beginning of the twentieth century, electronic products have been widely used in modern society, for example, at least one person has a mobile phone. With the updating of mobile phones, the corresponding network technology is also changing day by day, and in order to facilitate the life and work of people, mobile phones can download various software, for example: the software can help people to work and enrich people's life, but because parameters of refresh frame rate, brightness and resolution ratio of each software are fixed when a mobile phone screen displays an interface, and in order to not influence user application experience, corresponding parameters of the software can be set to optimal parameters which can be achieved by the technology, so that the power consumption of a user applying the corresponding software is always in a larger power consumption value, and the cruising ability of the mobile phone is weakened.
Therefore, there is a need for a method and an apparatus for reducing power consumption of an electronic device, so as to reduce power consumption of the electronic device and increase endurance of the device.
Disclosure of Invention
The embodiment of the invention provides a method and a device for reducing power consumption of electronic equipment, which are used for reducing the power consumption of the electronic equipment and increasing the cruising ability of the equipment.
In a first aspect, an embodiment of the present invention provides a method for reducing power consumption of an electronic device, where the electronic device has a display screen, and the method includes:
the electronic equipment determines that the display screen is in a bright screen state; the electronic equipment determines a first scene corresponding to a foreground task according to the foreground task; if the electronic equipment determines that the first scene is a preset scene, executing preset operation corresponding to the preset scene on the foreground task; the preset operation is used for reducing the power consumption of the electronic equipment.
By adopting the method, after the electronic equipment is in the bright screen state, the electronic equipment determines the preset scene according to the foreground task, so that corresponding preset operation can be adopted for the preset scene. Therefore, different preset operations can be executed in different preset scenes, and the power consumption of the electronic equipment can be reduced in a targeted manner on the basis of not influencing the user experience.
In one possible design, the preset operation includes at least one of a first operation, a second operation, and a third operation; the first operation comprises reducing the frame rate displayed by the display screen if the first condition is determined to be met; the second operation comprises reducing the resolution of the display screen if it is determined that a second condition is met; and the third operation comprises reducing the brightness of the display screen if a third condition is met.
By adopting the method, the frame rate of the display screen of the electronic equipment can be reduced through the first operation, the resolution of the display screen of the electronic equipment can be reduced through the second operation, and the brightness of the display screen of the electronic equipment can be reduced through the third operation, so that the electronic equipment can perform at least one operation according to a specific preset scene, and the reduction of the frame rate, the resolution or the brightness of the display screen is realized, so that the power consumption of the electronic equipment is reduced.
In one possible design, the determining meets a first condition, comprising: starting a first timer after the click operation of a user is detected, and determining that the first condition is met if the duration of the first timer is greater than or equal to a first duration; the determining meets a second condition comprising: determining that the resolution of the display screen is greater than or equal to a preset threshold value, and determining that the second condition is met; the determining meets a third condition comprising: and starting a second timer after the click operation of the user is detected, and determining that the third condition is met if the duration of the second timer is greater than or equal to the second duration.
in one possible design, the preset scene comprises a mini-game scene, and the preset operation comprises a first operation, a second operation and a third operation; or the preset scene comprises a large-scale game scene, and the preset operation comprises a first operation and a third operation; or the preset scene comprises an electronic shopping scene, and the preset operation comprises a first operation.
by adopting the method, the electronic equipment can classify the preset scenes into specific categories, and at least one item of preset operation is determined to be executed through analyzing the specific categories of the preset scenes, so that the power consumption of the electronic equipment can be reduced under the condition of not influencing the perception and the use of users.
In a second aspect, an embodiment of the present invention provides an electronic device, where the electronic device has a display screen, and the electronic device includes:
the determining module is used for determining that the display screen is in a bright screen state and determining a first scene corresponding to a foreground task according to the foreground task; the processing module is used for executing preset operation corresponding to a preset scene on the foreground task if the first scene is determined to be the preset scene; the preset operation is used for reducing the power consumption of the electronic equipment.
In one possible design, the preset operation includes at least one of a first operation, a second operation, and a third operation; the first operation comprises reducing the frame rate displayed by the display screen if the first condition is determined to be met; the second operation comprises reducing the resolution of the display screen if it is determined that a second condition is met; and the third operation comprises reducing the brightness of the display screen if a third condition is met.
In one possible design, the processing module is specifically configured to: starting a first timer after the click operation of a user is detected, and determining that the first condition is met if the duration of the first timer is greater than or equal to a first duration; or determining that the resolution of the display screen is greater than or equal to a preset threshold, and determining that the second condition is met; or after the click operation of the user is detected, starting a second timer, and if the duration of the second timer is greater than or equal to a second duration, determining that the third condition is met.
In one possible design, the preset scene comprises a mini-game scene, and the preset operation comprises a first operation, a second operation and a third operation; or the preset scene comprises a large-scale game scene, and the preset operation comprises a first operation and a third operation; or the preset scene comprises an electronic shopping scene, and the preset operation comprises a first operation.
in a third aspect, embodiments of the present application also provide a computer-readable storage medium, which includes instructions that, when executed on a computer, cause the computer to perform the method as described in the various possible designs of the first aspect.
In a fourth aspect, embodiments of the present application also provide a computer program product, which when run on a computer, causes the computer to perform the method as set forth in the various possible designs of the first aspect.
These and other implementations of the present application will be more readily understood from the following description of the embodiments.
drawings
in order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
Fig. 2 is a schematic flowchart of a method for reducing power consumption of an electronic device according to an embodiment of the present disclosure;
Fig. 3 is a schematic view of a scenario for reducing power consumption of an electronic device according to an embodiment of the present disclosure;
Fig. 4 is a schematic view of a scenario for reducing power consumption of an electronic device according to an embodiment of the present disclosure;
Fig. 5 is a schematic view of a scenario for reducing power consumption of an electronic device according to an embodiment of the present disclosure;
Fig. 6 is a schematic flowchart illustrating a process for reducing power consumption of an electronic device according to an embodiment of the present disclosure;
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
The method for reducing the power consumption of the electronic equipment provided by the embodiment of the invention can be suitable for the electronic equipment with the display screen. The electronic device may be a mobile phone, a tablet computer, a notebook computer, a Personal Digital Assistant (PDA), a point of sale (POS), a vehicle-mounted computer, an intelligent watch, a television, and other electronic devices with a display screen, which are not limited specifically. Hereinafter, the electronic device will be mainly described as a mobile phone.
Fig. 1 is a schematic structural diagram of an electronic device (such as a mobile phone) according to an embodiment of the present disclosure, and as shown in fig. 1, the mobile phone 100 may include a processor 101, a memory 102, a Radio Frequency (RF) circuit 103, a display screen 104, one or more sensors 106, a wireless fidelity (WiFi) device 107, a peripheral interface 108, and a power supply device 109. These components may communicate over one or more communication buses or signal lines (not shown in fig. 1). Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 is not intended to be limiting of the handset 100, and that the handset 100 may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
the processor 101 is a control center of the mobile phone 100, connects various parts of the mobile phone 100 by using various interfaces and lines, and executes various functions and processes data of the mobile phone 100 by running or executing an Application (APP) stored in the memory 102 and calling data and instructions stored in the memory 102. The memory 102 is used to store application programs, data, and various operating systems. The RF circuit 103 may be used for receiving and transmitting wireless signals during the transmission and reception of information or during a call. The display screen 104 may be used to display information entered by or provided to the user, as well as various menus of the handset 100, etc. In one example, the display screen may be a touch screen. One or more sensors 106, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of ambient light, and the proximity sensor may turn off the power supply of the display screen when the mobile phone 100 moves to the ear. A WiFi device 107 for providing the handset 100 with network access compliant with WiFi-related standard protocols. The peripheral interface 108 is used to provide various interfaces for external input/output devices (e.g., keyboard, mouse, external display, external memory, SIM card, etc.). The handset 100 may also include a power supply means 109 for supplying power to the various components.
Based on the electronic device shown in fig. 1, fig. 2 is a schematic flowchart of a method for reducing power consumption of an electronic device according to an embodiment of the present application, and as shown in fig. 2, the method includes:
step 201, the electronic device determines that the display screen is in a bright screen state.
Step 202, the electronic device determines a first scene corresponding to a foreground task according to the foreground task.
Here, the foreground task of the electronic device may be a third-party application in a foreground running state, or may be a system application of the electronic device. The system software may be application software of an operating system in the electronic device, such as an application market, a browser, a recorder, and the like, and the third application software may be application software installed in the electronic device by a user, such as WeChat, microblog, Taobao, Xiaoxiao le, Rong of King, and the like.
Illustratively, there may be a variety of possible scenarios depending on the foreground task of the electronic device. For example, if the third-party application software in the foreground running state is some mini-game-type application software, such as happy xiao-le, it may be determined that the corresponding scene is a mini-game scene. For another example, if the third-party application in the foreground operation state is some application in a large-scale game, such as royal glory, the corresponding scene can be determined to be a large-scale game scene. For another example, if the third-party application in the foreground operation state is some electronic shopping application, such as panning, it may be determined that the corresponding scene is an electronic shopping scene. For another example, if the third-party application in the foreground running state is some instant messaging application, such as WeChat, it may be determined that the corresponding scenario is an instant messaging scenario. Besides the above described scenarios, other possible scenarios are possible, and are not limited in particular.
step 203, if the electronic device determines that the first scene is a preset scene, executing a preset operation corresponding to the preset scene on the foreground task; the preset operation is used for reducing the power consumption of the electronic equipment.
Here, the preset scene may be set by those skilled in the art according to actual needs and experience, for example, the preset scene may include a mini game scene, a macro game scene, and an electronic shopping scene. If the first scene determined according to the foreground task is a large game scene in the step 202, the first scene is a preset scene; if the first scene determined according to the foreground task is the instant messaging scene in step 202, the first scene is not a preset scene.
the preset operation can also be set by a person skilled in the art according to actual needs and experience. Different preset scenes may correspond to different preset operations, for example, the preset scenes include a mini game scene, and the preset operations corresponding to the preset scenes may include a first operation, a second operation, and a third operation; for another example, if the preset scene includes a large game scene, the preset operation corresponding to the preset scene may include a first operation and a third operation; the preset scene includes an electronic shopping scene, and the preset operation corresponding to the preset scene may include a first operation.
The first operation comprises reducing the frame rate displayed by the display screen if the first condition is determined to be met; the second operation comprises reducing the resolution of the display screen if it is determined that the second condition is met; the third operation comprises reducing the brightness of the display screen if the third condition is met. Illustratively, determining compliance with a first condition comprises: and starting a first timer after the click operation of the user is detected, and determining that the first condition is met if the duration of the first timer is greater than or equal to the first duration. Determining compliance with a second condition, comprising: and determining that the resolution of the display screen is greater than or equal to a preset threshold value, and determining that the second condition is met. Determining compliance with a third condition comprising: and starting a second timer after the click operation of the user is detected, and determining that the third condition is met if the duration of the second timer is greater than or equal to the second duration.
for example, if the first scene determined according to the foreground task is a large game scene in step 202, the first operation and/or the third operation may be performed in step 203, that is, the frame rate of the display screen is decreased when the first condition is determined to be met, and/or the brightness of the display screen is decreased when the third condition is determined to be met.
by adopting the method, after the electronic equipment is in the bright screen state, the electronic equipment determines the preset scene according to the foreground task, so that corresponding preset operation can be adopted for the preset scene. Therefore, different preset operations can be executed in different preset scenes, and the power consumption of the electronic equipment can be reduced in a targeted manner on the basis of not influencing the user experience.
Based on the method for reducing the power consumption of the electronic device illustrated in fig. 2, the following further describes a flow for reducing the power consumption of the electronic device with reference to fig. 6, and as shown in fig. 6, the method may include:
Step 601, determining whether a display screen of the electronic equipment is in a bright screen state.
for example, after the user lights up the screen by means of fingerprint recognition or the like, it may be determined that the display screen of the electronic device is in a lighted state.
And step 602, running foreground tasks.
For example, the user may make the application software in a foreground operating state, i.e., a foreground task, by clicking an icon on the display interface.
and 6021, not starting the function of reducing the power consumption of the electronic equipment for normal use by the user.
for example, the electronic device has sufficient electric quantity, and does not need to save electric consumption and reduce power consumption, and the function of reducing the power consumption of the electronic device does not need to be started.
Step 603, judging whether the first scene corresponding to the foreground task is a preset scene.
If the electronic device needs to save power consumption and reduce power consumption, the function of reducing the power consumption of the electronic device can be started. In the embodiment of the application, after the electronic device judges that the electric quantity is smaller than the electric quantity threshold value, the function of reducing the power consumption of the electronic device is started; alternatively, the function of reducing the power consumption of the electronic device may be triggered and turned on by the user. And is not particularly limited.
And judging whether the first scene is a preset scene, wherein the preset scene can comprise a small game scene, a large game scene and an electronic shopping scene.
In the embodiment of the application, the small game scene can be a game scene with low requirements on resolution, refresh frame rate and brightness, such as Xiaoxiaole, greedy snake, fruit ninja and the like; a small playground as shown in fig. 3 may appear when the user plays the fun game because the game can be continued by merely dragging the same shape or color of graphics to an adjacent position, without rendering the game impossible due to low resolution, low refresh frame rate, or low brightness; therefore, after the step 6141 determines that the preset scene of the foreground task is a mini-game scene, the corresponding step 6142 is to execute the first operation, the second operation and the third operation, that is, to reduce the refresh frame rate, the resolution and the brightness of the display screen of the electronic device.
examples are: when the first scene is a small-sized game scene when the user plays the fun elimination game and the user starts the power consumption reduction function, judging to perform a first operation, a second operation and a third operation on a display screen of the mobile phone, and if the first duration is 10s, the second duration is 15s and the preset resolution threshold is 1080p in the mobile phone setting; when the resolution of the display screen is detected to be 2k, the resolution of the display screen of the mobile phone is reduced to be lower than 1080p, and when the resolution of the display screen is detected to be more than 15s after the finger of the user clicks the display screen, the display screen is not clicked again, so that the brightness of the display screen can be reduced.
The large-scale game scene can be a game scene with high requirement on resolution, frame refreshing rate and low requirement on brightness; for example, when a user plays a royal glory game, a large-scale playground as shown in fig. 4 appears, because the drawing of characters in such a game scene is dazzled and beautiful and the scene is numerous and fine, if the resolution of the display screen of the electronic device is reduced, the user experience is affected, and for example, a game scene with a high requirement on the resolution of the screen of the electronic device, such as royal glory, hero union, free war, and the like, is a large-scale playground; therefore, after the step 6241 determines that the preset scene of the foreground task is a large game scene, the corresponding step 6242 is to perform the first operation and the third operation, that is, to reduce the refresh frame rate and the brightness of the display screen of the electronic device.
examples are: when the first scene is a large-scale game scene when a user plays a glory game by a queen player and the user starts a power consumption reduction function, judging that a first operation and a third operation are carried out on a display screen of the mobile phone, and if the first duration is 10s and the second duration is 15s in the mobile phone setting; when the user finger clicks the mobile phone display screen for more than 10 seconds without clicking the mobile phone display screen, the refresh frame rate of the mobile phone display screen is reduced, and when the user finger clicks the display screen for more than 15 seconds without clicking the display screen again, the brightness of the display screen can be reduced.
The electronic shopping scene can be a shopping scene with high requirements on resolution and brightness and low requirement on refresh frame rate; for example, when the user opens the electronic shopping APP, an electronic shopping scenario and a tool-class scenario appear as shown in fig. 5. Because electronic shopping scenes and tool scenes are generally static pictures in most cases and users often need to think for selection, the requirements on the refresh frame rate are not high, such as Taobao, Jingdong, mobile phone setting, mobile phone steward and the like; therefore, after step 6341 determines that the preset scene of the foreground task is an electronic shopping scene (the tool class scene may also be categorized as an electronic shopping scene), step 6342 corresponds to performing a first operation, that is, reducing the refresh frame rate of the display screen of the electronic device.
Examples are: when the first scene is an electronic shopping scene when a user applies panning shopping, and the user starts a power consumption reduction function, judging that a first operation is performed on a mobile phone display screen, and if the preset resolution threshold value is 1080p in the mobile phone setting; and when the user does not click the mobile phone display screen for more than 10 seconds after the finger clicks the mobile phone display screen, reducing the refresh frame rate of the mobile phone display screen.
The setting of the first time length and the second time length can set proper time length according to the requirement of a user; the refresh frame rate of the preset scene of the mobile phone can be reduced to f1 frames/s, and f1 is 30-60 frames/s (because the frame is less than 30 frames/s, the user can easily perceive); the resolution of the preset scene of the mobile phone may also set a resolution reduction degree according to the resolution of the current display screen, for example, r%, where r is 50% to 80%, and then the resolution reduction degree is 54% from 2k to 1080p in the above example; the brightness of the preset scene of the mobile phone can be specifically selected to reduce the brightness by p% according to the perception of the user, wherein p is 0% -100%.
Based on the same conception, the embodiment of the invention also provides the electronic equipment. Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 7, the electronic device includes:
A determining module 701, configured to determine that the display screen is in a bright screen state, and determine, according to a foreground task, a first scene corresponding to the foreground task;
A processing module 702, configured to execute a preset operation corresponding to a preset scene on the foreground task if it is determined that the first scene is the preset scene; the preset operation is used for reducing the power consumption of the electronic equipment.
In one possible design, the preset operation includes at least one of a first operation, a second operation, and a third operation; the first operation comprises reducing the frame rate displayed by the display screen if the first condition is determined to be met; the second operation comprises reducing the resolution of the display screen if it is determined that a second condition is met; and the third operation comprises reducing the brightness of the display screen if a third condition is met.
in one possible design, the processing module 702 is specifically configured to: starting a first timer after the click operation of a user is detected, and determining that the first condition is met if the duration of the first timer is greater than or equal to a first duration; or determining that the resolution of the display screen is greater than or equal to a preset threshold, and determining that the second condition is met; or after the click operation of the user is detected, starting a second timer, and if the duration of the second timer is greater than or equal to a second duration, determining that the third condition is met.
In one possible design, the preset scene comprises a mini-game scene, and the preset operation comprises a first operation, a second operation and a third operation; or the preset scene comprises a large-scale game scene, and the preset operation comprises a first operation and a third operation; or the preset scene comprises an electronic shopping scene, and the preset operation comprises a first operation.
Embodiments of the present application also provide a computer-readable storage medium, comprising instructions, which when executed on a computer, cause the computer to perform the method for reducing power consumption of an electronic device as described in the various possible designs described above.
embodiments of the present application also provide a computer program product, which when run on a computer, causes the computer to perform the method of reducing power consumption of an electronic device as described in the various possible designs described above.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
it will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A method of reducing power consumption of an electronic device, the electronic device having a display screen, the method comprising:
The electronic equipment determines that the display screen is in a bright screen state;
The electronic equipment determines a first scene corresponding to a foreground task according to the foreground task;
If the electronic equipment determines that the first scene is a preset scene, executing preset operation corresponding to the preset scene on the foreground task; the preset operation is used for reducing the power consumption of the electronic equipment.
2. the method of claim 1, wherein the preset operation comprises at least one of a first operation, a second operation, and a third operation;
The first operation comprises reducing the frame rate displayed by the display screen if the first condition is determined to be met; the second operation comprises reducing the resolution of the display screen if it is determined that a second condition is met; and the third operation comprises reducing the brightness of the display screen if a third condition is met.
3. The method of claim 2, wherein the determining that the first condition is met comprises: starting a first timer after the click operation of a user is detected, and determining that the first condition is met if the duration of the first timer is greater than or equal to a first duration;
The determining meets a second condition comprising: determining that the resolution of the display screen is greater than or equal to a preset threshold value, and determining that the second condition is met;
The determining meets a third condition comprising: and starting a second timer after the click operation of the user is detected, and determining that the third condition is met if the duration of the second timer is greater than or equal to the second duration.
4. The method according to any one of claims 1 to 3, characterized in that:
The preset scene comprises a mini game scene, and the preset operation comprises a first operation, a second operation and a third operation; or,
The preset scene comprises a large-scale game scene, and the preset operation comprises a first operation and a third operation; or,
The preset scene comprises an electronic shopping scene, and the preset operation comprises a first operation.
5. An electronic device, wherein the electronic device has a display screen, the electronic device comprising:
the determining module is used for determining that the display screen is in a bright screen state and determining a first scene corresponding to a foreground task according to the foreground task;
the processing module is used for executing preset operation corresponding to a preset scene on the foreground task if the first scene is determined to be the preset scene; the preset operation is used for reducing the power consumption of the electronic equipment.
6. The electronic device of claim 5, wherein the preset operation comprises at least one of a first operation, a second operation, and a third operation;
The first operation comprises reducing the frame rate displayed by the display screen if the first condition is determined to be met; the second operation comprises reducing the resolution of the display screen if it is determined that a second condition is met; and the third operation comprises reducing the brightness of the display screen if a third condition is met.
7. The electronic device of claim 6, wherein the processing module is specifically configured to: starting a first timer after the click operation of a user is detected, and determining that the first condition is met if the duration of the first timer is greater than or equal to a first duration; or,
Determining that the resolution of the display screen is greater than or equal to a preset threshold value, and determining that the second condition is met; or,
And starting a second timer after the click operation of the user is detected, and determining that the third condition is met if the duration of the second timer is greater than or equal to the second duration.
8. The electronic device of any of claims 5-7, wherein:
The preset scene comprises a mini game scene, and the preset operation comprises a first operation, a second operation and a third operation; or,
The preset scene comprises a large-scale game scene, and the preset operation comprises a first operation and a third operation; or,
The preset scene comprises an electronic shopping scene, and the preset operation comprises a first operation.
9. a computer-readable storage medium comprising instructions that, when executed on a processor of a computer, cause the processor of the computer to perform the method of any of claims 1 to 4.
10. A computer program product, which, when run on a computer, causes the computer to perform the method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910842756.3A CN110572867A (en) | 2019-09-06 | 2019-09-06 | method and device for reducing power consumption of electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910842756.3A CN110572867A (en) | 2019-09-06 | 2019-09-06 | method and device for reducing power consumption of electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110572867A true CN110572867A (en) | 2019-12-13 |
Family
ID=68778248
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910842756.3A Pending CN110572867A (en) | 2019-09-06 | 2019-09-06 | method and device for reducing power consumption of electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110572867A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112269702A (en) * | 2020-11-12 | 2021-01-26 | 三星电子(中国)研发中心 | Screen brightness adjusting method and device, electronic equipment and computer readable medium |
CN114339966A (en) * | 2021-12-23 | 2022-04-12 | 杭州逗酷软件科技有限公司 | Interface control method, device, medium and electronic equipment for data transmission |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103631359A (en) * | 2013-11-15 | 2014-03-12 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN106200872A (en) * | 2016-06-30 | 2016-12-07 | 维沃移动通信有限公司 | A kind of terminal and the management method of power consumption thereof |
CN106990828A (en) * | 2017-03-31 | 2017-07-28 | 努比亚技术有限公司 | A kind of apparatus and method for controlling screen display |
US20170262040A1 (en) * | 2014-03-12 | 2017-09-14 | Samsung Electronics Co., Ltd. | Method and apparatus for saving power of portable electronic device |
CN107608561A (en) * | 2017-10-24 | 2018-01-19 | 北京小米移动软件有限公司 | Touch-screen control method and device |
CN108021219A (en) * | 2016-11-03 | 2018-05-11 | 华为技术有限公司 | Control method of electronic device, device and electronic equipment |
WO2018161592A1 (en) * | 2017-03-10 | 2018-09-13 | 广东欧珀移动通信有限公司 | Method, device, storage medium, and electronic apparatus for changing background grayscale level to save power |
CN108564913A (en) * | 2018-04-19 | 2018-09-21 | Oppo广东移动通信有限公司 | Brightness adjusting method and related product |
CN108762470A (en) * | 2018-05-30 | 2018-11-06 | 努比亚技术有限公司 | Electricity saving method, intelligent terminal and computer readable storage medium in a kind of game mode |
CN108989563A (en) * | 2018-07-25 | 2018-12-11 | 努比亚技术有限公司 | Display methods, mobile terminal and the computer readable storage medium of double-sided screen |
CN109271014A (en) * | 2017-07-18 | 2019-01-25 | 华为终端(东莞)有限公司 | A kind of method and apparatus adjusting screen intensity |
-
2019
- 2019-09-06 CN CN201910842756.3A patent/CN110572867A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103631359A (en) * | 2013-11-15 | 2014-03-12 | 联想(北京)有限公司 | Information processing method and electronic equipment |
US20170262040A1 (en) * | 2014-03-12 | 2017-09-14 | Samsung Electronics Co., Ltd. | Method and apparatus for saving power of portable electronic device |
CN106200872A (en) * | 2016-06-30 | 2016-12-07 | 维沃移动通信有限公司 | A kind of terminal and the management method of power consumption thereof |
CN108021219A (en) * | 2016-11-03 | 2018-05-11 | 华为技术有限公司 | Control method of electronic device, device and electronic equipment |
WO2018161592A1 (en) * | 2017-03-10 | 2018-09-13 | 广东欧珀移动通信有限公司 | Method, device, storage medium, and electronic apparatus for changing background grayscale level to save power |
CN106990828A (en) * | 2017-03-31 | 2017-07-28 | 努比亚技术有限公司 | A kind of apparatus and method for controlling screen display |
CN109271014A (en) * | 2017-07-18 | 2019-01-25 | 华为终端(东莞)有限公司 | A kind of method and apparatus adjusting screen intensity |
CN107608561A (en) * | 2017-10-24 | 2018-01-19 | 北京小米移动软件有限公司 | Touch-screen control method and device |
CN108564913A (en) * | 2018-04-19 | 2018-09-21 | Oppo广东移动通信有限公司 | Brightness adjusting method and related product |
CN108762470A (en) * | 2018-05-30 | 2018-11-06 | 努比亚技术有限公司 | Electricity saving method, intelligent terminal and computer readable storage medium in a kind of game mode |
CN108989563A (en) * | 2018-07-25 | 2018-12-11 | 努比亚技术有限公司 | Display methods, mobile terminal and the computer readable storage medium of double-sided screen |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112269702A (en) * | 2020-11-12 | 2021-01-26 | 三星电子(中国)研发中心 | Screen brightness adjusting method and device, electronic equipment and computer readable medium |
CN112269702B (en) * | 2020-11-12 | 2023-04-18 | 三星电子(中国)研发中心 | Screen brightness adjusting method and device, electronic equipment and computer readable medium |
CN114339966A (en) * | 2021-12-23 | 2022-04-12 | 杭州逗酷软件科技有限公司 | Interface control method, device, medium and electronic equipment for data transmission |
CN114339966B (en) * | 2021-12-23 | 2023-10-31 | 杭州逗酷软件科技有限公司 | Interface control method and device for data transmission, medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11100901B2 (en) | Method for controlling rendering of layers, terminal, and storage medium | |
CN106791212B (en) | A kind of control method, device and the mobile terminal of mobile terminal refresh rate | |
CN107748686B (en) | Application program starting optimization method and device, storage medium and intelligent terminal | |
CN106936995B (en) | A kind of control method, device and the mobile terminal of mobile terminal frame per second | |
EP3584676B1 (en) | Method, device, medium, and electronic apparatus for dynamically adjusting power saving level of terminal | |
US20200008142A1 (en) | Method for Controlling Terminal, and Terminal | |
US20090094555A1 (en) | Adaptive user interface elements on display devices | |
CN106817753B (en) | Method and device for saving electricity by switching background gray scales and mobile terminal | |
WO2022001452A1 (en) | Information display method and apparatus, wearable device, and storage medium | |
CN108984089B (en) | Touch operation method and device, storage medium and electronic equipment | |
CN108648259A (en) | image drawing method, device, storage medium and intelligent terminal | |
CN111813492B (en) | Display method and device for quick application, electronic equipment and storage medium | |
EP3584694A1 (en) | Method and apparatus for controlling image drawing of mobile terminal, medium, electronic device | |
CN108733193A (en) | Method, apparatus, storage medium and the intelligent terminal of adjustment frame per second | |
CN108762465A (en) | Frame per second self-adapting regulation method, device, storage medium and intelligent terminal | |
WO2023065807A1 (en) | Screen control method and apparatus, electronic device, and storage medium | |
CN110572867A (en) | method and device for reducing power consumption of electronic equipment | |
CN108334349B (en) | Mobile terminal, display image switching method thereof and computer-readable storage medium | |
CN111767136B (en) | Process management method, terminal and device with storage function | |
CN112199149A (en) | Interface rendering method and device and electronic equipment | |
CN114077465A (en) | UI (user interface) rendering method and device, electronic equipment and storage medium | |
CN108737657B (en) | Antenna control method and related product | |
CN113271494B (en) | Video frame processing method and device and electronic equipment | |
KR101941508B1 (en) | Apparatus and method for controlling display in electronic device | |
CN112400305B (en) | Message prompting method and related product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191213 |