Cabin control method and device, vehicle and storage medium

Automatically adjusting the cockpit through on-board cameras and weather recognition models solves the problem of driver distraction caused by manual operations in extreme weather, improves driving safety and user experience, and is suitable for a variety of weather conditions without increasing hardware costs.

CN118636818APending Publication Date: 2024-09-13DONGFENG MOTOR GRP
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410846134.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

In extreme weather, drivers need to manually adjust the cockpit, which causes driver distraction and affects driving safety. It is difficult for existing technology to effectively cope with various complex weather conditions.

Method used

Collect environmental image data through the on-board camera, and use the preset weather recognition model to automatically identify the current weather. Automatically adjust the cockpit based on the recognition results, including analysis of raindrops, snowflakes and haze characteristics, determine the intensity of rainfall, snowfall and haze, and perform corresponding actions. Cockpit adjustment operation.

Benefits of technology

It avoids the driver's distraction caused by manual operation, improves driving safety, is suitable for a variety of weather conditions, and improves user experience without increasing hardware costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118636818A
    Figure CN118636818A
Patent Text Reader

Abstract

The invention discloses a cabin control method and device, a vehicle and a storage medium, and relates to the technical field of vehicle control, and the method comprises the steps: collecting target image data corresponding to an environment where the current vehicle is located; inputting the target image data into a preset weather recognition model to obtain current environment weather; and the cabin adjusting operation of the current vehicle is determined according to the current environment weather. Different from an existing method that a user needs to actively adjust a mechanical device to adjust the cabin, the method has the advantages that the collected target image data of the environment where the vehicle is located can be recognized through the preset weather recognition model, the current environment weather is obtained, and the cabin is automatically and directly adjusted according to the adjustment operation corresponding to the current environment weather; therefore, the user is prevented from being distracted in the driving process, the driving safety is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle control technology, and in particular to a cockpit control method, device, vehicle and storage medium. Background Art

[0002] When a vehicle is driving, it may encounter sudden extreme weather, which requires the driver to perform a series of operations such as closing windows and sunroofs, turning on wipers, etc., which is not only cumbersome and time-consuming for the driver to operate, but also distracts the driver and affects driving safety. Therefore, there is an urgent need for a method of automatically controlling the cockpit to improve driving safety.

[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of this application is to provide a cockpit control method, device, vehicle and storage medium, aiming to solve the technical problem of how to automatically control the cockpit to improve driving safety.

[0005] To achieve the above objectives, the present application proposes a cockpit control method, which includes:

[0006] Collect target image data corresponding to the current vehicle environment;

[0007] Inputting the target image data into a preset weather recognition model to obtain the current environmental weather;

[0008] A cockpit adjustment operation of the current vehicle is determined according to the current ambient weather.

[0009] In one embodiment, the step of determining the cabin adjustment operation of the current vehicle according to the current ambient weather includes:

[0010] When the current environmental weather is rainy, obtaining raindrop features in the target image data;

[0011] determining a current rainfall intensity based on the raindrop characteristics;

[0012] The cockpit adjustment operation of the current vehicle is determined according to the current rainfall intensity.

[0013] In one embodiment, the raindrop characteristics include: raindrop density, raindrop size and raindrop direction.

[0014] In one embodiment, the step of determining the cabin adjustment operation of the current vehicle according to the current ambient weather includes:

[0015] When the current environmental weather is snowy, obtaining snowflake features in the target image data;

[0016] Determining the current snowfall intensity based on the snowflake characteristics;

[0017] A cabin adjustment operation of the current vehicle is determined according to the current snowfall intensity.

[0018] In one embodiment, the snowflake characteristics include: snowflake density, snowflake size, snowflake direction and snow accumulation area.

[0019] In one embodiment, the step of determining the cabin adjustment operation of the current vehicle according to the current ambient weather includes:

[0020] When the current environmental weather is haze, obtaining the image contrast in the target image data;

[0021] determining a current haze intensity based on the image contrast;

[0022] The cockpit adjustment operation of the current vehicle is determined according to the current haze intensity.

[0023] In one embodiment, the step of determining the cabin adjustment operation of the current vehicle according to the current ambient weather includes:

[0024] When it is detected that the window needs to be adjusted, whether the window pressure is a warning pressure is detected;

[0025] If so, output adjustment warning information.

[0026] In addition, to achieve the above-mentioned purpose, the present application also proposes a cockpit control device, the cockpit control device comprising:

[0027] An image acquisition module is used to acquire target image data corresponding to the environment in which the vehicle is currently located;

[0028] A weather recognition module, used to input the target image data into a preset weather recognition model to obtain the current environmental weather;

[0029] The cockpit adjustment module is used to determine the cockpit adjustment operation of the current vehicle according to the current ambient weather.

[0030] In addition, to achieve the above objectives, the present application also proposes a vehicle, the device comprising: a memory, a processor, and a cockpit control program stored in the memory and executable on the processor, the cockpit control program being configured to implement the steps of the cockpit control method as described above.

[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a storage medium on which a cockpit control program is stored. When the cockpit control program is executed by a processor, the steps of the cockpit control method as described above are implemented.

[0032] The present application provides a cockpit control method, device, vehicle and storage medium, the method comprising: collecting target image data corresponding to the current vehicle environment; inputting the target image data into a preset weather recognition model to obtain the current environmental weather; and determining the cockpit adjustment operation of the current vehicle according to the current environmental weather. Different from the existing method that requires the user to actively adjust the mechanical device to adjust the cockpit, the present application can identify the collected target image data of the vehicle environment through a preset weather recognition model, obtain the current environmental weather, and automatically and directly adjust the cockpit according to the adjustment operation corresponding to the current environmental weather, thereby avoiding distraction of the user during driving, improving driving safety, and enhancing user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0034] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0035] Figure 1 This is a flow chart of the first embodiment of the cockpit control method of the present application;

