A rendering method of a vehicle display device and related products
Patent Information
- Application Number
- CN202511230709.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-29
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2045-08-29
AI Technical Summary
主要表现为缺乏系统性的色彩规划和针对不同驾驶环境的动态适应能力,进而导致颜色分布随机且层次感不足,视觉引导效果不够明确,难以满足多样化驾驶场景下的使用需求,影响整体的显示效果和驾驶安全性
本申请实施例首先实时获取目标车辆周围的环境光数据及档位状态,并基于这些数据准确判断当前的驾驶模式。随后,依据确定的驾驶模式,选取对应的模式RGB(RedGreen Blue)主色,该主色作为该模式下的视觉主色调。接着,利用该主色结合色值搭配规则,生成包含多个协调RGB色值的颜色池。在显示界面中,结合RGB颜色池中的各个RGB色值来实现粒子渲染。本申请通过实时获取车辆周围环境数据和档位状态,准确识别驾驶模式,从而基于对应的模式RGB主色及色值搭配规则生成协调统一的RGB颜色池,确保色彩与当前环境高度匹配。由此,本申请有效增强了视觉引导的清晰度和稳定性,更好地满足了多变驾驶场景下的使用需求,显著提升了显示效果和驾驶安全性。此外,通过循环且依次使用RGB颜色池中的所有颜色,可以减少纯粹随机分布造成的极端视觉混乱,有助于颗粒色彩覆盖均匀。
Smart Images

