Method and device for realizing adjustment of display parameters of display screen based on scene and content

By monitoring the application of the terminal and ambient light, the display scene is determined and the display parameter curve model is constructed, and the display screen brightness is dynamically adjusted, which solves the problem of lack of flexibility in brightness adjustment in the existing technology, and achieves better display effect and user experience.

CN119536877APending Publication Date: 2025-02-28WEAPON EQUIP RES INST OF CHINA NAT WEAPON EQUIP GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411377496.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

The prior art lacks scene-based flexibility when adjusting display brightness, resulting in poor display effects under different ambient lights.

Method used

By monitoring the current trigger application and ambient light attribute values ​​of the terminal, the current display scene is determined, and the display parameter curve model is constructed based on the historical data collected in advance, and the display parameters of the display screen are dynamically adjusted.

Benefits of technology

It achieves the best display effect in different ambient light and scenes, improving the visual experience and user satisfaction of the display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The invention provides a scene and content-based display screen display parameter adjustment realization method and device, and belongs to the technical field of display, and the method comprises the following steps: monitoring a current trigger application scene of a terminal display screen, obtaining a current focus window, and determining an application currently used by a user; detecting an ambient light attribute value of a current environment where the terminal equipment is located in real time; determining a current display scene according to the ambient light attribute value and a current trigger application; determining a display parameter curve model corresponding to the current display scene through user adjustment display parameter historical data collected in advance in the current display scene; searching corresponding display screen display parameters on the display parameter curve model according to the current display scene; and adjusting the display screen according to the display parameters. According to the method, data support is provided for establishing the brightness curve model by obtaining the user adjustment behavior data, a data source is provided by obtaining the multiple influence factors of the display screen parameters, the brightness curve is optimized, and the terminal display experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of display technology, and in particular relates to a method and device for implementing display parameter adjustment of a display screen based on scenes and contents. Background Art

[0002] In the field of individual informationized combat, the display screen is a very important component of mobile smart terminals. In order to improve the display effect and visual experience of the screen, the display screen can be displayed at different brightness under different ambient light conditions, reducing the visual stimulation caused by the display screen being too bright in low light conditions, and avoiding the situation where the display screen is too dim in strong light and the screen content cannot be seen clearly. However, in the relevant technical solutions currently on the market, the screen brightness adjustment of the display screen triggered by the ambient light sensor relies on a default brightness curve, which makes the brightness adjustment too single-board and not flexible enough. There is no brightness adjustment method based on the scene and display content, which does not meet actual needs.

[0003] The existing technical solution only triggers the adjustment of the display screen brightness parameters based on the change of the ambient light sensor. The existing technical solution does not make a comprehensive judgment based on multiple influencing factors such as the current triggering scene and multiple elements of the current display content such as contrast and grayscale, and cannot achieve the best display effect. Summary of the invention

[0004] In order to solve the above technical problems, the present invention proposes a method and device for adjusting display parameters of a display screen based on scenes and contents.

[0005] The technical solution of the present invention is:

[0006] A method for adjusting display parameters of a display screen based on scenes and contents, characterized in that it comprises the following steps:

[0007] Monitor the current triggered application on the terminal display screen, obtain the current focus window and then determine the application currently used by the user;

[0008] Real-time detection of the ambient light attribute value of the current environment where the terminal is located;

[0009] Determine a current display scene according to the ambient light attribute value and a currently triggered application;

[0010] Determine a display parameter curve model corresponding to the current display scene by using the historical data of user adjustment of display parameters in the current display scene collected in advance;

[0011] Find the corresponding display parameters of the display screen on the display parameter curve model according to the current display scene;

[0012] The display screen is adjusted according to the display parameters.

[0013] Furthermore, the method for acquiring the display parameters is to detect the contrast and grayscale displayed on the display screen, and obtain corresponding display parameters of the display screen according to the contrast and grayscale.

[0014] Furthermore, the specific method of monitoring the current triggering application scenario of the terminal display screen includes:

[0015] When the terminal is running, the name of the current focus window is obtained through the system window service, the package name is obtained according to the window name, and then the application scenario currently used by the user is determined according to the package name.