[0036] Figure 2 This is a schematic diagram of a first process flow of a second embodiment of a cockpit control method of the present application;

[0037] Figure 3 This is a schematic diagram of rainy day recognition characteristics of the second embodiment of the cockpit control method of the present application;

[0038] Figure 4 This is a second flow chart of the second embodiment of the cockpit control method of the present application;

[0039] Figure 5 This is a schematic diagram of snowy weather recognition features of the second embodiment of the cockpit control method of the present application;

[0040] Figure 6 This is a schematic diagram of the third flow chart of the second embodiment of the cockpit control method of the present application;

[0041] Figure 7 This is a schematic diagram of the fourth process of the second embodiment of the cockpit control method of the present application;

[0042] Figure 8 This is a schematic diagram of the module structure of the cockpit control device according to an embodiment of the present application;

[0043] Fig. 9 Schematic diagram of the device structure of the hardware operating environment involved in the cockpit control method in the embodiment of the present application.

[0044] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0045] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0046] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0047] The main solution of this application is: collecting target image data corresponding to the current vehicle environment; inputting the target image data into a preset weather recognition model to obtain the current ambient weather; and determining the cabin adjustment operation of the current vehicle according to the current ambient weather.

[0048] At present, the identification of extreme weather is mainly focused on rainstorms. Traditional sunlight and rain sensors can be used to judge the rainfall. When the rainfall reaches a certain threshold, the automatic wiper is turned on to cope with rainstorms and ensure the driver's driving vision. However, if the rainfall does not reach a certain threshold, or in complex weather such as heavy snow and fog, the driver needs to judge the external weather by himself and manually adjust the cockpit, which can easily distract the driver and affect driving safety. In addition, the existing rain and snow mode has few and fixed execution actions, mainly for rainstorms, and lacks more diverse and adaptive measures.

[0049] The present application uses an on-board camera and a pre-trained image recognition model, namely, the above-mentioned preset weather recognition model to automatically identify complex weather, determine the current ambient weather corresponding to the current vehicle environment, and automatically perform different cockpit adjustment operations based on the weather recognition results. Therefore, the present application can not only avoid the driver's distraction during driving and cause driving safety hazards, but also improve driving safety; at the same time, the automatic cockpit adjustment method proposed in the present application is suitable for a variety of weather conditions and has strong applicability.

[0050] It should be noted that the execution subject of this embodiment can be a vehicle, or a computing service device with data processing, network communication and program running functions installed in the vehicle, such as a flat-panel vehicle computer, or a cockpit control device capable of realizing the above functions, etc. This embodiment does not specifically limit this. The following takes the cockpit control device (referred to as the control device) as the execution subject as an example to illustrate this embodiment and the following embodiments.

