CN113031747A - Display control method and device - Google Patents
Display control method and device Download PDFInfo
- Publication number
- CN113031747A CN113031747A CN202110325372.1A CN202110325372A CN113031747A CN 113031747 A CN113031747 A CN 113031747A CN 202110325372 A CN202110325372 A CN 202110325372A CN 113031747 A CN113031747 A CN 113031747A
- Authority
- CN
- China
- Prior art keywords
- area
- display
- window
- processing
- active window
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000012545 processing Methods 0.000 claims abstract description 86
- 239000003086 colorant Substances 0.000 claims description 5
- 239000007787 solid Substances 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 16
- 230000002035 prolonged effect Effects 0.000 abstract description 4
- 230000008569 process Effects 0.000 description 14
- 238000013461 design Methods 0.000 description 5
- 230000000873 masking effect Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000000638 stimulation Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3265—Power saving in display device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3215—Monitoring of peripheral devices
- G06F1/3218—Monitoring of peripheral devices of display devices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application discloses a display control method and a display control device, wherein the method comprises the following steps: determining an active window in the display area; determining a first region of the active window that satisfies a first condition; and performing first processing on the first area, so that the power consumption required by the processed first area to output the display content is less than the power consumption required by the first area to display the content before processing. According to the implementation scheme, the region identification and processing can be performed on the display content inside the running window displayed on the display screen, the region where the display output needs to consume large power consumption is processed into the region where the display output consumes small power consumption, so that the effect of saving energy is achieved, the endurance time of the battery of the equipment is prolonged, and the using effect of a user is improved.
Description
Technical Field
The present application relates to data processing technologies, and in particular, to a display control method and apparatus.
Background
Among the overall power consumption of the electronic device, the power consumption consumed by the display screen is the largest portion, especially in the case where the display screen is configured with organic light emitting diodes. In order to prolong the battery life of the electronic equipment, related research needs to be carried out in the energy-saving direction of the display screen.
The display screen has very big consumption of power consumption under the condition that shows white picture content, and the display screen can show the white region of very big proportion under the many situations in the actual conditions, and this will reduce notebook computer battery duration to bring not good use experience for the user.
Disclosure of Invention
In view of this, the present application provides the following technical solutions:
a display control method is applied to an electronic device comprising a display area, and comprises the following steps:
determining an active window in the display area;
determining a first region of the active window that satisfies a first condition;
and performing first processing on the first area, so that the power consumption required by the processed first area for outputting the display content is less than the power consumption required by the first area for outputting the display content before processing.
Optionally, the first area satisfies the following condition: a solid color region having a regular shape and a color belonging to a high-brightness color system.
Optionally, the performing the first processing on the first area includes:
and inserting a first mask layer in the first area in front of the layer corresponding to the active window, wherein the lightness of the color of the first mask layer is lower than that of the color of the display content in the first area.
Optionally, the first mask layer is a layer with a first numerical transparency.
Optionally, the method further includes:
and under the condition that other display areas exist outside the active window, performing second processing on the other display areas outside the active window, so that the power consumption required by the processed other display areas for outputting the display content is less than the power consumption required by the other display areas for displaying the content before processing.
Optionally, the performing the second processing on the other display area outside the active window includes:
and inserting a second mask layer into the other display areas behind the layer corresponding to the active window, wherein the second mask layer is a layer with a gray value and a second numerical value transparency.
Optionally, the performing the second processing on the other display area outside the active window includes:
determining at least two area objects in other display areas except the active window, wherein the area objects are non-active windows or desktop backgrounds;
and for each area object, inserting a mask layer in front of the layer of the area object, wherein mask parameters of the mask layers corresponding to different area objects are different, and the mask parameters comprise mask colors and/or mask transparency.
Optionally, the performing the second processing on the other display area outside the active window includes:
determining inactive windows in other display areas outside the active window;
and for the inactive window, inserting a third mask layer before the layer of the inactive window, wherein the coverage of the third mask layer does not include the title bar in the inactive window, or the third mask layer enables the display brightness of the title bar in the inactive window to be higher than that of other areas in the inactive window.
Optionally, after performing the second processing on the other display areas outside the active window, the method further includes:
when detecting that the range of a first area meeting a first condition is changed, performing the first processing on the changed first area;
or the like, or, alternatively,
when the situation that the active window is switched from the first application window to the second application window is detected, the first area of the switched second application window is identified, and when the first area exists in the second application window, the first processing is carried out on the identified first area.
The application also discloses a display control device, is applied to the electronic equipment who contains the display area, includes:
a window determination module for determining an active window in the display area;
the region determining module is used for determining a first region which meets a first condition in the active window;
and the area processing module is used for carrying out first processing on the first area, so that the power consumption required by the processed first area for outputting the display content is less than the power consumption required by the first area for displaying the content before processing.
Further, the present application also discloses an electronic device, including:
a processor;
a memory for storing executable instructions of the processor;
wherein the executable instructions comprise: determining an active window in the display area; determining a first region of the active window that satisfies a first condition; and performing first processing on the first area, so that the power consumption required by the processed first area for outputting the display content is less than the power consumption required by the first area for outputting the display content before processing.
As can be seen from the foregoing technical solutions, an embodiment of the present application discloses a display control method and apparatus, and the method includes: determining an active window in the display area; determining a first region of the active window that satisfies a first condition; and performing first processing on the first area, so that the power consumption required by the processed first area to output the display content is less than the power consumption required by the first area to display the content before processing. According to the implementation scheme, the region identification and processing can be performed on the display content inside the running window displayed on the display screen, the region where the display output needs to consume large power consumption is processed into the region where the display output consumes small power consumption, so that the effect of saving energy is achieved, the endurance time of the battery of the equipment is prolonged, and the using effect of a user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a display control method disclosed in an embodiment of the present application;
FIG. 2 is a schematic diagram of a first region disclosed in an embodiment of the present application;
FIG. 3 is a diagram of an active window undergoing a first process according to an embodiment of the present disclosure;
FIG. 4 is a flow chart of another display control method disclosed in the embodiments of the present application;
FIG. 5 is a flowchart illustrating a second process performed on other display areas according to an embodiment of the disclosure;
FIG. 6 is a schematic view of a processed display area disclosed in an embodiment of the present application;
fig. 7 is a flowchart illustrating another second process performed on other display areas according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a display control apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application can be applied to electronic equipment, the product form of the electronic equipment is not limited by the application, and the electronic equipment can include but is not limited to a smart phone, a tablet computer, wearable equipment, a Personal Computer (PC), a netbook and the like, and can be selected according to application requirements.
Fig. 1 is a flowchart of a display control method disclosed in an embodiment of the present application, where the flowchart shown in fig. 1 is applied to an electronic device including a display area, which may include, but is not limited to, any one of a display screen, an extended screen, and a projection screen, and referring to fig. 1, the display control method may include:
step 101: an active window in the display area is determined.
The active window, i.e. the current working window, may be understood as a window currently being used by the user. When the display area contains a plurality of open windows, only one of the windows is an active window, and the active window is located at the top display layer, i.e. the uppermost layer of the display layer, and is not blocked by other windows.
In practical applications, many applications have a "non-content area" including a large area in the running window, as shown in fig. 2, the middle area is a content display area, and the rectangular areas on both sides have no actual content, which can be understood as "non-content area". In many cases, the above-described regions where no actual content is displayed are all white designs or light designs with high lightness. However, since the display panel consumes significantly more energy when displaying a white or colored screen than when displaying a dark screen, the power consumption increases when a window includes a wide range of white or light-colored screens.
Based on the above, an embodiment of the present application provides a display control method to process a specific display area in an active window to reduce energy consumption for displaying and outputting content of the specific display area. Therefore, in this embodiment, first, the active window in the display area needs to be determined; the active window is determined rather than the other windows because the active window is at the top of the display, which obscures the other windows, so the processing of the relevant area of the active window is the most efficient processing.
Step 102: a first region of the active window is determined that satisfies a first condition.
Since the layout design and the content required to be effectively output are not the same in the running windows of different applications, the first condition is not a fixed limitation in the embodiment of the present application. For example, in one implementation, the first condition that the first region needs to satisfy includes: a solid color region having a regular shape and a color belonging to a high-brightness color system. As shown in fig. 2, the non-content display area is determined to have a regular shape in the present example, considering that it is not a disordered design in a normal case; meanwhile, a relatively large amount of energy is consumed in display output only when the color belongs to the high-brightness color system, and therefore the first condition determines that the color of the first region belongs to the high-brightness color system. In other implementations, the first condition may further include: the first area is an area having a display boundary. In conjunction with fig. 2, the content display area and the non-content display area have their own real boundaries, which can be easily distinguished. Of course, the specific content of the ground conditions that the first area needs to satisfy is not fixedly limited, and in practical application, the first conditions may also be dynamically configured according to actual needs.
Step 103: and performing first processing on the first area, so that the power consumption required by the processed first area to output the display content is less than the power consumption required by the first area to display the content before processing.
Since the first region may be a non-content display region, the first processing performed on the first region does not substantially change the effect of outputting the effective content in the content region. In combination with the above description about different consumption power consumption required for different display contents of the display screen, the effect that the first processing can intuitively feel is that the display brightness or the display color of the first region is changed, and the essential effect is that the power consumption required for outputting the display contents after the first processing in the first region is less than the power consumption required for outputting the display contents before the first processing.
The specific implementation of the first process will be described in detail in the following embodiments, and will not be described in excess here.
According to the display control method, the area identification and processing can be performed on the display content in the running window displayed on the display screen, the area where the display output needs to consume large power consumption is processed into the area where the display output consumes small power consumption, so that the effect of saving energy is achieved, the endurance time of the battery of the equipment is prolonged, and the using effect of a user is improved.
In the above embodiment, the performing the first processing on the first area may include: and inserting a first mask layer in the first area in front of the layer corresponding to the active window, wherein the lightness of the color of the first mask layer is lower than that of the color of the display content in the first area.
Since the system cannot modify the display attribute of the application itself, in the embodiment of the present application, the mask layer is stacked on the first area, so that after the mask layer is stacked, the overall display effect of the first area is changed, and the adjustment of power consumption required by the first area to output the display content is realized.
The mask layer is also a display layer in essence, and the lightness of the color of the first mask layer needs to be lower than the lightness of the color of the display content of the first area, so that the display brightness of the first area after processing is lower than the display brightness before processing, and the effect of saving power consumption is achieved.
In a specific implementation, the first mask layer may be a completely opaque display layer, such that, in the display area, the change in display color occurs in the first area before and after the first process. Of course, the first mask layer may also have a display layer with a certain transparency, so that the first area occurs before and after the first treatment as an effect of adding a filter. For example, when people are strongly stimulated by sunlight in hot summer sun, the strong stimulation of the sunlight does not have good visual capacity, and the people cannot feel the strong stimulation of the sunlight after wearing sunglasses, so that the visual capacity is improved, but the observed scene has the color tone similar to the color of the sunglasses. Based on the above, in one implementation, the first mask layer is an image layer with a first numerical transparency. As shown in FIG. 3, the first mask layer is added to the first region (the region outlined by the dotted line).
Fig. 4 is a flowchart of another display control method disclosed in an embodiment of the present application, and fig. 4 is also applied to an electronic device having a display area. Referring to fig. 4, in another implementation, a display control method may include:
step 401: an active window in the display area is determined.
Step 402: a first region of the active window is determined that satisfies a first condition.
Step 403: and performing first processing on the first area, so that the power consumption required by the processed first area for outputting the display content is less than the power consumption required by the first area for outputting the display content before processing.
Step 404: and under the condition that other display areas exist outside the active window, performing second processing on the other display areas outside the active window, so that the power consumption required by the processed other display areas for outputting the display content is less than the power consumption required by the other display areas for displaying the content before processing.
The active window has two display states, one is full screen display, and the other is non-full screen display; in the non-full screen display state, there may be other display areas outside the active window. In this embodiment, in addition to performing the first processing on the first area in the active window, the second processing may be performed on other display areas except the active window, so as to further reduce the display power consumption of the display areas.
In practical situations, the user often needs to watch and use the active window, and the user does not need to watch other windows which are already blocked or partially blocked by the active window and the desktop background temporarily, so that the second processing can be uniformly performed on other display areas except the active window, and the power consumption required by the processed other display areas for outputting the display content is less than the power consumption required by the processed other display areas for displaying the content.
Specifically, the performing the second processing on the other display area outside the active window may include: and inserting a second mask layer into the other display areas behind the layer corresponding to the active window, wherein the second mask layer is a layer with a gray value and a second numerical value transparency. The parameters of the second mask layer and the parameters of the first mask layer may be identical, including gray value and transparency; or may be partially the same, such as the same transparency but different colors or the same color but different transparencies; or may be completely different, i.e. both colour and transparency.
In the display control method in this embodiment, the area identification and processing may be performed on the display content inside the operating window displayed on the display screen, and the area where the display output needs to consume a large power consumption is processed into the area where the display output consumes a small power consumption, so that the effect of saving energy is achieved, and the endurance time of the device battery is prolonged. In addition, the second processing can be performed on other display areas except the active window, so that the power consumption required by the other processed display areas for outputting the display content is smaller than the power consumption required by the other processed display areas for displaying the display content, and the power consumption required by the display areas for outputting the display content can be further reduced.
FIG. 5 is a flowchart illustrating a second process performed on other display areas according to an embodiment of the disclosure; as shown in fig. 5, in an implementation, the performing the second processing on the other display area outside the active window may include:
step 501: and determining at least two area objects in other display areas except the active window, wherein the area objects are non-active windows or desktop backgrounds.
Step 502: and for each area object, inserting a mask layer in front of the layer of the area object, wherein mask parameters of the mask layers corresponding to different area objects are different, and the mask parameters comprise mask colors and/or mask transparency.
In view of that the desktop background and the one or more inactive windows may have different viewing requirements for the user, in this embodiment, the masking process may be performed separately for different region objects, that is, a masking layer with different masking parameters is inserted before the corresponding layer of the region object. The mask layers with different mask parameters can meet the distinguishing processing of the region objects with different viewing requirements on one hand, and are convenient for users to identify different region objects on the other hand.
For example, the desktop background may not be what the user wants to see at all times, while the inactive windows in other display areas may have a need for the user to see from time to time, and thus the transparency of the mask layer of the inactive window may be set to be higher than the transparency of the mask layer of the desktop background. As shown in FIG. 6, the transparency of the desktop background is lower than the transparency of the inactive window, making the desktop background appear darker.
In the embodiment, different mask processing is performed on different regional objects in other display regions except the active window, so that the processed different regional objects have different effects, the user can conveniently identify and distinguish, and the design is more humanized.
Fig. 7 is a flowchart illustrating another second process performed on other display areas according to an embodiment of the present disclosure; as shown in fig. 7, in an implementation, the performing the second processing on the other display area outside the active window may include:
step 701: determining inactive windows in other display areas outside the active window.
Step 702: and for the inactive window, inserting a third mask layer before the layer of the inactive window, wherein the coverage of the third mask layer does not include the title bar in the inactive window, or the third mask layer enables the display brightness of the title bar in the inactive window to be higher than that of other areas in the inactive window.
In the implementation, after the masking processing is carried out on the inactive window, the brightness of the title bar of the inactive window is higher than that of other display areas of the inactive window, so that even if the masking processing is carried out, a user can still clearly see the title of the inactive window, the user can conveniently identify the inactive window and carry out corresponding operation on the inactive window, and the use experience of the user is improved.
In other embodiments, after the performing the second processing on the other display area outside the active window, the method may further include: when detecting that the range of a first area meeting a first condition is changed, performing the first processing on the changed first area; or, when it is detected that the active window is switched from the first application window to the second application window, the first area of the switched second application window is identified, and when the first area exists in the second application window, the first processing is performed on the identified first area.
In practical applications, a user may adjust the display position of the active window in the display area or adjust the size of the active window according to the preference or the requirement of the user, for example, a mouse selects and drags a title bar of the active window; or the user needs to watch other windows and click and select other windows to convert the windows into the active window. In the above case, the first area is also changed inevitably, so that the first processing needs to be performed on the changed first area, and the technical effect of continuously saving power is achieved.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present application is not limited by the order of acts or acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
The method is described in detail in the embodiments disclosed in the present application, and the method of the present application can be implemented by various types of apparatuses, so that an apparatus is also disclosed in the present application, and the following detailed description is given of specific embodiments.
Fig. 8 is a schematic structural diagram of a display control device disclosed in an embodiment of the present application, where the display control device shown in fig. 8 is applied to an electronic device having a display area, and referring to fig. 8, the display control device may include:
a window determining module 801, configured to determine an active window in the display area.
A region determining module 802, configured to determine a first region in the active window that meets a first condition.
The area processing module 803 is configured to perform a first process on the first area, so that power consumption required by the processed first area to output display content is less than power consumption required by the first area to display content before the process.
This embodiment display control device can carry out regional discernment and processing to the inside demonstration content of the operation window that shows on the display screen, and the regional processing that will show that output needs to consume great power consumption is the region that shows that output consumes less power consumption to this reaches the effect of energy can be saved, prolongs the time of endurance of equipment battery, promotes user's result of use.
In one implementation, the first region satisfies the following condition: a solid color region having a regular shape and a color belonging to a high-brightness color system.
In one implementation, the region processing module is specifically configured to: and inserting a first mask layer in the first area in front of the layer corresponding to the active window, wherein the lightness of the color of the first mask layer is lower than that of the color of the display content in the first area.
In one implementation, the first mask layer is a layer having a first numerical transparency.
In one implementation, the region processing module is further configured to: and under the condition that other display areas exist outside the active window, performing second processing on the other display areas outside the active window, so that the power consumption required by the processed other display areas for outputting the display content is less than the power consumption required by the other display areas for displaying the content before processing.
In one implementation, the region processing module is specifically configured to: and inserting a second mask layer into the other display areas behind the layer corresponding to the active window, wherein the second mask layer is a layer with a gray value and a second numerical value transparency.
In one implementation, the region processing module is specifically configured to: determining at least two area objects in other display areas except the active window, wherein the area objects are non-active windows or desktop backgrounds; and for each area object, inserting a mask layer in front of the layer of the area object, wherein mask parameters of the mask layers corresponding to different area objects are different, and the mask parameters comprise mask colors and/or mask transparency.
In one implementation, the region processing module is specifically configured to: determining inactive windows in other display areas outside the active window; and for the inactive window, inserting a third mask layer before the layer of the inactive window, wherein the coverage of the third mask layer does not include the title bar in the inactive window, or the third mask layer enables the display brightness of the title bar in the inactive window to be higher than that of other areas in the inactive window.
In one implementation, the region processing module is further operable to: when detecting that the range of a first area meeting a first condition is changed, performing the first processing on the changed first area; or, when it is detected that the active window is switched from the first application window to the second application window, the first area of the switched second application window is identified, and when the first area exists in the second application window, the first processing is performed on the identified first area.
Further, the present application also discloses an electronic device, which includes:
a display;
a processor;
a memory for storing executable instructions of the processor;
wherein the executable instructions comprise: determining an active window in the display area; determining a first region of the active window that satisfies a first condition; and performing first processing on the first area, so that the power consumption required by the processed first area for outputting the display content is less than the power consumption required by the first area for outputting the display content before processing.
The display control device in any of the above embodiments includes a processor and a memory, the window determining module, the area processing module, and the like in the above embodiments are all stored in the memory as program modules, and the processor executes the program modules stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program module from the memory. The kernel can be provided with one or more, and the processing of the return visit data is realized by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present application provides a storage medium on which a program is stored, which when executed by a processor implements the display control method described in the above embodiment.
The embodiment of the application provides a processor, wherein the processor is used for running a program, and the display control method in the embodiment is executed when the program runs.
Further, the present embodiment provides an electronic device, which includes a processor and a memory. Wherein the memory is used for storing executable instructions of the processor, and the processor is configured to execute the display control method described in the above embodiments via executing the executable instructions.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A display control method is applied to an electronic device comprising a display area, and comprises the following steps:
determining an active window in the display area;
determining a first region of the active window that satisfies a first condition;
and performing first processing on the first area, so that the power consumption required by the processed first area for outputting the display content is less than the power consumption required by the first area for outputting the display content before processing.
2. The display control method according to claim 1, the first region satisfying the following condition: a solid color region having a regular shape and a color belonging to a high-brightness color system.
3. The display control method according to claim 1, wherein the performing the first processing on the first area includes:
and inserting a first mask layer in the first area in front of the layer corresponding to the active window, wherein the lightness of the color of the first mask layer is lower than that of the color of the display content in the first area.
4. The display control method of claim 3, wherein the first mask layer is a layer with a first numerical transparency.
5. The display control method according to claim 1, further comprising:
and under the condition that other display areas exist outside the active window, performing second processing on the other display areas outside the active window, so that the power consumption required by the processed other display areas for outputting the display content is less than the power consumption required by the other display areas for displaying the content before processing.
6. The display control method according to claim 5, wherein the second processing of the other display area outside the active window includes:
and inserting a second mask layer into the other display areas behind the layer corresponding to the active window, wherein the second mask layer is a layer with a gray value and a second numerical value transparency.
7. The display control method according to claim 5, wherein the second processing of the other display area outside the active window includes:
determining at least two area objects in other display areas except the active window, wherein the area objects are non-active windows or desktop backgrounds;
and for each area object, inserting a mask layer in front of the layer of the area object, wherein mask parameters of the mask layers corresponding to different area objects are different, and the mask parameters comprise mask colors and/or mask transparency.
8. The display control method according to claim 5, wherein the second processing of the other display area outside the active window includes:
determining inactive windows in other display areas outside the active window;
and for the inactive window, inserting a third mask layer before the layer of the inactive window, wherein the coverage of the third mask layer does not include the title bar in the inactive window, or the third mask layer enables the display brightness of the title bar in the inactive window to be higher than that of other areas in the inactive window.
9. The display control method according to claim 1, further comprising, after the second processing on the other display area outside the active window:
when detecting that the range of a first area meeting a first condition is changed, performing the first processing on the changed first area;
or the like, or, alternatively,
when the situation that the active window is switched from the first application window to the second application window is detected, the first area of the switched second application window is identified, and when the first area exists in the second application window, the first processing is carried out on the identified first area.
10. A display control device applied to an electronic device including a display area, comprising:
a window determination module for determining an active window in the display area;
the region determining module is used for determining a first region which meets a first condition in the active window;
and the area processing module is used for carrying out first processing on the first area, so that the power consumption required by the processed first area for outputting the display content is less than the power consumption required by the first area for displaying the content before processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110325372.1A CN113031747B (en) | 2021-03-26 | 2021-03-26 | Display control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110325372.1A CN113031747B (en) | 2021-03-26 | 2021-03-26 | Display control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113031747A true CN113031747A (en) | 2021-06-25 |
CN113031747B CN113031747B (en) | 2024-04-23 |
Family
ID=76474115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110325372.1A Active CN113031747B (en) | 2021-03-26 | 2021-03-26 | Display control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113031747B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030146897A1 (en) * | 2002-02-07 | 2003-08-07 | Hunter Robert J. | Method and apparatus to reduce power consumption of a computer system display screen |
US20100328363A1 (en) * | 2009-06-30 | 2010-12-30 | Kabushiki Kaisha Toshiba | Information processing apparatus and method for controlling luminance |
JP2013238774A (en) * | 2012-05-16 | 2013-11-28 | Nec Access Technica Ltd | Light source control device, light source control method and light source control program |
CN105144021A (en) * | 2012-09-28 | 2015-12-09 | 英特尔公司 | Content based dynamic control methods and systems for display brightness |
CN105487641A (en) * | 2015-12-25 | 2016-04-13 | 百度在线网络技术(北京)有限公司 | Control method and device of terminal devices |
-
2021
- 2021-03-26 CN CN202110325372.1A patent/CN113031747B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030146897A1 (en) * | 2002-02-07 | 2003-08-07 | Hunter Robert J. | Method and apparatus to reduce power consumption of a computer system display screen |
US20100328363A1 (en) * | 2009-06-30 | 2010-12-30 | Kabushiki Kaisha Toshiba | Information processing apparatus and method for controlling luminance |
JP2013238774A (en) * | 2012-05-16 | 2013-11-28 | Nec Access Technica Ltd | Light source control device, light source control method and light source control program |
CN105144021A (en) * | 2012-09-28 | 2015-12-09 | 英特尔公司 | Content based dynamic control methods and systems for display brightness |
CN105487641A (en) * | 2015-12-25 | 2016-04-13 | 百度在线网络技术(北京)有限公司 | Control method and device of terminal devices |
Also Published As
Publication number | Publication date |
---|---|
CN113031747B (en) | 2024-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111610847B (en) | Page display method and device of third-party application program and electronic equipment | |
US10204593B2 (en) | Display apparatus and method for controlling the same | |
US9542907B2 (en) | Content adjustment in graphical user interface based on background content | |
US10317977B2 (en) | Displaying area adjustment | |
Tan et al. | FOCUS: a usable & effective approach to OLED display power management | |
CN106098019B (en) | A kind of method and electronic equipment adjusting display parameters | |
CN102163216B (en) | Picture display method and device thereof | |
KR20150049045A (en) | Method and apparautus for controlling the brightness of the screen in portable device | |
CN106339086B (en) | Screen font adjusting method and device and electronic equipment | |
WO2022001492A1 (en) | Interface processing method and apparatus, electronic device, and computer-readable storage medium | |
CN111867447B (en) | Electronic device for monitoring eye health of user and operation method thereof | |
CN105204734A (en) | Brightness control method and system | |
JP2011154689A (en) | Power-saving and context-showing display information converting system and corresponding apparatus | |
WO2022247744A1 (en) | Icon display method and apparatus, and electronic device | |
CN112947824A (en) | Display parameter adjusting method and device, electronic equipment and medium | |
CN113010126A (en) | Display control method, display control device, electronic device, and medium | |
Lin et al. | CURA: A framework for quality-retaining power saving on mobile OLED displays | |
CN113130607A (en) | Display device, electronic apparatus, control method, device, and readable storage medium | |
CN113282212A (en) | Interface display method, interface display device and electronic equipment | |
CN113920912B (en) | Display attribute adjusting method and related equipment | |
Lin et al. | ShiftMask: Dynamic OLED power shifting based on visual acuity for interactive mobile applications | |
CN114242023A (en) | Display screen brightness adjusting method, display screen brightness adjusting device and electronic equipment | |
US11615513B2 (en) | Control display method and electronic device | |
CN113031747A (en) | Display control method and device | |
CN110955922B (en) | Display method and display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |