Vehicle window intelligent control method, device, electronic equipment and storage medium

The camera and neural network model in the vehicle detect the status of the windows and automatically control the closing of the windows. This solves the problem of property loss and water intrusion in the vehicle caused by users forgetting to close the windows, and improves the timeliness and safety of window control.

CN113780039BActive Publication Date: 2024-08-27SAIC MOTOR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010524992.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-10
Publication Date
2024-08-27
Estimated Expiration
2040-06-10

AI Technical Summary

Technical Problem

Existing remote control car window technology cannot effectively solve the problem of users forgetting to close the car window, resulting in the loss of valuables in the car or poor timeliness of water entering the car.

Method used

The vehicle window image is collected through the camera in the vehicle, and the preset neural network model is used to detect whether there are obstacles on the window and the position of the top of the glass, and automatically control the closing of the window with high timeliness to avoid property damage or water intrusion into the vehicle.

Benefits of technology

It realizes automatic detection and timely closing of the car window after the user locks the car, which improves the safety and waterproof performance of the car and avoids the problem of property loss and water intrusion in the car.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113780039B
    Figure CN113780039B
Patent Text Reader

Abstract

The window intelligent control method provided by the embodiment of the present application: after receiving the user's vehicle locking signal, the vehicle's power mode state, the switch state of the four doors and two lids, and the locked state are detected; if they are all closed, the vehicle's in-vehicle camera is used to collect the image of the window in the initial state; based on the image of the window in the initial state, the preset neural network model is used to determine whether there is an obstacle on the window and the position of the top of the window glass; when there is no obstacle on the window, the window is controlled to be closed based on the position of the top of the window glass. After receiving the user's vehicle locking signal, the above method can automatically collect the window image and calculate the position of the top of the window glass, and then control the window that is not closed to be closed, which is timely and can avoid the problem of property loss of the owner or water ingress into the car.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the popularization of automobiles, people have higher and higher requirements for the quality of all aspects of automobiles. As an indispensable part of every car, windows are also constantly improving.

[0003] In daily life, many users forget to close the car windows after locking the car electrically, which can easily lead to the theft of valuables in the car, and if it rains, water will also enter the car. In the related art, the main solution to the above problem is remote control of the car windows. Although the remote control of the car windows can remotely control the car windows, it requires the user to remember that he did not close the car windows. Obviously, this cannot completely solve the problem of users forgetting to close the car windows. Moreover, when the user remembers to close the car windows remotely, the valuables in the car may have been lost, and the timeliness is poor. Summary of the invention

[0004] In view of this, embodiments of the present invention provide a vehicle window intelligent control method, device, electronic device and storage medium to overcome the above-mentioned defects.

[0005] In a first aspect, an embodiment of the present application provides a vehicle window intelligent control method, comprising:

[0006] After receiving the user's vehicle locking signal, detect the vehicle's power mode status, four-door and two-lid switch status, and locking status;

[0007] If all windows are in the closed state, using the vehicle's in-vehicle camera to collect images of the windows in the initial state;

[0008] Based on the image of the vehicle window in the initial state, determining whether there is an obstacle on the vehicle window and the position of the top of the glass of the vehicle window by using a preset neural network model;

[0009] When there is no obstacle on the vehicle window, the vehicle window is controlled to be closed based on the position of the top of the glass of the vehicle window.

[0010] In one embodiment, the determining whether there is an obstacle on the vehicle window and the position of the top of the glass of the vehicle window based on the image of the vehicle window in the initial state by using a preset neural network model includes:

[0011] Preprocessing the image of the vehicle window in the initial state;

[0012] Using the preprocessed image as input of a binary classification convolutional neural network model, and calculating whether there is an obstacle on the vehicle window through the binary classification convolutional neural network model;

[0013] If it does not exist, the preprocessed image is used as the input of the position classification convolutional neural network model, and the position of the top of the glass of the vehicle window is calculated through the position classification convolutional neural network model.

[0014] In one embodiment, the height of the vehicle window is pre-divided into at least one section, each section corresponds to a position category, and each position category corresponds to a different time length for closing the vehicle window;

[0015] The controlling the window to be closed based on the position of the top end of the window glass comprises:

[0016] Determining a first position category of the vehicle window according to the height of the top of the glass of the vehicle window;