[0016] Furthermore, the ambient light attribute value of the current environment in which the terminal is located is detected in real time by a sensor.

[0017] Furthermore, the specific method of determining the display parameter curve model corresponding to the current display scene is:

[0018] Every time the user adjusts the brightness of the terminal, the package name of the current foreground application, the current brightness value, the final brightness value manually adjusted by the user, and the current ambient light value are recorded, and the brightness curves for various display scenarios are fitted based on these data.

[0019] The present invention provides a display parameter adjustment device based on scenes and contents, which comprises:

[0020] Detection module: monitors the current triggering application of the terminal display screen, obtains the current focus window to determine the application currently used by the user, and obtains the current display parameters;

[0021] Data collection module: used to collect display parameter adjustment data of each triggering scene of the terminal;

[0022] Monitoring module: used for monitoring the triggering application of the terminal;

[0023] Decision module: used to determine the current scene based on the monitored trigger application and relevant display parameters of the display screen;

[0024] Adjustment module: used to adjust the display parameters of the terminal display screen according to the current scene.

[0025] Furthermore, the detection module: monitors the current triggering application scenario of the terminal display screen, obtains the current focus window, and then determines the application currently used by the user and obtains the current display parameters, specifically including:

[0026] The detection module obtains the ambient light attribute value in real time through the ambient light sensor; monitors the terminal foreground window in real time to determine the current application; obtains the display parameters of the current application display content, and the display parameters include grayscale and contrast values.

[0027] Furthermore, the data collection module collects parameter adjustment data of each triggering scenario of the terminal, specifically including:

[0028] The data collection module monitors the value of the brightness bar slider adjusted by the user in the terminal desktop drop-down list, the brightness bar data of the user sliding the brightness bar on the setting application brightness adjustment page, or the brightness adjustment button on the third-party application interface, and records the current brightness value of the terminal, the brightness value adjusted by the user, the current foreground application, and the current ambient light value reported by the system ambient light sensor.

[0029] Furthermore, the method for the decision module to determine the current scene specifically includes:

[0030] When the application icon is clicked, the current application package name is obtained through the monitoring module; the usage scenario is queried from the system according to the obtained current application package name, and then the application scenario currently used by the user is determined according to the package name.

[0031] Furthermore, the specific manner in which the adjustment module adjusts the display parameters of the terminal display screen according to the current scene is:

[0032] After obtaining the application scenario from the decision module, the adjustment module obtains the optimal brightness value based on the scenario under the current ambient light according to the display parameter curve model, and adjusts the terminal according to the optimal brightness value.

[0033] The present invention includes a parameter adjustment algorithm, a scene data collection module, a content monitoring module, an acquisition module, a decision module, and an adjustment module; wherein, by using the scene data collection module, desensitized and accurate user adjustment behavior data are obtained to provide data support for the establishment of a final brightness curve model, and by using the content monitoring module, multiple influencing factors affecting the display parameters of the display screen, including the contrast and grayscale of the displayed content, are obtained to provide a multi-dimensional data source for the decision module, and finally an optimized brightness curve is provided to improve the display experience of the terminal display screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 The figure is a flow chart of the adjustment method of the present invention. DETAILED DESCRIPTION

[0035] The present invention provides a method and device for adjusting display parameters of a display screen based on scenes and contents.

[0036] See also Figure 1 The present invention provides a method for adjusting display parameters of a display screen based on scenes and contents, which comprises the following steps:

[0037] (1) Monitor the current triggering application scenario of the terminal device display screen.

[0038] During the system operation phase, the name of the current focus window is obtained through the system window service, and the package name is obtained according to the window name to determine the application currently used by the user.

[0039] (2) Detecting the ambient light of the current environment of the terminal to obtain an attribute value of the ambient light.

[0040] The sensor background service monitors the value reported by the ambient light sensor in real time to obtain the real-time ambient light value in the current scene.

[0041] (3) Determine the current display scene according to the monitored terminal's currently triggered application and the attribute value of the ambient light.

