Vehicle light control method, device and equipment and storage medium
By acquiring user behavior and environmental information and dynamically selecting vehicle lighting units, the problem of monotonous vehicle atmosphere lighting effects is solved, three-dimensional light field and personalized lighting control are achieved, and the sense of space and scene matching are improved.
Patent Information
- Application Number
- CN202510613778.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-13
- Publication Date
- 2025-09-09
AI Technical Summary
The current lighting effects of vehicle ambient lights are relatively simple and flat, lack a sense of space, and cannot meet the personalized needs of users.
By obtaining the behavioral information and environmental information of the user in the vehicle, the brightness, color and image information of the target image are determined, the target lighting unit is dynamically selected, and the vehicle lighting is controlled based on the brightness and image information to achieve differentiated brightness and color configuration and establish a three-dimensional light field.
It achieves smarter and more dynamic vehicle lighting control, improves the spatial layering and scene matching of lighting interaction, and provides a more personalized lighting environment experience.
Smart Images

Figure CN120614729A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a vehicle light control method and device, an electronic device, and a storage medium. Background Art
[0002] Currently, the ambient light has only one master switch, which controls all lighting units. When the user turns it on, the ambient lights in various areas of the car (such as the door panels, center console, and instrument panel) will be fully illuminated, and only the color and brightness can be adjusted overall. However, when multiple areas of light work synchronously, the lighting effect is relatively simple and flat, lacking a sense of space. Summary of the Invention
[0003] The embodiments of the present application provide a method for controlling vehicle lighting to solve the problem that the lighting effects of current vehicle ambient lights are relatively simple and flat, and lack a sense of space.
[0004] Correspondingly, the embodiments of the present application also provide a vehicle light control device, an electronic device, and a storage medium to ensure the implementation and application of the above method.
[0005] In order to solve the above problems, the present application discloses a method for controlling vehicle lights, the method comprising:
[0006] Obtaining user behavior information and vehicle environment information in a vehicle; the vehicle has lights;
[0007] Determining a target image for describing a scene currently located by the user based on the behavior information and the vehicle environment information;
[0008] Determining the brightness and darkness information, color information, and image information corresponding to the target image; the image information is used to characterize the image effect corresponding to the scene in the target image;
[0009] determining target lights among the lights of the vehicle based on the brightness and darkness information and imagery information corresponding to the target image;
[0010] Determining target brightness and target color corresponding to the target light according to the brightness and color information corresponding to the target image;
[0011] The target light is controlled according to the target brightness and target color corresponding to the target light.
[0012] Optionally, obtaining the user's behavior information and vehicle environment information in the vehicle includes:
[0013] Acquiring an image of the interior of the vehicle through a camera inside the vehicle;
[0014] Acquiring an image of the exterior of the vehicle through a camera outside the vehicle;
[0015] Acquiring the sound inside the vehicle through a microphone inside the vehicle;
[0016] Analyzing the vehicle interior image and the vehicle interior sound to obtain the behavior information and vehicle interior environment information;
[0017] Analyzing the vehicle exterior image to obtain vehicle exterior environment information;
[0018] The vehicle interior environment information and the vehicle exterior environment information are used as the vehicle environment information.
[0019] Optionally, determining a target image for describing a scene in which the user is currently located based on the behavior information and the vehicle environment information includes:
[0020] generating state information describing the user's current state of behavior based on the behavior information and the vehicle environment information; the state information including scene information related to the interior of the vehicle;
[0021] Filtering the scene information from the state information to obtain target state information;
[0022] Perform scene association conversion according to the target state information to obtain the target scene currently located by the user;
[0023] Determining a scene image that matches the target scene in an image library;
[0024] Analyzing the scene image to obtain a composition structure corresponding to the scene image;
[0025] The scene image is divided into a plurality of target images according to a composition structure corresponding to the scene image.
[0026] Optionally, the brightness information is used to characterize the brightness distribution of the target image, the light has a corresponding light type, and determining the target light in the vehicle lights according to the brightness information and image information corresponding to the target image includes:
[0027] Dividing the vehicle into a plurality of control areas according to a composition structure corresponding to the scene image; the control areas correspond to the target image;
[0028] Determining the lights to be controlled that need to be turned on in the control area according to the brightness and darkness information;
[0029] determining a target light type corresponding to the image information;
[0030] If there is a matching light of the same type as the target light among the lights to be controlled, the matching light is determined as the target light;
[0031] If there is no matching light of the same light type as the target light among the lights to be controlled, the light to be controlled is determined as the target light.
[0032] Optionally, after controlling the target light according to the target brightness and target color corresponding to the target light, the method further includes:
[0033] Determining whether the target light has a dynamic effect;
[0034] If the target light has the dynamic effect, obtaining usage information of the vehicle;
[0035] Determining an activation state corresponding to the dynamic effect according to the behavior information and the usage information;
[0036] The dynamic effect of the target light is controlled according to the enabled state.
[0037] Optionally, after controlling the target light according to the target brightness and target color corresponding to the target light, the method further includes:
[0038] Acquire functional attributes; the functional attributes are used to characterize the functional services provided by the light to the user;
[0039] determining a target functional attribute from among the functional attributes according to the target state information;
[0040] Determine the light having the target functional attribute as the functional light;
[0041] Determine the switch status corresponding to the functional light;
[0042] When the switch state corresponding to the functional light is in the closed state, the switch state corresponding to the functional light is adjusted to the open state.
[0043] Optionally, after controlling the target light according to the target brightness and target color corresponding to the target light, the method further includes:
[0044] Determining the lights other than the target lights and the functional lights as regular lights;
[0045] Determining the switch state corresponding to the conventional light and whether the conventional light has the functional attributes;
[0046] When the switch state corresponding to the conventional light is on and the conventional light has functional attributes, the switch state corresponding to the conventional light is maintained as on;
[0047] When the switch state corresponding to the conventional light is on and the conventional light does not have any functional attributes, the switch state corresponding to the conventional light is adjusted to be off.
[0048] The present application also discloses a vehicle light control device, comprising:
[0049] An information acquisition module is used to acquire user behavior information and vehicle environment information in a vehicle; the vehicle has lights;
[0050] a target image module, configured to determine a target image for describing a scene in which the user is currently located based on the behavior information and the vehicle environment information;
[0051] A first determining module is configured to determine the brightness and darkness information, color information, and image information corresponding to the target image; the image information is used to characterize the image effect corresponding to the scene in the target image;
[0052] a target light module, configured to determine a target light in the vehicle's lights based on brightness and darkness information and imagery information corresponding to the target image;
[0053] A second determination module is configured to determine a target brightness and a target color corresponding to the target light according to the brightness and color information corresponding to the target image;
[0054] The control module is used to control the target light according to the target brightness and target color corresponding to the target light.
[0055] An embodiment of the present application further discloses an electronic device, comprising: a processor; and a memory on which executable code is stored. When the executable code is executed, the processor executes the vehicle light control method as described in any one of the embodiments of the present application.
[0056] The embodiments of the present application further disclose one or more machine-readable media on which executable codes are stored. When the executable codes are executed, a processor executes the vehicle light control method as described in any one of the embodiments of the present application.
[0057] Compared with the prior art, the embodiments of the present application have the following advantages:
[0058] In an embodiment of the present application, behavioral information of a user in a vehicle and vehicle environment information are obtained; there are lights in the vehicle; based on the behavioral information and the vehicle environment information, a target image used to describe the scene in which the user is currently located is determined; light and dark information, color information, and image information corresponding to the target image are determined; the image information is used to characterize the image effect corresponding to the scene in the target image; based on the light and dark information and image information corresponding to the target image, a target light is determined in the lights of the vehicle; based on the light and dark information and color information corresponding to the target image, a target brightness and a target color corresponding to the target light are determined; and based on the target brightness and target color corresponding to the target light, the target light is controlled.
[0059] The embodiments of the present application establish dynamic scene perception capabilities by acquiring user behavior information and vehicle environment information, providing a precise input source for lighting control; secondly, abstract information is converted into concrete target images to realize visual modeling of the scene, and light and shade, color and image information are extracted from it, realizing independent extraction logic of physical parameters (light and shade and color) and semantic atmosphere (image). Based on the light and shade information and image information, the target lighting unit can be dynamically selected, lights in different positions can be activated as needed, and the lighting form can be automatically adjusted, breaking through the limitations of traditional full-area lighting; at the same time, through differentiated brightness and color configuration, a three-dimensional light field is established, eliminating the defects of planar lighting, significantly improving the spatial hierarchy and scene matching of light interaction, and realizing smarter and more dynamic vehicle lighting control. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 This is a flowchart of the steps of an embodiment of a vehicle light control method of the present application;
[0061] Figure 2 This is a schematic diagram of information stored in a lighting database provided by an embodiment of the present application;
[0062] Figure 3 This is a structural block diagram of an embodiment of a vehicle light control device of the present application;
[0063] Figure 4 It is a structural diagram of a device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0064] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0065] In contemporary automotive technology, interior lighting has become more than just a tool for illumination; it has become a crucial element in creating a comfortable, safe, and enjoyable driving environment. With the advancement of intelligence and automation, interior lighting control systems are also evolving. Traditional interior lighting control systems rely primarily on manual operation and are unable to meet the diverse needs of users.
[0066] Vehicles currently sold on the market provide preset modes with different effects, but the preset modes may not meet the user's personalized needs, resulting in a poor user experience, and usually can only provide limited lighting effects and cannot achieve true intelligent control.
[0067] Reference Figure 1 , is a flowchart of an embodiment of a vehicle light control method of the present application, comprising the following steps:
[0068] Step 101: Obtaining user behavior information and vehicle environment information in a vehicle; there are lights in the vehicle;
[0069] In an embodiment of the present application, the vehicle's lighting control system will obtain the user's behavior information and vehicle environment information at regular intervals, so that the obtained information can be subsequently imported into the vehicle system for lighting control analysis.
[0070] By acquiring user behavior information and vehicle environment information, dynamic scene perception capabilities are established to provide precise input sources for lighting control.
[0071] Step 102: Determine a target image for describing the scene the user is currently in based on the behavior information and the vehicle environment information;
[0072] In an embodiment of the present application, the vehicle system will analyze the current user behavior based on the behavior information and vehicle environment information, and will also determine the current vehicle status in combination with the in-vehicle system to form some keywords or a sentence to describe the user's current behavior status in the vehicle. For example, the driver and the co-driver are camping in the car in double bed mode at night.
[0073] At this point, the acquired user behavior description can be subjected to scene association conversion to match multiple images that best suit the current scene description, and then these multiple images can be split into multiple parts corresponding to the target images.
[0074] The embodiments of the present application can convert abstract information (behavior information and vehicle environment information) into a concrete target image to achieve visual modeling of the current scene.
[0075] Step 103: determining the brightness and darkness information, color information, and image information corresponding to the target image; the image information is used to represent the image effect corresponding to the scene in the target image;
[0076] In the embodiment of the present application, after the vehicle system obtains the target image through information analysis and image matching, it will analyze the brightness and darkness information, color information and image information of these images.
[0077] Specifically, light and dark information can reflect the spatial depth of the target image, color information can reflect the main color tone of the target image, and image information is used to characterize the image effects corresponding to the scene in the target image, such as distant mountains, skylines, trees, lawns, etc.
[0078] The embodiments of the present application can extract light and shade, color and image information from the target image, realize the independent extraction logic of physical parameters (light and shade and color) and semantic atmosphere (image), and then subsequently control the vehicle lights based on the semantic information (light and shade, color and image information).
[0079] Step 104: determining a target light among the vehicle lights based on the brightness and darkness information and image information corresponding to the target image;
[0080] Reference Figure 2 , is a schematic diagram of information stored in a lighting database provided in an embodiment of the present application. It can be seen that in the lighting database, each light in the vehicle will be classified according to the light type (point light, surface light and linear light), and the position information, functional attributes and dynamic effects of the lights in each category will be recorded.
[0081] In an embodiment of the present application, the vehicle system will filter out lights that match the scene requirements from the lighting database based on the light and shade information (spatial depth) and image information (scene image, such as distant mountains and skyline) of the target image.
[0082] Based on light and dark information and image information, the embodiment of the present application can dynamically select target lighting units, activate lights in different positions as needed, and automatically adjust the lighting form, breaking through the limitation of traditional methods that can only light up the entire area.
[0083] Step 105: Determine the target brightness and target color corresponding to the target light according to the brightness and color information corresponding to the target image;
[0084] In the embodiment of the present application, the light and dark information of the target image needs to be converted into brightness parameters, and the color information needs to be converted into RGB or color temperature parameters, and then assigned to the target light.
[0085] Specifically, highlight areas in the light and dark information correspond to high brightness, such as bright roof lights on a skyline, while shadow areas correspond to low brightness, such as soft footlights on a lawn. The target color can be determined by matching the color areas corresponding to the lights using a color model (such as HSV) based on the dominant color tone reflected in the color information, such as a cool blue for a blue skyline and a warm green for a green lawn.
[0086] The embodiments of the present application establish a three-dimensional light field through differentiated brightness and color configuration, eliminate the defects of planar lighting, significantly improve the spatial layering and scene matching of light interaction, and achieve smarter and more dynamic vehicle light control.
[0087] Step 106: Control the target light according to the target brightness and target color corresponding to the target light.
[0088] In the embodiment of the present application, the parameters (target brightness and target color) generated in step 105 need to be sent to the vehicle lighting control system to drive the hardware execution.
[0089] As an example, the target brightness is 80% and the target color is warm green, which are converted into hardware driver instructions. Specifically, the target brightness can be achieved through the PWM (Pulse Width Modulation) duty cycle, and the target color can be achieved through the RGB (RedGreenBlue, a color mode) value.
[0090] The embodiments of the present application establish dynamic scene perception capabilities by acquiring user behavior information and vehicle environment information, providing a precise input source for lighting control; secondly, abstract information is converted into concrete target images to realize visual modeling of the scene, and light and shade, color and image information are extracted from it, realizing independent extraction logic of physical parameters (light and shade and color) and semantic atmosphere (image). Based on the light and shade information and image information, the target lighting unit can be dynamically selected, lights in different positions can be activated as needed, and the lighting form can be automatically adjusted, breaking through the limitations of traditional full-area lighting; at the same time, through differentiated brightness and color configuration, a three-dimensional light field is established, eliminating the defects of planar lighting, significantly improving the spatial hierarchy and scene matching of light interaction, and realizing smarter and more dynamic vehicle lighting control.
[0091] In one embodiment of the present application, obtaining the user's behavior information and vehicle environment information in the vehicle includes:
[0092] Acquiring an image of the interior of the vehicle through a camera inside the vehicle;
[0093] Acquiring an image of the exterior of the vehicle through a camera outside the vehicle;
[0094] Acquiring the sound inside the vehicle through a microphone inside the vehicle;
[0095] Analyzing the vehicle interior image and the vehicle interior sound to obtain the behavior information and vehicle interior environment information;
[0096] Analyzing the vehicle exterior image to obtain vehicle exterior environment information;
[0097] The vehicle interior environment information and the vehicle exterior environment information are used as the vehicle environment information.
[0098] In the embodiments of the present application, vehicle environment information includes both external and internal vehicle environment information. Specifically, internal vehicle images (such as passenger posture, facial expressions, and activity status) can be captured by a camera inside the vehicle, internal vehicle sounds (such as conversation content and background noise) can be captured by a microphone inside the vehicle, and external vehicle images (such as weather, road conditions, and surrounding obstacles) can be captured by a camera outside the vehicle.
[0099] In another embodiment of the present application, the interior image of the vehicle can be obtained through the OMS (Occupancy Monitoring System) and DMS (Driver Monitoring System) inside the vehicle, and the exterior image of the vehicle can be obtained through the ADS (Advanced Driver Assistance System) outside the vehicle.
[0100] OMS mainly serves the front passenger and rear passengers. It monitors the passengers' situation through in-car cameras and other sensors. It can monitor the passengers' age, status, emotions, etc. It can also realize passenger detection, seat belt status monitoring, forgotten child detection and liveness detection to ensure the safety and comfortable riding experience of passengers in the car.
[0101] DMS mainly serves the driver. It monitors the driver's status and behavior through cameras and sensors. It can monitor the driver's fatigue level, distraction, and dangerous driving behavior in real time to ensure driving safety.
[0102] ADS mainly serves the vehicle's autonomous driving and active safety functions, and uses multi-sensor fusion technologies such as external cameras, radars, and lidars to perceive the vehicle's surrounding environment in real time.
[0103] As an example, when analyzing images of the interior of a vehicle, it can identify passenger postures (such as lying down, sitting or standing), facial expressions (emotion recognition), and seat belt status. It can also identify items in the vehicle (such as luggage, pets), lighting status, and seat layout (such as whether they are flat). When analyzing sounds inside the vehicle, it can capture conversation keywords (such as "rest" and "music") to determine passenger intentions, identify abnormal sounds (such as crying and collisions), and analyze background noise levels (such as music volume and air conditioning wind noise).
[0104] Therefore, the embodiment of the present application can generate vehicle interior environment information for characterizing the comprehensive environment inside the vehicle by combining image and sound data.
[0105] As an example, by analyzing images captured by the camera inside the car, user actions (such as gestures, posture, and gaze direction) and object interactions (such as operating the panel and picking up items) can be identified; at the same time, the sound collected by the microphone can be analyzed to detect voice commands and abnormal sounds (such as collision sounds).
[0106] Therefore, the embodiment of the present application can obtain behavioral information for judging user behavior (such as distracted driving, voice control, and rest state) by combining image and sound data.
[0107] As another example, when analyzing images outside a vehicle, deep learning models (such as YOLO and Faster R-CNN) can be used to identify road elements (vehicles, pedestrians, traffic signs), natural elements (trees, buildings), and weather phenomena (rain, snow). Parameters such as light intensity (day / night), visibility (fog), and road surface slipperiness (rainy days) in the image can also be extracted and quantified.
[0108] Therefore, the embodiment of the present application can generate vehicle external environment information for characterizing the comprehensive environment outside the vehicle by analyzing the vehicle external image.
[0109] Through multimodal data collection and analysis inside and outside the vehicle, the vehicle system in the embodiment of the present application can fully perceive user behavior and environmental conditions, thereby better establishing dynamic scene perception capabilities and providing a precise input source for lighting control.
[0110] In another embodiment of the present application, in addition to obtaining the user's behavior information and vehicle environment information, the current status of the vehicle can also be obtained through the in-vehicle system, so that the user's behavior information and vehicle environment information can be combined simultaneously to serve as the basis for determining the user's current scene.
[0111] As an example, the current gear position, speed, mode and other related states of the vehicle can be obtained. For example, the vehicle is in parking state and the camping mode is activated.
[0112] The embodiment of the present application obtains vehicle status, user behavior information and vehicle environment information in real time, and combines multimodal data fusion and dynamic scene classification technology. The vehicle system can accurately identify the user's current scene (such as camping mode, driving mode), thereby providing a precise input source for lighting control, so that precise lighting control parameters can be generated based on scene requirements, achieving safe, comfortable and immersive light environment adaptation.
[0113] In one embodiment of the present application, determining a target image for describing a scene in which the user is currently located based on the behavior information and the vehicle environment information includes:
[0114] generating state information describing the user's current state of behavior based on the behavior information and the vehicle environment information; the state information including scene information related to the interior of the vehicle;
[0115] Filtering the scene information from the state information to obtain target state information;
[0116] Perform scene association conversion according to the target state information to obtain the target scene currently located by the user;
[0117] Determining a scene image that matches the target scene in an image library;
[0118] Analyzing the scene image to obtain a composition structure corresponding to the scene image;
[0119] The scene image is divided into a plurality of target images according to a composition structure corresponding to the scene image.
[0120] In an embodiment of the present application, the vehicle system will first analyze the behavior information and vehicle environment information to obtain status information of the user's current behavior status. The status information can be some keywords or a sentence. For example, the driver and the co-driver are camping in the car in double bed mode at night.
[0121] Then the status information needs to be filtered, some invalid information descriptions need to be removed, and the descriptions need to be replaced with other words to obtain the target status information.
[0122] It should be noted that since the embodiment of the present application hopes to provide a more natural spatial lighting experience, before training the image model, it will try to avoid inputting relevant scene information about the interior of the vehicle, and select an environmental description of the same behavior outside the vehicle. Therefore, the invalid information here mainly refers to the scene information related to the interior of the vehicle, that is, the scene information related to the interior of the vehicle needs to be filtered out in the status information.
[0123] For example, after filtering out the status information "The driver and the co-driver are camping in the car at night using the double bed mode", the "driver and the co-driver" in the status information can be changed to "people", the vehicle-specific "double bed mode" can be deleted, and "camping in the car" can be changed to "camping in the suburbs", thereby obtaining the target status information of "people camping in the suburbs at night".
[0124] By filtering out the vehicle's interior scene information (such as "double bed mode"), the embodiment of the present application allows the system to generate a more natural external scene description (such as "camping in the suburbs"), avoiding the limitations of the vehicle's interior environment on the lighting effect, so that the subsequent lighting effects are closer to natural scenes.
[0125] The modified target state information is then input into the AI (Artificial Intelligence) image model so that the image model can perform scene association conversion on the target state information to obtain the target scene where the current user is located. The large model searches the image library extensively to match multiple images that best suit the target scene as scene images.
[0126] In another embodiment of the present application, a scene image threshold can be set. When the number of scene images obtained by matching the large model does not exceed the scene image threshold, a synchronous search will be performed after further replacing the part of the target state information related to the modified scene description with similar words to obtain scene images whose number meets the scene image threshold.
[0127] In one example, similar words such as "night", "dark", and "under the starry sky" can be used to replace "night" in the target state information. In another example, similar words such as "outdoor", "in the mountains and forests", and "on the grass" can be used to replace "outdoor" in the target state information.
[0128] Finally, by forming certain conclusions based on the spatial structural characteristics of these scene images, the specific method can be to divide the scene image into multiple parts using segmentation processing. The conclusion can be described using approximate positions, such as the upper half and the lower half, or using approximate data descriptions, such as 1 / 3 from top to bottom. Commonly used composition methods can also be used, such as the nine-square grid composition, using top, middle, bottom or left, middle, and right to describe the image of each part. Therefore, the composition structure of the scene image can be obtained at this time, and then the scene image can be further divided into multiple target images based on this composition structure.
[0129] For example, for a scene image matched based on the target state information of "people lying camping in the suburbs at night", the composition structure adopted is a nine-square grid composition. At this time, the scene image can be divided into three equal parts in the vertical and horizontal directions. For example, in the vertical space, there are three first target images corresponding to the top area, three second target images corresponding to the middle area, and three third target images corresponding to the bottom area. At this time, the first target image can be the sky and twinkling stars, the second target image can be the distant mountains and the skyline, and the third target image can be the main body of the person and the lawn.
[0130] By segmenting scene images, the embodiments of this application enable lighting control to more precisely match user behavior with environmental requirements, providing a highly personalized lighting environment. Furthermore, through the composition of external scene images, lighting can simulate the spatial distribution of natural light effects. Furthermore, based on target state information and the composition of scene images, the system can accurately identify the user's current scene requirements, allowing for better implementation of the lighting effects corresponding to those scene requirements.
[0131] In another embodiment of the present application, the large model will also obtain the main center of the scene image and analyze the light and dark relationship characteristics centered on the main center. For example, in a camping scene, the light and dark effects of the surrounding lights are similar, or in a reading scene, the light dims from near to far with the character as the center.
[0132] Therefore, the embodiment of the present application can combine the light and dark relationship characteristics based on the main center of the scene image with the above-mentioned target image, so as to obtain accurate lighting control instructions subsequently, thereby improving the lighting effect and enhancing the user experience.
[0133] In one embodiment of the present application, the brightness information is used to characterize the brightness distribution of the target image, the light has a corresponding light type, and determining the target light in the vehicle lights based on the brightness information and image information corresponding to the target image includes:
[0134] Dividing the vehicle into a plurality of control areas according to a composition structure corresponding to the scene image; the control areas correspond to the target image;
[0135] Determining the lights to be controlled that need to be turned on in the control area according to the brightness and darkness information;
[0136] determining a target light type corresponding to the image information;
[0137] If there is a matching light of the same type as the target light among the lights to be controlled, the matching light is determined as the target light;
[0138] If there is no matching light of the same light type as the target light among the lights to be controlled, the light to be controlled is determined as the target light.
[0139] In the embodiment of the present application, it is necessary to build a spatial model of the interior of the vehicle in the cloud. It should be noted that the spatial model of the interior of the vehicle is mainly built based on the layout of the lights inside the vehicle (mainly the vehicle ambient lights). Each light has a specific position, represented by the coordinate axis (X, Y, Z), which is recorded in the light database, such as Figure 2 As shown, the center point inside the vehicle is the coordinate origin.
[0140] At this time, the above-mentioned relevant spatial description of the scene image will be obtained to perform proportional mapping on the spatial model of the interior of the vehicle. As an example, the composition structure of the above-mentioned scene image will be used to divide the spatial model. For example, if the above-mentioned composition structure is a nine-square composition, the spatial model of the interior of the vehicle will be divided into three equal parts in the horizontal and vertical directions respectively. The top area of the longitudinal space of the vehicle can correspond to the first target image, and the top of the vehicle is arranged into an image of the sky and shining stars. The middle area of the longitudinal space of the vehicle can correspond to the second target image, and the dashboard and center console in the middle area of the vehicle are arranged into distant mountains and. The bottom area of the longitudinal space of the vehicle can correspond to the third target image, and the door panels in the lower middle area of the vehicle are arranged into an image of a lawn.
[0141] Therefore, in an embodiment of the present application, the spatial model of the interior of the vehicle is divided into multiple control areas according to the composition structure corresponding to the scene image, and each control area corresponds to each target image.
[0142] After multiple control areas are divided, the image information is analyzed to determine which lights within the control area can create the corresponding image effects. For example, the large-area LED (a light-emitting device) lights on the top can create the image effect of a starry sky, the through-type ambient light strip in the middle of the instrument panel can create the image effect of a skyline, and the surface ambient lights on the door panels on both sides can create the image effect of a lush green lawn. It should be noted that when the lights in a control area cannot create the corresponding image effect, the corresponding image effect will not be performed in this control area. The lights can be controlled only based on the light and dark relationship of the target image. Simply put, the image effect takes precedence over basic brightness control.
[0143] Specifically, by analyzing the brightness distribution (brightness and darkness information) of each control area in the target image, the lights that need to be turned on are screened and designated as the lights to be controlled. As an example, a minimum brightness threshold can be set for each control area. The areas within the current control area with brightness exceeding the minimum brightness threshold are identified, and the coordinates of these areas are then matched with the coordinates in the light database. The lights that match the threshold are then identified as the lights to be controlled.
[0144] In the embodiments of this application, Figure 2 As shown, lighting types include point light, linear light, and surface light. Point light creates a sense of concentration and tension, and its use of virtual and real elements can also create different spatial changes. Linear light gives users a sense of direction and guidance, creating a sense of flow and adding layering to the picture. Surface light gives users a full and rich visual experience and is usually used in larger areas to create an overall atmosphere and emotion.
[0145] It should be noted that since the image information (such as "bright stars in the sky" and "silhouettes of distant mountains") is an abstract description of the scene atmosphere, it needs to be expressed concretely through the physical properties of specific lighting types (such as the focusing of point light and the covering of surface light).
[0146] Specifically, embodiments of this application require mapping image effects (such as "starry sky," "skyline," and "lawn") to appropriate lighting types (point light, linear light, and surface light). As an example, a mapping table between image effects and lighting types can be predefined. Subsequently, the target lighting type corresponding to the image information can be quickly determined from the mapping table based on the image information.
[0147] Then, the target light is selected from the lights to be controlled based on the target light type. Specifically, it can be divided into the following two cases for explanation:
[0148] Case 1: If a matching light of the same type as the target light exists among the lights to be controlled, then that type of light (matching light) is directly selected as the target light. For example, if the target light type is "point light" and the lights to be controlled include a small top LED light (point light), then the small top LED light (matching light) is directly selected as the target light.
[0149] Case 2: If there's no matching light of the same type as the target light among the lights to be controlled, the type match is ignored and the controlled light is used directly. In this case, control is based solely on brightness and darkness information. For example, if the target light type is "Linear Light" but the lights to be controlled only have surface light, then the surface light will be used as the target light, but the final lighting effect will only reflect brightness, not imagery.
[0150] Therefore, the embodiments of the present application cleverly use the visual characteristics corresponding to different lighting types to create different spatial sensations and reflect different image effects. When the vehicle lighting cannot achieve the image effect of its corresponding area, it is built based on the light and dark relationship of the image, avoiding the failure of lighting control due to the lack of lighting type, ensuring the basic functional availability of the lighting, and providing a flexible and reliable implementation path for intelligent lighting control while balancing functionality and experience.
[0151] In one embodiment of the present application, after controlling the target light according to the target brightness and target color corresponding to the target light, the method further includes:
[0152] Determining whether the target light has a dynamic effect;
[0153] If the target light has the dynamic effect, obtaining usage information of the vehicle;
[0154] Determining an activation state corresponding to the dynamic effect according to the behavior information and the usage information;
[0155] The dynamic effect of the target light is controlled according to the enabled state.
[0156] It should be noted that the dynamic effect of lighting refers to whether the lighting can show effects such as flickering, flowing, gradient, breathing, etc. In simple terms, whether the lighting can produce regular or responsive changes over time or according to scene requirements, thereby creating a specific visual atmosphere.
[0157] In the embodiment of the present application, after clarifying which atmosphere lights can be used as target lights in the vehicle interior, it is determined which lights have dynamic effects among the target lights. Figure 2 As shown, based on the lighting database maintained inside the vehicle, it is possible to quickly determine whether the target lighting has a dynamic effect, and its corresponding dynamic effect can be determined.
[0158] After determining that the target light has dynamic effects, it is necessary to further determine whether to enable the dynamic effects corresponding to the target light to enrich the spatial scene. Specifically, it is necessary to obtain the current usage information of the in-vehicle system, including but not limited to the vehicle speed and the information of the currently running applications on the center console. It is also necessary to combine the behavior information obtained in step 101 to determine the user's current scene, so as to determine the activation status of the dynamic effects according to the user's current scene, and ensure that the lighting effects are highly matched with the user's current scene requirements.
[0159] For example, if it is determined based on usage information and behavior information that the user is currently in a resting state, an office scene, or other scenes that require a quiet environment, it is not desirable to enable the dynamic effects corresponding to the lights to avoid the dynamic effects affecting the user's normal experience. However, dynamic effects can be enabled in other scenes.
[0160] It's important to note that vehicle speed is used to determine whether the vehicle is stationary or in motion, while application information is used to identify the specific application the user is using. In one example, entertainment dynamic effects, such as high-frequency flashing, are automatically disabled while the vehicle is in motion, leaving only basic lighting or safety warning effects. Dynamic effects are also disabled based on application information (such as navigation and phone calls), such as flashing lights during a call, to reduce visual distraction.
[0161] The embodiments of the present application flexibly control dynamic effects (such as breathing lights and flowing lights) to adapt to different scenarios (camping, meetings, driving), providing a more natural spatial lighting experience. Furthermore, the on / off switching of dynamic effects and target lights is decoupled from each other in the control logic, eliminating the need for global lighting on / off. This not only improves control flexibility but also prevents long-term high-load operation of the lights (such as intermittent activation of breathing effects), extending the life of the lights. Furthermore, dynamic effects are only enabled in appropriate scenarios (such as entertainment mode) and remain static or off at all other times, reducing unnecessary energy consumption.
[0162] In one embodiment of the present application, after controlling the target light according to the target brightness and target color corresponding to the target light, the method further includes:
[0163] Acquire functional attributes; the functional attributes are used to characterize the functional services provided by the light to the user;
[0164] determining a target functional attribute from among the functional attributes according to the target state information;
[0165] Determine the light having the target functional attribute as the functional light;
[0166] Determine the switch status corresponding to the functional light;
[0167] When the switch state corresponding to the functional light is in the closed state, the switch state corresponding to the functional light is adjusted to the open state.
[0168] In the embodiment of the present application, in addition to determining the target lights, it is also necessary to correspond to special requirements for the functional attributes of the lights based on the user's behavior information and vehicle environment information. That is, it is necessary to analyze the target state information obtained above to determine whether the current scene requires certain target functional attributes, and then control the lights with the target functional attributes to be turned on.
[0169] Specifically, the functional attributes of all lights are recorded in the lighting database. Therefore, the functional attributes that can be achieved by the lights in the vehicle are first obtained, and then the target functional attributes can be determined in the functional attributes based on the target state information. Then, the lights with the target functional attributes are quickly indexed in the lighting database, and the lights are determined as functional lights. If the functional lights are in the off state, at this time, the vehicle's lighting control system will directly control the functional lights to turn them on.
[0170] It should be noted that the functional attributes in the embodiments of the present application refer to the specific functional services that the light can provide to the user. It can be simply understood as whether the light has functional attributes, that is, the on / off state of the light will affect the user's normal use. For example, the on / off state of the reading light (with functional attributes) will affect the user's reading experience, while the on / off state of the decorative atmosphere light (without functional attributes) will not affect the user's use.
[0171] For example, based on the analysis of the target status information, it is found that the user is working on a laptop in the car at night, and the reading light (functional light) in the vehicle is not turned on. At this time, even if the user does not turn on the reading light, the lighting control system will automatically turn on the reading light for the user based on the analysis of the scene.
[0172] The embodiment of the present application obtains scene intelligent responses to corresponding functional lights in different scenes through target state information analysis, and the determination logic and control logic between the functional lights and the target lights are also decoupled from each other. The activation of the functional lights does not affect the normal use of the target lights, thereby improving the flexibility of lighting control, reducing the user's operating steps, and saving the user the trouble of manual switches, further improving the user's lighting experience.
[0173] In one embodiment of the present application, after controlling the target light according to the target brightness and target color corresponding to the target light, the method further includes:
[0174] Determining the lights other than the target lights and the functional lights as regular lights;
[0175] Determining the switch state corresponding to the conventional light and whether the conventional light has the functional attributes;
[0176] When the switch state corresponding to the conventional light is on and the conventional light has functional attributes, the switch state corresponding to the conventional light is maintained as on;
[0177] When the switch state corresponding to the conventional light is on and the conventional light does not have any functional attributes, the switch state corresponding to the conventional light is adjusted to be off.
[0178] In this embodiment of the present application, in addition to the target lights and functional lights that already require control, further control determination is required for other vehicle lights. First, the on / off status and functional attributes of the vehicle's regular lights, other than the target lights and functional lights, must be determined to ensure that subsequent control logic makes decisions based on accurate information. Specifically, by checking the on / off status of the lights, the lighting control system can determine whether the regular lights are enabled. Using the lighting database, the lighting control system can quickly determine whether the regular lights possess functional attributes, allowing it to determine whether the user is accessing the relevant functional services through the regular lights.
[0179] If a light is already turned on and has functional attributes (such as a reading light), it means that the user is actively using the specific functional service provided by the light, that is, the light is necessary for the user. At this time, the lighting control system should keep it turned on to ensure functional continuity and meet user needs. For example, if the user in the above analysis is camping at night, but the user suddenly wants to use a reading light for work at night, so he turns on the reading light on his own. At this time, the lighting control system will keep the reading light turned on to provide continuous lighting support, and will not directly turn off the reading light because it is not a target light or functional light, which will affect the user's normal experience.
[0180] If a light is turned on but does not have functional attributes (such as decorative ambient lighting), it means that the user only needs its decorative effect temporarily. When the lighting control system has achieved the core lighting required for the current scene through target lighting control, these lights that are not used to achieve specific functional tasks are no longer necessary. At this time, the lighting control system should turn off the lights to save energy and avoid unnecessary interference. For example, if the user is driving a vehicle during the day and does not need the ambient lighting to create a specific atmosphere, the lighting control system will automatically turn off these lights to optimize energy efficiency and user experience.
[0181] The embodiments of the present application can intelligently manage the on / off status of various lights inside the vehicle, ensuring that conventional lights remain on when needed and turned off when not needed, thereby achieving efficient energy utilization and optimizing user experience. It not only improves the flexibility and practicality of vehicle lighting control, but also enhances the user experience.
[0182] like Figure 2 As shown, the lighting database provided by the embodiment of the present application includes the location information, functional attributes, lighting type and dynamic effects of each light. Through the acquired image information (scene image / target image), the lighting database can quickly determine which type of light to use based on the location information, functional attributes, characteristic information and dynamic effects of the light to adapt to the user's current scene and create a better spatial atmosphere effect.
[0183] In one embodiment of the present application, the user's location information in the vehicle can also be obtained to further determine the brightness of the lights. Specifically, the user's specific location can be sensed by an in-vehicle camera or a pressure sensor on the seat, and the user's location information can be incorporated into the spatial model of the vehicle interior.
[0184] The user's location and behavior also influence the layout of the vehicle's interior lighting, primarily in terms of the relationship between light and dark. Since the target image's light and dark information has already been analyzed in the previous steps, the user's location information is now incorporated, and the relationship between light brightness is reflected in the spatial model of the vehicle's interior.
[0185] For example, when a user is reading in the middle seat of the back row, in addition to the lighting function of the reading light (functional light), the light gradually darkens from near to far, centered on the user's position, creating a sense of depth and making the vehicle space atmosphere better.
[0186] The embodiment of the present application introduces the user's location information and adds the user's location information to the space model, thereby achieving a better light and dark relationship and creating a sense of spatial atmosphere.
[0187] The embodiment of the present application obtains user behavior information and vehicle environment information, analyzes the current user's behavior status, searches for multiple scene images matching the current behavior in the image library through a large model, analyzes the composition characteristics of the scene images, divides them into multiple target images, and builds a corresponding spatial lighting model inside the vehicle, making full use of the effect experience brought by different lights, making the lighting effect inside the vehicle more natural, three-dimensional and rich. Compared with the limitations of traditional methods that cannot respond to user behavior and environmental changes in real time, the embodiment of the present application realizes more intelligent and dynamic vehicle lighting control.
[0188] It should be noted that for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the order of the actions described, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.
[0189] Based on the above embodiment, this embodiment further provides a vehicle light control device, which is applied to electronic devices such as terminal devices and servers.
[0190] Reference Figure 3 , shows a structural block diagram of an embodiment of a vehicle light control device of the present application, which may specifically include the following modules:
[0191] The information acquisition module 301 is used to acquire the user's behavior information and vehicle environment information in the vehicle; the vehicle has lights;
[0192] A target image module 302 is configured to determine a target image for describing the scene in which the user is currently located based on the behavior information and the vehicle environment information;
[0193] The first determination module 303 is used to determine the brightness information, color information and image information corresponding to the target image; the image information is used to represent the image effect corresponding to the scene in the target image;
[0194] a target light module 304 for determining target lights in the vehicle lights according to the brightness and darkness information and image information corresponding to the target image;
[0195] The second determining module 305 is configured to determine the target brightness and target color corresponding to the target light according to the brightness and color information corresponding to the target image;
[0196] The control module 306 is configured to control the target light according to the target brightness and target color corresponding to the target light.
[0197] An embodiment of the present application further provides a non-volatile readable storage medium, which stores one or more modules (programs). When the one or more modules are applied to a device, the device can execute instructions (instructions) of each method step in the embodiment of the present application.
[0198] The present application provides one or more machine-readable media having instructions stored thereon, which, when executed by one or more processors, cause an electronic device to perform one or more of the methods described in the above embodiments. In the present application, the electronic device includes various types of devices such as terminal devices and servers (clusters).
[0199] The embodiments of the present disclosure may be implemented as a device configured as desired using any appropriate hardware, firmware, software, or any combination thereof, and the device may include electronic devices such as terminal devices and servers (clusters). Figure 4 An exemplary apparatus 400 that may be used to implement various embodiments described herein is schematically illustrated.
[0200] For one embodiment, Figure 4An exemplary apparatus 400 is shown having one or more processors 402, a control module (chip set) 404 coupled to at least one of the processor(s) 402, a memory 406 coupled to the control module 404, a non-volatile memory (NVM) / storage device 408 coupled to the control module 404, one or more input / output devices 410 coupled to the control module 404, and a network interface 412 coupled to the control module 404.
[0201] The processor 402 may include one or more single-core or multi-core processors, and the processor 402 may include any combination of general-purpose processors or dedicated processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, the apparatus 400 can serve as a terminal device, server (cluster), or other device described in the embodiments of the present application.
[0202] In some embodiments, the apparatus 400 may include one or more computer-readable media (e.g., memory 406 or NVM / storage 408) having instructions 414 and one or more processors 402 configured in conjunction with the one or more computer-readable media to execute the instructions 414 to implement a module to perform the actions described in the present disclosure.
[0203] For one embodiment, control module 404 may include any suitable interface controller to provide any suitable interface to at least one of processor(s) 402 and / or any suitable device or component in communication with control module 404 .
[0204] The control module 404 may include a memory controller module to provide an interface to the memory 406. The memory controller module may be a hardware module, a software module, and / or a firmware module.
[0205] The memory 406 can be used, for example, to load and store data and / or instructions 414 for the device 400. For one embodiment, the memory 406 can include any suitable volatile memory, such as a suitable DRAM. In some embodiments, the memory 406 can include double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
[0206] For one embodiment, the control module 404 may include one or more input / output controllers to provide interfaces to the NVM / storage device 408 and the input / output device(s) 410 .
[0207] For example, NVM / storage 408 may be used to store data and / or instructions 414. NVM / storage 408 may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable non-volatile storage device(s) (e.g., one or more hard disk drives (HDDs), one or more compact disk (CD) drives, and / or one or more digital versatile disk (DVD) drives).
[0208] NVM / storage device 408 may include storage resources that are physically part of the device on which apparatus 400 is installed, or it may be accessible to the device without being part of the device. For example, NVM / storage device 408 may be accessible over a network via input / output device(s) 410.
[0209] (One or more) input / output devices 410 may provide an interface for apparatus 400 to communicate with any other appropriate devices. Input / output devices 410 may include communication components, audio components, sensor components, etc. Network interface 412 may provide an interface for apparatus 400 to communicate via one or more networks. Apparatus 400 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and / or protocols, for example, accessing a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, etc., or a combination thereof for wireless communication.
[0210] For one embodiment, at least one of the processor(s) 402 may be packaged together with the logic of one or more controllers (e.g., a memory controller module) of the control module 404. For one embodiment, at least one of the processor(s) 402 may be packaged together with the logic of one or more controllers of the control module 404 to form a system-in-package (SiP). For one embodiment, at least one of the processor(s) 402 may be integrated on the same die with the logic of one or more controllers of the control module 404. For one embodiment, at least one of the processor(s) 402 may be integrated on the same die with the logic of one or more controllers of the control module 404 to form a system-on-chip (SoC).
[0211] In various embodiments, apparatus 400 may be, but is not limited to, a terminal device such as a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet computer, a netbook, etc.). In various embodiments, apparatus 400 may have more or fewer components and / or a different architecture. For example, in some embodiments, apparatus 400 includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touchscreen display), a non-volatile memory port, multiple antennas, a graphics chip, an application-specific integrated circuit (ASIC), and a speaker.
[0212] Among them, the main control chip can be used as a processor or control module in the detection device, sensor data, location information, etc. are stored in the memory or NVM / storage device, the sensor group can be used as an input / output device, and the communication interface may include a network interface.
[0213] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0214] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0215] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable vehicle light control terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable vehicle light control terminal device generate instructions for implementing the process Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0216] These computer program instructions can also be stored in a computer readable memory that can guide a computer or other programmable vehicle light control terminal device to work in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0217] These computer program instructions can also be loaded onto a computer or other programmable vehicle light control terminal device, so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0218] Although preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they become aware of the basic inventive concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0219] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or terminal device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.
[0220] The above is a detailed introduction to a vehicle lighting control method and device, an electronic device and a storage medium provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for those skilled in the art, according to the idea of the present application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present application.
Claims
1. A method for controlling vehicle lights, characterized in that: The method comprises: Obtaining user behavior information and vehicle environment information in a vehicle; the vehicle has lights; Determining a target image for describing a scene currently located by the user based on the behavior information and the vehicle environment information; Determining the brightness and darkness information, color information, and image information corresponding to the target image; the image information is used to characterize the image effect corresponding to the scene in the target image; determining target lights among the lights of the vehicle based on the brightness and darkness information and imagery information corresponding to the target image; Determining target brightness and target color corresponding to the target light according to the brightness and color information corresponding to the target image; The target light is controlled according to the target brightness and target color corresponding to the target light.
2. The method according to claim 1, characterized in that The obtaining of the user's behavior information and vehicle environment information in the vehicle includes: Acquiring an image of the interior of the vehicle through a camera inside the vehicle; Acquiring an image of the exterior of the vehicle through a camera outside the vehicle; Acquiring the sound inside the vehicle through a microphone inside the vehicle; Analyzing the vehicle interior image and the vehicle interior sound to obtain the behavior information and vehicle interior environment information; Analyzing the vehicle exterior image to obtain vehicle exterior environment information; The vehicle interior environment information and the vehicle exterior environment information are used as the vehicle environment information.
3. The method according to claim 1, characterized in that The determining, based on the behavior information and the vehicle environment information, a target image for describing a scene in which the user is currently located, includes: generating state information describing the user's current state of behavior based on the behavior information and the vehicle environment information; the state information including scene information related to the interior of the vehicle; Filtering the scene information from the state information to obtain target state information; Perform scene association conversion according to the target state information to obtain the target scene currently located by the user; Determining a scene image that matches the target scene in an image library; Analyzing the scene image to obtain a composition structure corresponding to the scene image; The scene image is divided into a plurality of target images according to a composition structure corresponding to the scene image.
4. The method according to claim 3, characterized in that The brightness information is used to characterize the brightness distribution of the target image, the light has a corresponding light type, and determining the target light in the vehicle lights according to the brightness information and image information corresponding to the target image includes: Dividing the vehicle into a plurality of control areas according to a composition structure corresponding to the scene image; the control areas correspond to the target image; Determining the lights to be controlled that need to be turned on in the control area according to the brightness and darkness information; determining a target light type corresponding to the image information; If there is a matching light of the same type as the target light among the lights to be controlled, the matching light is determined as the target light; If there is no matching light of the same light type as the target light among the lights to be controlled, the light to be controlled is determined as the target light.
5. The method according to claim 3, characterized in that After controlling the target light according to the target brightness and target color corresponding to the target light, the method further includes: Determining whether the target light has a dynamic effect; If the target light has the dynamic effect, obtaining usage information of the vehicle; Determining an activation state corresponding to the dynamic effect according to the behavior information and the usage information; The dynamic effect of the target light is controlled according to the enabled state.
6. The method according to claim 5, characterized in that After controlling the target light according to the target brightness and target color corresponding to the target light, the method further includes: Acquire functional attributes; the functional attributes are used to characterize the functional services provided by the light to the user; determining a target functional attribute from among the functional attributes according to the target state information; Determine the light having the target functional attribute as the functional light; Determine the switch status corresponding to the functional light; When the switch state corresponding to the functional light is in the closed state, the switch state corresponding to the functional light is adjusted to the open state.
7. The method according to claim 6, characterized in that After controlling the target light according to the target brightness and target color corresponding to the target light, the method further includes: Determining the lights other than the target lights and the functional lights as regular lights; Determining the switch state corresponding to the conventional light and whether the conventional light has the functional attributes; When the switch state corresponding to the conventional light is on and the conventional light has functional attributes, the switch state corresponding to the conventional light is maintained as on; When the switch state corresponding to the conventional light is on and the conventional light does not have any functional attributes, the switch state corresponding to the conventional light is adjusted to be off.
8. A vehicle lighting control device, characterized in that: The device comprises: An information acquisition module is used to acquire user behavior information and vehicle environment information in a vehicle; the vehicle has lights; a target image module, configured to determine a target image for describing a scene in which the user is currently located based on the behavior information and the vehicle environment information; A first determining module is configured to determine the brightness and darkness information, color information, and image information corresponding to the target image; the image information is used to characterize the image effect corresponding to the scene in the target image; a target light module, configured to determine a target light in the vehicle's lights based on brightness and darkness information and imagery information corresponding to the target image; A second determination module is configured to determine a target brightness and a target color corresponding to the target light according to the brightness and color information corresponding to the target image; The control module is used to control the target light according to the target brightness and target color corresponding to the target light.
9. An electronic device, characterized in that: include: processor; and A memory having executable codes stored thereon, which, when executed, causes the processor to execute the vehicle light control method according to any one of claims 1 to 7.
10. One or more machine-readable media having executable codes stored thereon, which, when executed, enable a processor to execute the vehicle light control method according to any one of claims 1 to 7.
Citation Information
Cited By
Method for controlling a lighting device in a vehicle, vehicle and medium
CN121368051A