Traffic display screen control method and device, electronic equipment and storage medium
By adjusting the display status and brightness of traffic displays based on mosquito density, the problem of mosquitoes obstructing the displays has been solved, ensuring clear traffic safety without the use of harmful ultraviolet lamps.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- YAHAM OPTOELECTRONICS (FUJIAN) CO LTD
- Filing Date
- 2025-06-18
- Publication Date
- 2026-06-30
Smart Images

Figure CN120319166B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of edge computing technology, and more specifically to a control method, device, electronic device, and storage medium for a traffic display screen. Background Technology
[0002] With the development of smart cities, traffic display screens have been widely adopted on urban roads. These screens can range from basic traffic lights to large displays capable of showing complex information. They can guide vehicles by displaying dynamic arrows, text prompts, and icons. In practice, traffic display screens are often deployed outdoors. As artificial light sources, they attract insects, especially in the summer evenings. Large numbers of insects often gather in front of these screens, sometimes obstructing their view and making it difficult for drivers to see the images, thus seriously affecting traffic safety.
[0003] Currently, to address the issue of traffic display screens attracting mosquitoes, existing technologies typically involve installing ultraviolet (UV) lamps around the screens to lure and kill the insects. The UV lamps draw mosquitoes away from the display screens, reducing their concentration.
[0004] However, on the one hand, the ultraviolet rays emitted by ultraviolet lamps are harmful to human eyes and may damage the vision of pedestrians and drivers; on the other hand, this method cannot fundamentally reduce the attraction of traffic display screens to mosquitoes. When there are many mosquitoes, a large number of mosquitoes will still gather in front of the display screen, causing the display pattern of the traffic display screen to be blocked, making it difficult for drivers to see the display pattern, thus seriously affecting traffic safety. Summary of the Invention
[0005] To address the shortcomings of existing technologies, this application provides a control method, device, electronic device, and storage medium for a traffic display screen. The method determines whether the electronic ink screen needs to be switched from a transparent to a non-transparent display state based on mosquito density. When it is determined that the electronic ink screen needs to be switched from a transparent to a non-transparent display state, a first brightness of the LED display screen and a second brightness of the target light source used to illuminate the electronic ink screen are calculated based on mosquito density, environmental data, and road condition data. A first driving current is then used to control the LED display screen to display the target pattern. The second driving current controls the target light source to illuminate the portion of the electronic ink screen displaying the target pattern. This reduces the brightness of the LED display screen when mosquito density is high, thereby reducing the mosquito density around the display module. This prevents mosquitoes from obscuring the display module without the need to use ultraviolet lamps that are harmful to the human eye to attract mosquitoes. Simultaneously, illuminating the target pattern portion of the electronic ink screen with the target light source ensures that the display module clearly displays the target pattern, thus enhancing traffic safety.
[0006] To address the above problems, the present invention provides the following technical solution:
[0007] In a first aspect, embodiments of this application provide a control method for a traffic display screen. The traffic display screen includes a main body and a display module mounted on the main body. The display module includes an LED display screen and an electronic ink screen. The LED display screen and the electronic ink screen are stacked together, and the electronic ink screen can be in a transparent display state.
[0008] The control method for the traffic display screen includes:
[0009] Acquire environmental and road condition data from sensor networks;
[0010] The mosquito density is calculated based on the environmental data and the road condition data, including the preset area range of the traffic display screen.
[0011] Based on the mosquito density, determine whether the e-ink screen needs to be switched from a transparent display state to a non-transparent display state;
[0012] When it is determined that the e-ink screen needs to be switched from a transparent display state to a non-transparent display state, a first brightness of the LED display screen and a second brightness of the target light source used to illuminate the e-ink screen are calculated based on the mosquito density, the environmental data, and the road condition data; wherein, the first brightness is less than the current brightness of the LED display screen;
[0013] Calculate the first driving current corresponding to the first brightness and the second driving current corresponding to the second brightness;
[0014] The first driving current is used to control the LED display screen to display the target pattern, and the second driving current is used to control the target light source to illuminate the portion of the target pattern displayed on the electronic ink screen.
[0015] In some embodiments, the environmental data includes environmental images, ambient temperature, ambient humidity, ambient wind speed, atmospheric pressure, weather type, and light intensity; the road condition data includes traffic flow; and the calculation of mosquito density within a preset area of the traffic display screen based on the environmental data and the road condition data includes:
[0016] Calculate optical flow data between adjacent environmental images based on multiple frames of the environmental images;
[0017] The number of mosquitoes is calculated based on the optical flow data;
[0018] The basic mosquito density is calculated based on the area covered by the environmental image and the number of mosquitoes.
[0019] The ambient temperature, ambient humidity, ambient wind speed, atmospheric pressure, weather type, and light intensity are standardized to obtain standardized ambient temperature parameters, ambient humidity parameters, ambient wind speed parameters, atmospheric pressure parameters, weather type influence parameters, and light intensity parameters.
[0020] The first coefficient corresponding to the environmental factors is calculated based on the environmental temperature parameter, the environmental humidity parameter, the environmental wind speed parameter, the atmospheric pressure parameter, the weather type influence parameter, and the light intensity parameter;
[0021] Calculate the second coefficient corresponding to the road condition factors based on the traffic flow;
[0022] The mosquito density, including the preset area range of the traffic display screen, is calculated based on the first coefficient corresponding to the environmental factors, the second coefficient corresponding to the road condition factors, the basic mosquito density, and the preset function formula.
[0023] In some implementations, the second coefficient corresponding to the road condition factors calculated based on the traffic flow includes:
[0024] Calculate the value of the headlight influence function based on the traffic flow and the light intensity;
[0025] The value of the exhaust gas influence function is calculated based on the traffic flow, wherein the exhaust gas influence function is a non-linear function and includes an exhaust gas influence enhancement coefficient;
[0026] The second coefficient corresponding to the road condition factor is calculated based on the values of the headlight influence function and the exhaust gas influence function.
[0027] In some embodiments, when it is determined that the e-ink screen needs to be switched from a transparent display state to a non-transparent display state, calculating the first brightness of the LED display screen and the second brightness of the target light source for illuminating the e-ink screen based on the mosquito density, the environmental data, and the road condition data includes:
[0028] The first brightness of the LED display screen is calculated based on the mosquito density and the light intensity in the environmental data.
[0029] The standard brightness of the traffic display screen is determined based on the weather type in the environmental data.
[0030] When the first brightness is greater than the standard brightness, the second brightness is determined to be 0;
[0031] When the first brightness is not greater than the standard brightness, the second brightness is calculated based on the optimal reflectance of the electronic ink screen and the light source efficiency conversion coefficient.
[0032] In some embodiments, calculating the second brightness based on the optimal reflectance and light source efficiency conversion factor of the electronic ink screen when the first brightness is not greater than the standard brightness includes:
[0033] When the first brightness is not greater than the standard brightness, the difference between the optimal reflected illuminance and the standard brightness is divided by the light source efficiency conversion coefficient to obtain the second brightness.
[0034] In some embodiments, calculating the first driving current corresponding to the first brightness and the second driving current corresponding to the second brightness includes:
[0035] The first driving current corresponding to the first brightness is calculated according to a preset first correspondence function between the first brightness and the first driving current; and the second driving current corresponding to the second brightness is calculated according to a preset second correspondence function between the second brightness and the second driving current; or
[0036] Based on the preset refresh time of the e-ink screen, the current driving current of the LED display screen, and the first correspondence function, multiple values of the first driving current are calculated to cause the LED display screen to gradually switch to the first brightness within the refresh time. Based on the refresh time, the current driving current of the target light source, and the second correspondence function, multiple values of the second driving current are calculated to cause the target light source to gradually switch to the second brightness within the refresh time.
[0037] In some embodiments, the method of using a first driving current to control the LED display screen for display, controlling the electronic ink screen to display the target pattern, and using a second driving current to control the target light source to illuminate the portion of the electronic ink screen displaying the target pattern includes:
[0038] When the current pattern displayed on the e-ink screen is different from the color of the target pattern, the LED display screen is controlled by the first driving current according to the refresh time of the e-ink screen to display, wherein the color of the LED display screen and the color of the current pattern are mixed to form the color of the target pattern;
[0039] Control the entire e-ink screen to refresh and display the target pattern;
[0040] The second driving current is used to control the target light source to illuminate the portion of the electronic ink screen displaying the target pattern.
[0041] Secondly, this application provides a control device for a traffic display screen. The traffic display screen includes a main body and a display module mounted on the main body. The display module includes an LED display screen and an electronic ink screen. The LED display screen and the electronic ink screen are stacked together. The electronic ink screen can be in a transparent display state.
[0042] The control device for the traffic display screen includes:
[0043] The acquisition module is used to acquire environmental and road condition data from the sensor network.
[0044] The calculation module is used to calculate the mosquito density within a preset area, including the traffic display screen, based on the environmental data and the road condition data.
[0045] Based on the mosquito density, determine whether the e-ink screen needs to be switched from a transparent display state to a non-transparent display state;
[0046] When it is determined that the e-ink screen needs to be switched from a transparent display state to a non-transparent display state, a first brightness of the LED display screen and a second brightness of the target light source used to illuminate the e-ink screen are calculated based on the mosquito density, the environmental data, and the road condition data; wherein, the first brightness is less than the current brightness of the LED display screen;
[0047] Calculate the first driving current corresponding to the first brightness and the second driving current corresponding to the second brightness;
[0048] The control module is used to control the LED display screen to display using the first driving current, control the electronic ink screen to display a target pattern, and use the second driving current to control the target light source to illuminate the portion of the electronic ink screen displaying the target pattern.
[0049] Thirdly, embodiments of this application provide an electronic device, the electronic device comprising:
[0050] At least one processor; and,
[0051] A memory communicatively connected to the at least one processor; wherein,
[0052] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the traffic display control method as described in the first aspect.
[0053] This application provides a control method, device, electronic device, and storage medium for a traffic display screen. This application determines whether an electronic ink screen needs to be switched from a transparent to a non-transparent display state based on mosquito density. When it is determined that the electronic ink screen needs to be switched from a transparent to a non-transparent display state, a first brightness of the LED display screen and a second brightness of the target light source used to illuminate the electronic ink screen are calculated based on mosquito density, environmental data, and road condition data. Then, a first driving current is used to control the LED display screen to display the target pattern, and the second driving current is used to control the target light source to illuminate the portion of the electronic ink screen displaying the target pattern. This can reduce the brightness of the LED display screen when the mosquito density is high, thereby reducing the mosquito density around the display module. Therefore, without using ultraviolet lamps that are harmful to the human eye to attract mosquitoes, mosquitoes will not obstruct the display module. Simultaneously, illuminating the portion of the electronic ink screen displaying the target pattern with the target light source ensures that the display module clearly displays the target pattern, thus enhancing traffic safety. Attached Figure Description
[0054] Figure 1 This is a flowchart illustrating the control method for a traffic display screen provided in an embodiment of this application.
[0055] Figure 2 yes Figure 1 A detailed flowchart of step S200.
[0056] Figure 3 This is a schematic diagram of the structure of the control device for the traffic display screen provided in the embodiments of this application.
[0057] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0058] Figure 5 This is a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. Detailed Implementation
[0059] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0060] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "multiple" means two or more, unless otherwise explicitly specified.
[0061] This application provides a control method, device, electronic device, and storage medium for a traffic display screen. It determines whether an electronic ink screen needs to be switched from a transparent to a non-transparent display state based on mosquito density. When the switch is deemed necessary, a first brightness of the LED display screen and a second brightness of the target light source used to illuminate the electronic ink screen are calculated based on mosquito density, environmental data, and road condition data. A first driving current is then used to control the LED display screen to display a target pattern. The second driving current controls the target light source to illuminate the portion of the target pattern displayed on the electronic ink screen. This reduces the brightness of the LED display screen when mosquito density is high, thereby reducing mosquito density around the display module. This prevents mosquitoes from obscuring the display module without the need for harmful ultraviolet lamps to attract mosquitoes. Furthermore, illuminating the target pattern portion of the electronic ink screen with the target light source ensures clear display of the target pattern, enhancing traffic safety.
[0062] In some embodiments, the traffic display screen includes a main body and a display module mounted on the main body. The display module includes an LED display screen and an e-ink screen. The LED display screen and the e-ink screen are stacked together.
[0063] Alternatively, the LED display screen can be in a transparent display state.
[0064] Alternatively, when the LED display screen can be in a transparent display state, the LED display screen can be a flexible LED film screen, an optoelectronic glass screen, or a crystal film screen, etc.
[0065] Optionally, the e-ink screen can be in a transparent display state.
[0066] E-ink displays are a type of reflective display screen composed of millions of tiny capsules. In a monochrome E-ink display, each capsule contains positively charged white particles and negatively charged black particles, all encased in a transparent liquid. When the screen is powered on, the movement of the capsules can be controlled by the direction of the electric field, thus displaying different shades of gray on the screen.
[0067] Currently, existing e-ink displays include monochrome and color e-ink displays. Transparent e-ink displays also exist. A transparent e-ink display comprises a top transparent electrode layer, multiple transparent microcapsules, a bottom transparent electrode layer, a transparent substrate, and multiple electrode grids. By making the substrate transparent and placing multiple electrode grids between the transparent microcapsules, when the e-ink display is turned off, a voltage is applied to the electrode grids, causing the black and white particles of the transparent microcapsules to adhere to their respective electrode grids. This makes the transparent microcapsules transparent, thus making the e-ink display transparent.
[0068] E-ink displays do not emit light themselves; they rely on reflecting ambient light to display images. The stronger the ambient light, the more light the e-ink display reflects, resulting in a clearer image. Therefore, its display performance under strong light is superior to that of LED displays. Furthermore, e-ink displays have a wide viewing angle, providing a clear, color-distortion-free image from almost any viewing angle.
[0069] Alternatively, the LED display screen can be located on the display surface of the display module. Or, the e-ink screen can be located on the display surface of the display module.
[0070] Optionally, when the e-ink screen displays the target pattern, the LED display screen may not display the pattern in the corresponding display area of the e-ink screen. Optionally, in this case, the LED display screen can be in a transparent display state, or the LED display screen can emit backlight. When the LED display screen emits backlight, it provides backlight for the e-ink screen.
[0071] Optionally, when the LED display screen does not display a pattern in the display area corresponding to the target pattern on the e-ink screen, a pattern can be displayed in areas outside that display area. For example, when the e-ink screen displays a static target pattern, the LED display screen can display a dynamic pattern in areas outside the display area corresponding to the target pattern on the e-ink screen. Furthermore, in this case, the LED display screen may emit only backlight or no light at all in the display area corresponding to the target pattern on the e-ink screen.
[0072] Preferably, the e-ink screen is located on the display surface of the display module. This is because the e-ink screen itself does not emit light; the stronger the ambient light, the more light the e-ink screen reflects, and the clearer the displayed image. When the e-ink screen is located on the display surface of the display module, it can reflect more ambient light. Furthermore, the e-ink screen has a wide viewing angle; a clear, color-distortion-free image can be obtained from almost any viewing angle.
[0073] The control method of the traffic display screen provided in this application will be described in detail below with reference to the accompanying drawings.
[0074] Please see Figure 1 , Figure 1 This is a flowchart illustrating the control method for a traffic display screen provided in an embodiment of this application. Figure 1 As shown, the control method for the traffic display screen includes steps S100 to S600.
[0075] Step S100: Acquire environmental data and road condition data from the sensor network.
[0076] Sensor networks are self-organizing networks composed of distributed sensor nodes that can collect and transmit environmental and road condition data through collaborative sensing, data processing, and communication.
[0077] The traffic display screen of this application may include an Internet of Things (IoT) chip. This IoT chip can acquire environmental and road condition data from a sensor network, and then perform edge computing based on this data. Edge computing is a type of distributed computing, its core being the offloading of computing, storage, and network resources from the cloud center to edge devices closer to the data source for computation, thereby achieving real-time data processing and low-latency response. The traffic display screen of this application can be classified as an edge device.
[0078] In some implementations, environmental data includes environmental images, ambient temperature, ambient humidity, ambient wind speed, atmospheric pressure, weather type, and light intensity. These environmental images, temperatures, humidity, wind speed, atmospheric pressure, weather type, and light intensity can be measured or calculated by devices such as cameras, temperature sensors, humidity sensors, wind speed meters, barometric pressure sensors, weather data edge computing devices, and light intensity sensors deployed within a preset area of the traffic display screen.
[0079] Optionally, traffic data includes traffic flow. Traffic flow refers to the number of vehicles passing through the monitored road per unit of time.
[0080] Optionally, traffic data may also include average vehicle speed.
[0081] Along the roadside, mosquito activity is influenced not only by the environment but also by road conditions. For example, car headlights attract mosquitoes. Air disturbances caused by traffic flow affect mosquito distribution, generally in a negative correlation. Mosquitoes are extremely sensitive to carbon dioxide, and carbon dioxide in car exhaust generally attracts them. Additionally, the higher temperature of car exhaust also attracts mosquitoes. Therefore, step S200 is executed.
[0082] Step S200: Calculate the mosquito density within a preset area, including the traffic display screen, based on environmental and road condition data.
[0083] In some implementations, the mosquito density within a preset area of the traffic display screen is...
[0084] Please see Figure 2 , Figure 2 yes Figure 1 A detailed flowchart of step S200. (See attached diagram.) Figure 2 As shown in some embodiments, step S200 includes steps S210 to S270.
[0085] Step S210: Calculate optical flow data between adjacent environmental images based on multi-frame environmental images.
[0086] Optical flow is the motion vector of pixels in an image between adjacent frames, used to reflect the motion information of objects in a scene. Mosquitoes are moving targets, so optical flow data can be used to distinguish mosquitoes from the background.
[0087] In some implementations, a gradient-based dense optical flow method is used to calculate optical flow across multiple frames of environmental images. Specifically, the brightness conservation equation is solved using pyramid layering and local weighted least squares methods to obtain optical flow data.
[0088] Step S220: Calculate the number of mosquitoes based on optical flow data.
[0089] Mosquitoes exhibit high-frequency, small-amplitude vibrations during flight, and the rate of change of their optical flow vector direction differs significantly from that of the background.
[0090] In some implementations, step S220 includes steps S221 to S222.
[0091] Step S221: Filter the optical flow data to remove background noise and obtain filtered optical flow data.
[0092] Step S222: Cluster the filtered optical flow data to obtain the number of mosquitoes.
[0093] In some implementations, the motion trajectories of all optical flow points with a directional change rate greater than a preset directional change rate are extracted from the filtered optical flow data. Based on the trajectory shape of all motion trajectories, the trajectory similarity is calculated using a dynamic time warping method. The motion trajectories are then clustered according to the trajectory similarity to obtain the number of mosquitoes.
[0094] Step S230: Calculate the basic mosquito density based on the area covered by the environmental image and the number of mosquitoes.
[0095] In some implementations, the area covered by the environmental image can be calculated based on the focal length and pitch angle in the camera calibration parameters.
[0096] Optionally, the area covered by the environmental image can be acquired simultaneously when acquiring the environmental image.
[0097] In some implementations, due to factors such as the high flight speed of mosquitoes, the inability to obtain real-time environmental images, the limited area covered by environmental images, and the inability of cameras to directly capture images of traffic display screens, the calculated baseline mosquito density differs significantly from the actual mosquito density continuously gathering in front of the traffic display screens. Since mosquito gathering is primarily influenced by real-time environmental factors, the mosquito density is further calculated based on other parameters from the environmental data. Here, mosquito density can refer to the average mosquito density over the current time and a subsequent period, including a preset area encompassing the traffic display screen.
[0098] Optionally, the preset area is a circular area centered on the traffic display screen with a preset radius.
[0099] Optionally, the preset radius can be 1 meter (m), 2m or 5m, etc.
[0100] Step S240: Standardize the ambient temperature, ambient humidity, ambient wind speed, atmospheric pressure, weather type, and light intensity to obtain standardized ambient temperature parameters, ambient humidity parameters, ambient wind speed parameters, atmospheric pressure parameters, weather type influence parameters, and light intensity parameters.
[0101] In some implementations, a minimum-maximum standardization method is used, in which the ambient temperature, ambient humidity, ambient wind speed, atmospheric pressure and light intensity are subtracted from their respective minimum standard values, and the difference is then divided by the difference between the corresponding maximum standard value and the minimum standard value to obtain standardized ambient temperature parameters, ambient humidity parameters, ambient wind speed parameters, atmospheric pressure parameters and light intensity parameters.
[0102] In some implementations, the weather type influence parameter is determined based on the value of the influence parameter corresponding to the weather type. For example, the influence parameter corresponding to sunny weather is 0.5, the influence parameter corresponding to cloudy weather is 1, the influence parameter corresponding to rainy weather is 0.3, and the influence parameter corresponding to overcast weather is 0.7.
[0103] Step S250: Calculate the first coefficient corresponding to the environmental factors based on the environmental temperature parameter, environmental humidity parameter, environmental wind speed parameter, atmospheric pressure parameter, weather type influence parameter, and light intensity parameter.
[0104] In some implementations, step S250 includes steps S251 to S256.
[0105] Step S251: Calculate the value of the temperature influence function based on the ambient temperature parameters.
[0106] In some implementations, the value of the temperature effect function is calculated based on the optimal mosquito aggregation temperature parameter and the ambient temperature parameter.
[0107] Optionally, the formula for calculating the temperature effect function is:
[0108] ,
[0109] in, Represents the effect of temperature. Indicates the ambient temperature parameter. This indicates the optimal temperature for mosquito aggregation. for The corresponding calculated coefficients, This represents the temperature influence coefficient corresponding to the current season. Greater than 0.
[0110] Optionally, the optimal aggregation temperature parameters for mosquitoes and the temperature influence coefficient corresponding to the current season can be obtained from the Internet of Things or sensor networks.
[0111] Optionally, the optimal aggregation temperature parameter for mosquitoes and the temperature influence coefficient corresponding to the current season can be preset.
[0112] Step S252: Calculate the value of the humidity influence function based on the environmental humidity parameter.
[0113] Optionally, the humidity effect function is a non-linear function.
[0114] Optionally, a quadratic function based on the optimal humidity parameter for mosquito aggregation can be used to describe the influence of environmental humidity parameters on mosquito density. In this case, the formula for calculating the humidity influence function is:
[0115] ,
[0116] in, The function representing the effect of humidity. Indicates the ambient humidity parameter. This indicates the coefficient that affects humidity in the calculation. This represents the basic calculated value of the humidity effect function. This indicates the optimal humidity level for mosquitoes to congregate. Greater than or equal to 0. Greater than 0.
[0117] Optionally, and It can be preset or obtained.
[0118] Step S253: Calculate the value of the wind speed influence function based on the environmental wind speed parameters.
[0119] Increased wind speed directly increases the drag on mosquitoes' flight, which has a repelling effect on mosquitoes.
[0120] In some implementations, the formula for calculating the wind speed influence function is as follows:
[0121] ,
[0122] in, This represents the wind speed influence function. Indicates the ambient wind speed parameter. This represents the coefficient for calculating the dispersion intensity per unit wind speed. The coefficients representing the wind speed influence function are used for calculation. It is a positive number.
[0123] Optionally, and It can be preset. For example, It can be 1, It can be 0.3, 0.4, or 0.5, etc.
[0124] In some implementations, the interaction between ambient wind speed and ambient temperature is considered, and a wind speed influence function is calculated based on ambient wind speed parameters and ambient temperature parameters. Optionally, the formula for calculating the wind speed influence function can be:
[0125] ,
[0126] in, The base of the natural logarithm. This represents the coefficient indicating the influence of ambient temperature on the dispersive effect of ambient wind speed. It is a positive number and is a preset value. It is used to represent the suppressive effect of ambient temperature on the dispersal effect of ambient wind speed.
[0127] Furthermore, the interaction between wind direction and road topography can be considered to obtain the angle between the wind direction and the road direction, and the wind speed influence function can be calculated based on ambient temperature parameters, ambient wind speed parameters, and the angle between the wind direction and the road direction. Optionally, the formula for calculating the wind speed influence function can be:
[0128] ,
[0129] in, This indicates the wind resistance coefficient of buildings on both sides of the road. It is a positive number and is a preset value. This represents the angle between the wind direction and the road direction, with a value range of [0, π / 2]. Used to represent the effect of road topography on the dispersion of ambient wind speed. The closer to π / 2, The larger the value, the more likely crosswinds are to blow mosquitoes away from the road and away from traffic displays. This improves the accuracy of mosquito density calculations around traffic displays on the road.
[0130] Step S254: Calculate the value of the pressure influence function based on atmospheric pressure parameters.
[0131] In some implementations, the formula for calculating the pressure influence function is as follows:
[0132] ,
[0133] in, This represents the function of air pressure influence. This represents atmospheric pressure parameters. This indicates the coefficient for calculating the effect of air pressure. This indicates the air pressure parameter at which mosquitoes are least likely to congregate.
[0134] Optionally, and It can be a preset value, or it can be determined based on the current weather type and the correlation information between the weather type and the air pressure influence coefficient and the optimal air pressure for mosquito aggregation.
[0135] In some implementations, mosquitoes experience physiological stress due to sudden changes in the pressure difference between their internal and external environment, resulting in a decrease in their flight ability. For example, during the passage of a typhoon, the atmospheric pressure first decreases and then increases. When the atmospheric pressure rises, the mosquito density, which would have increased due to the low pressure, will decrease due to the sudden change in air pressure.
[0136] In some implementations, considering the impact of transient air pressure on mosquitoes, the air pressure influence function may include a correction term for the rate of change of air pressure. Optionally, atmospheric pressure parameters for multiple time periods can be calculated based on atmospheric pressure at multiple times, and then the air pressure influence function can be calculated based on these parameters. In this case, the formula for calculating the air pressure influence function can be:
[0137] ,
[0138] in, This represents the pressure change rate correction term. The influence intensity coefficient representing the unit pressure change rate is a positive number. This represents the coefficient for calculating the rate of change of air pressure. It represents the differential of the atmospheric pressure parameter at the corresponding time, that is, the rate of change of air pressure. It is a negative number when the atmospheric pressure decreases and a positive number when the atmospheric pressure increases.
[0139] When atmospheric pressure decreases, the correction term for the rate of change of atmospheric pressure increases, reflecting an increase in mosquitoes during periods of low atmospheric pressure. Conversely, when atmospheric pressure increases, the correction term decreases, reflecting a decrease in mosquitoes during periods of high atmospheric pressure. By calculating the pressure influence function based on atmospheric pressure parameters over multiple time periods, the accuracy of mosquito density calculations can be improved under conditions of rapid pressure changes.
[0140] Optionally, and As a preset value, and This allows the value of the pressure change rate correction term to be positive.
[0141] Step S255: Calculate the value of the light intensity influence function based on the light intensity parameter.
[0142] The weaker the light intensity in the environment, the greater the difference in brightness between the traffic display screen and the environment, and the more attractive the traffic display screen is to mosquitoes.
[0143] In other implementations, the formula for calculating the light intensity influence function is:
[0144] ,
[0145] in, This represents the function that influences light intensity. This represents the light intensity parameter. The base coefficient for calculating the light intensity parameter is a number greater than 1 and is a preset value.
[0146] Step S256: Calculate the first coefficient corresponding to the environmental factors based on the values of the weather type influence parameter, the temperature influence function, the humidity influence function, the wind speed influence function, the air pressure influence function, and the light intensity influence function.
[0147] In some implementations, a weighted calculation method is used to calculate the first coefficient corresponding to the environmental factor. In this case, the formula for calculating the first coefficient corresponding to the environmental factor can be:
[0148] ,
[0149] in, This represents the function representing the influence of environmental factors. Indicates the parameters that affect weather type. , , , and These are the weighted coefficients for each influence function. , , , and The sum is 1.
[0150] Step S260: Calculate the second coefficient corresponding to the road condition factors based on traffic flow.
[0151] In some implementations, step S260 includes steps S261 to S263.
[0152] Step S261: Calculate the value of the headlight influence function based on traffic flow and light intensity.
[0153] In some implementations, the value of the illuminance response function is calculated based on the illuminance, and the value of the vehicle headlight influence function is calculated based on the traffic flow and the value of the illuminance response function.
[0154] Optionally, the light intensity response function is a piecewise function, calculated based on multiple light intensity ranges defined by the nighttime standard light intensity, the light intensity threshold at which vehicle headlights begin to dominate mosquito aggregation, and the daytime standard light intensity. In this case, the formula for calculating the vehicle headlight influence function is:
[0155] ,
[0156] in, This represents the influence function of vehicle lights. Indicates traffic flow. This indicates the maximum traffic volume on the road. This is the default value. Represents the light intensity response function. Indicates the light intensity parameter, Indicates the standard nighttime light intensity. This indicates that the light intensity threshold at which vehicle headlights begin to dominate and influence mosquito aggregation occurs. This indicates the standard daytime light intensity.
[0157] Mosquitoes are strongly attracted to vehicle headlights under low light intensity (such as at night). Under moderate light intensity (such as at dusk), this attraction weakens. Under strong light (such as during the day), the effect of vehicle headlights on mosquito density is negligible. By using a piecewise function for the light intensity response, the influence of vehicle headlights on mosquito density can be accurately reflected.
[0158] Step S262: Calculate the value of the exhaust gas impact function based on the traffic flow.
[0159] Among them, the exhaust gas influence function is a nonlinear function, which includes the exhaust gas influence enhancement coefficient.
[0160] In some implementations, the formula for calculating the exhaust gas effect function is as follows:
[0161] ,
[0162] in, This represents the exhaust gas effect function. Indicates the coefficient of performance enhancement due to exhaust gas emissions. This indicates the volume of exhaust gas emitted by a unit number of vehicles per unit time. This is the default value.
[0163] In some implementations, when road condition data also includes average vehicle speed, the formula for calculating the exhaust emission impact function can be:
[0164] ,
[0165] in, Indicates the average speed of the vehicle. This indicates the speed limit for the road. This is the default value. This function is used to represent the impact of average vehicle speed on vehicle exhaust emissions. When there is traffic congestion, the average vehicle speed decreases, and the value of the exhaust emission impact function increases.
[0166] Step S263: Calculate the second coefficient corresponding to the road condition factors based on the values of the headlight influence function and the exhaust gas influence function.
[0167] In some implementations, the formula for calculating the second coefficient corresponding to road condition factors is as follows: ,
[0168] in, This represents the function influencing road condition factors. When... When the value is very high, Both the numerator and denominator are increased to avoid calculation result explosion due to extreme values, and this aligns with the physiological characteristics of mosquito sensory receptor overload failure. When the value is small, ,and then The calculation formula can be approximated by hyperbolic calculation.
[0169] The calculation formula for the influence function of road condition factors is used when... A higher value can achieve nonlinear suppression of the result. When the value is low, it can approximate hyperbolic calculation, thereby achieving adaptive calculation adjustment.
[0170] Step S270: Calculate the mosquito density within a preset area, including the traffic display screen, based on the first coefficient corresponding to environmental factors, the second coefficient corresponding to road conditions, the basic mosquito density, and the preset function formula.
[0171] In some implementations, the preset function formula includes a basic numerical calculation term and an adjustment term multiplied by the basic numerical calculation term.
[0172] In some implementations, the preset function formula is:
[0173] ,
[0174] in, This represents the mosquito density. The final calculated mosquito density is shown below. represents the basic mosquito density, and ln represents the natural logarithm. Indicates the basic numerical calculation item. This indicates an adjustment item.
[0175] From the above, it can be seen that both the first coefficient corresponding to environmental factors and the second coefficient corresponding to road condition factors are positive. When and At its maximum, The summation approaches 1, making the formula for calculating the comprehensive density function approximately a linear summation. When and When the value difference is large, It can be used to suppress extreme value deviations.
[0176] In other implementations, the current time is obtained, and the mosquito density within a preset area, including the traffic display screen, is calculated based on the current time, a first coefficient corresponding to environmental factors, a second coefficient corresponding to road conditions, a baseline mosquito density, and a preset function formula. In this case, the preset function formula is:
[0177] ,
[0178] in, Indicates the current time. This represents the period of the sine function. This indicates the area of the preset region. This indicates an adjustment item used to reflect the impact of the current time on mosquito density.
[0179] Optionally, the current time is a relative time within a day. For example, the current time can range from 0 minutes to 3600 minutes.
[0180] Mosquitoes often gather in large numbers in the early morning or evening. The value can make The maximum value is obtained at a specified time. In this way, mosquito density can be calculated based on the current time, improving the accuracy of the calculation.
[0181] In some implementations, historical data can be used to train an environmental factor influence model, and the calculation coefficients in the above-mentioned multiple formulas can be determined in the environmental factor influence model. Then, the values of multiple influence functions can be calculated, and the mosquito density of a preset area including the traffic display screen can be calculated using a preset function formula.
[0182] In some implementations, genetic algorithms can be used to determine the calculation coefficients in the above formulas in order to minimize calculation errors.
[0183] Step S300: Determine whether the e-ink screen needs to be switched from a transparent display state to a non-transparent display state based on the mosquito density.
[0184] In some implementations, when the mosquito density is greater than a first mosquito density threshold, it is determined that the e-ink screen needs to be switched from a transparent display state to a non-transparent display state; otherwise, it is determined that the e-ink screen does not need to be switched from a transparent display state to a non-transparent display state.
[0185] In some implementations, a mosquito density warning value for the current season is obtained from a sensor network. When the mosquito density is greater than the mosquito density warning value, it is determined that the e-ink screen needs to be switched from a transparent display state to a non-transparent display state; otherwise, it is determined that the e-ink screen does not need to be switched from a transparent display state to a non-transparent display state.
[0186] Step S400: When it is determined that the e-ink screen needs to be switched from a transparent display state to a non-transparent display state, the first brightness of the LED display screen and the second brightness of the target light source used to illuminate the e-ink screen are calculated based on mosquito density, environmental data and road condition data.
[0187] The initial brightness is less than the current brightness of the LED display screen.
[0188] When the LED display is set to its initial brightness, the reduced brightness also decreases the heat generated, thus fundamentally reducing its attraction to insects and decreasing their aggregation in front of the display module. Conversely, when a target light source illuminates the e-ink screen, the displayed pattern becomes clearer, and insects are more easily attracted to the target light source, further reducing their aggregation in front of the display module.
[0189] In some implementations, when the mosquito density is no greater than a first mosquito density threshold, it is determined that the display module will not be obscured by mosquitoes. The entire area of the e-ink screen is then controlled to be transparent, the target light source is turned off, and the LED display screen is controlled to be in a non-transparent state, displaying the target pattern. In this case, the e-ink screen will not obscure the target pattern. In this way, when it is determined that the mosquito density will not be obscured by mosquitoes, a more energy-efficient and faster refresh rate LED display screen can be used for display.
[0190] In some implementations, step S400 includes steps S410 to S430.
[0191] Step S410: Calculate the first brightness of the LED display screen based on the mosquito density and light intensity data in the environment.
[0192] Reducing the brightness of an LED display can decrease its attractiveness to mosquitoes, but excessively reducing the brightness may result in the traffic display being unclear. Therefore, it is necessary to calculate the initial brightness of the LED display based on mosquito density and light intensity data in the environment.
[0193] In some implementations, when the mosquito density is greater than a first mosquito density threshold, the formula for calculating the first brightness is:
[0194] ,
[0195] in, Indicates the first brightness. This represents the first mosquito density threshold. This represents the coefficient that indicates the influence of mosquito density on brightness. Greater than 0 and less than 1. Indicates light intensity. This indicates the minimum light intensity threshold. Represents the first calculation constant. Greater than 0. Used when the light intensity is very low, so that It is not close to 0.
[0196] In some implementations, when the mosquito density exceeds a second mosquito density threshold and the light intensity exceeds a minimum light intensity threshold, the mosquito aggregation is determined to be extremely high, and the first brightness is set to 0. The second mosquito density threshold is greater than the first mosquito density threshold. In this case, because the light intensity exceeds the minimum light intensity threshold, the e-ink screen can be displayed solely by illuminating the target light source without causing display ambiguity. When the first brightness is 0, i.e., the LED display is off, and the e-ink screen is only switched from a transparent to a non-transparent display state, the display module itself does not emit light, and the e-ink screen does not consume power or generate heat during static display. This fundamentally reduces the attraction of the traffic display screen to mosquitoes, making its attraction equivalent to that of a non-emitting and non-heating object. This situation is analogous to people reading e-books with only a desk lamp on, without the e-ink screen's backlight, making the e-ink screen's display effect equivalent to ordinary paper.
[0197] Step S420: Determine the standard brightness of the traffic display screen based on the weather type in the environmental data.
[0198] To ensure that traffic display screens remain clearly visible in various weather conditions, the overall brightness of the display screens needs to meet the standard brightness.
[0199] In some implementations, the standard brightness corresponding to a weather type is determined based on the weather type in the environmental data and the preset correspondence between weather type and standard brightness.
[0200] Step S430: When the first brightness is greater than the standard brightness, determine the second brightness to be 0.
[0201] Step S440: When the first brightness is not greater than the standard brightness, calculate the second brightness based on the optimal reflective illuminance of the e-ink screen and the light source efficiency conversion coefficient.
[0202] In some implementations, when the first luminance is not greater than the standard luminance, the difference between the optimal reflected illuminance and the standard luminance is divided by the light source efficiency conversion factor to obtain the second luminance. In this case, the formula for calculating the second luminance is:
[0203] ,
[0204] in, Indicates the second brightness. Indicates the optimal reflected illuminance. Indicates standard brightness. This represents the light source efficiency conversion factor.
[0205] Since the second brightness of the target light source cannot be equal to the display brightness of the e-ink screen when illuminated by the target light source at the second brightness, a light source efficiency conversion coefficient needs to be introduced into the calculation formula for the second brightness. In this way, the sum of the first brightness and the display brightness of the e-ink screen when illuminated by the target light source at the second brightness equals the standard brightness, thus enabling the display module to display at the standard brightness.
[0206] Step S500: Calculate the first driving current corresponding to the first brightness and the second driving current corresponding to the second brightness.
[0207] In some implementations, the first driving current corresponding to the first brightness is calculated according to a preset first correspondence function between the first brightness and the first driving current, and the second driving current corresponding to the second brightness is calculated according to a preset second correspondence function between the second brightness and the second driving current.
[0208] Because e-ink screens have a longer refresh time, the LED display can be controlled to gradually transition from its current brightness to a higher brightness level within that timeframe, while the target light source can be controlled to gradually transition from its current brightness to a higher brightness level. During this gradual brightness transition, the overall display brightness of the display module remains constant. At this time, the LED display still shows the pattern within the refresh time.
[0209] In some implementations, multiple values of a first driving current are calculated based on a preset refresh time of the e-ink screen, the current driving current of the LED display screen, and a first correspondence function, to cause the LED display screen to gradually switch to a first brightness level within the refresh time. Similarly, multiple values of a second driving current are calculated based on the refresh time, the current driving current of the target light source, and a second correspondence function, to cause the target light source to gradually switch to a second brightness level within the refresh time. The first and second correspondence functions are preset.
[0210] Step S600: The first driving current is used to control the LED display screen to display the target pattern, and the second driving current is used to control the target light source to illuminate the part of the target pattern displayed on the electronic ink screen.
[0211] As described above, in some embodiments, when the e-ink screen displays the target pattern, the LED display screen may not display the pattern in the corresponding display area of the e-ink screen. Optionally, in this case, the LED display screen can be in a transparent display state, or the LED display screen can emit backlight. When the LED display screen emits backlight, it provides backlighting for the e-ink screen.
[0212] In some implementations, when the first driving current is a single value and the second driving current is a single value, the first driving current is used to directly control the LED display screen to display the target pattern, and the second driving current is used to control the target light source to illuminate the electronic ink screen.
[0213] In some implementations, within a preset refresh time of the e-ink screen, the LED display is controlled to display based on multiple values of the first driving current, so that the LED display gradually switches to a first brightness within the refresh time. A target light source is controlled to illuminate the e-ink screen based on multiple values of the second driving current, so that the target light source gradually switches to a second brightness within the refresh time, and simultaneously the e-ink screen is controlled to display a target pattern.
[0214] In some implementations, the target light source may be located on the main body of the traffic display screen and away from the traffic display screen. Alternatively, the target light source may be a lighting source other than the traffic display screen, such as a street lamp.
[0215] In some implementations, the target light source may include a negative pressure suction module and a high-voltage grid. When the target light source is turned on, the negative pressure suction module and the high-voltage grid can be controlled to activate, so that the negative pressure suction module draws mosquitoes attracted to the target light source to the location of the high-voltage grid and kills them.
[0216] Understandably, the target light source should generally be placed outside the traffic display screen to prevent it from obstructing the screen and to avoid attracting insects to its vicinity.
[0217] In some implementations, because e-ink displays consume no power and have a long refresh rate, they can be controlled to display static patterns while the display area outside the static pattern remains transparent. Meanwhile, the LED display can be controlled to display dynamic patterns in areas outside the area corresponding to the target pattern on the e-ink screen. For example, the e-ink screen can be controlled to display a road branching diagram and static directional arrows, while the LED display can be controlled to display real-time traffic light status and a countdown. This significantly reduces the power consumption of the traffic display screen. Furthermore, in this case, the LED display can emit only background light or no light at all in the display area corresponding to the target pattern on the e-ink screen.
[0218] In some implementations, step S600 includes steps S610 to S630.
[0219] Step S610: When the color of the current pattern displayed on the e-ink screen is different from that of the target pattern, the LED display screen is controlled by the first driving current according to the refresh time of the e-ink screen.
[0220] In this method, the color displayed on the LED screen is mixed with the color of the current pattern to obtain the color of the target pattern. This ensures that the color of the pattern perceived by the human eye does not change within the refresh time of the e-ink screen, thus improving the display effect.
[0221] In some implementations, a transparent display state for an e-ink screen can mean that a portion of the screen is transparent while another portion displays the current pattern. For example, the e-ink screen can be controlled to display a static pattern, with the display area outside the static pattern being transparent. A non-transparent display state for an e-ink screen can mean that the entire screen is opaque. When the color of the current pattern displayed on the e-ink screen differs from the color of the target pattern, a first driving current can be used within the refresh time of the e-ink screen to control the LED display to display the background color in the area where the current pattern is displayed. The background color is the display color of the LED display, and the color resulting from the mixture of the background color and the current pattern color is the color of the target pattern.
[0222] Step S620: Control the entire e-ink screen to refresh to display the target pattern.
[0223] Step S630: Use the second driving current to control the target light source to illuminate the part of the pattern displayed on the electronic ink screen.
[0224] In some implementations, the method further includes step S700 to reduce glare from strong light.
[0225] Step S700: When the light intensity in the environmental data is greater than the standard intensity corresponding to the weather type, control the electronic ink screen to display the target pattern, control the LED display screen to be in a transparent display state, and turn off the target light source.
[0226] Controlling the LED display screen to be in a transparent display state means controlling the entire area of the LED display screen to be in a transparent display state.
[0227] E-ink screens themselves do not emit light; the stronger the ambient light, the more light the e-ink screen reflects, resulting in a clearer image. In strong light conditions, using only an e-ink screen to display the target image can reduce glare.
[0228] In summary, the traffic display screen control method provided in this application has the following advantages:
[0229] 1. The system determines whether the e-ink screen needs to be switched from a transparent to a non-transparent display state based on mosquito density. When it is determined that the e-ink screen needs to be switched from a transparent to a non-transparent display state, the system calculates the first brightness of the LED display screen and the second brightness of the target light source used to illuminate the e-ink screen based on mosquito density, environmental data, and road condition data. Then, the first driving current is used to control the LED display screen to display the target pattern, and the second driving current is used to control the target light source to illuminate the part of the e-ink screen displaying the target pattern. This can reduce the brightness of the LED display screen when the mosquito density is high, thereby reducing the mosquito density around the display module. Thus, without using ultraviolet lamps that are harmful to human eyes to attract mosquitoes, the display module will not be blocked by mosquitoes. At the same time, illuminating the part of the e-ink screen with the target pattern using the target light source can also make the display module clearly display the target pattern, which can enhance traffic safety.
[0230] 2. By calculating the wind speed influence function based on ambient temperature parameters, ambient wind speed parameters, and the angle between wind direction and road direction, the calculation accuracy for mosquito density around traffic display screens on the road can be improved.
[0231] 3. By calculating the atmospheric pressure influence function based on atmospheric pressure parameters over multiple time periods, the accuracy of mosquito density calculation can be improved under conditions of rapid atmospheric pressure changes.
[0232] Please see Figure 3 , Figure 3 This is a schematic diagram of the control device for the traffic display screen provided in an embodiment of this application. Figure 3 As shown, the control device 300 for the traffic display screen includes an acquisition module 310, a calculation module 320, and a control module 330.
[0233] In some implementations, the acquisition module 310 is used to acquire environmental data and road condition data from the sensor network.
[0234] In some embodiments, the calculation module 320 is used to calculate the mosquito density within a preset area including the traffic display screen based on environmental data and road condition data; determine whether the e-ink screen needs to be switched from a transparent display state to a non-transparent display state based on the mosquito density; when it is determined that the e-ink screen needs to be switched from a transparent display state to a non-transparent display state, calculate a first brightness of the LED display screen and a second brightness of the target light source used to illuminate the portion of the target pattern displayed on the e-ink screen based on the mosquito density, environmental data, and road condition data; wherein the first brightness is less than the current brightness of the LED display screen; and calculate a first driving current corresponding to the first brightness and a second driving current corresponding to the second brightness.
[0235] In some embodiments, the control module 330 is used to control the LED display screen to display using a first driving current, control the electronic ink screen to display a target pattern, and use a second driving current to control the target light source to illuminate the portion of the electronic ink screen displaying the target pattern.
[0236] Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. For example... Figure 4 As shown, the electronic device 400 includes: one or more processors 410 and a memory 420. Figure 4 Take a processor 410 as an example.
[0237] In some implementations, the processor 410 and the memory 420 may be connected via a bus or other means. Figure 4 Taking the example of a connection between China and Israel via a bus.
[0238] In some embodiments, the processor 410 is configured to acquire environmental data and road condition data from a sensor network; calculate the mosquito density within a preset area including the traffic display screen based on the environmental data and road condition data; determine whether the e-ink screen needs to be switched from a transparent display state to a non-transparent display state based on the mosquito density; when it is determined that the e-ink screen needs to be switched from a transparent display state to a non-transparent display state, calculate a first brightness of the LED display screen and a second brightness of a target light source for illuminating the portion of the target pattern displayed on the e-ink screen based on the mosquito density, environmental data, and road condition data; wherein the first brightness is less than the current brightness of the LED display screen; calculate a first driving current corresponding to the first brightness and a second driving current corresponding to the second brightness; control the LED display screen to display using the first driving current, control the e-ink screen to display the target pattern, and control the target light source to illuminate the portion of the target pattern displayed on the e-ink screen using the second driving current.
[0239] In some embodiments, memory 420 serves as a non-volatile computer-readable storage medium, used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules of the traffic display control method in the embodiments of this application. Processor 410 executes various functional applications and data processing of electronic device 400 by running the non-volatile software programs, instructions, and modules stored in memory 420, thereby implementing the traffic display control method of the above-described method embodiments.
[0240] In some embodiments, memory 420 may include a program storage area and a data storage area, wherein the program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of electronic device 400, etc. Furthermore, memory 420 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 420 may optionally include memory remotely located relative to processor 410, and this remote memory may be connected to the controller via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0241] In some implementations, one or more modules are stored in memory 420 and, when executed by one or more processors 410, perform the traffic display control method of any of the above method embodiments, for example, performing the above-described... Figure 1 The method steps S100 to S600.
[0242] Please refer to Figure 5 , Figure 5 This is a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. The computer-readable storage medium 500 stores program code 510, which can be called by a processor to execute the traffic display control method described in the above method embodiments.
[0243] The computer-readable storage medium 500 may be an electronic storage device such as flash memory, electrically erasable programmable read-only memory (EEPROM), hard disk, or read-only memory (ROM). Optionally, the computer-readable storage medium includes a non-volatile computer-readable medium. The computer-readable storage medium 500 has storage space for program code that performs any of the method steps of the traffic display control method described above. This program code can be read from or written to one or more computer program products. The program code may, for example, be compressed in a suitable form.
[0244] In summary, this application provides a control method, device, electronic device, and storage medium for a traffic display screen. The traffic display screen includes a main body and a display module mounted on the main body. The display module includes an LED display screen and an electronic ink screen, which are stacked together. The electronic ink screen can be in a transparent display state. The control method for the traffic display screen includes: acquiring environmental data and road condition data from a sensor network; calculating the mosquito density within a preset area of the traffic display screen based on the environmental data and road condition data; determining whether the electronic ink screen needs to be switched from a transparent display state to a non-transparent display state based on the mosquito density; when it is determined that the electronic ink screen needs to be switched from a transparent display state to a non-transparent display state, calculating a first brightness of the LED display screen and a second brightness of a target light source for illuminating the portion of the target pattern displayed on the electronic ink screen based on the mosquito density, environmental data, and road condition data; wherein the first brightness is less than the current brightness of the LED display screen; calculating a first driving current corresponding to the first brightness and a second driving current corresponding to the second brightness; using the first driving current to control the LED display screen to display, controlling the electronic ink screen to display the target pattern, and using the second driving current to control the target light source to illuminate the portion of the target pattern displayed on the electronic ink screen. This application determines whether an e-ink screen needs to be switched from a transparent to a non-transparent display state based on mosquito density. When it is determined that the e-ink screen needs to be switched from a transparent to a non-transparent display state, a first brightness of the LED display screen and a second brightness of the target light source used to illuminate the e-ink screen are calculated based on mosquito density, environmental data, and road condition data. Then, a first driving current is used to control the LED display screen to display the target pattern, and the second driving current is used to control the target light source to illuminate the part of the e-ink screen displaying the target pattern. This can reduce the brightness of the LED display screen when the mosquito density is high, thereby reducing the mosquito density around the display module. Thus, without using ultraviolet lamps that are harmful to the human eye to attract mosquitoes, mosquitoes will not block the display module. At the same time, illuminating the part of the e-ink screen with the target pattern using the target light source can also make the display module clearly display the target pattern, which can enhance traffic safety.
[0245] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A control method for a traffic display screen, characterized in that, The traffic display screen includes a main body and a display module mounted on the main body. The display module includes an LED display screen and an electronic ink screen. The LED display screen and the electronic ink screen are stacked together. The electronic ink screen can be in a transparent display state. The control method for the traffic display screen includes: Acquire environmental and road condition data from sensor networks; The mosquito density is calculated based on the environmental data and the road condition data, including the preset area range of the traffic display screen. The environmental data includes environmental images, ambient temperature, ambient humidity, ambient wind speed, atmospheric pressure, weather type, and light intensity. The road condition data includes traffic flow. The calculation of mosquito density within a preset area of the traffic display screen based on the environmental data and the road condition data includes: Calculate optical flow data between adjacent environmental images based on multiple frames of the environmental images; The number of mosquitoes is calculated based on the optical flow data; The basic mosquito density is calculated based on the area covered by the environmental image and the number of mosquitoes. The ambient temperature, ambient humidity, ambient wind speed, atmospheric pressure, weather type, and light intensity are standardized to obtain standardized ambient temperature parameters, ambient humidity parameters, ambient wind speed parameters, atmospheric pressure parameters, weather type influence parameters, and light intensity parameters. The first coefficient corresponding to the environmental factors is calculated based on the environmental temperature parameter, the environmental humidity parameter, the environmental wind speed parameter, the atmospheric pressure parameter, the weather type influence parameter, and the light intensity parameter; Calculate the second coefficient corresponding to the road condition factors based on the traffic flow; The mosquito density, including the traffic display screen, is calculated based on the first coefficient corresponding to the environmental factors, the second coefficient corresponding to the road condition factors, the basic mosquito density, and the preset function formula. Based on the mosquito density, determine whether the e-ink screen needs to be switched from a transparent display state to a non-transparent display state; When it is determined that the e-ink screen needs to be switched from a transparent display state to a non-transparent display state, a first brightness of the LED display screen and a second brightness of the target light source used to illuminate the e-ink screen are calculated based on the mosquito density, the environmental data, and the road condition data; wherein, the first brightness is less than the current brightness of the LED display screen; Calculate the first driving current corresponding to the first brightness and the second driving current corresponding to the second brightness; The first driving current is used to control the LED display screen to display the target pattern, and the second driving current is used to control the target light source to illuminate the portion of the target pattern displayed on the electronic ink screen.
2. The control method for the traffic display screen according to claim 1, characterized in that, The second coefficient corresponding to the road condition factors calculated based on the traffic flow includes: Calculate the value of the headlight influence function based on the traffic flow and the light intensity; The value of the exhaust gas influence function is calculated based on the traffic flow, wherein the exhaust gas influence function is a non-linear function and includes an exhaust gas influence enhancement coefficient; The second coefficient corresponding to the road condition factor is calculated based on the values of the headlight influence function and the exhaust gas influence function.
3. The control method for the traffic display screen according to claim 1, characterized in that, When it is determined that the e-ink screen needs to be switched from a transparent display state to a non-transparent display state, the calculation of the first brightness of the LED display screen and the second brightness of the target light source for illuminating the e-ink screen based on the mosquito density, the environmental data, and the road condition data includes: The first brightness of the LED display screen is calculated based on the mosquito density and the light intensity in the environmental data. The standard brightness of the traffic display screen is determined based on the weather type in the environmental data. When the first brightness is greater than the standard brightness, the second brightness is determined to be 0; When the first brightness is not greater than the standard brightness, the second brightness is calculated based on the optimal reflectance of the electronic ink screen and the light source efficiency conversion coefficient.
4. The control method for the traffic display screen according to claim 3, characterized in that, When the first brightness is not greater than the standard brightness, the second brightness is calculated based on the optimal reflectance and light source efficiency conversion coefficient of the electronic ink screen, including: When the first brightness is not greater than the standard brightness, the difference between the optimal reflected illuminance and the standard brightness is divided by the light source efficiency conversion coefficient to obtain the second brightness.
5. The control method for a traffic display screen according to claim 1, characterized in that, The calculation of the first driving current corresponding to the first brightness and the second driving current corresponding to the second brightness includes: The first driving current corresponding to the first brightness is calculated according to a preset first correspondence function between the first brightness and the first driving current; and the second driving current corresponding to the second brightness is calculated according to a preset second correspondence function between the second brightness and the second driving current; or Based on the preset refresh time of the e-ink screen, the current driving current of the LED display screen, and the first correspondence function, multiple values of the first driving current are calculated to cause the LED display screen to gradually switch to the first brightness within the refresh time. Based on the refresh time, the current driving current of the target light source, and the second correspondence function, multiple values of the second driving current are calculated to cause the target light source to gradually switch to the second brightness within the refresh time.
6. The control method for a traffic display screen according to claim 1, characterized in that, The method of using a first driving current to control the LED display screen for display, controlling the electronic ink screen to display the target pattern, and using a second driving current to control the target light source to illuminate the portion of the electronic ink screen displaying the target pattern includes: When the current pattern displayed on the e-ink screen is different from the color of the target pattern, the LED display screen is controlled by the first driving current according to the refresh time of the e-ink screen to display, wherein the color of the LED display screen and the color of the current pattern are mixed to form the color of the target pattern; Control the entire e-ink screen to refresh and display the target pattern; The second driving current is used to control the target light source to illuminate the portion of the electronic ink screen displaying the target pattern.
7. A control device for a traffic display screen, characterized in that, The traffic display screen includes a main body and a display module mounted on the main body. The display module includes an LED display screen and an electronic ink screen. The LED display screen and the electronic ink screen are stacked together. The electronic ink screen can be in a transparent display state. The control device for the traffic display screen includes: The acquisition module is used to acquire environmental and road condition data from the sensor network. The calculation module is used to calculate the mosquito density within a preset area, including the traffic display screen, based on the environmental data and the road condition data. The environmental data includes environmental images, ambient temperature, ambient humidity, ambient wind speed, atmospheric pressure, weather type, and light intensity. The road condition data includes traffic flow. The calculation of mosquito density within a preset area of the traffic display screen based on the environmental data and the road condition data includes: Calculate optical flow data between adjacent environmental images based on multiple frames of the environmental images; The number of mosquitoes is calculated based on the optical flow data; The basic mosquito density is calculated based on the area covered by the environmental image and the number of mosquitoes. The ambient temperature, ambient humidity, ambient wind speed, atmospheric pressure, weather type, and light intensity are standardized to obtain standardized ambient temperature parameters, ambient humidity parameters, ambient wind speed parameters, atmospheric pressure parameters, weather type influence parameters, and light intensity parameters. The first coefficient corresponding to the environmental factors is calculated based on the environmental temperature parameter, the environmental humidity parameter, the environmental wind speed parameter, the atmospheric pressure parameter, the weather type influence parameter, and the light intensity parameter; Calculate the second coefficient corresponding to the road condition factors based on the traffic flow; The mosquito density, including the traffic display screen, is calculated based on the first coefficient corresponding to the environmental factors, the second coefficient corresponding to the road condition factors, the basic mosquito density, and the preset function formula. Based on the mosquito density, determine whether the e-ink screen needs to be switched from a transparent display state to a non-transparent display state; When it is determined that the e-ink screen needs to be switched from a transparent display state to a non-transparent display state, a first brightness of the LED display screen and a second brightness of the target light source used to illuminate the e-ink screen are calculated based on the mosquito density, the environmental data, and the road condition data; wherein, the first brightness is less than the current brightness of the LED display screen; Calculate the first driving current corresponding to the first brightness and the second driving current corresponding to the second brightness; The control module is used to control the LED display screen to display using the first driving current, control the electronic ink screen to display a target pattern, and use the second driving current to control the target light source to illuminate the portion of the electronic ink screen displaying the target pattern.
8. An electronic device, characterized in that, The electronic device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the traffic display control method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores an executable program, which is executed by a processor to implement the control method for the traffic display screen as described in any one of claims 1 to 6.