[0042] The applications are classified in advance according to the application type. After the package name and the ambient light value of the current application of the terminal are obtained, the application scenario is determined according to the package name.

[0043] (4) Determine the scene curve model by collecting scene brightness adjustment data used by users.

[0044] Every time the user adjusts the brightness slider in the system settings application and the system desktop drop-down list, the package name of the current foreground application, the current brightness value, the final brightness value manually adjusted by the user, and the current ambient light value are recorded, and the brightness curve for a specific scene is fitted through big data.

[0045] (5) Displaying display parameters of the display screen according to the current scene.

[0046] According to the current ambient light and the current scene, as well as the brightness curve fitted by the above steps, the display brightness value in the current scene is obtained.

[0047] (6) Fine-tune the display parameters of the display screen according to the current display content.

[0048] Obtain the grayscale and contrast values ​​of the current display content through the system service, fine-tune the brightness value obtained in the above steps, and obtain the final display brightness value that needs to be set.

[0049] Detect the contrast and grayscale of the terminal display screen to obtain corresponding parameter data.

[0050] The present invention also provides a display parameter adjustment device based on scenes and contents, which comprises:

[0051] Detection module: monitors the current triggering application scenario of the terminal device display screen, obtains the current focus window to determine the application currently used by the user, and obtains the current display parameters;

[0052] Data collection module: used to collect parameter adjustment data of each triggering scenario of the terminal;

[0053] Monitoring module: used for monitoring the triggering application of the terminal;

[0054] Decision module: used to determine the current scene based on the monitored trigger application and related parameters of the display screen;

[0055] Adjustment module: used to adjust the display parameters of the terminal display screen according to the current scene.

[0056] The specific working mode of each module is as follows:

[0057] Detection module: used to detect the ambient light of the terminal display screen, the current triggered application, and the current displayed content. Specifically includes:

[0058] (1) The detection module obtains the real-time reported ambient light attribute value through the system's built-in ambient light sensor.

[0059] (2) Monitor the foreground window in real time through the service interface provided by BundleManager to determine the current application.

[0060] (3) Obtain the grayscale and contrast values ​​of the current display content through native napi.

[0061] Data collection module: used to collect parameter adjustment data of each triggering scenario of the terminal; specifically includes:

[0062] (1) The background monitors the value of the brightness slider in the system desktop drop-down list adjusted by the user, and records the current brightness value of the system, the brightness value adjusted by the user, and the current ambient light value reported by the current foreground application and the system ambient light sensor.

[0063] (2) The background monitors the data of the user sliding the brightness bar on the brightness adjustment page of the setting application, records the current brightness value of the system, the brightness value adjusted by the user, and the current ambient light value reported by the system ambient light sensor.

[0064] (3) The background monitors the brightness adjustment buttons of various third-party system application interfaces, records the current brightness value of the system, the brightness value adjusted by the user, and the current ambient light value reported by the system ambient light sensor.

[0065] Monitoring module: used to monitor the triggering application of the terminal; specifically, the monitoring module is set at the key logical position of the system brightness adjustment. When the system brightness changes due to manual adjustment by the user, the monitoring is triggered to obtain the package name of the current system foreground application.

[0066] Decision module: used to determine the current scene based on the monitored trigger application and related parameters of the display screen; specifically includes:

[0067] (1) When the user clicks on the corresponding application icon to enter the application, the system automatically obtains the current application package name through the monitoring module;

[0068] (2) querying the usage scenario from the system according to the current application package name obtained, and mapping from the package name to the usage scenario. The query process and mapping logic are stored in the system service in advance, and the mapping from the package name to the usage scenario and from the usage scenario to the brightness fitting curve is completed in the data collection module;

[0069] Adjustment module: used to adjust the display parameters of the terminal display screen according to the current scene. After obtaining the usage scene from the decision module, the final brightness value based on the scene and content under the current ambient light is obtained according to the brightness fitting curve and set to the system.

[0070] The present invention uses a collection algorithm of a scene data collection module, and the collection terminal includes but is not limited to a Linux system.

[0071] The monitoring module is used to monitor the contrast and grayscale of the current display content of the current foreground application.