[0017] According to the first position category, the vehicle window is controlled to be closed within a time period corresponding to the first position category.

[0018] In one embodiment, after controlling the vehicle window to close within the time period corresponding to the first position category, the method further includes:

[0019] Counting the number of times the vehicle window is closed;

[0020] When the number of closing times of the vehicle window reaches a preset value, the camera controller of the vehicle is used to check whether the vehicle window is completely closed.

[0021] In one embodiment, the step of using a camera controller of the vehicle to verify whether the vehicle window is completely closed includes:

[0022] Using a camera controller of the vehicle, acquiring an image of the vehicle window after the closing action is performed;

[0023] determining a second position category of the vehicle window based on the image of the vehicle window after the closing action is performed;

[0024] If it is determined through the second category that the vehicle window is not completely closed, the vehicle window is controlled to be closed again.

[0025] In one embodiment, the method further comprises:

[0026] Taking the time when the window is controlled to be closed again as the starting time point, when it is detected that the motor current value of the window increases, the time length T between the starting time point and the time point when the motor current value of the window increases is calculated as the time length used to close the window again;

[0027] The time T used to close the window again, the image of the window after closing, and the second position category are sent to the cloud as parameters for optimizing the preset neural network model.

[0028] In a second aspect, an embodiment of the present application provides a vehicle window intelligent control device, comprising:

[0029] A detection module is used to detect the power mode status, the switch status of the four doors and two covers, and the locking status of the vehicle after receiving the user's vehicle locking signal;

[0030] A collection module, used for collecting images of the windows in an initial state by using an in-vehicle camera of the vehicle if all windows are in a closed state;

[0031] A position determination module, used to determine whether there is an obstacle on the vehicle window and the position of the top of the glass of the vehicle window based on the image of the vehicle window in the initial state through a preset neural network model;

[0032] The control module is used to control the window to close based on the position of the top of the glass of the window when there is no obstacle on the window.

[0033] In one embodiment, the location determination module includes:

[0034] A preprocessing unit, used for preprocessing the image of the vehicle window in the initial state;

[0035] A first computing unit is used to use the preprocessed image as an input of a binary classification convolutional neural network model, and to calculate whether there is an obstacle on the vehicle window through the binary classification convolutional neural network model;

[0036] The second calculation unit is used to use the preprocessed image as the input of the position classification convolutional neural network model if there is no obstacle on the vehicle window, and calculate the position of the top of the glass of the vehicle window through the position classification convolutional neural network model.

[0037] In one embodiment, the height of the vehicle window is pre-divided into at least one section, each section corresponds to a position category, and each position category corresponds to a different time length for closing the vehicle window;

[0038] The control module is specifically used to determine the first position category of the vehicle window according to the height of the top of the glass of the vehicle window; and according to the first position category, control the vehicle window to close within the time period corresponding to the first position category.

[0039] In one embodiment, the apparatus further comprises:

[0040] A statistics module, used for counting the number of times the vehicle window is closed;

[0041] The verification module is used to verify whether the window is completely closed using the camera controller of the vehicle when the number of closing times of the window reaches a preset value.

[0042] In one embodiment, the verification module includes:

[0043] An image acquisition unit, used to acquire an image of the vehicle window after the closing action is performed using a camera controller of the vehicle;

[0044] a position category determining unit, configured to determine a second position category of the vehicle window based on the image of the vehicle window after the closing action is performed;

[0045] The control unit is configured to control the vehicle window to be closed again if it is determined through the second category that the vehicle window is not completely closed.

[0046] In one embodiment, the apparatus further comprises:

[0047] a duration calculation module, for taking the time when the window is controlled to be closed again as a starting time point, and when detecting that the motor current value of the window increases, calculating the time T between the starting time point and the time point when the motor current value of the window increases, as the time taken to close the window again;

[0048] The sending module is used to send the time T used for closing the window again, the image of the window after the closing action, and the second position category to the cloud as parameters for optimizing the preset neural network model.

[0049] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor; and a memory configured to store computer-executable instructions, which, when executed, enable the processor to implement the method described in any embodiment of the present application.

[0050] In a fourth aspect, an embodiment of the present application provides a storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed, they implement the method described in any embodiment of the present application.

