Traffic light in-vehicle display method, device and vehicle

By employing a multimodal redundancy system that incorporates shape, dynamics, and color coding, the problem of color-deficient users struggling to identify traffic lights has been solved, resulting in a traffic light display method that enhances driving safety and comfort.

CN122416764APending Publication Date: 2026-07-17CHINA FAW CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA FAW CO LTD
Filing Date
2026-04-24
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Users with color vision deficiencies have difficulty accurately identifying red and green traffic lights. Existing technologies rely on color coding, which is easily affected by lighting conditions and requires additional equipment, thus violating driving safety requirements.

Method used

It adopts a multimodal redundancy system of shape, dynamic and color coding. Shape coding provides intuitive operation mapping, dynamic coding enhances the sense of state boundaries, and color coding avoids color confusion areas and is projected to the driver's main field of vision using in-vehicle display devices.

Benefits of technology

It improves the accuracy of traffic light recognition for users with color vision deficiencies, reduces cognitive load, enhances driving safety and comfort, and avoids eye shift and equipment interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122416764A_ABST
    Figure CN122416764A_ABST
Patent Text Reader

Abstract

This application discloses a method, device, and vehicle for displaying traffic lights inside a vehicle, relating to the field of sound control. The method includes: acquiring a traffic light status signal corresponding to the current driving direction from the traffic signal controller; determining an icon corresponding to the traffic light status signal and a shape code for the icon, and determining a dynamic code and a color code corresponding to the icon; encoding the icon based on the shape code, the dynamic code, and the color code, and displaying it at a designated location inside the vehicle. This allows for the fusion encoding of the determined icon based on the shape code, dynamic code, and color code, enabling the use of shape encoding to provide an intuitive operation mapping, significantly reducing cognitive load and decision-making time; and strengthening the sense of state boundaries through dynamic encoding, effectively improving behavioral constraints and safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of advanced driver assistance technology, and in particular to a method for displaying traffic lights in vehicles, a device for displaying traffic lights in vehicles, electronic equipment, storage media, and vehicles. Background Technology

[0002] Color vision deficiency (CVD) is a common visual impairment, affecting approximately 8% of men and 0.5% of women worldwide to varying degrees, with red-green color blindness being the most common. In the field of transportation, individuals with red-green color blindness have difficulty accurately identifying traffic lights, which is one of the main obstacles limiting their driving qualifications.

[0003] To address color vision deficiencies, related technologies generally employ color filtering correction to enable colorblind individuals to distinguish red and green signals. However, this over-reliance on color as the sole dimension of information encoding leads to a significant decrease in color or brightness contrast under complex lighting conditions such as strong light, backlight, and nighttime, resulting in recognition difficulties. Solutions that solely rely on color or brightness lack multimodal redundancy and have weak anti-interference capabilities. Furthermore, existing head-mounted or screen display solutions require drivers to shift their gaze or wear additional devices, failing to meet the safety requirement of "keeping eyes forward" in driving scenarios, and prolonged wear can easily cause fatigue. Summary of the Invention

[0004] The purpose of this invention is to provide a method, device, electronic device, storage medium, and vehicle for displaying traffic lights in a vehicle, at least to solve the problem of how to improve the recognition of traffic lights by users with color vision deficiencies, and to solve the technical problem of how to accurately project traffic light signals to the driver's main field of vision while avoiding interference from additional equipment and shifting of gaze.

[0005] This invention provides the following solution:

[0006] According to one aspect of the present invention, a method for displaying traffic lights inside a vehicle is provided, comprising:

[0007] Based on the current driving direction of the vehicle, the traffic light status signal corresponding to the driving direction is obtained from the traffic signal controller;

[0008] Determine the icon corresponding to the traffic light status signal and the shape code of the icon, and determine the dynamic code and color code corresponding to the icon;

[0009] Based on the shape encoding, the dynamic encoding, and the color encoding, the icon is encoded and then displayed in a designated location inside the vehicle.

[0010] Preferably, determining the icon shape corresponding to the traffic light status signal and the shape code of the icon shape includes:

[0011] The traffic light status signal is subjected to noise filtering and confidence verification to determine the signal status identifier of the current traffic light standard;

[0012] Among a plurality of pre-set icons, a first icon corresponding to the signal status identifier is determined;

[0013] Determine the shape code of the first icon.

[0014] Preferably, determining the dynamic code and color code corresponding to the icon includes:

[0015] Obtain the dynamic function corresponding to the first icon, and the remaining time of the current traffic light status signal;

[0016] The dynamic function is calculated based on the remaining time to determine the dynamic encoding of the first icon;

