[go: up one dir, main page]

CN113140197B - Display screen adjusting method and device, electronic equipment and readable storage medium - Google Patents

Display screen adjusting method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113140197B
CN113140197B CN202110430567.2A CN202110430567A CN113140197B CN 113140197 B CN113140197 B CN 113140197B CN 202110430567 A CN202110430567 A CN 202110430567A CN 113140197 B CN113140197 B CN 113140197B
Authority
CN
China
Prior art keywords
display screen
current
display
brightness
color saturation
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.)
Active
Application number
CN202110430567.2A
Other languages
Chinese (zh)
Other versions
CN113140197A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110430567.2A priority Critical patent/CN113140197B/en
Publication of CN113140197A publication Critical patent/CN113140197A/en
Application granted granted Critical
Publication of CN113140197B publication Critical patent/CN113140197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • G09G2320/0646Modulation of illumination source brightness and image signal correlated to each other
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

本申请涉及一种显示画面调节方法和装置、电子设备、计算机可读存储介质,通过获取显示屏上当前显示画面的显示参数;若该显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度;基于该目标背光亮度对该显示屏的当前背光亮度进行调节;该当前背光亮度为根据环境光亮度确定的显示屏的背光亮度。基于该目标背光亮度对该显示屏根据环境光亮度确定的当前背光亮度进行调节,就可以针对不同的显示画面调节至合适的背光亮度,可以提高不同显示画面的清晰度,改善显示效果。

Figure 202110430567

The present application relates to a display screen adjustment method and device, electronic equipment, and a computer-readable storage medium. By obtaining the display parameters of the current display screen on the display screen; if the display parameters meet the preset brightness adjustment conditions, then according to the current display The display parameters of the screen determine the target backlight brightness of the display screen; the current backlight brightness of the display screen is adjusted based on the target backlight brightness; the current backlight brightness is the backlight brightness of the display screen determined according to the ambient light brightness. Based on the target backlight brightness, the current backlight brightness of the display screen determined according to the ambient light brightness is adjusted to adjust to a suitable backlight brightness for different display images, which can improve the definition of different display images and improve the display effect.

Figure 202110430567

Description

显示画面调节方法和装置、电子设备、可读存储介质Display image adjustment method and device, electronic equipment, and readable storage medium

技术领域technical field

本申请涉及计算机技术领域,特别是涉及一种显示画面调节方法和装置、电子设备、可读存储介质。The present application relates to the field of computer technology, in particular to a display screen adjustment method and device, electronic equipment, and a readable storage medium.

背景技术Background technique

电子设备上一般都设置了光线传感器,通过光线传感器可以感知环境光亮度的变化,从而,电子设备可以根据环境光亮度来对显示屏的背光亮度进行调节,以将显示屏调整至与该环境光亮度适应的背光亮度,使显示屏能够清晰地呈现显示画面。Electronic devices are generally equipped with light sensors, which can sense changes in the brightness of the ambient light, so that the electronic device can adjust the brightness of the backlight of the display screen according to the brightness of the ambient light, so as to adjust the display screen to match the brightness of the ambient light. The brightness of the backlight adapts to the brightness, so that the display screen can clearly present the display picture.

虽然在同一环境光亮度下,可以将显示屏调整至与该环境光亮度适应的背光亮度,但是在同一背光亮度的显示屏上显示不同的显示画面,所呈现出的显示效果依然是不尽相同的。例如,对于部分显示画面,所呈现出的显示效果还是不够清晰,影响用户的正常观看。Although under the same ambient light brightness, the display screen can be adjusted to the backlight brightness adapted to the ambient light brightness, but different display images are displayed on the display screen with the same backlight brightness, and the display effects presented are still not the same. of. For example, for some display screens, the displayed display effect is still not clear enough, which affects the normal viewing of the user.

发明内容Contents of the invention

本申请实施例提供了一种显示画面调节方法和装置、电子设备、可读存储介质,可以提高不同显示画面的清晰度,改善显示效果。Embodiments of the present application provide a display screen adjustment method and device, electronic equipment, and a readable storage medium, which can improve the definition of different display screens and improve display effects.

一种显示画面调节方法,所述方法包括:A method for adjusting a display screen, the method comprising:

获取显示屏上当前显示画面的显示参数;Obtain the display parameters of the current display screen on the display screen;

若所述显示参数满足预设的亮度调节条件,则根据所述当前显示画面的显示参数确定所述显示屏的目标背光亮度;If the display parameters meet the preset brightness adjustment conditions, then determine the target backlight brightness of the display screen according to the display parameters of the current display screen;

基于所述目标背光亮度对所述显示屏的当前背光亮度进行调节;所述当前背光亮度为根据环境光亮度确定的所述显示屏的背光亮度。Adjusting the current backlight brightness of the display screen based on the target backlight brightness; the current backlight brightness is the backlight brightness of the display screen determined according to ambient light brightness.

一种显示画面调节方法,所述方法包括:A method for adjusting a display screen, the method comprising:

若当前环境光亮度大于预设的环境光亮度,则获取所述当前显示画面的色彩饱和度;If the current ambient light brightness is greater than the preset ambient light brightness, then obtain the color saturation of the currently displayed image;

判断所述当前显示画面的色彩饱和度是否小于预设饱和度阈值;judging whether the color saturation of the currently displayed image is less than a preset saturation threshold;

若是,则基于所述当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节。If so, adjust the color saturation of the display picture at the next moment based on the current ambient light brightness.

一种显示画面调节装置,所述装置包括:A display screen adjustment device, the device comprising:

显示参数获取模块,用于获取显示屏上当前显示画面的显示参数;A display parameter acquisition module, configured to acquire the display parameters of the current display screen on the display screen;

目标背光亮度确定模块,用于若所述显示参数满足预设的亮度调节条件,则根据所述当前显示画面的显示参数确定所述显示屏的目标背光亮度;A target backlight brightness determination module, configured to determine the target backlight brightness of the display screen according to the display parameters of the current display screen if the display parameters meet the preset brightness adjustment conditions;

调节模块,用于基于所述目标背光亮度对所述显示屏的当前背光亮度进行调节;所述当前背光亮度为根据环境光亮度确定的所述显示屏的背光亮度。An adjustment module, configured to adjust the current backlight brightness of the display screen based on the target backlight brightness; the current backlight brightness is the backlight brightness of the display screen determined according to ambient light brightness.

一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如上所述的显示画面调节方法的步骤。An electronic device includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is made to execute the steps of the method for adjusting a display screen as described above.

一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的显示画面调节方法的步骤。A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned method for adjusting a display screen are realized.

本申请中的该显示画面调节方法和装置、电子设备、计算机可读存储介质,通过获取显示屏上当前显示画面的显示参数;若该显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度;基于该目标背光亮度对该显示屏的当前背光亮度进行调节;该当前背光亮度为根据环境光亮度确定的显示屏的背光亮度。The display screen adjustment method and device, electronic equipment, and computer-readable storage medium in this application obtain the display parameters of the current display screen on the display screen; if the display parameters meet the preset brightness adjustment conditions, then according to the current display The display parameters of the screen determine the target backlight brightness of the display screen; the current backlight brightness of the display screen is adjusted based on the target backlight brightness; the current backlight brightness is the backlight brightness of the display screen determined according to the ambient light brightness.

通过本申请中的显示画面调节方法,针对显示屏上显示不同显示画面的情况,获取显示屏上当前显示画面的显示参数,判断显示参数是否满足预设的亮度调节条件。若显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度。如此,则所确定的目标背光亮度就能够与当前显示画面的显示参数相互对应。最后,基于该目标背光亮度对该显示屏根据环境光亮度确定的当前背光亮度进行调节,就可以针对不同的显示画面调节至合适的背光亮度,可以提高不同显示画面的清晰度,改善显示效果。Through the display screen adjustment method in the present application, the display parameters of the current display screen on the display screen are obtained for different display screens displayed on the display screen, and it is judged whether the display parameters meet the preset brightness adjustment conditions. If the display parameter satisfies the preset brightness adjustment condition, the target backlight brightness of the display screen is determined according to the display parameter of the currently displayed image. In this way, the determined target backlight brightness can correspond to the display parameters of the current display screen. Finally, based on the target backlight brightness, the current backlight brightness of the display screen determined according to the ambient light brightness is adjusted to adjust to a suitable backlight brightness for different display images, which can improve the definition of different display images and improve the display effect.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为一个实施例中显示画面调节方法的应用环境图;Fig. 1 is an application environment diagram of a display screen adjustment method in an embodiment;

图2为一个实施例中显示画面调节方法的流程图;Fig. 2 is a flowchart of a display screen adjustment method in one embodiment;

图3为另一个实施例中显示画面调节方法的流程图;Fig. 3 is a flowchart of a method for adjusting a display screen in another embodiment;

图4为再一个实施例中显示画面调节方法的流程图;Fig. 4 is a flow chart of a method for adjusting a display screen in yet another embodiment;

图5为图4中基于该当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节方法的流程图;FIG. 5 is a flowchart of a method for adjusting color saturation of a display screen at a next moment based on the current ambient light brightness in FIG. 4;

图6为图2中在该获取显示屏上当前显示画面的显示参数之前,自动背光调节方法的流程图;FIG. 6 is a flow chart of the automatic backlight adjustment method before acquiring the display parameters of the current display screen on the display screen in FIG. 2;

图7为又一个实施例中显示画面调节方法的流程图;Fig. 7 is a flow chart of a display screen adjustment method in yet another embodiment;

图8为一个具体的实施例中显示画面调节方法的流程图;FIG. 8 is a flow chart of a method for adjusting a display screen in a specific embodiment;

图9为一个实施例中显示画面调节装置的结构框图;Fig. 9 is a structural block diagram of a display screen adjustment device in an embodiment;

图10为另一个实施例中显示画面调节装置的结构框图;Fig. 10 is a structural block diagram of a display screen adjustment device in another embodiment;

图11为再一个实施例中显示画面调节装置的结构框图;Fig. 11 is a structural block diagram of a display screen adjusting device in yet another embodiment;

图12为又一个实施例中显示画面调节装置的结构框图;Fig. 12 is a structural block diagram of a display screen adjusting device in yet another embodiment;

图13为一个实施例中电子设备的内部结构示意图。Fig. 13 is a schematic diagram of the internal structure of an electronic device in one embodiment.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

随着智能终端技术的不断发展,电子设备上的背光亮度能够随着环境光亮度进行调节。具体的,电子设备依据环境光亮度与背光亮度的背光调节曲线,对显示屏进行背光亮度调节。一般情况下,背光调节曲线都是基于当前显示画面为白画面(换言之,当前显示画面的灰度值为255),来调试得到背光调节曲线。即无论电子设备上显示任何显示画面,只要环境光亮度不变,则电子设备基于背光调节曲线调节后的显示屏均处于同一背光亮度。因此,若在同一环境光亮度下,即此时显示屏在同一背光亮度下,显示屏上显示不同显示参数的显示画面时,对于部分显示参数下的显示画面,所呈现出的显示效果还是不够清晰,影响用户的正常观看。With the continuous development of smart terminal technology, the brightness of the backlight on the electronic device can be adjusted according to the brightness of the ambient light. Specifically, the electronic device adjusts the backlight brightness of the display screen according to the backlight adjustment curve between the ambient light brightness and the backlight brightness. Generally, the backlight adjustment curve is obtained through debugging based on the fact that the current display image is a white image (in other words, the gray value of the current display image is 255). That is, no matter what display screen is displayed on the electronic device, as long as the brightness of the ambient light remains unchanged, the display screen of the electronic device adjusted based on the backlight adjustment curve is at the same brightness of the backlight. Therefore, if the display screen displays different display parameters under the same ambient light brightness, that is, the display screen is under the same backlight brightness at this time, the display effect of the display screen under some display parameters is not enough. Clear, affecting the normal viewing of the user.

因此,为了解决这个问题,本申请实施例中提出了一种显示画面调节方法,针对显示屏上显示不同显示画面的情况,获取显示屏上当前显示画面的显示参数,判断显示参数是否满足预设的亮度调节条件。若显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度。如此,则所确定的目标背光亮度就能够与当前显示画面的显示参数相互对应。最后,基于该目标背光亮度对该显示屏根据环境光亮度确定的当前背光亮度进行调节,就可以针对不同的显示画面调节至合适的背光亮度,可以提高不同显示画面的清晰度,改善显示效果。Therefore, in order to solve this problem, a display screen adjustment method is proposed in the embodiment of the present application, aiming at the situation that different display screens are displayed on the display screen, the display parameters of the current display screen on the display screen are obtained, and it is judged whether the display parameters meet the preset requirements. brightness adjustment conditions. If the display parameter satisfies the preset brightness adjustment condition, the target backlight brightness of the display screen is determined according to the display parameter of the currently displayed image. In this way, the determined target backlight brightness can correspond to the display parameters of the current display screen. Finally, based on the target backlight brightness, the current backlight brightness of the display screen determined according to the ambient light brightness is adjusted to adjust to a suitable backlight brightness for different display images, which can improve the definition of different display images and improve the display effect.

