In-vehicle living body detection method and system, computer equipment and storage medium
By acquiring and analyzing the echo signal data of the UWB radar, combining the body and environmental information, and using the live positioning model for judgment, the problem of UWB radar being disturbed in the live detection in the vehicle is solved, and high-accurate live detection in the vehicle is achieved.
Patent Information
- Application Number
- CN202411903440.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-04-22
AI Technical Summary
UWB radar is susceptible to interference from the outside environment and personnel during in-vehicle live detection, resulting in false alarms and affecting the accuracy and reliability of the detection.
By obtaining the echo signal data of the target vehicle, determining the live body detection information and position information, and combining the vehicle body information and environmental information, using the live body positioning model for judgment to improve the accuracy and reliability of the detection.
It realizes accurate positioning of living bodies in the car, reduces false alarms and missed alarms, and improves the accuracy and reliability of detection.
Smart Images

Figure CN119861366A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile safety technology, and in particular to a method, system, computer device and storage medium for in-vehicle liveness detection. Background Art
[0002] In-vehicle liveness detection is an important requirement in the field of automotive safety.
[0003] In the related technology, UWB (Ultra-Wide Band) radar is used to transmit pulse signals and receive the echo of the pulse signal after it is reflected by obstacles to realize the perception of the surrounding environment. The principle is to use the CIR (Channel Impulse Response) of the channel to detect surrounding objects and their motion status. When there are objects around the UWB radar, there will be a pulse peak at the corresponding position of CIR; when the surrounding objects move, the corresponding CIR value will change due to the Doppler effect. By analyzing the CIR spectrum, the motion state of the object can be estimated, and then the presence of living things in the car can be analyzed.
[0004] However, UWB radar is easily affected by the external environment and people, causing false alarms, which in turn affects the accuracy and reliability of the vehicle's living body detection function. Summary of the invention
[0005] In order to solve the above technical problems, the present application provides a method, system, computer device and storage medium for in-vehicle liveness detection.
[0006] In a first aspect, the present application provides a method for detecting a live body in a vehicle, the method comprising:
[0007] Obtaining echo signal data corresponding to the target vehicle;
[0008] Determining living body detection information according to the echo signal data;
[0009] If the living body detection information indicates that a living body is detected, determining the position information of the living body according to the echo signal data;
[0010] Obtaining body information and environmental information corresponding to the target vehicle;
[0011] A live body detection result inside the target vehicle is obtained according to the echo signal data, the position information, the vehicle body information and the environmental information, and the live body detection result inside the target vehicle is used to characterize whether the live body exists inside the target vehicle.
[0012] In one embodiment, obtaining the in-vehicle liveness detection result of the target vehicle according to the echo signal data, the location information, the vehicle body information and the environment information includes:
[0013] Acquiring signal characteristics of the echo signal data;
[0014] Inputting the signal feature, the position information, the vehicle body information and the environment information into a living body positioning model to obtain living body positioning information output by the living body positioning model, wherein the living body positioning information is used to characterize whether the living body is inside or outside the target vehicle;
[0015] The in-vehicle living body detection result is determined according to the living body positioning information.
[0016] In one embodiment, the echo signal data includes a plurality of echo signals;
[0017] The determining the position information of the living body according to the echo signal data comprises:
[0018] Determining a target echo signal corresponding to the living body according to the waveform of the echo signal;
[0019] The position information is determined according to the target echo signal.
[0020] In one embodiment, the signal characteristics include at least one of the number, attenuation strength, frequency, phase, radial velocity magnitude and radial velocity direction of the target echo signal.
[0021] In one embodiment, a preset radar is provided in the target vehicle, and the preset radar includes at least two receiving antennas at different positions. The radar signal emitted by the preset radar is reflected by the living body to form the target echo signal and is received by the receiving antenna.
[0022] The determining the position information according to the target echo signal comprises:
[0023] Acquire the transmission time of the radar signal and the reception time of the target echo signal;
[0024] Determine a signal return time of the target echo signal according to the transmitting time and the receiving time;
[0025] Determine the relative distance between the living body and the receiving antenna according to the signal return time;
[0026] Determine the azimuth of the living body relative to the preset radar according to the phase difference of the target echo signals received by at least two of the receiving antennas;
[0027] The position information is determined according to the azimuth and at least two of the relative distances.
[0028] In one embodiment, the living body localization model is obtained based on a training data set and an initial model training;
[0029] The training data set includes several groups of sample data collected when the living sample is inside and outside the vehicle, respectively, and the sample data includes signal feature samples, location information samples of the living sample, vehicle body information samples and environment information samples;
[0030] The signal feature sample is determined according to the echo signal sample corresponding to the living body sample, and the vehicle body information sample and the environment information sample are determined by the vehicle sample when the echo signal sample is collected;
[0031] The label corresponding to the sample data is used to mark whether the living sample is inside or outside the vehicle.
[0032] In one embodiment, the environmental information includes at least one of temperature information, humidity information, rainfall information, and snowfall information.
[0033] In a second aspect, the present application provides an in-vehicle liveness detection system, the in-vehicle liveness detection system comprising:
[0034] A signal acquisition module is used to acquire echo signal data corresponding to the target vehicle;
[0035] A signal analysis module, used to determine living body detection information according to the echo signal data;
[0036] A position analysis module, configured to determine position information of the living body according to the echo signal data if the living body detection information indicates that a living body is detected;
[0037] An information acquisition module, used to acquire body information and environmental information corresponding to the target vehicle;
[0038] The in-vehicle liveness detection module is used to obtain the in-vehicle liveness detection result of the target vehicle according to the echo signal data, the position information, the vehicle body information and the environmental information, wherein the in-vehicle liveness detection result is used to characterize whether the living body exists in the target vehicle.
[0039] In a third aspect, the present application provides a vehicle, comprising the in-vehicle living body detection method according to the first aspect.
[0040] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for in-vehicle living body detection described in the first aspect is implemented.
[0041] On the basis of conforming to the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present application.
[0042] The above-mentioned in-vehicle liveness detection method, system, computer equipment and storage medium can achieve the following beneficial effects: performing liveness detection based on the echo signal data corresponding to the target vehicle. If a live body is detected, the location information of the live body is determined based on the echo signal data, and the in-vehicle liveness detection result of the target vehicle is obtained in combination with the vehicle body information and environmental information corresponding to the target vehicle, so as to achieve accurate positioning of the live body, improve the accuracy and reliability of in-vehicle liveness detection, reduce false alarms and missed alarms, and solve the problem of detection overflow. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 1 is a flow chart of a method for detecting a living body in a vehicle according to an embodiment;
[0044] Figure 2 A schematic diagram of a module of an in-vehicle living body detection system in one embodiment;
[0045] Figure 3 is a first internal structure diagram of a computer device in one embodiment;
[0046] Figure 4 A second internal structure diagram of a computer device in one embodiment. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0048] It should be noted that the diagrams provided in the present embodiment only illustrate the basic concept of the present application in a schematic manner. The diagrams only show the components related to the present application rather than the number, shape and size of the components in the actual implementation. The form, quantity and proportion of each component in the actual implementation can be changed at will, and the component layout form may also be more complicated. The structure, proportion, size, etc. illustrated in the drawings of the present specification are only used to match the content disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions that can be implemented in the present application, so they have no technical substantive significance. Any modification of the structure, change of the proportional relationship or adjustment of the size, without affecting the effect that can be produced by the present application and the purpose that can be achieved, should still fall within the scope of the technical content disclosed in the present application. At the same time, the terms such as "upper", "lower", "left", "right", "middle" and "one" quoted in the present specification are only for the convenience of narration, and are not used to limit the scope of the implementation of the present application. The change or adjustment of the relative relationship, without substantial change of the technical content, should also be regarded as the scope of the implementation of the present application.
[0049] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the text does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0050] As shown in this document, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural, unless the context clearly indicates an exception. Generally speaking, the terms "include" and "comprise" only indicate that the steps and elements that have been clearly identified are included, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0051] The definitions of inclusion in this document, such as the terms "having", "may have", "including" or "may include" used herein, indicate the existence of the corresponding functions, operations, elements, etc. herein, and do not limit the existence of one or more other functions, operations, elements, etc. In addition, it should be understood that the terms "including" or "having" used herein indicate the existence of the features, numbers, steps, operations, elements, components, or a combination thereof described in the specification, and do not exclude the existence or addition of one or more other features, numbers, steps, operations, elements, components, or a combination thereof.
[0052] In the embodiments of the present application, prefixes such as "first" and "second" are used only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present application does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "multiple" is two or more.
[0053] In one embodiment, Figure 1 As shown, the in-vehicle living body detection method provided by the present application includes steps S101 to S105:
[0054] S101. Acquire echo signal data corresponding to a target vehicle.
[0055] The vehicle may emit a radar signal through a radar set up in the vehicle, receive an echo signal formed by reflection from an obstacle, and obtain the echo signal data by acquiring the echo signal received by the radar.
[0056] Exemplarily, the target vehicle uses a UWB radar to transmit a radar signal once every preset period, and receives M echo signals within a preset period after transmitting the radar signal. The echo signal data is obtained by acquiring the echo signals of N preset periods received by the UWB radar. Among them, the M echo signals in each preset period are a group, that is, the echo signal data includes N groups of echo signals, and M and N can be set according to actual needs.
[0057] S102: Determine living body detection information according to the echo signal data.
[0058] When radar, ultrasound or other forms of waves (such as radar signals emitted by UWB radar) encounter an object, they are reflected back to form echo signals. These echo signals contain information such as the object's position, shape, motion state, and material. For living organisms, due to their unique physiological characteristics (such as breathing, heartbeat, etc.), these physiological activities will cause tiny movements on the surface of the living organism, thereby affecting the amplitude, phase, and frequency characteristics of the echo signal.
[0059] Due to the specific reflection and change characteristics of the echo signal when encountering different objects, the waveform of the echo signal data can be analyzed to determine whether there is a living body within the detection range of the radar.
[0060] Exemplarily, echo signals of N preset periods are acquired and CIR data groups in fast and slow time domains are formed. The CIR data groups include multiple groups of dynamically changing data, such as information such as amplitude, phase and delay of channel impulse response.
[0061] Before forming a CIR data group according to the echo signal, necessary signal processing may be performed on the echo signal, including filtering, denoising, amplification, etc., to improve the signal-to-noise ratio and resolution of the signal.
[0062] The vehicle controller establishes an initial 3D spectrum based on the CIR data group. The spectrum will reflect multiple groups of dynamically changing data waveforms. By comparing the signal clarity, continuity, waveform, amplitude, and frequency parameters of the data waveform, the optimal CIR data group is dynamically selected and converted into a 2D time domain spectrum through FFT (Fast Fourier Transform) and filtering. By comparing the spectrum waveform with the spectrum waveform corresponding to the breathing signal or motion signal of various living organisms, if the spectrum waveform corresponding to the echo signal data has a spectrum waveform similar to or identical to the breathing signal or motion signal of the living organism, it is determined that a living organism is detected. Otherwise, it is determined that a living organism is not detected, and the living organism detection information is determined based on the determination result.
[0063] S103: If the living body detection information indicates that a living body is detected, determine the position information of the living body according to the echo signal data.
[0064] According to the echo signal corresponding to the living body in the echo signal data, the position information of the living body can be determined.
[0065] In one embodiment, step S103 includes:
[0066] S1031, determining a target echo signal corresponding to the living body according to the waveform of the echo signal;
[0067] S1032. Determine position information according to the target echo signal.
[0068] Exemplarily, a preset radar, such as a UWB radar, is provided in the target vehicle, and the preset radar includes at least two receiving antennas at different positions, and the receiving antennas are used to receive reflected echo signals. The radar signal emitted by the preset radar is reflected by the living body to form a target echo signal and is received by the receiving antenna.
[0069] According to the spectrum waveform corresponding to the echo signal data that is similar or identical to the breathing signal or movement signal of the living body, the target echo signal corresponding to the living body can be determined. The relative distance between the living body and the receiving antenna is determined according to the signal return time of the target echo signal, and the azimuth of the living body relative to the preset radar is determined according to the phase difference of the target echo signals received by different receiving antennas, and then the specific location information of the living body is determined according to the relative distance and azimuth.
[0070] In one embodiment, step S1032 includes:
[0071] Obtain the transmission time of the radar signal and the reception time of the target echo signal;
[0072] Determine the signal return time of the target echo signal according to the transmission time and the reception time;
[0073] Determine the relative distance between the living body and the receiving antenna based on the signal return time;
[0074] Determine the azimuth of the living body relative to a preset radar according to a phase difference of target echo signals received by at least two receiving antennas;
[0075] Position information is determined based on the azimuth and at least two relative distances.
[0076] The phase difference refers to the difference between the phases of two target echo signals in periodic changes. For example, in a UWB radar system, when the transmitted radar signal encounters a living body and is reflected back, the receiving antenna will receive the reflected echo signal. Due to the different distances between the two receiving antennas and the living body, the phases of the reflected target echo signals reaching the two receiving antennas will also be different.
[0077] The angle of arrival of the target echo signal, i.e., the azimuth, can be determined by calculating the phase difference of the target echo signals received by the two receiving antennas. The azimuth calculated based on the phase difference of the echo signals received by the multiple receiving antennas is relative to the baseline of the antenna array of the preset radar (i.e., the line connecting the multiple receiving antennas).
[0078] After the azimuth is calculated, the location information of the living body can be determined in combination with the relative distance between the living body and the receiving antenna.
[0079] In addition, other parameters of the radar system, such as the position of the receiving antenna and the position of the preset radar, can be combined for further processing and conversion to obtain the absolute position of the living body.
[0080] S104: Obtain body information and environment information corresponding to the target vehicle.
[0081] The position of the boundary of the interior space of the target vehicle can be determined based on the size information of the target vehicle as the body information. For example, the vehicle size information and body shape information can be obtained from the user manual or data sheet of the target vehicle. The vehicle size information includes the length, width, height, etc. of each part of the vehicle. The position of the boundary of the interior space of the target vehicle can be determined based on the body size information and body shape information.
[0082] It can also be determined in combination with the preset radar on the target vehicle. For example, the target vehicle is equipped with a UWB radar, and the interior space is covered by the dual-module configuration of the UWB radar, and each module is equipped with 1 transmitting antenna and 2 receiving antennas. For example, the radar signal emitted by the UWB radar measures the distance to the boundary in each direction of the interior space, the window position, and the distance from the UWB radar to the window, and comprehensively determines the boundary position of the interior space.
[0083] Environmental factors such as temperature, humidity, and light may cause signal drift, and meteorological factors such as rain, snow, and fog may cause signal attenuation, affecting signal quality. In one embodiment, the environmental information includes at least one of temperature information, humidity information, rainfall information, and snowfall information.
[0084] S105. Obtain a live body detection result inside the target vehicle according to the echo signal data, the position information, the vehicle body information and the environment information. The live body detection result inside the target vehicle is used to indicate whether there is a live body inside the target vehicle.
[0085] In one embodiment, step S105 includes:
[0086] S1051, obtaining signal characteristics of echo signal data;
[0087] S1052, inputting the signal characteristics, position information, vehicle body information and environment information into a living body positioning model to obtain living body positioning information output by the living body positioning model, where the living body positioning information is used to characterize whether the living body is inside or outside the target vehicle;
[0088] S1053: Determine the in-vehicle liveness detection result according to the liveness positioning information.
[0089] The signal characteristics are usually determined based on all echo signals in the echo signal data, for example, based on the intensity, frequency, phase, radial velocity magnitude and radial velocity direction of the echo signal.
[0090] However, in order to improve the accuracy of the in-vehicle living body detection result, the determination may be made only based on the target echo signal corresponding to the living body. In one embodiment, step S1051 includes:
[0091] The signal characteristics are determined based on the target echo signal.
[0092] Due to the difference between the in-vehicle environment and the out-vehicle environment, the number of target echo signals reflected by the living body in the vehicle and the living body outside the vehicle is different.
[0093] The interior of a car is a relatively closed space with multiple reflective surfaces, such as the roof, windows, seats, and floors. When a radar signal (such as a UWB radar) is transmitted into the car, the signal will be reflected multiple times on these reflective surfaces, forming multiple reflection paths. The complexity of these reflection paths will increase the number of echo signals. Compared with the interior of a car, the exterior of a car is an open space. In most cases, the reflection paths of radar signals are usually few and relatively simple.
[0094] Therefore, the signal characteristics may include the number of target return signals.
[0095] In addition, considering the impact of the number of reflections and the environment on the signal strength, the signal characteristics may also include the attenuation strength of the target echo signal, wherein the attenuation strength may be calculated based on the receiving strength of the target echo signal and the transmitting strength of the corresponding radar signal.
[0096] Combined with the inherent characteristics of the signal, such as the frequency, phase, radial velocity magnitude and radial velocity direction of the signal, it can be determined that in one embodiment, the signal characteristics include at least one of the number, attenuation intensity, frequency, phase, radial velocity magnitude and radial velocity direction of the target echo signal.
[0097] The living body localization model used in step S1052 can be obtained based on the training data set and the initial model training.
[0098] Exemplarily, the initial model may be a machine learning model, a deep learning model, a neural network model, etc., or may include one or more of them.
[0099] The preparation process of the training dataset may include:
[0100] Different living samples are used to conduct experiments to obtain multiple sets of training data.
[0101] Collect echo signal data samples of the living body sample when it is inside and outside the vehicle of different vehicle samples, and determine the target echo signal sample corresponding to the living body sample.
[0102] These target echo signal samples are preprocessed, such as background noise filtering, FFT, wavelet filtering, etc., and then the key features of the target echo signal are extracted, such as the intensity, frequency, phase, radial velocity magnitude and radial velocity direction of the target echo signal sample. Then, the signal feature samples are determined according to the key features of the target echo signal, such as counting the number of target echo signal samples, determining the attenuation intensity of the target echo signal sample according to the intensity of the target echo signal sample and the corresponding radar signal intensity, and combining the key features to obtain the final signal feature samples.
[0103] The signal feature samples obtained in each test, the location information samples of the living samples, the body information samples of the corresponding vehicle during the test, and the environmental information samples are used as a set of training data, and multiple tests are performed to obtain multiple sets of training data.
[0104] Each set of training data is labeled, and the positioning information of the living samples corresponding to each set of training data is indicated by the label, that is, the living body is represented to be inside the car or outside the car.
[0105] That is, the training data set includes several groups of sample data collected when the living samples are inside and outside the car, respectively. The sample data includes signal feature samples, location information samples of the living samples, vehicle body information samples, and environmental information samples. The signal feature samples are determined according to the echo signal samples corresponding to the living samples, and the vehicle body information samples and environmental information samples are determined by the vehicle samples when the echo signal samples are collected. The labels corresponding to the sample data are used to mark whether the living samples are inside or outside the car.
[0106] The training data set is input into the initial model for training to iterate the model parameters of the initial model until the prediction accuracy of the trained model reaches the expected value, thereby obtaining the above-mentioned in vivo positioning model.
[0107] The living body localization model obtained by such training can output living body localization information used to characterize whether the living body is inside or outside the vehicle based on the input signal characteristics, position information, vehicle body information and environmental information.
[0108] The in-vehicle liveness detection result can be determined based on the liveness positioning information. That is, when the liveness positioning information indicates that the liveness is in the vehicle, the in-vehicle liveness detection result indicates that the liveness is detected in the vehicle; when the liveness positioning information indicates that the liveness is outside the vehicle, the in-vehicle liveness detection result indicates that the liveness is not detected in the vehicle.
[0109] The in-vehicle liveness detection method provided by the present application first performs liveness detection by analyzing the echo signal data corresponding to the target vehicle to improve the detection efficiency. After the liveness is clearly detected, the location information of the liveness is determined, and the echo signal data, the vehicle body information and environmental information corresponding to the target vehicle are combined to comprehensively judge whether the liveness is in the vehicle, and the in-vehicle liveness detection result is obtained to improve the accuracy and reliability of the detection result, providing strong technical support for automobile safety protection.
[0110] That is, in one embodiment, the method for detecting a living body in a vehicle further includes:
[0111] S106: If the in-vehicle liveness detection result indicates that a live body is detected in the vehicle, generate prompt information.
[0112] If the in-vehicle liveness detection result indicates that no liveness is detected in the vehicle, it means that the liveness is outside the vehicle and no prompt is required.
[0113] After the prompt information is generated, the prompt information can also be sent to the device (mobile phone, tablet, computer, smart watch, etc.) bound to the user and the target vehicle, so that the user can receive the prompt information as soon as possible.
[0114] Based on this, not only can the user be promptly reminded that there are living things left in the car, but false alarms caused by living things being outside the car can also be avoided as much as possible.
[0115] In actual application scenarios, the vehicle-mounted radar system usually has an independent control module, that is, the above-mentioned in-vehicle liveness detection method can be directly applied to the control module of the vehicle-mounted radar system. The control module of the vehicle-mounted radar system can interact with the vehicle control module according to the in-vehicle liveness detection result to obtain the required information and send the above-mentioned prompt information. After receiving the prompt information, the vehicle control module can remind the user according to the default or preset method.
[0116] The above-mentioned in-vehicle liveness detection method can also be applied to a server. The obtained echo signal data can be uploaded to the server, and the server completes the in-vehicle liveness detection. When the in-vehicle liveness detection result indicates that a live body is detected in the vehicle, a prompt signal is generated and sent to the vehicle controller of the target vehicle, and the vehicle controller reminds the user according to a default or preset method.
[0117] The above-mentioned in-vehicle liveness detection method can also be directly applied to a vehicle control module. The vehicle control module obtains echo signal data through the vehicle-mounted radar system to complete in-vehicle liveness detection, and when the in-vehicle liveness detection result indicates that a live body is detected in the vehicle, the user is directly reminded according to a default or preset method.
[0118] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0119] Corresponding to the aforementioned in-vehicle liveness detection method, the present application also provides an in-vehicle liveness detection system.
[0120] In one embodiment, Figure 2 As shown, the in-vehicle living body detection system includes:
[0121] The signal acquisition module 201 is used to acquire the echo signal data corresponding to the target vehicle;
[0122] A signal analysis module 202, used to determine liveness detection information according to the echo signal data;
[0123] A position analysis module 203 is used to determine the position information of the living body according to the echo signal data if the living body detection information indicates that a living body is detected;
[0124] The information acquisition module 204 is used to acquire the vehicle body information and environment information corresponding to the target vehicle;
[0125] The in-vehicle liveness detection module 205 is used to obtain the in-vehicle liveness detection result of the target vehicle according to the echo signal data, position information, vehicle body information and environmental information. The in-vehicle liveness detection result is used to characterize whether there is a live body in the target vehicle.
[0126] For the specific definition of the in-vehicle liveness detection system, please refer to the definition of the in-vehicle liveness detection method above, which will not be repeated here. Each module in the above-mentioned in-vehicle liveness detection system can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0127] The present application also provides a computer device. In one embodiment, the computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the in-vehicle liveness detection method in the above embodiment are implemented.
[0128] In one embodiment, the computer device may be a server, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store relevant data of in-vehicle liveness detection. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for in-vehicle liveness detection is implemented.
[0129] In one embodiment, the computer device may be a terminal, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for detecting living bodies in a vehicle is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0130] Those skilled in the art will understand that Figure 3 and Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0131] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the in-vehicle living body detection method in the above embodiment are implemented.
[0132] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0133] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0134] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for detecting a living body in a vehicle, characterized in that: The in-vehicle living body detection method comprises: Obtaining echo signal data corresponding to the target vehicle; Determining living body detection information according to the echo signal data; If the living body detection information indicates that a living body is detected, determining the position information of the living body according to the echo signal data; Obtaining body information and environmental information corresponding to the target vehicle; A live body detection result inside the target vehicle is obtained according to the echo signal data, the position information, the vehicle body information and the environmental information, and the live body detection result inside the target vehicle is used to characterize whether the live body exists inside the target vehicle.
2. The method for detecting a living body in a vehicle according to claim 1, wherein: The step of obtaining a liveness detection result of the target vehicle according to the echo signal data, the position information, the vehicle body information and the environment information includes: Acquiring signal characteristics of the echo signal data; Inputting the signal feature, the position information, the vehicle body information and the environment information into a living body positioning model to obtain living body positioning information output by the living body positioning model, wherein the living body positioning information is used to characterize whether the living body is inside or outside the target vehicle; The in-vehicle living body detection result is determined according to the living body positioning information.
3. The method for detecting a living body in a vehicle according to claim 2, wherein: The echo signal data includes a plurality of echo signals; The determining the position information of the living body according to the echo signal data comprises: Determining a target echo signal corresponding to the living body according to the waveform of the echo signal; The position information is determined according to the target echo signal.
4. The method for detecting a living body in a vehicle according to claim 3, wherein: The signal characteristics include at least one of the number, attenuation strength, frequency, phase, radial velocity magnitude and radial velocity direction of the target echo signal.
5. The method for detecting a living body in a vehicle according to claim 3, wherein: The target vehicle is provided with a preset radar, the preset radar comprising at least two receiving antennas at different positions, the radar signal emitted by the preset radar is reflected by the living body to form the target echo signal and is received by the receiving antenna; The determining the position information according to the target echo signal comprises: Acquire the transmission time of the radar signal and the reception time of the target echo signal; Determine a signal return time of the target echo signal according to the transmitting time and the receiving time; Determine the relative distance between the living body and the receiving antenna according to the signal return time; Determine the azimuth of the living body relative to the preset radar according to the phase difference of the target echo signals received by at least two of the receiving antennas; The position information is determined according to the azimuth and at least two of the relative distances.
6. The method for detecting a living body in a vehicle according to claim 2, wherein: The living body positioning model is obtained based on the training data set and the initial model training; The training data set includes several groups of sample data collected when the living sample is inside and outside the vehicle, respectively, and the sample data includes signal feature samples, location information samples of the living sample, vehicle body information samples and environment information samples; The signal feature sample is determined according to the echo signal sample corresponding to the living body sample, and the vehicle body information sample and the environment information sample are determined by the vehicle sample when the echo signal sample is collected; The label corresponding to the sample data is used to mark whether the living sample is inside or outside the vehicle.
7. The method for detecting a living body in a vehicle according to claim 1, wherein: The environmental information includes at least one of temperature information, humidity information, rainfall information and snowfall information.
8. A system for detecting living things in a vehicle, characterized in that: The in-vehicle living body detection system comprises: A signal acquisition module is used to acquire echo signal data corresponding to the target vehicle; A signal analysis module, used to determine living body detection information according to the echo signal data; A position analysis module, configured to determine position information of the living body according to the echo signal data if the living body detection information indicates that a living body is detected; An information acquisition module, used to acquire body information and environmental information corresponding to the target vehicle; The in-vehicle liveness detection module is used to obtain the in-vehicle liveness detection result of the target vehicle according to the echo signal data, the position information, the vehicle body information and the environmental information, wherein the in-vehicle liveness detection result is used to characterize whether the living body exists in the target vehicle.
9. A vehicle, characterized in that: The vehicle comprises the in-vehicle living body detection system as claimed in claim 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.