Display device and device control method

By obtaining the ambient light and image brightness values, using the static backlight curve and brightness factor to calculate the global brightness parameters, and combining PWM technology to adjust the display brightness, the problem of insufficient brightness adjustment in the existing technology is solved, and the fine and comprehensive dynamic adjustment of the display device brightness is achieved, thereby improving the user experience.

WO2025214230A1PCT designated stage Publication Date: 2025-10-16HISENSE VISUAL TECH CO LTD

Patent Information

Application Number
PCT/CN2025/086899
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-04-28
Filing Date
2025-04-02
Publication Date
2025-10-16

AI Technical Summary

Technical Problem

Existing display devices ignore the correlation and mutual influence between ambient light, static backlight and image brightness when adjusting display brightness, resulting in insufficiently precise and comprehensive brightness adjustment.

Method used

By obtaining the current ambient light value and image brightness value, the global brightness parameters are calculated using the static backlight curve and brightness factor value, and the display brightness is adjusted in combination with PWM technology. The ambient light, static backlight and image brightness are connected in series to perform fine adjustments in multiple dimensions.

Benefits of technology

It achieves fine and comprehensive dynamic adjustment of the display device brightness, improves the user experience, and ensures that the display brightness is adapted to the environment and image brightness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025086899_16102025_PF_FP_ABST
    Figure CN2025086899_16102025_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure provides a display device and a device control method. The method comprises: acquiring a current ambient light value; mapping the current ambient light value to a static backlight value on the basis of a static backlight curve; acquiring a brightness factor value; and calculating a global brightness parameter on the basis of the static backlight value and the brightness factor value. The static backlight curve is used to characterize a mapping relationship between the ambient light value and the static backlight value, and the static backlight value is used to characterize the screen brightness of a user interface. Further, the brightness factor value is calculated on the basis of the brightness values of pixel points in a current display image and brightness value weights. The method further comprises: setting the display brightness of a display according to the global brightness parameter, and controlling the display to display the user interface on the basis of the display brightness. According to the method, the display brightness of the display is adjusted through a plurality of dimensions including ambient light, static backlight, and image brightness, thereby improving the precision of brightness adjustment for the entire device.
Need to check novelty before this filing date? Find Prior Art

Description

Display device and device control method

[0001] Cross-reference to related applications

[0002] The present disclosure claims priority to Chinese applications No. 202410415378.1, filed on April 08, 2024, and No. 202410518534.7, filed on April 28, 2024, the contents of which are incorporated herein by reference in their entirety. TECHNICAL FIELD

[0003] The present disclosure relates to the technical field of display devices, and in particular to a display device and a device control method. BACKGROUND

[0004] A display device refers to a terminal device capable of outputting a specific display screen, which can be a smart television, a communication terminal, a smart advertising screen, a projector, etc. Taking a smart television as an example, a smart television is a television product based on Internet application technology, with an open operating system and a chip, an open application platform, and bidirectional man-machine interaction function, integrating audio, video, entertainment, data and other functions to meet the diversified and personalized needs of users.

[0005] The display device can set a whole machine brightness control mechanism to control the light intensity emitted by the display through Pulse Width Modulation (PWM) technology. By adjusting the PWM parameters, i.e. the duty cycle of the PWM signal, the display brightness of the display can be controlled.

[0006] The display device can separately calculate PWM parameters from the dimensions of ambient light and static backlight, and then adjust the display brightness of the display based on the maximum or minimum PWM parameter through maximum value comparison. However, this method ignores the correlation and mutual influence between multiple dimensions, resulting in insufficient precision and comprehensiveness of the whole machine brightness adjustment. SUMMARY

[0007] In a first aspect, the embodiments of the present disclosure provide a display device, which can include a display configured to display a user interface; a light sensor configured to detect an ambient light value; a memory configured to store computer instructions and data associated with the display device; and at least one processor connected to the display, the light sensor, and the memory, and configured to execute the computer instructions to cause the display device to perform the following operations: obtaining a current ambient light value; mapping the current ambient light value to a static backlight value based on a static backlight curve, the static backlight curve representing a mapping relationship between the ambient light value and the static backlight value, the static backlight value being used to represent a picture brightness of the user interface; obtaining a brightness factor value, the brightness factor value being obtained based on an image brightness value of a current display image, the image brightness value being calculated according to a brightness value of a pixel point in the current display image and a brightness value weight; calculating a global brightness parameter according to the static backlight value and the brightness factor value; setting a display brightness of the display according to the global brightness parameter, and controlling the display to display the user interface according to the display brightness.

[0008] In a second aspect, the embodiments of the present disclosure provide a device control method, which can include:

[0009] obtaining a current ambient light value; mapping the current ambient light value to a static backlight value based on a static backlight curve, the static backlight curve representing a mapping relationship between the ambient light value and the static backlight value, the static backlight value being used to represent a picture brightness of the user interface; obtaining a brightness factor value, the brightness factor value being obtained based on an image brightness value of a current display image, the image brightness value being calculated according to a brightness value of a pixel point in the current display image and a brightness value weight; calculating a global brightness parameter according to the static backlight value and the brightness factor value; setting a display brightness of the display according to the global brightness parameter, and controlling the display to display the user interface according to the display brightness. BRIEF DESCRIPTION OF DRAWINGS

[0010] FIG. 1 is a schematic diagram of an operating scenario between a display device and a control device according to some embodiments;

[0011] FIG. 2 is a schematic diagram of a hardware configuration of a display device according to some embodiments;

[0012] FIG. 3 is a schematic diagram of a software configuration of a display device according to some embodiments;

[0013] FIG. 4 is a schematic diagram of a flow of display brightness adjustment of a display according to some embodiments;

[0014] FIG. 5 is a schematic diagram of a flow of obtaining a current ambient light value according to some embodiments;

[0015] FIG. 6 is a schematic diagram of a correction curve, according to some embodiments;

[0016] FIG. 7 is a schematic diagram of a backlight upper limit curve, a backlight lower limit curve, and a static backlight curve, according to some embodiments;

[0017] FIG. 8 is a schematic diagram of a first settings menu, according to some embodiments;

[0018] FIG. 9 is a schematic diagram of one of the new static backlight curves, according to some embodiments;

[0019] FIG. 10 is a schematic diagram of another one of the new static backlight curves, according to some embodiments;

[0020] FIG. 11 is a schematic diagram of a second settings menu, according to some embodiments;

[0021] FIG. 12 is a schematic diagram of adjusting a base static backlight curve, according to some embodiments;

[0022] FIG. 13 is a flowchart diagram of calculating an image brightness value for a current display image, according to some embodiments;

[0023] FIG. 14 is a schematic diagram of a brightness factor mapping curve, according to some embodiments;

[0024] FIG. 15 is a schematic diagram of a PWM mapping curve, according to some embodiments;

[0025] FIG. 16 is a schematic diagram of a mapping settings menu, according to some embodiments;

[0026] FIG. 17 is a schematic diagram of a sub-menu for ambient light detection switch, according to some embodiments;

[0027] FIG. 18 is a schematic diagram of a sub-menu for image brightness capture switch, according to some embodiments;

[0028] FIG. 19 is a schematic diagram of an overall flow for display brightness adjustment, according to some embodiments;

[0029] FIG. 20 is a schematic diagram of a contrast adjustment interface, according to some embodiments;

[0030] FIG. 21 is another flowchart diagram of a device control method, according to some embodiments;

[0031] FIG. 22 is a schematic diagram of an image setting interface, according to some embodiments;

[0032] FIG. 23 is another schematic diagram of a contrast adjustment interface, according to some embodiments;

[0033] FIG. 24 is a schematic diagram of a light portion gamma adjustment interface, according to some embodiments;

[0034] FIG. 25 is a schematic diagram of a dark gamma adjustment interface according to some embodiments;

[0035] FIG. 26 is a system architecture diagram according to some embodiments;

[0036] FIG. 27 is a schematic diagram of an image mode setting interface according to some embodiments;

[0037] FIG. 28 is a schematic diagram of a gamma energy offset value function curve according to some embodiments;

[0038] FIG. 29 is a timing diagram of a gamma correction process according to some embodiments;

[0039] FIG. 30 is yet another flowchart of a device control method according to some embodiments;

[0040] FIG. 31 is yet another timing diagram of a gamma correction process according to some embodiments. DETAILED DESCRIPTION

[0041] In the embodiments of the present disclosure, the display device 200 generally refers to a device with picture display and data processing capabilities. For example, the display device 200 includes, but is not limited to, a smart television, a mobile terminal, a computer, a monitor, an advertising screen, a wearable device, a virtual reality device, an augmented reality device, etc.

[0042] FIG. 1 is a schematic diagram of an operating scenario between a display device and a control device according to some embodiments. As shown in FIG. 1, a user can operate the display device 200 through a touch operation, a mobile terminal 300, and a control device 100. The control device 100 is configured to receive an operation instruction input by the user and convert the operation instruction into a control instruction that can be recognized and responded by the display device 200. For example, the control device 100 can be a remote controller, a stylus, a handle, etc.

[0043] The mobile terminal 300 can be used as a control device to perform human-computer interaction between the user and the display device 200. The mobile terminal 300 can also be used as a communication device to establish a communication connection with the display device 200 and perform data interaction. In some embodiments, the mobile terminal 300 can install a software application with the display device 200, implement connection communication through a network communication protocol, and achieve the purpose of one-to-one control operation and data communication. The mobile terminal 300 can also display audio and video content on the display device 200 to achieve a synchronous display function.

[0044] In some embodiments, the mobile terminal 300 or other electronic devices can also simulate the function of the control device 100 by running an application program for controlling the display device 200.

[0045] As also shown in FIG. 1, the display device 200 is also in data communication with the server 400 through various communication means. The display device 200 can be allowed to be communicatively connected through a local area network (LAN), a wireless local area network (WLAN), and other networks.

[0046] The display device 200 can provide a broadcast receiving television function, and can additionally provide a smart network television function with computer support, including but not limited to a network television, a smart television, an Internet protocol television (IPTV), and the like.

[0047] FIG. 2 is a hardware configuration block diagram of the display device 200 shown in FIG. 1. As shown in FIG. 2, the display device 200 can include at least one of a tuner and demodulator 210, a communication device 220, a detector 230, a device interface 240, a processor 250, a display 260, an audio output device 270, a memory, a power supply, and a user input interface.

[0048] In some embodiments, the detector 230 can be used to collect signals of an external environment or an external interaction. For example, the detector 230 includes a photosensor for collecting ambient light intensity, or the detector 230 includes an image collector such as a camera, which can be used to collect an external environment scene, a user's attribute, or a user interaction gesture, or the detector 230 includes a sound collector such as a microphone, which is used to receive external sound.

[0049] In some embodiments, the device interface 240 can be used to connect external devices. This includes but is not limited to any one or more of the following: a high-definition multimedia interface (HDMI), an analog or digital high-definition component input interface (component), a composite video input interface (CVBS), a USB input interface (USB), an RGB port, and the like. It can also be a composite input / output interface formed by a plurality of the above interfaces. For example, the display device 200 can externally connect a camera through a USB interface, collect image data of an external environment scene through the camera, and display the image data through the display 260.

[0050] In some embodiments, the display 260 can include a display function component for presenting a picture, and a driving component for driving image display. The display 260 is used to receive an image signal output from the processor 250 for display. For example, the display 260 can be used to display video content, image content, and components of a menu control interface, as well as a user control UI interface, and the like.

[0051] In some embodiments, the communication device 220 is a component for communicating with the external device or the server 400 according to various communication protocol types. The display device 200 can be provided with multiple communication devices 220 according to different supported communication manners. For example, when the display device 200 supports wireless network communication, the display device 200 can be provided with a communication device 220 containing WiFi function. When the display device 200 supports Bluetooth connection communication, the display device 200 needs to be provided with a communication device 220 containing Bluetooth function.

[0052] The communication device 220 can make the display device 200 communicate with the external device or the server 400 through wireless or wired connection. The wired connection can connect the display device 200 with the external device through data line, interface, etc. The wireless connection can connect the display device 200 with the external device through wireless signal or wireless network. The display device 200 can directly establish connection relationship with the external device, or indirectly establish connection relationship through gateway, route, connection device, etc.

[0053] In some embodiments, the processor 250 can include at least one of central processor, video processor, audio processor, graphics processor, power processor, first interface to nth interface for input / output, and can control the operation of the display device and response to user's operation through various software control programs stored in the memory, or directly control the overall operation of the display device 200.

[0054] In some embodiments, the processor 250 and the tuner demodulator 210 can be located in different split devices, i.e. the tuner demodulator 210 can also be in the external device of the main device where the processor 250 is located, such as external set-top box, etc.

[0055] In some embodiments, the user can input user command through the graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI).

[0056] In some embodiments, the audio output device 270 can be the native loudspeaker of the display device 200, or can be the audio output device connected to the display device 200. For the audio output device connected to the display device 200, the display device 200 can also be provided with an external audio output terminal, and the audio output device can be connected to the display device 200 through the external audio output terminal to output the sound of the display device 200.

[0057] In some embodiments, the user input interface 280 can be used to receive the instruction input from the user.

[0058] To perform user interactions, in some embodiments, the display device 200 can run an operating system. The operating system is a computer program for managing and controlling hardware resources and software resources in the display device 200. The operating system can control the display device to provide a user interface, for example, the operating system can directly control the display device to provide a user interface, or can provide a user interface by running an application program. The operating system also allows the user to interact with the display device 200.

[0059] It should be noted that the operating system can be a native operating system based on a specific operating platform, a third-party operating system deeply customized based on a specific operating platform, or an independent operating system specially developed for the display device.

[0060] The operating system can be divided into different modules or levels according to the implemented functions, for example, as shown in FIG. 3, in some embodiments, the system is divided into four layers, from top to bottom, the Applications layer (referred to as the "application layer"), the Application Framework layer (referred to as the "framework layer"), the system library layer, and the kernel layer.

[0061] In some embodiments, the application layer is used to provide services and interfaces for applications, so that the display device 200 can run the application and interact with the user based on the application. At least one application can run in the application layer, which can be a window (Window) program, a system setting program or a clock program provided by the operating system, or an application developed by a third-party developer. In specific implementation, the application package in the application layer is not limited to the above examples.

[0062] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications. The application framework layer includes some pre-defined functions. The application framework layer is equivalent to a processing center that decides which application in the application layer to act. The application can access the resources in the system and obtain the services of the system through the API interface during execution.

[0063] As shown in FIG. 3, the application framework layer in the embodiments of the present disclosure includes a view system, managers, a content provider, etc., wherein the view system can be designed and implemented to interface and interact with the application, and the view system includes lists, grids, text boxes, buttons, etc. The managers include at least one of the following modules: an activity manager for interacting with all activities running in the system; a location manager for providing access to system location services for system services or applications; a package manager for retrieving various information related to application packages currently installed on the device; a notification manager for controlling the display and clearing of notification messages; and a window manager for managing icons, windows, toolbars, wallpapers, and desktop components on the user interface.

[0064] In some embodiments, the activity manager is used to manage the life cycle of each application and the general navigation back function, such as controlling the exit, opening, back, etc. of the application. The window manager is used to manage all window programs, such as obtaining the size of the display screen, determining whether there is a status bar, locking the screen, intercepting the screen, controlling the display window change, for example, reducing the display window, shaking the display, twisting the display, etc.

[0065] In some embodiments, the system runtime library layer can provide support for the framework layer. When the framework layer is used, the operating system runs the instruction library contained in the system runtime library layer, such as the C / C++ instruction library, to realize the functions of the framework layer.

[0066] In some embodiments, the kernel layer is a functional layer between the hardware and software of the display device 200. The kernel layer can implement hardware abstraction, multitasking, memory management, etc. For example, as shown in FIG. 3, the kernel layer can be configured with hardware drivers, and the kernel layer contains at least one of the following drivers: an audio driver, a display driver, a Bluetooth driver, a camera driver, a WIFI driver, a USB driver, an HDMI driver, a sensor driver (such as a fingerprint sensor, a temperature sensor, a pressure sensor, etc.), and a power supply driver, etc.

[0067] It should be noted that the above examples are only a simple division of the operating system functions, and do not constitute a limitation on the specific operating system form of the display device 200 in the embodiments of the present disclosure. According to the function of the display device, the type of the operating system, and other factors, the number and specific type of the levels contained in the operating system can be in other forms.

[0068] In some embodiments, the display device 200 can set a whole machine brightness control mechanism to control the light intensity, i.e., the display brightness, emitted by the display 260 through a specific interface or protocol, so as to present display pictures with different brightness.

[0069] In some embodiments, the display device 200 can detect the light intensity of the surrounding environment in real time through the light sensor, and adjust the display brightness of the display 260 according to the light intensity of the environment. For example, in an environment with weak light intensity, the display brightness of the display 260 can be reduced. In an environment with strong light intensity, the display brightness of the display 260 can be increased. Thus, the display brightness of the display 260 is dynamically adjusted according to the environmental conditions.

[0070] In some embodiments, the display device 200 can also analyze the image brightness of the current display image, and adjust the display brightness of the display 260 according to the image brightness of the current display image. The image brightness can be analyzed based on multiple angles, such as average brightness, maximum brightness, minimum brightness, etc. For example, when the image brightness of the current display image is dark, the display brightness of the display 260 can be reduced. When the image brightness of the current display image is bright, the display brightness of the display 260 can be increased. Thus, the whole machine brightness of the display 260 is adapted to the image brightness, the quality of the display picture is improved, and the user experience is improved.

[0071] In some embodiments, the display device 200 can adjust the display brightness of the display 260 based on user demand. For this purpose, the display device 200 can set a static backlight setting mechanism, which is used to represent the picture brightness of the user interface. The user can set the static backlight value based on the demand, and the display device 200 can adjust the display brightness of the display 260 according to the static backlight value set by the user, so that the display brightness of the display 260 meets the set picture brightness requirement.

[0072] In some embodiments, the display device 200 can adjust the display brightness of the display 260 through a pulse width modulation (PWM) technique. The PWM technique is an analog control method that uses the digital output of a microprocessor to control an analog circuit. By adjusting the duty cycle (the ratio of the width of the pulse width modulation signal to the period) of the PWM signal, the display brightness of the display 260 can be controlled. The display device 200 can integrate PWM control logic into the central processor of the display device 200, so that the display brightness of the display 260 can be adjusted according to the PWM signal when the system is running.

[0073] In some embodiments, the display device 200 can adjust the light intensity of the backlight in the display 260 through the PWM technique, thereby adjusting the display brightness of the entire display 260. The backlight refers to a backlight component, such as a light-emitting diode (LED) or a cold cathode fluorescent lamp (CCFL), which is located behind the screen of the display 260 and provides light. The backlight provides uniform and sufficient light from behind the screen, so that the information displayed on the screen can be clearly displayed.

[0074] The display device 200 can adjust the light brightness of the backlight of the display 260 by adjusting the PWM parameter, i.e., the duty cycle of the PWM signal. The duty cycle of the PWM signal refers to the proportion of time that the high level (backlight emits light) occupies in a PWM period. The higher the duty cycle, the greater the average current of the backlight, and the brighter the brightness; on the contrary, the lower the duty cycle, the smaller the average current of the backlight, and the weaker the brightness.

[0075] In some embodiments, the display device 200 can separately calculate the PWM parameter from the ambient light and the static backlight. Then, based on the maximum PWM parameter or the minimum PWM parameter, the display brightness of the display 260 is adjusted. However, this method ignores the correlation and mutual influence between multiple dimensions, resulting in insufficient precision and comprehensiveness of the adjustment of the overall brightness.

[0076] In some embodiments, in order to improve the precision of the adjustment of the overall brightness, the display device 200 can connect the ambient light, the static backlight, the image brightness, and the PWM parameter together, and adjust the display brightness of the display 260 through multiple dimensions of ambient light, static backlight, and image brightness. As shown in FIG. 4, a flowchart of the display brightness adjustment of the display 260 is provided according to an embodiment of the present disclosure. The specific steps include the following contents:

[0077] S401: Obtain the current ambient light value.

[0078] The current ambient light value is used to represent the light intensity of the current ambient light. The display device 200 can detect the current ambient light value through the photosensor, and apply it to the display brightness adjustment process of the display 260.

[0079] FIG. 5 is a flowchart of the display device 200 obtaining the current ambient light value. As shown in FIG. 5, the process can include the following steps:

[0080] S501: reading the ambient light value detected by the photosensor once every preset period;

[0081] The display device 200 can read the ambient light value detected by the photosensor once every preset period to obtain the current ambient light value. That is, the display brightness adjustment process is performed once every preset period. For example, the period can be 100 ms, and the display device 200 can read the ambient light value detected by the photosensor once every 100 ms and perform the display brightness adjustment process based on the ambient light value.

[0082] In some embodiments, in order to smooth out the noise in the detected ambient light data, a more stable ambient light value reading is obtained. The display device 200 can obtain a preset number of ambient light values, calculate the average of the preset number of ambient light values, i.e., the ambient light average, and use the ambient light average as the current ambient light value.

[0083] To this end, the display device 200 can create an array with a limit capacity of a target number of values, which is used to store the ambient light values detected by the photosensor. The limit capacity is used to represent the number of ambient light values that the array can store. After the display device 200 detects an ambient light value through the photosensor, the ambient light value is stored in the array.

[0084] S502: detecting the current number of ambient light values in the array;

[0085] S503: determining whether the current number is less than the target number;

[0086] S504: if yes, storing the ambient light value at the tail of the array;

[0087] S505: if no, removing the ambient light value at the head of the array and storing the ambient light value at the tail of the array;

[0088] Continuing as shown in FIG. 5, when storing the ambient light value, the display device 200 can detect the current number of ambient light values in the array. For the current number and the target number, if the current number is less than the target number, it means that the current capacity of the array has not reached the limit capacity, and the ambient light value is stored at the tail of the array. The ambient light average is calculated as the current ambient light value. The ambient light average is the sum of the ambient light values stored in the array divided by the current number.

[0089] If the current quantity value is equal to the target quantity value, indicating that the current capacity of the array has reached the limit capacity, the ambient light value at the head of the array is removed, the ambient light value is stored at the tail of the array, and the ambient light average is calculated as the current ambient light value.

[0090] For example, the display device 200 can initialize the sensitivity parameter of the photosensor, set the basic configuration of the photosensor such as exposure time, gain, etc. to optimize the sensitivity of the photosensor to ambient light, and set a polling time of period T to read the register in the photosensor according to the period to obtain the ambient light value Data.

[0091] An array Array with a limit capacity of N, i.e. an array that can store N ambient light value data, is set to store consecutive ambient light value data. After the display device 200 reads the ambient light value Data according to the period T, the ambient light value Data is stored in the array Array in turn.

[0092] When the array Array is full (i.e. the array Array contains N ambient light value data), the first ambient light value data Array[0] in the array Array is removed, and the ambient light value Data is stored at the tail of the array Array.

[0093] After each update to the array Array, the average of all ambient light value data in the array Array can be calculated to obtain the ambient light average AverageData as the ambient light value of this detection period, which is applied to the display brightness adjustment process.

[0094] S506: Calculate the ambient light average and take it as the current ambient light value;

[0095] S507: Calculate the light value change value according to the current ambient light value and the historical ambient light value;

[0096] In some embodiments, in order to improve the accuracy, effectiveness and usability of the ambient light value, as shown in FIG. 5, after the display device 200 obtains the current ambient light value, it can obtain the historical ambient light value, and calculate the light value change value according to the current ambient light value and the historical ambient light value. The historical ambient light value is the ambient light value obtained in the previous period, and the light value change value is the difference between the current ambient light value and the historical ambient light value.