[0017] Identify the color-sensitive area of ​​the user with color vision deficiency, and determine the color code of the first icon based on the color-sensitive area.

[0018] Preferably, the step of calculating the dynamic function based on the remaining time to determine the dynamic encoding of the first icon includes:

[0019] Determine the fixed range of values ​​corresponding to the dynamic function;

[0020] The remaining time is used as the independent variable of the dynamic function, and the value corresponding to each time point in the remaining time is determined within the fixed value range.

[0021] The values ​​are linearly mapped to determine the brightness parameters of the first icon shape, and the dynamic encoding of the first icon is determined based on the brightness parameters.

[0022] Preferably, determining the color-sensitive area of ​​the user with color vision deficiency, and determining the color code of the first icon based on the color-sensitive area, includes:

[0023] Based on the signal status identifier, determine the current color of the traffic light and the color axis to which the color belongs;

[0024] The color-sensitive region is decoupled to determine the red-green axis interval and the yellow-blue axis interval of the color-sensitive region;

[0025] The colors are optimized based on the red-green axis range and the yellow-blue axis range to determine the color code of the first icon.

[0026] Preferably, the step of encoding the icon based on the shape encoding, the dynamic encoding, and the color encoding, and then displaying it at a designated location inside the vehicle, includes:

[0027] The shape encoding, the dynamic encoding, and the color encoding are combined to encode the first icon, thereby determining the icon to be displayed, as well as the icon's animation and color.

[0028] Determine at least one display device and / or display location, and display the icon on at least one of the display devices and / or the display location based on the animation and the color.

[0029] Preferably, the display device and / or the display position are also used to display a countdown and location information corresponding to the traffic light status signal.

[0030] Preferably, after encoding the icon based on the shape encoding, the dynamic encoding, and the color encoding, and displaying it at a designated location inside the vehicle, the method further includes:

[0031] In response to a change in the traffic light status signal, the traffic light status signal corresponding to the travel direction is reacquired.

[0032] According to a second aspect of the present invention, a traffic light in-vehicle display device is provided, comprising:

[0033] The signal acquisition module is used to acquire the traffic light status signal corresponding to the current driving direction from the traffic signal controller based on the current driving direction of the vehicle.

[0034] The encoding determination module is used to determine the icon corresponding to the traffic light status signal and the shape code of the icon, and to determine the dynamic code and color code corresponding to the icon;

[0035] The display output module is used to encode the icon based on the shape encoding, the dynamic encoding, and the color encoding, and then display it at a designated location inside the vehicle.

[0036] According to three aspects of the present invention, an electronic device is provided, comprising: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;

[0037] The memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps of the traffic light in-vehicle display method.

[0038] According to four aspects of the present invention, a computer-readable storage medium is provided, comprising: storing a computer program executable by an electronic device, wherein when the computer program is run on the electronic device, the electronic device causes the electronic device to perform the steps of a traffic light in-vehicle display method.

[0039] According to five aspects of the present invention, a vehicle is provided, comprising:

[0040] Electronic equipment, for implementing the steps of a method to display traffic lights inside a vehicle;

[0041] The processor runs a program, and when the program runs, it executes the steps of the traffic light in-vehicle display method based on data output from the electronic device.

[0042] A storage medium for storing a program that, when running, executes the steps of a traffic light in-vehicle display method based on data output from an electronic device.

[0043] The above solution achieves the following beneficial technical effects:

[0044] This application determines the icon corresponding to the current traffic light status signal, and then further integrates it with the corresponding shape code, dynamic code, and color code. The determined icon is then fused and encoded based on these three codes. Shape coding provides an intuitive operational mapping, significantly reducing cognitive load and decision-making time; dynamic coding strengthens the sense of state boundaries, effectively improving behavioral constraints and safety; and multiple independent coding channels form a reliable redundancy guarantee, ensuring that even if the user has difficulties in a single dimension such as color perception or dynamic vision, they can still accurately identify the traffic light status through other channels.

[0045] This application displays coded icons at designated locations to meet the safety requirements of keeping the driver's line of sight forward in driving scenarios. While ensuring robust recognition, it also aims to improve the driver's long-term comfort and operational confidence. Attached Figure Description

[0046] Figure 1 This is a flowchart of a traffic light in-vehicle display method provided by one or more embodiments of the present invention.

[0047] Figure 2 This is a structural diagram of a traffic light in-vehicle display device provided in one or more embodiments of the present invention.

[0048] Figure 3 This is a block diagram of an electronic device structure for a traffic light in-vehicle display method provided in one or more embodiments of the present invention. Detailed Implementation

[0049] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. 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.