[0051] Based on this, the present application embodiment provides a cockpit control method, referring to Figure 1 , Figure 1 This is a first flow chart of the first embodiment of the cockpit control method of the present application.

[0052] In this embodiment, the cockpit control method includes steps S10 to S30:

[0053] Step S10, collecting target image data corresponding to the environment where the vehicle is currently located;

[0054] It should be understood that the above-mentioned target image data can be the corresponding image of the environment around the vehicle collected by the vehicle-mounted camera. At the same time, in order to improve the accuracy of subsequent image recognition, the target image data can be an image after image filtering processing. The specific means are not limited in this embodiment.

[0055] Step S20, inputting the target image data into a preset weather recognition model to obtain the current environmental weather;

[0056] It is easy to understand that the above-mentioned preset weather recognition model can be an image recognition model generated in advance according to the image features of different weathers. The preset weather recognition model can extract and classify the image features of the target image data after it is input, and then match and compare the image features of the target image data with the image features corresponding to several types of warning weather pre-stored in the preset weather recognition model, so as to take the warning weather with the highest matching degree as the final classification result, that is, the above-mentioned current environmental weather.

[0057] Step S30, determining a cockpit adjustment operation of the current vehicle according to the current ambient weather.

[0058] It should be understood that after the control device determines the corresponding current ambient weather based on the image features of the target image data, it can automatically adjust the car cabin machine according to the pre-stored adjustment operations corresponding to the current ambient weather, thereby improving driving safety and enhancing user experience.

[0059] In this embodiment, based on the image of the outside environment taken by the camera, a pre-trained image recognition algorithm model is used to identify the characteristics of the warning weather to determine the current warning weather corresponding to the current vehicle, and the control device automatically executes different countermeasures for different weather conditions to avoid distracted driving caused by the driver's manual operation, resulting in driving safety hazards and improving driving safety. Therefore, unlike the existing method that requires the user to actively adjust the mechanical device to adjust the cockpit, this embodiment can use the existing camera configuration on the vehicle for weather monitoring without adding additional hardware costs. At the same time, when it is detected that the target image data of the vehicle's environment collected matches the warning weather, the cockpit is automatically and directly adjusted according to the adjustment operation corresponding to the current environmental weather determined after the match, thereby solving the hidden danger of distracted driving caused by the driver's manual operation, avoiding affecting driving safety, meeting the user needs in the actual use scenario of the warning weather, improving driving safety, and improving user experience.

[0060] The present embodiment provides a cockpit control method, the method comprising: collecting target image data corresponding to the current vehicle environment; inputting the target image data into a preset weather recognition model to obtain the current environmental weather; and determining the cockpit adjustment operation of the current vehicle according to the current environmental weather. Different from the existing method that requires the user to actively adjust the mechanical device to adjust the cockpit, the present embodiment can use the existing camera configuration on the vehicle to monitor the weather without adding additional hardware costs. At the same time, when it is detected that the collected target image data of the vehicle environment matches the warning weather, the cockpit is automatically and directly adjusted according to the adjustment operation corresponding to the current environmental weather determined after the match, thereby solving the user needs in the actual use scenario of the warning weather, improving driving safety, and enhancing the user experience.

[0061] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated later.

[0062] It should be understood that the above-mentioned current environmental weather can be warning weather such as rainy days, snowy days or haze. Therefore, in this embodiment, the control device can determine which type of warning weather the current external environment belongs to through the on-board camera and image recognition algorithm, and automatically perform corresponding cabin adjustment actions according to the type of warning weather, so as to solve the problem that the existing cabin control method can only cope with a single type of weather and insufficient response measures.

[0063] Therefore, based on the first embodiment, please refer to Figure 2 , Figure 2 This is a first flow chart of the second embodiment of the cockpit control method of the present application. In this embodiment, step S30 includes steps A1 to A3:

[0064] Step A1, when the current environment weather is rainy, obtaining raindrop features in the target image data;

[0065] Step A2, determining the current rainfall intensity based on the raindrop characteristics;

[0066] Step A3, determining the cabin adjustment operation of the current vehicle according to the current rainfall intensity.

[0067] It is easy to understand that after the control device determines that the current environmental weather is rainy based on the above-mentioned preset weather recognition model, it can perform feature analysis on the target image data to determine the rainfall intensity of the current vehicle environment, and then adjust the cabin of the current vehicle according to the current rainfall intensity.