[0097] S508: Determine whether the light value change value is greater than the light value change threshold value;

[0098] S509: If yes, map the current ambient light value from the first range interval to the second range interval based on the correction curve;

[0099] S510: Otherwise, the current acquired ambient light value is not processed.

[0100] The light value change value is compared with the light value change threshold. If the light value change value is less than or equal to the light value change threshold, it means that the ambient light change is small, which can be caused by noise or error, and the current acquired ambient light value is not processed. If the light value change value is greater than the light value change threshold, it means that the ambient light change is large, which is not caused by noise or error, and the current acquired ambient light value can be applied to the subsequent display brightness adjustment process.

[0101] In some embodiments, in order to facilitate subsequent processing and use of ambient light value data, the original ambient light value data can be mapped from a larger range to a smaller range. Therefore, the display device 200 can preset a correction curve, the correction curve being used to represent the mapping relationship between the ambient light values in the first range interval and the second range interval, the numerical range of the first range interval being greater than the numerical range of the second range interval. After acquiring the current ambient light value, the display device 200 can acquire the correction curve, and map the current ambient light value from the first range interval to the second range interval based on the correction curve (S509).

[0102] For the correction curve, the display device 200 can acquire a set of ambient light value mapping relationships pre-set, including a plurality of mapping relationships between ambient light values in the first range interval and ambient light values in the second range interval. Then, the linear interpolation method is used, and the correction curve is generated based on the set of ambient light value mapping relationships.

[0103] For example, as shown in FIG. 6, a schematic diagram of the correction curve provided by the embodiments of the present disclosure is shown. The display device 200 generates the correction curve by using the 11-point linear interpolation method. By setting 11 data points, the 11 data points represent 11 mapping relationships between ambient light values in the first range interval [0-65535] and ambient light values in the second range interval [0-255]. The 11-point linear interpolation method is used, and the correction curve shown in FIG. 6 is generated based on the 11 data points. Based on the correction curve, the acquired ambient light value can be mapped from the range [0-65535] to the range [0-255].

[0104] Continuing with the above example, the display device 200 can read the pre-defined correction curve and the light value change threshold from the preset storage location. The display device 200 compares the ambient light value obtained in the current period with the ambient light value obtained in the previous period, i.e. the ambient light average AverageData. The display device 200 calculates the light value change value of the ambient light value obtained in the current period and the ambient light value obtained in the previous period, and determines that the ambient light value in this period is valid if the light value change value is greater than the light value change threshold. Then, the display device 200 maps the ambient light average AverageData from the original range of [0-65535] to the range of [0-255] according to the correction curve shown in FIG. 6 to obtain the corrected ambient light value LumData, which is applied to the subsequent display brightness adjustment process.

[0105] S402: mapping the current ambient light value to a static backlight value based on a static backlight curve.

[0106] The static backlight curve is used to represent the mapping relationship between the ambient light value and the static backlight value, and the static backlight value is used to represent the picture brightness of the user interface. After the display device 200 obtains the current ambient light value, the display device 200 can map the current ambient light value to the static backlight value representing the picture brightness of the user interface, so as to connect the ambient light and the static backlight together and apply them to the subsequent display brightness adjustment process.

[0107] In some embodiments, for the static backlight curve, the display device 200 can obtain a pre-set group of static backlight mapping relationships, including a plurality of mapping relationships between ambient light values and static backlight values. Then, the display device 200 can generate the static backlight curve based on the group of static backlight mapping relationships by using the linear interpolation method.

[0108] For example, as shown in FIG. 7, the display device 200 generates the static backlight curve by using the 11-point linear interpolation method. The display device 200 sets a group of static backlight curves

[0011] , which includes 11 data points representing the mapping relationship between 11 ambient light values and static backlight values. The display device 200 generates the static backlight curve L0 shown in FIG. 7 based on the 11 data points by using the 11-point linear interpolation method. Based on the static backlight curve L0, the display device 200 can map the ambient light value in the range of [0-255] to the quantifiable static backlight value in the range of [0-100].

[0109] In some embodiments, the display device 200 can set a setting menu for setting the static backlight curve, which is used to interact with the user to set or modify the static backlight curve. When the display device 200 controls the display 260 to display the setting menu, the user can input the adjustment parameters of the static backlight curve according to the visual demand of the user through the setting menu. The display device 200 can update the static backlight curve according to the adjustment parameters input by the user based on the setting menu and apply the static backlight curve to the display brightness adjustment process.

[0110] In some embodiments, the setting menu can be a first setting menu for setting a curve offset value, the curve offset value being a parameter for adjusting a preset base static backlight curve. When the display device 200 controls the display 260 to display the first setting menu, the user inputs the curve offset value through the first setting menu, the display device 200 can obtain the curve offset value input by the user, extract the base static backlight curve, and modify the static backlight value on the base static backlight curve based on the curve offset value to generate a new static backlight curve, and apply the new static backlight curve to the display brightness adjustment process.

[0111] For example, as shown in FIG. 8, a schematic diagram of the first setting menu provided by the embodiments of the present disclosure is provided, which includes a slider control for setting a curve offset value. The numerical range of the curve offset value is [-15, 15], and the user can select the corresponding curve offset value by clicking and dragging the slider in the slider control to move on the linear track. At the same time, in order to improve the user experience, the first setting menu also includes a numerical label for displaying the brightness of the screen, and when the user drags the slider in the slider control, the display device 200 can update the numerical label in real time based on the position of the slider.

[0112] Based on the first setting menu shown in FIG. 8, the display device 200 can determine the curve offset value input by the user based on the position of the slider dragged by the user, and modify the base static backlight curve based on the curve offset value.

[0113] In some embodiments, in order to make the adjusted static backlight curve comply with the physical limit of the backlight system and improve the smoothness and continuity of the static backlight curve, the display device 200 can set a first numerical interval and a second numerical interval, the maximum value in the first numerical interval being greater than or equal to the minimum value in the second numerical interval. When adjusting the static backlight curve, different adjustment methods can be set based on the numerical interval in which the curve offset value is located.

[0114] If the curve offset value is located in the first numerical interval, a preset backlight upper limit value curve can be obtained, and the base static backlight curve is modified based on the backlight upper limit value curve and the curve offset value, the backlight upper limit value curve being a static backlight curve corresponding to the maximum static backlight value, i.e., a static backlight curve corresponding to the highest screen brightness of the user interface.

[0115] If the curve offset value is located in the second numerical interval, a preset backlight lower limit value curve can be obtained, and the base static backlight curve is modified based on the backlight lower limit value curve and the curve offset value, the backlight lower limit value curve being a static backlight curve corresponding to the minimum static backlight value, i.e., a static backlight curve corresponding to the lowest screen brightness of the user interface.

[0116] For example, as shown in FIG. 7, a schematic diagram of the backlight upper limit value curve, the backlight lower limit value curve and the static backlight curve provided by the embodiment of the present disclosure is provided, taking the above example. The adjustment interval of the curve adjustment value is [-n-n]. L0 is the basic static backlight curve, i.e., the static backlight curve when the curve adjustment value is 0. Lmax is the backlight upper limit value curve, i.e., the static backlight curve when the curve adjustment value is the maximum curve adjustment value +n. Lmin is the backlight lower limit value curve, i.e., the static backlight curve when the curve adjustment value is the maximum curve adjustment value -n.

[0117] The static backlight curve L0 is calculated by multi-point linear interpolation based on a set of static backlight curves

[0011] . The backlight upper limit value curve Lmax is calculated by multi-point linear interpolation based on a set of maximum static backlight curves curvemax

[0011] , and the curvemax

[0011] includes 11 data points as shown in FIG. 7, including Lmax0, Lmax1, Lmax2, Lmax3, Lmax4, Lmax5, Lmax6, Lmax7, Lmax8, Lmax9, Lmax10. The 11 data points respectively represent the mapping relationship between 11 maximum static backlight values and ambient light values. The backlight lower limit value curve Lmin is calculated by multi-point linear interpolation based on a set of minimum static backlight curves curvemin

[0011] , and the curvemin

[0011] includes 11 data points as shown in FIG. 7, including Lmin0, Lmin1, Lmin2, Lmin3, Lmin4, Lmin5, Lmin6, Lmin7, Lmin8, Lmin9, Lmin10. The 11 data points respectively represent the mapping relationship between 11 minimum static backlight values and ambient light values.

[0118] FIG. 9 is a schematic diagram of a new static backlight curve according to some embodiments. As shown in FIG. 9, if the curve adjustment value input by the user based on the first setting control is in the interval [0-n], the new static backlight curve Lsl is calculated based on the backlight upper limit value curve Lmax according to the following formula:

[0119] Wherein, Lsl is the new static backlight curve, Lmax is the backlight upper limit value curve, L0 is the basic static backlight curve, sl is the curve adjustment value input by the user based on the first setting control, and n is the maximum curve adjustment value.

[0120] FIG. 10 is another schematic diagram of a new static backlight curve according to some embodiments. As shown in FIG. 10, if the curve adjustment value input by the user based on the first setting control is in the interval [-n-0], the new static backlight curve Lsl is calculated based on the backlight lower limit value curve Lmin according to the following formula: Wherein, Lsl is the new static backlight curve, Lmin is the backlight lower limit value curve, L0 is the basic static backlight curve, sl is the curve adjustment value input by the user based on the first setting control, and n is the maximum curve adjustment value.

[0121] wherein Lsl is a new static backlight curve, Lmin is a backlight lower limit curve, L0 is a base static backlight curve, sl is a curve offset value input by the user based on the first setting control, and -n is a minimum curve offset value.

[0122] Based on the above two manners, the display device 200 can obtain the curve offset value input by the user based on the first setting menu, modify the base static backlight curve based on the curve offset value, and obtain a new static backlight curve.

[0123] In some embodiments, the setting menu can be a second setting menu for setting a mapping relationship between a specific ambient light value and a static backlight value. When the display device 200 controls the display 260 to display the second setting menu, the user inputs a mapping relationship between the ambient light value and the static backlight curve through the second setting menu. The display device 200 can obtain the mapping relationship between the ambient light value and the static backlight value input by the user, directly generate a static backlight curve based on the mapping relationship between the ambient light value and the static backlight value, and apply the static backlight curve to the display brightness adjustment process.

[0124] For example, as shown in FIG. 11, the second setting menu includes control points for adjusting the static backlight curve, i.e., 11 control points (the circular pattern shown in FIG. 11) shown in FIG. 11. The user can set the corresponding relationship between the picture brightness and the ambient brightness, i.e., the mapping relationship between the ambient light value and the static backlight value in the static backlight curve, by clicking and dragging the position of the control point. At the same time, in order to improve the user experience, the second setting menu also includes a numerical label for displaying the picture brightness. When the user adjusts a control point, the display device 200 can update the numerical label in real time based on the position of the control point.

[0125] As shown in FIG. 12, the display device 200 can obtain the mapping relationship between the ambient light value and the static backlight value input by the user based on the second setting menu, adjust the 11 data points (the circular pattern shown in FIG. 12) in the preset static backlight curve

[0011] . Then, the 11-point linear interpolation method is used, and a new static backlight curve is fitted and generated based on the 11 adjusted data points in FIG. 12.

[0126] Based on the above manner, the display device 200 can adjust each data point in the static backlight curve

[0011] based on the specific corresponding relationship between the ambient light and the picture brightness input by the user in the second setting interface to adapt to the current environment.

[0127] S403: Obtain the brightness factor value.

[0128] The luminance factor value is obtained based on an image luminance value of the current display image, and the image luminance value is calculated according to luminance values of pixel points in the current display image and luminance value weights. The display device 200 can assign different weight factors to pixel points with different luminance values according to the image luminance distribution of each frame of the display image, so as to calculate the image luminance value for measuring the entire image, and calculate the luminance factor value based on the image luminance value, which is applied to the subsequent display luminance adjustment process. This kind of way can accurately reflect the luminance difference of different areas of the screen, and improve the granularity of luminance adjustment.