[0050] In related technologies, there is an over-reliance on color as the sole dimension of information encoding, neglecting the limitations of color perception for users with color vision deficiencies. Whether it's optical filtering or electronic conversion, the essence is still an attempt to solve the problem at the color dimension, without fully utilizing other perceptual channels of the human visual system. By converting red to black and green to white at the color dimension, only the distinction of signal categories is achieved, but the semantic meaning and operational instructions of the signals are not encoded.

[0051] Therefore, this application proposes a method, device, and vehicle for displaying traffic lights inside a vehicle, establishing a traffic signal coding system that is independent of color, multimodal redundancy, and semantically clear, which can fully exploit the information carrying capacity of visual channels such as shape, dynamics, and spatial layout. The specific implementation method is as follows.

[0052] Figure 1 This is a flowchart of a traffic light in-vehicle display method provided by one or more embodiments of the present invention.

[0053] like Figure 1 The methods for displaying traffic lights inside vehicles as shown include:

[0054] Step S1: Based on the current driving direction of the vehicle, obtain the traffic light status signal corresponding to the driving direction from the traffic signal controller.

[0055] Determine the vehicle's current direction of travel, locate the traffic signal at the upcoming intersection at a specified distance, and obtain the traffic light status signal corresponding to the direction of travel from that traffic signal.

[0056] The traffic light status signal includes the current traffic light status, countdown information, and location information.

[0057] Step S2: Determine the icon and its shape code corresponding to the traffic light status signal, and determine the dynamic code and color code corresponding to the icon.

[0058] Based on the traffic light status signals, determine the icon corresponding to that traffic light status. For example, the icon for a red light is a standard X, and the icon for a green light is... The icon for the yellow light status is !.

[0059] The "X" is formed by two line segments of equal length intersecting perpendicularly at the center point, with an overall square outline and rounded ends. Its centrally symmetrical intersection naturally conveys a sense of "negation," "blockage," and "danger," perfectly aligning with the semantic meaning of a red light: "stop." Even in black and white or blurred conditions, its unique intersection structure is easily recognizable. The icon for a red light can also be a hand shape, etc.

[0060] Composed of a line segment pointing downwards to the left and another pointing upwards to the right, forming a sharp angle, the overall outline is slightly wider than its height. This asymmetrical icon, with its clearly directional hook shape, conveys a positive message of "correct," "pass," and "confirmation," perfectly matching the "go" instruction of a green light. Its unique directionality distinguishes it significantly from other shapes. Other icons corresponding to green lights include arrows, etc.

[0061] The yellow light icon is composed of a vertical trapezoid at the top (slightly narrower at the top) and a solid dot at the bottom, with a small gap between them, creating an overall symmetrical, tall and slender shape. The combination of the narrow top and wide bottom trapezoid with the stable dot at the bottom creates a sense of instability, similar to a warning tower, directly evoking the psychological cues of "attention" and "vigilance," corresponding to the "warning" and "transition" functions of the yellow light. Its composite structure (trapezoidal and circular) is highly recognizable. The icon for the yellow light can also be a triangle, etc.

[0062] Furthermore, a corresponding dynamic code and color code are determined for the identified icon. The dynamic code is used to display the animation of the icon, and the color code is used to represent the color of the icon, making it easier for users with color vision deficiencies to identify the traffic light status.

[0063] Step S3: Based on shape encoding, dynamic encoding, and color encoding, the icon is encoded and then displayed in a designated location inside the vehicle.

[0064] To address the signal recognition difficulties faced by color-deficient users while driving due to color encoding failure, this paper proposes a method based on a pre-constructed triple semantic encoding system of shape, motion, and contrast, along with defined shape, motion, and color codes. This system encodes a given icon and displays the encoded icon at a designated location within the vehicle. This designated location can be an in-vehicle display device or the windshield, such as the right side of the windshield.

[0065] This embodiment introduces a complementary coding mechanism of shape, dynamics, and contrast, producing significant beneficial effects on multiple levels. Its core lies in using shape semantics to provide intuitive operational mapping, greatly reducing cognitive load and decision-making time; strengthening the sense of state boundaries through dynamic coding, effectively improving behavioral constraints and safety; and simultaneously, multiple independent coding channels form reliable redundancy, ensuring accurate identification even if the user has difficulties in a single dimension such as color perception or dynamic vision. This gives the system good flexibility and scalability, making it easy to adapt to different cultures and special needs. While ensuring robust recognition, it also aims to improve the driver's long-term comfort and operational confidence.

[0066] Specifically, noise filtering and confidence verification can be performed on the traffic light status signal to determine the current standard signal status identifier. Then, a first icon corresponding to the current signal status identifier is determined from a preset set of traffic light status icons, and a shape code corresponding to that first icon is also determined.

