A display brightness adjustment method, system and terminal for a broadcast and control all-in-one machine
By deploying a ring-shaped light sensor array on the screen frame of the integrated broadcast and control machine, combined with gradient analysis and dynamic baseline correction algorithms, the problem of misjudgment of brightness adjustment of traditional integrated broadcast and control machines in complex lighting environments is solved, achieving high-precision and stable display brightness adjustment and reducing energy consumption.
Patent Information
- Application Number
- CN202510694075.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-28
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2045-05-28
AI Technical Summary
The display brightness adjustment technology of traditional all-in-one broadcast and control machines relies on fixed thresholds or manual adjustments, which makes it difficult to adapt to complex and changing lighting environments and cannot fully perceive the full range of changes in ambient lighting, resulting in brightness adjustment misjudgments and poor display stability, as well as energy waste.
A circular array of light sensors is deployed on the border of the integrated broadcast and control screen. Local interfering light sources are identified and eliminated through gradient analysis and dynamic baseline correction algorithms. Light intensity weights are assigned based on the correlation between sensor position and screen area to generate a comprehensive ambient light intensity value. The display brightness is adjusted based on the mapping relationship.
It improves the accuracy and anti-interference ability of light detection, reduces brightness fluctuations, enhances display stability and user experience, and reduces energy waste.
Smart Images

