Living body detection and alarm method and device, electronic equipment and storage medium
By using ultra-wideband radar to detect living bodies in the vehicle when the vehicle door is closed, and combining the status of the vehicle parts and the position of the control device, it determines whether the alarm is triggered, which solves the problem of unnecessary alarms, improves the user experience and complies with regulatory requirements.
Patent Information
- Application Number
- CN202411906607.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-02-14
AI Technical Summary
After the prior art cancels the vehicle lock precondition, the live detection function triggers unnecessary alarms, and the user experience is poor.
When the vehicle door is closed, an ultra-wideband radar detects whether there is a living body in the vehicle, and determines whether to alarm according to the preset alarm mode based on the status of components associated with the driver in the vehicle and the position of the vehicle control device.
It effectively avoids unnecessary alarms, improves user experience, and complies with the new scenario application needs of EN-CAP regulations in 2025.
Smart Images

Figure CN119428522A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of liveness detection, and in particular to a liveness detection and alarm method, device, electronic device, and storage medium. Background Art
[0002] With the continuous improvement of automobile intelligence and safety, in-vehicle liveness detection technology has gradually become an important part of the automobile safety system. In particular, driven by the EN-CAP regulations, in 2024, it is required to trigger the liveness detection function and alarm after the vehicle is locked to prevent people or pets from being left in the car and avoid life-threatening environmental factors such as high temperature and lack of oxygen.
[0003] However, the EN-CAP regulation in 2025 adds new scenario application requirements, such as "children enter an unlocked vehicle without supervision and are trapped in the car alarm", which requires that the liveness detection function can be triggered and the alarm can be issued even when the vehicle is not locked. From the perspective of the new scenario, when the vehicle is not locked, the existing strategy implementation logic and preconditions cannot meet the alarm requirements. If the precondition of locking the vehicle is simply cancelled, the existing alarm strategy will lead to many unnecessary alarm situations, resulting in a poor user experience. Summary of the invention
[0004] The embodiments of the present application provide a liveness detection and alarm method, device, electronic device and storage medium to solve the problem in the related art of triggering the liveness detection function and alarming by simply canceling the precondition of locking the vehicle, resulting in unnecessary alarms and poor user experience.
[0005] In a first aspect, an embodiment of the present application provides a living body detection and alarm method, which is applied to a vehicle, wherein the vehicle includes an ultra-wideband radar, and the method includes:
[0006] When a door of the vehicle is closed, detecting whether there is a living body in the vehicle by using the ultra-wideband radar;
[0007] In the case where the living body is in the vehicle, it is determined whether to issue an alarm according to a preset alarm mode according to the status of components in the vehicle associated with the driver and the position of a control device of the vehicle relative to the vehicle.
[0008] Optionally, detecting whether there is a living body in the vehicle by using the ultra-wideband radar includes:
[0009] Sending an ultra-wideband pulse signal into the vehicle by means of the ultra-wideband radar;
[0010] Receiving a reflected signal by the ultra-wideband radar, wherein the reflected signal is a signal reflected by the ultra-wideband pulse signal encountering an object in the vehicle;
[0011] Extracting a feature of the reflected signal from the reflected signal, wherein the feature of the reflected signal at least includes amplitude, phase and frequency;
[0012] Comparing the characteristics of the reflection signal with preset living body characteristics;
[0013] In the case where the feature of the reflected signal is consistent with the preset living body feature, determining that a living body exists in the vehicle;
[0014] When the absence of the reflected signal is consistent with the preset living body feature, it is determined that the living body does not exist in the vehicle.
[0015] Optionally, the driver-related components in the vehicle include vehicle doors;
[0016] The determining whether to issue an alarm according to a preset alarm mode according to the state of a component associated with the driver in the vehicle and the position of the control device of the vehicle relative to the vehicle comprises:
[0017] Detecting whether the vehicle door is locked;
[0018] When the vehicle door is locked, an alarm is given according to a preset alarm mode.
[0019] Optionally, the driver-associated components of the vehicle include a brake pedal;
[0020] After the step of detecting whether the vehicle door is locked, the method comprises:
[0021] When the vehicle door is not locked, detecting whether the brake pedal is depressed by the ultra-wideband radar;
[0022] When the brake pedal is stepped on, the alarm is stopped according to the preset alarm mode.
[0023] Optionally, the driver-related components in the vehicle include a driver's seat, and the control device of the vehicle includes a key;
[0024] After the step of detecting whether the brake pedal is depressed by the ultra-wideband radar, the method includes:
[0025] When the brake pedal is not depressed, detecting whether there is someone on the driver's seat by using the ultra-wideband radar;
[0026] When there is someone on the driver's seat, detecting whether the key is in the vehicle by using the ultra-wideband radar;
[0027] When the key is in the vehicle, stopping the alarm according to the preset alarm mode;
[0028] When the key is not in the vehicle, an alarm is triggered according to the preset alarm strategy.
[0029] Optionally, after the step of detecting whether there is someone on the driver's seat by the ultra-wideband radar, the method includes:
[0030] When no one is on the driver's seat, detecting whether the key is in the vehicle by using the ultra-wideband radar;
[0031] When the key is in the vehicle, detecting whether the vehicle door is opened, whether the brake pedal is pressed, and whether there is someone in the driver's seat within a preset time;
[0032] If the vehicle door is not opened, the brake pedal is not pressed, and no one is sitting in the driver's seat within the preset time, an alarm is sounded according to a preset alarm mode.
[0033] Optionally, after the step of detecting whether the key is in the vehicle by the ultra-wideband radar, the method comprises:
[0034] When the key is not in the vehicle, an alarm is sounded according to a preset alarm mode.
[0035] In a second aspect, an embodiment of the present application provides a living body detection and alarm device, which is applied to a vehicle, wherein the vehicle includes an ultra-wideband radar, and the device includes:
[0036] a living body detection module, configured to detect whether there is a living body in the vehicle by using the ultra-wideband radar when the door of the vehicle is closed;
[0037] The vehicle alarm module is configured to determine whether to sound an alarm in a preset alarm mode based on the status of components associated with the driver in the vehicle and the position of the vehicle's control device relative to the vehicle when the living body is in the vehicle.
[0038] Optionally, the living body detection module includes:
[0039] An ultra-wideband pulse signal sending submodule, configured to send an ultra-wideband pulse signal into the vehicle through the ultra-wideband radar;
[0040] a reflected signal receiving submodule, configured to receive a reflected signal through the ultra-wideband radar, wherein the reflected signal is a signal reflected by the ultra-wideband pulse signal encountering an object in the vehicle;
[0041] A feature extraction submodule is configured to extract features of the reflection signal from the reflection signal, wherein the features of the reflection signal at least include amplitude, phase and frequency;
[0042] A feature comparison submodule, configured to compare the feature of the reflection signal with a preset living body feature;
[0043] A first living body detection submodule is configured to determine that a living body exists in the vehicle when a feature of the reflection signal is consistent with the preset living body feature;
[0044] The second living body detection submodule is configured to determine that the living body does not exist in the vehicle when the feature of the absence of the reflected signal is consistent with the preset living body feature.
[0045] Optionally, the vehicle alarm module includes:
[0046] A door lock detection submodule, configured to detect whether the door is locked;
[0047] The first alarm submodule is configured to give an alarm according to a preset alarm mode when the vehicle door is locked.
[0048] Optionally, the vehicle alarm module includes:
[0049] a brake pedal detection submodule, configured to detect whether the brake pedal is depressed by using the ultra-wideband radar when the vehicle door is unlocked;
[0050] The first alarm prohibition submodule is configured to stop giving an alarm according to a preset alarm mode when the brake pedal is stepped on.
[0051] Optionally, the vehicle alarm module includes:
[0052] a driver seat detection submodule, configured to detect whether there is someone on the driver seat by using the ultra-wideband radar when the brake pedal is not depressed;
[0053] A first vehicle key detection submodule is configured to detect whether the key is in the vehicle by using the ultra-wideband radar when there is someone on the driver's seat;
[0054] a second alarm disabling submodule, configured to stop giving an alarm according to a preset alarm mode when the key is in the vehicle;
[0055] The second alarm submodule is configured to generate an alarm according to the preset alarm strategy when the key is not in the vehicle.
[0056] Optionally, the vehicle alarm module includes:
[0057] A second vehicle key detection submodule is configured to detect whether the key is in the vehicle by using the ultra-wideband radar when no one is on the driver's seat;
[0058] a vehicle component detection submodule, configured to detect, when the key is in the vehicle, whether the vehicle door is opened, whether the brake pedal is pressed, and whether there is someone on the driver's seat within a preset time;
[0059] The third alarm submodule is configured to give an alarm according to a preset alarm mode when the vehicle door is not opened, the brake pedal is not pressed, and no one is sitting on the driver's seat within the preset time.
[0060] Optionally, the vehicle alarm module includes:
[0061] The fourth alarm submodule is configured to give an alarm according to a preset alarm mode when the key is not in the vehicle.
[0062] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor, wherein the processor is configured to execute the instructions to implement any of the liveness detection and alarm methods described above.
[0063] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform any of the liveness detection and alarm methods described above.
[0064] In an embodiment of the present application, when the vehicle doors are closed, an ultra-wideband radar is used to detect whether there is a living body in the vehicle; when there is a living body in the vehicle, it is determined whether to issue an alarm according to a preset alarm mode based on the state of the components associated with the driver in the vehicle and the position of the vehicle's control device relative to the vehicle. The present application detects whether there is a living body in the vehicle when the vehicle doors are closed, and when there is a living body in the vehicle, further uses the state of the components associated with the driver in the vehicle and the position of the vehicle's control device relative to the vehicle as a precondition for whether to issue an alarm. This not only meets the requirements of the newly added scenarios in the regulations, that is, requiring that the liveness detection function can be triggered and an alarm can be issued even when the vehicle is unlocked, but also comprehensively considers the state of the vehicle and the driver's behavior, and only triggers an alarm when it is confirmed that there is a real dangerous situation, thereby avoiding the triggering of unnecessary alarms and improving the user experience.
[0065] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0067] Figure 1 This is one of the step flow charts of a liveness detection and alarm method provided in an embodiment of the present application;
[0068] Figure 2 This is the second step flow chart of a liveness detection and alarm method provided in an embodiment of the present application;
[0069] Figure 3 This is the third step flow chart of a liveness detection and alarm method provided in an embodiment of the present application;
[0070] Figure 4 This is the fourth step flow chart of a liveness detection and alarm method provided in an embodiment of the present application;
[0071] Figure 5 This is the fifth step flow chart of a liveness detection and alarm method provided in an embodiment of the present application;
[0072] Figure 6 This is the sixth step flow chart of a liveness detection and alarm method provided in an embodiment of the present application;
[0073] Figure 7 is a device block diagram of a living body detection and alarm device provided in an embodiment of the present application;
[0074] Figure 8 It is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0075] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0076] In conjunction with the accompanying drawings, a liveness detection and alarm method, device, electronic device and storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0077] Figure 1 is a flowchart of a method for detecting and alarming a living body provided by an embodiment of the present application. Figure 1 As shown, the method includes:
[0078] Step 101: When the door of the vehicle is closed, detect whether there is a living body in the vehicle by using an ultra-wideband radar.
[0079] In some embodiments of the present application, at least one UWB (UltraWide Band) radar is arranged at the front and rear of the vehicle respectively to ensure that every corner of the vehicle's interior space can receive the signal sent by the ultra-wideband radar.
[0080] In order to comply with the new scenario application requirements of the EN-CAP regulations in 2025, which requires that the liveness detection function can be triggered and an alarm can be sounded even when the vehicle is not locked, when it is detected that all the vehicle doors are closed, the ultra-wideband radar installed on the vehicle can be used to detect whether there are living things inside the vehicle.
[0081] Step 102, in the case where there is a living body in the vehicle, determine whether to issue an alarm according to a preset alarm mode based on the status of components in the vehicle associated with the driver and the position of the vehicle control device relative to the vehicle.
[0082] In some embodiments of the present application, when the presence of a living body is detected in a vehicle by an ultra-wideband radar, in order to avoid triggering an alarm in a scenario where an alarm is not necessary, for example: the driver temporarily parks the car without locking it and takes a rest in the car, triggering an unnecessary alarm; the driver briefly leaves the car without locking it, triggering an unnecessary alarm, etc., the state of components associated with the driver in the vehicle and the position of the vehicle's control device relative to the vehicle can be used as prerequisites for whether to issue an alarm, to determine whether to issue an alarm according to the preset alarm mode.
[0083] Among them, the components associated with the driver refer to the components in the vehicle that are directly related to the driver or have a significant impact on his driving behavior. For example, the components associated with the driver can be doors, brake pedals, driver's seats, etc. These components associated with the driver usually affect the driver's safety and driving experience. The vehicle control device refers to a device or equipment used to control the vehicle. For example, the vehicle control device can be a car key, etc. These vehicle control devices can be operated by the driver or passengers to achieve control of the vehicle.
[0084] Among them, the preset alarm mode can be to send an alarm signal to the multimedia host. After the multimedia host receives the alarm signal, it sends the alarm signal to the body controller. After receiving the alarm signal, the body controller drives and controls the vehicle's double flash lights to flash and the horn to sound.
[0085] The preset alarm mode can be to send an alarm signal to the multimedia host. After receiving the alarm signal, the multimedia host sends the alarm signal to the T-BOX (Telematic BOX, vehicle-mounted communication terminal). After receiving the alarm signal, the T-BOX sends the alarm signal to the cloud platform. After receiving the alarm signal, the cloud platform sends an alarm prompt (for example: text message) to the mobile phone APP bound to the vehicle.
[0086] The preset alarm mode can also be a primary alarm within a first preset time (for example, 10 seconds), which can send a primary alarm signal to the multimedia host. After the multimedia host receives the primary alarm signal, it sends the primary alarm signal to the body controller. After receiving the primary alarm signal, the body controller drives and controls the flashing lights and horn of the vehicle. After the second preset time (for example, 1 minute), an upgraded alarm can be performed. An upgraded alarm signal can be sent to the multimedia host. After the multimedia host receives the upgraded alarm signal, it sends the upgraded alarm signal to the T-BOX. After receiving the upgraded alarm signal, the T-BOX sends the upgraded alarm signal to the cloud platform. After receiving the upgraded alarm signal, the cloud platform sends an alarm prompt (for example, a text message) to the mobile phone APP bound to the vehicle.
[0087] The present application detects whether there is a living body in the vehicle when the vehicle door is closed, and when there is a living body in the vehicle, further uses the state of the components in the vehicle related to the driver and the position of the vehicle control device relative to the vehicle as a prerequisite for whether to issue an alarm. This not only meets the new scenario requirements added by the regulations, that is, the requirement to trigger the liveness detection function and alarm even when the vehicle is not locked, but also comprehensively considers the state of the vehicle and the driver's behavior. The alarm is only triggered when it is confirmed that a real dangerous situation exists, thereby avoiding the triggering of unnecessary alarms and improving the user experience.
[0088] Further, in some embodiments of the present application, Figure 2 As shown, step 101 may further include the following steps:
[0089] Step 201: Send an ultra-wideband pulse signal into a vehicle via an ultra-wideband radar.
[0090] Step 202 : receiving a reflected signal through an ultra-wideband radar, wherein the reflected signal is a signal reflected back by the ultra-wideband pulse signal encountering an object in the vehicle.
[0091] Step 203: extracting features of the reflected signal from the reflected signal, wherein the features of the reflected signal at least include amplitude, phase, and frequency.
[0092] In some embodiments of the present application, an ultra-wideband pulse signal is continuously sent into the vehicle at a certain frequency by an ultra-wideband radar. The ultra-wideband pulse signal has an extremely short duration and an extremely wide spectrum, and can penetrate objects in the vehicle and propagate in the space within the vehicle. The ultra-wideband pulse signal will be reflected when encountering objects in the vehicle (for example, seats, human bodies, etc.), and the reflected signal is the reflected signal.
[0093] The reflected signal is received by the ultra-wideband radar. When the ultra-wideband radar receives the reflected signal, features can be extracted from the received reflected signal. The features may be amplitude, phase, frequency, etc.
[0094] Step 204: compare the characteristics of the reflected signal with the preset living body characteristics.
[0095] Step 205: When the characteristics of the reflected signal are consistent with the preset living body characteristics, it is determined that there is a living body in the vehicle.
[0096] Step 206: When the feature of the absence of the reflected signal is consistent with the preset living body feature, it is determined that there is no living body in the vehicle.
[0097] In some embodiments of the present application, when the ultra-wideband radar obtains the features of all reflected signals, the features of all reflected signals can be compared with the preset living body features. If there is a feature of a reflected signal consistent with the preset living body feature among the features of all reflected signals, it can be determined that there is a living body in the vehicle.
[0098] If there is no reflected signal feature consistent with the preset living body feature among the features of all reflected signals, it can be determined that there is no living body in the vehicle.
[0099] This application uses an ultra-wideband radar to send an ultra-wideband pulse signal into the vehicle, receive the reflected signal, extract the characteristics of the reflected signal (such as amplitude, phase and frequency), and compare it with the preset living body characteristics, which can effectively distinguish between living and non-living bodies in the vehicle, thereby improving the accuracy of living body detection in the vehicle. In addition, this application arranges ultra-wideband radars at the front and rear of the vehicle respectively, ensuring that every corner of the vehicle's interior space can receive the ultra-wideband pulse signal. This comprehensive signal coverage can effectively detect whether there is a living body in the vehicle, avoiding the problem of missed detection caused by signal blind spots.
[0100] Further, in some embodiments of the present application, Figure 3 As shown, step 102 may further include the following steps:
[0101] Step 301, detecting whether the vehicle door is locked.
[0102] Step 302: When the vehicle door is locked, an alarm is sounded according to a preset alarm mode.
[0103] In some embodiments of the present application, it is detected whether all doors of the vehicle are locked. When all doors of the vehicle are locked, an alarm is given according to a preset alarm mode.
[0104] This application can effectively improve the safety of the vehicle by triggering an alarm when the car door is locked. Even in the case of negligence or emergency of the car owner, the living creature in the car can be detected in time, and corresponding alarm and intervention measures can be taken to ensure the safety of the people or pets in the car.
[0105] Further, in some embodiments of the present application, Figure 4 As shown, after step 301, the following steps may also be included:
[0106] Step 401: When the vehicle door is not locked, detect whether the brake pedal is pressed by using an ultra-wideband radar.
[0107] Step 402, when the brake pedal is depressed, stop giving an alarm according to a preset alarm mode.
[0108] In some embodiments of the present application, when all doors of the vehicle are unlocked, an ultra-wideband radar may be used to detect whether the brake pedal is pressed.
[0109] Among them, the specific implementation process of using ultra-wideband radar to detect whether the brake pedal is pressed can be: receiving the brake pedal signal sent by the brake pedal through the ultra-wideband radar; if the ultra-wideband radar receives the brake pedal signal, it is determined that the brake pedal of the vehicle is pressed; if the ultra-wideband radar does not receive the brake pedal signal, it is determined that the brake pedal of the vehicle is not pressed.
[0110] When the brake pedal is pressed, the alarm does not sound according to the preset alarm mode.
[0111] This application can effectively distinguish the alarm needs in different scenarios by detecting whether the door is locked and whether the brake pedal is pressed. When the door is not locked and the brake pedal is pressed, the vehicle may be in normal use, such as the driver is resting in the car or leaving the car for a short time without locking it. At this time, the presence of a living body in the car does not necessarily mean that there is a danger. By stopping the alarm, it is possible to avoid triggering the alarm in these scenarios where the alarm is not required, thereby improving the accuracy of the alarm.
[0112] Further, in some embodiments of the present application, Figure 5 As shown, after step 401, the following steps may also be included:
[0113] Step 501: When the brake pedal is not depressed, detect whether there is someone in the driver's seat through an ultra-wideband radar.
[0114] Step 502: When there is someone in the driver's seat, detect whether the key is in the vehicle using an ultra-wideband radar.
[0115] Step 503: When the key is in the vehicle, stop sounding the alarm according to the preset alarm mode.
[0116] Step 504: When the key is not in the vehicle, an alarm is sounded according to a preset alarm strategy.
[0117] In some embodiments of the present application, when the brake pedal is not depressed, an ultra-wideband radar is used to detect whether there is someone in the driver's seat.
[0118] Among them, the specific implementation process of detecting whether there is someone in the driver's seat by using the ultra-wideband radar can be: using the ultra-wideband radar to receive the driver's seat occupancy signal sent by the sensor installed on the driver's seat; if the ultra-wideband radar receives the driver's seat occupancy signal, it is determined that there is someone in the driver's seat of the vehicle; if the ultra-wideband radar does not receive the driver's seat occupancy signal, it is determined that there is no one in the driver's seat of the vehicle.
[0119] When there is someone in the driver's seat, the ultra-wideband radar is used to detect whether the key is in the vehicle.
[0120] Among them, the specific implementation process of detecting whether the key is in the vehicle by the ultra-wideband radar can be: receiving the Bluetooth key signal sent by the Bluetooth key controller and the NFC (Near Field Communication) signal sent by the NFC-PS module by the ultra-wideband radar; when the ultra-wideband radar receives the Bluetooth key signal or the NFC signal, it means that the vehicle key (physical Bluetooth key, mobile phone APP Bluetooth key or NFC card key) is in the vehicle; when the ultra-wideband radar does not receive the Bluetooth key signal and the NFC signal, it means that the vehicle key is not in the vehicle.
[0121] When the ultra-wideband radar detects that the key is in the vehicle, the alarm will not be triggered according to the preset alarm mode.
[0122] When the ultra-wideband radar detects that the key is not in the vehicle, an alarm will be sounded according to the preset alarm mode.
[0123] When the brake pedal is not pressed, the present application further determines whether there is someone on the driver's seat and whether the key is in the vehicle. If there is someone on the driver's seat and the key is in the vehicle, it means that the vehicle may be parked or waiting to be started. At this time, the presence of a living thing in the vehicle does not necessarily mean that there is a danger. By stopping the alarm, unnecessary alarms can be reduced and the user experience is improved. If there is someone on the driver's seat and the key is not in the vehicle, it means that the vehicle may be in an abnormal state, such as the driver is trapped in the car or the key is lost. At this time, there is a living thing in the vehicle and it may be in a dangerous state. By timely alarming, the accuracy of the alarm can be improved to avoid false alarms and missed alarms.
[0124] Further, in some embodiments of the present application, Figure 6 As shown, after step 501, the following steps may also be included:
[0125] Step 601, when no one is sitting in the driver's seat, detect whether the key is in the vehicle through the ultra-wideband radar.
[0126] Step 602, when the key is in the vehicle, detect whether the door is opened, whether the brake pedal is pressed, and whether there is someone in the driver's seat within a preset time.
[0127] Step 603, if the vehicle door is not opened, the brake pedal is not pressed, and there is no one in the driver's seat within the preset time, an alarm is issued according to the preset alarm mode.
[0128] In some embodiments of the present application, when no one is sitting in the driver's seat, an ultra-wideband radar is used to detect whether the key is in the vehicle. The specific implementation process of detecting whether the key is in the vehicle by using the ultra-wideband radar is as described in steps 501 to 504 and will not be repeated here.
[0129] When the key is in the vehicle, detect whether the door is opened, the brake pedal is pressed, and there is someone in the driver's seat within a preset time. For example, the timing is 5 minutes, and detect whether the door is opened, the brake pedal is pressed, and there is someone in the driver's seat within these 5 minutes.
[0130] If the vehicle door is not opened, the brake pedal is not pressed, or there is no movement on the driver's seat within the preset time, an alarm will be sounded according to the preset alarm mode.
[0131] If the car door is opened, the brake pedal is pressed, or someone moves in the driver's seat within the preset time, the alarm will not be sounded according to the preset alarm mode.
[0132] This application determines whether the key is in the car when no one is on the main driver's seat. If the key is in the car, in order to prevent the driver from leaving the vehicle for a short time, it is necessary to further detect whether the door is opened, the brake pedal is stepped on, and whether there is someone on the main driver's seat within a preset time. If the door is opened, or the brake pedal is stepped on, or there is someone on the main driver's seat within the preset time, it means that the driver has temporarily left the vehicle, and there is no need to alarm, so as to avoid customer complaints caused by the driver's short-term departure from the vehicle. If the door is not opened, the brake pedal is not stepped on, and there is no one on the main driver's seat within the preset time, it means that the driver has left the vehicle for a long time, and an alarm is required, which may mean that people or pets are left in the car, and there is a risk of life caused by environmental factors such as high temperature and lack of oxygen. Through timely detection and alarm, the owner or relevant personnel can be reminded to take emergency measures to avoid tragedies.
[0133] Furthermore, in some embodiments of the present application, the following steps may be included after step 601:
[0134] If the key is not in the vehicle, the alarm will be sounded according to the preset alarm mode.
[0135] In some embodiments of the present application, if there is no one in the driver's seat and it is further detected that the key is not in the car, an alarm is triggered according to a preset alarm mode.
[0136] When there is no one in the main driver's seat, this application further determines whether the key is in the vehicle. If the key is not in the vehicle, by triggering an alarm, timely intervention measures can be taken to ensure the safety of living people in the vehicle.
[0137] Corresponding to the method provided in the above-mentioned embodiment of the living body detection and alarm method of the present application, see Figure 7 The present application also provides a device block diagram of a liveness detection and alarm device. In this embodiment, the device includes:
[0138] The living body detection module 701 is configured to detect whether there is a living body in the vehicle through an ultra-wideband radar when the vehicle door is closed;
[0139] The vehicle alarm module 702 is configured to determine whether to sound an alarm in a preset alarm mode based on the status of components associated with the driver in the vehicle and the position of the vehicle's control device relative to the vehicle when there is a living body in the vehicle.
[0140] Optionally, the living body detection module 701 includes:
[0141] The ultra-wideband pulse signal sending submodule is configured to send an ultra-wideband pulse signal into the vehicle through an ultra-wideband radar;
[0142] The reflected signal receiving submodule is configured to receive the reflected signal through the ultra-wideband radar, wherein the reflected signal is a signal reflected back by the ultra-wideband pulse signal encountering an object in the vehicle;
[0143] A feature extraction submodule is configured to extract features of the reflected signal from the reflected signal, wherein the features of the reflected signal at least include amplitude, phase and frequency;
[0144] A feature comparison submodule is configured to compare the feature of the reflection signal with a preset living body feature;
[0145] The first living body detection submodule is configured to determine that there is a living body in the vehicle when the characteristics of the reflected signal are consistent with the preset living body characteristics;
[0146] The second living body detection submodule is configured to determine that there is no living body in the vehicle when the feature of the non-existent reflected signal is consistent with the preset living body feature.
[0147] Optionally, the vehicle alarm module includes:
[0148] A door lock detection submodule is configured to detect whether the door is locked;
[0149] The first alarm submodule is configured to give an alarm according to a preset alarm mode when the vehicle door is locked.
[0150] Optionally, the vehicle alarm module includes:
[0151] The brake pedal detection submodule is configured to detect whether the brake pedal is pressed by using an ultra-wideband radar when the vehicle door is not locked;
[0152] The first alarm prohibition submodule is configured to stop giving an alarm according to a preset alarm mode when the brake pedal is stepped on.
[0153] Optionally, the vehicle alarm module includes:
[0154] The driver seat detection submodule is configured to detect whether there is someone in the driver seat through an ultra-wideband radar when the brake pedal is not depressed;
[0155] The first vehicle key detection submodule is configured to detect whether the key is in the vehicle through an ultra-wideband radar when there is someone on the main driver's seat;
[0156] A second alarm prohibition submodule is configured to stop the alarm according to a preset alarm mode when the key is in the vehicle;
[0157] The second alarm submodule is configured to give an alarm according to a preset alarm strategy when the key is not in the vehicle.
[0158] Optionally, the vehicle alarm module includes:
[0159] The second vehicle key detection submodule is configured to detect whether the key is in the vehicle through an ultra-wideband radar when no one is in the main driver's seat;
[0160] The vehicle component detection submodule is configured to detect whether the door is opened, the brake pedal is pressed, and whether there is someone in the driver's seat within a preset time when the key is in the vehicle;
[0161] The third alarm submodule is configured to sound an alarm in a preset alarm mode when the vehicle door is not opened, the brake pedal is not pressed, and there is no one in the driver's seat within a preset time.
[0162] Optionally, the vehicle alarm module includes:
[0163] The fourth alarm submodule is configured to sound an alarm according to a preset alarm mode when the key is not in the vehicle.
[0164] Figure 8This is a structural diagram of an electronic device M00 provided in an embodiment of the present application. In the figure, the electronic device M00 includes a processor M01 and a memory M02. The memory M02 stores programs or instructions that can be run on the processor M01. When the program or instruction is executed by the processor M01, the various steps of the above-mentioned living body detection and alarm method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0165] In an embodiment of the present application, the memory M02 may be used to store software programs and various data. The memory M02 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory M02 may include a volatile memory or a non-volatile memory, or the memory M02 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory M02 in the embodiment of the present application includes but is not limited to these and any other suitable types of memories.
[0166] The processor M01 may include one or more processing units; optionally, the processor M01 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor M01.
[0167] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned living body detection and alarm method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0168] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0169] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned living body detection and alarm method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0170] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0171] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for detecting and alarming a living body, characterized in that: Applied to a vehicle, wherein the vehicle includes an ultra-wideband radar, the method comprising: When a door of the vehicle is closed, detecting whether there is a living body in the vehicle by using the ultra-wideband radar; In the case where the living body is in the vehicle, it is determined whether to issue an alarm according to a preset alarm mode according to the status of components in the vehicle associated with the driver and the position of a control device of the vehicle relative to the vehicle.
2. The method according to claim 1, characterized in that The detecting whether there is a living body in the vehicle by using the ultra-wideband radar comprises: Sending an ultra-wideband pulse signal into the vehicle by means of the ultra-wideband radar; Receiving a reflected signal by the ultra-wideband radar, wherein the reflected signal is a signal reflected by the ultra-wideband pulse signal encountering an object in the vehicle; Extracting a feature of the reflected signal from the reflected signal, wherein the feature of the reflected signal at least includes amplitude, phase and frequency; Comparing the characteristics of the reflection signal with preset living body characteristics; In the case where the feature of the reflected signal is consistent with the preset living body feature, determining that a living body exists in the vehicle; When the absence of the reflected signal is consistent with the preset living body feature, it is determined that the living body does not exist in the vehicle.
3. The method according to claim 1, characterized in that The components of the vehicle associated with the driver include vehicle doors; The determining whether to issue an alarm according to a preset alarm mode according to the state of a component associated with the driver in the vehicle and the position of the control device of the vehicle relative to the vehicle comprises: Detecting whether the vehicle door is locked; When the vehicle door is locked, an alarm is given according to a preset alarm mode.
4. The method according to claim 3, characterized in that The components of the vehicle associated with the driver include a brake pedal; After the step of detecting whether the vehicle door is locked, the method comprises: When the vehicle door is not locked, detecting whether the brake pedal is depressed by the ultra-wideband radar; When the brake pedal is stepped on, the alarm is stopped according to the preset alarm mode.
5. The method according to claim 4, characterized in that The components of the vehicle associated with the driver include a driver's seat, and the control device of the vehicle includes a key; After the step of detecting whether the brake pedal is depressed by the ultra-wideband radar, the method includes: When the brake pedal is not depressed, detecting whether there is someone on the driver's seat by using the ultra-wideband radar; When there is someone on the driver's seat, detecting whether the key is in the vehicle by using the ultra-wideband radar; When the key is in the vehicle, stopping the alarm according to the preset alarm mode; When the key is not in the vehicle, an alarm is triggered according to the preset alarm strategy.
6. The method according to claim 5, characterized in that After the step of detecting whether there is someone on the driver's seat by using the ultra-wideband radar, the method includes: When no one is on the driver's seat, detecting whether the key is in the vehicle by using the ultra-wideband radar; When the key is in the vehicle, detecting whether the vehicle door is opened, whether the brake pedal is pressed, and whether there is someone in the driver's seat within a preset time; If the vehicle door is not opened, the brake pedal is not pressed, and no one is sitting in the driver's seat within the preset time, an alarm is sounded according to a preset alarm mode.
7. The method according to claim 6, characterized in that After the step of detecting whether the key is in the vehicle by the ultra-wideband radar, the method comprises: When the key is not in the vehicle, an alarm is sounded according to a preset alarm mode.
8. A living body detection and alarm device, characterized in that: Applied to a vehicle, wherein the vehicle includes an ultra-wideband radar, and the device includes: a living body detection module, configured to detect whether there is a living body in the vehicle by using the ultra-wideband radar when the door of the vehicle is closed; The vehicle alarm module is configured to determine whether to sound an alarm in a preset alarm mode based on the status of components associated with the driver in the vehicle and the position of the vehicle's control device relative to the vehicle when the living body is in the vehicle.
9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the living body detection and alarm method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the living body detection and alarm method as described in any one of claims 1 to 7.