Atmosphere lamp control method, system and device, vehicle, medium and product

By real-time detection of vehicle status parameters and dynamically adjusting the working mode and color of the ambient lights, the problem of inconsistency between the ambient lights in the car and the outside environment is solved, and the user experience is improved.

CN120503702APending Publication Date: 2025-08-19BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510124999.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-25
Publication Date
2025-08-19

AI Technical Summary

Technical Problem

The existing interior ambient light system cannot be adaptively adjusted according to the outside environment, resulting in a single user experience and may conflict with the outside environment.

Method used

By real-time detection of vehicle status parameters, including geographical environment, vehicle environment image, sound information and vehicle speed, dynamically adjust the working mode and color of the ambient lights to integrate with the vehicle environment.

Benefits of technology

It improves the consistency between the interior ambient lights and the exterior environment, enhances the immersive experience of passengers and the entertainment effect of driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120503702A_ABST
    Figure CN120503702A_ABST
Patent Text Reader

Abstract

The invention discloses an atmosphere lamp control method, system and device, a vehicle, a medium and a product. The control method comprises the steps that according to state parameters of a vehicle, working parameters of an atmosphere lamp are determined; and controlling the atmosphere lamp to work according to the working parameters. According to the control method, the working mode of the atmosphere lamp of the vehicle is determined in real time according to the state parameters of the vehicle, then the atmosphere lamp is controlled to work in real time according to the working mode, the atmosphere lamp in the vehicle and the environment outside the vehicle are integrated, the immersive feeling is brought to passengers, the entertainment effect in the driving process is improved, and various experiences are brought to users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of ambient light, and more specifically, to a method and system, device, vehicle, medium, and product for controlling an ambient light. Background Art

[0002] With the continuous development of the automotive industry, people's demand for car entertainment functions is increasing, and in-car entertainment systems have become a focus of attention. In-car ambient lighting is a key component of in-car entertainment systems. However, existing technologies generally rely on users to actively select the operating mode, failing to provide users with a diverse experience. Summary of the Invention

[0003] The present application provides a method and system for controlling an ambient light, a device, a vehicle, a medium, and a product.

[0004] The present application provides a method for controlling an ambient light, including:

[0005] Determining operating parameters of the ambient light according to the vehicle's status parameters;

[0006] The ambient light is controlled to operate according to the operating parameters.

[0007] In this way, in the atmosphere light control method, atmosphere light control system, electronic device, vehicle, computer-readable storage medium and computer program product of the implementation mode of the present application, the working mode of the vehicle's atmosphere light is determined in real time according to the vehicle's status parameters, and then the atmosphere light is controlled in real time according to the working mode, so that the interior atmosphere light is integrated with the environment inside and outside the vehicle, giving passengers an immersive feeling, increasing the entertainment effect of the driving process, and bringing a variety of experiences to users.

[0008] In some embodiments, determining the operating parameters of the ambient light according to the vehicle state parameters includes:

[0009] The working mode corresponding to the ambient light is determined according to the geographical environment information of the vehicle location.

[0010] In some embodiments, determining the operating mode corresponding to the ambient light according to the geographical environment information of the vehicle location includes:

[0011] Determining terrain information of the vehicle location based on the geographic environment information of the vehicle location; the geographic environment information is determined based on map information of the vehicle location;

[0012] In a case where there is a target terrain at the vehicle position, the operation mode is determined to be a target mode corresponding to the target terrain.

[0013] In some embodiments, determining the operating mode corresponding to the ambient light according to the geographical environment information of the vehicle location further includes:

[0014] If the target terrain does not exist at the vehicle position, determine the target element within a preset distance of the vehicle.

[0015] And when the target element exists within the preset distance, the working mode is determined to be the target display mode corresponding to the target element.

[0016] In some embodiments, when the target element is within the preset distance, determining the operating mode to be the target display mode corresponding to the target element includes:

[0017] In a case where there are at least two target elements within the preset distance, the target display mode is determined according to area parameters of the target elements within the preset distance.

[0018] In some embodiments, determining the target display mode based on an area parameter of the target element within the preset distance includes:

[0019] comparing the area parameters corresponding to each of at least two target elements, and determining a maximum area parameter among the area parameters corresponding to the target elements;

[0020] The target display mode is determined according to the maximum area parameter.

[0021] In some embodiments, determining the operating parameters of the ambient light according to the vehicle state parameters includes:

[0022] Determining a target color in the environment in which the vehicle is located based on an image of the environment outside the vehicle;

[0023] The luminous color of the atmosphere light is determined according to the target color.

[0024] In some embodiments, determining the luminous color of the atmosphere light according to the target color includes:

[0025] When the pixel ratio of the target color in the vehicle exterior environment image is greater than a set threshold, the target color is determined as the luminous color of the ambient light; the pixel ratio is the ratio of the number of pixels occupied by the target color to the total number of pixels in the vehicle exterior environment image.

[0026] In some embodiments, the target color includes multiple brightness coefficients, and the control method further includes:

[0027] Determining a target parameter of the brightness coefficient according to the brightness coefficient of the target color and the number of brightness pixels occupied by the brightness coefficient in the image of the vehicle exterior environment;

[0028] The luminous brightness of the atmosphere light when displaying the target color is determined according to the target parameter.

[0029] In some embodiments, the target color includes multiple colors, and determining the target parameter of the brightness coefficient according to the brightness coefficient of the target color and the number of brightness pixels occupied by the brightness coefficient in the image of the vehicle exterior environment includes:

[0030] The target parameter of the brightness coefficient is determined according to the brightness coefficient of the same target color and the number of brightness pixels occupied by the brightness coefficient in the vehicle exterior environment image.

[0031] In some embodiments, determining the luminous brightness of the atmosphere light when displaying the target color according to the target parameter includes:

[0032] Comparing all the target parameters, and determining the maximum target parameter among the target parameters corresponding to all the brightness coefficients;

[0033] determining a target brightness according to the maximum target parameter;

[0034] The luminous brightness of the atmosphere light when displaying the target color is determined according to the target brightness.

[0035] In some embodiments, determining the operating parameters of the ambient light according to the vehicle state parameters includes:

[0036] determining sound parameters of the external sound information according to the external sound information of the vehicle;

[0037] The lighting mode of the atmosphere light is determined according to the sound parameters.

[0038] In some embodiments, determining the sound parameters of the external sound information according to the external sound information of the vehicle includes:

[0039] determining validity of the external vehicle sound information based on the amplitudes and phases of the plurality of external vehicle sound information;

[0040] When the vehicle exterior sound information is valid sound information, the sound parameter is determined based on the valid sound information.

[0041] In some embodiments, determining the validity of the external vehicle sound information based on the amplitude and phase of the plurality of external vehicle sound information includes:

[0042] determining a maximum amplitude difference and a maximum phase difference between the plurality of the vehicle exterior sound information based on the amplitudes and the phases of the plurality of the vehicle exterior sound information;

[0043] The validity of the external vehicle sound information is determined according to the maximum amplitude difference and the maximum phase difference.

[0044] In some embodiments, determining the validity of the external sound information based on the maximum amplitude difference and the maximum phase difference includes:

[0045] When the maximum amplitude difference is less than a preset amplitude difference, and the maximum phase difference is less than a preset phase difference, determining that the external vehicle sound information is the valid sound information;

[0046] When the maximum amplitude difference is greater than or equal to the preset amplitude difference, and the maximum phase difference is greater than or equal to the preset phase difference, it is determined that the external sound information is invalid sound information.

[0047] In some embodiments, the control method further comprises:

[0048] If the maximum amplitude difference is greater than or equal to the preset amplitude difference, and the maximum phase difference is less than the preset phase difference, it is determined that an error exists; or,

[0049] When the maximum amplitude difference is less than the preset amplitude difference and the maximum phase difference is greater than or equal to the preset phase difference, determining that an error exists;

[0050] The error degree is determined based on the number of errors and the set number of times the error occurs.

[0051] In certain embodiments, determining the error degree based on the number of errors and a set number of errors includes:

[0052] When the number of errors is less than the set number, determining the error degree as a first error, and re-determining the maximum amplitude difference and the maximum phase difference;

[0053] When the number of errors is greater than or equal to the set number of times, the error degree is determined to be a second error, and the amplitude and the phase of the external sound information are re-determined.

[0054] In some embodiments, the sound parameters include amplitude, amplitude change rate, and / or frequency distribution, and determining the lighting mode of the atmosphere light according to the sound parameters includes:

[0055] determining the lighting mode of the ambient light according to the amplitude and amplitude change rate of the external sound information; and / or,

[0056] The lighting mode of the ambient light is determined according to the frequency distribution of the external sound information.

[0057] In some embodiments, determining the lighting mode of the ambient light according to the amplitude and amplitude change rate of the external sound information includes:

[0058] When the amplitude change rate is greater than an amplitude threshold, determining that the lighting mode of the atmosphere lamp is the first lighting mode;

[0059] When the amplitude change rate is equal to the amplitude threshold, determining that the lighting mode of the atmosphere lamp is the second lighting mode;

[0060] When the amplitude change rate is less than the amplitude threshold, it is determined that the lighting mode of the atmosphere light is the third lighting mode.

[0061] In some embodiments, the control method further comprises:

[0062] When the ambient light is in the first lighting mode, controlling the working area of the ambient light to increase within a first time, so that the display brightness of the ambient light within the working area is greater than a preset brightness;

[0063] When the ambient light is in the second lighting mode, controlling the working area of the ambient light to remain unchanged within a second time;

[0064] When the ambient light is in the third lighting mode, the working area of the ambient light is controlled to decrease within a third time.

[0065] In some embodiments, determining the operating parameters of the ambient light according to the vehicle state parameters includes:

[0066] The display mode of the ambient light is determined according to the driving speed and / or driving acceleration of the vehicle.

[0067] In some embodiments, controlling the ambient light to operate according to the operating parameters includes:

[0068] The control mode of the ambient light is determined according to the brightness of the environment in which the vehicle is located.

[0069] In some embodiments, determining the control mode of the ambient light according to the brightness of the environment in which the vehicle is located includes:

[0070] When the brightness of the environment in which the vehicle is located is less than a brightness threshold, the control of the ambient light by the vehicle's external environment processing module is shielded, and the external environment processing module is configured to control the operation of the ambient light according to the vehicle's external environment image.

[0071] In some embodiments, determining the control mode of the ambient light according to the brightness of the environment in which the vehicle is located includes:

[0072] When the brightness of the environment in which the vehicle is located is less than a brightness threshold and the environment outside the vehicle is in a preset environment state, the control mode of the ambient light is determined according to the image of the environment outside the vehicle.

[0073] An embodiment of the present application provides an electronic device, which includes one or more processors and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the method in any of the above embodiments are implemented.

[0074] The embodiments of the present application provide an atmosphere light control system for implementing the control method of any of the above embodiments.

[0075] In some embodiments, the ambient light control system includes a control module, which is configured to determine operating parameters of the ambient light according to state parameters of the vehicle; and control the operation of the ambient light according to the operating parameters.

[0076] In some embodiments, the ambient light control system further includes a map processing module, which is configured to determine an operating mode corresponding to the ambient light according to geographical environment information of the vehicle location.

[0077] In some embodiments, the ambient light control system further includes an external environment processing module, which is configured to: obtain an external environment image of the vehicle; determine a target color in the environment in which the vehicle is located based on the external environment image of the vehicle; and determine the luminous color of the ambient light based on the target color.

[0078] In some embodiments, the ambient light control system further includes a sound processing module, which is configured to: obtain external sound information of the vehicle; determine sound parameters of the external sound information based on the external sound information of the vehicle; and the control module is configured to determine the lighting mode of the ambient light based on the sound parameters.

[0079] In some embodiments, the ambient light control system further includes a vehicle speed detection module, which is configured to obtain the vehicle's driving speed and / or driving acceleration, and the control module is configured to determine the display mode of the vehicle's ambient light based on the vehicle's driving speed and / or driving acceleration.

[0080] An embodiment of the present application provides a vehicle, which includes the electronic device as described in the above embodiment, or the ambient light control system as described in any of the above embodiments.

[0081] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the steps of the method of any of the above embodiments are implemented.

[0082] An embodiment of the present application provides a computer program product, including a computer program, which implements the steps of any of the above embodiments when the computer program is executed by a processor.

[0083] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become obvious from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0084] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0085] Figure 1 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0086] Figure 2 is a schematic diagram of an ambient light control system according to certain embodiments of the present application;

[0087] Figure 3 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0088] Figure 4 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0089] Figure 5 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0090] Figure 6 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0091] Figure 7 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0092] Figure 8 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0093] Figure 9 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0094] Figure 10 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0095] Figure 11 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0096] Figure 12 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0097] Figure 13 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0098] Figure 14 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0099] Figure 15 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0100] Figure 16 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0101] Figure 17 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0102] Figure 18 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0103] Figure 19 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0104] Figure 20 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0105] Figure 21 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0106] Figure 22 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0107] Figure 23is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0108] Figure 24 is a flow chart of a method for controlling an ambient light according to certain embodiments of the present application;

[0109] Figure 25 It is a flowchart of a method for controlling an ambient light in certain embodiments of the present application. DETAILED DESCRIPTION

[0110] The embodiments of the present application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application and are not to be construed as limiting the present application.

[0111] With the continuous development of the automotive industry, people's demand for car entertainment functions is increasing. In-car entertainment systems have become a focus of attention. In-car ambient lighting is a key component of in-car entertainment systems. In-car ambient lighting can enrich the sensory experience of the user in the car.

[0112] In related technologies, interior ambient lighting typically relies on the user actively selecting a fixed operating mode, allowing only switching between pre-set modes, failing to provide a diverse user experience. Furthermore, the operating modes of interior ambient lighting are only selected by the user, or controlled based on certain in-car factors. The lack of adaptive control over the external environment can lead to conflicts between the interior ambient lighting mode and the external environment, impacting the user experience.

[0113] Based on the above issues to be resolved, please refer to Figure 1 , the embodiment of the present application provides a control method of the atmosphere lamp 20, including:

[0114] 01: Determine the operating parameters of the ambient light 20 according to the vehicle status parameters;

[0115] 02: Control the ambient light 20 to operate according to the operating parameters.

[0116] Embodiments of the present application provide an electronic device comprising one or more processors and a memory, wherein the memory stores a computer program executable by the processor. The processor may be configured to: determine operating parameters of an ambient light 20 based on vehicle status parameters; and control the operation of the ambient light 20 based on the operating parameters.

[0117] The present application provides a control device comprising a first determination module and a first control module. The first determination module can be used to determine operating parameters of the ambient light 20 based on vehicle status parameters, and the first control module can be used to control the operation of the ambient light 20 based on the operating parameters.

[0118] The present invention provides an ambient light control system 100 for implementing any of the control methods of the present invention. In certain embodiments, the ambient light control system 100 includes a control module 10 configured to determine operating parameters of the ambient light 20 based on vehicle status parameters and control the operation of the ambient light 20 based on the operating parameters.

[0119] Specifically, vehicle state parameters include vehicle state parameters and external environment state parameters. Vehicle state parameters include vehicle speed, speed change trends, and interior temperature. External environment state parameters include the vehicle's geographic location, ambient sound, ambient color and brightness, and the overall brightness of the external environment.

[0120] The system detects, processes, calculates, and integrates vehicle status parameters to output operating parameters for the ambient lighting 20 based on the vehicle's environment or state. It also switches the ambient lighting 20 control mode in real time based on environmental changes. Vehicle status parameters include both vehicle parameters and external environment parameters. Vehicle parameters include speed and acceleration. External environment parameters include external environment images, map information, and external sound information.

[0121] See also Figure 2 The vehicle includes a map processing module 30 , an external environment processing module 40 , a sound processing module 50 , a vehicle speed detection module 60 , a control module 10 and an ambient light 20 .

[0122] Among them, the map information processing module can be used to obtain geographical environment information and terrain information of the geographical environment in which the vehicle is located. The external environment processing module 40 can be used to collect the external environment image outside the vehicle and process it. The sound processing module 50 includes an external MIC (Microphone) array. The external MIC array is a microphone array, which is composed of a certain number of microphones and can sample and filter the spatial characteristics of the sound field. That is, the external MIC array can be used to collect external sound information outside the vehicle, and the sound processing module 50 can be used to process and analyze the external sound information. The control center can be used to integrate state parameters, and determine the working parameters of the atmosphere lamp 20 based on the state parameters, and output the working parameters to the atmosphere lamp 20 display system.

[0123] The ambient light 20 may include multiple groups, and the ambient light 20 may operate in different colors, different brightness, different flashing frequencies or in different preset operating modes under the control of the control module 10 .

[0124] Furthermore, the ambient lighting 20 includes light bars, light strips, hidden light sources, and the like. The ambient lighting 20 can be located in vehicle doors, the main control panel, the instrument panel, storage shelves, air conditioning vents, and other locations. During operation, the ambient lighting 20 can be constantly on, flash, alternately illuminate in a breathing pattern, or display different colors, providing users with a variety of display effects and sensory experiences.

[0125] The control method of the embodiment of the present application utilizes the atmosphere of the external environment and key elements to control the performance of the interior atmosphere light 20 in real time, so that the atmosphere inside the vehicle is integrated with the external environment (including natural landscape and man-made environment, etc.), giving passengers an immersive experience and increasing the entertainment effect of the driving process.

[0126] Furthermore, the collected external environmental parameters include valid reference information and invalid reference information. Including invalid reference information in determining the operating parameters of the ambient light 20 can lead to unreasonable errors in the determination of these operating parameters. Therefore, in certain embodiments, the state parameters are processed to filter out invalid reference information, retaining only valid reference information as the parameters for determining the operating parameters of the ambient light 20. This selection of valid reference information can be achieved by processing and performing comparison operations on the state information collected by each module.

[0127] The collected outdoor environmental parameters are processed and screened before determining the working parameters of the ambient light 20, rather than simply performing information integration. This enables the ambient light 20 to reflect the outdoor environmental atmosphere without making the indoor ambient light 20 too complicated due to the complex and changeable outdoor environment, giving users just the right experience.

[0128] In this way, by determining the working mode of the vehicle's ambient light 20 in real time according to the vehicle's status parameters, and then controlling the operation of the ambient light 20 in real time according to the working mode, the ambient light 20 in the vehicle is integrated with the environment inside and outside the vehicle, giving passengers an immersive feeling, increasing the entertainment effect of the driving process, and bringing a variety of experiences to users.

[0129] See also Figure 3 In some embodiments, step 01, determining the operating parameters of the ambient light 20 according to the state parameters of the vehicle, includes:

[0130] 011: Determine the working mode corresponding to the ambient light 20 according to the geographical environment information of the vehicle location.

[0131] In some embodiments, the processor may be configured to determine the corresponding operating mode of the ambient light 20 based on geographical environment information of the vehicle's location.

[0132] In some embodiments, the first control module includes a first determination submodule. The first determination submodule can be used to determine the corresponding working mode of the ambient light 20 according to the geographical environment information of the vehicle location.

[0133] In some embodiments, the ambient light control system 100 further includes a map processing module 30 , which is configured to determine a corresponding working mode of the ambient light 20 according to geographical environment information of the vehicle location.

[0134] In some embodiments, the ambient light control system 100 also includes an external vehicle environment processing module 40, which is configured to: obtain an external vehicle environment image of the vehicle; determine the target color in the environment in which the vehicle is located based on the external vehicle environment image of the vehicle; and determine the luminous color of the ambient light 20 based on the target color.

[0135] Specifically, the geographical environment information of the vehicle's location refers to the geographical conditions within a preset distance from the vehicle. Several target elements or target terrains can be preset, and the operating mode of the ambient light 20 can be set specifically based on the characteristics of the target elements or target terrains.

[0136] The target terrain can be a location with a known name that includes specific elements such as desert, grassland, ocean, beach, forest, or scenic area. For example, the target terrain could be the Taklamakan Desert, Gurbantunggut Desert, Hulunbuir Grassland, Xilin Gol Grassland, or Xishuangbanna Tropical Rainforest. The target terrain can be set based on the country or region the vehicle is actually in. Target elements can include mountains, deserts, grasslands, oceans, beaches, or forests.

[0137] In this way, the corresponding working mode of the ambient light 20 is determined according to the geographical environment information, and the ambient light 20 is controlled according to the working mode, thereby improving the consistency between the effect of the ambient light 20 inside the car and the scenery outside the car, so that users can feel the characteristics of the scenery outside the car while in the car, thereby improving the user experience.

[0138] See also Figure 4 In some embodiments, step 011, based on the geographical environment information of the vehicle location, determines the corresponding working mode of the ambient light 20, including:

[0139] 0111: Determine terrain information of the vehicle location based on geographic environment information of the vehicle location; the geographic environment information is determined based on map information of the vehicle location;

[0140] 0112: When there is a target terrain at the vehicle position, determine the working mode to be a target mode corresponding to the target terrain.

[0141] In some embodiments, the processor can be used to: determine the terrain information of the vehicle location based on the geographical environment information of the vehicle location; determine the working mode corresponding to the ambient light 20 based on the geographical environment information of the vehicle location, including: when there is a target terrain at the vehicle location, determining the working mode to be a target mode corresponding to the target terrain.