[0067] For example, function shape_encoding(signal_state):

[0068] if signal_state == RED:

[0069] return load_vector_icon("cross.svg") / / X-shaped icon

[0070] elif signal_state == GREEN:

[0071] return load_vector_icon("check.svg") / / Shape icon

[0072] elif signal_state == YELLOW:

[0073] return load_vector_icon("exclamation.svg") / / ! icon

[0074] Furthermore, the dynamic code and color code corresponding to the first icon are determined. The dynamic code is determined based on the dynamic function corresponding to the first icon, combined with the remaining time of the traffic light status signal. The color code is determined based on the color-sensitive area of ​​the user with color vision deficiency.

[0075] Specifically, a fixed range of values ​​is determined for the dynamic function. The remaining time is used as the independent variable of the dynamic function, and the value corresponding to each time point within the fixed range of values ​​is determined. The values ​​are then linearly mapped to determine the brightness parameter of the first icon shape, and the dynamic encoding of the first icon is determined based on the brightness parameter.

[0076] For example, the dynamic function corresponding to the red light icon X is in the form of the absolute value of a sine wave, so that icon X displays breathing-like changes in brightness. The icon corresponding to the green light... The corresponding dynamic function is a constant value, and the icon corresponding to the yellow light is a square wave with a 40% duty cycle.

[0077] The absolute value form of the sine wave is expressed as follows:

[0078]

[0079] In the formula, This represents the change in the brightness of the red light over time t. A value of 60 indicates the minimum brightness of the red light. A value of 90 indicates the maximum brightness of the red light. The frequency is 0.5Hz, and the period T is 2 seconds.

[0080] The duty cycle can be symmetrically increased or decreased by 50%. Experiments have shown that 0.5Hz is close to the low frequency range of the human resting heart rate, creating a psychological suggestion of "waiting" and "pressure," reinforcing the mandatory requirement to "stop." Slow changes avoid visual fatigue while clearly expressing that "the state is ongoing."

[0081] The icon corresponding to the green light The expression for the corresponding dynamic function being a constant value is:

[0082]

[0083] In the formula, Indicates the change in green light brightness over time. This represents a constant value; in this embodiment, a constant value of 70 is selected.

[0084] The icon corresponding to the yellow light! The corresponding dynamic function is a square wave with a 40% duty cycle, and its expression is as follows:

[0085]

[0086] In the formula, The brightness of the yellow light as a function of time t. This represents the maximum brightness of the yellow light, which can be set according to actual conditions. In this embodiment, the maximum brightness of the yellow light is selected as 80. Indicates duty cycle, This indicates the flashing frequency of the yellow light, which can be 2.0Hz with a period of 0.5 seconds. This represents a square wave function.

[0087] Furthermore, set the angular velocity. The cycle is Then the square wave function The complete expression is:

[0088]

[0089] Equivalent to the time-t-based expression:

[0090]

[0091] Substituting the square wave function into the expression for the brightness of the yellow light, we get:

[0092]

[0093] Experiments have shown that 2.0Hz is close to the critical fusion frequency of the human eye (CFF, visible flicker is below about 60Hz), which is in the range of "obvious discomfort but recognizable", generating a strong sense of "urgency" and psychological pressure to "take immediate action", which is consistent with the transitional meaning of the yellow light "about to turn red".

[0094] The time involved in this embodiment, and the dynamic effects determined based on time, are based on Coordinated Universal Time (UTC) to ensure that signals of the same frequency are in phase. Signals with the same state at adjacent intersections can be set with a 90° phase difference to avoid visual confusion.

[0095] In this embodiment, the process of determining the color code of the first icon for color-sensitive regions employs a contrast-based color coding method. Specifically, based on the signal status identifier, the current traffic light color is determined, and the color axis to which the color belongs is identified. Generally, traffic light colors belong to the red-green axis, with positive numbers representing red and negative numbers representing green. The color regions are decoupled, and the red-green axis interval and the yellow-blue axis interval of the color regions are determined. The red-green axis (-100~+100) is the confusion region used by red-green color perception deficiencies, and the yellow-blue axis (-100~+100) is the sensitive region used by red-green color perception deficiencies. Based on the color-sensitive regions, the red-green axis interval and the yellow-blue axis interval are optimized to determine the color code of the first icon. The red and green signals are mapped onto the yellow-blue axis and the brightness axis to avoid the confusion region of the red-green axis.