[0129] In some embodiments, for the calculation of the luminance value of the pixel point, the display device 200 can perform a grayscale processing on the current display image to obtain a grayscale value of the pixel point in the grayscale-processed current display image as the luminance value of the pixel point. That is, the higher the grayscale value, the higher the luminance value of the pixel point. The display device 200 can also calculate the luminance value of the pixel point based on the color components of the pixel point in the current display image, for example, calculate the luminance value Luma as follows:

[0130] Wherein, R is the red component of the pixel point, G is the green component of the pixel point, and B is the blue component of the pixel point.

[0131] In some embodiments, for the image luminance value of the current display image, the display device 200 can traverse the luminance values of the pixel points in the current display image, assign weight factors to the pixel points according to the luminance values, and then calculate the image luminance value according to the luminance values and the weight factors. The image luminance value is the sum of the products of the luminance values of the pixel points in the current display image and the weight factors.

[0132] Wherein, the pixel points with the same luminance value have the same weight factor, and the weight factor is positively correlated with the luminance value. That is, the display device 200 can assign different weight factors to pixel points with different luminance values for the image luminance distribution of each frame of the image, and the pixel points with higher luminance values are assigned larger weight factors. Finally, the sum of the products of the luminance values of the pixel points and the corresponding weight factors is calculated as the image luminance value of the frame of the image.

[0133] For example, the image luminance value of the display image can be calculated as follows:

[0134] Wherein, K is the image luminance value, His(i) is the luminance value of the i th pixel point in the display image, and ∑ i His(i)*Weight(i) is the weight factor assigned to the i th pixel point in the display image.

[0135] In some embodiments, in order to reduce the deviation of image brightness estimation caused by single frame noise or outliers. The display device 200 can obtain the image brightness values of the display images of the preset number of frames before the current display image, calculate the average value of the image brightness value of the current display image and the average value of the image brightness values of the display images of the preset number of frames before the current display image, i.e. the brightness average value, and take the brightness average value as the image brightness value of the current display image.

[0136] For this purpose, the display device 200 can create an array with a limit capacity of a target number of values, dynamically store the image brightness values through the array, and calculate the average value of the image brightness values stored in the array as the image brightness value of the current display image. The specific steps of the above-mentioned method can refer to the steps of calculating the current ambient light value based on the array in the above-mentioned embodiments, which will not be described here.

[0137] In some embodiments, in order to reduce the influence of brightness instantaneous change caused by single frame noise. As shown in FIG. 13, it is a flowchart for calculating the image brightness value of the current display image in the embodiments of the present disclosure, which can include the following steps:

[0138] S1301: calculating the brightness change value according to the current image brightness value and the historical image brightness value;

[0139] The display device 200 can obtain the current image brightness value and the historical image brightness value, and calculate the brightness change value according to the current image brightness value and the historical image brightness value. The historical display image is the display image one frame before the current display image, and the brightness change value is the difference between the current image brightness value and the historical image brightness value. The current image brightness value can be the image brightness value of the current display image, or the average value of the image brightness values between the current display image and the display images of the preset number of frames before the current display image. The historical image brightness value can be the historical image brightness value, or the average value of the image brightness values between the historical display image and the display images of the preset number of frames before the historical display image.

[0140] S1302: judging whether the brightness change value is greater than the brightness change threshold value;

[0141] S1303: if greater than the brightness change threshold value, judging whether the current image brightness value is greater than the historical image brightness value;

[0142] S1304: if greater than the historical image brightness value, determining the brightness value of the current display image according to the sum of the historical brightness value and the brightness change threshold value;

[0143] S1305: if not greater than the historical image brightness value, determining the brightness value of the current display image according to the difference between the historical brightness value and the brightness change threshold value.

[0144] If the brightness change value is greater than the brightness change threshold value, and the current image brightness value is greater than the historical image brightness value, it indicates that the image brightness value of the two frames of images changes greatly, and it is a brightness lightening scene. Then, the sum of the historical image brightness value and the brightness change threshold value is calculated to generate the image brightness value of the current display image.

[0145] If the brightness change value is greater than the brightness change threshold value, and the current image brightness value is less than or equal to the historical image brightness value, it indicates that the image brightness value of the two frames of images changes greatly, and it is a brightness darkening scene. Then, the difference between the historical image brightness value and the brightness change threshold value is calculated to generate the image brightness value of the current display image.

[0146] S1306: If it is not greater than the brightness change threshold value, the current image brightness value is taken as the image brightness value of the current display image.

[0147] If the brightness change value is less than or equal to the brightness change threshold value, it indicates that the image brightness value of the two frames of images changes little. The current image brightness value is taken as the image brightness value of the current display image to keep the brightness value of the current display image unchanged.

[0148] For example, following the above example, the display device 200 can capture the image brightness values of the current display image and the display images of the preset number of frames before the current display image, and take the average to obtain the image brightness value of the current display image.

[0149] By comparing the image brightness values of the two frames of display images. If the brightness change value of the image brightness values of the two frames of display images is greater than the set brightness change threshold value APL_Threshold, and the current image brightness value Average_APL_Current is greater than the historical image brightness value Average_APL_Previous (a brightness lightening scene), the image brightness value Average_APL of the current display image is calculated according to the following formula:

[0150] Wherein, Average_APL is the image brightness value Average_APL of the current display image, Average_APL_Previous is the historical image brightness value, i.e. the average of the image brightness values between the historical display image and the display images of the preset number of frames before the historical display image, and APL_Threshold is the brightness change threshold value.

[0151] If the luminance change value of the image luminance values of the two adjacent display images is greater than the set luminance change threshold APL_Threshold, and the current image luminance value Average_APL_Current is less than or equal to the historical image luminance value Average_APL_Previous (a luminance darkening scene), the image luminance value Average_APL of the current display image is calculated according to the following formula: Average_APL = Average_APL_Previous - APL_Threshold;

[0152] wherein Average_APL is the image luminance value Average_APL of the current display image, Average_APL_Previous is the historical image luminance value, that is, the average value of the image luminance values between the historical display image and the display images of the preset number of frames before the historical display image, and APL_Threshold is the luminance change threshold.

[0153] If the luminance change value of the image luminance values of the two adjacent display images is less than the set luminance change threshold APL_Threshold, the image luminance value Average_APL of the current display image is calculated according to the following formula: Average_APL = Average_APL_Current;

[0154] wherein Average_APL is the image luminance value Average_APL of the current display image, and Average_APL_Current is the current image luminance value, that is, the average value of the image luminance values between the current display image and the display images of the preset number of frames before the current display image.

[0155] In some embodiments, for the luminance factor value, the display device 200 can preset a luminance factor mapping curve for characterizing the mapping relationship between the image luminance value and the luminance factor value. After obtaining the image luminance value, the display device 200 can obtain the luminance factor mapping curve, and map the image luminance value to the luminance factor value based on the luminance factor mapping curve.

[0156] In some embodiments, for the luminance factor mapping curve, the display device 200 can obtain a pre-set group of luminance factor mapping relationships, including a plurality of mapping relationships between the image luminance value and the luminance factor value. Then, the linear interpolation method is used, and the luminance factor mapping curve is generated based on the group of luminance factor mapping relationships.

[0157] FIG. 14 is a schematic diagram of a luminance factor mapping curve according to some embodiments. As shown in FIG. 14, the display device 200 can employ a 4-point linear interpolation method to generate the luminance factor mapping curve. By setting 4 data points, the 4 data points respectively represent the mapping relationship between 4 image luminance values and luminance factor values, i.e., data points A, B, C, and D shown in FIG. 14. The 4-point linear interpolation method is employed and based on the 4 data points to fit and generate the luminance factor mapping curve shown in FIG. 14. In the luminance factor mapping curve, the horizontal axis represents the image luminance value, and the vertical axis represents the luminance factor value. Based on the luminance factor mapping curve, the image luminance value can be mapped to the luminance factor value.

[0158] Linear interpolation is to estimate the value of an unknown data point based on two known data points. Based on this principle, taking the unknown data point between the B data point and the C data point as an example, the image luminance value of the B data point is in[i-1], and the luminance factor value is out[i-1]. The image luminance value of the C data point is in[i], and the luminance factor value is out[i].

[0159] Continuing with the above example, the image luminance value of the current display image is Average_APL, in[i]>Average_APL>in[i-1], and the luminance factor value coefficient mapped by the image luminance value Average_APL is calculated according to the following formula:

[0160] If out[i]>out[i-1], then coefficient=out[i-1]+((Average_APL-in[i-1])*(|out[i]-out[i-1]|)) / (in[i]-in[i-1]);

[0161] If out[i]≤out[i-1], then coefficient=out[i-1]-((Average_APL-in[i-1])*(|out[i]-out[i-1]|)) / (in[i]-in[i-1]).

[0162] S404: Calculate the global luminance parameter according to the static backlight value and the luminance factor value.

[0163] After the display device 200 obtains the static backlight value and the luminance factor value, the global luminance parameter can be calculated according to the static backlight value and the luminance factor value, so as to adjust the display luminance of the display 260 based on the global luminance parameter.

[0164] In some embodiments, the display device 200 can apply the static backlight value and the brightness factor value to the PWM parameter to calculate the global brightness parameter. That is, the display device 200 can preset a pulse width modulation mapping curve, i.e., a PWM mapping curve, which is used to represent the mapping relationship between the static backlight value and the pulse width modulation parameter (PWM parameter), and the PWM parameter is used to represent the duty cycle of the pulse width modulation signal (PWM signal), and the PWM parameter is positively correlated with the display brightness of the display 260.

[0165] After obtaining the static backlight value, the display device 200 can obtain the PWM mapping curve, map the static backlight value to the PWM parameter based on the PWM mapping curve, and calculate the global brightness parameter according to the brightness factor value and the PWM parameter. The global brightness parameter is the product of the brightness factor value and the pulse width modulation parameter.

[0166] In some embodiments, for the PWM parameter, the display device 200 can obtain a preset set of PWM parameter mapping relationships, including a plurality of mapping relationships between the static backlight value and the PWM parameter. Then, a linear interpolation method is used, and the PWM mapping curve is generated based on the set of PWM parameter mapping relationships.

[0167] FIG. 15 is a schematic diagram of a PWM mapping curve provided by an embodiment of the present disclosure. As shown in FIG. 15, the display device 200 can generate a PWM mapping curve using a 5-point linear interpolation method. By setting 5 data points, the 5 data points represent the mapping relationship between 5 static backlight values and PWM parameters. Using a 5-point linear interpolation method, the PWM mapping curve shown in FIG. 15 is generated based on the 5 data points. Based on the PWM mapping curve, the obtained static backlight value in the range of [0-100] can be mapped to the PWM parameter, i.e., the duty cycle of the PWM signal.

[0168] Using the above example, the brightness factor value of the current display image is coefficient, and after mapping the static backlight value to the PWM parameter, the brightness factor value coefficient is applied to the PWM parameter, i.e., the product of the PWM parameter and the brightness factor value coefficient is calculated to obtain the global PWM parameter, and the global PWM parameter is used to control the output of the current overall brightness.

[0169] S405: set the display brightness of the display according to the global brightness parameter, and control the display to display the user interface according to the display brightness.

[0170] After the display device 200 calculates the global brightness parameter, the light intensity of the backlight source in the display 260 can be adjusted through the global brightness parameter, so as to adjust the display brightness of the display 260, and the display 260 displays the user interface according to the display brightness.

[0171] It should be understood that in the above embodiments, the display brightness of the display 260 is adjusted based on the three dimensions of ambient light, static backlight, and image brightness. However, the display brightness can not be adjusted based on only the three dimensions of ambient light, static backlight, and image brightness. Depending on specific requirements and scenarios, different combinations of one or more dimensions can be selected to adjust the display brightness. For example, the display brightness of the display 260 can be adjusted based on two dimensions of ambient light and static backlight, two dimensions of static backlight and image brightness, or two dimensions of ambient light and image brightness. The display brightness of the display 260 can also be adjusted based on a single dimension of ambient light, static backlight, or image brightness.