[0051] The window intelligent control method provided by the embodiment of the present application: after receiving the user's vehicle locking signal, the vehicle's power mode state, the switch state of the four doors and two lids, and the locked state are detected; if they are all closed, the vehicle's in-vehicle camera is used to collect the image of the window in the initial state; based on the image of the window in the initial state, the preset neural network model is used to determine whether there is an obstacle on the window and the position of the top of the window glass; when there is no obstacle on the window, the window is controlled to be closed based on the position of the top of the window glass. After receiving the user's vehicle locking signal, the above method can automatically collect the window image and calculate the position of the top of the window glass, and then control the window that is not closed to be closed, which is timely and can avoid the problem of property loss of the owner or water ingress into the car. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Hereinafter, some specific embodiments of the present application will be described in detail in an exemplary and non-limiting manner with reference to the accompanying drawings. The same reference numerals in the accompanying drawings indicate the same or similar components or parts. It should be understood by those skilled in the art that these drawings are not necessarily drawn to scale. In the accompanying drawings:

[0053] Figure 1 A schematic diagram of the structure of a vehicle window intelligent control system provided in an embodiment of the present application;

[0054] Figure 2 A flow chart of a vehicle window intelligent control method provided in an embodiment of the present application;

[0055] Figure 3 A schematic diagram of a binary classification convolutional neural network model provided in an embodiment of the present application;

[0056] Figure 4 A schematic diagram of a location classification convolutional neural network model provided in an embodiment of the present application;

[0057] Figure 5 Another flow chart of the vehicle window intelligent control method provided in the embodiment of the present application;

[0058] Figure 6-1 A schematic diagram of a vehicle window intelligent control device provided in an embodiment of the present application;

[0059] Figure 6-2 Another schematic diagram of the vehicle window intelligent control device provided in the embodiment of the present application;

[0060] Figure 6-3 Another schematic diagram of the vehicle window intelligent control device provided in an embodiment of the present application;

[0061] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0062] In order to have a clearer understanding of the technical features, purposes and effects of the embodiments of the present application, the specific implementation methods of the embodiments of the present application are now described with reference to the accompanying drawings.

[0063] The present application embodiment provides a vehicle window intelligent control system, such as Figure 1 As shown, the system includes: four-door and two-lid switches 11, a window motor relay 12, a window motor 13, a camera motor 14, a camera 15, a body controller 16, a power mode controller 17 and a camera controller 18, wherein the body controller 16, the camera controller 17, the power mode controller 18 and the telematics processor 19 communicate via a CAN network.

[0064] The window motor relay 12 is energized or disconnected under the control of the body controller 16, thereby realizing the connection or disconnection of the power supply of the window motor 13 and controlling the movement of the window glass. Optionally, the window motor relay 12 can be a pair, one is installed at each of the positive and negative power supply ends of the window motor 13, and the different energized states of the two window motor relays 12 can change the rotation direction of the window motor 13, thereby realizing the rise and fall of the window glass. The camera 15 is installed on the camera motor 14, and driven by the camera motor 14, it can realize image acquisition of each window separately. Each controller is connected and communicated through the CAN network. The power mode controller 17 can manage the power mode of the whole vehicle, send the power mode of the whole vehicle to the body controller 16 and the camera controller 17, the camera controller 17 can control the camera motor 14 and analyze and process the image collected by the camera 15, and send the analysis result to the body controller 16. The body controller 16 will decide whether to control the corresponding window motor relay 12 to be energized according to the received result to realize closing the window.

[0065] The embodiment of the present application provides a vehicle window intelligent control method, which is applied to the above-mentioned vehicle window intelligent control system, such as Figure 2 As shown, Figure 2 A flow chart of a vehicle window intelligent control method provided in an embodiment of the present application.

[0066] The method comprises the following steps:

[0067] Step 201: After receiving a vehicle lock signal from a user, detect the vehicle's power mode status, four-door and two-lid switch status, and lock status.