[0142] In certain embodiments, the control device includes a second determination module, and the first determination submodule includes a first determination module. The second determination module can be configured to determine terrain information at the vehicle's location based on geographical environment information at the vehicle's location; and the first determination module can be configured to determine the operating mode to be a target mode corresponding to the target terrain when target terrain exists at the vehicle's location.

[0143] Specifically, the vehicle can obtain map information of the area it is located in via GPS and determine the vehicle's location and the area's geographic status information based on the map information. Geographic status information includes topographic information. The topographic information of the area the vehicle is located in can be determined based on whether the map information contains a specific named location. For example, if the map information shows the area the vehicle is located in is named "Golden Beach," then the area includes a specific location and the topographic information is "a beach."

[0144] The control center presets various target terrains, and corresponding target modes for the ambient light 20 are designed for each target terrain. This allows the ambient light 20 to display effects that correspond to the target terrain outside the vehicle when operating in the target mode. For example, the preset target modes in the ambient light control system 100 include grassland mode, mountain mode, desert mode, and seaside mode.

[0145] When it is determined according to the map information that the target terrain exists in the area where the vehicle is located, the working mode of the ambient light 20 is determined to be a target mode corresponding to the target terrain, and the ambient light 20 is controlled to operate according to the target mode.

[0146] In one embodiment, after the vehicle positioning function is activated, the map processing module 30 begins detecting whether the vehicle's current location is within a specific location recorded by the map information system. If the vehicle is detected to be within specific location P, the corresponding ambient light 20 mode is activated, corresponding to the target terrain at the specific location. Mode x is one of the control modes preset in the ambient light control system 100 and corresponds to the target terrain at the specific location.

[0147] In this way, the terrain information of the area can be determined based on the map information of the area, and when there is a target terrain in the area where the vehicle is located, the working mode is determined to be the target mode corresponding to the target terrain, so that when the ambient light 20 works according to the target mode, the display effect can correspond to the target terrain outside the vehicle.

[0148] See also Figure 5 In some embodiments, the geographical environment information further includes element information. Step 011, determining the corresponding working mode of the ambient light 20 according to the geographical environment information of the vehicle location, further includes:

[0149] 0113: When there is no target terrain at the vehicle's location, determine the target element within a preset distance of the vehicle;

[0150] 0114: When a target element exists within a preset distance, the working mode is determined to be a target display mode corresponding to the target element.

[0151] In some embodiments, the processor may be configured to: determine a target element within a preset distance of the vehicle when no target terrain exists at the vehicle's location; and determine that the operating mode is a target display mode corresponding to the target element when a target element exists within the preset distance.

[0152] In some embodiments, the second determination module includes a second determination submodule. The second determination submodule can be configured to determine a target element within a preset distance from the vehicle when no target terrain exists at the vehicle's location; and to determine an operating mode to be a target display mode corresponding to the target element when the target element exists within the preset distance.

[0153] Specifically, if the map information determines that the target terrain containing a specific location does not exist in the area, the terrain features of the area cannot be directly obtained based on the location name in the map information. In this case, the map information can be used to determine the presence of target elements within a preset distance from the vehicle. If the target elements exist, the ambient light 20 is set to operate in the target display mode corresponding to the target elements. The target elements are elements that reflect the actual environment, as included in the map processing module 30, and include mountains, deserts, oceans, jungles, buildings, and the like.

[0154] The target display mode corresponds to the target element; that is, different target elements correspond to different target display modes. For example, if the target element includes an ocean, the target display mode is ocean mode, and in ocean mode, the ambient light 20 emits blue light. If the target element includes a forest, the target display mode is forest mode, and in forest mode, the ambient light 20 emits green light. The correspondence between target elements and target display modes can be adaptively set according to user preferences and is not limited here.

[0155] In one embodiment, the preset distance is D. If the vehicle's location is not detected within any specific location, the current location is used as a starting point, and based on map information, a check is performed to determine whether a target element exists within a horizontal distance d ≤ D from the vehicle. If a target element is determined to exist within the preset distance, the number of types of target elements is determined. If only one type of preset element is within the preset distance, it is assumed that only one natural or man-made element exists in the area currently located by the vehicle, and the corresponding operating mode of the ambient light 20 is assigned based on the single target element.

[0156] In this way, if the terrain characteristics of a region cannot be directly obtained based on the location name in the map information, the map information can be used to determine whether a target element exists within a preset distance. If the target element is determined to exist, the ambient light 20 is controlled to operate in the target display mode corresponding to the target element, so that the ambient light 20 can produce a display effect corresponding to the environment outside the vehicle.

[0157] See also Figure 6 In some embodiments, in step 0114, when a target element exists within a preset distance, determining the operating mode to be a target display mode corresponding to the target element includes:

[0158] 01141: When there are at least two target elements within a preset distance, the target display mode is determined according to the area parameters of the target elements within the preset distance.

[0159] In some embodiments, the processor may be configured to: when at least two target elements exist within a preset distance, determine the target display mode according to area parameters of the target elements within the preset distance.

[0160] In some embodiments, the second determination submodule includes a second determination module. The second determination module can be configured to determine the target display mode according to area parameters of the target elements within the preset distance when at least two target elements exist within the preset distance.

[0161] Specifically, when it is determined according to map information that there are two or more target elements within a preset distance, it is necessary to determine which element is more important to determine the working mode of the atmosphere lamp 20 .

[0162] Based on the distribution information of the target elements in the map information, the area parameters of the target elements within a preset distance can be determined, and the most important target element can be determined based on the area parameters. For example, the target display mode corresponding to the target element with the largest area parameter among the area parameters corresponding to multiple target elements can be selected as the operating mode of the ambient light 20.

[0163] In this way, when there are multiple target elements, the target display mode corresponding to the target element can be determined as the working mode of the atmosphere light 20 according to the area occupied by the target element within the preset distance.

[0164] See also Figure 7 In some embodiments, step 01141, determining a target display mode based on an area parameter of a target element within a preset distance, includes:

[0165] 011411: Compare the area parameters corresponding to each target element and determine the maximum area parameter among the area parameters corresponding to the target elements;

[0166] 011412: Determine the target display mode based on the maximum area parameter.

[0167] In some embodiments, the processor may be configured to: compare area parameters corresponding to each target element, determine a maximum area parameter among the area parameters corresponding to the target elements; and determine a target display mode based on the maximum area parameter.

[0168] In some embodiments, the second determination module includes a first determination submodule and a second determination submodule. The first determination submodule is configured to compare area parameters corresponding to each target element and determine a maximum area parameter among the area parameters corresponding to the target elements; and the second determination submodule is configured to determine a target display mode based on the maximum area parameter.

[0169] Specifically, the maximum area parameter refers to the maximum value among the area parameters corresponding to all target elements. According to the maximum area parameter and the target element corresponding to the maximum area parameter, the target display mode is determined.

[0170] In one embodiment, when the presence of a target element within a preset distance is detected, it is determined whether the types t of different target elements within the preset distance satisfy t≥2. If t=3, then t≥2. At this time, the first area parameter s1 corresponding to the first target element x1, the second area parameter s2 corresponding to the second target element x2, and the third area parameter s3 corresponding to the third target element x3 are calculated based on the element distribution information of the map processing module 30. Through comparison operation, the maximum value Smax=MAX(s1, s2, s3...) among the area parameters is taken, and the target element corresponding to the maximum value Smax is taken to determine its corresponding target display mode as the working mode of the atmosphere light 20. In one embodiment, Smax=s1, then the target display mode corresponding to the target element x1 is selected as the working mode of the atmosphere light 20 to control the operation of the atmosphere light 20.

[0171] In this way, by comparing the area parameters corresponding to a plurality of target elements, the area parameter with the largest proportion can be determined, and the target display mode can be determined according to the target element corresponding to the area parameter.

[0172] See also Figure 8 In some embodiments, step 01, determining the operating parameters of the ambient light 20 according to the state parameters of the vehicle, includes:

[0173] 012: Determine the target color of the vehicle's environment based on the vehicle's external environment image;

[0174] 013: Determine the luminous color of the ambient light 20 according to the target color.

[0175] In some embodiments, the processor may be configured to: determine a target color in the environment in which the vehicle is located based on an image of the vehicle's exterior environment; and determine the luminous color of the ambient light 20 based on the target color.

[0176] In some embodiments, the first determination module further includes a third determination submodule and a fourth determination submodule. The third determination submodule can be used to determine a target color in the vehicle's environment based on the vehicle's external environment image; and the fourth determination submodule can be used to determine the luminous color of the ambient light 20 based on the target color.

[0177] Specifically, the vehicle exterior environment processing module 40 includes at least one vehicle exterior camera, which can be used to capture an image of the vehicle exterior environment. The vehicle exterior environment image is an image of the vehicle exterior environment captured by the vehicle exterior camera and can be used to represent the vehicle exterior environment.

[0178] By processing the image of the vehicle's exterior environment, the colors contained in the image can be determined, thereby determining the target color contained in the vehicle's environment. The luminous color of the ambient light 20 can be determined based on the target color, so that the display effect of the ambient light 20 is close to the exterior environment, improving the user experience.

[0179] In one embodiment, the vehicle exterior environment processing module 40 acquires actual exterior environment information and, under the control of a computing unit, outputs a color and brightness array for the ambient light 20 to determine the color and brightness of the ambient light 20. Multiple exterior cameras Cam1, Cam2, Cam3, ..., Camn capture the vehicle's driving environment. The image processing module extracts these captured exterior environment images and calculates target colors (color1, color2, ..., colorn) within the vehicle's environment, as well as the percentages (a, b, ..., n) of each target color. The target colors are then used to determine the ambient light 20's color.

[0180] Furthermore, if the environment includes multiple target colors, the ambient light 20 can be controlled to flash alternately, displaying different colors. Alternatively, the ambient light 20 can be controlled to display different colors in different areas. For example, based on the color distribution in the environment surrounding the vehicle in various directions, the ambient light 20 in each direction inside the vehicle can be set to display the corresponding target color outside the vehicle to match the color distribution of the environment outside the vehicle. The specific display method can be flexibly set according to user preference and is not limited here.

[0181] In this way, the target color of the vehicle's environment can be determined based on the external environment image, and the luminous color of the ambient light 20 can be determined based on the target color, so that the luminous effect of the ambient light 20 is more integrated with the external environment, thereby improving the flexibility of the ambient light 20 to adjust with the environment.

[0182] See also Figure 9 In some embodiments, step 013, determining the luminous color of the ambient light 20 according to the target color, includes:

[0183] 0131: When the pixel ratio of the target color in the vehicle exterior environment image is greater than the set threshold, the target color is determined as the luminous color of the ambient light 20; the pixel ratio is the ratio of the number of pixels occupied by the target color to the total number of pixels in the vehicle exterior environment image.

[0184] In some embodiments, the processor may be configured to determine the target color as the luminous color of the ambient light 20 when the pixel ratio of the target color in the vehicle exterior environment image is greater than a set threshold.

[0185] In some embodiments, the fourth determination submodule includes a third determination module configured to determine the target color as the luminous color of the ambient light 20 when the pixel ratio of the target color in the vehicle exterior environment image is greater than a set threshold.

[0186] Specifically, a vehicle's environment typically includes a variety of colors. Considering all colors for the ambient lighting 20 would result in overly complex display effects and complicated control logic. Therefore, it is necessary to distinguish between valid and invalid colors in the environment. If the target color is a valid color, the color of the ambient lighting 20 is determined based on the target color.

[0187] The target color can be determined as a valid or invalid color based on the ratio of the target color's pixels in the exterior image to all pixels in the entire exterior image and a comparison result with a set threshold. Furthermore, if the ratio of the target color's pixels in the exterior image is greater than or equal to the set threshold, the target color is determined to be a valid color. If the ratio of the target color's pixels in the exterior image is less than the set threshold, the target color is determined to be an invalid color.

[0188] The threshold value is set to a preset ratio value and can be set according to actual conditions.

[0189] According to the target color determined as the effective color, the luminous color of the atmosphere lamp 20 is determined. The atmosphere lamp 20 can be directly controlled to display the target color; or the corresponding luminous color can be determined after processing the target color to control the atmosphere lamp 20 to emit light.

[0190] In one embodiment, after determining each target color in the exterior environment image, the pixel percentage of each target color is compared and calculated to see if it exceeds a set threshold value p. If the percentages a, b, and c corresponding to color1, color2, and color3 are greater than or equal to the set threshold value p, the target color is considered to be a valid reference color for the ambient light 20, and the luminous color of the ambient light 20 is determined based on the valid reference color. If the percentage corresponding to the target color is less than p, the target color is considered to be invalid.

[0191] In this way, by determining the luminous color of the ambient light 20 according to the target color only when the pixel ratio of the target color in the image of the outside environment is greater than the set threshold, it is possible to avoid too many types of colors in the outside environment, which would cause the luminous effect of the ambient light 20 to be too complicated. While simplifying the control logic of the ambient light 20, the display effect of the ambient light 20 can be made close to the actual color effect of the outside environment.

[0192] See also Figure 10 In some embodiments, the target color includes multiple brightness coefficients, and the control method further includes:

[0193] 06: Determine the target parameter of the brightness coefficient based on the brightness coefficient of the target color and the number of brightness pixels occupied by the brightness coefficient in the image of the vehicle's exterior environment;

[0194] 07: According to the target parameters, determine the luminous brightness of the ambient light 20 when displaying the target color.

[0195] In some embodiments, the processor can be used to: determine the target parameters of the brightness coefficient based on the brightness coefficient of the target color and the number of brightness pixels occupied by the brightness coefficient in the image of the external environment of the vehicle; and determine the luminous brightness of the ambient light 20 when displaying the target color based on the target parameters.

[0196] In some embodiments, the control device further includes a third determination module and a fourth determination module. The third determination module may be configured to determine a target parameter for the brightness coefficient based on the brightness coefficient of the target color and the number of brightness pixels occupied by the brightness coefficient in the image of the vehicle exterior environment; and the fourth determination module may be configured to determine the luminance of the ambient light 20 when displaying the target color based on the target parameter.

[0197] Specifically, because the same target color can display at different brightnesses in the exterior environment, the same target color can also be displayed at various brightnesses in the exterior environment image. When controlling the interior ambient light 20 for display, after determining the luminous color, it is also necessary to determine the luminous brightness. Therefore, it is also necessary to determine the luminous brightness of the ambient light 20 when displaying the luminous color based on the exterior environment image. The number of brightness pixels is the number of pixels in the exterior environment image that have a luminance coefficient.

[0198] The embodiment of the present application proposes a brightness determination method that comprehensively considers the brightness and the size of the area occupied by the brightness, so that when the ambient light 20 is displayed at a determined luminous brightness, the display effect can be more consistent with the effect of the target color in the outside environment. Specifically, based on the outside environment image, the brightness type n of the target color and the brightness coefficient bi (1≤i≤n) of each brightness are determined. After the determination, the number of brightness pixels Bi occupied by each brightness in the outside environment image is determined. According to the brightness coefficient and the number of pixels occupied by the brightness, the target parameter ki=bi×Bi corresponding to the pixel can be determined. According to the brightness distribution of the target color in the outside environment image, the target parameter array [k1, k2,…, kn] calculated according to the brightness coefficient distribution can be obtained.

[0199] According to the target parameter array, the luminous brightness b of the ambient light 20 when displaying the target color can be determined.

[0200] For different target colors, the corresponding luminous brightness is determined according to the above steps, and then the ambient light 20 is controlled to emit light according to the corresponding luminous brightness when displaying the target color.

[0201] In this way, based on the multiple brightnesses of the target color and the number of pixels occupied by each brightness in the image of the outside vehicle environment, the target parameters corresponding to each brightness are determined, and then the luminous brightness of the ambient light 20 when displaying the target color is determined based on the target parameters. This can improve the balance between the ambient light 20 and the target color in the external environment when displaying the target color, thereby improving the display effect.

[0202] See also Figure 11 In some embodiments, the target color includes multiple colors. Step 06, based on the brightness coefficient of the target color and the number of brightness pixels occupied by the brightness coefficient in the vehicle exterior environment image, determines the target parameter of the brightness coefficient, including:

[0203] 061: Determine the target parameter of the brightness coefficient based on the brightness coefficient of the same target color and the number of brightness pixels occupied by the brightness coefficient in the image of the vehicle's exterior environment.

[0204] In certain embodiments, the processor may be configured to determine a target parameter of the brightness coefficient based on the brightness coefficient of the same target color and the number of brightness pixels occupied by the brightness coefficient in the image of the vehicle exterior environment.

[0205] In some embodiments, the third determination module includes a fifth determination submodule configured to determine a target parameter of the brightness coefficient based on the brightness coefficient of the same target color and the number of brightness pixels occupied by the brightness coefficient in the vehicle exterior environment image.

[0206] Specifically, when there are multiple target colors, each target color includes multiple brightness coefficients. Multiple target colors may have the same brightness coefficient. In this case, when calculating a target parameter for a specific brightness coefficient of a target color, only the brightness coefficient of that target color is used as a parameter. In other words, the target parameter represents the distribution and brightness characteristics of the brightness coefficients of the same target color.

[0207] In one embodiment, the vehicle exterior environment image includes a target color red and a target color green. The target color red includes a brightness coefficient r1 and a brightness coefficient r2. The target color green includes a brightness coefficient g1 and a brightness coefficient g2. The target parameters corresponding to the brightness coefficients of the target colors red and green are calculated respectively.

[0208] For the target color red, the number of luminance pixels occupied by luminance coefficient r1 is R1, and the number of luminance pixels occupied by luminance coefficient r2 is R2. Therefore, the target parameter kr1 corresponding to luminance coefficient r1 is = r1 × R1, and the target parameter kr2 corresponding to luminance coefficient r2 is = r2 × R2. Furthermore, the maximum target parameter is krmax = MAX[kr1, kr2] = kr1, so the luminance coefficient corresponding to the maximum target parameter is r1. When the ambient light 20 displays the target color red, the displayed luminance coefficient is r1.

[0209] For the target color green, the number of luminance pixels occupied by luminance coefficient g1 is G1, and the number of luminance pixels occupied by luminance coefficient g2 is G2. Therefore, the target parameter corresponding to luminance coefficient g1 is kg1 = g1 × G1, and the target parameter corresponding to luminance coefficient g2 is kg2 = g2 × G2. Furthermore, the maximum target parameter is kgmax = MAX[kg1, kg2] = kg2, so the luminance coefficient corresponding to the maximum target parameter is g2. When the ambient light 20 displays the target color green, the displayed luminance coefficient is g2.

[0210] In this way, the corresponding target parameter can be calculated for the brightness coefficient of the same target color, and when there are multiple target colors, calculation errors of the target parameter can be avoided.

[0211] See also Figure 12 In some embodiments, step 07, determining the luminous brightness of the ambient light 20 when displaying the target color according to the target parameter, includes:

[0212] 071: Compare all target parameters and determine the maximum target parameter among the target parameters corresponding to all brightness coefficients;

[0213] 072: Determine the target brightness based on the maximum target parameter;

[0214] 073: According to the target brightness, determine the luminous brightness of the ambient light 20 when displaying the target color.

[0215] In some embodiments, the processor can be used to compare all target parameters and determine the maximum target parameter among the target parameters corresponding to all brightness coefficients; determine the target brightness based on the maximum target parameter; and determine the luminous brightness of the atmosphere light 20 when displaying the target color based on the target brightness.

[0216] In some embodiments, the fourth determination module includes a sixth determination submodule, a seventh determination submodule, and an eighth determination submodule. The sixth determination submodule may be configured to compare all target parameters and determine the maximum target parameter among all target parameters corresponding to the brightness coefficients; the seventh determination submodule may be configured to determine the target brightness based on the maximum target parameter; and the eighth determination submodule may be configured to determine the luminous brightness of the ambient light 20 when displaying the target color based on the target brightness.

[0217] Specifically, the brightness coefficient corresponding to the maximum value in the target parameter array, that is, the brightness coefficient corresponding to the maximum target parameter kmax among the target parameters corresponding to the brightness coefficients, can be selected to determine the luminous brightness of the ambient light 20. Wherein, kmax = MAX(k1, k2, ..., kn).

[0218] In one embodiment, kmax=k2=b2×B2, and the luminous brightness of the ambient light 20 when displaying the target color is brightness b2.

[0219] In this way, the brightness coefficient with the largest combined coefficient of proportion and brightness coefficient can be determined by comparing all target parameters, which is used as the luminous brightness of the lamp when displaying the target color.

[0220] See also Figure 13 In some embodiments, step 01, determining the operating parameters of the ambient light 20 according to the state parameters of the vehicle, includes:

[0221] 014: Determine sound parameters of the external sound information according to the external sound information of the vehicle;

[0222] 015: Determine the lighting mode of the ambient light 20 according to the sound parameters.

[0223] In some embodiments, the processor may be configured to: determine sound parameters of the external sound information according to the external sound information of the vehicle; and determine a lighting mode of the ambient light 20 according to the sound parameters.