[0096] For example, when color-coding the X icon (representing a red light), a dark center and a smooth white border are used. The high-brightness border ensures visibility against any background, while the low brightness of the center creates strong contrast. The center color has a slight bluish tint, placing it within the safe zone of the green blind area and preventing confusion with green. For instance, the color parameters for the smooth white border are: brightness 90, red-green axis 0, yellow-blue axis 0 (pure white). The color parameters for the dark center are: brightness 30, red-green axis -10, yellow-blue axis 0 (dark gray with a bluish tint). The white smooth border's brightness is greater than the low brightness of the center, providing extremely high brightness contrast, far exceeding the perceptible threshold.

[0097] When color-coding the yellow "!" icon (representing a green light), a yellow-green center without a border is used, resulting in an overall yellow-green appearance. Users with normal color vision perceive it as green, while users with color vision deficiencies perceive it as yellow; both can be identified as "passing." For example, with a brightness of 80, the red-green axis is +20 with a slight red tint, and the yellow-blue axis is +60, displaying a strong yellow, forming a distinct orange. The icon border has alternating black and white jagged edges, with a 2px height and an 8px period. The jagged border creates a semantic association of "warning stripes" (similar to a warning tape), and the black-and-white contrast ensures that it is recognizable by users with full color vision deficiencies.

[0098] In this embodiment, the color space is replaced by the HSV (chroma, saturation, and brightness) color space. By adjusting S (saturation) and V (brightness), the confusion area of ​​color vision deficiency is avoided. Pattern fill (stripes / dot matrix) is used instead of solid color, and texture contrast is used to enhance recognizability.

[0099] Example code is as follows:

[0100] function dynamic_encoding(signal_state, t):

[0101] switch signal_state:

[0102] case RED:

[0103] f = 0.5

[0104] L_min = 60

[0105] L_max = 90

[0106] L = L_min + (L_max - L_min) * abs(sin(2 * π * f * t))

[0107] return L

[0108] case GREEN:

[0109] return 70 / / Constant brightness

[0110] case YELLOW:

[0111] f = 2.0

[0112] duty = 0.4

[0113] phase = (t * f) % 1.0

[0114] return 80 if phase < duty else 0 / / Square wave blinking

[0115] function color_encoding(signal_state):

[0116] switch signal_state:

[0117] case RED:

[0118] center_color = (L=30, a=-10, b=0)

[0119] border_color = (L=90, a=0, b=0)

[0120] border_type = "smooth"

[0121] return (center_color, border_color, border_type)

[0122] case GREEN:

[0123] main_color = (L=70, a=-40, b=40)

[0124] border_type = "none"

[0125] return (main_color, border_type)

[0126] case YELLOW:

[0127] main_color = (L=80, a=20, b=60)

[0128] border_pattern = "zigzag" / / Zigzag

[0129] border_colors = [(L=0, a=0, b=0), (L=100, a=0, b=0)] / / Alternating black and white

[0130] return (main_color, border_pattern, border_colors)

[0131] Therefore, shape encoding, dynamic encoding, and color encoding are combined to encode the first icon, determining the icon to be displayed, as well as the icon's animation and color.

[0132] Example code is as follows:

[0133] unction multimodal_synthesis(shape_data, dynamic_luminance, color_params):

[0134] / / 3.1 Applying Dynamic Brightness to Shape

[0135] shape_data.apply_luminance(dynamic_luminance)

[0136] / / 3.2 Applying Color Coding

[0137] if color_params has border:

[0138] shape_data.add_border(color_params.border_color, color_params.border_type)

[0139] shape_data.fill_color(color_params.main_color)

[0140] / / 3.3 Lab to RGB Conversion (Standard Conversion Process)

[0141] rgb_image = lab_to_rgb(shape_data)

[0142] / / 3.4 Gamma correction (γ=2.2)

[0143] rgb_image = apply_gamma_correction(rgb_image, gamma=2.2)

[0144] return rgb_image

[0145] Determine at least one display device and / or display location, and using existing HUD technology with fixed parameters, display the icon on the at least one display device and / or display location based on animation and color. For example, the display location is the lower 1 / 3 area of ​​the windshield, the virtual image distance is 2.5 meters, and it is aligned with the road focus. The icon size can be a viewing angle of 1.5° (corresponding to approximately 65mm display height), and the icon transparency is 85% to ensure that it does not obstruct the road ahead.

[0146] Example code is as follows:

[0147] HUD_CONFIG = {

[0148] 'position': {'x': 0.0, 'y': -0.1},

[0149] 'size': {'visual_angle': 1.5, 'physical_size': 0.065, 'virtual_distance': 2.5},

[0150] 'transparency': 0.85,

[0151] 'rotation': 0.0

[0152] }

[0153] def display_on_hud(rgb_image):

[0154] "HUD Display (Fixed parameters, calling existing SDK)"

[0155] # Call the vehicle HUD SDK