[0068] In this embodiment, after the user gets off the vehicle and locks the vehicle, the body controller 16 can receive a power mode status signal from the power mode controller 18. Optionally, the power mode signal can be represented by "ON" or "OFF", or by "0" or "1". The specific representation method can be set according to actual needs and is not limited in this embodiment. If the power mode status signal indicates that the vehicle is locked, the body controller 16 can detect the status of the four-door and two-cover switches, wherein the four-door and two-cover switches 11 may include a left front door switch, a right front door switch, a left rear door switch, a right rear door switch, a front hood switch and a tailgate switch. The body controller 16 detects whether the above switches are in an open or closed state respectively. If all are in a closed state, the body controller 16 can detect whether the vehicle is in an externally locked state.

[0069] It should be noted that there is no specific order for detecting the vehicle's power mode status, four-door and two-lid switch status, and locked status. The detection order can be flexibly adjusted according to actual conditions. If any of the states is not closed, the process ends and the body controller 16 will not control the windows to close.

[0070] Step 202: If all windows are in the closed state, use the vehicle's in-vehicle camera to collect images of the windows in the initial state.

[0071] In this embodiment, if the power mode state, the switch state of the four doors and two lids, and the locking state of the vehicle are all closed, an image of the vehicle window in the initial state can be collected.

[0072] Specifically, the camera motor 14 can be controlled by the camera controller 17, and the camera motor 14 rotates to drive the camera 15 to collect the image of the window in the initial state. Optionally, before collecting the image of the window, the image of the seat in the car can also be collected to determine whether there is anyone in the car.

[0073] Step 203: Based on the image of the vehicle window in the initial state, determine whether there is an obstacle on the vehicle window and the position of the top of the glass of the vehicle window through a preset neural network model.

[0074] In this embodiment, optionally, the preset neural network model can be a convolutional neural network model, which can take the collected image of the vehicle window in the initial state as input, and process the image through the convolutional neural network model in the camera controller 17, so as to determine whether there is an obstacle on the vehicle window and determine the position of the top of the glass of the vehicle window.

[0075] As an optional implementation, specifically, whether there is an obstacle on the vehicle window and the position of the top of the glass of the vehicle window can be determined by the following method:

[0076] Preprocess the image of the car window in the initial state.

[0077] In this embodiment, optionally, the image of the vehicle window in the initial state may be preprocessed to achieve the purpose of denoising and improving the computational efficiency.

[0078] The preprocessed image is used as the input of the binary classification convolutional neural network model, and the binary classification convolutional neural network model is used to calculate whether there is an obstacle on the car window.

[0079] In this embodiment, if Figure 3 As shown, Figure 3 This is a schematic diagram of a binary classification convolutional neural network model. The preprocessed image is subjected to feature extraction and filtering through convolution layer 1, pooling layer 1, convolution layer 2, and pooling layer 2. The image is three-dimensional data, which are two-dimensional pixel data and RGB channel data. The main function of the convolution layer is to extract features. The size of the convolution kernel can be 3×3. When working, the convolution kernel will scan and calculate the previous layer of data according to a specific step size. The specific formula is as follows:

[0080]

[0081]

[0082] Where b is the deviation, Z l and Z l+1 Represents the input and output of the l+1th layer of convolution, L l+1 Z l+1 The size of , Z(i,j) is the corresponding pixel, K is the number of channels, f, s0, and p are the convolution kernel size, convolution step size, and number of padding layers, respectively. After the above calculations are completed, an activation function is needed to assist in expressing complex features. The linear rectification function ReLU is used in the embodiment of the present application, which can be expressed as follows:

[0083]

[0084] The pooling layer can filter and select the extracted features. The calculation formula is as follows:

[0085]

[0086] Among them, p is the pre-specified parameter of the pooling layer, and the other parameters have the same meaning as the above convolutional layer parameters.

[0087] The input preprocessed image is extracted and filtered through the convolution layer and the pooling layer, and then the above features are nonlinearly combined through the fully connected layer 1 and the fully connected layer 2 to achieve the learning goal. The output result of the fully connected layer 2 is finally classified through the Softmax function. The Softmax function expression is as follows:

[0088]

[0089] where y i Represents the value of the final classification result, z i is the output result of the fully connected layer 2, and i ranges from 1 to n. Figure 3 There are two final classification results: with obstacles or without obstacles.

[0090] If there is no obstacle, the preprocessed image is used as the input of the position classification convolutional neural network model, and the position of the top of the car window glass is calculated through the position classification convolutional neural network model.