[0068] It is understandable that, when iteratively training the grade classification model, the present embodiment may pre-classify the rainfall grades, and the specific classification is shown in Table 1. That is, as shown in Table 1, in the present embodiment, the current rainfall intensity may be trace rainfall, light rain, moderate rain, heavy rain, rainstorm, heavy rainstorm or extremely heavy rainstorm.

[0069] Table 1 Rainfall level classification table

[0070]

[0071]

[0072] It should be noted that, in this embodiment, heavy rain levels and above can be determined as rainstorm extreme weather, and levels below heavy rain levels can be determined as ordinary rainy days, and rainy day scenes can be classified based on a pre-trained rainy day classification model.

[0073] That is, in this embodiment, the raindrop features in the target image data can be obtained based on the pre-trained rain classification model, the current rainfall intensity corresponding to the current vehicle can be determined based on the raindrop features, and then the current rainfall intensity can be used to judge whether the current vehicle is in an ordinary rainy day or an extreme rainstorm.

[0074] When there is extreme weather such as heavy rain, the control device can directly and automatically adjust the cockpit. The specific cockpit adjustment operations may include: closing the windows and sunroof, turning on the wipers, turning on the defogger, turning on the fog lights, etc.

[0075] In ordinary rainy scenes, the control device can output cockpit adjustment voice or display cockpit adjustment information on the car display screen, and the user decides whether to automatically adjust the cockpit.

[0076] It should be understood that the above-mentioned rainy day classification model can be constructed based on deep learning technology. In this embodiment, rainstorm weather images with heavy rain level or above can be used as the basic data set to train the image classification model, and integrated into the control device after the iterative training is completed, so that after the control device determines that the current environmental weather is a rainy day based on the external image taken by the on-board front camera, it can directly identify whether there are rainstorm features in the target image data based on the rainy day classification model, and determine whether the current environmental weather is rainstorm extreme weather.

[0077] It is understandable that, as an implementable method, in this embodiment, the raindrop characteristics include: raindrop density, raindrop size and raindrop direction. Figure 3 Let's take this as an example to explain. Figure 3 This is a schematic diagram of rainy day recognition characteristics of the second embodiment of the cockpit control method of this application, such as Figure 3 As shown, as the rainfall intensity increases, the raindrops will gradually become larger and denser, and in stormy conditions, the shape of the raindrops will also become tilted due to the wind speed.

[0078] Therefore, when using the rain classification model to classify rainy scenes, for raindrop density, since raindrops in the image will be identified as noise points in image judgment, the raindrop density is defined as the ratio of noise point pixels to total pixels. The larger the pixel ratio, the greater the rainfall intensity.

[0079] As for the size of raindrops, since the larger the raindrops, the larger the area they occupy on the image, the size of raindrops can be expressed as the ratio of the raindrop area to the total area of ​​the image. The larger the area ratio, the greater the rainfall intensity.

[0080] As for the direction of raindrops, it is easy to know that the greater the wind speed, the more inclined the direction of the raindrops will be, and the greater the angle with the vertical axis of the image. Therefore, the direction of raindrops can be expressed as the angle of the raindrop shape relative to the vertical axis of the image. The greater the inclination angle, the greater the rainfall intensity.

[0081] Therefore, the raindrop density, raindrop size and raindrop direction mentioned above may be typical characteristics of rainstorm weather. In this embodiment, a rainy day classification model may be constructed in advance based on these characteristics.

[0082] As an implementable method, refer to Figure 4 , Figure 4 This is a second flow chart of the second embodiment of the cockpit control method of the present application. In this embodiment, step S30 includes steps B1 to B3:

[0083] Step B1, when the current environmental weather is snowy, obtaining snowflake features in the target image data;

[0084] Step B2, determining the current snowfall intensity based on the snowflake characteristics;

[0085] Step B3, determining the cabin adjustment operation of the current vehicle according to the current snowfall intensity.

[0086] It is understandable that, similar to the analysis process of the above-mentioned rainy day scene, the control device in this embodiment can also pre-load an iterated snow classification model. After detecting that the current ambient weather is snowy, the snow classification model can obtain snowflake features based on the target image data to determine the snowfall intensity of the current vehicle's environment, and then adjust the cabin of the current vehicle according to the current snowfall intensity.