[0156] hud_sdk = get_hud_device()

[0157] # Set fixed parameters

[0158] hud_sdk.set_config(HUD_CONFIG)

[0159] # Display image

[0160] hud_sdk.display(rgb_image)

[0161] return True

[0162] In this embodiment, the display device and / or display location are also used to display countdown and location information corresponding to the traffic light status signal.

[0163] Based on the above implementation method, if the traffic light status signal changes, the traffic light status signal corresponding to the driving direction is reacquired.

[0164] This embodiment addresses the signal recognition difficulties faced by users with color vision deficiencies while driving due to color encoding failure by constructing a "shape-dynamic-contrast" triple semantic encoding system: using × / Figurative symbols such as ' / ' directly convey the semantic meaning of 'prohibition / passing / warning,' eliminating reliance on color; the time pressure is transformed into visual rhythm through pulse frequency (0.5Hz for red light indicating waiting, 2Hz for yellow light indicating urgency); combined with CIE Lab color optimization and high-contrast border design, the icons are ensured to remain clearly identifiable in complex environments such as strong light and fog; and through native integration with the vehicle's HUD / instrument panel, key information is accurately projected to the driver's main field of vision, avoiding interference from additional devices and distraction of the driver's gaze. Specific Implementation

[0165] The vehicle is currently at the intersection of an east-west main road and a north-south secondary road. The driver is colorblind and is driving from east to west in the evening (low light environment).

[0166] System workflow:

[0167] Signal acquisition: The vehicle's V2X communication unit receives traffic light status signals broadcast by the roadside unit (RSU), indicating that the east-west direction is green (15 seconds remaining) and the north-south direction is red.

[0168] Semantic encoding: Signal state: Green light

[0169] Shape coding: Shape icon (load vector path data)

[0170] Dynamic encoding: Stable always-on display (L=70)

[0171] Color coding: L*=70, a*=-40, b*=+40 (yellow-green)

[0172] HUD display: Displayed on the right side of the windshield (corresponding to the actual intersection direction). Shaped icon, yellow-green, constantly lit, 65mm in size, 85% transparency, dashboard display: synchronized display. The icon is shaped like a circle, with the text "Pass" below it and a countdown of "15s".

[0173] Shape perception: clear recognition The shape is interpreted as "confirmation and safety". Dynamic perception: stable brightness is interpreted as "stable state, no need to rush". Color perception: due to green blindness, the area with the red-green axis of -40 is perceived as gray-yellow, but the yellow component with the yellow-blue axis of +40 is clearly distinguishable. Combined with the shape, it is confirmed as "passage".

[0174] Overall assessment: The three codes are consistent and indicate "safe passage".

[0175] In this situation, the green light will turn yellow after 15 seconds.

[0176] The encoding switches to an exclamation mark (!), flashes at 2Hz, and has an orange jagged border. For users with color vision deficiencies, the shape abruptly changes to an exclamation mark (!) (warning), the dynamic changes to flashing (urgent), and the color changes to orange (clearly distinguishable from green), immediately conveying the message "Prepare to stop." The user's reaction is: release the accelerator, lightly apply the brakes, and smoothly stop at the red light.

[0177] System process pseudocode

[0178] function main_traffic_signal_encoding():

[0179] / / Step 1: Signal Acquisition

[0180] signal_state = signal_acquisition_module.get_current_state()

[0181] context_data = get_contextual_data() / / GPS, time, ambient light, etc.

[0182] / / Step 2.1: Shape Encoding

[0183] shape_data = shape_encoding(signal_state)

[0184] / / Step 2.2: Dynamic Encoding

[0185] current_time = get_utc_time()

[0186] dynamic_luminance = dynamic_encoding(signal_state, current_time)

[0187] / / Step 2.3: Color Coding

[0188] color_params = color_encoding(signal_state)

[0189] / / Step 3: Multimodal Synthesis

[0190] rgb_image = multimodal_synthesis(shape_data, dynamic_luminance,color_params)

[0191] / / Step 4: Adaptive Display

[0192] display_on_hud(rgb_image)

[0193] / / Continuous monitoring; re-execute when state changes.

[0194] while system_active:

[0195] if signal_state_changed():

[0196] restart_main_process()

[0197] It can also add tactile and auditory feedback, such as steering wheel vibration pattern coding (red light: long vibration, green light: no vibration, yellow light: short vibration), different tone prompts (red light: low tone, green light: mid tone, yellow light: high tone), etc., to help users with color vision deficiencies recognize traffic lights.

[0198] Figure 2 This is a structural diagram of a traffic light in-vehicle display device provided in one or more embodiments of the present invention.

