Display control method of electronic price tag system
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- FUZHOU SIFEI INFORMATION TECH CO LTD
- Filing Date
- 2026-06-10
- Publication Date
- 2026-07-14
AI Technical Summary
Existing electronic price tag systems suffer from lag, abrupt changes, or mismatches with the rhythm of environmental changes when faced with complex and ever-changing in-store lighting environments, affecting viewing comfort and display stability.
By collecting optical sensing data from the electronic price tag display unit, performing synchronous filtering and alignment processing, a calibrated sequence of brightness and ambient illuminance sample values is generated. Combining ambient light status identification and statistical characteristics, dynamic display brightness correction values and compensation factors are calculated to generate integrated and adjusted display driving parameters.
It achieves a smooth transition in brightness adjustment under complex lighting conditions, reduces unnecessary fluctuations in screen brightness, and improves viewing comfort and system stability.
Smart Images

Figure CN122392459A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic price tag display control technology, specifically to a display control method for an electronic price tag system. Background Technology
[0002] In the retail display field, such as electronic price tags, automatically adjusting screen brightness based on ambient light to improve visibility and save energy has become a standard technology. Existing solutions typically rely on a single ambient light sensor. After collecting ambient illuminance data, the target display brightness is directly mapped using a lookup table or a fixed algorithm, and then the driving parameters are set. This approach treats the adjustment of ambient illuminance and display brightness as a simple, instantaneous, static correspondence. When faced with the complex and ever-changing lighting environments in stores, this approach suffers from a rigid adjustment process, lacking consideration for the current display state of the display unit and the dynamic characteristics of ambient light. This results in delayed, abrupt, or mismatched brightness adjustments, affecting viewing comfort and display stability.
[0003] Conventional technologies struggle to effectively address two key issues. First, when ambient light conditions change, the system only provides a fixed brightness correction target based on the current ambient light intensity, ignoring the dynamic process of the display unit's brightness transitioning from the current value to the target value. If ambient light changes frequently, this abrupt "setup" switching can easily lead to frequent jumps in screen brightness or conflicts with content updates, causing visual discomfort. Second, existing solutions do not differentiate between the nature of ambient light changes; whether it's a slow change in natural light or a momentary flicker of artificial light or a passing shadow, the system triggers brightness adjustments. This results in unnecessary fluctuations in screen brightness under rapid but brief disturbances in ambient light, which negatively impact viewing experience and reduce the system's robustness and practicality in real-world, unstable lighting environments. Summary of the Invention
[0004] The purpose of this invention is to provide a display control method for an electronic price tag system to solve the problems mentioned in the background art.
[0005] To achieve the above objectives, the present invention provides a display control method for an electronic price tag system, the method comprising:
[0006] The optical sensing data of the electronic price tag display unit is collected, and the optical sensing data includes a real-time display brightness sequence and an ambient illuminance sequence;
[0007] The real-time display brightness sequence and ambient illuminance sequence are synchronously filtered and aligned to obtain calibrated display brightness sample value sequence and ambient illuminance sample value sequence;
[0008] Based on the environmental illuminance sampling value sequence, an environmental lighting state identification operation is performed to generate the current environmental lighting state category;
[0009] Based on the current ambient lighting status category, obtain the basic display brightness correction value under the ambient lighting status category from the preset correspondence;
[0010] Based on the recent change patterns of the calibrated display brightness sample value sequence, the base display brightness correction value is adaptively scaled to generate a dynamic display brightness correction value;
[0011] Based on the statistical characteristics of the environmental illuminance sampling value sequence within a specific time window, the ambient light change interference degree is calculated.
[0012] Based on the dynamic display brightness correction value and the ambient light change interference, a compensation factor for the display parameters is determined;
[0013] The compensation factor is fused with the original driving parameters of the electronic price tag display unit to obtain the integrated and adjusted display driving parameters;
[0014] Based on the integrated and adjusted display driving parameters, control commands are generated and sent to the driver of the electronic price tag display unit.
[0015] Preferably, the step of synchronously filtering and aligning the real-time display brightness sequence and ambient illuminance sequence to obtain the calibrated display brightness sample value sequence and ambient illuminance sample value sequence includes:
[0016] The real-time display brightness sequence is smoothed using a sliding window mean filter to eliminate high-frequency noise;
[0017] The environmental illuminance sequence is smoothed using a timestamp-based weighted average filter to reduce the impact of instantaneous fluctuations.
[0018] The smoothed real-time display brightness sequence and the ambient illuminance sequence are matched and resampled at a unified sampling time point to ensure that the two sequences are completely aligned in the time dimension.
[0019] The time-aligned sequences are used as the calibrated display brightness sampling value sequence and the ambient illuminance sampling value sequence, respectively.
[0020] The step of smoothing the real-time display brightness sequence using a sliding window mean filter to eliminate high-frequency noise includes:
[0021] The size of the sliding window is set to a fixed value, and the sliding window moves point by point on the real-time display brightness sequence;
[0022] For each window position, calculate the arithmetic mean of all data points within the window, and replace the value of the window center point with the arithmetic mean.
[0023] Repeat the movement and calculation process until the entire sequence is processed, resulting in a smoothed real-time display brightness sequence.
[0024] Preferably, the step of performing the ambient lighting state identification operation and generating the current ambient lighting state category includes:
[0025] Calculate the mean, variance, and difference between the maximum and minimum values of the environmental illuminance sampling value sequence within a complete identification period;
[0026] The average value is compared with a preset range of light intensity thresholds to preliminarily determine the basic light intensity level;
[0027] The variance and the difference between the maximum and minimum values are compared with the corresponding preset volatility thresholds to determine the stability of the ambient light.
[0028] The base light intensity level and the stability of the ambient light are combined and mapped to one of a number of predefined discrete ambient light state categories, which is used as the current ambient light state category.
[0029] The steps for calculating the mean, variance, and difference between the maximum and minimum values of the environmental illuminance sampling value sequence over a complete identification period include:
[0030] All ambient illuminance sample values within the complete identification period are obtained to form a dataset;
[0031] Calculate the average of all values in the dataset, and use that average as the mean.
[0032] The average of the squares of the differences between each value and the mean is calculated as the variance;
[0033] Find the maximum and minimum values in the data set, and calculate the arithmetic difference between the maximum and minimum values as the difference.
[0034] Preferably, the preset correspondence is a lookup table, which defines the mapping relationship between each type of ambient lighting state and a specific numerical basic display brightness correction value;
[0035] The operation of obtaining the basic display brightness correction value under the current ambient lighting state category from the preset correspondence is as follows: query the lookup table and output the value that uniquely corresponds to the current ambient lighting state category. The value is the basic display brightness correction value.
[0036] Preferably, the step of adaptively scaling the base display brightness correction value based on the recent change pattern of the calibrated display brightness sample value sequence to generate a dynamic display brightness correction value includes:
[0037] Extract the most recent subsequence of a preset length from the calibrated display brightness sample value sequence;
[0038] Calculate the linear trend slope of the subsequence, which is used to characterize the direction and rate of change in recent display brightness;
[0039] The base display brightness correction value is multiplied by a scaling factor, wherein the value of the scaling factor is positively correlated with the absolute value of the slope of the linear trend, and the product is used as the dynamic display brightness correction value.
[0040] Preferably, the step of calculating the ambient light change interference includes:
[0041] Within the specified time window, calculate the first-order difference sequence of the environmental illuminance sample value sequence;
[0042] Calculate the standard deviation of the absolute value sequence of the first-order difference sequence;
[0043] The standard deviation of the absolute value sequence is normalized using a normalization function to obtain a value between zero and one, which is the ambient light variation interference level; specifically including:
[0044] Calculate the difference between adjacent data points in the environmental illuminance sampling value sequence to form a first-order difference sequence;
[0045] Take the absolute value of each difference in the first-order difference sequence to obtain an absolute value sequence;
[0046] Calculate the standard deviation of all values in the absolute value sequence, where the standard deviation is the square root of the average of the squares of the differences between each value and the mean;
[0047] The standard deviation is input into a preset normalization function, which maps the standard deviation to a value between zero and one, and serves as the ambient light variation interference level.
[0048] Preferably, the step of determining the compensation factor for the display parameters is implemented in the following manner:
[0049] Establish a weighted sum model of the absolute value of the dynamic display brightness correction value and the ambient light change interference degree;
[0050] The output of the weighted sum model is input into a predefined saturated nonlinear function;
[0051] The output value of the saturated nonlinear function is limited to a fixed positive number range, and the output value is the compensation factor.
[0052] Preferably, the step of fusing the compensation factor with the original driving parameters of the electronic price tag display unit to obtain the integrated and adjusted display driving parameters specifically involves:
[0053] Obtain the original driving parameters of the electronic price tag display unit under the current display content, wherein the original driving parameters include at least voltage amplitude parameters and pulse width parameters;
[0054] The compensation factor is multiplied by the voltage amplitude parameter and the pulse width parameter, respectively;
[0055] The results of multiplication are used as the new voltage amplitude parameter and the new pulse width parameter, respectively, which together constitute the integrated and adjusted display driving parameters.
[0056] Preferably, the step of generating control commands and sending them to the driver of the electronic price tag display unit includes:
[0057] The new voltage amplitude parameter and the new pulse width parameter in the integrated and adjusted display driver parameters are encapsulated according to the data format specified by the driver to form a data packet;
[0058] The encapsulated data packet is sent to the designated driver of the electronic price tag display unit via the internal communication bus of the electronic price tag system.
[0059] Preferably, the step of establishing a weighted sum model of the absolute value of the dynamic display brightness correction value and the ambient light change interference degree includes:
[0060] Obtain the absolute value of the dynamic display brightness correction value;
[0061] Weighting coefficients are assigned to the absolute value of the dynamic display brightness correction value and the ambient light change interference, respectively, and the weighting coefficients are determined based on historical data or preset rules.
[0062] The absolute value of the dynamic display brightness correction value is multiplied by the first weighting coefficient to obtain the first weighted value;
[0063] Multiply the ambient light change interference by the second weighting coefficient to obtain the second weighted value;
[0064] The first weighted value and the second weighted value are added together to obtain the output of the weighted sum model.
[0065] Compared with the prior art, the beneficial effects of the present invention are:
[0066] By analyzing the recent change patterns of the calibrated display brightness sampling value sequence, and based on these patterns, a real-time, non-linear adaptive scaling of the base display brightness correction value obtained according to the ambient light condition category is performed to generate a dynamic display brightness correction value. This avoids the problem of brightness adjustment commands being out of sync with the actual brightness changes of the display unit caused by directly using fixed correction values. The scaling process correlates the amplitude of the brightness adjustment command with the current trend of the display brightness itself, thus producing a smoother and more seamless brightness transition effect when ambient light conditions change. It suppresses overshoot, oscillation, or visual flicker that may occur due to direct jumps to the target brightness, improving viewing continuity and comfort.
[0067] The system calculates the ambient light variation interference by analyzing the statistical characteristics of the ambient illuminance sampling value sequence within a specific time window, and uses this quantitative indicator as a key input to determine the compensation factor for the final display parameters. This allows the system to intelligently identify whether the ambient light is in a relatively stable state or in a state of drastic and rapid fluctuation. In a stable state, the system can actively optimize brightness based on the dynamic display brightness correction value; while in a high-interference state, the system can suppress or delay adjustment decisions based on the compensation factor. This gives the system the ability to distinguish between long-term trends in ambient light and short-term instantaneous interference, thereby reducing meaningless and frequent adjustments to screen brightness caused by instantaneous changes in light and shadow while ensuring basic visibility adjustment needs. This enhances the anti-interference capability and overall stability of the display output in real complex lighting scenarios. Attached Figure Description
[0068] Figure 1 This is a schematic diagram illustrating the working principle of the display control method for the electronic price tag system described in this invention.
[0069] Figure 2 A correlation analysis diagram of two indicators for the lighting status identification stage of an electronic price tag system;
[0070] Figure 3 A dynamic change graph of multiple indicators during the parameter compensation phase of the electronic price tag system;
[0071] Figure 4 A flowchart for generating dynamic display brightness correction values;
[0072] Figure 5 A flowchart for determining the compensation factor. Detailed Implementation
[0073] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0074] Please see Figure 1 This invention provides a display control method for an electronic price tag system. The method includes: acquiring optical sensing data of the electronic price tag display unit, which includes a real-time display brightness sequence and an ambient illuminance sequence; performing synchronous filtering and alignment processing on the real-time display brightness sequence and the ambient illuminance sequence to obtain a calibrated display brightness sampling value sequence and an ambient illuminance sampling value sequence; performing an ambient lighting state identification operation based on the ambient illuminance sampling value sequence to generate a current ambient lighting state category; and obtaining a basic display brightness correction value under the current ambient lighting state category from a preset correspondence relationship according to the current ambient lighting state category; and finally... Based on the recent change patterns of the calibrated display brightness sampling value sequence, the basic display brightness correction value is adaptively scaled to generate a dynamic display brightness correction value; based on the statistical characteristics of the ambient light sampling value sequence within a specific time window, the ambient light change interference degree is calculated; based on the dynamic display brightness correction value and the ambient light change interference degree, a compensation factor for the display parameters is determined; the compensation factor is fused with the original driving parameters of the electronic price tag display unit to obtain the integrated and adjusted display driving parameters; based on the integrated and adjusted display driving parameters, a control command is generated and sent to the driver of the electronic price tag display unit.
[0075] Example 1: The real-time display brightness sequence is smoothed using a sliding window mean filter to eliminate high-frequency noise. This process includes setting the size of the sliding window to a fixed value, moving the sliding window point by point on the real-time display brightness sequence; for each window position, calculating the arithmetic mean of all data points within the window, and replacing the value of the window center point with the arithmetic mean; repeating the moving and calculation process until the entire sequence is processed to obtain the smoothed real-time display brightness sequence. The ambient illuminance sequence is smoothed using a timestamp-based weighted average filter to reduce the impact of instantaneous fluctuations. The smoothed real-time display brightness sequence and the ambient illuminance sequence are matched and resampled at a unified sampling time point to ensure complete alignment of the two sequences in the time dimension. The time-aligned sequences are used as the calibrated display brightness sample value sequence and the ambient illuminance sample value sequence, respectively.
[0076] In practice, a sliding window mean filter is used to smooth the real-time display brightness sequence. The size of the sliding window is set to a fixed value, for example, containing five consecutive sampling points. The sliding window moves point by point on the real-time display brightness sequence. For each window position, the arithmetic mean of all data points within the window is calculated, and this arithmetic mean replaces the original value of the window's center point. This moving and calculation process is repeated until the entire real-time display brightness sequence is traversed, thereby eliminating high-frequency noise in the sequence and obtaining a smoothed real-time display brightness sequence. It can be understood that when using a sliding window mean filter to smooth the real-time display brightness sequence, the calculation of the arithmetic mean can be expressed by the following formula:
[0077]
[0078] in: Indicates at a point in time The smoothed display brightness value This represents the first value in the original real-time display brightness sequence. The brightness value of each sampling point The size of the sliding window is a predefined fixed odd number. This represents the floor operation.
[0079] In practice, the smoothing of the ambient illuminance sequence employs a timestamp-based weighted average filter. For each ambient illuminance sampling point, different weights are assigned based on the proximity of the timestamps of its neighboring sampling points; sampling points closer to the current point are assigned higher weights. The ratio of the sum of these weighted sampling values to the sum of the total weights is calculated, and this ratio is used to replace the original value of the current sampling point. This process reduces the impact of instantaneous fluctuations in the ambient illuminance sequence. The weight allocation in the weighted average filter can use a Gaussian function weight distribution centered on the current time point. The real-time display brightness sequence and the ambient illuminance sequence, after the above independent smoothing processes, are then integrated. In practice, data point matching and resampling are performed on the two sequences according to a unified sampling time point. If a sequence lacks a precisely corresponding sampling value at the target time point, a linear interpolation method is used to calculate an estimated value based on the neighboring sampling points in that sequence. This ensures that the smoothed real-time display brightness sequence and the ambient illuminance sequence have completely consistent sampling points and timestamps in the time dimension, achieving complete alignment in the time dimension. In practice, the time-aligned sequences are output separately as calibrated display brightness sample value sequences and ambient illuminance sample value sequences for use in subsequent processes.
[0080] See Figure 2This is a dual-indicator correlation analysis chart for the lighting status identification stage of an electronic price tag system. It displays the frequency of occurrence of different ambient lighting statuses and their corresponding basic brightness correction values, serving as one of the core bases for dynamic brightness adjustment. Frequency of occurrence: "Medium light stable" occurs most frequently (approximately 200 times), representing the most common lighting scenario; "High light fluctuation" occurs least frequently (approximately 70 times), indicating a low scenario proportion. Basic brightness correction values: "Low light fluctuation" (≈1.0) > "Medium light fluctuation" (≈0.9) > "Low light stable" (≈0.8), reflecting the logic that "fluctuating scenarios require higher brightness correction"; while in stable scenarios, the stronger the light, the lower the correction value (High light stable ≈0.4 < Medium light stable ≈0.6 < Low light stable ≈0.8), conforming to the display control requirement that "the stronger the ambient light, the lower the price tag display brightness can be appropriately reduced." This chart is used for prioritizing brightness correction strategies, prioritizing the optimization of correction accuracy for frequently occurring scenarios (such as medium light stability), while matching correction value logic for different scenarios to ensure a balance between display clarity and energy consumption for price tags under various lighting conditions.
[0081] Example 2: When performing ambient light state identification, the mean, variance, and difference between the maximum and minimum values of the ambient illuminance sample value sequence within a complete identification period are first calculated. This calculation process includes acquiring all ambient illuminance sample values within the complete identification period to form a data set; calculating the average of all values in the data set as the mean; calculating the average of the squares of the differences between each value and the mean as the variance; identifying the maximum and minimum values in the data set and calculating the arithmetic difference between the maximum and minimum values as the difference. Next, the mean is compared with multiple preset light intensity threshold ranges to initially determine the basic light intensity level; the variance and the difference between the maximum and minimum values are compared with corresponding preset volatility thresholds to determine the stability of the ambient light. Finally, the basic light intensity level and the stability of the ambient light are combined and mapped to one of multiple predefined discrete ambient light state categories as the current ambient light state category. The preset mapping relationship is a lookup table, which defines the mapping relationship between each ambient lighting state category and a specific numerical base display brightness correction value. The operation of retrieving the base display brightness correction value under the current ambient lighting state category from the preset mapping relationship is to query the lookup table and output the value that uniquely corresponds to the current ambient lighting state category. This value is the base display brightness correction value.
[0082] In specific implementation, all environmental illuminance sample values within the complete identification period are acquired and constituted into a dataset. The average of all values in the dataset is calculated as the mean. The average of the squares of the differences between each value and the mean is calculated as the variance. The maximum and minimum values in the dataset are identified, and the arithmetic difference between the maximum and minimum values is calculated as the variance. In some embodiments, the variance can be explicitly defined by the following formula:
[0083]
[0084] in: This represents the calculated variance. This represents the total number of ambient illuminance samples within the complete identification period. Represents the first in the data set A sample value of ambient illuminance, This represents the arithmetic mean of all ambient light intensity samples in the dataset. It can be understood that the mean, variance, and the difference between the maximum and minimum values are fundamental numerical values for quantifying ambient light intensity levels and their fluctuations.
[0085] In practice, the ambient light state identification operation requires comparing and mapping the calculated statistical characteristics with preset thresholds. The mean is compared with multiple preset light intensity threshold ranges, each corresponding to a basic light intensity level. The basic light intensity level is initially determined based on the threshold range the mean falls into. The variance and the difference between the maximum and minimum values are compared with corresponding preset volatility thresholds, which are used to distinguish the stability of ambient light. Finally, the combined result of the basic light intensity level and the stability of ambient light is mapped to one of several predefined discrete ambient light state categories.
[0086] In practice, the base display brightness correction value is obtained based on the current ambient lighting condition category by querying a preset mapping. This preset mapping is a lookup table, which defines the mapping between each ambient lighting condition category and a specific numerical base display brightness correction value. For example, the ambient lighting condition category "bright and stable" maps to the base display brightness correction value "-5". The operation of retrieving the base display brightness correction value from the preset mapping based on the current ambient lighting condition category is equivalent to querying the lookup table. The current ambient lighting condition category is input as the index, and the output value uniquely corresponding to the current ambient lighting condition category is the base display brightness correction value.
[0087] See Figure 3This is a dynamic chart showing the changes in multiple indicators during the parameter compensation phase of an electronic price tag system. It illustrates the adjustment relationship between the compensation factor and display driving parameters across different identification cycles, reflecting the dynamic adaptation logic of display control. The compensation factor fluctuates with the identification cycle, reflecting the adjustment requirements of display parameters due to changes in ambient light. The driving parameter correlation shows a positive correlation between the adjusted voltage amplitude and pulse width and the compensation factor, while the original parameters remain stable, demonstrating the core logic of "dynamic adjustment of parameters driven by the compensation factor." The parameter synergy is evident in the highly consistent trends of the adjusted voltage amplitude and pulse width, ensuring the coordination of display brightness adjustments. This chart is used to verify the effectiveness of the display control strategy. By observing the linkage between the compensation factor and driving parameters, it ensures accurate adaptation of price tag display brightness under different lighting scenarios, while maintaining the stability and synergy of parameter adjustments.
[0088] Example 3: See Figure 4 The basic display brightness correction value is adaptively scaled based on the recent change pattern of the calibrated display brightness sampling value sequence to generate a dynamic display brightness correction value. This step includes extracting the most recent subsequence of a preset length from the calibrated display brightness sampling value sequence; calculating the linear trend slope of the subsequence, which characterizes the direction and rate of recent display brightness changes; multiplying the basic display brightness correction value by a scaling factor, wherein the value of the scaling factor is positively correlated with the absolute value of the linear trend slope, and the product is used as the dynamic display brightness correction value. The step of calculating the ambient light change interference degree includes calculating the first-order difference sequence of the ambient illuminance sampling value sequence within the specific time window; calculating the standard deviation of the absolute value sequence of the first-order difference sequence; and processing the standard deviation of the absolute value sequence through a normalization function to obtain a value between zero and one, which is the ambient light change interference degree. Specifically, the difference between adjacent data points in the ambient illuminance sampling value sequence is calculated to form a first-order difference sequence; the absolute value of each difference in the first-order difference sequence is taken to obtain an absolute value sequence; the standard deviation of all values in the absolute value sequence is calculated, which is the square root of the average of the squares of the differences between each value and the mean; the standard deviation is input into a preset normalization function, which maps the standard deviation to a value between zero and one as the ambient light change interference degree.
[0089] In practice, a subsequence of a preset length is extracted from the calibrated display brightness sampling value sequence. The preset length determines the span of the recent time window of interest. The slope of the linear trend of the subsequence is calculated to characterize the direction and rate of recent display brightness changes. A positive linear trend slope indicates an upward trend in the display brightness sequence, while a negative linear trend slope indicates a downward trend. The linear trend slope can be understood as being obtained by linearly fitting the sampling points in the subsequence to their time indices using the least squares method. In some embodiments, the value of the scaling factor is positively correlated with the absolute value of the linear trend slope. For example, a linear function or lookup table is used to establish a mapping relationship. The base display brightness correction value is multiplied by the scaling factor, and the product is used as the dynamic display brightness correction value. This allows the magnitude of the correction value to adapt to the recent drastic changes in display brightness.
[0090] In practice, the calculation of ambient light variation interference is based on an ambient illuminance sampling value sequence within a specific time window. Within this window, a first-order difference sequence is calculated, consisting of the differences between adjacent data points in the ambient illuminance sampling value sequence. The absolute value of each difference in the first-order difference sequence is taken to obtain an absolute value sequence. The standard deviation of all values in the absolute value sequence is calculated; the standard deviation is the square root of the average of the squares of the differences between each value and its mean. The standard deviation is then input into a preset normalization function, which maps it to a value between zero and one; this value represents the ambient light variation interference. In some embodiments, the formula for calculating the standard deviation is as follows:
[0091]
[0092] in: This represents the calculated standard deviation. This represents the total number of ambient illuminance samples within a specific time window. Represents the first value in the sequence of ambient illuminance sampling values. The value and the first The difference between the values, This represents the absolute value of the difference. This represents the arithmetic mean of all values in the absolute value sequence. It can be understood that the ambient light variation disturbance quantifies the intensity of fluctuations in ambient illuminance within a specific time window; a disturbance value close to one indicates drastic changes in ambient light, while a value close to zero indicates gradual changes. Optionally, the preset normalization function can be linearly scaled, the purpose of which is to map the standard deviation to a fixed, unitless numerical range.
[0093] Example 4: See Figure 5The compensation factor for the display parameters is determined as follows: a weighted sum model is established between the absolute value of the dynamic display brightness correction value and the ambient light change interference; the output of the weighted sum model is input into a predefined saturated nonlinear function; the output value of the saturated nonlinear function is limited to a fixed positive range, and this output value is the compensation factor. The steps of establishing the weighted sum model between the absolute value of the dynamic display brightness correction value and the ambient light change interference include obtaining the absolute value of the dynamic display brightness correction value; assigning weight coefficients to the absolute value of the dynamic display brightness correction value and the ambient light change interference, the weight coefficients being determined based on historical data or preset rules; multiplying the absolute value of the dynamic display brightness correction value by a first weight coefficient to obtain a first weighted value; multiplying the ambient light change interference by a second weight coefficient to obtain a second weighted value; and adding the first weighted value and the second weighted value to obtain the output of the weighted sum model.
[0094] In specific implementation, the absolute value of the dynamic display brightness correction value is obtained, which reflects the baseline range of the required adjustment amount of display brightness. The ambient light change interference degree is obtained; this degree is a value between zero and one, characterizing the drastic degree of ambient light change. A weighted sum model of the absolute value of the dynamic display brightness correction value and the ambient light change interference degree is established, and weight coefficients are assigned to both the absolute value of the dynamic display brightness correction value and the ambient light change interference degree. These weight coefficients are determined based on historical data or preset rules. In some embodiments, different ambient light state categories may correspond to different preset weight coefficient combinations; see Table 1 for an exemplary preset weight coefficient rule.
[0095] Table 1: Preset Weighting Coefficients for Different Ambient Lighting Conditions
[0096]
[0097] It can be understood that the weighting coefficients determine the proportion of influence of the absolute value of the dynamic display brightness correction and the ambient light change interference on the final output. Multiplying the absolute value of the dynamic display brightness correction by the first weighting coefficient yields the first weighted value. Multiplying the ambient light change interference by the second weighting coefficient yields the second weighted value. Adding the first and second weighted values gives the output of the weighted sum model. The calculation of the weighted sum model can be expressed by the following formula:
[0098]
[0099] in: This represents the output of the weighted sum model. This represents the absolute value of the dynamic display brightness correction value. Indicates the degree of interference from changes in ambient light. This represents the first weighting coefficient. This represents the second weighting coefficient. In practice, the output of the weighted sum model is input into a predefined saturated nonlinear function. The saturated nonlinear function maps the input value to a fixed positive interval, such as [0.5, 2.0]. The output value of the saturated nonlinear function is confined to this fixed positive interval, and this output value is the final determined compensation factor. Optionally, the saturated nonlinear function can be implemented using a piecewise linear function. Its purpose is to prevent the output of the weighted sum model from causing the compensation factor to be too large or too small in extreme cases, ensuring the stability of the display parameter adjustment.
[0100] Example 5: The specific steps for fusing the compensation factor with the original driving parameters of the electronic price tag display unit to obtain the integrated and adjusted display driving parameters are as follows: Obtain the original driving parameters of the electronic price tag display unit under the current display content, the original driving parameters including at least a voltage amplitude parameter and a pulse width parameter; multiply the compensation factor by the voltage amplitude parameter and the pulse width parameter respectively; use the results of the multiplication as the new voltage amplitude parameter and the new pulse width parameter respectively, which together constitute the integrated and adjusted display driving parameters. The step of generating control commands and sending them to the driver of the electronic price tag display unit includes encapsulating the new voltage amplitude parameter and the new pulse width parameter in the integrated and adjusted display driving parameters according to the data format specified by the driver to form a data packet; sending the encapsulated data packet to the designated driver of the electronic price tag display unit through the internal communication bus of the electronic price tag system.
[0101] In practical implementation, the acquired original driving parameters include at least voltage amplitude parameters and pulse width parameters. The voltage amplitude parameter determines the magnitude of the voltage applied to the display unit, and the pulse width parameter determines the effective duration of the driving signal within one cycle. The original driving parameters may also include other parameters related to waveform and frequency. These parameters together constitute the basic instruction set for driving the electronic price tag display unit. In practical implementation, the compensation factor is fused with the original driving parameters of the electronic price tag display unit. Specifically, the compensation factor is multiplied by both the voltage amplitude parameter and the pulse width parameter. The result of multiplying the compensation factor by the voltage amplitude parameter is used as the new voltage amplitude parameter, and the result of multiplying the compensation factor by the pulse width parameter is used as the new pulse width parameter. The new voltage amplitude parameter and the new pulse width parameter together constitute the integrated and adjusted display driving parameters. The fusion calculation process can be expressed by the following formula:
[0102]
[0103] in: This indicates the new voltage amplitude parameter. This indicates the new pulse width parameter. Indicates the compensation factor. This represents the original voltage amplitude parameter. This represents the original pulse width parameter. The compensation factor, acting as a uniform scaling factor, proportionally adjusts the key dimensions of the original driving parameters, thereby achieving fine-grained control over display brightness. Optionally, when the original driving parameters contain more dimensions, the compensation factor can be applied to each parameter dimension that needs adjustment with the same or different weights.
[0104] In practical implementation, the step of generating control commands and sending them to the driver of the electronic price tag display unit requires converting the integrated and adjusted display drive parameters into a command format recognizable by the driver. The new voltage amplitude parameters and new pulse width parameters from the integrated and adjusted display drive parameters are encapsulated into data packets according to the data format specified by the driver. The data format specified by the driver defines the arrangement order, byte length, and encoding method of each parameter in the data packet. In some embodiments, the data packet format may include a start flag, parameter data area, checksum, and end flag. The encapsulated data packet is sent to the driver of the designated electronic price tag display unit via the internal communication bus of the electronic price tag system. The internal communication bus can be an I2C bus, an SPI bus, or a custom serial bus. It can be understood that the encapsulation of the data packet ensures the integrity and accuracy of the drive parameter information transmission, while sending it via the internal communication bus enables reliable transmission of control commands from the main control unit to the specific display unit driver.
[0105] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.
[0106] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A display control method for an electronic price tag system, characterized in that, Perform the following steps: The optical sensing data of the electronic price tag display unit is collected, and the optical sensing data includes a real-time display brightness sequence and an ambient illuminance sequence; The real-time display brightness sequence and ambient illuminance sequence are synchronously filtered and aligned to obtain calibrated display brightness sample value sequence and ambient illuminance sample value sequence; Based on the environmental illuminance sampling value sequence, an environmental lighting state identification operation is performed to generate the current environmental lighting state category; Based on the current ambient lighting status category, obtain the basic display brightness correction value under the ambient lighting status category from the preset correspondence; Based on the recent change patterns of the calibrated display brightness sample value sequence, the base display brightness correction value is adaptively scaled to generate a dynamic display brightness correction value; Based on the statistical characteristics of the environmental illuminance sampling value sequence within a specific time window, the ambient light change interference degree is calculated. Based on the dynamic display brightness correction value and the ambient light change interference, a compensation factor for the display parameters is determined; The compensation factor is fused with the original driving parameters of the electronic price tag display unit to obtain the integrated and adjusted display driving parameters; Based on the integrated and adjusted display driving parameters, control commands are generated and sent to the driver of the electronic price tag display unit.
2. The display control method for an electronic price tag system as described in claim 1, characterized in that, The step of synchronously filtering and aligning the real-time display brightness sequence and ambient illuminance sequence to obtain the calibrated display brightness sample value sequence and ambient illuminance sample value sequence includes: The real-time display brightness sequence is smoothed using a sliding window mean filter to eliminate high-frequency noise; The environmental illuminance sequence is smoothed using a timestamp-based weighted average filter to reduce the impact of instantaneous fluctuations. The smoothed real-time display brightness sequence and the ambient illuminance sequence are matched and resampled at a unified sampling time point to ensure that the two sequences are completely aligned in the time dimension. The time-aligned sequences are used as the calibrated display brightness sampling value sequence and the ambient illuminance sampling value sequence, respectively. The step of smoothing the real-time display brightness sequence using a sliding window mean filter to eliminate high-frequency noise includes: The size of the sliding window is set to a fixed value, and the sliding window moves point by point on the real-time display brightness sequence; For each window position, calculate the arithmetic mean of all data points within the window, and replace the value of the window center point with the arithmetic mean. Repeat the movement and calculation process until the entire sequence is processed, resulting in a smoothed real-time display brightness sequence.
3. The display control method for an electronic price tag system as described in claim 1, characterized in that, The step of performing the ambient lighting state identification operation and generating the current ambient lighting state category includes: Calculate the mean, variance, and difference between the maximum and minimum values of the environmental illuminance sampling value sequence within a complete identification period; The average value is compared with a preset range of light intensity thresholds to preliminarily determine the basic light intensity level; The variance and the difference between the maximum and minimum values are compared with the corresponding preset volatility thresholds to determine the stability of the ambient light. The base light intensity level and the stability of the ambient light are combined and mapped to one of a number of predefined discrete ambient light state categories, which is used as the current ambient light state category. The steps for calculating the mean, variance, and difference between the maximum and minimum values of the environmental illuminance sampling value sequence over a complete identification period include: All ambient illuminance sample values within the complete identification period are obtained to form a dataset; Calculate the average of all values in the dataset, and use that average as the mean. The average of the squares of the differences between each value and the mean is calculated as the variance; Find the maximum and minimum values in the data set, and calculate the arithmetic difference between the maximum and minimum values as the difference.
4. The display control method for an electronic price tag system as described in claim 3, characterized in that, The preset correspondence is a lookup table, which defines the mapping relationship between each type of ambient lighting state and a specific numerical base display brightness correction value; The operation of obtaining the basic display brightness correction value under the current ambient lighting state category from the preset correspondence is as follows: query the lookup table and output the value that uniquely corresponds to the current ambient lighting state category. The value is the basic display brightness correction value.
5. The display control method for an electronic price tag system as described in claim 4, characterized in that, The step of adaptively scaling the base display brightness correction value based on the recent change pattern of the calibrated display brightness sample value sequence to generate a dynamic display brightness correction value includes: Extract the most recent subsequence of a preset length from the calibrated display brightness sample value sequence; Calculate the linear trend slope of the subsequence, which is used to characterize the direction and rate of change in recent display brightness; The base display brightness correction value is multiplied by a scaling factor, wherein the value of the scaling factor is positively correlated with the absolute value of the slope of the linear trend, and the product is used as the dynamic display brightness correction value.
6. The display control method for an electronic price tag system as described in claim 1, characterized in that, The steps for calculating the ambient light variation interference include: Within the specified time window, calculate the first-order difference sequence of the environmental illuminance sample value sequence; Calculate the standard deviation of the absolute value sequence of the first-order difference sequence; The standard deviation of the absolute value sequence is normalized using a normalization function to obtain a value between zero and one, which is the ambient light variation interference level; specifically including: Calculate the difference between adjacent data points in the environmental illuminance sampling value sequence to form a first-order difference sequence; Take the absolute value of each difference in the first-order difference sequence to obtain an absolute value sequence; Calculate the standard deviation of all values in the absolute value sequence, where the standard deviation is the square root of the average of the squares of the differences between each value and the mean; The standard deviation is input into a preset normalization function, which maps the standard deviation to a value between zero and one, and serves as the ambient light variation interference level.
7. The display control method for an electronic price tag system as described in claim 6, characterized in that, The step of determining the compensation factor for the display parameters is implemented in the following way: Establish a weighted sum model of the absolute value of the dynamic display brightness correction value and the ambient light change interference degree; The output of the weighted sum model is input into a predefined saturated nonlinear function; The output value of the saturated nonlinear function is limited to a fixed positive number range, and the output value is the compensation factor.
8. The display control method for an electronic price tag system as described in claim 1, characterized in that, The step of fusing the compensation factor with the original driving parameters of the electronic price tag display unit to obtain the integrated and adjusted display driving parameters is as follows: Obtain the original driving parameters of the electronic price tag display unit under the current display content, wherein the original driving parameters include at least voltage amplitude parameters and pulse width parameters; The compensation factor is multiplied by the voltage amplitude parameter and the pulse width parameter, respectively; The results of multiplication are used as the new voltage amplitude parameter and the new pulse width parameter, respectively, which together constitute the integrated and adjusted display driving parameters.
9. The display control method for an electronic price tag system as described in claim 8, characterized in that, The step of generating control commands and sending them to the driver of the electronic price tag display unit includes: The new voltage amplitude parameter and the new pulse width parameter in the integrated and adjusted display driver parameters are encapsulated according to the data format specified by the driver to form a data packet; The encapsulated data packet is sent to the designated driver of the electronic price tag display unit via the internal communication bus of the electronic price tag system.
10. The display control method for an electronic price tag system as described in claim 7, characterized in that, The step of establishing a weighted sum model of the absolute value of the dynamic display brightness correction value and the ambient light change interference degree includes: Obtain the absolute value of the dynamic display brightness correction value; Weighting coefficients are assigned to the absolute value of the dynamic display brightness correction value and the ambient light change interference, respectively, and the weighting coefficients are determined based on historical data or preset rules. The absolute value of the dynamic display brightness correction value is multiplied by the first weighting coefficient to obtain the first weighted value; Multiply the ambient light change interference by the second weighting coefficient to obtain the second weighted value; The first weighted value and the second weighted value are added together to obtain the output of the weighted sum model.