Figure CN120220624B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of display device control, and in particular relates to a display brightness adjustment method, system and terminal of a broadcast and control all-in-one machine. Background Art
[0002] Traditional display brightness adjustment technologies for integrated broadcast and control units often rely on fixed thresholds or manual adjustments, making them difficult to adapt to complex and changing lighting environments and presenting significant limitations. In outdoor scenes, light intensity is significantly affected by weather, time of day, and the surrounding environment (such as building reflections and vehicle lights), while indoor environments must contend with uneven light distribution across different areas. Existing technologies typically use a single light sensor or a simple array to collect data, failing to fully perceive all variations in ambient lighting. This leads to the following issues: Single sensors or sparse arrays are susceptible to interference from strong localized light sources (such as flashes and reflections), making it difficult to accurately distinguish between ambient light and interference signals, resulting in erroneous brightness adjustments. Sudden flashes (such as lightning and vehicle lights) can easily trigger frequent brightness fluctuations, and traditional fixed threshold methods lack a dynamic baseline correction mechanism, impacting display stability. Furthermore, they fail to consider the correlation between sensor position and screen area (for example, direct sunlight is stronger at the top of the screen), resulting in equal weight distribution, leading to inaccurate light intensity calculations and insufficient adjustment accuracy.
[0003] In addition, the existing technology's processing algorithms for illumination data are relatively simple, such as using static averages or simple filtering. In addition, manual adjustment relies on operating experience and is difficult to meet the rapid response requirements of outdoor large screens. The fixed threshold method can easily cause the display to be too bright or too dark when the illumination changes drastically, which not only affects the user experience but also increases energy waste. Summary of the Invention
[0004] In view of the fact that the display brightness adjustment technology of traditional broadcast and control all-in-one machines in the existing technology mostly relies on fixed thresholds or manual adjustment, is difficult to adapt to complex and changeable lighting environments, and has significant limitations; and the existing technology usually uses a single light sensor or a simple array to collect data, which cannot fully perceive the all-round changes in ambient light. The present invention provides a display brightness adjustment method, system and terminal for a broadcast and control all-in-one machine to solve the above technical problems.
[0005] In a first aspect, the present invention provides a method for adjusting the display brightness of a broadcast and control all-in-one machine, comprising:
[0006] A circular array of light sensors is deployed on the frame of the all-in-one broadcast and control machine screen or on the machine housing to form a ring detection network. The light sensors collect ambient light intensity data in real time and convert the collected light signals into electrical signals.
[0007] Perform gradient analysis on the electrical signal, calculate the difference in light intensity of each sensor, and identify and eliminate local interfering light sources;
[0008] Eliminate instantaneous flash interference through the pre-stored dynamic baseline correction algorithm to obtain effective light intensity data;
[0009] Assign light intensity calculation weights based on the correlation between the light sensor position and the screen area, perform weighted adjustment on the effective light intensity data, and generate a comprehensive ambient light intensity value;
[0010] Based on the comprehensive ambient light intensity value, the target display brightness adjustment value is calculated according to the preset mapping relationship between the ambient light intensity range and the display brightness; and the screen brightness is adjusted according to the calculated target display brightness adjustment value.
[0011] A further improvement of the technical solution is that the deployment of the annularly distributed light sensor array includes the following steps:
[0012] Dynamically calculate the light sensor spacing based on the screen size, where the number of light sensors is proportional to the screen diagonal length, ensuring that the light sensor spacing is equal to 1 / 20 to 1 / 30 of the screen circumference;
[0013] At least three light sensors are symmetrically installed on the top, bottom, left and right sides of the screen frame to form a closed ring detection network;
[0014] Calibrate the installation angle of the light sensor so that the photosensitive surface of each light sensor is parallel to the screen plane, and the deviation angle does not exceed ±5 degrees;
[0015] A real-time communication link is established between the light sensor array and the main control unit in the broadcast and control integrated machine through the I2C bus, with a sampling frequency of no less than 10Hz.
[0016] Further improvements to this technical solution include performing gradient analysis on the electrical signal, calculating the difference in light intensity of each sensor, and identifying and eliminating local interfering light sources. The method includes:
[0017] The light intensity data collected by several consecutive light sensors on the same side are averaged, and if the deviation between the light intensity data of a single light sensor and the average value exceeds 10%, the light intensity data collected by the light sensor is marked as abnormal data;
[0018] The abnormal data is verified twice through a pre-stored sliding window with a window size of 5 sampling cycles. If the abnormality rate of the same light sensor exceeds 60% in 3 consecutive cycles, the light sensor data will be eliminated.
[0019] A further improvement of this technical solution is to eliminate instantaneous flash interference through a pre-stored dynamic baseline correction algorithm to obtain effective light intensity data, the method including:
[0020] Establish a dynamic baseline reference value and use the pre-stored sliding window averaging method to calculate the average light intensity of the first N sampling periods as the baseline value, where N ranges from 5 to 10 sampling periods;
[0021] Real-time monitoring of the instantaneous deviation rate between the current light data of each light sensor and the reference value. When a sudden increase in the light intensity value of a single light sensor is detected exceeding 20% of the reference value, the pre-stored instantaneous interference detection mechanism is triggered;
[0022] A time window of a first preset time is set for continuous monitoring. If a sudden increase in light intensity exceeding 20% of the baseline value lasts for less than a second preset time within the time window and the subsequent sampling value returns to within ±10% of the baseline value, it is determined to be instantaneous flash interference; the second preset time is one-sixth of the first preset time;
[0023] Data segments identified as transient flash interference are removed, and the missing data are interpolated and compensated using the pre-stored cubic exponential smoothing method. At the same time, the corrected effective light intensity data is weighted and adjusted.
[0024] The baseline reference value is dynamically updated at intervals of a third preset time based on the attenuation factor.
[0025] A further improvement of this technical solution is to assign a light intensity calculation weight based on the correlation between the light sensor position and the screen area, perform weighted adjustment on the effective light intensity data, and generate an environmental comprehensive light intensity value; the method includes:
[0026] The screen is divided into four monitoring areas: top, bottom, left and right, and an initial weight value is set for each area. The weight of the top area is The bottom area weight is 0.4±0.05. 0.2±0.05, left / right area weight 、 each 0.15 ± 0.05;
[0027] Calculate the average light intensity of each area in real time and dynamically adjust the weight distribution based on the real-time average light intensity;
[0028] Count the valid data in the top, bottom, left and right areas 、 、 、 , and if the amount of valid data in any area is lower than the preset threshold, the weight of the area will be reset to zero and the weight of the area will be redistributed to other valid areas;
[0029] Based on the adjusted weights of each area, the comprehensive light intensity value of the environment is calculated.
[0030] A further improvement of this technical solution is that based on the adjusted weights of each area, the formula for calculating the comprehensive ambient light intensity value is:
[0031] ;
[0032] in, 、 、 and These are the effective light intensity data for the top, bottom, left and right areas respectively.
[0033] Further improvements to this technical solution include real-time calculation of the average light intensity of each area and dynamic adjustment of the weight distribution based on the real-time average light intensity. The method includes:
[0034] Calculate the average light intensity corresponding to each area in real time; and redistribute the weight according to the weight adjustment formula when the average light intensity of any area exceeds 150% of the average light intensity of other areas for a fourth preset time;
[0035] The weight adjustment formula is:
[0036] ;
[0037] ;
[0038] And ensure that the sum of the adjusted weights is 1; The weight of the area whose average light intensity exceeds 150% of the average light intensity of other areas for the fourth preset time. The adjusted weight of the area whose average light intensity exceeds 150% of the average light intensity of other areas for the fourth preset time; is the weight of other regions; Adjusted weights for other regions.
[0039] A further improvement of the present technical solution is to calculate a target display brightness adjustment value based on the comprehensive ambient light intensity value according to a preset mapping relationship between the ambient light intensity range and the display brightness; and adjust the screen brightness according to the calculated target display brightness adjustment value. The method specifically includes:
[0040] Establish a mapping relationship between ambient light intensity and display brightness, and preset the ambient light intensity range And the corresponding display brightness range , and dynamically set parameter thresholds according to the scenario type; among them, is the lower limit of ambient light intensity; is the upper limit of ambient light intensity; Display brightness lower limit; To display the upper limit of brightness;
[0041] Determine the currently calculated comprehensive ambient light intensity value Is it within the preset ambient light intensity range? Inside;
[0042] If so, then according to the formula Calculate the display brightness adjustment value; where, is the display brightness adjustment value; ratio is the linear mapping ratio of the ambient light intensity range to the display brightness range, ;
[0043] On the contrary, if , the display brightness is fixed at ;like , the display brightness is fixed at .
[0044] In a second aspect, the present invention provides a display brightness adjustment system for a broadcast and control all-in-one machine, comprising:
[0045] The light intensity detection module is used to collect ambient light intensity data in real time and convert the collected light signals into electrical signals. It includes a ring-shaped light sensor array deployed on the frame of the screen of the integrated broadcast and control machine or the housing of the integrated machine.
[0046] The local interference light source elimination module is used to perform gradient analysis on the electrical signal, calculate the difference in light intensity of each sensor, and identify and eliminate local interference light sources;
[0047] The instantaneous flash interference elimination module is used to eliminate the instantaneous flash interference through the pre-stored dynamic baseline correction algorithm to obtain effective light intensity data;
[0048] A module for calculating the ambient comprehensive light intensity value, which is used to assign light intensity calculation weights based on the correlation between the light sensor position and the screen area, perform weighted adjustment on the effective light intensity data, and generate an ambient comprehensive light intensity value;
[0049] The screen display brightness adjustment value calculation module is used to calculate the target display brightness adjustment value based on the preset mapping relationship between the ambient light intensity range and the display brightness; and adjust the screen brightness according to the calculated target display brightness adjustment value.
[0050] In a third aspect, the present invention provides a terminal, comprising:
[0051] processor, memory, wherein
[0052] The memory is used to store computer programs,
[0053] The processor is used to call and run the computer program from the memory, so that the terminal executes the above-mentioned terminal method.
[0054] The beneficial effects of the present invention are:
[0055] Improved accuracy and comprehensiveness of ambient light detection: By dynamically adjusting sensor spacing based on screen size and symmetrically placing sensors on all four sides of the screen (e.g., at least three sensors on the top, bottom, left, and right sides), a closed ring detection network is formed, fully covering the ambient lighting environment around the screen. Compared to traditional single sensors or sparse arrays, this can accurately capture changes in light intensity from different directions, avoiding local blind spots. By eliminating anomalous data with deviations exceeding 10% (such as flash interference) and dynamically assigning weights based on sensor position (0.4±0.05 for the top and 0.2±0.05 for the bottom), the accuracy of light intensity calculations is significantly improved.
[0056] Enhanced interference resistance and stability: A dynamic baseline is established using a sliding window averaging method (window size 5-10 sampling periods). When light intensity suddenly increases by more than 20% above the baseline, it is identified as a transient interference event (such as lightning or headlights). Missing data is then interpolated and compensated for using cubic exponential smoothing. This method effectively suppresses brightness fluctuations caused by transient flashes, reducing the false positive rate by over 40%. Anomalous data is verified using a sliding window (5 sampling periods). If the abnormality rate for a sensor exceeds 60% for three consecutive periods, its data is discarded. This mechanism reduces the impact of local interference on overall calculations, improving data reliability.
[0057] Intelligent adaptive adjustment: When the average light intensity in a certain area exceeds 150% of that in other areas for five consecutive minutes, weight optimization is triggered (for example, the top weight is increased by 0.1, while other areas are proportionally reduced), ensuring that the weighted calculation responds to changes in light distribution in real time. A linear mapping ratio is used to convert light intensity into display brightness, avoiding the overbrightness or underdarkness caused by traditional fixed threshold methods when light levels fluctuate dramatically. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0059] Figure 1 A schematic flow chart of a method according to an embodiment of the present invention.
[0060] Figure 2 A schematic block diagram of a system according to an embodiment of the present invention.
[0061] Figure 3 A schematic diagram of the structure of a terminal provided by an embodiment of the present invention.
[0062] 210 is a light intensity detection module, 220 is a local interference light source elimination module, 230 is an instantaneous flash interference elimination module, 240 is an environment comprehensive light intensity value calculation module, and 250 is a screen display brightness adjustment value calculation module. DETAILED DESCRIPTION
[0063] In order to make the purpose, features, and advantages of the present invention more obvious and easy to understand, the technical solutions of the present invention will be clearly and completely described below in conjunction with the drawings in the specific embodiments. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0064] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0065] Figure 1 This is a schematic flow chart of a method for adjusting the display brightness of a broadcast and control all-in-one machine provided by the present invention. Figure 1 The execution subject may be a display brightness adjustment system of a broadcast and control all-in-one machine. According to different requirements, the order of the steps in the flowchart may be changed, and some steps may be omitted.
[0066] like Figure 1 As shown, the method includes:
[0067] Step 110: deploying a circular array of optical sensors on the frame of the screen of the all-in-one broadcast and control machine or on the housing of the all-in-one machine to form a circular detection network; the optical sensors collect ambient light intensity data in real time and convert the collected optical signals into electrical signals;
[0068] Step 120 , performing gradient analysis on the electrical signal, calculating the difference in light intensity of each sensor, and identifying and eliminating local interfering light sources;
[0069] Step 130, eliminating instantaneous flash interference through a pre-stored dynamic baseline correction algorithm to obtain effective light intensity data;
[0070] Step 140 , assigning a light intensity calculation weight based on the correlation between the light sensor position and the screen area, performing weighted adjustment on the effective light intensity data, and generating an environmental comprehensive light intensity value;
[0071] Step 150 , based on the ambient comprehensive light intensity value, according to a preset mapping relationship between the ambient light intensity range and the display brightness, calculate a target display brightness adjustment value; and adjust the screen brightness according to the calculated target display brightness adjustment value.
[0072] To facilitate understanding of the present invention, the display brightness adjustment method of the integrated broadcast and control machine provided by the present invention is further described below based on the principle of the display brightness adjustment method of the integrated broadcast and control machine of the present invention and the process of adjusting the display brightness of the integrated broadcast and control machine in the embodiment.
[0073] Specifically, the deployment of the annularly distributed light sensor array includes the following steps:
[0074] S111. Dynamically calculate the distance between light sensors based on the screen size, where the number of light sensors is proportional to the diagonal length of the screen, and the distance between light sensors is equal to 1 / 20 to 1 / 30 of the screen circumference;
[0075] S112, symmetrically install at least three light sensors on the top, bottom, left, and right sides of the screen frame to form a closed ring detection network;
[0076] S113, calibrate the installation angle of the light sensors so that the photosensitive surface of each light sensor remains parallel to the screen plane, and the deviation angle does not exceed ±5 degrees;
[0077] S114. Establish a real-time communication link between the light sensor array and the main control unit in the integrated broadcast and control machine via the I2C bus, with a sampling frequency of no less than 10 Hz.
[0078] First, measure the diagonal length of the screen. For example, if the screen's diagonal length is 100 inches (approximately 2.54 meters), the number of light sensors is proportional to the screen's diagonal length, and the distance between the light sensors should be 1 / 20 to 1 / 30 of the screen's circumference. The screen's circumference can be calculated from its length and width (assuming a rectangular screen with length a and width b, the circumference is 2(a + b)), but for this simplified calculation, the diagonal length can be used as an approximate guide. Assuming a light sensor spacing of 1 / 25 of the screen's "equivalent circumference" (based on the diagonal length), for a 100-inch screen, the light sensor spacing is approximately 0.1016 meters (2.54 meters / 25). Based on the screen's circumference (actual or estimated) and the selected spacing, calculate the total number of light sensors required. For example, if the screen's circumference is 6 meters, approximately 60 light sensors are required (6 meters / 0.1016 meters ≈ 59, rounded up to 60).
[0079] The present invention ensures the comprehensiveness and accuracy of light detection by dynamically calculating the spacing between light sensors and rationally deploying them according to the screen size. Compared with traditional single sensors or sparse arrays, this solution can more accurately capture changes in light intensity in different directions. The design of a closed loop detection network reduces local blind spots and improves the system's response speed to light changes. At the same time, by calibrating the installation angle of the light sensor, measurement errors caused by improper installation are reduced. Using the I2C bus to establish a real-time communication link and setting a sampling frequency of no less than 10Hz ensures the real-time transmission and processing of light data. This helps the system respond to light changes in a timely manner and adjust the display brightness.
[0080] In addition, the electrical signal is gradient analyzed to calculate the difference in light intensity of each sensor, and local interfering light sources are identified and eliminated. The method includes:
[0081] S121, averaging the illumination data of several consecutive light sensors on the same side, and marking the illumination intensity data collected by a single light sensor as abnormal data if the deviation between the light intensity data of the single light sensor and the average value exceeds 10%;
[0082] S122. Perform secondary verification on the abnormal data through a pre-stored sliding window, where the window size is 5 sampling cycles, and remove the light sensor data when the abnormality rate of the same light sensor exceeds 60% within 3 consecutive cycles.
[0083] Specifically, a ring-shaped array of light sensors monitors ambient light intensity in real time, converts light signals into electrical signals, and transmits them to the system's signal processing unit. The signal processing unit first receives light data from a number of consecutive light sensors on the same side (e.g., top, bottom, left, or right). For example, a group of three consecutive light sensors on the same side is selected for analysis. The light data from these three light sensors is averaged. Assuming the three data points are valueA, valueB, and valueC, the average value is (valueA + valueB + valueC) / 3.
[0084] Next, the deviation between each light sensor's data and the average is calculated. If the deviation between a light sensor's data and the average exceeds 10% (i.e., |value - average| / average > 10%), the light intensity data collected by that light sensor is marked as abnormal.
[0085] To further confirm the reliability of the abnormal data, a pre-stored sliding window was used to perform a secondary verification of the abnormal data. The window size was set to five sampling periods. Within each sampling period, whether each light sensor was marked as abnormal was recorded. As the sliding window moved, the abnormality rate of the same light sensor over three consecutive periods was calculated. If the abnormality rate of a light sensor exceeded 60% over three consecutive periods, all data from that light sensor during that period was discarded, assuming it was experiencing local interference.
[0086] The present invention can preliminarily screen out light sensor data that may be subject to local interference by first calculating the average value and then determining the deviation. The sliding window's secondary verification mechanism further enhances the accuracy of abnormal data identification and avoids misjudgments due to accidental factors. After eliminating light sensor data subject to local interference, the system can more accurately reflect the true situation of ambient light intensity, thereby improving the anti-interference ability of the entire display brightness adjustment system. Accurate light data is the basis for optimizing the display brightness adjustment effect. By eliminating abnormal data, the system can more accurately calculate the change in light intensity and adjust the display brightness accordingly, thereby obtaining the best visual effect under different lighting conditions.
[0087] In addition, the instantaneous flash interference is eliminated by a pre-stored dynamic baseline correction algorithm to obtain effective light intensity data, and the method includes:
[0088] S131. Establish a dynamic baseline reference value, using a pre-stored sliding window averaging method to calculate the average light intensity of the first N sampling periods as a reference value, where N is in the range of 5-10 sampling periods;
[0089] S132, monitoring the instantaneous deviation rate between the current light data of each light sensor and the reference value in real time, and triggering a pre-stored instantaneous interference detection mechanism when detecting that the light intensity value of a single light sensor suddenly increases by more than 20% of the reference value;
[0090] S133. Set a time window of a first preset time (e.g., 3 seconds) for continuous monitoring. If a sudden increase in light intensity exceeding 20% of the baseline value lasts for less than a second preset time (e.g., 0.5 seconds) within the time window and subsequent sampled values return to within ±10% of the baseline value, it is determined to be instantaneous flash interference; the second preset time is one-sixth of the first preset time.
[0091] S134, performing data elimination processing on the data segments determined to be instantaneous flash interference, and using the pre-stored cubic exponential smoothing method to interpolate and compensate for the missing data, while performing weighted adjustment on the corrected effective light intensity data;
[0092] S135 : Dynamically update the baseline reference value at intervals of a third preset time (eg, 30 seconds) based on the attenuation factor.
[0093] Among them, establishing a dynamic baseline reference value The initial value is the average light intensity of the first N sampling periods after removing instantaneous interference, and the time window is the last 10 minutes; the current light intensity value is detected in real time , if satisfied , it is determined to be instantaneous flash interference. The dynamic baseline reference value is updated every 30 seconds , the update formula is: .in, is the attenuation factor, is the weight of each light sensor, is the effective light intensity value.
[0094] In addition, if the same sensor data is detected to have a sudden change exceeding the threshold for three consecutive times, the sensor self-test program will be triggered, including: turning off the screen backlight and collecting the dark current reference value; if the dark current value deviates from the initial calibration value by more than 5%, the light sensor will be marked as abnormal and the backup sensor data will be enabled.
[0095] For example, select a sliding window size of N = 8 sampling periods (i.e., the latest 8 sampling data) and calculate its average value as the initial baseline value. For example, if the first eight illumination data are 30,000 lux, 31,000 lux, 30,500 lux, 30,800 lux, 29,500 lux, 30,200 lux, 30,700 lux, 29,800 lux, 30,000 lux, 31,000 lux, 30,500 lux, 30,800 lux, 29,500 lux, 30,200 lux, 30,700 lux, and 29,800 lux, then: The attenuation factor is 30400 lux; the baseline data is stored in the device memory and updated regularly (every 30 seconds). Update the baseline value: ;in, is the light sensor weight, is the mean of the effective illumination data (e.g. 30500 lux); the updated baseline reference value It is 30430 lux.
[0096] The present invention uses a sliding window mean and attenuation factor to distinguish between natural changes in ambient light (such as the transition from cloudy to sunny) and instantaneous flashes (such as lightning), reducing the misjudgment rate. The time window verification mechanism ensures that only brief surges (such as 0.5 seconds of car headlights) are filtered out, avoiding the misjudgment of long-term lighting changes (such as sunrise), thereby improving the accuracy of interference removal.
[0097] Furthermore, according to the correlation between the light sensor position and the screen area, a light intensity calculation weight is assigned, and effective light intensity data is weightedly adjusted to generate an environmental comprehensive light intensity value; the method includes:
[0098] The screen is divided into four monitoring areas: top, bottom, left and right, and an initial weight value is set for each area. The weight of the top area is The bottom area weight is 0.4±0.05. 0.2±0.05, left / right area weight 、 each 0.15 ± 0.05;
[0099] Calculate the average light intensity of each area in real time and dynamically adjust the weight distribution based on the real-time average light intensity;
[0100] Count the valid data in the top, bottom, left and right areas 、 、 、 , and if the amount of valid data in any area is lower than the preset threshold, the weight of the area will be reset to zero and the weight of the area will be redistributed to other valid areas;
[0101] Based on the adjusted weights of each area, the comprehensive light intensity value of the environment is calculated.
[0102] Specifically, the formula for calculating the comprehensive ambient light intensity value is:
[0103] ;
[0104] in, 、 、 and These are the effective light intensity data for the top, bottom, left and right areas respectively.
[0105] The present invention divides the screen into multiple monitoring areas, assigns an initial weight to each area, and dynamically adjusts the weight assignment by combining real-time calculation of the average light intensity of each area. This can more accurately reflect the actual lighting conditions of different areas, avoid errors caused by a single sensor or simple averaging method, and thus improve the accuracy of overall light intensity detection. The effective data volume of each area is counted. When the effective data volume of a certain area is lower than a preset threshold, the weight of the area is reset to zero and reallocated to other valid areas. This mechanism can effectively reduce the impact of erroneous data caused by local interference (such as local strong light sources, sensor failures, etc.) on the overall calculation results, enhance the system's anti-interference ability, and make the environmental comprehensive light intensity value more reliable. Based on the adjusted weights of each area, the effective light intensity data of each area is weightedly calculated according to a specific calculation formula. This can comprehensively consider the light contribution of different areas and generate an environmental comprehensive light intensity value that is more in line with the actual environmental lighting conditions, providing more accurate basic data for subsequent applications such as display brightness adjustment. The mechanism of dynamically adjusting and redistributing weights enables the system to adaptively adjust the calculation method according to the real-time lighting conditions, better adapting to complex and changing lighting environments. Whether the indoor light distribution is uneven or the outdoor light intensity changes drastically, the comprehensive light intensity value of the environment can be calculated more accurately.
[0106] Specifically, the average light intensity of each area is calculated in real time, and the weight distribution is dynamically adjusted according to the real-time average light intensity. The method includes:
[0107] Calculate the average light intensity corresponding to each area in real time; and redistribute the weight according to the weight adjustment formula when the average light intensity of any area exceeds 150% of the average light intensity of other areas for a fourth preset time;
[0108] The weight adjustment formula is:
[0109] ;
[0110] ;
[0111] And ensure that the sum of the adjusted weights is 1; The weight of the area whose average light intensity exceeds 150% of the average light intensity of other areas for the fourth preset time. The adjusted weight of the area whose average light intensity exceeds 150% of the average light intensity of other areas for the fourth preset time; is the weight of other regions; Adjusted weights for other regions.
[0112] By calculating the average light intensity corresponding to each area in real time, the present invention can promptly capture the dynamic changes in light intensity in different areas. When the average light intensity of a certain area exceeds 150% of the average light intensity of other areas for a fourth preset time, the weight is redistributed according to the weight adjustment formula. This mechanism enables the weight allocation to closely track actual changes in the lighting environment, accurately reflecting the impact of light intensity in different areas on the overall ambient light, avoiding light intensity calculation deviations caused by fixed weights, and improving the accuracy of light intensity detection. The design of the weight adjustment formula enables the system to flexibly adjust the weight allocation based on the relative changes in light intensity in different areas. When the light intensity in a certain area is abnormally high, the weight is redistributed to avoid the excessive impact of abnormal lighting in that area on the overall calculation result, enhancing the system's adaptability to complex lighting environments and enabling the system to more accurately calculate the comprehensive ambient light intensity value under various lighting conditions. Accurate weight allocation is the basis for achieving reasonable display brightness adjustment. Through the above technical means, the weights can be dynamically adjusted according to the real-time lighting conditions, thereby more accurately calculating the comprehensive ambient light intensity value, providing a reliable basis for display brightness adjustment. This helps achieve optimal display brightness in different lighting environments, improving the user experience, while also helping to reduce energy consumption and extend the life of the device.
[0113] In addition, based on the comprehensive ambient light intensity value, according to the preset mapping relationship between the ambient light intensity range and the display brightness, a target display brightness adjustment value is calculated; and the screen brightness is adjusted according to the calculated target display brightness adjustment value. The method specifically includes:
[0114] S151. Establish a mapping relationship between ambient light intensity and display brightness, and preset the ambient light intensity range And the corresponding display brightness range , and dynamically set parameter thresholds according to the scenario type; among them, is the lower limit of ambient light intensity; is the upper limit of ambient light intensity; Displays the lower limit of brightness; To display the upper limit of brightness;
[0115] S152: Determine the currently calculated comprehensive ambient light intensity value Is it within the preset ambient light intensity range? Inside;
[0116] S153. If so, then according to the formula Calculate the display brightness adjustment value; where, is the display brightness adjustment value; ratio is the linear mapping ratio of the ambient light intensity range to the display brightness range, ;
[0117] S154、On the contrary, if , the display brightness is fixed at ;like , the display brightness is fixed at .
[0118] For example, the outdoor light intensity on a sunny day ranges from 30,000 to 130,000 lux. 50,000 lux is set as the lowest threshold and 100,000 lux is set as the highest threshold, corresponding to 30% and 80% of the display brightness, respectively. For every 1,000 lux change in illumination, the display brightness changes by 1%. For other scenarios, corresponding adjustment strategies can be formulated (the corresponding control strategy can be set based on factors such as weather, day and night time, and usage scenarios (outdoor commercial areas, outdoor residential areas, indoors, etc.)).
[0119] Specifically, for example, the illumination range and corresponding strategy parameter settings for the following weather scenarios:
[0120] Sunny day 30000~130000 lux (lux): Top light =130000, Bottom light =30000、Top show =80%, Bottom show =30%;
[0121] 1000-10000 lux indoors on a sunny day: Top light =10000, Bottom light =1000、Top show =80, Bottom show =30;
[0122] 3000-10000 lux on cloudy days: Top light =10000, Bottom light =3000、Top show =50, Bottom show =20;
[0123] 500-5000 lux indoors on a cloudy day: Top light =5000, Bottom light =500、Top show= 80. Bottom show =30.
[0124] According to the time of day and night:
[0125] If the sunrise and sunset times are 6:00 and 19:00 respectively, then by judging the current time and the current illumination, if the illumination is lower than the lowest illumination limit of the current weather conditions, light (sum <Bottom light ) and the current time is close to sunrise or sunset (with 30 minutes as the threshold), the display brightness is uniformly set to night mode and the display brightness is uniformly set to display brightness. night It is 20%.
[0126] Specifically, for sunny outdoor scenes: the preset ambient light intensity range is , the display brightness range is ; Compute the linear mapping ratio: .
[0127] Cloudy indoor scene: The preset ambient light intensity range is , the display brightness range is ; Compute the linear mapping ratio: .
[0128] Current environmental comprehensive light intensity (Sunny outdoor scene), judgment , within the preset range, the display brightness adjustment value is calculated according to the formula It is 40%.
[0129] If the current comprehensive light intensity (Sunny outdoor scene), judgment , the display brightness is fixed at the upper limit of 80%.
[0130] If the current time is close to sunset (18:45) (night time), and , then force the night mode to be enabled and display the brightness adjustment value According to the weather API (Application Programming Interface), the current weather is "cloudy" and the corresponding parameter group is automatically loaded: Top light =10000 lux, Bottom light =3000lux, Top dm =50%, Bottom dm =20%, Top light =10000 lux, Bottom light =3000lux, Top dm=50%, Bottom dm =20%.
[0131] The brightness adjustment value of the present invention can ensure that the screen brightness always matches the actual lighting environment. This precise adjustment not only enhances the audience's visual experience, but also avoids eye discomfort caused by excessively high or low brightness. The preset mapping relationship between the ambient light intensity range and the display brightness, as well as the ability to dynamically set parameter thresholds according to the scene type, enable the system to automatically adapt to different lighting environments and application scenarios. This intelligent adjustment reduces the need for manual intervention and improves the system's automation and ease of use. By dynamically adjusting the screen brightness according to the ambient light intensity, the system can effectively reduce energy consumption while ensuring visual effects. Lowering the screen brightness in a well-lit environment not only saves electricity, but also extends the service life of the device. When the ambient comprehensive light intensity value exceeds the preset range, the system can fix the display brightness at the preset upper and lower limits, avoiding display brightness anomalies caused by extreme lighting conditions. This stability ensures a clear and comfortable visual experience in different lighting environments.
[0132] In some embodiments, the display brightness adjustment system 200 of the integrated broadcast and control machine may include multiple functional modules composed of computer program segments. The computer programs of the various program segments in the display brightness adjustment system 200 of the integrated broadcast and control machine may be stored in the memory of a computer device and executed by at least one processor to perform (see Figure 1 Description) Adjust the display brightness of the integrated broadcast and control machine.
[0133] In this embodiment, the display brightness adjustment system 200 of the integrated broadcast and control machine can be divided into multiple functional modules according to the functions it performs, such as Figure 2 As shown. The functional modules may include: a light intensity detection module 210, a local interference light source rejection module 220, a momentary flash interference elimination module 230, an ambient integrated light intensity value calculation module 240, and a screen display brightness adjustment value calculation module 250. A module, as referred to in the present invention, refers to a series of computer program segments that can be executed by at least one processor and can perform fixed functions, and is stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.
[0134] The light intensity detection module 210 is used to collect ambient light intensity data in real time and convert the collected light signals into electrical signals; it includes deploying a ring-shaped light sensor array on the frame of the broadcast and control all-in-one screen or the housing of the all-in-one machine; the local interference light source elimination module 220 is used to perform gradient analysis on the electrical signal, calculate the light intensity difference of each sensor, identify and eliminate local interference light sources; the instantaneous flash interference elimination module 230 is used to eliminate instantaneous flash interference through a pre-stored dynamic baseline correction algorithm to obtain effective light intensity data; the ambient comprehensive light intensity value calculation module 240 is used to assign light intensity calculation weights according to the correlation between the light sensor position and the screen area, perform weighted adjustment on the effective light intensity data, and generate an ambient comprehensive light intensity value; the screen display brightness adjustment value calculation module 250 is used to calculate the target display brightness adjustment value based on the preset ambient light intensity range and display brightness mapping relationship; and adjust the screen brightness according to the calculated target display brightness adjustment value.
[0135] Figure 3 This is a structural diagram of a terminal 300 provided in an embodiment of the present invention. The terminal 300 can be used to execute the display brightness adjustment method of the integrated broadcast and control machine provided in an embodiment of the present invention.
[0136] The terminal 300 may include a processor 310, a memory 320, and a communication module 330. These components communicate via one or more buses. Those skilled in the art will appreciate that the server structure shown in the figure does not limit the present invention. The server structure may be a bus structure or a star structure, and may include more or fewer components than shown, or may combine certain components or arrange the components differently.
[0137] Memory 320 can be used to store execution instructions of processor 310. Memory 320 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. When the execution instructions in memory 320 are executed by processor 310, terminal 300 can perform some or all of the steps in the above-described method embodiments.
[0138] The processor 310 is the control center of the storage terminal. It uses various interfaces and lines to connect various parts of the entire electronic terminal. It executes various functions of the electronic terminal and / or processes data by running or executing software programs and / or modules stored in the memory 320, and calling data stored in the memory. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 310 can only include a central processing unit (CPU). In the embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.
[0139] The communication module 330 is used to establish a communication channel so that the storage terminal can communicate with other terminals, receive user data sent by other terminals, or send user data to other terminals.
[0140] The present invention also provides a computer storage medium, wherein the computer storage medium may store a program that, when executed, may include some or all of the steps of each embodiment provided herein. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0141] Those skilled in the art will clearly understand that the techniques in the embodiments of the present invention can be implemented using software plus a necessary general-purpose hardware platform. Based on this understanding, the technical solutions in the embodiments of the present invention, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, among other media capable of storing program code, and includes instructions for causing a computer terminal (which can be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention.
[0142] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
[0143] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For example, the division of the modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or modules, and can be electrical, mechanical or other forms.
[0144] The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules may be selected to achieve the purpose of the present embodiment according to actual needs.
[0145] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
[0146] Although the present invention has been described in detail with reference to the accompanying drawings and in conjunction with preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, persons of ordinary skill in the art may make various equivalent modifications or substitutions to the embodiments of the present invention, and such modifications or substitutions shall be within the scope of the present invention. Any changes or substitutions that can be easily conceived by persons skilled in the art within the technical scope disclosed in the present invention shall be within the scope of protection of the present invention.
Claims
1. A method for adjusting the display brightness of a broadcast and control all-in-one machine, characterized in that: include: Deploy a ring-shaped optical sensor array on the frame of the all-in-one broadcast and control machine screen or on the housing of the all-in-one machine to form a ring detection network; The light sensor collects ambient light intensity data in real time and converts the collected light signals into electrical signals; Perform gradient analysis on the electrical signal, calculate the difference in light intensity of each sensor, and identify and eliminate local interfering light sources; Eliminate instantaneous flash interference through the pre-stored dynamic baseline correction algorithm to obtain effective light intensity data; Assign light intensity calculation weights based on the correlation between the light sensor position and the screen area, perform weighted adjustment on the effective light intensity data, and generate a comprehensive ambient light intensity value; Based on the comprehensive ambient light intensity value, the target display brightness adjustment value is calculated according to the preset mapping relationship between the ambient light intensity range and the display brightness; and adjusting the screen brightness according to the calculated target display brightness adjustment value; The method includes assigning a light intensity calculation weight based on the correlation between the light sensor position and the screen area, performing weighted adjustment on the effective light intensity data, and generating a comprehensive ambient light intensity value. The screen is divided into four monitoring areas: top, bottom, left and right, and an initial weight value is set for each area. The weight of the top area is The bottom area weight is 0.4±0.
05. 0.2±0.05, left / right area weight 、 each 0.15 ± 0.05; Calculate the average light intensity of each area in real time and dynamically adjust the weight distribution based on the real-time average light intensity; Count the valid data in the top, bottom, left and right areas 、 、 、 , and if the amount of valid data in any area is lower than the preset threshold, the weight of the area will be reset to zero and the weight of the area will be redistributed to other valid areas; Based on the adjusted weights of each area, the comprehensive ambient light intensity value is calculated. The calculation formula for the comprehensive ambient light intensity value is: ; in, 、 、 and They are the effective light intensity data of the top, bottom, left and right areas respectively; The method of eliminating instantaneous flash interference by using a pre-stored dynamic baseline correction algorithm to obtain effective light intensity data includes: Establish a dynamic baseline reference value and use the pre-stored sliding window averaging method to calculate the average light intensity of the first N sampling periods as the baseline value, where N ranges from 5 to 10 sampling periods; Real-time monitoring of the instantaneous deviation rate between the current light data of each light sensor and the reference value. When a sudden increase in the light intensity value of a single light sensor is detected exceeding 20% of the reference value, the pre-stored instantaneous interference detection mechanism is triggered; A time window of a first preset time is set for continuous monitoring. If a sudden increase in light intensity exceeding 20% of the baseline value lasts for less than a second preset time within the time window and the subsequent sampling value returns to within ±10% of the baseline value, it is determined to be instantaneous flash interference; the second preset time is one-sixth of the first preset time; Data segments identified as transient flash interference are removed, and the missing data are interpolated and compensated using the pre-stored cubic exponential smoothing method. At the same time, the corrected effective light intensity data is weighted and adjusted. The baseline reference value is dynamically updated at intervals of a third preset time based on the attenuation factor.
2. The display brightness adjustment method of the integrated broadcast and control machine according to claim 1, characterized in that: The deployment of the annular light sensor array includes the following steps: Dynamically calculate the light sensor spacing based on the screen size, where the number of light sensors is proportional to the screen diagonal length, ensuring that the light sensor spacing is equal to 1 / 20 to 1 / 30 of the screen circumference; At least three light sensors are symmetrically installed on the top, bottom, left and right sides of the screen frame to form a closed ring detection network; Calibrate the installation angle of the light sensor so that the photosensitive surface of each light sensor is parallel to the screen plane, and the deviation angle does not exceed ±5 degrees; A real-time communication link is established between the light sensor array and the main control unit in the broadcast and control integrated machine through the I2C bus, with a sampling frequency of no less than 10Hz.
3. The display brightness adjustment method of the integrated broadcast and control machine according to claim 1, characterized in that: Performing gradient analysis on the electrical signal, calculating the difference in light intensity of each sensor, and identifying and eliminating local interfering light sources, the method includes: The light intensity data collected by several consecutive light sensors on the same side are averaged, and if the deviation between the light intensity data of a single light sensor and the average value exceeds 10%, the light intensity data collected by the light sensor is marked as abnormal data; The abnormal data is verified twice through a pre-stored sliding window with a window size of 5 sampling cycles. If the abnormality rate of the same light sensor exceeds 60% in 3 consecutive cycles, the light sensor data will be eliminated.
4. The display brightness adjustment method of the integrated broadcast and control device according to claim 1, characterized in that: Calculate the average light intensity of each area in real time and dynamically adjust the weight distribution based on the real-time average light intensity. The method includes: Calculate the average light intensity corresponding to each area in real time; and redistribute the weight according to the weight adjustment formula when the average light intensity of any area exceeds 150% of the average light intensity of other areas for a fourth preset time; The weight adjustment formula is: ; ; And ensure that the sum of the adjusted weights is 1; where, The weight of the area whose average light intensity exceeds 150% of the average light intensity of other areas for the fourth preset time. The adjusted weight of the area whose average light intensity exceeds 150% of the average light intensity of other areas for the fourth preset time; is the weight of other regions; Adjusted weights for other regions.
5. The display brightness adjustment method of the integrated broadcast and control machine according to claim 1, characterized in that: Based on the comprehensive ambient light intensity value, the target display brightness adjustment value is calculated according to the preset mapping relationship between the ambient light intensity range and the display brightness; The screen brightness is adjusted according to the calculated target display brightness adjustment value, and the method specifically includes: Establish a mapping relationship between ambient light intensity and display brightness, and preset the ambient light intensity range And the corresponding display brightness range , and dynamically set parameter thresholds according to the scenario type; among them, is the lower limit of ambient light intensity; is the upper limit of ambient light intensity; Displays the lower limit of brightness; To display the upper limit of brightness; Determine the currently calculated comprehensive ambient light intensity value Is it within the preset ambient light intensity range? Inside; If so, then according to the formula Calculate the display brightness adjustment value; where, is the display brightness adjustment value; ratio is the linear mapping ratio of the ambient light intensity range to the display brightness range, ; On the contrary, if , the display brightness is fixed at ;like , the display brightness is fixed at .
6. A display brightness adjustment system for a broadcast and control all-in-one machine, characterized in that: include: Light intensity detection module, used to collect ambient light intensity data in real time and convert the collected light signal into an electrical signal; This includes deploying a ring-shaped light sensor array on the border of the all-in-one broadcast and control machine screen or on the housing of the all-in-one machine; The local interference light source elimination module is used to perform gradient analysis on the electrical signal, calculate the difference in light intensity of each sensor, and identify and eliminate local interference light sources; The instantaneous flash interference elimination module is used to eliminate the instantaneous flash interference through the pre-stored dynamic baseline correction algorithm to obtain effective light intensity data; A module for calculating the ambient comprehensive light intensity value, which is used to assign light intensity calculation weights based on the correlation between the light sensor position and the screen area, perform weighted adjustment on the effective light intensity data, and generate an ambient comprehensive light intensity value; A screen display brightness adjustment value calculation module is used to calculate a target display brightness adjustment value based on a preset mapping relationship between the ambient light intensity range and the display brightness; and adjusting the screen brightness according to the calculated target display brightness adjustment value; The method includes assigning a light intensity calculation weight based on the correlation between the light sensor position and the screen area, performing weighted adjustment on the effective light intensity data, and generating a comprehensive ambient light intensity value. The screen is divided into four monitoring areas: top, bottom, left and right, and an initial weight value is set for each area. The weight of the top area is The bottom area weight is 0.4±0.
05. 0.2±0.05, left / right area weight 、 each 0.15 ± 0.05; Calculate the average light intensity of each area in real time and dynamically adjust the weight distribution based on the real-time average light intensity; Count the valid data in the top, bottom, left and right areas 、 、 、 , and if the amount of valid data in any area is lower than the preset threshold, the weight of the area will be reset to zero and the weight of the area will be redistributed to other valid areas; Based on the adjusted weights of each area, the comprehensive ambient light intensity value is calculated. The calculation formula for the comprehensive ambient light intensity value is: ; in, 、 、 and They are the effective light intensity data of the top, bottom, left and right areas respectively; The method of eliminating instantaneous flash interference by using a pre-stored dynamic baseline correction algorithm to obtain effective light intensity data includes: Establish a dynamic baseline reference value and use the pre-stored sliding window averaging method to calculate the average light intensity of the first N sampling periods as the baseline value, where N ranges from 5 to 10 sampling periods; Real-time monitoring of the instantaneous deviation rate between the current light data of each light sensor and the reference value. When a sudden increase in the light intensity value of a single light sensor is detected exceeding 20% of the reference value, the pre-stored instantaneous interference detection mechanism is triggered; A time window of a first preset time is set for continuous monitoring. If a sudden increase in light intensity exceeding 20% of the baseline value lasts for less than a second preset time within the time window and the subsequent sampling value returns to within ±10% of the baseline value, it is determined to be instantaneous flash interference; the second preset time is one-sixth of the first preset time; Data segments identified as transient flash interference are removed, and the missing data are interpolated and compensated using the pre-stored cubic exponential smoothing method. At the same time, the corrected effective light intensity data is weighted and adjusted. The baseline reference value is dynamically updated at intervals of a third preset time based on the attenuation factor.
7. A terminal, characterized in that: include: processor; a memory for storing execution instructions of the processor; The processor is configured to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Screen brightness adjusting method and device, electronic equipment and storage medium
CN111968597A
Display screen brightness control method for intelligent storage cabinet
CN119626183A