Side sliding door opening control method and device and vehicle
By obtaining vehicle environment information to determine bad conditions and controlling the accelerated opening of the side sliding door, it solves the problem of the electric side sliding door opening too slowly in bad weather and improves the user experience and vehicle intelligence.
Patent Information
- Application Number
- CN202411152984.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-10-18
AI Technical Summary
In bad weather conditions, the opening speed of the electric sliding door is too slow, which increases the user's waiting time and affects the user experience.
By obtaining the vehicle's environmental information, such as rainfall, real-time images and weather warning information, it is judged whether the vehicle is in a harsh environmental condition. If so, the side sliding door is controlled to accelerate and open, using the weather of the convolution layer, pooling layer and spatial attention layer. The environment recognition model determines the environment type and controls the accelerated opening of the side sliding door based on the preset speed value and opening stroke.
Reduce the waiting time of users in harsh environments, improve the ride experience, and increase the intelligence of the entire vehicle.
Smart Images

Figure CN118793343A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent control technology, and in particular to a side sliding door opening control method, device and vehicle. Background Art
[0002] With the rapid development and continuous advancement of smart car technology, electric side sliding doors, as an important configuration to improve vehicle convenience and comfort, especially in MPVs (Multi-Purpose Vehicles) and luxury cars, are becoming increasingly intelligent. For example, when a vehicle is in severe weather conditions (heavy rain, hail, strong winds, etc.), the way the electric side sliding doors are opened is crucial to the user experience.
[0003] At present, the main opening methods of electric side sliding doors on the market include physical buttons, door handles, car keys or remote control of smart devices, and in order to prevent the side sliding door from opening too quickly and causing a collision accident, the electric side sliding door usually adopts a relatively slow opening speed value (for example, 100mm / s) for uniform opening. If the vehicle is in severe weather conditions such as blizzards, hail, etc., the user can only wait for the side sliding door to slowly open before entering the car to take shelter, which affects the user experience.
[0004] Therefore, it is necessary to improve the current side sliding door opening control method. Summary of the invention
[0005] In view of the above-mentioned shortcomings of the prior art, the present application provides a side sliding door opening control method, device and vehicle to solve the above-mentioned technical problems.
[0006] The present application provides a side sliding door opening control method, the method comprising: acquiring environmental information of the vehicle; the environmental information comprising at least one of the following: rainfall information outside the vehicle, real-time image information outside the vehicle, and weather warning information; based on the environmental information, determining whether the vehicle is in a preset severe environmental condition; if the vehicle is in the preset severe environmental condition, controlling the side sliding door to accelerate opening.
[0007] In one embodiment of the present application, if the preset severe environmental condition includes a rainfall condition, and the environmental information only includes the rainfall information outside the vehicle, then based on the environmental information, the process of determining whether the vehicle is in a preset severe environmental condition includes: if the rainfall in the rainfall information outside the vehicle is greater than a first preset rainfall threshold, then the rainfall duration is counted and recorded as a first rainfall duration; if the first rainfall duration is greater than the first preset duration threshold, then it is determined that the vehicle is in the rainfall condition; if the rainfall in the rainfall information outside the vehicle is less than or equal to the first preset rainfall threshold, then it is determined that the vehicle is not in the rainfall condition; or, if the first rainfall duration is less than or equal to the first preset duration threshold, then it is determined that the vehicle is not in the rainfall condition.
[0008] In one embodiment of the present application, the process of controlling the accelerated opening of the side sliding door includes: if the rainfall in the rainfall information outside the vehicle is greater than the first preset rainfall threshold and the rainfall in the rainfall information outside the vehicle is less than the second preset rainfall threshold, then counting the rainfall duration and recording it as the second rainfall duration; if the second rainfall duration is greater than the second preset duration threshold, controlling the accelerated opening of the side sliding door with a first preset speed value as a target speed value; the first preset speed value is greater than the opening speed value set when the side sliding door is opened at a uniform speed; the second preset duration threshold is less than or equal to the first preset duration threshold; if the rainfall in the rainfall information outside the vehicle is greater than or equal to the second preset rainfall threshold, then counting the rainfall duration and recording it as the third rainfall duration; if the third rainfall duration is greater than the third preset duration threshold, controlling the accelerated opening of the side sliding door with the second preset speed value as the target speed value; the second preset speed value is greater than the first preset speed value; the third preset duration threshold is less than or equal to the second preset duration threshold.
[0009] In one embodiment of the present application, if the environmental information only includes real-time image information outside the vehicle and weather warning information, then based on the environmental information, the process of determining whether the vehicle is in a preset severe environmental condition includes: inputting the real-time image information outside the vehicle into a weather environment recognition model to obtain a weather environment recognition result; the weather environment recognition model is obtained by training a pre-constructed recognition model based on the sample image information outside the vehicle, and the weather environment recognition result includes a strong wind environment, a hail environment, a sandstorm environment, and a blizzard environment; the level of strong wind is greater than the preset strong wind level; if the weather environment recognition result is consistent with the weather warning information, it is determined that the vehicle is in the preset severe environmental condition, and the preset severe environmental condition is a strong wind condition, a hail condition, a sandstorm condition or a blizzard condition; if the weather environment recognition result is inconsistent with the weather warning information, it is determined that the vehicle is not in the preset severe environmental condition.
[0010] In one embodiment of the present application, if the pre-constructed recognition model includes a convolution layer, a pooling layer, a fully connected layer, and a spatial attention layer embedded between the convolution layer and the pooling layer, the process of training the pre-constructed recognition model based on the off-vehicle sample image information includes: inputting the sample image information into the convolution layer to obtain a feature vector after residual calculation, and the convolution layer is used to perform convolution operations, pooling operations and residual calculations on the sample image information; inputting the feature vector after residual calculation into the spatial attention layer to obtain a spatial attention map, and performing element-by-element multiplication of the spatial attention map and the feature vector after residual calculation, A weighted spatial feature vector is obtained; the spatial attention layer is used to extract the spatial attention weight in the feature vector after the residual calculation; the weighted spatial feature vector is input into the pooling layer to obtain the spatial feature vector after the pooling operation; the spatial feature vector after the pooling operation is input into the fully connected layer to obtain the weather environment prediction probability; based on the weather environment prediction probability, a cross entropy loss value is calculated; according to the cross entropy loss value and the preset parameter adjustment iteration number, the parameters in the pre-constructed recognition model are adjusted to obtain the recognition model after the parameter adjustment, and the recognition model after the parameter adjustment is used as the weather environment recognition model.
[0011] In one embodiment of the present application, if the weather warning information includes a warning level and a warning type, the process of controlling the accelerated opening of the side sliding door includes: if the weather environment identification result is consistent with the warning type, and the warning level does not reach the preset warning level, controlling the accelerated opening of the side sliding door with a first preset speed value as a target speed value; the warning types include strong wind warning, hail warning, sandstorm warning, and blizzard warning; the first preset speed value is greater than the opening speed value set for the side sliding door when it is opened at a uniform speed; if the weather environment identification result is consistent with the warning type, and the warning level reaches the preset warning level, controlling the accelerated opening of the side sliding door with a second preset speed value as a target speed value; the second preset speed value is greater than the first preset speed value.
[0012] In one embodiment of the present application, the process of controlling the accelerated opening of the side sliding door includes: obtaining the opening stroke of the side sliding door; if the opening stroke is less than a preset upper limit value of the accelerated opening stroke, continuing to control the accelerated opening of the side sliding door, and updating the opening stroke until the updated opening stroke is greater than or equal to the preset upper limit value of the accelerated opening stroke; if the opening stroke is greater than or equal to the preset upper limit value of the accelerated opening stroke, controlling the side sliding door to open at a uniform speed with the opening speed value until the side sliding door slides to the maximum opening stroke position; or, if the updated opening stroke is greater than or equal to the preset upper limit value of the accelerated opening stroke, controlling the side sliding door to open at a uniform speed with the opening speed value until the side sliding door slides to the maximum opening stroke position.
[0013] In one embodiment of the present application, the process of controlling the accelerated opening of the side sliding door includes: obtaining the current distance between the edge of the side sliding door and the obstacle; if the current distance is less than a preset safety distance, controlling the side sliding door to stop opening until the current distance changes, and the distance after the change is greater than or equal to the preset safety distance; if the current distance is greater than or equal to the preset safety distance, continuing to control the side sliding door to accelerate opening until the accelerated opening process of the side sliding door is completed; or, if the distance after the change is greater than or equal to the preset safety distance, continuing to control the side sliding door to accelerate opening until the accelerated opening process of the side sliding door is completed.
[0014] According to one aspect of an embodiment of the present application, a side sliding door opening control device is provided, the device comprising: an information acquisition module, used to acquire environmental information of the vehicle; the environmental information comprises at least one of the following: rainfall information outside the vehicle, real-time image information outside the vehicle, weather warning information; a condition determination module, used to determine whether the vehicle is in a preset severe environmental condition based on the environmental information; an opening control module, used to control the side sliding door to accelerate opening if the vehicle is in the preset severe environmental condition.
[0015] According to one aspect of an embodiment of the present application, a vehicle is provided, the vehicle comprising the side sliding door opening control device as described above.
[0016] The beneficial effects of the present application are as follows: the present application obtains environmental information of the vehicle, and based on the environmental information, determines whether the vehicle is in a preset harsh environmental condition; if the vehicle is in a preset harsh environmental condition, the side sliding door is controlled to accelerate and open. In the above process, environmental information is used to determine whether the vehicle is in a preset harsh environmental condition; if the vehicle is in a preset harsh environmental condition, the side sliding door is controlled to accelerate and open, thereby improving the intelligence level of the entire vehicle, reducing the waiting time of users in preset harsh environmental conditions, and improving the user's riding experience.
[0017] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0019] Figure 1 is a schematic diagram of an exemplary system architecture shown in an exemplary embodiment of the present application;
[0020] Figure 2 is a flow chart of a side sliding door opening control method shown in an exemplary embodiment of the present application;
[0021] Figure 3 is a flowchart showing, according to an exemplary embodiment of the present application, whether a vehicle is in a preset severe environmental condition based on environmental information;
[0022] Figure 4 It is a flowchart showing an exemplary embodiment of the present application, which determines whether a vehicle is in a preset severe environmental condition only based on the rainfall in the rainfall information outside the vehicle, or determines whether the vehicle is in a preset severe environmental condition only based on the real-time image information outside the vehicle and the weather warning information;
[0023] Figure 5 is a schematic diagram of a pre-built recognition model shown in an exemplary embodiment of the present application;
[0024] Figure 6 is a block diagram of a side sliding door opening control device shown in an exemplary embodiment of the present application;
[0025] Figure 7 A schematic diagram of the structure of a computer system of a vehicle-mounted device suitable for implementing an embodiment of the present application is shown. DETAILED DESCRIPTION
[0026] The following will describe the implementation methods of the present application with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for illustrating the present application, not for limiting the scope of protection of the present application.
[0027] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.
[0028] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.
[0029] Figure 1 It is a schematic diagram of an exemplary system architecture shown in an exemplary embodiment of the present application.
[0030] Reference Figure 1 As shown, the system architecture may include a collection device 101 and a vehicle controller 102. The vehicle controller 102 may be at least one of a desktop graphics processing unit (GPU) computer, a GPU computing cluster, a neural network computer, etc. Relevant technicians may use the vehicle controller 102 to obtain the environmental information of the vehicle, and determine whether the vehicle is in a preset harsh environmental condition based on the environmental information. If the vehicle is in a preset harsh environmental condition, the side sliding door is controlled to accelerate and open. The collection device 101 is used to collect the environmental information of the vehicle. In this embodiment, the collection device 101 uses sensors, cameras and other devices to collect the environmental information of the vehicle and provide it to the vehicle controller 102 for processing.
[0031] Illustratively, after acquiring the environmental information of the vehicle from the acquisition device 101, the on-board controller 102 determines whether the vehicle is in a preset harsh environmental condition based on the environmental information. If the vehicle is in the preset harsh environmental condition, the side sliding door is controlled to accelerate and open. In the above process, the environmental information is used to determine whether the vehicle is in a preset harsh environmental condition. If the vehicle is in the preset harsh environmental condition, the side sliding door is controlled to accelerate and open, thereby improving the intelligence level of the entire vehicle, reducing the waiting time of the user in the preset harsh environmental condition, and improving the user's riding experience.
[0032] It should be noted that the side sliding door opening control method provided in the embodiment of the present application is generally executed by the vehicle-mounted controller 102 , and accordingly, the side sliding door opening control device is generally disposed in the vehicle-mounted controller 102 .
[0033] The implementation details of the technical solution of the embodiment of the present application are described in detail below:
[0034] Figure 2 is a flow chart of a side sliding door opening control method shown in an exemplary embodiment of the present application. The side sliding door opening control method can be executed by a computing processing device. The computing processing device can be Figure 1 The vehicle controller 102 shown in FIG. Figure 2 As shown, the side sliding door opening control method at least includes steps S210 to S230, which are described in detail as follows:
[0035] In step S210, the vehicle's environmental information is acquired.
[0036] In one embodiment of the present application, the environmental information includes at least one of the following: rainfall information outside the vehicle, real-time image information outside the vehicle, and weather warning information, wherein the rainfall information outside the vehicle includes rainfall amount, which is collected by a rain sensor, the image information is collected by a vehicle-mounted camera, and the weather warning information is collected by a vehicle-mounted networking terminal to a vehicle cloud platform or a cloud server.
[0037] In step S220 , based on the environmental information, it is determined whether the vehicle is in a preset severe environmental condition.
[0038] In this embodiment, when the environmental information only includes rainfall information outside the vehicle, it is determined whether the vehicle is in a preset severe environmental condition based on the rainfall in the rainfall information outside the vehicle; when the environmental information only includes real-time image information outside the vehicle and weather warning information, it is determined whether the vehicle is in a preset severe environmental condition based on the real-time image information outside the vehicle and the weather warning information; when the environmental information includes rainfall information outside the vehicle, real-time image information outside the vehicle and weather warning information, it is determined whether the vehicle is in a preset severe environmental condition only based on the rainfall in the rainfall information outside the vehicle, and a first judgment result is obtained; and, it is determined whether the vehicle is in a preset severe environmental condition only based on the real-time image information outside the vehicle and the weather warning information, and a second judgment result is obtained. If at least one of the first judgment result and the second judgment result is that the vehicle is in a preset severe environmental condition, it is determined that the vehicle is in a preset severe environmental condition.
[0039] In this embodiment, whether the vehicle is in a preset severe environmental condition is determined by using the rainfall information outside the vehicle, real-time image information outside the vehicle, and weather warning information. A variety of preset severe environmental conditions can be determined, including rainfall conditions, strong wind conditions, hail conditions, sandstorm conditions, blizzard conditions, etc.
[0040] In step S230 , if the vehicle is in a preset severe environment, the side sliding door is controlled to open at an accelerated speed.
[0041] In this embodiment, environmental information is used to determine whether the vehicle is in a preset harsh environmental condition. If the vehicle is in a preset harsh environmental condition, the side sliding door is controlled to open at an accelerated speed, thereby improving the intelligence level of the entire vehicle, reducing the waiting time of the user in the preset harsh environmental condition, and improving the user's riding experience. If the vehicle is not in the preset harsh environmental condition, the side sliding door is controlled to open at a uniform speed.
[0042] In one embodiment of the present application, if the preset severe environmental condition includes a rainfall condition, and the environmental information only includes rainfall information outside the vehicle, then based on the environmental information, the process of determining whether the vehicle is in the preset severe environmental condition includes:
[0043] If the rainfall in the rainfall information outside the vehicle is greater than a first preset rainfall threshold, the rainfall duration is counted and recorded as a first rainfall duration; if the first rainfall duration is greater than the first preset duration threshold, it is determined that the vehicle is in a rainy condition.
[0044] In this embodiment, the first preset rainfall threshold is set according to actual conditions and is not specifically limited here; the first preset duration threshold is set according to actual conditions and is not specifically limited here.
[0045] If the rainfall in the rainfall information outside the vehicle is less than or equal to a first preset rainfall threshold, it is determined that the vehicle is not in a rainy condition; or, if the first rainfall duration is less than or equal to a first preset duration threshold, it is determined that the vehicle is not in a rainy condition.
[0046] In this embodiment, the rainfall in the rainfall information outside the vehicle may be real-time rainfall, rainfall in the rainfall information outside the vehicle within a unit time, etc. The unit time may be set according to actual conditions and is not specifically limited here.
[0047] In one embodiment of the present application, the process of controlling the side sliding door to accelerate opening includes:
[0048] If the rainfall in the rainfall information outside the vehicle is greater than the first preset rainfall threshold and the rainfall in the rainfall information outside the vehicle is less than the second preset rainfall threshold, the rainfall duration is counted and recorded as the second rainfall duration; if the second rainfall duration is greater than the second preset duration threshold, the first preset speed value is used as the target speed value to control the side sliding door to accelerate and open.
[0049] In this embodiment, the first preset speed value is greater than the opening speed value set when the side sliding door is opened at a uniform speed; the first preset rainfall threshold is set according to actual conditions and is not specifically limited here. The second preset duration threshold is less than or equal to the first preset duration threshold.
[0050] If the rainfall in the rainfall information outside the vehicle is greater than or equal to the second preset rainfall threshold, the rainfall duration is counted and recorded as the third rainfall duration; if the third rainfall duration is greater than the third preset duration threshold, the side sliding door is controlled to accelerate and open with the second preset speed value as the target speed value. The third preset duration threshold is less than or equal to the second preset duration threshold.
[0051] In this embodiment, the second preset speed value is greater than the first preset speed value. When the rainfall in the rainfall information outside the vehicle is greater than or equal to the second preset rainfall threshold and the third rainfall duration is greater than the third preset duration threshold, the rainfall in the vehicle's environment is greater than when the rainfall in the rainfall information outside the vehicle is greater than the first preset rainfall threshold and the rainfall in the rainfall information outside the vehicle is less than the second preset rainfall threshold, and the second rainfall duration is greater than the second preset duration threshold, the rainfall in the vehicle's environment. Therefore, the side sliding door is opened at a faster opening speed, further reducing the user's waiting time in preset harsh environmental conditions and improving the user's riding experience.
[0052] In one embodiment of the present application, if the environmental information only includes real-time image information outside the vehicle and weather warning information, the process of determining whether the vehicle is in a preset severe environmental condition based on the environmental information includes:
[0053] The real-time image information outside the vehicle is input into the weather environment recognition model to obtain the weather environment recognition result.
[0054] In this embodiment, the weather environment recognition model is obtained by training a pre-constructed recognition model based on sample image information outside the vehicle, and the weather environment recognition results include strong wind environment, hail environment, sandstorm environment, and blizzard environment; the strong wind level is greater than the preset strong wind level.
[0055] In this embodiment, the calculation formula of the weather environment recognition result is as follows:
[0056]
[0057] in, represents the category corresponding to the weather environment recognition result (for example, blizzard conditions correspond to category 1, and sandstorm conditions correspond to category 2), c represents the sample category, and P i represents the feature information of the i-th real-time image captured by the camera, M represents the weather environment recognition model, P(c|P i , M) represents the probability distribution of the predicted output of the feature information of the i-th real-time image captured by the camera through the weather environment recognition model M.
[0058] In this embodiment, before training the pre-built recognition model based on the sample image information outside the vehicle, it is necessary to collect the environmental images outside the vehicle to obtain a sample data set, preprocess the environmental images, and add the preprocessed environmental images to the sample data set to form an enhanced sample data set, and select part or all of the images from the enhanced sample data set as sample images.
[0059] In this embodiment, some weather images publicly available on the Internet are obtained through crawler technology as an independent test set to evaluate the performance of the weather environment recognition model and ensure its generalization ability.
[0060] In this embodiment, the process of collecting the environmental images outside the vehicle includes: collecting the environmental images outside the vehicle through a camera, the environmental images including images under blizzard conditions, hail conditions, or sandstorm conditions, etc.; or, downloading images under blizzard conditions, hail conditions, or sandstorm conditions, etc. from a public data set library (for example, the data analysis online platform kaggle).
[0061] In this embodiment, the process of preprocessing the environment image includes: defining all enhancement operation types (for example, rotation, scaling, cropping, color jitter, etc.) and operation parameters corresponding to the enhancement operation types (for example, counterclockwise rotation of 3 degrees, scaling ratio of one third, cropping ratio of one quarter, quantized value of color jitter, etc.); randomly selecting an operation type and the operation parameters corresponding to the operation type to perform random transformation on the environment image to generate an enhanced environment image, and adding the enhanced environment image to the sample data set to form an enhanced sample data set.
[0062] In this embodiment, by performing enhancement operations on environmental images, the diversity of images in the sample data set is increased and overfitting in the training process of the pre-built recognition model is reduced, thereby improving the accuracy of the weather environment recognition model.
[0063] If the weather environment recognition result is consistent with the weather warning information, it is determined that the vehicle is in a preset severe environmental condition.
[0064] In this embodiment, the preset severe environmental conditions are strong wind conditions, hail conditions, sandstorm conditions, or heavy snow conditions.
[0065] In this embodiment, weather warning information includes warning types and warning levels. Warning types include strong wind warnings, hail warnings, sandstorm warnings, blizzard warnings, etc. Warning levels include blue warnings, yellow warnings, orange warnings, and red warnings, etc.
[0066] In this embodiment, if the weather environment recognition result is consistent with the warning type, it is determined that the vehicle is in a preset severe environment condition. For example, if the weather environment recognition result is a strong wind environment and the warning type is a strong wind warning, it is determined that the vehicle is in a strong wind condition.
[0067] If the weather environment recognition result is inconsistent with the weather warning information, it is determined that the vehicle is not in the preset severe environmental conditions.
[0068] In this embodiment, if the weather environment recognition result is inconsistent with the warning type, it is determined that the vehicle is not in a preset severe environmental condition. For example, if the weather environment recognition result is a blizzard environment and the warning type is a hail warning, it is determined that the vehicle is not in a blizzard condition.
[0069] In one embodiment of the present application, if the pre-built recognition model includes a convolution layer, a pooling layer, a fully connected layer, and a spatial attention layer embedded between the convolution layer and the pooling layer, the process of training the pre-built recognition model based on the off-vehicle sample image information includes:
[0070] The sample image information is input into the convolution layer to obtain the feature vector after residual calculation.
[0071] In this embodiment, the convolution layer includes a convolution module, a pooling module and a residual module, and the convolution layer is used to perform convolution operations, pooling operations and residual calculations on sample image information.
[0072] In this embodiment, the residual module calculates the residual of the input feature vector as follows:
[0073] F o1 =ReLU{BN{Conv (3×3) {ReLU(BN(Conv (3×3) (F i1 )))}}}+F i1 Formula (2)
[0074] Among them, F o1 Represents the feature vector output after calculation by the residual module, ReLU represents the activation function, BN represents the batch normalization operation, Conv (3×3) Represents the convolution operation, where the convolution kernel size is 3×3, F i1 Represents the input feature vector of the residual module.
[0075] In this embodiment, by setting the residual block (IdentitiyBlock), the deep convolutional neural network model can not only learn the complex mapping relationship between input and output, but also maintain the stability and efficiency of training when the network depth increases.
[0076] The feature vector after residual calculation is input into the spatial attention layer to obtain the spatial attention map, and the spatial attention map is multiplied element by element with the feature vector after residual calculation to obtain the weighted spatial feature vector.
[0077] In this embodiment, the spatial attention layer is used to extract the spatial attention weight in the feature vector after residual calculation; the spatial attention layer includes a spatial attention module, a residual module and a pooling module.
[0078] In this embodiment, the calculation formula of the spatial attention module includes:
[0079] M s =σ(Conv (3×3) (F cat )) Formula (3)
[0080] Among them, M s represents the spatial attention map, σ represents the Sigmoid activation function, Conv (3×3) Represents the convolution operation, the convolution kernel size is 3×3, F cat Represents a stacked vector.
[0081] In this example, the expression for stacking vectors is as follows:
[0082] F cat =Concatenate(AveragePooling(F), MaxPooling(F)) Formula (4)
[0083] Among them, F cat Represents a stacked vector, F represents the feature vector of the input spatial attention module, AveragePooling(F) represents the average pooling operation on the feature vector of the input spatial attention module, MaxPooling(F) represents the maximum pooling operation on the feature vector of the input spatial attention module, and Concatenate represents the concatenation of AveragePooling(F) and MaxPooling(F) in the channel dimension.
[0084] In this embodiment, the calculation formula of the weighted spatial feature vector is as follows:
[0085]
[0086] Among them, F M represents the weighted spatial feature vector, F represents the feature vector of the input spatial attention module, Represents element-by-element multiplication, M s Represents the spatial attention map.
[0087] In this embodiment, by multiplying the spatial attention map element by element with the feature vector after residual calculation, as the depth of the neural network increases, the spatial attention module (Spatial Attention Module) in each CBAM (Convolutional Block Attention Module) can adaptively enhance the important spatial regions of the feature vector and suppress unimportant regions, thereby improving the expression ability of the weather environment recognition model in the image spatial features.
[0088] The weighted spatial feature vector is input into the pooling layer to obtain the spatial feature vector after the pooling operation.
[0089] In this embodiment, the pooling operation of the pooling layer is an average pooling operation, and the spatial feature vector after the pooling operation is the spatial feature vector after the average pooling operation.
[0090] The spatial feature vector after the pooling operation is input into the fully connected layer to obtain the weather environment prediction probability.
[0091] In this embodiment, the fully connected layer integrates the spatial feature vectors after the average pooling operation, thereby reducing the influence of the feature position on the classification result and improving the robustness of the deep neural network model.
[0092] In this embodiment, the pre-built recognition model may be a deep convolutional neural network (DCNN) model, which includes a convolutional layer, a spatial attention layer, a pooling layer, and a fully connected layer.
[0093] Based on the weather environment prediction probability, calculate the cross entropy loss value.
[0094] In this embodiment, the calculation formula of the cross entropy loss value is:
[0095]
[0096] Among them, CrossEntropy represents the cross entropy loss value, y o,c Indicates the indicator symbol that the oth sample image corresponds to sample category c. When the oth sample image corresponds to sample category c, y o,c is 1, when the oth sample image does not correspond to sample category c, y o,c is 0, p (o,c) represents the predicted probability that the oth sample image belongs to sample category c, and C represents the total number of sample categories.
[0097] The number of iterations is adjusted according to the cross entropy loss value and the preset parameters, and the parameters in the pre-built recognition model are adjusted to obtain a recognition model after the parameters are adjusted, and the recognition model after the parameters are adjusted is used as a weather environment recognition model.
[0098] In this embodiment, the process of adjusting the parameters in the pre-constructed recognition model according to the cross entropy loss value and the preset parameter adjustment iteration number includes: (1) pre-setting a parameter adjustment iteration number threshold, and adjusting the parameters in the pre-constructed recognition model once using the cross entropy loss value as the first evaluation result to obtain a recognition model after the parameters are adjusted once, and the number of parameter adjustments is recorded as one; (2) inputting the sample image into the recognition model after the parameters are adjusted once to obtain a predicted probability after the adjustment once, and calculating the cross entropy loss value after the adjustment once based on the predicted probability after the adjustment once; (3) using the cross entropy loss value after the adjustment once as the second evaluation result to adjust the parameters of the recognition model after the parameters are adjusted once, and updating the number of parameter adjustments until the updated number of parameter adjustments reaches the parameter adjustment iteration number threshold, thereby obtaining a recognition model after the parameters are adjusted.
[0099] In this embodiment, the parameters in the pre-built recognition model are continuously adjusted to achieve the effect of optimizing the parameters in the pre-built recognition model, thereby gradually reducing the cross entropy loss value, thereby improving the accuracy of the recognition model after parameter adjustment in recognizing preset harsh environmental conditions, thereby enhancing the intelligence of the entire vehicle and the user experience.
[0100] In this embodiment, the recognition model after parameter adjustment can be integrated into the hardware chip of the vehicle image processor, and can also be integrated into the image processing hardware chip of the vehicle camera, and no specific limitation is made here.
[0101] In one embodiment of the present application, if the weather warning information includes a warning level and a warning type, the process of controlling the side sliding door to accelerate opening includes:
[0102] If the weather environment recognition result is consistent with the warning type and the warning level does not reach the preset warning level, the side sliding door is controlled to accelerate and open with the first preset speed value as the target speed value.
[0103] In this embodiment, the warning types include strong wind warning, hail warning, sandstorm warning, and blizzard warning; the first preset speed value is greater than the opening speed value set when the side sliding door is opened at a uniform speed.
[0104] In this embodiment, the preset warning level can be set according to actual conditions, for example, the preset warning level is set to red warning, wherein the level of blue warning is lower than the level of yellow warning, the level of yellow warning is lower than the level of orange warning, the level of orange warning is lower than the level of red warning, and the opening speed value can be set according to actual conditions, for example, the opening speed value is set to 100 mm / s.
[0105] If the weather environment recognition result is consistent with the warning type, and the warning level reaches the preset warning level, the side sliding door is controlled to accelerate and open with the second preset speed value as the target speed value.
[0106] In this embodiment, the second preset speed value is greater than the first preset speed value, and both the second preset speed value and the first preset speed value can be set according to actual conditions.
[0107] In one embodiment of the present application, after determining the target speed value, the side sliding door opening control method includes:
[0108] Get the current sliding speed of the sliding door.
[0109] In this embodiment, the position change of the side sliding door in a unit time is detected by a displacement sensor, and the ratio of the position change to the unit time is used as the current sliding speed value of the side sliding door.
[0110] Based on the target speed value and the current sliding speed value, the speed increment value of the sliding door is calculated.
[0111] In this embodiment, the speed increment value is calculated by an incremental calculation formula in PID (Proportional Integral Derivative) control.
[0112] The speed increment value is converted into the motor speed increment value, and the current speed of the motor is adjusted according to the motor speed increment value, so as to control the accelerated opening of the side sliding door through the adjusted motor speed.
[0113] In this embodiment, after the incremental value of the motor speed is obtained, the incremental value of the motor speed is used to adjust the duty cycle of the motor drive pulse width modulation, thereby adjusting the current speed of the motor.
[0114] In one embodiment of the present application, the process of calculating the speed increment value of the sliding door based on the target speed value and the current sliding speed value includes:
[0115] Get the sliding speed value of the sliding door at the previous moment and the sliding speed value at the moment before that.
[0116] In this embodiment, the displacement sensor is used to detect the position change of the side sliding door in different unit time, so as to determine the sliding speed value of the side sliding door at different moments. The previous moment refers to the moment before the previous moment.
[0117] Calculate the deviation between the target speed value and the current sliding speed value, and record it as the speed deviation at the current moment; calculate the deviation between the target speed value and the sliding speed value at the previous moment, and record it as the speed deviation at the previous moment; and calculate the deviation between the target speed value and the sliding speed value at the previous moment, and record it as the speed deviation at the previous moment.
[0118] In this embodiment, the calculation formula of the speed deviation at the current moment is as follows:
[0119] e k =V o -V r Formula (7)
[0120] Among them, e k represents the speed deviation at the current time k, V o Indicates the target speed value, V r Indicates the current sliding speed value.
[0121] The speed increment value is calculated based on the speed deviation at the current moment, the speed deviation at the previous moment, and the speed deviation at the moment before that.
[0122] In this embodiment, the calculation formula of the speed increment value is as follows:
[0123] Δu k =K p (e k -e k-1 )+K i *e k +K d (e k -2e k-1 +e k-2 ) Formula (8)
[0124] Among them, Δu k Indicates the speed increment value, K p represents the proportionality coefficient, e k represents the speed deviation at the current time k, e k-1 Indicates the speed deviation at the previous moment, K i Indicates the integral coefficient, K d represents the differential coefficient, e k-2 Indicates the speed deviation at the last moment.
[0125] In this embodiment, when the speed increment value is calculated by the incremental calculation formula in the PID control, there is no need to accumulate the speed deviation at the current moment k, which reduces the amount of calculation and ensures the rapid responsiveness and smoothness of the electric sliding door during rapid acceleration and deceleration, and is suitable for control scenarios that require rapid response.
[0126] In one embodiment of the present application, the process of controlling the side sliding door to accelerate opening includes:
[0127] Get the opening distance of the sliding door.
[0128] In this embodiment, the opening stroke of the side sliding door can be measured by a displacement sensor or other equipment.
[0129] If the opening stroke is less than the preset acceleration opening stroke upper limit value, the side sliding door continues to be controlled to accelerate opening, and the opening stroke is updated until the updated opening stroke is greater than or equal to the preset acceleration opening stroke upper limit value.
[0130] In this embodiment, the preset acceleration opening stroke upper limit value can be set according to actual conditions and is not specifically limited here.
[0131] If the opening stroke is greater than or equal to the preset acceleration opening stroke upper limit value, the opening speed value is used to control the side sliding door to open at a uniform speed until the side sliding door slides to the maximum opening stroke position; or, if the updated opening stroke is greater than or equal to the preset acceleration opening stroke upper limit value, the opening speed value is used to control the side sliding door to open at a uniform speed until the side sliding door slides to the maximum opening stroke position.
[0132] In this embodiment, if the updated opening stroke is greater than or equal to the preset acceleration opening stroke upper limit value, the side sliding door is controlled to open at a uniform speed based on the opening speed value, so that the side sliding door is smoother during the entire opening stroke, thereby improving the user experience.
[0133] In one embodiment of the present application, the process of controlling the side sliding door to accelerate opening includes:
[0134] Get the current distance between the edge of the sliding door and the obstacle.
[0135] In this embodiment, the current distance between the edge of the side sliding door and the obstacle can be collected by equipment such as an ultrasonic sensor. The ultrasonic sensor can be installed on the front edge of the side sliding door, the rear edge of the side sliding door, etc., and no specific limitation is made here.
[0136] In this embodiment, the calculation formula of the current distance is as follows:
[0137]
[0138] Among them, d represents the current distance, v represents the propagation speed of ultrasound in the air (usually about 340m / s), and Δt is the time from the emission to the reception of the ultrasonic pulse.
[0139] If the current distance is less than the preset safety distance, the side sliding door is controlled to stop opening until the current distance changes and the changed distance is greater than or equal to the preset safety distance.
[0140] In this embodiment, the preset safety distance is determined according to the installation position of the ultrasonic sensor on the sliding door. If the current distance is less than the preset safety distance, the motor is controlled to brake.
[0141] If the current distance is greater than or equal to the preset safety distance, the side sliding door continues to be controlled to open at an accelerated speed until the accelerated opening process of the side sliding door is completed; or, if the changed distance is greater than or equal to the preset safety distance, the side sliding door continues to be controlled to open at an accelerated speed until the accelerated opening process of the side sliding door is completed.
[0142] In this embodiment, an ultrasonic sensor is provided to detect the distance between the edge of the side sliding door and the obstacle, and when the current distance is less than a preset safety distance, the side sliding door is controlled to stop opening, thereby ensuring the safety of the side sliding door during accelerated opening.
[0143] In this embodiment, the accelerated opening process of the side sliding door starts from the beginning of the sliding of the side sliding door and ends when the opening stroke of the side sliding door is greater than or equal to the preset accelerated opening stroke upper limit value.
[0144] Figure 3 is a flowchart showing an exemplary embodiment of the present application for determining whether a vehicle is in a preset severe environmental condition based on environmental information, such as Figure 3As shown, based on environmental information, the process of determining whether the vehicle is in a preset severe environmental condition includes: (1) unlocking the vehicle through an intelligent remote device or a smart car key; (2) powering on the vehicle to wake up the on-board camera, rain and light sensor equipment and remotely obtain weather warning information on the vehicle cloud, and comprehensively judge the vehicle's surrounding environment and identify whether it is a preset severe environmental condition through the real-time image information outside the vehicle collected by the on-board camera, the rainfall outside the vehicle collected by the external rain sensor, and the weather warning information; (3) when the judgment result is a preset severe environmental condition, set the flag variable WeatherDoorSpeedSts to 0x01; when the judgment result is not a preset severe environmental condition, set the flag variable WeatherDoorSpeedSts to 0x02; (4) using a smart car key or a side sliding door switch Send a door opening signal; (5) Determine whether the side sliding door receives the door opening signal; (6) If the side sliding door does not receive the door opening signal, continue to monitor the door opening signal until the side sliding door receives the door opening signal; if the side sliding door receives the door opening signal, the side sliding door enters the open state; determine whether the flag variable WeatherDoorSpeedSts is 0x01; (7) If the flag variable WeatherDoorSpeedSts is 0x01, the side sliding door opens at an accelerated speed; if the flag variable WeatherDoorSpeedSts is 0x02, the side sliding door opens at a constant speed; (8) Determine whether the side sliding door has reached the maximum opening stroke position; (9) If the side sliding door has not reached the maximum opening stroke position, the side sliding door continues to be open; if the side sliding door has reached the maximum opening stroke position, the side sliding door stops opening and the opening process of the side sliding door ends.
[0145] Figure 4 1 is a flowchart showing an exemplary embodiment of the present application for determining whether a vehicle is in a preset severe environmental condition based only on the rainfall in the rainfall information outside the vehicle, or determining whether the vehicle is in a preset severe environmental condition based only on the real-time image information outside the vehicle and the weather warning information, as shown in FIG. Figure 4As shown, the process of determining whether the vehicle is in a preset severe environmental condition based only on the rainfall in the rainfall information outside the vehicle includes: (1) setting a first preset rainfall threshold; (2) setting a first preset duration threshold; (3) the optical rain sensor monitors the real-time rainfall around the vehicle; (4) judging whether the real-time rainfall is greater than the first preset rainfall threshold; if the real-time rainfall is less than or equal to the first preset rainfall threshold, continuing to monitor the real-time rainfall around the vehicle through the optical rain sensor until the real-time rainfall is greater than the first preset rainfall threshold; if the real-time rainfall is greater than the first preset rainfall threshold and the rainfall duration is less than or equal to the first preset duration threshold, setting the flag variable WeatherDoorSpeedSts to 0x02; if the real-time rainfall is greater than the first preset rainfall threshold and the rainfall duration is greater than the first preset duration threshold, setting the flag variable WeatherDoorSpeedSts to 0x01. The process of determining whether a vehicle is in a preset severe environmental condition based only on real-time image information outside the vehicle and weather warning information includes: (1) the on-board camera captures real-time image information outside the vehicle around the vehicle; (2) the real-time image information outside the vehicle is input into a weather environment recognition model to obtain a weather environment recognition result; (3) remotely obtain weather warning information from the cloud; (4) determine whether the weather environment recognition result is consistent with the weather warning information. If the weather environment recognition result is consistent with the weather warning information, set the flag variable WeatherDoorSpeedSts to 0x01; if the weather environment recognition result is inconsistent with the weather warning information, set the flag variable WeatherDoorSpeedSts to 0x02.
[0146] Figure 5 is a schematic diagram of a pre-built recognition model shown in an exemplary embodiment of the present application, such as Figure 5 As shown, the pre-built recognition model includes a convolutional layer, a spatial attention layer, a pooling layer and a fully connected layer, wherein the convolutional layer includes the first convolutional layer (Conv1), the second convolutional layer (Conv2_x), and the third convolutional layer (Conv3_x); the spatial attention layer includes the first spatial attention module (Spatial Attention Module1), the fourth convolutional layer (Conv4_x), the second spatial attention module (Spatial Attention Module2), the fifth convolutional layer (Conv4_x), and the third spatial attention module (Spatial Attention Module3).
[0147] exist Figure 5 The first spatial attention module arranged from left to right in is named the first spatial attention module, the second spatial attention module arranged from left to right is named the second spatial attention module, and the third spatial attention module arranged from left to right is named the third spatial attention module.
[0148] In this embodiment, the first convolution layer includes 3 convolution modules (Convolution+Normalization+ReLu) and 1 pooling module (Max Pooling), the second convolution layer includes 3 residual modules (Identity Block), and the third convolution layer includes 1 pooling module (MaxPooling) and 3 residual modules (Identity Block). After the sample image information is input into the convolution layer, 3 convolution operations, 1 maximum pooling operation, 3 residual calculations, 1 maximum pooling operation and 3 residual calculations are performed in sequence to obtain the feature vector after residual calculation.
[0149] In this embodiment, the calculation process of the convolution module includes a convolution operation (Convolution), a normalization operation (Normalization) and an activation operation (activation operation is performed through an activation function ReLu).
[0150] In this embodiment, the fourth convolutional layer includes 1 pooling module (Max Pooling) and 5 residual modules (Identity Block), and the fifth convolutional layer includes 1 pooling module (Max Pooling) and 2 residual modules (IdentityBlock).
[0151] In this embodiment, after the feature vector after residual calculation is input into the first spatial attention module, a first spatial attention map is obtained; and the first spatial attention map is multiplied element-by-element by the feature vector after residual calculation to obtain a first weighted spatial feature vector; the first weighted spatial feature vector is input into the fourth convolutional layer, and a pooling operation and five residual calculations are performed to obtain the feature vector after the first residual calculation; and the feature vector after the first residual calculation is input into the second spatial attention module to obtain a second spatial attention map; and the second spatial attention map is multiplied element-by-element by the feature vector after the first residual calculation to obtain a second weighted spatial feature vector, and the second weighted spatial feature vector is input into the fifth convolutional layer, and a pooling operation and two residual calculations are performed to obtain a second feature vector after residual calculation, and after the feature vector after the second residual calculation is input into the third spatial attention module, a third spatial attention map is obtained, and the third spatial attention map is multiplied element-by-element by the feature vector after the second residual calculation to obtain a weighted spatial feature vector.
[0152] In this embodiment, the first convolutional layer (Conv1), the second convolutional layer (Conv2_x), the third convolutional layer (Conv3_x), the fourth convolutional layer (Conv4_x), and the fifth convolutional layer (Conv4_x) are all network structures of the residual network (Residual Network, ResNet), which mainly include multiple convolution modules (Convolution+Normalization+ReLu), pooling modules (Max Pooling or Average Pooling) and residual blocks (Identitiy Block). After the full connection layer operation, C×1 data is output, where C is the total number of sample categories. Finally, the output data of the full connection layer is converted into prediction probability through the Softmax function.
[0153] In the present application, the preset harsh environmental conditions around are identified through cameras, rain and light sensors, and remote acquisition of weather warning information, and the speed curve of the electric side sliding door opening and closing is automatically adjusted. At this time, when the user approaches the vehicle and controls the door to open through the remote control key or remote device, the electric side sliding door can be accelerated to open, reducing the time the user is exposed to harsh environments, improving the intelligence of the entire vehicle, and enhancing the user's riding experience.
[0154] The following describes an embodiment of the device of the present application, which can be used to execute the side sliding door opening control method in the above embodiment of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the side sliding door opening control method in the above embodiment of the present application.
[0155] Figure 6 is a block diagram of a side sliding door opening control device shown in an exemplary embodiment of the present application. The device can be applied to Figure 1 The implementation environment shown is specifically configured in the vehicle controller 102. The device may also be applicable to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the device is applicable.
[0156] like Figure 6 As shown, the exemplary side sliding door opening control device includes:
[0157] The information acquisition module 601 is used to acquire the vehicle's environmental information.
[0158] The condition determination module 602 is used to determine whether the vehicle is in a preset severe environmental condition based on environmental information.
[0159] The opening control module 603 is used to control the side sliding door to open faster if the vehicle is in a preset severe environment.
[0160] In one embodiment of the present application, the environmental information includes at least one of the following: rainfall information outside the vehicle, real-time image information outside the vehicle, and weather warning information, wherein the rainfall information outside the vehicle includes rainfall amount, the rainfall amount in the rainfall information outside the vehicle is collected by a rain sensor, the image information is collected by a vehicle-mounted camera, and the weather warning information is collected by a vehicle-mounted networking terminal to a vehicle cloud platform or a cloud server.
[0161] In this embodiment, when the environmental information only includes rainfall information outside the vehicle, it is determined whether the vehicle is in a preset severe environmental condition based on the rainfall in the rainfall information outside the vehicle; when the environmental information only includes real-time image information outside the vehicle and weather warning information, it is determined whether the vehicle is in a preset severe environmental condition based on the real-time image information outside the vehicle and the weather warning information; when the environmental information includes the rainfall in the rainfall information outside the vehicle, the real-time image information outside the vehicle and the weather warning information, it is determined whether the vehicle is in a preset severe environmental condition only based on the rainfall in the rainfall information outside the vehicle, and a first judgment result is obtained; and, it is determined whether the vehicle is in a preset severe environmental condition only based on the real-time image information outside the vehicle and the weather warning information, and a second judgment result is obtained. If at least one of the first judgment result and the second judgment result is that the vehicle is in a preset severe environmental condition, it is determined that the vehicle is in a preset severe environmental condition.
[0162] In this embodiment, whether the vehicle is in a preset severe environmental condition is determined by using the rainfall information outside the vehicle, real-time image information outside the vehicle, and weather warning information. A variety of preset severe environmental conditions can be determined, including rainfall conditions, strong wind conditions, hail conditions, sandstorm conditions, blizzard conditions, etc.
[0163] In this embodiment, environmental information is used to determine whether the vehicle is in a preset harsh environmental condition. If the vehicle is in a preset harsh environmental condition, the side sliding door is controlled to accelerate opening, thereby improving the intelligence level of the entire vehicle, reducing the user's waiting time in the preset harsh environmental condition, and improving the user's riding experience.
[0164] It should be noted that the side sliding door opening control device provided in the above embodiment and the side sliding door opening control method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In actual application, the side sliding door opening control device provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0165] An embodiment of the present application also provides a vehicle-mounted device, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the vehicle-mounted device implements the side sliding door opening control method provided in the above-mentioned embodiments.
[0166] An embodiment of the present application further provides a vehicle, the vehicle comprising a side sliding door opening control device as provided in each of the above embodiments or a vehicle-mounted device as provided in each of the above embodiments.
[0167] Figure 7 The structure diagram of the computer system of the vehicle-mounted device suitable for implementing the embodiment of the present application is shown. It should be noted that: Figure 7 The computer system 700 of the vehicle-mounted device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0168] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 702 or the program loaded from the storage part 708 to the random access memory (RAM) 703, such as executing the method in the above embodiment. In the RAM 703, various programs and data required for system operation are also stored. The CPU 701, the ROM 702 and the RAM 703 are connected to each other through the bus 704. The input / output (I / O) interface 705 is also connected to the bus 704.
[0169] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed so that a computer program read therefrom is installed into the storage section 708 as needed.
[0170] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 709, and / or installed from a removable medium 711. When the computer program is executed by a central processing unit (CPU) 701, various functions defined in the system of the present application are executed.
[0171] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable medium or any combination of the above two. Computer-readable media can be, for example, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of computer-readable media can 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), a 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 the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0172] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order 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 or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0173] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0174] Another aspect of the present application provides a computer readable medium having a computer program stored thereon, which, when executed by a processor of a computer, causes the computer to execute the above-mentioned side sliding door opening control method. The computer readable medium may be included in the vehicle-mounted device described in the above embodiment, or may exist independently without being assembled into the vehicle-mounted device.
[0175] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable medium. A processor of a computer device reads the computer instruction from the computer-readable medium, and the processor executes the computer instruction, so that the computer device executes the side sliding door opening control method provided in each of the above embodiments.
[0176] The above embodiments are merely illustrative of the principles and effects of the present application, and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A side sliding door opening control method, characterized in that: The method comprises: Acquire environmental information of the vehicle; the environmental information includes at least one of the following: rainfall information outside the vehicle, real-time image information outside the vehicle, and weather warning information; Based on the environmental information, determining whether the vehicle is in a preset severe environmental condition; If the vehicle is in the preset severe environment condition, the side sliding door is controlled to open at an accelerated speed.
2. The side sliding door opening control method according to claim 1, characterized in that: If the preset severe environmental condition includes a rainfall condition, and the environmental information only includes the rainfall information outside the vehicle, then based on the environmental information, the process of determining whether the vehicle is in the preset severe environmental condition includes: If the rainfall in the rainfall information outside the vehicle is greater than a first preset rainfall threshold, the rainfall duration is counted and recorded as a first rainfall duration; if the first rainfall duration is greater than the first preset duration threshold, it is determined that the vehicle is in the rainfall condition; If the rainfall in the rainfall information outside the vehicle is less than or equal to the first preset rainfall threshold, it is determined that the vehicle is not in the rainfall condition; or, if the first rainfall duration is less than or equal to the first preset duration threshold, it is determined that the vehicle is not in the rainfall condition.
3. The side sliding door opening control method according to claim 2, characterized in that: The process of controlling the accelerated opening of the sliding door includes: If the rainfall in the rain information outside the vehicle is greater than the first preset rainfall threshold and the rainfall in the rain information outside the vehicle is less than the second preset rainfall threshold, the rainfall duration is counted and recorded as the second rainfall duration; if the second rainfall duration is greater than the second preset duration threshold, the side sliding door is controlled to accelerate opening with the first preset speed value as the target speed value; the first preset speed value is greater than the opening speed value set when the side sliding door is opened at a uniform speed; the second preset duration threshold is less than or equal to the first preset duration threshold; If the rainfall in the rainfall information outside the vehicle is greater than or equal to the second preset rainfall threshold, the rainfall duration is counted and recorded as the third rainfall duration; if the third rainfall duration is greater than the third preset duration threshold, the side sliding door is controlled to accelerate and open with the second preset speed value as the target speed value; the second preset speed value is greater than the first preset speed value; the third preset duration threshold is less than or equal to the second preset duration threshold.
4. The side sliding door opening control method according to claim 1, characterized in that: If the environmental information only includes real-time image information outside the vehicle and weather warning information, then based on the environmental information, the process of determining whether the vehicle is in a preset severe environmental condition includes: The real-time image information outside the vehicle is input into a weather environment recognition model to obtain a weather environment recognition result; the weather environment recognition model is obtained by training a pre-constructed recognition model based on the sample image information outside the vehicle, and the weather environment recognition result includes a strong wind environment, a hail environment, a sandstorm environment, and a blizzard environment; the level of the strong wind is greater than a preset strong wind level; If the weather environment recognition result is consistent with the weather warning information, it is determined that the vehicle is in the preset severe environmental condition, and the preset severe environmental condition is a strong wind condition, a hail condition, a sandstorm condition, or a blizzard condition; If the weather environment recognition result is inconsistent with the weather warning information, it is determined that the vehicle is not in the preset severe environmental condition.
5. The side sliding door opening control method according to claim 4, characterized in that: If the pre-built recognition model includes a convolution layer, a pooling layer, a fully connected layer, and a spatial attention layer embedded between the convolution layer and the pooling layer, the process of training the pre-built recognition model based on the off-vehicle sample image information includes: Inputting the sample image information into the convolution layer to obtain a feature vector after residual calculation, wherein the convolution layer is used to perform convolution operation, pooling operation and residual calculation on the sample image information; The feature vector after the residual calculation is input into the spatial attention layer to obtain a spatial attention map, and the spatial attention map is element-by-element multiplied with the feature vector after the residual calculation to obtain a weighted spatial feature vector; the spatial attention layer is used to extract the spatial attention weight in the feature vector after the residual calculation; Inputting the weighted spatial feature vector into the pooling layer to obtain the spatial feature vector after the pooling operation; Inputting the spatial feature vector after the pooling operation into the fully connected layer to obtain the weather environment prediction probability; Based on the weather environment prediction probability, calculating the cross entropy loss value; According to the cross entropy loss value and the preset parameter adjustment iteration number, the parameters in the pre-built recognition model are adjusted to obtain a recognition model after parameter adjustment, and the recognition model after parameter adjustment is used as the weather environment recognition model.
6. The side sliding door opening control method according to claim 4, characterized in that: If the weather warning information includes a warning level and a warning type, the process of controlling the side sliding door to open at an accelerated speed includes: If the weather environment recognition result is consistent with the warning type, and the warning level does not reach the preset warning level, the side sliding door is controlled to accelerate opening with a first preset speed value as a target speed value; the warning types include strong wind warning, hail warning, sandstorm warning, and blizzard warning; the first preset speed value is greater than the opening speed value set when the side sliding door is opened at a uniform speed; If the weather environment recognition result is consistent with the warning type and the warning level reaches the preset warning level, the side sliding door is controlled to accelerate and open with a second preset speed value as the target speed value; the second preset speed value is greater than the first preset speed value.
7. The side sliding door opening control method according to any one of claims 1 to 6, characterized in that: The process of controlling the side sliding door to open at an accelerated speed includes: Obtaining the opening stroke of the sliding door; If the opening stroke is less than the preset acceleration opening stroke upper limit value, continue to control the side sliding door to accelerate opening, and update the opening stroke until the updated opening stroke is greater than or equal to the preset acceleration opening stroke upper limit value; If the opening stroke is greater than or equal to the preset acceleration opening stroke upper limit value, the side sliding door is controlled to open at a uniform speed with the opening speed value until the side sliding door slides to the maximum opening stroke position; or, if the updated opening stroke is greater than or equal to the preset acceleration opening stroke upper limit value, the side sliding door is controlled to open at a uniform speed with the opening speed value until the side sliding door slides to the maximum opening stroke position.
8. The side sliding door opening control method according to any one of claims 1 to 6, characterized in that: The process of controlling the side sliding door to open at an accelerated speed includes: Obtaining the current distance between the edge of the sliding door and the obstacle; If the current distance is less than the preset safety distance, the side sliding door is controlled to stop opening until the current distance changes and the distance after the change is greater than or equal to the preset safety distance; If the current distance is greater than or equal to the preset safety distance, the side sliding door continues to be controlled to accelerate and open until the accelerated opening process of the side sliding door is completed; or, if the changed distance is greater than or equal to the preset safety distance, the side sliding door continues to be controlled to accelerate and open until the accelerated opening process of the side sliding door is completed.
9. A side sliding door opening control device, characterized in that: The device comprises: An information acquisition module, used to acquire environmental information of the vehicle; the environmental information includes at least one of the following: rainfall information outside the vehicle, real-time image information outside the vehicle, and weather warning information; A condition determination module, used for determining whether the vehicle is in a preset severe environmental condition based on the environmental information; The opening control module is used to control the side sliding door to open faster if the vehicle is in the preset severe environment condition.
10. A vehicle, characterized in that: The vehicle includes the side sliding door opening control device as claimed in claim 9.