图1为一个实施例中显示画面调节方法的应用场景图。如图1所示,该应用环境包括电子设备120,该电子设备120获取显示屏上当前显示画面的显示参数;若该显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度;基于该目标背光亮度对该显示屏的当前背光亮度进行调节;该当前背光亮度为根据环境光亮度确定的显示屏的背光亮度。这里,电子设备120可以是手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、穿戴式设备(智能手环、智能手表、智能眼镜、智能手套、智能袜子、智能腰带等)、智能家居等任意终端设备。Fig. 1 is an application scene diagram of a method for adjusting a display screen in an embodiment. As shown in Figure 1, the application environment includes an electronic device 120, the electronic device 120 obtains the display parameters of the current display screen on the display screen; if the display parameters meet the preset brightness adjustment conditions, then according to the display parameters of the current display screen Determine the target backlight brightness of the display screen; adjust the current backlight brightness of the display screen based on the target backlight brightness; the current backlight brightness is the backlight brightness of the display screen determined according to the ambient light brightness. Here, the electronic device 120 may be a mobile phone, a tablet computer, a PDA (Personal Digital Assistant, a personal digital assistant), a wearable device (smart bracelet, smart watch, smart glasses, smart gloves, smart socks, smart belt, etc.), a smart home and other terminal equipment.

图2为一个实施例中显示画面调节方法的流程图。本实施例中的显示画面调节方法,以运行于图1中的电子设备120上为例进行描述。该显示画面调节方法包括:Fig. 2 is a flow chart of a method for adjusting a display screen in an embodiment. The method for adjusting the display screen in this embodiment is described by taking the electronic device 120 running on the electronic device 120 in FIG. 1 as an example. The display screen adjustment method includes:

步骤202,获取显示屏上当前显示画面的显示参数。Step 202, acquiring the display parameters of the currently displayed image on the display screen.

其中,当前显示画面的显示参数包括在不同颜色空间的显示参数。具体可以是RGB(red,green,blue)颜色空间、HSV(hue,saturation,value)颜色空间或YUV颜色空间的显示参数,本申请对此不做限定。其中,HSV颜色空间中HSV(hue,saturation,value)分别表示色相、饱和度和亮度;YUV颜色空间中“Y”表示明亮度(Luminance、Luma),“U”则表示是色度,“V”则表示是浓度。Wherein, the display parameters of the currently displayed image include display parameters in different color spaces. Specifically, it may be a display parameter of RGB (red, green, blue) color space, HSV (hue, saturation, value) color space or YUV color space, which is not limited in this application. Among them, HSV (hue, saturation, value) in HSV color space represents hue, saturation and brightness respectively; in YUV color space, "Y" represents brightness (Luminance, Luma), "U" represents chroma, and "V " means concentration.

电子设备获取显示屏上当前显示画面的显示参数,则具体可以获取当前显示画面在RGB颜色空间的RGB值,或可以获取当前显示画面在HSV颜色空间的色相、饱和度和亮度中的至少一个,或可以获取当前显示画面在YUV颜色空间的明亮度、色度、浓度中的至少一个。The electronic device obtains the display parameters of the current display screen on the display screen, and specifically can obtain the RGB value of the current display screen in the RGB color space, or can obtain at least one of the hue, saturation, and brightness of the current display screen in the HSV color space, Or at least one of the brightness, chroma, and concentration of the current display image in the YUV color space may be obtained.

步骤204,若该显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度。Step 204, if the display parameter satisfies the preset brightness adjustment condition, then determine the target backlight brightness of the display screen according to the display parameter of the currently displayed image.

电子设备在获取显示屏上当前显示画面的显示参数之后,判断显示参数是否满足预设的亮度调节条件。若该显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度。After acquiring the display parameters of the currently displayed image on the display screen, the electronic device judges whether the display parameters meet a preset brightness adjustment condition. If the display parameter satisfies the preset brightness adjustment condition, the target backlight brightness of the display screen is determined according to the display parameter of the currently displayed image.

这里的亮度调节条件,指的是判断显示参数是否低于预设显示参数阈值。其中,针对某个显示参数的预设显示参数阈值,是基于在同一背光亮度下,若显示屏的显示参数低于某个参数阈值,则所呈现出的显示效果不够清晰,影响用户的正常观看。因此,将该参数阈值设置为该显示参数的预设显示参数阈值。且针对不同的显示参数,其所对应的预设显示参数阈值可以相同,也可以不同,本申请对此不做限定。The brightness adjustment condition here refers to judging whether the display parameter is lower than the preset display parameter threshold. Among them, the preset display parameter threshold for a certain display parameter is based on the fact that under the same backlight brightness, if the display parameter of the display screen is lower than a certain parameter threshold, the displayed display effect is not clear enough, which affects the normal viewing of the user. . Therefore, the parameter threshold is set as the preset display parameter threshold of the display parameter. And for different display parameters, the corresponding preset display parameter thresholds may be the same or different, which is not limited in this application.

具体的,若该显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度。因为显示参数满足了预设的亮度调节条件,则说明显示屏上当前显示画面在当前背光亮度下的显示效果不满足用户要求。因此,就需要对显示屏的背光亮度进行调节,具体可以基于当前显示画面的显示参数针对性地确定该显示屏的目标背光亮度。Specifically, if the display parameter satisfies the preset brightness adjustment condition, the target backlight brightness of the display screen is determined according to the display parameter of the currently displayed image. Because the display parameter satisfies the preset brightness adjustment condition, it means that the display effect of the currently displayed picture on the display screen under the current backlight brightness does not meet the user's requirements. Therefore, it is necessary to adjust the backlight brightness of the display screen. Specifically, the target backlight brightness of the display screen can be specifically determined based on the display parameters of the current display screen.

步骤206,基于该目标背光亮度对该显示屏的当前背光亮度进行调节;该当前背光亮度为根据环境光亮度确定的显示屏的背光亮度。Step 206, adjust the current backlight brightness of the display screen based on the target backlight brightness; the current backlight brightness is the backlight brightness of the display screen determined according to the ambient light brightness.

电子设备在根据当前显示画面的显示参数针对性地确定该显示屏的目标背光亮度之后,就可以基于该目标背光亮度对该显示屏的当前背光亮度进行调节。具体可以是基于该目标背光亮度提升该显示屏的当前背光亮度。其中,显示屏的当前背光亮度可以是电子设备上预设的固定背光亮度,也可以是电子设备根据环境光亮度自动确定的背光亮度,本申请对此不做限定。After the electronic device specifically determines the target backlight brightness of the display screen according to the display parameters of the current display screen, it can adjust the current backlight brightness of the display screen based on the target backlight brightness. Specifically, the current backlight brightness of the display screen may be increased based on the target backlight brightness. Wherein, the current backlight brightness of the display screen may be a preset fixed backlight brightness on the electronic device, or a backlight brightness automatically determined by the electronic device according to ambient light brightness, which is not limited in this application.

本申请实施例中,针对显示屏上显示不同显示画面的情况,获取显示屏上当前显示画面的显示参数,判断显示参数是否满足预设的亮度调节条件。若显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度。如此,则所确定的目标背光亮度就能够与当前显示画面的显示参数相互对应。最后,基于该目标背光亮度对该显示屏根据环境光亮度确定的当前背光亮度进行调节,就可以针对不同的显示画面调节至合适的背光亮度,可以提高不同显示画面的清晰度,改善显示效果。In the embodiment of the present application, for the case where different display pictures are displayed on the display screen, the display parameters of the current display picture on the display screen are obtained, and it is judged whether the display parameters meet the preset brightness adjustment conditions. If the display parameter satisfies the preset brightness adjustment condition, the target backlight brightness of the display screen is determined according to the display parameter of the currently displayed image. In this way, the determined target backlight brightness can correspond to the display parameters of the current display screen. Finally, based on the target backlight brightness, the current backlight brightness of the display screen determined according to the ambient light brightness is adjusted to adjust to a suitable backlight brightness for different display images, which can improve the definition of different display images and improve the display effect.

在一个实施例中,该显示参数包括灰度值;该获取显示屏上当前显示画面的显示参数,包括:In one embodiment, the display parameters include grayscale values; the acquisition of display parameters of the currently displayed picture on the display screen includes:

对该显示屏上当前显示画面进行截图,得到该当前显示画面对应的目标图像;Taking a screenshot of the current display screen on the display screen to obtain a target image corresponding to the current display screen;

对该目标图像进行灰度值识别,得到该当前显示画面的灰度值。The gray value of the target image is identified to obtain the gray value of the currently displayed image.

具体的,若显示参数包括灰度值,则电子设备获取显示屏上当前显示画面的显示参数时,首先,对该显示屏上当前显示画面进行截图,得到该当前显示画面对应的目标图像。采用截图的方式可以快速得到当前显示画面对应的目标图像,因为目标图像与当前显示画面具有相同的显示参数,因此后续对目标图像进行识别就实现了对当前显示画面进行识别的效果。且对目标图像进行灰度值识别,仅需要采用相应的软件识别算法就可以实现,不需要额外增加硬件设备。Specifically, if the display parameters include grayscale values, when the electronic device obtains the display parameters of the current display screen on the display screen, first, it takes a screenshot of the current display screen on the display screen to obtain a target image corresponding to the current display screen. The target image corresponding to the current display screen can be quickly obtained by taking a screenshot, because the target image has the same display parameters as the current display screen, so subsequent recognition of the target image achieves the effect of recognizing the current display screen. And the gray value recognition of the target image can be realized only by using the corresponding software recognition algorithm, without additional hardware equipment.

其次,再对目标图像进行灰度值识别,得到该当前显示画面的灰度值。在对目标图像进行灰度值识别时,具体可以先对目标图像进行识别得到目标图像在RGB颜色空间的RGB值。在基于目标图像在RGB颜色空间的RGB值,计算得到目标图像的灰度值,最后,基于目标图像的灰度值得到当前显示画面的灰度值。Secondly, the gray value of the target image is identified to obtain the gray value of the currently displayed image. When identifying the gray value of the target image, specifically, the target image may be firstly identified to obtain the RGB values of the target image in the RGB color space. Based on the RGB value of the target image in the RGB color space, the gray value of the target image is calculated, and finally, the gray value of the current display screen is obtained based on the gray value of the target image.

本申请实施例中,在该获取显示屏上当前显示画面的显示参数时,包括:对该显示屏上当前显示画面进行截图,得到该当前显示画面对应的目标图像;对该目标图像进行灰度值识别,得到该当前显示画面的灰度值。采用截图的方式可以快速得到当前显示画面对应的目标图像,因为目标图像与当前显示画面具有相同的显示参数,因此后续对目标图像进行识别就实现了对当前显示画面进行识别的效果。且对目标图像进行灰度值识别,仅需要采用相应的软件识别算法就可以实现,不需要额外增加硬件设备。方便后续判断显示参数是否满足预设的亮度调节条件。若显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度,进而进行背光调节。从而,提高了显示画面调节方法的效率,降低了成本。In the embodiment of the present application, when acquiring the display parameters of the current display screen on the display screen, it includes: taking a screenshot of the current display screen on the display screen to obtain the target image corresponding to the current display screen; Value identification to get the gray value of the current display screen. The target image corresponding to the current display screen can be quickly obtained by taking a screenshot, because the target image has the same display parameters as the current display screen, so subsequent recognition of the target image achieves the effect of recognizing the current display screen. And the gray value recognition of the target image can be realized only by using the corresponding software recognition algorithm, without additional hardware equipment. It is convenient to subsequently judge whether the display parameters meet the preset brightness adjustment conditions. If the display parameters meet the preset brightness adjustment conditions, the target backlight brightness of the display screen is determined according to the display parameters of the current display screen, and then the backlight adjustment is performed. Therefore, the efficiency of the method for adjusting the display screen is improved, and the cost is reduced.

在一个实施例中,该对该目标图像进行灰度值识别,得到该当前显示画面的灰度值,包括:In one embodiment, the gray value identification of the target image is performed to obtain the gray value of the currently displayed image, including:

