Color temperature adjustment method, device, terminal equipment and computer-readable storage medium

By obtaining the first brightness value and preset brightness interval threshold on the display production line and determining the initial RGB value, the display color temperature adjustment time is shortened, the problem of low production efficiency caused by the brightness differences in different batches is solved, and the overall adjustment efficiency is improved .

CN115116373BActive Publication Date: 2025-01-10GUANGXI CENTURY INNOVATION DISPLAY ELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210679318.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-16
Publication Date
2025-01-10
Estimated Expiration
2042-06-16

AI Technical Summary

Technical Problem

The existing color temperature adjustment method requires repeated debugging of RGB parameters because the brightness does not meet the requirements, resulting in low production efficiency and increased production costs.

Method used

By obtaining the first brightness value of the monitor to be tested in the preset state, determining the RGB initial value based on the preset brightness interval threshold, and outputting the color temperature adjustment information within the target range in the real-time color temperature value and brightness value, shortening the debugging time and improving the Adjust efficiency.

Benefits of technology

By dividing the brightness into different gears and matching the corresponding RGB initial value, the brightness difference between display screens in different batches is reduced, the debugging time of RGB value is shortened, and the overall adjustment efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115116373B_ABST
    Figure CN115116373B_ABST
Patent Text Reader

Abstract

The present application provides a color temperature adjustment method, device, terminal device and computer-readable storage medium, wherein the color temperature adjustment method comprises: obtaining a first brightness value of a display to be tested in a preset state, wherein the preset state is characterized as a state in which the display to be tested operates at its maximum brightness value and maximum contrast value; comparing the first brightness value with a threshold value of a preset brightness interval, and obtaining the RGB initial value of the display to be tested according to the comparison result; obtaining the real-time color temperature value and real-time brightness value of the display to be tested according to the RGB initial value, the default brightness value and the default contrast value; if the real-time color temperature value and the real-time brightness value are both within a target range, the color temperature adjustment is completed; wherein the target range is the color temperature standard value and the brightness standard value of the display to be tested. Through the above method, the adjustment efficiency of the color temperature of the display can be significantly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of display technology, and in particular, relates to a color temperature adjustment method, device, terminal equipment and computer-readable storage medium. Background Art

[0002] With the development of monitor specialization in recent years, consumers hope that the products they buy will meet the color temperature and brightness standards. However, the difference in incoming materials from the factory often affects the consistency of the color temperature and brightness of the screen. In order to ensure that each monitor after production meets the product requirements, the color temperature of the monitor needs to be adjusted on the production line during production.

[0003] In the currently commonly used color temperature adjustment method, in order to meet the color temperature requirements and the brightness requirements under the same menu brightness value, it is necessary to adjust the three RGB values ​​to meet the brightness requirements. However, the current adjustment method of multiple parameter adjustments often requires repeated adjustments due to the brightness not meeting the requirements, resulting in a long debugging time, which in turn reduces the production efficiency of the production line and increases production costs. Summary of the invention

[0004] The purpose of the present application is to provide a color temperature adjustment method, device, terminal device and computer-readable storage medium, aiming to solve the problem of low adjustment efficiency caused by large differences in brightness between different batches.

[0005] A first aspect of an embodiment of the present application provides a color temperature adjustment method, comprising:

[0006] Acquire a first brightness value of the display to be tested in a preset state, wherein the preset state is characterized by a state in which the display to be tested operates at a maximum brightness value and a maximum contrast value within an adjustable range;

[0007] Determine, according to the first brightness value and a threshold value of a preset brightness interval, an RGB initial value of the display to be detected, wherein the RGB initial value is within an RGB default range configured for the display to be detected;

[0008] Set the value of the RGB parameter of the display to be detected to the RGB initial value, the value of the brightness parameter of the display to be detected to the default brightness value, and the value of the contrast parameter of the display to be detected to the default contrast value, and obtain the real-time color temperature value and real-time brightness value of the display to be detected;

[0009] When the real-time color temperature value and / or the real-time brightness value is within the target range, information indicating that the color temperature adjustment is completed is output.

[0010] In a possible embodiment of the first aspect, determining the RGB initial value of the display to be detected according to the first brightness value and a threshold of a preset brightness range includes:

[0011] If the first brightness value is within the preset brightness range, then the RGB initial value of the display to be detected is determined to be a middle value within the RGB default range;