[0172] In some embodiments, to improve the flexibility of adjusting the display brightness, the display device 200 can configure an ambient light detection switch in the image setting menu to select whether the display brightness of the display 260 is adapted to the surrounding environment. Therefore, when the display device 200 performs the display brightness adjustment process, the switch state of the ambient light detection switch can be detected. If the switch state is in the on state, the step of obtaining the current ambient light value is performed. If the switch state is in the off state, the step of obtaining the current ambient light value is not performed.

[0173] For example, as shown in FIG. 16, the user can open the image setting menu provided by the display device 200 for display brightness through the control device 100, so that the display 260 presents the image setting menu interface as shown in FIG. 16. The image setting menu includes a setting item for the ambient light detection switch.

[0174] When the display 260 displays the image setting menu, the user clicks the “ambient light detection switch” option in the setting menu through the control device 100, so that the display device 200 controls the display 260 to present a submenu of the ambient light detection switch, i.e., the submenu interface as shown in FIG. 17. The submenu interface includes options of on and off. The user can select the corresponding option based on his own needs. When the user clicks the corresponding option in the submenu through the control device 100, the display device 200 can detect the confirmation key value input by the control device 100, and set the switch state of the ambient light detection switch according to the position of the option where the current focus is located, to turn on or off the ambient light detection function.

[0175] In some embodiments, the display device 200 can also configure an image brightness capture switch in the image setting menu to control whether the image brightness factor is in effect. Therefore, when the display device 200 performs the display brightness adjustment process, the switch state of the image brightness capture switch can be detected. If the switch state is in the on state, the step of obtaining the current ambient light value is performed. If the switch state is in the off state, the step of obtaining the current ambient light value is not performed.

[0176] For example, the image setting menu shown in FIG. 16 is used, and the image setting menu further includes a setting item for the image brightness capture switch. When the display 260 displays the setting menu, the user clicks the "image brightness capture switch" option in the setting menu through the control device 100, so that the display device 200 controls the display 260 to present a submenu of the image brightness capture switch, that is, the submenu interface shown in FIG. 18. The submenu interface includes options of on and off. The user can select a corresponding option based on the user's own needs, and when the user clicks the corresponding option in the submenu through the control device 100, the display device 200 can detect the confirmation key value input by the control device 100, and set the switch state of the image brightness capture switch according to the position of the option where the current focus is located, to turn on or off the image brightness capture function.

[0177] The overall flow of the display brightness adjustment of the embodiment of the present disclosure is described below with reference to the flowchart shown in FIG. 19, which can include the following steps:

[0178] S1901: Configure parameters of the display brightness adjustment flow;

[0179] S1902: Determine whether the detection cycle interval reaches 100 ms;

[0180] S1903: If yes, read the ambient light value detected by the photosensor;

[0181] S1904: Correct the ambient light value based on the correction curve;

[0182] S1905: Determine whether the ambient light detection switch is on;

[0183] S1906: If not, obtain the static backlight value; otherwise, jump to the following step S1915;

[0184] S1907: Calculate the global PWM parameter based on the PWM mapping curve;

[0185] S1908: Set the global PWM parameter to the SOC chip;

[0186] S1909: Determine whether the VSYNC signal is received;

[0187] S1910: If yes, determine whether the image brightness capture switch is on;

[0188] S1911: If on, obtain the image brightness distribution, and assign corresponding weight factors to pixel points with different brightness values;

[0189] S1912: Calculate the image brightness value, calculate the brightness factor value based on the image brightness value, and jump to step S1907;

[0190] S1913: determining whether to adjust the static backlight parameter;

[0191] S1914: if yes, updating the static backlight curve;

[0192] S1915: mapping the ambient light value to the static backlight value based on the static backlight curve; and jumping to step S1907.

[0193] The display device 200 can pre-configure parameters of the display brightness adjustment process, including configuring a plurality of curve parameters such as a correction curve, a static backlight curve, a brightness factor mapping curve, a PWM mapping curve, setting a detection period (such as 100 ms), configuring parameters of the photosensor, registering vertical synchronization (VSYNC) detection, etc.

[0194] The display brightness adjustment process includes three dimensions of ambient light, static backlight and image brightness. For the ambient light dimension, the user can set the on-off state of the ambient light detection switch in the setting menu of the display device 200 to select whether the display brightness of the display 260 is self-adaptive to the surrounding environment. When the on-off state of the ambient light detection switch is in the on state, the ambient light value detected by the photosensor can be read once every 100 ms, and the obtained ambient light value is mapped from the [0-65535] range to the [0-255] range based on the correction curve, and then the ambient light value in the [0-255] range is mapped to the quantifiable static backlight value in the [0-100] range based on the static backlight curve. Finally, the static backlight value is mapped to the PWM parameter associated with the overall brightness through the PWM mapping curve. When the on-off state of the ambient light detection switch is in the off state, the preset static backlight value can be obtained, and the static backlight value is mapped to the PWM parameter associated with the overall brightness through the PWM mapping curve.

[0195] For the static backlight dimension, the user can adjust the static backlight parameters such as the curve offset value or the data points on the static backlight curve through the setting menu for setting the static backlight curve in the display device 200, so that the display device 200 can update the static backlight curve according to the static backlight parameters input by the user based on the setting menu, and apply it to the display brightness adjustment process.

[0196] For the image brightness dimension, the user can set the switch state of the image brightness capture switch in the setting menu of the display device 200 to control whether the image brightness factor acts or not. When the switch state of the image brightness capture switch is in the open state, the image brightness distribution of the display image of the input signal can be obtained when the VSYNC signal indicating that a new frame of display image is to be refreshed to the screen is accepted, and different weight factors are assigned to the pixel points with different brightness values. The sum of the product of the brightness value of the pixel point in the display image and the weight factor is calculated to obtain the image brightness value measuring the whole image. Finally, the brightness factor value is calculated based on the image brightness value.

[0197] After the brightness factor value is calculated, the brightness factor value is applied to the PWM parameter associated with the overall brightness to obtain the global PWM parameter. Thus, when the image brightness value of the display image is dark, the brightness factor value is reduced, and the global PWM parameter is also reduced. Conversely, when the image brightness value of the display image is bright, the brightness factor value is increased, and the global PWM parameter is also increased, so that the overall brightness is adapted to the image brightness, the quality of the display image is improved, and the user experience is improved.

[0198] After the global PWM parameter is calculated, the global PWM parameter is set to the SOC chip of the display device 200 to control the light brightness of the backlight of the display 260 to adjust the display brightness of the display 260.

[0199] Through the above process, the display device 200 can obtain the current ambient light value, map the current ambient light value to the static backlight value based on the static backlight curve, obtain the brightness factor value, and calculate the global brightness parameter according to the static backlight value and the brightness factor value. The static backlight curve is used to represent the mapping relationship between the ambient light value and the static backlight value, and the static backlight value is used to represent the brightness of the user interface. The brightness factor value is obtained based on the brightness value of the pixel point in the current display image and the brightness value weight. The display brightness of the display is set according to the global brightness parameter, and the display displays the user interface according to the display brightness. The method adjusts the display brightness of the display through multiple dimensions of ambient light, static backlight, and image brightness to improve the adjustment accuracy of the overall brightness.

[0200] In addition, considering that gamma correction is currently widely used in display devices to improve the display image quality. The gamma (Gamma) curve is derived from the response curve of CRT (Cathode Ray Tube) display / television, that is, the non-linear relationship between its brightness and input voltage.

[0201] The gamma curve is derived from the response curve of CRT display / TV, i.e. the non-linear relationship between brightness and input voltage. The so-called gamma correction is a method of editing the gamma of an image to make non-linear tone adjustment to the image, detecting the dark part and the light part of the image signal, and increasing the proportion of the two, thereby improving the contrast effect of the image. Through gamma correction, the overall brightness of the image can be increased or decreased. Currently known gamma correction methods include Gamma 2.0, Gamma 2.2, Gamma 2.4 and bt1886, etc. Among them, Gamma 2.0 is brighter than Gamma 2.2 and Gamma 2.4, but the above gamma correction methods can only respond to limited image effects.

[0202] Gamma 1.8 enhances the color gradient between darker tones, making darker scenes clearer and increasing overall tone brightness. This setting is very suitable for watching movies, TV or scenes or pictures that are too dark. Gamma 2.0 as an alternative, this Gamma setting can provide balance while still providing enhanced dark tone enhancement, not only enhancing details in darker scenes, but also enhancing softness. Gamma 2.2 is the standard currently set for balancing true color and display. This setting is fully supported by Windows and Mac, and is adopted due to true color output, which can produce realistic colors. Gamma 2.4 as an additional option, this Gamma setting is used to enhance details in scenes that are slightly too bright, providing enhanced contrast and improving the visibility of bright colors. Suitable for high-definition TV production, etc. bt1886 is a standard TV brightness and contrast adjustment method, aiming to make the picture more deep and realistic in low brightness conditions. Its feature is that there are more details in the low brightness area, which can present more subtle changes in dark scenes.

[0203] With the continuous popularization of smart TVs, people's pursuit of image quality effects is getting higher and higher. Among the current existing correction methods, the methods available for users to choose are only Gamma 2.0, Gamma 2.2, Gamma 2.4 and bt1886, etc.

[0204] For example, as shown in FIG. 20, the contrast adjustment interface includes a gamma 2.0 control 51, a gamma 2.2 control 52, a gamma 2.4 control 53, and a focus 54. The current focus 54 indicates that the gamma 2.2 control 52 is selected. By pressing the direction keys and the confirmation key of the control device 100, the appropriate gamma curve can be selected.

[0205] It is to be noted that the controls refer to visual objects displayed in each display area of the user interface in the display device to represent corresponding content such as icons, thumbnails, video clips, links, etc. These controls can provide the user with various conventional program contents received through data broadcasting, as well as various application and service contents set by the content manufacturer.

[0206] The display form of the controls is generally diversified. For example, the controls can include text content and / or an image for displaying a thumbnail related to the text content, or a video clip related to the text. For another example, the controls can be text and / or icons of an application program.

[0207] The focus is used to indicate that any one of the controls has been selected. In one aspect, the controls can be selected or controlled according to the movement of the focus object displayed in the display device controlled by the user's input through the control device 100. For example, the user can select and control the controls by controlling the movement of the focus object between the controls through the up direction key on the control device 100. In another aspect, the controls can be selected or controlled by the focus object according to the movement of each control displayed in the display device controlled by the user's input through the control device 100. For example, the user can select and control the controls by the focus object while keeping the position of the focus object unchanged by controlling the left and right movement of each control together through the up direction key on the control device 100.

[0208] The identification form of the focus is generally diversified. For example, the position of the focus object can be implemented or identified by enlarging the control, or by setting the background color of the control, or by changing the border line, size, color, transparency, and outline of the text or image of the focused control, and / or the font, etc.

[0209] However, the existing methods only correct a single original Gamma curve to a fixed one, and the user can only select the effect of Gamma 2.0, Gamma 2.2, Gamma 2.4, etc. according to the user menu, and the user cannot adjust according to the actual video scene, which is too single and cannot handle some special scenes, and the user cannot select a suitable Gamma curve according to the current image.

[0210] Based on this, the display device 200 of the embodiments of the present disclosure can also perform the flow as shown in FIG. 21, by providing the user with a dark and bright adjustment menu, the original Gamma curve can be transformed into multiple curves, more image effects can be achieved, the individual needs of the user for image effects can be met, the user can have more choices, and a suitable Gamma curve for the current video can be debugged, thereby improving the image quality. As shown in FIG. 21, it can include the following steps:

[0211] Step S2101: receiving a user input for changing the dark adjustment value and / or the light adjustment value;

