LED Display Color Adjustment System and Method Based on Ambient Light Sensing
By adopting a color adjustment system based on ambient light perception in the LED display screen, the color of the display screen is automatically adjusted to match the lighting conditions of the surrounding environment, and the problem that color adjustment in the prior art cannot adapt to ambient light is solved, achieving a better user experience and a longer equipment life.
Patent Information
- Application Number
- CN202510149727.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-11
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2045-02-11
AI Technical Summary
The color adjustment of existing LED displays cannot be automatically adjusted according to the lighting conditions of the surrounding environment, resulting in poor user experience, increased energy consumption and shortened display service life.
A LED display color adjustment system based on ambient light perception is adopted, which includes a signal acquisition module, a color matching module and a lighting feedback module. The ambient light intensity is detected by the light perception sensor, and the brightness values of the three basic colors of red, green and blue matching the light intensity are calculated, and the color of the display is adjusted in real time.
It realizes automatic adjustment of the color parameters of LED displays, improves the user experience, reduces energy consumption, and extends the service life of the display.
Smart Images

Figure CN119626149B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of color adjustment, and particularly to a color adjustment system and method for an LED display based on ambient light perception. Background Art
[0002] As an important display device, the LED display has many advantages in terms of display effect and application. The color of the LED display is generated by different brightness combinations of three primary colors: red (R), green (G), and blue (B). This color combination is called the RGB color mode. Adjusting the color of the LED display is achieved by controlling the brightness of the three primary colors to obtain the desired color effect. By adjusting the brightness of these three colors, almost all colors and color variations can be achieved, which is very important for displaying real images and video content. However, the color adjustment of existing LED displays is generally carried out by operators according to their own situations through buttons, which is not only time-consuming and laborious, but also the color effect cannot adapt to the surrounding environment, directly affecting the color display effect of the LED display.
[0003] Prior Art One, Application No.: CN202310545374.0 discloses a display screen brightness adjustment method, device, computer device, and storage medium. The display screen brightness adjustment method includes: obtaining a task screen, analyzing the task screen to determine the brightness information and color information corresponding to the task screen; determining the number of tasks of the task, dividing the display area of the display screen of the display according to the number of tasks to form a partition display area; based on the color information, performing an optimal sorting of the tasks, and displaying each task in the corresponding partition display area; based on the color information and the partition display area, adjusting the brightness information of the partition display area corresponding to the task screen. Although it aims to solve or improve the problem of poor experience of the display screen, its function is relatively simple. The color adjustment is adjusted according to the task, resulting in the inability to adjust according to the ambient light conditions, leading to a poor user experience.
[0004] Prior Art Two, Application No.: CN202310077515.0 discloses a display screen correction method, device and non-volatile storage medium in color gamut adjustment. Among them, the method includes: determining the target correction data of the RGB three primary colors of the target color gamut of the display screen in the ideal light-emitting state, where the ideal light-emitting state is the state in which the light-emitting states of the RGB three primary colors of the display screen change according to the ideal change law with the correction data of the display screen; obtaining the compensation parameters corresponding to the correction data interval according to the correction data interval corresponding to the target correction data before correction; compensating the target correction data before correction according to the compensation parameters to obtain the target correction data after correction, where the light-emitting states of the RGB three primary colors of the display screen reach the ideal light-emitting state when the target correction data after correction is adopted; writing the target correction data after correction into the display screen. Although it solves the technical problem that there is a large error in the color correction of the display screen caused by the inability to ideally control the color of the lamp beads with the correction data. However, it only improves from the function of the display screen itself and does not take the surrounding light conditions; as an adjustment factor, it cannot bring excellent visual effects to users.
[0005] Prior Art Three, Application No.: CN202310716659.6 discloses a color deviation correction method and system for an LED display screen, including: an information collection unit for detecting the environmental impact information of the target screen usage scenario; a data analysis unit for determining the screen color temperature of the target screen according to the change degree of the light source color temperature and determining the environmental impact period according to the area of the light illumination impact area of the target screen usage scenario; a simulation detection unit connected to the data analysis unit for performing light illumination detection and temperature detection on the target screen according to the instruction information of the data analysis unit; a deviation correction strategy generation unit for determining the adjustment amount of the target screen working parameters of the corresponding environmental impact period according to the display effect parameters of the target screen to generate a light illumination control strategy, and generating a target screen temperature compensation strategy according to the brightness of the target screen at different detected temperatures; Although it improves the accuracy and practicality of the color deviation correction strategy. However, the color cannot match the ambient light, reducing the accuracy of the color deviation correction strategy.
[0006] Currently, Prior Art One, Prior Art Two and Prior Art Three have the problems of lacking monitoring means for the ambient light conditions around the display screen, not analyzing the light conditions, and lacking technical means to match the color with the light conditions. On the one hand, it reduces the user experience, and on the other hand, it increases energy consumption and shortens the service life of the display screen. Therefore, the present invention provides a color adjustment system and method for an LED display screen based on ambient light perception, which can obtain color parameters matching the light conditions by perceiving the light conditions, realize the automatic adjustment of the color parameters of the LED display screen, and greatly improve the user experience. Summary of the Invention
[0007] To solve the above technical problems, the present invention provides a color adjustment system for an LED display based on ambient light perception, comprising:
[0008] A signal acquisition module, responsible for detecting the light intensity of the environment around the display through a light perception sensor, obtaining an analog signal of the light intensity, and converting the analog signal into a digital signal through an analog-to-digital converter, that is, obtaining a light intensity value corresponding to the analog signal;
[0009] A color matching module, responsible for calculating the brightness values of the three primary colors of red, green, and blue that match the light intensity value according to a preset color adjustment strategy based on the light intensity value; adjusting the colors in the display according to the brightness values;
[0010] A light feedback module, responsible for re-detecting the light intensity of the surrounding environment in real time according to the light intensity acquisition period and making adjustments according to the new light intensity value.
[0011] Optionally, the signal acquisition module comprises:
[0012] A status judgment sub-module, responsible for obtaining the functional program for the analog-to-digital converter to call the analog signal, and at the same time sending an instruction to establish normal communication with the light perception sensor, judging whether the communication status is normal. If it is normal, the analog signal collected by the light sensor is retrieved through the functional program. If it is not normal, a warning is issued;
[0013] A trigger execution sub-module, responsible for starting the light perception sensor to collect the light intensity of the environment around the display according to the set acquisition period, obtaining multiple analog signals of the light intensity within the same acquisition period, judging whether the color adjustment strategy can be triggered for the multiple analog signals of the light intensity. When more than 70% of the multiple analog signals can trigger the color adjustment strategy, the analog signals exceeding 70% are screened out and sent to the analog-to-digital converter; otherwise, in the next acquisition period, the light perception sensor is started to collect the light intensity of the environment around the display;
[0014] A signal sorting sub-module, responsible for receiving the screened analog signals, sorting them from the maximum value to the minimum value according to the amplitude of the analog signals, screening out 2 / 3 of the analog signals from the sorted analog signals, and converting the analog signals into corresponding light intensity values through the analog-to-digital converter.
[0015] Optionally, the color matching module comprises:
[0016] A knowledge graph construction sub-module, responsible for constructing a knowledge graph of the light intensity value and the primary color value. The knowledge graph uses a loss function to train the parameters of the loss function term, and completes the path mining in the constructed knowledge graph, thereby completing the alignment task of the light intensity value and the primary color value;
[0017] A numerical value acquisition sub-module, responsible for acquiring the light intensity numerical value, inputting it into the color adjustment strategy, and through path mining of the constructed knowledge graph, finding the brightness value aligned with the light intensity numerical value;
[0018] A matching execution sub-module, responsible for replacing the numerical values of the basic colors in the brightness value with the numerical values of the basic colors in the original brightness value, to obtain a display screen matching image corresponding to the brightness value.
[0019] Optionally, the graph construction sub-module includes:
[0020] A first construction unit, responsible for mapping the light intensity numerical value and the basic color numerical value in the knowledge graph to the vector space, acquiring the light intensity numerical value and the basic color numerical value, obtaining the corresponding vector of the intermediate relationship between the light intensity numerical value and the basic color numerical value, and constructing the first loss function term of the internal structure information of the knowledge graph;
[0021] A second construction unit, responsible for using the linear mapping function to obtain the loss function term corresponding to the aligned light intensity numerical value in the knowledge graph; by calculating the distance between the known aligned relationships between the light intensity numerical values and the basic color numerical values in the two knowledge graphs, measuring the alignment degree of the two knowledge graphs, and calculating the second loss function term corresponding to the aligned light intensity numerical value in the knowledge graph;
[0022] A third construction unit, responsible for using the aligned nodes and intermediate relationships to obtain the third loss function term of the corresponding internal relationship of the knowledge graph; combining the first loss function term, the second loss function term and the third loss function term to obtain the overall loss function of the knowledge graph.
[0023] Optionally, the third construction unit includes:
[0024] A coefficient definition sub-unit, responsible for defining the weight coefficient of each loss function term. The larger the weight coefficient, the higher the importance of the corresponding loss function term; for each loss function term, calculating the corresponding loss value; the loss value is obtained through the output or intermediate result of each construction unit;
[0025] A weighted summation sub-unit, responsible for multiplying the loss value of each loss function term by its corresponding weight coefficient to obtain the weighted loss term value;
[0026] A term value addition sub-unit, responsible for adding the weighted loss term values to obtain the overall loss function, and the overall loss function reflects the comprehensive influence of each loss function term.
[0027] Optionally, the numerical value acquisition sub-module includes:
[0028] The path confirmation unit is responsible for determining the starting point and the ending point of path mining. The starting point is the light intensity value node, and the ending point is the brightness value node. It starts from the starting point using depth - first search and explores the path according to the search strategy. In each step, based on the current node and the traversed path, it selects the next node to explore.
[0029] The search execution unit is responsible for judging whether the ending point has been reached during the search process. If the current node is the brightness value node, a path from the light intensity value to the brightness value is found. It records the traversed path and stores the path information using a list. If there are still unexplored nodes, it continues to search according to the search strategy until all paths are found or the termination condition is reached.
[0030] The result output unit is responsible for outputting the found path as the result after the search ends. The path describes the alignment relationship between the light intensity value and the brightness value.
[0031] Optionally, the path confirmation unit includes:
[0032] The node marking subunit is responsible for starting from the light intensity value node and marking it as visited.
[0033] The node selection subunit is responsible for selecting an unvisited adjacent node as the next node to explore. If there are unvisited adjacent nodes, it goes to that node and marks it as visited, then recursively performs depth - first search. If all adjacent nodes have been visited, it backtracks to the previous node and continues to select the next unvisited node for exploration.
[0034] The node traversal subunit is responsible for repeatedly visiting unvisited nodes until the brightness value node is found or all possible paths are traversed.
[0035] Optionally, the matching execution sub - module includes:
[0036] The matching execution unit is responsible for obtaining the corresponding basic color value according to the brightness value aligned with the light intensity value found by path mining.
[0037] The numerical removal unit is responsible for, for each basic color, traversing each pixel of the brightness value and removing its value from the brightness value and replacing it with the value of the matched basic color according to the matched color value.
[0038] The image generation unit is responsible for obtaining the display screen matching image corresponding to the matched brightness value after the replacement operation. The display screen matching image retains the structure of the original brightness value, but the color information has been adjusted according to the result of path mining to achieve the goal of color matching.
[0039] Optionally, the light feedback module includes:
[0040] The cycle confirmation sub-module is responsible for obtaining the previous acquisition cycle and simultaneously obtaining the next acquisition cycle. When the next acquisition cycle arrives, it starts the optical sensing sensor to collect the light intensity of the environment around the display screen;
[0041] The intensity comparison sub-module is responsible for comparing the new light intensity with the light intensity of the previous acquisition cycle. When the comparison result exceeds the acquisition threshold, it starts the processing program of the analog signal of the light intensity; otherwise, it continues to wait for the arrival of the next acquisition cycle;
[0042] The adjustment execution sub-module is responsible for starting the processing program of the analog signal of the light intensity, performing the processing of the analog signal; and adjusting the color of the display screen according to the processing result.
[0043] A method for adjusting the color of an LED display screen based on ambient light perception provided by the present invention includes the following steps:
[0044] Detect the light intensity of the environment around the display screen through an optical sensing sensor to obtain an analog signal of the light intensity, and convert the analog signal into a digital signal through an analog-to-digital converter, that is, obtain the light intensity value corresponding to the analog signal;
[0045] Based on the light intensity value, calculate the brightness values of the three primary colors of red, green, and blue that match the light intensity value according to a preset color adjustment strategy; adjust the color in the display screen according to the brightness values;
[0046] Re-detect the light intensity of the surrounding environment in real time according to the light intensity acquisition cycle, and make adjustments according to the new light intensity value.
[0047] The signal acquisition module of the present invention converts the ambient light intensity into a digital signal that can be processed for subsequent processing and control. The color matching module dynamically adjusts the color of the display screen according to the ambient light intensity to make it adapt to different lighting conditions; provides more accurate and real color performance, making the display content more clearly visible in different environments. The light feedback module continuously monitors the change of ambient light and adjusts the color of the display screen in a timely manner to maintain the best visual effect; automatically adjusts the display screen when the ambient light changes, provides consistent color performance, and reduces user operation and intervention.
[0048] Other features and advantages of the present invention will be described in the subsequent specification, and, in part, will be obvious from the specification, or will be understood by implementing the present invention. The objectives and other advantages of the present invention can be achieved and obtained by the structures specifically pointed out in the written specification and the drawings.
[0049] The following further describes the technical solution of the present invention in detail through the drawings and embodiments. Brief Description of the Drawings
[0050] The accompanying drawings are used to provide a further understanding of the present invention, and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention, and do not constitute a limitation to the present invention. In the accompanying drawings:
[0051] Figure 1 is a block diagram of the LED display color adjustment system based on ambient light perception in Embodiment 1 of the present invention;
[0052] Figure 2 is a block diagram of the signal acquisition module in Embodiment 2 of the present invention;
[0053] Figure 3 is a block diagram of the color matching module in Embodiment 3 of the present invention;
[0054] Figure 4 is a block diagram of the spectrum construction sub-module in Embodiment 4 of the present invention;
[0055] Figure 5 is a block diagram of the third construction unit in Embodiment 5 of the present invention;
[0056] Figure 6 is a block diagram of the numerical value acquisition sub-module in Embodiment 6 of the present invention;
[0057] Figure 7 is a block diagram of the path confirmation unit in Embodiment 7 of the present invention;
[0058] Figure 8 is a block diagram of the matching execution sub-module in Embodiment 8 of the present invention;
[0059] Figure 9 is a block diagram of the light feedback module in Embodiment 9 of the present invention;
[0060] Figure 10 is a flowchart of the method for adjusting the color of the LED display based on ambient light perception in Embodiment 10 of the present invention. Detailed Description of the Preferred Embodiments
[0061] The following is a description of the preferred embodiments of the present invention with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0062] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the embodiments of the present application. The singular forms of "a", "the" and "said" used in the embodiments of the present application are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0063] When the following description refers to the accompanying drawings, unless otherwise indicated, the same numerals in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed below. In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects and do not have to be used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific circumstances.
[0064] Example 1: As Figure 1 shown, an LED display color adjustment system based on ambient light perception provided by an embodiment of the present invention includes:
[0065] A signal acquisition module, responsible for detecting the light intensity of the environment around the display through a light perception sensor, obtaining an analog signal of the light intensity, and converting the analog signal into a digital signal through an analog-to-digital converter, that is, obtaining a light intensity value corresponding to the analog signal;
[0066] A color matching module, responsible for calculating the brightness values of the three primary colors of red, green, and blue that match the light intensity value based on the light intensity value according to a preset color adjustment strategy; adjusting the color in the display according to the brightness value;
[0067] A light illumination feedback module, responsible for re-detecting the light intensity of the surrounding environment in real time according to the light intensity acquisition period and making adjustments according to the new light intensity value.
[0068] The working principle and beneficial effects of the above technical solution are as follows: The signal acquisition module in this embodiment detects the light intensity of the environment around the display screen through a light perception sensor, obtains an analog signal of the light intensity, and converts the analog signal into a digital signal through an analog-to-digital converter, that is, obtains the light intensity value corresponding to the analog signal; the color matching module calculates the brightness values of the three primary colors of red, green, and blue that match the light intensity value according to a preset color adjustment strategy based on the light intensity value; adjusts the color in the display screen according to the brightness value; the light feedback module re-detects the light intensity of the surrounding environment in real time according to the light intensity acquisition period and makes adjustments according to the new light intensity value. The signal acquisition module of the above solution converts the ambient light intensity into a digital signal that can be processed for subsequent processing and control. The color matching module dynamically adjusts the color of the display screen according to the ambient light intensity to make it adapt to different lighting conditions; provides more accurate and realistic color performance, making the display content clearer and more visible in different environments. The light feedback module continuously monitors the change of ambient light and adjusts the color of the display screen in time to maintain the best visual effect; automatically adjusts the display screen when the ambient light changes, provides consistent color performance, and reduces user operation and intervention.
[0069] In summary, the LED display color adjustment system based on ambient light perception in this embodiment realizes dynamic adjustment of the display screen color according to the lighting conditions of different environments by collecting ambient light intensity, matching colors, and real-time feedback adjustment; can provide more accurate and realistic color performance, enhance the viewing experience, reduce user operation and intervention, and maintain a consistent visual effect. The LED display screen can realize color adjustment based on ambient light perception, making the display effect more adaptable and optimized under different lighting conditions; can provide a better visual experience, reduce eye fatigue, and ensure the clear visibility of the display content.
[0070] Embodiment 2: As Figure 2 shown, on the basis of Embodiment 1, the signal acquisition module provided by the embodiment of the present invention includes:
[0071] A status judgment sub-module, which is responsible for obtaining the functional program for the analog-to-digital converter to call the analog signal, and at the same time sending an instruction to establish normal communication with the light perception sensor, judging whether the communication status is normal. If it is normal, the analog signal collected by the light sensor is retrieved through the functional program. If it is not normal, a warning is issued;
[0072] The trigger execution sub-module is responsible for starting the light perception sensor to collect the light intensity of the environment around the display screen according to the set acquisition period, obtaining multiple analog signals of light intensity within the same acquisition period, and judging whether the color adjustment strategy can be triggered for the multiple analog signals of light intensity. When more than 70% of the multiple analog signals can trigger the color adjustment strategy, the analog signals exceeding 70% are screened out and sent to the analog-to-digital converter; otherwise, in the next acquisition period, the light perception sensor is started to collect the light intensity of the environment around the display screen.
[0073] The signal sorting sub-module is responsible for receiving the screened analog signals, sorting them from the maximum value to the minimum value according to the amplitude of the analog signals, screening out 2 / 3 of the analog signals from the sorted analog signals, and converting the analog signals into corresponding light intensity values through the analog-to-digital converter.
[0074] The working principle and beneficial effects of the above technical solution are as follows: The state judgment sub-module of this embodiment obtains the functional program for the analog-to-digital converter to call analog signals, and at the same time issues an instruction to establish normal communication with the light perception sensor, and judges whether the communication state is normal. If it is normal, the analog signals collected by the light sensor are retrieved through the functional program. If it is not normal, a warning is issued; the trigger execution sub-module starts the light perception sensor to collect the light intensity of the environment around the display screen according to the set acquisition period, obtains multiple analog signals of light intensity within the same acquisition period, and judges whether the color adjustment strategy can be triggered for the multiple analog signals of light intensity. When more than 70% of the multiple analog signals can trigger the color adjustment strategy, the analog signals exceeding 70% are screened out and sent to the analog-to-digital converter; otherwise, in the next acquisition period, the light perception sensor is started to collect the light intensity of the environment around the display screen; the signal sorting sub-module receives the screened analog signals, sorts them from the maximum value to the minimum value according to the amplitude of the analog signals, screens out 2 / 3 of the analog signals from the sorted analog signals, and converts the analog signals into corresponding light intensity values through the analog-to-digital converter. The state judgment sub-module of the above solution ensures the normal communication between the light perception sensor and the analog-to-digital converter by judging the communication state, so as to ensure the accuracy and reliability of subsequent acquisition and processing. The trigger execution sub-module decides whether to adopt the color adjustment strategy by judging the trigger conditions in multiple analog signals; judges whether color adjustment is required according to multiple analog signals of light intensity within the acquisition period; through the processing of the trigger execution sub-module, it can flexibly decide whether to perform color adjustment according to the actual environmental light conditions, providing more accurate and adaptable color performance. The signal sorting sub-module converts the analog signals into corresponding light intensity values through the analog-to-digital converter; sorts and converts the screened analog signals to obtain the corresponding light intensity values; through the processing of the signal sorting sub-module, the light intensity can be sorted and organized, providing more orderly and accurate data for subsequent color adjustment, and improving the accuracy and stability of color adjustment.
[0075] In summary, the specific processing of the status judgment sub-module, trigger execution sub-module, and signal sorting sub-module in the signal acquisition module of this embodiment can provide accurate, reliable, and ordered light intensity values by judging the communication status, triggering acquisition and screening, and sorting and converting analog signals, providing basic data for subsequent color adjustment to achieve more accurate and vivid color performance.
[0076] Embodiment 3: As Figure 3 shown, based on Embodiment 1, the color matching module provided by the embodiment of the present invention includes:
[0077] A knowledge graph construction sub-module, responsible for constructing a knowledge graph of light intensity values and basic color values. The knowledge graph uses a loss function to train the parameters of the loss function terms, and completes the path mining in the constructed knowledge graph, thereby completing the alignment task of light intensity values and basic color values;
[0078] A numerical value acquisition sub-module, responsible for acquiring light intensity values and inputting them into the color adjustment strategy. Through the path mining of the constructed knowledge graph, the brightness value aligned with the light intensity value is found;
[0079] A matching execution sub-module, responsible for replacing the basic color numerical values in the brightness value with the basic color numerical values in the original brightness value to obtain a display screen matching image corresponding to the brightness value.
[0080] The working principle and beneficial effects of the above technical solutions are as follows: The knowledge graph construction sub-module of this embodiment constructs a knowledge graph of light intensity values and basic color values. The knowledge graph uses a loss function to train the parameters of the loss function terms, and completes the path mining in the constructed knowledge graph, thereby completing the alignment task of light intensity values and basic color values; the numerical value acquisition sub-module acquires light intensity values and inputs them into the color adjustment strategy. Through the path mining of the constructed knowledge graph, the brightness value aligned with the light intensity value is found; the matching execution sub-module replaces the basic color numerical values in the brightness value with the basic color numerical values in the original brightness value to obtain a display screen matching image corresponding to the brightness value. The knowledge graph construction sub-module of the above solution can establish an alignment relationship between light intensity values and basic color values by constructing a knowledge graph, and can provide accurate path mining, providing a basis for subsequent color adjustment, thereby achieving more precise and accurate color matching. The numerical value acquisition sub-module accurately finds the corresponding brightness value according to the real-time acquired light intensity value, providing an accurate brightness value for subsequent color adjustment, thereby achieving precise color matching and adjustment. The matching execution sub-module realizes an image matching the display screen according to the replacement of the basic color numerical values in the brightness value; according to the preset color adjustment strategy, adjusts the brightness of the colors in the display screen to achieve the required color effect, and provides a more accurate and vivid visual performance.
[0081] In summary, the specific processing of the knowledge graph construction sub-module, the numerical value acquisition sub-module, and the matching execution sub-module in the color matching module can achieve the alignment and matching of the light intensity value and the basic color value through knowledge graph construction, path mining, and numerical substitution, so as to provide an accurate brightness value and a matching image for color adjustment, and achieve a more accurate and realistic color performance.
[0082] Embodiment 4: As Figure 4 shown, on the basis of Embodiment 3, the knowledge graph construction sub-module of the embodiment of the present invention includes:
[0083] The first construction unit is responsible for mapping the light intensity value and the basic color value in the knowledge graph to the vector space, obtaining the light intensity value and the basic color value, obtaining the corresponding vector of the intermediate relationship between the light intensity value and the basic color value, and constructing the first loss function term of the internal structure information of the knowledge graph;
[0084] The second construction unit is responsible for using the linear mapping function to obtain the loss function term corresponding to the aligned light intensity value in the knowledge graph; by calculating the distance between the known aligned relationships between the light intensity values and the basic color values of the two knowledge graphs, measuring the alignment degree of the two knowledge graphs, and calculating the second loss function term corresponding to the aligned light intensity value in the knowledge graph;
[0085] The third construction unit is responsible for obtaining the third loss function term of the internal relationship of the corresponding knowledge graph with the aligned nodes and intermediate relationships; combining the first loss function term, the second loss function term, and the third loss function term to obtain the overall loss function of the knowledge graph.
[0086] The working principle and beneficial effects of the above technical solution are as follows: The first construction unit in this embodiment maps the light intensity values and basic color values in the knowledge graph to a vector space, obtains the light intensity values and basic color values, and gets the corresponding vectors of the intermediate relationship between the light intensity values and the basic color values, and constructs the first loss function term of the internal structure information of the knowledge graph; The second construction unit uses a linear mapping function to obtain the loss function term corresponding to the aligned light intensity values in the knowledge graph; By calculating the distance between the known aligned relationships of the light intensity values and the basic color values in the two knowledge graphs, the alignment degree of the two knowledge graphs is measured, and the second loss function term corresponding to the aligned light intensity values in the knowledge graph is calculated; The third construction unit uses the aligned nodes and intermediate relationships to obtain the third loss function term of the corresponding internal relationship of the knowledge graph; Combining the first loss function term, the second loss function term, and the third loss function term, the overall loss function of the knowledge graph is obtained. The first construction unit of the above solution can calculate and compare them in the vector space by mapping the light intensity values and basic color values to the vector space; Obtain the internal relationship between the light intensity value and the basic color value, providing a basis for subsequent graph construction. The second construction unit can obtain the loss function term corresponding to the aligned light intensity values in the knowledge graph through a linear mapping function; By calculating the distance, the alignment degree between the two knowledge graphs can be measured, thereby evaluating the accuracy and consistency of the graph. The third construction unit can comprehensively consider the accuracy and consistency of the aligned nodes and intermediate relationships by obtaining the loss function term of the corresponding internal relationship of the knowledge graph; Combining the first, second, and third loss function terms can obtain a more comprehensive and accurate knowledge graph loss function, providing guidance for subsequent training and optimization.
[0087] Among them, the first loss function term: The first loss function term is obtained by mapping the light intensity values and basic color values in the knowledge graph to a vector space, obtaining their corresponding vectors, and calculating the differences between these vectors. Specifically, the first loss function term measures the alignment degree of the intermediate relationship between the light intensity values and the basic color values in the knowledge graph. The second loss function term: The second loss function term is obtained by using a linear mapping function to map the aligned light intensity values in the knowledge graph to the target knowledge graph and calculating the distance between the known aligned light intensity values in the two knowledge graphs. The second loss function term measures the alignment degree of the two knowledge graphs in terms of light intensity values. The third loss function term: The third loss function term is obtained by aligning nodes and intermediate relationships, obtaining the corresponding internal relationships of the knowledge graph, and calculating the differences between these relationships. The third loss function term measures the alignment degree between nodes and the consistency of relationships in the knowledge graph. These three loss function terms respectively measure the alignment degree and consistency of different aspects in the knowledge graph. By combining these loss function terms, the overall loss function of the knowledge graph can be obtained.
[0088] In summary, the first, second, and third construction units in the graph construction sub-module of this embodiment are respectively responsible for mapping light intensity values and basic color values to a vector space, obtaining the loss function terms corresponding to the aligned light intensity values, and obtaining the loss function terms of the corresponding internal relationships of the knowledge graph; through the cooperation of these units, an accurate and consistent knowledge graph can be constructed and provide guidance for subsequent training and optimization, so as to achieve the alignment task of light intensity values and basic color values.
[0089] Embodiment 5: As Figure 5 shown, based on Embodiment 4, the third construction unit provided by the embodiment of the present invention includes:
[0090] A coefficient definition subunit, which is responsible for defining the weight coefficient of each loss function term. The larger the weight coefficient, the higher the importance of the corresponding loss function term; for each loss function term, calculate the corresponding loss value; the loss value is obtained through the output or intermediate results of each construction unit;
[0091] A weighted summation subunit, which is responsible for multiplying the loss value of each loss function term by its corresponding weight coefficient to obtain the weighted loss term value;
[0092] A term value addition subunit, which is responsible for adding the weighted loss term values to obtain the overall loss function, and the overall loss function reflects the comprehensive influence of each loss function term.
[0093] The working principle and beneficial effects of the above technical solution are as follows: The coefficient definition subunit in this embodiment defines the weight coefficient of each loss function term. The larger the weight coefficient, the higher the importance of the corresponding loss function term. For each loss function term, the corresponding loss value is calculated. The loss value is obtained through the output or intermediate result of each construction unit. The weighted summation subunit multiplies the loss value of each loss function term by its corresponding weight coefficient to obtain the weighted loss term value. The term value summation subunit adds up the weighted loss term values to obtain the overall loss function, and the overall loss function reflects the comprehensive influence of each loss function term. The coefficient definition subunit of the above solution can flexibly adjust the importance of different loss function terms by defining the weight coefficient, so as to more accurately reflect the relative importance of each loss function term in the overall loss function. It can better guide the training and optimization process of the model according to the requirements of the problem and the optimization goal. The calculation loss value subunit can obtain the specific value of each loss function term in the current model by calculating the loss value, and the loss value can be used for subsequent weighted summation and calculation of the overall loss function. The weighted summation subunit can adjust the importance of each loss function term according to the weight coefficient through weighted summation, further synthesize the contributions of each loss function term, and obtain a comprehensive loss function term. It can more accurately reflect the influence degree of each loss function term on the model and guide the training and optimization of the model. The term value summation subunit can sum up the weighted loss term values into an overall loss function through term value summation. This function can comprehensively consider the contributions of each loss function term and provide a unified objective function for the training and optimization of the model.
[0094] Embodiment 6: As Figure 6 shown, on the basis of Embodiment 3, the numerical value acquisition sub-module provided by the embodiment of the present invention includes:
[0095] The path confirmation unit is responsible for determining the starting point and ending point of path mining. The starting point is the light intensity numerical value node, and the ending point is the brightness value node. It starts from the starting point using depth-first search and explores the path according to the search strategy. In each step, the next node to be explored is selected according to the current node and the traversed path.
[0096] The search execution unit is responsible for judging whether the ending point has been reached during the search process. If the current node is the brightness value node, a path from the light intensity value to the brightness value is found. Record the traversed path and store the path information using a list. If there are still unexplored nodes, continue to search according to the search strategy until all paths are found or the termination condition is reached.
[0097] The result output unit is responsible for outputting the found path as the result after the search ends. The path describes the alignment relationship between the light intensity value and the brightness value.
[0098] The working principle and beneficial effects of the above technical solution are as follows: The path confirmation unit in this embodiment determines the starting point and ending point of path mining. The starting point is the light intensity value node, and the ending point is the brightness value node. Depth-first search is used to start from the starting point and explore the path according to the search strategy. In each step, the next node to be explored is selected based on the current node and the traversed path. During the search process, the search execution unit determines whether the ending point has been reached. If the current node is the brightness value node, a path from the light intensity value to the brightness value is found. Record the traversed path and store the path information using a list. If there are still unexplored nodes, continue the search according to the search strategy until all paths are found or the termination condition is reached. When the search ends, the result output unit outputs the found path as the result. The path describes the alignment relationship between the light intensity value and the brightness value. The path confirmation unit of the above solution ensures that path mining starts from the correct starting point and ends at the correct ending point, and selects an appropriate search strategy according to the problem requirements to ensure the accuracy and efficiency of path mining. The search execution unit monitors the progress of path mining in real time during the search process, ensures that the paths reaching the ending point are discovered and recorded in a timely manner, and continues to explore according to the specified search strategy to ensure the comprehensiveness and efficiency of the search. The result output unit provides the final path result, associates the light intensity value with the corresponding brightness value, provides accurate matching information for the subsequent color matching task, and ensures the reliability and practicality of the matching result.
[0099] In summary, each unit of this embodiment is to ensure that the entire numerical acquisition sub-module can successfully complete the alignment task between the light intensity value and the basic color value. By accurately determining the path, effectively executing the search, and accurately outputting the result, this sub-module can provide the corresponding relationship between the light intensity and the color for the color matching module, thereby achieving the goal of color matching. Through the above process, path mining can be performed from the knowledge graph to find the brightness value aligned with the light intensity value. Path mining can be adjusted and optimized according to specific search strategies and problem requirements to obtain more accurate path results.
[0100] Embodiment 7: As Figure 7 shown, based on Embodiment 6, the path confirmation unit provided by the embodiment of the present invention includes:
[0101] The node marking sub-unit is responsible for starting from the light intensity value node and marking it as visited;
[0102] The node selection sub-unit is responsible for selecting an adjacent unvisited node as the next node to be explored. If there are unvisited adjacent nodes, go to that node and mark it as visited, and then recursively perform depth-first search. If all adjacent nodes have been visited, backtrack to the previous node and continue to select the next unvisited node for exploration;
[0103] The node traversal subunit is responsible for repeatedly visiting unvisited nodes until a luminance value node is found or all possible paths are traversed.
[0104] The working principle and beneficial effects of the above technical solution are as follows: The node marking subunit of this embodiment starts from the light intensity numerical node and marks it as visited; the node selection subunit selects an adjacent unvisited node as the next node to explore; if there are unvisited adjacent nodes, go to that node and mark it as visited, and then recursively perform a depth-first search; if all adjacent nodes have been visited, backtrack to the previous node and continue to select the next unvisited node for exploration; the node traversal subunit repeatedly visits unvisited nodes until a luminance value node is found or all possible paths are traversed. The node marking subunit of the above solution ensures that each node is only visited once, avoiding repeated exploration, and at the same time records the nodes that have been visited for judgment and backtracking during the subsequent search process. The node selection subunit selects appropriate nodes to continue the exploration according to the depth-first search strategy, ensuring the comprehensiveness and depth of path mining; at the same time, marks the visited nodes to avoid repeated visits. The node traversal subunit ensures the comprehensiveness of the search by continuously traversing the nodes, ensuring that a luminance value node aligned with the light intensity value is found; during the traversal process, judgments and backtracking are performed to find all possible paths.
[0105] In summary, the technical effects and significance of these subunits in this embodiment are to ensure that the path confirmation unit can perform path exploration according to the depth-first search strategy and find a luminance value node aligned with the light intensity value; through the combination of node marking, node selection, and node traversal, the accuracy and efficiency of the search can be ensured, providing accurate path information for the subsequent result output unit.
[0106] Embodiment 8: As Figure 8 shown, on the basis of Embodiment 3, the matching execution sub-module provided by the embodiment of the present invention includes:
[0107] The matching execution unit is responsible for obtaining the corresponding basic color value according to the luminance value aligned with the light intensity value found by path mining;
[0108] The numerical value removal unit is responsible for, for each basic color, traversing each pixel of the luminance value and removing its value from the luminance value and replacing it with the value of the matched basic color according to the matched color value;
[0109] The image generation unit is responsible for obtaining the display screen matching image corresponding to the matched brightness value after completing the replacement operation. The display screen matching image retains the structure of the original brightness value, but the color information has been adjusted according to the results of path mining to achieve the goal of color matching.
[0110] The working principle and beneficial effects of the above technical solution are as follows: The matching execution unit of this embodiment can align the light intensity value with the basic color value, providing accurate matching information for subsequent value removal and image generation. The value removal unit applies the value of the matched basic color to the brightness value to achieve color matching. Through the removal and replacement operations, the color information in the brightness value can be updated to correspond to the matched basic color value. The image generation unit obtains the final display screen matching image, which can show the basic color value aligned with the light intensity value; this is crucial for the color matching task because it can ensure that the colors on the display screen match the input light intensity values and provide accurate color display.
[0111] In summary, through the combination of the matching execution unit, value removal unit, and image generation unit in this embodiment, the goal of replacing the value of the basic color in the brightness value with the value of the basic color in the original brightness value can be achieved; a visual matching image will be provided to display the accurate color information aligned with the light intensity value, providing accurate results for color matching and display tasks.
[0112] Embodiment 9: As Figure 9 shown, based on Embodiment 1, the light feedback module provided by the embodiment of the present invention includes:
[0113] The period confirmation sub-module is responsible for obtaining the previous acquisition period and simultaneously obtaining the next acquisition period. When the next acquisition period arrives, it starts the light perception sensor to collect the light intensity of the environment around the display screen.
[0114] The intensity comparison sub-module is responsible for comparing the new light intensity with the light intensity of the previous acquisition period. When the comparison result exceeds the acquisition threshold, it starts the processing program of the analog signal of the light intensity; otherwise, it continues to wait for the arrival of the next acquisition period.
[0115] The adjustment execution sub-module is responsible for starting the processing program of the analog signal of the light intensity to process the analog signal; and performing color adjustment of the display screen according to the processing result.
[0116] The working principle and beneficial effects of the above technical solution are as follows: The cycle confirmation sub-module of this embodiment obtains the previous acquisition cycle and simultaneously obtains the next acquisition cycle. When the next acquisition cycle arrives, it activates the light perception sensor to collect the light intensity of the environment around the display screen; the intensity comparison sub-module compares the new light intensity with the light intensity of the previous acquisition cycle. When the comparison result exceeds the acquisition threshold, it activates the processing program of the analog signal of the light intensity; otherwise, it continues to wait for the arrival of the next acquisition cycle; the adjustment execution sub-module activates the processing program of the analog signal of the light intensity to process the analog signal; and performs color adjustment of the display screen according to the processing result. The cycle confirmation sub-module of the above solution ensures that the acquisition of light intensity is carried out according to a preset cycle to maintain the accuracy and stability of light intensity detection. The intensity comparison sub-module is used to judge the change of ambient light intensity. If the change exceeds the threshold, it activates the processing program of the analog signal of the light intensity to perform light adjustment; otherwise, it continues to wait for the arrival of the next acquisition cycle to avoid frequent adjustment operations. The adjustment execution sub-module performs actual color adjustment operations according to the change of light intensity. By processing the analog signal of the light intensity, it adjusts the brightness and color of the display screen to make it match the ambient light and provide the best visual effect.
[0117] In summary, through the combination of the cycle confirmation sub-module, the intensity comparison sub-module and the adjustment execution sub-module in this embodiment, the light feedback module can obtain the change of ambient light intensity in real time and perform corresponding color adjustment according to the change; it can ensure that the LED display screen always presents colors that match the ambient light intensity around it, providing a better visual experience. At the same time, through a reasonable adjustment strategy, it can also save energy and extend the service life of the display screen. Through the above, it can re-detect the light intensity of the surrounding environment in real time and make adjustments according to the new light intensity value; it can make the colors of the LED display screen always match the ambient light and provide the best visual effect.
[0118] Embodiment 10: As Figure 10 shown, on the basis of Embodiments 1 - 9, the method for adjusting the color of an LED display screen based on ambient light perception provided by an embodiment of the present invention includes the following steps:
[0119] S100: Detect the light intensity of the environment around the display screen through a light perception sensor to obtain an analog signal of the light intensity, and convert the analog signal into a digital signal through an analog-to-digital converter, that is, obtain the light intensity value corresponding to the analog signal;
[0120] S200: Based on the light intensity value, calculate the brightness values of the three primary colors of red, green, and blue that match the light intensity value according to a preset color adjustment strategy; adjust the colors in the display screen according to the brightness values;
[0121] S300: Re-detect the ambient light intensity in real time according to the light intensity acquisition period, and make adjustments based on the new light intensity value.
[0122] The working principle and beneficial effects of the above technical solution are as follows: In this embodiment, first, the light intensity of the environment around the display screen is detected by the light perception sensor to obtain an analog signal of the light intensity, and the analog signal is converted into a digital signal through an analog-to-digital converter, that is, the light intensity value corresponding to the analog signal is obtained; secondly, based on the light intensity value, according to the preset color adjustment strategy, the brightness values of the three primary colors of red, green, and blue that match the light intensity value are calculated; the color in the display screen is adjusted according to the brightness value; finally, according to the light intensity acquisition period, the ambient light intensity is re-detected in real time, and adjustments are made based on the new light intensity value. Step S100 of the above solution obtains the light intensity information of the environment, providing basic data for subsequent color adjustment; by obtaining accurate light intensity values, reasonable color adjustment can be performed according to the ambient light conditions, providing a better visual effect. Step S200 performs color matching and adjustment according to the light intensity value, making the color of the display screen match the ambient light; by accurately calculating and adjusting the brightness value, accurate color presentation can be achieved, providing a more real, vivid, and comfortable visual experience. Step S300 adjusts the color of the display screen in real time according to the change of the ambient light. By periodically re-detecting the light intensity and making timely adjustments, it can ensure that the color of the display screen remains matched with the change of the ambient light, providing the best visual effect and comfort.
[0123] In summary, through the combination of the above steps, the LED display screen color adjustment method based on ambient light perception can adjust the color of the display screen in real time according to the change of the ambient light, making it match the surrounding environment. This can provide a more accurate, real, and comfortable color display, enhancing the user's visual experience. At the same time, through reasonable color adjustment, energy can be saved and the service life of the display screen can be extended.
[0124] Embodiment 11: On the basis of Embodiment 10, the process of obtaining the light intensity value provided by the embodiment of the present invention includes the following steps:
[0125] S101: Obtain the functional program for the analog-to-digital converter to call the analog signal, and at the same time issue an instruction to establish normal communication with the light perception sensor, determine whether the communication status is normal. If it is normal, call the analog signal collected by the light sensor through the functional program. If it is not normal, issue a warning.
[0126] S102: According to the set acquisition period, start the light perception sensor to collect the light intensity of the environment around the display screen, obtain multiple analog signals of light intensity within the same acquisition period, and judge whether the color adjustment strategy can be triggered for the multiple analog signals of light intensity. When more than 70% of the multiple analog signals can trigger the color adjustment strategy, screen out the analog signals exceeding 70% and send them to the analog-to-digital converter; otherwise, in the next acquisition period, start the light perception sensor to collect the light intensity of the environment around the display screen;
[0127] S103: Receive the screened analog signals, sort them from the maximum value to the minimum value according to the amplitude of the analog signals, screen out 2 / 3 of the analog signals from the sorted analog signals, and convert the analog signals into corresponding light intensity values through the analog-to-digital converter.
[0128] The working principle and beneficial effects of the above technical solution are as follows: In this embodiment, first, obtain the functional program for the analog-to-digital converter to call analog signals, and at the same time issue an instruction to establish normal communication with the light perception sensor, and judge whether the communication status is normal. If it is normal, call the analog signals collected by the light sensor through the functional program. If it is not normal, issue a warning. Secondly, according to the set acquisition period, start the light perception sensor to collect the light intensity of the environment around the display screen, obtain multiple analog signals of light intensity within the same acquisition period, and judge whether the color adjustment strategy can be triggered for the multiple analog signals of light intensity. When more than 70% of the multiple analog signals can trigger the color adjustment strategy, screen out the analog signals exceeding 70% and send them to the analog-to-digital converter; otherwise, in the next acquisition period, start the light perception sensor to collect the light intensity of the environment around the display screen. Finally, receive the screened analog signals, sort them from the maximum value to the minimum value according to the amplitude of the analog signals, screen out 2 / 3 of the analog signals from the sorted analog signals, and convert the analog signals into corresponding light intensity values through the analog-to-digital converter. Step S101 of the above solution ensures normal communication with the light perception sensor to obtain correct analog signals; if the communication status is not normal, issuing a warning can remind the system operation and maintenance personnel to perform repairs and adjustments to ensure the accurate acquisition of light intensity values. Step S102 obtains multiple analog signals of light intensity and judges whether color adjustment is required; by judging the number of analog signals that can trigger the color adjustment strategy, it can be determined whether color adjustment is required, avoiding frequent adjustment operations and improving the efficiency and stability of the system. Step S103 converts the screened analog signals into light intensity values; by sorting and screening the analog signals, relatively accurate light intensity values can be obtained and provided for subsequent color adjustment operations to ensure the accuracy and stability of color adjustment.
[0129] In summary, through the combination of the above steps in this embodiment, the accurate acquisition of the light intensity value can be ensured. The accurate light intensity value can be used for color calculation and adjustment based on a preset color adjustment strategy, making the color of the display screen match the surrounding environment; it can provide a more realistic, comfortable, and high-quality visual experience, and through reasonable color adjustment, energy can also be saved and the service life of the display screen can be extended.
[0130] Embodiment 12: On the basis of Embodiment 10, the process of adjusting the color in the display screen provided by the embodiment of the present invention includes the following steps:
[0131] S201: Construct a knowledge graph of light intensity values and basic color values. The knowledge graph uses a loss function to train the parameters of the loss function terms, and completes the path mining in the knowledge graph, thereby completing the alignment task of light intensity values and basic color values;
[0132] S202: Obtain the light intensity value and input it into the color adjustment strategy. Through the path mining of the constructed knowledge graph, find the brightness value aligned with the light intensity value;
[0133] S203: Replace the basic color value in the brightness value with the basic color value in the original brightness value to obtain a display screen matching image corresponding to the brightness value.
[0134] The working principle and beneficial effects of the above technical solution are as follows: In this embodiment, first, a knowledge graph of light intensity values and basic color values is constructed. The knowledge graph uses a loss function to train the parameters of the loss function terms, and completes the path mining in the knowledge graph, thereby completing the alignment task of light intensity values and basic color values; secondly, the light intensity value is obtained and input into the color adjustment strategy. Through the path mining of the constructed knowledge graph, find the brightness value aligned with the light intensity value; finally, replace the basic color value in the brightness value with the basic color value in the original brightness value to obtain a display screen matching image corresponding to the brightness value. Step S201 of the above solution establishes the corresponding relationship between the light intensity value and the basic color value, enabling the system to accurately infer the corresponding basic color value according to the light intensity value; by training the parameters of the loss function terms and path mining, the matching accuracy and accuracy of the light intensity value and the basic color value can be improved. Step S202 finds the corresponding brightness value according to the light intensity value; through path mining, the system can accurately infer the brightness value matching the light intensity value, providing accurate basic data for subsequent color adjustment. Step S203 adjusts the color in the display screen according to the basic color value in the brightness value to make it match the display screen matching image corresponding to the brightness value; by replacing the basic color value in the brightness value, accurate color adjustment can be achieved, making the color of the display screen match the ambient light intensity and providing a more realistic, vivid, and comfortable visual experience.
[0135] In summary, through the combination of the above steps in this embodiment, accurate adjustment of the color in the display screen can be achieved; by constructing and training a knowledge graph, the corresponding relationship between the light intensity value and the basic color value can be established; by path mining, the brightness value aligned with the light intensity value can be found; by color adjustment, the color of the display screen can be adjusted according to the brightness value to match the ambient light intensity; a more accurate, real, and comfortable color display can be provided, enhancing the user's visual experience. At the same time, through reasonable color adjustment, energy can be saved and the service life of the display screen can be extended.
[0136] Embodiment 13: On the basis of Embodiment 10, the process of the present invention embodiment for re-detecting the light intensity of the surrounding environment in real time includes the following steps:
[0137] S301: Obtain the previous acquisition period, and at the same time obtain the next acquisition period. When the next acquisition period arrives, start the light perception sensor to collect the light intensity of the environment around the display screen;
[0138] S302: Compare the new light intensity with the light intensity of the previous acquisition period. When the comparison result exceeds the acquisition threshold, start the processing program for the analog signal of the light intensity; otherwise, continue to wait for the arrival of the next acquisition period;
[0139] S303: Start the processing program for the analog signal of the light intensity to process the analog signal; and perform color adjustment of the display screen according to the processing result.
[0140] The working principle and beneficial effects of the above technical solution are as follows: In this embodiment, the previous acquisition cycle is first obtained, and at the same time, the next acquisition cycle is obtained. When the next acquisition cycle arrives, the light perception sensor is activated to collect the light intensity of the environment around the display screen. Secondly, the new light intensity is compared with the light intensity of the previous acquisition cycle. When the comparison result exceeds the acquisition threshold, the processing program of the analog signal of the light intensity is activated; otherwise, continue to wait for the arrival of the next acquisition cycle. Finally, the processing program of the analog signal of the light intensity is activated to process the analog signal; and the color of the display screen is adjusted according to the processing result. Step S301 of the above solution ensures that the acquisition of the light intensity is carried out according to the preset cycle to maintain the accuracy and stability of the light intensity detection; by starting the acquisition operation on time, the timeliness and reliability of the ambient light intensity data are ensured. Step S302 of the light intensity comparison and threshold judgment is used to detect the change of the ambient light intensity; when the change of the light intensity exceeds the preset threshold, the processing program of the analog signal of the light intensity is activated to perform the corresponding color adjustment to keep the visual effect of the display screen stable. Step S303 of the light intensity analog signal processing and color adjustment is used to adjust the color of the display screen in real time according to the change of the light intensity to maintain its matching degree with the surrounding environment; by processing the analog signal and adjusting the color, the best visual effect and comfort are provided.
[0141] In summary, through the combination of the above steps in this embodiment, the real-time detection and adjustment of the ambient light intensity are realized, thereby ensuring the accuracy and stability of the display screen color and improving the user's visual experience. At the same time, the reasonable adjustment strategy also helps to save energy and extend the service life of the display screen.
[0142] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the equivalent technology of the present invention, the present invention also intends to include these changes and modifications.
Claims
1. A LED display screen color adjustment system based on ambient light perception, characterized in that: Include: The signal acquisition module is responsible for detecting the light intensity of the environment around the display screen through the light sensing sensor, obtaining an analog signal of the light intensity, and converting the analog signal into a digital signal through an analog-to-digital converter, that is, obtaining the light intensity value corresponding to the analog signal; The color matching module is responsible for calculating the brightness values of the three basic colors of red, green and blue that match the light intensity value based on the light intensity value and according to the preset color adjustment strategy; Adjust the color on the display screen according to the brightness value; The light feedback module is responsible for re-detecting the light intensity of the surrounding environment in real time according to the light intensity collection cycle, and making adjustments based on the new light intensity value; Color matching module, including: The graph construction submodule is responsible for constructing the knowledge graph of light intensity values and basic color values. The knowledge graph uses the loss function to train the loss function item parameters and complete the path mining in the knowledge graph, thereby completing the alignment task of light intensity values and basic color values. The value acquisition submodule is responsible for obtaining the light intensity value, inputting it into the color adjustment strategy, and finding the brightness value that aligns with the light intensity value through path mining of the constructed knowledge graph; The matching execution submodule is responsible for replacing the basic color values in the original brightness value with the basic color values in the brightness value to obtain a display screen matching image corresponding to the brightness value; The value acquisition submodule includes: The path confirmation unit is responsible for determining the starting point and end point of path mining. The starting point is the light intensity value node, and the end point is the brightness value node. The depth-first search starts from the starting point and the path exploration is carried out according to the search strategy. In each step, the next node to be explored is selected according to the current node and the traversed path. The search execution unit is responsible for determining whether the end point has been reached during the search process. If the current node is a brightness value node, a path from the light intensity value to the brightness value is found; the traversed paths are recorded and the path information is stored in a list; if there are still unexplored nodes, the search continues according to the search strategy until all paths are found or the termination condition is reached.
2. The LED display screen color adjustment system based on ambient light perception according to claim 1, characterized in that: Signal acquisition module, including: The state judgment submodule is responsible for obtaining the function program of the analog-to-digital converter to call the analog signal, and at the same time issuing instructions to establish normal communication with the light sensing sensor to determine whether the communication status is normal. If normal, the analog signal collected by the light sensor is called through the function program. If abnormal, a warning is issued; The trigger execution submodule is responsible for starting the light sensing sensor to collect the light intensity of the environment around the display screen according to the set collection cycle, obtaining multiple light intensity analog signals in the same collection cycle, and judging whether the multiple light intensity analog signals can trigger the color adjustment strategy. When more than 70% of the multiple analog signals can trigger the color adjustment strategy, the analog signals exceeding 70% are screened out and sent to the analog-to-digital converter; Otherwise, in the next collection cycle, the light sensing sensor is started to collect the light intensity of the environment around the display screen; The signal sorting submodule is responsible for receiving the filtered analog signals, sorting them from the maximum to the minimum according to their amplitudes, screening out 2 / 3 of the analog signals from the sorted analog signals, and converting the analog signals into corresponding light intensity values through an analog-to-digital converter.
3. The LED display screen color adjustment system based on ambient light perception as claimed in claim 1, characterized in that: The graph construction submodule includes: The first construction unit is responsible for mapping the light intensity values and basic color values in the knowledge graph to the vector space, obtaining the light intensity values and the basic color values, obtaining the corresponding vector of the intermediate relationship between the light intensity values and the basic color values, and constructing the first loss function term of the intrinsic structural information of the knowledge graph; The second construction unit is responsible for obtaining the loss function item corresponding to the aligned light intensity value in the knowledge graph by using the linear mapping function; the alignment degree of the two knowledge graphs is measured by calculating the distance between the light intensity values of the two knowledge graphs and the known alignment relationship in the basic color values, and the second loss function item corresponding to the aligned light intensity value in the knowledge graph is calculated; The third construction unit is responsible for obtaining the third loss function term of the corresponding knowledge graph internal relationship by aligning nodes and intermediate relationships; combining the first loss function term, the second loss function term and the third loss function term to obtain the overall loss function of the knowledge graph.
4. The LED display screen color adjustment system based on ambient light perception as claimed in claim 3, characterized in that: The third building block comprises: The coefficient definition subunit is responsible for defining the weight coefficient of each loss function item. The larger the weight coefficient, the higher the importance of the corresponding loss function item. For each loss function item, the corresponding loss value is calculated. The loss value is obtained through the output or intermediate results of each construction unit. The weighted summation subunit is responsible for multiplying the loss value of each loss function item by its corresponding weight coefficient to obtain the weighted loss item value; The item value addition subunit is responsible for adding the weighted loss item values to obtain the overall loss function, which reflects the comprehensive impact of each loss function item.
5. The LED display screen color adjustment system based on ambient light perception according to claim 1, characterized in that: The value acquisition submodule includes: The result output unit is responsible for outputting the found path as the result after the search is completed. The path describes the alignment relationship between the light intensity value and the brightness value.
6. The LED display screen color adjustment system based on ambient light perception as claimed in claim 5, characterized in that: Path confirmation unit, including: The node marking subunit is responsible for marking the light intensity value node as visited; The node selection subunit is responsible for selecting an adjacent unvisited node as the next node to be explored; if there is an unvisited adjacent node, it goes to that node and marks it as visited, and then recursively performs a depth-first search; if all adjacent nodes have been visited, it backtracks to the previous node and continues to select the next unvisited node for exploration; The node traversal subunit is responsible for repeatedly visiting unvisited nodes until the brightness value node is found or all possible paths are traversed.
7. The LED display screen color adjustment system based on ambient light perception according to claim 1, characterized in that: Match execution submodule, including: The matching execution unit is responsible for obtaining the corresponding basic color value based on the brightness value aligned with the light intensity value found by path mining; The value removal unit is responsible for traversing each pixel of the brightness value for each basic color, and according to the matching color value, removing its value from the brightness value and replacing it with the matching basic color value; The image generation unit is responsible for obtaining a display screen matching image corresponding to the matched brightness value after completing the replacement operation; the display screen matching image retains the structure of the original brightness value, but the color information has been adjusted according to the results of path mining to achieve the goal of color matching.
8. The LED display screen color adjustment system based on ambient light perception as claimed in claim 1, characterized in that: Lighting feedback module, including: The cycle confirmation submodule is responsible for obtaining the previous collection cycle and the next collection cycle at the same time. When the next collection cycle arrives, the light sensing sensor is started to collect the light intensity of the environment around the display screen. The intensity comparison submodule is responsible for comparing the new light intensity with the light intensity of the previous acquisition cycle. When the comparison result exceeds the acquisition threshold, the light intensity analog signal processing program is started; Otherwise, continue to wait for the arrival of the next collection cycle; The regulation execution submodule is responsible for starting the processing program of the analog signal of the light intensity and processing the analog signal; And adjust the color of the display screen according to the processing results.
9. A method for adjusting the color of an LED display screen based on ambient light perception, characterized in that: The following steps are involved: The light intensity of the environment around the display screen is detected by a light sensing sensor to obtain an analog signal of the light intensity, and the analog signal is converted into a digital signal by an analog-to-digital converter, that is, a light intensity value corresponding to the analog signal is obtained; Based on the light intensity value, according to the preset color adjustment strategy, the brightness values of the three basic colors of red, green and blue that match the light intensity value are calculated; and the color in the display screen is adjusted according to the brightness value; According to the light intensity collection cycle, the light intensity of the surrounding environment is re-detected in real time, and adjustments are made according to the new light intensity value; The process of adjusting the color on the display includes: The graph construction submodule is responsible for constructing a knowledge graph of light intensity values and basic color values. The knowledge graph uses the loss function to train the parameters of the loss function term and complete the path mining in the knowledge graph, thereby completing the alignment task of light intensity values and basic color values. The value acquisition submodule is responsible for obtaining the light intensity value, inputting it into the color adjustment strategy, and finding the brightness value that aligns with the light intensity value through path mining of the constructed knowledge graph; The matching execution submodule is responsible for replacing the basic color values in the original brightness value with the basic color values in the brightness value to obtain a display screen matching image corresponding to the brightness value; The path confirmation unit is responsible for determining the starting point and end point of path mining. The starting point is the light intensity value node, and the end point is the brightness value node. The depth-first search starts from the starting point and the path exploration is carried out according to the search strategy. In each step, the next node to be explored is selected according to the current node and the traversed path. The search execution unit is responsible for determining whether the end point has been reached during the search process. If the current node is a brightness value node, a path from the light intensity value to the brightness value is found; the paths that have been traversed are recorded and the path information is stored in a list; if there are still unexplored nodes, the search continues according to the search strategy until all paths are found or the termination condition is reached.
Citation Information
Patent Citations
Display screen correction method and device in color gamut adjustment and nonvolatile storage medium
CN116434694A
Color correction method and system for LED display screen
CN116453457A
Display screen brightness adjustment method, device, computer equipment and storage medium
CN116524844B
Celadon cross-modal knowledge graph construction method based on visual language model
CN118981541A
LED display screen color balance optimization method and system
CN119049408A