[0012] If the first brightness value is outside the preset brightness range, it is determined that the RGB initial value of the display to be detected is other values ​​within the RGB default range except the above-mentioned intermediate value, and the smaller the first brightness value is, the larger the value of the RGB initial value within the RGB default range is.

[0013] In a possible embodiment of the first aspect, when the first brightness value is outside the preset brightness range, if the first brightness value is less than the minimum value of the preset brightness range, the RGB initial value of the display to be detected is determined to be the maximum value within the RGB default range; if the first brightness value is greater than the maximum value of the preset brightness range, the RGB initial value of the display to be detected is determined to be the minimum value within the RGB default range.

[0014] In a possible embodiment of the first aspect, the acquiring of the real-time color temperature value and the real-time brightness value of the display to be detected when the RGB initial value, the default brightness value and the default contrast value further includes:

[0015] When the real-time color temperature value and / or the real-time brightness value are outside the target range, the RGB initial value is adjusted until the real-time color temperature value and / or real-time brightness corresponding to the RGB parameters of the display to be tested under the adjusted RGB initial value, default brightness value and default contrast value are within the target range.

[0016] In a possible embodiment of the first aspect, when the real-time color temperature value and / or the real-time brightness value are outside a target range, adjusting the RGB initial value until the real-time color temperature value and / or the real-time brightness corresponding to the RGB parameter of the display to be detected under the adjusted RGB initial value, the default brightness value, and the default contrast value are within a target range includes:

[0017] When the real-time color temperature value and / or the real-time brightness value is outside a target range, modifying the RGB initial value to obtain an RGB modified value;

[0018] If the RGB modification value is within the RGB default range, the real-time color temperature value and the real-time brightness value of the display to be tested are reacquired according to the RGB modification value, the default brightness value and the default contrast value.

[0019] In a possible embodiment of the first aspect, when the real-time color temperature value and / or the real-time brightness value are outside a target range, adjusting the RGB initial value until the real-time color temperature value and / or the real-time brightness corresponding to the RGB parameter of the display to be detected under the adjusted RGB initial value, the default brightness value, and the default contrast value are within a target range includes:

[0020] When the real-time color temperature value and / or the real-time brightness value is outside a target range, modifying the RGB initial value to obtain an RGB modified value;

[0021] When the RGB modification value is outside the default range of the R value, outputting a prompt message indicating that the debugging color temperature R value has overflowed;

[0022] When the RGB modification value is outside the default range of the G value, outputting a prompt message indicating that the debugging color temperature G value has overflowed;

[0023] When the RGB modification value is outside the default range of the B value, a prompt message indicating that the color temperature B value overflows is output.

[0024] In a possible embodiment of the first aspect, the preset brightness interval is characterized by the default brightness value±adjustable range value; and the color temperature standard value corresponds to the selected standard color temperature.

[0025] A second aspect of an embodiment of the present application provides a color temperature adjustment device, comprising:

[0026] A first acquisition unit is used to acquire a first brightness value of the display to be tested in a preset state, wherein the preset state is characterized by a state in which the display to be tested operates at a maximum brightness value and a maximum contrast value within an adjustable range;

[0027] A processing unit, configured to determine an RGB initial value of the display to be detected according to the first brightness value and a threshold value of a preset brightness interval, wherein the RGB initial value is within an RGB default range configured for the display to be detected;

[0028] A second acquisition unit is used to set the value of the RGB parameter of the display to be detected to the RGB initial value, the value of the brightness parameter of the display to be detected to the default brightness value, and the value of the contrast parameter of the display to be detected to the default contrast value, and obtain the real-time color temperature value and real-time brightness value of the display to be detected;

[0029] The output unit is used to output the color temperature adjustment completion information when the real-time color temperature value and / or the real-time brightness value is within the target range.

[0030] A third aspect of an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a color temperature adjustment method as described in any one of the first aspects above is implemented.

[0031] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the color temperature adjustment method as described in any one of the first aspects above is implemented.

[0032] A fifth aspect of an embodiment of the present application provides a computer program product, including a computer program, which, when processed and executed, implements the color temperature adjustment method described in any one of the first aspects above.

[0033] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0034] By comparing the first brightness value obtained when the display to be tested is running at the maximum brightness value and the maximum contrast value within the adjustable range with the preset brightness range, the brightness of the display to be tested is divided into different gears, and different RGB initial values ​​are matched according to different gears, so as to reduce the brightness difference between different batches of display screens, shorten the debugging time of RGB values, and improve the overall adjustment efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 is a flow chart of a color temperature adjustment method provided in an embodiment of the present application;