对该目标图像进行灰度值识别,得到该目标图像的每个像素点的灰度值;Carrying out the gray value identification of the target image to obtain the gray value of each pixel of the target image;

获取该目标图像上所有像素点的灰度值的平均值,作为该当前显示画面的灰度值。The average value of grayscale values of all pixels on the target image is obtained as the grayscale value of the currently displayed image.

具体的,对该显示屏上当前显示画面进行截图,得到该当前显示画面对应的目标图像。在对该目标图像进行灰度值识别,得到该当前显示画面的灰度值时,包括对该目标图像进行灰度值识别,得到该目标图像的每个像素点的灰度值;获取该目标图像上所有像素点的灰度值的平均值,作为该当前显示画面的灰度值Gray。Specifically, a screenshot is taken of the current display screen on the display screen to obtain a target image corresponding to the current display screen. When performing grayscale value identification on the target image to obtain the grayscale value of the current display screen, it includes performing grayscale value identification on the target image to obtain the grayscale value of each pixel of the target image; obtaining the target image The average value of the gray values of all pixels on the image is used as the gray value Gray of the currently displayed image.

其中,在对目标图像进行灰度值识别时,具体可以先对目标图像进行识别得到目标图像的每个像素点在RGB颜色空间的RGB值。再对每个像素点的RGB值计算该像素点的灰度值。最后,计算目标图像上所有像素点的灰度值的平均值,作为该当前显示画面的灰度值。Wherein, when performing gray value recognition on the target image, specifically, the target image may be firstly recognized to obtain the RGB value of each pixel of the target image in the RGB color space. Then calculate the gray value of the pixel for the RGB value of each pixel. Finally, the average value of the gray values of all pixels on the target image is calculated as the gray value of the currently displayed image.

本申请实施例中,在对该目标图像进行灰度值识别,得到该当前显示画面的灰度值时,包括对该目标图像进行灰度值识别,得到该目标图像的每个像素点的灰度值;获取该目标图像上所有像素点的灰度值的平均值,作为该当前显示画面的灰度值。对目标图像进行灰度值识别,仅需要采用相应的软件识别算法就可以实现,不需要额外增加硬件设备。方便后续判断显示参数是否满足预设的亮度调节条件。若显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度,进而进行背光调节。从而,提高了显示画面调节方法的效率,降低了成本。In the embodiment of the present application, when performing grayscale value recognition on the target image to obtain the grayscale value of the current display screen, it includes performing grayscale value recognition on the target image to obtain the grayscale value of each pixel of the target image. grayscale value; obtain the average value of the grayscale values of all pixels on the target image as the grayscale value of the current display screen. The gray value recognition of the target image can be realized only by using the corresponding software recognition algorithm, without additional hardware equipment. It is convenient to subsequently judge whether the display parameters meet the preset brightness adjustment conditions. If the display parameters meet the preset brightness adjustment conditions, the target backlight brightness of the display screen is determined according to the display parameters of the current display screen, and then the backlight adjustment is performed. Therefore, the efficiency of the method for adjusting the display screen is improved, and the cost is reduced.

在一个实施例中,步骤202,该若该显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度,包括:In one embodiment, step 202, if the display parameters meet the preset brightness adjustment conditions, then determine the target backlight brightness of the display screen according to the display parameters of the current display screen, including:

若该当前显示画面的灰度值小于预设灰度值阈值,则根据该当前显示画面的灰度值计算调节参数;If the gray value of the currently displayed image is less than the preset gray value threshold, then calculate the adjustment parameter according to the gray value of the currently displayed image;

基于该调节参数及该显示屏的当前背光亮度,确定该显示屏的目标背光亮度。Based on the adjustment parameter and the current backlight brightness of the display screen, the target backlight brightness of the display screen is determined.

具体的,判断当前显示画面的灰度值是否小于预设灰度值阈值,若该当前显示画面的灰度值小于预设灰度值阈值,则根据该当前显示画面的灰度值计算调节参数。其中,调节参数可以是调节值或调节比例,本申请对此不做限定。由于背光调节曲线都是基于当前显示画面的灰度值为255,来调试得到背光调节曲线。因此,在同一背光亮度下显示不同的显示画面,则显然用户所看到的显示效果是不尽相同的。尤其是在当前显示画面的灰度值远低于255时,则用户在当前背光亮度下可能已经不能清楚地看到当前显示画面了。Specifically, it is judged whether the grayscale value of the currently displayed picture is less than the preset grayscale value threshold, and if the grayscale value of the currently displayed picture is less than the preset grayscale value threshold, the adjustment parameter is calculated according to the grayscale value of the currently displayed picture . Wherein, the adjustment parameter may be an adjustment value or an adjustment ratio, which is not limited in this application. Since the backlight adjustment curves are all based on the gray value of the current display screen being 255, the backlight adjustment curves are obtained through debugging. Therefore, if different display images are displayed under the same backlight brightness, it is obvious that the display effects seen by the user are not the same. Especially when the grayscale value of the currently displayed image is much lower than 255, the user may not be able to clearly see the currently displayed image under the current backlight brightness.

因此,设置预设灰度值阈值,该预设灰度值阈值可以基于多次实验所得。具体的,在不同的背光亮度下用户所能够看清楚的显示画面的灰度值阈值可以是不同的。例如,在高背光亮度下,所设置的灰度值阈值较低;相应的,在低背光亮度下,所设置的灰度值阈值较高。Therefore, a preset gray value threshold is set, and the preset gray value threshold may be obtained based on multiple experiments. Specifically, under different backlight brightnesses, the grayscale value thresholds of the displayed images that the user can see clearly may be different. For example, under high backlight brightness, the set gray value threshold is relatively low; correspondingly, under low back light brightness, the set gray value threshold is high.

在一种情况下,若此时的当前背光亮度为400nit,在该背光亮度下的预设灰度值阈值为200。那么,判断当前显示画面的灰度值是否小于200,若是则根据该当前显示画面的灰度值计算调节比例,并基于该调节比例及该显示屏的当前背光亮度,确定该显示屏的目标背光亮度。In one case, if the current backlight brightness at this time is 400 nit, the preset grayscale value threshold under the backlight brightness is 200. Then, judge whether the grayscale value of the current display screen is less than 200, if so, calculate the adjustment ratio according to the grayscale value of the current display screen, and determine the target backlight of the display screen based on the adjustment ratio and the current backlight brightness of the display screen brightness.

其中,根据该当前显示画面的灰度值计算调节比例rate,例如,rate=1-Gray/255。其中,Gray为当前显示画面的灰度值。例如,若当前显示画面的灰度值为180,则此时的rate=1-180/255约等于0.3。且规定了基于灰度值进行背光亮度调节的调节比例不能超过0.5。因此,此时所计算出的调节比例就是0.3。然后,就可以基于该调节比例及该显示屏的当前背光亮度,确定该显示屏的目标背光亮度。例如,目标背光亮度=当前背光亮度*(1+0.3),即目标背光亮度=400nit*(1+0.3)=520nit。若所计算出的调节比例超过了0.5,则因为规定了基于灰度值进行背光亮度调节的调节比例不能超过0.5,所以最大的调节比例也只能是0.5。Wherein, the adjustment ratio rate is calculated according to the gray value of the currently displayed picture, for example, rate=1-Gray/255. Wherein, Gray is the gray value of the currently displayed image. For example, if the grayscale value of the currently displayed image is 180, then rate=1-180/255 at this time is approximately equal to 0.3. And it stipulates that the adjustment ratio of the backlight brightness adjustment based on the gray value cannot exceed 0.5. Therefore, the adjusted adjustment ratio calculated at this time is 0.3. Then, based on the adjustment ratio and the current backlight brightness of the display screen, the target backlight brightness of the display screen can be determined. For example, target backlight brightness=current backlight brightness*(1+0.3), that is, target backlight brightness=400nit*(1+0.3)=520nit. If the calculated adjustment ratio exceeds 0.5, the maximum adjustment ratio can only be 0.5 because it is stipulated that the adjustment ratio for adjusting the brightness of the backlight based on the gray value cannot exceed 0.5.

在另一种情况下,在进行了根据该当前显示画面的灰度值计算调节比例,并基于该调节比例及该显示屏的当前背光亮度,确定该显示屏的目标背光亮度对显示屏进行背光亮度调节之后。在环境光不变的前提下,对后续的显示画面进行背光调节时,不仅需要判断当前显示画面的灰度值是否小于预设灰度值阈值,还需要进一步判断当前显示画面的灰度值与该当前显示画面之前预设数目帧显示画面的灰度值平均值的差值,是否小于预设差值阈值。或进一步判断当前显示画面的灰度值与该当前显示画面之前预设数目帧显示画面的灰度值平均值的变化幅度,是否小于预设变化幅度阈值。若是,则可以暂时不对当前显示画面的背光亮度进行调节。因为若当前显示画面的灰度值小于预设差值阈值,则说明当前显示画面的灰度值相较之前的显示画面变化不大,则可以不进行背光亮度调节,以在保证当前显示画面的显示效果的同时,避免频繁地调节背光亮度导致系统资源的浪费。这里的预设数目,可以不做具体限定。In another case, after the adjustment ratio is calculated according to the grayscale value of the current display screen, and based on the adjustment ratio and the current backlight brightness of the display screen, the target backlight brightness of the display screen is determined to backlight the display screen. After brightness adjustment. Under the premise that the ambient light remains unchanged, when adjusting the backlight of the subsequent display screen, it is not only necessary to judge whether the gray value of the current display screen is less than the preset gray value threshold, but also to further judge the gray value of the current display screen. Whether the difference between the gray value average values of the preset number of frame display screens before the current display screen is smaller than the preset difference threshold. Or it is further determined whether the change range between the gray value of the current display picture and the gray value average value of the preset number of frame display pictures before the current display picture is smaller than a preset change range threshold. If yes, the brightness of the backlight of the currently displayed image may not be adjusted temporarily. Because if the grayscale value of the currently displayed image is less than the preset difference threshold, it means that the grayscale value of the currently displayed image does not change much compared with the previous displayed image, so the adjustment of the backlight brightness may not be performed to ensure the brightness of the currently displayed image. While displaying the effect, avoid frequently adjusting the brightness of the backlight to cause waste of system resources. The preset number here may not be specifically limited.

如图3所示,提供了一种显示画面调节方法,包括:As shown in Figure 3, a display screen adjustment method is provided, including:

步骤302,对该显示屏上当前显示画面进行截图,得到该当前显示画面对应的目标图像;Step 302, taking a screenshot of the current display screen on the display screen to obtain a target image corresponding to the current display screen;

步骤304,对该目标图像进行灰度值识别,得到该目标图像的每个像素点的灰度值;Step 304, performing gray value identification on the target image to obtain the gray value of each pixel of the target image;

步骤306,获取该目标图像上所有像素点的灰度值的平均值,作为该当前显示画面的灰度值;Step 306, obtaining the average value of the grayscale values of all pixels on the target image as the grayscale value of the current display image;

步骤308,判断当前显示画面的灰度值是否小于预设灰度值阈值;若是,则进入步骤310;若否,则进入步骤316;Step 308, judging whether the gray value of the currently displayed image is less than the preset gray value threshold; if so, proceed to step 310; if not, proceed to step 316;

步骤310,根据该当前显示画面的灰度值计算调节参数;Step 310, calculating adjustment parameters according to the gray value of the currently displayed image;

步骤312,基于该调节参数及该显示屏的当前背光亮度,确定该显示屏的目标背光亮度;Step 312, based on the adjustment parameter and the current backlight brightness of the display screen, determine the target backlight brightness of the display screen;

步骤314,基于该目标背光亮度对该显示屏的当前背光亮度进行调节。Step 314, adjusting the current backlight brightness of the display screen based on the target backlight brightness.

步骤316,保持显示屏的当前背光亮度。Step 316, maintaining the current backlight brightness of the display screen.

