Vehicle control method and device, vehicle and storage medium
By detecting the decorations on the glass inside the car window and dynamically adjusting the color or transparency of the window window glass, the problem of the decorations interfering with the sight of drivers and other traffic participants is solved, and the effect of improving driving safety is achieved.
Patent Information
- Application Number
- CN202510296386.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2025-05-23
AI Technical Summary
Car window decorations may hinder the driver's sight and the attention of other traffic participants, increase the risk of traffic accidents, and pose safety risks.
By detecting whether there are decorations on the inside of the window, obtaining characteristic information of the decorations, and determining adjustment strategies based on this information, dynamically adjusting the color or transparency of the window glass to eliminate visual interference.
It effectively reduces the probability of traffic accidents, ensures the driving safety of the vehicle, and improves the user experience without affecting personalized decoration.
Smart Images

Figure CN120024293A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicles, and more specifically, to a vehicle control method, a device, a vehicle and a storage medium in the field of vehicles. Background Art
[0002] With the increasing number of private cars, more and more car owners tend to post creative films or draw decorations on their car windows to show their personality.
[0003] Although these decorations can add an element of personalization, they may also obstruct the driver's vision and distract other traffic participants, thereby increasing the risk of traffic accidents and posing a huge safety hazard. Summary of the invention
[0004] The present application provides a vehicle control method, device, vehicle and storage medium. The method can determine an adjustment strategy for the vehicle window glass when the presence of decorations is detected on the inner glass of the vehicle window, thereby dynamically adjusting the vehicle window glass according to the adjustment strategy to eliminate the visual interference of the decorations to other traffic participants and ensure driving safety.
[0005] In a first aspect, a vehicle control method is provided, the method comprising: when the vehicle is powered on, detecting whether there are decorations on the inner glass of the vehicle window; when it is determined that there are decorations on the inner glass of the vehicle window, acquiring characteristic information corresponding to the decorations; based on the characteristic information, determining an adjustment strategy for the vehicle window glass with the decorations; and adjusting the vehicle window glass according to the adjustment strategy.
[0006] The above technical solution can detect whether there are decorations on the inner glass of the vehicle window when the vehicle is powered on. Since the decorations on the inner glass of the vehicle window may distract the attention of other traffic participants, when it is determined that there are decorations on the inner glass of the vehicle window, the characteristic information corresponding to the decorations can be obtained, and the adjustment strategy for the vehicle window glass with the decorations can be determined based on the characteristic information corresponding to the decorations. By determining the adjustment strategy for the vehicle window glass and adjusting the vehicle window glass according to the adjustment strategy, it is possible to avoid the decorations on the inner glass of the vehicle window distracting the attention of other traffic participants on the road, which can effectively reduce the probability of traffic accidents and ensure the driving safety of the vehicle.
[0007] In combination with the first aspect, in certain implementations of the first aspect, the characteristic information includes the decoration position and the decoration content, and based on the characteristic information, an adjustment strategy for the vehicle window glass with decorations is determined, including: if the decoration position is the inner window glass in the main driving area of the vehicle, a first warning message is displayed; wherein the first warning message is used to inform the user that it is prohibited to use the decoration to decorate the vehicle window glass; if the decoration position is the inner window glass in the non-main driving area of the vehicle, the external environment information of the vehicle is obtained, and based on the decoration content and the external environment information, an adjustment strategy for the vehicle window glass with decorations is determined.
[0008] In the above technical solution, when the decorative position of the decoration is the inner glass of the window in the main driving area of the vehicle, the first warning message is directly displayed to inform the user that it is forbidden to use the decoration to decorate the window glass. Since the inner glass of the window in the main driving area is directly related to the driver's field of vision, the presence of decorations may block the driver's line of sight, distract the driver's attention, and increase the risk of traffic accidents. In this way, the potential threat to driving safety caused by decorations in key positions can be effectively avoided, and the driver's clear field of vision and driving safety are guaranteed from the source. When the decorative position of the decoration is the window glass in the non-main driving area of the vehicle, the adjustment strategy for the window glass with decorations can be determined based on the content of the decoration and the external environment information, which can allow users to retain certain personalized decorations under the premise of ensuring safety, thereby improving user satisfaction with the use of the vehicle.
[0009] In combination with the first aspect and the above-mentioned implementation methods, in certain implementation methods of the first aspect, an adjustment strategy for the vehicle window glass with decorations is determined based on the content of the decoration and the external environment information, including: if the content of the decoration is a dynamic object, then the adjustment strategy for the vehicle window glass with decorations is determined as: adjusting the color of the vehicle window glass to a first target color or blurring the vehicle window glass; wherein the first target color is a color with a grayscale value less than or equal to a preset grayscale value; if the content of the decoration is a static object, then the adjustment strategy for the vehicle window glass with decorations is determined according to the external environment information.
[0010] In the above technical solution, when the decoration is a dynamic object, the color of the window glass is adjusted to the first target color with a smaller gray value or the window glass is blurred, which can cover the decoration on the window glass or reduce the visibility of the decoration, reduce the possibility of other traffic participants being distracted by the decoration, and ensure driving safety. When the decoration is a static object, a specific adjustment strategy for the window glass can be determined based on the external environment information, rather than directly covering the decoration on the window glass, which can retain the user's personalized decoration as much as possible and improve the user's car experience.
[0011] In combination with the first aspect and the above-mentioned implementation methods, in certain implementation methods of the first aspect, if the content of the decoration is a dynamic object, the method also includes: displaying a second warning message; wherein the second warning message is used to prompt the user to prohibit the use of the decoration to decorate the vehicle window glass.
[0012] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, the external environment information includes light intensity and surrounding condition information, and an adjustment strategy for the vehicle window glass with decorations is determined based on the external environment information, including: if the surrounding condition information indicates that the vehicle is in an empty area with no people, then the adjustment strategy for the vehicle window glass with decorations is determined to be: keep the vehicle window glass in a current state; if the surrounding condition information indicates that the vehicle is in a densely populated area, then the adjustment strategy for the vehicle window glass with decorations is determined based on the light intensity.
[0013] In the above technical solution, when the surrounding condition information indicates that the vehicle is in an empty area with no people, it means that the decorations on the window glass have a relatively small impact on traffic safety, so the window glass can be temporarily not adjusted, and the window glass can be kept in the current state, which can avoid unnecessary adjustments to the window glass when no adjustment is needed, and can save the vehicle's energy consumption. When the surrounding condition information indicates that the vehicle is in a densely populated area, it means that there are many pedestrians and vehicles around the vehicle, and the decorations on the window glass may have an impact on other traffic participants on the road. The decorations on the window glass have a relatively large impact on traffic safety, so the adjustment strategy for the window glass can be further determined according to the light intensity to reduce the impact of the decorations on the window glass on other traffic participants and ensure driving safety.
[0014] In combination with the first aspect and the above-mentioned implementation methods, in certain implementation methods of the first aspect, an adjustment strategy for the vehicle window glass with decorations is determined based on the light intensity, including: if the light intensity is less than a preset intensity threshold, then the adjustment strategy for the vehicle window glass with decorations is determined to be: adjusting the color of the vehicle window glass to the first target color or blurring the vehicle window glass; if the light intensity is greater than or equal to the preset intensity threshold, then the adjustment strategy for the vehicle window glass with decorations is determined to be: adjusting the color of the vehicle window glass to a second target color; wherein the grayscale value of the second target color is greater than the grayscale value of the first target color.
[0015] In the above technical solution, when the light intensity is detected to be less than the preset intensity threshold, it means that the current ambient light is dim, and other traffic participants on the road may more easily misunderstand the decorations on the window glass as real objects. At this time, the color of the window glass is adjusted to the first target color with a lower gray value or the window glass is blurred, which can cover the decorations on the window glass or reduce the visibility of the decorations, reduce the possibility of other traffic participants being distracted by the decorations, and ensure driving safety. When the light intensity is detected to be greater than or equal to the preset intensity threshold, it means that the current ambient light is strong, and other traffic participants on the road can usually see the decorations on the window glass clearly, and may not misunderstand the decorations on the window glass as real objects. At this time, the color of the window glass is adjusted to the second target color with a gray value higher than the first target color, which can reduce the possibility of other traffic participants being distracted by the decorations to a certain extent, and there is no need to adjust the window glass to the maximum extent, avoiding some unnecessary energy consumption and reducing the energy consumption of the vehicle.
[0016] In combination with the first aspect and the above-mentioned implementation methods, in certain implementation methods of the first aspect, after adjusting the vehicle window glass according to the adjustment strategy, the method also includes: in the event that the vehicle encounters an emergency, restoring the state of the vehicle window glass to an initial state; wherein the initial state is the default state of the vehicle window glass when the vehicle leaves the factory.
[0017] The above technical solution restores the window glass to its initial state (the default state at the factory) when the vehicle encounters an emergency, which can ensure that the driver has the best viewing conditions and allows the driver to clearly see the road, other vehicles and pedestrians, etc., so as to make accurate judgments and responses in a timely manner and ensure driving safety to the greatest extent.
[0018] In a second aspect, a vehicle control device is provided, which includes: a detection module for detecting whether there are decorations on the inner glass of the vehicle window when the vehicle is powered on; an acquisition module for acquiring characteristic information corresponding to the decoration when it is determined that there are decorations on the inner glass of the vehicle window; a determination module for determining an adjustment strategy for the vehicle window glass with decorations based on the characteristic information; and an adjustment module for adjusting the vehicle window glass according to the adjustment strategy.
[0019] In combination with the second aspect, in certain implementations of the second aspect, the characteristic information includes the decoration position and the decoration content, and the determination module is specifically used to: if the decoration position is the inner window glass in the main driving area of the vehicle, then display a first warning message; wherein the first warning message is used to inform the user that it is prohibited to use the decoration to decorate the window glass; if the decoration position is the inner window glass in the non-main driving area of the vehicle, then obtain the external environment information of the vehicle, and based on the decoration content and the external environment information, determine the adjustment strategy for the window glass with decorations.
[0020] In combination with the second aspect and the above-mentioned implementation methods, in certain implementation methods of the second aspect, the determination module is also specifically used to: if the content of the decoration is a dynamic object, then determine the adjustment strategy for the vehicle window glass with the decoration as: adjust the color of the vehicle window glass to a first target color or blur the vehicle window glass; wherein the first target color is a color with a grayscale value less than or equal to a preset grayscale value; if the content of the decoration is a static object, then determine the adjustment strategy for the vehicle window glass with the decoration based on the external environment information.
[0021] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, if the content of the decoration is a dynamic object, the device also includes a display module, which is specifically used to: display a second warning message; wherein the second warning message is used to prompt the user not to use the decoration to decorate the vehicle window glass.
[0022] In combination with the second aspect and the above-mentioned implementation methods, in certain implementation methods of the second aspect, the external environment information includes light intensity and surrounding condition information, and the determination module is also specifically used to: if the surrounding condition information indicates that the vehicle is in an empty area with no people, then determine the adjustment strategy for the window glass with decorations as: keep the window glass in the current state; if the surrounding condition information indicates that the vehicle is in a densely populated area, then determine the adjustment strategy for the window glass with decorations based on the light intensity.
[0023] In combination with the second aspect and the above-mentioned implementation methods, in certain implementation methods of the second aspect, the determination module is also specifically used to: if the light intensity is less than a preset intensity threshold, determine that the adjustment strategy for the vehicle window glass with decorations is: adjust the color of the vehicle window glass to the first target color or blur the vehicle window glass; if the light intensity is greater than or equal to the preset intensity threshold, determine that the adjustment strategy for the vehicle window glass with decorations is: adjust the color of the vehicle window glass to the second target color; wherein the grayscale value of the second target color is greater than the grayscale value of the first target color.
[0024] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the device also includes a recovery module, which is specifically used to: when the vehicle encounters an emergency, restore the state of the window glass to an initial state; wherein the initial state is the default state of the window glass when the vehicle leaves the factory.
[0025] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the vehicle control method in the first aspect and any possible implementation of the first aspect.
[0026] In a fourth aspect, a computer program product is provided, which includes: a computer program code, when the computer program code is run on a computer, the computer executes the vehicle control method in the above-mentioned first aspect and any possible implementation of the first aspect.
[0027] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the vehicle control method in the above-mentioned first aspect and any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 This is a schematic diagram of a scene in which a decoration is present on a vehicle window glass provided in an embodiment of the present application;
[0029] Figure 2 is a schematic flow chart of a vehicle control method provided in an embodiment of the present application;
[0030] Figure 3 is a structural schematic diagram of a vehicle control system provided in an embodiment of the present application;
[0031] Figure 4 is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application;
[0032] Figure 5 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0034] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0035] With the increasing number of private cars, more and more car owners tend to post creative films or draw decorations on their car windows to show their personality.
[0036] For example, some users will post different types of stickers on the windows of their vehicles, such as running animals, jumping people, fruits, landscapes, etc. Figure 1 As shown, the user posts "forest" related stickers on the inner glass of the car window.
[0037] Although these decorations can add an element of personalization, they may also obstruct the driver's vision and distract other traffic participants, thereby increasing the risk of traffic accidents and posing a huge safety hazard.
[0038] In order to prevent the decorations on the car window glass from affecting traffic safety, when the user posts or draws decorations on the car window glass, a warning message can be issued in time to guide the user not to post or draw decorations on the car window glass. In addition, for some vehicles equipped with color-changing glass, the embodiment of the present application can also appropriately adjust the car window glass to weaken the impact of the decorations on the car window glass on traffic safety.
[0039] In order to solve the above technical problems, the embodiment of the present application provides a vehicle control method, the execution subject of the method is a vehicle with color-changing glass, specifically a controller in the vehicle. When the method detects the presence of decorations on the inner glass of the vehicle window, it can determine an adjustment strategy for the vehicle window glass, and dynamically adjust the vehicle window glass according to the adjustment strategy to eliminate visual interference and ensure driving safety.
[0040] Figure 2 It is a schematic flow chart of a vehicle control method provided in an embodiment of the present application.
[0041] For example, Figure 2 As shown, the method is applied to a vehicle with tinted glass, and the method 200 includes:
[0042] S201, when the vehicle is powered on, detecting whether there is a decoration on the inner glass of the vehicle window;
[0043] S202, when it is determined that there is a decoration on the inner glass of the vehicle window, acquiring feature information corresponding to the decoration;
[0044] S203, determining an adjustment strategy for the vehicle window glass with decorations based on the feature information;
[0045] S204: Adjust the vehicle window glass according to the adjustment strategy.
[0046] In the embodiment of the present application, when the vehicle is powered on, it is possible to detect whether there are decorations on the inner glass of the vehicle window. Since the decorations on the inner glass of the vehicle window may distract the attention of other traffic participants, when it is determined that there are decorations on the inner glass of the vehicle window, feature information corresponding to the decorations can be obtained, and based on the feature information corresponding to the decorations, an adjustment strategy for the vehicle window glass with the decorations can be determined. By determining an adjustment strategy for the vehicle window glass and adjusting the vehicle window glass according to the adjustment strategy, it is possible to avoid the decorations on the vehicle window glass distracting the attention of other traffic participants on the road, effectively reduce the probability of traffic accidents, and ensure the driving safety of the vehicle.
[0047] based on Figure 2 The method shown in the embodiment of the present application can also provide a vehicle control system, such as Figure 3 As shown, the system 300 may include a camera 301, an image processor 302, a central processing unit (CPU) 303, a color-changing glass controller 304, a color-changing glass 305, and a screen 306. The camera 301 may be connected to the image processor 302, the color-changing glass controller 304 may be connected to the color-changing glass 305, and the CPU 303 may be connected to the image processor 302, the color-changing glass controller 304, and the screen 306, respectively.
[0048] The camera 301 may include a camera installed inside the vehicle and a camera installed outside the vehicle. The camera installed inside the vehicle is used to capture the vehicle window conditions in real time and take images related to the window glass. The camera installed outside the vehicle is used to capture the external environment information of the vehicle in real time.
[0049] The image processor 302 is used to process the image captured by the camera 301, specifically to execute an image recognition algorithm on the captured image, determine whether there are decorations on the inner glass of the vehicle window, and identify the type of decorations on the vehicle window glass and the location of the decorations.
[0050] The CPU 303 is equivalent to the decision logic module in the system 300. The CPU 303 is used to receive the recognition result sent by the image processor 302, and determine whether it is necessary to dim the window glass and how to adjust the window glass according to the recognition result of the image processor 302 and the environmental conditions, that is, to determine the adjustment strategy for the window glass.
[0051] The CPU 303 may also generate warning information according to the recognition result of the image processor 302 , and upload the warning information to the screen 306 .
[0052] The CPU 303 is also used to send a control instruction to the color-changing glass controller 304 according to the determined adjustment strategy.
[0053] The above-mentioned color-changing glass controller 304 is used to receive the control instruction sent by the CPU 303, and control the color-changing glass 305 to change color according to the control instruction sent by the CPU 303, thereby realizing the dimming function.
[0054] The above-mentioned color-changing glass 305 is also called dimming glass, which is a special glass that can change its own color or transparency. The above-mentioned color-changing glass 305 can change its color or transparency through the control of the color-changing glass controller 304.
[0055] The screen 306 is used to display the warning information sent by the CPU 303 and is also used to display the dimming mode options.
[0056] In the above embodiment, the camera captures the window situation in real time, and uses the image recognition algorithm to identify the image collected by the camera, identify whether there are decorations on the window glass, and determine the type and position of the decorations on the window glass. Then the CPU can determine the specific adjustment strategy for the window glass according to the image recognition results and environmental conditions, and control the color-changing glass to change color according to the adjustment strategy, and dynamically adjust the transparency of the window, thereby eliminating the visual interference of the decorations on the window glass to other traffic participants on the road, ensuring driving safety.
[0057] In some embodiments, when a user uses the adjustment function of the tinted glass in a vehicle for the first time, the function may be initialized.
[0058] Specifically, dimming mode options for photochromic glass (i.e., dimming glass) can be displayed to the user on the vehicle's screen, including two options: manual dimming mode and automatic dimming mode, to guide the user to select a specific dimming mode.
[0059] Among them, the manual dimming mode allows users to instantly adjust the transparency of each window according to personal needs, while the automatic dimming mode can intelligently adjust the transparency based on external light conditions, time and location and other factors to optimize visual comfort and energy efficiency.
[0060] Furthermore, users can also set personal preferences for the adjustment of the photochromic glass, including options such as security priority, privacy protection and energy-saving mode.
[0061] For example, users can choose to enhance privacy during specific time periods or locations, or enable energy-saving mode to reduce unnecessary energy consumption without compromising security.
[0062] In addition, users can be provided with personalized reminder settings, such as sound and visual reminder options, as well as multi-language interface support, to ensure that every user can get the most comfortable user experience.
[0063] After completing the above-mentioned initialization settings for the adjustment function of the photochromic glass, the vehicle system will perform a brief calibration and test to ensure that the adjustment function of the photochromic glass can operate normally and finally save the user's preferred settings.
[0064] Furthermore, in addition to being manually triggered and automatically triggered according to light conditions, the adjustment function of the photochromic glass can also be automatically triggered when decorations are detected on the inner glass of the window.
[0065] For example, when the presence of decorations is detected on the inner glass of the vehicle window, the adjustment function of the photochromic glass can be turned on to appropriately adjust the vehicle window glass, thereby avoiding the decorations on the vehicle window glass from causing visual interference to other traffic participants and ensuring the driving safety of the vehicle.
[0066] Combine the following Figure 3 The system shown is Figure 2 The implementation method of each step in the illustrated embodiment is specifically described.
[0067] For the above S201, it can be understood that the above vehicle being in a powered-on state means that the electrical system of the vehicle has been started and is working normally. When it is determined that the vehicle is in a powered-on state, the condition of the vehicle windows can be monitored in real time.
[0068] Specifically, when the vehicle's power management system detects that the vehicle is in a powered-on state, it can send a signal to the vehicle's controller indicating that the vehicle is in a powered-on state, so that after receiving the signal, the vehicle's controller controls the camera inside the vehicle to start monitoring the condition of the windows in real time.
[0069] For example, the camera inside the vehicle can be installed at a position where the images of each window glass can be clearly captured, such as above each window glass or near the rearview mirror of the vehicle. The embodiment of the present application does not limit the installation position of the camera.
[0070] For example, the above-mentioned decorations may include drawing decorations and sticker decorations. Drawing decorations refer to decorations that users directly draw on the car window glass with a brush; sticker decorations refer to decorations that users post on the car window glass.
[0071] Furthermore, the presence of decorations on the window glass can be detected by a camera inside the vehicle.
[0072] Specifically, the camera can capture the image of the car window glass through the principle of optical imaging to form image data. The image data is then sent to the image processor, which can use the image recognition algorithm to process and analyze the collected image data. The image recognition algorithm will identify and extract various features in the image, such as color, shape, texture, etc. Since some features of the decorations are usually different from those of the car window glass, such as the color and pattern of the decorations are often significantly different from the transparent car window glass, the image recognition algorithm can identify these areas that are different from the background of the car window glass, thereby determining whether there are decorations on the car window glass.
[0073] For example, if the camera inside the vehicle collects a window image A after operation, the window image A can be transmitted to the image processor, which analyzes and processes the window image A to identify various features in the window image A. Since the window glass itself is transparent, it presents specific grayscale values and texture features in the image. If the image processor detects that the features in the window image A are significantly different from the features of the window glass, it can be determined that there are decorations on the window glass.
[0074] In some embodiments, it may be further determined whether there is a decoration on the inner glass of the vehicle window or the decoration on the outer glass of the vehicle window.
[0075] If it is determined that there are decorations on the outer glass of the window, the user can be immediately reminded to remove the decorations on the outer glass of the window. If it is determined that there are decorations on the inner glass of the window, the adjustment function of the color-changing glass can be immediately turned on to adjust the color of the window glass with the decorations to black, and a warning message can be displayed to remind the user not to use the decorations to decorate the window glass.
[0076] It is understandable that if decorations are present on the outer glass of the vehicle window, the adjustment function of the photochromic glass cannot be used to weaken the impact of the decorations on other traffic participants, so the user is directly reminded to remove the decorations on the outer glass of the vehicle window.
[0077] If the decorations are on the inner glass of the window, the adjustment function of the photochromic glass can be used to cover the decorations on the window so that the decorations on the window cannot be noticed from the outside, thereby weakening the impact of the decorations on other traffic participants.
[0078] In order to meet the personalized needs of users while ensuring vehicle driving safety, when it is determined that there are decorations on the inner glass of the vehicle window, the image recognition algorithm can be used to continue to identify the relevant features of the decorations to obtain the feature information corresponding to the decorations, and then based on the feature information corresponding to the decorations, determine the adjustment strategy for the vehicle window glass with decorations.
[0079] Regarding the above S202, it can be understood that the characteristic information corresponding to the above decoration may include the decoration position, the decoration content and the decoration size.
[0080] Among them, the above-mentioned decorative positions refer to the specific positions where the decorative objects appear on the various inner glass surfaces of the vehicle, and the decorative positions may include the front windshield, rear windshield, driver's side window glass, passenger side window glass and rear window glass.
[0081] The above-mentioned decoration content refers to the content contained in the decoration, such as whether the decoration is a "dynamic object" or a "static object". "Dynamic objects" usually include those patterns designed to look like they are moving or interacting, such as running animals, jumping people, etc., while "static objects" refer to those patterns without obvious movement elements, such as fruits, landscapes, etc.
[0082] The above-mentioned decoration size refers to the coverage area of the decoration on the vehicle window glass. For example, the coverage area of the decoration on the vehicle window glass is 55 square centimeters.
[0083] Exemplarily, the feature information corresponding to the above-mentioned decorations can be obtained by performing image recognition on the vehicle window image captured by a camera.
[0084] Specifically, template images of each window in the vehicle can be collected in advance, and the window image with decorations collected by the camera can be matched with these template images to determine the template image with the highest matching degree with the window image, thereby determining which window is shown in the image and identifying the window as the decorative position of the decoration.
[0085] The image classification model can be trained in advance, and the content corresponding to the decoration can be determined through the image classification algorithm model. First, a large amount of decoration image data containing various themes (animals, plants, cartoon characters, characters, etc.) can be collected to establish a rich image data set. Each image in the data set is manually labeled to clearly mark the subject category to which it belongs, such as labeling a decoration with a cat pattern as "animal", labeling a decoration with a flower pattern as "plant", etc. Then select a suitable image classification model (such as a convolutional neural network), use the labeled image data set to train the image classification algorithm model, and continuously adjust the parameters of the model during the training process, so that the model's classification accuracy of the image gradually increases. Before recognizing the actual captured decoration image, the image needs to be preprocessed; the preprocessing operation includes adjusting the size of the image to meet the requirements of the model input, and normalizing it to map the pixel value of the image to a certain range. The preprocessed decoration image is input into the trained image classification model, and the model will output the probability value corresponding to each category, and the category with the highest probability value is taken as the subject category of the decoration image. For example, if the model outputs the highest probability of the "animal" category, then the content of the decoration is judged to be "animal".
[0086] In some embodiments, if the window image captured by the camera in the car shows the back of the decoration, an image enhancement algorithm can be used to process the captured image of the back of the decoration to improve the contrast and clarity of the image. It is also possible to predict and repair the possible content of the front of the decoration based on the local information of the back of the decoration and the surrounding image features using deep learning-based image restoration technology. The restored image is then input into the trained image classification model to output the content of the decoration.
[0087] The actual size of the decoration can be calculated by using the proportional relationship in the image based on the camera's shooting size and the relative position of the camera and the car window. For example, if one pixel in the image captured by the camera represents 0.1 cm in reality, the length and width of the decoration can be obtained by calculating the number of pixels occupied by the decoration in the image. For example, if the decoration occupies 50 pixels in length and 30 pixels in width in the image, the actual size of the decoration is 5 cm in length and 3 cm in width, with an area of 15 square centimeters.
[0088] Furthermore, after acquiring the characteristic information corresponding to the decoration, an adjustment strategy for the vehicle window glass with the decoration may be determined.
[0089] As for the above S203 and S204, it can be understood that the above adjustment strategy for the window glass with decorations can be specifically a color adjustment strategy for the window glass. After the adjustment strategy for the window glass is determined, the color-changing glass controller can adjust the window glass according to the adjustment strategy.
[0090] In one possible scenario, there may be some tiny sticker fragments or extremely small decorations on the car window glass. These decorations have little effect on the function and vision of the car window, and there is no need to determine complex adjustment strategies for these decorations.
[0091] In some embodiments, a preset size threshold may be set, and when the size of the decoration is greater than or equal to the preset size threshold, an adjustment strategy for the vehicle window glass is determined.
[0092] Exemplarily, the preset size threshold may be set to 10 square centimeters. If the size of the decoration is 20 square centimeters, indicating that the size of the decoration is larger than the preset size threshold, an adjustment strategy for the vehicle window glass with the decoration may be determined.
[0093] Furthermore, an adjustment strategy for the vehicle window glass with the decoration may be determined based on the decoration position and the decoration content of the decoration.
[0094] In one possible implementation, the characteristic information includes the decoration position and the decoration content, and based on the characteristic information, an adjustment strategy for the vehicle window glass with decorations is determined, including: if the decoration position is the inner window glass in the main driving area of the vehicle, a first warning message is displayed; wherein the first warning message is used to inform the user that it is prohibited to use the decoration to decorate the vehicle window glass; if the decoration position is the inner window glass in the non-main driving area of the vehicle, the external environment information of the vehicle is obtained, and based on the decoration content and the external environment information, an adjustment strategy for the vehicle window glass with decorations is determined.
[0095] It can be understood that the inner glass of the windows in the above-mentioned main driving area includes the inner glass of the front windshield, the inner glass of the main driver's side window and the inner glass of the co-driver's side window (that is, the inner glass of the left front window and the inner glass of the right front window).
[0096] Since the window glass in the main driving area is very important to the driver's vision and driving operation, once the presence of decorations on the window glass is detected and the decorative position of the decorations is the window glass in the main driving area, a warning message can be immediately displayed on the vehicle's screen to inform the user that it is prohibited to use decorations to decorate the window glass in this position, so as to remind the user to remove the decorations to ensure driving safety.
[0097] For example, if decorations are detected on the left front window glass of the vehicle, a first warning message "Do not use decorations to decorate the window glass in this position, please remove them immediately" is displayed on the vehicle's screen, and a voice prompt message "Do not use decorations to decorate the window glass in this position, please remove them immediately" can also be used to prompt the user to remove the decorations.
[0098] Furthermore, in order to ensure driving safety, if the user does not remove the decoration within a preset time after the warning message is displayed, the vehicle can be prohibited from starting. The vehicle can be allowed to start only when it is detected that there is no decoration on the window glass in the main driving area.
[0099] Exemplarily, the above preset duration can be set according to actual needs, for example, it can be set to 30 seconds.
[0100] If the user does not remove the decoration within the preset time after the first warning message is displayed, the controller can restrict the vehicle's starting circuit or related control module, making it impossible for the vehicle to start the engine normally or enter the driving state.
[0101] The inner side glass of the windows in the above-mentioned non-main driving area refers to the inner side glass of the windows other than the inner side glass of the front windshield, the inner side glass of the main driver's side window and the inner side glass of the co-driver's side window, including the inner side glass of the rear windshield and the inner side glass of the rear windows.
[0102] The decorations on the car window glass in the non-main driving area have relatively little direct impact on driving safety, but under different environmental conditions, some decorations may distract the attention of other traffic participants on the road and affect traffic safety.
[0103] Based on this, the external environment information of the vehicle can be obtained, and based on the content of the decoration and the external environment information, the adjustment strategy for the window glass with decorations can be determined.
[0104] In the above method, when the decorative position of the decoration is the inner glass of the window in the main driving area of the vehicle, the first warning message is directly displayed to inform the user that it is forbidden to use decorations to decorate the window glass. Since the window glass in the main driving area is directly related to the driver's field of vision, the presence of decorations may block the driver's line of sight, distract the driver's attention, and increase the risk of traffic accidents. In this way, the potential threat to driving safety caused by decorations in key positions can be effectively avoided, and the driver's clear field of vision and driving safety are guaranteed from the source. When the decorative position of the decoration is the window glass in the non-main driving area of the vehicle, the adjustment strategy for the window glass with decorations can be determined based on the content of the decoration and the external environment information, which can allow users to retain certain personalized decorations while ensuring safety, thereby improving user satisfaction with the use of the vehicle.
[0105] In one possible implementation, based on the content of the decoration and the external environment information, an adjustment strategy for the vehicle window glass with decorations is determined, including: if the content of the decoration is a dynamic object, then the adjustment strategy for the vehicle window glass with decorations is determined as: adjusting the color of the vehicle window glass to a first target color or blurring the vehicle window glass; wherein the first target color is a color with a grayscale value less than or equal to a preset grayscale value; if the content of the decoration is a static object, then according to the external environment information, the adjustment strategy for the vehicle window glass with decorations is determined.
[0106] It is understandable that the above-mentioned dynamic objects refer to objects that are easily misunderstood visually as real objects on the road, such as people, animals, etc. "Dynamic objects" generally include patterns designed to look like they are moving or interacting, such as running animals, jumping people, cartoon characters, etc.
[0107] On the contrary, the above-mentioned static objects refer to those simple, fixed patterns that do not have any hint of movement, such as fruits, landscapes, etc.
[0108] As mentioned above, it is usually possible to determine whether the content of a decoration is a "dynamic object" or a "static object" through multiple layers of analysis using an image recognition algorithm.
[0109] For example, the edge detection algorithm can be used to identify the boundary between the decoration and the window glass first, so as to outline the general outline of the decoration. After obtaining the edge of the decoration, the specific form of the decoration can be determined according to the geometric features of the edge using shape recognition technology. Then, the color analysis of the decoration is performed to understand the main colors contained in the decoration and their distribution, and the texture analysis of the decoration is performed to obtain the texture features of the surface of the decoration. The possible motion state in the decoration can also be analyzed. Through the above analysis, it can be determined whether the decoration has the characteristics of simulating real dynamic objects. If the decoration has the characteristics of simulating real dynamic objects, the content of the decoration is determined to be a "dynamic object"; if the decoration does not have the characteristics of simulating real dynamic objects, the content of the decoration is determined to be a "static object".
[0110] If the decoration is identified as a dynamic object, it means that the decoration is easily misunderstood by other traffic participants as real, which may mislead or distract other traffic participants and affect driving safety.
[0111] Based on this, if the decoration is identified as a dynamic object, the adjustment strategy for the window glass with the decoration can be determined as: adjusting the color of the window glass to the first target color or blurring the window glass.
[0112] It is understandable that, as mentioned above, the vehicle window glass may be a photochromic glass; the first target color may be a darker color, that is, a color with a grayscale value less than or equal to a preset grayscale value (such as black).
[0113] The grayscale value is used to represent the brightness of the color, and usually ranges from 0 to 255. 0 represents pure black, which means no light is reflected and all incident light is absorbed; 255 represents pure white, which means all incident light is reflected. The lower the grayscale value, the darker the color.
[0114] Exemplarily, the preset grayscale value can be set according to actual needs, for example, set to 10.
[0115] Furthermore, if there is a smart dimming film on the car window glass, the car window glass can be blurred. Specifically, the glass image containing the decoration can be captured by a camera, the image can be transmitted to the processor, the image can be divided into small blocks using an image processing algorithm, and each small block can be blurred (similar to the mosaic effect). According to the processed image information, the transparency of different areas of the smart dimming film is controlled, so that the glass surface presents a mosaic blur effect similar to that after the algorithm processing, thereby blurring the content of the decoration.
[0116] Furthermore, if the decoration is identified as a dynamic object, such as an animal or a person, the user may be prompted not to use the decoration to decorate the car window glass, and then the next step may be performed based on the reminder result.
[0117] In a possible implementation, if the decoration is a dynamic object, the method further includes: displaying a second warning message; wherein the second warning message is used to prompt the user to prohibit the use of the decoration to decorate the vehicle window glass.
[0118] It is understandable that the above-mentioned second warning message can be displayed on the screen of the vehicle to remind the user that it is prohibited to use the decoration to decorate the vehicle window glass.
[0119] For example, if it is determined that there are decorations on the car window glass, the content of the decorations can be further identified. If the decoration content is identified as a "person", it means that the decoration content is a dynamic object, and a warning message "Do not use decorations that may affect traffic safety to decorate the car window glass" can be displayed on the vehicle screen. At the same time, the user can also be reminded by voice prompts, such as playing a voice prompt message "Do not use decorations that may affect traffic safety to decorate the car window glass".
[0120] In some embodiments, if the decoration is identified as a dynamic object, a second warning message may be displayed on the screen of the vehicle to remind the user that the decoration is prohibited from being used to decorate the vehicle window glass. After the second warning message is displayed, if the decoration is still detected on the vehicle window glass within a preset time period and the decoration is still a dynamic object, an adjustment strategy for the vehicle window glass is determined and the vehicle window glass is adjusted according to the adjustment strategy.
[0121] Exemplarily, the above preset duration can be set according to actual needs, for example, it can be set to 30 seconds.
[0122] If the decoration is identified as a "person", it means that the decoration is a dynamic object, and a warning message "Do not decorate the window glass with decorations that may affect traffic safety" can be displayed on the vehicle screen. After the warning message is displayed, if the decoration is still detected on the window glass within 30 seconds, and the decoration is still a dynamic object, it means that the reminder to the user is ineffective, and the window glass can be adjusted according to the determined adjustment strategy, such as adjusting the color of the window glass from the initial color to black.
[0123] Furthermore, if the decoration is identified as a static object, it means that the decoration is relatively unlikely to attract the attention of other traffic participants and has little impact on driving safety.
[0124] Based on this, if the decoration content is identified as a static object, the adjustment strategy for the vehicle window glass can be determined according to the external environment information.
[0125] In the above method, when the decoration is a dynamic object, the color of the window glass is adjusted to the first target color with a smaller gray value or the window glass is blurred, which can cover the decoration on the window glass or reduce the visibility of the decoration, reduce the possibility of other traffic participants being distracted by the decoration, and ensure driving safety. When the decoration is a static object, a specific adjustment strategy for the window glass can be determined based on the external environment information, rather than directly covering the decoration on the window glass, which can retain the user's personalized decoration as much as possible and improve the user's car experience.
[0126] In one possible implementation, the external environment information includes light intensity and surrounding condition information. Based on the external environment information, an adjustment strategy for the vehicle window glass with decorations is determined, including: if the surrounding condition information indicates that the vehicle is in an empty area with no people, then the adjustment strategy for the vehicle window glass with decorations is determined to be: keeping the vehicle window glass in a current state; if the surrounding condition information indicates that the vehicle is in a densely populated area, then the adjustment strategy for the vehicle window glass with decorations is determined based on the light intensity.
[0127] It is understandable that the above light intensity reflects the light intensity of the environment in which the vehicle is located, for example, the light intensity is high when the sun is strong on a sunny day, and low on a cloudy day or at night. The above light intensity can be obtained by an ambient light sensor in the vehicle, which detects the current light, converts the light signal into an electrical signal, and then processes and calculates it through circuit processing to obtain the light intensity value of the current environment.
[0128] The above-mentioned surrounding condition information reflects the environmental conditions around the vehicle, and mainly distinguishes whether the vehicle is in an unmanned open area or a densely populated area.
[0129] The above-mentioned surrounding condition information can be obtained by using the camera outside the vehicle. Specifically, the camera can be used to capture and analyze the scene around the vehicle in real time, and the number and density of pedestrians, vehicles, buildings and other objects in the picture can be detected through image recognition algorithms. For example, if there are almost no pedestrians or vehicles in the field of view of the camera, and the buildings are sparse, it can be determined that the vehicle is in an empty area; on the contrary, if there are many pedestrians, dense vehicles and many buildings in the field of view of the camera, it can be determined that the vehicle is in a densely populated area.
[0130] The above-mentioned surrounding condition information can also be obtained through the navigation system and map data. The navigation system usually provides real-time traffic information, including road congestion, traffic flow, etc. If the navigation system shows that the road where the vehicle is located or the surrounding roads have heavy traffic, slow driving, or even congestion, the vehicle is likely to be in a densely populated area; if the navigation system shows that the road is unobstructed and the traffic is light, the vehicle may be in an unmanned open area. At the same time, it can also be combined with the point of interest data on the map, such as the distribution of shopping malls, schools, office buildings, residential areas, etc. If the points of interest around the current location of the vehicle are dense, it means that the population activities in this area are frequent, and it is determined that the vehicle is in a densely populated area; if there are few points of interest around the current location of the vehicle, it is determined that the vehicle is in an unmanned open area.
[0131] Furthermore, if the vehicle is in an empty area, it means that there may be few people or cars around the vehicle, and the decorations on the window glass have relatively little impact on traffic safety. In this case, the window glass can be temporarily kept unchanged, that is, the window glass can be kept in the current state. For example, if the current color of the window glass is the initial color, the color of the window glass can be kept at the initial color.
[0132] On the contrary, if the vehicle is in a densely populated area, it means that there are many pedestrians and vehicles around the vehicle, and the decorations on the window glass may affect other traffic participants on the road. The decorations on the window glass have a relatively large impact on traffic safety, so the color of the window glass needs to be adjusted to reduce the impact on others.
[0133] Under different light intensities, the effects of window decorations on traffic safety are also different. Based on this, if the vehicle is in a densely populated area, the adjustment strategy for the window glass can be determined according to the light intensity.
[0134] In the above method, when the surrounding condition information indicates that the vehicle is in an empty area with no people, it means that the decorations on the window glass have a relatively small impact on traffic safety. In this case, the window glass can be temporarily left unchanged, and the window glass can be kept in the current state. This can avoid unnecessary adjustments to the window glass when no adjustment is needed, and can save the vehicle's energy consumption. When the surrounding condition information indicates that the vehicle is in a densely populated area, it means that there are many pedestrians and vehicles around the vehicle, and the decorations on the window glass may have an impact on other traffic participants on the road. The decorations on the window glass have a relatively large impact on traffic safety. In this case, the adjustment strategy for the window glass can be further determined based on the light intensity to reduce the impact of the decorations on the window glass on other traffic participants and ensure driving safety.
[0135] In one possible implementation, an adjustment strategy for a vehicle window glass with decorations is determined based on the light intensity, including: if the light intensity is less than a preset intensity threshold, the adjustment strategy for the vehicle window glass with decorations is determined to be: adjusting the color of the vehicle window glass to the first target color or blurring the vehicle window glass; if the light intensity is greater than or equal to the preset intensity threshold, the adjustment strategy for the vehicle window glass with decorations is determined to be: adjusting the color of the vehicle window glass to a second target color; wherein the grayscale value of the second target color is greater than the grayscale value of the first target color.
[0136] It can be understood that, as mentioned above, the above light intensity can be obtained by an ambient light sensor in the vehicle.
[0137] Exemplarily, the preset intensity threshold can be set according to actual needs, for example, it can be set to 200 lux (lx).
[0138] When the light intensity is detected to be less than the preset intensity threshold, it means that the current ambient light is dim, and other traffic participants on the road may more easily misunderstand the decorations on the car window glass as real objects. That is, when the light intensity is less than the preset intensity threshold, the decorations on the car window glass are more likely to distract the attention of other traffic participants and have a greater impact on traffic safety. Based on this, the color of the car window glass can be adjusted to the first target color or the car window glass can be blurred.
[0139] It can be understood that, as mentioned above, the first target color may be a darker color, that is, a color whose grayscale value is less than or equal to a preset grayscale value (such as black).
[0140] The above-mentioned blurring of the car window glass may refer to: controlling the transparency of different areas of the smart dimming film on the car window glass, so that the glass surface presents a mosaic blur effect similar to that after algorithm processing, thereby blurring the content of the decoration.
[0141] Furthermore, when it is detected that the light intensity is greater than or equal to the preset intensity threshold, it means that the current ambient light is strong, and other traffic participants on the road can usually see the decorations on the car window glass clearly, and may not misunderstand the decorations on the car window glass as real objects, that is, compared with the case where the light intensity is less than the preset intensity threshold, when the light intensity is greater than or equal to the preset intensity threshold, the decorations on the car window glass have a slightly smaller effect on traffic safety. Based on this, the color of the car window glass can be adjusted to a second target color that is slightly lighter than the first target color.
[0142] It can be understood that the second target color may be a color slightly lighter than the first target color, that is, the grayscale value of the second target color is greater than the grayscale value of the first target color.
[0143] For example, if the first target color is black and the gray value is 0, the second target color may be set to dark gray with a gray value of 20.
[0144] Furthermore, after determining the adjustment strategy for the vehicle window glass, the vehicle window glass with decorations in the vehicle can be adjusted according to the determined adjustment strategy, while the vehicle window glass without decorations in the vehicle is not adjusted.
[0145] For example, if it is determined that there is a decoration on the left rear window of the vehicle, and the decoration is a static object, the external environment information of the vehicle can be obtained. If it is determined that the vehicle is in a densely populated area according to the external environment information, and it is determined that the current light intensity is less than a preset intensity threshold, the adjustment strategy for the window glass can be determined as: adjusting the window color to black. According to this adjustment strategy, the color of the left rear window of the vehicle can be adjusted to black.
[0146] In the above method, when the light intensity is detected to be less than the preset intensity threshold, it means that the current ambient light is dim, and other traffic participants on the road may more easily misunderstand the decorations on the window glass as real objects. At this time, the color of the window glass is adjusted to the first target color with a lower gray value or the window glass is blurred, which can cover the decorations on the window glass or reduce the visibility of the decorations, reduce the possibility of other traffic participants being distracted by the decorations, and ensure driving safety. When the light intensity is detected to be greater than or equal to the preset intensity threshold, it means that the current ambient light is strong, and other traffic participants on the road can usually see the decorations on the window glass clearly, and may not misunderstand the decorations on the window glass as real objects. At this time, the color of the window glass is adjusted to the second target color with a gray value higher than the first target color, which can reduce the possibility of other traffic participants being distracted by the decorations to a certain extent, and there is no need to adjust the window glass to the maximum extent, avoiding some unnecessary energy consumption and reducing the energy consumption of the vehicle.
[0147] In order to further ensure driving safety, if the vehicle encounters some emergency situations after adjusting the window glass, such as triggering emergency braking or collision warning, the state of the window glass can be quickly restored.
[0148] In one possible implementation, after adjusting the vehicle window glass according to the adjustment strategy, the method further includes: in the event that the vehicle encounters an emergency, restoring the state of the vehicle window glass to an initial state; wherein the initial state is the default state of the vehicle window glass when the vehicle leaves the factory.
[0149] It is understood that the above emergency events refer to events that may endanger driving safety or require the driver to respond quickly, such as emergency braking of the vehicle, vehicle collision, and emergency avoidance of the vehicle. The above emergency events may also include events in which an important system of the vehicle itself fails and issues an alarm.
[0150] The above-mentioned initial state refers to the original properties and settings of the vehicle's window glass when it leaves the factory, which may include, for example, the initial color (which may be colorless and transparent or a specific light color) and the initial transparency (the degree of light transmittance without subsequent adjustment).
[0151] Furthermore, since the initial state of the car window glass is usually the state that best ensures that the driver has a good field of vision and can clearly observe the environment outside the car, when an emergency occurs, restoring the car window glass to its initial state can allow the driver to see the surrounding situation more clearly, maximize the driver's field of vision clarity, and improve driving safety.
[0152] The above method restores the window glass to its initial state (the default state at the factory) when the vehicle encounters an emergency, which can ensure that the driver has the best viewing conditions and allows the driver to clearly see the road, other vehicles and pedestrians, etc., so as to make accurate judgments and responses in a timely manner and ensure driving safety to the greatest extent.
[0153] Figure 4 It is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application.
[0154] For example, Figure 4 As shown, the device 400 includes:
[0155] The detection module 401 is used to detect whether there is a decoration on the inner glass of the vehicle window when the vehicle is powered on;
[0156] The acquisition module 402 is used to acquire feature information corresponding to the decoration when it is determined that there is a decoration on the inner glass of the vehicle window;
[0157] A determination module 403, for determining an adjustment strategy for the vehicle window glass with decorations based on the feature information;
[0158] The adjustment module 404 is used to adjust the vehicle window glass according to the adjustment strategy.
[0159] In one possible implementation, the characteristic information includes the decoration position and the decoration content, and the determination module is specifically used to: if the decoration position is the inner window glass in the main driving area of the vehicle, then display a first warning message; wherein the first warning message is used to inform the user that it is prohibited to use the decoration to decorate the window glass; if the decoration position is the window glass in the non-main driving area of the vehicle, then obtain the external environment information of the vehicle, and based on the decoration content and the external environment information, determine the adjustment strategy for the window glass with decorations.
[0160] In one possible implementation, the determination module is also specifically used for: if the content of the decoration is a dynamic object, then determining the adjustment strategy for the vehicle window glass with the decoration as: adjusting the color of the vehicle window glass to a first target color or blurring the vehicle window glass; wherein the first target color is a color whose grayscale value is less than or equal to a preset grayscale value; if the content of the decoration is a static object, then determining the adjustment strategy for the vehicle window glass with the decoration based on the external environment information.
[0161] Optionally, if the decoration is a dynamic object, the device further comprises a display module, which is specifically used to: display a second warning message; wherein the second warning message is used to prompt the user not to use the decoration to decorate the vehicle window glass.
[0162] In one possible implementation, the external environment information includes light intensity and surrounding condition information, and the determination module is also specifically used to: if the surrounding condition information indicates that the vehicle is in an empty area with no people, then determine the adjustment strategy for the window glass with decorations as: keep the window glass in the current state; if the surrounding condition information indicates that the vehicle is in a densely populated area, then determine the adjustment strategy for the window glass with decorations based on the light intensity.
[0163] In one possible implementation, the determination module is also specifically used to: if the light intensity is less than a preset intensity threshold, determine that the adjustment strategy for the vehicle window glass with decorations is: adjust the color of the vehicle window glass to the first target color or blur the vehicle window glass; if the light intensity is greater than or equal to the preset intensity threshold, determine that the adjustment strategy for the vehicle window glass with decorations is: adjust the color of the vehicle window glass to the second target color; wherein the grayscale value of the second target color is greater than the grayscale value of the first target color.
[0164] Optionally, the device further includes a recovery module, which is specifically used to: when the vehicle encounters an emergency, restore the state of the vehicle window glass to an initial state; wherein the initial state is the default state of the vehicle window glass when the vehicle leaves the factory.
[0165] Figure 5It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0166] For example, Figure 5 As shown, the vehicle 500 includes: a memory 501 and a processor 502, wherein the memory 501 stores an executable program code 5011, and the processor 502 is used to call and execute the executable program code 5011 to perform a vehicle control method.
[0167] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a vehicle control method provided by an embodiment of the present application.
[0168] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0169] In the case of dividing each functional module according to each function, the device may also include a detection module, an acquisition module, a determination module, an adjustment module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0170] It should be understood that the device provided in this embodiment is used to execute the above-mentioned vehicle control method, and thus can achieve the same effect as the above-mentioned implementation method.
[0171] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing relevant program codes and data.
[0172] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0173] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a vehicle control method provided in the above embodiments.
[0174] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a vehicle control method provided by the above embodiment.
[0175] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a vehicle control method provided by the above-mentioned embodiment.
[0176] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0177] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0178] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0179] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A vehicle control method, characterized in that: The method comprises: When the vehicle is powered on, detecting whether there is a decoration on the inner side glass of the vehicle window; When it is determined that there is a decoration on the inner glass of the vehicle window, acquiring feature information corresponding to the decoration; Based on the characteristic information, determining an adjustment strategy for the vehicle window glass having the decoration; The vehicle window glass is adjusted according to the adjustment strategy.
2. The method according to claim 1, characterized in that The characteristic information includes a decoration position and a decoration content, and determining an adjustment strategy for a vehicle window glass having the decoration based on the characteristic information includes: If the decoration position is the inner side glass of the window in the main driving area of the vehicle, a first warning message is displayed; wherein the first warning message is used to inform the user that it is prohibited to use the decoration to decorate the window glass; If the decoration position is the inner window glass in the non-main driving area of the vehicle, the external environment information of the vehicle is obtained, and based on the decoration content and the external environment information, an adjustment strategy for the window glass with the decoration is determined.
3. The method according to claim 2, characterized in that The step of determining an adjustment strategy for the vehicle window glass having the decoration based on the decoration content and the external environment information includes: If the decoration is a dynamic object, the adjustment strategy for the window glass with the decoration is determined as follows: adjusting the color of the window glass to a first target color or blurring the window glass; wherein the first target color is a color with a gray value less than or equal to a preset gray value; If the decoration is a static object, an adjustment strategy for the vehicle window glass with the decoration is determined according to the external environment information.
4. The method according to claim 3, characterized in that If the decoration content is a dynamic object, the method further includes: Display a second warning message; wherein, the second warning message is used to prompt the user to prohibit using the decoration to decorate the vehicle window glass.
5. The method according to claim 3, characterized in that: The external environment information includes light intensity and surrounding condition information, and determining the adjustment strategy for the vehicle window glass with the decoration according to the external environment information includes: If the surrounding condition information indicates that the vehicle is in an empty area without people, then determining the adjustment strategy for the vehicle window glass with the decoration is: keeping the vehicle window glass in the current state; If the surrounding condition information indicates that the vehicle is in a densely populated area, an adjustment strategy for the vehicle window glass with the decoration is determined based on the light intensity.
6. The method according to claim 5, characterized in that The step of determining, according to the light intensity, an adjustment strategy for the vehicle window glass having the decoration, comprises: If the light intensity is less than a preset intensity threshold, determining that the adjustment strategy for the vehicle window glass with the decoration is: adjusting the color of the vehicle window glass to the first target color or blurring the vehicle window glass; If the light intensity is greater than or equal to a preset intensity threshold, the adjustment strategy for the vehicle window glass with the decoration is determined as: adjusting the color of the vehicle window glass to a second target color; wherein the grayscale value of the second target color is greater than the grayscale value of the first target color.
7. The method according to claim 1, characterized in that After adjusting the vehicle window glass according to the adjustment strategy, the method further includes: In the event that the vehicle encounters an emergency, the state of the vehicle window glass is restored to an initial state; wherein the initial state is the default state of the vehicle window glass when the vehicle leaves the factory.
8. A vehicle control device, characterized in that: The device comprises: A detection module, used for detecting whether there is a decoration on the inner glass of a window of the vehicle when the vehicle is powered on; An acquisition module, configured to acquire feature information corresponding to a decoration when it is determined that there is a decoration on the inner glass of the vehicle window; A determination module, configured to determine, based on the characteristic information, an adjustment strategy for the vehicle window glass having the decoration; An adjustment module is used to adjust the vehicle window glass according to the adjustment strategy.
9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.