[go: up one dir, main page]

CN119446062A - Screen dimming method and device and electronic equipment - Google Patents

Screen dimming method and device and electronic equipment Download PDF

Info

Publication number
CN119446062A
CN119446062A CN202411905587.0A CN202411905587A CN119446062A CN 119446062 A CN119446062 A CN 119446062A CN 202411905587 A CN202411905587 A CN 202411905587A CN 119446062 A CN119446062 A CN 119446062A
Authority
CN
China
Prior art keywords
screen
area
pwm frequency
information
display screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202411905587.0A
Other languages
Chinese (zh)
Inventor
庄文龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202411905587.0A priority Critical patent/CN119446062A/en
Publication of CN119446062A publication Critical patent/CN119446062A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The application discloses a screen dimming method and device and electronic equipment, and belongs to the technical field of electronics. The method comprises the steps of determining a first screen area of a display screen based on reference information, wherein the reference information comprises at least one of display information of the display screen and sight focusing information of a user, adjusting PWM frequency of a to-be-adjusted area of the first screen area from a first PWM frequency to a second PWM frequency, the second PWM frequency is smaller than the first PWM frequency, the to-be-adjusted area is at least part of the screen area of the first screen area, and adjusting voltage of a light-emitting circuit of the to-be-adjusted area based on the second PWM frequency.

Description