[0199] like Figure 2 The traffic light in-vehicle display device shown includes: an audio file acquisition module and an audio file processing module;

[0200] The signal acquisition module is used to acquire the traffic light status signal corresponding to the current driving direction from the traffic signal controller;

[0201] The encoding determination module is used to determine the icon and the shape code of the icon corresponding to the traffic light status signal, and to determine the dynamic code and color code corresponding to the icon;

[0202] The display output module is used to encode icons based on shape encoding, dynamic encoding, and color encoding, and then display them at a designated location inside the vehicle.

[0203] The encoding determination module is used to perform noise filtering and confidence verification on the traffic light status signal, determine the signal status identifier of the current traffic light standard; determine the first icon corresponding to the signal status identifier from a set of multiple icons; and determine the shape code of the first icon.

[0204] The encoding determination module is used to obtain the dynamic function corresponding to the first icon and the remaining time of the current traffic light status signal; calculate the dynamic function based on the remaining time to determine the dynamic encoding of the first icon; determine the color sensitive area of ​​the color-deficient user, and determine the color encoding of the first icon based on the color sensitive area.

[0205] The encoding determination module is used to determine the fixed value range corresponding to the dynamic function; using the remaining time as the independent variable of the dynamic function, it determines the value corresponding to each time point in the remaining time within the fixed value range; it performs a linear mapping on the value to determine the brightness parameter of the first icon shape, and determines the dynamic encoding of the first icon based on the brightness parameter.

[0206] The encoding determination module is used to determine the current traffic light color based on the signal status identifier and determine the color axis to which the color belongs; decouple the color-sensitive area and determine the red-green axis interval and yellow-blue axis interval of the color-sensitive area; optimize the color based on the red-green axis interval and yellow-blue axis interval to determine the color code of the first icon.

[0207] The encoding determination module is used to synthesize shape encoding, dynamic encoding and color encoding, encode the first icon, determine the icon to be displayed as well as the icon's animation and color; determine at least one display device and / or display location, and display the icon on at least one display device and / or display location based on the animation and color.

[0208] The display device and / or display location are also used to display countdown and location information corresponding to the traffic light status signal.

[0209] The encoding determination module is also used to reacquire the traffic light status signal corresponding to the driving direction in response to a change in the traffic light status signal.

[0210] Figure 3 This is a block diagram of an electronic device structure for a traffic light in-vehicle display method provided in one or more embodiments of the present invention.

[0211] like Figure 3 As shown, this application provides an electronic device, including: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;

[0212] The memory stores a computer program that, when executed by a processor, causes the processor to perform steps of a method for displaying traffic lights inside a vehicle.

[0213] This application also provides a computer-readable storage medium storing a computer program executable by an electronic device, which, when run on the electronic device, causes the electronic device to perform the steps of a traffic light in-vehicle display method.

[0214] This application also provides a vehicle, including:

[0215] Electronic equipment for implementing the steps of a traffic light in-vehicle display method;

[0216] The processor runs a program, and when the program runs, it executes the steps of the traffic light in-vehicle display method based on data output from the electronic device.

[0217] A storage medium for storing a program that, when running, executes the steps of a traffic light in-vehicle display method based on data output from an electronic device.

[0218] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0219] The electronic device comprises a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on the operating system. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory. The operating system can be any one or more computer operating systems that control the electronic device through processes, such as Linux, Unix, Android, iOS, or Windows. Furthermore, in this embodiment of the invention, the electronic device can be a smartphone, tablet computer, or other handheld device, or a desktop computer, portable computer, or other electronic device; there is no particular limitation in this embodiment.

[0220] In this embodiment of the invention, the executing entity for electronic device control can be an electronic device itself, or a functional module within an electronic device capable of calling and executing a program. The electronic device can obtain the firmware corresponding to the storage medium. This firmware is provided by the supplier, and different storage media may have the same or different firmware; no limitation is made here. After obtaining the firmware corresponding to the storage medium, the electronic device can write this firmware into the storage medium; specifically, it burns the firmware corresponding to the storage medium into the storage medium. The process of burning the firmware into the storage medium can be implemented using existing technology, and will not be elaborated upon in this embodiment of the invention.

[0221] Electronic devices can also obtain reset commands corresponding to the storage media. The reset commands corresponding to the storage media are provided by the supplier. The reset commands corresponding to different storage media can be the same or different, and no restrictions are imposed here.

[0222] At this time, the storage medium of the electronic device is a storage medium on which the corresponding firmware has been written. The electronic device can respond to the reset command corresponding to the storage medium on which the corresponding firmware has been written, thereby resetting the storage medium on which the corresponding firmware has been written according to the reset command. The process of resetting the storage medium according to the reset command can be implemented by existing technology and will not be described in detail in this embodiment of the invention.