[0087] It is easy to understand that, as shown in Table 2, in this embodiment, the current snowfall intensity can be trace snowfall, light snow, moderate snow, heavy snow, blizzard, heavy blizzard or extremely heavy blizzard. In this embodiment, heavy snow level and above can be determined as blizzard extreme weather, and levels below heavy snow level can be determined as ordinary snow days, and snowy scenes can be classified based on a pre-trained snow classification model.

[0088] Table 2 Principles for snowfall classification

[0089]

[0090] It should be understood that when it is extreme weather such as heavy snow, the control device can directly and automatically adjust the cockpit. The specific cockpit adjustment operations can be manifested as: closing the windows and sunroof, turning on the wipers, turning on the air conditioner, turning on the fog lights, turning on the snow driving mode, etc.

[0091] In ordinary snowy scenes, the control device can output cockpit adjustment voice or display cockpit adjustment information on the car display screen, and the user decides whether to automatically adjust the cockpit.

[0092] As an implementable method, in this embodiment, the snowflake characteristics include: snowflake density, snowflake size, snowflake direction and snow accumulation area.

[0093] It should be understood that the above-mentioned snow classification model can be an image classification model constructed with blizzard weather images above the heavy snow level as the basic data set, and is integrated into the control device after the iterative training is completed, so that the control device can identify whether there are blizzard features in the target image data and determine whether the current environmental weather is extreme blizzard weather.

[0094] It is understandable that, as an implementable method, in this embodiment, the snowflake characteristics include: snowflake density, snowflake size, snowflake direction and snow accumulation area.

[0095] For ease of understanding, Figure 5 Let's take this as an example to explain. Figure 5 This is a schematic diagram of snowy weather recognition features of the second embodiment of the cockpit control method of the present application, as shown in FIG. Figure 5 As shown, as the intensity of snowfall increases, the size and density of snowflakes will increase, and the direction of snowflakes will also be affected by wind speed and tilted, and the area of ​​snow on the ground will also increase.

[0096] When the snow scene classification model is used to classify snow scenes, the snow density can be expressed as the ratio of noise point pixels to total pixels. The larger the pixel ratio, the greater the snowfall intensity.

[0097] As for the snowflake size, the snowflake size can be expressed as the ratio of the snowflake area to the total area of ​​the image. The larger the area ratio, the greater the snowfall intensity.

[0098] For snowflake direction, the snowflake direction can be expressed as the angle of the snowflake shape relative to the vertical axis of the image. The larger the tilt angle, the greater the snowfall intensity;

[0099] For the snow accumulation area, the snow accumulation area can be expressed as the ratio of the white area to the total area of ​​the image. The larger the snow accumulation area, the greater the snowfall intensity.

[0100] Therefore, the above-mentioned snowflake density, snowflake size, snowflake direction and snow accumulation area may be typical characteristics of extreme snowstorm weather. In this embodiment, a snow classification model may be constructed in advance based on these characteristics.

[0101] As an implementable method, refer to Figure 6 , Figure 6 This is a third flow chart of the second embodiment of the cockpit control method of the present application. In this embodiment, the current ambient weather includes: haze; step S30 includes steps C1 to C3:

[0102] Step C1, when the current environmental weather is haze, obtaining the image contrast in the target image data;

[0103] Step C2, determining the current haze intensity based on the image contrast;

[0104] Step C3, determining a cabin adjustment operation of the current vehicle according to the current haze intensity.

[0105] It is understandable that the control device in this embodiment may also pre-load an iterated haze weather classification model. After detecting that the current ambient weather is haze (which may refer to fog and haze in this embodiment), the haze classification model may obtain image contrast based on the target image data to determine the haze intensity of the current vehicle's environment, and then adjust the cabin of the current vehicle according to the current haze intensity.

[0106] It is easy to understand that, as shown in Table 3, in this embodiment, the current haze intensity can be fog, heavy fog, dense fog or very dense fog. In this embodiment, the heavy fog level and above can be determined as heavy fog extreme weather, and the level below the heavy fog level can be determined as ordinary haze, and the haze scene is classified based on the haze weather classification model.

[0107] Table 3 Fog level classification principles

[0108] Horizontal visibility Fog level <1000m fog <500m Heavy fog <200m Thick fog <50m Heavy fog