本申请实施例中,在根据该当前显示画面的显示参数确定该显示屏的目标背光亮度时,包括:若该当前显示画面的灰度值小于预设灰度值阈值,则根据该当前显示画面的灰度值计算调节参数;基于该调节参数及该显示屏的当前背光亮度,确定该显示屏的目标背光亮度。由于背光调节曲线都是基于当前显示画面的灰度值为255,来调试得到背光调节曲线。因此,在同一背光亮度下显示不同的显示画面,则显然用户所看到的显示效果是不尽相同的。尤其是在当前显示画面的灰度值远低于255时,则用户在当前背光亮度下可能已经不能清楚地看到当前显示画面了。所以在基于当前显示画面的显示参数调节背光亮度时,在当前显示画面的灰度值小于预设灰度值阈值的条件下进行背光亮度调节。就可以实现针对不同显示参数的显示画面调节至合适的背光亮度,可以提高不同显示画面的清晰度,改善显示效果。反之,则不进行背光亮度调节,也可以降低系统资源的消耗。In the embodiment of the present application, when determining the target backlight brightness of the display screen according to the display parameters of the current display screen, it includes: if the gray value of the current display screen is less than the preset gray value threshold, Calculating an adjustment parameter based on the gray value of the gray value; determining the target backlight brightness of the display screen based on the adjustment parameter and the current backlight brightness of the display screen. Since the backlight adjustment curves are all based on the gray value of the current display screen being 255, the backlight adjustment curves are obtained through debugging. Therefore, if different display images are displayed under the same backlight brightness, it is obvious that the display effects seen by the user are not the same. Especially when the grayscale value of the currently displayed image is much lower than 255, the user may not be able to clearly see the currently displayed image under the current backlight brightness. Therefore, when adjusting the brightness of the backlight based on the display parameters of the currently displayed image, the adjustment of the brightness of the backlight is performed under the condition that the grayscale value of the currently displayed image is smaller than the preset grayscale value threshold. It can be realized that the display screens of different display parameters can be adjusted to a suitable backlight brightness, and the definition of different display screens can be improved, and the display effect can be improved. On the contrary, without adjusting the brightness of the backlight, the consumption of system resources can also be reduced.

在一个实施例中,如图4所示,提供了一种显示画面调节方法,包括:In one embodiment, as shown in FIG. 4 , a method for adjusting a display screen is provided, including:

步骤202,获取显示屏上当前显示画面的显示参数;Step 202, obtaining the display parameters of the current display screen on the display screen;

步骤204,若该显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度;Step 204, if the display parameters meet the preset brightness adjustment conditions, then determine the target backlight brightness of the display screen according to the display parameters of the current display screen;

步骤206,基于该目标背光亮度对该显示屏的当前背光亮度进行调节;该方法还包括:Step 206, adjust the current backlight brightness of the display screen based on the target backlight brightness; the method also includes:

步骤208,若当前环境光亮度大于预设的环境光亮度,则获取该当前显示画面的色彩饱和度。Step 208, if the current ambient light brightness is greater than the preset ambient light brightness, obtain the color saturation of the currently displayed image.

首先,获取显示屏上当前显示画面的显示参数,若该显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度。基于该目标背光亮度对该显示屏的当前背光亮度进行调节。其次,该实施例还针对当前环境光亮度大于预设的环境光亮度的情况,基于该当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节。Firstly, the display parameters of the currently displayed picture on the display screen are obtained, and if the display parameters meet the preset brightness adjustment conditions, then the target backlight brightness of the display screen is determined according to the display parameters of the currently displayed picture. The current backlight brightness of the display screen is adjusted based on the target backlight brightness. Secondly, in this embodiment, for the situation that the current ambient light brightness is greater than the preset ambient light brightness, the color saturation of the display picture at the next moment is adjusted based on the current ambient light brightness.

具体的,针对当前环境光亮度大于预设的环境光亮度的情况,基于该当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节。首先,判断当前环境光亮度是否大于预设的环境光亮度。这里,预设的环境光亮度指的是高亮模式下的环境光亮度(High-brightness-Model,HBM),一般包括高于10000lux的环境光亮度。一般用户在户外的阳光下才会出现这种环境光亮度,此时由于太阳光的光照和反射等影响,电子设备上的显示画面的色彩饱和度会相对偏低,影响用户的观看效果。Specifically, for the situation that the current ambient light brightness is greater than the preset ambient light brightness, the color saturation of the display picture at the next moment is adjusted based on the current ambient light brightness. First, it is judged whether the current ambient light brightness is greater than the preset ambient light brightness. Here, the preset ambient light brightness refers to the ambient light brightness (High-brightness-Model, HBM) in the high-brightness mode, which generally includes the ambient light brightness higher than 10000 lux. Generally, such ambient brightness will appear when the user is outdoors under the sunlight. At this time, due to the influence of sunlight and reflection, the color saturation of the display screen on the electronic device will be relatively low, which will affect the viewing effect of the user.

其次,若当前环境光亮度大于预设的环境光亮度,则获取该当前显示画面的色彩饱和度。其中,色彩饱和度是在HSV(hue,saturation,value)颜色空间下的一个显示参数,也简称为饱和度。饱和度S(saturation)表示颜色接近光谱色的程度。一种颜色,可以看成是某种光谱色与白色混合的结果。其中光谱色所占的比例愈大,颜色接近光谱色的程度就愈高,颜色的饱和度也就愈高。饱和度高,颜色则深而艳。光谱色的白光成分为0,饱和度达到最高。饱和度S通常取值范围为0%~100%,饱和度S值越大,则颜色越饱和。Secondly, if the current ambient light brightness is greater than the preset ambient light brightness, the color saturation of the currently displayed image is obtained. Wherein, the color saturation is a display parameter in the HSV (hue, saturation, value) color space, also referred to as saturation. Saturation S (saturation) indicates how close a color is to a spectral color. A color that can be seen as the result of mixing a certain spectral color with white. Among them, the larger the proportion of spectral color, the higher the degree of color close to spectral color, and the higher the saturation of color. The saturation is high, and the color is deep and vivid. The white light component of the spectral color is 0, and the saturation reaches the highest. The saturation S usually ranges from 0% to 100%, and the larger the value of the saturation S is, the more saturated the color is.

在获取该当前显示画面的色彩饱和度时,可以获取该整个当前显示画面的平均色彩饱和度。When obtaining the color saturation of the currently displayed image, an average color saturation of the entire currently displayed image may be obtained.

步骤210,判断该当前显示画面的色彩饱和度是否小于预设饱和度阈值。若是,则进入步骤212,若否,则进入步骤214;Step 210, judging whether the color saturation of the currently displayed image is smaller than a preset saturation threshold. If so, then enter step 212, if not, then enter step 214;

步骤212,基于该当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节。Step 212 , adjust the color saturation of the display picture at the next moment based on the current ambient light brightness.

步骤214,针对下一时刻的显示画面保持原始色彩饱和度。Step 214, maintaining the original color saturation for the display picture at the next moment.

其中,预设饱和度阈值可以基于多次实验所得。即在大于预设的环境光亮度的当前环境光亮度下,饱和度低于某个饱和度阈值,则电子设备上显示画面的显示效果低于预设要求,不能满足用户的观看需求。则将该饱和度阈值作为预设饱和度阈值。Wherein, the preset saturation threshold may be obtained based on multiple experiments. That is, when the current ambient light brightness is greater than the preset ambient light brightness and the saturation is lower than a certain saturation threshold, the display effect of the display screen on the electronic device is lower than the preset requirement, which cannot meet the user's viewing needs. Then use the saturation threshold as the preset saturation threshold.

最后,判断当前显示画面的色彩饱和度是否小于预设饱和度阈值。若是,则说明在大于预设的环境光亮度的当前环境光亮度下,电子设备上显示画面的显示效果低于预设要求,不能满足用户的观看需求。因此,需要基于该当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节。具体,可以是对下一时刻的显示画面的色彩饱和度进行增强。Finally, it is judged whether the color saturation of the currently displayed image is smaller than a preset saturation threshold. If yes, it means that under the current ambient light brightness greater than the preset ambient light brightness, the display effect of the display screen on the electronic device is lower than the preset requirement, which cannot meet the viewing needs of the user. Therefore, it is necessary to adjust the color saturation of the display picture at the next moment based on the current ambient light brightness. Specifically, it may be to enhance the color saturation of the display screen at the next moment.

本申请实施例中,提出了一种显示画面调节方法,首先,获取显示屏上当前显示画面的显示参数,若该显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度。基于该目标背光亮度对该显示屏的当前背光亮度进行调节。其次,该实施例还针对当前环境光亮度大于预设的环境光亮度的情况,基于该当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节。最终,从背光亮度及色彩饱和度两个不同的维度对显示画面进行调节,以提高显示画面的显示效果。In the embodiment of the present application, a display screen adjustment method is proposed. First, the display parameters of the current display screen on the display screen are obtained. If the display parameters meet the preset brightness adjustment conditions, the display parameters of the current display screen are determined. Target backlight brightness for this display. The current backlight brightness of the display screen is adjusted based on the target backlight brightness. Secondly, in this embodiment, for the situation that the current ambient light brightness is greater than the preset ambient light brightness, the color saturation of the display picture at the next moment is adjusted based on the current ambient light brightness. Finally, the display screen is adjusted from two different dimensions of backlight brightness and color saturation, so as to improve the display effect of the display screen.

接上一个实施例,该获取该当前显示画面的色彩饱和度,包括:Continuing from the previous embodiment, the acquisition of the color saturation of the currently displayed picture includes:

将该当前显示画面划分为不同的显示区域;Divide the current display screen into different display areas;

对各该显示区域进行色彩饱和度识别,得到各该显示区域的色彩饱和度。The color saturation of each display area is identified to obtain the color saturation of each display area.

具体的,若当前环境光亮度大于预设的环境光亮度,则获取该当前显示画面的色彩饱和度。在获取当前显示画面的色彩饱和度时,可以首先将该当前显示画面划分为不同的显示区域。其次,对各该显示区域进行色彩饱和度识别,得到各该显示区域的色彩饱和度。Specifically, if the current ambient light brightness is greater than the preset ambient light brightness, the color saturation of the currently displayed image is acquired. When acquiring the color saturation of the current display screen, the current display screen may be divided into different display areas first. Secondly, the color saturation of each display area is identified to obtain the color saturation of each display area.

本申请实施例中,因为当前显示画面中的不同显示区域的色彩饱和度可能相差较大,则若仅计算整个显示画面的平均色彩饱和度,则并不能很好地体现不同显示区域的色彩饱和度情况,不能针对性地对不同显示区域进行色彩饱和度调节。因此,在获取当前显示画面的色彩饱和度时,可以首先将该当前显示画面划分为不同的显示区域。其次,对各该显示区域进行色彩饱和度识别,得到各该显示区域的色彩饱和度。就可以实现针对性地对不同显示区域进行色彩饱和度调节,以更加精细化地提高显示画面的显示效果。In the embodiment of the present application, because the color saturation of different display areas in the current display screen may vary greatly, if only the average color saturation of the entire display screen is calculated, the color saturation of different display areas cannot be well reflected. In the case of low temperature, it is impossible to adjust the color saturation of different display areas in a targeted manner. Therefore, when acquiring the color saturation of the current display picture, the current display picture may be divided into different display areas first. Secondly, the color saturation of each display area is identified to obtain the color saturation of each display area. In this way, it is possible to adjust the color saturation of different display areas in a targeted manner, so as to improve the display effect of the display screen in a more refined manner.

接上一个实施例,该基于该当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节,包括:Continuing from the previous embodiment, the color saturation adjustment of the display screen at the next moment is performed based on the current ambient light brightness, including:

从各该显示区域中,确定色彩饱和度小于该预设饱和度阈值的待调节显示区域;From each of the display areas, determine a display area to be adjusted whose color saturation is less than the preset saturation threshold;

基于该当前环境光亮度,对该下一时刻的显示画面中与该待调节显示区域对应的目标显示区域进行色彩饱和度调节。Based on the current ambient light brightness, the color saturation is adjusted for the target display area corresponding to the display area to be adjusted in the display screen at the next moment.

具体的,在获取当前显示画面的色彩饱和度时,可以首先将该当前显示画面划分为不同的显示区域。其次,对各该显示区域进行色彩饱和度识别,得到各该显示区域的色彩饱和度。Specifically, when acquiring the color saturation of the current display picture, the current display picture may be divided into different display areas first. Secondly, the color saturation of each display area is identified to obtain the color saturation of each display area.

再从各该显示区域中,确定色彩饱和度小于该预设饱和度阈值的待调节显示区域。然后,从下一时刻的显示画面中,确定与该待调节显示区域对应的目标显示区域。基于该当前环境光亮度,对该下一时刻的显示画面中的目标显示区域进行色彩饱和度调节。其中,与该待调节显示区域对应的目标显示区域,指的是在下一时刻的显示画面中与当前显示画面中的待调节区域位置相同的区域。还可以是在下一时刻的显示画面中与当前显示画面中的待调节区域中的显示内容相同的区域,本申请对此不做限定。Then, from each of the display areas, determine the display areas to be adjusted whose color saturation is less than the preset saturation threshold. Then, from the display screen at the next moment, the target display area corresponding to the display area to be adjusted is determined. Based on the current ambient light brightness, the color saturation of the target display area in the display screen at the next moment is adjusted. Wherein, the target display area corresponding to the display area to be adjusted refers to the area in the display screen at the next moment in the same position as the area to be adjusted in the current display screen. It may also be an area with the same display content as the area to be adjusted in the current display image in the display image at the next moment, which is not limited in the present application.