[0224] In some embodiments, the first determination module includes a ninth determination submodule and a tenth determination submodule. The fifth determination submodule may be configured to determine sound parameters of the exterior sound information based on the exterior sound information of the vehicle, and the sixth determination submodule may be configured to determine a lighting mode of the ambient light 20 based on the sound parameters.

[0225] In some embodiments, the ambient light control system 100 also includes a sound processing module 50, which is configured to: obtain external sound information of the vehicle; determine the sound parameters of the external sound information based on the external sound information of the vehicle; and the control module 10 is configured to determine the lighting mode of the ambient light 20 based on the sound parameters.

[0226] Specifically, the sound processing module 50 can collect and process the sounds of the environment outside the vehicle, and output key information of the effective sounds of the environment outside the vehicle as a control factor for the changes of the ambient light 20 inside the vehicle.

[0227] External sound information is collected by the external MIC array of the sound processing module 50. The sound processing module 50 processes the external sound information to obtain corresponding sound parameters. These sound parameters include the amplitude and amplitude change rate, frequency, and frequency change of the external sound information. The operating mode of the ambient light 20 is then determined based on the sound parameters, allowing the display effect of the ambient light 20 to be correlated with the external sound environment, thereby improving the correlation between the interior ambient light 20 and the external environment.

[0228] In one embodiment, a MIC array installed outside the vehicle acquires external sound information, which includes both valid and invalid sound information. The sound processing module 50 processes and filters the external sound information to obtain valid sound information. The control center determines the operating mode of the ambient light 20 based on the valid sound information and outputs it to the ambient light 20 display system. The ambient light 20 display system then controls the operation of the ambient light 20 based on the operating mode.

[0229] In this way, by determining the sound parameters through the sound information outside the vehicle, and then determining the working mode of the ambient light 20 based on the sound parameters, the auditory experience outside the vehicle can be converted into a visual experience inside the vehicle, thereby improving the correlation between the display of the ambient light 20 inside the vehicle and the external environmental state, improving the diversity of the display effect of the ambient light 20, and enriching the user's sensory experience.

[0230] See also Figure 14 In some embodiments, step 014, determining sound parameters of the external sound information based on the external sound information of the vehicle, includes:

[0231] 0141: Determine the validity of external sound information based on the amplitude and phase of multiple external sound information;

[0232] 0142: When the external sound information is valid sound information, determine the sound parameters according to the valid sound information.

[0233] In some embodiments, the processor may be configured to: determine the validity of the external sound information based on the amplitude and phase of multiple external sound information; and determine the sound parameters based on the valid sound information when the external sound information is valid sound information.

[0234] In certain embodiments, the fifth sub-determination module includes a fourth determination module and a fifth determination module. The fourth determination module may be configured to determine the validity of the external sound information based on the amplitude and phase of the plurality of external sound information; and the fifth determination module may be configured to determine the sound parameters based on the valid external sound information if the external sound information is valid.

[0235] Specifically, the external MIC array includes multiple channels, each used to collect different external sound information. The multiple external sound signals are analyzed and processed separately to obtain the amplitude and phase of each external sound signal. The validity of the external sound signal can be determined based on the amplitude and phase. Sound parameters are then determined based on the valid sound signal to mitigate the adverse effects of noise or errors.

[0236] The lighting mode of the ambient light 20 determined according to the sound parameters can fit the characteristics of the sound information outside the vehicle, thereby giving the user a dual coordinated experience of vision and hearing.

[0237] In this way, the validity of the external sound information can be determined based on the amplitude and phase of multiple external sound information, and the sound parameters of the valid external sound information can be determined, and the working mode of the ambient light 20 can be determined based on the sound parameters.

[0238] See also Figure 15 In some embodiments, step 0141, determining the validity of the external sound information based on the amplitude and phase of the plurality of external sound information, includes:

[0239] 01411: Determine a maximum amplitude difference and a maximum phase difference between the plurality of external sound information according to the amplitude and phase of the plurality of external sound information;

[0240] 01412: Determine the validity of the external sound information based on the maximum amplitude difference and the maximum phase difference.

[0241] In some embodiments, the processor may be configured to: determine the maximum amplitude difference and the maximum phase difference between multiple pieces of external sound information based on the amplitude and phase of the multiple pieces of external sound information; and determine the validity of the external sound information based on the maximum amplitude difference and the maximum phase difference.

[0242] In some embodiments, the fourth determination module includes a third determination submodule and a fourth determination submodule. The third determination submodule may be configured to determine a maximum amplitude difference and a maximum phase difference between the plurality of external sound information based on the amplitudes and phases of the plurality of external sound information; and the fourth determination submodule may be configured to determine the validity of the external sound information based on the maximum amplitude difference and the maximum phase difference.

[0243] Specifically, according to the amplitudes and phases of the plurality of vehicle exterior sound information, a maximum amplitude difference and a maximum phase difference may be determined.

[0244] The maximum amplitude difference refers to the maximum amplitude difference between any two pieces of exterior sound information among the plurality of exterior sound information. The maximum phase difference refers to the maximum phase difference between any two pieces of exterior sound information among the plurality of exterior sound information.

[0245] The validity of the collected external sound information can be determined based on the maximum amplitude difference and the maximum phase difference. If the external sound information is valid, the sound parameters of the external sound information are determined based on the external sound information.

[0246] In one embodiment, the external sound information collected by y MIC channels is analyzed to determine the sound signal amplitudes A1, A2, ..., An and phases Φ1, Φ2, ..., Φn. The maximum difference in the sound signal amplitudes |ΔA| and the maximum difference in the phases |ΔΦ| of the y MIC channels are calculated. The relationship between |ΔA| and a, and the relationship between |ΔΦ| and ψ are compared to determine the validity of the external sound information. Wherein, a is a preset amplitude difference threshold, and ψ is a preset phase difference threshold. The valid external sound information is processed to extract the amplitude An, amplitude change rate αn, frequency composition and frequency change of the valid external sound information as sound parameters. The working mode of the ambient light 20 is determined based on the amplitude An, amplitude change rate αn, frequency composition and frequency change.

[0247] In this way, the validity of the external sound information can be determined based on the maximum amplitude difference and the maximum phase difference of multiple external sound information, and the sound parameters of the valid external sound information can be determined, and the working mode of the ambient light 20 can be determined based on the sound parameters.

[0248] See also Figure 16 In some embodiments, step 01412, determining the validity of the external sound information based on the maximum amplitude difference and the maximum phase difference, includes:

[0249] 014121: When the maximum amplitude difference is less than the preset amplitude difference and the maximum phase difference is less than the preset phase difference, the external sound information is determined to be valid sound information;

[0250] 014122: When the maximum amplitude difference is greater than or equal to the preset amplitude difference, and the maximum phase difference is greater than or equal to the preset phase difference, determine that the external sound information is invalid sound information.

[0251] In certain embodiments, the processor may be configured to: determine that the external sound information is valid sound information when the maximum amplitude difference is less than a preset amplitude difference and the maximum phase difference is less than a preset phase difference; and determine that the external sound information is invalid sound information when the maximum amplitude difference is greater than or equal to the preset amplitude difference and the maximum phase difference is greater than or equal to the preset phase difference.

[0252] In certain embodiments, the fourth determination submodule includes a first determination unit and a second determination unit. The first determination unit may be configured to determine that the external sound information is valid if the maximum amplitude difference is less than a preset amplitude difference and the maximum phase difference is less than a preset phase difference; and the second determination unit may be configured to determine that the external sound information is invalid if the maximum amplitude difference is greater than or equal to the preset amplitude difference and the maximum phase difference is greater than or equal to the preset phase difference.

[0253] Specifically, the validity of the exterior sound can be determined based on a comparison between the maximum amplitude difference and a preset amplitude difference, as well as a comparison between the maximum phase difference and a preset phase difference. If the maximum amplitude difference is less than the preset amplitude difference, and the maximum phase difference is less than the preset phase difference, the exterior sound information is determined to be valid and valid. If the maximum amplitude difference is greater than or equal to the preset amplitude difference, and the maximum phase difference is greater than or equal to the preset phase difference, the exterior sound information is determined to be invalid and invalid.

[0254] The preset amplitude difference and the preset phase difference may both be pre-set values and may be set according to actual needs.

[0255] In one embodiment, a is a preset amplitude difference, and ψ is a preset phase difference. If the maximum amplitude difference is greater than or equal to the preset amplitude difference, and the maximum phase difference is greater than or equal to the preset phase difference, that is, |ΔA| ≥ a & |ΔΦ| ≥ ψ, the sound is considered to be occurring nearby, a noise parameter, and not helpful in expressing the environmental atmosphere, and is determined to be invalid external sound information. If the maximum amplitude difference is less than the preset amplitude difference, and the maximum phase difference is less than the preset phase difference, that is, |ΔA| < a & |ΔΦ| < ψ, the sound is considered to be occurring far away, a sound parameter suitable for expressing the environmental atmosphere, and is determined to be valid external sound information.

[0256] In this way, the validity of the external sound information can be determined based on the comparison results of the maximum amplitude difference and the preset amplitude difference, as well as the comparison results of the maximum phase difference and the preset phase difference, thereby achieving the validity of the external sound information.

[0257] See also Figure 17 In some embodiments, the control method further comprises:

[0258] 08: If the maximum amplitude difference is greater than or equal to the preset amplitude difference, and the maximum phase difference is less than the preset phase difference, it is determined that an error exists; or,

[0259] 09: When the maximum amplitude difference is less than the preset amplitude difference and the maximum phase difference is greater than or equal to the preset phase difference, it is determined that an error exists;

[0260] 010: Determine the error degree based on the number of errors and the set number of errors.

[0261] In certain embodiments, the processor may be configured to: determine the presence of an error when the maximum amplitude difference is greater than or equal to a preset amplitude difference and the maximum phase difference is less than a preset phase difference; or determine the presence of an error when the maximum amplitude difference is less than a preset amplitude difference and the maximum phase difference is greater than or equal to a preset phase difference; and determine the degree of error based on the number of times the error occurs and a set number of times.

[0262] In some embodiments, the control device further includes a fifth determination module, a sixth determination module, and a seventh determination module. The fifth determination module may be configured to determine the presence of an error when the maximum amplitude difference is greater than or equal to a preset amplitude difference and the maximum phase difference is less than a preset phase difference; the sixth determination module may be configured to determine the presence of an error when the maximum amplitude difference is less than the preset amplitude difference and the maximum phase difference is greater than or equal to the preset phase difference; and the seventh determination module may be configured to determine the degree of the error based on the number of occurrences and a preset number of occurrences.