[0036] Figure 2 is a specific flow chart of the color temperature adjustment method provided in the embodiment of the present application;

[0037] Figure 3 is a structural block diagram of a color temperature adjustment device provided in an embodiment of the present application;

[0038] Figure 4 It is a schematic diagram of the structure of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0039] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0040] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0041] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0042] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0043] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0044] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.

[0045] Since the brightness of display screens in different batches is often different, and even varies greatly. For example, the current batch of display screens to be tested involves 3 batches (i.e., batch 001, batch 002, and batch 003), among which the brightness of the display screens in batch 001 is 320 nits, the brightness of the display screens in batch 002 is 400 nits, and the brightness of the display screens in batch 003 is 300 nits. It can be seen that the brightness difference of display screens in different batches may be 80 to 100 nits, and the brightness difference between some batches is even greater. In such a case, if the same RGB initial value is provided, it is difficult to meet the color temperature standard and the brightness standard at the same time, and it is often necessary to repeatedly debug the values ​​of each RGB channel, resulting in the problem of too long debugging time.

[0046] Figure 1Shows a preferred embodiment of the present application ( Figure 1 FIG. 1 is a flow chart of a color temperature adjustment method provided in the first embodiment of the present application. For the sake of convenience, only the part related to the present embodiment is shown, which specifically includes the following steps:

[0047] S101, obtaining a first brightness value of the display under test in a preset state, wherein the preset state is characterized by a state in which the display under test operates at its maximum brightness value and maximum contrast value. Generally, the preset state is a state in which the brightness and contrast of the display under test are set to values ​​that are not affected by color temperature.

[0048] S102: Determine an RGB initial value of the display to be detected according to the first brightness value and a threshold of a preset brightness range, wherein the RGB initial value is within an RGB default range configured for the display to be detected.

[0049] In this embodiment, the preset brightness interval is characterized by the default brightness value ± the adjustable range value. Here, the default brightness value can be understood as the factory specification of the display screen. According to the requirements of different customers, the default brightness value and the default contrast value may also be different. The RGB default range and the default contrast value are the same as the default brightness value, and the factory specifications are also set according to customer requirements. The adjustable range value can be set according to the specific working conditions.

[0050] Specifically, if the first brightness value is within the preset brightness range, the RGB initial value of the display to be detected is determined to be the middle value within the RGB default range. The middle value can be a point value, or a number of values ​​located in the middle of the value range can be selected, and the average value of these values ​​is used as the middle value.

[0051] Specifically, if the first brightness value is outside the preset brightness range, the RGB initial value of the display to be detected is determined to be other values ​​within the RGB default range except the above-mentioned intermediate value, and the smaller the first brightness value is, the larger the value of the RGB initial value within the RGB default range is, so as to reduce the brightness difference between different batches of display screens and shorten the debugging time of the RGB value.

[0052] S103, setting the RGB parameter value of the display to be detected to the RGB initial value, the brightness parameter value of the display to be detected to the default brightness value, and the contrast parameter value of the display to be detected to the default contrast value, and obtaining the real-time color temperature value and real-time brightness value of the display to be detected.

[0053] S104: When the real-time color temperature value and / or the real-time brightness value are within the target range, information on the completion of color temperature adjustment is output. If the real-time color temperature value and / or the real-time brightness value are outside the target range, the RGB initial value is modified to obtain the RGB modified value and the process returns to step S103.

[0054] In this embodiment, by setting a preset brightness range and according to the relationship between the first brightness value and the preset brightness range, the brightness of the display screen to be tested can be divided into different gears and matched with the corresponding RGB initial values ​​to reduce the brightness difference between different batches of display screens, thereby shortening the debugging time of the RGB value and improving the overall adjustment efficiency.

[0055] In a specific embodiment of the present application, Figure 2 Shows a preferred embodiment of the present application ( Figure 1 The specific flow chart of the color temperature adjustment method provided in the first embodiment of the present application is shown. The method in the embodiment of the present application can be executed by a PC host computer. The PC host computer is connected to the display and the color analyzer respectively through a fixture. The color analyzer reads the maximum brightness value, maximum contrast value, default brightness value, default contrast value and preset brightness range of the display. Specifically, the following steps are included:

[0056] S201 , obtaining a first brightness value of a display to be tested in a preset state, wherein the preset state is characterized by a state in which the display to be tested operates at its maximum brightness value and maximum contrast value.

[0057] Generally, the maximum brightness value and the maximum contrast value can be selected to be any value far exceeding the default brightness value and the default contrast value, as long as a first brightness value that is not affected by the color temperature can be obtained, and the specific values ​​may not be limited. For example, the maximum brightness value and the maximum contrast value of the display to be tested are both set to 100, so that the first brightness value obtained after the display to be tested runs in this state.

[0058] S202: Compare the first brightness value with a threshold value of a preset brightness range, and obtain an RGB initial value of the display to be detected according to the comparison result.

[0059] It should be noted that the RGB initial value of the display to be tested is set corresponding to the comparison result between the first brightness value and the preset brightness range. That is, according to the comparison result between the first brightness value and the preset brightness range, the corresponding RGB initial value is configured. Among them, the comparison result between the first brightness value and the preset brightness range can be that the first brightness value is less than the minimum value of the preset brightness range, the first brightness value is greater than the maximum value of the preset brightness range, and the first brightness value is within the preset brightness range.

[0060] The following describes embodiments of configuring different RGB initial values ​​corresponding to different comparison results.

[0061] In one embodiment, step S202 specifically includes:

[0062] S2021: The first brightness value is less than a first threshold of the preset brightness range, and a first comparison result is obtained; wherein the first threshold is represented by a minimum value of the preset brightness;

[0063] S2022, according to the first comparison result, obtaining a first RGB initial value of the display to be detected, wherein the first RGB initial value is configured as the maximum value within the RGB default range of the display to be detected. Here, the RGB default range may correspond to the upper limit and lower limit of each channel of the R channel, the G channel, and the B channel, and the RGB default range may be adjusted according to the working conditions.

[0064] For example, the default brightness value is set to 350 nits, the adjustable range value is set to 20 nits, and the preset brightness interval is [330, 370]. If the first brightness value is 320 nits, the first comparison result is that the first brightness value is less than the first threshold of the preset brightness interval (i.e., the minimum value of the preset brightness is 330 nits). Further, the first RGB initial value corresponding to the first comparison result is obtained. The first RGB initial value is configured as the maximum value within the RGB default range in the display to be detected, that is, the upper limit default value of the R channel, the G channel and the B channel. At this time, the R channel value can be 128, the G channel value is 128, and the B channel value is 129.

[0065] In another embodiment, step S202 specifically includes:

[0066] S2023: the first brightness value is greater than a first threshold of the preset brightness range, and a second comparison result is obtained; wherein the first threshold is represented by a minimum value of the preset brightness;

[0067] S2024, the first brightness value is less than a second threshold of the preset brightness range, and a third comparison result is obtained; wherein the second threshold is represented by a maximum value of the preset brightness;

[0068] S2025: Acquire a second RGB initial value of the display to be detected according to the second comparison result and the third comparison result, wherein the second RGB initial value is configured as a middle value within a default RGB range of the display to be detected.

[0069] For example, the default brightness value is set to 350 nits, and the adjustable range value is set to 20 nits, then the preset brightness interval is [330, 370]. Then the first threshold, i.e., the minimum value of the preset brightness, is 330 nits, and the second threshold, i.e., the maximum value of the preset brightness, is 370 nits. If the first brightness value is 360 nits, then the second comparison result is that the first brightness value is greater than the first threshold of the preset brightness interval (i.e., the minimum value of the preset brightness, 330 nits). The third comparison result is that the first brightness value is less than the second threshold of the preset brightness interval (i.e., the maximum value of the preset brightness, 370 nits). In other words, the first brightness value of 360 nits is within the preset brightness interval [330, 370]. Further, according to the second comparison result and the third comparison result, the second RGB initial value of the display to be detected is obtained. The second RGB initial value is configured as the middle value within the RGB default range in the display to be detected, that is, the middle default value between the upper limit value and the lower limit value of the R channel, the G channel and the B channel. At this time, the R channel value is 119, the G channel value is 118, and the B channel value is 117.

[0070] In yet another embodiment, step S202 specifically includes:

[0071] S2026, the first brightness value is greater than a second threshold of the preset brightness range, and a fourth comparison result is obtained; wherein the second threshold is represented by a maximum value of the preset brightness;

[0072] S2027, obtaining a third RGB initial value of the display to be detected according to the fourth comparison result, wherein the third RGB initial value is configured as a minimum value within a default RGB range of the display to be detected.

[0073] For example, the default brightness value is set to 350 nits, the adjustable range value is set to 20 nits, and the preset brightness interval is [330, 370]. If the first brightness value is 380 nits, the fourth comparison result is that the first brightness value is greater than the second threshold of the preset brightness interval (i.e., the maximum value of the preset brightness is 370 nits). Further, the third RGB initial value corresponding to the fourth comparison result is obtained. The third RGB initial value is configured as the minimum value within the RGB default range in the display to be detected, that is, the lower limit default value of the R channel, the G channel, and the B channel. At this time, the R channel value is 107, the G channel value is 108, and the B channel value is 105.

[0074] S203, setting the RGB value, brightness value and contrast value of the display to be tested to the RGB initial value, default brightness value and default contrast value, and obtaining the current real-time color temperature value and real-time brightness value of the display to be tested.

[0075] S204, if the real-time color temperature value and the real-time brightness value are both within the target range, the color temperature adjustment is completed; wherein the target range is the standard color temperature value and the standard brightness value of the display to be tested.

[0076] For example, when the standard color temperature of 6500 is selected, the corresponding color temperature standard value coordinates are x=313, y=329. When the standard color temperature is adjusted, the corresponding color temperature standard value coordinates are also adjusted. Generally, the color temperature standard coordinates also have a corresponding error range, and the specific error value can be set according to the working conditions. For example, the error range is set to ±8, that is, the color temperature coordinate standard value is x=313±8, y=329±8.

[0077] The standard brightness value can generally be set according to the needs of customers, and is generally related to the brightness requirements of the country where the display is actually sold. If the display is to be sold in Europe, the standard brightness value is set according to the brightness requirements of Europe. If the display is to be sold in America, the standard brightness value is set according to the brightness requirements of America.

[0078] If the display screen to be tested is set to the RGB initial value, default brightness value and default contrast value, the detected real-time color temperature value and real-time brightness value are often not within the target range, and further debugging of the RGB initial value is required.

[0079] In a possible embodiment of the present application, the method provided in the embodiment of the present application further includes the following steps after step S203:

[0080] S205, if the real-time color temperature value and / or the real-time brightness value is not within the target range, modify the RGB initial value to obtain the RGB modified value;

[0081] S206, if the RGB modification value is within the RGB default range, the real-time color temperature value and the real-time brightness value of the display to be tested are reacquired according to the RGB modification value, the default brightness value and the default contrast value, and the process returns to step S203.

[0082] It should be noted that in the following steps, each time the RGB value of the display is adjusted, the brightness and color coordinates of the display will change accordingly. The brightness and color coordinates of the display can be monitored by a color analyzer, which will not be repeated in the following description.

[0083] S207, if the RGB modified value is not within the RGB default range, then the R value, G value and B value are judged respectively. Specifically, the steps include:

[0084] S2071: When the RGB modification value is outside the default range of the R value, a prompt message indicating that the color temperature R value overflows is output.

[0085] S2072: When the RGB modification value is outside the default range of the G value, a prompt message indicating that the color temperature G value has overflowed is output.

[0086] S2073: When the RGB modification value is not outside the default range of the B value, a prompt message indicating that the color temperature B value overflows is output.

[0087] It should be understood that the RGB default range is the factory specification range value of the three color channels of red, green and blue. Usually, the default ranges of the three color channels of R, G and B are the same. For example, the default range of RGB in the display is 0 to 255, and the maximum value in the default range is 255. When the RGB value of the display is adjusted to the maximum value of (255,255,255), the values ​​of the three channels of R, G and B are all the maximum values.

[0088] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0089] Corresponding to the color temperature adjustment method described in the above embodiment, Figure 3 2 is a structural block diagram of a color temperature adjustment device provided in an embodiment of the present application. For ease of description, only the parts related to the embodiment of the present application are shown.

[0090] Reference Figure 3 As shown, the color temperature adjustment device 300 includes: a first acquisition unit 301, a processing unit 302, a second acquisition unit 303 and an output unit 304. Each unit is described in detail below.

[0091] The first acquisition unit 301 is used to acquire a first brightness value of the display to be tested in a preset state, wherein the preset state is characterized by a state in which the display to be tested operates at a maximum brightness value and a maximum contrast value within an adjustable range.

[0092] The processing unit 302 is used to determine the RGB initial value of the display to be detected according to the first brightness value and the threshold of the preset brightness range, and the RGB initial value is within the RGB default range configured for the display to be detected.

[0093] The second acquisition unit 303 is used to set the value of the RGB parameter of the display to be detected to the RGB initial value, the value of the brightness parameter of the display to be detected to the default brightness value, and the value of the contrast parameter of the display to be detected to the default contrast value, and obtain the real-time color temperature value and real-time brightness value of the display to be detected;

[0094] The output unit 304 is used to output color temperature adjustment completion information when the real-time color temperature value and / or the real-time brightness value is within the target range.

[0095] Specifically, the processing unit 302 is further configured to:

[0096] If the first brightness value is within the preset brightness range, then the RGB initial value of the display to be detected is determined to be a middle value within the RGB default range;

[0097] If the first brightness value is outside the preset brightness range, it is determined that the RGB initial value of the display to be detected is other values ​​within the RGB default range except the above-mentioned intermediate value, and the smaller the first brightness value is, the larger the value of the RGB initial value within the RGB default range is.

[0098] Optionally, the device further comprises:

[0099] The adjustment unit 305 is used to adjust the RGB initial value until the real-time color temperature value and / or the real-time brightness value corresponding to the RGB parameters of the display to be detected under the adjusted RGB initial value, default brightness value and default contrast value are within the target range when the real-time color temperature value and / or the real-time brightness value are outside the target range.

[0100] Among them, the adjustment unit 305 is specifically used to modify the RGB initial value to obtain the RGB modified value when the real-time color temperature value and / or the real-time brightness value are outside the target range; if the RGB modified value is within the RGB default range, the real-time color temperature value and real-time brightness value of the display to be tested are re-acquired according to the RGB modified value, the default brightness value and the default contrast value.

[0101] Among them, the adjustment unit 305 is also specifically used to modify the RGB initial value to obtain the RGB modified value when the real-time color temperature value and / or the real-time brightness value are outside the target range; when the RGB modified value is outside the default value of the R value, output a prompt message of the debugging color temperature R value overflow; when the RGB modified value is outside the default value of the G value, output a prompt message of the debugging color temperature G value overflow; when the RGB modified value is outside the default value of the B value, output a prompt message of the debugging color temperature B value overflow.

[0102] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0103] Figure 4 Schematic diagram of the structure of the terminal device provided in the embodiment of the present application. Figure 4 As shown, the terminal device 400 of this embodiment includes: at least one processor 410 ( Figure 4 Only one is shown in the figure) a processor, a memory 420, and a computer program 421 stored in the memory 420 and executable on the at least one processor 410, and when the processor 410 executes the computer program 421, the steps in any of the above-mentioned color temperature adjustment method embodiments are implemented.

