Intelligent control method and device for vehicle atmosphere lamp, electronic equipment and storage medium
By acquiring and preprocessing the external temperature data of the vehicle and intelligently adjusting the color and brightness of the ambient lights, the problem that existing ambient lights cannot respond to changes in the external environment is solved, and the intelligent level and user experience of the ambient lights are improved.
Patent Information
- Application Number
- CN202411617867.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-02-21
AI Technical Summary
The existing vehicle ambient light system cannot intelligently adjust the color and brightness of the light according to changes in the external environment, especially the temperature changes, resulting in the inability to effectively respond to the external environment, lack of interaction with the external traffic environment and pedestrians, and cannot meet the user's personalization and intelligence. Demand for driving experience.
By obtaining the vehicle's external ambient temperature data collected by multiple temperature sensors, preprocessing is performed to obtain the overall temperature outside the vehicle, the color value and brightness value of the ambient light are determined based on the preset mapping relationship, and these values are transmitted to the ambient light controller , make it adjust the color and brightness of the ambient light according to the color value and brightness value to respond to changes in the temperature of the vehicle's external ambient temperature.
It realizes intelligent adjustment according to changes in the external environment, improves the intelligent level of ambient lights, and meets users' personalized and intelligent driving needs.
Smart Images

Figure CN119497281A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of new energy vehicle technology, and in particular to an intelligent control method, device, electronic device and storage medium for vehicle ambient lighting. Background Art
[0002] With the rapid development of intelligent connected vehicles, the way vehicles interact with each other has gradually expanded to the outside of the vehicle, and the objects of interaction have also expanded from traditional drivers and passengers to pedestrians and other traffic participants. This trend has put forward higher requirements for the external interaction functions of vehicles. Among them, the vehicle's ambient lighting, as an important means of visual interaction, has gradually developed from basic lighting to intelligentization, in order to enhance the human-vehicle interaction experience and improve the overall driving comfort.
[0003] Existing vehicle ambient light systems usually only provide basic lighting or static decoration functions, and lack the ability to intelligently adjust according to changes in the external environment. In particular, in terms of temperature-related interactions, existing systems cannot automatically adjust the color and brightness of the light according to changes in external temperature. This defect causes existing ambient lights to be unable to effectively respond to changes in the external environment, lack the ability to interact with the external traffic environment and pedestrians, and cannot meet users' needs for personalized and intelligent driving experience. Summary of the invention
[0004] In view of this, the embodiments of the present application provide an intelligent control method, device, electronic device and storage medium for vehicle ambient lights to solve the problem in the prior art that ambient lights cannot effectively respond to changes in the external environment, resulting in reduced intelligence of ambient lights and inability to meet users' personalized and intelligent driving needs.
[0005] In a first aspect of an embodiment of the present application, a method for intelligently controlling a vehicle ambient light is provided, comprising: acquiring temperature data obtained by collecting the ambient temperature outside the vehicle using multiple temperature sensors; preprocessing the temperature data to obtain a comprehensive temperature outside the vehicle; based on the comprehensive temperature outside the vehicle, determining a color value and a brightness value corresponding to the ambient light using a preset mapping relationship; transmitting the color value and the brightness value corresponding to the ambient light to an ambient light controller, so that the ambient light controller drives the ambient light to adjust the color and brightness according to the color value and the brightness value in response to changes in the ambient temperature outside the vehicle.
[0006] According to a second aspect of an embodiment of the present application, an intelligent control device for a vehicle ambient light is provided, comprising: an acquisition module configured to acquire temperature data obtained by collecting the external ambient temperature of a vehicle using multiple temperature sensors; a preprocessing module configured to preprocess the temperature data to obtain a comprehensive temperature outside the vehicle; a determination module configured to determine the color value and brightness value corresponding to the ambient light based on the comprehensive temperature outside the vehicle using a preset mapping relationship; and an adjustment module configured to transmit the color value and brightness value corresponding to the ambient light to an ambient light controller, so that the ambient light controller drives the ambient light to adjust the color and brightness according to the color value and brightness value to respond to changes in the external ambient temperature of the vehicle.
[0007] According to a third aspect of an embodiment of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the steps of the above method are implemented when the processor executes the computer program.
[0008] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0009] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:
[0010] By acquiring temperature data collected by multiple temperature sensors to detect the ambient temperature outside the vehicle; preprocessing the temperature data to obtain the comprehensive temperature outside the vehicle; based on the comprehensive temperature outside the vehicle, determining the color value and brightness value corresponding to the ambient light using a preset mapping relationship; transmitting the color value and brightness value corresponding to the ambient light to the ambient light controller, so that the ambient light controller drives the ambient light to adjust the color and brightness according to the color value and brightness value to respond to changes in the ambient temperature outside the vehicle. This application can be intelligently adjusted according to changes in the external environment, improving the intelligence level of the ambient light, and thus meeting the personalized and intelligent driving needs of users. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0012] Figure 1 It is a flow chart of the intelligent control method of the vehicle atmosphere light provided in the embodiment of the present application;
[0013] Figure 2It is a structural schematic diagram of an intelligent control device for vehicle atmosphere lights provided in an embodiment of the present application;
[0014] Figure 3 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0015] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0016] It should be understood that the various steps described in the method implementation of the present application can be performed in different orders and / or performed in parallel. In addition, the method implementation may include additional steps and / or omit the steps shown. The scope of the present application is not limited in this respect.
[0017] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0018] It should be noted that the modifications of "one" and "plurality" mentioned in the present application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0019] With the rapid development of intelligent connected cars, the interaction between vehicles and people is no longer limited to passengers or drivers inside the car, but is expanding to a wider range of objects, including pedestrians outside the car, other traffic participants, etc. This trend means that future cars must not only focus on the user experience inside the car, but also be able to interact with the surrounding environment and people outside the car. This demand has prompted the design of vehicles to gradually develop from simple functionality to personalization and intelligence, especially in improving the comfort and interactive experience of drivers and passengers.
[0020] Currently, most vehicles on the market are equipped with basic in-car ambient lighting systems. The main function of these systems is to provide visual lighting assistance to drivers and passengers, such as adding comfort or decorative effects when driving at night. However, existing ambient lighting systems are usually basic and basically limited to the interior of the car. They cannot respond to changes in the external environment, nor can they interact with the traffic environment or other traffic participants outside the car. Simply put, these systems only provide static or preset lighting modes and lack the ability to perceive and intelligently respond to the external environment (such as temperature, weather, pedestrian activities, etc.).
[0021] Therefore, the prior art mainly has the following technical problems:
[0022] 1. Lack of intelligent adjustment function: Most of the existing ambient light systems can only illuminate according to preset modes and cannot be intelligently adjusted according to changes in the external environment (such as temperature changes), which affects the practicality and comfort of the lighting.
[0023] 2. Lack of interaction with the external environment: The vehicle's ambient lighting is currently limited to interior decoration functions and does not interact with the external environment or external traffic participants. For example, when the vehicle encounters pedestrians or special weather conditions, the existing system cannot adjust the color or brightness of the ambient lighting according to the external conditions to enhance the interaction effect or safety.
[0024] 3. Unable to meet personalized needs: As people's demand for personalized driving experience increases, the existing ambient lighting system cannot be flexibly adjusted according to different usage scenarios, personal preferences or environmental conditions, and cannot provide a more comfortable and personalized driving experience.
[0025] In general, the existing vehicle ambient lighting system has great limitations in terms of intelligence, interactivity and personalization, and cannot keep up with the development trend of intelligent connected vehicles. Therefore, a new ambient lighting system is needed that can respond intelligently according to external environmental conditions, enhance interaction with the outside of the vehicle, and improve the personalized experience.
[0026] In view of the problems existing in the above-mentioned prior art, the present application provides a control method for intelligent interaction between the outside temperature and the ambient light. The technical solution of the present application monitors the outside temperature of the vehicle in real time and intelligently adjusts the color and brightness of the ambient light according to the temperature change to improve driving comfort and the intelligence level of the vehicle.
[0027] The contents of the technical solution of the present application are described in detail below with reference to the accompanying drawings and specific embodiments.
[0028] Figure 1 FIG. 1 is a flow chart of the intelligent control method of the vehicle ambient light provided by the embodiment of the present application. Figure 3 As shown, the intelligent control method of the vehicle atmosphere light may specifically include:
[0029] S101, acquiring temperature data obtained by collecting the vehicle's external ambient temperature using multiple temperature sensors;
[0030] S102, pre-processing the temperature data to obtain the comprehensive temperature outside the vehicle;
[0031] S103, based on the comprehensive temperature outside the vehicle, determine the color value and brightness value corresponding to the ambient light using a preset mapping relationship;
[0032] S104, transmitting the color value and brightness value corresponding to the ambient light to the ambient light controller, so that the ambient light controller drives the ambient light to adjust the color and brightness according to the color value and the brightness value to respond to the change of the external ambient temperature of the vehicle.
[0033] In some embodiments, obtaining temperature data obtained by collecting the vehicle external environment temperature using multiple temperature sensors includes:
[0034] A plurality of temperature sensors are arranged at the external position of the vehicle, and the temperature sensors are used to collect the external ambient temperature of the vehicle in real time to obtain the temperature data, and the signal output by the temperature sensor is processed by a signal conditioning circuit to make the processed signal match the data transmission interface, wherein the temperature sensor adopts an infrared temperature sensor.
[0035] Specifically, in this embodiment, the system collects temperature data of the vehicle's external environment in real time through multiple temperature sensors to achieve intelligent monitoring and response to the temperature of the external environment. For example, infrared temperature sensors are arranged at key external locations such as the front bumper, left and right fenders, and rear bumper of the vehicle. These sensors are arranged around the vehicle body to obtain all-round temperature information, thereby ensuring the comprehensiveness and accuracy of temperature collection.
[0036] Furthermore, the infrared temperature sensor selected in this embodiment is suitable for outdoor environments, has high sensitivity, and can quickly respond to changes in ambient temperature. These sensors are designed with waterproof and dustproof structures to adapt to various weather conditions and ensure their stability and reliability in harsh environments such as rain, snow, and dust. In addition, in order to further improve the signal quality of the sensor and the accuracy of the system, the sensor output signal is processed by a signal conditioning circuit. The signal conditioning circuit includes an amplification, filtering, and signal conversion module, so that the analog signal output by the sensor can match the requirements of the data transmission interface after conditioning, thereby ensuring the effective transmission and reception of temperature data.
[0037] In practical applications, the sensor data in this embodiment is ultimately transmitted to the vehicle central processing unit via a wireless module to reduce wiring complexity and enable centralized processing and analysis of temperature data.
[0038] In some embodiments, preprocessing the temperature data to obtain the comprehensive temperature outside the vehicle includes:
[0039] The central processing unit is used to preprocess the temperature data from multiple temperature sensors, and the weighted average calculation of the temperature data corresponding to each preprocessed temperature sensor is performed to obtain the comprehensive temperature outside the vehicle, wherein the temperature sensor is communicated with the central processing unit through a wireless transmission module, and the preprocessing includes removing abnormal values and temperature compensation operations.
[0040] Specifically, in this embodiment, the temperature data from multiple temperature sensors are preprocessed by the central processing unit to obtain the comprehensive temperature outside the vehicle. For example, the temperature data outside the vehicle is collected in real time by multiple temperature sensors installed on the front bumper, left fender, right fender and rear bumper of the vehicle. In order to achieve fast and efficient data transmission, these temperature sensors are connected to the central processing unit through wireless transmission modules such as Bluetooth, reducing the complexity of traditional wiring.
[0041] Furthermore, after the temperature data reaches the central processing unit, the system first pre-processes the data, including removing abnormal values and performing temperature compensation operations to ensure the accuracy and consistency of the temperature data. During the pre-processing process, the central processing unit uses a preset algorithm to identify and eliminate abnormal temperature values, such as removing obviously deviated sampling values when there are sudden environmental changes or sensor signal failures. Temperature compensation is used to correct errors caused by differences between sensors, thereby improving the accuracy of temperature data.
[0042] Furthermore, the central processing unit has a self-check function to regularly check the working status of the sensors. If a sensor failure or data transmission interruption is detected, the system can activate a backup sensor or estimate the current temperature based on historical data to ensure the continuity and reliability of the outside temperature.
[0043] Furthermore, after completing the preprocessing, the central processing unit performs a weighted average calculation on the effective temperature data of each sensor to obtain the comprehensive temperature outside the vehicle. The calculation formula of the comprehensive temperature outside the vehicle is: T(w) = [T(f) + T(fl) + T(fr) + T(r)] / 4; where T(w) is the comprehensive temperature outside the vehicle, and T(f), T(fl), T(fr), and T(r) are the temperature data of the front bumper, left fender, right fender, and rear bumper, respectively.
[0044] In this way, the comprehensive temperature outside the vehicle can accurately reflect the average ambient temperature around the vehicle, providing a basis for subsequent intelligent control of the color and brightness of the ambient light.
[0045] In some embodiments, the intelligent control algorithm of this embodiment calculates and adjusts the color and brightness of the vehicle ambient light according to the different outside temperatures through the central processing unit to intuitively feedback the current external ambient temperature. The algorithm includes three main functional modules: input module, processing module and output module.
[0046] First, the input module is responsible for acquiring real-time temperature data from the temperature sensor placed outside the vehicle. The module sets a temperature monitoring range, such as -10°C to 40°C, to cover common external temperature conditions and ensure the system's adaptability to extreme temperatures. Through real-time temperature acquisition, the input module can accurately reflect changes in the environment outside the vehicle and provide reliable data for subsequent color and brightness calculations.
[0047] Next, the processing module is the core part of the intelligent control algorithm, which includes two steps: color calculation and brightness calculation.
[0048] 1) Color calculation: The processing module uses the color mapping function to dynamically calculate the color value of the ambient light according to the temperature range outside the vehicle and the preset color mapping relationship. Specifically, when the temperature is low, the ambient light displays a cool color to show a cold feeling, and when the temperature is high, the ambient light displays a warm color to show a hot feeling. For example:
[0049] When the temperature is below -10℃, the ambient light turns blue.
[0050] When the temperature changes from -10℃ to 10℃, the color changes from blue to cyan.
[0051] At 10℃ to 20℃, the color gradually changes from cyan to green.
[0052] At 20℃ to 30℃, the color changes from green to yellow.
[0053] When the temperature exceeds 30℃, the ambient light will display red. Through linear or nonlinear interpolation calculations using the color mapping function, the color value of the ambient light can smoothly transition within each temperature range, achieving color changes at different temperatures.
[0054] 2) Brightness calculation: Brightness calculation uses a brightness mapping function to associate temperature with brightness values so that the brightness is adjusted accordingly with temperature. At low temperatures, the brightness of the ambient light is higher to enhance the visual effect in a cold environment; at high temperatures, the brightness is lowered to match the visual experience in a natural environment. For example:
[0055] When the temperature is below -10°C, the brightness is set to 80%.
[0056] Between -10℃ and 10℃, the brightness increases linearly to 100%.
[0057] Keep the brightness at 100% between 10℃ and 20℃.
[0058] The brightness decreases linearly to 60% between 20°C and 30°C.
[0059] Above 30°C the brightness drops to 40%.
[0060] In addition, in some examples, the brightness of the ambient light can be kept at a low value at low temperatures, and as the temperature drops, the brightness of the ambient light also decreases. For example, the brightness of the ambient light decreases by 20% for every 10°C drop in the vehicle's external ambient temperature. The brightness adjustment range and amplitude can be set according to actual scene requirements and are not specifically limited here.
[0061] The design of the brightness mapping function enables the ambient light to perform linear or nonlinear brightness adjustment in different temperature ranges, thereby adapting to temperature changes.
[0062] The output module then transmits the color and brightness values calculated by the processing module to the ambient light controller. The controller adjusts the actual output effect of the ambient light based on the received color and brightness values to respond to changes in the outside temperature and provide visual feedback. Through this intelligent control algorithm, the ambient light can not only intuitively reflect the hot and cold state of the outside temperature, but also adjust the brightness according to the temperature change, thereby enhancing the interactivity inside and outside the car and driving comfort.
[0063] For example, in an actual scenario, assuming that the current outside temperature is 10°C, the algorithm is executed as follows:
[0064] Get temperature: temperature=10.
[0065] Calculate the color: call get_color(10), which returns (0,170,255) (cyan).
[0066] Calculate brightness: call get_brightness(10), which returns 93%.
[0067] Send control instructions: call set_lighting(10) to send the color (0,170,255) and brightness 93% to the ambient light controller.
[0068] Through the collaborative work of the above modules, this embodiment realizes dynamic intelligent adjustment of the color and brightness of the ambient light, making it closely related to the temperature changes outside the vehicle, thereby achieving the purpose of improving the driving experience.
[0069] In some embodiments, before determining the color value and brightness value corresponding to the ambient light using a preset mapping relationship, the method further includes:
[0070] Setting the color mapping relationship between the color value and the temperature range, wherein the color value is calculated by linear or nonlinear interpolation through the color mapping function;
[0071] A brightness mapping relationship between a brightness value and a temperature range is set, wherein the brightness of the ambient light is adjusted according to temperature changes, and the brightness value is determined using a brightness mapping function.
[0072] Specifically, this embodiment realizes dynamic control of the color and brightness of the ambient light through a preset mapping relationship to respond to changes in the temperature outside the vehicle. First, the system sets the color mapping relationship and brightness mapping relationship of the ambient light according to the temperature range, so that the color and brightness of the ambient light are automatically adjusted with the temperature, providing the driver with visual feedback that is more in line with the environment.
[0073] Furthermore, the color mapping relationship sets corresponding color values according to different temperature intervals, and performs a gradual transition between the intervals through a color mapping function. For example, in one example, the temperature and color mapping relationship provided in this embodiment is:
[0074] When the temperature is below -10℃, the ambient light displays a cool blue color (RGB: 0,0,255).
[0075] When the temperature is between -10℃ and 10℃, the color of the ambient light changes linearly from blue to cyan (RGB: 0,255,255).
[0076] When the temperature is between 10℃ and 20℃, the color of the ambient light transitions from cyan to green (RGB: 0,255,0).
[0077] When the temperature is between 20℃ and 30℃, the color of the ambient light transitions from green to yellow (RGB: 255,255,0).
[0078] When the temperature is higher than 30°C, the ambient light displays a warm red color (RGB: 255,0,0).
[0079] Through this color mapping function, the color of the ambient light can be dynamically adjusted under different temperature conditions, so that cold tones appear at low temperatures and warm tones appear at high temperatures, thereby enhancing the visual cue effect.
[0080] In addition, the brightness mapping relationship enables the brightness of the ambient light to be adjusted as the temperature changes. For example, in one example, the temperature and brightness mapping relationship provided in this embodiment is:
[0081] In low temperature environments (below -10°C), the brightness is set to 80% to maintain a higher brightness in cold environments.
[0082] When the temperature is between -10℃ and 10℃, the brightness increases linearly to 100%.
[0083] When the temperature is between 10℃ and 20℃, the brightness remains at 100%.
[0084] At temperatures between 20°C and 30°C, the brightness decreases linearly to 60% to accommodate warmer environments.
[0085] When the temperature is above 30°C, the brightness is reduced to 40%, simulating the natural changes in light in a high temperature environment.
[0086] This brightness mapping function ensures that the ambient light can be reasonably adjusted at different temperatures, increasing the brightness in cold environments and reducing the brightness in hot environments to meet the visual needs under different temperature conditions. Through the preset color and brightness mapping relationship, the ambient light can automatically adjust according to the changes in the temperature outside the car, improving the interactivity between the vehicle and the environment and the driving experience.
[0087] In some embodiments, based on the comprehensive temperature outside the vehicle, the color value and brightness value corresponding to the ambient light are determined using a preset mapping relationship, including:
[0088] When the comprehensive temperature outside the vehicle is lower than a preset first temperature threshold, the ambient light displays a cold tone, and when the comprehensive temperature outside the vehicle is higher than a preset second temperature threshold, the ambient light displays a warm tone;
[0089] Among them, within different temperature ranges, the color value of the atmosphere light is controlled to gradually transition between different tones, and the brightness value is controlled to be linearly or nonlinearly adjusted within a preset range as the temperature changes.
[0090] Specifically, the embodiment determines the color and brightness value of the vehicle ambient light according to the comprehensive temperature outside the vehicle through the central processing unit. Specifically, the system sets a preset mapping relationship between the temperature outside the vehicle and the color and brightness, so that the ambient light automatically adjusts to the corresponding color and brightness in different temperature ranges, providing real-time environmental feedback.
[0091] First, the system divides the ambient light color into different temperature ranges based on the numerical range of the comprehensive temperature outside the vehicle. When the temperature is lower than the preset first temperature threshold (such as 0°C), the ambient light presents a cool tone, with a cool blue color to indicate a cold environment; when the temperature is higher than the preset second temperature threshold (such as 30°C), the ambient light presents a warm tone, with a warm red color to intuitively reflect a high temperature environment.
[0092] Furthermore, between these primary thresholds, the color of the ambient light switches between cool and warm tones through a gradual transition. For example:
[0093] When the temperature is between 0℃ and 10℃, the color value of the ambient light gradually changes between cold blue and light cyan.
[0094] When the temperature is between 10℃ and 20℃, the color smoothly transitions from light cyan to green.
[0095] When the temperature is between 20℃ and 30℃, the color of the ambient light gradually changes from green to warm yellow.
[0096] Through the gradual transition of color values, the ambient light can smoothly present the visual effect of temperature changes, making the temperature changes more intuitive and easy to understand.
[0097] Secondly, in this embodiment, the brightness value is adjusted linearly or nonlinearly according to the temperature range outside the vehicle to provide an appropriate brightness response under different ambient temperatures. For example:
[0098] When the combined temperature outside the vehicle is below 0°C, the system sets the brightness to 80%, providing a moderate brightness boost at low temperatures.
[0099] In the range of 0℃ to 10℃, the brightness increases linearly from 80% to 100%, ensuring visual clarity in the lower temperature range.
[0100] In the range of 10℃ to 20℃, the brightness remains at 100% to maintain the best display effect in a mild environment.
[0101] In the range of 20℃ to 30℃, the brightness decreases linearly to 60% to adapt to the gradually rising temperature environment.
[0102] When the temperature exceeds 30℃, the brightness is further reduced to 40% to provide a comfortable visual experience under high temperature conditions.
[0103] This brightness mapping relationship divides the temperature range so that the brightness of the ambient light can be adjusted step by step as the temperature changes, meeting the user's visual comfort needs in different environments.
[0104] Through the above intelligent control of color values and brightness values, this embodiment realizes the adaptive linkage between the vehicle ambient light and the external temperature, so that the driver can obtain comfortable and intuitive visual feedback in different temperature environments.
[0105] In some embodiments, in different temperature ranges, controlling the color value of the ambient light to gradually transition between different tones includes:
[0106] The RGB intensity corresponding to each color value is calculated using the preset RGB color model, and a color transition function is defined. The color transition function is used to perform smooth transition calculations on color values in different temperature ranges according to changes in the comprehensive temperature outside the vehicle.
[0107] Among them, in the temperature range between low temperature and high temperature, the color transition function is used to control the color value to gradually transition between the color value of cold tones and the color value of warm tones, so as to dynamically adjust the color value of the ambient light according to the real-time changes of the comprehensive temperature outside the vehicle.
[0108] Specifically, based on the comprehensive temperature outside the vehicle, the system controls the color of the ambient light to smoothly transition between cold and warm tones to enhance the visual feedback effect. In this embodiment, the RGB color model is used to achieve dynamic adjustment of color values, specifically including the calculation of RGB intensity and the application of color transition function.
[0109] First, the system sets a preset color mapping model, using the RGB color model, where R, G, and B represent the intensity of red, green, and blue, respectively, and the value range of each color intensity is 0 to 255. In order to achieve the gradual change of color in different temperature ranges, this embodiment defines a color transition function temperature_to_rgb(), which calculates the corresponding RGB value according to the current temperature value and makes the color smoothly transition between the low temperature and high temperature ranges.
[0110] Furthermore, the color transition function temperature_to_rgb() performs linear interpolation based on temperature, so that the color of the ambient light presents a gradual effect from cold to warm tones in different intervals. The specific implementation is as follows:
[0111] When the outside temperature is below 0℃, the system directly outputs a cool blue color with an RGB value of (0,0,255) to indicate a cold environment.
[0112] When the temperature is between 0℃ and 20℃, the color transition function smoothly changes the color value from blue to green. By mapping the current temperature value to the RGB model, the function dynamically adjusts the ratio of blue to green to achieve the transition from cool colors to neutral colors.
[0113] When the temperature is between 20℃ and 30℃, the color gradually changes from green to yellow, gradually increasing the intensity of red to reflect the gradually warming environment.
[0114] When the temperature exceeds 30°C, the system sets the ambient light to a warm red color with an RGB value of (255,0,0) to indicate a high temperature environment.
[0115] For example, the code sample of the color transition function is as follows:
[0116]
[0117] This function converts HSV to RGB and adjusts the RGB value of the ambient light in real time according to the temperature, so that it can automatically adjust the color tone under different temperature conditions. During the temperature change process, through the real-time call of the color transition function, the ambient light can dynamically present a gradual transition effect of cold and warm tones to provide a visual temperature prompt.
[0118] Through the color transition implementation method of the above-mentioned embodiment, the ambient light smoothly switches between cool and warm tones in different ranges from low temperature to high temperature, so that the vehicle presents a natural color gradient when the external temperature changes, thereby improving the intelligence and comfort of human-vehicle interaction.
[0119] In some embodiments, controlling the brightness value to be adjusted linearly or nonlinearly with temperature changes within a preset range includes:
[0120] Define the brightness adjustment function, which is used to adjust the brightness value based on the change of the comprehensive temperature outside the car using a linear or nonlinear function model, so as to adjust the brightness of the ambient light according to different temperature ranges:
[0121] When the comprehensive temperature outside the vehicle is lower than a preset third temperature threshold, the brightness value of the ambient light is increased;
[0122] When the comprehensive temperature outside the vehicle is higher than a preset fourth temperature threshold, reducing the brightness value of the ambient light;
[0123] When the comprehensive temperature outside the vehicle is between the third temperature threshold and the fourth temperature threshold, the brightness value of the ambient light increases linearly with the comprehensive temperature outside the vehicle, or the brightness value of the ambient light is maintained at a maximum value.
[0124] Specifically, the system uses the brightness adjustment function to dynamically adjust the brightness of the ambient light according to the changes in the comprehensive temperature outside the vehicle to meet the visual needs in different temperature environments. Specifically, by setting a preset brightness range and a corresponding temperature threshold range, linear or nonlinear brightness adjustment is achieved, so that the ambient light provides appropriate brightness feedback under different temperature conditions.
[0125] Furthermore, the system sets a brightness adjustment function temperature_to_brightness(), which uses the comprehensive temperature outside the vehicle as input and outputs corresponding brightness values according to different temperature ranges. For example, specific temperature thresholds may include:
[0126] Third temperature threshold (eg, 0°C): In a cold environment below this temperature, the system increases the brightness to increase visual brightness.
[0127] Fourth temperature threshold (eg, 30° C.): In a hot environment above this temperature, the system reduces the brightness to avoid excessive brightness affecting comfort.
[0128] Furthermore, according to the comprehensive temperature outside the vehicle, the brightness adjustment function adjusts the brightness value linearly or nonlinearly according to different intervals, for example:
[0129] Low temperature environment (below 0°C): When the comprehensive temperature outside the vehicle is lower than the third temperature threshold, the system increases the brightness, for example, to 80% to 100%, to simulate the warm effect of the indoor environment, so that the driver can get higher brightness feedback under low temperature conditions.
[0130] Medium temperature environment (0℃ to 20℃): When the temperature is between 0℃ and 20℃, the brightness increases linearly with the temperature. For example, as the temperature gradually rises from 0℃ to 20℃, the brightness value increases linearly from 80% to 100%. This linear brightening effect ensures that the brightness increases synchronously in an environment where the temperature gradually decreases, making the atmosphere light effect closer to the changes in natural light.
[0131] Mild environment (20℃ to 30℃): In this temperature range, the brightness is kept at the maximum value of 100% to adapt to the most comfortable ambient temperature.
[0132] High temperature environment (above 30℃): When the temperature is above 30℃, the brightness gradually decreases as the temperature rises. For example, the brightness value is linearly or nonlinearly reduced to 40%, simulating the brightness change of natural light in a hot environment to prevent discomfort caused by excessive brightness.
[0133] Furthermore, the brightness adjustment function controls the brightness of the ambient light through the temperature threshold and the corresponding brightness range. A brightness function can be defined that adjusts the brightness value according to the temperature change. For example, the code example of the brightness adjustment function is as follows:
[0134]
[0135] Through the method of the above embodiment, the brightness of the ambient light can be adjusted linearly or nonlinearly within different temperature ranges, so that the brightness can dynamically adapt to changes in external temperature and simulate the brightness change effect under natural light conditions, thereby providing the driver with a comfortable and intuitive visual experience.
[0136] In other embodiments, the system can also implement dynamic control of the ambient light as the temperature outside the vehicle changes by comprehensively applying the adjustment functions of color and brightness. Specifically, the system simultaneously calculates and adjusts the color and brightness of the ambient light through the defined main control function adjust_lighting_based_on_temperature() to enhance the visual feedback effect.
[0137] Among them, the main control function adjust_lighting_based_on_temperature(temperature) takes the comprehensive temperature outside the car as input, calls the color and brightness calculation functions in sequence, and finally passes the calculation results to the atmosphere light controller for adjustment:
[0138] Color calculation: The main control function calls the temperature_to_rgb(temperature) function to calculate the RGB value based on the current temperature, thus realizing the gradual change of the ambient light from cold to warm colors in different temperature ranges.
[0139] Brightness calculation: The main control function then calls the temperature_to_brightness(temperature) function to dynamically adjust the brightness value according to the temperature range to achieve the effect of high brightness at low temperature and low brightness at high temperature.
[0140] After the calculation is completed, the main control function passes the obtained color and brightness values as parameters to the atmosphere light controller to control the actual output effect of the atmosphere light.
[0141] The following is an example of the implementation code of the main control function of this embodiment:
[0142]
[0143] Furthermore, the system automatically calls the adjust_lighting_based_on_temperature() function when it detects a change in the outside temperature:
[0144] When the temperature is below 0℃, temperature_to_rgb() returns a cool blue color, and temperature_to_brightness() increases the brightness to simulate a cool, bright environment at low temperatures.
[0145] In the range of 0℃ to 30℃, the color and brightness change linearly or nonlinearly according to the temperature to provide smooth gradient of warm and cold tones and brightness adjustment.
[0146] When the temperature is higher than 30°C, the system sets a warm red color and reduces the brightness to provide a low-brightness warm color effect suitable for high temperature environments.
[0147] Through the method of the present embodiment described above, the system realizes comprehensive control over the color and brightness of the ambient light, so that the vehicle ambient light can dynamically respond to changes in the temperature outside the vehicle, enhance the interactivity between the vehicle and the external environment, and provide users with comfortable visual feedback.
[0148] In other embodiments, the vehicle information system of this embodiment provides users with intuitive outdoor temperature display and ambient light color and brightness adjustment options through the central control screen, realizes interaction with users, and enhances the personalization and convenience of driving experience.
[0149] First, on the user interface of the central control screen, the system displays the current outside temperature in real time. This temperature information is collected by the vehicle's temperature sensor and transmitted to the central processing unit, and then updated to the screen display area after processing, so that the driver can understand the changes in the outside temperature at any time.
[0150] Furthermore, next to the outside temperature display, the interface provides options for adjusting the color and brightness of the ambient light. Specific settings may include the following:
[0151] Color Adjustment: Users can select preset tones (such as cool, warm or neutral) on the screen, or adjust the specific color of the tones using a slider to match their personal preferences or driving environment. For example, the driver can choose to use cool tones in hot weather or add warm ambient lighting in cold environments.
[0152] Brightness adjustment: The system provides a brightness adjustment option. Users can adjust the brightness value through the slider, ranging from 0% to 100%, so as to flexibly set the brightness of the atmosphere light according to the current light conditions and personal preferences.
[0153] Furthermore, the system of this embodiment is equipped with a memory function, which can automatically record the setting after the user manually adjusts the color and brightness of the ambient light. When the vehicle is started again, the system will call the last user preference setting and automatically restore the ambient light to the color and brightness state used last time, ensuring the consistency and personalization of the user experience.
[0154] Through the design of the above user interaction interface, the driver can not only intuitively view the temperature information outside the vehicle, but also conveniently adjust the color and brightness of the ambient light to meet the personalized needs in different driving scenarios. This embodiment improves the user interactivity of the vehicle ambient light system and the comfort of the driving experience.
[0155] According to the technical solution provided in the embodiments of the present application, the technical solution of the present application has at least the following advantages:
[0156] 1. Safety: The system is designed with safety in mind, ensuring that it does not interfere with the driver's vision or attention under any circumstances.
[0157] 2. Energy-saving design: The adjustment of the ambient light is based on the principle of energy saving, avoiding unnecessary energy consumption, and meeting the environmental protection requirements of modern cars.
[0158] 3. Comfort: It can intelligently adjust the color and brightness of the ambient light according to the changes in the temperature outside the car, thus providing a more comfortable and personalized driving environment.
[0159] 4. Real-time: Real-time monitoring of the outside temperature of the vehicle and conversion of it into data that can be processed by intelligent control algorithms. This not only improves driving comfort, but also enhances the vehicle's ability to adapt to different environmental conditions.
[0160] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0161] Figure 2 Schematic diagram of the structure of the intelligent control device of the vehicle atmosphere light provided in the embodiment of the present application. Figure 2 As shown, the intelligent control device of the vehicle atmosphere light includes:
[0162] The acquisition module 201 is configured to acquire temperature data obtained by collecting the vehicle external environment temperature using multiple temperature sensors;
[0163] The preprocessing module 202 is configured to preprocess the temperature data to obtain the comprehensive temperature outside the vehicle;
[0164] The determination module 203 is configured to determine the color value and brightness value corresponding to the ambient light based on the comprehensive temperature outside the vehicle by using a preset mapping relationship;
[0165] The adjustment module 204 is configured to transmit the color value and brightness value corresponding to the ambient light to the ambient light controller, so that the ambient light controller drives the ambient light to adjust the color and brightness according to the color value and brightness value in response to the change of the external ambient temperature of the vehicle.
[0166] In some embodiments, Figure 2 The acquisition module 201 has multiple temperature sensors arranged at the external position of the vehicle, and uses the temperature sensors to collect the external ambient temperature of the vehicle in real time to obtain the temperature data, and uses the signal conditioning circuit to process the signal output by the temperature sensor so that the processed signal matches the data transmission interface, wherein the temperature sensor adopts an infrared temperature sensor.
[0167] In some embodiments, Figure 2 The preprocessing module 202 uses the central processing unit to preprocess the temperature data from multiple temperature sensors, and performs weighted average calculation on the temperature data corresponding to each preprocessed temperature sensor to obtain the comprehensive temperature outside the vehicle, wherein the temperature sensor is communicated with the central processing unit through the wireless transmission module, and the preprocessing includes removing abnormal values and temperature compensation operations.
[0168] In some embodiments, Figure 2Before using a preset mapping relationship to determine the color value and brightness value corresponding to the ambient light, the setting module 205 sets a color mapping relationship between the color value and the temperature range, wherein the color value is calculated by linear or nonlinear interpolation through a color mapping function; and sets a brightness mapping relationship between the brightness value and the temperature range, wherein the brightness of the ambient light is adjusted according to the temperature change, and the brightness value is determined using the brightness mapping function.
[0169] In some embodiments, Figure 2 The determination module 203 displays a cool tone on the ambient light when the comprehensive temperature outside the vehicle is lower than a preset first temperature threshold, and displays a warm tone when the comprehensive temperature outside the vehicle is higher than a preset second temperature threshold; wherein, within different temperature ranges, the color value of the ambient light is controlled to gradually transition between different tones, and the brightness value is controlled to be linearly or nonlinearly adjusted with temperature changes within a preset range.
[0170] In some embodiments, Figure 2 The adjustment module 204 calculates the RGB intensity corresponding to each color value using a preset RGB color model, and defines a color transition function, where the color transition function is used to perform smooth transition calculations on color values in different temperature ranges according to changes in the comprehensive temperature outside the vehicle; wherein, in the temperature range between low and high temperatures, the color transition function is used to control the color value to gradually transition between the color value of cold tones and the color value of warm tones, so as to dynamically adjust the color value of the ambient light according to the real-time changes in the comprehensive temperature outside the vehicle.
[0171] In some embodiments, Figure 2 The adjustment module 204 defines a brightness adjustment function, which is used to adjust the brightness value based on the change of the comprehensive temperature outside the vehicle by using a linear or nonlinear function model, so as to adjust the brightness of the ambient light according to different temperature ranges: when the comprehensive temperature outside the vehicle is lower than a preset third temperature threshold, the brightness value of the ambient light is increased; when the comprehensive temperature outside the vehicle is higher than a preset fourth temperature threshold, the brightness value of the ambient light is reduced; when the comprehensive temperature outside the vehicle is between the third temperature threshold and the fourth temperature threshold, the brightness value of the ambient light increases linearly with the comprehensive temperature outside the vehicle, or the brightness value of the ambient light is maintained at the maximum value.
[0172] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0173] Figure 3 Schematic diagram of the structure of the electronic device 3 provided in the embodiment of the present application. Figure 3As shown, the electronic device 3 of this embodiment includes: a processor 301, a memory 302, and a computer program 303 stored in the memory 302 and executable on the processor 301. When the processor 301 executes the computer program 303, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 301 executes the computer program 303, the functions of the modules / units in the above-mentioned device embodiments are implemented.
[0174] Exemplarily, the computer program 303 may be divided into one or more modules / units, which are stored in the memory 302 and executed by the processor 301 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 303 in the electronic device 3.
[0175] The electronic device 3 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 3 may include, but is not limited to, a processor 301 and a memory 302. Those skilled in the art will appreciate that Figure 3 It is only an example of the electronic device 3 and does not constitute a limitation of the electronic device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0176] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0177] The memory 302 may be an internal storage unit of the electronic device 3, for example, a hard disk or memory of the electronic device 3. The memory 302 may also be an external storage device of the electronic device 3, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 3. Further, the memory 302 may also include both an internal storage unit and an external storage device of the electronic device 3. The memory 302 is used to store computer programs and other programs and data required by the electronic device. The memory 302 may also be used to temporarily store data that has been output or is to be output.
[0178] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0179] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0180] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0181] In the embodiments provided in the present application, it should be understood that the disclosed devices / computer equipment and methods can be implemented in other ways. For example, the device / computer equipment embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. Multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0182] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0183] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0184] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, which may be in source code form, object code form, executable file or some intermediate form. Computer-readable media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0185] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. An intelligent control method for vehicle atmosphere lights, characterized in that: include: Acquire temperature data obtained by collecting the vehicle's external ambient temperature using multiple temperature sensors; Preprocessing the temperature data to obtain a comprehensive temperature outside the vehicle; Based on the comprehensive temperature outside the vehicle, a color value and a brightness value corresponding to the ambient light are determined using a preset mapping relationship; The color value and brightness value corresponding to the ambient light are transmitted to the ambient light controller, so that the ambient light controller drives the ambient light to adjust the color and brightness according to the color value and brightness value to respond to the change of the ambient temperature outside the vehicle.
2. The method according to claim 1, characterized in that: The step of acquiring temperature data obtained by collecting the vehicle's external ambient temperature using a plurality of temperature sensors includes: A plurality of temperature sensors are arranged at the exterior of the vehicle, and the temperature sensors are used to collect the ambient temperature outside the vehicle in real time to obtain the temperature data, and a signal conditioning circuit is used to process the signal output by the temperature sensor to make the processed signal match the data transmission interface, wherein the temperature sensor is an infrared temperature sensor.
3. The method according to claim 1, characterized in that The preprocessing of the temperature data to obtain the comprehensive temperature outside the vehicle includes: The temperature data from multiple temperature sensors are preprocessed by a central processing unit, and the temperature data corresponding to each preprocessed temperature sensor is weighted averaged to obtain the comprehensive temperature outside the vehicle, wherein the temperature sensor is communicatively connected to the central processing unit via a wireless transmission module, and the preprocessing includes removing abnormal values and temperature compensation operations.
4. The method according to claim 1, characterized in that: Before determining the color value and brightness value corresponding to the ambient light by using the preset mapping relationship, the method further includes: Setting a color mapping relationship between the color value and the temperature interval, wherein the color value is calculated by linear or nonlinear interpolation through a color mapping function; A brightness mapping relationship between the brightness value and the temperature range is set, wherein the brightness of the atmosphere light is adjusted according to the temperature change, and the brightness value is determined using a brightness mapping function.
5. The method according to claim 1 or 4, characterized in that: The method of determining the color value and brightness value corresponding to the ambient light based on the comprehensive temperature outside the vehicle by using a preset mapping relationship includes: When the comprehensive temperature outside the vehicle is lower than a preset first temperature threshold, the ambient light displays a cool tone, and when the comprehensive temperature outside the vehicle is higher than a preset second temperature threshold, the ambient light displays a warm tone; Wherein, within different temperature ranges, the color value of the atmosphere light is controlled to gradually transition between different tones, and the brightness value is controlled to be linearly or nonlinearly adjusted within a preset range as the temperature changes.
6. The method according to claim 5, characterized in that The step of controlling the color value of the atmosphere light to gradually transition between different tones within different temperature ranges includes: The RGB intensity corresponding to each color value is calculated using a preset RGB color model, and a color transition function is defined, wherein the color transition function is used to perform smooth transition calculations on color values within different temperature ranges according to changes in the comprehensive temperature outside the vehicle; Among them, in the temperature range between low temperature and high temperature, the color transition function is used to control the color value to gradually transition between the color value of the cool tone and the color value of the warm tone, so as to dynamically adjust the color value of the atmosphere light according to the real-time changes of the comprehensive temperature outside the vehicle.
7. The method according to claim 5, characterized in that The controlling the brightness value to be adjusted linearly or nonlinearly with temperature changes within a preset range includes: A brightness adjustment function is defined, and the brightness adjustment function is used to adjust the brightness value based on the change of the comprehensive temperature outside the vehicle by using a linear or nonlinear function model, so as to adjust the brightness of the atmosphere light according to different temperature ranges: Wherein, when the comprehensive temperature outside the vehicle is lower than a preset third temperature threshold, the brightness value of the ambient light is increased; When the comprehensive temperature outside the vehicle is higher than a preset fourth temperature threshold, reducing the brightness value of the ambient light; When the comprehensive temperature outside the vehicle is between the third temperature threshold and the fourth temperature threshold, the brightness value of the ambient light increases linearly with the comprehensive temperature outside the vehicle, or the brightness value of the ambient light is maintained at a maximum value.
8. An intelligent control device for vehicle atmosphere lights, characterized in that: include: An acquisition module is configured to acquire temperature data obtained by collecting the vehicle's external ambient temperature using a plurality of temperature sensors; A preprocessing module is configured to preprocess the temperature data to obtain a comprehensive temperature outside the vehicle; A determination module is configured to determine the color value and brightness value corresponding to the ambient light based on the comprehensive temperature outside the vehicle by using a preset mapping relationship; The adjustment module is configured to transmit the color value and brightness value corresponding to the ambient light to the ambient light controller, so that the ambient light controller drives the ambient light to adjust the color and brightness according to the color value and brightness value in response to changes in the ambient temperature outside the vehicle.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Design method of plectrum-triggered atmosphere lamp
CN119922803A
Intelligent control method and system for vehicle-mounted atmosphere lamp and storage medium
CN120358648A
Intelligent control method, system and storage medium for vehicle-mounted atmosphere light
CN120358648B