Screen dimming method and device and electronic equipment
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a screen dimming method and device and electronic equipment.
Background
Pulse width modulation (Pulse Width Modulation, PWM) dimming is to change the brightness of a screen by controlling the duty cycle of the on-off alternation of the screen. While a low frequency strobe may jeopardize the user's vision when PWM dimming is performed. These hazards are negligible only when the PWM frequency is high to some extent, so that PWM dimming is typically performed with a higher PWM frequency in order to achieve eye protection.
However, the voltages of the light emitting circuits of the screen are different at different PWM frequencies. The higher the PWM frequency, the more the number of pixel lines per frame that are not displayed, and the lower the brightness of the screen. In order to maintain the same brightness, the voltage of the entire light emitting circuit needs to be increased, which results in higher power consumption of the electronic device.
Disclosure of Invention
The embodiment of the application aims to provide a screen dimming method and device and electronic equipment, which can reduce power consumption of the electronic equipment while achieving an eye protection effect.
In a first aspect, an embodiment of the application provides a screen dimming method, which comprises the steps of determining a first screen area of a display screen based on reference information, wherein the reference information comprises at least one of display information of the display screen and sight focusing information of a user, adjusting PWM frequency of a to-be-adjusted area of the first screen area from the first PWM frequency to a second PWM frequency, wherein the second PWM frequency is smaller than the first PWM frequency, the to-be-adjusted area is at least part of the screen area of the first screen area, and adjusting voltage of a light-emitting circuit of the to-be-adjusted area based on the second PWM frequency.
In a second aspect, an embodiment of the application provides a screen dimming device, which comprises a determining module, an adjusting module and a dimming module, wherein the determining module is used for determining a first screen area of a display screen based on reference information, the reference information comprises at least one of display information of the display screen and sight focusing information of a user, the adjusting module is used for adjusting PWM frequency of a to-be-adjusted area of the first screen area from a first PWM frequency to a second PWM frequency, the second PWM frequency is smaller than the first PWM frequency, the to-be-adjusted area is at least part of the screen area of the first screen area, and voltage of a light-emitting circuit of the to-be-adjusted area is adjusted based on the second PWM frequency.
In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program/program product stored in a storage medium, the program/program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, the first screen area of the display screen can be determined based on the reference information, wherein the reference information comprises at least one of display information of the display screen and sight focusing information of a user, PWM frequency of an area to be adjusted of the first screen area is adjusted from a first PWM frequency to a second PWM frequency, the second PWM frequency is smaller than the first PWM frequency, the area to be adjusted is at least part of the screen area of the first screen area, and voltage of a light-emitting circuit of the area to be adjusted is adjusted based on the second PWM frequency. According to the scheme, when the high PWM frequency is adopted to carry out PWM dimming on the screen of the electronic equipment, a first screen area of the screen, such as a black screen area or a non-gazing area of a user, can be determined according to the reference information, then the PWM frequency of a to-be-adjusted area of the first screen area is regulated, and then the voltage of a light-emitting circuit of the to-be-adjusted area is regulated based on the regulated PWM frequency, and the change of the voltage of the light-emitting circuit is in direct proportion to the change of the PWM frequency, so that the PWM frequency of the to-be-adjusted area and the voltage of the light-emitting circuit can be regulated, and PWM dimming can be carried out on other screen areas by adopting the high PWM frequency, and therefore, the power consumption of the electronic equipment can be reduced while the eye protection effect is achieved.
Drawings
Fig. 1 is a schematic diagram of a frame of a related art screen display in a PWM dimming mode;
FIG. 2 is a flow chart of a screen dimming method provided by some embodiments of the present application;
FIG. 3 is a flow chart of a screen dimming method provided by some embodiments of the present application;
FIG. 4 is a schematic diagram of a first screen area in a screen dimming method according to some embodiments of the present application;
FIG. 5 is a schematic diagram of a first screen area in a screen dimming method according to some embodiments of the present application;
FIG. 6 is a flow chart of a screen dimming method provided by some embodiments of the present application;
FIG. 7 is a schematic diagram of a first screen area in a screen dimming method according to some embodiments of the present application;
FIG. 8 is a flow chart of a screen dimming method provided by some embodiments of the present application;
FIG. 9 is a schematic diagram of a method for adjusting PWM frequency of different screen regions in a screen dimming method according to some embodiments of the present application;
FIG. 10 is a flow chart of a screen dimming method provided by some embodiments of the present application;
FIG. 11 is a flow chart of a screen dimming method provided by some embodiments of the present application;
fig. 12 is a schematic diagram of a screen dimming device provided by some embodiments of the present application;
FIG. 13 is a schematic diagram of an electronic device provided by some embodiments of the application;
fig. 14 is a hardware schematic of an electronic device provided by some embodiments of the application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type not limited to the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The term "indication" according to the application may be either a direct indication (or an explicit indication) or an indirect indication (or an implicit indication). The direct indication may be understood that the sender explicitly informs the specific information of the receiver, the operation to be executed, the request result, and the like in the sent indication, and the indirect indication may be understood that the receiver determines the corresponding information according to the indication sent by the sender, or determines the operation to be executed, the request result, and the like according to the determination result.
The terms "at least one," "at least one," and the like in the description and in the claims, mean that they encompass any one, any two, or a combination of two or more of the objects. For example, at least one of a, b, c (item) may represent "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", wherein a, b, c may be single or plural. Similarly, the term "at least two" means two or more, and the meaning of the expression is similar to the term "at least one".
The following explains some concepts and terms related to the screen dimming method, the screen dimming device and the electronic equipment provided by the embodiment of the application.
PWM dimming is a process of changing the brightness of a screen by controlling the duty ratio of the on-off alternation of the screen. The PWM dimming screen is not continuously lighted when it is lighted, but is continuously lighted and extinguished. When the screen is on and off alternately fast, the naked eye can consider that the mobile phone is always on, and the longer the duration of the off state is in the on and off process, the lower the visual sense of the screen to the naked eye is. The longer the lighting time, the correspondingly reduced the off-screen time, and the brighter the screen.
Wherein, an Organic Light-Emitting Diode (OLED) screen controls a PWM frequency by controlling a switching number of Electromagnetic (EM) pulses (pulses), for example, 18 times per frame of EM pulses in Direct Current (DC) 18Pulse mode, if a screen refresh rate is 120Hz, the EM pulses switching number per second is 18 times 120, which is equal to 2160 times, i.e., the PWM frequency is 2160Hz. Controlling the EM Pulse switching times enables control of the different PWM frequencies.
In the PWM dimming mode, a plurality of black lines are displayed in a frame of the screen when the exposure time is adjusted by the camera. For example, as shown in fig. 1, in the DC 8pulse mode, the EM pulse switch is turned on and off 8 times in a frame, and there are 8 black lines, and the larger the width of the black line, the larger the number of lines that the pixel point of the screen is turned off or not displayed, the larger the number of black lines, the larger the total number of lines of pixels that are not displayed in a frame, and the lower the brightness of the display screen.
DC dimming is a dimming method of changing brightness of a screen by increasing or decreasing power of a light emitting circuit of the screen.
The gray scale is to divide the brightness change between the brightest and darkest into a plurality of parts so as to facilitate the control of the screen brightness corresponding to the signal input. Each digital image is composed of a plurality of dots, also called pixels, which can usually each represent a plurality of different colors, and each pixel is composed of three sub-pixels of red, green and blue. Each sub-pixel may exhibit a different brightness level for the light source behind it, while the gray scale represents a hierarchical level of different brightness from darkest to brightest. The more such intermediate levels, the finer the picture effect that can be presented. Taking an 8-bit channel as an example, it can represent the power of 2 to 8, which is equal to 256 brightness levels, we call 256 gray levels. Each pixel on the screen is combined by red, green and blue with different brightness levels, and finally different color points are formed. That is, the color change of each point on the screen is actually brought about by the gray scale change of the three red, green and blue sub-pixels constituting the point.
The screen dimming method, the device and the electronic equipment provided by the embodiment of the application are described in detail through specific embodiments and application scenes thereof with reference to the accompanying drawings.
The screen dimming method provided by the embodiment of the application can be applied to a scene of PWM dimming of the screen of the electronic equipment.
For example, assuming that a user is watching a video through an electronic device, when the screen of the electronic device is subjected to PWM dimming by using a PWM frequency 1, the electronic device may determine a first screen area in the display screen corresponding to a black area in an image displayed by the display screen based on display information of the display screen, for example, gray scale information of each pixel in the image, then adjust a PWM frequency of an area to be adjusted of the first screen area from the PWM frequency 1 to a PWM frequency 2, wherein the PWM frequency 2 is smaller than the PWM frequency 1, the area to be adjusted is at least a part of the screen area of the first screen area, and adjust a voltage of a light emitting circuit of the area to be adjusted based on the PWM frequency 2.
Illustratively, assuming that a user is browsing news through an electronic device having a folding screen, when PWM dimming a screen of the electronic device using PWM frequency 3, the electronic device may determine a first screen region of the display screen that is not line of sight focused based on line of sight focusing information of the user, then adjust a PWM frequency of a region to be adjusted of the first screen region from PWM frequency 3 to PWM frequency 4, PWM frequency 4 being less than PWM frequency 3, the region to be adjusted being at least a part of the screen region of the first screen region, and adjust a voltage of a light emitting circuit of the region to be adjusted based on PWM frequency 4.
When the high PWM frequency is used for PWM dimming of the screen of the electronic device, the first screen area of the screen, for example, a black screen area or a non-gazing area of a user, can be determined according to the reference information, then the PWM frequency of the area to be adjusted of the first screen area is adjusted down, and then the voltage of the light emitting circuit of the area to be adjusted is adjusted based on the adjusted down PWM frequency, and the change of the voltage of the light emitting circuit is in direct proportion to the change of the PWM frequency, so that the PWM frequency of the area to be adjusted and the voltage of the light emitting circuit can be adjusted down, and PWM dimming can be performed on other screen areas still with the high PWM frequency, thus the power consumption of the electronic device can be reduced while the eye protection effect is achieved.
It should be noted that the above scenarios are only listed as some common scenarios, and do not limit the present application.
It should be noted that, in the screen dimming method provided by the embodiment of the present application, the execution body may be a screen dimming device, an electronic device, or a functional module in the electronic device. In some embodiments of the present application, an electronic device executes a screen dimming method as an example, and the screen dimming method provided by the embodiments of the present application is described.
Fig. 2 illustrates a flowchart of a screen dimming method provided by some embodiments of the present application. As shown in fig. 2, the screen dimming method provided by the embodiment of the present application may include the following steps 201 to 203.
Step 201, the electronic device determines a first screen area of the display screen based on the reference information.
The reference information comprises at least one of display information of a display screen and sight focusing information of a user.
In some embodiments of the present application, the display screen may include, but is not limited to, any of a full screen, a folded screen, a scroll screen, a surround screen, and the like.
In some embodiments of the application, the display information of the display screen may include information about the image displayed by the display screen.
For example, the display information of the display screen may include gray-scale information, pixel information, histogram information, and the like for each pixel in the image displayed by the display screen.
The image displayed by the display screen is an image frame displayed in the display screen of the electronic device at the current moment, wherein the image frame is sent to the display screen for display through a display processing unit (Display Process Unit, DPU) for processing image data and sending display, and the DPU can acquire the data of the image frame displayed by the display screen because the gray level detection is detected in the hardware algorithm of the DPU.
In some embodiments of the application, the sight line focusing information of the user is focus information focused by human eyes of the user, and the electronic equipment can acquire the sight line focusing information of the user through a human eye focus tracking technology.
For a specific description of the eye tracking technique, reference may be made to the related description in the related art, and in order to avoid repetition, the description is omitted here.
In some embodiments of the application, the first screen region may be a screen region in which the PWM frequency is to be adjusted.
In some embodiments of the application, the first screen region may be a partial screen region or a full screen region of the display screen.
In some embodiments of the application, the electronic device may determine the different first screen area based on different of the above-mentioned reference information.
For example, the first screen region may be a region in which black is displayed in the display screen when the electronic device determines the first screen region based on display information of the display screen, and the first screen region may be a non-line-of-sight focusing region of the user in the display screen when the electronic device determines the first screen region based on line-of-sight focusing information of the user.
A specific method for determining the first screen area of the display screen by the electronic device based on the above-mentioned reference information will be described in detail.
In some embodiments of the present application, the reference information includes display information of a display screen, where the display information includes gray-scale information of each pixel in an image displayed by the display screen. Illustratively, in connection with fig. 2, as shown in fig. 3, the above-described step 201 may be implemented specifically by the following steps 201a and 201 b.
Step 201a, the electronic device determines a pixel area composed of pixels with gray scale values being reference gray scale values according to the gray scale information of each pixel in the image.
In some embodiments of the present application, the reference gray-scale value may be 0.
The pixel region formed by the pixels with the gray scale value of 0 in the image, that is, the black screen region in the image.
For example, assuming that the reference gray-scale value is 0, the electronic device may first count the histogram information of the image displayed on the display screen, then determine the gray-scale information of each pixel in the image according to the histogram information, further determine the pixel with the gray-scale value of 0 according to the gray-scale information of each pixel, and then obtain the pixel area composed of the pixels with the gray-scale value of 0.
Step 201b, the electronic device determines that the pixel area corresponds to a screen area in the display screen as a first screen area.
It will be appreciated that the first screen area is the screen area of the display screen for displaying the pixel areas described above.
For example, assuming that the above-mentioned reference gray-scale value is 0, as shown in fig. 4, when the user is not watching the video through the electronic device in full screen, the electronic device recognizes a pixel area 42 composed of pixels having a gray-scale value other than 0 in the image displayed on the current display screen, that is, a display area of the video frame, based on the gray-scale information of each pixel in the image, and recognizes a pixel area 41 and a pixel area 43 composed of pixels having a gray-scale value of 0 in the image. The electronic device may then determine that pixel region 41 and pixel region 43 correspond to screen regions in the display screen as first screen regions and mark the first screen regions as low PWM frequency regions and pixel region 42 corresponds to screen regions in the display screen as high PWM frequency regions.
For example, assuming that the above-mentioned reference gray-scale value is 0, as shown in fig. 5, when the user is capturing an image using the camera program of the electronic device, the electronic device displays a capturing preview interface of the camera program, and the electronic device recognizes a pixel region 52 composed of pixels having a gray-scale value other than 0 in the image, that is, a display region of the preview image, based on gray-scale information of each pixel in the image displayed on the current display screen, and recognizes a pixel region 51 and a pixel region 52 composed of pixels having a gray-scale value of 0 in the image. The electronic device may then determine that pixel region 51 and pixel region 53 correspond to screen regions in the display screen as first screen regions and mark the first screen regions as low PWM frequency regions and pixel region 52 corresponds to screen regions in the display screen as high PWM frequency regions.
In some embodiments of the present application, the electronic device may determine, according to the gray-scale information of each pixel in the image, a pixel area composed of pixels having a gray-scale value of a reference gray-scale value in the image, and then determine, as the first screen area, a screen area corresponding to a screen area in the display screen, where the user is not interested in black screen area in the image, as a screen area to be adjusted in PWM frequency, so as to facilitate subsequent adjustment of PWM frequency for these screen areas.
In some embodiments of the application, the reference information includes line of sight focusing information of the user. Illustratively, in connection with fig. 2, as shown in fig. 6, the above-described step 201 may be implemented specifically by the following steps 201c and 201 d.
Step 201c, the electronic device determines a sight focusing area of the user in the display screen according to the sight focusing information.
In some embodiments of the present application, after the electronic device acquires the above-mentioned line-of-sight focusing information, a screen area within a focusing range of a human eye of a user, that is, a line-of-sight focusing area of the user in the display screen, may be determined according to the line-of-sight focusing information.
In step 201d, the electronic device determines a screen area of the display screen other than the line-of-sight focusing area as a first screen area.
It will be appreciated that the first screen region is a non-line of sight focused region in the screen, i.e. a screen region not of interest to the user.
For example, assuming that the user is using an electronic device having a folding screen and is looking at the upper half of the folding screen, the electronic device may first acquire the user's line of sight focusing information through a human eye focus tracking technique and determine a line of sight focusing area of the user in the display screen, that is, a screen area 71, based on the line of sight focusing information, as shown in fig. 7. The electronic device may then determine the screen area 72 of the folded screen other than the screen area 71 as a first screen area and mark the first screen area as a low PWM frequency area and mark the screen area 71 as a high PWM frequency area.
For example, assuming that a user is watching video through an electronic device, the electronic device may determine a line-of-sight focusing area of the user in a display screen, i.e., a display area of a video frame at which the user is looking, from line-of-sight focusing information of the user. The electronic device may then determine a screen area of the display screen other than the line-of-sight focus area as a first screen area, and mark the first screen area as a low PWM frequency area, and mark the line-of-sight focus area as a high PWM frequency area.
For example, assuming that a user is browsing news through an electronic device having a folding screen, the electronic device may determine a line-of-sight focusing area of the user in the display screen, i.e., a display area of news content that the user gazes at, based on the line-of-sight focusing information of the user. The electronic device may then determine a screen area of the display screen other than the line-of-sight focus area as a first screen area, and mark the first screen area as a low PWM frequency area, and mark the line-of-sight focus area as a high PWM frequency area.
In some embodiments of the present application, since the electronic device may determine, according to the line-of-sight focusing information, a line-of-sight focusing area of the user in the display screen, and then determine, as the first screen area, a screen area of the display screen other than the line-of-sight focusing area, a screen area of the image, which is not watched by the user's eyes, may be determined as a screen area to be adjusted in PWM frequency, so that subsequent adjustment of PWM frequency is performed on these screen areas.
In some embodiments of the present application, the reference information includes display information of a display screen and line of sight focusing information of a user, the display information including gray scale information of each pixel in an image displayed by the display screen. Illustratively, in conjunction with fig. 2, as shown in fig. 8, the above step 201 may be implemented specifically by steps 201e and 201f described below.
Step 201e, the electronic device determines a pixel area with a gray level value being a reference gray level value in the image according to the gray level information of each pixel in the image, and determines a sight line focusing area of the user in the display screen according to the sight line focusing information.
For a specific description of step 201e, reference may be made to the descriptions related to step 201a and step 201c, and in order to avoid repetition, a detailed description is omitted here.
In step 201f, the electronic device determines that the pixel area corresponds to a screen area in the display screen and a screen area other than the line-of-sight focusing area in the display screen as a first screen area.
In some embodiments of the present application, the electronic device may first merge the pixel area corresponding to the screen area in the display screen and the screen area in the display screen except for the line-of-sight focusing area, and then determine the merged screen area as the first screen area.
In some embodiments of the present application, the electronic device may determine, according to the gray-scale information of each pixel in the image, a pixel area in the image with a gray-scale value being a reference gray-scale value, determine, according to the line-of-sight focusing information, a line-of-sight focusing area of the user in the display screen, and then determine, as a first screen area, a screen area corresponding to the pixel area in the display screen and a screen area in the display screen except for the line-of-sight focusing area, so that, according to different reference information, a screen area not focused by the user can be accurately determined, and thus, when the PWM frequency adjustment is performed subsequently, the adjusted screen area can be further enlarged, so that the power consumption of the device can be maximally saved.
Step 202, the electronic device adjusts the PWM frequency of the area to be adjusted of the first screen area from the first PWM frequency to the second PWM frequency.
The area to be adjusted is at least part of the screen area of the first screen area.
In some embodiments of the present application, the area to be adjusted is a screen area where the PWM frequency in the first screen area is not the second PWM frequency.
In some embodiments of the application, the first PWM frequency may be a high PWM frequency, i.e. a PWM frequency having a PWM frequency greater than or equal to the PWM frequency threshold.
For example, the first PWM frequency may be a PWM frequency corresponding to the DC 18pulse mode, wherein the PWM frequency corresponding to the DC 18pulse mode is 2160Hz when the screen refresh rate is 120 Hz.
In some embodiments of the present application, the PWM frequency threshold may be default to the system, or may be set arbitrarily by the user according to the actual use requirement.
For example, taking the above PWM frequency threshold as a default of the system as an example, the PWM frequency threshold may be a PWM frequency corresponding to the DC 10pulse mode, where the PWM frequency corresponding to the DC 10pulse mode is 1200Hz when the screen refresh rate is 120Hz, or the PWM frequency threshold may be a PWM frequency corresponding to the DC 12pulse mode, where the PWM frequency corresponding to the DC 10pulse mode is 1440Hz when the screen refresh rate is 120 Hz.
Alternatively, in an embodiment of the present application, the second PWM frequency may be a low PWM frequency, i.e. a PWM frequency having a PWM frequency smaller than the PWM frequency threshold.
For example, the second PWM frequency may be a PWM frequency corresponding to the DC 1pulse mode, wherein the PWM frequency corresponding to the DC 1pulse mode is 120Hz when the screen refresh rate is 120Hz.
Optionally, in the embodiment of the present application, the electronic device may adjust the frequency of the PWM by adjusting the EM Pulse switching frequency.
For a description of adjusting the frequency of PWM, reference may be made to the specific description in the related art, and in order to avoid repetition, a description thereof will be omitted.
For example, assuming that a user is watching a video through an electronic device, when the screen of the electronic device is subjected to PWM dimming by using a PWM frequency 1, the electronic device may determine a first screen area in the display screen corresponding to a black area in an image displayed by the display screen based on display information of the display screen, for example, gray scale information of each pixel in the image, and then adjust a PWM frequency of an area to be adjusted of the first screen area from the PWM frequency 1 to a PWM frequency 2, wherein the PWM frequency 2 is smaller than the PWM frequency 1, and the area to be adjusted is at least a part of the screen area of the first screen area.
For example, assuming that a user is browsing news through an electronic device having a folding screen, when PWM dimming a screen of the electronic device using PWM frequency 3, the electronic device may determine a first screen region of the display screen that is not line of sight focused based on line of sight focusing information of the user, and then adjust a PWM frequency of a region to be adjusted of the first screen region from PWM frequency 3 to PWM frequency 4, the PWM frequency 4 being less than PWM frequency 3, the region to be adjusted being at least a portion of the screen region of the first screen region. For example, as shown in FIG. 9, assuming that the area to be adjusted determined by the electronic device includes a screen area 91 and a screen area 93, and the electronic device marks the screen area 91 and the screen area 93 as low PWM frequency areas and marks the screen area 92 as high PWM frequency areas, the electronic device may adjust both the PWM frequency of the screen area 91 and the PWM frequency of the screen area 93 from a first PWM frequency to a second PWM frequency, for example, from the PWM frequency corresponding to the DC 18pulse mode to the PWM frequency corresponding to the DC 1pulse mode, and maintain the PWM frequency of the screen area 92 at the original PWM frequency, for example, the PWM frequency corresponding to the DC 18pulse mode. Thus different PWM frequencies can be set for different screen areas.
In some embodiments of the application, the PWM frequency of the second screen region of the display screen remains unchanged.
The second screen area is a region of interest of a user, and the first screen area is a non-region of interest.
In some embodiments of the present application, the region of interest may be a screen region of interest to the user, and the non-region of interest may be a screen region of no interest to the user.
For example, assuming that a user is watching a video through an electronic device, when the PWM frequency 1 is used to perform PWM dimming on a screen of the electronic device, the electronic device may determine a first screen area in the display screen corresponding to a black area in an image displayed by the display screen based on display information of the display screen, for example, gray scale information of each pixel in the image, then adjust a PWM frequency of an area to be adjusted of the first screen area from PWM frequency 1 to PWM frequency 2, where PWM frequency 2 is smaller than PWM frequency 1, where the area to be adjusted is at least a part of the screen area of the first screen area, and not adjust a PWM frequency of a second screen area other than the first screen area in the display screen, that is, the PWM frequency of the second screen area remains unchanged.
Illustratively, assuming that a user is browsing news through an electronic device having a folding screen, when PWM frequency 3 is employed to PWM dim the screen of the electronic device, the electronic device may determine a first screen region of the display screen that is not line of sight focused based on the line of sight focusing information of the user, then adjust the PWM frequency of the region of the first screen region from PWM frequency 3 to PWM frequency 4, PWM frequency 4 being less than PWM frequency 3, the region to be adjusted being at least a portion of the screen region of the first screen region, and not adjust the PWM frequency of a second screen region of the display screen other than the first screen region, i.e., the PWM frequency of the second screen region remains unchanged.
In some embodiments of the present application, after determining the non-region of interest based on the reference information, the electronic device may determine the region of interest, and then the electronic device may adjust the PWM frequency of the non-region of interest from the first PWM frequency to the second PWM frequency, and maintain the PWM frequency of the region of interest at the original PWM frequency, i.e., not adjust the PWM frequency of the region of interest.
In some embodiments of the present application, since the electronic device may maintain the PWM frequency of the second screen area unchanged while adjusting the PWM frequency of the first screen area, the PWM frequency may be performed only on the non-interested area of the user, without adjusting the PWM frequency of the interested area of the user, so as to ensure that the PWM frequency of the interested area of the user is unchanged, thereby achieving the purpose of eye protection.
Step 203, the electronic device adjusts the voltage of the light emitting circuit of the area to be adjusted based on the second PWM frequency.
In some embodiments of the application, different PWM frequencies may correspond to different voltages of the light emitting circuit.
In some embodiments of the present application, the light emitting circuit may be a light emitting circuit in which the voltage of each pixel row is individually adjustable.
In some embodiments of the present application, as shown in fig. 10 in conjunction with fig. 2, the above step 203 may be specifically implemented by the following step 203 a.
In step 203a, the electronic device adjusts the voltage of the light emitting circuit to a rated voltage corresponding to the second PWM frequency.
Wherein the rated voltage is smaller than the voltage of the light-emitting circuit before adjustment.
In some embodiments of the present application, after the PWM frequency of the area to be adjusted is adjusted from the first PWM frequency to the second PWM frequency, the electronic device may determine, according to the second PWM frequency, a rated voltage of the light emitting circuit when PWM dimming is performed by using the second PWM frequency, that is, a rated voltage corresponding to the second PWM frequency, and then adjust the voltage of the light emitting circuit to the rated voltage. Therefore, the voltage of the light-emitting circuit can be reduced, so that the purpose of saving the power consumption of equipment is achieved.
In some embodiments of the present application, the electronic device may change the effective voltage value output by the light emitting circuit by adjusting the ratio of the pulse widths, that is, may adjust the voltage of the light emitting circuit by changing the duty ratio of the pulse widths, so as to adjust the voltage of the light emitting circuit to the rated voltage corresponding to the second PWM frequency.
For example, assuming that a user is watching a video through an electronic device, when the PWM frequency 1 is used to perform PWM dimming on a screen of the electronic device, the electronic device may determine a first screen area in the display screen corresponding to a black area in an image displayed by the display screen based on display information of the display screen, for example, gray scale information of each pixel in the image, then adjust a PWM frequency of an area to be adjusted of the first screen area from PWM frequency 1 to PWM frequency 2, where PWM frequency 2 is smaller than PWM frequency 1, where the area to be adjusted is at least a part of the screen area of the first screen area, and adjust a voltage of a light emitting circuit of the area to be adjusted to a rated voltage corresponding to PWM frequency 2.
For example, assuming that a user is browsing news through an electronic device with a folding screen, when PWM dimming a screen of the electronic device with PWM frequency 3, the electronic device may determine a first screen area of the display screen that is not in line of sight focus based on line of sight focus information of the user, then adjust PWM frequency of an area to be adjusted of the first screen area from PWM frequency 3 to PWM frequency 4, PWM frequency 4 being smaller than PWM frequency 3, the area to be adjusted being at least a part of the screen area of the first screen area, and adjust voltage of a light emitting circuit of the area to be adjusted to a rated voltage corresponding to PWM frequency 4.
In some embodiments of the present application, the electronic device may adjust the voltage of the light emitting circuit to the rated voltage corresponding to the second PWM frequency, so that, on one hand, the light emitting circuit after the PWM frequency is adjusted may be operated at an optimal voltage for normal operation, thereby improving the stability of the light emitting circuit, and on the other hand, the voltage of the light emitting circuit may be adjusted to be reduced, thereby achieving the purpose of saving the power consumption of the device.
It should be noted that, when the display information of the display screen or the line of sight focusing information of the user changes, the electronic device may determine the first screen area in real time by adopting the screen dimming method provided by some embodiments of the present application, and adjust the PWM frequency of the area to be adjusted of the first screen area and the voltage of the light emitting circuit. Therefore, the eye protection effect can be always achieved and the power consumption of the electronic equipment can be reduced in the process that the user uses the electronic equipment.
In the screen dimming method provided by some embodiments of the present application, when the high PWM frequency is used to perform PWM dimming on the screen of the electronic device, the first screen area of the screen, for example, a black screen area or a non-gazing area of a user, may be determined according to the reference information, then the PWM frequency of the area to be adjusted of the first screen area is adjusted, and further, based on the adjusted PWM frequency, the voltage of the light emitting circuit of the area to be adjusted is adjusted, and the change of the voltage of the light emitting circuit is proportional to the change of the PWM frequency, so that only the PWM frequency of the area to be adjusted and the voltage of the light emitting circuit may be adjusted, and the PWM dimming may be performed on other screen areas with the high PWM frequency, so that the power consumption of the electronic device may be reduced while the eye protection effect is achieved.
In some embodiments of the present application, as shown in fig. 11 in conjunction with fig. 2, before the step 202, the screen dimming method provided in some embodiments of the present application may further include the following step 204 or step 205.
In step 204, in the case that the third screen area and the first screen area have no overlapping area, the electronic device determines the first screen area as an area to be adjusted.
Wherein the third screen area is an area to be adjusted determined by adjacent one PWM frequency adjustment before the first screen area is determined.
In some embodiments of the present application, the electronic device may have performed a PWM frequency adjustment once and adjusted an area to be adjusted before determining the first screen area, and then after determining the first screen area when performing the PWM frequency adjustment this time, if the area to be adjusted does not overlap with the determined first screen area, the electronic device may learn that the PWM frequency of the first screen area is not the second PWM frequency, and at this time, the electronic device may determine the first screen area as the area to be adjusted for the PWM frequency adjustment this time, and then adjust the PWM frequency of the entire first screen area to be the second PWM frequency.
In step 204, in the case that the third screen area and the first screen area have overlapping areas, the electronic device determines an area except for the overlapping areas in the first screen area as an area to be adjusted.
For example, assuming that a user is watching a video through an electronic device, the electronic device may determine whether or not there is an overlapping region between a first screen region and a third screen region after determining the first screen region in the display screen corresponding to a black region in an image displayed on the display screen based on display information of the display screen, for example, gray-scale information of each pixel in the image. And the electronic equipment determines the first screen area as the area to be adjusted of the PWM frequency when the third screen area and the first screen area have no overlapping area, and determines the area except the overlapping area in the first screen area as the area to be adjusted of the PWM frequency when the third screen area and the first screen area have overlapping areas.
For example, assuming that a user is browsing news through an electronic device having a folding screen, the electronic device may determine whether there is an overlapping region between a first screen region and a third screen region after determining a first screen region in the display screen that is not line of sight focused based on line of sight focusing information of the user. And the electronic equipment determines the first screen area as the area to be adjusted of the PWM frequency when the third screen area and the first screen area have no overlapping area, and determines the area except the overlapping area in the first screen area as the area to be adjusted of the PWM frequency when the third screen area and the first screen area have overlapping areas. In some embodiments of the present application, the electronic device may have performed a PWM frequency adjustment once and adjusted a region to be adjusted before determining the first screen region, and then after determining the first screen region when performing the PWM frequency adjustment this time, if the region to be adjusted has an overlapping region with the determined first screen region, the electronic device may learn that the PWM frequency of the overlapping region has been adjusted to a second PWM frequency, and at this time, the electronic device may determine a region of the first screen region other than the overlapping region as the region to be adjusted, and then adjust the determined PWM frequency of the region to be adjusted to the second PWM frequency.
In some embodiments of the present application, since the electronic device may determine the to-be-adjusted area of the first screen area according to whether the third screen area and the first screen area have an overlapping area, the to-be-adjusted area may be accurately determined, so that the to-be-adjusted area may be subjected to PWM frequency adjustment, without performing unnecessary PWM frequency adjustment on the overlapping area of the third screen area and the first screen area, thereby improving accuracy of PWM frequency adjustment.
The screen dimming method provided by some embodiments of the present application is exemplarily described below.
By way of example, the screen dimming method provided in some embodiments of the present application may divide screen regions by detecting gray scale information of an image displayed on a display screen, and set different PWM frequencies for different screen regions, which is specifically as follows:
step 1, the electronic equipment detects gray-scale information of an image currently displayed on a display screen, and divides a screen area according to the detected gray-scale information.
Specifically, the electronic device identifies a large-area black area in an image according to gray-scale information of the image currently displayed on the display screen, then determines a screen area of the black area corresponding to the display screen as a first screen area, and determines a screen area of the display screen except for the first screen area as a second screen area.
Step 2, the electronic device determines a screen area to be adjusted of the first screen area according to whether the third screen area of the first screen area has an overlapping area or not.
Wherein the third screen area is an area to be adjusted determined by adjacent one PWM frequency adjustment before the first screen area is determined.
And 3, the electronic equipment adjusts the PWM frequency of the area to be adjusted of the first screen area to be the second PWM frequency, and keeps the PWM frequency of the second screen area unchanged.
And 4, the electronic equipment adjusts the voltage of the light-emitting circuit of the area to be adjusted of the first screen area.
Specifically, using a light-emitting circuit whose voltage can be adjusted individually for each pixel row, individual adjustment of the light-emitting circuit voltage for each region is realized. And then adjusting the voltage of the light-emitting circuit to the rated voltage corresponding to the second PWM frequency.
Therefore, different PWM frequencies and light-emitting circuit voltages can be set for different screen areas, so that the screen area with high PWM frequency can normally display images, the display effect of the user attention area is ensured, the purpose of eye protection is achieved, the screen area with low PWM frequency, namely the area which is not noticed by the user or the unimportant area, can not influence the use of the user, and the power consumption of the device can be reduced.
In an exemplary embodiment, the screen dimming method provided by some embodiments of the present application may set different PWM frequencies for different half-screens by detecting a split screen area of a folding screen at which a human eye gazes, which specifically includes the following steps:
And a, detecting a sight focusing area of a user when the folding screen is split-screen displayed by the electronic equipment.
Specifically, the electronic device may determine the above-described line-of-sight focusing region through a human eye focus tracking technique.
And b, setting different PWM frequencies for different half screens of the folding screen by the electronic equipment.
Specifically, the electronic apparatus holds a high PWM frequency for a half-screen where a line-of-sight focusing area is located, and adjusts the PWM frequency of the other half-screen (hereinafter referred to as screen a) to a low PWM frequency.
And c, the electronic equipment adjusts the voltage of the light-emitting circuit of the screen a to the rated voltage corresponding to the low PWM frequency.
Therefore, the PWM frequency of the half screen and the voltage of the light-emitting circuit which are not watched by the user can be reduced while the use experience of the user is not affected, so that the power consumption of the equipment can be reduced and the eye protection effect is not affected.
The above-mentioned method embodiments, or various possible implementation manners in the method embodiments, may be executed alone or may be executed in combination with each other on the premise that there is no contradiction, and may be specifically determined according to actual use requirements, which is not limited by the embodiment of the present application.
According to the screen dimming method provided by the embodiment of the application, the execution main body can be a screen dimming device. In the embodiment of the application, a screen dimming method executed by a screen dimming device is taken as an example, and the screen dimming device provided by the embodiment of the application is described.
As shown in fig. 12, some embodiments of the present application provide a screen dimming device 120, and the screen dimming device 120 may include a determining module 121 that may determine a first screen region of a display screen based on reference information, the reference information including at least one of display information of the display screen and line of sight focusing information of a user. The adjustment module 122 may be configured to adjust a PWM frequency of a region to be adjusted of the first screen region from a first PWM frequency to a second PWM frequency, where the second PWM frequency is smaller than the first PWM frequency, the region to be adjusted is at least a part of the screen region of the first screen region, and adjust a voltage of the light emitting circuit of the region to be adjusted based on the second PWM frequency.
In some embodiments of the present application, the reference information includes display information of a display screen, where the display information includes gray-scale information of each pixel in an image displayed by the display screen. The determining module 121 may specifically be configured to determine, according to gray-scale information of each pixel in the image, a pixel area composed of pixels having a gray-scale value of a reference gray-scale value in the image, and determine that the pixel area corresponds to a screen area in the display screen as a first screen area.
In some embodiments of the application, the reference information includes line of sight focusing information of the user. The determining module 121 may specifically be configured to determine a line-of-sight focusing area of the user in the display screen according to the line-of-sight focusing information, and determine a screen area of the display screen other than the line-of-sight focusing area as the first screen area.
In some embodiments of the present application, the reference information includes display information of a display screen and line of sight focusing information of a user, the display information including gray scale information of each pixel in an image displayed by the display screen. The determining module 121 may specifically be configured to determine, according to gray-scale information of each pixel in the image, a pixel area in which a gray-scale value in the image is a reference gray-scale value, determine, according to the line-of-sight focusing information, a line-of-sight focusing area of a user in a display screen, and determine, as a first screen area, a screen area in the display screen corresponding to the pixel area and a screen area in the display screen other than the line-of-sight focusing area.
In some embodiments of the present application, the adjusting module 122 may be specifically configured to adjust the voltage of the light emitting circuit to a rated voltage corresponding to the second PWM frequency, where the rated voltage is smaller than the voltage of the light emitting circuit before adjustment.
In some embodiments of the present application, the PWM frequency of a second screen region of the display screen remains unchanged, wherein the second screen region is a screen region of the display screen other than the first screen region, the second screen region is a region of interest to the user, and the first screen region is a region of non-interest.
In some embodiments of the present application, the determining module 121 may be further configured to determine, before the adjusting module 122 adjusts the PWM frequency of the area to be adjusted of the first screen area from the first PWM frequency to the second PWM frequency, the first screen area as the area to be adjusted if the third screen area and the first screen area do not overlap, or determine, if the third screen area and the first screen area have an overlap, an area of the first screen area other than the overlap area as the area to be adjusted. Wherein the third screen area is an area to be adjusted determined by adjacent one PWM frequency adjustment before the first screen area is determined.
In the screen dimming device provided by the embodiment of the application, when the high PWM frequency is adopted to perform PWM dimming on the screen of the electronic device, the screen dimming device can firstly determine the first screen area of the screen, such as a black screen area or a non-gazing area of a user, according to the reference information, then adjust the PWM frequency of the area to be adjusted of the first screen area, further adjust the voltage of the light-emitting circuit of the area to be adjusted based on the adjusted PWM frequency, and the change of the voltage of the light-emitting circuit is in direct proportion to the change of the PWM frequency, so that the PWM frequency of the area to be adjusted and the voltage of the light-emitting circuit can be adjusted only, and the PWM dimming can be performed on other screen areas by adopting the high PWM frequency, thereby reducing the power consumption of the electronic device while achieving the eye protection effect.
The screen dimming device in some embodiments of the present application may be an electronic device or a component in an electronic device, such as an integrated circuit or chip. The electronic device may be a terminal, or may be other devices than a terminal. The electronic device may be a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a Mobile internet appliance (Mobile INTERNET DEVICE, MID), an augmented reality (augmented reality, AR)/Virtual Reality (VR) device, a robot, a wearable device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and may also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., which are not particularly limited in the embodiments of the present application.
The screen dimming device in some embodiments of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The screen dimming device provided by some embodiments of the present application can realize each process realized by the above method embodiments, so as to achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
As shown in fig. 13, some embodiments of the present application further provide an electronic device 100, including a processor 101 and a memory 102, where the memory 102 stores a program or instructions that can be executed on the processor 101, and the program or instructions implement the steps of the above-mentioned screen dimming method embodiment when executed by the processor 101, and achieve the same technical effects, so that repetition is avoided and redundant description is omitted herein.
It should be noted that, the electronic device in some embodiments of the present application includes a mobile electronic device and a non-mobile electronic device.
Fig. 14 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
As shown in fig. 14, the electronic device 1000 includes, but is not limited to, a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 14 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The processor 1010 may be configured to determine a first screen area of the display screen based on reference information, where the reference information includes at least one of display information of the display screen and line of sight focusing information of a user, and adjust a PWM frequency of a region to be adjusted of the first screen area from a first PWM frequency to a second PWM frequency, where the second PWM frequency is smaller than the first PWM frequency, the region to be adjusted is at least a partial screen area of the first screen area, and adjust a voltage of a light emitting circuit of the region to be adjusted based on the second PWM frequency.
In some embodiments of the present application, the reference information includes display information of a display screen, where the display information includes gray-scale information of each pixel in an image displayed by the display screen. The processor 1010 may be specifically configured to determine a pixel area composed of pixels having a gray level value of a reference gray level value in the image according to gray level information of each pixel in the image, and determine that the pixel area corresponds to a screen area in the display screen as a first screen area.
In some embodiments of the application, the reference information includes line of sight focusing information of the user. The processor 1010 may be specifically configured to determine a line-of-sight focusing area of the user in the display screen according to the line-of-sight focusing information, and determine a screen area of the display screen other than the line-of-sight focusing area as a first screen area.
In some embodiments of the present application, the reference information includes display information of a display screen and line of sight focusing information of a user, the display information including gray scale information of each pixel in an image displayed by the display screen. The processor 1010 may be specifically configured to determine a pixel area in the image, where the gray level value is a reference gray level value, according to gray level information of each pixel in the image, determine a line-of-sight focusing area in the display screen for the user according to the line-of-sight focusing information, and determine a screen area in the display screen corresponding to the pixel area and a screen area in the display screen other than the line-of-sight focusing area as a first screen area.
In some embodiments of the present application, the processor 1010 may be specifically configured to adjust the voltage of the light emitting circuit to a rated voltage corresponding to the second PWM frequency, where the rated voltage is less than the voltage of the light emitting circuit before adjustment.
In some embodiments of the present application, the PWM frequency of a second screen region of the display screen remains unchanged, wherein the second screen region is a screen region of the display screen other than the first screen region, the second screen region is a region of interest to the user, and the first screen region is a region of non-interest.
In some embodiments of the present application, the processor 1010 may be further configured to determine the first screen area as the area to be adjusted if the third screen area and the first screen area do not overlap, or determine an area of the first screen area other than the overlapping area as the area to be adjusted if the third screen area and the first screen area have an overlapping area, before adjusting the PWM frequency of the area to be adjusted of the first screen area from the first PWM frequency to the second PWM frequency. Wherein the third screen area is an area to be adjusted determined by adjacent one PWM frequency adjustment before the first screen area is determined.
In the electronic device provided by the embodiment of the application, when the high PWM frequency is adopted to perform PWM dimming on the screen of the electronic device, the electronic device can firstly determine the first screen area of the screen, such as a black screen area or a non-gazing area of a user, according to the reference information, then adjust the PWM frequency of the area to be adjusted of the first screen area, further adjust the voltage of the light-emitting circuit of the area to be adjusted based on the adjusted PWM frequency, and the change of the voltage of the light-emitting circuit is in direct proportion to the change of the PWM frequency, so that only the PWM frequency of the area to be adjusted and the voltage of the light-emitting circuit can be adjusted, and the PWM dimming can be performed on other screen areas still by adopting the high PWM frequency, thus the power consumption of the electronic device can be reduced while the eye protection effect is achieved.
It should be appreciated that in embodiments of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, where the graphics processor 10041 processes image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 can include two portions, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static random access memory (STATIC RAM, SRAM), dynamic random access memory (DYNAMIC RAM, DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate Synchronous dynamic random access memory (Double DATA RATE SDRAM, DDRSDRAM), enhanced Synchronous dynamic random access memory (ENHANCED SDRAM, ESDRAM), synchronous link dynamic random access memory (SYNCH LINK DRAM, SLDRAM), and Direct random access memory (DRRAM). Memory 1009 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
The processor 1010 may include one or more processing units, and optionally the processor 1010 integrates an application processor that primarily processes operations involving an operating system, user interface, application program, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above screen dimming method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the screen dimming method embodiment, and the same technical effects can be achieved, so that repetition is avoided, and the description is omitted.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program/program product stored in a storage medium, where the program/program product is executed by at least one processor to implement the respective processes of the above-mentioned screen dimming method embodiment, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, in this document, 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 one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (15)

1. A method of screen dimming, the method comprising:
determining a first screen area of a display screen based on reference information, wherein the reference information comprises at least one of display information of the display screen and sight focusing information of a user;
Adjusting the Pulse Width Modulation (PWM) frequency of a region to be adjusted of the first screen region from a first PWM frequency to a second PWM frequency, wherein the second PWM frequency is smaller than the first PWM frequency;
And adjusting the voltage of the light-emitting circuit of the area to be adjusted based on the second PWM frequency.
2. The method of claim 1, wherein the reference information comprises display information of the display screen, the display information comprising gray scale information for each pixel in an image displayed by the display screen;
the determining a first screen area of the display screen based on the reference information comprises:
determining a pixel region formed by pixels with gray scale values being reference gray scale values in the image according to the gray scale information of each pixel in the image;
and determining that the pixel area corresponds to a screen area in the display screen as a first screen area.
3. The method of claim 1, wherein the reference information comprises line-of-sight focusing information of the user;
the determining a first screen area of the display screen based on the reference information comprises:
Determining a sight focusing area of a user in the display screen according to the sight focusing information;
And determining a screen area except the sight focusing area in the display screen as a first screen area.
4. The method of claim 1, wherein the reference information comprises display information of the display screen and line-of-sight focusing information of a user, the display information comprising gray-scale information of each pixel in an image displayed by the display screen;
the determining a first screen area of the display screen based on the reference information comprises:
according to the gray scale information of each pixel in the image, determining a pixel area with a gray scale value of the image as a reference gray scale value, and according to the sight line focusing information, determining a sight line focusing area of a user in the display screen;
And determining that the pixel region corresponds to a screen region in the display screen and a screen region except the sight line focusing region in the display screen as a first screen region.
5. The method of claim 1, wherein adjusting the voltage of the light emitting circuit of the area to be adjusted based on the second PWM frequency comprises:
adjusting the voltage of the light-emitting circuit to a rated voltage corresponding to the second PWM frequency;
wherein the rated voltage is less than the voltage of the light-emitting circuit before adjustment.
6. The method of any one of claims 1 to 5, wherein the PWM frequency of the second screen area of the display screen remains unchanged;
The second screen area is a region of interest of a user, and the first screen area is a non-region of interest.
7. The method according to any one of claims 1 to 5, wherein before the adjusting the pulse width modulation, PWM, frequency of the area to be adjusted of the first screen area from the first PWM frequency to the second PWM frequency, the method further comprises:
determining the first screen area as an area to be adjusted under the condition that a third screen area and the first screen area have no overlapping area;
In the case that the third screen area and the first screen area have an overlapping area, determining an area except for the overlapping area in the first screen area as an area to be adjusted;
wherein the third screen area is an area to be adjusted determined by adjacent one PWM frequency adjustment before the first screen area is determined.
8. A screen dimming device, comprising:
The determining module is used for determining a first screen area of the display screen based on reference information, wherein the reference information comprises at least one of display information of the display screen and sight focusing information of a user;
The adjusting module is used for adjusting the PWM frequency of the area to be adjusted of the first screen area from a first PWM frequency to a second PWM frequency, wherein the second PWM frequency is smaller than the first PWM frequency, the area to be adjusted is at least part of the screen area of the first screen area, and the voltage of the light-emitting circuit of the area to be adjusted is adjusted based on the second PWM frequency.
9. The apparatus of claim 8, wherein the reference information comprises display information of the display screen, the display information comprising gray scale information for each pixel in an image displayed by the display screen;
the determining module is specifically configured to determine, according to gray-scale information of each pixel in the image, a pixel area composed of pixels with gray-scale values being reference gray-scale values in the image, and determine, as a first screen area, a screen area corresponding to the pixel area in the display screen.
10. The apparatus of claim 8, wherein the reference information comprises line-of-sight focusing information of the user;
The determining module is specifically configured to determine a line-of-sight focusing area of a user in the display screen according to the line-of-sight focusing information, and determine a screen area except for the line-of-sight focusing area in the display screen as a first screen area.
11. The apparatus of claim 8, wherein the reference information comprises display information of the display screen and line-of-sight focusing information of a user, the display information comprising gray-scale information of each pixel in an image displayed by the display screen;
The determining module is specifically configured to determine, according to gray-scale information of each pixel in the image, a pixel area in the image, where a gray-scale value is a reference gray-scale value, determine, according to the line-of-sight focusing information, a line-of-sight focusing area of a user in the display screen, and determine, as a first screen area, the pixel area corresponding to a screen area in the display screen and a screen area in the display screen except for the line-of-sight focusing area.
12. The device according to claim 8, wherein the adjusting module is specifically configured to adjust the voltage of the light emitting circuit to a rated voltage corresponding to the second PWM frequency;
wherein the rated voltage is less than the voltage of the light-emitting circuit before adjustment.
13. The apparatus of any one of claims 8 to 12, wherein a PWM frequency of a second screen region of the display screen remains unchanged;
The second screen area is a region of interest of a user, and the first screen area is a non-region of interest.
14. The apparatus according to any one of claims 8 to 12, wherein the determining module is further configured to determine, before the adjusting module adjusts the PWM frequency of the area to be adjusted of the first screen area from a first PWM frequency to a second PWM frequency, the first screen area as the area to be adjusted if there is no overlapping area between a third screen area and the first screen area;
wherein the third screen area is an area to be adjusted determined by adjacent one PWM frequency adjustment before the first screen area is determined.
15. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the screen dimming method of any of claims 1-7.
CN202411905587.0A 2024-12-23 2024-12-23 Screen dimming method and device and electronic equipment Pending CN119446062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411905587.0A CN119446062A (en) 2024-12-23 2024-12-23 Screen dimming method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411905587.0A CN119446062A (en) 2024-12-23 2024-12-23 Screen dimming method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN119446062A true CN119446062A (en) 2025-02-14

Family

ID=94511969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411905587.0A Pending CN119446062A (en) 2024-12-23 2024-12-23 Screen dimming method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN119446062A (en)

Similar Documents

Publication Publication Date Title
CN101821795B (en) Image display
US8447363B2 (en) Mobile phone terminal, image display control method, program thereof and program recording medium
US8134549B2 (en) Image processing apparatus and method of reducing power consumption of self-luminous display
CN107295248B (en) Image display apparatus and image display method for displaying image, and storage medium
WO2014171299A1 (en) Control device, display device, and method for controlling display device
RU2656729C2 (en) Liquid crystal display method and apparatus
JP2008299145A (en) Display device and display method
CN113257162B (en) Screen brightness adjusting method and device and storage medium
JP2009134237A (en) Display device
JP2013148869A (en) Image display apparatus and control method thereof
CN112242119A (en) Terminal, display parameter control method and device, and storage medium
US20160240147A1 (en) Display control apparatus and control method thereof
CN112289278A (en) Screen brightness adjusting method, screen brightness adjusting device and electronic equipment
CN112365863A (en) Brightness adjusting method and device, display equipment and storage medium
CN112947824A (en) Display parameter adjusting method and device, electronic equipment and medium
CN113257195A (en) Ambient light detection method and apparatus, electronic device, and storage medium
US7956927B2 (en) Video signal converter and video display device
KR20160043548A (en) Image Sticking Reducing Device And Method Of Organic Light Emitting Display
CN112309321B (en) Display control method and device and storage medium
CN115691387A (en) Method for adjusting refresh frequency of display screen and electronic equipment
CN119446062A (en) Screen dimming method and device and electronic equipment
JP2010048958A (en) Image processing device, processing method therefor and image display system
CN112201191B (en) Display screen control method and device, electronic equipment and readable storage medium
CN108986753B (en) Interface display method and device
CN108831394B (en) Interface display method and 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