CN118259854A - Display screen control method and device, electronic equipment and readable storage medium - Google Patents
Display screen control method and device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN118259854A CN118259854A CN202211690429.9A CN202211690429A CN118259854A CN 118259854 A CN118259854 A CN 118259854A CN 202211690429 A CN202211690429 A CN 202211690429A CN 118259854 A CN118259854 A CN 118259854A
- Authority
- CN
- China
- Prior art keywords
- page
- display page
- preset
- foreground
- display
- 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 40
- 230000004044 response Effects 0.000 claims description 28
- 239000003086 colorant Substances 0.000 claims description 15
- 230000003068 static effect Effects 0.000 claims description 12
- 239000011159 matrix material Substances 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 2
- 238000004891 communication Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000005265 energy consumption Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The disclosure provides a display screen control method, a device, an electronic device and a readable storage medium, wherein the method responds to switching of display pages, determines whether a display page currently in a foreground is in a preset page white list, and reduces at least one of a color parameter RGB value of the display page, brightness of the display page and saturation of the display page under the condition that the display page currently in the foreground is in the preset page white list so as to reduce power consumption of all areas in the current display page to terminal equipment.
Description
Technical Field
The disclosure relates to the technical field of display screen control, and in particular relates to a display screen control method, a display screen control device, electronic equipment and a readable storage medium.
Background
Currently, a terminal device generally adopts an OLED screen to display a picture, wherein each pixel of the display picture is independently powered by a color parameter RGB bulb of the OLED screen, and the power consumption is related to a specific color and a brightness value of the display picture, and the requirement of the display of colors such as pure white for powering the RGB bulb is high, so that the power consumption of the terminal device is excessive.
Disclosure of Invention
Accordingly, the present disclosure provides a display control method, apparatus, electronic device and readable storage medium, which solve at least the problems in the related art.
According to a first aspect of an embodiment of the present disclosure, there is provided a display screen control method, applied to a terminal device, the method including:
responding to the switching of the display pages, and determining whether the display page currently in the foreground is in a preset page white list or not;
And under the condition that the display page currently in the foreground is in a preset page white list, reducing at least one of color parameters RGB value of the display page, brightness of the display page and saturation of the display page.
In combination with any embodiment of the present disclosure, the determining, in response to the switching of the display page, whether the display page currently in the foreground is in a preset page white list includes:
Responding to the display page switching, and determining whether the display page currently in the foreground is in any one of a plurality of preset page whitelists;
and in the case that the currently foreground display page is in the page white list, reducing at least one of a color parameter RGB value of the display page, brightness of the display page and saturation of the display page, including:
And under the condition that the display page currently in the foreground is in any one of a plurality of preset page whitelists, reducing at least one of color parameter RGB values of the display page, brightness of the display page and saturation of the display page.
In combination with any one embodiment of the present disclosure, when the currently foreground display page is in any one of a preset plurality of page whitelists, reducing at least one of a color parameter RGB value of the display page, a brightness of the display page, and a saturation of the display page according to an adjustment mode corresponding to the page whitelist, includes:
reducing color parameter RGB values of preset colors in a display page at the foreground under the condition that the display page at the current stage is in a preset first page white list;
Reducing the color parameter RGB value of the display page under the condition that the display page currently in the foreground is in a preset second page white list;
reducing the brightness value of a display page currently in the foreground under the condition that the display page is in a preset third page white list;
And reducing the saturation of the display page under the condition that the display page currently in the foreground is in a preset third page white list.
In combination with any embodiment of the present disclosure, the determining, in response to the switching of the display page, whether the display page currently in the foreground is in a preset page white list includes:
responding to the switching of the display page, and determining whether the application program currently in the foreground is in a preset application white list;
And determining whether the currently foreground display page is in the preset page white list or not in response to the fact that the currently foreground application program is not in the preset application white list.
In connection with any of the embodiments of the present disclosure, further comprising:
And responding to the fact that the application program currently in the foreground is in a preset application white list, and confirming that the display page currently in the foreground 5 is in the preset page white list.
In combination with any one of the embodiments of the present disclosure, the reducing the color parameter RGB value of the preset color in the display page when the display page currently in the foreground is in the preset first page white list includes:
0 responding to the display page in the preset first page white list being in the foreground position through the static direction
Sending a color region to be adjusted to a drawable object drawable in a current display page;
and controlling drawable in the display page to redraw so as to reduce the RGB value of the color parameter of the preset color in the display page.
5 In combination with any one of the embodiments of the present disclosure, the controlling drawable redraws in the display page
And (3) reducing the RGB value of the color parameter of the preset color in the display page, comprising the following steps:
and in response to the fact that the current drawable is in a non-bitmap form, redrawing color parameters of the preset color in the current display page so as to reduce RGB values of the color parameters of the preset color in the display page.
0 In combination with any one of the embodiments of the present disclosure, the controlling drawable redraws in the display page
And (3) reducing the RGB value of the color parameter of the preset color in the display page, comprising the following steps:
And in response to the fact that the current drawable is in a bitmap form, reducing the RGB values of color parameters of preset colors in the bitmap through a preset color filter matrix.
5 According to a second aspect of the embodiments of the present disclosure, there is provided a display screen control apparatus applied to a terminal
An end device, the apparatus comprising:
the page judging module is used for: responding to the switching of the display pages, and determining whether the display page currently in the foreground is in a preset page white list or not;
The page adjusting module is used for: and under the condition that the display page currently in the foreground is in a preset page white list, reducing at least one of color parameters RGB value of the display page, brightness of the display page and saturation of the display page.
In combination with any one of the embodiments of the present disclosure, when the page judging module determines, in response to the switching of the display page, whether the display page currently in the foreground is in a preset page white list, the page judging module is specifically configured to:
Responding to the display page switching, and determining whether the display page currently in the foreground is in any one of a plurality of preset page whitelists;
The page adjustment module is specifically configured to, when the currently foreground display page is in the page whitelist, reduce at least one of a color parameter RGB value of the display page, a brightness of the display page, and a saturation of the display page:
And under the condition that the display page currently in the foreground is in any one of a plurality of preset page whitelists, reducing at least one of color parameter RGB values of the display page, brightness of the display page and saturation of the display page.
In combination with any one of the embodiments of the present disclosure, when the page adjustment module reduces at least one of a color parameter RGB value of the display page, a brightness of the display page, and a saturation of the display page according to an adjustment manner corresponding to the page whitelist, the page adjustment module is specifically configured to:
reducing color parameter RGB values of preset colors in a display page at the foreground under the condition that the display page at the current stage is in a preset first page white list;
Reducing the color parameter RGB value of the display page under the condition that the display page currently in the foreground is in a preset second page white list;
reducing the brightness value of a display page currently in the foreground under the condition that the display page is in a preset third page white list;
And reducing the saturation of the display page under the condition that the display page currently in the foreground is in a preset third page white list.
In combination with any one of the embodiments of the present disclosure, when determining whether a display page currently in the foreground is in a preset page white list in response to switching of the display pages, the page judging module includes a first judging sub-module, configured to:
responding to the switching of the display page, and determining whether the application program currently in the foreground is in a preset application white list;
And determining whether the currently foreground display page is in the preset page white list or not in response to the fact that the currently foreground application program is not in the preset application white list.
In combination with any one of the embodiments of the present disclosure, the apparatus further includes a second judging submodule configured to:
and responding to the fact that the application program currently in the foreground is in a preset application white list, and confirming that the display page currently in the foreground is in the preset page white list.
In combination with any one of the embodiments of the present disclosure, the page adjustment module reduces a color parameter RGB value of a preset color in a display page when the display page currently in the foreground is in a preset first page white list, including:
Responding to the display page in the preset first page white list at the foreground position, and transmitting a color region to be adjusted in the current display page to a drawable object drawable through a static device;
and controlling drawable in the display page to redraw so as to reduce the RGB value of the color parameter of the preset color in the display page.
In combination with any one of the embodiments of the present disclosure, when the control unit controls drawable of the display page to redraw to reduce the color parameter RGB values of the preset color in the display page, the control unit is specifically configured to:
and in response to the fact that the current drawable is in a non-bitmap form, redrawing color parameters of the preset color in the current display page so as to reduce RGB values of the color parameters of the preset color in the display page.
In combination with any one of the embodiments of the present disclosure, when the control unit controls drawable of the display page to redraw to reduce the color parameter RGB values of the preset color in the display page, the control unit is specifically configured to:
And in response to the fact that the current drawable is in a bitmap form, reducing the RGB values of color parameters of preset colors in the bitmap through a preset color filter matrix.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
a memory for storing the processor-executable instructions;
A processor configured to execute executable instructions in the memory to implement the steps of the method of any of the embodiments of the first aspect described above.
According to a fourth aspect of the disclosed embodiments, there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method according to any of the embodiments of the first aspect described above.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
At least one of color parameter RGB values of the display page, brightness of the display page and saturation of the display page is reduced under the condition that the display page in a preset page white list is in the foreground, so that power consumption of all areas in the current display page to terminal equipment is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flowchart of a display control method according to an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a display control apparatus according to an exemplary embodiment of the present disclosure;
fig. 3 is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" depending on the context.
Currently, a terminal device generally adopts an OLED screen to display a picture, wherein each pixel of the display picture is independently powered by a color parameter RGB bulb of the OLED screen, and the power consumption is related to a specific color and a brightness value of the display picture, and the requirement of the display of colors such as pure white for powering the RGB bulb is high, so that the power consumption of the terminal device is excessive.
Accordingly, the present disclosure provides a display screen control method to at least solve the problems in the related art.
Fig. 1 illustrates a flowchart of a display control method according to an exemplary embodiment of the present disclosure.
In step S101, in response to the display page switching, it is determined whether the display page currently in the foreground is in a preset page white list.
In the terminal device described in the present disclosure, a part of pages are listed in a preset page white list in advance, and for example, page tags may be stored in the page white list of the cloud in advance, and in the case that the terminal device is started, the page white list is stored in the list of the page manager ACTIVITY MANAGER SERVICE.
For example, display pages with high power consumption may be listed in the page whitelist, e.g., display pages with too high a pure white duty cycle, pages with too high saturation, etc.
Under the condition that the display pages of the terminal equipment are switched, whether the display pages of the current terminal equipment are in a preset white list or not can be determined in advance, so that whether the current display pages need to be processed or not is judged, and the electric energy consumption caused by displaying the current pages is reduced.
Preferably, part of the application program sequence can be put into a preset application white list in advance, wherein each display page of the application program in the preset application white list is in the preset page white list.
Under the condition that the display pages are switched, in response to the condition that the display page currently in the foreground belongs to an application program outside the application white list, whether the display page currently in the foreground is in the preset page white list or not needs to be further determined.
Under the condition that the current display page in the foreground belongs to an application program in an application white list, the current display page can be directly determined to be in the preset page white list, traversing judgment on the current page is not needed, and the operation efficiency of the terminal equipment is improved.
In step S102, in the case that the display page currently in the foreground is in the preset page white list, at least one of the color parameters RGB value of the display page, the brightness of the display page, and the saturation of the display page is reduced.
The display page currently in the foreground is in a preset page white list, the fact that the current display page has larger power consumption on a display picture of the terminal equipment is represented, the display effect of the display page can be adjusted by reducing at least one of the color parameter RGB value of the display page, the brightness of the display page and the saturation of the display page, and the power consumption of the display page is reduced.
Preferably, a plurality of different page whitelists may be set according to different page adjustment strategies, in response to the display page switching, it may be determined whether the display page currently in the foreground is in any one of the preset page whitelists, and in the case that the display page currently in the foreground is in any one of the preset page whitelists, at least one of a color parameter RGB value of the display page, brightness of the display page, and saturation of the display page may be reduced according to the page adjustment strategies corresponding to the different page whitelists.
In one example, the color parameter RGB values of the preset color in the display page may be reduced if the display page currently in the foreground is in the preset first page white list. For example, for a pure white area in a display page, the color parameter RGB value of the white area can be reduced by reducing the color parameter RGB value thereof to reduce the power consumption of displaying the area for a terminal device, and for example, the hexadecimal color code of all pure white in the display page currently in the foreground can be converted from #ffffff to # FCFCFC or # FAFAFA, and the color parameter RGB value of the white area can be reduced within the user color acceptance range.
In another example, when the currently-in-foreground display page is in the preset second page white list, the color parameter RGB values of all colors of the display page can be reduced, that is, the power consumption of each color area in the currently-displayed page to the terminal device is reduced as a whole.
In another example, in the case that the currently foreground display page is on the preset third page white list, the brightness value of the display page may be reduced, so as to reduce the power consumption of all the areas in the currently displayed page to the terminal device.
According to the scheme, under the condition that the display page in the preset page white list is in the foreground, at least one of the color parameter RGB value of the display page, the brightness of the display page and the saturation of the display page is reduced, so that the power consumption of all areas in the current display page to terminal equipment is reduced.
In an optional embodiment, the reducing the color parameter RGB value of the preset color in the display page when the display page currently in the foreground is in the preset first page white list specifically includes:
And responding to the display page in the preset first page white list at the foreground position, sending a color area to be adjusted in the current display page to a drawable object drawable through a static method, and controlling drawable in the display page to redraw so as to reduce the RGB value of the color parameter of the preset color in the display page.
Specifically, the specific adjustment value of the color to be adjusted in the display page may be sent to the renderable object drawable by using the boolean static method should Decline Color, and since the specific adjustment value of the color to be adjusted is a static value, all the renderable objects drawable in the current page use the static value to perform the picture processing.
According to the scheme, the color region to be adjusted in the current display page is sent to the drawable object through the static method, and drawable in the display page is controlled to be drawn again, so that the color parameter RGB value of the preset color in the display page is reduced, and compared with the drawing performed by using the value transfer control drawable of the UI system, the calculation efficiency of the terminal equipment is improved, and the electric energy consumption of the terminal equipment is further reduced.
In an alternative embodiment, in the case that the current drawable is in the non-bitmap form, the controlling the redrawing of drawable in the display page to reduce the color parameter RGB values of the preset color in the display page includes:
redrawing color parameters of preset colors in a current display page to reduce RGB values of the color parameters of the preset colors in the display page.
Specifically, in the case where the current drawable is a non-bitmap form (bitmap) such as a color renderable object (color drawable) or a gradient color renderable object (gradient drawble), based on the getpaint and setpaint methods, color parameters of a preset color in the current display page are redrawn, for example, a hexadecimal color code of all pure white colors in the current foreground display page is converted from #ffffff to # FCFCFC or # FAFAFA.
In the case that the current drawable is in bitmap form, the controlling the redrawing of drawable in the display page to reduce the color parameter RGB values of the preset color in the display page includes:
And reducing the RGB value of the color parameter of the preset color in the bitmap through a preset color filter matrix.
Specifically, for a non-bitmap-form renderable object such as a 9-patch, the product of all drawable of the currently displayed pages can be performed through a predefined color filter matrix to adjust and reduce the color parameter RGB values of the preset color in the displayed pages, without traversing the bitmap pixels of drawable.
And then, the image information in the current display page can be sent to the bottom layer for drawing so as to be displayed in the screen of the terminal equipment.
According to the scheme, the static setting of the drawable object is directly carried out to reduce the color parameters of the preset color in the display page, the image display module surface flinger is not required to be used for drawing the display page, the calculation efficiency of the terminal equipment is improved, and the electric energy consumption of the terminal equipment is further reduced.
For the foregoing method embodiments, for simplicity of explanation, the methodologies are shown as a series of acts, but one of ordinary skill in the art will appreciate that the present disclosure is not limited by the order of acts described, as some steps may occur in other orders or concurrently in accordance with the disclosure.
Further, those skilled in the art will also appreciate that the embodiments described in the specification are all alternative embodiments, and that the acts and modules referred to are not necessarily required by the present disclosure.
Corresponding to the embodiment of the application function implementation method, the disclosure also provides an embodiment of the application function implementation device and a corresponding terminal.
A block diagram of a display screen control apparatus according to an exemplary embodiment of the present disclosure is shown in fig. 2, and the apparatus is applied to a terminal device, and includes:
The page judging module 201 is configured to: responding to the switching of the display pages, and determining whether the display page currently in the foreground is in a preset page white list or not;
Page adjustment module 202, configured to: and under the condition that the display page currently in the foreground is in a preset page white list, reducing at least one of color parameters RGB value of the display page, brightness of the display page and saturation of the display page.
In combination with any one of the embodiments of the present disclosure, when the page judging module determines, in response to the switching of the display page, whether the display page currently in the foreground is in a preset page white list, the page judging module is specifically configured to:
Responding to the display page switching, and determining whether the display page currently in the foreground is in any one of a plurality of preset page whitelists;
The page adjustment module is specifically configured to, when the currently foreground display page is in the page whitelist, reduce at least one of a color parameter RGB value of the display page, a brightness of the display page, and a saturation of the display page:
And under the condition that the display page currently in the foreground is in any one of a plurality of preset page whitelists, reducing at least one of color parameter RGB values of the display page, brightness of the display page and saturation of the display page.
In combination with any one of the embodiments of the present disclosure, when the page adjustment module reduces at least one of a color parameter RGB value of the display page, a brightness of the display page, and a saturation of the display page according to an adjustment manner corresponding to the page whitelist, the page adjustment module is specifically configured to:
reducing color parameter RGB values of preset colors in a display page at the foreground under the condition that the display page at the current stage is in a preset first page white list;
Reducing the color parameter RGB value of the display page under the condition that the display page currently in the foreground is in a preset second page white list;
reducing the brightness value of a display page currently in the foreground under the condition that the display page is in a preset third page white list;
And reducing the saturation of the display page under the condition that the display page currently in the foreground is in a preset third page white list.
In combination with any one of the embodiments of the present disclosure, when determining whether a display page currently in the foreground is in a preset page white list in response to switching of the display pages, the page judging module includes a first judging sub-module, configured to:
responding to the switching of the display page, and determining whether the application program currently in the foreground is in a preset application white list;
And determining whether the currently foreground display page is in the preset page white list or not in response to the fact that the currently foreground application program is not in the preset application white list.
In combination with any one of the embodiments of the present disclosure, the apparatus further includes a second judging submodule configured to:
and responding to the fact that the application program currently in the foreground is in a preset application white list, and confirming that the display page currently in the foreground is in the preset page white list.
In combination with any one of the embodiments of the present disclosure, the page adjustment module reduces a color parameter RGB value of a preset color in a display page when the display page currently in the foreground is in a preset first page white list, including:
Responding to the display page in the preset first page white list at the foreground position, and transmitting a color region to be adjusted in the current display page to a drawable object drawable through a static device;
and controlling drawable in the display page to redraw so as to reduce the RGB value of the color parameter of the preset color in the display page.
In combination with any one of the embodiments of the present disclosure, when the control unit controls drawable of the display page to redraw to reduce the color parameter RGB values of the preset color in the display page, the control unit is specifically configured to:
and in response to the fact that the current drawable is in a non-bitmap form, redrawing color parameters of the preset color in the current display page so as to reduce RGB values of the color parameters of the preset color in the display page.
In combination with any one of the embodiments of the present disclosure, when the control unit controls drawable of the display page to redraw to reduce the color parameter RGB values of the preset color in the display page, the control unit is specifically configured to:
And in response to the fact that the current drawable is in a bitmap form, reducing the RGB values of color parameters of preset colors in the bitmap through a preset color filter matrix.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the elements described above as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the objectives of the disclosed solution. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
Fig. 3 illustrates a block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Referring to fig. 3, a block diagram of an electronic device is shown. For example, apparatus 300 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 3, apparatus 300 may include one or more of the following components: a processing component 302, a memory 304, a power supply component 306, a multimedia component 308, an audio component 310, an input/output (I/O) interface 312, a sensor component 314, and a communication component 316.
The processing component 302 generally controls overall operation of the apparatus 300, such as operations associated with display, telephone call, data 5 data communication, camera operations, and recording operations. The processing component 302 may include one or more processors 320 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 302 can include one or more modules that facilitate interactions between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate interaction between the multimedia component 308 and the processing component 302.
The 0 memory 304 is configured to store various types of data to support operations at the device 300. Examples of such data include instructions for any application or method operating on the device 300, contact data, phonebook data, messages, pictures, videos, and the like. Memory 304 may be implemented by any type of volatile or non-volatile memory device, or combination thereof, such as Static Random Access Memory (SRAM),
Electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), 5 programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or flash memory
An optical disc.
The power component 306 provides power to the various components of the device 300. The power components 306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 300.
0 Multimedia component 308 includes a screen between the device 300 and the user that provides an output interface
A curtain. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel.
The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or 5-sliding operation. In some embodiments, the multimedia component 308 comprises one
Front camera and/or rear camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the apparatus 300 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 310 is configured to output and/or input audio signals. For example, the audio component 310 includes a Microphone (MIC) configured to receive external audio signals when the device 300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 304 or transmitted via the communication component 316. In some embodiments, audio component 310 includes a speaker for outputting audio signals.
The I/O interface 312 provides an interface between the processing component 302 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 314 includes one or more sensors for providing status assessment of various aspects of the apparatus 300. For example, the sensor assembly 314 may detect the on/off state of the device 300, the relative positioning of the components, such as the display and keypad of the device 300, the sensor assembly 314 may detect a change in position of the device 300 or a component of the device 300, the presence or absence of user contact with the device 300, the orientation or acceleration/deceleration of the device 300, and a change in temperature of the device 300. The sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 314 may include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 316 is configured to facilitate communication between the apparatus 300 and other devices, either wired or wireless. The device 300 may access a wireless network based on a communication standard, such as WiFi,2G or 3G,4G or 5G, or a combination thereof. In one exemplary embodiment, the communication part 316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 316 includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the power supply methods of electronic devices described above.
In an exemplary embodiment, the present disclosure provides a non-transitory computer-readable storage medium, such as memory 304, comprising instructions executable by processor 320 of apparatus 300 to perform the method of powering an electronic device described above. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (16)
1. A display screen control method, characterized by being applied to a terminal device, the method comprising:
responding to the switching of the display pages, and determining whether the display page currently in the foreground is in a preset page white list or not;
And under the condition that the display page currently in the foreground is in a preset page white list, reducing at least one of color parameters RGB value of the display page, brightness of the display page and saturation of the display page.
2. The method of claim 1, wherein determining whether the currently foreground display page is in a preset page whitelist in response to the display page switching comprises:
Responding to the display page switching, and determining whether the display page currently in the foreground is in any one of a plurality of preset page whitelists;
and in the case that the currently foreground display page is in the page white list, reducing at least one of a color parameter RGB value of the display page, brightness of the display page and saturation of the display page, including:
And under the condition that the display page currently in the foreground is in any one of a plurality of preset page whitelists, reducing at least one of color parameter RGB values of the display page, brightness of the display page and saturation of the display page.
3. The method according to claim 1, wherein the reducing at least one of the color parameter RGB value of the display page, the brightness of the display page, and the saturation of the display page according to the adjustment mode corresponding to the page whitelist when the display page currently in the foreground is in any one of the preset plurality of page whitelists includes:
reducing color parameter RGB values of preset colors in a display page at the foreground under the condition that the display page at the current stage is in a preset first page white list;
Reducing the color parameter RGB value of the display page under the condition that the display page currently in the foreground is in a preset second page white list;
reducing the brightness value of a display page currently in the foreground under the condition that the display page is in a preset third page white list;
And reducing the saturation of the display page under the condition that the display page currently in the foreground is in a preset third page white list.
4. The method of claim 1, wherein determining whether the currently foreground display page is in a preset page whitelist in response to the display page switching comprises:
responding to the switching of the display page, and determining whether the application program currently in the foreground is in a preset application white list;
And determining whether the currently foreground display page is in the preset page white list or not in response to the fact that the currently foreground application program is not in the preset application white list.
5. The method according to claim 4, wherein the method further comprises:
and responding to the fact that the application program currently in the foreground is in a preset application white list, and confirming that the display page currently in the foreground is in the preset page white list.
6. A method according to claim 3, wherein said reducing the color parameter RGB values of the preset color in the display page in case the currently foreground display page is on the preset first page white list comprises:
Responding to the display page in the preset first page white list at the foreground position, and transmitting a color region to be adjusted in the current display page to a drawable object drawable through a static party;
and controlling drawable in the display page to redraw so as to reduce the RGB value of the color parameter of the preset color in the display page.
7. The method of claim 6, wherein controlling drawable of the redrawing in the displayed page to reduce the color parameter RGB values of the preset color in the displayed page comprises:
and in response to the fact that the current drawable is in a non-bitmap form, redrawing color parameters of the preset color in the current display page so as to reduce RGB values of the color parameters of the preset color in the display page.
8. The method of claim 6, wherein controlling drawable of the redrawing in the displayed page to reduce the color parameter RGB values of the preset color in the displayed page comprises:
And in response to the fact that the current drawable is in a bitmap form, reducing the RGB values of color parameters of preset colors in the bitmap through a preset color filter matrix.
9. A display screen control apparatus, characterized by being applied to a terminal device, comprising:
the page judging module is used for: responding to the switching of the display pages, and determining whether the display page currently in the foreground is in a preset page white list or not;
The page adjusting module is used for: and under the condition that the display page currently in the foreground is in a preset page white list, reducing at least one of color parameters RGB value of the display page, brightness of the display page and saturation of the display page.
10. The apparatus of claim 9, wherein the page judging module is configured to, in response to the display page switching, determine whether a display page currently in the foreground is in a preset page white list:
Responding to the display page switching, and determining whether the display page currently in the foreground is in any one of a plurality of preset page whitelists;
The page adjustment module is specifically configured to, when the currently foreground display page is in the page whitelist, reduce at least one of a color parameter RGB value of the display page, a brightness of the display page, and a saturation of the display page:
And under the condition that the display page currently in the foreground is in any one of a plurality of preset page whitelists, reducing at least one of color parameter RGB values of the display page, brightness of the display page and saturation of the display page.
11. The apparatus of claim 9, wherein the page adjustment module is specifically configured to, when reducing at least one of the color parameter RGB value of the display page, the brightness of the display page, and the saturation of the display page according to the adjustment manner corresponding to the page whitelist:
reducing color parameter RGB values of preset colors in a display page at the foreground under the condition that the display page at the current stage is in a preset first page white list;
Reducing the color parameter RGB value of the display page under the condition that the display page currently in the foreground is in a preset second page white list;
reducing the brightness value of a display page currently in the foreground under the condition that the display page is in a preset third page white list;
And reducing the saturation of the display page under the condition that the display page currently in the foreground is in a preset third page white list.
12. The apparatus of claim 9, wherein the page determination module, when determining whether a currently foreground display page is in a preset page whitelist in response to a display page switching, comprises a first determination submodule configured to:
responding to the switching of the display page, and determining whether the application program currently in the foreground is in a preset application white list;
And determining whether the currently foreground display page is in the preset page white list or not in response to the fact that the currently foreground application program is not in the preset application white list.
13. The apparatus of claim 11, wherein the page adjustment module reduces color parameter RGB values of a preset color in a display page currently in a foreground if the display page is in a preset first page whitelist, comprising:
Responding to the display page in the preset first page white list at the foreground position, and transmitting a color region to be adjusted in the current display page to a drawable object drawable through a static device;
and controlling drawable in the display page to redraw so as to reduce the RGB value of the color parameter of the preset color in the display page.
14. The apparatus of claim 13, wherein when controlling drawable of the display page to redraw to reduce the color parameter RGB values of the preset color in the display page, the method is specifically used for:
and in response to the fact that the current drawable is in a non-bitmap form, redrawing color parameters of the preset color in the current display page so as to reduce RGB values of the color parameters of the preset color in the display page.
15. An electronic device, the electronic device comprising:
A memory for storing processor-executable instructions;
A processor configured to execute executable instructions in the memory to implement the steps of the method of any one of claims 1 to 8.
16. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method of any of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211690429.9A CN118259854A (en) | 2022-12-27 | 2022-12-27 | Display screen control method and device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211690429.9A CN118259854A (en) | 2022-12-27 | 2022-12-27 | Display screen control method and device, electronic equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118259854A true CN118259854A (en) | 2024-06-28 |
Family
ID=91606303
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211690429.9A Pending CN118259854A (en) | 2022-12-27 | 2022-12-27 | Display screen control method and device, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118259854A (en) |
-
2022
- 2022-12-27 CN CN202211690429.9A patent/CN118259854A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107038037B (en) | Display mode switching method and device | |
EP3040974B1 (en) | Backlight controlling method and device | |
US20180286097A1 (en) | Method and camera device for processing image | |
CN110796988B (en) | Backlight adjusting method and device | |
CN106710540B (en) | Liquid crystal display method and device | |
CN104850432B (en) | Adjust the method and device of color | |
EP3173923A1 (en) | Method and device for image display | |
CN106710539B (en) | Liquid crystal display method and device | |
CN114363448B (en) | Screen widget brightness control method and device, terminal and storage medium | |
CN112331158B (en) | Terminal display adjusting method, device, equipment and storage medium | |
CN106935207B (en) | Brightness control method and device | |
CN108874482B (en) | Image processing method and device | |
CN113257177B (en) | Brightness control method and device and electronic equipment | |
CN111383608A (en) | Display control method and apparatus, electronic device, and computer-readable storage medium | |
CN118259854A (en) | Display screen control method and device, electronic equipment and readable storage medium | |
CN111383568B (en) | Display control method and device, electronic equipment and computer readable storage medium | |
CN111383583B (en) | Display control method and apparatus, electronic device, and computer-readable storage medium | |
CN108538261B (en) | Display control method and device and display equipment | |
CN106773753B (en) | Equipment control method and device | |
CN112527160A (en) | Method and device for displaying icons on information screen, processor and display equipment | |
CN111381407A (en) | Display panel, display device, scanning method and device | |
CN113296644B (en) | Display control method and device, electronic equipment and computer readable storage medium | |
CN112987906B (en) | Method and device for reducing display power consumption | |
CN114666439B (en) | Method, device and medium for adjusting dark color mode display state | |
CN110876013B (en) | Method and device for determining image resolution, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination |