Backlight adjustment method and device, electronic equipment and computer storage medium

By obtaining multiple light intensities and the brightness values ​​of the displayed image, and combining the backlight percentage, adjusting the backlight brightness of the display device, the problem of inaccurate backlight brightness caused by environmental factors of the light sensor is solved, and accurate backlight brightness adjustment is achieved.

CN120564645APending Publication Date: 2025-08-29GUANGZHOU SHIKUN ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410222572.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-28
Publication Date
2025-08-29

AI Technical Summary

Technical Problem

In the prior art, the photosensitive sensor is affected by environmental factors during the data acquisition process, resulting in inaccurate adjustment of the backlight brightness.

Method used

By acquiring multiple light intensities collected by the photosensitive device in the display device, combining the brightness values ​​of each pixel point in the display image, the target brightness value of the display image is determined, and the backlight percentage is determined based on the multiple light intensities, and the backlight brightness of the display device is adjusted.

Benefits of technology

It realizes accurate adjustment of the backlight brightness of the display device in an unstable state, and improves the accuracy of backlight brightness adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120564645A_ABST
    Figure CN120564645A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electronic equipment, and discloses a backlight adjustment method and device, electronic equipment and a computer storage medium, and the method comprises the steps: obtaining a plurality of illumination intensities collected by light sensing equipment in display equipment; acquiring a display image of the display equipment in the current image mode based on the plurality of illumination intensities; determining a target brightness value of the display image based on the brightness value of each pixel point in the display image, and determining a backlight percentage of the display device based on the plurality of illumination intensities; and adjusting the backlight brightness of the display device based on the target brightness value and the backlight percentage. When it is judged that the current environment is in the unstable state through the multiple illumination intensities collected by the light sensing device, the backlight brightness needing to be adjusted by the display device is fed back in combination with the backlight percentage determined by the multiple illumination intensities and the brightness value of the display image; therefore, the backlight brightness of the display equipment is accurately adjusted by combining the illumination intensity and the brightness value of the display image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic equipment, and in particular to a backlight adjustment method, device, electronic equipment, and computer storage medium. Background Art

[0002] With the development of display devices, various sensors have been integrated into them. Therefore, the display device can determine whether the current ambient brightness is stable based on the light intensity collected by the light sensor. If the current ambient brightness is determined to be unstable, the backlight brightness of the display device is adjusted incrementally based on the light intensity collected by the light sensor. However, the light sensor is affected by environmental factors during the data collection process, which may result in inaccurate light intensity and the final adjusted backlight brightness. Summary of the Invention

[0003] The present application aims to solve at least one of the technical problems existing in the related art. To this end, the embodiments of the present application provide a backlight adjustment method, device, electronic device and computer storage medium, which can accurately adjust the backlight brightness of a display device.

[0004] In a first aspect, an embodiment of the present application provides a backlight adjustment method, comprising:

[0005] Obtain multiple light intensities collected by a light-sensing device in a display device;

[0006] acquiring a display image of the display device in a current image mode based on the multiple light intensities;

[0007] determining a target brightness value of the display image based on the brightness value of each pixel in the display image, and determining a backlight percentage of the display device based on the multiple light intensities;

[0008] The backlight brightness of the display device is adjusted based on the target brightness value and the backlight percentage.

[0009] In a second aspect, an embodiment of the present application provides a backlight adjustment device, comprising:

[0010] A first acquisition module is used to acquire multiple light intensities collected by a light-sensing device in the display device;

[0011] A second acquisition module, configured to acquire a display image of the display device in a current image mode based on the multiple light intensities;

[0012] a determination module, configured to determine a target brightness value of the display image based on the brightness value of each pixel in the display image, and determine a backlight percentage of the display device based on the multiple light intensities;

[0013] A backlight adjustment module is used to adjust the backlight brightness of the display device based on the target brightness value and the backlight percentage.

[0014] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a memory storing a plurality of instructions; a processor loading instructions from the memory to execute any one of the backlight adjustment methods provided in the embodiments of the present application.

[0015] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a plurality of instructions suitable for loading by a processor to execute any one of the backlight adjustment methods provided in the embodiments of the present application.

[0016] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements any backlight adjustment method provided in the embodiment of the present application.

[0017] When the embodiment of the present application determines that the current environment is in an unstable state through multiple light intensities collected by the photosensitive device, the backlight percentage determined by the multiple light intensities and the brightness value of the displayed image are combined to feed back the backlight brightness that needs to be adjusted for the display device, thereby combining the light intensity and the brightness value of the displayed image to accurately adjust the backlight brightness of the display device. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0019] Figure 1 is a flowchart of a backlight adjustment method provided in an embodiment of the present application;

[0020] Figure 2 The search expression provided in the embodiment of the present application is intended;

[0021] Figure 3 is a schematic diagram of a process for determining a final reference brightness value provided in an embodiment of the present application;

[0022] Figure 4 is a structural schematic diagram of a backlight adjustment device provided in an embodiment of the present application;

[0023] Figure 5 It is a structural diagram of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0024] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of this application. At the same time, in the description of the embodiments of the present application, the terms "first", "second", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0025] In the field of backlight brightness adjustment for display devices, various sensors have been integrated into display devices with their development. Therefore, the display device can determine whether the current ambient brightness is stable based on the light intensity collected by the light sensor. If the current ambient brightness is determined to be unstable, the backlight brightness of the display device is adjusted incrementally based on the light intensity collected by the light sensor. However, the light sensor is affected by environmental factors during the data collection process, which may result in inaccurate light intensity and ultimately inaccurate backlight brightness adjustment.

[0026] In order to solve the technical problems existing in the prior art, the embodiment of the present application obtains multiple light intensities collected by a photosensitive device in a display device; obtains a display image of the display device in the current image mode based on the multiple light intensities; determines a target brightness value of the display image based on the brightness value of each pixel in the display image, and determines the backlight percentage of the display device based on the multiple light intensities; and adjusts the backlight brightness of the display device based on the target brightness value and the backlight percentage. Therefore, when the embodiment of the present application determines that the current environment is in an unstable state through the multiple light intensities collected by the photosensitive device, the backlight percentage determined by the multiple light intensities and the brightness value of the display image are combined to feedback the backlight brightness that needs to be adjusted for the display device, thereby accurately adjusting the backlight brightness of the display device by combining the light intensities and the brightness value of the display image.

[0027] The embodiments of the present application provide a backlight adjustment method, device, electronic device and computer storage medium. Specifically, the embodiments of the present application will be described from the perspective of a backlight adjustment device, which can be specifically integrated in an electronic device, that is, the backlight adjustment method of the embodiments of the present application can be performed by an electronic device. Optionally, the electronic device includes a terminal device. The terminal device can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop computer, a game console, a personal computer (PC) or a smart interactive tablet and other devices. Optionally, the electronic device includes a server, which can be an independent server or a server network or server cluster composed of servers, including but not limited to computers, network hosts, single network servers, network server sets or cloud servers composed of servers. Among them, the cloud server is composed of a large number of computers or network servers based on cloud computing (Cloud Computing).

[0028] It should be noted that the order in which the following embodiments are described is not intended to limit the preferred order of the embodiments. Although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown in the drawings.

[0029] The embodiments of the present application are described by taking the backlight adjustment device as an example, and are described in detail below with reference to the accompanying drawings. Figure 1 , Figure 1 1 is a flow chart of the backlight adjustment method provided in the embodiment of the present application. The backlight adjustment method provided in the embodiment of the present application specifically includes steps 10 to 40, including:

[0030] Step 10: Acquire multiple light intensities collected by a light-sensing device in the display device.

[0031] Optionally, in order to determine whether the current environment is in a stable state, it is necessary to determine the light intensity of the current environment. Therefore, it is necessary to collect light intensity through a photosensitive device in the display device. Optionally, in order to improve collection efficiency, the photosensitive device in the embodiment of the present application simultaneously collects multiple light intensities of the current environment through a multi-threaded collection method, where the light intensity here is the ambient light intensity.

[0032] Therefore, the backlight adjustment device can obtain multiple light intensities collected by the photosensitive device, wherein the multiple light intensities are set according to actual conditions.

[0033] In one embodiment, the multiple light intensities are 5 light intensities, so it can be understood that the backlight adjustment device simultaneously obtains the 5 light intensities collected by the photosensitive device and classifies the 5 light intensities into a data set for subsequent use.

[0034] Step 20: Acquire a display image of the display device in a current image mode based on the multiple light intensities.

[0035] Optionally, the backlight adjustment device obtains a maximum light intensity and a minimum light intensity among a plurality of light intensities, and determines whether the current environment is in a stable state according to the maximum light intensity and the minimum light intensity.

[0036] Furthermore, if it is determined that the current environment is in a stable state, the backlight adjustment device continues to execute the process of step 10 at intervals of a preset time length, wherein the preset time length is set according to actual conditions, such as 10 seconds, 5 minutes, etc.

[0037] Furthermore, if it is determined that the current environment is in an unstable state, the backlight adjustment device obtains the display image of the display device in the current image mode, as described in detail from step 201 to step 202 .

[0038] Step 30 : determining a target brightness value of the display image based on the brightness value of each pixel in the display image, and determining a backlight percentage of the display device based on the multiple illumination intensities.

[0039] Optionally, the backlight adjustment device obtains the brightness value of each pixel in the display image, and determines the target brightness value of the display image according to the brightness value of each pixel in the display image, as specifically described in steps 301 to 304 .

[0040] Furthermore, the backlight adjustment device calculates the average of the illumination intensities based on the multiple illumination intensities, and obtains a target illumination intensity whose value is greater than the average of the illumination intensities among the multiple illumination intensities. Furthermore, the backlight adjustment device matches the target illumination intensity and the preset mapping relationship between the illumination intensity and the backlight parameters to obtain the backlight percentage of the display device, wherein the preset mapping relationship between the illumination intensity and the backlight parameters is usually determined based on the display panel, and for the same display panel, the preset mapping relationship is unchanged. In an optional embodiment, the illumination intensity and the backlight percentage are proportional, and after the illumination intensity reaches a certain intensity, the backlight percentage no longer changes. For example, after the illumination intensity reaches 1000 candelas, the backlight percentage will always be 100%. Therefore, the expression of the preset mapping relationship is as follows: Figure 2 As shown, Figure 2 The lookup table provided in the embodiment of the present application shows the mapping relationship between the illumination intensity and the backlight parameter. Therefore, the backlight percentage corresponding to the target illumination intensity can be found based on the lookup table. In one embodiment, referring to Figure 2 It can be seen that when the target illumination intensity is 400, the backlight percentage corresponding to the target illumination intensity of 400 is 60% according to the preset mapping relationship between illumination intensity and backlight parameters.

[0041] Step 40: Adjust the backlight brightness of the display device based on the target brightness value and the backlight percentage.

[0042] Optionally, the backlight adjustment device calculates the product of the target brightness value and the backlight percentage to obtain a calculation result, and uses the calculation result as the final backlight brightness of the display device to adjust the backlight brightness of the display device.

[0043] When the embodiment of the present application determines that the current environment is in an unstable state through multiple light intensities collected by the photosensitive device, the backlight percentage determined by the multiple light intensities and the brightness value of the displayed image are combined to feed back the backlight brightness that needs to be adjusted for the display device, thereby combining the light intensity and the brightness value of the displayed image to accurately adjust the backlight brightness of the display device.

[0044] In an optional embodiment, the description of steps 201 to 202 is as follows:

[0045] Step 201, calculating a light intensity range value based on a maximum light intensity and a minimum light intensity among a plurality of light intensities;

[0046] Step 202: If the illumination intensity extreme difference value is greater than a preset threshold, obtaining a display image of the display device in a current image mode.

[0047] Optionally, the backlight adjustment device calculates the illumination intensity extreme difference values ​​of the multiple illumination intensities according to the maximum illumination intensity and the minimum illumination intensity among the multiple illumination intensities.

[0048] Furthermore, the backlight adjustment device compares the light intensity extreme difference value with a preset threshold value to obtain a comparison result, wherein the comparison result may be that the light intensity extreme difference value is greater than the preset threshold value, or that the light intensity extreme difference value is less than or equal to the preset threshold value.

[0049] Furthermore, if the extreme difference in light intensity is less than or equal to the preset threshold, the backlight adjustment device determines that the current environment is in a stable state, and continues to execute the process of step 10 after a preset time interval.

[0050] Furthermore, if the extreme difference in light intensity is greater than a preset threshold, the backlight adjustment device determines that the current environment is in an unstable state, and obtains a display image of the display device in the current image mode.

[0051] In an embodiment of the present application, when it is determined that the current environment is in an unstable state through multiple light intensities, the display image in the current image mode is obtained, so that the backlight brightness that needs to be adjusted for the display device is fed back in combination with the backlight percentage and the brightness value of the display image, thereby accurately adjusting the backlight brightness of the display device in combination with the light intensity and the brightness value of the display image.

[0052] In an optional embodiment, steps 301 to 304 are described as follows:

[0053] Step 301, based on the brightness value of each pixel in the displayed image, determining the number of pixels at each brightness value in the displayed image;

[0054] Step 302: determining a reference brightness value for each preset pixel number threshold based on a plurality of preset pixel number thresholds and the number of pixels at each brightness value;

[0055] Step 303, determining a final reference brightness value based on the reference brightness value of each of the preset pixel number thresholds;

[0056] Step 304: Determine the final reference brightness value as the target brightness value of the displayed image.

[0057] Optionally, the backlight adjustment device determines the number of pixels at each brightness value in the displayed image based on the brightness values ​​of each pixel in the displayed image. In one embodiment, the brightness value of pixel A1 is 50, the brightness value of pixel A2 is 60, and the brightness value of pixel A3 is 50; the brightness value of pixel B1 is 60, the brightness value of pixel B2 is 50, and the brightness value of pixel B3 is 50; the brightness value of pixel C1 is 50, the brightness value of pixel C2 is 70, and the brightness value of pixel C3 is 70; the brightness value of pixel D1 is 50, the brightness value of pixel D2 is 60, and the brightness value of pixel D3 is 60. Therefore, the pixels at a brightness value of 50 include A1, A3, B2, B3, C1, and D1, the pixels at a brightness value of 60 include A2, B1, D2, and D3, and the pixels at a brightness value of 70 include C2 and C3. The number of pixels at a brightness value of 50 is 6, the number of pixels at a brightness value of 60 is 4, and the number of pixels at a brightness value of 70 is 2.

[0058] Furthermore, the backlight adjustment device obtains a plurality of preset pixel number thresholds, wherein the plurality of preset pixel number thresholds are set according to actual conditions. Further, the backlight adjustment device determines the brightness value at each brightness value at which the number of pixels is greater than the preset pixel number threshold as the reference brightness value for the preset pixel number threshold. Continuing with the above embodiment, the plurality of preset pixel number thresholds include pixel number threshold 5 and pixel number threshold 3. The number of pixels at a brightness value of 50 is 6, which is greater than 3, and the number of pixels at a brightness value of 60 is 4, which is greater than 3. Therefore, the reference brightness values ​​for pixel number threshold 3 are 50 and 60. The number of pixels at a brightness value of 50 is 6, which is greater than 5. Therefore, the reference brightness value for pixel number threshold 5 is 50.

[0059] Furthermore, the backlight adjustment device determines a final reference brightness value based on the reference brightness value of each preset pixel number threshold, as described in detail in steps 3031 to 3035. Furthermore, the backlight adjustment device determines the final reference brightness value as the target brightness value of the displayed image.

[0060] The embodiment of the present application determines the target brightness value of the displayed image, so that the backlight brightness that needs to be adjusted for the display device is fed back in combination with the backlight percentage and the brightness value of the displayed image, thereby accurately adjusting the backlight brightness of the display device in combination with the light intensity and the brightness value of the displayed image.

[0061] In an optional embodiment, steps 3031 to 3035 are described as follows:

[0062] Step 3031, determining a reference brightness value having a minimum preset pixel number threshold value among a plurality of reference brightness values ​​having the preset pixel number threshold value;

[0063] Step 3032: If the reference brightness value of the minimum preset pixel number threshold is less than or equal to the first brightness threshold, the reference brightness value of the minimum preset pixel number threshold is determined as the final reference brightness value; or

[0064] Step 3033: If the reference brightness value of the minimum preset pixel number threshold is greater than the first brightness threshold, sorting the reference brightness values ​​of the plurality of preset pixel number thresholds in descending order to obtain sorted reference brightness values;

[0065] Step 3034, determining a reference brightness difference between adjacent pixel quantity thresholds in the sorted reference brightness values;

[0066] Step 3035: Determine the final reference brightness value according to the reference brightness difference between adjacent pixel quantity thresholds.

[0067] Optionally, the backlight adjustment device obtains a reference brightness value for a minimum preset pixel number threshold among multiple preset pixel number threshold reference brightness values. In one embodiment, the multiple preset pixel number threshold reference brightness values ​​include a reference brightness value of 50 for pixel number threshold 3, a reference brightness value of 60 for pixel number threshold 5, and a reference brightness value of 70 for pixel number threshold 7. Therefore, pixel number threshold 3 is the minimum pixel number threshold, i.e., among the multiple preset pixel number threshold reference brightness values, the reference brightness value for the minimum preset pixel number threshold is 50.

[0068] Furthermore, the backlight adjustment device compares the reference brightness value of the minimum preset pixel number threshold with the first brightness threshold to obtain a comparison result. It should be noted that if there are multiple reference brightness values ​​for the minimum preset pixel number threshold, the multiple reference brightness values ​​are first averaged before being compared with the first brightness threshold, where the first brightness threshold is set based on actual conditions. For example, if the reference brightness values ​​for the minimum preset pixel number threshold are 50, 60, and 100, the average reference brightness value for the minimum preset pixel number threshold is 70.

[0069] Furthermore, if the reference brightness value of the minimum preset pixel number threshold is less than or equal to the first brightness threshold, the backlight adjustment device determines the reference brightness value of the minimum preset pixel number threshold as the final reference brightness value. Further, if the reference brightness value of the minimum preset pixel number threshold is greater than the first brightness threshold, the backlight adjustment device sorts the reference brightness values ​​of the plurality of preset pixel number thresholds in descending order to obtain a sorted reference brightness value.

[0070] Furthermore, the backlight adjustment device determines a reference brightness difference between adjacent pixel quantity thresholds in the sorted reference brightness values, and determines a final reference brightness value based on the reference brightness difference between adjacent pixel quantity thresholds, as specifically described in steps a to c.

[0071] The embodiment of the present application determines a final reference brightness value, thereby obtaining a target brightness value of the displayed image based on the final reference brightness value, so that the backlight brightness that needs to be adjusted for the display device is fed back in combination with the backlight percentage and the brightness value of the displayed image, thereby accurately adjusting the backlight brightness of the display device in combination with the light intensity and the brightness value of the displayed image.

[0072] In an optional embodiment, steps a to c are described as follows:

[0073] Step a, determining a first candidate brightness value and a second candidate brightness value from a plurality of reference brightness values ​​of the preset pixel number thresholds according to a reference brightness difference between adjacent pixel number thresholds;

[0074] Step b, determining a candidate brightness difference between the first candidate brightness value and the second candidate brightness value;

[0075] Step c: determining the final reference brightness value from the first candidate brightness value and the second candidate brightness value according to the candidate brightness difference value.

[0076] Optionally, the backlight adjustment device determines a first candidate brightness value and a second candidate brightness value among the reference brightness values ​​of multiple preset pixel number thresholds based on the reference brightness difference between adjacent pixel number thresholds. Specifically, the backlight adjustment device determines the reference brightness value of the minimum preset pixel number threshold as the first candidate brightness value, and determines whether there is a target reference brightness difference value greater than or equal to the second brightness threshold among the reference brightness difference between adjacent pixel number thresholds, wherein the second brightness threshold is set according to actual conditions.

[0077] Furthermore, if the reference brightness differences between adjacent pixel number thresholds include a target reference brightness difference, the backlight adjustment device determines the reference brightness value corresponding to the target reference brightness difference as the second candidate brightness value. Further, if the reference brightness differences between adjacent pixel number thresholds do not include the target reference brightness difference, the backlight adjustment device determines the reference brightness value corresponding to the maximum preset pixel number threshold among the plurality of preset pixel number thresholds as the second candidate brightness value.

[0078] Furthermore, the backlight adjustment device determines a candidate brightness difference between the first candidate brightness value and the second candidate brightness value, and determines a final reference brightness value from the first candidate brightness value and the second candidate brightness value based on the candidate brightness difference. Specifically, if the candidate brightness difference is greater than or equal to a third brightness threshold, the backlight adjustment device determines the first candidate brightness value as the final reference brightness value, where the third brightness threshold is set according to actual conditions. If the candidate brightness difference is less than the third brightness threshold, the backlight adjustment device determines the second candidate brightness value as the final reference brightness value.

[0079] The embodiment of the present application determines a final reference brightness value, thereby obtaining a target brightness value of the displayed image based on the final reference brightness value, so that the backlight brightness that needs to be adjusted for the display device is fed back in combination with the backlight percentage and the brightness value of the displayed image, thereby accurately adjusting the backlight brightness of the display device in combination with the light intensity and the brightness value of the displayed image.

[0080] Optional, see Figure 3 , Figure 3 A schematic diagram of a process for determining the final reference brightness value provided in an embodiment of the present application is shown in FIG. Figure 3 Steps S301 to S313 shown:

[0081] S301, determining a reference brightness value BL1 corresponding to R1.

[0082] Where R1 is the minimum pixel count threshold, and BL1 is the reference brightness value corresponding to the minimum pixel count threshold. For example, if the pixel count thresholds include 5, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 2000, 3000, and 4000, then R1 is 5, and BL1 is the reference brightness value corresponding to the pixel count threshold of 5 on the displayed image. In the displayed image, the number of pixels at each of these brightness values ​​is greater than or equal to 5, and BL1 is the maximum value among these multiple brightness values.

[0083] S302, determine whether BL1>TH1 is satisfied, if so, execute S303, if not, execute S313.

[0084] It is determined whether the reference brightness value BL1 corresponding to the minimum pixel number threshold is greater than the first brightness threshold TH1. Different determination results correspond to different final reference brightness values.

[0085] S303, calculate Δ1~2, Δ2~3,..., Δ(n-1)~n.

[0086] Δ1-2, Δ2-3, ..., Δ(n-1)-n represent reference brightness differences between two adjacent pixel number thresholds. For example, Δ1-2 represents the reference brightness difference between the pixel number threshold of 5 and the pixel number threshold of 100, Δ2-3 represents the reference brightness difference between the pixel number threshold of 100 and the pixel number threshold of 200, Δ(n-1)-n represents the reference brightness difference between the pixel number threshold of 3000 and the pixel number threshold of 4000, and so on.

[0087] S304, determine whether there is a value greater than or equal to TH2 in Δ1~2, Δ2~3, ..., Δ(n-1)~n. If so, execute S305; if not, execute S309.

[0088] S305, determine BL A =BL1,BL B =BL current .

[0089] If there is a value greater than or equal to TH2 among Δ1~2, Δ2~3, ..., Δ(n-1)~n, the first candidate brightness value BL is determined A is the reference brightness value BL1 corresponding to the minimum pixel number threshold, and the second candidate brightness value BL B For example, if Δ2~3 is greater than or equal to TH2, then Δ2~3 is the target reference brightness difference, and its corresponding reference brightness values ​​include BL2 and BL3. current That is BL2.

[0090] S306, determine whether BL is satisfied current -BL1≥TH3, if yes, execute S307, if no, execute S308.

[0091] Determine the first candidate brightness value BL1 and the second candidate brightness value BL current Whether the candidate brightness difference between the two is greater than or equal to the third brightness threshold TH3, the final reference brightness value is determined according to the judgment result.

[0092] S307, determine BL=BL1.

[0093] If the first candidate brightness value BL1 and the second candidate brightness value BL current If the candidate brightness difference between them is greater than or equal to the third brightness threshold TH3, the final reference brightness value BL is equal to the first candidate brightness value BL1.

[0094] S308, determine BL=BL current .

[0095] If the first candidate brightness value BL1 and the second candidate brightness value BL current The candidate brightness difference between them is less than the third brightness threshold TH3, then the final reference brightness value BL is determined to be equal to the second candidate brightness value BL current .

[0096] S309, determine BL A =BL1,BL B =BL n .

[0097] If there is no value greater than or equal to TH2 among Δ1~2, Δ2~3, ..., Δ(n-1)~n, the first candidate brightness value BL is determined A is the reference brightness value BL1 corresponding to the minimum pixel number threshold, and the second candidate brightness value BL B The reference brightness value BL corresponding to the maximum pixel number threshold n .

[0098] S310, determine whether BL is satisfied n -BL1≥TH3, if yes, execute S311, if no, execute S312.

[0099] Determine the first candidate brightness value BL1 and the second candidate brightness value BL n Whether the candidate brightness difference between the two is greater than or equal to the third brightness threshold TH3, the final reference brightness value is determined according to the judgment result.

[0100] S311, determine BL=BL1.

[0101] If the first candidate brightness value BL1 and the second candidate brightness value BL n If the candidate brightness difference between the two values ​​is greater than or equal to the third brightness threshold TH3, it is determined that the final reference brightness value BL is equal to the first candidate brightness value BL1.

[0102] S312, determine BL=BL n .

[0103] If the first candidate brightness value BL1 and the second candidate brightness value BL n The candidate brightness difference between them is less than the third brightness threshold TH3, then the final reference brightness value BL is determined to be equal to the second candidate brightness value BL n .

[0104] S313, determine BL=BL1.

[0105] If the reference brightness value BL1 corresponding to the minimum pixel number threshold is less than or equal to the first brightness threshold TH1, the final reference brightness value BL is determined to be equal to the first candidate brightness value BL1.

[0106] The backlight adjustment device provided by the embodiment of the present application is described below. The backlight adjustment device described below and the backlight adjustment method described above can be referred to in correspondence with each other. Figure 4 As shown, Figure 4 : is a schematic structural diagram of a backlight adjustment device provided in an embodiment of the present application, and the backlight adjustment device may include:

[0107] A first acquisition module 401 is used to acquire multiple light intensities collected by a light-sensing device in a display device;

[0108] A second acquisition module 402 is configured to acquire a display image of the display device in a current image mode based on the multiple light intensities;

[0109] a determination module 403, configured to determine a target brightness value of the display image based on the brightness value of each pixel in the display image, and determine a backlight percentage of the display device based on the multiple light intensities;

[0110] The backlight adjustment module 404 is configured to adjust the backlight brightness of the display device based on the target brightness value and the backlight percentage.

[0111] When the embodiment of the present application determines that the current environment is in an unstable state through multiple light intensities collected by the photosensitive device, the backlight percentage determined by the multiple light intensities and the brightness value of the displayed image are combined to feed back the backlight brightness that needs to be adjusted for the display device, thereby combining the light intensity and the brightness value of the displayed image to accurately adjust the backlight brightness of the display device.

[0112] In an optional example, the second obtaining module 402 is further configured to:

[0113] Calculating a light intensity range value based on a maximum light intensity and a minimum light intensity among the plurality of light intensities;

[0114] If the light intensity extreme difference value is greater than a preset threshold, a display image of the display device in a current image mode is obtained.

[0115] In an optional example, the determining module 403 is further configured to:

[0116] Determining the number of pixels at each brightness value in the displayed image based on the brightness value of each pixel in the displayed image;

[0117] Determining a reference brightness value for each of the preset pixel number thresholds based on a plurality of preset pixel number thresholds and the number of pixels at each brightness value;

[0118] Determining a final reference brightness value based on the reference brightness value of each of the preset pixel number thresholds;

[0119] The final reference brightness value is determined as the target brightness value of the display image.

[0120] In an optional example, the determining module 403 is further configured to:

[0121] Determining a reference brightness value having a minimum preset pixel number threshold value among a plurality of reference brightness values ​​having the preset pixel number threshold value;

[0122] If the reference brightness value of the minimum preset pixel number threshold is less than or equal to the first brightness threshold, the reference brightness value of the minimum preset pixel number threshold is determined as the final reference brightness value; or,

[0123] If the reference brightness value of the minimum preset pixel number threshold is greater than the first brightness threshold, sorting the reference brightness values ​​of the plurality of preset pixel number thresholds in descending order to obtain sorted reference brightness values;

[0124] Determining a reference brightness difference between adjacent pixel quantity thresholds in the sorted reference brightness values;

[0125] The final reference brightness value is determined according to a reference brightness difference between adjacent pixel quantity thresholds.

[0126] In an optional example, the determining module 403 is further configured to:

[0127] Determining a first candidate brightness value and a second candidate brightness value from a plurality of reference brightness values ​​of the preset pixel number thresholds according to a reference brightness difference between adjacent pixel number thresholds;

[0128] determining a candidate luminance difference value between the first candidate luminance value and the second candidate luminance value;

[0129] The final reference luminance value is determined from the first candidate luminance value and the second candidate luminance value according to the candidate luminance difference value.

[0130] In an optional example, the determining module 403 is further configured to:

[0131] Determining the reference brightness value of the minimum preset pixel number threshold as the first candidate brightness value;

[0132] determining whether, among the reference brightness difference values ​​between the adjacent pixel number thresholds, there is a target reference brightness difference value that is greater than or equal to the second brightness threshold;

[0133] If the target reference luminance difference value exists in the reference luminance difference values ​​between the adjacent pixel number thresholds, determining the reference luminance value corresponding to the target reference luminance difference value as the second candidate luminance value; or,

[0134] If the target reference brightness difference value does not exist in the reference brightness difference values ​​between adjacent pixel number thresholds, the reference brightness value corresponding to the maximum preset pixel number threshold among the plurality of preset pixel number thresholds is determined as the second candidate brightness value.

[0135] In an optional example, the determining module 403 is further configured to:

[0136] If the candidate brightness difference value is greater than or equal to a third brightness threshold, determining the first candidate brightness value as the final reference brightness value;

[0137] If the candidate brightness difference value is smaller than the third brightness threshold, the second candidate brightness value is determined as the final reference brightness value.

[0138] The specific embodiments of the backlight adjustment device provided in this application are basically the same as the embodiments of the backlight adjustment method, and will not be described in detail here.

[0139] Optional, such as Figure 5 As shown, Figure 5Schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include: a processor 510, a communication interface 520, a memory 530, and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other via the communication bus 540. The processor 510 may call a computer program in the memory 530 to execute the steps of the backlight adjustment method, for example, including:

[0140] Obtain multiple light intensities collected by a light-sensing device in a display device;

[0141] acquiring a display image of the display device in a current image mode based on the multiple light intensities;

[0142] determining a target brightness value of the display image based on the brightness value of each pixel in the display image, and determining a backlight percentage of the display device based on the multiple light intensities;

[0143] The backlight brightness of the display device is adjusted based on the target brightness value and the backlight percentage.

[0144] In an optional example, determining a target brightness value of the displayed image based on the brightness value of each pixel in the displayed image includes:

[0145] Determining the number of pixels at each brightness value in the displayed image based on the brightness value of each pixel in the displayed image;

[0146] Determining a reference brightness value for each of the preset pixel number thresholds based on a plurality of preset pixel number thresholds and the number of pixels at each brightness value;

[0147] Determining a final reference brightness value based on the reference brightness value of each of the preset pixel number thresholds;

[0148] The final reference brightness value is determined as the target brightness value of the display image.

[0149] In an optional example, determining the final reference brightness value based on the reference brightness value of each of the preset pixel quantity thresholds includes:

[0150] Determining a reference brightness value having a minimum preset pixel number threshold value among a plurality of reference brightness values ​​having the preset pixel number threshold value;

[0151] If the reference brightness value of the minimum preset pixel number threshold is less than or equal to the first brightness threshold, the reference brightness value of the minimum preset pixel number threshold is determined as the final reference brightness value; or,

[0152] If the reference brightness value of the minimum preset pixel number threshold is greater than the first brightness threshold, sorting the reference brightness values ​​of the plurality of preset pixel number thresholds in descending order to obtain sorted reference brightness values;

[0153] Determining a reference brightness difference between adjacent pixel quantity thresholds in the sorted reference brightness values;

[0154] The final reference brightness value is determined according to a reference brightness difference between adjacent pixel quantity thresholds.

[0155] In an optional example, determining the final reference brightness value according to a reference brightness difference between adjacent pixel number thresholds includes:

[0156] Determining a first candidate brightness value and a second candidate brightness value from a plurality of reference brightness values ​​of the preset pixel number thresholds according to a reference brightness difference between adjacent pixel number thresholds;

[0157] determining a candidate luminance difference value between the first candidate luminance value and the second candidate luminance value;

[0158] The final reference luminance value is determined from the first candidate luminance value and the second candidate luminance value according to the candidate luminance difference value.

[0159] In an optional example, determining the first candidate brightness value and the second candidate brightness value from a plurality of reference brightness values ​​of the preset pixel number thresholds according to a reference brightness difference between adjacent pixel number thresholds includes:

[0160] Determining the reference brightness value of the minimum preset pixel number threshold as the first candidate brightness value;

[0161] determining whether, among the reference brightness difference values ​​between the adjacent pixel number thresholds, there is a target reference brightness difference value that is greater than or equal to the second brightness threshold;

[0162] If the target reference luminance difference value exists in the reference luminance difference values ​​between the adjacent pixel number thresholds, determining the reference luminance value corresponding to the target reference luminance difference value as the second candidate luminance value; or,

[0163] If the target reference brightness difference value does not exist in the reference brightness difference values ​​between adjacent pixel number thresholds, the reference brightness value corresponding to the maximum preset pixel number threshold among the plurality of preset pixel number thresholds is determined as the second candidate brightness value.

[0164] In an optional example, determining the final reference luminance value from the first candidate luminance value and the second candidate luminance value according to the candidate luminance difference value includes:

[0165] If the candidate brightness difference value is greater than or equal to a third brightness threshold, determining the first candidate brightness value as the final reference brightness value;

[0166] If the candidate brightness difference value is smaller than the third brightness threshold, the second candidate brightness value is determined as the final reference brightness value.

[0167] In an optional example, acquiring a display image of the display device in a current image mode based on the multiple light intensities includes:

[0168] Calculating a light intensity range value based on a maximum light intensity and a minimum light intensity among the plurality of light intensities;

[0169] If the light intensity extreme difference value is greater than a preset threshold, a display image of the display device in a current image mode is obtained.

[0170] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0171] On the other hand, embodiments of the present application further provide a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium includes a computer program. The computer program may be stored on the non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can perform the steps of the backlight adjustment method provided in each of the above embodiments, for example, including:

[0172] Obtain multiple light intensities collected by a light-sensing device in a display device;

[0173] acquiring a display image of the display device in a current image mode based on the multiple light intensities;

[0174] determining a target brightness value of the display image based on the brightness value of each pixel in the display image, and determining a backlight percentage of the display device based on the multiple light intensities;

[0175] The backlight brightness of the display device is adjusted based on the target brightness value and the backlight percentage.

[0176] In an optional example, determining a target brightness value of the displayed image based on the brightness value of each pixel in the displayed image includes:

[0177] Determining the number of pixels at each brightness value in the displayed image based on the brightness value of each pixel in the displayed image;

[0178] Determining a reference brightness value for each of the preset pixel number thresholds based on a plurality of preset pixel number thresholds and the number of pixels at each brightness value;

[0179] Determining a final reference brightness value based on the reference brightness value of each of the preset pixel number thresholds;

[0180] The final reference brightness value is determined as the target brightness value of the display image.

[0181] In an optional example, determining the final reference brightness value based on the reference brightness value of each of the preset pixel quantity thresholds includes:

[0182] Determining a reference brightness value having a minimum preset pixel number threshold value among a plurality of reference brightness values ​​having the preset pixel number threshold value;

[0183] If the reference brightness value of the minimum preset pixel number threshold is less than or equal to the first brightness threshold, the reference brightness value of the minimum preset pixel number threshold is determined as the final reference brightness value; or,

[0184] If the reference brightness value of the minimum preset pixel number threshold is greater than the first brightness threshold, sorting the reference brightness values ​​of the plurality of preset pixel number thresholds in descending order to obtain sorted reference brightness values;

[0185] Determining a reference brightness difference between adjacent pixel quantity thresholds in the sorted reference brightness values;

[0186] The final reference brightness value is determined according to a reference brightness difference between adjacent pixel quantity thresholds.

[0187] In an optional example, determining the final reference brightness value according to a reference brightness difference between adjacent pixel number thresholds includes:

[0188] Determining a first candidate brightness value and a second candidate brightness value from a plurality of reference brightness values ​​of the preset pixel number thresholds according to a reference brightness difference between adjacent pixel number thresholds;

[0189] determining a candidate luminance difference value between the first candidate luminance value and the second candidate luminance value;

[0190] The final reference luminance value is determined from the first candidate luminance value and the second candidate luminance value according to the candidate luminance difference value.

[0191] In an optional example, determining the first candidate brightness value and the second candidate brightness value from a plurality of reference brightness values ​​of the preset pixel number thresholds according to a reference brightness difference between adjacent pixel number thresholds includes:

[0192] Determining the reference brightness value of the minimum preset pixel number threshold as the first candidate brightness value;

[0193] determining whether, among the reference brightness difference values ​​between the adjacent pixel number thresholds, there is a target reference brightness difference value that is greater than or equal to the second brightness threshold;

[0194] If the target reference luminance difference value exists in the reference luminance difference values ​​between the adjacent pixel number thresholds, determining the reference luminance value corresponding to the target reference luminance difference value as the second candidate luminance value; or,

[0195] If the target reference brightness difference value does not exist in the reference brightness difference values ​​between adjacent pixel number thresholds, the reference brightness value corresponding to the maximum preset pixel number threshold among the plurality of preset pixel number thresholds is determined as the second candidate brightness value.

[0196] In an optional example, determining the final reference luminance value from the first candidate luminance value and the second candidate luminance value according to the candidate luminance difference value includes:

[0197] If the candidate brightness difference value is greater than or equal to a third brightness threshold, determining the first candidate brightness value as the final reference brightness value;

[0198] If the candidate brightness difference value is smaller than the third brightness threshold, the second candidate brightness value is determined as the final reference brightness value.

[0199] In an optional example, acquiring a display image of the display device in a current image mode based on the multiple light intensities includes:

[0200] Calculating a light intensity range value based on a maximum light intensity and a minimum light intensity among the plurality of light intensities;

[0201] If the light intensity extreme difference value is greater than a preset threshold, a display image of the display device in a current image mode is obtained.

[0202] In another aspect, embodiments of the present application further provide a computer product, which includes a computer program. The computer program may be stored on the computer product. When the computer program is executed by a processor, the computer can perform the steps of the backlight adjustment method provided in the above embodiments, for example, including:

[0203] Obtain multiple light intensities collected by a light-sensing device in a display device;

[0204] acquiring a display image of the display device in a current image mode based on the multiple light intensities;

[0205] determining a target brightness value of the display image based on the brightness value of each pixel in the display image, and determining a backlight percentage of the display device based on the multiple light intensities;

[0206] The backlight brightness of the display device is adjusted based on the target brightness value and the backlight percentage.

[0207] In an optional example, determining a target brightness value of the displayed image based on the brightness value of each pixel in the displayed image includes:

[0208] Determining the number of pixels at each brightness value in the displayed image based on the brightness value of each pixel in the displayed image;

[0209] Determining a reference brightness value for each of the preset pixel number thresholds based on a plurality of preset pixel number thresholds and the number of pixels at each brightness value;

[0210] Determining a final reference brightness value based on the reference brightness value of each of the preset pixel number thresholds;

[0211] The final reference brightness value is determined as the target brightness value of the display image.

[0212] In an optional example, determining the final reference brightness value based on the reference brightness value of each of the preset pixel quantity thresholds includes:

[0213] Determining a reference brightness value having a minimum preset pixel number threshold value among a plurality of reference brightness values ​​having the preset pixel number threshold value;

[0214] If the reference brightness value of the minimum preset pixel number threshold is less than or equal to the first brightness threshold, the reference brightness value of the minimum preset pixel number threshold is determined as the final reference brightness value; or,

[0215] If the reference brightness value of the minimum preset pixel number threshold is greater than the first brightness threshold, sorting the reference brightness values ​​of the plurality of preset pixel number thresholds in descending order to obtain sorted reference brightness values;

[0216] Determining a reference brightness difference between adjacent pixel quantity thresholds in the sorted reference brightness values;

[0217] The final reference brightness value is determined according to a reference brightness difference between adjacent pixel quantity thresholds.

[0218] In an optional example, determining the final reference brightness value according to a reference brightness difference between adjacent pixel number thresholds includes:

[0219] Determining a first candidate brightness value and a second candidate brightness value from a plurality of reference brightness values ​​of the preset pixel number thresholds according to a reference brightness difference between adjacent pixel number thresholds;

[0220] determining a candidate luminance difference value between the first candidate luminance value and the second candidate luminance value;

[0221] The final reference luminance value is determined from the first candidate luminance value and the second candidate luminance value according to the candidate luminance difference value.

[0222] In an optional example, determining the first candidate brightness value and the second candidate brightness value from a plurality of reference brightness values ​​of the preset pixel number thresholds according to a reference brightness difference between adjacent pixel number thresholds includes:

[0223] Determining the reference brightness value of the minimum preset pixel number threshold as the first candidate brightness value;

[0224] determining whether, among the reference brightness difference values ​​between the adjacent pixel number thresholds, there is a target reference brightness difference value that is greater than or equal to the second brightness threshold;

[0225] If the target reference luminance difference value exists in the reference luminance difference values ​​between the adjacent pixel number thresholds, determining the reference luminance value corresponding to the target reference luminance difference value as the second candidate luminance value; or,

[0226] If the target reference brightness difference value does not exist in the reference brightness difference values ​​between adjacent pixel number thresholds, the reference brightness value corresponding to the maximum preset pixel number threshold among the plurality of preset pixel number thresholds is determined as the second candidate brightness value.

[0227] In an optional example, determining the final reference luminance value from the first candidate luminance value and the second candidate luminance value according to the candidate luminance difference value includes:

[0228] If the candidate brightness difference value is greater than or equal to a third brightness threshold, determining the first candidate brightness value as the final reference brightness value;

[0229] If the candidate brightness difference value is smaller than the third brightness threshold, the second candidate brightness value is determined as the final reference brightness value.

[0230] In an optional example, acquiring a display image of the display device in a current image mode based on the multiple light intensities includes:

[0231] Calculating a light intensity range value based on a maximum light intensity and a minimum light intensity among the plurality of light intensities;

[0232] If the light intensity extreme difference value is greater than a preset threshold, a display image of the display device in a current image mode is obtained.

[0233] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.

[0234] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.

[0235] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A backlight adjustment method, characterized in that: include: Obtain multiple light intensities collected by a light-sensing device in a display device; acquiring a display image of the display device in a current image mode based on the multiple light intensities; determining a target brightness value of the display image based on the brightness value of each pixel in the display image, and determining a backlight percentage of the display device based on the multiple light intensities; The backlight brightness of the display device is adjusted based on the target brightness value and the backlight percentage.

2. The backlight adjustment method according to claim 1, wherein: The determining a target brightness value of the displayed image based on the brightness value of each pixel in the displayed image includes: Determining the number of pixels at each brightness value in the displayed image based on the brightness value of each pixel in the displayed image; Determining a reference brightness value for each of the preset pixel number thresholds based on a plurality of preset pixel number thresholds and the number of pixels at each brightness value; Determining a final reference brightness value based on the reference brightness value of each of the preset pixel number thresholds; The final reference brightness value is determined as the target brightness value of the display image.

3. The backlight adjustment method according to claim 2, wherein: The determining of a final reference brightness value based on each reference brightness value of the preset pixel quantity threshold comprises: Determining a reference brightness value having a minimum preset pixel number threshold value among a plurality of reference brightness values ​​having the preset pixel number threshold value; If the reference brightness value of the minimum preset pixel number threshold is less than or equal to the first brightness threshold, the reference brightness value of the minimum preset pixel number threshold is determined as the final reference brightness value; or, If the reference brightness value of the minimum preset pixel number threshold is greater than the first brightness threshold, sorting the reference brightness values ​​of the plurality of preset pixel number thresholds in descending order to obtain sorted reference brightness values; Determining a reference brightness difference between adjacent pixel quantity thresholds in the sorted reference brightness values; The final reference brightness value is determined according to a reference brightness difference between adjacent pixel quantity thresholds.

4. The backlight adjustment method according to claim 3, wherein: The determining the final reference brightness value according to the reference brightness difference between the adjacent pixel number thresholds includes: Determining a first candidate brightness value and a second candidate brightness value from a plurality of reference brightness values ​​of the preset pixel number thresholds according to a reference brightness difference between adjacent pixel number thresholds; determining a candidate luminance difference value between the first candidate luminance value and the second candidate luminance value; The final reference luminance value is determined from the first candidate luminance value and the second candidate luminance value according to the candidate luminance difference value.

5. The backlight adjustment method according to claim 4, characterized in that: The step of determining a first candidate brightness value and a second candidate brightness value from a plurality of reference brightness values ​​of the preset pixel number thresholds according to a reference brightness difference between adjacent pixel number thresholds includes: Determining the reference brightness value of the minimum preset pixel number threshold as the first candidate brightness value; determining whether, among the reference brightness difference values ​​between the adjacent pixel number thresholds, there is a target reference brightness difference value that is greater than or equal to the second brightness threshold; If the target reference luminance difference value exists in the reference luminance difference values ​​between the adjacent pixel number thresholds, determining the reference luminance value corresponding to the target reference luminance difference value as the second candidate luminance value; or, If the target reference brightness difference value does not exist in the reference brightness difference values ​​between adjacent pixel number thresholds, the reference brightness value corresponding to the maximum preset pixel number threshold among the plurality of preset pixel number thresholds is determined as the second candidate brightness value.

6. The backlight adjustment method according to claim 4, characterized in that: The determining, according to the candidate brightness difference value, the final reference brightness value from the first candidate brightness value and the second candidate brightness value, comprises: If the candidate brightness difference value is greater than or equal to a third brightness threshold, determining the first candidate brightness value as the final reference brightness value; If the candidate brightness difference value is smaller than the third brightness threshold, the second candidate brightness value is determined as the final reference brightness value.

7. The backlight adjustment method according to any one of claims 1 to 6, characterized in that: The acquiring, based on the plurality of light intensities, a display image of the display device in a current image mode, comprises: Calculating a light intensity range value based on a maximum light intensity and a minimum light intensity among the plurality of light intensities; If the light intensity extreme difference value is greater than a preset threshold, a display image of the display device in a current image mode is obtained.

8. A backlight adjustment device, characterized in that: include: A first acquisition module is used to acquire multiple light intensities collected by a light-sensing device in the display device; A second acquisition module, configured to acquire a display image of the display device in a current image mode based on the multiple light intensities; a determination module, configured to determine a target brightness value of the display image based on the brightness value of each pixel in the display image, and determine a backlight percentage of the display device based on the multiple light intensities; A backlight adjustment module is used to adjust the backlight brightness of the display device based on the target brightness value and the backlight percentage.

9. An electronic device, characterized in that: The system comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the backlight adjustment method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the backlight adjustment method according to any one of claims 1 to 7.