Figure CN120821084B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of graphics rendering technology, and in particular to a rendering method and related products for a vehicle display device. Background Technology
[0002] Augmented Reality Head-Up Display (AR-HUD) systems are in-vehicle display devices that integrate augmented reality technology. This system uses particle-based path-paving technology combined with color matching technology to directly overlay and project driving assistance information onto the real road scene, thereby achieving precise route guidance and clear visual cues. Specifically, particle-based path-paving technology utilizes a large number of small particle-like display elements, arranged and dynamically changed to form an intuitive navigation trajectory; while color matching technology scientifically designs and controls the colors of these particles, utilizing the characteristics of color contrast, gradation, and saturation to make the path more eye-catching and easily identifiable, effectively conveying different types of information, such as route guidance and visual cues.
[0003] Nevertheless, existing particle-based path laying and color matching technologies still have significant shortcomings. These mainly manifest as a lack of systematic color planning and dynamic adaptability to different driving environments, resulting in random color distribution, insufficient layering, and unclear visual guidance. This makes it difficult to meet the needs of diverse driving scenarios, impacting overall display quality and driving safety. Summary of the Invention
[0004] To address the aforementioned issues, this application provides a rendering method and related products for a vehicle display device, aiming to enhance the clarity and stability of visual guidance and better meet the usage needs under diverse driving scenarios, thereby improving display effects and driving safety.
[0005] The embodiments of this application disclose the following technical solutions: A rendering method for a vehicle display device, the method comprising: Acquire data on the surrounding environment and gear status of the target vehicle; Based on the surrounding environment data and / or the gear position, determine the driving mode of the target vehicle; Obtain the RGB primary color corresponding to the driving mode; the RGB primary color is the main visual color tone of the driving mode. An RGB color pool is generated based on the RGB primary color and color value matching rules of the aforementioned pattern; the RGB color pool includes multiple RGB color values. Based on the RGB color pool, particle rendering is implemented for the display interface.
[0006] A rendering apparatus for a vehicle display device, the apparatus comprising: The first acquisition unit is used to acquire the surrounding environment data and gear status of the target vehicle; A driving mode determination unit is used to determine the driving mode of the target vehicle based on the surrounding environment data and / or the gear position. The second acquisition unit is used to acquire the mode RGB primary color corresponding to the driving mode; the mode RGB primary color is the visual primary color of the driving mode; An RGB color pool generation unit is used to generate an RGB color pool based on the mode's RGB primary color and color value matching rules; the RGB color pool includes multiple RGB color values. The particle rendering unit is used to cyclically and randomly combine each RGB color value in the RGB color pool to fill the particle queue, so as to realize particle rendering of the display interface. In each loop, all RGB color values from the RGB color pool are randomly and non-repeatedly used to fill the particle queue for particle rendering.
[0007] A computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to perform the rendering method for a vehicle display device as described above.
[0008] Compared with the prior art, this application has the following beneficial effects: This application first acquires real-time ambient light data and gear status around the target vehicle, and accurately determines the current driving mode based on this data. Then, according to the determined driving mode, the corresponding RGB (Red, Green, Blue) primary color is selected, which serves as the visual primary color for that mode. Next, using this primary color in conjunction with color value matching rules, a color pool containing multiple coordinated RGB color values is generated. In the display interface, particle rendering is achieved by combining the various RGB color values in the RGB color pool. This application accurately identifies the driving mode by acquiring real-time ambient data and gear status around the vehicle, thereby generating a coordinated and unified RGB color pool based on the corresponding mode RGB primary color and color value matching rules, ensuring a high degree of color matching with the current environment. Therefore, this application effectively enhances the clarity and stability of visual guidance, better meets the usage needs in diverse driving scenarios, and significantly improves display effects and driving safety. Furthermore, by using all colors in the RGB color pool in a cyclical and sequential manner, extreme visual chaos caused by purely random distribution can be reduced, contributing to uniform particle color coverage. Attached Figure Description
[0009] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0010] Figure 1 A scenario diagram provided for an embodiment of this application; Figure 2 This is a schematic diagram illustrating the rendering of an AR-HUD system, provided as an embodiment of this application. Figure 3 A flowchart illustrating the implementation of a rendering method for a vehicle display device provided in this application embodiment; Figure 4 A flowchart illustrating the implementation of an RGB color pool generation method provided in this application embodiment; Figure 5 A flowchart illustrating the implementation of a method for determining a driving mode according to an embodiment of this application; Figure 6 This is a schematic diagram of a rendering apparatus for a vehicle display device provided in an embodiment of this application. Detailed Implementation
[0011] To facilitate understanding of the technical solutions provided in the embodiments of this application, the background technology involved in the embodiments of this application will be described below.
[0012] The significant shortcomings of current AR-HUD particle-based color matching technology are mainly reflected in three aspects: First, the RGB values of the particle colors are randomly distributed across the entire color gamut (0-255), resulting in excessive color randomness and a chaotic visual effect (e.g., Figure 1 As shown, Figure 1 The blue arrow in the image is a 3D dynamic guide icon. Figure 1The colored path in the image is the navigation trajectory. This trajectory presents a highly chaotic and irregular color distribution, lacking a unified visual guidance effect, which can easily lead to users misjudging the path. Assuming the navigation route in the AR-HUD consists of thousands of particles, each particle's color randomly takes values between 0 and 255 in the red, green, and blue channels, the resulting colors may include bright red, green, and blue, as well as yellow, purple, cyan, and even some dull colors with varying brightness. The colors of the particles displayed consecutively on a path are as follows: Particle 1: RGB(255, 0, 0) — bright red; Particle 2: RGB(0,255, 255) — cyan; Particle 3: RGB(128, 64, 200) — purplish-blue; Particle 4: RGB(200,200, 50) — yellow; Particle 5: RGB(30, 180, 30) — dark green. Such a diverse and irregular distribution of colors can make it difficult for drivers to concentrate, as the lack of a unified color scheme makes the visual information appear cluttered and lacking in hierarchy. Especially in complex environments or under lighting conditions, drivers can easily confuse the direction indicated by these colors, increasing the risk of misjudging the path and seriously affecting driving safety.
[0013] Secondly, the current solution lacks a color guidance theory based on human factors engineering, fails to reasonably control color proportions, and does not fully utilize the principles of color contrast and complementarity. Therefore, it struggles to create clear and effective visual anchors and guidance, affecting the driver's concentration. For example, suppose the AR-HUD navigation system uses multiple colors to represent different information, but these colors are not designed based on human eye color sensitivity and cognitive habits. The path is mainly composed of a mixture of green, yellow, and red particles, but their proportions are uneven and randomly distributed: green particles account for 40%, yellow particles for 50%, and red particles for only 10%. The three colors do not exhibit clear spatial hierarchy or regular alternation. Furthermore, green and yellow have a small color difference, are adjacent colors, and lack high-contrast complementary colors (such as blue or purple) as visual anchors, making the overall path color appear bland and easily confusing. At high speeds, the driver's eyes struggle to quickly distinguish between the main path and auxiliary cues, and the lack of a clear color focus easily distracts attention.
[0014] Finally, the color scheme is relatively static, unable to dynamically adjust the main color tone according to different driving scenarios or modes (such as daytime, nighttime, snow, or sport mode), resulting in insufficient adaptability and reducing overall comfort and practicality. Suppose an AR-HUD navigation system uses a fixed bright yellow as the main color for path particles during its design; the color remains unchanged regardless of day or night, sunny or snowy conditions. For bright daytime environments: while the yellow path remains clearly visible against a bright background, insufficient contrast occurs in complex road conditions or under direct sunlight, making path information less prominent. For low-light nighttime environments: the same yellow particles can easily cause glare and visual fatigue because yellow light itself is bright and appears dazzling in dark environments, affecting driver comfort. For snow-covered environments: snow reflects strong white light, reducing the contrast between the yellow path and the surrounding environment, blurring path boundaries, and making route recognition difficult. For sport mode (fast driving): static color schemes cannot emphasize speed or hazard warnings.
[0015] Based on this, this application provides a rendering method and related products for a vehicle display device. First, it acquires the surrounding environment data and gear status of the target vehicle, and determines the current driving mode based on this information. Then, based on the visual primary color of the corresponding driving mode—the mode's RGB primary color—it generates an RGB color pool containing multiple coordinated color combinations using color value matching rules. During the rendering process, it cyclically and randomly selects each RGB color value from the color pool to fill the particle queue, thereby achieving a dynamic and rich particle rendering effect on the vehicle display device's display interface. Each rendering cycle ensures the comprehensive application of color combinations to reduce extreme visual chaos caused by purely random distribution. This application accurately identifies the current driving mode by acquiring surrounding environment data and gear status in real time, and generates a coordinated and unified RGB color pool based on the corresponding mode's RGB primary color and color value matching rules, ensuring a high degree of color matching with the environment. Simultaneously, during the particle queue filling process, it uses a strategy of cyclically, randomly, and non-repeatingly combining all color value combinations in the color pool, ensuring the consistency and hierarchy of the overall color style. Furthermore, this application can dynamically adjust the main color tone according to different driving environments, achieving intelligent color adaptation, thereby effectively improving the clarity and stability of visual guidance, meeting complex and ever-changing driving needs, and significantly enhancing display effects and driving safety. Through this systematic and dynamically flexible color scheme, this application overcomes the problems of random colors, ambiguous indications, and poor adaptability in traditional technologies.
[0016] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0017] See Figure 2 , Figure 2 This is a schematic diagram illustrating the rendering of an AR-HUD system, provided as an embodiment of this application.
[0018] When a target vehicle equipped with an AR-HUD system requires AR-HUD rendering, the system can acquire ambient temperature, road surface reflectivity, road surface adhesion coefficient, ambient light intensity, and the vehicle's gear status. Ambient temperature is used to determine current weather conditions and potential impacts on road surface conditions; road surface reflectivity assesses road material and its slipperiness; the road surface adhesion coefficient reflects the friction performance between the tires and the road surface and the vehicle's grip; ambient light intensity reflects the brightness of the external environment, helping to determine the brightness adjustment needs of the displayed content; and the gear status represents the vehicle's operating mode, such as P (Park), R (Reverse), N (Neutral), D (Drive), and S (Sport Mode), with different gears corresponding to different driving scenarios. The following explanation uses an ambient temperature of -5°C, a road surface reflectivity of 0.8, a road surface adhesion coefficient of 0.2, an ambient light intensity of 120 lux, and the vehicle in D gear as an example.
[0019] Based on an ambient light intensity of 120 lux, an ambient light color temperature of 5000K, and the vehicle's gear setting (D), the driving mode of the target vehicle is determined by combining these driving mode determination conditions. These conditions include a first condition, a second condition, and a third condition. The determination is performed sequentially, checking whether each condition is met. If a condition is met, the subsequent conditions are not checked. For example, the first condition is: when the ambient temperature is below the temperature threshold of 0℃, the road surface reflectivity is above the reflectivity threshold of 0.7, and the road surface adhesion coefficient is below the adhesion coefficient threshold of 0.3, the current driving mode is determined to be Snow mode. The second condition is: when the vehicle is in Sport gear (S gear), the current driving mode is determined to be Sport mode. The third condition is: when the ambient light intensity is above the light intensity threshold of 20 lux, the current driving mode is determined to be Daytime mode; when the ambient light intensity is less than or equal to the light intensity threshold of 20 lux, the current driving mode is determined to be Night mode. Therefore, in this example, based on the conditions of "ambient temperature of -5°C, road surface reflectivity of 0.8, road surface adhesion coefficient of 0.2, light intensity of 120 lux, and gear status of D", combined with the first judgment condition, it can be determined that the current driving mode is snow mode.
[0020] Then, a primary color is determined based on the vehicle's current driving mode - snow mode. This primary color is called the snow mode RGB primary color. For example, in Snow mode, warm colors can be selected as the current visual main color, such as light orange (RGB(255, 165, 0)) or pale yellow (RGB(255, 255, 0)). These colors provide a clear and comfortable visual effect, reducing visual interference for the driver and making the driver more comfortable and safer in snowy environments. In Sport mode, more aggressive and vibrant colors can be selected as the current visual main color, such as red (RGB(255, 69, 0)) or orange (RGB(255, 140, 0)). These colors enhance the driving atmosphere and inspire the driver's passion and motivation. In Daytime mode, gentle and bright colors can be selected as the current visual main color, such as light blue (RGB(173, 216, 230)). In Night mode, less bright colors (or darker colors) can be selected as the current visual main color, such as dark blue (RGB(0, 0, ...). 139)) These colors can reduce glare during nighttime driving, protect the driver's vision, and provide clear information display. The following content will use the snow mode with a light yellow RGB primary color (RGB(255, 255, 0)) as an example for explanation.
[0021] Based on the RGB primary color of the snow mode—light yellow (RGB(255, 255, 0))—it is first converted to the HSV (Hue, Saturation, Value) color space to extract the corresponding hue value H, saturation S, and lightness V. Then, according to the color matching rules, the number of analogous colors N and the number of contrasting colors M are determined. This article uses N=7 and M=2 as an example for explanation. The analogous color interval is defined as [H-15°, H+15°]. Centered on the hue H of the current primary color, seven analogous color values are uniformly sampled within this interval: 45°, 50°, 55°, 60° (primary color), 65°, 70°, and 75°. These colors are evenly spaced in hue and similar to the primary color, ensuring overall visual harmony. Meanwhile, based on the definition of complementary colors, "add 120° to H and subtract 120° to obtain the complementary color", two complementary color values were calculated as 180° (60° + 120° = 180°) and 300° (60° - 120° = 300°, converted within a 360° cycle). These colors have a large contrast with the main color in hue, which is used to enhance the sense of hierarchy and visual impact of the interface.
[0022] Next, these 7 similar color values, 2 contrasting color values, and the complementary color value corresponding to the hue value H are combined with the saturation S and lightness V in the HSV color space to form a total of (7 + 2 + 1), or 10 HSV color values, thus constructing a complete HSV color pool. Finally, each color value combination in this HSV color pool is converted back to the RGB color space to generate an RGB color pool suitable for rendering on display devices, thereby supporting diverse and harmonious dynamic particle rendering effects.
[0023] Finally, the RGB color values in the RGB color pool are iterated through and applied to the particle queue of the target vehicle's AR-HUD system in a random order. This ensures that the particle rendering effect is both rich and diverse yet harmonious and consistent. In each rendering loop, all RGB color values in the color pool are used randomly but not repeatedly, ensuring that all colors are fully displayed while avoiding overly concentrated or monotonous color distribution. For example, suppose the color pool has 10 colors, and the corresponding numbers are 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10. In the first rendering loop, the program randomly determines an order, for example: [3, 7, 1, 8, 5, 10, 6, 2, 4, 9]. Color 3 is used for the first rendering, color 7 for the second, color 1 for the third, color 8 for the fourth, color 5 for the fifth, color 10 for the sixth, color 6 for the seventh, color 2 for the eighth, color 4 for the ninth, and color 9 for the tenth. This completes one loop, using all colors in the color pool without repetition. The second rendering loop begins with a new, randomly shuffled order, such as [2, 6, 8, 4, 7, 1, 3, 9, 5, 10], and the colors are used sequentially.
[0024] In this way, the AR-HUD system achieves dynamic and layered particle visual effects, enhancing the aesthetics of the display interface.
[0025] Those skilled in the art will understand that Figure 2 The schematic diagram shown is merely one example in which embodiments of this application can be implemented. The scope of application of the embodiments of this application is not limited by any aspect of this framework.
[0026] To facilitate understanding of this application, the rendering method of a vehicle display device provided in the embodiments of this application is described below with reference to the accompanying drawings.
[0027] See Figure 3 As shown, this figure is a flowchart of a rendering method for a vehicle display device provided in an embodiment of this application. Figure 3 As shown, the method may include S301-S305: S301: Obtain the surrounding environment data and gear status of the target vehicle.
[0028] During the rendering process of vehicle display devices, it is first necessary to acquire the surrounding environmental data and gear status of the target vehicle. "Surrounding environmental data" refers to information such as temperature, road surface reflectivity, road surface adhesion coefficient, light intensity, and other relevant parameters in the environment in which the vehicle is located. This data reflects the physical characteristics of the external environment and the driving safety status. For example, temperature, road surface reflectivity, and road surface adhesion coefficient can reveal the current road conditions and potential danger levels, while ambient light intensity can reveal whether the current environment is bright daytime or dark nighttime. By accurately acquiring and analyzing this ambient light data, the vehicle display system can determine the vehicle's driving mode based on the external lighting conditions, and then determine the main color style of the vehicle display device according to the driving mode, ensuring that information is clear, easy to distinguish, and visually comfortable under different lighting conditions.
[0029] Meanwhile, "gear status" refers to the vehicle's current gearbox position, such as Park (P), Reverse (R), Neutral (N), Drive (D), and Sport mode (S), each corresponding to a different driving scenario. Real-time acquisition of the vehicle's gear status also helps the vehicle's display system determine the current driving mode and, combined with ambient light data, select the most suitable display color tone for particle rendering strategies to improve the recognizability and safety of navigation routes.
[0030] S302: Determine the driving mode of the target vehicle based on the surrounding environment data and / or the gear position.
[0031] Determining the driving mode of a target vehicle based on ambient environmental data, gear position, or a combination of both is a crucial step in achieving intelligent vehicle display rendering. First, ambient environmental data reflects the external lighting conditions the vehicle is in, including ambient temperature, road surface reflectivity, road surface adhesion coefficient, and light intensity. This data reveals current environmental characteristics, such as different lighting scenarios like daytime, nighttime, and snowy conditions. Second, gear position directly represents the vehicle's current operating state, such as parking (P), reversing (R), neutral (N), driving (D), and sport mode (S). Different gears correspond to different driving operations and needs. Combining these two types of information for analysis helps in a comprehensive understanding of the actual driving situation the vehicle is in.
[0032] Specifically, ambient temperature, road surface reflectivity, and road surface adhesion coefficient help the vehicle's display system determine whether to enter snow mode, while ambient light intensity helps determine whether to enter daytime or nighttime mode. For example, when the ambient light intensity is high, the vehicle's display system can determine it is a daytime driving environment and thus select a bright and moderately contrasting display color scheme; conversely, when the light intensity is low, it can be determined to be a nighttime environment and a low-brightness, soft color strategy can be used to reduce visual fatigue. At the same time, the gear status reflects the driving intention and vehicle dynamics. For example, when in Sport mode (S gear), the driver is in a more exciting driving scenario, and the vehicle's display system will prioritize a color scheme that emphasizes the sense of power.
[0033] By comprehensively analyzing surrounding environmental data and gear status, the vehicle display system can accurately classify the vehicle's driving mode, such as "Snow Mode," "Sport Mode," "Daytime Mode," and "Nighttime Mode," achieving dynamic recognition of the driving mode. This recognition not only guides subsequent color scheme selection but also provides a basis for particle rendering and interface layout, ensuring that the displayed content is highly compatible with the driving environment, thereby improving information transmission efficiency and driving safety.
[0034] S303: Obtain the RGB primary color corresponding to the driving mode.
[0035] Obtaining the RGB primary color corresponding to the driving mode is a crucial step for vehicle display devices to achieve personalized and scene-adaptive rendering. Each driving mode has unique visual performance requirements due to its specific environmental conditions and driving needs. The RGB primary color of the mode, as the main visual color tone of that mode, plays a core role in guiding the user's visual focus, conveying emotional atmosphere, and enhancing information recognition.
[0036] Specifically, based on the driving mode determined in the previous step, the vehicle display system selects a pre-set RGB primary color that matches that mode. For example, in snow mode, the primary color is usually a warm-toned color to effectively mitigate the strong glare from snow reflections, improving the recognizability of interface elements and visual comfort. In sport mode, the primary color tends to be bright and dynamic, such as red or orange, to enhance driving passion and warning effects. In daytime mode, the primary color is usually a bright and contrasting color to ensure that interface information remains clearly visible in bright light. In nighttime mode, the primary color leans towards darker tones, balancing visual comfort and eye protection to avoid glare. In addition, for special environments such as snow mode, the primary color may use soft, warm tones such as pale yellow to enhance harmony with the environment and readability. By accurately acquiring and applying the corresponding RGB primary color for each mode, the display device can ensure a consistent and easily recognizable interface color style across different driving modes, thereby improving the driver's ability to quickly capture key information and the overall user experience. This main color determination mechanism based on driving mode not only enhances the system's intelligence level, but also provides a solid color foundation for subsequent color value matching and particle rendering, ensuring the scientific rationality and aesthetic harmony of the visual effect.
[0037] S304: Generate an RGB color pool based on the RGB primary color and color value matching rules of the described mode.
[0038] Generating an RGB color pool based on the RGB primary color and color value matching rules is a crucial step in achieving richness and harmony in the colors of vehicle display device interfaces. First, the RGB primary color serves as the visual core hue for this driving mode, determining the overall tone and style of the color system. However, a single color is insufficient to meet the diverse element representation needs of a complex interface; therefore, it is necessary to reasonably extend and combine the primary color using color value matching rules. Color value matching rules (i.e., color matching principles) encompass many principles of color theory, such as analogous color matching, complementary color matching, contrasting color matching, and triadic color matching. These theories guide the selection and adjustment of colors in dimensions such as hue, saturation, and brightness, ensuring that the generated colors maintain overall unity while possessing distinct layers and visual impact.
[0039] Specifically, centered on the primary RGB color, the vehicle display system calculates multiple colors with reasonable hue shifts and brightness adjustments in the HSV color space or other suitable models, based on preset angles or proportions, thus forming multiple color value combinations. For example, similar color ranges are constructed around the primary color to ensure harmony and unity, while a certain number of contrasting and complementary colors are introduced to enhance the interface's vibrancy and recognizability. The resulting RGB color pool not only contains multiple RGB color values but also covers color categories for different visual effect requirements, allowing for flexible application to various display elements such as particle rendering, icon highlighting, and background filling. Through this method, the vehicle display system achieves scientific and intelligent color configuration, presenting aesthetically pleasing and functionally clear visual effects under various driving modes and environmental conditions, greatly improving user experience and driving safety.
[0040] It should be noted that the color value matching rule essentially utilizes the color attributes of light in nature and the objective laws of human color perception. By converting the primary color to the HSV color space and based on the naturally existing color wheel relationship, combined with the definition of hue angle intervals (such as ±15° intervals for similar colors, and calculation of the positions of contrasting and complementary colors), it simulates the laws of natural color harmony and contrast. The color value matching rule follows the inherent laws of physical optics and physiological visual science. Therefore, "generating an RGB color pool based on the described RGB primary color and color value matching rule" achieves technical optimization in color generation, ensuring that the constructed RGB color pool is not only scientifically reasonable but also conforms to human visual aesthetic habits and recognition characteristics.
[0041] S305: Implement particle rendering of the display interface based on the RGB color pool.
[0042] Based on the RGB color pool, the system iterates through each RGB color value in the pool and uses a random but non-repeating selection strategy to assign these color values to the particles on the display interface for rendering. This not only ensures the diversity and richness of particle colors but also effectively avoids color repetition within the same rendering cycle, thereby enhancing the visual depth and aesthetics and achieving a balanced and dynamic color display.
[0043] Based on the descriptions in S301-S305, this application provides a rendering method for a vehicle display device. First, it acquires the surrounding environment data and gear status of the target vehicle, and then determines the current driving mode based on this information. According to the determined driving mode, the corresponding visual primary color is extracted, i.e., the mode's RGB primary color. Subsequently, based on this primary color and color value matching rules, a color pool containing multiple RGB color values is generated. During the rendering process, dynamic and rich particle rendering effects are achieved by combining the various RGB color values in the RGB color pool. This application accurately identifies the driving mode by acquiring real-time data on the vehicle's surrounding environment and gear status, thereby generating a coordinated and unified RGB color pool based on the corresponding mode's RGB primary color and color value matching rules, ensuring a high degree of color matching with the current environment. Furthermore, by using all colors in the RGB color pool in a cyclical and sequential manner, extreme visual chaos caused by purely random distribution can be reduced, contributing to uniform particle color coverage and further improving visual effects and driving experience.
[0044] In one possible implementation, the step of rendering particles in the display interface based on the RGB color pool includes: The particle queue is filled by cyclically and randomly combining each RGB color value in the RGB color pool to achieve particle rendering of the display interface.
[0045] In the particle rendering process of vehicle display devices, the core technical means to achieve dynamic and layered visual effects is to use a cyclical and random combination of RGB color values from the RGB color pool to fill the particle queue on the display interface. Specifically, the vehicle display system first randomly selects different color combinations from a pre-generated color pool containing multiple RGB color values to give the particles diverse and harmonious color representations. This random selection ensures the diversity of particle color distribution, avoiding monotonous or repetitive interface colors, thereby enhancing visual activity and naturalness. At the same time, the cyclical mechanism ensures that all color value combinations in the entire color pool are fully utilized, and there will be no color deviation or omission even in consecutive rendering cycles, resulting in a balanced and rich image effect for the particle colors. In each cycle, the vehicle display system randomly but non-repeatedly calls all color value combinations in the color pool. This "random and non-repeating" approach maintains the freshness of the color arrangement while ensuring the integrity and fairness of the overall color application. The particle queues filled in this way form layered and flowing visual patterns on the display interface of the target vehicle's display device. This not only enhances the aesthetics and recognizability of the interface, but also achieves particle rendering effects that are highly consistent with the ambient atmosphere based on the main color scheme of different driving modes.
[0046] By cleverly combining cyclic and random strategies, the color pool's color potential is fully utilized, enabling vehicle display devices to exhibit a dynamic, rich, visually comfortable, and expressive particle interface in different scenarios, greatly enhancing the user's visual experience.
[0047] In one possible implementation, the step of rendering particles in the display interface based on the RGB color pool includes: The particle queue is filled by cyclically and randomly combining each RGB color value in the RGB color pool to achieve particle rendering of the display interface.
[0048] In the particle rendering process of vehicle display devices, the core technical means to achieve dynamic and layered visual effects is to use a cyclical and random combination of RGB color values from the RGB color pool to fill the particle queue on the display interface. Specifically, the vehicle display system first randomly selects different color combinations from a pre-generated color pool containing multiple RGB color values to give the particles diverse and harmonious color representations. This random selection ensures the diversity of particle color distribution, avoiding monotonous or repetitive interface colors, thereby enhancing visual activity and naturalness. At the same time, the cyclical mechanism ensures that all color value combinations in the entire color pool are fully utilized, and there will be no color deviation or omission even in consecutive rendering cycles, resulting in a balanced and rich image effect for the particle colors. In each cycle, the vehicle display system randomly but non-repeatedly calls all color value combinations in the color pool. This "random and non-repeating" approach maintains the freshness of the color arrangement while ensuring the integrity and fairness of the overall color application. The particle queues filled in this way form layered and flowing visual patterns on the display interface of the target vehicle's display device. This not only enhances the aesthetics and recognizability of the interface, but also achieves particle rendering effects that are highly consistent with the ambient atmosphere based on the main color scheme of different driving modes.
[0049] During the particle queue filling process, a strategy of cyclically and randomly combining all color value combinations in the color pool is adopted, which not only enriches the color variations and improves the visual diversity and interest, but also ensures the consistency and layering of the overall color style.
[0050] In one possible implementation, this application also provides a method for generating an RGB color pool, see [link to relevant documentation]. Figure 4 , Figure 4 This is a flowchart illustrating the implementation of an RGB color pool generation method provided in this application embodiment. Accordingly, step S304 generates an RGB color pool based on the RGB primary color and color value matching rules, which can be specifically implemented through steps S401-S404: S401: Convert the RGB primary color of the mode into the HSV color space of the mode; and determine the number of similar colors N and the number of contrasting colors M according to the color value matching rules.
[0051] During the RGB color pool generation process, the primary RGB color can be converted to the HSV color space for more intuitive and effective color analysis and processing. While the RGB color model directly corresponds to the red, green, and blue light emission principles of display devices, the numerical changes of its three primary colors do not fully align with human visual perception of color, making it difficult to directly reflect the relationship between hue, saturation, and value. The HSV space, by decomposing color into three independent dimensions that conform to visual cognition—hue, saturation, and value—makes color adjustment and matching more flexible and scientific. Therefore, after converting the primary RGB color to the HSV space, the hue information of that primary color can be accurately extracted as the core basis for subsequent color matching.
[0052] Based on color matching rules, determining the number of analogous colors (N) and complementary colors (M) within the color pool ensures both the consistency of the main color scheme and sufficient contrast to enhance visual impact and balance. Specifically, analogous colors are those with hues close to the main color and moderate saturation and brightness, guaranteeing overall tonal harmony and contributing to a comfortable visual environment. Complementary colors, on the other hand, are those with hues significantly different from the main color, used to highlight key information or increase the visual hierarchy of the interface, thereby improving user attention and operational efficiency. Appropriately allocating these two types of colors to create a color pool that is both rich and not overly cluttered is key to achieving high-quality color representation. Here, N and M are both positive integers.
[0053] In one possible implementation, N+M=9 can be set, which means that the total number of analogous and contrasting colors in the color pool is fixed at 9 color value combinations. This facilitates calculation and management and ensures a balanced allocation of color resources. Through this constraint, the vehicle display system can flexibly adjust the specific numerical ratios of N and M according to different driving modes or interface requirements to adapt to different visual effect requirements, while avoiding visual fatigue caused by too many colors or monotony caused by too few colors.
[0054] S402: Combining the number of similar colors N, the definition of similar color intervals, the number of contrasting colors M, and the definition of contrasting colors, perform similar color calculations and contrasting color calculations on the hue values H in the mode HSV color space to obtain N similar color values and M contrasting color values, and perform complementary color calculations on the hue values H in the mode HSV color space to obtain complementary color values.
[0055] Combining the number of analogous colors (N), the definition of analogous color intervals, the number of contrasting colors (M), and the definition of contrasting colors, calculating analogous and contrasting colors for the hue value H in the HSV color space is the core step in constructing a diverse and harmonious color pool. Specifically, firstly, based on the number of analogous colors (N) and the preset definition of analogous color intervals, using the hue value H of the primary color as a benchmark, N colors with hues close to the primary color are generated evenly within a certain hue offset range or according to a specific pattern. These analogous colors maintain small differences in hue, forming a harmonious color group that strengthens the consistency of the overall visual style. Simultaneously, by adjusting saturation and brightness, the color hierarchy is kept rich and not monotonous. At the same time, according to the number of contrasting colors (M) and the definition of contrasting colors, the hue of the primary color is shifted significantly and regularly, selecting hue values that are far apart on the color wheel to obtain M colors with a clear visual contrast effect. These contrasting colors can highlight key points, guide the eye, and enhance information recognition in interface design, effectively improving the dynamism and functionality of the interface. By performing analogous color calculations and contrasting color calculations on the hue value H separately, it is not only ensured that the quantity and quality of analogous and contrasting colors in the color pool meet the design requirements, but also that the resulting N analogous color values and M contrasting color values are reasonably distributed in the hue space, preserving the overall rhythm of the main color while injecting the necessary visual vitality and impact.
[0056] Furthermore, to further enrich the expressiveness of the color pool, the vehicle display system can also calculate the complementary color for the hue value H in the HSV color space. This involves selecting a hue value on the color wheel that is 180 degrees away from the primary color, creating a visually balanced and highly contrasting complementary color. This type of color is often used in color matching to enhance visual tension and attract attention. By simultaneously obtaining N similar color values, M contrasting color values, and 1 complementary color value, the vehicle display system achieves multi-dimensional expansion of color resources. This ensures harmonious color matching while introducing necessary contrast and variation, achieving an optimal balance between richness and harmony in the overall color pool.
[0057] This step not only fully utilizes the guiding significance of color value matching rules, but also combines the intuitive attributes of the HSV space, improving the accuracy and scientific nature of color generation. It provides a solid foundation for subsequent color combinations and interface rendering of vehicle display devices, and prepares for further effectively enhancing the user's visual experience and the functional performance of the interface.
[0058] S403: Combine the N similar color values with the saturation value S and the lightness value V in the HSV color space of the mode, combine the M contrasting color values with the saturation value S and the lightness value V, and combine the complementary color values with the saturation value S and the lightness value V to obtain M+N+1 HSV color values.
[0059] Combining N similar color values with the saturation (S) and lightness (V) values in the HSV color space, combining M contrasting color values with the saturation (S) and lightness (V) values, and combining the complementary color value with the saturation (S) and lightness (V) values, to form M+N+1 HSV color values, is a key step in achieving color pool diversity and visual harmony. Specifically, in the previous step, a complete hue set containing N similar hues, M contrasting hues, and 1 complementary hue was obtained through hue calculation. These hue values provide a rich foundation for color configuration, but hue information alone is insufficient to fully define visual color effects. Since the perception of color depends not only on hue but also heavily on saturation and lightness, these hue values must be combined with the saturation (S) and lightness (V) values in the HSV color space of the primary color to form truly usable color parameter combinations.
[0060] Through this combination, the vehicle display system maintains the overall saturation and brightness characteristics of the colors, ensuring that all generated HSV color values visually align with the dominant color tone of the mode. This guarantees that each color in the color pool possesses individual differences while maintaining unity and harmony. In practice, each hue value is assigned the same saturation (S) and brightness (V) to meet the visual hierarchy requirements of different elements on the interface. This method effectively avoids drastic changes in color intensity and vibrancy, enhancing the visual continuity and comfort of the interface.
[0061] Ultimately, through this rigorous color parameter fusion process, the resulting M+N+1 HSV color values are not only sufficient in number but also structurally sound, capable of covering various color variations derived from the primary color. Furthermore, they ensure uniformity in saturation and brightness, providing a solid foundation for subsequent conversion to the RGB color pool and practical application in particle rendering for vehicle display interfaces. This scientific color construction method helps achieve natural color transitions and visual hierarchy in dynamic interfaces, enhancing overall aesthetics and user experience. It also reflects a systematic design approach based on the HSV model and color value matching rules.
[0062] S404: Convert the color parameters of the M+N+1 HSV color values to RGB one by one to obtain the RGB color pool.
[0063] Converting each of the M+N+ HSV color parameters to RGB to obtain the RGB color pool is a crucial step in bridging the gap between color design theory and practical display applications. Specifically, HSV color values express color intuitively and in accordance with human visual perception based on hue, saturation, and lightness. This color model facilitates color generation and control, but not all display devices directly support the HSV format. Therefore, to ensure accurate color rendering on the screen, HSV color parameters must be converted to the RGB color space, which is widely used in electronic display devices.
[0064] This conversion process uses a mathematical model to map each HSV color value to its corresponding red, green, and blue primary color values, ensuring that the colors numerically match the input requirements of the display hardware while maintaining color accuracy and consistency. The generated RGB color pool serves as the core color resource library for the vehicle display system, guaranteeing both scientific color matching and rich gradations, while also meeting the diverse color performance needs under different driving modes and environmental conditions. The RGB color pool supports flexible rendering of interface elements and dynamic particle effects, thereby enhancing user experience and interface aesthetics.
[0065] Steps S401-S404 involve converting the RGB primary color to the HSV color space, rationally determining the number of analogous colors N and complementary colors M (where N and M are both positive integers) based on color value matching rules, and calculating the corresponding analogous and complementary color values. Simultaneously, complementary color calculation is introduced, greatly enriching the diversity of color combinations. Based on this, all calculated color values are rationally combined with the saturation and brightness of the primary color to form multiple HSV color values, which are then converted back to the RGB space to obtain a scientifically sound RGB color pool that meets display requirements. This application, on the one hand, utilizes the HSV space to intuitively separate hue, saturation, and brightness, making color adjustments more targeted and flexible. On the other hand, it systematically balances the proportion of analogous and complementary colors through color value matching rules and incorporates complementary colors, ensuring that the color pool is both unified and harmonious, yet layered and visually impactful. Furthermore, the overall process structure is clear, and the parameters are controllable, facilitating dynamic adjustments according to different driving modes or environmental needs, greatly improving the adaptability and aesthetics of the vehicle display system interface colors, and contributing to enhanced user experience and driving safety.
[0066] In one possible implementation, the driving modes include any one of Snow Mode, Sport Mode, Daytime Mode, and Nighttime Mode. These four modes are systematically categorized for different environmental conditions and driving needs to achieve intelligent adaptation to vehicle operating status and the external environment. When determining these modes, the vehicle display system makes judgments in descending order of priority. Snow Mode is considered first because it corresponds to a relatively special and high-risk driving environment, such as snow-covered roads under strong reflected light. In this case, the adjustment requirements for the vehicle display system and auxiliary functions are the most stringent and timely to ensure that the driver can obtain the best visibility and operational feedback. If the Snow Mode judgment conditions are not met, the system will determine whether it is in Sport Mode. This mode emphasizes driving performance and response speed, mainly based on whether the vehicle is in Sport gear, reflecting the driver's intention to actively pursue a more aggressive driving experience, and therefore has a higher priority. When neither of the above two modes is met, the vehicle display system will further determine whether the judgment conditions for Daytime Mode or Nighttime Mode are met based on parameters such as ambient light intensity. By setting a priority determination mechanism, the vehicle display system can select the most suitable driving mode layer by layer according to the complexity of the environment and driving needs, avoid multi-mode conflicts, and achieve smooth and intelligent switching, thereby ensuring the vehicle's dynamic adaptability and the driver's operating experience.
[0067] In one possible implementation, the surrounding environment data includes ambient temperature, road surface reflectivity, road surface adhesion coefficient, and ambient light intensity. These key parameters collectively form the basis for the system's comprehensive perception of external environmental conditions. Ambient temperature reflects the temperature of the environment in which the vehicle is located and is an important indicator for judging climate conditions; road surface reflectivity reflects the reflectivity of the road surface and can reveal the road's wetness or pollution level; road surface adhesion coefficient reflects the magnitude of road surface friction and is an important basis for judging whether the road surface is slippery; ambient light intensity reflects the brightness of the light around the vehicle and is an important indicator for judging the brightness level of the driving environment. It helps the system distinguish between different lighting scenarios such as daytime, nighttime, or special weather conditions, thus providing a basis for adjusting the brightness of the display device and presenting information. By simultaneously collecting and analyzing ambient temperature, road surface reflectivity, road surface adhesion coefficient, and ambient light intensity, the vehicle display system can achieve more detailed and dynamic environmental perception, avoiding the risk of misjudgment that may arise from relying on a single parameter.
[0068] In one possible implementation, this application also provides a method for determining the driving mode, see [link to relevant documentation]. Figure 5 , Figure 5The flowchart illustrates the implementation of a method for determining a driving mode according to an embodiment of this application. Accordingly, step S302 determines the driving mode of the target vehicle based on the surrounding environmental data and / or the gear position, which can be specifically implemented through steps S501-S507: S501: Identify the following conditions: whether the ambient temperature is less than the temperature threshold, whether the road surface reflectivity is greater than the reflectivity threshold, and whether the road surface adhesion coefficient is less than the adhesion coefficient threshold. If all conditions are met, proceed to step S502; otherwise, proceed to step S503.
[0069] Identifying whether the ambient light intensity and ambient temperature are below a temperature threshold, whether the road surface reflectivity is above a reflectivity threshold, and whether the road surface adhesion coefficient is below an adhesion coefficient threshold are crucial prerequisites for determining whether the current external lighting conditions meet the requirements for activating a specific driving mode. Specifically, the vehicle display system first collects ambient temperature data and compares it to a temperature threshold. If the temperature is below the threshold, it indicates a low ambient temperature and a potential risk of cold or icing. Simultaneously, it further assesses the road surface reflectivity and adhesion coefficient. If the road surface reflectivity is above the reflectivity threshold, it suggests the road surface may be wet or covered in ice or snow, leading to increased reflectivity. If the road surface adhesion coefficient is below the adhesion coefficient threshold, it indicates low road friction and a risk of slippage. Only when the ambient temperature is below the temperature threshold, the road surface reflectivity is above the reflectivity threshold, and the road surface adhesion coefficient is below the adhesion coefficient threshold can the vehicle display system confirm that the current environment meets the specific conditions, thus proceeding to the next step (step S502) and setting the driving mode to the corresponding state, such as snow mode. Conversely, if any of the above conditions are not met, it indicates that the current environmental conditions do not meet the triggering requirements of this mode. The vehicle display system then jumps to step S503 to continue determining a more suitable driving mode based on other parameters such as gear position. This multi-condition determination method effectively improves the accuracy and robustness of environmental perception, avoids misjudgments caused by abnormal single parameters, and ensures that the vehicle can intelligently adapt to complex and changing environmental conditions, thereby improving overall driving safety and user experience.
[0070] In one possible implementation, the temperature threshold value can be set but is not limited to around 0°C. However, users or system administrators can flexibly adjust the threshold according to actual application needs or driving environment characteristics to more accurately adapt to climate changes in different regions and seasons and improve the system's ability to identify low-temperature environments.
[0071] In one possible implementation, the reflectivity threshold can be set, but is not limited to, around 0.7. Users or system administrators can also dynamically adjust the reflectivity threshold according to specific needs to more accurately reflect different road surface materials and slippery conditions, and improve the perception accuracy under complex weather conditions such as snow.
[0072] In one possible implementation, the road surface adhesion coefficient threshold can be set but is not limited to around 0.3. Users or system administrators can also dynamically adjust the road surface adhesion coefficient according to specific needs to respond in a timely manner to changes in road surface adhesion and optimize the decision-making effect of vehicle stability control and driving mode switching.
[0073] S502: The target vehicle's driving mode has been determined to be snow mode.
[0074] In step S502, determining the target vehicle's driving mode as snow mode is a crucial decision based on a comprehensive assessment of ambient temperature, road surface reflectivity, and road surface adhesion coefficient. Specifically, when the vehicle's display system detects that the ambient temperature is below a temperature threshold, the road surface reflectivity is above a reflectivity threshold, and the road surface adhesion coefficient is below an adhesion coefficient threshold, it typically means that the vehicle is in an environment with strong reflective light and unique lighting conditions, such as snow. In this case, adopting snow mode as the current driving mode allows the vehicle's display system and related auxiliary functions to optimize and adjust for the characteristics of this environment, thereby improving safety and driving comfort.
[0075] In snow mode, the vehicle's display interface color scheme often uses cool tones or high-contrast colors to adapt to the strong glare and visual fatigue in snowy environments, and to enhance the readability of the instrument panel and auxiliary information.
[0076] Furthermore, the vehicle display system can also adjust parameters such as brightness and saturation, which helps reduce glare interference and improve visual clarity.
[0077] In one possible implementation, some high-end models automatically suggest or activate a snow mode to improve driving safety through comprehensive analysis of data from multiple sensors. First, a temperature sensor monitors the outside temperature in real time: when the temperature is below or equal to 0°C, an orange snowflake indicator illuminates on the instrument panel to warn the driver that the road surface may be icy; when the temperature drops further to -4°C or below, a red snowflake indicator illuminates, indicating a higher risk of icing and triggering the system to suggest activating snow mode. Second, the vehicle's Electronic Stability Control (ESC) and Traction Control System (TCS) continuously monitor the slip ratio of the drive wheels. Once a slip ratio exceeding a preset threshold is detected, such as during start-up slippage, the system automatically limits torque output or alerts the driver to activate snow mode to prevent loss of vehicle control. Finally, through the fusion technology of ambient light sensor and camera, the vehicle can identify the reflective characteristics of the road surface, such as the high reflectivity caused by snow accumulation. At the same time, the laser rangefinder detects the snow depth (exceeding a certain number of meters). This information is used to help judge the current road conditions, thereby more accurately deciding whether to activate the snow mode and achieving intelligent adaptation to complex winter road conditions.
[0078] S503: Identify whether the gear position is in sport mode. If yes, proceed to step S504; otherwise, proceed to step S505.
[0079] The core task of step S503 is to identify whether the current target vehicle is in sport mode. This determination plays a crucial role in the accurate determination of the subsequent driving mode. Specifically, when the ambient light conditions do not meet the criteria for snow mode, the vehicle display system needs to further refine the driving mode selection based on the actual operating status of the vehicle. Gear status, as an important parameter reflecting the driver's intentions and the adjustment of vehicle dynamic performance, can directly indicate whether the vehicle is in a state of aggressive driving or performance priority.
[0080] By detecting whether the gear has been switched to Sport mode, the vehicle display system can infer that the driver may expect stronger power response, faster acceleration, and a more responsive handling experience. In this case, if the gear is indeed in Sport mode, the vehicle display system will proceed to step S504 to determine the driving mode as Sport mode, in order to adjust the display interface colors and related auxiliary functions to highlight the dynamic and performance style. Conversely, if the gear is not in Sport mode, it indicates that the vehicle is currently in normal driving or Eco mode, and the vehicle display system will jump to step S505 to further determine a more suitable driving mode, such as day mode or night mode, based on other parameters such as ambient light intensity.
[0081] S504; The target vehicle's driving mode is determined to be Sport mode.
[0082] In actual driving, Sport mode typically indicates that the driver desires a more aggressive and responsive driving experience to meet higher demands for vehicle power performance and responsiveness. The vehicle's display system identifies the Sport gear position, signifying that the driver has actively switched to a more performance-oriented driving style. Therefore, setting the driving mode to Sport mode ensures that all vehicle display and control parameters are highly matched to driving needs.
[0083] In Sport mode, the vehicle's display interface often uses a more vibrant and energetic color scheme to enhance visual impact and improve the dynamic driving experience.
[0084] Furthermore, the vehicle display system can adjust the brightness, contrast, and priority of warning information on the instrument panel, making it easier to quickly capture and react to critical data, thus ensuring driving safety.
[0085] S505: Identify whether the ambient light intensity is greater than the light intensity threshold. If yes, proceed to step S506; otherwise, proceed to step S507.
[0086] The core of step S505 lies in judging the ambient light intensity so that the vehicle display system can intelligently switch to the most suitable driving mode according to different lighting conditions. Specifically, the vehicle display system first identifies whether the current ambient light intensity is greater than the light intensity threshold. If the ambient light intensity meets this condition, the system will proceed to step S506, setting the driving mode to daytime mode, thereby optimizing the display brightness and color according to moderate lighting conditions, improving information visibility and driving comfort. On the other hand, if the ambient light intensity does not meet this condition, it means that the surrounding environment is dark or even in a low-light state, such as at night or in a tunnel with insufficient lighting. In this case, the vehicle display system directly proceeds to step S507, setting the driving mode to nighttime mode.
[0087] In one possible implementation, the light intensity threshold can be set but is not limited to 20 lux. However, users or system administrators can flexibly adjust the threshold according to actual application needs or driving environment characteristics to adapt to changes in lighting conditions in different regions, seasons or special scenarios, thereby improving the applicability of the vehicle display system to environmental perception.
[0088] S506: The target vehicle's driving mode is determined to be daytime mode.
[0089] In step S506, determining the target vehicle's driving mode as daytime mode is based on the judgment that the ambient light intensity is greater than the light intensity threshold. This light range typically corresponds to normal daytime lighting conditions, which are neither too strong nor too weak, representing most common daytime driving environments.
[0090] S507: The target vehicle's driving mode is determined to be night mode; Step S507 determines that the target vehicle's driving mode is night mode, based on the decision that the ambient light intensity is not greater than (i.e., less than or equal to) a light intensity threshold. This low light intensity range typically corresponds to nighttime, tunnels, or other low-light environments. In these scenarios, insufficient external light poses a significant challenge to the driver's visual system, easily leading to visual fatigue and misjudgment, thereby increasing driving risks. To improve driving safety and comfort, the vehicle display system achieves targeted optimization and adjustment of the vehicle display by switching the driving mode to night mode.
[0091] Through steps S501-S507, this step-by-step driving mode determination method based on ambient light and gear status demonstrates the advanced level of intelligent vehicle environmental perception and mode adaptation technology, taking into account accuracy, stability and practicality, and greatly improving the intelligent interactive experience and driving safety of the whole vehicle.
[0092] In one possible implementation, the primary RGB color of the snow mode includes the RGB color values of any warm-toned color. This is because snowy environments typically present cold and bright visual characteristics; using warm tones as the primary color effectively counteracts the coldness of the environment, creating a warm and comfortable visual atmosphere for the driver. Warm RGB color values, such as red, orange, and yellow, not only enhance the interface's friendliness but also improve the user's psychological well-being and sense of security, helping to alleviate visual fatigue caused by reflected light from snow. Furthermore, using warm tones allows the vehicle interface to maintain good visibility and recognizability under complex lighting conditions in snowy conditions, thereby improving driving safety.
[0093] In one possible implementation, the primary RGB color of the motion mode includes the RGB values of any color (i.e., a stimulating hue) with a saturation greater than a saturation threshold and / or a contrast greater than a contrast threshold. This is because vibrant and dynamic colors can enhance the dynamism and passion conveyed by the motion mode. High-saturation colors significantly enhance visual impact, making the interface more eye-catching and energetic; while higher contrast enhances the distinction between colors, making information delivery clearer and more intuitive. This stimulating hue not only meets the driver's excited and alert psychological needs in motion but also stimulates the driver's desire for control and concentration, contributing to improved driving experience and safety. By using such highly saturated, high-contrast colors as the primary color of the motion mode, a high degree of matching between visual performance and the driving mode atmosphere can be effectively achieved.
[0094] In one possible implementation, the primary RGB color of the daytime mode includes the RGB color values of any color with a perceived brightness greater than a first perception threshold (i.e., a bright color). This is because daytime ambient light is ample, and selecting a color with high perceived brightness as the primary color helps ensure good visibility and recognizability of the vehicle display interface under strong light conditions. Bright colors not only improve the clarity and contrast of information, making it easier for the driver to quickly capture key data, but also enhance the overall visual comfort of the interface and reduce visual fatigue caused by long-term driving.
[0095] It should be noted that perceived brightness is a brightness value calculated based on the human eye's sensitivity to different colors of light, and is commonly used to assess the visual brightness of colors. Its calculation is typically based on the red, green, and blue channel values in the RGB color space, taking into account the different perceptual sensitivities of the human eye to these three colors.
[0096] Among them, the commonly used formula for calculating perceived brightness is a weighted linear combination: L=0.299×R+0.587×G+0.114×BL=0.299×R+0.587×G+0.114×B.
[0097] R, G, and B are the values for the red, green, and blue channels, respectively, and their values generally range from 0 to 255 (or normalized to 0 to 1). The coefficients 0.299, 0.587, and 0.114 reflect the characteristic that the human eye is most sensitive to green, followed by red, and lastly blue.
[0098] For example, suppose a color has RGB values of (120, 200, 150). Substituting the RGB values into the formula: L=0.299×120+0.587×200+0.114×150=35.88+117.4+17.1=170.38, the resulting 170.38 is the perceived brightness value of the color.
[0099] In one possible implementation, the RGB primary color of the night mode includes the RGB color values of any color with a perceived brightness less than a second perception threshold (i.e., a less bright color). Here, the second perception threshold is less than the first perception threshold, indicating that the brightness of the colors selected for the night mode is significantly lower than that of the daytime mode, to adapt to the special needs of visual comfort and safety in nighttime or low-light environments. Using a color with low perceived brightness as the primary color effectively reduces the light intensity of the display interface, minimizing stimulation and glare to the driver's eyes, thereby avoiding eye fatigue and distraction, and helping to maintain the driver's nighttime visual acuity. Simultaneously, this darker tone helps create a quiet and soft in-car atmosphere, improving the comfort of the driving experience.
[0100] In one possible implementation, the first perception threshold can be set to, but is not limited to, 180 (calculated based on the RGB color value range of 0~255), and the second perception threshold can be set to, but is not limited to, 80. This setting ensures that when the color perception brightness is higher than 180, it is judged as a bright tone, suitable for daytime mode; while when it is lower than 80, it is judged as a dark tone, used for nighttime mode. The specific thresholds can be adjusted according to the actual needs of the system and the ambient light conditions.
[0101] In one possible implementation, the calculation process for the N similar color values includes: Based on the definition of the same color interval, a same color interval is determined, and based on the number N of the same color, samples are taken at equal intervals in the same color interval to obtain the N same color values.
[0102] Specifically, the color range is first defined based on a pre-defined "monochromatic color interval." This interval is typically defined by attributes such as hue, saturation, or brightness to ensure that the sampled colors maintain a high degree of visual or functional consistency and coherence. Then, based on the required number of monochromatic colors N, sampling points are evenly distributed within this defined color interval. This employs an equidistant sampling strategy, dividing the entire color interval into N equal segments, with each sampling point corresponding to a specific color value. This method not only ensures uniform coverage of the selected colors in the color space but also facilitates subsequent color management and application.
[0103] For example, assuming the color range is 0° to 15° (expressed in HSV hue angles) and the number of similar colors is 5, then this 0° to 15° range needs to be evenly divided into 5 equidistant points: 0°, 3°, 6°, 9°, and 12°. At each hue point, a fixed saturation and brightness value can be used to calculate the corresponding RGB color value, ultimately resulting in 5 visually similar and continuously varying shades of red.
[0104] By clearly defining the color range based on the same color and sampling at equal intervals based on the quantity N, the generation process of the same color value is not only standardized and automated, but also the coordination and aesthetics between colors are ensured, which greatly improves the scientific nature of color application and user experience.
[0105] In one possible implementation, the analogous color range is defined as [H-15°, H+15°], where H is the hue value H in the HSV color space of the mode. By setting a hue fluctuation range of ±15°, it is possible to ensure that the sampled analogous colors maintain a high degree of consistency in tone, while also encompassing a certain degree of color diversity, thus enhancing the overall color scheme's layering and richness. For example, if the hue value H of the dominant color of a certain mode is 30° (orange family), then the analogous color range is [15°, 45°]. The sampled color values are all within this range, exhibiting a gradient tone from yellow-orange to red-orange, which conforms to the visual concept of "analogous colors".
[0106] In one possible implementation, step S403 combines the N similar color values with the saturation value S and the lightness value V in the mode HSV color space, combines the M contrasting color values with the saturation value S and the lightness value V, and combines the complementary color values with the saturation value S and the lightness value V to obtain M+N+1 HSV color values, including: If any of the N similar color values, the M contrasting color values, and the complementary color values contains a target color value greater than 360 degrees or less than 0 degrees, then the target color value is moduloed by 360 degrees to obtain a moduloed color value. Then, the target color value is combined with the saturation value S and the brightness value V, and the color values other than the target color value from the N similar color values, the M contrasting color values, and the complementary color values are combined with the saturation value S and the brightness value V to obtain the M+N+1 HSV color values.
[0107] Considering that hue values are usually expressed in degrees, and that this value ranges from 0° to 360° in the HSV color space, when calculating similar, contrasting, or complementary hue values that exceed this range, these hue values need to be appropriately processed to ensure color validity and accuracy. Specifically, if the calculation result causes a hue value to be greater than 360°, it should be modulo 360, i.e., subtract 360° from the hue value until it falls within the 0° to 360° range. Similarly, if a hue value is less than 0°, it should be added to 360° to bring it back to the valid hue range. This modulo 360 method fully utilizes the cyclical nature of the color wheel, ensuring that all color values are within the standard hue wheel and preventing color recognition errors or display anomalies due to values exceeding the limits.
[0108] For example, suppose the hue value H of the primary color in a certain mode is 350°. When calculating its contrast value, the hue needs to be increased by 180° to obtain 530°, which obviously exceeds the 360° upper limit. In this case, the result obtained by modulo 360 on 530° is 170. This process yields the correct contrast value of 170°, ensuring the valid definition of the color. Similarly, if a similar color value is calculated to be -10°, adding 360° yields 350°, bringing the hue back into the valid range. This mechanism ensures the cyclical continuity and stability of the color calculation process, avoiding potential problems caused by abnormal color values.
[0109] After obtaining the hue values through modulo processing, these hue values can be combined with pre-determined saturation and lightness values (V) to form a complete HSV color representation. Specifically, regardless of whether the color values are analogous, contrasting, or complementary, after excluding the target color value itself, their corresponding hues (including those adjusted by modulo 360° calculations) are paired with unified saturation and lightness parameters, thereby generating a set of colors with consistent saturation and lightness attributes. In this way, the resulting M+N+1 HSV color values (NN analogous, MM contrasting, and 1 target color value) not only ensure hue variation but also maintain overall color harmony and visual coherence. This process effectively integrates information from different dimensions of the color space, enabling the generated colors to satisfy diverse hue requirements while uniformly exhibiting similar saturation and lightness characteristics, facilitating subsequent color presentation and consistent style application.
[0110] Based on the rendering method for a vehicle display device provided in the above-described method embodiments, this application also provides a rendering apparatus for a vehicle display device, which will be described below with reference to the accompanying drawings.
[0111] See Figure 6 As shown, Figure 6 This is a schematic diagram of a rendering apparatus for a vehicle display device provided in an embodiment of this application. Figure 6 As shown, the rendering apparatus of the vehicle display device includes: The first acquisition unit 601 is used to acquire the surrounding environment data and gear status of the target vehicle; The driving mode determination unit 602 is used to determine the driving mode of the target vehicle based on the surrounding environment data and / or the gear position. The second acquisition unit 603 is used to acquire the mode RGB primary color corresponding to the driving mode; the mode RGB primary color is the visual primary color of the driving mode; The RGB color pool generation unit 604 is used to generate an RGB color pool based on the RGB primary color and color value matching rules; the RGB color pool includes multiple RGB color values. The particle rendering unit 605 is used to implement particle rendering of the display interface according to the RGB color pool.
[0112] In one possible implementation, the particle rendering unit 605 is specifically the same as: The particle queue is filled by cyclically and randomly combining each RGB color value in the RGB color pool to achieve particle rendering of the display interface. In each loop, all RGB color values from the RGB color pool are randomly and non-repeatedly used to fill the particle queue for particle rendering.
[0113] In one possible implementation, the RGB color pool generation unit 604 specifically includes: The first conversion unit is used to convert the mode RGB primary color into the mode HSV color space; and to determine the number of similar colors N and the number of contrasting colors M according to the color value matching rules; N and M are both positive integers. The calculation unit is used to combine the number of similar colors N, the definition of similar color intervals, the number of contrasting colors M, and the definition of contrasting colors to perform similar color calculation and contrasting color calculation on the hue value H in the mode HSV color space to obtain N similar color values and M contrasting color values, and to perform complementary color calculation on the hue value H in the mode HSV color space to obtain complementary color values. The first combination unit is used to combine the N similar color values with the saturation value S and the lightness value V in the mode HSV color space, combine the M contrasting color values with the saturation value S and the lightness value V, and combine the complementary color values with the saturation value S and the lightness value V to obtain M+N+1 HSV color values. The second conversion unit is used to convert the color parameters of the M+N+1 HSV color values into RGB values one by one to obtain the RGB color pool.
[0114] In one possible implementation, the device further includes: The sampling unit is used to determine the same color interval according to the definition of the same color interval, and to perform equal-interval sampling in the same color interval based on the number N of the same color to obtain the N same color values.
[0115] In one possible implementation, the definition of the same color interval includes: [H-15°, H+15°], where H is the hue value H in the HSV color space of the mode.
[0116] In one possible implementation, the first combining unit specifically includes: The model-taking unit is used to perform a 360-degree model-taking process on the color value if there is a color value greater than 360 degrees or less than 0 degrees among the same color value, the contrasting color value and the complementary color value. The second combination unit is used to combine the sampled color value with the saturation value S and the brightness value V, and to combine the color values other than the target color value among the N similar color values, the M contrasting color values and the complementary color values with the saturation value S and the brightness value V to obtain the M+N+1 HSV color values.
[0117] In one possible implementation, the driving mode includes any one of snow mode, sport mode, day mode, and night mode.
[0118] In one possible implementation, the ambient environmental data includes ambient temperature, road surface reflectivity, road surface adhesion coefficient, and ambient light intensity.
[0119] In one possible implementation, the driving mode determination unit 602 specifically includes: The snow mode determination unit is used to identify the following conditions: whether the ambient temperature is less than a temperature threshold, whether the road surface reflectivity is greater than a reflectivity threshold, and whether the road surface adhesion coefficient is less than an adhesion coefficient threshold. If all the above conditions are met, the driving mode of the target vehicle is determined to be the snow mode. A sport mode determination unit is used to identify whether the gear position is in a sport gear. If so, the driving mode of the target vehicle is determined to be the sport mode. The daytime mode determination unit is used to determine the driving mode of the target vehicle as the daytime mode if the ambient light intensity is greater than the light intensity threshold. The night mode determination unit is used to determine the driving mode of the target vehicle as the night mode if the ambient light intensity is less than or equal to the light intensity threshold.
[0120] In one possible implementation, the RGB primary color of the snow mode includes: the RGB color value of any warm-toned color; The RGB primary color of the motion mode includes: the RGB color value corresponding to a color whose saturation is greater than the saturation threshold and / or whose contrast is greater than the contrast threshold; The main RGB color of the daytime mode includes: the RGB color value corresponding to the color whose perceived brightness is greater than the first perception threshold; The RGB primary color of the night mode includes: the RGB color value corresponding to the color whose perceived brightness is less than the second perception threshold; Wherein, the second perception threshold is less than the first perception threshold.
[0121] In addition, this application embodiment also provides a computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to perform the rendering method of the vehicle display device as described above.
[0122] This application accurately identifies the current driving mode by real-time acquisition of ambient light data and gear status around the vehicle. Based on the corresponding mode's RGB primary color and color value matching rules, it generates a coordinated and unified RGB color pool, ensuring that the displayed colors meet the high-fidelity requirements of the actual environment, effectively improving display effects and driving safety. Furthermore, through cyclical and precise matching, it ultimately combines the various RGB color values in the RGB color pool to achieve particle rendering of the display interface. Based on this, this application significantly enhances the clarity and stability of visual guidance, better adapts to changing driving environments, sequentially uses all colors in the color pool, effectively avoids extreme color chaos caused by purely random distribution, and achieves uniform coverage and visual balance of particle colors.
[0123] It should be noted that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiments. The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separate. The components indicated as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment solution according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0124] The above description is merely one specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A rendering method for a vehicle display device, characterized in that, The method includes: Acquire data on the surrounding environment and gear status of the target vehicle; Based on the surrounding environment data and / or the gear position, determine the driving mode of the target vehicle; Obtain the RGB primary color corresponding to the driving mode; the RGB primary color is the main visual color tone of the driving mode. An RGB color pool is generated based on the RGB primary color and color value matching rules of the aforementioned pattern; the RGB color pool includes multiple RGB color values. Based on the RGB color pool, particle rendering of the display interface is achieved; The step of rendering particles in the display interface based on the RGB color pool includes: The particle queue is filled by cyclically and randomly combining each RGB color value in the RGB color pool to achieve particle rendering of the display interface. In each loop, all RGB color values from the RGB color pool are randomly and non-repeatedly used to fill the particle queue for particle rendering.
2. The method according to claim 1, characterized in that, The generation of the RGB color pool based on the RGB primary color and color value matching rules of the mode includes: The RGB primary color of the mode is converted into the HSV color space of the mode; and the number of similar colors N and the number of contrasting colors M are determined according to the color value matching rules; N and M are both positive integers; Combining the number of similar colors N, the definition of similar color intervals, the number of contrasting colors M, and the definition of contrasting colors, the hue values H in the mode HSV color space are calculated for both similar and contrasting colors to obtain N similar color values and M contrasting color values. The hue values H in the mode HSV color space are then calculated for complementary colors to obtain complementary color values. The N similar color values are combined with the saturation value S and the lightness value V in the HSV color space of the mode; the M contrasting color values are combined with the saturation value S and the lightness value V; and the complementary color values are combined with the saturation value S and the lightness value V to obtain M+N+1 HSV color values. The color parameters of the M+N+1 HSV color values are converted to RGB one by one to obtain the RGB color pool.
3. The method according to claim 2, characterized in that, The calculation process for the N similar color values includes: Based on the definition of the same color interval, a same color interval is determined, and based on the number N of the same color, samples are taken at equal intervals in the same color interval to obtain the N same color values.
4. The method according to claim 2, characterized in that, The definition of the same color interval includes: [H-15°, H+15°], where H is the hue value H in the HSV color space of the mode.
5. The method according to claim 2, characterized in that, The process of combining the N similar color values with the saturation value S and the lightness value V in the HSV color space, combining the M contrasting color values with the saturation value S and the lightness value V, and combining the complementary color values with the saturation value S and the lightness value V to obtain M+N+1 HSV color values includes: If a target color value exists among the N similar color values, the M contrasting color values, and the complementary color values, then the target color value is moduloed by 360 degrees to obtain a moduloed color value. The target color value is a color value that is greater than 360 degrees or less than 0 degrees. The modulated color value is combined with the saturation value S and the brightness value V, and the color values other than the target color value among the N similar color values, the M contrasting color values and the complementary color values are combined with the saturation value S and the brightness value V to obtain the M+N+1 HSV color values.
6. The method according to claim 1, characterized in that, The driving mode includes any one of snow mode, sport mode, day mode, and night mode; the surrounding environment data includes ambient temperature, road surface reflectivity, road surface adhesion coefficient, and ambient light intensity. Determining the driving mode of the target vehicle based on the surrounding environment data and / or the gear position includes: The following conditions are identified: whether the ambient temperature is less than a temperature threshold, whether the road surface reflectivity is greater than a reflectivity threshold, and whether the road surface adhesion coefficient is less than an adhesion coefficient threshold. If all of the above conditions are met, the driving mode of the target vehicle is determined to be the snow mode. Otherwise, identify whether the gear position is in sport mode; if so, determine that the driving mode of the target vehicle is sport mode. Otherwise, identify whether the ambient light intensity is greater than the light intensity threshold; if so, determine that the driving mode of the target vehicle is the daytime mode. Otherwise, the driving mode of the target vehicle is determined to be the night mode.
7. The method according to claim 6, characterized in that, The snow mode's RGB primary color includes: the RGB color value of any warm-toned color; The RGB primary color of the motion mode includes: the RGB color value corresponding to a color whose saturation is greater than the saturation threshold and / or whose contrast is greater than the contrast threshold; The main RGB color of the daytime mode includes: the RGB color value corresponding to the color whose perceived brightness is greater than the first perception threshold; The RGB primary color of the night mode includes: the RGB color value corresponding to the color whose perceived brightness is less than the second perception threshold; Wherein, the second perception threshold is less than the first perception threshold.
8. A rendering apparatus for a vehicle display device, characterized in that, The device includes: The first acquisition unit is used to acquire the surrounding environment data and gear status of the target vehicle; A driving mode determination unit is used to determine the driving mode of the target vehicle based on the surrounding environment data and / or the gear position. The second acquisition unit is used to acquire the mode RGB primary color corresponding to the driving mode; the mode RGB primary color is the visual primary color of the driving mode; An RGB color pool generation unit is used to generate an RGB color pool based on the mode's RGB primary color and color value matching rules; the RGB color pool includes multiple RGB color values. The particle rendering unit is used to cyclically and randomly combine each RGB color value in the RGB color pool to fill the particle queue, so as to realize particle rendering of the display interface. In each loop, all RGB color values from the RGB color pool are randomly and non-repeatedly used to fill the particle queue for particle rendering.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a terminal device, cause the terminal device to perform the rendering method of the vehicle display device as described in any one of claims 1-7.
Citation Information
Patent Citations
Image information processing method, device and equipment for augmented reality head-up display device
CN109795414A
HUD adaptive display method, system and device and vehicle
CN118560516A