[0109] It should be understood that when there is extreme foggy weather, the control device can directly and automatically adjust the cockpit. The specific cockpit adjustment operation can be manifested as: in foggy weather, the windows and sunroof will be closed, the fog lights will be turned on, etc.

[0110] In ordinary snowy scenes, the control device can output cockpit adjustment voice or display cockpit adjustment information on the car display screen, and the user decides whether to automatically adjust the cockpit.

[0111] Similarly, the above-mentioned haze weather classification model can be an image classification model constructed with heavy fog extreme weather images above the heavy fog level as the basic data set, and integrated into the control device after the iterative training is completed, so that the control device can identify whether there are heavy fog extreme weather characteristics in the target image data and determine whether the current environmental weather is heavy fog extreme weather.

[0112] Specifically, since the greater the fog level, the lower the clarity of the object in the image, the haze weather classification model can determine the haze intensity in the target image data according to the image contrast in the target image data. As the fog increases, the image contrast becomes lower, and the present embodiment can judge the fog intensity according to the contrast feature of the image. Therefore, the present embodiment can pre-train the haze weather classification model based on the image contrast.

[0113] In this embodiment, the control device can automatically perform corresponding cockpit adjustment operations for different extreme weather conditions. Specifically, in this embodiment, the control device integrates an image recognition algorithm model and different weather classification models, namely the above-mentioned rainy day classification model, snowy day classification model and haze weather classification model. When the control device determines based on the weather classification model that the current vehicle environment is judged to be rainstorm, heavy snow or foggy extreme weather, the control device can automatically send rainstorm weather, heavy snow weather or foggy weather instructions to each device in the cockpit, and control each device to automatically execute a pre-set cockpit adjustment operation to deal with extreme weather. In this way, the problem of the single type of weather and insufficient response measures in the current rain and snow mode can be solved, and the automated judgment and execution can also solve the hidden dangers of distracted driving caused by manual operation of the driver to avoid affecting driving safety.

[0114] As an implementable method, refer to Figure 7 , Figure 7 This is a fourth flow chart of the second embodiment of the cockpit control method of the present application. In this embodiment, step S30 further includes steps S40 to S50:

[0115] Step S40, when it is detected that the vehicle window needs to be adjusted, detecting whether the vehicle window pressure is a warning pressure;

[0116] Step S50: If yes, output adjustment warning information.

[0117] It is understandable that from the above analysis, when the control device detects the occurrence of extreme weather such as heavy rain, heavy snow or heavy fog, it is necessary to close the windows or sunroof to prevent the interior of the car from getting wet or contaminated.

[0118] It is easy to understand that in order to ensure user safety, before controlling the car windows or sunroof to close, in this embodiment, the control device can first detect the pressure at the car window boundary through the pressure sensor located at the car window boundary, and determine whether the driver or passenger has put his head or hand out of the window by detecting whether the car window pressure is the warning pressure.

[0119] It should be understood that the above-mentioned warning pressure can be expressed as a concentrated pressure or a pressure exceeding a preset pressure threshold. That is, if a pressure exceeding the preset pressure threshold is detected at the window boundary or the sunroof boundary, or a concentrated pressure is detected, it can be determined that the driver or passenger is sticking his head or hand out of the window.

[0120] At this time, the control device can output warning information by displaying window closing warning subtitles on the vehicle display screen, playing window closing warning voice, or displaying warning lights at the window, so that the user can move his head or hands away from the window in time. When the control device detects that there is no more pressure at the window boundary, the control can stop outputting warning information and close the window, thereby preventing the user from being pinched by the window and ensuring the user's safety.