[0263] Specifically, if the maximum amplitude difference is greater than or equal to the preset amplitude difference and the maximum phase difference is less than the preset phase difference, or if the maximum amplitude difference is less than the preset amplitude difference and the maximum phase difference is greater than or equal to the preset phase difference, the validity of the external sound information is low, but it is not completely noise. This may be due to errors in the processing and calculation of the sound processing module 50. Therefore, it can be considered that there is an error in the sound processing module 50.

[0264] When an error is determined in the sound processing module 50, the number of errors that occur is counted. Each time an error is determined, the error count m is incremented by one. For example, when the sound processing module 50 is first determined to have an error based on the maximum amplitude difference and the maximum phase difference, the error count m = 1. When the sound processing module 50 is determined to have an error for the jth time, the error count m = j.

[0265] The degree of error in the sound processing module 50 can be determined based on the number of errors and the set number M. The set number is a preset value that can be set based on actual conditions. If the number of errors is greater than or equal to the set number M, the degree of error in the sound processing module 50 may be more serious; if the number of errors is less than the set number M, the degree of error in the sound processing module 50 is less serious.

[0266] In one embodiment, when the maximum amplitude difference is less than the preset amplitude difference and the maximum phase difference is greater than or equal to the preset phase difference, or when the maximum amplitude difference is greater than or equal to the preset amplitude difference and the maximum phase difference is less than the preset phase difference, that is, |ΔA|<a&|ΔΦ|≥ψ or |ΔA|≥a&|ΔΦ|<ψ, it is considered that there is an error in the sound processing module 50 or the environment, the number of errors m is counted, and it is determined whether m is greater than or equal to the set number M to determine the degree of error.

[0267] In this way, whether there is an error in the sound processing module 50 can be determined based on the maximum amplitude difference and the maximum phase difference, and the degree of the error can be determined based on the number of times the error occurs, thereby providing an error judgment mechanism.

[0268] See also Figure 18 In some embodiments, 010: determining the error degree according to the number of errors and the set number of errors, including:

[0269] 0101: When the number of errors is less than the set number, the error level is determined to be the first error, and the maximum amplitude difference and maximum phase difference are re-determined;

[0270] 0102: When the number of errors is greater than or equal to the set number, the error level is determined to be a second error, and the amplitude and phase of the external sound information are re-determined.

[0271] In certain embodiments, the processor may be configured to: determine the error degree as a first error when the number of errors is less than a set number, and redetermine the maximum amplitude difference and the maximum phase difference; and determine the error degree as a second error when the number of errors is greater than or equal to a set number, and redetermine the amplitude and phase of the external vehicle sound information.

[0272] In some embodiments, the seventh determination module includes an eleventh determination submodule and a twelfth determination submodule. The eleventh determination submodule may be configured to determine the error level as a first error and redetermine the maximum amplitude difference and the maximum phase difference when the number of errors is less than a set number; and the twelfth determination submodule may be configured to determine the error level as a second error and redetermine the amplitude and phase of the external sound information when the number of errors is greater than or equal to the set number.

[0273] Specifically, if the error count m is less than the set count M, the error level is determined to be a first error. In this case, the error level of the sound processing module 50 is relatively minor, likely due to errors in the calculation of the maximum amplitude difference and the maximum phase difference. Therefore, the maximum amplitude difference and the maximum phase difference are re-determined to eliminate the influence of the errors in the calculation.

[0274] If the error count m is greater than or equal to the set count M, the error level is determined to be a second error. In this case, the error level of the sound processing module 50 is relatively large, possibly due to errors in the determination of the amplitude and phase of the external sound information, leading to calculation errors. Therefore, the amplitude and phase of the external sound information are re-determined.

[0275] In one embodiment, when m<M, it is considered to be an occasional calculation error, and the maximum amplitude difference and maximum phase difference between the external sound information of multiple channels are re-determined; when m≥M, it is considered to be a system detection error, and the amplitude and phase of the external sound information are re-detected.

[0276] In addition, when the number of errors is greater than the second set number, it is possible that noise or errors exist when collecting the external sound information, and the external sound information can be considered as invalid sound information.

[0277] In this way, the degree of error can be determined based on the comparison result of the error number and the set number, and the sound parameters of the external sound information can be re-detected or calculated based on the error degree to eliminate the influence of the error.

[0278] See also Figure 19 In some embodiments, the sound parameters include amplitude, amplitude change rate and / or frequency distribution. Step 015, determining the lighting mode of the ambient light 20 according to the sound parameters, includes:

[0279] 0151: Determine the lighting mode of the ambient light 20 according to the amplitude and amplitude change rate of the external sound information; and / or,

[0280] 0152: Determine the lighting mode of the ambient light 20 according to the frequency distribution of the sound information outside the vehicle.

[0281] In some embodiments, the processor may be configured to: determine the lighting mode of the ambient light 20 based on the amplitude and amplitude change rate of the external sound information; and determine the lighting mode of the ambient light 20 based on the frequency distribution of the external sound information.

[0282] In some embodiments, the tenth determination submodule includes a sixth determination module and a seventh determination module. The sixth determination module may be configured to determine the lighting pattern of the ambient light 20 based on the amplitude and amplitude change rate of the external sound information; and the seventh determination module may be configured to determine the lighting pattern of the ambient light 20 based on the frequency distribution of the external sound information.

[0283] Specifically, the operating mode of the ambient light 20 can be determined based on the sound parameters of the effective sound information. For example, the operating mode of the ambient light 20 can be determined based on the amplitude and amplitude change rate of the external sound information. In another example, the operating mode of the ambient light 20 can be determined based on the frequency distribution of the external sound information.

[0284] Frequency distribution refers to the distribution of different frequencies within the external sound information. For example, if the external sound information is rain, it will be low-frequency white noise, and the frequency distribution will be relatively balanced. If the external sound information includes bird calls, the frequency distribution will be characterized by occasional high frequencies within the low frequencies. Based on different frequency distribution characteristics, the corresponding operating modes of the ambient light 20 can be pre-set in the control center.

[0285] In one embodiment, the working area of the atmosphere light 20 is adjusted according to the frequency composition and frequency change of the effective sound information, and the spectrum of the effective sound information is analyzed to obtain different frequency components of the effective sound information within the time Δt. According to its frequency distribution characteristics, a flashing mode of the atmosphere light 20 array is mapped: frequency distribution characteristic 1 corresponds to the preset atmosphere light 20 array flashing effect 1; frequency distribution characteristic 2 corresponds to the preset atmosphere light 20 array flashing effect 2; ... frequency distribution characteristic n corresponds to the preset atmosphere light 20 array flashing effect n.

[0286] It should be noted that determining the lighting pattern of the ambient light 20 based on the amplitude and amplitude change rate of the external sound information and determining the lighting pattern of the ambient light 20 based on the frequency distribution of the external sound information can be performed simultaneously. For example, if the frequency distribution of the external sound is frequency distribution characteristic 1, the ambient light 20 will be determined to display according to the preset ambient light array flashing effect 1, and the lighting area of the ambient light 20 will gradually increase as the sound amplitude increases.

[0287] In this way, the working mode of the ambient light 20 can be determined according to the sound parameters, thereby enriching the display effect of the ambient light 20 and improving the user experience.

[0288] See also Figure 20 In some embodiments, step 0151, determining the lighting mode of the ambient light 20 according to the amplitude and amplitude change rate of the external sound information, includes:

[0289] 01511: when the amplitude change rate is greater than the amplitude threshold, determining that the lighting mode of the ambient light 20 is the first lighting mode;

[0290] 01512: When the amplitude change rate is equal to the amplitude threshold, determining that the lighting mode of the ambient light 20 is the second lighting mode;

[0291] 01513: When the amplitude change rate is less than the amplitude threshold, the lighting mode of the ambient light 20 is determined to be the third lighting mode.

[0292] In some embodiments, the processor can be used to: determine that the lighting mode of the atmosphere lamp 20 is the first lighting mode when the amplitude change rate is greater than the amplitude threshold; determine that the lighting mode of the atmosphere lamp 20 is the second lighting mode when the amplitude change rate is equal to the amplitude threshold; and determine that the lighting mode of the atmosphere lamp 20 is the third lighting mode when the amplitude change rate is less than the amplitude threshold.

[0293] In some embodiments, the sixth determination module includes a fifth determination submodule, a sixth determination submodule, and a seventh determination submodule. The fifth determination submodule may be configured to determine that the lighting mode of the ambient light 20 is the first lighting mode when the amplitude change rate is greater than the amplitude threshold; the sixth determination submodule may be configured to determine that the lighting mode of the ambient light 20 is the second lighting mode when the amplitude change rate is equal to the amplitude threshold; and the seventh determination submodule may be configured to determine that the lighting mode of the ambient light 20 is the third lighting mode when the amplitude change rate is less than the amplitude threshold.

[0294] Specifically, the operating area of the ambient light 20 is adjusted based on the amplitude An and amplitude change rate an of the effective sound information. Here, an = ΔA / Δt. If an > 0, indicating that the amplitude An of the effective sound information increases over time, the operating area of the ambient light 20 increases accordingly, and the lighting mode of the ambient light 20 is now the first lighting mode. If an = 0, indicating that the amplitude An of the effective sound information remains unchanged over time Δt, the operating area of the ambient light 20 remains unchanged, and the lighting mode of the ambient light 20 is now the second lighting mode. If an < 0, indicating that the amplitude An of the effective sound information decreases over time Δt, the operating area of the ambient light 20 decreases accordingly, and the lighting mode of the ambient light 20 is now the third lighting mode.

[0295] In this way, the lighting mode of the atmosphere lamp 20 can be determined according to the amplitude change rate and the amplitude, so that the user can experience a dual visual and auditory experience.

[0296] See also Figure 21 In some embodiments, the control method further comprises:

[0297] 0110: When the ambient light 20 is in the first lighting mode, the working area of the ambient light 20 is controlled to increase within a first time, and the display brightness of the ambient light 20 within the working area is greater than the preset brightness;

[0298] 0120: When the ambient light 20 is in the second lighting mode, controlling the working area of the ambient light 20 to remain unchanged within the second time;

[0299] 0130: When the ambient light 20 is in the third lighting mode, the working area of the ambient light 20 is controlled to decrease within a third time.

[0300] In some embodiments, the processor may be configured to: when the ambient light 20 is in a first lighting mode, increase the active area of the ambient light 20 within a first time period, with the display brightness of the ambient light 20 within the active area exceeding a preset brightness; when the ambient light 20 is in a second lighting mode, maintain the active area of the ambient light 20 within a second time period; and when the ambient light 20 is in a third lighting mode, reduce the active area of the ambient light 20 within a third time period. Optionally, the preset brightness may be a brightness greater than or equal to 0.