[0091] In this embodiment, when it is detected that there is no obstacle on the vehicle window glass, the position classification convolutional neural network model can be used to calculate the position of the top of the vehicle window glass.

[0092] Step 204: When there is no obstacle on the vehicle window, the vehicle window is controlled to close based on the position of the top of the glass of the vehicle window.

[0093] In this embodiment, optionally, the height of the vehicle window may be pre-divided into at least one section, each section corresponds to a position category, and each position category corresponds to a different time length for closing the vehicle window.

[0094] For example, the height of the car window can be divided into 8 sections. When the top of the car window glass is at the first section height, it means that the car window is fully open. When the top of the car window glass is at the eighth section height, it means that the car window is fully closed. The time taken to close the car window is different depending on the height of the top of the car window glass. It can be understood that when the top of the car window glass is at the first section height, the time taken to close the car window is the longest. When the top of the car window glass is at the eighth section height, the time taken to close the car window is 0.

[0095] In this embodiment, if Figure 4 , which is a schematic diagram of the position classification convolutional neural network model, where the structures of the convolutional layer, pooling layer, fully connected layer and Softmax are Figure 3 The weight parameters in can be consistent, but they need to be adjusted according to the training situation. When it is detected that there is no obstacle on the window glass, use Figure 4The position classification convolutional neural network model shown calculates the position of the top of the glass of the car window and then classifies it. The classification here can be understood as the above-mentioned segmentation. Specifically, the above-mentioned preprocessed image can be input, and the convolution layer 1, pooling layer 1, convolution layer 2, and pooling layer 2 in the position classification convolutional neural network model are used for feature extraction and filtering. The extracted and filtered features are regressed through the fully connected 1 and fully connected 2 layers, and finally the calculated results are passed through Softmax to obtain the results of eight classifications. If the classification result is 8, it means that the car window is already closed. If the classification result is 3, the car window can be controlled to close according to the preset time corresponding to the height.

[0096] The intelligent window control method provided by the present application can control the camera 15 to collect images of the front and rear seats after the user gets off the car and locks the car, and identify whether there is anyone in the seat. If no one is there, the camera controller 17 can continue to collect the window glass image, and then calculate and classify the position of the top of the window glass through the pre-trained neural network model. The camera controller 17 sends the calculated position category to the body controller 16 through the CAN network, and the body controller 16 controls the pull-in time of the window motor relay 12 according to the position category, thereby realizing the protection of the window motor, which is beneficial to improving the life of the battery and the window motor, wherein the pull-in time is pre-calculated and stored in the body controller 16. In addition, windows at different position heights take different times to close, which saves electricity, and can realize the timely automatic closing of the windows after the user locks the car.

[0097] In an embodiment of the present application, optionally, the camera controller 17 can check at a certain frequency whether the body controller 16 can control the window to be completely closed. If the window cannot be completely closed according to the calculated relay closure time, the telematics processor 19 will upload the sample to the cloud and add it to the training set for model training to improve the accuracy of the model.

[0098] like Figure 5 As shown, verification can be performed in the following ways:

[0099] Step 501: Count the number of times the car windows are closed.

[0100] In this embodiment, a counter may be used to count the number of times the window is closed. Each time a window is closed, the corresponding counter is incremented by 1.

[0101] Step 502: When the number of closing times of the vehicle window reaches a preset value, the vehicle camera controller 17 is used to check whether the vehicle window is completely closed.

[0102] In this embodiment, the preset threshold value can be flexibly set, for example, it can be 20, that is, after the window is closed 20 times, the vehicle camera controller 17 can be used to check whether the window is completely closed. When the counter count value reaches 20, it can be reset to restart the count.

[0103] Specifically, verification can be performed in the following ways:

[0104] The vehicle camera controller 17 is used to obtain an image of the vehicle window after the closing action; then based on the image of the vehicle window after the closing action, the second position category of the vehicle window is determined; if it is determined through the second category that the vehicle window is not completely closed, the vehicle window is controlled to close again.

[0105] Taking the time when the window is controlled to be closed again as the starting time point, when the motor current value of the window is detected to increase, the time length T between the starting time point and the time point when the motor current value of the window increases is calculated as the time length used to close the window again.

[0106] The time T taken to close the window again, the image of the window after closing, and the second position category are sent to the cloud as parameters for optimizing the preset neural network model.