[0104] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that Figure 4 It is only an example of the terminal device 400 and does not constitute a limitation on the terminal device 400. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, etc.

[0105] The processor 410 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0106] In some embodiments, the memory 420 may be an internal storage unit of the terminal device 400, such as a hard disk or memory of the terminal device 400. In other embodiments, the memory 420 may also be an external storage device of the terminal device 400, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal device 400. Further, the memory 420 may also include both an internal storage unit of the terminal device 400 and an external storage device. The memory 420 is used to store an operating system, an application program, a boot loader (Boot Loader), data, and other programs, such as the program code of the computer program, etc. The memory 420 may also be used to temporarily store data that has been output or is to be output.

[0107] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0108] An embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0109] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the device / terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0110] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0111] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0112] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0113] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0114] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A color temperature adjustment method, characterized in that: include: Acquire a first brightness value of the display to be detected in a preset state, wherein the preset state is characterized by a state in which the display to be detected operates at a maximum brightness value and a maximum contrast value within an adjustable range; Determine, according to the first brightness value and a threshold value of a preset brightness interval, an RGB initial value of the display to be detected, wherein the RGB initial value is within an RGB default range configured for the display to be detected; Set the value of the RGB parameter of the display to be detected to the RGB initial value, the value of the brightness parameter of the display to be detected to the default brightness value, and the value of the contrast parameter of the display to be detected to the default contrast value, and obtain the real-time color temperature value and real-time brightness value of the display to be detected; When the real-time color temperature value and / or the real-time brightness value are within the target range, output information on completion of color temperature adjustment; The step of determining the RGB initial value of the display to be detected according to the first brightness value and a threshold value of a preset brightness range includes: If the first brightness value is within the preset brightness range, then the RGB initial value of the display to be detected is determined to be a middle value within the RGB default range; If the first brightness value is outside the preset brightness range, it is determined that the RGB initial value of the display to be detected is other values ​​within the RGB default range except the above-mentioned intermediate value, and the smaller the first brightness value is, the larger the value of the RGB initial value within the RGB default range is.

