Vehicle control method and device, electronic equipment, vehicle and computer program product
The vehicle control method stabilizes function control by using initial door and occupancy sensor data when all doors are closed, addressing detection instability and enhancing user experience and efficiency.
Patent Information
- Application Number
- CN202411254168.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-12-13
AI Technical Summary
Existing vehicle control systems face instability in detecting the presence or absence of occupants, leading to inconsistent function control, which affects user experience and energy efficiency.
A vehicle control method that stabilizes function control by using initial detection results when all doors are closed, ignoring subsequent unreliable changes until any door is opened, and utilizing existing sensors like door sensors and occupancy sensors without additional hardware.
Enhances the accuracy and stability of vehicle function control, improving user experience and energy efficiency by maintaining consistent function settings based on reliable initial detection.
Smart Images

Figure CN119116860A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and more specifically, to a vehicle control method, device, electronic equipment, vehicle and computer program product. Background Art
[0002] With the development of intelligent vehicles, some functions of vehicles can be automatically controlled based on whether there is someone in the vehicle. For example, after the vehicle is powered on, when it is detected that there is someone in the vehicle, the screen brightness can be increased so that the person in the vehicle can view the content displayed on the screen; when it is detected that there is no one in the vehicle and the vehicle is not powered off, the screen brightness can be reduced to save energy. However, the existing technology has the problem of unstable detection results of whether there is anyone in the vehicle, which affects the control of vehicle functions. Summary of the invention
[0003] Based on the above-mentioned defects and shortcomings of the prior art, the present application proposes a vehicle control method, device, electronic equipment, vehicle and computer program product, which can solve the problem of instability of vehicle presence or absence detection results in the prior art, which affects the vehicle function control.
[0004] According to a first aspect of an embodiment of the present application, a vehicle control method is provided, comprising:
[0005] When it is detected that all vehicle doors are in a closed state, detecting whether there is someone in the vehicle to obtain an initial detection result; wherein the initial detection result is used to indicate whether there is someone in the vehicle or no one in the vehicle;
[0006] Based on the initial detection result, controlling a target function of the vehicle; wherein a control strategy of the target function when there is someone in the vehicle is different from a control strategy when there is no one in the vehicle;
[0007] Before any door is detected to be opened, if the detection result of whether there is someone in the vehicle changes relative to the initial detection result, the target function continues to be controlled based on the initial detection result.
[0008] According to a second aspect of an embodiment of the present application, a vehicle control device is provided, comprising:
[0009] A detection module, used to detect whether there is someone in the car when it is detected that all the doors are in a closed state, and obtain an initial detection result; wherein the initial detection result is used to indicate whether there is someone in the car or no one in the car;
[0010] A function control module is used to control a target function of the vehicle based on the initial detection result; and before any door is detected to be opened, if the detection result of whether there is someone in the vehicle changes relative to the initial detection result, continue to control the target function based on the initial detection result; wherein the control strategy of the target function when there is someone in the vehicle is different from the control strategy when there is no one in the vehicle.
[0011] According to a third aspect of an embodiment of the present application, there is provided an electronic device, including: a memory and a processor;
[0012] The memory is connected to the processor and is used to store programs;
[0013] The processor is used to implement the vehicle control method as described in the first aspect by running the program in the memory.
[0014] According to a fourth aspect of an embodiment of the present application, a vehicle is provided, comprising: an electronic device as described in the third aspect, a first detection device for detecting the open or closed state of a door, and a second detection device for detecting whether there is someone in the vehicle; the electronic device is used to implement the vehicle control method as described in the first aspect based on the detection results of the first detection device and the second detection device.
[0015] According to a fifth aspect of an embodiment of the present application, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the vehicle control method as described in the first aspect is implemented.
[0016] According to a sixth aspect of the embodiments of the present application, a computer program product or a computer program is provided, wherein the computer program product includes the computer program, and when a processor executes the computer program, the steps in the vehicle control method as described in the first aspect are implemented. Optionally, the computer program can be stored in a readable storage medium or a cloud of a computer device; the processor of the computer device reads the computer program from the readable storage medium or the cloud.
[0017] In the technical solution provided by the present application, based on the stability principle that the state of whether there is anyone in the vehicle should not jump when all doors are closed, the target function of the vehicle is always controlled based on the initial detection result before any door is detected to be opened, which can overcome the problem of the instability of the detection result of whether there is anyone in the vehicle affecting the control of the target function. In addition, the technical solution can be implemented by using existing functions on the vehicle, such as the door opening and closing detection function, the vehicle occupancy detection function, etc., without adding hardware equipment, and the implementation cost is low. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0019] Figure 1 A schematic diagram of a vehicle control method provided in an embodiment of the present application;
[0020] Figure 2 A block diagram of a vehicle control device provided in an embodiment of the present application;
[0021] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0023] Application Overview
[0024] The existing technology for detecting whether there is someone in the car has unstable detection results. For example, when detecting whether there is someone in the car through the in-car camera, the following situation may occur: at the beginning, when someone is detected through face recognition, the vehicle automatically increases the screen brightness; afterwards, the face of the person in the car may be blocked by an obstruction (such as a seat), causing the detection result to become no one, and the vehicle automatically lowers the screen brightness, which affects the use of the screen by the people in the car. It can be seen that the instability of the detection results of whether there is someone in the car will affect the control of the vehicle functions.
[0025] In order to solve the above problems, an embodiment of the present application provides a vehicle control technology. Based on the stability principle that the presence or absence of anyone in the vehicle should not change suddenly when all doors are closed, the target function of the vehicle is always controlled based on the initial detection result before any door is detected to be opened. This can overcome the problem of target function control being affected by the instability of the presence or absence detection result.
[0026] Exemplary Methods
[0027] The embodiment of the present application provides a vehicle control method, which is applied to a vehicle, and specifically can be a control device in the vehicle, such as an onboard terminal, a vehicle machine module, a vehicle controller, a domain controller, etc. The method can be executed when the vehicle network is in an awake state.
[0028] The method is described in detail below through some embodiments. The following embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0029] like Figure 1 As shown, the method may include steps 101 to 103, as described below:
[0030] Step 101: When it is detected that all vehicle doors are in a closed state, detect whether there is anyone in the vehicle and obtain an initial detection result.
[0031] In the embodiment of the present application, when the control device detects that all vehicle doors are in a closed state, it can control the corresponding detection device to detect whether there is anyone in the vehicle and obtain an initial detection result.
[0032] The initial detection result is a relatively reliable detection result, which is used to indicate whether there is someone in the car or no one in the car. That is, when someone is detected in the car, an initial detection result indicating that there is someone in the car is generated; when no one is detected, an initial detection result indicating that there is no one in the car is generated.
[0033] Specifically, the control device may start detecting whether there is anyone in the vehicle when detecting that a vehicle door is in an open state and all vehicle doors are in a closed state.
[0034] The switch state of the door can be detected by a door sensor arranged on the door, and the door sensor sends the sensed information to the control device, which analyzes the information to obtain the detection result of the switch state of the door.
[0035] Optionally, the door sensor may be a magnetic sensor, which determines the open / closed state of the door by detecting the change in the magnetic field near the door. When the door is closed, the magnetic element approaches the magnetic sensor, changing the output signal of the magnetic sensor, and the control device may determine whether the door is closed based on the output signal of the magnetic sensor.
[0036] Optionally, the door sensor may also be a capacitive sensor, which determines the door state by detecting the capacitance change between the door and the vehicle body. When the door is closed, the capacitance change is measured by the capacitive sensor, and the control device may determine whether the door is closed based on the capacitance value measured by the capacitive sensor.
[0037] Optionally, the door sensor can also be a photoelectric sensor, which detects the door state by using the light between the transmitter and the receiver. When the door is closed, the light emitted by the transmitter is blocked by the door, causing the light intensity received by the receiver to change, and the control device can determine whether the door is closed according to the light intensity received by the receiver.
[0038] In addition, the door sensor can also be a Hall sensor, which determines the open and closed state of the door by detecting the change of the magnet at the door position. It is understandable that the type of door sensor is not limited to this, and any sensor that can detect the open and closed state of the door can be used, and the embodiment of the present application does not specifically limit this. In addition, the specific position of the door sensor on the door can be set according to actual needs, and the embodiment of the present application does not specifically limit this.
[0039] Optionally, in the embodiment of the present application, whether there is someone in the car can be detected based on the seat occupancy sensor. The main principle is to sense the pressure change on the seat by installing a pressure sensitive chip inside the seat. These chips are evenly distributed on the force-bearing surface of the seat. When someone sits on the seat, the weight of the human body will cause the seat to generate corresponding pressure. The pressure sensitive chip can detect the pressure change and transmit this information to the control device. The control device determines whether there is someone on the seat based on such information, and thus determines whether there is someone in the car.
[0040] In addition, the in-car camera can also be used to detect whether there is someone in the car. The main principle can be to capture the in-car environment image through the in-car camera, separate the foreground (such as the person in the car) and the background (such as the in-car environment) from the image through image segmentation technology, and identify and classify the target in the foreground image through the target detection algorithm to determine whether it has human characteristics, and then determine whether there is someone in the car. Optionally, the detection of whether there is anyone in the car can be achieved through the intelligent visual monitoring system (In-cabin monitoring System, IMS) of the vehicle cockpit. The intelligent visual monitoring system may include: a driver monitoring system (Driver Monitoring System, DMS) and an occupancy monitoring system (Occupancy Monitoring System, OMS). The driver monitoring system can monitor the driver's fatigue state, dangerous driving behavior, etc., while the passenger monitoring system can monitor the passenger's age, state, mood, etc. To achieve the above-mentioned function, the driver monitoring system includes a camera for collecting the driver's image, and the passenger monitoring system includes a camera for collecting the passenger's image. Therefore, the detection of whether there is anyone in the car can be achieved through the intelligent visual monitoring system (In-cabin monitoring System, IMS).
[0041] In addition, as the penetration rate of voice recognition technology in the vehicle field gradually increases, voice recognition technology can also be used to detect whether there is someone in the car. Specifically, the sound can be collected through the microphone in the car, and based on the sound intensity, frequency and other sound characteristics, it can be judged whether there is someone in the car.
[0042] Of course, if the car is equipped with a millimeter-wave radar, it can also detect whether there is someone in the car through the millimeter-wave radar. The main principle is: the millimeter-wave signal will be reflected when it encounters a human body or other obstacles in the car. By analyzing the frequency, amplitude, phase and other parameters of the reflected signal, the human body's breathing, heartbeat and other vital signs signals can be identified, thereby determining whether there is someone in the car.
[0043] The embodiment of the present application may use at least one detection means according to actual needs to realize the detection of whether there is anyone in the vehicle in the embodiment of the present application, and the specific detection means used is not limited to the above-mentioned detection means.
[0044] Preferably, since a seat occupancy sensor is generally provided on a vehicle seat, and the detection means has a high accuracy rate in detecting the presence of a person, and will not make a reverse misjudgment, that is, will not mistakenly detect a person as being present when no person is present, therefore, the embodiment of the present application can preferably detect whether there is someone in the vehicle based on the seat occupancy sensor.
[0045] Step 102: Based on the initial detection result, control the target function of the vehicle.
[0046] The target function mentioned here refers to a function in which the control strategies are different when there is someone in the car and when there is no one in the car, that is, the control strategy of the target function when there is someone in the car is different from the control strategy when there is no one in the car.
[0047] In the embodiment of the present application, it is possible to pre-set which functions the target functions specifically include, and how these functions are specifically controlled when there is someone in the car and when there is no one in the car.
[0048] For example, the target function may include a screen brightness control function. When the initial detection result indicates that there is someone in the car, the corresponding control strategy is to increase the screen brightness to ensure that the people in the car can clearly see the screen information; when the initial detection result indicates that there is no one in the car, the corresponding control strategy is to lower the screen brightness or turn off the screen to save energy and extend the service life of the screen.
[0049] In addition to the screen brightness control function, the target function can also include the vehicle system volume adjustment function. When the initial detection result indicates that there is someone in the car, the volume of the vehicle system can be automatically adjusted to provide a better hearing experience for the occupants; when the initial detection result indicates that there is no one in the car, the volume of the vehicle system can be increased to enhance the alarm sound and improve the safety warning effect.
[0050] The target function may also include the activation and disabling of audio devices (such as speakers, microphones, etc.) inside and outside the vehicle. When the initial detection result indicates that there is someone in the vehicle, the vehicle can automatically activate the audio device inside the vehicle to facilitate voice interaction or navigation instructions for the person inside the vehicle, and disable the audio device outside the vehicle so that the person outside the vehicle cannot control the vehicle through voice commands; when there is no one in the vehicle, the vehicle can automatically disable the audio device inside the vehicle to prevent the noise inside the vehicle from interfering with the surrounding environment, and activate the audio device outside the vehicle so that the owner can control the vehicle from outside the vehicle.
[0051] In addition to the above functions, the target function may also include: seat position adjustment function, air conditioning temperature adjustment function, window height adjustment function, etc. Such functions can be differentially controlled depending on whether there is someone in the car or no one in the car.
[0052] Of course, in the embodiment of the present application, it is also possible to dynamically determine which target functions to control. For example, different entertainment functions can be enabled for people of different ages and genders in the car. For example, for young people, the music playback function can be enabled; for middle-aged people, the radio function can be enabled, etc.
[0053] In addition, in the embodiment of the present application, the control parameters corresponding to the target function can be pre-set. For example, for the screen brightness adjustment function, the brightness when there is someone in the car can be set to 60% of the maximum brightness, and the brightness when there is no one in the car can be set to 0 or 10% of the maximum brightness. It is understandable that the control parameters corresponding to the target function can also be dynamically adjustable. For example, when there is someone in the car, the screen brightness can be dynamically adjusted according to the brightness of the interior environment to provide a better screen usage experience. For another example, when the detection method of whether there is someone in the car includes voice recognition, image recognition and other methods, in addition to detecting whether there is someone in the car, it is also possible to specifically determine the identity information of the person in the car when someone is detected in the car, and different identity information can correspond to different control parameters. Continuing with the screen brightness adjustment function as an example, for example, for driver A, based on his historical use habits of the screen, it is determined that driver A likes a higher screen brightness, then the screen brightness can be set to 65%; for driver B, based on his historical use habits of the screen, it is determined that driver B likes a lower screen brightness, then the screen brightness can be set to 45%.
[0054] Step 103: Before any door is detected to be opened, if the detection result of whether there is someone in the vehicle changes relative to the initial detection result, the target function continues to be controlled based on the initial detection result.
[0055] The vehicle door is the regular way for people to enter and exit the vehicle. When the vehicle doors are in the closed state, the state of someone in the vehicle or no one in the vehicle should not change suddenly. In other words, when the vehicle doors are in the closed state, there is either always someone in the vehicle or no one in the vehicle. The embodiment of the present application is based on this stability principle. Before any vehicle door is detected to be opened, even if the detection result of whether there is someone in the vehicle changes relative to the initial detection result, it will be ignored or deemed invalid, and the target function of the vehicle will always be controlled based on the initial detection result.
[0056] For example, the initial detection result indicates that there is someone in the car, and the control device increases the screen brightness as if there is someone in the car. In subsequent detections, the detection result indicates that there is no one in the car, but the door has not been opened, so there should be someone in the car. This means that the jump in the detection result is unreliable and a false detection may have occurred. Therefore, the screen brightness is kept unchanged as if there is someone in the car, rather than lowered as if there is no one in the car.
[0057] This can overcome the problem of the instability of the detection results of whether there is someone in the car affecting the control of the target function, improve the accuracy of the vehicle's intelligent control, better meet the needs of the people in the car, and enhance the vehicle's user experience. In addition, the detection accuracy of the door opening and closing signals is high, which means that the state of the door can be detected more accurately, which helps to further improve the stability of the target function control. And this technical solution can be implemented using existing functions on the vehicle, such as the door opening and closing detection function, the vehicle occupancy detection function, etc., without the need to add hardware equipment, and the implementation cost is low.
[0058] In some optional embodiments, in step 101: after detecting whether there is someone in the vehicle when all vehicle doors are detected to be in a closed state, the vehicle control method may further include:
[0059] Within the first time threshold, if someone is detected in the car at any time, an initial detection result indicating that there is someone in the car is generated; if no one is detected in the car within the first time threshold, the initial detection result indicating that there is no one in the car is generated.
[0060] The first duration threshold mentioned here can be understood as the initial detection duration, which can be set according to actual needs. Specifically, it can be started from the moment when the control device detects that all doors are in a closed state. Assume that the first duration threshold is 2 minutes, and the control device determines the moment when all doors are in a closed state based on the signal sent by each door sensor, and starts timing. Within 2 minutes, as long as someone is detected in the car, an initial detection result indicating that there is someone in the car is generated; within 2 minutes, if no one is detected in the car, an initial detection result indicating that no one is in the car is generated.
[0061] In the embodiment of the present application, in order to obtain relatively accurate, stable and reliable initial detection results, the initial detection time period can be set, and the initial detection result can be obtained based on the detection results within the initial detection time period.
[0062] In some optional embodiments, in step 101: after detecting whether there is someone in the vehicle when all vehicle doors are detected to be in a closed state, the vehicle control method may further include steps A1 and A2, as described below:
[0063] Step A1: When it is detected that any door changes from a closed state to an open state, the detection of whether there is someone in the vehicle is stopped, and the target function is controlled based on the initial detection result.
[0064] In the embodiment of the present application, when the control device detects that all the vehicle doors are in a closed state and then any vehicle door is opened, because the vehicle door is opened, someone may enter the vehicle, and the vehicle may change from being empty to being occupied; or someone may come out of the vehicle, and the vehicle may change from being occupied to being empty. Therefore, at this time, the stable state of whether there is someone in the vehicle has been broken. In addition, the open state of the vehicle doors is generally short-lived, and the state of whether there is someone in the vehicle is also unstable. Therefore, before the vehicle doors are restored to being fully closed, the detection of whether there is someone in the vehicle can be suspended to save energy and detection resources, and the target function can continue to be controlled based on the initial detection results.
[0065] It is understandable that before the vehicle doors are restored to be fully closed, the detection of whether there is someone in the vehicle can continue, and the target function can be controlled based on the new detection results.
[0066] Step A2: When it is detected again that all the doors are in the closed state, re-detect whether there is anyone in the car, obtain a new initial detection result, and control the target function based on the new initial detection result.
[0067] When the control device detects that the car door is closed again after one of the car doors is opened, it can re-detect whether there is someone in the car, obtain a new round of initial detection results, and control the target function based on the new initial detection results. For example, if the initial detection result in step 101 indicates that there is someone in the car, the screen brightness is increased based on the initial detection result; if the initial detection result in step A2 indicates that there is no one in the car, the screen brightness is decreased based on the initial detection result.
[0068] In some optional embodiments, in step 101: after detecting whether there is someone in the vehicle when all vehicle doors are detected to be in a closed state, the vehicle control method may further include:
[0069] When the vehicle is in motion, or all doors are closed for a period greater than or equal to a second time threshold, detection of whether there is someone in the vehicle is stopped before any door is detected to be opened, and the target function is controlled based on the initial detection result.
[0070] When the vehicle is in motion (such as a speed greater than 0 or a certain value), people outside the vehicle generally will not open the door to enter the vehicle, and people inside the vehicle will not open the door to walk out of the vehicle. At this time, the status of people in the vehicle will be relatively stable, that is, there will either always be someone in the vehicle or there will be no one in the vehicle (such as in the case of unmanned automatic driving). Therefore, in this case, in order to save energy and detection resources, the detection of whether there is someone in the vehicle can be stopped before any door is detected to be opened, and the target function can be controlled based on the initial detection result.
[0071] The second time threshold is greater than the first time threshold, and is used to characterize a time period during which the vehicle presence / absence state is stable. When the duration of all doors being in the closed state is greater than or equal to the second time threshold, it indicates that the vehicle presence / absence state is basically stable. In order to save energy and detection resources, the vehicle presence / absence detection may be stopped before any door is detected to be opened, and the target function may be controlled based on the initial detection result.
[0072] In some optional embodiments, the "detecting whether there is someone in the car and obtaining an initial detection result" in step 101 may include steps B1 and B2, as described below:
[0073] Step B1: Detect whether there is someone in the car through various detection methods.
[0074] The embodiment of the present application can detect whether there is someone in the car through various detection means. For example, seat occupancy sensors, image recognition technology, millimeter wave radar technology, etc. can be used to detect whether there is someone in the car to improve the accuracy of the detection result.
[0075] Step B2: When the detection results corresponding to the multiple detection methods are inconsistent, the detection result of the detection method with a higher confidence level is used as the initial detection result.
[0076] In the embodiment of the present application, a confidence level can be set in advance for each detection means, and the confidence level is used to indicate the credibility of the detection means. Generally, the higher the accuracy of the detection result, the higher the confidence level of the corresponding detection means; conversely, the lower the accuracy of the detection result, the lower the confidence level of the corresponding detection means. The confidence levels of different detection means can be obtained based on experiments, and then the confidence levels of the detection means can be calibrated based on the experimental results.
[0077] In the embodiment of the present application, when the detection results corresponding to multiple detection methods are inconsistent, the detection result corresponding to the detection method with the highest confidence can be used as the initial detection result. Assume that the confidence of the millimeter wave radar is 98%, the confidence of the seat occupancy sensor is 95%, and the confidence of the image recognition technology is 90%. If the detection results of whether there is someone in the car obtained by each detection method are inconsistent, the detection result of the millimeter wave radar shall prevail, that is, the detection result of the millimeter wave radar shall be used as the initial detection result.
[0078] In some optional embodiments, the "detecting whether there is someone in the car and obtaining an initial detection result" in the previous step 101 may include steps C1 and C2, as described below:
[0079] Step C1: Detect whether there is someone in the car through various detection methods.
[0080] The embodiment of the present application can detect whether there is someone in the car through various detection means. For example, seat occupancy sensors, image recognition technology, etc. can be used to detect whether there is someone in the car to improve the accuracy of the detection result.
[0081] Step C2: When the detection results corresponding to the multiple detection methods are inconsistent, the detection result indicating that there is someone in the car is used as the initial detection result.
[0082] When the detection results corresponding to multiple detection methods are inconsistent, the goal can be to prioritize the use needs of the occupants in the car, so the detection result indicating that there is someone in the car can be used as the initial detection result to control the target function. For example, if the seat occupancy sensor detects that there is someone in the car, but the image recognition technology does not detect that there is someone in the car, the detection result of the seat occupancy sensor shall prevail, that is, the detection result of the seat occupancy sensor shall be used as the initial detection result.
[0083] In summary, the vehicle control method provided in the embodiment of the present application is based on the stability principle that when the doors are all closed, there should be no jump between the state of people in the vehicle and the state of no one in the vehicle. Before any door is detected to be opened, the target function of the vehicle is always controlled based on the initial detection result. This can overcome the problem of the instability of the detection result of whether there is anyone in the vehicle affecting the control of the target function and improve the vehicle use experience. In addition, the technical solution can be implemented by using existing functions on the vehicle, such as the door opening and closing detection function, the vehicle occupancy detection function, etc., without adding hardware equipment, and the implementation cost is low.
[0084] Exemplary Devices
[0085] Correspondingly, an embodiment of the present application also provides a vehicle control device, which is applied to a vehicle, and can specifically be applied to control devices in the vehicle, such as an on-board terminal, a vehicle-machine module, a vehicle controller, a domain controller, etc.
[0086] like Figure 2 As shown, the device may include:
[0087] The detection module 201 is used to detect whether there is someone in the car when it is detected that all the doors are in a closed state, and obtain an initial detection result; wherein the initial detection result is used to indicate whether there is someone in the car or no one in the car.
[0088] The function control module 202 is used to control the target function of the vehicle based on the initial detection result; and before any door is detected to be opened, if the detection result of whether there is someone in the vehicle changes relative to the initial detection result, continue to control the target function based on the initial detection result.
[0089] The control strategy of the target function when there is someone in the vehicle is different from the control strategy when there is no one in the vehicle.
[0090] Optionally, the device may further include:
[0091] The detection result generating module is used to generate an initial detection result indicating that there is someone in the car if someone is detected in the car at any time within the first time threshold; if no one is detected in the car within the first time threshold, the initial detection result indicating that no one is in the car is generated. The first time threshold starts from the moment when all the doors are detected to be in the closed state.
[0092] Optionally, the device may further include:
[0093] A first processing module, configured to stop detecting whether there is a person in the vehicle when detecting that any vehicle door changes from a closed state to an open state, and control the target function based on the initial detection result;
[0094] And when it is detected again that all the doors are in the closed state, re-detect whether there is anyone in the car, and obtain a new initial detection result, and control the target function based on the new initial detection result.
[0095] Optionally, the device may further include:
[0096] The second processing module is used to stop detecting whether there is someone in the vehicle before any door is detected to be opened, when the vehicle is in a driving state or all doors are in a closed state for a duration greater than or equal to a second duration threshold, and to control the target function based on the initial detection result.
[0097] Optionally, the detection module 201 may include:
[0098] The first detection unit is used to detect whether there is someone in the car through multiple detection methods.
[0099] The first processing unit is configured to use the detection result corresponding to the detection method with the highest confidence as the initial detection result when the detection results corresponding to the multiple detection methods are inconsistent; wherein each detection method is preset with a corresponding confidence level.
[0100] Optionally, the detection module 201 may include:
[0101] The second detection unit is used to detect whether there is someone in the car through multiple detection methods.
[0102] The second processing unit is configured to use, when the detection results corresponding to the multiple detection methods are inconsistent, the detection result indicating that there is someone in the car as the initial detection result.
[0103] Optionally, the target function includes at least one of the following: screen brightness control function, vehicle system volume adjustment function, start and disable function of audio devices inside and outside the vehicle, air conditioning temperature adjustment function, window height adjustment function, and seat position adjustment function.
[0104] The vehicle control device provided in this embodiment belongs to the same application concept as the vehicle control method provided in the above embodiments of this application, and can execute the vehicle control method provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects of the execution method. For the technical details not fully described in this embodiment, please refer to the specific processing content of the vehicle control method provided in the above embodiments of this application, and will not be repeated here.
[0105] Exemplary Electronic Devices
[0106] The present application also provides an electronic device, such as Figure 3 As shown, the electronic device includes: a memory 300 and a processor 310 .
[0107] The memory 300 is connected to the processor 310 and is used to store programs.
[0108] The processor 310 is used to implement the vehicle control method in the above embodiment by running the program stored in the memory 300.
[0109] Specifically, the electronic device may further include: a communication interface 320 , an input device 330 , an output device 340 and a bus 350 .
[0110] The processor 310, the memory 300, the communication interface 320, the input device 330 and the output device 340 are connected to each other via a bus.
[0111] Bus 350 may include a pathway for transferring information between the various components of the computer system.
[0112] The processor 310 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the scheme of the present invention. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0113] The processor 310 may include a main processor, and may also include a baseband chip, a modem, and the like.
[0114] The memory 300 stores a program for executing the technical solution of the present invention, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes a computer operation instruction. More specifically, the memory 300 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.
[0115] The input device 330 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.
[0116] Output device 340 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.
[0117] The communication interface 320 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
[0118] The processor 310 executes the program stored in the memory 300 and calls other devices, which can be used to implement the various steps of the vehicle control method provided in the above embodiments of the present application.
[0119] Example Vehicles
[0120] The embodiment of the present application also provides a vehicle, comprising: the aforementioned electronic device, a first detection device for detecting the open / closed state of a vehicle door, and a second detection device for detecting whether there is someone in the vehicle. The electronic device is used to implement the steps in the vehicle control method described in the embodiment of the present application based on the detection results of the first detection device and the second detection device.
[0121] Among them, the electronic equipment described here may include but is not limited to one of the following: a vehicle-mounted terminal, a vehicle-machine module, a vehicle controller, a domain controller, etc.
[0122] The first detection device mentioned here may be a door sensor, and the type of the door sensor may include but is not limited to at least one of the following: a magnetic sensor, a capacitive sensor, a photoelectric sensor, a Hall sensor, and the like.
[0123] Among them, the second detection device described here may include but is not limited to at least one of the following: a seat occupancy sensor, an in-vehicle camera, a microphone, a millimeter-wave radar, etc.
[0124] The vehicle provided in this embodiment belongs to the same application concept as the vehicle control method provided in the above embodiments of this application, and can execute the vehicle control method provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not fully described in this embodiment, please refer to the specific processing content of the vehicle control method provided in the above embodiments of this application, and will not be repeated here.
[0125] Exemplary computer program products and storage media
[0126] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps in the vehicle control method described in the embodiment of the present application.
[0127] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK).
[0128] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0129] In addition, an embodiment of the present application may also be a storage medium on which a computer program is stored, and the computer program is executed by a processor to execute the steps of the vehicle control method described in the embodiment of the present application.
[0130] In addition, the embodiment of the present application may also be a chip, which includes a processor and a data interface. The processor reads instructions stored in the memory through the data interface to execute the steps in the point of interest query method described in the embodiment of the present application.
[0131] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0132] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0133] The steps in the methods of each embodiment of the present application can be adjusted in order, combined and deleted according to actual needs, and the technical features recorded in each embodiment can be replaced or combined.
[0134] The modules and sub-modules in the devices and terminals in the embodiments of the present application can be combined, divided and deleted according to actual needs.
[0135] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the terminal embodiments described above are only schematic, for example, the division of modules or submodules is only a logical function division, and there may be other division methods in actual implementation, for example, multiple submodules or modules can be combined or integrated into another module, 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 an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0136] The modules or submodules described as separate components may or may not be physically separated, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place, or they may be distributed on multiple network modules or submodules. Some or all of the modules or submodules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0137] In addition, each functional module or submodule in each embodiment of the present application may be integrated into one processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into one module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or in the form of software functional modules or submodules.
[0138] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0139] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly by hardware, software units executed by a processor, or a combination of the two. The software units may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0140] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
Claims
1. A vehicle control method, It is characterized in that The method comprises: When it is detected that all vehicle doors are in a closed state, detecting whether there is someone in the vehicle to obtain an initial detection result; wherein the initial detection result is used to indicate whether there is someone in the vehicle or no one in the vehicle; Based on the initial detection result, controlling a target function of the vehicle; wherein a control strategy of the target function when there is someone in the vehicle is different from a control strategy when there is no one in the vehicle; Before any door is detected to be opened, if the detection result of whether there is someone in the vehicle changes relative to the initial detection result, the target function continues to be controlled based on the initial detection result.
2. The vehicle control method according to claim 1, It is characterized in that In the case where it is detected that all vehicle doors are in a closed state, after detecting whether there is someone in the vehicle, the method further includes: If a person is detected in the vehicle at any time within the first time threshold, an initial detection result indicating that a person is in the vehicle is generated; wherein the first time threshold starts from the moment when all vehicle doors are detected to be in a closed state; If no one is detected in the vehicle within the first time threshold, an initial detection result indicating that no one is in the vehicle is generated.
3. The vehicle control method according to claim 1 or 2, It is characterized in that In the case where it is detected that all vehicle doors are in a closed state, after detecting whether there is someone in the vehicle, the method further includes: When it is detected that any door changes from a closed state to an open state, stopping the detection of whether there is a person in the vehicle, and controlling the target function based on the initial detection result; When it is detected again that all the vehicle doors are in the closed state, whether there is anyone in the vehicle is detected again, and a new initial detection result is obtained, and the target function is controlled based on the new initial detection result.
4. The vehicle control method according to claim 1 or 2, It is characterized in that In the case where it is detected that all vehicle doors are in a closed state, after detecting whether there is someone in the vehicle, the method further includes: When the vehicle is in driving state, or all doors are in closed state for a duration greater than or equal to a second duration threshold, before any door is detected to be opened, stop detecting whether there is someone in the vehicle, and control the target function based on the initial detection result.
5. The vehicle control method according to claim 1 or 2, It is characterized in that The detecting whether there is someone in the vehicle and obtaining an initial detection result include: Detect whether there is someone in the car through various detection methods; When the detection results corresponding to the multiple detection methods are inconsistent, the detection result corresponding to the detection method with the highest confidence level is used as the initial detection result; wherein each detection method is preset with a corresponding confidence level.
6. The vehicle control method according to claim 1 or 2, It is characterized in that The target function includes at least one of the following: screen brightness control function, vehicle system volume adjustment function, in-vehicle and out-of-vehicle audio device activation and deactivation function, air conditioning temperature adjustment function, window height adjustment function, and seat position adjustment function.
7. A vehicle control device, It is characterized in that The device comprises: A detection module, used to detect whether there is someone in the car when it is detected that all the doors are in a closed state, and obtain an initial detection result; wherein the initial detection result is used to indicate whether there is someone in the car or no one in the car; A function control module is used to control a target function of the vehicle based on the initial detection result; and before any door is detected to be opened, if the detection result of whether there is someone in the vehicle changes relative to the initial detection result, continue to control the target function based on the initial detection result; wherein the control strategy of the target function when there is someone in the vehicle is different from the control strategy when there is no one in the vehicle.
8. An electronic device, It is characterized in that include: Memory and processor; The memory is connected to the processor and is used to store programs; The processor is used to implement the vehicle control method according to any one of claims 1 to 6 by running the program in the memory.
9. A vehicle, It is characterized in that include: The electronic device as claimed in claim 8, a first detection device for detecting the open or closed state of a vehicle door, and a second detection device for detecting whether there is someone in the vehicle; The electronic device is used to implement the vehicle control method according to any one of claims 1 to 6 based on the detection results of the first detection device and the second detection device.
10. A computer program product, It is characterized in that The computer program product stores a computer program, and when the computer program is executed by a processor, the vehicle control method according to any one of claims 1 to 6 is implemented.