[0121] This embodiment discloses that when the current ambient weather is rainy, raindrop features in the target image data are obtained; raindrop features include: raindrop density, raindrop size and raindrop direction. The current rainfall intensity is determined based on the raindrop features; and the cabin adjustment operation of the current vehicle is determined by the current rainfall intensity. When the current ambient weather is snowy, snowflake features in the target image data are obtained; snowflake features include: snowflake density, snowflake size, snowflake direction and snow accumulation area; the current snowfall intensity is determined based on the snowflake features; and the cabin adjustment operation of the current vehicle is determined by the current snowfall intensity. When the current ambient weather is haze, the image contrast in the target image data is obtained; the current haze intensity is determined based on the image contrast; and the cabin adjustment operation of the current vehicle is determined by the current haze intensity. Therefore, for different extreme weather conditions, this embodiment can automatically perform corresponding cabin adjustment operations. Specifically, this embodiment uses an image recognition algorithm model and different weather classification models, namely the above-mentioned rainy day classification model, snowy day classification model and haze weather classification model, to determine that the current vehicle environment is judged to be rainstorm, snowstorm or foggy extreme weather, and automatically sends rainstorm weather, snowstorm weather or foggy weather instructions to each device in the cockpit, and controls each device to automatically execute the pre-set cockpit adjustment operation to deal with extreme weather. This solves the problem that the current rain and snow mode can only deal with a single type of weather and insufficient response measures, and the automated judgment and execution can also solve the hidden danger of distracted driving caused by manual operation of the driver, avoiding affecting driving safety.

[0122] In addition, this embodiment can also detect whether the window pressure is a warning pressure when it is detected that the window needs to be adjusted; if so, an adjustment warning message is output to prevent the user from being pinched by the window and ensure the user's safety.

[0123] This application also provides a cockpit control device, please refer to Figure 8 , Figure 8 This is a schematic diagram of the module structure of the cockpit control device according to an embodiment of the present application. The cockpit control device includes:

[0124] The image acquisition module 801 is used to acquire target image data corresponding to the environment where the vehicle is currently located;

[0125] A weather recognition module 802 is used to input the target image data into a preset weather recognition model to obtain the current environmental weather;

[0126] The cockpit adjustment module 803 is used to determine the cockpit adjustment operation of the current vehicle according to the current ambient weather.

[0127] As an implementable method, in this embodiment, the cockpit adjustment module 803 is further used to obtain raindrop features in the target image data when the current environmental weather is rainy;

[0128] The cockpit adjustment module 803 is further used to determine the current rainfall intensity based on the raindrop characteristics;

[0129] The cockpit adjustment module 803 is further used to determine the cockpit adjustment operation of the current vehicle according to the current rainfall intensity.

[0130] As an implementable method, in this embodiment, the raindrop characteristics include: raindrop density, raindrop size and raindrop direction.

[0131] As an implementable method, in this embodiment, the cockpit adjustment module 803 is further used to obtain snowflake features in the target image data when the current environmental weather is snowy;

[0132] The cockpit adjustment module 803 is further used to determine the current snowfall intensity based on the snowflake characteristics;

[0133] The cockpit adjustment module 803 is further used to determine the cockpit adjustment operation of the current vehicle according to the current snowfall intensity.

[0134] As an implementable method, in this embodiment, the snowflake characteristics include: snowflake density, snowflake size, snowflake direction and snow accumulation area.

[0135] As an implementable method, in this embodiment, the cockpit adjustment module 803 is further used to obtain the image contrast in the target image data when the current environmental weather is haze;

[0136] The cockpit adjustment module 803 is further used to determine the current haze intensity based on the image contrast;

[0137] The cockpit adjustment module 803 is further configured to determine a cockpit adjustment operation of the current vehicle according to the current haze intensity.

[0138] As an implementable method, in this embodiment, the cabin adjustment module 803 is also used to detect whether the window pressure is a warning pressure when it is detected that the window needs to be adjusted;

[0139] The cockpit adjustment module 803 is also used to output adjustment warning information if so.

[0140] The cockpit control device provided by the present application adopts the cockpit control method in the above embodiment, which can solve the technical problem of cockpit control. Compared with the prior art, the beneficial effects of the cockpit control device provided by the present application are the same as the beneficial effects of the cockpit control method provided by the above embodiment, and other technical features in the cockpit control device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0141] The present application provides a vehicle, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the cabin control method in the above-mentioned embodiment one.

[0142] Reference below Fig. 9 , which shows a schematic structural diagram of a vehicle suitable for implementing an embodiment of the present application. Fig. 9 The vehicle shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0143] like Fig. 9 As shown, the vehicle may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for vehicle operation are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the vehicle to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a vehicle with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0144] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a cockpit control program product, which includes a cockpit control program carried on a computer-readable medium, and the cockpit control program contains program code for executing the method shown in the flowchart. In such an embodiment, the cockpit control program can be downloaded and installed from the network through a communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the cockpit control program is executed by the processing device 1001, the above functions defined in the method of the embodiment disclosed in the present application are executed.