2. The color temperature adjustment method according to claim 1, wherein: When the first brightness value is outside the preset brightness range, if the first brightness value is less than the minimum value of the preset brightness range, the RGB initial value of the display to be detected is determined to be the maximum value within the RGB default range; if the first brightness value is greater than the maximum value of the preset brightness range, the RGB initial value of the display to be detected is determined to be the minimum value within the RGB default range.

3. The color temperature adjustment method according to claim 1 or 2, characterized in that: When acquiring the RGB initial value, the default brightness value and the default contrast value, the real-time color temperature value and the real-time brightness value of the display to be detected also include: When the real-time color temperature value and / or the real-time brightness value are outside the target range, the RGB initial value is adjusted until the real-time color temperature value and / or real-time brightness corresponding to the RGB parameters of the display to be tested under the adjusted RGB initial value, default brightness value and default contrast value are within the target range.

4. The color temperature adjustment method according to claim 3, characterized in that: When the real-time color temperature value and / or the real-time brightness value are outside the target range, adjusting the RGB initial value until the real-time color temperature value and / or the real-time brightness corresponding to the RGB parameter of the display to be detected under the adjusted RGB initial value, the default brightness value and the default contrast value are within the target range includes: When the real-time color temperature value and / or the real-time brightness value is outside a target range, modifying the RGB initial value to obtain an RGB modified value; If the RGB modification value is within the RGB default range, the real-time color temperature value and the real-time brightness value of the display to be detected are reacquired according to the RGB modification value, the default brightness value and the default contrast value.