[0107] In this embodiment, before the neural network model is trained, the image data can be preprocessed to achieve the purpose of denoising and improving the operation efficiency. The preprocessed image data is divided into a training set and a test set, where the training set can account for 75% and the test set can account for 25%. The training set is used for model training, and the test set is used to verify the accuracy of the trained model. When the accuracy of the neural network model of the embodiment of the present application on the test set is higher than 95%, it means that the training is completed. The required threshold of the accuracy rate can be set according to actual needs, and this embodiment does not limit it. The trained neural network model parameters are transferred and stored in the camera controller 17. When the user gets off the car and locks the car electrically, and the switches 11 of the four doors and two lids are all closed, the camera 15 sends the captured image to the camera controller 17. The camera controller 17 uses the binary classification convolutional neural network model parameters that have been transferred and stored locally to perform analysis and calculation, so as to determine whether there are obstacles on the window glass. When there are no obstacles on the window glass, the camera controller 17 calculates the position category of the top of the glass of each window through the position classification convolutional neural network model parameters. After receiving the position category of the top of the glass of each window, the body controller 16 controls the corresponding window motor relay 12 to be attracted for the first time according to these categories, and adds 1 to the counter. In response to the above operations, the camera controller 17 controls the camera 15 to check the final position of the window after movement every time the counter value reaches 20, and clears the counter to 0 to detect whether it has reached the fully closed position, that is, the position category is 8. If it has reached the fully closed position, no data will be uploaded through the telematics processor 19; if the window has not reached the fully closed position, the body controller 16 will control the window motor relay 12 to close the window for the second time. In this process, the current value of the window motor is monitored to determine whether the window is fully closed. When the current value increases, it indicates that the window is tightly closed. The time T when the window motor relay 12 is energized for the second time is calculated, and the time when the window is completely closed is t+T, where t is the time when the relay is energized for the first time. According to the time t+T, the category of the actual position of the window in the image can be determined by table lookup. Therefore, the image and position category are packaged into a sample, and the sample is transmitted to the training set in the cloud through the telematics processor 19. When the number of training sets in the cloud reaches a certain value, a new round of model training is started to optimize the parameters. When the parameter optimization is completed, it is transmitted to the camera controller 17 for storage through the telematics processor 19 and the CAN network, thereby realizing continuous optimization and updating of parameters, making the window intelligent control system more intelligent, accurate and energy-saving.

[0108] Based on the same inventive concept, the embodiment of the present application also provides a vehicle window intelligent control device, such as Figure 6-1 As shown, including:

[0109] The detection module 61 is used to detect the power mode state, the switch state of the four doors and two covers, and the locking state of the vehicle after receiving the user's vehicle locking signal;

[0110] A collection module 62, used for collecting images of the windows in an initial state by using an in-vehicle camera of the vehicle if all windows are in a closed state;

[0111] A position determination module 63, for determining whether there is an obstacle on the vehicle window and the position of the top of the vehicle window glass based on the image of the vehicle window in the initial state through a preset neural network model;

[0112] The control module 64 is used to control the window to close based on the position of the top of the window glass when there is no obstacle on the window.

[0113] In one embodiment, the location determination module 63 includes:

[0114] A preprocessing unit, used for preprocessing the image of the vehicle window in the initial state;

[0115] A first computing unit is used to use the preprocessed image as an input of a binary classification convolutional neural network model, and to calculate whether there is an obstacle on the vehicle window through the binary classification convolutional neural network model;

[0116] The second calculation unit is used to use the preprocessed image as the input of the position classification convolutional neural network model if there is no obstacle on the car window, and calculate the position of the top of the glass of the car window through the position classification convolutional neural network model.

[0117] In one embodiment, the height of the vehicle window is pre-divided into at least one section, each section corresponds to a position category, and each position category corresponds to a different time length for closing the vehicle window;

[0118] The control module 64 is specifically used to determine the first position category of the vehicle window according to the height of the top of the glass of the vehicle window; and according to the first position category, control the vehicle window to close within the time period corresponding to the first position category.

[0119] In one embodiment, Figure 6-2 As shown, the above device also includes:

[0120] A statistics module 65, used to count the number of times the vehicle window is closed;