[0212] In some embodiments, when displaying the setting interface, the display device 200 can receive a user input for selecting the image setting control, and then display an image setting interface including a contrast adjustment control. In response to a user input for selecting the contrast adjustment control, the display device 200 can display a contrast adjustment interface including a light gamma adjustment control and a dark gamma adjustment control. In response to a user input for selecting the light gamma adjustment control, the display device 200 can display a light gamma adjustment interface for the user to adjust the light adjustment value. In response to a user input for selecting the dark gamma adjustment control, the display device 200 can display a dark gamma adjustment interface for the user to adjust the dark adjustment value.

[0213] The light gamma adjustment interface and the dark gamma adjustment interface can include a plurality of numerical controls for the user to select the light adjustment value / dark adjustment value by pressing the up and down keys of the control device 100. The light adjustment value and the dark adjustment value can also be directly input by the user or input by scrolling the numerical controls. The light adjustment value and the dark adjustment value can also be adjusted by moving the focus position on the light adjustment bar / dark adjustment bar.

[0214] The light adjustment value and the dark adjustment value can have the same range or different ranges. The range of the light adjustment value and the dark adjustment value can be (-a, b), and the values of a and b can be the same or different.

[0215] In some embodiments, when displaying the setting interface, the display device 200 can receive a user input for selecting the image setting control, and then display an image setting interface as shown in FIG. 22. The image setting interface can include a black level control 71, a color control 72, a contrast adjustment control 73, a calibration control 74, an image mode control 75, a factory reset control 76, and a focus 77, and the current focus 77 indicates that the contrast adjustment control 73 is selected. In response to a user input for pressing the OK key of the control device 100, the display device 200 can display a contrast adjustment interface as shown in FIG. 23. The contrast adjustment interface can include a monochrome control 81, a light gamma adjustment control 82, a dark gamma adjustment control 83, an LED area control 84, and a focus 85, and the current focus 85 indicates that the light gamma adjustment control 82 is selected.

[0216] After receiving the instruction of pressing the OK key by the user, the bright part gamma adjustment interface, i.e. the bright part adjustment menu, is displayed, as shown in FIG. 24. The bright part gamma adjustment interface includes the contrast display area 91, the focus 92 and the bright part adjustment bar 93. The focus 92 can move on the bright part adjustment bar 93. The contrast display area 91 is used to display the contrast image corresponding to the brightness adjustment value selected by the current focus 92. The value range of the brightness adjustment value is -10 to 10. The current focus 92 indicates that the brightness adjustment value is -10.

[0217] In FIG. 23, after receiving the instruction of pressing the down key and the OK key by the user in sequence, the dark part gamma adjustment interface, i.e. the dark part adjustment menu, is displayed, as shown in FIG. 25. The dark part gamma adjustment interface includes the contrast display area 101, the focus 102 and the dark part adjustment bar 103. The focus 102 can move on the dark part adjustment bar 103. The contrast display area 101 is used to display the contrast image corresponding to the darkness adjustment value selected by the current focus 102. The value range of the darkness adjustment value is -10 to 10. The current focus 102 indicates that the brightness adjustment value is 0.

[0218] In some embodiments, the contrast adjustment interface can also only set one gamma adjustment control. After receiving the instruction of selecting the gamma adjustment control input by the user, the gamma adjustment interface can be displayed. The gamma adjustment interface can simultaneously provide the change of the bright part adjustment value and the dark part adjustment value.

[0219] In some embodiments, as shown in FIG. 26, the system architecture includes the application layer, the middleware layer and the hardware layer. The application layer includes the menu setting module. The menu setting module (Setting Menu) is used to receive the modification of various setting parameters of the system by the user in the setting interface and the sub-menu interface thereof and send the modified data to the module related to the modified setting parameter. In the embodiment of the present disclosure, the brightness adjustment value and the darkness adjustment value adjusted by the user can be sent to the picture quality middleware. The middleware layer includes the picture quality middleware (Picture Quality Middleware) and the data module (Data Module). The picture quality middleware is used to correct the gamma curve. The data module is used to store the data set by the system. The present disclosure can store the basic data used to correct the gamma curve. The hardware layer includes the picture quality module (Picture Quality Module). The picture quality module is used to adjust the display image based on the corrected gamma curve.

[0220] After the display device 200 is powered on, the picture quality middleware obtains the first gamma index and the first gamma energy value corresponding to all video types and image modes from the data module. Meanwhile, the threshold value and the step length are also obtained from the data module. The first gamma energy value, the threshold value and the step length are used for the correction of the gamma data.

[0221] In response to receiving the instruction input by the user for changing the dark adjustment value and / or the bright adjustment value, the menu setting module sends the changed dark adjustment value and / or the changed bright adjustment value to the image quality middleware.

[0222] Step S2102: In response to receiving the instruction input by the user for changing the dark adjustment value and / or the bright adjustment value, the first gamma index and the first gamma energy value are obtained.

[0223] The first gamma index is an original gamma index, and the first gamma energy value is an original gamma energy value. The first gamma index includes three groups of gamma data of R (Red), G (Green), and B (Blue).

[0224] The step of obtaining the first gamma index and the first gamma energy value includes:

[0225] The video type and the image mode are determined.

[0226] The video type includes SDR (Standard Dynamic Range), HDR (High Dynamic Range), HLG (Hybrid Log-Gamma), and Dolby Vision, etc. The high dynamic range technology is an image technology that provides more distinct contrast between light and dark and more delicate color expression by increasing the dynamic range of a television. Compared with the traditional SDR technology, the HDR provides a more real and realistic image effect by providing a higher brightness level and a wider color range when shooting, processing, and displaying an image. The HLG is a commonly used high dynamic range image storage sequence format, which can overcome the difference between the traditional non-multimedia image sequence and the high dynamic range image, and provide an effective storage method for the HDR application program. The Dolby Vision improves the image effect by improving the brightness and expanding the dynamic range. It can improve the fidelity of the video signal, so that the image is very realistic from the angles of brightness, color, and contrast.

[0227] In some embodiments, when the video is played, after receiving the instruction input by the user for changing the dark adjustment value and / or the bright adjustment value, the image quality middleware obtains the video type from the image quality module. The image quality module can obtain the basic data of the video when the video is played, and the basic data includes the video type.

[0228] In some embodiments, when the video is not played, after receiving the instruction input by the user for changing the dark adjustment value and / or the bright adjustment value, the image quality middleware can obtain a default video type. For example, the default video type is HDR.

[0229] In some embodiments, the image mode can be obtained by the image quality middleware from a menu setting module.

[0230] In some embodiments, the image mode can be obtained by the image quality middleware from a preset location, and the image mode is stored in the preset location when the display device is started or after the image mode is adjusted by the user.

[0231] In some embodiments, the image mode can be obtained by the image quality middleware from an image quality module.

[0232] In some embodiments, the image mode can include a standard mode, a natural mode, a cinema mode, a dynamic mode, a game mode, and the like.

[0233] In some embodiments, the image mode setting step can include: when the display setting interface is displayed, receiving an instruction of a user input for selecting an image setting control; controlling the display 260 to display an image setting interface, the image setting interface including an image mode control; in response to an instruction of a user input for selecting the image mode control, controlling the display 260 to display an image mode setting interface, the image mode setting interface including at least one image mode control; and in response to an instruction of a user input for selecting the image mode control, setting the current image mode as the image mode corresponding to the image mode control.

[0234] In some embodiments, as shown in FIG. 22, the display device 200 can receive an instruction of a user input for selecting the image mode control 75, display an image mode setting interface, and as shown in FIG. 27, the image mode setting interface can include a standard mode control 121, a natural mode control 122, a cinema mode control 123, a dynamic mode control 124, a game mode control 125, and a focus 126. The current focus 126 indicates that the standard mode control 121 is selected, and an instruction of a user pressing the up and down keys and the confirm key on the control device 100 can be received to select the image mode.

[0235] After the display device 200 is started, the image quality middleware obtains all the first gamma index and the first gamma energy value corresponding to the video type and the image mode from the data module, i.e., a mapping table of the video type and the image mode and the first gamma index and the first gamma energy value, as shown in Table 1 below.

[0236] Table 1

[0237] In the mapping table, a unique set of the first gamma index and the first gamma energy value corresponding to the video type and the image mode can be obtained.

[0238] The correspondence between the video type and the image mode and the first gamma index and the first gamma energy value can also be represented by other data forms in the embodiments of the present disclosure, and the present disclosure is not limited in this regard.

[0239] Step S2103: obtaining the dark adjustment value, the bright adjustment value, the threshold value and the step length;

[0240] The dark adjustment value is a default or user-selected setting value in the dark adjustment menu, and the bright adjustment value is a default or user-selected setting value in the bright adjustment menu.

[0241] The image quality middleware can receive the changed dark adjustment value and / or the changed bright adjustment value sent by the menu setting module after receiving the instruction of the user input for changing the dark adjustment value and / or the bright adjustment value.

[0242] The image quality middleware can obtain the threshold value and the step length from the data module.

[0243] Step S2104: determining the second gamma index according to the first gamma index, the first gamma energy value, the dark adjustment value, the bright adjustment value, the threshold value and the step length, wherein the second gamma index is a corrected gamma index.

[0244] Define the step length of the menu correction Gamma: Since the value range of the dark adjustment and the bright adjustment is (-a, a), the amplitude of the menu adjustment needs to be controlled, and the step length is defined as the low gray step (gamma_step_low) and the high gray step (gamma_step_high). The low gray step is used to represent the dark adjustment step length, and the high gray step is used to represent the bright adjustment step length.

[0245] Define the threshold value of the low-order and high-order Gamma: The threshold value can control the low-order and high-order adjustment range, and the threshold value is defined as the low gray threshold (GammaTh_low) and the high gray threshold (GammaTh_high). The gray level below the low gray threshold can be determined as the dark part. The gray level above the high gray threshold can be determined as the bright part.

[0246] The low gray step, the high gray step, the low gray threshold and the high gray threshold can be flexibly adapted according to the data separation to meet the needs of different scenes.

[0247] Define the lowest and highest gamma power offset values: GaPo_low, GaPo_high.

[0248] Define the dark adjustment value in the user menu: gamma_menu_low, and the bright adjustment value: gamma_menu_high, both of which can be (-10, 10).

[0249] The gray level of the image is defined as gray_level, and the value is 0-255.

[0250] The menu-adjusted gamma power offset value is defined as menu_gamma_power.

[0251] The initial gamma power value of the database configuration, i.e., the first gamma energy value, is defined as gamma_default_power.

[0252] The step of determining the second gamma index according to the first gamma index, the first gamma energy value, the dark adjustment value, the bright adjustment value, the threshold value and the step length comprises:

[0253] The gamma energy minimum offset value is determined as the product of the dark adjustment value and the low gray step, i.e., GaPo_low = gamma_menu_low x gamma_step_low.

[0254] The gamma energy maximum offset value is determined as the product of the bright adjustment value and the high gray step, i.e., GaPo_high = gamma_menu_high x gamma_menu_high.

[0255] The second gamma index is determined according to the gamma energy minimum offset value, the gamma energy maximum offset value, the first gamma index, the first gamma energy value and the threshold value.

[0256] Since the gray level of the image is defined as 256 gray levels, the corresponding gamma R, G and B each have 256 data (the value range is 0 to 4095), the gamma power value of each gray level is calculated, and then the gamma data is corrected.

[0257] It is judged whether the gray level is less than the low gray threshold value;

[0258] If the gray level is less than the low gray threshold value, the gamma energy offset value is determined as the gamma energy minimum offset value;

[0259] That is, if gray_level < GammaTh_low, menu_gamma_power = GaPo_low.

[0260] If the gray level is not less than the low gray threshold value, it is judged whether the gray level is greater than the high gray threshold value;

[0261] if the gray level is not greater than the high gray level threshold, calculating a gamma energy offset value according to the gamma energy lowest offset value, the gamma energy highest offset value, the low gray level threshold, the high gray level threshold and the gray level;