本申请实施例中,从各该显示区域中,确定色彩饱和度小于该预设饱和度阈值的待调节显示区域。然后,从下一时刻的显示画面中,确定与该待调节显示区域对应的目标显示区域。基于该当前环境光亮度,对该下一时刻的显示画面中的目标显示区域进行色彩饱和度调节。实现了基于当前显示画面中的不同显示区域,对下一时刻的显示画面中的不同显示区域进行针对性地色彩饱和度调节,以更加精细化地提高显示画面的显示效果。In the embodiment of the present application, from each of the display areas, the display area to be adjusted whose color saturation is smaller than the preset saturation threshold is determined. Then, from the display screen at the next moment, the target display area corresponding to the display area to be adjusted is determined. Based on the current ambient light brightness, the color saturation of the target display area in the display screen at the next moment is adjusted. Based on the different display areas in the current display screen, targeted color saturation adjustments are performed on different display areas in the display screen at the next moment, so as to improve the display effect of the display screen in a more refined manner.

在一个实施例中,如图5所示,该基于该当前环境光亮度对下一显示画面进行色彩饱和度调节,包括:In one embodiment, as shown in FIG. 5 , adjusting the color saturation of the next display screen based on the current ambient light brightness includes:

步骤520,获取环境光亮度与色彩饱和度之间的预设关系。Step 520, acquiring a preset relationship between ambient light brightness and color saturation.

可以通过测试得到环境光亮度与色彩饱和度之间的预设关系。即在不同环境光亮度下,通过测试得到符合用户的显示要求的色彩饱和度。本申请对此不做过多解释。The preset relationship between ambient light brightness and color saturation can be obtained through testing. That is, under different ambient light levels, the color saturation that meets the user's display requirements can be obtained through testing. This application does not do too much explanation.

步骤540,从该预设关系中确定与该当前环境光亮度对应的目标色彩饱和度。Step 540, determine the target color saturation corresponding to the current ambient light brightness from the preset relationship.

在得到了环境光亮度与色彩饱和度之间的预设关系之后,基于当前环境光亮度,就可以从该预设关系中确定与该当前环境光亮度对应的目标色彩饱和度。After obtaining the preset relationship between the ambient light brightness and the color saturation, based on the current ambient light brightness, the target color saturation corresponding to the current ambient light brightness can be determined from the preset relationship.

步骤560,基于该目标色彩饱和度对下一时刻的显示画面进行色彩饱和度调节。Step 560, adjust the color saturation of the display picture at the next moment based on the target color saturation.

具体的,可以基于目标色彩饱和度对下一时刻的显示画面中的目标显示区域分别进行调节。其中,下一时刻的显示画面中的目标显示区域与当前显示画面的待调节显示区域相对应。即对下一时刻的显示画面中的目标显示区域调节至目标色彩饱和度。Specifically, the target display areas in the display screen at the next moment may be adjusted respectively based on the target color saturation. Wherein, the target display area in the display screen at the next moment corresponds to the display area to be adjusted in the current display screen. That is, the target display area in the display screen at the next moment is adjusted to the target color saturation.

本申请实施例中,获取环境光亮度与色彩饱和度之间的预设关系,从该预设关系中确定与该当前环境光亮度对应的目标色彩饱和度。基于该目标色彩饱和度对下一时刻的显示画面进行色彩饱和度调节。实现了基于当前显示画面中的不同显示区域,对下一时刻的显示画面中的不同显示区域进行针对性地色彩饱和度调节,以更加精细化地提高显示画面的显示效果。In the embodiment of the present application, a preset relationship between ambient light brightness and color saturation is obtained, and a target color saturation corresponding to the current ambient light brightness is determined from the preset relationship. Based on the target color saturation, the color saturation of the display picture at the next moment is adjusted. Based on the different display areas in the current display screen, targeted color saturation adjustments are performed on different display areas in the display screen at the next moment, so as to improve the display effect of the display screen in a more refined manner.

在一个实施例中,如图6所示,在该获取显示屏上当前显示画面的显示参数之前,包括:In one embodiment, as shown in FIG. 6, before acquiring the display parameters of the currently displayed picture on the display screen, including:

步骤620,通过光线传感器采集当前环境光亮度。Step 620, collect the current ambient light brightness through the light sensor.

电子设备上一般均配置了光线传感器(Light-Sensor),也叫做亮度感应器。一般位于电子设备显示屏上方,光线传感器能够根据电子设备所处的光线亮度,自动调节电子设备显示屏亮度,给用户带来较佳的视觉效果。例如,在黑暗的环境下,电子设备的显示屏对应的背光灯就会自动变暗,避免在黑暗环境下依然保持太亮的背光灯导致很刺眼的问题。Electronic devices are generally equipped with a light sensor (Light-Sensor), also called a brightness sensor. Generally located above the display screen of the electronic device, the light sensor can automatically adjust the brightness of the display screen of the electronic device according to the brightness of the light in which the electronic device is located, so as to bring better visual effects to the user. For example, in a dark environment, the corresponding backlight of the display screen of the electronic device will be automatically dimmed, so as to avoid the glare caused by the backlight that remains too bright in a dark environment.

步骤640,根据环境光亮度和背光亮度之间的对应关系,基于该当前环境光亮度确定该显示屏的初始背光亮度。Step 640: Determine the initial backlight brightness of the display screen based on the current ambient light brightness according to the correspondence between the ambient light brightness and the backlight brightness.

这里,可以通过环境光亮度与背光亮度的背光调节曲线,来体现环境光亮度和背光亮度之间的对应关系。电子设备依据环境光亮度与背光亮度的背光调节曲线,基于该当前环境光亮度自动确定该显示屏的初始背光亮度。一般情况下,背光调节曲线都是基于当前显示画面为白画面(换言之,当前显示画面的灰度值为255),来调试得到背光调节曲线。即无论电子设备上显示任何显示画面,同一环境光亮度下,则电子设备基于背光调节曲线调节后的显示屏均处于同一背光亮度。Here, the corresponding relationship between the ambient light brightness and the backlight brightness can be reflected through the backlight adjustment curve of the ambient light brightness and the backlight brightness. The electronic device automatically determines the initial backlight brightness of the display screen based on the current ambient light brightness according to the backlight adjustment curve of the ambient light brightness and the backlight brightness. Generally, the backlight adjustment curve is obtained through debugging based on the fact that the current display image is a white image (in other words, the gray value of the current display image is 255). That is, no matter what display screen is displayed on the electronic device, under the same ambient light brightness, the display screen adjusted by the electronic device based on the backlight adjustment curve is at the same backlight brightness.

步骤660,基于该初始背光亮度对该显示屏的背光亮度进行调节。Step 660, adjust the backlight brightness of the display screen based on the initial backlight brightness.

在电子设备依据环境光亮度与背光亮度的背光调节曲线,基于该当前环境光亮度自动确定该显示屏的初始背光亮度之后,基于该初始背光亮度自动对该显示屏的背光亮度进行调节。将显示屏的背光亮度调节至初始背光亮度。After the electronic device automatically determines the initial backlight brightness of the display screen based on the current ambient light brightness based on the backlight adjustment curve of the ambient light brightness and the backlight brightness, the backlight brightness of the display screen is automatically adjusted based on the initial backlight brightness. Adjust the backlight brightness of the display to the original backlight brightness.

本申请实施例中,先通过光线传感器采集当前环境光亮度,根据环境光亮度和背光亮度之间的对应关系,基于该当前环境光亮度确定该显示屏的初始背光亮度。基于该初始背光亮度自动对该显示屏的背光亮度进行调节。然后,获取显示屏上当前显示画面的显示参数,若该显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度。基于该目标背光亮度对该显示屏的当前背光亮度进行调节。先基于环境光亮度和背光亮度之间的对应关系进行自动背光亮度调节,然后,根据该当前显示画面的显示参数确定该显示屏的目标背光亮度,基于该目标背光亮度对该显示屏的当前背光亮度进行调节。从当前环境光亮度及当前显示画面的显示参数两个维度,对显示屏的当前背光亮度进行调节,就可以针对不同的显示画面调节至合适的背光亮度,可以提高不同显示画面的清晰度,改善显示效果。In the embodiment of the present application, the current ambient light brightness is first collected by the light sensor, and the initial backlight brightness of the display screen is determined based on the current ambient light brightness according to the corresponding relationship between the ambient light brightness and the backlight brightness. The backlight brightness of the display screen is automatically adjusted based on the initial backlight brightness. Then, the display parameters of the currently displayed picture on the display screen are obtained, and if the display parameters meet the preset brightness adjustment conditions, the target backlight brightness of the display screen is determined according to the display parameters of the currently displayed picture. The current backlight brightness of the display screen is adjusted based on the target backlight brightness. First perform automatic backlight brightness adjustment based on the corresponding relationship between ambient light brightness and backlight brightness, then determine the target backlight brightness of the display screen according to the display parameters of the current display screen, and determine the current backlight brightness of the display screen based on the target backlight brightness Brightness is adjusted. From the two dimensions of the current ambient light brightness and the display parameters of the current display screen, the current backlight brightness of the display screen can be adjusted to adjust to a suitable backlight brightness for different display screens, which can improve the clarity of different display screens and improve display effect.

在一个实施例中,如图7所示,一种显示画面调节方法,该方法包括:In one embodiment, as shown in FIG. 7, a method for adjusting a display screen includes:

步骤720,若当前环境光亮度大于预设的环境光亮度,则获取该当前显示画面的色彩饱和度;Step 720, if the current ambient light brightness is greater than the preset ambient light brightness, then obtain the color saturation of the current display image;

步骤740,判断该当前显示画面的色彩饱和度是否小于预设饱和度阈值;若是,则进入步骤760,若否,则进入步骤780;Step 740, judging whether the color saturation of the currently displayed image is less than a preset saturation threshold; if yes, proceed to step 760, if not, proceed to step 780;

步骤760,基于该当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节。Step 760 , adjust the color saturation of the display picture at the next moment based on the current ambient light brightness.

步骤780,针对下一时刻的显示画面保持原始色彩饱和度。Step 780, maintaining the original color saturation for the display picture at the next moment.

该实施例主要针对当前环境光亮度大于预设的环境光亮度的情况,基于该当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节。具体的,针对当前环境光亮度大于预设的环境光亮度的情况,基于该当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节。首先,判断当前环境光亮度是否大于预设的环境光亮度。这里,预设的环境光亮度指的是高亮模式下的环境光亮度(High-brightness-Model,HBM),一般包括高于10000lux的环境光亮度。一般用户在户外的阳光下才会出现这种环境光亮度,此时由于太阳光的光照和反射等影响,电子设备上的显示画面的色彩饱和度会相对偏低,影响用户的观看效果。This embodiment mainly aims at the situation that the current ambient light brightness is greater than the preset ambient light brightness, and adjusts the color saturation of the display picture at the next moment based on the current ambient light brightness. Specifically, for the situation that the current ambient light brightness is greater than the preset ambient light brightness, the color saturation of the display picture at the next moment is adjusted based on the current ambient light brightness. First, it is judged whether the current ambient light brightness is greater than the preset ambient light brightness. Here, the preset ambient light brightness refers to the ambient light brightness (High-brightness-Model, HBM) in the high-brightness mode, which generally includes the ambient light brightness higher than 10000 lux. Generally, such ambient brightness will appear when the user is outdoors under the sunlight. At this time, due to the influence of sunlight and reflection, the color saturation of the display screen on the electronic device will be relatively low, which will affect the viewing effect of the user.

其次,若当前环境光亮度大于预设的环境光亮度,则获取该当前显示画面的色彩饱和度。其中,色彩饱和度是在HSV(hue,saturation,value)颜色空间下的一个显示参数,也简称为饱和度。在获取该当前显示画面的色彩饱和度时,可以获取该整个当前显示画面的平均色彩饱和度。Secondly, if the current ambient light brightness is greater than the preset ambient light brightness, the color saturation of the currently displayed image is acquired. Wherein, the color saturation is a display parameter in the HSV (hue, saturation, value) color space, also referred to as saturation. When obtaining the color saturation of the currently displayed image, an average color saturation of the entire currently displayed image may be obtained.