[0223] For ease of description, the above devices are described separately by function as various units and modules. Of course, in implementing this application, the functions of each unit and module can be implemented in one or more software and / or hardware.

[0224] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the meaning consistent with their meaning in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined.

[0225] For the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0226] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of this application.

[0227] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention 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 or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for displaying traffic lights inside a vehicle, characterized in that, The in-vehicle display method for traffic lights includes: Based on the current driving direction of the vehicle, the traffic light status signal corresponding to the driving direction is obtained from the traffic signal controller; Determine the icon corresponding to the traffic light status signal and the shape code of the icon, and determine the dynamic code and color code corresponding to the icon; Based on the shape encoding, the dynamic encoding, and the color encoding, the icon is encoded and then displayed in a designated location inside the vehicle.

2. The in-vehicle display method for traffic lights according to claim 1, characterized in that, The determination of the icon shape corresponding to the traffic light status signal and the shape code of the icon shape includes: The traffic light status signal is subjected to noise filtering and confidence verification to determine the signal status identifier of the current traffic light standard; Among a plurality of pre-set icons, a first icon corresponding to the signal status identifier is determined; Determine the shape code of the first icon.

3. The in-vehicle display method for traffic lights according to claim 2, characterized in that, The determination of the dynamic encoding and color encoding corresponding to the icon includes: Obtain the dynamic function corresponding to the first icon, and the remaining time of the current traffic light status signal; The dynamic function is calculated based on the remaining time to determine the dynamic encoding of the first icon; Identify the color-sensitive area of ​​the user with color vision deficiency, and determine the color code of the first icon based on the color-sensitive area.

4. The in-vehicle display method for traffic lights according to claim 3, characterized in that, The step of calculating the dynamic function based on the remaining time to determine the dynamic encoding of the first icon includes: Determine the fixed range of values ​​corresponding to the dynamic function; The remaining time is used as the independent variable of the dynamic function, and the value corresponding to each time point in the remaining time is determined within the fixed value range. The values ​​are linearly mapped to determine the brightness parameters of the first icon shape, and the dynamic encoding of the first icon is determined based on the brightness parameters.

5. The in-vehicle display method for traffic lights according to claim 4, characterized in that, The process of determining the color-sensitive area of ​​a user with color vision deficiency, and determining the color code of the first icon based on the color-sensitive area, includes: Based on the signal status identifier, determine the current color of the traffic light and the color axis to which the color belongs; The color-sensitive region is decoupled to determine the red-green axis interval and the yellow-blue axis interval of the color-sensitive region; The colors are optimized based on the red-green axis range and the yellow-blue axis range to determine the color code of the first icon.

6. The in-vehicle display method for traffic lights according to claim 5, characterized in that, The process of encoding the icon based on the shape encoding, the dynamic encoding, and the color encoding, and then displaying it at a designated location inside the vehicle, includes: The shape encoding, the dynamic encoding, and the color encoding are combined to encode the first icon, thereby determining the icon to be displayed, as well as the icon's animation and color. Determine at least one display device and / or display location, and display the icon on at least one of the display devices and / or the display location based on the animation and the color.

7. The in-vehicle display method for traffic lights according to claim 6, characterized in that, The display device and / or the display position are also used to display countdown and location information corresponding to the traffic light status signal.

8. The in-vehicle display method for traffic lights according to claim 1, characterized in that, After encoding the icon based on the shape encoding, the dynamic encoding, and the color encoding, and displaying it at a designated location inside the vehicle, the method further includes: In response to a change in the traffic light status signal, the traffic light status signal corresponding to the travel direction is reacquired.

9. A traffic light in-vehicle display device, characterized in that, The in-vehicle display device for the traffic lights includes: The signal acquisition module is used to acquire the traffic light status signal corresponding to the current driving direction from the traffic signal controller based on the current driving direction of the vehicle. The encoding determination module is used to determine the icon corresponding to the traffic light status signal and the shape code of the icon, and to determine the dynamic code and color code corresponding to the icon; The display output module is used to encode the icon based on the shape encoding, the dynamic encoding, and the color encoding, and then display it at a designated location inside the vehicle.

10. A vehicle, characterized in that, include: An electronic device for implementing the steps of the in-vehicle display method for traffic lights as described in any one of claims 1 to 8; A processor that runs a program that, when the program is running, performs the steps of the in-vehicle display method for traffic lights as described in any one of claims 1 to 8 from data output by the electronic device. A storage medium for storing a program that, when run, performs the steps of the in-vehicle display method for traffic lights as described in any one of claims 1 to 8 on data output from an electronic device.