[0072] The decision module decides which brightness curve model to use based on the terminal display parameters and the current triggering scene.

[0073] The regulation module switches the brightness curve according to the algorithm and adjusts the curve dynamically.

[0074] The method for obtaining the display parameters is to obtain the parameters according to the contrast and grayscale of the content displayed on the display screen.

[0075] The threshold in the monitoring module is dynamically adjusted according to the current display parameters.

[0076] The acquisition module integrates the outputs of multiple input modules and unifies the output variables.

Claims

1. A method for adjusting display parameters of a display screen based on scenes and contents, characterized in that: It includes the following steps: Monitor the current triggered application on the terminal display screen, obtain the current focus window and then determine the application currently used by the user; Real-time detection of the ambient light attribute value of the current environment where the terminal is located; Determine a current display scene according to the ambient light attribute value and a currently triggered application; Determine a display parameter curve model corresponding to the current display scene by using the historical data of user adjustment of display parameters in the current display scene collected in advance; Find the corresponding display parameters of the display screen on the display parameter curve model according to the current display scene; The display screen is adjusted according to the display parameters.

2. The method according to claim 1, characterized in that The method for acquiring the display parameters is to detect the contrast and grayscale displayed on the display screen, and obtain corresponding display parameters of the display screen according to the contrast and grayscale.

3. The method according to claim 1, characterized in that The specific method of monitoring the current triggering application scenario of the terminal display screen includes: When the terminal is running, the name of the current focus window is obtained through the system window service, the package name is obtained according to the window name, and then the application scenario currently used by the user is determined according to the package name.

4. The method according to claim 1, characterized in that The ambient light attribute value of the current environment where the terminal is located is detected in real time by a sensor.

5. The method according to claim 1, characterized in that The specific method of determining the display parameter curve model corresponding to the current display scene is: Every time the user adjusts the brightness of the terminal, the package name of the current foreground application, the current brightness value, the final brightness value manually adjusted by the user, and the current ambient light value are recorded, and the brightness curves for various display scenarios are fitted based on these data.

6. A display parameter adjustment device based on scenes and contents, characterized in that: It includes: Detection module: monitors the current triggering application of the terminal display screen, obtains the current focus window to determine the application currently used by the user, and obtains the current display parameters; Data collection module: used to collect display parameter adjustment data of each triggering scene of the terminal; Monitoring module: used for monitoring the triggering application of the terminal; Decision module: used to determine the current scene based on the monitored trigger application and relevant display parameters of the display screen; Adjustment module: used to adjust the display parameters of the terminal display screen according to the current scene.

7. The device according to claim 6, characterized in that Detection module: monitors the current trigger application scenario of the terminal display screen, obtains the current focus window, and then determines the application currently used by the user and obtains the current display parameters, including: The detection module obtains the ambient light attribute value in real time through the ambient light sensor; monitors the terminal foreground window in real time to determine the current application; obtains the display parameters of the current application display content, and the display parameters include grayscale and contrast values.

8. The device according to claim 7, characterized in that The data collection module collects parameter adjustment data of each triggering scenario of the terminal, including: The data collection module monitors the value of the brightness bar slider adjusted by the user in the terminal desktop drop-down list, the brightness bar data of the user sliding the brightness bar on the setting application brightness adjustment page, or the brightness adjustment button on the third-party application interface, and records the current brightness value of the terminal, the brightness value adjusted by the user, the current foreground application, and the current ambient light value reported by the system ambient light sensor.

9. The device according to claim 6, characterized in that The method for the decision module to determine the current scene specifically includes: When the application icon is clicked, the current application package name is obtained through the monitoring module; The usage scenario is queried from the system according to the current application package name obtained, and then the application scenario currently used by the user is determined according to the package name.

10. The device according to claim 6, characterized in that The specific method in which the adjustment module adjusts the display parameters of the terminal display screen according to the current scene is: After obtaining the application scenario from the decision module, the adjustment module obtains the optimal brightness value based on the scenario under the current ambient light according to the display parameter curve model, and adjusts the terminal according to the optimal brightness value.