[0262] That is, when GammaTh_low≤gray_level<GammaTh_high, linear conversion will be performed.

[0263] menu_gamma_power=

[0264] (GaPo_high-GaPo_low)(gray_level-GammaTh_low) / (GammaTh_high-GammaTh_low

[0265] +GaPo_low.

[0266] If the gray level is greater than the high gray level threshold, determining the gamma energy offset value as the gamma energy highest offset value; that is, if gray_level>GammaTh_high, menu_gamma_power=GaPo_high.

[0267] It should be noted that the method for calculating the gamma energy offset value can be obtained according to the function curve as shown in FIG. 28.

[0268] In some embodiments, without defining the step, the dark adjustment value and the bright adjustment value in the user menu can be set as the lowest and highest gamma power offset values.

[0269] determining whether the gray level is less than the low gray level threshold;

[0270] if the gray level is less than the low gray level threshold, determining the gamma energy offset value as the dark adjustment value;

[0271] That is, if gray_level<GammaTh_low, menu_gamma_power=gamma_menu_low.

[0272] if the gray level is not less than the low gray level threshold, determining whether the gray level is greater than the high gray level threshold;

[0273] if the gray level is not greater than the high gray level threshold, calculating a gamma energy offset value according to the dark adjustment value, the bright adjustment value, the low gray level threshold, the high gray level threshold and the gray level;

[0274] That is, when GammaTh_low≤gray_level<GammaTh_high, linear conversion will be performed.

[0275] menu_gamma_power=

[0276] (gamma_menu_high-gamma_menu_low)(gray_level-GammaTh_low) / (GammaTh_high-GammaTh_low)+gamma_menu_low.

[0277] If the gray level is greater than the high gray level threshold, determining a gamma power offset value as the bright adjustment value;

[0278] That is, if gray_level>GammaTh_high, menu_gamma_power=gamma_menu_high.

[0279] Determining a second gamma power value as a difference between the first gamma power value and the gamma power offset value;

[0280] Second gamma power value gamma_power=gamma_default_power-menu_gamma_power.

[0281] Determining a second gamma index according to the second gamma power value and the first gamma index.

[0282] According to the obtained gamma power, gamma correction is performed, and the formula is as follows:

[0283] R / G / B gamma data(gray_level)=((R / G / B gamma data)^(gamma_power / 100)×4095 / (4095)^

[0284] (gamma_power / 100).

[0285] Wherein R / G / B gamma data is original gamma data. According to the formula, by controlling the gamma power value of each gray level brightness, the final gamma data is calculated.

[0286] The image quality middleware determines a second gamma index according to the first gamma index, the first gamma power value, the dark adjustment value, the bright adjustment value, the threshold value and the step length.

[0287] In the embodiments of the present disclosure, when the gray scale level is less than the low gray scale threshold or greater than the high gray scale threshold, the offset value of the gamma power is fixed. When the gray scale level is not less than the low gray scale threshold and not greater than the high gray scale threshold, the offset value of the gamma power dynamically changes. By changing the menu, the lowest and highest gamma energy offset values are ultimately controlled, and different gamma energy values are ultimately obtained, so that the dynamic generation of gamma is realized.

[0288] FIG. 29 is a timing diagram of performing a gamma correction process on the display device 200. As shown in FIG. 29, the display device 200 includes a menu setting module, an image quality middleware, an image quality module, and a data module, which can include the following steps:

[0289] S2901: After the display device is powered on, the image quality middleware obtains data related to gamma correction from the data module;

[0290] After the display device is powered on, the image quality middleware obtains all data related to gamma correction from the data module, and the data includes high and low gray scale steps, high and low gray scale thresholds, and all first gamma indexes and first gamma energy values.

[0291] S2902: The menu setting module receives an instruction to change the dark adjustment value and / or the light adjustment value;

[0292] S2903: The menu setting module sends the instruction of the dark adjustment value and the light adjustment value to the image quality middleware;

[0293] After receiving the instruction of the user to change the dark adjustment value and / or the light adjustment value, the menu setting module sends the changed dark adjustment value and / or the light adjustment value to the image quality middleware.

[0294] S2904: The image quality middleware obtains the video type from the image quality module;

[0295] S2905: The image quality middleware obtains the image mode;

[0296] S2906: The image quality middleware determines the original gamma index and the original gamma energy value;

[0297] S2907: The image quality middleware calculates the corrected gamma data;

[0298] The image quality middleware obtains the video type from the image quality module and obtains the image mode from the preset position after receiving the dark adjustment value and / or the bright adjustment value. The image quality middleware determines the original gamma index and the original gamma energy value corresponding to the video type and the image mode. The image quality middleware obtains the corrected gamma data based on the original gamma index, the original gamma energy value, the high and low gray scale step, the high and low gray scale threshold, and the dark adjustment value and the bright adjustment value.

[0299] S2908: The image quality middleware sends the corrected gamma data to the image quality module.

[0300] S2909: The image quality module updates the gamma data and displays the image based on the corrected gamma index.

[0301] The method for dynamically adjusting Gamma implemented by the embodiments of the present disclosure can dynamically adjust a single gamma curve according to an actual video scene, so that the contrast of dark and bright scenes, i.e., low and high gray scale images, is higher, and the image quality can be better improved.

[0302] The embodiments of the present disclosure provide a display device 200. The structure of the display device 200 and the functions of the parts can refer to the above embodiments. In addition, based on the display device 200 shown in the above embodiments, some functions of the display device 200 are further improved in the present embodiment. As shown in FIG. 30, the display device 200 can further perform the following steps:

[0303] Step S3001: After video starting or after video switching, the first gamma index and the first gamma energy value are obtained.

[0304] After the display device 200 is powered on, the image quality middleware obtains the first gamma index, the first gamma energy value, the threshold value and the step length from the data module, and the image quality middleware registers the video change (Timing Change) information callback to the image quality module, so that the image quality module sends the video change information to the image quality middleware after detecting the video switching or starting.

[0305] In some embodiments, after receiving the starting video instruction input by the user, the image quality module performs the operation of starting the video. After starting the video, the image quality module sends the video change information to the image quality middleware. The image quality middleware obtains the video type from the image quality module and obtains the image mode, and obtains the corresponding first gamma index and first gamma energy value according to the video type and the image mode.

[0306] In some embodiments, the video change information can include the video type. The image quality middleware can parse the video type after receiving the video change information.

[0307] In some embodiments, after receiving the user inputted switching video instruction or automatically inputted switching video instruction under target condition, the image quality module executes the operation of switching video. The target condition includes playing the current video or reaching the scheduled playing time of the target video. After executing the switching video, the image quality module sends the video change information to the image quality middleware. The image quality middleware obtains the video type and image mode from the image quality module, and obtains the corresponding first gamma index and first gamma energy value according to the video type and image mode.

[0308] In some embodiments, when the image quality module executes the switching target video, it judges whether the video type of the post-switching video is the same as that of the pre-switching video. If the video type of the post-switching video is different from that of the pre-switching video, the image quality module sends the video change information to the image quality middleware. If the video type of the post-switching video is the same as that of the pre-switching video, the image quality module does not execute the operation of sending the video change information to the image quality middleware.

[0309] The way of obtaining the first gamma index and first gamma energy value has been described in detail above, and will not be repeated here.

[0310] Step S3002: obtaining the dark adjustment value, light adjustment value, threshold value and step length.

[0311] In some embodiments, after receiving the video change information, the image quality middleware can obtain the default or user selected dark adjustment value and light adjustment value from the menu setting module.

[0312] In some embodiments, the menu setting module sends the default or user selected dark adjustment value and light adjustment value to the image quality middleware in advance, and the image quality middleware stores the dark adjustment value and light adjustment value in a preset location. After receiving the video change information, the image quality middleware can directly read from the preset location.

[0313] Step S3003: determining the second gamma index according to the first gamma index, first gamma energy value, dark adjustment value, light adjustment value, threshold value and step length.

[0314] The way of determining the second gamma index has been described in detail above, and will not be repeated here.

[0315] FIG. 31 is another timing diagram of executing the gamma correction process on the display device 200. As shown in FIG. 31, the display device 200 includes the image quality middleware, image quality module and data module, and can include the following steps:

[0316] S3101: after the display device is powered on, the image quality middleware obtains the data related to the gamma correction from the data module.

[0317] S3102: The image quality middleware registers a video change information callback to the image quality module.

[0318] S3103: The image quality module sends the video change information to the image quality middleware after detecting video starting or video switching.

[0319] After the display device is powered on, the image quality middleware obtains all gamma correction related data from the data module, including high and low gray scale steps, high and low gray scale thresholds, and all first gamma indexes and first gamma energy values. At the same time, the image quality middleware registers a video change information callback to the image quality module. The image quality module sends the video change information to the image quality middleware after detecting video starting or video switching.

[0320] S3104: The image quality middleware obtains the video type from the image quality module.

[0321] S3105: The image quality middleware obtains the image module, dark adjustment value and bright adjustment value.

[0322] S3106: The image quality middleware determines the original gamma index and the original gamma energy value.

[0323] S3107: The image quality middleware calculates the corrected gamma data.

[0324] After receiving the video change information, the image quality middleware obtains the video type from the image quality module, and obtains the image mode, dark adjustment value and bright adjustment value from a preset position. The image quality middleware calculates the corrected gamma data based on the original gamma index, the original gamma energy value, the high and low gray scale steps, the high and low gray scale thresholds, and the dark adjustment value and the bright adjustment value.

[0325] S3108: The image quality middleware sends the corrected gamma data to the image quality module.

[0326] S3109: The image quality module updates the gamma data and displays the image based on the corrected gamma index.

[0327] In order to facilitate user adjustment, the embodiments of the present disclosure add two menus, namely a dark adjustment menu and a bright adjustment menu, for user adjustment, which can give users more choices, debug the Gamma curve suitable for the current video, thereby improving the picture quality and enhancing the user experience.

[0328] The embodiments of the present disclosure can dynamically control the image brightness of low gray scale and high gray scale images. During the playing of a video, if some scenes have a black area that is too dark, the details of the image cannot be seen, and the effect can be improved by increasing the brightness of the low gray scale image (increasing the dark part adjustment value). If some scenes have a black area that is too bright, the black area is too bright, the contrast is poor, and the image is distorted, the image contrast can be improved by reducing the brightness of the low gray scale image (reducing the dark part adjustment value), and the image effect can be improved. Similarly, if some scenes have a bright area that is too bright, the details of the image cannot be seen, and the effect can be improved by reducing the brightness of the high gray scale image (reducing the bright part adjustment value). If some scenes have a white area that is too dark, the white area is too dark, the contrast is poor, and the image is distorted, the image contrast can be improved by increasing the brightness of the high gray scale image (increasing the bright part adjustment value), and the image effect can be improved.

[0329] The embodiments of the present disclosure can achieve the transformation of multiple curves for the original Gamma curve through the adjustment of the dark part and bright part menus, can achieve more image effects, and meet the personalized needs of users for image effects. The above-mentioned process can provide the user with a dark part and bright part adjustment menu, can achieve the transformation of multiple curves for the original Gamma curve, can achieve more image effects, can meet the personalized needs of users for image effects, can provide more choices for the user, and can debug the Gamma curve suitable for the current video, thereby improving the image quality.

[0330] Those skilled in the art can clearly understand that the technology in the embodiments of the present disclosure can be realized by means of software and necessary general hardware platforms. Based on such understanding, the embodiments in the present disclosure can be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods of various embodiments or some parts of the embodiments of the present disclosure.

[0331] In addition, it should be understood that the specific order of the operations described in the embodiments of the present disclosure with respect to FIGS. 4, 5, and 13 is merely exemplary, and is not intended to indicate that the order is the only order in which the operations can be performed. Those skilled in the art will think of various ways to reorder the operations described herein.

[0332] It should be noted that the above-mentioned embodiments are only used to illustrate the present disclosure, but not to limit it; although the present disclosure has been described in detail with reference to the above-mentioned embodiments, those skilled in the art should understand that the above-mentioned embodiments can be modified, or some or all of the technical features can be replaced by equivalent replacements; and these modifications or replacements do not cause the essence of the corresponding embodiments to deviate from the scope of the embodiments of the present disclosure.

Claims

1. A display device, comprising: a display configured to display a user interface; a light sensor configured to detect an ambient light value; a memory configured to store computer instructions and data associated with the display device; At least one processor, connected to the display, the photoreceptor, and the memory, configured to execute computer instructions to cause the display device to: Get the current ambient light value; Mapping the current ambient light value to a static backlight value based on a static backlight curve; the static backlight curve represents a mapping relationship between the ambient light value and the static backlight value, and the static backlight value is used to represent the brightness of the user interface screen; Get the brightness factor value; The brightness factor value is obtained based on the image brightness value of the currently displayed image, and the image brightness value is calculated based on the brightness value of the pixel points in the currently displayed image and the brightness value weight; Calculating a global brightness parameter according to the static backlight value and the brightness factor value; The display brightness of the display is set according to the global brightness parameter, and the display is controlled to display a user interface according to the display brightness.

2. The display device according to claim 1, wherein the at least one processor is specifically configured to execute computer instructions to enable the display device to execute the step of obtaining the current ambient light value: creating an array with a limit capacity of a target number value, the array being used to store the ambient light values ​​detected by the photoreceptor, the limit capacity being used to represent the number of ambient light values ​​that can be stored in the array; Reading the ambient light value detected by the photoreceptor at preset intervals; detecting the current number of ambient light values ​​in the array; If the current quantity value is less than the target quantity value, the ambient light value is stored at the end of the array, and an average ambient light value is calculated as the current ambient light value, where the average ambient light value is the ratio of the sum of the ambient light values ​​stored in the array to the current quantity value; If the current quantity value is equal to the target quantity value, remove the ambient light value at the head in the array, store the ambient light value at the tail of the array, and calculate the average ambient light value as the current ambient light value.

3. The display device according to claim 2, wherein the at least one processor is further configured to execute computer instructions to cause the display device to perform: Acquire a historical ambient light value, where the historical ambient light value is the ambient light value acquired in the previous period; Calculating a light value change value, the light value change value being a difference between the current ambient light value and the historical ambient light value; Get the light value change threshold; If the light value change value is greater than the light value change threshold, the current ambient light value is mapped from the first range interval to the second range interval based on a preset correction curve, and the correction curve is used to characterize the mapping relationship between the ambient light values ​​between the first range interval and the second range interval, and the numerical range of the first range interval is greater than the numerical range of the second range interval.

4. The display device according to claim 1 , wherein the at least one processor is further configured to execute computer instructions to cause the display device to: controlling the display to display a first setting menu for setting a static backlight curve; Acquiring a curve offset value input by a user based on the first setting menu; Extract the preset basic static backlight curve; The static backlight value on the basic static backlight curve is modified based on the curve offset value to generate a new static backlight curve.

5. The display device according to claim 4 , wherein the at least one processor is specifically configured to execute computer instructions to cause the display device to modify the static backlight value on the basic static backlight curve based on the curve offset value to generate a new static backlight curve: If the curve offset value is within the first numerical range, obtaining a preset backlight upper limit curve, and modifying the basic static backlight curve based on the backlight upper limit curve and the curve offset value; the backlight upper limit curve is a static backlight curve corresponding to the maximum static backlight value; If the curve offset value is within the second numerical interval, obtain a preset backlight lower limit curve, and modify the basic static backlight curve based on the backlight lower limit curve and the curve offset value; the backlight lower limit curve is a static backlight curve corresponding to the minimum static backlight value, and the maximum value in the first numerical interval is greater than or equal to the minimum value in the second numerical interval.

6. The display device according to claim 1 , wherein the at least one processor is further configured to execute computer instructions to cause the display device to: controlling the display to display a second setting menu for setting a static backlight curve; Obtaining a mapping relationship between an ambient light value and a static backlight value input by a user based on the second setting menu; A static backlight curve is generated based on the mapping relationship.

7. The display device according to claim 1, wherein the at least one processor is specifically configured to execute computer instructions to enable the display device to execute the step of obtaining the brightness factor value: Traversing the brightness values ​​of pixels in the currently displayed image; Assigning weight factors to pixels according to the brightness value, wherein pixels with the same brightness value have the same weight factor, and the weight factor is positively correlated with the brightness value; Calculating an image brightness value according to the brightness value and the weight factor, the image brightness value being the sum of the products of the brightness values ​​of the pixels in the currently displayed image and the weight factor; The image brightness value is mapped to a brightness factor value based on a brightness factor mapping curve, where the brightness factor mapping curve is used to represent a mapping relationship between the image brightness value and the brightness factor value.

8. The display device according to claim 7, wherein the at least one processor is further configured to execute computer instructions to cause the display device to: Obtaining a current image brightness value, where the current image brightness value is an average of image brightness values ​​between a current display image and display images a preset number of frames before the current display image; Obtaining a historical image brightness value; the historical image brightness value is an average of image brightness values ​​between a historical display image and a display image a preset number of frames before the historical display image, the historical display image being a display image one frame before the current display image; Determining a brightness change value according to a difference between the brightness value of the current image and the brightness value of the historical image; If the brightness change value is greater than the brightness change threshold, and the current image brightness value is greater than the historical image brightness value, then calculating the sum of the historical image brightness value and the brightness change threshold to generate an image brightness value of the currently displayed image; If the brightness change value is greater than the brightness change threshold, and the current image brightness value is less than or equal to the historical image brightness value, calculating the difference between the historical image brightness value and the brightness change threshold to generate an image brightness value of the currently displayed image; If the brightness change value is less than or equal to the brightness change threshold, the current image brightness value is used as the image brightness value of the currently displayed image.

9. The display device according to claim 1 , wherein the at least one processor is specifically configured to execute computer instructions to enable the display device to calculate the global brightness parameter according to the static backlight value and the brightness factor value: Mapping the static backlight value to a pulse width modulation parameter based on a pulse width modulation mapping curve, wherein the pulse width modulation mapping curve is used to represent a mapping relationship between the static backlight value and the pulse width modulation parameter, the pulse width modulation parameter is used to represent a duty cycle of a pulse width modulation signal, and the pulse width modulation parameter is positively correlated with display brightness of the display; A global brightness parameter is calculated according to the brightness factor value and the pulse width modulation parameter, where the global brightness parameter is the product of the brightness factor value and the pulse width modulation parameter.

10. The display device according to any one of claims 1 to 9, wherein the at least one processor is further configured to execute computer instructions to cause the display device to: Obtaining a first gamma index and a first gamma energy value, wherein the first gamma index is an original gamma index, and the first gamma energy value is an original gamma energy value; Obtaining a dark adjustment value, a bright adjustment value, a threshold value, and a step size, wherein the dark adjustment value is a default setting value or a user-selected setting value in the dark adjustment menu, and the bright adjustment value is a default setting value or a user-selected setting value in the bright adjustment menu; A second gamma index is determined according to the first gamma index, the first gamma energy value, the dark portion adjustment value, the bright portion adjustment value, the threshold, and the step size, where the second gamma index is a corrected gamma index.

11. The display device according to claim 10, wherein the at least one processor is specifically configured to execute computer instructions to enable the display device to perform the step of obtaining the first gamma index and the first gamma energy value: Determine the video type and image mode; A first gamma index and a first gamma energy value corresponding to the video type and the image mode are obtained.

12. The display device according to claim 10, wherein the at least one processor is specifically configured to execute computer instructions to enable the display device to perform the step of obtaining the first gamma index and the first gamma energy value: In response to a user inputting an instruction for changing the dark portion adjustment value and / or the bright portion adjustment value, a first gamma index and a first gamma energy value are acquired.

13. The display device according to claim 10, wherein the at least one processor is specifically configured to execute computer instructions to enable the display device to perform the step of obtaining the first gamma index and the first gamma energy value: After the video starts playing, a first gamma index and a first gamma energy value are obtained.

14. The display device according to claim 10, wherein the at least one processor is specifically configured to execute computer instructions to enable the display device to perform the step of obtaining the first gamma index and the first gamma energy value: After the video is switched, a first gamma index and a first gamma energy value are obtained.

15. The display device according to claim 10 , wherein the step length comprises a low grayscale step length and a high grayscale step length; and the at least one processor is specifically configured to execute computer instructions to cause the display device to determine the second gamma index according to the first gamma index, the first gamma energy value, the dark adjustment value, the bright adjustment value, the threshold, and the step length: Determine the lowest gamma energy offset value as the product of the dark adjustment value and the low grayscale step length; Determine the highest gamma energy offset value as the product of the bright part adjustment value and the high grayscale step length; A second gamma index is determined according to the lowest gamma energy offset value, the highest gamma energy offset value, the first gamma index, the first gamma energy value, and the threshold.

16. The display device according to claim 15 , wherein the threshold comprises a low grayscale threshold and a high grayscale threshold; and the at least one processor is specifically configured to execute computer instructions to cause the display device to determine the second gamma index according to the lowest gamma energy offset value, the highest gamma energy offset value, the first gamma index, the first gamma energy value, and the threshold: If the grayscale level is less than the low grayscale threshold, determining the gamma energy offset value to be the gamma energy minimum offset value; If the grayscale level is not less than the low grayscale threshold and the grayscale level is not greater than the high grayscale threshold, calculating a gamma energy offset value according to the lowest gamma energy offset value, the highest gamma energy offset value, the low grayscale threshold, the high grayscale threshold, and the grayscale level; If the grayscale level is greater than the high grayscale threshold, determining the gamma energy offset value to be the highest gamma energy offset value; determining a second gamma energy value as a difference between the first gamma energy value and the gamma energy offset value; A second gamma index is determined according to the second gamma energy value and the first gamma index.

17. The display device according to claim 10, wherein the at least one processor is further configured to execute computer instructions to cause the display device to: After the display device is turned on, the image quality middleware is controlled to obtain the first gamma index, the first gamma energy value, the threshold and the step size from the data module, and the image quality middleware is controlled to register the video change information callback with the image quality module, so that the image quality module sends the video change information to the image quality middleware after detecting video switching or starting.

18. The display device according to claim 17, wherein the at least one processor is specifically configured to execute computer instructions to enable the display device to perform the step of obtaining the first gamma index and the first gamma energy value: The image quality control module sends video change information to the image quality middleware when detecting video switching or start of playback; Controlling the image quality middleware to obtain the image mode, and obtaining the video type from the image quality module; The image quality control middleware obtains a first gamma index and a first gamma energy value corresponding to the video type and the image mode.

19. A device control method, applied to the display device according to any one of claims 1 to 18, the method comprising: Get the current ambient light value; Mapping the current ambient light value to a static backlight value based on a static backlight curve, wherein the static backlight curve is used to represent a mapping relationship between the ambient light value and the static backlight value, and the static backlight value is used to represent screen brightness of a user interface; Obtaining a brightness factor value, where the brightness factor value is obtained based on an image brightness value of a currently displayed image, where the image brightness value is calculated based on brightness values ​​of pixels in the currently displayed image and brightness value weights; Calculating a global brightness parameter according to the static backlight value and the brightness factor value; The display brightness of the display is set according to the global brightness parameter, and the display is controlled to display a user interface according to the display brightness.

Citation Information

Patent Citations

  • Video signal processing apparatus, imaging apparatus, video signal processing method, and computer program

    CN101557463A

  • Backlight brightness adjusting method and device thereof

    CN111462701A

  • Brightness adjusting method, brightness adjusting device, display panel and display device

    CN112164374A

  • Display picture adjusting method and device, electronic equipment and readable storage medium

    CN113140197A

  • Backlight adjusting method and electronic equipment

    CN113192464A

Cited By

  • LED display screen splicing intelligent control method and system

    CN121260110A

  • Method and system for realizing comprehensive dimming

    CN122290549A