[0121] The verification module 66 is used to verify whether the window is completely closed using the vehicle camera controller when the number of closing times of the window reaches a preset value.

[0122] In one embodiment, the verification module 66 includes:

[0123] An image acquisition unit, used to acquire an image of the vehicle window after the closing action is performed using a camera controller of the vehicle;

[0124] a position category determination unit, configured to determine a second position category of the vehicle window based on the image of the vehicle window after the closing action is performed;

[0125] The control unit is used for controlling the vehicle window to close again if it is determined through the second category that the vehicle window is not completely closed.

[0126] In one embodiment, Figure 6-3 As shown, the above device also includes:

[0127] The duration calculation module 67 is used to take the time when the window is controlled to be closed again as the starting time point, and when the motor current value of the window is detected to increase, calculate the time T between the starting time point and the time point when the motor current value of the window increases, which is the time taken to close the window again;

[0128] The sending module 68 is used to send the time T used for closing the window again, the image of the window after the closing action, and the second position category to the cloud as parameters for optimizing the preset neural network model.

[0129] Based on the vehicle window intelligent control method described in the above embodiments, the present application embodiment provides an electronic device for executing the vehicle window intelligent control method described in any of the above embodiments, such as Figure 7 As shown, the electronic device provided by the embodiment of the present application includes: a processor (processor) 402; and a memory (memory) 404 configured to store computer executable instructions, and the computer executable instructions, when executed, enable the processor 402 to implement the method described in any embodiment of the present application.

[0130] Optionally, the electronic device may further include a bus 406 and a communication interface (Communications Interface) 408 , and the processor 402 , the communication interface 408 , and the memory 404 communicate with each other via the communication bus 406 .

[0131] The communication interface 408 is used to communicate with other devices.

[0132] The processor 402 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the electronic device may be processors of the same type, such as one or more CPUs, or may be processors of different types, such as one or more CPUs and one or more ASICs.

[0133] The memory 404 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0134] Based on the vehicle window intelligent control method described in the above embodiments, an embodiment of the present application provides a storage medium, which stores computer executable instructions. When the computer executable instructions are executed, the method described in any embodiment of the present application is implemented.

[0135] The electronic device of the embodiment of the present application exists in various forms, including but not limited to:

[0136] (1) Mobile communication devices: These devices are characterized by their mobile communication functions and their main purpose is to provide voice and data communications. These terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.

[0137] (2) Ultra-mobile personal computer devices: These devices fall into the category of personal computers, have computing and processing capabilities, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, such as iPad.

[0138] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players (such as iPods), handheld game consoles, e-books, smart toys, and portable car navigation devices.

[0139] (4) Other electronic devices with data interaction functions.

[0140] Thus far, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims may be performed in a different order and still achieve the desired results. Additionally, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing may be advantageous.

[0141] The methods described in the above embodiments can be implemented by a computer chip or entity, or by a product with a certain function. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0142] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0143] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0144] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0145] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0146] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0147] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0148] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0149] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0150] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0151] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific transactions or implement specific abstract data types. The present application may also be practiced in distributed computing environments where transactions are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0152] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0153] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A vehicle window intelligent control method, characterized in that: The method comprises: After receiving the user's vehicle locking signal, detect the vehicle's power mode status, four-door and two-lid switch status, and locking status; If all windows are in the closed state, using the vehicle's in-vehicle camera to collect images of the windows in the initial state; Based on the image of the vehicle window in the initial state, determining whether there is an obstacle on the vehicle window and the position of the top of the glass of the vehicle window by using a preset neural network model; When there is no obstacle on the vehicle window, based on the position of the top of the glass of the vehicle window, controlling the vehicle window to close; The height of the vehicle window is pre-divided into at least one section, each section corresponds to a position category, and each position category corresponds to a different time length for closing the vehicle window; The controlling the window to be closed based on the position of the top end of the window glass comprises: Determining a first position category of the vehicle window according to the height of the top of the glass of the vehicle window; According to the first position category, the vehicle window is controlled to be closed within a time period corresponding to the first position category.

