Display effect control method, device, terminal device and medium of a display screen
By collecting ambient color temperature information on the front camera of the terminal device, the problem of insufficient accuracy of the display color temperature sensor in low brightness environments is solved, and the adaptive color temperature adjustment of the display in different environments is realized, improving the user experience.
Patent Information
- Application Number
- CN202211441141.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-17
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2042-11-17
AI Technical Summary
The accuracy of the color temperature sensor of the terminal device in a low-brightness environment is disturbed by the light leakage of the display screen, which makes it impossible to adjust the appropriate color temperature display effect, affecting the user experience.
Use the front camera of the terminal device to collect ambient color temperature information in a low brightness environment, adjust the color temperature display effect of the display screen, and reduce the impact of light leakage on the color temperature sensor.
It improves the accuracy of color temperature data, improves the user's visual comfort, and ensures that the display can be adjusted to the appropriate color temperature display effect under different environments.
Smart Images

Figure CN115731836B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of color temperature adjustment of terminal devices, and in particular to a method, device, terminal device, and medium for controlling the display effect of a display screen. Background Art
[0002] With the rapid development of electronic technology, terminal devices with display functions such as smartphones, tablets, and laptops have been widely used in daily life. Currently, most terminal devices are equipped with sensors that collect light intensity to achieve dynamic adjustment of display brightness.
[0003] Currently, there are relatively few methods for adjusting the color temperature of display screens. Furthermore, the sensitivity and accuracy of the color temperature sensors installed in these devices are significantly affected by factors such as the device's structural stacking design, component selection, screen variations, and factory assembly tolerances. Especially in low-light environments, the light emitted by the device's display can severely affect the accuracy of the color temperature sensor's data, making it impossible for the device to adjust the display to the appropriate color temperature, impacting the user experience. Summary of the Invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a display effect control method, apparatus, terminal device and medium of a display screen.
[0005] According to a first aspect of an embodiment of the present disclosure, a display effect control method for a display screen is provided, which is applied to a terminal device having a display screen. The display effect control method for the display screen includes:
[0006] Get the current ambient brightness information;
[0007] Acquiring display brightness information of the display screen;
[0008] If the display brightness information does not match the ambient brightness information, obtaining first ambient color temperature information, wherein the first ambient color temperature information is at least acquired by a front camera of the terminal device;
[0009] Adjust the color temperature display effect of the display screen according to the first ambient color temperature information.
[0010] In some exemplary embodiments of the present disclosure, the display effect control method of the display screen further includes:
[0011] If the display brightness information matches the ambient brightness information, obtaining second ambient color temperature information, wherein the second ambient color temperature information is acquired by a color temperature sensor disposed below the display screen;
[0012] Adjust the color temperature display effect of the display screen according to the second ambient color temperature information.
[0013] In some exemplary embodiments of the present disclosure, the display effect control method of the display screen further includes:
[0014] Starting the color temperature adjustment function based on the received instruction information for starting the color temperature adjustment function;
[0015] After the color temperature adjustment function is activated, the color temperature display effect of the display screen is adjusted according to the first ambient color temperature information or the second ambient color temperature information.
[0016] In some exemplary embodiments of the present disclosure, a method for determining that the display brightness information does not match the ambient brightness information includes:
[0017] When the display brightness information is greater than a first threshold and the ambient brightness information is less than a second threshold, it is determined that the display brightness information does not match the ambient brightness information.
[0018] In some exemplary embodiments of the present disclosure, the first ambient color temperature information is acquired by the front camera, and acquiring the first ambient color temperature information includes:
[0019] Controlling the preview function of the front camera to start, and obtaining front preview information, wherein the front preview information includes front light intensity information and / or front color temperature information;
[0020] The first ambient color temperature information is obtained according to the pre-preview information.
[0021] In some exemplary embodiments of the present disclosure, the first ambient color temperature information is acquired by collecting the first ambient color temperature information through a front camera and a rear camera of the terminal device, and acquiring the first ambient color temperature information includes:
[0022] Controlling the preview function of the front camera to start, and obtaining front preview information, wherein the front preview information includes front light intensity information and / or front color temperature information;
[0023] Controlling the rear camera to start up and obtaining rear preview information, wherein the rear preview information includes rear light intensity information and / or rear color temperature information;
[0024] Obtaining weight parameters of the pre-preview information and the post-preview information respectively;
[0025] The first ambient color temperature information is obtained according to the pre-preview information, the post-preview information, and the weight parameter.
[0026] According to a second aspect of an embodiment of the present disclosure, a display effect control device for a display screen is provided, which is applied to a terminal device having a display screen. The display effect control device for the display screen includes:
[0027] An acquisition module, configured to acquire current ambient brightness information and display brightness information of the display screen;
[0028] a processing module, configured to determine whether the display brightness information matches the ambient brightness information;
[0029] The acquisition module is further configured to acquire first ambient color temperature information if the display brightness information does not match the ambient brightness information, wherein the first ambient color temperature information is acquired at least through a front camera of the terminal device;
[0030] An adjustment module is used to adjust the color temperature display effect of the display screen according to the first environmental color temperature information.
[0031] In some exemplary embodiments of the present disclosure, the acquisition module is further configured to:
[0032] If the display brightness information matches the ambient brightness information, obtaining second ambient color temperature information, wherein the second ambient color temperature information is acquired by a color temperature sensor disposed below the display screen;
[0033] The adjustment module is also used for:
[0034] Adjust the color temperature display effect of the display screen according to the second ambient color temperature information.
[0035] In some exemplary embodiments of the present disclosure, the processing module is further configured to:
[0036] Based on the received instruction information for starting the color temperature adjustment function, the color temperature adjustment function is started.
[0037] According to a third aspect of an embodiment of the present disclosure, a terminal device is provided, the terminal device including:
[0038] Display screen;
[0039] processor;
[0040] a memory for storing processor-executable instructions;
[0041] The processor is configured to execute the executable instructions in the memory to implement the display effect control method of the display screen provided in the first aspect of the present disclosure.
[0042] In some exemplary embodiments of the present disclosure, the display screen is an OLED display screen.
[0043] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, on which executable instructions are stored. When the executable instructions are executed by a processor, the display effect control method of the display screen provided in the first aspect of the present disclosure is implemented.
[0044] The above-mentioned method disclosed in the present invention has the following beneficial effects: using the method disclosed in the present invention, when the display brightness of the terminal device does not match the ambient brightness, the front camera can be used to obtain the ambient color temperature information to adjust the color temperature display effect of the display screen, thereby improving the accuracy of the color temperature data, reducing the impact of the display screen's own brightness on the color temperature display effect, and improving the user's visual comfort.
[0045] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0047] Figure 1 The figure is a flowchart of a method for controlling display effects of a display screen according to an exemplary embodiment.
[0048] Figure 2 The figure is a flowchart of a method for controlling display effects of a display screen according to an exemplary embodiment.
[0049] Figure 3 The figure is a flowchart of a method for controlling display effects of a display screen according to an exemplary embodiment.
[0050] Figure 4 The figure is a flowchart of a method for controlling display effects of a display screen according to an exemplary embodiment.
[0051] Figure 5 The figure is a block diagram of a display effect control device for a display screen according to an exemplary embodiment.
[0052] Figure 6 The figure is a block diagram of a display effect control device for a display screen according to an exemplary embodiment. DETAILED DESCRIPTION
[0053] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. In the following description, when referring to the drawings, like numbers in different figures represent like or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present invention, as detailed in the appended claims.
[0054] Before describing the display effect control method of a display screen provided by the present disclosure, the concept of color temperature involved in the present disclosure is first described.
[0055] When a light source emits light, it produces a spectrum of light. The temperature required for a pure black body to produce the same spectrum is the color temperature of the light source, measured in Kelvin (K). Therefore, color temperature can be understood as the fact that a fictitious black object, when heated to different temperatures, will emit different colors of light, resulting in the object appearing in different colors. Currently, some CNC monitors feature a color temperature adjustment function (typically with three options: 9300K, 6500K, and 5000K), allowing the display's color to meet high-standard work requirements.
[0056] Color temperature can be converted from light intensity information. The parameter directly detected by the color temperature sensor is light intensity, where the unit of light intensity is lux. The color temperature is calculated from the light intensity information. Existing color temperature sensors generally have an automatic calculation function. The information collected is light intensity information, and the output information is color temperature information. The color temperature sensor has four lighting channels, namely C, R (Red), G (Green), and B (Blue). The RGB channels are used to obtain the R component, G component, and B component corresponding to the RGB primary colors in the environment. The C channel obtains the sum of R, G, B and invisible light. When the color temperature exceeds 5000K, the light source is called a cold light source; when the color temperature is lower than 3000K, the light source is called a warm light source.
[0057] Currently, some terminal devices are equipped with color temperature sensors to achieve dynamic color temperature adjustment, which can automatically adjust the color and intensity of the display to an appropriate state according to the lighting conditions of the environment. With the increasing popularity of full-screen displays, color temperature sensors are installed under the screen, and the sensitivity and accuracy of the color temperature sensors in terminal devices are affected. This is especially true for OLED screens. Since OLED screens operate through organic light-emitting diodes and do not require a backlight layer, the color temperature sensor installed under the light source is close to the OLED screen. The light leaked from the OLED screen will directly affect the light intensity information collected by the color temperature sensor, and thus affect the color temperature information output by the color temperature sensor.
[0058] Because the color temperature sensor is located below the display, it collects both ambient light and screen light. In dark environments, the color temperature sensor receives less information about ambient light intensity. Light leakage from the display exponentially affects the accuracy of the color temperature sensor, causing the calculated color temperature to mismatch the actual ambient light. This can cause the device to be unable to adjust the display to a color temperature that matches the ambient light, impacting the user experience.
[0059] In order to solve the above problems, the present disclosure provides a display effect control method for a display screen, which is applied to a terminal device with a display screen. When in a darker environment, the terminal device can use a front camera to collect the ambient color temperature, and adjust the color temperature display effect of the display screen according to the ambient color temperature information collected by the front camera, thereby eliminating the influence of screen leakage on the color temperature sensor, so that the terminal device can adjust to an adaptive color temperature display effect even in a dark environment, thereby improving the accuracy of the color temperature data, reducing the influence of the display screen's own brightness on the color temperature display effect, and improving the user's visual comfort.
[0060] An exemplary embodiment of the present disclosure provides a method for controlling the display effects of a display screen, which is applied to a terminal device with a display screen. The terminal device can specifically be a smart electronic device with a display screen and a front camera, such as a mobile phone, a tablet computer, a smart robot, or a smart wearable device.
[0061] like Figure 1 As shown, the display effect control method of the display screen shown in the present disclosure includes:
[0062] S101, obtaining current ambient brightness information;
[0063] S102, obtaining display brightness information of the display screen;
[0064] S103: If the display brightness information does not match the ambient brightness information, obtain first ambient color temperature information, where the first ambient color temperature information is at least acquired by a front camera of the terminal device;
[0065] S104: Adjust the color temperature display effect of the display screen according to the first ambient color temperature information.
[0066] In step S101, ambient brightness information can be collected using an ambient light intensity sensor installed on the terminal device. The ambient light intensity sensor can be installed, for example, at the top or bottom of the terminal device. The ambient light intensity sensor should be positioned to avoid being affected by light from the display screen, so as to truly reflect the ambient brightness of the display screen. The unit of ambient brightness information is lux. The ambient light intensity sensor is relatively low-cost and is used only to detect ambient brightness, not ambient color temperature.
[0067] In step S102, the terminal device's control device maintains a communication connection with the display screen to control the display content and display effects. The control device can obtain the display screen's brightness information through the communication connection with the display screen. The display brightness information is used to reflect the current brightness of the display screen when it is in the bright screen state. The unit of the display brightness information is lux.
[0068] In step 103, after obtaining the ambient brightness information and the display brightness information, the control device compares the two. If the display brightness information is found to be much greater than the ambient brightness information, it indicates that the brightness of the display screen is much greater than the ambient brightness. The terminal device is in a bright screen state in a dark environment. Viewing the screen in this state may cause eye discomfort to the user. The brightness and color temperature of the display screen need to be adjusted to enhance the user's visual experience. Conventional adjustment methods can be used for adjusting the brightness of the display screen, which will not be described in detail here.
[0069] Since the color temperature sensor is located below the screen, when the terminal device dynamically adjusts the color temperature display effect of the display, when the external ambient light is relatively strong, such as during the day or when the indoor lighting is strong, the color temperature sensor can collect a higher intensity of ambient light. At this time, the impact of display light leakage on the color temperature sensor is small and can be ignored. However, when the light in the external environment of the terminal device is dim, such as at night or when there is almost no light indoors, if the color temperature is determined solely by the color temperature sensor, the color temperature sensor can collect very little ambient light, and because it is close to the display, the impact of display light leakage on the color temperature sensor will become very obvious. That is, the brightness of the environment is very low, but the color temperature sensor is affected by the light leakage of the display, and the brightness collected is very high, resulting in inaccurate output color temperature information. In other words, the color temperature display effect of the display will not match the ambient light.
[0070] When the control device determines that the display brightness information does not match the ambient brightness information, such as when the terminal device is in a dark environment but the display screen has a high brightness, the front camera of the terminal device collects the ambient light and converts the light intensity calculation to obtain the color temperature to obtain the first ambient color temperature information in the environment where the display screen is located. Among them, the front camera is a device with lighting performance. Its lighting opening is relatively large and can collect ambient light. The front camera is not set under the screen and will not be affected by light leakage from the display screen. There is no direct light source around it. Therefore, the front camera can more accurately reflect the ambient brightness of the terminal device in this environment. Here, it should be noted that the first color temperature environment information can be obtained only through the front camera, or it can be obtained through the front camera and other existing devices on the terminal device that can more accurately reflect the ambient light intensity. For example, the first ambient color temperature information is determined by the ambient light information obtained by both the front camera and the rear camera.
[0071] In step S104, the terminal device adjusts the color temperature display effect of the display screen according to the first ambient color temperature information. If the first ambient color temperature information is displayed as a cold light source, the display screen is adjusted to a bluish color temperature display effect. If the first ambient color temperature information is displayed as a warm light source, the display screen is adjusted to a yellowish color temperature display effect.
[0072] In the present disclosure, by using a front camera to collect the ambient color temperature information of the environment in which the display screen is located, the influence of the display screen's own brightness on the color temperature display effect can be reduced, and the ambient color temperature information can be accurately obtained, so that the terminal device can adjust the color temperature display effect of the display screen to adapt to the environment, optimize the use scenarios of color temperature adjustment, and improve the user's visual comfort.
[0073] According to an exemplary embodiment, Figure 2 As shown, the display effect control method of the display screen in this embodiment includes:
[0074] S201, obtaining current ambient brightness information;
[0075] S202, obtaining display brightness information of the display screen;
[0076] S203, determining whether the display brightness information matches the ambient brightness information, if so, executing steps S204 and S205; if not, executing steps S206 and S207;
[0077] S204, obtaining second ambient color temperature information, wherein the second ambient color temperature information is collected by a color temperature sensor disposed below the display screen;
[0078] S205, adjusting the color temperature display effect of the display screen according to the second ambient color temperature information;
[0079] S206. Acquire first ambient color temperature information, wherein the first ambient color temperature information is acquired at least by a front camera of the terminal device;
[0080] S207: Adjust the color temperature display effect of the display screen according to the first ambient color temperature information.
[0081] Among them, steps S201, S202, S206 and S207 are the same as those in the above embodiment and are not described again here.
[0082] In step S203, when judging whether the display brightness information matches the ambient brightness information, that is, whether the display brightness matches the ambient brightness, a numerical comparison is performed. For example, when the difference between the display brightness information and the ambient brightness information is greater than a preset value, it indicates that the display brightness information does not match the ambient brightness information. For another example, when the display brightness information is n times the ambient brightness information, n is a number greater than 5, for example, it indicates that the display brightness information does not match the ambient brightness information. Otherwise, it indicates that the display brightness information matches the ambient brightness information.
[0083] In some embodiments, the following method may be used to determine that the display brightness information does not match the ambient brightness information:
[0084] When the display brightness information is greater than the first threshold and the ambient brightness information is less than the second threshold, it is determined that the display brightness information does not match the ambient brightness information.
[0085] When the terminal device is in a dark environment, the color temperature sensor receives less ambient color temperature information, and light leakage from the display can affect the accuracy of the color temperature sensor's detection of the ambient color temperature. If the display brightness is too high at this time, this light leakage will have a more serious impact on the color temperature sensor's detection accuracy, multiplying the impact on the color temperature sensor and making it impossible for the terminal device to adjust the display to the appropriate color temperature. Therefore, to determine whether the display brightness information matches the ambient brightness information, a comprehensive judgment is required after comparing the two brightness information with their respective thresholds.
[0086] The display brightness information and the ambient brightness information are respectively provided with thresholds. The threshold settings can be set according to actual needs, or can be the default settings of the terminal device. In one example, it is set that when the display brightness information of the terminal device exceeds 80% of the maximum brightness of the display screen, the display brightness information is considered to be greater than the first threshold. For example, the maximum brightness is A, then the first threshold is 0.8A. When the display brightness information exceeds 0.8A, it is considered that the display brightness information is greater than the first threshold. When the ambient brightness information of the terminal device is lower than 10lux, it is considered that the ambient brightness information is less than the second threshold. Only when the display brightness information is greater than the first threshold and the ambient brightness information is less than the second threshold, is it determined that the display brightness information and the ambient brightness information do not match. Among them, the first threshold and the second threshold involved in the above description process are not limited to the above-mentioned values, and can be set according to the situation.
[0087] If the judgment result in step S203 matches, it means that the light leakage of the display screen has little effect on the color temperature sensor collecting the ambient color temperature information. The ambient color temperature information can be directly collected by the color temperature sensor set under the display screen. In steps S204 and S205, the terminal device obtains the second ambient color temperature information of the environment where the display screen is located according to the color temperature sensor, and adjusts the color temperature display effect of the display screen.
[0088] If the judgment result in step S203 does not match, it means that the light leakage of the display screen has a great impact on the ambient color temperature information collected by the color temperature sensor. The ambient light color temperature information collected by the color temperature sensor cannot be directly used to adjust the color temperature of the display screen. Intervention is required to ensure the color temperature adjustment effect of the display screen, that is, the first ambient color temperature information collected by the front camera is used instead of the second ambient color temperature information as the adjustment parameter to adjust the display color temperature of the display screen.
[0089] In some embodiments, the front-facing camera and the color temperature sensor can also simultaneously collect color temperature information of the display screen's environment. The terminal device can then select to obtain either the first or second ambient color temperature information. In other words, when the ambient light is determined to be low, the color temperature sensor and the front-facing camera operate simultaneously, both transmitting their detected information to the control device, which then selects one to use.
[0090] In other embodiments, the color temperature sensor and the front camera operate alternately. When the display brightness information matches the ambient brightness information, the color temperature sensor operates to obtain second ambient color temperature information. The front camera is not activated at this time, and the color temperature display effect of the display screen is adjusted based on the second ambient color temperature information. When the display brightness information does not match the ambient brightness information, the front camera is activated to obtain the first ambient color temperature information, and the color temperature display effect of the display screen is adjusted based on the first ambient color temperature information.
[0091] In other embodiments, the color temperature sensor is always in working state, and only when the display brightness information does not match the ambient brightness information, the front camera is started and the first ambient color temperature information collected by the front camera is used to replace the second ambient color temperature information.
[0092] This embodiment selects to use a color temperature sensor or a front camera to collect ambient color temperature information based on the judgment result of whether the display brightness information matches the ambient brightness information, thereby meeting the color temperature display adjustment needs of the terminal device in various scenarios, optimizing the usage scenarios, and improving the user's visual comfort.
[0093] According to an exemplary embodiment, the display effect control method of the display screen in this embodiment further includes:
[0094] Starting the color temperature adjustment function based on the received instruction information for starting the color temperature adjustment function;
[0095] After the color temperature adjustment function is activated, the color temperature display effect of the display screen is adjusted according to the first ambient color temperature information or the second ambient color temperature information.
[0096] The terminal device has a color temperature adjustment function, such as a true tone function, which enables the terminal device to automatically adjust the color temperature of the display based on the ambient light to maintain consistent color display in different environments. When the ambient light received is from a cold light source, the display is adjusted to a bluish color temperature; when the ambient light received is from a warm light source, the display is adjusted to a yellowish color temperature to create a warmer experience for the user. The user can choose whether to enable the color temperature adjustment function on the terminal device based on their personal visual requirements for the display color temperature. If the terminal device receives a command to enable the color temperature adjustment function, the color temperature adjustment function is enabled. Once the color temperature adjustment function is enabled, the terminal device dynamically adjusts the color temperature of the display based on the ambient brightness. If the user does not wish to adjust the color temperature of the display based on the ambient light intensity, they can disable the true tone function by issuing a corresponding command. Subsequently, even if the ambient light intensity does not match the display brightness, the color temperature of the display will not be adjusted. The user may send a command message for starting or shutting down the color temperature adjustment function by touching the display screen, or may send a command message by voice message, shaking message, or pressing a physical button.
[0097] For example, when the terminal device receives a touch operation from the user to turn on the true color display mode, the color temperature adjustment function is activated. When the terminal device is in a dark environment, the brightness of the display screen is much greater than the ambient brightness, and the display brightness information does not match the ambient brightness information. The front camera is used to collect the ambient color temperature information. The first ambient color temperature information obtained by the terminal device reflects a warm light source, and the display screen is adjusted to a yellowish display effect. When the terminal device is outdoors, the display brightness information matches the ambient brightness information, and the color temperature sensor is used to collect the ambient color temperature information. The second ambient color temperature information obtained by the terminal device reflects a cold light source, and the display screen is adjusted to a bluish display effect.
[0098] In this embodiment, the user can turn on or off the color temperature adjustment function according to his or her own preferences through the instruction information applied to the terminal device, thereby enhancing the interactive effect and meeting the usage needs of different users.
[0099] According to an exemplary embodiment, Figure 3 As shown, the display effect control method of the display screen in this embodiment includes:
[0100] S301, obtaining current ambient brightness information;
[0101] S302, obtaining display brightness information of the display screen;
[0102] S303, determining whether the display brightness information matches the ambient brightness information, if so, executing steps S304 and S305; if not, executing steps S306, S307 and S308;
[0103] S304: Acquire second ambient color temperature information, wherein the second ambient color temperature information is acquired by a color temperature sensor disposed below the display screen;
[0104] S305, adjusting the color temperature display effect of the display screen according to the second environment color temperature information;
[0105] S306: Controlling the preview function of the front camera to start, and obtaining front preview information, wherein the front preview information includes front light intensity information and / or front color temperature information;
[0106] S307: Obtain first ambient color temperature information according to the pre-preview information;
[0107] S308: Adjust the color temperature display effect of the display screen according to the first ambient color temperature information.
[0108] Among them, steps S301, S302, S303, S304, S305 and S308 are the same as those in the above embodiment and are not repeated here.
[0109] After determining in step S303 that the display brightness information does not match the ambient brightness information, the front camera is selected to acquire the ambient color temperature information of the environment in which the display screen is located. In step S306, the control device of the terminal device activates the preview function of the front camera. Since the front camera is a device with lighting performance, it can acquire ambient light intensity information. The terminal device can use the front light intensity information acquired by the front camera as the front preview information, or can use the front light intensity information calculated and converted by the control device into the front color temperature information as the front preview information, or can use the front light intensity information and the front color temperature information together as the front preview information. The control device calculates and processes the front preview information in step S307 to obtain the first ambient color temperature information of the front camera, so as to be used by the terminal device to adjust the color temperature display effect of the display screen in step S308.
[0110] According to an exemplary embodiment, Figure 4 As shown, the display effect control method of the display screen in this embodiment includes:
[0111] S401, obtaining current ambient brightness information;
[0112] S402, obtaining display brightness information of the display screen;
[0113] S403, determining whether the display brightness information matches the ambient brightness information, if so, executing steps S404 and S405; if not, executing steps S406, S407, S408 and S409;
[0114] S404: Acquire second ambient color temperature information, wherein the second ambient color temperature information is acquired by a color temperature sensor disposed below the display screen;
[0115] S405, adjusting the color temperature display effect of the display screen according to the second ambient color temperature information;
[0116] S406: Controlling the preview function of the front camera to start, obtaining front preview information, and controlling the rear camera to start, obtaining rear preview information, wherein the front preview information includes front light intensity information and / or front color temperature information, and the rear preview information includes rear light intensity information and / or rear color temperature information;
[0117] S407: Obtain weight parameters of the pre-preview information and the post-preview information respectively;
[0118] S408: Obtain first ambient color temperature information according to the pre-preview information, the post-preview information, and the weight parameter.
[0119] S409: Adjust the color temperature display effect of the display screen according to the first ambient color temperature information.
[0120] Among them, steps S401, S402, S403, S404, S405 and S409 are the same as those in the above embodiment and are not repeated here.
[0121] The terminal device is provided with a front camera and a rear camera. The front camera is arranged on one side of the display screen, and the rear camera is arranged on the side facing away from the display screen. The preview information collected from both sides of the display screen can provide reliable basic data information for the terminal device to obtain accurate ambient color temperature information. The implementation method for obtaining the front preview information and the rear preview information in step S406 is the same as that in step S306. The control device activates the preview function of the front camera and the rear camera to obtain the front preview information and the rear preview information. The front preview information can reflect the environmental conditions on one side of the terminal device display screen, and the rear preview information can reflect the environmental conditions on the side facing away from the display screen.
[0122] Step S407 obtains weight parameters for the pre-preview information and post-preview information, respectively. The weight parameters can be the default settings of the terminal device, or specific values set by the user based on personal habits. Since the user usually faces the side of the display screen when using the terminal device, in order to conform to the user's usage habits, the intensity of the ambient light facing the user's eyes is used as the primary reference information. Therefore, the weight parameter of the pre-preview information is always greater than the weight parameter of the post-preview information. For example, the weight parameter of the pre-preview information is set to 0.8, and the weight parameter of the post-preview information is set to 0.2; for another example, the weight parameter of the pre-preview information is set to 0.7, and the weight parameter of the post-preview information is set to 0.3.
[0123] In step S408, the terminal device performs a weighted average calculation on the pre-preview information and the post-preview information according to the weight parameter, and uses the result as the first ambient color temperature information for adjusting the color temperature display effect of the display screen. For example, the weight parameter of the pre-preview information is set to 0.8, and the weight parameter of the post-preview information is set to 0.2. The obtained value of the pre-preview information is multiplied by 0.8, and the value of the post-preview information is multiplied by 0.2. The two products are summed and averaged, and the final average value obtained is the first ambient color temperature information. When it is determined that the display brightness information does not match the ambient brightness information, the terminal device adjusts the color temperature display effect of the display screen according to the first ambient color temperature information. Among them, the pre-preview information and post-preview information involved can include only light intensity information or color temperature information, or can include both light intensity information and color temperature information according to the functional differences between the front camera and the rear camera.
[0124] Here, it should be noted that when the lighting elements of the front camera and the rear camera both have a color temperature calculation function, that is, they can directly output color temperature information, the control device directly receives the front color temperature information and the rear color temperature information, and calculates the first ambient color temperature information based on the weight. If the lighting elements of the front camera and the rear camera do not have a color temperature calculation function, the control device can receive the front light intensity information and the rear light intensity information, and calculate the front color temperature information based on the front light intensity information, calculate the rear color temperature information based on the rear light intensity information, and then calculate the first ambient color temperature information based on the weight. Of course, the control device can simultaneously receive the front light intensity information and the rear light intensity information, as well as the front color temperature information and the rear color temperature information, and then choose to use the front color temperature information and the rear color temperature information to adjust the color temperature display effect according to needs, and use the front light intensity information and the rear light intensity information to adjust other effects, such as display screen light intensity effect adjustment.
[0125] In this embodiment, the front camera and the rear camera are started to obtain preview information. The first ambient color temperature information obtained based on the preview information can accurately reflect the environment in which the display screen is located, so that the terminal device can adjust the color temperature display effect of the display screen to adapt to the environment, which not only improves the accuracy of the color temperature data, but also improves the user's visual comfort.
[0126] The exemplary embodiment of the present disclosure provides a display effect control device for a display screen. Figure 5 As shown, this is a block diagram of a display effect control device for a display screen shown in the present disclosure.
[0127] The block diagram includes: an acquisition module 51, a processing module 52, and an adjustment module 53. The acquisition module 51 is used to obtain the current ambient brightness information and the display brightness information of the display screen; the processing module 52 is used to determine whether the display brightness information matches the ambient brightness information; the acquisition module 51 is further used to obtain first ambient color temperature information if the display brightness information does not match the ambient brightness information, wherein the first ambient color temperature information is obtained at least through the front camera of the terminal device; and the adjustment module 53 is used to adjust the color temperature display effect of the display screen based on the first ambient color temperature information.
[0128] In an exemplary embodiment of the present disclosure, the acquisition module 51 is further used to: if the display brightness information matches the ambient brightness information, obtain the second ambient color temperature information, wherein the second ambient color temperature information is collected by a color temperature sensor arranged below the display screen; the adjustment module 53 is further used to: adjust the color temperature display effect of the display screen according to the second ambient color temperature information.
[0129] In an exemplary embodiment of the present disclosure, the processing module 52 is also used to: start the color temperature adjustment function based on the received instruction information for starting the color temperature adjustment function; after the color temperature adjustment function is started, adjust the color temperature display effect of the display screen according to the first ambient color temperature information or the second ambient color temperature information.
[0130] In an exemplary embodiment of the present disclosure, the method by which the processing module 52 determines that the display brightness information does not match the ambient brightness information includes: when the display brightness information is greater than a first threshold and the ambient brightness information is less than a second threshold, determining that the display brightness information does not match the ambient brightness information.
[0131] In an exemplary embodiment of the present disclosure, the first ambient color temperature information is acquired through the front camera, and the acquisition module 51 is further used to: control the start of the preview function of the front camera to acquire the front preview information, wherein the front preview information includes the front light intensity information and / or the front color temperature information; and obtain the first ambient color temperature information according to the front preview information.
[0132] In an exemplary embodiment of the present disclosure, the first ambient color temperature information is acquired through the front camera and the rear camera of the terminal device, and the first ambient color temperature information is acquired. The acquisition module 51 is also used to: control the start of the preview function of the front camera to acquire the front preview information, wherein the front preview information includes the front light intensity information and / or the front color temperature information; control the start of the rear camera to acquire the rear preview information, wherein the rear preview information includes the rear light intensity information and / or the rear color temperature information; respectively acquire weight parameters of the front preview information and the rear preview information; and acquire the first ambient color temperature information according to the front preview information, the rear preview information and the weight parameters.
[0133] Regarding the terminal device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0134] Figure 6 FIG6 is a block diagram of a terminal device 600 according to an exemplary embodiment. For example, the terminal device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0135] Reference Figure 6 The terminal device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .
[0136] The processing component 602 generally controls the overall operation of the terminal device 600, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-described method. In addition, the processing component 602 may include one or more modules to facilitate interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
[0137] The memory 604 is configured to store various types of data to support operations on the terminal device 600. Examples of such data include instructions for any application or method operating on the terminal device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0138] The power supply component 606 provides power to various components of the terminal device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal device 600.
[0139] The multimedia component 608 includes a screen that provides an output interface between the terminal device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the terminal device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0140] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), which is configured to receive external audio signals when the terminal device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0141] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.
[0142] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the terminal device 600. For example, the sensor assembly 614 can detect the open / closed state of the terminal device 600, the relative positioning of components, such as the display and keypad of the terminal device 600. The sensor assembly 614 can also detect changes in the position of the terminal device 600 or a component of the terminal device 600, the presence or absence of user contact with the terminal device 600, the orientation or acceleration / deceleration of the terminal device 600, and temperature changes of the terminal device 600. The sensor assembly 614 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0143] The communication component 616 is configured to facilitate wired or wireless communication between the terminal device 600 and other devices. The terminal device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0144] In an exemplary embodiment, the terminal device 600 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the display effect control method of the above-mentioned display screen.
[0145] In an exemplary embodiment, the display screen of the terminal device 600 is an OLED display screen.
[0146] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by the processor 620 of the terminal device 600 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0147] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by the processor of a terminal device, enables the processing device of the terminal device to execute the display effect control method of the display screen provided by the exemplary embodiment of the present disclosure.
[0148] Other embodiments of the present invention will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.
[0149] It should be understood that the present invention is not limited to the exact construction described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A method for controlling the display effect of a display screen, characterized in that: The display effect control method of the display screen includes: Get the current ambient brightness information; Acquiring display brightness information of the display screen; If the display brightness information does not match the ambient brightness information, obtaining first ambient color temperature information, wherein the first ambient color temperature information is acquired by collecting the first ambient color temperature information through a front camera and a rear camera of the terminal device; Adjusting the color temperature display effect of the display screen according to the first ambient color temperature information; The ambient brightness information is obtained by collecting the ambient light intensity sensor provided on the terminal device; The display effect control method of the display screen further includes: If the display brightness information matches the ambient brightness information, obtaining second ambient color temperature information, wherein the second ambient color temperature information is acquired by a color temperature sensor disposed below the display screen; Adjusting the color temperature display effect of the display screen according to the second ambient color temperature information; The obtaining of the first ambient color temperature information includes: Controlling the preview function of the front camera to start and obtain the front preview information; Control the rear camera to start and obtain rear preview information; Obtaining weight parameters of the pre-preview information and the post-preview information respectively, wherein the weight parameter of the pre-preview information is greater than the weight parameter of the post-preview information; The first ambient color temperature information is obtained according to the pre-preview information, the post-preview information, and the weight parameter.
2. The display effect control method of a display screen according to claim 1, characterized in that: The display effect control method of the display screen further includes: Starting the color temperature adjustment function based on the received instruction information for starting the color temperature adjustment function; After the color temperature adjustment function is activated, the color temperature display effect of the display screen is adjusted according to the first ambient color temperature information or the second ambient color temperature information.
3. The display effect control method of a display screen according to claim 1, characterized in that: The method for determining that the display brightness information does not match the ambient brightness information includes: When the display brightness information is greater than a first threshold and the ambient brightness information is less than a second threshold, it is determined that the display brightness information does not match the ambient brightness information.
4. The display effect control method of a display screen according to claim 1, characterized in that: The front preview information includes front light intensity information and / or front color temperature information; The post-preview information includes post-light intensity information and / or post-color temperature information.
5. A display effect control device for a display screen, characterized in that: The display effect control device of the display screen includes: An acquisition module, configured to acquire current ambient brightness information and display brightness information of the display screen; a processing module, configured to determine whether the display brightness information matches the ambient brightness information; The acquisition module is further configured to, if the display brightness information does not match the ambient brightness information, acquire first ambient color temperature information, wherein the first ambient color temperature information is acquired by collecting the first ambient color temperature information through a front camera and a rear camera of the terminal device; an adjustment module, configured to adjust a color temperature display effect of the display screen according to the first ambient color temperature information; The ambient brightness information is obtained by collecting the ambient light intensity sensor provided on the terminal device; The acquisition module is further used for: If the display brightness information matches the ambient brightness information, obtaining second ambient color temperature information, wherein the second ambient color temperature information is acquired by a color temperature sensor disposed below the display screen; The adjustment module is also used for: Adjusting the color temperature display effect of the display screen according to the second ambient color temperature information; The obtaining of the first ambient color temperature information includes: Controlling the preview function of the front camera to start and obtain the front preview information; Control the rear camera to start and obtain rear preview information; Obtaining weight parameters of the pre-preview information and the post-preview information respectively, wherein the weight parameter of the pre-preview information is greater than the weight parameter of the post-preview information; The first ambient color temperature information is obtained according to the pre-preview information, the post-preview information, and the weight parameter.
6. The display effect control device of a display screen according to claim 5, characterized in that: The processing module is further configured to: Based on the received instruction information for starting the color temperature adjustment function, the color temperature adjustment function is started.
7. A terminal device, characterized in that: The terminal device includes: Display screen; processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions in the memory to implement the display effect control method of a display screen according to any one of claims 1 to 4.
8. The terminal device according to claim 7, characterized in that The display screen is an OLED display screen.
9. A non-transitory computer-readable storage medium having executable instructions stored thereon, characterized in that: When the executable instruction is executed by the processor, the display effect control method of the display screen according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Control method, control device and electronic device
CN106200935A
Method for automatically adjusting output color temperature of display device and display device
CN109064997A
Screen display parameter adjusting method and device and storage medium
CN112086075A
Electronic equipment and display screen adjusting method thereof
CN112087611A
Electronic equipment and under-screen light detection assembly
CN114500869A