Method and device for controlling vehicle, vehicle and storage medium
By setting the status information acquisition module in the vehicle, automatically judge and close the doors and windows, the problem of users forgetting to lock the doors and windows is solved, and safety and user experience are improved.
Patent Information
- Application Number
- CN202311083853.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-25
- Publication Date
- 2025-02-25
AI Technical Summary
When the vehicle is in a parking state and there is no user, users are prone to forget to lock the doors and windows, resulting in safety issues and a decline in user experience.
By setting the status information acquisition module in the vehicle, we can determine whether there are users in the vehicle, and automatically close and lock the doors and windows when there is no user. The status information may include image information and the weight carried by the seat, through which the presence of a user in the vehicle is determined.
It effectively avoids safety problems and property losses caused by users forgetting to lock doors and windows, and improves the user experience.
Smart Images

Figure CN119502831A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicles, and more specifically, to a method, a device, a vehicle and a storage medium for controlling a vehicle in the field of vehicles. Background Art
[0002] Currently, in the vehicle industry, when a vehicle is parked and there is no user in the vehicle, the user needs to manually lock the vehicle doors and windows, such as by remotely controlling the vehicle doors and windows to lock through a remote control key or a terminal device.
[0003] In the above scenario, when the user carelessly forgets to lock the car doors and windows, it may cause vehicle safety issues and user personal and property safety issues, resulting in a decrease in user experience.
[0004] Based on this, how to intelligently lock car doors and windows has become an urgent problem to be solved. Summary of the invention
[0005] The present application provides a method, device, vehicle and storage medium for controlling a vehicle, wherein the method can determine whether there is a user in the vehicle when the vehicle is in parking mode, and automatically close and lock the doors and windows when there is no user in the vehicle. This avoids vehicle safety problems caused by users carelessly forgetting to lock the doors and windows, ensures the property safety of users, and improves the user experience.
[0006] In a first aspect, a method for controlling a vehicle is provided, the method comprising: when the vehicle is in a parking mode, obtaining status information in the vehicle; judging whether there is a user in the vehicle based on the status information; and when there is no user in the vehicle, controlling the doors and windows of the vehicle to close and lock.
[0007] In the above technical solution, during the operation of the vehicle, the present application provides a method for controlling the vehicle, which can intelligently realize the automatic closing and locking of doors and windows. The specific process is: the vehicle can determine whether there is a user in the current vehicle through the status information in the vehicle. When there is no user in the vehicle, the vehicle can automatically close the doors and windows and lock the doors and windows. The above process of automatically closing and locking the doors and windows when there is no user in the vehicle can avoid property losses and vehicle safety problems caused by users forgetting to close the doors and windows after getting off the vehicle, thereby improving the user experience.
[0008] In combination with the first aspect, in some possible implementations, the status information includes image information and / or the weight borne by the seat, and judging whether there is a user in the vehicle based on the status information includes: when the image information does not include a user image, determining that there is no user in the vehicle; when the image information includes a user image, determining that there is a user in the vehicle; and / or, when the weight is less than or equal to a preset weight, determining that there is no user in the vehicle; when the weight is greater than the preset weight, determining that there is a user in the vehicle.
[0009] Optionally, the weight carried by the seat may be the weight carried by one seat, or the sum of the weight carried by all seats in the vehicle. Correspondingly, when the weight carried by the seat is the weight carried by one seat, the preset weight is the preset weight corresponding to one seat; when the weight carried by the seat is the sum of the weight carried by all seats, the preset weight is the sum of the preset weights corresponding to each seat.
[0010] In the above technical solution, two methods are proposed for determining whether there is a user in the vehicle. The first method is to determine through the image information in the vehicle. Specifically, if the image information does not include the user image, it is determined that there is no user in the vehicle. On the contrary, if the image information includes the user image, it means that there is a user in the vehicle. The second method is to determine through the weight carried by the seat. When the weight carried by the seat is less than or equal to the preset weight, it is determined that there is no user in the vehicle. When the weight is greater than the preset weight, it is determined that there is a user in the vehicle.
[0011] It should be understood that the image information is specifically collected by an image acquisition device (such as a camera) in the vehicle. If the image information does not include a user image, it means that the image acquisition device has not captured the user image, and there may not be a user in the vehicle at this time. Similarly, the weight carried by the seat can be collected by the seat sensor. If the weight collected by the seat sensor is small, it means that there is no user sitting on the seat. The above two methods of determining whether there is a user in the vehicle are flexible and intelligent, and can achieve a quick and accurate judgment of whether the user is in the vehicle.
[0012] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the status information includes image information, and when there is no user in the vehicle, the doors and windows of the vehicle are controlled to be closed and locked, including: when there is no user in the vehicle, if the image information does not include the user image within a preset time period, the doors and windows are controlled to be closed and locked, and the starting time of the preset time period is the current time; and / or, when there is no user in the vehicle, if the communication signal strength between the vehicle and the user's terminal device is less than the preset communication signal strength, the doors and windows are controlled to be closed and locked.
[0013] In the above technical solution, specifically, after the vehicle determines that there is no user in the car, in order to avoid the problem of misjudgment caused by the user just getting off the car for a short time, the present application can further combine the image information and the communication signal strength to determine whether the user is just getting off the car for a short time.
[0014] In one method, the current time can be used as the starting time to receive image information within a preset time period. If the image information within the preset time period does not include the user image, it means that the user is not getting off the bus temporarily.
[0015] In another way, the communication signal strength between the vehicle and the terminal device can be used to determine that when the communication signal strength is less than the preset communication signal strength, it means that the distance between the vehicle and the terminal device is far and the user has moved away from the vehicle. In this case, it also means that the user is not getting off the vehicle temporarily.
[0016] The above process can avoid the problem of reduced user experience caused by closing and locking the windows and doors if the user only gets off the vehicle for a short time, thereby achieving accurate judgment of the user getting off the vehicle and improving the accuracy of closing and locking the doors and windows.
[0017] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, when there is no user in the vehicle, the doors and windows of the vehicle are controlled to be closed and locked, including: when there is no user in the vehicle, if the temperature inside the vehicle is greater than or equal to a preset temperature and the communication distance between the vehicle and the key is greater than or equal to a preset distance, the doors and windows are controlled to be closed and locked.
[0018] In the above technical solution, a method for controlling the closing and locking of vehicle doors and windows is also proposed. When there is no user in the vehicle, if the temperature inside the vehicle is greater than or equal to the preset temperature, it means that the temperature inside the vehicle is high and the user may open the window to dissipate heat. In this scenario, in order to avoid locking by mistake, the present application can determine whether locking is required based on the communication distance between the vehicle and the key. Specifically, when the communication distance between the vehicle and the key is greater than the preset distance, it means that the user may be far away from the vehicle. At this time, the vehicle's doors and windows can be automatically locked to ensure the safety of the vehicle and the items inside the vehicle.
[0019] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the method also includes: when there is a user in the vehicle, obtaining the current weather type; when the weather type is any one of rainy, snowy, sandstorm and floating weather, controlling the vehicle window to close; when the weather type is sunny, obtaining the temperature inside the vehicle and the temperature outside the vehicle; when the temperature difference between the temperature inside the vehicle and the temperature outside the vehicle is greater than or equal to a preset difference, controlling the vehicle window to close.
[0020] In the above technical solution, when judging whether there is a user in the vehicle according to the status information, another situation is that there is a user in the vehicle. In this case, the vehicle windows can also be opened or closed according to the weather conditions. Specifically, when the weather conditions are bad, such as rainy days, snowy days, sandstorm days and floating days, the vehicle can intelligently control the windows to close; when the weather type is sunny, the opening and closing of the windows can be determined according to the temperature difference between the temperature inside the car and the temperature outside the car. When the temperature difference is greater than or equal to the preset difference, the windows are controlled to be closed. For example, in summer, when the air conditioner in the car is turned on, the temperature difference between the temperature outside the car and the temperature inside the car is greater than or equal to the preset difference, the windows can be controlled to be closed. For another example, in winter, when the air conditioner in the car is turned on, the temperature difference between the temperature outside the car and the temperature inside the car is greater than or equal to the preset difference, the windows can also be controlled to be closed.
[0021] The above process can realize intelligent control of the window status according to weather type and temperature, freeing the user's hands during the process of closing the window and improving the user experience.
[0022] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the method also includes: when the vehicle is in driving mode, in response to a door unlocking instruction of the vehicle, obtaining the vehicle speed of the vehicle; when the vehicle speed is greater than or equal to a preset speed, controlling the door to be locked; when the vehicle speed is less than the preset speed, controlling the door to be unlocked.
[0023] In the above technical solution, in addition to the parking mode, the vehicle can also correspond to the driving mode. The driving mode indicates that the vehicle is in driving state. When the vehicle is in the driving mode, when the vehicle receives the door unlocking command, the present application can decide whether to unlock the door according to the vehicle speed. When the vehicle speed is greater than or equal to the preset speed, it means that the vehicle speed is relatively high at this time. In this case, in order to ensure the personal safety of the users in the vehicle, even if the vehicle receives the door unlocking command, the door is not unlocked and the door continues to be locked. When the vehicle speed is less than the preset speed, it means that the vehicle speed is relatively low at this time. The vehicle receives the door unlocking command and can control the door to be unlocked.
[0024] Determining whether to unlock the door based on the vehicle speed can avoid dangerous accidents caused by unlocking the door when the vehicle speed is high, thereby ensuring the personal safety of the user and the safety of the vehicle.
[0025] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, before obtaining the vehicle speed in response to the door unlock instruction of the vehicle, the method also includes any one of the following: generating the door unlock instruction in response to the user's touch operation on the outer handle of the door; generating the door unlock instruction in response to the user's pressing operation on the switch of the outer handle; generating the door unlock instruction in response to the user's touch operation on the inner handle of the door.
[0026] In the above technical solution, several methods of generating door unlocking instructions are proposed. The user can touch the outer handle of the door or press the switch of the outer handle, and the vehicle generates the door unlocking instruction according to the user's touch operation or press operation. The user can also touch the inner handle of the door, and the vehicle generates the door unlocking instruction according to the user's touch operation. The generation process of the above several door unlocking instructions ensures the flexibility and diversity of door unlocking, making the process of user unlocking the door faster and more efficient.
[0027] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the method also includes: when the state of the battery of the vehicle switches from a low-power state to a high-power state, controlling the vehicle door to close and lock, the low-power state is used to indicate that the power of the battery is less than or equal to a preset power, and the high-power state is used to indicate that the power of the battery is greater than the preset power.
[0028] In the above technical solution, since the battery in the vehicle can provide power for the electronic components in the vehicle, the locking or unlocking of the vehicle door cannot be separated from the power supply support of the battery. Every time the battery is charged and reused, the vehicle needs to re-lock the door. The above process can avoid the problem that the battery is exhausted during the last time the user unlocked the door, and when the battery is charged and operates normally again, the door unlocking function fails due to the exhaustion of the battery, resulting in the user being unable to open the door.
[0029] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, after controlling the doors and windows of the vehicle to be closed and locked when there is no user in the vehicle, the method also includes: generating target prompt information based on the status of the doors and the status of the windows, the target prompt information being used to prompt the user that the doors and the windows are closed and locked; and sending the target prompt information to the user's terminal device.
[0030] In the above technical solution, after all the doors and windows of the vehicle are closed and locked, the vehicle can also generate target prompt information according to the status of the doors and windows. The target prompt information is sent to the user's terminal device to remind the user that the current doors and windows are closed and locked, thereby improving the user experience and enabling the user to understand the status of the doors and windows in a timely manner.
[0031] In summary, during the operation of the vehicle, the present application provides a method for controlling the vehicle, which can intelligently realize the automatic closing and locking of the doors and windows. The specific process is: the vehicle can determine whether there is a user in the current vehicle through the status information in the vehicle. When there is no user in the vehicle, the vehicle can automatically close the doors and windows and lock the doors and windows. The above process of automatically closing and locking the doors and windows when there is no user in the vehicle can avoid property losses and vehicle safety problems caused by users forgetting to close the doors and windows after getting off the vehicle, thereby improving the user experience.
[0032] Specifically, two methods are proposed for determining whether there is a user in the vehicle. The first method is to determine through the image information in the vehicle. Specifically, if the image information does not include the user's image, it is determined that there is no user in the vehicle. On the contrary, if the image information includes the user's image, it means that there is a user in the vehicle. The second method is to determine through the weight carried by the seat. When the weight carried by the seat is less than or equal to the preset weight, it is determined that there is no user in the vehicle. When the weight is greater than the preset weight, it is determined that there is a user in the vehicle.
[0033] It should be understood that the image information is specifically collected by an image acquisition device (such as a camera) in the vehicle. If the image information does not include a user image, it means that the image acquisition device has not captured the user image, and there may not be a user in the vehicle at this time. Similarly, the weight carried by the seat can be collected by the seat sensor. If the weight collected by the seat sensor is small, it means that there is no user sitting on the seat. The above two methods of determining whether there is a user in the vehicle are flexible and intelligent, and can achieve a quick and accurate judgment of whether the user is in the vehicle.
[0034] Specifically, after the vehicle determines that there is no user in the vehicle, in order to avoid the misjudgment problem caused by the user just getting off the vehicle for a short time, the present application can further combine the image information and the communication signal strength to determine whether the user is just getting off the vehicle for a short time.
[0035] In one method, the current time can be used as the starting time to receive image information within a preset time period. If the image information within the preset time period does not include the user image, it means that the user is not getting off the bus temporarily.
[0036] In another way, the communication signal strength between the vehicle and the terminal device can be used to determine that when the communication signal strength is less than the preset communication signal strength, it means that the distance between the vehicle and the terminal device is far and the user has moved away from the vehicle. In this case, it also means that the user is not getting off the vehicle temporarily.
[0037] The above process can avoid the problem of reduced user experience caused by closing and locking the windows and doors if the user only gets off the vehicle for a short time, thereby achieving accurate judgment of the user getting off the vehicle and improving the accuracy of closing and locking the doors and windows.
[0038] In addition, the present application also proposes a method for controlling the closing and locking of vehicle doors and windows. When there is no user in the vehicle, if the temperature inside the vehicle is greater than or equal to the preset temperature, it means that the temperature inside the vehicle is high. The user may open the window to dissipate heat. In this scenario, in order to avoid locking by mistake, the present application can determine whether locking is required based on the communication distance between the vehicle and the key. Specifically, when the communication distance between the vehicle and the key is greater than the preset distance, it means that the user may be far away from the vehicle. At this time, the vehicle's doors and windows can be automatically locked to ensure the safety of the vehicle and the items inside the vehicle.
[0039] When judging whether there is a user in the vehicle based on the status information, another situation is that there is a user in the vehicle. In this case, the vehicle windows can also be opened or closed according to the weather conditions. Specifically, when the weather conditions are bad, such as rainy days, snowy days, sandstorm days and floating days, the vehicle can intelligently control the windows to close; when the weather type is sunny, the opening and closing of the windows can be determined according to the temperature difference between the temperature inside the car and the temperature outside the car. When the temperature difference is greater than or equal to the preset difference, the windows are controlled to close. For example, in summer, when the air conditioner in the car is turned on, the temperature difference between the temperature outside the car and the temperature inside the car is greater than or equal to the preset difference, the windows can be controlled to close. For another example, in winter, when the air conditioner in the car is turned on, the temperature difference between the temperature outside the car and the temperature inside the car is greater than or equal to the preset difference, the windows can also be controlled to close.
[0040] The above process can realize intelligent control of the window status according to weather type and temperature, freeing the user's hands during the process of closing the window and improving the user experience.
[0041] In addition to the parking mode, the vehicle can also correspond to the driving mode. The driving mode indicates that the vehicle is in driving state. When the vehicle is in the driving mode, when the vehicle receives the door unlock command, the present application can decide whether to unlock the door according to the vehicle speed. When the vehicle speed is greater than or equal to the preset speed, it means that the vehicle speed is relatively high at this time. In this case, in order to ensure the personal safety of the users in the vehicle, even if the vehicle receives the door unlock command, the door will not be unlocked, and the door will continue to be locked. When the vehicle speed is less than the preset speed, it means that the vehicle speed is relatively low at this time, and the vehicle receives the door unlock command, and the door can be controlled to be unlocked.
[0042] Determining whether to unlock the door based on the vehicle speed can avoid dangerous accidents caused by unlocking the door when the vehicle speed is high, thereby ensuring the personal safety of the user and the safety of the vehicle.
[0043] In addition, the present application also proposes several ways to generate door unlocking instructions. The user can touch the outer handle of the door or press the switch of the outer handle, and the vehicle generates a door unlocking instruction according to the user's touch operation or press operation. The user can also touch the inner handle of the door, and the vehicle generates a door unlocking instruction according to the user's touch operation. The generation process of the above-mentioned door unlocking instructions ensures the flexibility and diversity of door unlocking, making the process of user unlocking the door faster and more efficient.
[0044] Since the battery in the vehicle can provide power for the electronic components in the vehicle, the locking or unlocking of the door cannot be separated from the power supply support of the battery. Every time the battery is charged and reused, the vehicle needs to re-lock the door. The above process can avoid the problem that the battery is exhausted during the last time the user unlocked the door, and when the battery is charged and operates normally again, the door unlocking function fails due to the exhausted battery, causing the user to be unable to open the door.
[0045] After the vehicle doors and windows are all closed and locked, the vehicle can also generate target prompt information according to the status of the doors and windows. The target prompt information is sent to the user's terminal device to remind the user that the current doors and windows are closed and locked, which improves the user experience and enables the user to understand the status of the doors and windows in a timely manner.
[0046] In a second aspect, a device for controlling a vehicle is provided, the device comprising: a first acquisition module, used to acquire status information in the vehicle when the vehicle is in a parking mode; a judgment module, used to judge whether there is a user in the vehicle based on the status information; and a first control module, used to control the doors and windows of the vehicle to close and lock when there is no user in the vehicle.
[0047] In combination with the second aspect, in some possible implementations, the status information includes image information and / or the weight borne by the seat, and the judgment module is specifically used to: determine that there is no user in the vehicle when the image information does not include a user image; determine that there is a user in the vehicle when the image information includes a user image; and / or determine that there is no user in the vehicle when the weight is less than or equal to a preset weight; and determine that there is a user in the vehicle when the weight is greater than the preset weight.
[0048] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the status information includes image information, and the first control module is specifically used to: when there is no user in the vehicle, if the image information does not include a user image within a preset time period, control the vehicle door and the window to be closed and locked, and the starting time of the preset time period is the current time; and / or, when there is no user in the vehicle, if the communication signal strength between the vehicle and the user's terminal device is less than the preset communication signal strength, control the vehicle door and the window to be closed and locked.
[0049] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the first control module is also used to: when there is no user in the vehicle, if the temperature inside the vehicle is greater than or equal to a preset temperature and the communication distance between the vehicle and the key is greater than or equal to a preset distance, control the door and the window to close and lock.
[0050] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the device also includes: a first processing module, used to obtain the current weather type when there is a user in the vehicle; control the vehicle window to be closed when the weather type is any one of rainy, snowy, sandstorm and floating weather; obtain the temperature inside the vehicle and the temperature outside the vehicle when the weather type is sunny; control the vehicle window to be closed when the temperature difference between the temperature inside the vehicle and the temperature outside the vehicle is greater than or equal to a preset difference.
[0051] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the device also includes: a second processing module, which is used to obtain the vehicle speed of the vehicle in response to a door unlocking instruction of the vehicle when the vehicle is in driving mode; when the vehicle speed is greater than or equal to a preset speed, control the door to be locked; when the vehicle speed is less than the preset speed, control the door to be unlocked.
[0052] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, before obtaining the vehicle speed in response to the door unlock instruction of the vehicle, the device also includes a generation module, which is used to perform any one of the following: generating the door unlock instruction in response to the user's touch operation on the outer handle of the door; generating the door unlock instruction in response to the user's pressing operation on the switch of the outer handle; generating the door unlock instruction in response to the user's touch operation on the inner handle of the door.
[0053] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the device also includes: a second control module, used to control the closing and locking of the vehicle door when the state of the battery of the vehicle switches from a low-power state to a high-power state, the low-power state is used to indicate that the power of the battery is less than or equal to a preset power, and the high-power state is used to indicate that the power of the battery is greater than the preset power.
[0054] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, when there is no user in the vehicle, after controlling the doors and windows of the vehicle to be closed and locked, the device also includes: a third processing module, used to generate target prompt information according to the status of the doors and the status of the windows, and the target prompt information is used to prompt the user that the doors and the windows are closed and locked; and the target prompt information is sent to the user's terminal device.
[0055] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the first aspect or any possible implementation of the first aspect.
[0056] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0057] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 is a schematic diagram of a vehicle parking scenario provided by an embodiment of the present application;
[0059] Figure 2 is a schematic flow chart of a method for controlling a vehicle provided in an embodiment of the present application;
[0060] Figure 3 is a schematic diagram of the structure of a device for controlling a vehicle provided in an embodiment of the present application;
[0061] Figure 4 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0063] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0064] Figure 1 It is a schematic diagram of a vehicle parking scenario provided in an embodiment of the present application.
[0065] For example, Figure 1 As shown, the vehicle 100 is parked on the road 101. At this time, the vehicle 100 is in a stationary state, which can also be called the "parking mode". When the vehicle 100 is in the parking mode, if all users in the vehicle 100 have gotten off, in order to ensure the safety of the vehicle 100, the doors 102 and windows 103 in the vehicle 100 need to be closed and locked to prevent other people with bad intentions from damaging the safety of the vehicle 100.
[0066] In one possible implementation, after the user in the vehicle 100 gets off the vehicle, when it is necessary to lock the doors 102 and windows 103 , the doors 102 and windows 103 can be manually locked through the remote control key of the vehicle 100 or an application (Application, App) on a terminal device.
[0067] For example, the remote control key of the vehicle 100 is usually provided with a “lock car” icon. After the user gets out of the vehicle, the user can lock the doors 102 and windows 103 with one click by pressing the lock car icon on the remote control key.
[0068] As another example, when a user uses the vehicle 100, a vehicle-related App is usually installed on the user's terminal device. After getting off the vehicle, the user can also click a "lock car" virtual button in the App display interface based on the App on the terminal device to lock the doors 102 and windows 103 with one click.
[0069] Similarly, the user can also use the remote control key or the App in the terminal device to unlock the door 102 and the window 103 with one click in the same way.
[0070] In the above process, the one-touch locking and unlocking process requires manual participation of the user. When there is no user in the vehicle, if the user forgets to lock the doors and windows, it may cause safety hazards to the vehicle. In more serious cases, when there are valuables in the vehicle, forgetting to lock the vehicle may also cause property losses to the user.
[0071] Based on the above problems, the embodiment of the present application proposes a method for controlling a vehicle, which can determine whether there is a user in the vehicle when the vehicle is in parking mode, and automatically close and lock the doors and windows when there is no user in the vehicle. This avoids vehicle safety problems caused by users carelessly forgetting to lock the doors and windows, ensures the property safety of users, and improves the user experience.
[0072] Figure 2 is a schematic flow chart of a method for controlling a vehicle provided in an embodiment of the present application. It should be understood that the method can be applied to Figure 1 The scenario shown is specifically applied to any electronic control unit (ECU, also called controller) in the vehicle 100. The following embodiment of the present application takes the vehicle body domain controller as an example to introduce in detail a method for controlling a vehicle provided in the embodiment of the present application.
[0073] For example, Figure 2 As shown, the method 200 includes:
[0074] 201 : When the vehicle is in a parking mode, obtain status information of the vehicle.
[0075] It should be understood that, in general, when the vehicle is in parking mode, it means that the vehicle is stationary. In this scenario, there are two possibilities. The first possibility is that all users have left the vehicle; the second possibility is that there are still users in the vehicle. For the first possibility that all users have left the vehicle, in order to ensure the safety of the vehicle and the property of the users, the vehicle doors and windows need to be closed and locked.
[0076] In one possible implementation, in order to achieve the above purpose, in an embodiment of the present application, the body domain controller needs to first obtain the status information of the current vehicle when the vehicle is in parking mode, so as to decide whether there is still a user in the vehicle based on the status information.
[0077] It should be understood that multiple ECUs in a vehicle can be connected through communication to achieve data transmission. When the body domain controller obtains status information, it can obtain it from other ECUs.
[0078] Optionally, the connection methods between multiple ECUs include controller area network (CAN) bus connection, local interconnect network (LIN) bus connection, Flex Ray bus connection, media oriented systems transport (MOST) bus connection, and Ethernet connection. Correspondingly, the communication methods between ECUs include CAN bus communication, LIN bus communication, Flex Ray bus communication, MOST bus communication, and Ethernet communication. The embodiments of this application are described using CAN communication as an example.
[0079] When multiple ECUs realize data transmission through CAN communication, they mainly transmit data in the form of CAN signals through the CAN bus.
[0080] Exemplarily, whether the vehicle is in parking mode can be determined by the gear position of the vehicle. Optionally, the gear position of the vehicle generally includes "Parking (P)", "Reverse (R)", "Neutral (N)" and "Drive (D)". Specifically, the body domain controller can obtain the gear position of the vehicle from the gear controller. When the gear position obtained by the body domain controller is "P gear" or "N gear", it can be confirmed that the vehicle is in parking mode at this time.
[0081] Optionally, the status information in the vehicle includes image information and / or the weight borne by the seat.
[0082] For example, a camera in a vehicle can obtain image information in the vehicle and send the image information to the body domain controller. For the weight carried by the seat, the body domain controller can obtain the weight carried by the seat collected by the seat sensor through the seat controller.
[0083] Optionally, the camera includes a camera in a driver monitoring system (Driver Monitor System, DMS) and a camera in an occupancy monitoring system (OMS). The embodiment of the present application does not limit the type and quantity of the camera.
[0084] Optionally, the weight borne by the seats may be the weight borne by each seat, or may be the sum of the weight borne by all seats, which is not limited in the embodiment of the present application.
[0085] 202. Determine whether there is a user in the vehicle according to the status information.
[0086] After acquiring the image information and / or the weight of the seat, the body domain controller can determine whether the user has left the vehicle when the vehicle is in parking mode based on these two types of information.
[0087] In a possible implementation, the body domain controller determines whether there is a user in the vehicle based on the status information, specifically including:
[0088] If the image information does not include the user image, determining that the user does not exist in the vehicle;
[0089] In the case where the image information includes an image of a user, determining that a user is present in the vehicle; and / or,
[0090] When the weight is within the preset weight, determining that there is no user in the vehicle;
[0091] When the weight is greater than a preset weight, it is determined that a user exists in the vehicle.
[0092] It should be understood that when there is a user in the vehicle, the image information captured by the camera may include a user image (that is, a facial image and / or body image of the user). In other words, when the image information does not include a user image, it means that there is no user in the vehicle.
[0093] It should also be understood that for the seat sensor, the weight collected by the seat sensor is completely different when there is a user sitting on the seat and when there is no user sitting on the seat. Therefore, the body domain controller can determine whether there is a user in the vehicle based on the weight collected by the seat sensor.
[0094] Exemplarily, for image information, the vehicle body domain controller can extract features from the image information to obtain image features. It is determined whether there is a user in the vehicle based on the image features. For example, it is determined whether the image features include skin texture features, expression features (such as smiling, crying, etc.), limb features (such as clenching fists, raising hands, raising legs, etc.) and other image features related to the user (person), so as to determine whether there is a user in the vehicle.
[0095] Specifically, if the image features do not include skin texture features, expression features, and limb features, the body domain controller determines that the vehicle does not include a user; when the image features include any one of skin texture features, expression features, and limb features, the body domain controller determines that the vehicle includes a user.
[0096] As another example, the weight of the user varies depending on the user's age. Based on this, the minimum weight of the user in the car scenario, that is, the preset weight, can be set preferentially. In one scenario, the preset weight is the minimum weight corresponding to each seat when the user is in the car. The body domain controller obtains the weight borne by each seat through each seat sensor, and compares the weight borne by each seat with the preset weight in turn to determine whether there is a user in the vehicle. In another scenario, the preset weight is the minimum weight corresponding to all seats. The body domain controller obtains the weight borne by each seat through each seat sensor, obtains the sum of the weight borne by all seats, and compares the sum of the weight borne by the seats with the preset weight to determine whether there is a user in the vehicle.
[0097] Specifically, when the weight carried by the seat is greater than a preset weight, the body domain controller determines that there is a user in the vehicle; when the weight carried by the seat is less than or equal to the preset weight, the body domain controller determines that there is no user in the vehicle.
[0098] As another example, when a heavy object is placed on the seat, judging whether there is a user in the vehicle based solely on the weight of the seat may result in misjudgment. Therefore, the body domain controller can combine both the image information and the weight of the seat to determine whether there is a user in the vehicle. For example, if the body domain controller determines that there is no user image in the image information, and the weight of the seat is greater than the preset weight, it means that there is no user sitting on the seat. In this case, the body domain controller determines that there is no user in the vehicle.
[0099] In the above technical solution, two methods are proposed for determining whether there is a user in the vehicle. The first method is to determine through the image information in the vehicle. Specifically, if the image information does not include the user image, it is determined that there is no user in the vehicle. On the contrary, if the image information includes the user image, it means that there is a user in the vehicle. The second method is to determine through the weight carried by the seat. When the weight carried by the seat is less than or equal to the preset weight, it is determined that there is no user in the vehicle. When the weight is greater than the preset weight, it is determined that there is a user in the vehicle.
[0100] It should be understood that the image information is specifically collected by an image acquisition device (such as a camera) in the vehicle. If the image information does not include a user image, it means that the image acquisition device has not captured the user image, and there may not be a user in the vehicle at this time. Similarly, the weight carried by the seat can be collected by the seat sensor. If the weight collected by the seat sensor is small, it means that there is no user sitting on the seat. The above two methods of determining whether there is a user in the vehicle are flexible and intelligent, and can achieve a quick and accurate judgment of whether the user is in the vehicle.
[0101] 203 , when there is no user in the vehicle, control the doors and windows of the vehicle to close and lock.
[0102] In step 202, if the body domain controller determines that there is no user in the vehicle through image information and / or the weight of the seat, it means that the user has gotten off the vehicle. The body domain controller can control the doors and windows of the vehicle to close and lock.
[0103] It should be understood that the body domain controller determines that there is no user in the vehicle based on the image information and / or the weight of the seat, and it is possible that the user has only left the vehicle for a short time. In this case, if the body domain controller controls the doors and windows to close and lock, the user experience may be reduced.
[0104] Therefore, when there is no user in the vehicle, the body domain controller needs to further determine whether the user is temporarily away from the vehicle when controlling the closing and locking of the doors and windows.
[0105] In a possible implementation, when the body domain controller determines that there is no user in the vehicle and controls the doors and windows to close and lock, specifically includes:
[0106] In the case where there is no user in the vehicle, if the image information within the preset time period does not include the user image, the vehicle doors and windows are controlled to be closed and locked, and the starting time of the preset time period is the current time; and / or,
[0107] When there is no user in the vehicle, if the communication signal strength between the vehicle and the user's terminal device is less than the preset communication signal strength, the doors and windows are controlled to be closed and locked.
[0108] It should be understood that the preset period can be understood as the time difference that the user may spend from the last time he got off the car to the current time he gets on the car in a scenario where he leaves the car for a short period of time. Based on this time difference, a preset period can be set to determine whether the user is temporarily away from the car. Specifically, taking the time when the user got off the car for the last time as the starting moment, when the user gets on the car again within the preset period, the image information captured by the camera within the preset period will include the user's image, indicating that the user only left the car for a short period of time. If the user does not get on the car again within the preset period, the image information captured by the camera within the preset period will not include the user's image, indicating that the user has left the vehicle.
[0109] For example, assuming that the preset time period is 20 seconds, the body domain controller determines that there is no user in the vehicle based on the current state information, and that the image information received within 20 seconds does not contain the user image. The body domain controller determines that the user is not temporarily away from the vehicle.
[0110] It should be understood that, generally, the user's terminal device can communicate with the vehicle through a communication connection.
[0111] Optionally, the user's terminal device can be connected to the Wi-Fi module in the vehicle through a Wireless Fidelity (Wi-Fi) module to achieve Wi-Fi communication. Alternatively, the user's terminal device can be connected to the Bluetooth module in the vehicle through a Bluetooth module to achieve Bluetooth communication. Alternatively, the user's terminal device can be connected to the mobile communication module in the vehicle through a mobile communication module to achieve mobile communication.
[0112] The above communication methods are only illustrative examples, and all connection methods between devices can be applied in the embodiments of the present application.
[0113] For example, take Bluetooth communication as an example. If the communication signal strength of the Bluetooth module obtained by the body domain controller is less than the preset communication signal strength (for example, 10dBm), it means that the terminal device is far away from the vehicle and the user has left the vehicle. The body domain controller determines that the user is not temporarily away from the vehicle.
[0114] The above two methods of determining whether the user temporarily leaves the vehicle can also be combined. For example, if the image information received within 20 seconds does not contain the user image, and the communication signal strength between the vehicle and the terminal device is less than the preset communication signal strength, it means that the user is not temporarily away from the vehicle. If the image information received within 20 seconds does not contain the user image, and the communication signal strength between the vehicle and the terminal device is greater than the preset communication signal strength, it means that the user is close to the vehicle at this time and may be temporarily away from the vehicle.
[0115] When the vehicle body domain controller determines that the user is not leaving the vehicle for a short time through any one of the above methods or a combination of the above two methods, it can control the doors and windows to close and lock. Among them, locking can also be understood as locking.
[0116] In another possible implementation, when there is no user in the vehicle, the doors and windows can be controlled to be closed and locked by the communication distance between the vehicle and the key, including:
[0117] When there is no user in the vehicle, if the temperature inside the vehicle is greater than or equal to a preset temperature and the communication distance between the vehicle and the key is greater than or equal to a preset distance, the doors and windows are controlled to be closed and locked.
[0118] In one scenario, the temperature inside the car is high, and in order to lower the temperature inside the car, the user can open the windows and doors to quickly dissipate heat. In this case, in order to avoid accidental closing of the windows and doors, the distance between the vehicle and the key can be used to determine whether the windows and doors need to be closed.
[0119] Optionally, the key may be a remote control key or a virtual key (eg, a Bluetooth key). The embodiment of the present application does not specifically limit the type of key.
[0120] Exemplarily, the key and the vehicle communicate mainly in the form of wireless signals. The preset distance may be the minimum distance at which the vehicle can receive the wireless signal sent by the key. The vehicle may continuously send wireless signals to determine the distance between the vehicle and the key based on whether a reply signal from the key can be received.
[0121] When the distance between the vehicle and the key is greater than the preset distance, it means that the user is far away from the vehicle. In this case, in order to ensure the safety of the vehicle, the doors and windows can be closed and locked. On the contrary, when the distance between the vehicle and the key is less than or equal to the preset distance, it means that the user is close to the vehicle, and the windows and doors can continue to be opened to quickly dissipate heat.
[0122] In the above technical solution, a method for controlling the closing and locking of vehicle doors and windows is also proposed. When there is no user in the vehicle, if the temperature inside the vehicle is greater than or equal to the preset temperature, it means that the temperature inside the vehicle is high. The user may open the window to dissipate heat. In this scenario, in order to avoid locking by mistake, the present application can determine whether locking is required based on the communication distance between the vehicle and the key. Specifically, when the communication distance between the vehicle and the key is greater than the preset distance, it means that the user may be far away from the vehicle. At this time, the vehicle's doors and windows can be automatically locked to ensure the safety of the vehicle and the items inside the vehicle.
[0123] Specifically, when the doors and windows need to be closed and locked, the body domain controller can control the doors to be closed and locked through the door controller. The body domain controller can control the windows to be closed and locked through the window controller.
[0124] Optionally, the four doors of the vehicle can be controlled by one door controller or by four door controllers. The four windows of the vehicle can be controlled by one window controller or by four window controllers. This embodiment of the present application does not limit this. The following embodiment of the present application describes the control process of the doors and windows by assuming that the four doors are controlled by one door controller and the four windows are controlled by one window controller.
[0125] For example, the body domain controller can generate a door control instruction according to the state of the door, and send the door control instruction to the door controller. In response to the door control instruction, the door controller first determines whether the door is closed through the door control switch. When the door is closed, the door controller controls the door to lock; when the door is not closed, the door controller first controls the door to close automatically, and then controls the door to lock.
[0126] It should be understood that the locking process of the vehicle door in the embodiment of the present application is mainly achieved by the pawl and ratchet connected to the vehicle door. Specifically, during the locking process of the vehicle door, the vehicle door controller can control the pawl to be in the disconnected state, the door state switch to be in the disconnected state, and the ratchet switch to be in the disconnected state, thereby completing the locking process of the vehicle door.
[0127] Similarly, the body domain controller can generate a window control instruction based on the state of the window and send the window control instruction to the window controller. In response to the window control instruction, the window controller first determines whether the window is closed (that is, whether the window is raised) through the window control switch. When the window is closed, the window controller controls the window to lock; when the window is not closed, the window controller first controls the window to automatically close (that is, automatically raise), and then controls the window to lock.
[0128] In the above technical solution, specifically, after the vehicle determines that there is no user in the car, in order to avoid the problem of misjudgment caused by the user just getting off the car for a short time, the present application can further combine the image information and the communication signal strength to determine whether the user is just getting off the car for a short time.
[0129] In one method, the current time can be used as the starting time to receive image information within a preset time period. If the image information within the preset time period does not include the user image, it means that the user is not getting off the bus temporarily.
[0130] In another way, the communication signal strength between the vehicle and the terminal device can be used to determine that when the communication signal strength is less than the preset communication signal strength, it means that the distance between the vehicle and the terminal device is far and the user has moved away from the vehicle. In this case, it also means that the user is not getting off the vehicle temporarily.
[0131] The above process can avoid the problem of reduced user experience caused by closing and locking the windows and doors if the user only gets off the vehicle for a short time, thereby achieving accurate judgment of the user getting off the vehicle and improving the accuracy of closing and locking the doors and windows.
[0132] Furthermore, after the vehicle door and window are closed and locked respectively through the door controller and the window controller, the vehicle body domain controller can also remind the user that the current door and window are closed and locked, including:
[0133] Generate target prompt information according to the state of the door and the window, and the target prompt information is used to prompt the user that the door and the window are closed and locked;
[0134] Send the target prompt information to the user's terminal device.
[0135] Exemplarily, after the doors and windows are closed and locked, the body domain controller may first generate target prompt information according to the status of the doors and windows (closed and locked).
[0136] Furthermore, the body domain controller can obtain the phone number corresponding to the VIN from the vehicle telematics service provider (TSP) through the vehicle identification number (Vehicle Identification Number, VIN) and the vehicle's telematics box (Telematics Box, T-Box, also known as a remote communication module, on-board communication terminal). Based on the phone number, the target prompt information is sent to the user's terminal device through the TSP and T-Box. Alternatively, the body domain controller sends the target prompt information to the user's terminal device in the form of an App notification message through the T-Box and TSP.
[0137] In the above technical solution, after all the doors and windows of the vehicle are closed and locked, the vehicle can also generate target prompt information according to the status of the doors and windows. The target prompt information is sent to the user's terminal device to remind the user that the current doors and windows are closed and locked, thereby improving the user experience and enabling the user to understand the status of the doors and windows in a timely manner.
[0138] In another possible implementation, if the vehicle is in parking mode, the body domain controller determines that there is a user in the vehicle. In this case, the body domain controller can control the vehicle according to the actual situation. Specifically, it includes:
[0139] When there is a user in the vehicle, obtain the current weather type;
[0140] In the case of any of the weather types of rainy day, snowy day, sandstorm day and floating day, the car windows are controlled to close;
[0141] When the weather type is sunny, obtain the temperature inside the vehicle and the temperature outside the vehicle;
[0142] When the temperature difference between the temperature inside the vehicle and the temperature outside the vehicle is greater than or equal to a preset difference, the vehicle windows are controlled to close.
[0143] It should be understood that in parking mode, if there is a user in the vehicle, on the one hand, the user can manually control the state of the doors and windows according to actual needs. On the other hand, the body domain controller can also realize automatic control of the vehicle according to the current weather type, temperature and other environmental information.
[0144] For example, in parking mode, when there is a user in the vehicle, the body domain controller can obtain the current weather type from the third-party weather platform through the T-Box. Alternatively, when the multimedia host displays the current weather information, the body domain controller can also obtain the current weather type through the multimedia controller.
[0145] When the weather type is rainy, snowy, sandstorm or floating, in order to avoid pollution of the vehicle interior environment, the body domain controller can send a window closing command to the window controller, so that the window controller controls the window to close according to the window closing command.
[0146] When the weather type is sunny, the body domain controller can obtain the temperature inside and outside the car through the temperature sensor. Assume that the preset difference is 10°C.
[0147] In one case, assuming that the current season is summer and the weather type is sunny, if the body domain controller obtains the outside temperature of 38°C and the inside temperature of 26°C through the temperature sensor, the temperature difference between the two is 12°C, which is greater than the preset difference of 10°C. In order to ensure the comfort of the user and to ensure that the inside of the car can maintain a cool environment, the body domain controller can send a window closing command to the window controller, so that the window controller controls the window to close according to the window closing command.
[0148] In another case, assuming that the current season is winter and the weather type is sunny, if the body domain controller obtains the outside temperature of 10°C and the inside temperature of 26°C through the temperature sensor, the temperature difference between the two is 16°C, which is greater than the preset difference of 10°C. In order to ensure the comfort of the user and to ensure that the car can maintain a warm environment, the body domain controller can send a window closing command to the window controller, so that the window controller controls the window to close according to the window closing command.
[0149] In the above technical solution, when judging whether there is a user in the vehicle according to the status information, another situation is that there is a user in the vehicle. In this case, the vehicle windows can also be opened or closed according to the weather conditions. Specifically, when the weather conditions are bad, such as rainy days, snowy days, sandstorm days and floating days, the vehicle can intelligently control the windows to close; when the weather type is sunny, the opening and closing of the windows can be determined according to the temperature difference between the temperature inside the car and the temperature outside the car. When the temperature difference is greater than or equal to the preset difference, the windows are controlled to be closed. For example, in summer, when the air conditioner in the car is turned on, the temperature difference between the temperature outside the car and the temperature inside the car is greater than or equal to the preset difference, the windows can be controlled to be closed. For another example, in winter, when the air conditioner in the car is turned on, the temperature difference between the temperature outside the car and the temperature inside the car is greater than or equal to the preset difference, the windows can also be controlled to be closed.
[0150] The above process can realize intelligent control of the window status according to weather type and temperature, freeing the user's hands during the process of closing the window and improving the user experience.
[0151] For a vehicle, in the parking mode, the vehicle is in a stationary state. Corresponding to the parking mode is the driving mode, that is, the vehicle is in a driving state.
[0152] It should be understood that when the vehicle is in motion, the doors of the vehicle are usually closed. And when the vehicle speed is greater than the preset speed, in order to ensure the safety of the users in the vehicle, the body domain controller can send a door lock instruction to the door controller so that the door is automatically locked when the vehicle speed is higher. Optionally, the preset speed is 5km / h.
[0153] That is to say, in the embodiment of the present application, the locking of the vehicle doors includes two scenarios. The first is that when the vehicle is in parking mode and there is no user in the vehicle, the body domain controller controls the vehicle doors to close and lock automatically; the second is that when the vehicle is in driving mode and the speed is high, the body domain controller controls the vehicle doors to lock automatically.
[0154] It should also be understood that no matter which method is used to unlock the car door after the car door is locked, compared with the traditional method that requires the user to manually unlock the car door through a remote control key or App, the body domain controller in the embodiment of the present application can generate a door unlocking instruction through the user's operation, thereby realizing the automatic unlocking process of the car door.
[0155] In a possible implementation, the door unlocking instruction is generated in the following manner:
[0156] In response to a user's touch operation on an outer handle of a vehicle door, generating a vehicle door unlocking instruction;
[0157] In response to a user pressing a switch of the outer handle, generating a door unlocking instruction;
[0158] In response to a user's touch operation on the inner handle of the vehicle door, a door unlocking instruction is generated.
[0159] Exemplarily, the vehicle body domain controller may pre-store preset touch operations and preset press operations for unlocking the vehicle door. For example, the preset touch operation may be: touching the outer handle of the vehicle door twice within 5 seconds, or touching the inner handle of the vehicle door once. The preset press operation may be: pressing the outer handle switch once.
[0160] Furthermore, when the body domain controller detects through the door controller that the user's touch operation matches the above-mentioned preset touch operation (for example, touching the outer handle twice within 5 seconds, or touching the inner handle once), it generates a door unlock instruction. Alternatively, when the body domain controller detects through the door controller that the user's pressing operation matches the above-mentioned preset pressing operation (for example, touching the inner handle once), it can also generate a door unlock instruction.
[0161] In the above technical solution, several methods of generating door unlocking instructions are proposed. The user can touch the outer handle of the door or press the switch of the outer handle, and the vehicle generates the door unlocking instruction according to the user's touch operation or press operation. The user can also touch the inner handle of the door, and the vehicle generates the door unlocking instruction according to the user's touch operation. The generation process of the above several door unlocking instructions ensures the flexibility and diversity of door unlocking, making the process of user unlocking the door faster and more efficient.
[0162] In a possible implementation, when the vehicle is in driving mode, if the body domain controller receives a door unlocking instruction and needs to automatically unlock the door, the body domain controller can determine whether to unlock the door in combination with the vehicle speed, specifically including:
[0163] When the vehicle is in a driving mode, in response to a door unlocking instruction of the vehicle, obtaining a vehicle speed;
[0164] When the vehicle speed is greater than or equal to the preset speed, the vehicle doors are controlled to lock;
[0165] When the vehicle speed is lower than the preset speed, the doors are unlocked.
[0166] Assuming that the vehicle is in driving mode, the body domain controller generates a door unlocking instruction by receiving the above-mentioned preset touch operation or preset press operation. In response to the door unlocking instruction, the body domain controller can obtain the current speed of the vehicle through the instrument controller. Alternatively, the body domain controller obtains the current speed of the vehicle through a speed sensor in the vehicle.
[0167] If the vehicle speed is 50km / h, which is 5km / h higher than the preset speed, it means that the vehicle speed is relatively high. If the door is unlocked and opened, there is a great risk to the user's personal safety. Considering the personal safety of users in high-speed driving scenarios, the body domain controller will not unlock the door even if it receives the door unlock command, and will control the door to remain locked.
[0168] When the body domain controller controls the door to continue to lock, it may not send any instructions to the door controller. The door controller does not receive any instructions and can continue to control the door to lock. Alternatively, the body domain controller may send a door lock instruction to the door controller, and the door controller continues to control the door to lock after receiving the door lock instruction.
[0169] If the vehicle speed is 3km / h, which is less than the preset speed of 5km / h, it means that the vehicle speed is low at this time. If the door is unlocked, it will not cause harm to the user's personal safety when it is opened. At this time, the body domain controller can send the door unlock command to the door controller, and the door controller controls the door to unlock after receiving the door unlock command.
[0170] Specifically, during the door unlocking process, the door controller can control the pawl to be in the on state, the door state switch to be in the on state, and the ratchet switch to be in the on state, which is opposite to the locking process, and thus complete the door unlocking process.
[0171] In the above technical solution, in addition to the parking mode, the vehicle can also correspond to the driving mode. The driving mode indicates that the vehicle is in driving state. When the vehicle is in the driving mode, when the vehicle receives the door unlocking command, the present application can decide whether to unlock the door according to the vehicle speed. When the vehicle speed is greater than or equal to the preset speed, it means that the vehicle speed is relatively high at this time. In this case, in order to ensure the personal safety of the users in the vehicle, even if the vehicle receives the door unlocking command, the door is not unlocked and the door continues to be locked. When the vehicle speed is less than the preset speed, it means that the vehicle speed is relatively low at this time. The vehicle receives the door unlocking command and can control the door to be unlocked.
[0172] Determining whether to unlock the door based on the vehicle speed can avoid dangerous accidents caused by unlocking the door when the vehicle speed is high, thereby ensuring the personal safety of the user and the safety of the vehicle.
[0173] In addition, when the vehicle is in driving mode, the body domain controller can also automatically control the windows according to weather type, temperature, etc.
[0174] For example, when the vehicle is in driving mode and there is a user in the vehicle, the body domain controller can obtain the current weather type from the third-party weather platform through the T-Box. Alternatively, when the multimedia host displays the current weather information, the body domain controller can also obtain the current weather type through the multimedia controller.
[0175] When the weather type is rainy, snowy, sandstorm or floating, in order to avoid pollution of the vehicle interior environment, the body domain controller can send a window closing command to the window controller, so that the window controller controls the window to close according to the window closing command.
[0176] When the weather type is sunny, the body domain controller can obtain the temperature inside and outside the car through the temperature sensor. Assume that the preset difference is 10°C.
[0177] In one case, assuming that the current season is summer and the weather type is sunny, if the body domain controller obtains the outside temperature of 38°C and the inside temperature of 26°C through the temperature sensor, the temperature difference between the two is 12°C, which is greater than the preset difference of 10°C. In order to ensure the comfort of the user and to ensure that the inside of the car can maintain a cool environment, the body domain controller can send a window closing command to the window controller, so that the window controller controls the window to close according to the window closing command.
[0178] In another case, assuming that the current season is winter and the weather type is sunny, if the body domain controller obtains the outside temperature of 10°C and the inside temperature of 26°C through the temperature sensor, the temperature difference between the two is 16°C, which is greater than the preset difference of 10°C. In order to ensure the comfort of the user and to ensure that the car can maintain a warm environment, the body domain controller can send a window closing command to the window controller, so that the window controller controls the window to close according to the window closing command.
[0179] In the above technical solution, during the driving of the vehicle, the embodiment of the present application can also realize intelligent automatic control of the windows according to weather type, temperature, etc., thereby improving the user's experience of riding in the vehicle.
[0180] In another possible implementation, when the vehicle is in driving mode, if the door unlocking process is triggered by an elderly person or a child, in order to ensure the safety of the elderly or children, the body domain controller continues to control the door locking after receiving the door unlocking command. Specifically, it includes:
[0181] When the vehicle is in a driving mode, in response to a door unlocking instruction for the vehicle, acquiring a user image of a target user who triggers the door unlocking instruction;
[0182] Extract features from user images to determine the age of the target user;
[0183] When the age falls within the preset age range, the vehicle doors are locked;
[0184] If the age does not fall within the preset age range, the vehicle doors are unlocked.
[0185] Among them, the preset age range is used to determine whether the target user is an elderly person or a child.
[0186] For example, when the vehicle is in driving mode, the user in the vehicle triggers the body domain controller to generate a door unlocking instruction by touching or pressing the body domain controller. In response to the door unlocking instruction, the body domain controller may call a camera in the vehicle to obtain a user image of the target user.
[0187] Furthermore, the body domain controller extracts features of the user image of the target user through a convolutional neural network to identify the age of the target user.
[0188] Assuming the preset age range is 3-10 years old and 65-80 years old, the body domain controller recognizes the target user as 3 years old through the convolutional neural network, indicating that the target user is a child. In order to ensure the safety of children and avoid the door unlocking command being accidentally triggered by children, the body domain controller can continue to control the door locking through the door controller.
[0189] In the above technical solution, by judging the age of the user who triggers the door unlocking command, it is possible to prevent the elderly and children in the vehicle from unlocking the door due to false triggering, thereby ensuring the safety of the elderly and children when riding in the vehicle.
[0190] It should be understood that no matter whether the vehicle is a fuel vehicle, a hybrid vehicle or a pure electric vehicle, the vehicle is equipped with a battery. The battery can provide electrical energy for the vehicle and provide electrical support for the electronic components in the vehicle. In other words, the unlocking and locking of the door in the embodiment of the present application cannot be separated from the power supply of the battery.
[0191] In a possible implementation, the body domain controller needs to take into account the battery power when controlling the unlocking and locking of the doors, specifically including:
[0192] When the vehicle's battery status switches from a low-power status to a high-power status, the vehicle doors are controlled to close and lock. The low-power status is used to indicate that the battery power is less than or equal to the preset power, and the high-power status is used to indicate that the battery power is greater than the preset power.
[0193] For example, if the user triggers the body domain controller to generate a door unlock command by touching or pressing. At this time, the battery power is less than or equal to the preset power (for example, 1%), and the battery power is about to be exhausted, and the door cannot be unlocked or locked. When the battery power is fully charged again, the door unlocking and locking functions may fail, and the door controller cannot determine whether the door is currently unlocked or locked.
[0194] In order to avoid the above problems, each time the battery is fully charged, the body domain controller can control the door to be closed and locked through the door controller, so that when the battery works again, the body domain controller can timely understand the current status of the door.
[0195] Specifically, when the battery switches from a low-power state to a high-power state, the body domain controller can control the vehicle's self-priming reset switch to disconnect and control the drive motor to brake for a preset time (for example, 200ms) to complete the door locking process.
[0196] In the above technical solution, since the battery in the vehicle can provide power for the electronic components in the vehicle, the locking or unlocking of the vehicle door cannot be separated from the power supply support of the battery. Every time the battery is charged and reused, the vehicle needs to re-lock the door. The above process can avoid the problem that the battery is exhausted during the last time the user unlocked the door, and when the battery is charged and operates normally again, the door unlocking function fails due to the exhaustion of the battery, resulting in the user being unable to open the door.
[0197] In summary, during the operation of the vehicle, the present application provides a method for controlling the vehicle, which can intelligently realize the automatic closing and locking of the doors and windows. The specific process is: the vehicle can determine whether there is a user in the current vehicle through the status information in the vehicle. When there is no user in the vehicle, the vehicle can automatically close the doors and windows and lock the doors and windows. The above process of automatically closing and locking the doors and windows when there is no user in the vehicle can avoid property losses and vehicle safety problems caused by users forgetting to close the doors and windows after getting off the vehicle, thereby improving the user experience.
[0198] Specifically, two methods are proposed for determining whether there is a user in the vehicle. The first method is to determine through the image information in the vehicle. Specifically, if the image information does not include the user's image, it is determined that there is no user in the vehicle. On the contrary, if the image information includes the user's image, it means that there is a user in the vehicle. The second method is to determine through the weight carried by the seat. When the weight carried by the seat is less than or equal to the preset weight, it is determined that there is no user in the vehicle. When the weight is greater than the preset weight, it is determined that there is a user in the vehicle.
[0199] It should be understood that the image information is specifically collected by an image acquisition device (such as a camera) in the vehicle. If the image information does not include a user image, it means that the image acquisition device has not captured the user image, and there may not be a user in the vehicle at this time. Similarly, the weight carried by the seat can be collected by the seat sensor. If the weight collected by the seat sensor is small, it means that there is no user sitting on the seat. The above two methods of determining whether there is a user in the vehicle are flexible and intelligent, and can achieve a quick and accurate judgment of whether the user is in the vehicle.
[0200] Specifically, after the vehicle determines that there is no user in the vehicle, in order to avoid the misjudgment problem caused by the user just getting off the vehicle for a short time, the present application can further combine the image information and the communication signal strength to determine whether the user is just getting off the vehicle for a short time.
[0201] In one method, the current time can be used as the starting time to receive image information within a preset time period. If the image information within the preset time period does not include the user image, it means that the user is not getting off the bus temporarily.
[0202] In another way, the communication signal strength between the vehicle and the terminal device can be used to determine that when the communication signal strength is less than the preset communication signal strength, it means that the distance between the vehicle and the terminal device is far and the user has moved away from the vehicle. In this case, it also means that the user is not getting off the vehicle temporarily.
[0203] The above process can avoid the problem of reduced user experience caused by closing and locking the windows and doors if the user only gets off the vehicle for a short time, thereby achieving accurate judgment of the user getting off the vehicle and improving the accuracy of closing and locking the doors and windows.
[0204] In addition, the present application also proposes a method for controlling the closing and locking of vehicle doors and windows. When there is no user in the vehicle, if the temperature inside the vehicle is greater than or equal to the preset temperature, it means that the temperature inside the vehicle is high. The user may open the window to dissipate heat. In this scenario, in order to avoid locking by mistake, the present application can determine whether locking is required based on the communication distance between the vehicle and the key. Specifically, when the communication distance between the vehicle and the key is greater than the preset distance, it means that the user may be far away from the vehicle. At this time, the vehicle's doors and windows can be automatically locked to ensure the safety of the vehicle and the items inside the vehicle.
[0205] When judging whether there is a user in the vehicle based on the status information, another situation is that there is a user in the vehicle. In this case, the vehicle windows can also be opened or closed according to the weather conditions. Specifically, when the weather conditions are bad, such as rainy days, snowy days, sandstorm days and floating days, the vehicle can intelligently control the windows to close; when the weather type is sunny, the opening and closing of the windows can be determined according to the temperature difference between the temperature inside the car and the temperature outside the car. When the temperature difference is greater than or equal to the preset difference, the windows are controlled to close. For example, in summer, when the air conditioner in the car is turned on, the temperature difference between the temperature outside the car and the temperature inside the car is greater than or equal to the preset difference, the windows can be controlled to close. For another example, in winter, when the air conditioner in the car is turned on, the temperature difference between the temperature outside the car and the temperature inside the car is greater than or equal to the preset difference, the windows can also be controlled to close.
[0206] The above process can realize intelligent control of the window status according to weather type and temperature, freeing the user's hands during the process of closing the window and improving the user experience.
[0207] In addition to the parking mode, the vehicle can also correspond to the driving mode. The driving mode indicates that the vehicle is in driving state. When the vehicle is in the driving mode, when the vehicle receives the door unlock command, the present application can decide whether to unlock the door according to the vehicle speed. When the vehicle speed is greater than or equal to the preset speed, it means that the vehicle speed is relatively high at this time. In this case, in order to ensure the personal safety of the users in the vehicle, even if the vehicle receives the door unlock command, the door will not be unlocked, and the door will continue to be locked. When the vehicle speed is less than the preset speed, it means that the vehicle speed is relatively low at this time, and the vehicle receives the door unlock command, and the door can be controlled to be unlocked.
[0208] Determining whether to unlock the door based on the vehicle speed can avoid dangerous accidents caused by unlocking the door when the vehicle speed is high, thereby ensuring the personal safety of the user and the safety of the vehicle.
[0209] In addition, the present application also proposes several ways to generate door unlocking instructions. The user can touch the outer handle of the door or press the switch of the outer handle, and the vehicle generates a door unlocking instruction according to the user's touch operation or press operation. The user can also touch the inner handle of the door, and the vehicle generates a door unlocking instruction according to the user's touch operation. The generation process of the above-mentioned door unlocking instructions ensures the flexibility and diversity of door unlocking, making the process of user unlocking the door faster and more efficient.
[0210] Since the battery in the vehicle can provide power for the electronic components in the vehicle, the locking or unlocking of the door cannot be separated from the power supply support of the battery. Every time the battery is charged and reused, the vehicle needs to re-lock the door. The above process can avoid the problem that the battery is exhausted during the last time the user unlocked the door, and when the battery is charged and operates normally again, the door unlocking function fails due to the exhausted battery, causing the user to be unable to open the door.
[0211] After the vehicle doors and windows are all closed and locked, the vehicle can also generate target prompt information according to the status of the doors and windows. The target prompt information is sent to the user's terminal device to remind the user that the current doors and windows are closed and locked, which improves the user experience and enables the user to understand the status of the doors and windows in a timely manner.
[0212] Figure 3 It is a structural schematic diagram of a device for controlling a vehicle provided in an embodiment of the present application.
[0213] For example, Figure 3 As shown, the device 300 includes:
[0214] A first acquisition module 301 is used to acquire status information of the vehicle when the vehicle is in a parking mode;
[0215] A determination module 302 is used to determine whether there is a user in the vehicle according to the status information;
[0216] The first control module 303 is used to control the doors and windows of the vehicle to close and lock when there is no user in the vehicle.
[0217] In one possible implementation, the status information includes image information and / or the weight borne by the seat, and the judgment module 302 is specifically used to: determine that there is no user in the vehicle when the image information does not include a user image; determine that there is a user in the vehicle when the image information includes a user image; and / or determine that there is no user in the vehicle when the weight is less than or equal to a preset weight; and determine that there is a user in the vehicle when the weight is greater than the preset weight.
[0218] In one possible implementation, the status information includes image information, and the first control module 303 is specifically used to: when there is no user in the vehicle, if the image information does not include a user image within a preset time period, control the vehicle doors and windows to be closed and locked, and the starting time of the preset time period is the current time; and / or, when there is no user in the vehicle, if the communication signal strength between the vehicle and the user's terminal device is less than a preset communication signal strength, control the vehicle doors and windows to be closed and locked.
[0219] In one possible implementation, the first control module 303 is also used to: when there is no user in the vehicle, if the temperature inside the vehicle is greater than or equal to a preset temperature and the communication distance between the vehicle and the key is greater than or equal to a preset distance, control the door and the window to close and lock.
[0220] Optionally, the device also includes: a first processing module, used to obtain the current weather type when there is a user in the vehicle; control the vehicle window to be closed when the weather type is any one of rainy, snowy, sandstorm and floating weather; obtain the temperature inside the vehicle and the temperature outside the vehicle when the weather type is sunny; control the vehicle window to be closed when the temperature difference between the temperature inside the vehicle and the temperature outside the vehicle is greater than or equal to a preset difference.
[0221] Optionally, the device also includes: a second processing module, used to obtain the vehicle speed in response to a door unlocking instruction of the vehicle when the vehicle is in driving mode; control the door to be locked when the vehicle speed is greater than or equal to a preset speed; and control the door to be unlocked when the vehicle speed is less than the preset speed.
[0222] Optionally, before obtaining the vehicle speed in response to a door unlock instruction for the vehicle, the device also includes a generation module, which is used to perform any one of the following: generating the door unlock instruction in response to a user's touch operation on the outer handle of the door; generating the door unlock instruction in response to a user's pressing operation on the switch of the outer handle; generating the door unlock instruction in response to a user's touch operation on the inner handle of the door.
[0223] Optionally, the device also includes: a second control module, used to control the closing and locking of the vehicle door when the battery state of the vehicle switches from a low-power state to a high-power state, the low-power state is used to indicate that the battery power is less than or equal to a preset power, and the high-power state is used to indicate that the battery power is greater than the preset power.
[0224] Optionally, when there is no user in the vehicle, after controlling the doors and windows of the vehicle to be closed and locked, the device also includes: a third processing module, used to generate target prompt information according to the status of the doors and the windows, the target prompt information being used to prompt the user that the doors and the windows are closed and locked; and sending the target prompt information to the user's terminal device.
[0225] Figure 4 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0226] For example, Figure 4 As shown, the vehicle 100 includes: a memory 401 and a processor 402, wherein the memory 401 stores an executable program code 4011, and the processor 402 is used to call and execute the executable program code 4011 to perform a method for controlling a vehicle.
[0227] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a method for controlling a vehicle provided in an embodiment of the present application.
[0228] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0229] In the case of dividing each functional module according to each function, the device may also include a first acquisition module, a judgment module, a first control module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0230] It should be understood that the device provided in this embodiment is used to execute the above-mentioned method of controlling a vehicle, and thus can achieve the same effect as the above-mentioned implementation method.
[0231] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing mutual program codes, etc.
[0232] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits disclosed in the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0233] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a method for controlling a vehicle provided in the above embodiments.
[0234] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a method for controlling a vehicle provided in the above embodiment.
[0235] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a method for controlling a vehicle provided in the above-mentioned embodiment.
[0236] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0237] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0238] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0239] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for controlling a vehicle, characterized in that: The method comprises: When the vehicle is in a parking mode, obtaining status information in the vehicle; Determining whether there is a user in the vehicle according to the status information; When there is no user in the vehicle, the doors and windows of the vehicle are controlled to be closed and locked.
2. The method according to claim 1, characterized in that: The state information includes image information and / or the weight carried by the seat, and judging whether there is a user in the vehicle according to the state information includes: If the image information does not include a user image, determining that there is no user in the vehicle; In the case where the image information includes a user image, determining that a user exists in the vehicle; and / or, When the weight is less than or equal to a preset weight, determining that there is no user in the vehicle; When the weight is greater than the preset weight, it is determined that there is a user in the vehicle.
3. The method according to claim 1, characterized in that The state information includes image information, and when there is no user in the vehicle, controlling the doors and windows of the vehicle to close and lock includes: In the case where there is no user in the vehicle, if the image information does not include a user image within a preset time period, the vehicle doors and windows are controlled to be closed and locked, and the starting time of the preset time period is the current time; and / or, When there is no user in the vehicle, if the communication signal strength between the vehicle and the user's terminal device is less than a preset communication signal strength, the vehicle doors and windows are controlled to be closed and locked.
4. The method according to claim 1, characterized in that: When there is no user in the vehicle, controlling the doors and windows of the vehicle to close and lock includes: When there is no user in the vehicle, if the temperature inside the vehicle is greater than or equal to a preset temperature and the communication distance between the vehicle and the key is greater than or equal to a preset distance, the doors and windows are controlled to be closed and locked.
5. The method according to claim 1, characterized in that The method further comprises: In case there is a user in the vehicle, obtaining the current weather type; When the weather type is any one of rainy day, snowy day, sandstorm day and floating day, controlling the vehicle window to close; When the weather type is sunny, obtaining the temperature inside the vehicle and the temperature outside the vehicle; When the temperature difference between the temperature inside the vehicle and the temperature outside the vehicle is greater than or equal to a preset difference, the vehicle window is controlled to be closed.
6. The method according to claim 1, characterized in that The method further comprises: When the vehicle is in a driving mode, in response to a door unlocking instruction for the vehicle, acquiring a vehicle speed of the vehicle; When the vehicle speed is greater than or equal to a preset vehicle speed, controlling the vehicle door to lock; When the vehicle speed is less than the preset vehicle speed, the vehicle door is controlled to be unlocked.
7. The method according to claim 5, characterized in that Before obtaining the vehicle speed in response to the door unlocking instruction of the vehicle, the method further includes any one of the following: generating a door unlocking instruction in response to a user's touch operation on an outer handle of the door; generating the door unlocking instruction in response to a user pressing a switch of the outer handle; The door unlocking instruction is generated in response to a user's touch operation on the inner handle of the door.
8. The method according to claim 1, characterized in that The method further comprises: When the state of the battery of the vehicle switches from a low-power state to a high-power state, the vehicle doors are controlled to be closed and locked, the low-power state is used to indicate that the power of the battery is less than or equal to a preset power, and the high-power state is used to indicate that the power of the battery is greater than the preset power.
9. The method according to claim 1, characterized in that: After controlling the doors and windows of the vehicle to be closed and locked when there is no user in the vehicle, the method further includes: Generate target prompt information according to the state of the vehicle door and the state of the vehicle window, wherein the target prompt information is used to prompt the user that the vehicle door and the vehicle window are closed and locked; The target prompt information is sent to the user's terminal device.
10. A device for controlling a vehicle, characterized in that: The device comprises: A first acquisition module, configured to acquire status information in the vehicle when the vehicle is in a parking mode; A judging module, used for judging whether there is a user in the vehicle according to the state information; The first control module is used for controlling the doors and windows of the vehicle to close and lock when there is no user in the vehicle.
11. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory so that the vehicle executes the method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Automatic automobile door and window locking system and method
CN105059243A
Vehicular door / window auto-locking system
CN106296914A
A vehicle control method and related equipment
CN109094501A
Vehicle window control method and device, and storage medium
CN109505479A
System for controlling automatically shut-off of a vehicle and method thereof
CN112298072A
Cited By
Vehicle control method and vehicle
CN121425128A