2. The method according to claim 1, characterized in that The determining whether there is an obstacle on the vehicle window and the position of the top of the glass of the vehicle window based on the image of the vehicle window in the initial state by using a preset neural network model includes: Preprocessing the image of the vehicle window in the initial state; Using the preprocessed image as input of a binary classification convolutional neural network model, and calculating whether there is an obstacle on the vehicle window through the binary classification convolutional neural network model; If it does not exist, the preprocessed image is used as the input of the position classification convolutional neural network model, and the position of the top of the glass of the vehicle window is calculated through the position classification convolutional neural network model.

3. The method according to claim 1, characterized in that: After controlling the vehicle window to close within the time period corresponding to the first position category, the method further includes: Counting the number of times the vehicle window is closed; When the number of closing times of the vehicle window reaches a preset value, the camera controller of the vehicle is used to check whether the vehicle window is completely closed.

4. The method according to claim 3, characterized in that The method of using the camera controller of the vehicle to verify whether the vehicle window is completely closed includes: Using a camera controller of the vehicle, acquiring an image of the vehicle window after the closing action is performed; determining a second position category of the vehicle window based on the image of the vehicle window after the closing action is performed; If it is determined through the second position category that the vehicle window is not completely closed, the vehicle window is controlled to be closed again.

5. The method according to claim 4, characterized in that The method further comprises: Taking the time when the window is controlled to be closed again as the starting time point, when it is detected that the motor current value of the window increases, the time length T between the starting time point and the time point when the motor current value of the window increases is calculated as the time length used to close the window again; The time T used to close the window again, the image of the window after closing, and the second position category are sent to the cloud as parameters for optimizing the preset neural network model.

6. A vehicle window intelligent control device, characterized in that: The device comprises: A detection module is used to detect the power mode status, the switch status of the four doors and two covers, and the locking status of the vehicle after receiving the user's vehicle locking signal; A collection module, used for collecting images of the windows in an initial state by using an in-vehicle camera of the vehicle if all windows are in a closed state; A position determination module, used to determine whether there is an obstacle on the vehicle window and the position of the top of the glass of the vehicle window based on the image of the vehicle window in the initial state through a preset neural network model; A control module, used for controlling the window to close based on the position of the top of the glass of the window when there is no obstacle on the window; The height of the vehicle window is pre-divided into at least one section, each section corresponds to a position category, and each position category corresponds to a different time length for closing the vehicle window; The control module is specifically used to determine the first position category of the vehicle window according to the height of the top of the glass of the vehicle window; and according to the first position category, control the vehicle window to close within the time period corresponding to the first position category.

7. The device according to claim 6, characterized in that The position determination module comprises: A preprocessing unit, used for preprocessing the image of the vehicle window in the initial state; A first computing unit is used to use the preprocessed image as an input of a binary classification convolutional neural network model, and to calculate whether there is an obstacle on the vehicle window through the binary classification convolutional neural network model; The second calculation unit is used to use the preprocessed image as the input of the position classification convolutional neural network model if there is no obstacle on the vehicle window, and calculate the position of the top of the glass of the vehicle window through the position classification convolutional neural network model.

8. The device according to claim 6, characterized in that The device also includes: A statistics module, used for counting the number of times the vehicle window is closed; The verification module is used to verify whether the window is completely closed using the camera controller of the vehicle when the number of closing times of the window reaches a preset value.

9. The device according to claim 8, characterized in that The verification module comprises: An image acquisition unit, used to acquire an image of the vehicle window after the closing action is performed using a camera controller of the vehicle; a position category determining unit, configured to determine a second position category of the vehicle window based on the image of the vehicle window after the closing action is performed; The control unit is configured to control the vehicle window to be closed again if it is determined through the second position category that the vehicle window is not completely closed.

10. The device according to claim 9, characterized in that The device also includes: a duration calculation module, for taking the time when the window is controlled to be closed again as a starting time point, and when detecting that the motor current value of the window increases, calculating the time T between the starting time point and the time point when the motor current value of the window increases, as the time taken to close the window again; The sending module is used to send the time T used for closing the window again, the image of the window after the closing action, and the second position category to the cloud as parameters for optimizing the preset neural network model.

11. An electronic device, characterized in that: include: processor; and a memory configured to store computer executable instructions, which, when executed, cause the processor to implement the method of any one of claims 1 to 5.

12. A storage medium, characterized in that: The storage medium stores computer executable instructions, and the computer executable instructions, when executed, implement the method of any one of claims 1 to 5.