最后,判断当前显示画面的色彩饱和度是否小于预设饱和度阈值。若是,则说明在大于预设的环境光亮度的当前环境光亮度下,电子设备上显示画面的显示效果低于预设要求,不能满足用户的观看需求。因此,需要基于该当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节。具体,可以是对下一时刻的显示画面的色彩饱和度进行增强。其中,预设饱和度阈值可以基于多次实验所得。即在大于预设的环境光亮度的当前环境光亮度下,饱和度低于某个饱和度阈值,则电子设备上显示画面的显示效果低于预设要求,不能满足用户的观看需求。则将该饱和度阈值作为预设饱和度阈值。Finally, it is judged whether the color saturation of the currently displayed image is smaller than a preset saturation threshold. If yes, it means that under the current ambient light brightness greater than the preset ambient light brightness, the display effect of the display screen on the electronic device is lower than the preset requirement, which cannot meet the viewing needs of the user. Therefore, it is necessary to adjust the color saturation of the display picture at the next moment based on the current ambient light brightness. Specifically, it may be to enhance the color saturation of the display screen at the next moment. Wherein, the preset saturation threshold may be obtained based on multiple experiments. That is, when the current ambient light brightness is greater than the preset ambient light brightness and the saturation is lower than a certain saturation threshold, the display effect of the display screen on the electronic device is lower than the preset requirement, which cannot meet the user's viewing needs. Then use the saturation threshold as the preset saturation threshold.

本申请实施例中,主要针对当前环境光亮度大于预设的环境光亮度的情况,基于该当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节。最终,从色彩饱和度这个维度对显示画面进行调节,以提高显示画面的显示效果。In the embodiment of the present application, mainly for the situation that the current ambient light brightness is greater than the preset ambient light brightness, the color saturation of the display screen at the next moment is adjusted based on the current ambient light brightness. Finally, the display picture is adjusted from the dimension of color saturation to improve the display effect of the display picture.

接前一个实施例,该获取该当前显示画面的色彩饱和度,包括:Following the previous embodiment, the acquisition of the color saturation of the currently displayed picture includes:

将该当前显示画面划分为不同的显示区域;Divide the current display screen into different display areas;

对各该显示区域进行色彩饱和度识别,得到各该显示区域的色彩饱和度。The color saturation of each display area is identified to obtain the color saturation of each display area.

具体的,若当前环境光亮度大于预设的环境光亮度,则获取该当前显示画面的色彩饱和度。在获取当前显示画面的色彩饱和度时,可以首先将该当前显示画面划分为不同的显示区域。其次,对各该显示区域进行色彩饱和度识别,得到各该显示区域的色彩饱和度。Specifically, if the current ambient light brightness is greater than the preset ambient light brightness, the color saturation of the currently displayed image is acquired. When acquiring the color saturation of the current display screen, the current display screen may be divided into different display areas first. Secondly, the color saturation of each display area is identified to obtain the color saturation of each display area.

本申请实施例中,因为当前显示画面中的不同显示区域的色彩饱和度可能相差较大,则若仅计算整个显示画面的平均色彩饱和度,则并不能很好地体现不同显示区域的色彩饱和度情况,不能针对性地对不同显示区域进行色彩饱和度调节。因此,在获取当前显示画面的色彩饱和度时,可以首先将该当前显示画面划分为不同的显示区域。其次,对各该显示区域进行色彩饱和度识别,得到各该显示区域的色彩饱和度。就可以实现针对性地对不同显示区域进行色彩饱和度调节,以更加精细化地提高显示画面的显示效果。In the embodiment of the present application, because the color saturation of different display areas in the current display screen may vary greatly, if only the average color saturation of the entire display screen is calculated, the color saturation of different display areas cannot be well reflected. In the case of low temperature, it is impossible to adjust the color saturation of different display areas in a targeted manner. Therefore, when acquiring the color saturation of the current display picture, the current display picture may be divided into different display areas first. Secondly, the color saturation of each display area is identified to obtain the color saturation of each display area. In this way, it is possible to adjust the color saturation of different display areas in a targeted manner, so as to improve the display effect of the display screen in a more refined manner.

接前一个实施例中,该基于该当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节,包括:In the previous embodiment, the color saturation adjustment of the display screen at the next moment based on the current ambient light brightness includes:

从各该显示区域中,确定色彩饱和度小于该预设饱和度阈值的待调节显示区域;From each of the display areas, determine a display area to be adjusted whose color saturation is less than the preset saturation threshold;

基于该当前环境光亮度,对该下一时刻的显示画面中与该待调节显示区域对应的目标显示区域进行色彩饱和度调节。Based on the current ambient light brightness, the color saturation is adjusted for the target display area corresponding to the display area to be adjusted in the display screen at the next moment.

具体的,在获取当前显示画面的色彩饱和度时,可以首先将该当前显示画面划分为不同的显示区域。其次,对各该显示区域进行色彩饱和度识别,得到各该显示区域的色彩饱和度。Specifically, when acquiring the color saturation of the current display picture, the current display picture may be divided into different display areas first. Secondly, the color saturation of each display area is identified to obtain the color saturation of each display area.

再从各该显示区域中,确定色彩饱和度小于该预设饱和度阈值的待调节显示区域。然后,从下一时刻的显示画面中,确定与该待调节显示区域对应的目标显示区域。基于该当前环境光亮度,对该下一时刻的显示画面中的目标显示区域进行色彩饱和度调节。其中,与该待调节显示区域对应的目标显示区域,指的是在下一时刻的显示画面中与当前显示画面中的待调节区域位置相同的区域。还可以是在下一时刻的显示画面中与当前显示画面中的待调节区域中的显示内容相同的区域,本申请对此不做限定。Then, from each of the display areas, determine the display areas to be adjusted whose color saturation is less than the preset saturation threshold. Then, from the display screen at the next moment, the target display area corresponding to the display area to be adjusted is determined. Based on the current ambient light brightness, the color saturation of the target display area in the display screen at the next moment is adjusted. Wherein, the target display area corresponding to the display area to be adjusted refers to the area in the display screen at the next moment in the same position as the area to be adjusted in the current display screen. It may also be an area with the same display content as the area to be adjusted in the current display image in the display image at the next moment, which is not limited in the present application.

本申请实施例中,从各该显示区域中,确定色彩饱和度小于该预设饱和度阈值的待调节显示区域。然后,从下一时刻的显示画面中,确定与该待调节显示区域对应的目标显示区域。基于该当前环境光亮度,对该下一时刻的显示画面中的目标显示区域进行色彩饱和度调节。实现了基于当前显示画面中的不同显示区域,对下一时刻的显示画面中的不同显示区域进行针对性地色彩饱和度调节,以更加精细化地提高显示画面的显示效果。In the embodiment of the present application, from each of the display areas, the display area to be adjusted whose color saturation is smaller than the preset saturation threshold is determined. Then, from the display screen at the next moment, the target display area corresponding to the display area to be adjusted is determined. Based on the current ambient light brightness, the color saturation of the target display area in the display screen at the next moment is adjusted. Based on the different display areas in the current display screen, targeted color saturation adjustments are performed on different display areas in the display screen at the next moment, so as to improve the display effect of the display screen in a more refined manner.

在一个具体的实施例中,如图8所示,提供了一种显示画面调节方法,包括:In a specific embodiment, as shown in FIG. 8 , a display screen adjustment method is provided, including:

步骤802,对该显示屏上当前显示画面进行截图,得到该当前显示画面对应的目标图像;Step 802, taking a screenshot of the current display screen on the display screen to obtain a target image corresponding to the current display screen;

步骤804,对该目标图像进行灰度值识别,得到该当前显示画面的灰度值;Step 804, performing grayscale value recognition on the target image to obtain the grayscale value of the currently displayed image;

步骤806,若该当前显示画面的灰度值小于预设灰度值阈值,则根据该当前显示画面的灰度值计算调节参数;Step 806, if the grayscale value of the currently displayed image is less than the preset grayscale value threshold, calculate the adjustment parameter according to the grayscale value of the currently displayed image;

步骤808,基于该调节参数及该显示屏的当前背光亮度,确定该显示屏的目标背光亮度。Step 808: Determine the target backlight brightness of the display screen based on the adjustment parameter and the current backlight brightness of the display screen.

步骤810,基于该目标背光亮度对该显示屏的当前背光亮度进行调节;Step 810, adjusting the current backlight brightness of the display screen based on the target backlight brightness;

步骤812,若当前环境光亮度大于预设的环境光亮度,则获取该当前显示画面的色彩饱和度。Step 812, if the current ambient light brightness is greater than the preset ambient light brightness, obtain the color saturation of the currently displayed image.

步骤814,判断该当前显示画面的色彩饱和度是否小于预设饱和度阈值;若是,则进入步骤816,若否,则进入步骤818;Step 814, judging whether the color saturation of the currently displayed image is less than a preset saturation threshold; if so, proceed to step 816, if not, proceed to step 818;

步骤816,基于该当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节;Step 816, adjust the color saturation of the display screen at the next moment based on the current ambient light brightness;

步骤818,针对下一时刻的显示画面保持原始色彩饱和度。Step 818, maintaining the original color saturation for the display picture at the next moment.

本申请实施例中,提出了一种显示画面调节方法,首先,获取显示屏上当前显示画面的显示参数,若该显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度。基于该目标背光亮度对该显示屏的当前背光亮度进行调节。其次,该实施例主要针对当前环境光亮度大于预设的环境光亮度的情况,基于该当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节。最终,从背光亮度及色彩饱和度两个不同的维度对显示画面进行调节,以提高显示画面的显示效果。In the embodiment of the present application, a display screen adjustment method is proposed. First, the display parameters of the current display screen on the display screen are obtained. If the display parameters meet the preset brightness adjustment conditions, the display parameters of the current display screen are determined. Target backlight brightness for this display. The current backlight brightness of the display screen is adjusted based on the target backlight brightness. Secondly, this embodiment mainly aims at the situation that the current ambient light brightness is greater than the preset ambient light brightness, and adjusts the color saturation of the display picture at the next moment based on the current ambient light brightness. Finally, the display screen is adjusted from two different dimensions of backlight brightness and color saturation, so as to improve the display effect of the display screen.

在一个实施例中,如图9所示,提供了一种显示画面调节装置900,该装置包括:In one embodiment, as shown in FIG. 9 , a display screen adjustment device 900 is provided, which includes:

显示参数获取模块902,用于获取显示屏上当前显示画面的显示参数;A display parameter acquisition module 902, configured to acquire the display parameters of the current display screen on the display screen;

目标背光亮度确定模块904,用于若该显示参数满足预设的亮度调节条件,则根据该当前显示画面的显示参数确定该显示屏的目标背光亮度;The target backlight brightness determination module 904 is used to determine the target backlight brightness of the display screen according to the display parameters of the current display screen if the display parameters meet the preset brightness adjustment conditions;

调节模块906,用于基于该目标背光亮度对该显示屏的当前背光亮度进行调节;该当前背光亮度为根据环境光亮度确定的显示屏的背光亮度。The adjusting module 906 is configured to adjust the current backlight brightness of the display screen based on the target backlight brightness; the current backlight brightness is the backlight brightness of the display screen determined according to the ambient light brightness.

在一个实施例中,该显示参数包括灰度值;显示参数获取模块902,还用于对该显示屏上当前显示画面进行截图,得到该当前显示画面对应的目标图像;对该目标图像进行灰度值识别,得到该当前显示画面的灰度值。In one embodiment, the display parameters include a grayscale value; the display parameter acquisition module 902 is also configured to take a screenshot of the current display screen on the display screen to obtain a target image corresponding to the current display screen; grayscale the target image Gray value recognition to obtain the gray value of the current display screen.

在一个实施例中,显示参数获取模块902,还用于对该目标图像进行灰度值识别,得到该目标图像的每个像素点的灰度值;获取该目标图像上所有像素点的灰度值的平均值,作为该当前显示画面的灰度值。In one embodiment, the display parameter acquisition module 902 is also used to identify the gray value of the target image to obtain the gray value of each pixel of the target image; to obtain the gray values of all pixels on the target image The average value of the values is used as the grayscale value of the current display screen.

在一个实施例中,目标背光亮度确定模块904,还用于若该当前显示画面的灰度值小于预设灰度值阈值,则根据该当前显示画面的灰度值计算调节参数;基于该调节参数及该显示屏的当前背光亮度,确定该显示屏的目标背光亮度。In one embodiment, the target backlight brightness determination module 904 is further configured to calculate the adjustment parameter according to the gray value of the currently displayed image if the gray value of the currently displayed image is less than the preset gray value threshold; based on the adjustment parameters and the current backlight brightness of the display to determine the target backlight brightness of the display.