[0301] In some embodiments, the control device further includes a second control module, a third control module, and a fourth control module. The second control module may be configured to increase the working area of the ambient light 20 within a first period of time when the ambient light 20 is in the first lighting mode; the third control module may be configured to maintain the working area of the ambient light 20 within a second period of time when the ambient light 20 is in the second lighting mode; and the fourth control module may be configured to decrease the working area of the ambient light 20 within a third period of time when the ambient light 20 is in the third lighting mode.

[0302] Specifically, the work area refers to the area occupied by the ambient light 20 displaying a brightness greater than the preset brightness. The preset brightness is a pre-set value that can be adjusted based on actual conditions. For example, if the preset brightness is 0, the ambient light 20 will illuminate within the work area. The preset brightness can also be set to a higher value to limit the work area to the highlighted area of the ambient light 20.

[0303] If the amplitude change rate is greater than the amplitude threshold, the lighting mode of the ambient light 20 is determined to be the first lighting mode, and the active area of the ambient light 20 increases within the first period of time. Since the amplitude of the external sound information increases over time when the amplitude change rate is greater than the amplitude threshold, the reduction in the active area at this time can match the change in the external sound information, that is, the active area increases as the amplitude increases.

[0304] When the amplitude change rate equals the amplitude threshold, the ambient light 20 is determined to be in the second lighting mode. At this time, the active area of the ambient light 20 remains unchanged during the second period. Because the amplitude of the external sound information remains unchanged when the amplitude change rate equals the amplitude threshold, the active area remains unchanged, matching the changes in the external sound information.

[0305] If the amplitude change rate is less than the amplitude threshold, the lighting mode of the ambient light 20 is determined to be the third lighting mode. In this case, the active area of the ambient light 20 remains unchanged during the third time period. Because the amplitude of the external sound information decreases over time when the amplitude change rate is less than the amplitude threshold, the decrease in the active area can match the change in the external sound information. That is, the active area increases or decreases as the amplitude decreases.

[0306] The first time, the second time, and the third time are all pre-set time values and can be set according to actual needs. The first time, the second time, and the third time can be understood as the time difference Δt when calculating the amplitude change rate.

[0307] In this way, by setting the first lighting mode, the second lighting mode and the third lighting mode respectively, the lighting mode corresponding to the amplitude change value can be preset for the atmosphere lamp 20, so that the lighting mode of the atmosphere lamp 20 matches the amplitude change, thereby improving the user experience.

[0308] See also Figure 22 In some embodiments, step 01, determining the operating parameters of the ambient light 20 according to the state parameters of the vehicle, includes:

[0309] 016: Determine the display mode of the ambient light 20 according to the vehicle's driving speed and / or driving acceleration.

[0310] In some embodiments, the processor may be configured to determine a display mode of the vehicle's ambient light 20 based on the vehicle's driving speed and / or driving acceleration.

[0311] In some embodiments, the first determination module includes a thirteenth determination submodule. The thirteenth determination submodule can be used to determine the display mode of the ambient light 20 according to the driving speed and / or driving acceleration of the vehicle.

[0312] In some embodiments, the ambient light control system 100 also includes a vehicle speed detection module 60, which is configured to obtain the vehicle's driving speed and / or driving acceleration, and the control module 10 is configured to determine the display mode of the ambient light 20 based on the vehicle's driving speed and / or driving acceleration.

[0313] Specifically, the vehicle's driving state can be detected using the vehicle's speed detection device. The vehicle's driving state includes the starting state, deceleration and stopping state, driving deceleration state, and driving acceleration state. The starting state refers to the state in which the vehicle starts moving from a stationary state, and the deceleration and stopping state refers to the state in which the vehicle decelerates from a driving state to a stop. Both the driving acceleration state and the driving deceleration state refer to the changes in the vehicle's speed during driving.

[0314] The ambient light 20 can be further adjusted according to the vehicle's driving speed, driving acceleration, or driving speed and driving acceleration. The vehicle speed reduction device collects the vehicle's driving speed and driving acceleration and transmits them to the vehicle's SOC (System on Chip). After analyzing the driving speed and / or driving acceleration, the SOC determines the vehicle's driving mode at this time. For example, based on the change in driving speed, it can be determined whether the vehicle's driving mode is one of the above four states. It can also be determined based on the vehicle's driving acceleration whether the vehicle's driving mode is a driving deceleration state or a driving acceleration state. It can also be determined based on the vehicle's speed and driving acceleration whether the vehicle is in a starting state or a deceleration and parking state.

[0315] The SOC presets the operating modes of the ambient light 20 corresponding to various vehicle driving modes. After the SOC determines the vehicle's driving mode, it determines the operating mode corresponding to that driving mode and outputs it to the ambient light 20 display system. The ambient light 20 display system then controls the vehicle's ambient light 20 to operate in that operating mode.

[0316] In one embodiment, after the vehicle's speed increases from 0 within a set time, the SOC determines that the vehicle's driving state is a start-up state and sets the ambient light 20 to a mode corresponding to the start-up state. The ambient light 20 is then controlled to gradually increase in brightness to match the vehicle's driving state.

[0317] In this way, the working mode of the ambient light 20 is determined according to the driving speed and / or driving acceleration of the vehicle, so that the display effect of the ambient light 20 fits the driving state of the vehicle, bringing a diversified experience to the user.

[0318] See also Figure 23 In some embodiments, step 02, controlling the ambient light according to the operating parameters, includes:

[0319] 021: Determine the control mode of the ambient light 20 according to the brightness of the vehicle's environment.

[0320] In some embodiments, the processor may be configured to determine a control method for the ambient light 20 based on the brightness of the vehicle's environment.

[0321] In some embodiments, the first control module includes a fourteenth determination submodule. The fourteenth determination submodule can be used to determine the control mode of the ambient light 20 according to the brightness of the environment in which the vehicle is located.

[0322] Specifically, the ambient brightness state includes a well-lit state, a relatively low-light state, or an insufficiently lit state. For example, the well-lit state may correspond to the ambient brightness during midday or on a sunny day. The relatively low-light state may correspond to the ambient brightness during dusk, early morning, or on a cloudy day. The insufficiently lit state may correspond to the ambient brightness during the night. Under different brightness states, the brightness of the vehicle's environment varies.

[0323] The operating mode of the vehicle's ambient lighting 20 can be determined based on the brightness of the vehicle's surroundings. For example, during daytime, when the brightness is high, indicating either sufficient or low light conditions, the vehicle's ambient lighting 20 can be controlled to operate at normal brightness and using normal control logic. During darkness, when the brightness is low and insufficient, the vehicle's interior ambient lighting 20 can be controlled to operate at a lower brightness to prevent excessive brightness inside the vehicle from affecting the user's normal driving.

[0324] In this way, the working mode of the vehicle's ambient light 20 can be determined according to the brightness in the vehicle environment to avoid a large difference between the brightness of the interior ambient light 20 and the brightness outside the vehicle, which leads to a poor user experience.

[0325] See also Figure 24 In some embodiments, step 021, determining a control method of the ambient light 20 according to the brightness of the vehicle environment, includes:

[0326] 0211: When the brightness of the vehicle's environment is less than the brightness threshold, the vehicle's external environment processing module 40 is shielded from controlling the ambient light 20. The external environment processing module 40 is configured to control the ambient light 20 according to the vehicle's external environment image.

[0327] In some embodiments, the processor may be configured to shield the vehicle's exterior environment processing module 40 from controlling the ambient light 20 when the brightness of the vehicle's environment is less than a brightness threshold.

[0328] In some embodiments, the fourteenth determining submodule includes an eighth determining module that can be used to block the vehicle's exterior environment processing module 40 from controlling the ambient light 20 when the brightness of the vehicle's environment is less than a brightness threshold.

[0329] Specifically, in low-light conditions, the image of the exterior environment captured by the camera has poor clarity and contains little useful information. Therefore, if the brightness of the vehicle's environment is below a threshold, the vehicle's exterior environment processing module 40 can be shielded from controlling the ambient light 20. This shields the exterior environment image from affecting the operating parameters of the ambient light 20, simplifying control of the ambient light 20.

[0330] The brightness threshold is a preset brightness value and can be set according to actual conditions.

[0331] In one embodiment, when the environment outside the vehicle is dark and the brightness of the environment is less than a brightness threshold, the control of the ambient light 20 by the vehicle exterior environment processing module 40 is shielded.

[0332] In addition, when the brightness of the environment in which the vehicle is located is greater than or equal to the brightness threshold, the ambient light 20 is controlled normally.

[0333] In this way, when the brightness of the environment in which the vehicle is located is relatively low, the control of the ambient light 20 by the vehicle's external environment processing module 40 can be shielded, thereby simplifying the control of the ambient light 20 .

[0334] See also Figure 25 In some embodiments, step 021, determining a control method of the ambient light 20 according to the brightness of the vehicle environment, includes:

[0335] 0212: When the brightness of the vehicle's environment is less than a brightness threshold and the vehicle's exterior environment is in a preset state, determine a control method for the ambient light 20 based on the vehicle's exterior environment image.

[0336] In some embodiments, the processor may be configured to determine a control method for the ambient light 20 based on an image of the vehicle's exterior environment when the brightness of the vehicle's environment is less than a brightness threshold and the exterior environment is in a preset state.

[0337] In some embodiments, the fourteenth determination submodule includes a ninth determination module configured to determine a control mode for the ambient light 20 based on an image of the vehicle's exterior environment when the brightness of the vehicle's environment is less than a brightness threshold and the exterior environment is in a preset state.

[0338] Specifically, the preset environmental states include fireworks shows, light shows, and the like. When the exterior environment is in the preset state, it can provide visual stimulation to the user. In this case, even in low-light environments such as at night, the control mode of the ambient lighting 20 can be determined based on the exterior image, ensuring that the display effect of the ambient lighting 20 matches the visual stimulation outside the vehicle, enhancing the user experience.

[0339] In this way, when the external environment of the vehicle is in a special preset environmental state, even if the brightness is less than the brightness threshold at this time, the vehicle's ambient light 20 can be controlled according to the vehicle's external environment image to make the display effect of the ambient light 20 match the external environment of the vehicle.

[0340] An embodiment of the present application provides a vehicle, which includes the electronic device according to the above embodiment, or the ambient light control system 100 according to any of the above embodiments.

[0341] In this way, the overall atmosphere and key factors in the outdoor environment are used as the control factors of the interior atmosphere light 20, combined with the map processing module 30, the outdoor environment processing module 40, the sound processing module 50, the vehicle speed detection module 60, the control module 10, etc., so that the interior atmosphere and the outdoor environment are integrated to bring passengers a more comfortable road environment, especially suitable for people driving a vehicle for travel, hiking or other leisure and entertainment activities.

[0342] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the steps of the method of any of the above embodiments are implemented.