[0145] The vehicle provided by the present application adopts the cockpit control method in the above embodiment, which can solve the technical problem of realizing rapid warning of vehicle side collision. Compared with the prior art, the beneficial effects of the vehicle provided by the present application are the same as the beneficial effects of the cockpit control method provided by the above embodiment, and the other technical features in the vehicle are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0146] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0147] The above are only specific implementations 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.

[0148] The present application provides a storage medium having computer-readable program instructions (ie, a cockpit control program) stored thereon, wherein the computer-readable program instructions are used to execute the cockpit control method in the above-mentioned embodiment.

[0149] The storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0150] The above storage medium may be included in the vehicle; or may exist independently without being installed in the vehicle.

[0151] The storage medium carries one or more programs, and when the one or more programs are executed by the vehicle, the vehicle can quickly achieve cockpit control.

[0152] The cockpit control program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0153] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and cockpit control program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a portion of a code, which contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the boxes may also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified functions or operations, or can be implemented with a combination of dedicated hardware and computer instructions.

[0154] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0155] The readable storage medium provided by the present application is a storage medium, which stores computer-readable program instructions (i.e., cockpit control program) for executing the above-mentioned cockpit control method, and can solve the technical problem of realizing rapid warning of vehicle side collision. Compared with the prior art, the beneficial effects of the storage medium provided by the present application are the same as the beneficial effects of the cockpit control method provided by the above-mentioned embodiment, and will not be repeated here.

[0156] The above are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A cockpit control method, characterized in that: The method comprises: Collect target image data corresponding to the current vehicle environment; Inputting the target image data into a preset weather recognition model to obtain the current environmental weather; A cockpit adjustment operation of the current vehicle is determined according to the current ambient weather.

2. The cockpit control method according to claim 1, characterized in that: The step of determining the cockpit adjustment operation of the current vehicle according to the current ambient weather comprises: When the current environmental weather is rainy, obtaining raindrop features in the target image data; determining a current rainfall intensity based on the raindrop characteristics; The cockpit adjustment operation of the current vehicle is determined according to the current rainfall intensity.

3. The cockpit control method according to claim 2, characterized in that: The raindrop characteristics include: raindrop density, raindrop size and raindrop direction.

4. The cockpit control method according to claim 1, characterized in that: The step of determining the cockpit adjustment operation of the current vehicle according to the current ambient weather comprises: When the current environmental weather is snowy, obtaining snowflake features in the target image data; Determining the current snowfall intensity based on the snowflake characteristics; A cabin adjustment operation of the current vehicle is determined according to the current snowfall intensity.

5. The cockpit control method according to claim 4, characterized in that: The snowflake characteristics include: snowflake density, snowflake size, snowflake direction and snow accumulation area.

6. The cockpit control method according to claim 1, characterized in that: The step of determining the cockpit adjustment operation of the current vehicle according to the current ambient weather comprises: When the current environmental weather is haze, obtaining the image contrast in the target image data; determining a current haze intensity based on the image contrast; The cockpit adjustment operation of the current vehicle is determined according to the current haze intensity.

7. The cockpit control method according to claim 1, characterized in that: After determining the cockpit adjustment operation of the current vehicle according to the current ambient weather, the method includes: When it is detected that the window needs to be adjusted, whether the window pressure is a warning pressure is detected; If so, output adjustment warning information.

8. A cockpit control device, characterized in that: The cockpit control device comprises: An image acquisition module is used to acquire target image data corresponding to the environment in which the vehicle is currently located; A weather recognition module, used to input the target image data into a preset weather recognition model to obtain the current environmental weather; The cockpit adjustment module is used to determine the cockpit adjustment operation of the current vehicle according to the current ambient weather.

9. A cockpit control device, characterized in that: The device comprises: a memory, a processor, and a cockpit control program stored in the memory and executable on the processor, wherein the cockpit control program is configured to implement the steps of the cockpit control method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores a cockpit control program, and when the cockpit control program is executed by the processor, the steps of the cockpit control method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Vehicle window control method and device, vehicle, medium and product

    CN119333023A

  • Vehicle window control method and device, vehicle, medium and product

    CN119333023B

  • Vehicle control method and device, equipment, storage medium and program product

    CN120606866A

  • Vehicle window control method and apparatus, vehicle, medium, and product

    WO2026092646A1