在一个实施例中,如图10所示,提供了一种显示画面调节装置900,该装置还包括:In one embodiment, as shown in FIG. 10 , a display screen adjustment device 900 is provided, which further includes:

第一色彩饱和度获取模块908,用于若当前环境光亮度大于预设的环境光亮度,则获取该当前显示画面的色彩饱和度;The first color saturation acquisition module 908 is configured to acquire the color saturation of the current display picture if the current ambient light brightness is greater than the preset ambient light brightness;

第一判断模块910,用于判断该当前显示画面的色彩饱和度是否小于预设饱和度阈值;若是,则进入步骤912;The first judging module 910 is used to judge whether the color saturation of the currently displayed picture is less than a preset saturation threshold; if so, enter step 912;

第一色彩饱和度调节模块912,用于基于该当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节。The first color saturation adjustment module 912 is configured to adjust the color saturation of the display picture at the next moment based on the current ambient light brightness.

在一个实施例中,第一色彩饱和度获取模块908,还用于将该当前显示画面划分为不同的显示区域;对各该显示区域进行色彩饱和度识别,得到各该显示区域的色彩饱和度。In one embodiment, the first color saturation acquisition module 908 is further configured to divide the current display screen into different display areas; perform color saturation identification on each display area to obtain the color saturation of each display area .

在一个实施例中,第一色彩饱和度调节模块912,还用于从各该显示区域中,确定色彩饱和度小于该预设饱和度阈值的待调节显示区域;基于该当前环境光亮度,对该下一时刻的显示画面中与该待调节显示区域对应的目标显示区域进行色彩饱和度调节。In one embodiment, the first color saturation adjustment module 912 is further configured to determine, from each of the display areas, the display area to be adjusted whose color saturation is less than the preset saturation threshold; based on the current ambient light brightness, The color saturation of the target display area corresponding to the display area to be adjusted in the display screen at the next moment is adjusted.

在一个实施例中,第一色彩饱和度调节模块912,还用于获取环境光亮度与色彩饱和度之间的预设关系;从该预设关系中确定与该当前环境光亮度对应的目标色彩饱和度;基于该目标色彩饱和度对下一时刻的显示画面进行色彩饱和度调节。In one embodiment, the first color saturation adjustment module 912 is also used to obtain a preset relationship between ambient light brightness and color saturation; determine the target color corresponding to the current ambient light brightness from the preset relationship Saturation: adjust the color saturation of the display picture at the next moment based on the target color saturation.

在一个实施例中,如图11所示,提供了一种显示画面调节装置900,在该获取显示屏上当前显示画面的显示参数之前,包括:In one embodiment, as shown in FIG. 11 , a display screen adjustment device 900 is provided. Before acquiring the display parameters of the current display screen on the display screen, it includes:

自动背光调节模块914,用于通过光线传感器采集当前环境光亮度;根据环境光亮度和背光亮度之间的对应关系,基于该当前环境光亮度确定该显示屏的初始背光亮度;基于该初始背光亮度对该显示屏的背光亮度进行调节。The automatic backlight adjustment module 914 is used to collect the current ambient light brightness through the light sensor; according to the correspondence between the ambient light brightness and the backlight brightness, determine the initial backlight brightness of the display screen based on the current ambient light brightness; based on the initial backlight brightness Adjust the brightness of the backlight of the display.

在一个实施例中,如图12所示,提供了一种显示画面调节装置1000,该装置包括:In one embodiment, as shown in FIG. 12 , a display screen adjustment device 1000 is provided, which includes:

第二色彩饱和度获取模块1002,用于若当前环境光亮度大于预设的环境光亮度,则获取该当前显示画面的色彩饱和度;The second color saturation acquisition module 1002 is used to acquire the color saturation of the current display picture if the current ambient light brightness is greater than the preset ambient light brightness;

第二判断模块1004,用于判断该当前显示画面的色彩饱和度是否小于预设饱和度阈值;若是,则进入步骤1006;The second judging module 1004 is used to judge whether the color saturation of the currently displayed picture is less than the preset saturation threshold; if so, enter step 1006;

第二色彩饱和度调节模块1006,用于基于该当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节。The second color saturation adjustment module 1006 is configured to adjust the color saturation of the display picture at the next moment based on the current ambient light brightness.

接前一个实施例,第二色彩饱和度获取模块1002,用于将该当前显示画面划分为不同的显示区域;对各该显示区域进行色彩饱和度识别,得到各该显示区域的色彩饱和度。Continuing from the previous embodiment, the second color saturation acquisition module 1002 is configured to divide the current display image into different display areas; identify the color saturation of each display area to obtain the color saturation of each display area.

接前一个实施例,第二色彩饱和度调节模块1006,用于从各该显示区域中,确定色彩饱和度小于该预设饱和度阈值的待调节显示区域;基于该当前环境光亮度,对该下一时刻的显示画面中与该待调节显示区域对应的目标显示区域进行色彩饱和度调节。Continuing from the previous embodiment, the second color saturation adjustment module 1006 is configured to determine, from each of the display areas, the display area to be adjusted whose color saturation is less than the preset saturation threshold; based on the current ambient light brightness, the The color saturation of the target display area corresponding to the display area to be adjusted in the display screen at the next moment is adjusted.

应该理解的是,虽然该图中的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,该图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flow chart in this figure are displayed in sequence according to the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but may be executed at different moments, and the execution of these sub-steps or stages The order is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.

该显示画面调节装置中各个模块的划分仅用于举例说明,在其他实施例中,可将显示画面调节装置按照需要划分为不同的模块,以完成该显示画面调节装置的全部或部分功能。The division of each module in the display screen adjustment device is only for illustration. In other embodiments, the display screen adjustment device can be divided into different modules as required to complete all or part of the functions of the display screen adjustment device.

关于显示画面调节装置的具体限定可以参见上文中对于显示画面调节方法的限定,在此不再赘述。该显示画面调节装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。该各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitations of the device for adjusting the display image, please refer to the above definition for the method for adjusting the display image, which will not be repeated here. Each module in the display screen adjustment device can be fully or partially realized by software, hardware and a combination thereof. The modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above modules.

在一个实施例中,还提供了一种电子设备,包括存储器及处理器,存储器中储存有计算机程序,计算机程序被处理器执行时,使得处理器执行以上各个实施例所提供的一种显示画面调节方法的步骤。In one embodiment, an electronic device is also provided, including a memory and a processor, and a computer program is stored in the memory. When the computer program is executed by the processor, the processor executes a display screen provided by the above embodiments. The steps of the adjustment method.

图13为一个实施例中电子设备的内部结构示意图。如图13所示,该电子设备包括通过系统总线连接的处理器和存储器。其中,该处理器用于提供计算和控制能力,支撑整个电子设备的运行。存储器可包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机程序。该计算机程序可被处理器所执行,以用于实现以上各个实施例所提供的一种显示画面调节方法。内存储器为非易失性存储介质中的操作系统计算机程序提供高速缓存的运行环境。该电子设备可以是手机、平板电脑、PDA(Personal DigitalAssistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意终端设备。Fig. 13 is a schematic diagram of the internal structure of an electronic device in one embodiment. As shown in FIG. 13, the electronic device includes a processor and a memory connected through a system bus. Among them, the processor is used to provide computing and control capabilities to support the operation of the entire electronic device. The memory may include non-volatile storage media and internal memory. Nonvolatile storage media store operating systems and computer programs. The computer program can be executed by a processor, so as to implement a method for adjusting a display screen provided by each of the above embodiments. The internal memory provides a high-speed running environment for the operating system computer program in the non-volatile storage medium. The electronic device can be any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant, a personal digital assistant), a POS (Point of Sales, a sales terminal), a vehicle-mounted computer, or a wearable device.

本申请实施例中提供的显示画面调节装置中的各个模块的实现可为计算机程序的形式。该计算机程序可在电子设备或电子设备上运行。该计算机程序构成的程序模块可存储在电子设备或电子设备的存储器上。该计算机程序被处理器执行时,实现本申请实施例中所描述方法的步骤。The implementation of each module in the display screen adjusting device provided in the embodiment of the present application may be in the form of a computer program. The computer program can run on or on an electronic device. The program modules constituted by the computer program can be stored in the electronic device or the memory of the electronic device. When the computer program is executed by the processor, the steps of the methods described in the embodiments of the present application are realized.

本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当计算机可执行指令被一个或多个处理器执行时,使得处理器执行显示画面调节方法的步骤。The embodiment of the present application also provides a computer-readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the display screen adjustment method.

一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行显示画面调节方法。A computer program product containing instructions, when running on a computer, causes the computer to execute the display screen adjustment method.

本申请实施例所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to memory, storage, database, or other media used in embodiments of the present application may include non-volatile and/or volatile memory. Suitable nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

以上显示画面调节实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above embodiments of display screen adjustment only express several implementation modes of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as limiting the patent scope of the present application. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.

Claims (11)