5. The color temperature adjustment method according to claim 3, characterized in that: When the real-time color temperature value and / or the real-time brightness value are outside the target range, adjusting the RGB initial value until the real-time color temperature value and / or the real-time brightness corresponding to the RGB parameter of the display to be detected under the adjusted RGB initial value, the default brightness value and the default contrast value are within the target range includes: When the real-time color temperature value and / or the real-time brightness value is outside a target range, modifying the RGB initial value to obtain an RGB modified value; When the RGB modification value is outside the default range of the R value, outputting a prompt message indicating that the debugging color temperature R value has overflowed; When the RGB modification value is outside the default range of the G value, outputting a prompt message indicating that the debugging color temperature G value has overflowed; When the RGB modification value is outside the default range of the B value, a prompt message indicating that the color temperature B value overflows is output.

6. The color temperature adjustment method according to claim 1, wherein: The preset brightness range is characterized by the default brightness value±adjustable range value.

7. A color temperature adjustment device, characterized in that: include: A first acquisition unit is used to acquire a first brightness value of the display to be detected in a preset state, wherein the preset state is characterized by a state in which the display to be detected operates at a maximum brightness value and a maximum contrast value within an adjustable range; A processing unit, configured to determine an RGB initial value of the display to be detected according to the first brightness value and a threshold value of a preset brightness interval, wherein the RGB initial value is within an RGB default range configured for the display to be detected; A second acquisition unit is used to set the value of the RGB parameter of the display to be detected to the RGB initial value, the value of the brightness parameter of the display to be detected to the default brightness value, and the value of the contrast parameter of the display to be detected to the default contrast value, and obtain the real-time color temperature value and real-time brightness value of the display to be detected; An output unit, used for outputting color temperature adjustment completion information when the real-time color temperature value and / or the real-time brightness value is within a target range; The processing unit is also used for: If the first brightness value is within the preset brightness range, then the RGB initial value of the display to be detected is determined to be a middle value within the RGB default range; If the first brightness value is outside the preset brightness range, it is determined that the RGB initial value of the display to be detected is other values ​​within the RGB default range except the above-mentioned intermediate value, and the smaller the first brightness value is, the larger the value of the RGB initial value within the RGB default range is.

8. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Color temperature adjusting method, terminal equipment and computer readable storage medium

    CN114217757A