[0343] An embodiment of the present application provides a computer program product, including a computer program, which implements the steps of any of the above embodiments when the computer program is executed by a processor.

[0344] In the description of this specification, the reference terms "one embodiment," "some embodiments," "illustrative embodiments," "example," "specific example," or "some examples" mean that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the exemplary expressions of the above terms do not necessarily refer to the same embodiment or example. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification, as well as features of different embodiments or examples, unless they are mutually inconsistent.

[0345] Furthermore, the term "connection" should be interpreted broadly. For example, it can include fixed connection, detachable connection, or integral connection; it can include direct connection, indirect connection through an intermediate medium, and internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in this application based on the specific circumstances.

[0346] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of such features. Throughout the description of this application, "plurality" means at least two, for example, two, three, etc., unless otherwise specifically defined.

[0347] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may be performed in a different order than shown or discussed, including performing functions in a substantially simultaneous manner or in a reverse order depending on the functions involved, as should be understood by those skilled in the art to which the embodiments of the present application pertain.

[0348] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for controlling an atmosphere lamp, characterized in that: include: Determining operating parameters of the ambient light according to the vehicle's status parameters; The ambient light is controlled to operate according to the operating parameters.

2. The control method according to claim 1, characterized in that: The determining of the operating parameters of the ambient light according to the state parameters of the vehicle includes: The working mode corresponding to the ambient light is determined according to the geographical environment information of the vehicle location.

3. The control method according to claim 2, characterized in that: The determining, based on the geographical environment information of the vehicle location, the operating mode corresponding to the ambient light includes: Determining terrain information of the vehicle location based on the geographic environment information of the vehicle location; the geographic environment information is determined based on map information of the vehicle location; In a case where there is a target terrain at the vehicle position, the operation mode is determined to be a target mode corresponding to the target terrain.

4. The control method according to claim 3, characterized in that: The determining of the operating mode corresponding to the ambient light according to the geographical environment information of the vehicle location further includes: In a case where the target terrain does not exist at the vehicle position, determining a target element within a preset distance of the vehicle; When the target element exists within the preset distance, the operating mode is determined to be a target display mode corresponding to the target element.

5. The control method according to claim 4, characterized in that: When the target element is within the preset distance, determining the working mode to be the target display mode corresponding to the target element includes: In a case where there are at least two target elements within the preset distance, the target display mode is determined according to area parameters of the target elements within the preset distance.

6. The control method according to claim 5, characterized in that: The determining the target display mode according to the area parameter of the target element within the preset distance includes: comparing the area parameters corresponding to each of the target elements, and determining a maximum area parameter among the area parameters corresponding to the target elements; The target display mode is determined according to the maximum area parameter.

7. The control method according to claim 1, characterized in that: The determining of the operating parameters of the ambient light according to the state parameters of the vehicle includes: Determining a target color in the environment in which the vehicle is located based on an image of the environment outside the vehicle; The luminous color of the atmosphere light is determined according to the target color.

8. The control method according to claim 7, characterized in that: The step of determining the luminous color of the atmosphere light according to the target color includes: When the pixel ratio of the target color in the vehicle exterior environment image is greater than a set threshold, the target color is determined as the luminous color of the ambient light; the pixel ratio is the ratio of the number of pixels occupied by the target color to the total number of pixels in the vehicle exterior environment image.

9. The control method according to claim 7, characterized in that: The target color includes multiple brightness coefficients, and the control method further includes: Determining a target parameter of the brightness coefficient according to the brightness coefficient of the target color and the number of brightness pixels occupied by the brightness coefficient in the image of the vehicle exterior environment; The luminous brightness of the atmosphere light when displaying the target color is determined according to the target parameter.

10. The control method according to claim 9, characterized in that: The target color includes multiple colors, and determining the target parameter of the brightness coefficient according to the brightness coefficient of the target color and the number of brightness pixels occupied by the brightness coefficient in the vehicle exterior environment image includes: The target parameter of the brightness coefficient is determined according to the brightness coefficient of the same target color and the number of brightness pixels occupied by the brightness coefficient in the vehicle exterior environment image.

11. The control method according to claim 9, characterized in that: Determining the luminous brightness of the atmosphere lamp when displaying the target color according to the target parameter includes: Comparing all the target parameters, and determining the maximum target parameter among the target parameters corresponding to all the brightness coefficients; determining a target brightness according to the maximum target parameter; The luminous brightness of the atmosphere light when displaying the target color is determined according to the target brightness.

12. The control method according to claim 1, characterized in that: The determining of the operating parameters of the ambient light according to the state parameters of the vehicle includes: determining sound parameters of the external sound information according to the external sound information of the vehicle; The lighting mode of the atmosphere light is determined according to the sound parameters.

13. The control method according to claim 12, characterized in that: The determining, based on the external sound information of the vehicle, sound parameters of the external sound information includes: determining validity of the external vehicle sound information based on the amplitudes and phases of the plurality of external vehicle sound information; When the vehicle exterior sound information is valid sound information, the sound parameter is determined based on the valid sound information.

14. The control method according to claim 13, characterized in that: The determining the validity of the external sound information according to the amplitudes and phases of the plurality of external sound information includes: determining a maximum amplitude difference and a maximum phase difference between the plurality of the vehicle exterior sound information based on the amplitudes and the phases of the plurality of the vehicle exterior sound information; The validity of the external vehicle sound information is determined according to the maximum amplitude difference and the maximum phase difference.

15. The control method according to claim 14, characterized in that: The determining, based on the maximum amplitude difference and the maximum phase difference, of the validity of the external vehicle sound information includes: When the maximum amplitude difference is less than a preset amplitude difference, and the maximum phase difference is less than a preset phase difference, determining that the external vehicle sound information is the valid sound information; When the maximum amplitude difference is greater than or equal to the preset amplitude difference, and the maximum phase difference is greater than or equal to the preset phase difference, it is determined that the external sound information is invalid sound information.

16. The control method according to claim 14, characterized in that: The control method further includes: If the maximum amplitude difference is greater than or equal to the preset amplitude difference, and the maximum phase difference is less than the preset phase difference, it is determined that an error exists; or, When the maximum amplitude difference is less than the preset amplitude difference and the maximum phase difference is greater than or equal to the preset phase difference, determining that an error exists; The error degree is determined based on the number of errors and the set number of times the error occurs.

17. The control method according to claim 16, characterized in that: Determining the error degree according to the number of errors and the set number of errors includes: When the number of errors is less than the set number, determining the error degree as a first error, and re-determining the maximum amplitude difference and the maximum phase difference; When the number of errors is greater than or equal to the set number of times, the error degree is determined to be a second error, and the amplitude and the phase of the external sound information are re-determined.

18. The control method according to claim 12, characterized in that: The sound parameters include amplitude, amplitude change rate and / or frequency distribution. Determining the lighting mode of the atmosphere lamp according to the sound parameters includes: determining the lighting mode of the ambient light according to the amplitude and amplitude change rate of the external sound information; and / or, The lighting mode of the ambient light is determined according to the frequency distribution of the external sound information.

19. The control method according to claim 18, characterized in that: The determining the lighting mode of the ambient light according to the amplitude and amplitude change rate of the external sound information includes: When the amplitude change rate is greater than an amplitude threshold, determining that the lighting mode of the atmosphere lamp is the first lighting mode; When the amplitude change rate is equal to the amplitude threshold, determining that the lighting mode of the atmosphere lamp is the second lighting mode; When the amplitude change rate is less than the amplitude threshold, it is determined that the lighting mode of the atmosphere light is the third lighting mode.

20. The control method according to claim 19, characterized in that: The control method further includes: When the ambient light is in the first lighting mode, controlling the working area of the ambient light to increase within a first time, so that the display brightness of the ambient light within the working area is greater than a preset brightness; When the ambient light is in the second lighting mode, controlling the working area of the ambient light to remain unchanged within a second time; When the ambient light is in the third lighting mode, the working area of the ambient light is controlled to decrease within a third time.

21. The control method according to claim 1, characterized in that: The determining of the operating parameters of the ambient light according to the state parameters of the vehicle includes: The display mode of the ambient light is determined according to the driving speed and / or driving acceleration of the vehicle.

22. The control method according to any one of claims 1 to 21, characterized in that: The step of controlling the ambient light to operate according to the operating parameters includes: The control mode of the ambient light is determined according to the brightness of the environment in which the vehicle is located.

23. The control method according to claim 22, characterized in that: The determining of the control mode of the ambient light according to the brightness of the environment in which the vehicle is located includes: When the brightness of the environment in which the vehicle is located is less than a brightness threshold, the control of the ambient light by the vehicle's external environment processing module is shielded, and the external environment processing module is configured to control the operation of the ambient light according to the vehicle's external environment image.

24. The control method according to claim 22, characterized in that: The determining of the control mode of the ambient light according to the brightness of the environment in which the vehicle is located includes: When the brightness of the environment in which the vehicle is located is less than a brightness threshold and the environment outside the vehicle is in a preset environment state, the control mode of the ambient light is determined according to the image of the environment outside the vehicle.

25. An electronic device, characterized in that: The electronic device includes one or more processors and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 24 are implemented.

26. An atmosphere light control system, characterized in that: Used to implement the control method as described in any one of claims 1-24.

27. The ambient light control system according to claim 26, characterized in that: The ambient light control system includes a control module, which is configured to determine operating parameters of the ambient light according to state parameters of the vehicle; and control the operation of the ambient light according to the operating parameters.

28. The ambient light control system according to claim 27, characterized in that: The ambient light control system further includes a map processing module, which is configured to determine a corresponding working mode of the ambient light according to geographical environment information of the vehicle location.

29. The ambient light control system according to claim 27, characterized in that: The ambient light control system also includes an external environment processing module, which is configured to: obtain an external environment image of the vehicle; determine a target color in the environment in which the vehicle is located based on the external environment image of the vehicle; and determine the luminous color of the ambient light based on the target color.

30. The ambient light control system according to claim 27, characterized in that: The ambient light control system also includes a sound processing module, which is configured to: obtain external sound information of the vehicle; determine sound parameters of the external sound information based on the external sound information of the vehicle; and the control module is configured to determine the lighting mode of the ambient light based on the sound parameters.

31. The ambient light control system according to claim 27, characterized in that: The ambient light control system also includes a vehicle speed detection module, which is configured to obtain the vehicle's driving speed and / or driving acceleration. The control module is configured to determine the display mode of the vehicle's ambient light based on the vehicle's driving speed and / or driving acceleration.

32. A vehicle, characterized in that: The vehicle includes the electronic device according to claim 25 or the ambient light control system according to any one of claims 26 to 31.

33. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 24 are implemented.

34. A computer program product comprising 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 24 are implemented.