1.一种显示画面调节方法,其特征在于,所述方法包括:1. A display screen adjustment method, characterized in that the method comprises: 对显示屏上当前显示画面进行截图,得到所述当前显示画面对应的目标图像;Taking a screenshot of the current display screen on the display screen to obtain a target image corresponding to the current display screen; 对所述目标图像进行灰度值识别,得到所述当前显示画面的灰度值;Performing grayscale value recognition on the target image to obtain the grayscale value of the currently displayed image; 若所述当前显示画面的灰度值小于预设灰度值阈值,则进一步判断当前显示画面的灰度值与该当前显示画面之前预设数目帧显示画面的灰度值平均值的差值,是否小于预设差值阈值,或进一步判断当前显示画面的灰度值与该当前显示画面之前预设数目帧显示画面的灰度值平均值的变化幅度,是否小于预设变化幅度阈值;If the grayscale value of the currently displayed picture is less than the preset grayscale value threshold, then further judge the difference between the grayscale value of the currently displayed picture and the average grayscale value of the preset number of frame display pictures before the current displayed picture, Whether it is less than the preset difference threshold, or further judge whether the change range between the gray value of the current display picture and the gray value average value of the preset number of frame display pictures before the current display picture is less than the preset change range threshold; 若是,则不对当前显示画面的背光亮度进行调节;若否,则根据所述当前显示画面的灰度值计算调节比例;If so, the backlight brightness of the current display screen is not adjusted; if not, the adjustment ratio is calculated according to the gray value of the current display screen; 基于所述调节比例及所述显示屏的当前背光亮度,确定所述显示屏的目标背光亮度;其中,目标背光亮度=当前背光亮度*(1+调节比例);Based on the adjustment ratio and the current backlight brightness of the display screen, determine the target backlight brightness of the display screen; wherein, target backlight brightness=current backlight brightness*(1+adjustment ratio); 基于所述目标背光亮度对所述显示屏的当前背光亮度进行调节;所述当前背光亮度为根据环境光亮度确定的所述显示屏的背光亮度;adjusting the current backlight brightness of the display screen based on the target backlight brightness; the current backlight brightness is the backlight brightness of the display screen determined according to ambient light brightness; 若当前环境光亮度大于预设的环境光亮度,则获取所述当前显示画面的色彩饱和度;If the current ambient light brightness is greater than the preset ambient light brightness, then obtain the color saturation of the currently displayed image; 判断所述当前显示画面的色彩饱和度是否小于预设饱和度阈值;judging whether the color saturation of the currently displayed image is less than a preset saturation threshold; 若是,则基于所述当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节。If so, adjust the color saturation of the display picture at the next moment based on the current ambient light brightness. 2.根据权利要求1所述的显示画面调节方法,其特征在于,所述对所述目标图像进行灰度值识别,得到所述当前显示画面的灰度值,包括:2. The display screen adjustment method according to claim 1, wherein the gray value identification of the target image to obtain the gray value of the current display screen comprises: 对所述目标图像进行灰度值识别,得到所述目标图像的每个像素点的灰度值;Performing grayscale value identification on the target image to obtain the grayscale value of each pixel of the target image; 获取所述目标图像上所有像素点的灰度值的平均值,作为所述当前显示画面的灰度值。Acquiring the average value of grayscale values of all pixels on the target image as the grayscale value of the currently displayed image. 3.根据权利要求1所述的显示画面调节方法,其特征在于,所述获取所述当前显示画面的色彩饱和度,包括:3. The display image adjustment method according to claim 1, wherein said acquiring the color saturation of said current display image comprises: 将所述当前显示画面划分为不同的显示区域;dividing the current display screen into different display areas; 对各所述显示区域进行色彩饱和度识别,得到各所述显示区域的色彩饱和度。The color saturation of each display area is identified to obtain the color saturation of each display area. 4.根据权利要求3所述的显示画面调节方法,其特征在于,所述基于所述当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节,包括:4. The display screen adjustment method according to claim 3, wherein the adjusting the color saturation of the display screen at the next moment based on the current ambient light brightness comprises: 从各所述显示区域中,确定色彩饱和度小于所述预设饱和度阈值的待调节显示区域;From each of the display areas, determine a display area to be adjusted whose color saturation is less than the preset saturation threshold; 基于所述当前环境光亮度,对所述下一时刻的显示画面中与所述待调节显示区域对应的目标显示区域进行色彩饱和度调节。Based on the current ambient light brightness, the color saturation is adjusted for the target display area corresponding to the display area to be adjusted in the display screen at the next moment. 5.根据权利要求1-4任一项所述的显示画面调节方法,其特征在于,所述基于所述当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节,包括:5. The display screen adjustment method according to any one of claims 1-4, wherein the adjusting the color saturation of the display screen at the next moment based on the current ambient light brightness comprises: 获取环境光亮度与色彩饱和度之间的预设关系;Obtain a preset relationship between ambient light brightness and color saturation; 从所述预设关系中确定与所述当前环境光亮度对应的目标色彩饱和度;determining a target color saturation corresponding to the current ambient light brightness from the preset relationship; 基于所述目标色彩饱和度对下一时刻的显示画面进行色彩饱和度调节。Based on the target color saturation, the color saturation of the display picture at the next moment is adjusted. 6.根据权利要求1所述的显示画面调节方法,其特征在于,在所述对所述目标图像进行灰度值识别,得到所述当前显示画面的灰度值之前,包括:6. The display image adjustment method according to claim 1, characterized in that, before the gray value identification of the target image is carried out to obtain the gray value of the current display image, the method comprises: 通过光线传感器采集当前环境光亮度;Collect the current ambient light brightness through the light sensor; 根据环境光亮度和背光亮度之间的对应关系,基于所述当前环境光亮度确定所述显示屏的初始背光亮度;determining the initial backlight brightness of the display screen based on the current ambient light brightness according to the correspondence between the ambient light brightness and the backlight brightness; 基于所述初始背光亮度对所述显示屏的背光亮度进行调节。Adjusting the backlight brightness of the display screen based on the initial backlight brightness. 7.根据权利要求1所述的显示画面调节方法,其特征在于,所述获取所述当前显示画面的色彩饱和度,包括:7. The display image adjustment method according to claim 1, wherein said acquiring the color saturation of said current display image comprises: 将所述当前显示画面划分为不同的显示区域;dividing the current display screen into different display areas; 对各所述显示区域进行色彩饱和度识别,得到各所述显示区域的色彩饱和度。The color saturation of each display area is identified to obtain the color saturation of each display area. 8.根据权利要求7所述的显示画面调节方法,其特征在于,所述基于所述当前环境光亮度对下一时刻显示画面进行色彩饱和度调节,包括:8. The display screen adjustment method according to claim 7, wherein the adjusting the color saturation of the display screen at the next moment based on the current ambient light brightness comprises: 从各所述显示区域中,确定色彩饱和度小于所述预设饱和度阈值的待调节显示区域;From each of the display areas, determine a display area to be adjusted whose color saturation is less than the preset saturation threshold; 基于所述当前环境光亮度,对所述下一时刻的显示画面中与所述待调节显示区域对应的目标显示区域进行色彩饱和度调节。Based on the current ambient light brightness, the color saturation is adjusted for the target display area corresponding to the display area to be adjusted in the display screen at the next moment. 9.一种显示画面调节装置,其特征在于,所述装置包括:9. A display screen adjustment device, characterized in that the device comprises: 显示参数获取模块,用于对显示屏上当前显示画面进行截图,得到所述当前显示画面对应的目标图像;对所述目标图像进行灰度值识别,得到所述当前显示画面的灰度值;The display parameter acquisition module is used to take a screenshot of the current display screen on the display screen to obtain the target image corresponding to the current display screen; perform gray value recognition on the target image to obtain the gray value of the current display screen; 目标背光亮度确定模块,用于若所述当前显示画面的灰度值小于预设灰度值阈值,则进一步判断当前显示画面的灰度值与该当前显示画面之前预设数目帧显示画面的灰度值平均值的差值,是否小于预设差值阈值,或进一步判断当前显示画面的灰度值与该当前显示画面之前预设数目帧显示画面的灰度值平均值的变化幅度,是否小于预设变化幅度阈值;若是,则不对当前显示画面的背光亮度进行调节;若否,则根据所述当前显示画面的灰度值计算调节参数;基于所述调节参数及所述显示屏的当前背光亮度,确定所述显示屏的目标背光亮度;其中,目标背光亮度=当前背光亮度*(1+调节比例);The target backlight brightness determination module is used to further determine the gray value of the current display screen and the gray value of the preset number of frame display screens before the current display screen if the gray value of the current display screen is less than the preset gray value threshold. Whether the difference between the average value of the gray value is less than the preset difference threshold, or further judge whether the change range between the gray value of the current display screen and the average gray value of the preset number of frame display screens before the current display screen is less than Preset change amplitude threshold; if yes, then do not adjust the backlight brightness of the current display screen; if not, calculate the adjustment parameter according to the gray value of the current display screen; based on the adjustment parameter and the current backlight of the display screen Brightness, to determine the target backlight brightness of the display screen; wherein, target backlight brightness=current backlight brightness*(1+adjustment ratio); 调节模块,用于基于所述目标背光亮度对所述显示屏的当前背光亮度进行调节;所述当前背光亮度为根据环境光亮度确定的所述显示屏的背光亮度;若当前环境光亮度大于预设的环境光亮度,则获取所述当前显示画面的色彩饱和度;判断所述当前显示画面的色彩饱和度是否小于预设饱和度阈值;若是,则基于所述当前环境光亮度对下一时刻的显示画面进行色彩饱和度调节。An adjustment module, configured to adjust the current backlight brightness of the display screen based on the target backlight brightness; the current backlight brightness is the backlight brightness of the display screen determined according to the ambient light brightness; if the current ambient light brightness is greater than the preset Set ambient light brightness, then obtain the color saturation of the current display screen; judge whether the color saturation of the current display screen is less than the preset saturation threshold; if so, then based on the current ambient light brightness for the next moment Adjust the color saturation of the displayed screen. 10.一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,其特征在于,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1至8中任一项所述的显示画面调节方法的步骤。10. An electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, wherein when the computer program is executed by the processor, the processor is executed as claimed in claims 1 to 8. The steps of any one of the display screen adjustment methods. 11.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至8中任一项所述的显示画面调节方法的步骤。11. A computer-readable storage medium, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the display screen adjustment method according to any one of claims 1 to 8 are realized .
CN202110430567.2A 2021-04-21 2021-04-21 Display screen adjusting method and device, electronic equipment and readable storage medium Active CN113140197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110430567.2A CN113140197B (en) 2021-04-21 2021-04-21 Display screen adjusting method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110430567.2A CN113140197B (en) 2021-04-21 2021-04-21 Display screen adjusting method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113140197A CN113140197A (en) 2021-07-20
CN113140197B true CN113140197B (en) 2023-05-05

Family

ID=76813380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110430567.2A Active CN113140197B (en) 2021-04-21 2021-04-21 Display screen adjusting method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113140197B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873209A (en) * 2021-09-26 2021-12-31 京东方科技集团股份有限公司 Image quality adjustment method, module, display system and computer readable medium
CN114038441B (en) * 2021-11-29 2023-03-10 深圳Tcl新技术有限公司 Display brightness adjusting method, display device, adjusting system and storage medium
CN114639356B (en) * 2022-03-14 2024-02-06 Oppo广东移动通信有限公司 Display brightness adjusting method, device, electronic equipment and computer readable storage medium
CN114851959B (en) * 2022-07-07 2022-10-18 智己汽车科技有限公司 Light adjusting method and light adjusting system for vehicle

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299320A (en) * 2007-04-30 2008-11-05 深圳帝光电子有限公司 Liquid crystal display processor with low resolution video control signal output
CN101556787A (en) * 2008-04-11 2009-10-14 深圳Tcl新技术有限公司 Method for adjusting image quality
EP2413310A1 (en) * 2010-07-26 2012-02-01 Apple Inc. Display Brightness Control Temporal Response
CN104299600A (en) * 2013-07-18 2015-01-21 联咏科技股份有限公司 Image display device and image optimization method thereof
WO2015097499A1 (en) * 2013-12-24 2015-07-02 Sony Corporation Backlight control method for an electronic mobile device
CN108646455A (en) * 2018-04-17 2018-10-12 Oppo广东移动通信有限公司 Electronic equipment and its display panel

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100763239B1 (en) * 2006-06-27 2007-10-04 삼성전자주식회사 Image processing apparatus and method for improving the visibility of the displayed image
KR101035786B1 (en) * 2008-08-06 2011-05-20 삼성전자주식회사 Apparatus and method for displaying a screen according to the brightness intensity of external light
JP5313804B2 (en) * 2008-08-14 2013-10-09 エルジー ディスプレイ カンパニー リミテッド Liquid crystal display
CN102800301A (en) * 2011-05-27 2012-11-28 联咏科技股份有限公司 Display device and image compensation method thereof
TW201327520A (en) * 2011-12-29 2013-07-01 Ind Tech Res Inst Display system and operation method thereof
CN103077684B (en) * 2013-01-23 2015-09-16 京东方科技集团股份有限公司 A kind of backlight adjusting method, device and display screen
CN104869242B (en) * 2015-05-05 2018-10-26 惠州Tcl移动通信有限公司 Adjust the method and system of screen intensity
CN107799093A (en) * 2017-12-08 2018-03-13 深圳市金立通信设备有限公司 Adjust method, terminal and the computer-readable recording medium of screen luminance of terminal
CN111667800B (en) * 2020-06-16 2021-11-23 广州视源电子科技股份有限公司 Image display parameter adjusting method and device, storage medium and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299320A (en) * 2007-04-30 2008-11-05 深圳帝光电子有限公司 Liquid crystal display processor with low resolution video control signal output
CN101556787A (en) * 2008-04-11 2009-10-14 深圳Tcl新技术有限公司 Method for adjusting image quality
EP2413310A1 (en) * 2010-07-26 2012-02-01 Apple Inc. Display Brightness Control Temporal Response
CN104299600A (en) * 2013-07-18 2015-01-21 联咏科技股份有限公司 Image display device and image optimization method thereof
WO2015097499A1 (en) * 2013-12-24 2015-07-02 Sony Corporation Backlight control method for an electronic mobile device
CN108646455A (en) * 2018-04-17 2018-10-12 Oppo广东移动通信有限公司 Electronic equipment and its display panel

Also Published As

Publication number Publication date
CN113140197A (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN113140197B (en) Display screen adjusting method and device, electronic equipment and readable storage medium
US9858895B2 (en) Method for adjusting screen brightness and system thereof
US9635255B1 (en) Display as adjustable light source
CN108281125B (en) Method, device and equipment for adjusting backlight brightness according to human eye characteristics
US9818332B2 (en) Image display method and electronic device
CN108805103A (en) Image processing method and device, electronic equipment and computer readable storage medium
WO2021218603A1 (en) Image processing method and projection system
JP6615917B2 (en) Real-time video enhancement method, terminal, and non-transitory computer-readable storage medium
CN104658487B (en) Adjust method, device and the mobile terminal of brightness of image
CN107179889A (en) Interface color conditioning method, webpage color conditioning method and device
CN104200431A (en) Processing method and processing device of image graying
CN108364271B (en) Method and device for improving image contrast
CN114463191B (en) Image processing method and electronic equipment
CN111311500B (en) A method and device for color restoration of an image
CN113507598B (en) Video screen display method, device, terminal and storage medium
CN109982012A (en) Image processing method and device, storage medium, terminal
CN108009997A (en) Method and device for adjusting image contrast
CN109272928A (en) Image display method and apparatus
JP2013225722A (en) Information processing device, display control method, and display control program
CN112368763A (en) Control device, display device, and control method
US9208749B2 (en) Electronic device and method for enhancing readability of an image thereof
CN119252194A (en) A method and system for dimming LED backlight
WO2025016114A1 (en) Pixel compensation method, display device, and electronic device
CN109509161B (en) Image enhancement device and image enhancement method
TW202326081A (en) Method for determining ambient light luminance, host, and computer readable storage medium

Legal Events

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